Image forming processing device, processing method and program for image forming processing device

The solution generates and stores intermediate data in large-format printers to manage memory efficiently, addressing memory limitations and ensuring continuous printing.

JP7566516B2Active Publication Date: 2024-10-15CANON KK
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
JP2020120797
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-07-14
Publication Date
2024-10-15
Estimated Expiration
2040-07-14

AI Technical Summary

Technical Problem

Large print data or graphic data can exceed memory limits, causing memory shortages and halting print processing in large-format printers.

Method used

Generate intermediate data for each piece of drawing information, write it to memory or external storage, and integrate it for rendering, reducing memory usage and allowing continuous processing.

Benefits of technology

Enables the generation and rendering of intermediate data even with large print data, preventing memory shortages and ensuring uninterrupted printing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007566516000001
    Figure 0007566516000001
  • Figure 0007566516000002
    Figure 0007566516000002
  • Figure 0007566516000003
    Figure 0007566516000003
Patent Text Reader

Abstract

To make it possible to appropriately generate intermediate data based on print data even when the print data is large.SOLUTION: An image formation processing apparatus has: intermediate data generation means that, on the basis of a plurality of pieces of drawing information included in print data, generates intermediate data for each of the pieces of drawing data, writes the generated intermediate data in a memory, writes the intermediate data written in the memory in an external storage, releases the area of the memory for the intermediate data, and integrates the plurality of pieces of intermediate data based on the plurality of pieces of drawing data written in the external storage; and rendering means that renders the intermediate data integrated by the intermediate data generation means to create a raster image.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image forming processing apparatus, a processing method for the image forming processing apparatus, and a program. [Background technology]

[0002] Printers that use particularly large paper sizes, such as large format printers, may have difficulty printing even if print data written in a page description language is input. In particular, when an extremely large image is embedded in a page of print data or when a large amount of graphic data is included, there may be cases where the free memory capacity is insufficient during the process of processing the page, making it impossible to continue processing. Generally, printer drivers and printer controllers are configured to process using a set of hardware resources (for example, there is a limit to the memory that can be allocated to a process), so some kind of measure must be taken.

[0003] The methods of Patent Documents 1 and 4 are known as examples of measures to be taken when free memory capacity is insufficient during print data processing (memory allocation cannot be performed, etc.) and processing cannot be continued. In Patent Document 1, when free memory capacity is insufficient, the processing program performs image formation (rendering) using intermediate data recorded in memory, thereby releasing the data stored up to that point and reducing the data size. In addition to these techniques, a method of reducing data size by data integration processing (flattening) is also known (see Patent Documents 2 and 3). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2011-61555 A [Patent Document 2] JP 2018-152113 A [Patent Document 3] JP 2017-194932 A [Patent Document 4] Japanese Patent Application Publication No. 6-261202 Summary of the Invention [Problem to be solved by the invention]

[0005] However, when an extremely large image is embedded in a page of print data or when a large amount of graphic data is included, there may be a shortage of free memory space even after data integration processing.

[0006] An object of the present invention is to make it possible to appropriately generate intermediate data based on print data even when the print data is large. [Means for solving the problem]

[0007] The image forming processing device of the present invention has an intermediate data generation means for generating intermediate data for each piece of drawing information based on multiple pieces of drawing information contained in print data, writing the generated intermediate data to a memory, writing the intermediate data written to the memory to an external storage device, freeing up memory space for the intermediate data, and integrating multiple pieces of intermediate data based on the multiple pieces of drawing information written to the external storage device, and a rendering means for rendering the intermediate data integrated by the intermediate data generation means and generating a raster image. Effect of the Invention

[0008] According to the present invention, even if the print data is large, intermediate data can be appropriately generated based on the print data. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 illustrates an example of the configuration of a printing system. [Diagram 2] FIG. 13 is a diagram showing an example of memory reduction by flattening. [Diagram 3]FIG. 13 is a diagram illustrating an example in which memory is insufficient even after flattening is performed. [Figure 4] FIG. 2 illustrates an example of a hardware configuration of an image forming processing apparatus. [Diagram 5] 11 is a diagram showing intermediate data generated by an intermediate data generating unit; FIG. [Figure 6] 4 is a flowchart showing a processing method of the image forming processing apparatus. [Figure 7] 4 is a flowchart showing a processing method of the image forming processing apparatus. [Figure 8] 4 is a flowchart showing a processing method of the image forming processing apparatus. [Figure 9] FIG. 1 illustrates performance improvement. [Figure 10] 4 is a flowchart showing a processing method of the image forming processing apparatus. [Figure 11] FIG. 4 illustrates an example of print job information. [Figure 12] 13 is a flowchart showing an operation mode switching process. [Figure 13] 4 is a flowchart showing a processing method of the image forming processing apparatus. [Figure 14] 4 is a flowchart showing a processing method of the image forming processing apparatus. [Figure 15] FIG. 1 illustrates performance improvement. [Figure 16] 4 is a flowchart showing a processing method of the image forming processing apparatus. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] 1A is a diagram showing an example of the configuration of a printing system. The printing system includes an image forming processing device 100 and a computer 200. The computer 200 includes a print data generating unit 201. The print data generating unit 201 generates print data 203 from data 202 to be printed.

[0011] The image forming processing device 100 has an input unit 204, an analysis unit 205, a raster image generation processing unit 206, and an output unit 207. The input unit 204 inputs print data 203 generated by the print data generation unit 201. The analysis unit 205 analyzes the print data 203 input by the input unit 204, and extracts drawing commands from the print data 203.

[0012] The raster image generation processing unit 206 has an intermediate data generation unit 208 and a rendering unit 209. The intermediate data generation unit 208 extracts drawing information 210 and an image 211 from the drawing command extracted by the analysis unit 205, generates intermediate data, and stores the intermediate data in a memory in the image forming processing device 100.

[0013] The rendering unit 209 generates a raster image by rendering the intermediate data generated by the intermediate data generation unit 208. The output unit 207 generates output data 212 from the raster image generated by the rendering unit 209.

[0014] FIG. 2 is a diagram showing how memory is reduced by flattening the intermediate data generating unit 208. By flattening the intermediate data, the intermediate data generating unit 208 reduces memory usage and enables processing to continue. In order to continue image formation processing, the intermediate data generating unit 208 reduces the intermediate data by degenerating the internal memory. The degenerating process is a process in which intermediate data is held in a similar structure to the intermediate data that is ultimately spooled out, and when memory is insufficient, the intermediate data is integrated by a process called flattening. However, with this method, when the amount of available memory gradually decreases, flattening must be performed again. In the worst case, flattening is repeated.

[0015] FIG. 3 is a diagram showing an example in which the memory capacity becomes insufficient as a result of repeated flattening. The vertical axis indicates memory usage (GB), and the horizontal axis indicates processing time (minutes). For example, the maximum value on the vertical axis, 2GB, is the maximum memory capacity. Flattening occurs three times, and memory usage is reduced. However, at processing time T, memory usage reaches the maximum value of 2GB, causing a shortage of free memory capacity and requiring recovery processing. In this way, even if flattening is performed, there are cases in which a shortage of free memory capacity occurs and processing cannot be continued. Below, an image forming processing device 100 that is capable of image forming processing even when there is a shortage of free memory capacity will be described.

[0016] (First embodiment) 4 is a diagram showing an example of a hardware configuration of the image forming processing device 100 according to the first embodiment. The image forming processing device 100 has a CPU 101, a RAM 102, a font ROM 103, a program ROM 104, a data ROM 105, and a bus 106. The image forming processing device 100 has a keyboard controller (KBC) 107, a CRT controller (CRTC) 108, a disk controller (DKC) 109, a printer controller (PRTC) 110, and a network controller (NC) 111.

[0017] The CPU 101 executes programs such as an OS and applications loaded from the program ROM 104 or HDD 114 to the RAM 102, and realizes the functions of the software and the processing of flowcharts described below. The RAM 102 is a random access memory that functions as the main memory and work area of ​​the CPU 101. The font ROM 103 stores fonts. The program ROM 104 stores programs. The data ROM 105 stores data.

[0018] The keyboard controller (KBC) 107 controls key input from a keyboard 112 or a pointing device (not shown). The CRT controller (CRTC) 108 controls the display of a CRT display 113. The CRT display 113 may be a liquid crystal display. The disk controller (DKC) 109 controls access to a hard disk drive (HDD) 114 and a solid state drive (SSD) 115 that store a boot program, various applications, font data, user files, etc. The HDD 114 and SSD 115 are external storage devices. The printer controller (PRTC) 110 controls the exchange of signals with the printer. The network controller (NC) 111 is connected to a network and executes communication control processing with other devices connected to the network.

[0019] In this embodiment, the functions of the image forming processing device 100 are described below as being realized by software, but each function may be implemented in the image forming processing device 100 by dedicated hardware. The CPU 101 is a multi-core CPU. The image forming processing device 100 may have multiple CPUs.

[0020] 1(B) is a diagram showing an example of the configuration of a printing system according to the first embodiment. The printing system includes an image forming processing device 100 and a computer 200. The computer 200 includes a print data generating unit 201. The print data generating unit 201 generates print data 203 from print target data 202. The print data 203 is, for example, print data described in a page description language.

[0021] The image forming processing device 100 has an input unit 204, an analysis unit 205, a raster image generation processing unit 206, and an output unit 207. The input unit 204 inputs print data 203 generated by the print data generation unit 201. The analysis unit 205 analyzes the print data 203 input by the input unit 204, and extracts drawing commands from the print data 203.

[0022] The raster image generation processing unit 206 has an intermediate data generation unit 208 and a rendering unit 209. The intermediate data generation unit 208 generates edge information 213, composition information 214, and painting information 215 as intermediate data 300 (FIG. 5) based on the drawing command extracted by the analysis unit 205. Then, the intermediate data generation unit 208 stores the edge information 213, composition information 214, and painting information 215 as a file in the HDD 114 or SSD 115. After that, the intermediate data generation unit 208 integrates the edge information 213, composition information 214, and painting information 215 stored in the HDD 114 or SSD 115 to generate intermediate data.

[0023] The rendering unit 209 generates a raster image by rendering the intermediate data generated by the intermediate data generation unit 208. The output unit 207 generates output data 212 from the raster image generated by the rendering unit 209.

[0024] In addition, the functional block diagram of the computer 200 and the image forming processing device 100 does not have to be arranged as described above, and either one may be performed by the computer 200 or either one may be performed by the image forming processing device 100, and can be freely changed.

[0025] 5 is a diagram showing intermediate data 300 generated by the intermediate data generating unit 208. The intermediate data 300 has edge information (boundary information) 213, composition information 214, and painting information 215.

[0026] The edge information 213 is information indicating the coordinates of the edges of each region separated by an object, and is data that references the corresponding synthesis information 214. For example, the edge information 213 is indicated by the Y coordinates (vertical positions) of the upper and lower ends of each region, and the X coordinates (horizontal positions) of the left and right ends of each Y coordinate.

[0027] The paint information 215 is data indicating the color for drawing each object, etc. For example, the paint information 215 is information indicating the color for drawing a background, a single-color object, or an image object.

[0028] The blending information 214 is information that indicates, for each region, the paint information 215 to be referenced, and also indicates a blending process method for multiple pieces of paint information 215 when multiple pieces of paint information 215 are referenced. The blending information 214 is referenced from the edge information 213. In this way, the edge information 213, the blending information 214, and the paint information 215 are associated with each other.

[0029] 6 is a flowchart showing a processing method of the image forming processing device 100. In step S1000, the analysis unit 205 analyzes the print data 203 and converts the print data 203 into one or more drawing commands. The print data 203 is print data described in, for example, a page description language, and includes one or more drawing commands. The drawing commands are an example of drawing information.

[0030] In step S1001, the intermediate data generation unit 208 selects one drawing command from the one or more drawing commands converted by the analysis unit 205, generates paint information 215 based on the selected drawing command, and writes the generated paint information 215 to RAM 102. Next, the intermediate data generation unit 208 writes the paint information 215 written to RAM 102 as a file to the HDD 114 or SSD 115, and releases the memory area of ​​RAM 102 that was reserved for the paint information 215.

[0031] In step S1002, the intermediate data generation unit 208 determines whether the number of pieces of paint information 215 is equal to or greater than a predetermined threshold. If the intermediate data generation unit 208 determines that the number of pieces of paint information 215 is not equal to or greater than the threshold, the process proceeds to step S1003, and if the intermediate data generation unit 208 determines that the number of pieces of paint information 215 is equal to or greater than the threshold, the process proceeds to step S1004.

[0032] In step S1003, the intermediate data generation unit 208 determines whether or not there are any unprocessed drawing commands remaining. If there are any unprocessed drawing commands remaining, the intermediate data generation unit 208 returns to step S1001, and if there are no unprocessed drawing commands remaining, the intermediate data generation unit 208 proceeds to step S1004.

[0033] In step S1004, the intermediate data generation unit 208 reads the paint information 215 written to the HDD 114 or the SSD 115 as necessary, generates the composition information 214 based on the read paint information 215, and writes the generated composition information 214 to the RAM 102. Next, the intermediate data generation unit 208 writes the composition information 214 written to the RAM 102 to the HDD 114 or the SSD 115 as a file, and releases the memory area of ​​the RAM 102 that was reserved for the composition information 214.

[0034] In step S1005, the intermediate data generation unit 208 reads the compositing information 214 and the filling information 215 written to the HDD 114 or the SSD 115 as necessary, and generates edge information 213 based on the read compositing information 214 and filling information 215. Then, the intermediate data generation unit 208 writes the generated edge information 213 to the RAM 102. Next, the intermediate data generation unit 208 writes the edge information 213 written to the RAM 102 to the HDD 114 or the SSD 115 as a file, and releases the secured memory area for the edge information 213 in the RAM 102. Through the above processing, the edge information 213, the compositing information 214, and the filling information 215 are saved in the HDD 114 or the SSD 115 as intermediate data 300.

[0035] In step S1006, the intermediate data generation unit 208 determines whether or not there are any unprocessed drawing commands remaining. If there are any unprocessed drawing commands remaining, the intermediate data generation unit 208 returns to step S1001, and if there are no unprocessed drawing commands remaining, the intermediate data generation unit 208 proceeds to step S1007. Through the above process, the intermediate data generation unit 208 generates paint information 215, composition information 214, and edge information 213 for each drawing command.

[0036] In step S1007, the intermediate data generation unit 208 determines whether or not there is a plurality of intermediate data 300. If there is a plurality of intermediate data 300, the intermediate data generation unit 208 proceeds to step S1008, and if there is only one intermediate data 300, the intermediate data generation unit 208 proceeds to step S1009.

[0037] In step S1008, the intermediate data generation unit 208 reads out the multiple pieces of intermediate data 300 written in the HDD 114 or the SSD 115 as necessary, and integrates the multiple pieces of read intermediate data 300 into one piece of intermediate data 300. The multiple pieces of intermediate data 300 have multiple pieces of edge information 213, multiple pieces of blending information 214, and multiple pieces of paint information 215. For example, the intermediate data generation unit 208 integrates the multiple pieces of edge information 213, the multiple pieces of blending information 214, and the multiple pieces of paint information 215 into one piece of edge information 213, one piece of blending information 214, and one piece of paint information 215, and generates one piece of intermediate data 300. After that, the intermediate data generation unit 208 proceeds to step S1009.

[0038] In step S1009, the rendering unit 209 renders the one piece of intermediate data 300 generated or integrated by the intermediate data generating unit 208 to generate a raster image. The output unit 207 generates output data 212 based on the raster image generated by the rendering unit 209, and ends the process.

[0039] As described above, even if the free space of the RAM 102 is insufficient, the intermediate data generation unit 208 can generate one piece of intermediate data 300 by temporarily saving multiple pieces of intermediate data 300 from the RAM 102 to the HDD 114 or the SSD 115.

[0040] Second Embodiment Next, a second embodiment will be described. In the second embodiment, the intermediate data generation unit 208 has a first mode in which the intermediate data 300 is stored in the RAM 102, and a second mode in which the intermediate data 300 is temporarily saved as a file in the HDD 114 or the SSD 115. The intermediate data generation unit 208 operates in the first mode from the first page of the print data 203, and when the free space of the RAM 102 becomes insufficient for a page during job processing, the intermediate data generation unit 208 switches to the second mode for that page and processes it.

[0041] 7 is a flowchart showing a processing method of the image forming processing device 100. In step S1000, the analysis unit 205 analyzes the print data 203, converts the print data 203 into one or more drawing commands, and proceeds to step S1001. Thereafter, the intermediate data generation unit 208 operates in a first mode (a mode that does not use the HDD 114 or the SSD 115) at the start of processing.

[0042] In step S1001, the intermediate data generation unit 208 generates paint information 215 based on the drawing command converted by the analysis unit 205, and writes the generated paint information 215 to the RAM 102. However, the intermediate data generation unit 208 does not write the paint information 215 written to the RAM 102 to the HDD 114 or the SSD 115.

[0043] In step S1002, the intermediate data generation unit 208 determines whether the number of pieces of paint information 215 is equal to or greater than a predetermined threshold. If the intermediate data generation unit 208 determines that the number of pieces of paint information 215 is not equal to or greater than the threshold, the process proceeds to step S1003, and if the intermediate data generation unit 208 determines that the number of pieces of paint information 215 is equal to or greater than the threshold, the process proceeds to step S1004.

[0044] In step S1003, the intermediate data generation unit 208 determines whether or not there are any unprocessed drawing commands remaining. If there are any unprocessed drawing commands remaining, the intermediate data generation unit 208 returns to step S1001, and if there are no unprocessed drawing commands remaining, the intermediate data generation unit 208 proceeds to step S1004.

[0045] In step S1004, the intermediate data generation unit 208 reads the paint information 215 written to the RAM 102 as necessary, generates the composition information 214 based on the read paint information 215, and writes the generated composition information 214 to the RAM 102. However, the intermediate data generation unit 208 does not write the composition information 214 written to the RAM 102 to the HDD 114 or the SSD 115.

[0046] In step S1005, the intermediate data generation unit 208 reads the composition information 214 and the paint information 215 written in the RAM 102 as necessary, and generates edge information 213 based on the read composition information 214 and paint information 215. Then, the intermediate data generation unit 208 writes the generated edge information 213 in the RAM 102. However, the intermediate data generation unit 208 does not write the edge information 213 written in the RAM 102 to the HDD 114 or the SSD 115. Through the above processing, the edge information 213, the composition information 214, and the paint information 215 are stored in the RAM 102 as intermediate data 300.

[0047] In step S2000, the intermediate data generation unit 208 determines whether or not the size of the intermediate data 300 is equal to or larger than a threshold value. If the size of the intermediate data 300 is equal to or larger than the threshold value, the intermediate data generation unit 208 proceeds to step S2001, and if the size of the intermediate data 300 is not equal to or larger than the threshold value, the intermediate data generation unit 208 proceeds to step S2002.

[0048] In step S2001, the intermediate data generation unit 208 flattens the intermediate data 300 that has been generated so far. That is, the intermediate data generation unit 208 integrates the multiple intermediate data 300 that have been generated so far into one intermediate data 300, and releases the memory area of ​​the RAM 102 that is no longer needed. One intermediate data 300 has one edge information 213, one combination information 214, and one fill information 215. One fill information 215 is one image data. The intermediate data generation unit 208 compresses the fill information 215 of the image data by a lossy compression method such as JPEG, for example, to reduce the size of the fill information 215. After that, the intermediate data generation unit 208 proceeds to step S2002.

[0049] In step S2002, the intermediate data generation unit 208 checks the state (CURRENT_USAGE) of RAM 102 and determines whether or not there is a shortage of free space in RAM 102. If there is a shortage of free space in RAM 102, the intermediate data generation unit 208 proceeds to step S2100, and if there is no shortage of free space in RAM 102, the intermediate data generation unit 208 proceeds to step S1006. As described above, if there is a shortage of free space in RAM 102 during the generation of intermediate data, the intermediate data generation unit 208 proceeds to step S2100.

[0050] In step S1006, the intermediate data generation unit 208 determines whether or not there are any unprocessed drawing commands remaining. If there are any unprocessed drawing commands remaining, the intermediate data generation unit 208 returns to step S1001, and if there are no unprocessed drawing commands remaining, the intermediate data generation unit 208 proceeds to step S1007.

[0051] In step S1007, the intermediate data generation unit 208 determines whether or not there is a plurality of pieces of intermediate data 300. If there is a plurality of pieces of intermediate data 300, the intermediate data generation unit 208 proceeds to step S1008, and if there is only one piece of intermediate data 300, the intermediate data generation unit 208 proceeds to step S2003.

[0052] In step S1008, the intermediate data generating unit 208 reads out the multiple pieces of intermediate data 300 written in the HDD 114 or the SSD 115 as necessary, and integrates the multiple pieces of intermediate data 300 into one piece of intermediate data 300. Then, the intermediate data generating unit 208 releases the memory area of ​​the RAM 102 that is no longer needed. The multiple pieces of intermediate data 300 have multiple pieces of edge information 213, multiple pieces of blending information 214, and multiple pieces of paint information 215. For example, the intermediate data generating unit 208 integrates the multiple pieces of edge information 213, multiple pieces of blending information 214, and multiple pieces of paint information 215 into one piece of edge information 213, one piece of blending information 214, and one piece of paint information 215, and generates one piece of intermediate data 300. One piece of paint information 215 is one piece of image data. After that, the intermediate data generating unit 208 proceeds to step S2003.

[0053] In step S2003, the intermediate data generation unit 208 determines whether or not to flatten the intermediate data 300. If the intermediate data generation unit 208 determines to flatten the intermediate data 300, the process proceeds to step S2004, and if the intermediate data generation unit 208 determines not to flatten the intermediate data 300, the process proceeds to step S1009.

[0054] In step S2004, the intermediate data generation unit 208 flattens the intermediate data 300. That is, the intermediate data generation unit 208 compresses the fill information 215 of the image data by a lossy compression method such as JPEG to reduce the size of the fill information 215. After that, the intermediate data generation unit 208 proceeds to step S1009.

[0055] In step S1009, the rendering unit 209 renders the intermediate data 300 generated by the intermediate data generation unit 208 to generate a raster image. The output unit 207 generates output data 212 based on the raster image generated by the rendering unit 209, and ends the process.

[0056] After step S2100, the intermediate data generation unit 208 operates in the second mode (a mode using the HDD 114 or the SSD 115). In step S2100, the image forming processing device 100 initializes the image forming process. Here, the intermediate data generation unit 208 discards the intermediate data 300 written in the RAM 102.

[0057] In step S2101, the intermediate data generating unit 208 changes the storage destination of the intermediate data 300 from the RAM 102 to the HDD 114 or the SSD 115. After that, the image forming processing apparatus 100 performs the processes of steps S1000 to S1009 in the same manner as in FIG.

[0058] In step S1000, the analysis unit 205 converts the print data 203 into a drawing command. In steps S1001 to S1008, the intermediate data generation unit 208 generates intermediate data 300 from the drawing command. In steps S1001 to S1005, the intermediate data generation unit 208 saves the edge information 213, the blending information 214, and the painting information 215 in the HDD 114 or the SSD 115, and releases the memory area of ​​the RAM 102. This makes it unnecessary to perform the flattening in step S2001 to resolve the lack of free space in the RAM 102.

[0059] Furthermore, in step S1008, the intermediate data generation unit 208 saves the intermediate data 300 in the HDD 114 or the SSD 115, and releases the memory area of ​​the RAM 102. This makes the flattening in step S2004 for resolving the lack of free space in the RAM 102 unnecessary.

[0060] In step S1009, the rendering unit 209 renders the intermediate data 300 generated by the intermediate data generation unit 208 to generate a raster image. The output unit 207 generates output data 212 based on the raster image generated by the rendering unit 209, and ends the process.

[0061] (Third embodiment) Fig. 8 is a flowchart showing a processing method of the image forming processing device 100 according to the third embodiment. Fig. 8 differs from Fig. 7 in that step S2002 is replaced with step S3000. Below, the points in which the third embodiment differs from the second embodiment will be described.

[0062] In step S3000, the intermediate data generation unit 208 determines whether the processing time of the intermediate data generation unit 208 has become equal to or greater than the threshold t. If the processing time of the intermediate data generation unit 208 has not become equal to or greater than the threshold t, the intermediate data generation unit 208 proceeds to step S1006, and if the processing time of the intermediate data generation unit 208 has become equal to or greater than the threshold t, the intermediate data generation unit 208 proceeds to step S2100. As described above, if the processing time of the intermediate data generation unit 208 has become equal to or greater than the threshold t during the generation of the intermediate data 300, the intermediate data generation unit 208 proceeds to step S2100.

[0063] FIG. 9 is a diagram showing an example of performance improvement by the processing method of the image forming processing device 100 of FIG. 8. In FIG. 9, similarly to FIGS. 2 and 3, the vertical axis indicates the usage amount (GB) of the RAM 102, and the horizontal axis indicates the processing time (minutes) of the intermediate data generating unit 208. The maximum value of the vertical axis, 2 GB, is the maximum capacity of the RAM 102. If the processing time is not equal to or greater than the threshold value t, the intermediate data generating unit 208 repeats the processes of steps S1001 to S1006, S2000, S2001, and S3000. If the processing time is equal to or greater than the threshold value t, the intermediate data generating unit 208 proceeds to step S2100. In step S2100, the intermediate data generating unit 208 discards the intermediate data 300 in the RAM 102, so that the usage amount of the RAM 102 is reduced.

[0064] In Fig. 3, the amount of RAM 102 usage reaches the maximum value of 2 GB at processing time T, causing a shortage of free space in RAM 102 and transitioning to recovery processing. In Fig. 9, when the processing time reaches or exceeds threshold value t, the intermediate data generation unit 208 transitions to recovery processing from step S2100 onwards. Because threshold value t is shorter than processing time T, Fig. 9 can reduce the total printing time compared to Fig. 3.

[0065] As described above, in Fig. 3, the intermediate data generation unit 208 transitions to recovery processing when the amount of RAM 102 usage reaches the maximum value of 2 GB at processing time T, causing a shortage of free space in RAM 102. In Fig. 9, when the processing time reaches or exceeds threshold value t, the intermediate data generation unit 208 performs recovery processing from step S2100 onwards, thereby shortening the total printing time.

[0066] (Fourth embodiment) Fig. 10 is a flowchart showing a processing method of the image forming processing device 100 according to the fourth embodiment. Fig. 10 is obtained by adding steps S4000 and S4001 to Fig. 7. The following describes the differences between the fourth embodiment and the second embodiment. The image forming processing device 100 can switch between a multi-thread mode and a single-thread mode. In the multi-thread mode, the intermediate data generating unit 208 can process multiple objects in parallel.

[0067] Step S4000 is the first process in the flowchart of Fig. 10. In step S4000, the image forming processing device 100 sets the multi-thread mode (multiple threads) and proceeds to step S1000. After that, the intermediate data generating unit 208 operates in the multi-thread mode.

[0068] Step S4001 is a process between step S2102 and step S1000. In step S4001, the image forming processing device 100 sets the single thread mode (the number of threads is one) and proceeds to step S1000. After that, the intermediate data generating unit 208 operates in the single thread mode.

[0069] When the image forming processing device 100 operates in the multi-thread mode, it tends to consume more RAM 102 than when it operates in the single-thread mode. Therefore, after step S4001, the image forming processing device 100 operates in the single-thread mode so as not to cause a shortage of free space in the RAM 102, thereby reducing the consumption of the RAM 102.

[0070] Furthermore, from step S4001 onwards, the intermediate data generation unit 208 may use both the RAM 102 and the HDD 114 or the SSD 115 as storage destinations for the intermediate data 300. For example, the intermediate data generation unit 208 may store the intermediate data 300 for a rendering command that is likely to cause a shortage of free space in the RAM 102 in the HDD 114 or the SSD 115, and store the intermediate data 300 for the other rendering commands in the RAM 102. An example of the rendering command that is likely to cause a shortage of free space in the RAM 102 is a rendering command for an object including a large image object.

[0071] Next, the timing when the intermediate data generation unit 208 stores the intermediate data in the HDD 114 or the SSD 115 will be described. The intermediate data generation unit 208 checks the usage status of the RAM 102 in real time during the generation process of the intermediate data 300, and if it is confirmed that there is no problem with the usage status of the RAM 102, it stores the intermediate data 300 in the RAM 102 and continues the process. In addition, if it is determined that the free space of the RAM 102 is insufficient, the intermediate data generation unit 208 stores the intermediate data 300 in the HDD 114 or the SSD 115.

[0072] Fifth embodiment Next, a fifth embodiment will be described. Below, differences between the fifth embodiment and the second to fourth embodiments will be described. The mode switching process will be described using the print job information in FIG. 11 and the flowchart in FIG. 12. In the fifth embodiment, the intermediate data generating unit 208 switches between operating in the first mode or the second mode from the first page of the print data 203 depending on the type of external storage device, the output paper size, and the rendering content of the print data.

[0073] 11 is a diagram showing an example of print job information created by the input unit 204 by processing the print data 203. The print job information including the print data 203 is expressed in one line, and has a print job identifier 1101, an output paper size 1102, a number of drawing commands 1103, a type of external storage device 1104, and an operation mode 1105.

[0074] A print job identifier 1101 is an identifier for identifying a print job. An output paper size 1102 is specified by the print data generating unit 201. A number of drawing commands 1103 is the number of drawing commands in the print data 203. An input unit 204 performs an empty read of the print data 203 and counts the number of drawing commands 1103 in the print data 203.

[0075] The type 1104 of the external storage device indicates either the HDD 114 or the SSD 115. The input unit 204 uses the functions of the operating system as necessary to determine the type 1104 of the external storage device. The type 1104 of the external storage device may be determined when the external storage device is connected or when the input unit 204 receives the print data 203.

[0076] The operation mode 1105 indicates a mode in which the corresponding print data 203 operates. The operation mode 1105 is a first mode in which the intermediate data 300 is stored in the RAM 102 as in the second embodiment, and a second mode in which the intermediate data 300 is temporarily saved as a file in an external storage device. The external storage device is the HDD 114 or the SSD 115.

[0077] FIG. 12 is a flowchart showing a process in which the input unit 204 accepts the print data 203 and determines whether to use a first mode in which the intermediate data 300 is stored in the RAM 102 or a second mode in which the intermediate data 300 is temporarily saved in an external storage device as a file.

[0078] In step S1201, the input unit 204 checks the type 1104 of the external storage device in Fig. 11. In step S1202, the input unit 204 determines whether the type 1104 of the external storage device is the SSD 115. If the type 1104 of the external storage device is the SSD 115, the input unit 204 proceeds to step S1204, and if the type 1104 of the external storage device is the HDD 114, the input unit 204 proceeds to step S1203.

[0079] In step S1204, the input unit 204 checks the output paper size 1102 in FIG. 11. In step S1205, the input unit 204 determines whether the output paper size 1102 is equal to or larger than a threshold. If the output paper size 1102 is equal to or larger than the threshold, the input unit 204 proceeds to step S1206, and if the output paper size 1102 is not equal to or larger than the threshold, the input unit 204 proceeds to step S1203. For example, the threshold is an A1 paper size. In the case of job 3 in FIG. 11, the intermediate data generation unit 208 proceeds to step S1203 because the output paper size 1102 of A4 is not equal to or larger than the A1 threshold.

[0080] In step S1206, the input unit 204 checks the number of drawing commands (number of objects) 1103 in Fig. 11. In step S1207, the input unit 204 determines whether the number of drawing commands 1103 is equal to or greater than a threshold. If the number of drawing commands 1103 is equal to or greater than the threshold, the input unit 204 proceeds to step S1208, and if the number of drawing commands 1103 is not equal to or greater than the threshold, the input unit 204 proceeds to step S1203.

[0081] For example, in the case of job 1 in Fig. 11, the number of drawing commands 1103 of 10,000 is not equal to or greater than the threshold, so the intermediate data generation unit 208 proceeds to step S1203. Also, in the case of job 2 in Fig. 11, the number of drawing commands 1103 of 1,000,000 is equal to or greater than the threshold, so the intermediate data generation unit 208 proceeds to step S1208.

[0082] In step S1203, the input unit 204 sets the first mode to the operation mode 1105 in FIG. 11 so that the intermediate data generating unit 208 operates in the first mode in which the intermediate data 300 is stored in the RAM 102 for the first page of the print data 203. After that, the input unit 204 ends the process. In this case, the image forming processing device 100 performs the same processes as those in the second to fourth embodiments.

[0083] In step S1208, the input unit 204 sets the intermediate data generation unit 208 to operate in a second mode in which the intermediate data 300 is temporarily saved as a file in an external storage device, starting from the first page of the print data 203. The input unit 204 sets the second mode to the operation mode 1105 in Fig. 11, and ends the process. In this case, the image forming processing device 100 performs the same process as in the first embodiment.

[0084] The intermediate data generating unit 208 starts operation in the first mode or the second mode for the first page of the print data 203 according to the operation mode 1105 in Fig. 11. The external storage device is the HDD 114 or the SSD 115. In general, the SSD 115 has higher file access speed than the HDD 114.

[0085] As described above, in the case of a print job that is likely to require recovery processing after step S2100, the input unit 204 causes the intermediate data generation unit 208 to operate in the second mode from the first page. As a result, it is possible to save processing time that is likely to be unnecessary and operate with optimal processing time.

[0086] Sixth embodiment Next, a sixth embodiment will be described. Below, differences between the sixth embodiment and the second to fifth embodiments will be described. The sixth embodiment will be described with reference to the print job information in FIG. 11 and the flowchart in FIG.

[0087] FIG. 13 is a flowchart showing a processing method of the image forming processing device 100 according to the sixth embodiment. FIG. 13 is obtained by adding step S5000 to FIG. 8. Step S5000 is the first process of the flowchart of FIG. 13. In step S5000, the input unit 204 checks the type 1104 of the external storage device in FIG. 11. When the type 1104 of the external storage device is the HDD 114, the input unit 204 sets the threshold of the processing time of step S3000 to t, and when the type 1104 of the external storage device is the SSD 115, the input unit 204 sets the threshold of the processing time of step S3000 to t'. The threshold t' is a value different from the threshold t. The threshold of the processing time of step S3000 differs depending on the type 1104 of the external storage device. Thereafter, the image forming processing device 100 performs the processes after step S1000 in the same manner as in FIG. 8.

[0088] In step S3000, when the type 1104 of the external storage device is the HDD 114, the intermediate data generation unit 208 determines whether or not the processing time of the intermediate data generation unit 208 has reached or exceeded the threshold value t. If the processing time of the intermediate data generation unit 208 has not reached or exceeded the threshold value t, the intermediate data generation unit 208 proceeds to step S1006, and if the processing time of the intermediate data generation unit 208 has reached or exceeded the threshold value t, the intermediate data generation unit 208 proceeds to step S2100.

[0089] Also, in step S3000, when the type 1104 of the external storage device is the SSD 115, the intermediate data generation unit 208 determines whether or not the processing time of the intermediate data generation unit 208 has become equal to or greater than the threshold value t'. If the processing time of the intermediate data generation unit 208 has not become equal to or greater than the threshold value t', the intermediate data generation unit 208 proceeds to step S1006, and if the processing time of the intermediate data generation unit 208 has become equal to or greater than the threshold value t', the intermediate data generation unit 208 proceeds to step S2100.

[0090] As described above, the input unit 204 can set the threshold value t or t′ for the processing time in step S3000 in accordance with the type 1104 of the external storage device.

[0091] Seventh embodiment Next, the seventh embodiment will be described. Below, the points in which the seventh embodiment differs from the second embodiment will be described. The seventh embodiment will be described with reference to the flow chart of FIG.

[0092] Fig. 14 is a flowchart showing a processing method of the image forming processing apparatus 100 according to the seventh embodiment. Fig. 14 differs from Fig. 7 in that step S2002 is replaced with step S6000.

[0093] In step S2000, if the size of the intermediate data 300 is equal to or larger than the threshold, the intermediate data generating unit 208 proceeds to step S2001, and if the size of the intermediate data 300 is not equal to or larger than the threshold, the intermediate data generating unit 208 proceeds to step S6000.

[0094] In step S2001, the intermediate data generation unit 208 performs flattening similar to that in FIG. 7, increments the number of times flattening has been performed, stores the number of times flattening has been performed, frees up the memory area of ​​RAM 102 that is no longer needed, and proceeds to step S6000.

[0095] In step S6000, the intermediate data generation unit 208 checks the number of times flattening (integration) was performed in step S2001. If the number of times flattening was performed is not equal to or greater than the threshold, the intermediate data generation unit 208 proceeds to step S1006, and if the number of times flattening was performed is equal to or greater than the threshold, the intermediate data generation unit 208 proceeds to step S2100. As described above, if the number of times flattening was performed becomes equal to or greater than the threshold during the generation of intermediate data 300, the intermediate data generation unit 208 proceeds to step S2100. The subsequent processing is the same as that in FIG. 7.

[0096] Fig. 15 is a diagram showing an example of performance improvement by the processing method of the image forming processing device 100 of Fig. 14. In Fig. 15, similar to Figs. 2 and 3, the vertical axis indicates the usage amount (GB) of the RAM 102, and the horizontal axis indicates the processing time (minutes) of the intermediate data generating unit 208. The maximum value of 2 GB on the vertical axis is the maximum capacity of the RAM 102.

[0097] The threshold value in step S6000 is, for example, 2. If the number of times flattening has been performed is not equal to or greater than the threshold value (2 times), the intermediate data generation unit 208 proceeds to step S1006, and if the number of times flattening has been performed is equal to or greater than the threshold value (2 times), the intermediate data generation unit 208 proceeds to step S2100 when the number of times flattening has been performed is equal to or greater than the threshold value (2 times), and the intermediate data generation unit 208 proceeds to step S2100 and discards the intermediate data 300 in RAM 102, thereby reducing the amount of RAM 102 used.

[0098] In Fig. 3, after flattening occurs three times, the free space in the RAM 102 runs out and the process transitions to recovery processing. In contrast, in Fig. 15, after flattening occurs two times, the process transitions to recovery processing from step S2100 onwards, making it possible to transition to recovery processing earlier than in Fig. 3, and thus shortening the total printing time.

[0099] Eighth embodiment Next, an eighth embodiment will be described. Below, the differences between the eighth embodiment and the second embodiment will be described. The eighth embodiment will be described with reference to the flow chart of FIG.

[0100] Fig. 16 is a flowchart showing a processing method of the image forming processing device 100 according to the eighth embodiment. Fig. 16 is obtained by deleting steps S2001 and S2002 from Fig. 7. The points in Fig. 16 that differ from Fig. 7 will be described below.

[0101] In step S2000, if the size of intermediate data 300 is equal to or greater than the threshold, intermediate data generation unit 208 proceeds to step S2100, and if the size of intermediate data 300 is not equal to or greater than the threshold, intermediate data generation unit 208 proceeds to step S1006. As described above, if the size of intermediate data 300 becomes equal to or greater than the threshold during generation of intermediate data 300, intermediate data generation unit 208 proceeds to step S2100. Subsequent processing is the same as in FIG. 7.

[0102] In Fig. 16, the flattening in step S2001 in Fig. 7 has been deleted. Flattening is highly effective in reducing the amount of RAM 102 used because it integrates the intermediate data 300 up to that point, but it increases the processing cost and extends the overall processing time. For this reason, in Fig. 16, the flattening in step S2001 in Fig. 7 has been deleted.

[0103] As described above, the intermediate data generating unit 208 does not perform the flattening in step S2001, and performs the recovery process in and after step S2100 when the size of the intermediate data 300 becomes equal to or larger than the threshold value.

[0104] (Other embodiments) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) for implementing one or more of the functions.

[0105] It should be noted that the above-mentioned embodiments are merely illustrative of specific examples of the present invention, and the technical scope of the present invention should not be interpreted as being limited by these embodiments. In other words, the present invention can be embodied in various forms without departing from its technical concept or main features. [Explanation of symbols]

[0106] 100 Image forming processing device, 204 Input unit, 205 Analysis unit, 206 Raster image generation processing unit, 207 Output unit, 208 Intermediate data generation unit, 209 Rendering unit

Claims

1. an intermediate data generating means for generating intermediate data for each piece of drawing information based on a plurality of pieces of drawing information included in the print data, writing the generated intermediate data into a memory, writing the intermediate data written into the memory into an external storage device, releasing a memory area for the intermediate data, and integrating the plurality of pieces of intermediate data based on the plurality of pieces of drawing information written into the external storage device; a rendering means for rendering the intermediate data integrated by the intermediate data generating means to generate a raster image; 13. An image forming apparatus comprising:

2. The print data is print data described in a page description language, 2. The image forming processing apparatus according to claim 1, wherein the drawing information is a drawing command.

3. 3. The image forming processing apparatus according to claim 2, further comprising an analyzing unit that analyzes the print data and converts the print data into a plurality of drawing commands.

4. 4. The image forming processing apparatus according to claim 1, wherein the intermediate data includes edge information, composition information, and painting information.

5. The intermediate data generating means generating the painting information based on the drawing information, writing the painting information to the memory, writing the painting information written to the memory to the external storage device, and releasing the memory area for the painting information; reading the painting information from the external storage device, generating the composite information based on the painting information, writing the composite information to the memory, writing the composite information written to the memory to the external storage device, and releasing a memory area for the composite information; 5. The image forming processing device according to claim 4, further comprising: reading the painting information or the compositing information from the external storage device; generating the edge information based on the painting information or the compositing information; writing the edge information to the memory; writing the edge information written to the memory to the external storage device; and freeing up memory space for the edge information.

6. 6. The image forming apparatus according to claim 1, wherein the external storage device is a hard disk drive or a solid state drive.

7. The intermediate data generating means generating intermediate data for each of a plurality of pieces of drawing information included in the print data, writing the generated intermediate data into a memory, and integrating the plurality of pieces of intermediate data based on the plurality of pieces of drawing information written into the memory; The image forming processing device according to any one of claims 1 to 6, characterized in that if the free space of the memory becomes insufficient during the generation of the intermediate data, the intermediate data written to the memory is discarded, intermediate data is generated for each piece of drawing information based on the multiple pieces of drawing information contained in the print data, the generated intermediate data is written to the memory, the intermediate data written to the memory is written to an external storage device, the memory area for the intermediate data is freed, and the multiple pieces of intermediate data based on the multiple pieces of drawing information written to the external storage device are integrated.

8. The intermediate data generating means generating intermediate data for each of a plurality of pieces of drawing information included in the print data, writing the generated intermediate data into a memory, and integrating the plurality of pieces of intermediate data based on the plurality of pieces of drawing information written into the memory; An image forming processing device as described in any one of claims 1 to 6, characterized in that if, during the generation of the intermediate data, the processing time of the intermediate data generation means becomes equal to or greater than a first threshold value, the intermediate data written to the memory is discarded, intermediate data is generated for each piece of drawing information based on the multiple pieces of drawing information contained in the print data, the generated intermediate data is written to memory, the intermediate data written to the memory is written to an external storage device, the memory area for the intermediate data is freed, and the multiple pieces of intermediate data based on the multiple pieces of drawing information written to the external storage device are integrated.

9. The intermediate data generating means In a multi-thread mode, based on a plurality of pieces of drawing information included in the print data, intermediate data is generated for each piece of drawing information, the generated intermediate data is written to a memory, and the plurality of pieces of intermediate data based on the plurality of pieces of drawing information written to the memory are integrated; 8. The image forming processing device according to claim 7, further comprising: if the free space of the memory becomes insufficient during the generation of the intermediate data, the intermediate data written to the memory is discarded; in a single-thread mode, intermediate data is generated for each piece of drawing information contained in the print data based on the plurality of pieces of drawing information; the generated intermediate data is written to the memory; the intermediate data written to the memory is written to an external storage device; the memory area for the intermediate data is freed; and the plurality of pieces of intermediate data based on the plurality of pieces of drawing information written to the external storage device are integrated.

10. The intermediate data generating means The printer operates in a first mode or a second mode depending on the type of external storage device, the size of output paper, or the number of drawing commands in the print data; In the first mode, generating intermediate data for each of a plurality of pieces of drawing information included in the print data, writing the generated intermediate data into a memory, and integrating the plurality of pieces of intermediate data based on the plurality of pieces of drawing information written into the memory; if the free space of the memory becomes insufficient or the processing time of the intermediate data generating means becomes equal to or greater than a first threshold during the generation of the intermediate data, discard the intermediate data written in the memory, generate intermediate data for each piece of drawing information based on the plurality of pieces of drawing information included in the print data, write the generated intermediate data in memory, write the intermediate data written in the memory to an external storage device, free up memory space for the intermediate data, and integrate the plurality of pieces of intermediate data based on the plurality of pieces of drawing information written in the external storage device; In the second mode, The image forming processing device according to any one of claims 1 to 6, characterized in that intermediate data is generated for each of the drawing information based on multiple pieces of drawing information contained in the print data, the generated intermediate data is written to a memory, the intermediate data written to the memory is written to an external storage device, the memory area for the intermediate data is freed, and multiple intermediate data based on the multiple pieces of drawing information written to the external storage device are integrated.

11. 11. The image forming apparatus according to claim 8, wherein the first threshold value differs depending on the type of the external storage device.

12. The intermediate data generating means generating intermediate data for each piece of drawing information based on a plurality of pieces of drawing information included in the print data, writing the generated intermediate data to a memory, and integrating the intermediate data written to the memory when a size of the intermediate data becomes equal to or larger than a second threshold value, and integrating the plurality of pieces of intermediate data based on the plurality of pieces of drawing information written to the memory when generation of the intermediate data based on all of the drawing information has been completed; The image forming processing device according to any one of claims 1 to 6, characterized in that if the number of integrations becomes equal to or greater than a third threshold value during the generation of the intermediate data, the intermediate data written to the memory is discarded, intermediate data is generated for each piece of drawing information based on the multiple pieces of drawing information contained in the print data, the generated intermediate data is written to memory, the intermediate data written to the memory is written to an external storage device, the memory area for the intermediate data is freed, and the multiple pieces of intermediate data based on the multiple pieces of drawing information written to the external storage device are integrated.

13. The intermediate data generating means generating intermediate data for each of a plurality of pieces of drawing information included in the print data, writing the generated intermediate data into a memory, and integrating the plurality of pieces of intermediate data based on the plurality of pieces of drawing information written into the memory; The image forming processing device according to any one of claims 1 to 6, characterized in that if the size of the intermediate data becomes equal to or greater than a fourth threshold value during the generation of the intermediate data, the intermediate data written to the memory is discarded, intermediate data is generated for each piece of drawing information based on the multiple pieces of drawing information contained in the print data, the generated intermediate data is written to memory, the intermediate data written to the memory is written to an external storage device, the memory area for the intermediate data is freed, and the multiple pieces of intermediate data based on the multiple pieces of drawing information written to the external storage device are integrated.

14. an intermediate data generating step of generating intermediate data for each piece of drawing information based on a plurality of pieces of drawing information included in the print data, writing the generated intermediate data into a memory, writing the intermediate data written into the memory into an external storage device, releasing a memory area for the intermediate data, and integrating the plurality of pieces of intermediate data based on the plurality of pieces of drawing information written into the external storage device; a rendering step of rendering the intermediate data integrated in the intermediate data generating step to generate a raster image; 13. A processing method for an image forming apparatus, comprising:

15. A program for causing a computer to function as each of the means of the image forming processing apparatus according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Full color desktop publishing system

    JP1994261202A

  • Printer control device and method

    JP1995061062A

  • Image forming device, image formation method, and program

    JP2008028639A

  • Image forming apparatus and control method thereof

    JP2011061555A

  • Memory sharing system and memory sharing program

    JP2017079003A