CN100559822C - image processing device - Google Patents
image processing device Download PDFInfo
- Publication number
- CN100559822C CN100559822C CNB2005100803966A CN200510080396A CN100559822C CN 100559822 C CN100559822 C CN 100559822C CN B2005100803966 A CNB2005100803966 A CN B2005100803966A CN 200510080396 A CN200510080396 A CN 200510080396A CN 100559822 C CN100559822 C CN 100559822C
- Authority
- CN
- China
- Prior art keywords
- image
- data
- image data
- packet
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000012545 processing Methods 0.000 title claims abstract description 214
- 230000007246 mechanism Effects 0.000 claims description 46
- 238000007906 compression Methods 0.000 claims description 31
- 230000006835 compression Effects 0.000 claims description 31
- 230000006837 decompression Effects 0.000 claims description 16
- 238000003672 processing method Methods 0.000 abstract description 4
- 230000015654 memory Effects 0.000 description 42
- 238000012546 transfer Methods 0.000 description 35
- 238000000034 method Methods 0.000 description 31
- 230000005540 biological transmission Effects 0.000 description 27
- 230000008569 process Effects 0.000 description 24
- 238000006243 chemical reaction Methods 0.000 description 23
- 230000009471 action Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 17
- 238000011084 recovery Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000010926 purge Methods 0.000 description 4
- 101150090596 DMA2 gene Proteins 0.000 description 2
- 230000004913 activation Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 101150043088 DMA1 gene Proteins 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000003702 image correction Methods 0.000 description 1
- 230000033001 locomotion Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000008685 targeting Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Landscapes
- Facsimiles In General (AREA)
- Record Information Processing For Printing (AREA)
Abstract
Description
本申请是申请日为2002年12月25日、申请号为02159559.3、发明名称为“图像处理装置以及图像处理方法”的发明专利申请的分案申请。This application is a divisional application of an invention patent application with a filing date of December 25, 2002, an application number of 02159559.3, and an invention title of "image processing device and image processing method".
技术领域 technical field
本发明涉及以分割图像数据的单位来处理预定的原图像的图像处理装置以及图像处理方法。The present invention relates to an image processing device and an image processing method that process a predetermined original image in units of divided image data.
背景技术 Background technique
以往,在周打印机或者数字多功能机等图像输出装置打印由图像扫描器等输入的图像数据的情况下,所输入的图像数据在1页部分的图像存储器中暂时展开为光栅形式的图像数据。然后,该光栅形式的图像数据在图像输出装置中进行打印。Conventionally, when an image output device such as a printer or a digital multifunction machine prints image data input from an image scanner, the input image data is temporarily expanded into raster image data in an image memory for one page. Then, the image data in raster form is printed on the image output device.
可是,以分辨率600dpi,A4(297mm×21mm)对在1个象素单元中持有4字节数据的高图像质量用的图像数据进行光栅展开,就需要大约140Mbyte的庞大的存储器容量。而且,需要这样大容量的存储器将导致装置的成本升高。However, raster development of image data for high image quality with 4 bytes of data in one pixel unit at a resolution of 600 dpi and A4 (297 mm x 21 mm) requires a huge memory capacity of about 140 Mbytes. Moreover, the need for such a large-capacity memory leads to an increase in the cost of the device.
近年来在日本专利申请公开2002-008002号公报等中提出了将页图像数据分割成预定大小的块,以分割图像数据的单位来进行图像处理的技术。通过使用此分割图像数据的技术,就不需要进行页单位的图像处理和存储处理。而且,能够避免发生上述的成本升高的问题的发生,还能谋求图像处理的高效化。In recent years, Japanese Patent Application Laid-Open No. 2002-008002 and the like have proposed a technique of dividing page image data into blocks of a predetermined size and performing image processing in units of divided image data. By using this technique of dividing image data, image processing and storage processing in units of pages becomes unnecessary. In addition, it is possible to avoid the above-mentioned problem of cost increase, and to improve the efficiency of image processing.
但是,通过以分割图像数据来处理图像数据,就会有使数据管理或者图像处理复杂化的情况。例如,在发生了卡纸等图像输出装置的中断状态的情况下,将会产生用于从中断状态进行恢复的动作会变得麻烦这样的问题。However, processing image data by dividing image data may complicate data management or image processing. For example, when the image output device is in an interrupted state such as a paper jam, the operation for recovering from the interrupted state becomes troublesome.
发明内容 Contents of the invention
本发明就是为了解决上述问题而完成的,目的在于提供一种不在分割图像数据的传送通路进行复杂的处理,就能够容易地控制从中断状态的恢复的图像处理装置以及图像处理方法。The present invention was made to solve the above problems, and an object of the present invention is to provide an image processing device and an image processing method that can easily control recovery from an interrupted state without performing complicated processing in the transmission path of divided image data.
为了达到上述目的,提供一种用于处理图像的图像处理装置,包括:输入机构,用于输入第一图像数据;图像压缩机构,用于对从所述第一图像数据分割出的第二图像数据进行图像压缩;存储机构,用于存储多个由所述图像压缩机构压缩过的所述第二图像数据;图像解压缩机构,用于对上述存储机构中所存储的多个压缩过的所述第二图像数据进行解压缩;输出机构,用于输出由所述图像解压缩机构解压缩后的多个所述第二图像数据;以及废弃机构,用于在所述输出机构中断图像输出的情况下,废弃由所述图像解压缩机构解压缩了的多个第二图像数据,其中,在所述输出机构停止输出图像后,上述图像解压缩机构对上述存储机构中所存储的多个被压缩过的第二图像数据进行解压缩,以及在所述输出机构停止输出图像后,上述废弃机构废弃由所述图像解压缩机构解压缩了的多个所述第二图像数据。In order to achieve the above object, an image processing device for processing images is provided, including: an input mechanism for inputting first image data; an image compression mechanism for dividing a second image from the first image data The data is image compressed; the storage mechanism is used to store a plurality of the second image data compressed by the image compression mechanism; the image decompression mechanism is used to store the multiple compressed second image data stored in the storage mechanism. decompressing the second image data; an output mechanism for outputting a plurality of the second image data decompressed by the image decompression mechanism; and a discarding mechanism for interrupting image output by the output mechanism In this case, the plurality of second image data decompressed by the image decompression unit is discarded, wherein, after the output unit stops outputting images, the image decompression unit stores the plurality of second image data stored in the storage unit The compressed second image data is decompressed, and the discarding means discards a plurality of the second image data decompressed by the image decompression means after the output means stops outputting images.
根据本发明的另一方面,提供了一种用于处理图像的图像处理装置,包括:输入机构,用于输入第一图像数据;图像压缩机构,用于对从所述第一图像数据分割出的第二图像数据进行图像压缩;存储机构,用于存储多个由所述图像压缩机构压缩过的所述第二图像数据;图像解压缩机构,用于对上述存储机构中所存储的多个压缩过的所述第二图像数据进行解压缩;输出机构,用于输出由所述图像解压缩机构解压缩后的多个所述第二图像数据;以及废弃机构,用于在所述输出机构中断图像输出的情况下,废弃由所述图像解压缩机构解压缩了的多个第二图像数据,其中,当所述第二图像数据将由所述输出机构输出的情况下,所述废弃机构废弃该第二图像数据,当所述第二图像数据不将由所述输出机构输出时,所述废弃机构不废弃该第二图像数据。According to another aspect of the present invention, there is provided an image processing device for processing images, comprising: an input mechanism for inputting first image data; an image compression mechanism for segmenting the first image data Image compression of the second image data; storage mechanism, used to store a plurality of said second image data compressed by said image compression mechanism; image decompression mechanism, used to store multiple images stored in said storage mechanism decompressing the compressed second image data; an output mechanism for outputting a plurality of the second image data decompressed by the image decompression mechanism; and a discarding mechanism for resetting the output mechanism When image output is interrupted, discarding a plurality of second image data decompressed by the image decompression means, wherein when the second image data is to be output by the output means, the discarding means discards For the second image data, when the second image data is not to be output by the output means, the discarding means does not discard the second image data.
附图说明 Description of drawings
本发明的上述目的,通过以下的附图以及基于附图的详细说明将会弄明白。The above objects of the present invention will be clarified from the following drawings and detailed description based on the drawings.
图1是示出将本发明所适用的图像输出装置连接到网络来使用的情形的网络构成实例的框图。FIG. 1 is a block diagram showing an example of a network configuration in a case where an image output device to which the present invention is applied is connected to a network and used.
图2A-2C是示出使用了本发明实施形式的图像处理装置的图像输出装置的构成实例的框图。2A to 2C are block diagrams showing configuration examples of an image output device using an image processing device according to an embodiment of the present invention.
图3A-3B是示出在图2A-2C的图像处理装置控制器内所使用的数据包的格式的图。3A-3B are diagrams illustrating the format of data packets used within the image processing device controller of FIGS. 2A-2C.
图4是示出在图2A-2c的图像处理装置控制器内所使用的命令包的格式的图。FIG. 4 is a diagram showing the format of a command packet used within the image processing device controller of FIGS. 2A-2c.
图5是示出在图2A-2c的图像处理装置控制器内所使用的中断包的格式的图。Fig. 5 is a diagram showing the format of an interrupt packet used within the image processing device controller of Figs. 2A-2c.
图6是示出在图2A-2c的图像处理装置控制器内所使用的信息包表的格式的图。Fig. 6 is a diagram showing the format of a packet table used in the image processing device controller of Figs. 2A-2c.
图7是示出在第1以及第2实施形式的图像输入处理中的块之间的数据通路的图。Fig. 7 is a diagram showing a data path between blocks in image input processing in the first and second embodiments.
图8是示出第1实施形式的图像输出处理中的块之间的数据通路的图。Fig. 8 is a diagram showing a data path between blocks in image output processing according to the first embodiment.
图9是示出图像输出接口中的数据传送控制的流程图。Fig. 9 is a flowchart showing data transfer control in the image output interface.
图10是用于说明在第1实施形式中,发生了卡纸时的动作的流程图。Fig. 10 is a flowchart for explaining the operation when a paper jam occurs in the first embodiment.
图11是示出第2实施形式的图像输出处理中的块之间的数据通路的图。Fig. 11 is a diagram showing a data path between blocks in image output processing according to the second embodiment.
图12是用于说明在第2实施形式中,发生了卡纸时的动作的流程图。Fig. 12 is a flowchart for explaining the operation when a paper jam occurs in the second embodiment.
图13是示出在第3实施形式中,与图像处理动作相关联的块之间的数据传送通路和处理步骤的图。Fig. 13 is a diagram showing a data transmission path between blocks related to an image processing operation and a processing procedure in the third embodiment.
图14是示出第3实施形式中,图像处理单元(2149)的动作的流程图。Fig. 14 is a flowchart showing the operation of the image processing unit (2149) in the third embodiment.
图15是说明第4实施形式中的片扩展单元1(2103)的处理的细节的流程图。Fig. 15 is a flowchart illustrating details of the processing of the slice extension unit 1 (2103) in the fourth embodiment.
具体实施方式 Detailed ways
以下,参照附图来说明本发明的实施形式。Embodiments of the present invention will be described below with reference to the drawings.
[第1实施形式][the first embodiment]
(网络构成)(network configuration)
图1是示出将本发明的数字多功能机连接到网络来使用的情形的网络构成实例的框图。FIG. 1 is a block diagram showing an example of a network configuration in a case where the digital multifunctional machine of the present invention is used by being connected to a network.
如图所示,各网络构成设备连接到LAN(局域网)(2011)。其中,1001是能适用于本发明的数字多功能机。数字多功能机(1001)具备用于读取图像的扫描器单元和用于打印图像的打印机单元。As shown in the figure, each network constituting device is connected to a LAN (Local Area Network) (2011). Wherein, 1001 is a digital multifunctional machine applicable to the present invention. A digital multifunctional machine (1001) has a scanner unit for reading images and a printer unit for printing images.
数字多功能机(1001)能够将从扫描器单元读入的图像输出到LAN(局域网)(2011),或者由打印机单元打印输出从LAN(2011)接收到的图像。另外,还能够将从扫描器单元读入的图像由未图示的FAX发送装置发送到PSTN(公共电话网)或者ISDN(2051),或者由打印机单元打印输出从PSTN或者ISDN(2051)接收到的图像。The digital multifunction machine (1001) can output images read from the scanner unit to a LAN (Local Area Network) (2011), or print out images received from the LAN (2011) by the printer unit. In addition, the image read from the scanner unit can also be sent to PSTN (Public Telephone Network) or ISDN (2051) by a FAX sending device not shown in the figure, or received from PSTN or ISDN (2051) by the printer unit. Image.
1002是数据库服务器,作为数据库来管理由数字多功能机(1001)读入的2值图像以及多值图像。1003是数据库服务器(1002)的客户端,能够浏览/检索保存在数据库服务器(1002)中的图像数据。1002 is a database server that manages binary images and multi-valued images read by the digital multifunction machine (1001) as a database. 1003 is a client of the database server (1002), capable of browsing/retrieving image data stored in the database server (1002).
1004是具备电子邮件的收发功能、邮箱功能等的电子邮件服务器。1005是电子邮件服务器(1004)的客户端,能够经由电子邮件服务器(1004),进行电子邮件的收发。电子邮件服务器(1004)以及电子邮件客户端(1005)还能够将由数字多功能机(1001)读取到的图像作为电子邮件中的附加文件进行收发。1004 is an e-mail server having an e-mail sending and receiving function, a mailbox function, and the like. 1005 is a client of the email server (1004), and can send and receive email via the email server (1004). The e-mail server (1004) and e-mail client (1005) can also send and receive images read by the digital multifunction machine (1001) as attached files in e-mail.
1006是向LAN(2011)提供HTML文件的WWW服务器。用此WWW服务器(1006)提供的HTML文件能够由数字多功能机(1001)进行打印输出。1006 is a WWW server that provides HTML files to the LAN (2011). The HTML file provided by this WWW server (1006) can be printed out by the digital multifunctional machine (1001).
除此以外,进行域名服务的管理的DNS服务器(1007)、打印机(1040)也连接到LAN(2011)。另外,LAN(2011)通过路由器(1011)连接到国际互联网/企业内部互联网(1012)。In addition, a DNS server (1007) for managing domain name services and a printer (1040) are also connected to the LAN (2011). In addition, the LAN (2011) is connected to the Internet/intranet (1012) through a router (1011).
此外,在国际互联网/企业内部互联网(1012)上,如图所示,也有连接着与上述各网络构成设备相同的设备,即,数字多功能机(1023),数据库服务器(1021),WWW服务器(1022),电子邮件服务器(1024)等的情形。In addition, on the Internet/intranet (1012), as shown in the figure, there are also devices identical to the above-mentioned network constituent devices, namely, a digital multifunctional machine (1023), a database server (1021), a WWW server (1022), the situation of email server (1024) etc.
另外,数字多功能机(1001)能够通过PSTN或者ISDN(2051),与FAX装置(1031)进行通信。In addition, the digital multifunctional machine (1001) can communicate with the FAX device (1031) via PSTN or ISDN (2051).
(数字多功能机的构成)(Structure of digital multifunctional machine)
图2A~图2C是示出本发明的数字多功能机的构成实例的框图。此外,虽然在本实施形式中,对本发明适用于数字多功能机的控制器的例子进行说明,但本发明也能够适用于具有其他任意构成的图像处理装置。2A to 2C are block diagrams showing configuration examples of the digital multifunctional machine of the present invention. In addition, although an example in which the present invention is applied to a controller of a digital multifunctional machine is described in this embodiment, the present invention can also be applied to an image processing device having any other configuration.
在图2A的数字多功能机中,具有图像处理单元(2149)的控制器(2000)与作为图像输入设备的扫描器(2070)或者作为图像输出设备的打印机(2095)相连接。另外,能够通过LAN(2011)或者公用线路(WAN)(2051),与外部设备之间交换数据或者进行图像输入输出。另外,如后面说明的那样,控制器(2000)能够以片(tile)图像(数据包)的单位处理要用打印机(2095)、外部存储装置(2004)以及连接到图1的网络的各种设备等外部装置所处理的图像。In the digital multifunctional machine of FIG. 2A, a controller (2000) having an image processing unit (2149) is connected to a scanner (2070) as an image input device or a printer (2095) as an image output device. In addition, data can be exchanged with external devices or image input and output can be performed via LAN (2011) or public line (WAN) (2051). In addition, as will be described later, the controller (2000) can process various files to be used by the printer (2095), the external storage device (2004), and the network connected to FIG. 1 in units of tile images (packets). Images processed by external devices such as equipment.
如图2B所示那样,系统控制单元(2150)在内部包括CPU(2001),对数字多功能机整体进行控制。在本实施例中示出使用了2个CPU的例子。这2个CPU通过共通的CPU总线(2126)连接到系统总线桥(2007)。As shown in FIG. 2B, the system control unit (2150) includes a CPU (2001) inside, and controls the entire digital multifunction machine. In this embodiment, an example using two CPUs is shown. The two CPUs are connected to the system bus bridge (2007) through a common CPU bus (2126).
2007是以第1总线开关发挥作用的系统总线桥。CPU总线(2126)、RAM控制器(2124)、ROM控制器(2125)、IO总线1(2127)、子总线开关(2128)、IO总线2(2129)、图像环形接口1(2147)和图像环形接口2(2148)连接到此系统总线桥(2007)。2007 is a system bus bridge that functions as the first bus switch. CPU bus (2126), RAM controller (2124), ROM controller (2125), IO bus 1 (2127), sub-bus switch (2128), IO bus 2 (2129), image ring interface 1 (2147) and image Ring interface 2 (2148) is connected to this system bus bridge (2007).
2128是以第2总线开关发挥作用的子总线开关。图像DMA1(2130)图像、DMA2(2132)、字体扩展单元(3134)、分类电路(2135)和位图描迹单元(2136)连接到此子总线开关(2128)。子总线开关(2128)协调从这些DMA输出的存储器访问请求,并进行向系统总线桥(2007)的连接。2128 is a sub-bus switch functioning as a second bus switch. Image DMA1 (2130) image, DMA2 (2132), font extension unit (3134), classification circuit (2135) and bitmap tracing unit (2136) are connected to this sub-bus switch (2128). The sub-bus switch (2128) coordinates memory access requests output from these DMAs and makes connections to the system bus bridge (2007).
RAM(2002)是用于CPU(2001)进行动作的系统工作存储器,也是用于暂时存储图像数据的图像存储器。此RAM(2002)由RAM控制器(2124)来控制。在本实施形式中,RAM(2002)例如采用直接RDRAM。The RAM (2002) is a system work memory for the CPU (2001) to operate, and is also an image memory for temporarily storing image data. This RAM (2002) is controlled by a RAM controller (2124). In this embodiment, the RAM (2002) is, for example, a direct RDRAM.
ROM(2003)是引导ROM,保存着系统的引导程序。此ROM(2003)由ROM控制器(2125)来控制。ROM (2003) is a boot ROM, which stores the boot program of the system. This ROM (2003) is controlled by a ROM controller (2125).
图像DMA 1(2130)连接到图像压缩单元(2131),基于通过寄存器访问环(register access ring)(2137)所设定的信息,对利用图像压缩单元(2131)的,RAM(2002)中的非压缩数据的读出、压缩,以及压缩后数据的重写进行控制。在本实施形式中,例如作为压缩算法采用JPEG。The image DMA 1 (2130) is connected to the image compression unit (2131), based on the information set by the register access ring (register access ring) (2137), to utilize the image compression unit (2131), in the RAM (2002) It controls the reading of uncompressed data, compression, and rewriting of compressed data. In this embodiment, for example, JPEG is used as a compression algorithm.
图像DMA2(2132)连接到图像扩展单元(2133),基于通过寄存器访问环(2137)所设定的信息,对利用图像扩展单元(2133)的,RAM(2002)中的非压缩数据的读出、扩展,以及扩展后数据的重写进行控制。在本实施形式中,与上述的压缩算法相对应,在扩展算法中采用JPEG。The image DMA2 (2132) is connected to the image expansion unit (2133), and based on the information set by the register access ring (2137), the uncompressed data in the RAM (2002) is read using the image expansion unit (2133). , expansion, and the rewriting of expanded data are controlled. In this embodiment, corresponding to the above-mentioned compression algorithm, JPEG is used as the expansion algorithm.
字体扩展单元(2134)基于通过LAN接口(2010)等从外部传送来的PDL(页记述语言)数据中所包含的字体代码,对保存在ROM(2003)或者RAM(2002)内的压缩字体数据进行扩展。在本实施形式中,例如采用FBE算法。The font extension unit (2134) converts the compressed font data stored in the ROM (2003) or RAM (2002) based on the font code contained in the PDL (page description language) data transmitted from the outside through the LAN interface (2010) or the like. to expand. In this embodiment, for example, the FBE algorithm is used.
分类电路(2135)是对在展开PDL数据的阶段所生成的显示列表的对象的顺序改变排列的电路。The sorting circuit (2135) is a circuit for changing the order of objects in the display list generated at the stage of expanding the PDL data.
位图描迹电路(2136)是从位图数据抽取出边缘信息的电路。The bitmap tracing circuit (2136) is a circuit for extracting edge information from bitmap data.
IO总线1(2127)是内部IO总线的一种,连接着作为标准总线的USB总线的控制器、USB接口(2138)、通用串行端口(2139)、中断控制器(2140)和GPIO接口(2141)。在IO总线1中包含总线仲裁器(未图示)。IO bus 1 (2127) is a kind of internal IO bus, is connected as the controller of the USB bus of standard bus, USB interface (2138), universal serial port (2139), interrupt controller (2140) and GPIO interface ( 2141). A bus arbiter (not shown) is included in the
操作单元I/F(2006)与操作单元(UI)(2012)连接,对操作单元(2012)输出用于在操作单元(2012)中显示的图像数据。另外,还起到将由使用者从操作单元(2012)所输入的信息传送到CPU(2001)的作用。The operation unit I/F (2006) is connected to the operation unit (UI) (2012), and outputs image data for display on the operation unit (2012) to the operation unit (2012). In addition, it also plays a role of transmitting information input by the user from the operation unit (2012) to the CPU (2001).
IO总线2(2129)是内部IO总线的一种,连接着通用总线接口1和2(2142),以及LAN控制器(2010)。在IO总线2中包含总线仲裁器(未图示)。The IO bus 2 (2129) is a kind of internal IO bus, and connects the
通用总线接口(2142)由2个相同的总线接口构成,是支持标准IO总线的总线桥。在本实施形式中,示出了采用PCI总线(2143)的例子。The universal bus interface (2142) is composed of two identical bus interfaces, and is a bus bridge supporting the standard IO bus. In this embodiment, an example using the PCI bus (2143) is shown.
在图2A中,外部存储装置(2004)是硬盘驱动器(HDD),保存着系统软件和图像数据等。此外部存储装置(2004)通过磁盘控制器(2144)连接到另一PCI总线(2143)。In FIG. 2A, the external storage device (2004) is a hard disk drive (HDD), and stores system software, image data, and the like. This external storage device (2004) is connected to another PCI bus (2143) through a disk controller (2144).
LAN控制器(2010)通过MAC电路(2145),PHY/PMD电路(2143)连接到LAN(2011)上,进行信息的输入输出。调制解调器(2050)连接到公用线路(2051),进行信息的输入输出。The LAN controller (2010) is connected to the LAN (2011) through the MAC circuit (2145) and the PHY/PMD circuit (2143) to input and output information. A modem (2050) is connected to a public line (2051) to input and output information.
在图2B中,图像环形接口1(2147)以及图像环形接口2(2148)是用于连接到高速传送图像数据的图像环(image ring)(2008)的接口。另外,这些接口作为在RAM(2002)与图像处理单元(2149)之间传送压缩图像数据的DMA控制器来发挥作用。In FIG. 2B, image ring interface 1 (2147) and image ring interface 2 (2148) are interfaces for connecting to an image ring (image ring) (2008) that transmits image data at high speed. In addition, these interfaces function as a DMA controller that transfers compressed image data between the RAM (2002) and the image processing unit (2149).
图像环(2008)是由一对单向连接通路(图像环1以及图像环2)的组合所构成的总线。如图2C所示那样,图像环(2008)在图像处理单元(2149)内,通过图像环形接口3(2101)以及图像环形接口4(2102),连接到片扩展单元(2103)、命令处理单元(2104)、状态处理单元(2105)和片压缩单元(2106)。在本实施形式中,示出了安装2组片扩展单元(2103),3组片压缩单元的例子。The image ring (2008) is a bus composed of a pair of unidirectional connection paths (
片扩展单元(2103)连接到图像环形接口3(2101),同时还连接到片总线(2107)。此片扩展单元(2103)是对从图像环(2008)所输入的压缩后的图像数据进行扩展并向片总线(2107)传送的总线桥。在本实施形式中,作为扩展算法,例如,对多值数据采用JPEG,对2值数据采用Pack Bits(紧缩位压缩方法)。The slice expansion unit (2103) is connected to the image ring interface 3 (2101), and also connected to the slice bus (2107). The slice expansion unit (2103) is a bus bridge that expands the compressed image data input from the image loop (2008) and transfers it to the slice bus (2107). In this embodiment, as the expansion algorithm, for example, JPEG is used for multi-valued data, and Pack Bits (pack bit compression method) is used for binary data.
片压缩单元(2106)连接到图像环形接口4(2102),同时还连接到片总线(2107)。此片压缩单元(2106)是对从片总线(2107)所输入的压缩前的图像数据进行压缩并向图像环(2008)传送的总线桥。在本实施形式中,与上述扩展算法相对应,作为压缩算法,对多值数据采用JPEG,对2值数据采用Pack Bits。The slice compression unit (2106) is connected to the image ring interface 4 (2102), and is also connected to the slice bus (2107). The slice compression unit (2106) is a bus bridge that compresses uncompressed image data input from the slice bus (2107) and transfers it to the image loop (2008). In this embodiment, corresponding to the expansion algorithm described above, JPEG is used for multi-valued data and Pack Bits is used for binary data as a compression algorithm.
命令处理单元(2104)连接到图像环形接口3以及4(2101、2102),同时还连接到寄存器设定总线(2109)。命令处理单元(2104)将由CPU(2001)所发出的,并通过图像环(2008)所输入的寄存器设定请求,向连接到寄存器设定总线(2109)该块进行写入。另外,基于由CPU(2001)所发出的寄存器读出请求,通过寄存器设定总线(2109)从该寄存器读出信息,并传送到图像环形接口4(2102)。The command processing unit (2104) is connected to the
状态处理单元(2105)对各个图像数据处理单元(后面说明的多值化单元(2119)、2值化单元(2118)、颜色空间变换单元(2117)、图像旋转单元(2030)和分辨率变换单元(2116))的信息进行监视,生成用于向CPU(2001)发出中断的中断包,并输出到图像环形接口4(2102)。The state processing unit (2105) performs each image data processing unit (multivaluation unit (2119), binarization unit (2118), color space conversion unit (2117), image rotation unit (2030) and resolution conversion unit (2119) described later. unit (2116)), generate an interrupt packet for issuing an interrupt to the CPU (2001), and output it to the image ring interface 4 (2102).
在片总线(2107)中,除上述的块之外、还连接以下的功能块。它们是再现单元接口(2110)、图像输入接口(2112)、图像输出接口(2113)、多值化单元(2119)、2值化单元(2118)、颜色空间变换单元(2117)、图像旋转单元(2030)和分辨率变换单元(2116)。The following functional blocks are connected to the slice bus (2107) in addition to the above-mentioned blocks. These are reproduction unit interface (2110), image input interface (2112), image output interface (2113), multivaluation unit (2119), binarization unit (2118), color space conversion unit (2117), image rotation unit (2030) and a resolution transformation unit (2116).
再现单元接口(2110)是输入由后面说明的再现单元(2060)所生成的位图图像的接口。再现单元(2060)与再现单元接口(2110)用一般的视频信号(2111)来连接。再现单元接口(2110)除片总线(2107)之外,还连接到存储器总线(2108)和寄存器设定总线(2109)。而且,在利用通过寄存器设定总线(2109)所设定的预定方法对所输入的光栅图像进行向片图像的构造变换的同时,进行时钟的同步,并输出到片总线(2107)。The playback unit interface (2110) is an interface for inputting bitmap images generated by the playback unit (2060) described later. The reproduction unit (2060) and the reproduction unit interface (2110) are connected by a common video signal (2111). The reproduction unit interface (2110) is connected to the memory bus (2108) and the register setting bus (2109) in addition to the slice bus (2107). Then, the input raster image is converted into a slice image structure by a predetermined method set in the register setting bus (2109), and the clock is synchronized and output to the slice bus (2107).
图像输入接口(2112)输入由扫描器用的图像处理单元(2114)进行了修正图像处理的光栅图像数据,利用通过寄存器设定总线(2109)所设定的预定方法进行向片图像的构造变换和时钟的同步,并对片总线(2107)进行输出。The image input interface (2112) inputs the raster image data that has undergone corrected image processing by the image processing unit (2114) for the scanner, and performs structure conversion and Clock synchronization, and output to the chip bus (2107).
图像输出接口(2113)输入来自片总线(2107)的片图像数据,进行向光栅图像的构造变换以及时钟速率的变更,将光栅图像输出到打印机用的图像处理单元(2115)。另外,如后面说明那样,图像输出接口(2113)与打印机(2095)之间,进行控制信息以及状态信息的收发,从所接收的状态信息就能够检测发生了卡纸等打印机(2095)的中断信息。而且,图像输出接口(2113)能够在打印机(2095)的处理中断时废弃片图像数据。The image output interface (2113) receives slice image data from the slice bus (2107), converts the structure to a raster image and changes the clock rate, and outputs the raster image to an image processing unit (2115) for a printer. In addition, as will be described later, control information and status information are sent and received between the image output interface (2113) and the printer (2095), and from the received status information, it is possible to detect occurrence of an interruption of the printer (2095) such as a paper jam. information. Furthermore, the image output interface (2113) can discard slice image data when the processing of the printer (2095) is interrupted.
图像旋转单元(2030)进行图像数据的旋转。分辨率变换单元(2116)进行图像数据的分辨率的变更。此分辨率变换单元(2116)还作为变倍处理单元来发挥作用。颜色空间变换单元(2117)进行彩色以及灰度图像的颜色空间的变换。2值化单元(2118)对多值(彩色、灰度)图像进行2值化。多值化单元(2119)将2值图像变换为多值数据。An image rotation unit (2030) rotates image data. A resolution conversion unit (2116) changes the resolution of image data. This resolution conversion unit (2116) also functions as a scaling processing unit. A color space conversion unit (2117) performs color space conversion of color and grayscale images. A binarization unit (2118) binarizes a multivalued (color, grayscale) image. A multivalued unit (2119) converts a binary image into multivalued data.
外部总线接口单元(2120)是通过图像环形接口1、2、3、4(2147、2148、2101、2102),命令处理单元(2104),寄存器设定总线(2109)接受由CPU(2001)发出的写入、读出请求,并变换输出到外部总线3(2121)的总线桥。外部总线3(2121)在本实施形式中连接到打印机用的图像处理单元(2115)以及扫描器用的图像处理单元(2114)。The external bus interface unit (2120) is through the
存储器控制单元(2122)连接到存储器总线(2108),根据图像处理单元(2149)内的各个图像数据处理单元(2116、2117、2118、2119、2030)的请求,对预先进行了地址分割的图像存储器1以及2(2123),进行图像数据的写入、读出,并根据需要进行更新等动作。在本实施形式中,例如在图像存储器中使用SDRAM。The memory control unit (2122) is connected to the memory bus (2108), and according to the request of each image data processing unit (2116, 2117, 2118, 2119, 2030) in the image processing unit (2149), the image that has previously been divided into addresses The
扫描器用的图像处理单元(2114)对由作为图像输入设备的扫描器(2070)所扫描的图像数据进行预定的修正图像处理。另外,打印机用的图像处理单元(2115)进行用于图像形成输出的预定的图像修正处理,并将该结果向打印机(2095)输出。An image processing unit (2114) for a scanner performs predetermined correction image processing on image data scanned by a scanner (2070) as an image input device. Also, an image processing unit (2115) for a printer performs predetermined image correction processing for image formation and output, and outputs the result to a printer (2095).
再现单元(2060)将PDL码或者中间显示列表展开成位图图像。The reproduction unit (2060) develops the PDL code or the intermediate display list into a bitmap image.
(包结构)(package structure)
接着,说明用于本实施形式中的图像数据的处理的包的格式。实施形式中的控制器(2000)以打包的形式传送图像数据、CPU(2001)的命令以及由各个图像数据处理单元(2116、2117、2118、2119、2030)所发出的中断信息。在包数据中,有以下的种类。Next, the format of a packet used for processing image data in this embodiment will be described. The controller (2000) in the implementation form transmits image data, commands of the CPU (2001) and interrupt information issued by each image data processing unit (2116, 2117, 2118, 2119, 2030) in a packaged form. In the package data, there are the following types.
(1)数据包(图3)(1) Data packet (Figure 3)
如图3A所示那样,数据包由用预定象素数(在本实施形式中取为32象素×32象素)分割的片单位的图像数据(3002),保存后面说明的控制信息的首标信息(3001)以及图像附加信息等(3003)构成。As shown in FIG. 3A, the packet is composed of image data (3002) in slice units divided by a predetermined number of pixels (32 pixels×32 pixels in this embodiment), and holds a header of control information described later. It is composed of tag information (3001) and image additional information (3003).
如图3B所示,例如,一页的原稿分割为多个片,对每个片生成片数据。这里,假设用扫描器(2070)以600×600dpi的分辨率读取A4尺寸(210×297mm)的原稿。这时,当1英寸为25.4mm后,图像的象素数就是纵4961象素×横7016象素。而且,当以32×32象素的片分割后,就从A4尺寸的原稿生成34320个片数据。As shown in FIG. 3B , for example, a document of one page is divided into a plurality of pieces, and piece data is generated for each piece. Here, it is assumed that an original document of A4 size (210×297 mm) is read by a scanner (2070) at a resolution of 600×600 dpi. At this time, when 1 inch is 25.4 mm, the number of pixels of the image is 4961 pixels in length x 7016 pixels in width. Furthermore, when divided into slices of 32×32 pixels, 34320 pieces of slice data are generated from an A4-size document.
下面,就包含在首标信息(3001)中的信息进行说明。Next, the information included in the header information (3001) will be described.
包类型由首标信息(3001)内的PcktType(3004)来识别。在PcktType(3004)中,包括重复标志,在图像数据(3002)与前一个发送的数据包的图像数据相同的情况下,重复标志置位。The packet type is identified by PcktType (3004) in header information (3001). In PcktType (3004), a repeat flag is included, and when the image data (3002) is the same as the image data of the previous transmitted packet, the repeat flag is set.
ChipID(3005)表示包的发送目标。ImageType(3006)表示图像数据的类型。PageID(3007)表示图像数据的页号码。JobID(3008)存储用于以软件来管理图像处理的任务ID。ChipID (3005) indicates the destination of the packet. ImageType (3006) indicates the type of image data. PageID (3007) indicates the page number of the image data. JobID (3008) stores a job ID for managing image processing by software.
PacketIDY(3009)以及PacketIDX(3010)表示包含在包中的(或者指定的)图像数据相当于图像中的哪一个位置中的片。片位置组合Y方向(PacketIDY(3009))和X方向(PacketIDX(3010),以YnXn来表示。PacketIDY ( 3009 ) and PacketIDX ( 3010 ) indicate at which slice in the image the image data included in the packet (or specified) corresponds. The slice position combines the Y direction (PacketIDY (3009)) and the X direction (PacketIDX (3010)), and is represented by YnXn.
数据包有数据被压缩的情况和非压缩的情况。在本实施形式中,作为压缩算法,示出在多值彩色(包括多值灰度)的情况下使用JPEG,在2值的情况下使用Pack Bits的例子。压缩的情况与非压缩的情况的区别用CompressFlag(3017)来表示。There are cases where data is compressed and cases where data is not compressed. In this embodiment, an example of using JPEG for multi-value color (including multi-value gradation) and using Pack Bits for binary is shown as the compression algorithm. The difference between compressed and non-compressed is indicated by CompressFlag (3017).
Process Instruction(3011)由作为5位的UnitID(3019)以及3位的Mode(3020)的组合的处理Unit1-8构成,各个处理Unit从左(低位)开始依次进行处理。已处理的UnitID以及Mode被废弃,Process Instruction整体向左移位8位,以使下一次所处理的UnitID以及Mode位于左端。Process Instruction(3011)中最多存储8组UnitID(3019)与Mode(3020)的组合。UnitID(3019)指定各个图像数据处理单元,Mode(3020)指定各个图像数据处理单元中的动作模式。由此,对于包含在一个图像数据包中(或者所指定的)图像数据,能够指示由总共最多8个图像数据处理单元进行的连续处理。Process Instruction (3011) is composed of Processing Units 1-8 which are combinations of 5-digit UnitID (3019) and 3-digit Mode (3020), and each processing Unit is processed sequentially from the left (lower order). The processed UnitID and Mode are discarded, and the Process Instruction is shifted to the left by 8 bits as a whole, so that the next processed UnitID and Mode are located at the left end. Process Instruction (3011) stores up to 8 combinations of UnitID (3019) and Mode (3020). UnitID (3019) designates each image data processing unit, and Mode (3020) designates an operation mode in each image data processing unit. Thereby, for the image data contained in (or designated) in one image packet, it is possible to instruct continuous processing by a total of up to eight image data processing units.
PacketByteLength(3012)表示包的总字节数。ImageDataByteLength(3015)表示图像数据的字节数。ZDataByteLength(3016)表示图像附加信息的字节数。ImageDataOffset(3013)、ZDataOffset(3014)分别表示图像数据以及图像附加数据自包的起始位置的偏移量。PacketByteLength (3012) indicates the total number of bytes of the packet. ImageDataByteLength (3015) indicates the number of bytes of image data. ZDataByteLength (3016) indicates the number of bytes of image additional information. ImageDataOffset ( 3013 ) and ZDataOffset ( 3014 ) indicate the offsets of the image data and image additional data from the start position of the pack, respectively.
(2)命令包(图4)(2) command package (Figure 4)
是用于进行对寄存器设定总线(2109)的访问的包。通过使用本包,能够由CPU(2001)进行对图像存储器(2123)的访问。此命令包由首标(4001)以及命令(包数据部分)(4002)构成。It is a packet for accessing the register setting bus (2109). By using this package, the CPU (2001) can access the image memory (2123). This command packet is composed of a header (4001) and a command (packet data part) (4002).
在首标(4001)的ChipID(4004)中,保存着表示成为命令包的发送目标的图像处理单元(2149)的ID。In the ChipID (4004) of the header (4001), the ID indicating the image processing unit (2149) to which the command packet is transmitted is stored.
PageID(4007)、JobID(4008)分别保存用于以软件来管理的PageID以及JobID。Packet ID用一维表示(4009)。仅使用Data Packet的X-坐标。PacketByteLength(4010)固定为128字节。PageID ( 4007 ) and JobID ( 4008 ) store PageID and JobID for software management, respectively. Packet ID is expressed in one dimension (4009). Only use the X-coordinate of the Data Packet. PacketByteLength (4010) is fixed at 128 bytes.
在包数据部中(4002),将地址(4011)与数据(4012)的组合作为1个指令,最多能够保存12个指令。是写还是读的指令的类型用CmdType(4005)来表示,指令的数量(4006)用Cmdnum表示。In the packet data section (4002), a combination of address (4011) and data (4012) is regarded as one command, and a maximum of 12 commands can be stored. The type of the command whether to write or read is represented by CmdType (4005), and the number of commands (4006) is represented by Cmdnum.
(3)中断包(图5)(3) Interrupt package (Figure 5)
中断包由首标(5001)以及中断数据(包数据部)(5002)构成,用于进行从图像处理单元(2149)向CPU(2001)的中断通知。The interruption packet is composed of a header (5001) and interruption data (packet data part) (5002), and is used for notification of interruption from the image processing unit (2149) to the CPU (2001).
当状态处理单元(2105)发送中断包后,直到允许下一次发送为止都不能发送中断包。PacketByteLength(5006)固定为128字节。After the state processing unit (2105) sends the interrupt packet, it cannot send the interrupt packet until the next sending is allowed. PacketByteLength (5006) is fixed at 128 bytes.
包数据部(5002)中,保存着图像处理单元(2149)的各个内部模块的状态信息(5007)。中断处理单元(2105)能够收集图像处理单元(2149)内的各个模块的状态信息,一起传送到系统控制单元(2150)。The state information (5007) of each internal module of the image processing unit (2149) is stored in the packet data unit (5002). The interrupt processing unit (2105) can collect the status information of each module in the image processing unit (2149), and transmit them to the system control unit (2150).
ChipID(5004)中保存着表示成为中断包的发送目标的系统控制单元(2150)的ID。另外,在内部芯片ID(5005)中,保存着表示成为中断包的发送目标的图像处理单元(2149)的ID。ChipID (5004) stores the ID indicating the system control unit (2150) to which the interrupt packet is transmitted. In addition, the internal chip ID (5005) stores the ID indicating the image processing unit (2149) to which the interrupt packet is transmitted.
(信息包表的构成)(Structure of Packet Table)
上述的各个包由图6所示那样的信息包表(6001)进行管理。此信息包表与图像数据成对使用,在图像数据展开到图2的RAM(2002)的情况下,在RAM(2002)上进行管理。另外,在图像数据保存在外部存储装置(2004)中的情况下,此信息包表(6001)也同时保存在外部存储装置(2004)中。在将保存在外部存储装置(200时)中的图像数据再次展开到RAM(2002)的情况下,该信息包表(6001)也同时读出到RAM(2002),并且依照所展开图像数据的地址信息,进行地址信息的改写。Each of the aforementioned packets is managed by a packet table (6001) as shown in FIG. 6 . This packet table is used as a pair with image data, and when the image data is expanded to RAM (2002) in FIG. 2, it is managed on RAM (2002). In addition, when the image data is stored in the external storage device (2004), this packet table (6001) is also stored in the external storage device (2004) at the same time. When the image data stored in the external storage device (at 200) is expanded to RAM (2002) again, the packet table (6001) is also read to RAM (2002) at the same time, and address information, and rewrite the address information.
当在表的值上添加5位0后,就成为包的起始地址(Packet StartAddress)(6002),包的字节长度(Packet Byte Length)(6005)。即,包地址指针(27位)+5b0000=包起始地址,和PacketLength(11位)+5b0000=Packet Byte Length。When 5 bits of 0 are added to the value of the table, it becomes the packet start address (Packet StartAddress) (6002), and the packet byte length (Packet Byte Length) (6005). That is, packet address pointer (27 bits)+5b0000=packet start address, and PacketLength (11 bits)+5b0000=Packet Byte Length.
设信息包表(6001)和链表(Chain Table)(6010)没有被分割。Assume that the packet table (6001) and the chain table (Chain Table) (6010) are not divided.
信息包表(6001)通常沿着扫描方向排列,按Yn/Xn=000/000,000/001,000/002,......这样的顺序进行排列。此信息包表(6001)的条目唯一地表示1个片。另外,Yn/Xmax的下一个条目就是Yn+1/X0。The packet table (6001) is usually arranged along the scanning direction in the order of Yn/Xn=000/000, 000/001, 000/002, . . . An entry in this packet table (6001) uniquely represents one slice. Also, the next entry of Yn/Xmax is Yn+1/X0.
在包与前一个包是完全相同数据的情况下,该包不写入存储器,保存与信息表条目中的第1个条目相同的包地址指针和包长度。就成为2个表条目指示1个包数据的形式。在这种情况下,第2个表条目的Repeat Flag(6003)被置位。In the case that the packet has exactly the same data as the previous packet, the packet is not written into the memory, and the same packet address pointer and packet length as the first entry in the information table entry are saved. It becomes a form in which two table entries indicate one packet data. In this case, the Repeat Flag (6003) of the second table entry is set.
在包由链DMA截断为多个的情况下,Divide Flag(6004)置位,将加入在该包的起始部分的链块的链表号码(6006)置位。Under the situation that bag is truncated into a plurality of by chain DMA, Divide Flag (6004) setting is set, will add the linked list number (6006) setting of the chain block at the initial part of this bag.
链表(6010)的条目由Chain Block Address(6011)和Chain BlockLength(6012)构成,在表的最后的条目中,在Chain Block Address(6011)和Chain Block Length(6012)中都保存0。The entry of the linked list (6010) is composed of Chain Block Address (6011) and Chain BlockLength (6012), and in the last entry of the table, 0 is stored in both Chain Block Address (6011) and Chain Block Length (6012).
(图像输入动作)(image input action)
接着,对将用扫描器(2070)所读取的图像数据分割为片图像,再从片图像生成数据包,并保存到RAM(2002)中的图像输入动作进行说明。Next, the image input operation of dividing the image data read by the scanner (2070) into slice images, generating packets from the slice images, and storing them in the RAM (2002) will be described.
图7示出与图像输入动作相关联的块之间的数据传送通路和处理步骤。下面,除图2A~图2C的框图之外,还适当地参考图7来进行说明。Fig. 7 shows the data transfer path and processing steps between the blocks associated with the image input action. Hereinafter, description will be given with reference to FIG. 7 as appropriate in addition to the block diagrams of FIGS. 2A to 2C .
首先,在扫描器(2070)中进行图像的读取。这里,所读取的图像数据作为光栅数据依次传送到扫描器用的图像处理单元(2114)。扫描器用的图像处理单元(2114)按照光栅数据的顺序进行必要的图像处理,并传送到图像输入接口(2112)。图像输入接口(2112)将按照光栅的顺序传送来的图像数据通过存储器总线(2108)传送到存储器控制单元(2122)。First, an image is read by a scanner (2070). Here, the read image data is sequentially sent to the image processing unit for the scanner as raster data (2114). The image processing unit (2114) for the scanner performs necessary image processing according to the order of the raster data, and sends the raster data to the image input interface (2112). The image input interface (2112) transmits the image data transmitted in raster order to the memory control unit (2122) through the memory bus (2108).
存储器控制单元(2122)以光栅的形式展开到图像存储器1(2123)。此图像存储器1(2123)作为最小容量由32行大小的光栅数据构成。当32行的图像数据展开到图像存储器1(2123)后,图像输入接口(2122)就以32象素×32行的片图像的单位开始读出。此片图像的读出通过存储器控制单元(2122)和存储器总线(2108)来进行。The memory control unit (2122) expands to the image memory 1 (2123) in the form of a raster. This image memory 1 (2123) is constituted by raster data of 32 lines as a minimum capacity. After the image data of 32 lines is expanded to the image memory 1 (2123), the image input interface (2122) starts to read out in units of slice images of 32 pixels×32 lines. The reading of this piece of image is performed through the memory control unit (2122) and the memory bus (2108).
图像输入接口(2112)在所生成的片图像(3002)中添加首标(3001)和Z数据(3003),生成图3所示格式的数据包。这里,在Process instruction(3001)中记载着用于将图像数据保存到RAM(2002)中的通路信息。此通路信息是由来自系统控制单元(2150)的命令包等所指示的信息,预先存储在图像输入接口(2112)中。The image input interface (2112) adds a header (3001) and Z data (3003) to the generated slice image (3002), and generates a data packet in the format shown in FIG. 3 . Here, path information for storing image data in RAM (2002) is described in Process instruction (3001). This path information is information indicated by a command packet or the like from the system control unit (2150), and is stored in the image input interface (2112) in advance.
接着,图像输入接口(2112)对片总线(2107)请求向片压缩单元1(2106)的连接。然后,当通过片总线(2107)连接到片压缩单元1(2106)后,图像输入接口(2112)将数据包传送到片压缩单元1(2106)。Next, the image input interface (2112) requests connection to the slice compression unit 1 (2106) to the slice bus (2107). Then, after being connected to the slice compression unit 1 (2106) through the slice bus (2107), the image input interface (2112) transmits the data packet to the slice compression unit 1 (2106).
片压缩单元1(2106)对数据包进行JPEG压缩。被JPEG压缩的数据包传送到图像环形接口4(2102)。图像环形接口4(2102)通过图像环(2008)将数据包传送到系统控制单元(2150)。系统控制单元(2150),将传送来的数据包保存到RAM(2002)。Slice compression unit 1 (2106) performs JPEG compression on the data packet. The data packet compressed by JPEG is sent to the image ring interface 4 (2102). The image ring interface 4 (2102) transmits the data packet to the system control unit (2150) through the image ring (2008). The system control unit (2150) saves the transmitted data packet in RAM (2002).
就这样,从用扫描器(2070)读取的图像来生成数据包,在进行数据压缩以后,保存到系统控制单元(2150)的RAM(2002)。In this way, a data packet is generated from the image read by the scanner (2070), and after data compression, it is stored in the RAM (2002) of the system control unit (2150).
(图像输出动作)(image output operation)
接着,根据保存在系统控制单元(2150)的RAM(2002)中的数据包,对用打印机(2095)打印图像的图像输出动作进行说明。Next, an image output operation for printing an image by the printer (2095) based on the packet stored in the RAM (2002) of the system control unit (2150) will be described.
图8示出与此动作相关联的块之间的数据传送通路和处理步骤。下面,除图2A~图2C的框图之外,还适当参考此图8来进行说明。Figure 8 shows the data transfer path and processing steps between the blocks associated with this action. Hereinafter, description will be made with appropriate reference to this FIG. 8 in addition to the block diagrams of FIGS. 2A to 2C .
首先,从系统控制单元(2150)输出的数据包通过图像环(2008),输入到图像环形接口3(2101)。此外,这里在Process Instruction(3011)中,由系统控制单元(2150)记载用于将RAM(2002)的图像数据用打印机(2095)输出的通路信息。First, the data packet output from the system control unit (2150) is input to the image ring interface 3 (2101) through the image ring (2008). In addition, here, in the Process Instruction (3011), the system control unit (2150) describes the path information for outputting the image data in the RAM (2002) to the printer (2095).
图像环形接口3(2101)选择片扩展单元1(2103),并传送数据包。此片扩展单元1(2103)的选择根据上述的包格式的ProcessInstruction(3011)来进行。The image ring interface 3 (2101) selects the slice expansion unit 1 (2103), and transfers the packet. This slice extension unit 1 (2103) is selected according to the above-mentioned ProcessInstruction (3011) of the packet format.
片扩展单元1(2103)对数据包的片图像进行JPEG扩展,变换成非压缩的图像数据。接着,片扩展单元1(2103)对片总线(2107),进行向图像输出接口(2113)的连接请求。然后,当片扩展单元1(2103)通过片总线(2107)连接到图像输出接口(2113)后,就将数据包传送到图像输出接口(2113)。The slice expansion unit 1 (2103) performs JPEG expansion on the slice image of the packet, and converts it into uncompressed image data. Next, the slice extension unit 1 (2103) makes a connection request to the image output interface (2113) to the slice bus (2107). Then, when the slice extension unit 1 (2103) is connected to the image output interface (2113) through the slice bus (2107), the data packet is sent to the image output interface (2113).
接受了数据包的图像输出接口(2113)通过存储器总线(2108),将数据包的片图像传送到存储器控制单元(2122)。存储器控制单元(2122)将传送来的片图像展开到图像存储器2(2123)。此展开以片单位进行,而在图像存储器2(2123)的内部以光栅数据的形式进行。The image output interface (2113) that has received the packet transmits the slice image of the packet to the memory control unit (2122) via the memory bus (2108). The memory control unit (2122) expands the transferred slice image to the image memory 2 (2123). This expansion is performed in units of slices, and is performed in the form of raster data inside the image memory 2 (2123).
当此光栅数据作为用打印机(2095)输出的32行的光栅数据全部被展开后,图像输出接口(2113)就开始按光栅顺序的数据读出。此光栅数据的读出通过存储器控制单元(2122)和存储器总线(2108)进行。按光栅顺序读出了数据的图像输出接口(2113)将此该数据传送到打印机用的图像处理单元(2115)。而且,接受了光栅数据的打印机(2095)基于光栅数据进行打印。When the raster data is fully expanded as 32 lines of raster data output by the printer (2095), the image output interface (2113) starts to read data in raster order. This raster data is read out via the memory control unit (2122) and the memory bus (2108). The image output interface (2113) which has read the data in raster order transmits the data to the image processing unit (2115) for the printer. Then, the printer (2095) that has received the raster data performs printing based on the raster data.
(数字多功能机的复合动作)(composite action of digital multifunctional machine)
本实施形式的数字多功能机通过上述的图像输入动作与图像输出动作的组合,就能够进行使用了扫描器(2070)和打印机(2095)的复制动作。The digital multifunctional machine of this embodiment can perform copying operations using the scanner (2070) and printer (2095) by combining the above-mentioned image input operation and image output operation.
另外,通过在执行了上述图像输入动作以后,将RAM(2002)的数据包保存在外部存储装置(2004)中,就能够进行图像的文件归档动作。In addition, by storing the data package of RAM (2002) in the external storage device (2004) after the above-mentioned image input operation is performed, the image filing operation can be performed.
另外,通过将RAM(2002)的数据包再次展开为光栅数据,并变换为预定的格式向LAN或者公用线路输出,就能够进行传真发送动作或者根据邮件发送等预定的协议的图像发送动作。In addition, by re-expanding the data packet in the RAM (2002) into raster data, and converting it into a predetermined format and outputting it to a LAN or public line, it is possible to perform a fax transmission operation or an image transmission operation according to a predetermined protocol such as mail transmission.
另外,在上述图像输出动作中,通过从基于来自外部装置的PDL数据进行再现处理的再现单元(2060)输入片数据,就能够进行PDL打印动作。In addition, in the image output operation described above, the PDL print operation can be performed by inputting slice data from the playback unit (2060) that performs playback processing based on PDL data from an external device.
另外,当在图像处理单元(2149)中处理了RAM(2002)的数据包以后,还能够再次进行保存到RAM(2002)中的图像处理动作,根据需要,还能够将利用此处理通路的图像处理动作与上述各动作组合起来执行。In addition, after the data packet of RAM (2002) is processed in the image processing unit (2149), the image processing action of saving in RAM (2002) can be performed again, and the image using this processing channel can also be used as needed. Processing actions are performed in combination with the above-described actions.
上面,说明了能够用本实施形式的数字多功能机执行的主要的动作。在进行这些处理时,通过用数据包进行图像处理的构成,就以片单位确保图像处理单元(2149)内的各个处理块。从而,就能够在图像处理单元(2149)中,混合存在与多个动作相关的图像数据。另外,用于图像处理的控制信息包含在各种包的首标中,CPU(2001)在一旦生成了包后,几乎不需要进行图像处理单元(2149)中的图像处理的管理以及控制。根据这些构成,本实施形式的数字多功能机在并行执行多个动作的情况下,能够并行地执行与各动作相关的图像处理。The main operations that can be performed by the digital multifunction machine of this embodiment have been described above. When these processes are performed, each processing block in the image processing unit (2149) is secured in units of slices by configuring the image processing to be performed in packets. Therefore, in the image processing unit (2149), image data related to a plurality of motions can be mixed. In addition, control information for image processing is included in headers of various packets, and the CPU (2001) hardly needs to manage and control image processing in the image processing unit (2149) once the packets are generated. According to these configurations, the digital multifunctional machine of this embodiment can execute image processing related to each operation in parallel when executing a plurality of operations in parallel.
(卡纸时的动作)(Action at the time of paper jam)
接着,说明在打印机(2095)中发生了卡纸时的动作。Next, the operation when a paper jam occurs in the printer (2095) will be described.
在打印机(2095)中发生了卡纸的情况下,打印机就不能接收发生卡纸以后的图像数据。由此,就成为在图8所示的打印动作时的传送通路中多个数据包停滞的结果。同时,在系统控制单元(2150)中为了打印机而起动的DMA也成为中途中断状态。When a paper jam occurs in the printer (2095), the printer cannot receive image data after the paper jam occurs. As a result, a plurality of packets stagnates in the transmission path during the printing operation shown in FIG. 8 . At the same time, the DMA activated for the printer in the system control unit (2150) is also in an interrupted state.
在此状态下,为了排除打印机(2095)中的卡纸,以使得再次进行打印动作,需要全部清除停滞在通路中的图像片数据。另外,还需要中途中断系统控制单元(2150)的DMA,并再次起动的控制。In this state, in order to clear the paper jam in the printer (2095) and perform the printing operation again, it is necessary to clear all the image piece data stagnant in the path. In addition, it is also necessary to interrupt the DMA of the system control unit (2150) halfway and restart the control.
在本实施形式中,特征在于设置不伴随这样复杂的控制就能够进行卡纸后的恢复动作的机构。The present embodiment is characterized in that a mechanism is provided to perform recovery operation after paper jam without such complicated control.
本实施形式的控制器的图像输出接口(2113)设置有当在打印机(2095)中发生了卡纸的情况下检测该状态的机构。检测出卡纸的图像输出接口(2113)就不向打印机用的图像处理单元(2115)传送在此之后传送来的数据包而立刻进行废弃的动作。The image output interface (2113) of the controller of the present embodiment is provided with a mechanism for detecting a paper jam in the printer (2095). The image output interface (2113) that detects a paper jam does not transmit data packets transmitted thereafter to the image processing unit (2115) for the printer, and discards them immediately.
之后,图像输出接口(2113)依次废弃传送来的数据包,接收全部用于构成图像的数据包。After that, the image output interface (2113) sequentially discards the transmitted data packets, and receives all the data packets used to form the image.
图9的流程图中示出图像输出接口(2113)中的数据传送控制。此外,本流程图的处理通过图像输出接口(2113)的内部CPU(未图示)执行保存在内部存储器(未图示)中的控制程序得以实现。Data transfer control in the image output interface (2113) is shown in the flowchart of FIG. 9 . In addition, the process of this flowchart is realized by the internal CPU (not shown) of the image output interface (2113) executing the control program stored in the internal memory (not shown).
首先,根据通过寄存器设定总线等的来自CPU(2001)的指示,进行用于将RAM(2002)的图像数据向打印机(2095)传送的设定。然后,开始接收从RAM(2002)传送来的数据包(S901)。First, settings are made for transferring image data from the RAM (2002) to the printer (2095) in accordance with an instruction from the CPU (2001) via a register setting bus or the like. Then, start to receive the data packet transferred from RAM (2002) (S901).
在开始了数据传送以后,监视打印机(2095)卡纸的发生。每隔预定的时间间隔就从打印机(2095)发送动作状态信息,图像输出接口(2113)基于此信息判断是否发生了卡纸(S902)。After the data transfer is started, the printer (2095) is monitored for the occurrence of a paper jam. Operation status information is sent from the printer (2095) every predetermined time interval, and the image output interface (2113) judges whether a paper jam occurs based on the information (S902).
当在步骤S902中,判断为没有发生卡纸的情况下,进行通常的数据传送控制。即,从接收到的数据包抽取出片图像,将多个片图像在图像存储器(2123)中进行光栅展开,并将所生成的位图数据依次向打印机用的图像处理单元(2115)输出(S903)。When it is determined in step S902 that a paper jam has not occurred, normal data transfer control is performed. That is, slice images are extracted from the received data packets, a plurality of slice images are rasterized in the image memory (2123), and the generated bitmap data are sequentially output to the image processing unit (2115) for the printer ( S903).
然后,判断在步骤S901中所传送设定的全部数据的传送是否已结束(S904),在判断为没有结束的情况下,返回到步骤S902,继续进行数据传送。在判断为数据传送已结束的情况下,结束正常动作情形的数据传送控制。Then, it is judged whether the transfer of all data set in step S901 has been completed (S904), and if it is judged not to be completed, the process returns to step S902 to continue data transfer. When it is judged that the data transfer has ended, the data transfer control in the case of normal operation is ended.
另一方面,当在步骤S902中,检测出卡纸的情况下,进行依次废弃所接收的数据包的控制(S905)。此控制持续到全部接收在步骤S901中所设定的数据为止。而且,如果接收并废弃了在步骤S901中设定的全部数据,就结束卡纸时的数据传送控制。On the other hand, when a paper jam is detected in step S902, control is performed to sequentially discard received packets (S905). This control continues until the data set in step S901 are all received. And, if all the data set in step S901 are received and discarded, the data transmission control at the time of paper jam ends.
通过这样的动作,即使在打印机(2095)中发生卡纸,中断了图像输出动作的情况下,直到图像输出接口(2113)通路上的电路全部都能够进行与正常动作相同的动作。Through such an operation, even if a paper jam occurs in the printer (2095) and the image output operation is interrupted, all the circuits on the path up to the image output interface (2113) can perform the same operation as the normal operation.
系统控制单元(2150)的DMA也能够以正常动作结束。,当DMA已正常结束时,在系统控制单元(2150)中进行在打印机(2095)中是否发生了卡纸的判断,如果发生了卡纸,就进行该图像的再次输出动作。The DMA of the system control unit (2150) can also end in normal operation. , when the DMA has normally ended, in the system control unit (2150), it is judged whether a paper jam has occurred in the printer (2095), and if a paper jam has occurred, the re-output action of the image is carried out.
图10是示出系统控制单元(2150)的CPU(2001)进行打印动作控制的流程图。下面,根据流程图进行说明。Fig. 10 is a flowchart showing the printing operation control performed by the CPU (2001) of the system control unit (2150). Next, description will be given based on the flow chart.
首先,起动图像打印用的DMA(S1001)。这里,进行图8动作的数据包从系统控制单元(2150)向图像处理单元(2149)传送。First, the DMA for image printing is activated (S1001). Here, the packet for performing the operation shown in FIG. 8 is transferred from the system control unit (2150) to the image processing unit (2149).
然后,进行打印用DMA的起动是否已结束的判断(S1002)。即,判断数据包向图像处理单元(2149)的传送是否已结束。此时,在图像处理单元(2149)中,已经进行着数据包的图像处理和向打印机(2095)的数据传送。Then, it is judged whether or not activation of the printing DMA has been completed (S1002). That is, it is judged whether or not the transfer of the data packet to the image processing unit (2149) has been completed. At this time, in the image processing unit (2149), the image processing of the data packet and the data transfer to the printer (2095) are already being performed.
如果在步骤S1002中,判断为DMA已结束,就进行是否发生了卡纸的判断(S1003)。如果发生了卡纸,就进入步骤S1004。If it is determined in step S1002 that the DMA has ended, it is determined whether or not a paper jam has occurred (S1003). If paper jam occurs, go to step S1004.
在打印机(2095)中,进行是否排除了卡纸的判断。如果排除了卡纸就返回步骤S1001开始再次打印动作。In the printer (2095), it is judged whether or not the paper jam has been eliminated. If the paper jam is eliminated, return to step S1001 to start printing again.
另一方面,如果在步骤S903中没有发生卡纸,就是打印动作的正常结束。在本实施形式中,通过这样容易的控制,就能够进行卡纸后的再次打印。On the other hand, if no paper jam occurs in step S903, the printing operation is normally terminated. In this embodiment, it is possible to perform reprinting after a paper jam by such easy control.
如以上说明的那样,利用本实施形式,对数据传送进行控制以使在打印机中发生了卡纸,并检测出了打印输出中断的情况下,图像输出接口就在接收到DMA传送来的包数据后,依次废弃所接收到的包数据。As described above, in this embodiment, the data transfer is controlled so that when a paper jam occurs in the printer and a printout interruption is detected, the image output interface receives the packet data transferred by the DMA. After that, the received packet data is discarded in sequence.
由此,因为从系统控制单元到打印机的传送通路能够进行与正常动作相同的动作,故能够容易地控制从卡纸进行恢复时的动作。As a result, since the transport path from the system control unit to the printer can perform the same operation as the normal operation, the operation at the time of recovering from a paper jam can be easily controlled.
[第2实施形式][Second Embodiment]
在第1实施形式中,就容易地进行数据传送通路中的恢复动作的构成进行了说明,但有时必须进行包含在数据传送通路中的各个构成要素的初始化动作。在本实施形式中,主要就容易地进行卡纸后的各个数据处理单元中的初始化动作的构成进行说明。In the first embodiment, the structure in which the recovery operation in the data transmission path is easily performed has been described, but in some cases, the initialization operation of each component included in the data transmission path must be performed. In the present embodiment, the description will mainly be made of a structure that facilitates the initialization operation in each data processing unit after a paper jam.
(图像输出动作)(image output operation)
在本实施形式中,说明基于保存在系统控制单元(2150)的RAM(2002)中的数据包,用打印机(2095)打印图像的图像输出动作。在本实施形式中,图像打印对于原图像旋转90度后输出。In this embodiment, an image output operation of printing an image with a printer (2095) based on a packet stored in the RAM (2002) of the system control unit (2150) will be described. In this embodiment, the image print is output after being rotated by 90 degrees with respect to the original image.
图11示出与此例动作相关联的块之间的数据通路和处理步骤。下面,除图2A~图2C的框图之外,还适当参考此图11进行说明。Figure 11 shows the data paths and processing steps between the blocks associated with this example action. Hereinafter, description will be given with reference to this FIG. 11 as appropriate in addition to the block diagrams of FIGS. 2A to 2C .
首先,从系统控制单元(2150)输出的数据包通过图像环(2008),输入到图像环形接口3(2101)。此时,数据包按照将图像总体旋转了90度的位置的顺序进行输出。此外,这里在Process Instruction(3001)中,由系统控制单元(2150)记载用于将RAM(2002)的图像数据用打印机(2095)输出的通路信息。First, the data packet output from the system control unit (2150) is input to the image ring interface 3 (2101) through the image ring (2008). At this time, the data packets are output in the order of positions where the image is rotated by 90 degrees as a whole. In addition, here, in the Process Instruction (3001), the system control unit (2150) describes the path information for outputting the image data in the RAM (2002) to the printer (2095).
图像环形接口3(2101)选择片扩展单元1(2103),并传送数据包。此片扩展单元1(2103)的选择根据上述的包格式的ProcessInstruction(3011)进行。The image ring interface 3 (2101) selects the slice expansion unit 1 (2103), and transfers the packet. The slice extension unit 1 (2103) is selected according to the above-mentioned ProcessInstruction (3011) of the packet format.
片扩展单元1(2103)对数据包的片图像进行JPBG扩展,变换为非压缩的图像数据。接着,片扩展单元1(2103)对片总线(2107),进行向图像旋转单元(2030)的连接请求。The slice expansion unit 1 (2103) performs JPBG expansion on the slice image of the packet, and converts it into uncompressed image data. Next, the slice extension unit 1 (2103) makes a connection request to the image rotation unit (2030) to the slice bus (2107).
当通过片总线(2107)与图像旋转单元(2030)相连接后,片扩展单元1(2103)就将数据包传送到图像旋转单元(2030)。After being connected to the image rotation unit (2030) through the slice bus (2107), the slice expansion unit 1 (2103) transmits the data packet to the image rotation unit (2030).
图像旋转单元(2030)接收所传送的数据包,并从接收到的数据包抽取片图像。而且,图像旋转单元(2030)生成将片图像的象素数结构旋转了90度的片图像。当图像旋转单元(2030)进行片图像的旋转处理后,就从片图像重新生成数据包,并对片总线(2107)进行向图像输出接口(2113)的连接请求。An image rotation unit (2030) receives the transmitted data packet, and extracts a slice image from the received data packet. Furthermore, an image rotation unit (2030) generates a slice image in which the pixel number structure of the slice image is rotated by 90 degrees. After the image rotation unit (2030) rotates the slice image, it regenerates a data packet from the slice image, and makes a connection request to the slice bus (2107) to the image output interface (2113).
当通过片总线(2107)与图像输出接口(2113)连接后,图像旋转单元(2030)就将数据包传送到图像输出接口(2113)。接受到数据包的图像输出接口(2113)通过存储器总线(2108),将数据包传送到存储器控制单元(2122)。After being connected to the image output interface (2113) through the slice bus (2107), the image rotation unit (2030) transmits the data packet to the image output interface (2113). The image output interface (2113) that has received the data packet transmits the data packet to the memory control unit (2122) through the memory bus (2108).
存储器控制单元(2122)将传送来的数据包的片图像展开到图像存储器2(2123)。展开是以片单位进行,而在图像存储器2的内部是以光栅数据的形式存储。当此光栅数据作为用打印机(2095)输出的32行的光栅数据全部展开后,图像输出接口(2113)就开始光栅顺序的数据读出。此光栅数据的读出通过存储器控制单元(2122)和存储器总线(2108)进行。The memory control unit (2122) expands the slice image of the transmitted packet to the image memory 2 (2123). The expansion is performed in units of slices, and is stored in the form of raster data in the
按照光栅顺序读出的数据的图像输出接口(2113)将该数据传送到打印机用的图像处理单元(2115)。The image output interface (2113) of the data read out in raster order transmits the data to the image processing unit (2115) for the printer.
接受了光栅数据的打印机(2095)基于光栅数据来打印图像。A printer (2095) that has received the raster data prints an image based on the raster data.
能够将在图7中所说明的用扫描器(2070)读取到的图像片数据保存到系统控制单元(2150)的RAM(2002)的图像输入动作,和在图11中所说明的将保存在图像控制单元(2150)的RAM(2002)中的图像片数据用打印机(2095)进行图像打印的图像输出动作组合起来执行。即,此时,能够进行使用了扫描器(2070)和打印机(2095)的90度旋转的复制动作。The image input operation that can save the image slice data read by the scanner (2070) to the RAM (2002) of the system control unit (2150) described in FIG. 7, and the image input operation described in FIG. Image slice data in the RAM (2002) of the image control unit (2150) is executed in combination with image output operations for image printing by the printer (2095). That is, at this time, a copying operation using a 90-degree rotation of the scanner (2070) and the printer (2095) can be performed.
(卡纸时的动作)(Action at the time of paper jam)
接着,对在本实施形式中,发生了打印机(2095)的卡纸时的动作进行说明。Next, the operation when a paper jam occurs in the printer (2095) in this embodiment will be described.
与第1实施形式相同,在图11的旋转打印时,在打印机(2095)中发生了卡纸的情况下,打印机(2095)也不能够接受发生卡纸以后的图像数据。由此,就成为在图11所示的打印动作时的传送通路中多个数据包停滞的结果。同时,在系统控制单元(2150)中的为了打印而起动的DMA也成为中途中断状态。Similar to the first embodiment, when a paper jam occurs in the printer (2095) during rotary printing in FIG. 11, the printer (2095) cannot accept image data after the paper jam occurs. As a result, a plurality of packets stagnates in the transmission path during the printing operation shown in FIG. 11 . Simultaneously, the DMA activated for printing in the system control unit (2150) is also in an interrupted state.
在本实施形式中,与第1实施形式相同,设置不需要进行复杂的控制,就能够容易地控制这种卡纸后的恢复动作的机构。In this embodiment, similarly to the first embodiment, there is provided a mechanism that can easily control the recovery operation after such a paper jam without performing complicated controls.
CPU(2001)使用一个串行端口,与打印机(2095)进行串行通信,并始终监视打印机(2095)的状态。在打印机(2095)中发生了卡纸的情况下,CPU(2001)通过此串行通信,来检测在打印机(2095)中发生了卡纸。The CPU (2001) uses a serial port to communicate serially with the printer (2095), and monitors the status of the printer (2095) all the time. When a paper jam occurs in the printer (2095), the CPU (2001) detects that a paper jam has occurred in the printer (2095) through this serial communication.
检测出卡纸的CPU(2001)中途中断系统控制单元(2150)的DMA。当在系统控制单元(2150)中中途中断了数据包传送的DMA以后,由图像环形接口1(2147)生成表示已中断数据包的DMA传送的包。The CPU (2001) that detected the paper jam interrupts the DMA of the system control unit (2150) midway. When the DMA of the packet transfer is interrupted in the system control unit (2150), a packet indicating that the DMA transfer of the packet has been interrupted is generated by the video ring interface 1 (2147).
此包是特殊的包,例如,以图3的PacketIDY-coordinate(3009)、PacketIDX-coordinate(3010)都为最大值的包,来表示中途中断了数据传送DMA。以后,称此包为清除包。This packet is a special packet. For example, the packet whose PacketIDY-coordinate (3009) and PacketIDX-coordinate (3010) in FIG. 3 are both maximum values indicates that the data transfer DMA is interrupted in the middle. Hereafter, this package is called a purge package.
图像环形接口1(2147)生成此清除包,在图像数据传送DMA中断了以后,就作为最后的包传送到图像处理单元(2149)的图像环形接口3(2101)。The image ring interface 1 (2147) generates this clear packet, and after the image data transfer DMA is interrupted, it is sent to the image ring interface 3 (2101) of the image processing unit (2149) as the last packet.
图像环形接口3(2101)与通常的包同样地处理此清除包,传送到片扩展单元1(2103)。接收到清除包的片扩展单元1(2103)中断全部正在内部进行的处理,返回到初始状态。The video ring interface 3 (2101) processes this clear packet in the same manner as a normal packet, and transfers it to the slice expansion unit 1 (2103). The slice extension unit 1 (2103) having received the clear packet interrupts all the internal processing and returns to the initial state.
接着,片扩展单元1(2103)通过片总线(2107),将清除包传送到图像旋转单元(2030)。Next, the slice expansion unit 1 (2103) transmits the clear packet to the image rotation unit (2030) via the slice bus (2107).
接收到清除包的图像旋转单元(2030)与片扩展单元1(2103)同样地中断内部处理,返回到初始状态。接着图像旋转单元(2030)通过片总线(2107),将清除包传送到图像输出接口(2113)。The image rotation unit (2030) having received the clear packet interrupts the internal processing similarly to the slice expansion unit 1 (2103), and returns to the initial state. Next, the image rotation unit (2030) transmits the clearing packet to the image output interface (2113) through the chip bus (2107).
接收到清除包的图像输出接口(2115)清除由于打印机卡纸而不能输出的图像数据。此前扩展到图像存储器2(2123)的图像数据也同样地进行清除。同时返回到初始状态。The image output interface (2115) that has received the clearing package clears the image data that cannot be output due to paper jam in the printer. The image data previously expanded to the image memory 2 (2123) is also cleared in the same manner. At the same time return to the initial state.
这样由清除包进行的清除动作利用与图11的处理通路相同的通路。通过此清除动作,即使在打印机(2095)中发生了卡纸,图像输出动作已中断的情况下,直到图像输出接口(2113)的通路上的电路都全部由清除包返回到初始状态。The clearing operation by clearing packets in this way uses the same path as the processing path shown in FIG. 11 . Through this clearing action, even if a paper jam occurs in the printer (2095) and the image output action is interrupted, all circuits on the path up to the image output interface (2113) are returned to the initial state by the clearing packet.
系统控制单元(2150)的DMA由CPU(2001)中断并返回到初始状态。这样在图像打印中,传送图像片数据的通路上的电路通过清除包全部返回到初始状态。在排除了打印机(2095)的卡纸以后,就能够进行该图像的再次输出动作。The DMA of the system control unit (2150) is interrupted by the CPU (2001) and returns to the initial state. In this way, in image printing, the circuits on the path for transmitting image slice data all return to the initial state by clearing the packet. After removing the paper jam of the printer (2095), the re-output operation of the image can be performed.
图12是示出系统控制单元(2150)的CPU(2001)进行的打印动作控制的流程图。下面,根据流程图进行说明。Fig. 12 is a flowchart showing printing operation control performed by the CPU (2001) of the system control unit (2150). Next, description will be given based on the flow chart.
首先,起动图像打印用的DMA(S1201)。这里,进行图8动作的数据包从系统控制单元(2150)向图像处理单元(2149)传送。First, the DMA for image printing is activated (S1201). Here, the packet for performing the operation shown in FIG. 8 is transferred from the system control unit (2150) to the image processing unit (2149).
接着,进行是否发生了卡纸的判断(S1202)。此时,在图像处理单元(2149)中,正在进行数据包的图像处理和向打印机(2095)的数据传送。如果在步骤S1202中,发生了卡纸,CPU(2001)就使打印用的DMA中断(S1203)。Next, it is determined whether or not a paper jam has occurred (S1202). At this time, in the image processing unit (2149), image processing of the data packet and data transfer to the printer (2095) are being performed. If a paper jam occurs in step S1202, the CPU (2001) interrupts the DMA for printing (S1203).
在步骤S1204中,图像环形接口1(2147)将清除包传送到图像处理单元(2149)。通过此清除包,将图像处理单元(2149)内部的,传送打印用的片图像的通路上的电路全部初始化。In step S1204, the image ring interface 1 (2147) transmits the clear packet to the image processing unit (2149). With this clear packet, all the circuits on the path for transmitting slice images for printing inside the image processing unit (2149) are initialized.
在步骤S1205中,进行是否在打印机(2095)中,排除卡纸,而且片图像的清除已结束的判断。如果排除了卡纸,而且片图像的清除已结束,就返回步骤S1201开始再次打印动作。In step S1205, a judgment is made as to whether or not the paper jam has been cleared in the printer (2095) and the clearing of the sheet image has been completed. If the paper jam is eliminated and the clearing of the sheet image is completed, the process returns to step S1201 to start the printing operation again.
如果在步骤S1202中没有发生卡纸,就成为图像打印动作的正常结束。在本实施形式中,通过这样容易的控制,就能够进行卡纸后的再次打印。If no paper jam occurs in step S1202, the image printing operation is normally terminated. In this embodiment, it is possible to perform reprinting after a paper jam by such easy control.
如以上说明的那样,利用本实施形式,在检测出在打印机中发生卡纸,并中断了打印输出的情况下,将用于通知已中断的意思的清除包向图像处理单元发送,在图像处理单元中,根据清除包来初始化图像处理。As described above, according to this embodiment, when it is detected that a paper jam occurs in the printer and the print output is interrupted, a clear packet for notifying the interruption is sent to the image processing unit. In the unit, image processing is initialized according to the cleanup package.
由此,由于能够容易地使向打印机的传送通路以及图像处理单元恢复到初始状态,故能够容易地控制卡纸后进行恢复时的动作。As a result, since the conveyance path to the printer and the image processing unit can be easily restored to the original state, the operation at the time of restoration after a paper jam can be easily controlled.
[第3实施形式][the third embodiment]
如在第1实施形式中所说明的那样,本发明的数字多功能机在并行地执行多个动作的情况下,能够并行地执行与各个动作相关的图像处理。在本实施形式中,就并行处理时的卡纸的恢复动作进行说明。As described in the first embodiment, when the digital multifunctional machine of the present invention executes a plurality of operations in parallel, image processing related to each operation can be executed in parallel. In this embodiment, the paper jam recovery operation during parallel processing will be described.
此动作由以1个图像数据为对象的2个处理动作构成。1个是对保存于RAM(2002)中的图像数据实施颜色变换处理,将处理后的图像数据暂时再次保存在RAM(2002)中的图像处理动作。另一个是用打印机(2095)将保存在RAM(2002)中的上述图像处理动作后的图像数据依次打印输出的图像输出动作。本实施形式的数字多功能机能够分别控制这2个动作,而且能够同时并行执行这2个动作。This operation consists of two processing operations targeting one image data. One is an image processing operation in which color conversion processing is performed on image data stored in RAM (2002), and the processed image data is temporarily stored in RAM (2002). The other is an image output operation of sequentially printing out the image data stored in the RAM (2002) after the image processing operation by the printer (2095). The digital multifunctional machine of this embodiment can control these two operations separately, and can simultaneously execute these two operations in parallel.
由于此并行处理中的上述图像输出动作与在第1实施形式中叙述过的动作相同,故在这里省略该说明。下面,详细地说明此并行处理中的图像处理动作。Since the above-mentioned image output operation in this parallel processing is the same as that described in the first embodiment, the description thereof will be omitted here. Next, the image processing operation in this parallel processing will be described in detail.
(图像处理动作)(image processing action)
说明对保存在系统控制单元(2150)的RAM(2002)中的数据包进行颜色空间变换处理,并再次保存到RAM(2002)的图像处理动作。An image processing operation of performing color space conversion processing on a packet stored in the RAM (2002) of the system control unit (2150) and storing it again in the RAM (2002) will be described.
图13是示出与图像处理动作相关联的块之间的数据的传送通路和处理步骤。在下面,除图2A~图2C的框图之外,还适当参考此图13进行说明。FIG. 13 is a diagram showing a data transfer path and processing steps between blocks associated with an image processing action. In the following description, in addition to the block diagrams of FIGS. 2A to 2C , this FIG. 13 will also be appropriately referred to.
首先,在系统控制单元(2150)内,与用于上述图像输出动作的DMA相独立地起动此数据处理用的DMA。图像输出动作用的DMA和此颜色空间变换用的DMA在系统控制单元(2150)内被仲裁,并在图像环(2008)中以包单位顺序传送图像数据。另外,这里,在数据包的Process Instruction(3011)中,由系统控制单元(2150)记载用于将RAM(2002)的图像数据用打印机(2095)输出的通路信息。First, in the system control unit (2150), the DMA for data processing is activated independently of the DMA for the above-mentioned image output operation. The DMA for image output operation and the DMA for color space conversion are arbitrated in the system control unit (2150), and the image data is sequentially transmitted in packet units in the image loop (2008). In addition, here, in the Process Instruction (3011) of the packet, the system control unit (2150) describes the route information for outputting the image data of the RAM (2002) to the printer (2095).
图13中进行了颜色空间变换的数据包由图像环形接口3,从图像环(2008)向图像处理单元1(2149)输入。图像环形接口3(2101)根据Process Instruction(3011)将所输入的数据包传送到片扩展单元1(2103)。In FIG. 13, the data packet subjected to color space conversion is input from the
直到片扩展单元1(2103)的通路都与上述图像输出动作用的包通路相重复。从而,2个图像数据就以包单位沿着相同的通路来传送。The path up to the slice expansion unit 1 (2103) is repeated with the packet path for the above-mentioned image output operation. Therefore, two pieces of image data are transmitted along the same path in units of packets.
接着,由片扩展单元1(2103)进行了片图像的JPEG扩展的数据包通过片总线(2107)传送到颜色空间变换单元(2117)。颜色空间变换单元(2117)基于所设定的参数,对片图像实施颜色空间变换处理。参数的设定是在DMA传送开始之前预先设定。颜色空间变换单元(2117)通过片总线(2107)将进行了片图像的变换处理的数据包传送到片压缩单元1(2106)。Next, the packet of the JPEG expansion of the slice image by the slice expansion unit 1 (2103) is sent to the color space conversion unit (2117) through the slice bus (2107). A color space conversion unit (2117) performs color space conversion processing on the slice image based on the set parameters. The parameter setting is preset before the DMA transfer starts. The color space conversion unit (2117) transfers the packet on which the conversion processing of the slice image has been performed to the slice compression unit 1 (2106) via the slice bus (2107).
片压缩单元1(2106)对传送来的数据包的片图像进行JPEG压缩。JPEEG压缩了的数据包传送到图像环形接口4(2101)。图像环形接口4(2101)通过图像环(2008)将数据包传送到系统控制单元(2150)。系统控制单元(2150)将传送来的数据包保存到RAM(2002)。The slice compression unit 1 (2106) performs JPEG compression on the slice image of the transferred packet. The JPEG-compressed data packets are sent to the image ring interface 4 (2101). The image ring interface 4 (2101) transmits the data packet to the system control unit (2150) through the image ring (2008). The system control unit (2150) saves the transferred data packets in RAM (2002).
此颜色空间变换处理和在第1实施形式中说明过的图像输出动作的图像数据,在直到片扩展单元1(2103)的通路上以包单位分时地进行传送。对于整个图像数据,此颜色空间变换处理作为图像处理的并行动作来进行。The image data of the color space conversion process and the image output operation described in the first embodiment are time-divisionally transmitted in units of packets on the path leading to the slice extension unit 1 (2103). This color space conversion process is performed as a parallel operation of image processing for the entire image data.
(卡纸时的动作)(Action at the time of paper jam)
下面,进行当上述打印动作和颜色空间变换处理并行动作时,在打印机(2095)中发生了卡纸情形的说明。Next, a paper jam occurs in the printer (2095) when the above printing operation and the color space conversion process are performed in parallel.
在此情况下,中断片扩展单元1(2103)中的图像输出动作用的数据包的传送。而且,成为在片扩展单元1(2103)内数据包停滞的结果。片扩展单元(2103)为了进行包单位的处理,当包停滞在内部后,就不能够进行下一个包输入。为此,作为并行动作正在动作的颜色空间变换处理的包传送也中断。In this case, the transfer of the packet for the image output operation in the slice extension unit 1 (2103) is interrupted. And, as a result, the packet stagnates in the slice extension unit 1 (2103). The slice expansion unit (2103) cannot perform the next packet input when the packet is stagnated in order to perform packet-by-packet processing. For this reason, the packet transfer of the color space conversion process that is running as a parallel operation is also interrupted.
为了避免这样的状况,在本实施形式中,图像输出接口(2113)在打印机(2095)中发生了卡纸的情况下,就切换为接受不能用打印机(2095)进行图像输出的包并废弃这样的动作。In order to avoid such a situation, in this embodiment, when a paper jam occurs in the printer (2095), the image output interface (2113) is switched to accept and discard a package that cannot be output by the printer (2095). Actions.
使用图14的流程图来说明本实施形式的图像处理单元(2149)中的处理。此外,本流程图的处理通过图像输出接口(2113)等图像处理单元(2149)内的各个处理块基于从系统控制单元(2150)接收的各种包的指示信息进行动作而实现。The processing in the image processing unit (2149) of this embodiment will be described using the flowchart of Fig. 14 . The processing in this flowchart is realized by each processing block in the image processing unit (2149) such as the image output interface (2113) operating based on instruction information of various packets received from the system control unit (2150).
首先,图像环形接口3(2101)接收包括进行图13以及图8的处理的意思的指示的数据包(S1401)。然后,图像处理单元(2149)内的各个处理块基于接收到的数据包开始图像处理动作以及图像输出动作(S1402)。此外,如上述那样,对于执行了图13的图像处理动作的数据包,执行图8的图像输出处理动作。从而,在实际的并行处理中,与图像处理动作有关的步骤S1401以及S1402的处理,在比关于图像输出动作的处理要早的定时来执行。First, the video ring interface 3 (2101) receives a packet including an instruction to perform the processing in FIG. 13 and FIG. 8 (S1401). Then, each processing block in the image processing unit (2149) starts an image processing operation and an image output operation based on the received packet (S1402). In addition, as described above, the image output processing operation of FIG. 8 is executed for the packet for which the image processing operation of FIG. 13 is executed. Therefore, in actual parallel processing, the processing of steps S1401 and S1402 related to the image processing operation is executed at a timing earlier than the processing related to the image output operation.
当并行处理开始后,图像输出接口(2113)监视在打印机中是否发生了卡纸(S1403)。When the parallel processing starts, the image output interface (2113) monitors whether a paper jam occurs in the printer (S1403).
当正在进行并行处理时没有发生卡纸的话,就对依次从系统控制单元(2150)传送来的数据包,进行图13的图像处理动作以及图8的图像输出动作(S1404)。If there is no paper jam during parallel processing, the image processing operation of FIG. 13 and the image output operation of FIG. 8 are performed on the data packets sequentially transmitted from the system control unit (2150) (S1404).
然后,判断并行处理是否已结束(S1405)。此判断由状态处理单元(2105)基于从图像输出接口(2113)以及颜色空间处理单元(2117)等与并行处理有关的处理块所通知的状态信息进行判断。Then, it is judged whether the parallel processing has ended (S1405). This determination is made by the status processing unit (2105) based on status information notified from processing blocks related to parallel processing such as the image output interface (2113) and the color space processing unit (2117).
这里,如果并行处理没有结束,就继续进行步骤S1403的卡纸监视和步骤S1404的并行处理。另一方面,在判断为并行处理已结束的情况下,通过完成处理后的图像数据的打印输出,来结束正常的并行处理。Here, if the parallel processing has not ended, the paper jam monitoring in step S1403 and the parallel processing in step S1404 are continued. On the other hand, when it is determined that the parallel processing has ended, the normal parallel processing ends by completing the printout of the processed image data.
另一方面,当在步骤S1403中判断为发生了卡纸的情况下,开始恢复动作。即,用图像输出接口(2115)依次废弃图像处理动作的数据包,另一方面,继续进行图像处理动作的数据包的处理(S1406)。然后,再次起动打印用的DMA,再次开始图像处理动作。此外,这时的系统控制单元(2105)进行与图10相同的控制动作。On the other hand, when it is determined in step S1403 that a paper jam has occurred, the recovery operation is started. That is, the image output interface (2115) sequentially discards the packets of the image processing operation, while continuing to process the packets of the image processing operation (S1406). Then, the DMA for printing is activated again, and the image processing operation is restarted. In addition, the system control unit (2105) at this time performs the same control operation as in Fig. 10 .
通过进行以上的处理,卡纸时的并行处理就告结束。这样,在卡纸时,就能够进行图像输出动作的恢复动作,并且正常地完成图像处理动作。By performing the above processing, the parallel processing at the time of paper jam is completed. In this way, in the event of a paper jam, the recovery operation of the image output operation can be performed, and the image processing operation can be normally completed.
如以上说明的那样,在本实施形式中,在并行处理时的恢复动作中,与图像处理动作无关的图像输出接口依次废弃与图像输出动作有关的数据包。As described above, in the present embodiment, in the recovery operation during parallel processing, the image output interface unrelated to the image processing operation sequentially discards packets related to the image output operation.
由此,一边进行关于图像输出动作的恢复动作,一边就能够容易地执行控制以使与图像处理动作有关的数据包的处理继续进行。而且,由于能够继续进行另一方的处理,就能够将由卡纸引起的处理效率的下降抑制为最小限度。This makes it possible to easily perform control such that the processing of packets related to the image processing operation is continued while performing the recovery operation related to the image output operation. Furthermore, since the other processing can be continued, it is possible to minimize the reduction in processing efficiency due to paper jams.
尽管本实施形式中,当卡纸时在图像输出接口中依次废弃数据包,但可以用其他的处理块来废弃数据包。即,如果是在与图像处理动作的数据包的传送通路不重复的处理通路,例如,在图像存储器(2123)等中废弃数据包这样的构成,也能够得到同样的效果。Although in the present embodiment, the data packets are sequentially discarded at the image output interface when paper is jammed, other processing blocks may be used to discard the data packets. That is, the same effect can be obtained if the packet is discarded in the image memory (2123) or the like in a processing path that does not overlap with the packet transmission path of the image processing operation, for example.
[第4实施形式][Fourth Embodiment]
在本实施形式中,就正在进行任务单位的并行处理时,使用第2实施形式的清除包进行恢复动作的情形进行说明。In this embodiment, a case where the recovery operation is performed using the cleanup packet of the second embodiment while parallel processing in units of tasks is in progress will be described.
在本实施形式中,由数字多功能机的控制软件并行执行打印任务和图像发送任务。此时,作为硬件,在图像处理单元(2149)中,也并行处理与这2个任务有关的数据包。In this embodiment, the control software of the digital multifunctional machine executes the printing task and the image sending task in parallel. At this time, as hardware, the image processing unit (2149) also processes packets related to these two tasks in parallel.
这里,基于本实施形式的打印任务,执行在第2实施形式中说明过的图11的旋转打印动作。另一方面,基于本实施形式的图像发送任务,对保存在RAM(2002)中的数据包,执行图13的图像处理动作和图像发送动作。本实施形式的图像发送动作是将再次保存在RAM(2002)中的数据包以页单位向HDD(2004)进行光栅展开,并向外部装置发送已展开图像数据。在本实施形式中,在对图像数据实施了JBIG压缩以后,变换为TIFF文件,作为电子邮件向个人计算机发送。此外,图像发送的方法不限于此形式,也可以是一般的FAX发送等,遵循其他的格式变换以及协议的图像发送。Here, based on the print job of this embodiment, the rotation printing operation shown in FIG. 11 described in the second embodiment is executed. On the other hand, based on the image transmission task of this embodiment, the image processing operation and image transmission operation shown in FIG. 13 are executed on the packets stored in the RAM (2002). The image transmission operation in this embodiment is to perform raster expansion on the HDD (2004) on a page-by-page basis from the data packet stored again in the RAM (2002), and transmit the expanded image data to an external device. In this embodiment, image data is compressed by JBIG, converted into a TIFF file, and sent to a personal computer as an e-mail. In addition, the method of image transmission is not limited to this form, and general FAX transmission, etc., image transmission conforming to other format conversions and protocols may also be used.
在本实施形式中,就正在并行处理这2个任务时在打印机(2095)中发生了卡纸情形的恢复动作进行说明。In this embodiment, the recovery operation in case a paper jam occurs in the printer (2095) while these two jobs are being processed in parallel will be described.
(卡纸时的动作)(Action at the time of paper jam)
与第2实施形式相同,在图11的旋转打印时发生了卡纸的情况下,打印机(2095)不能接收发生卡纸以后的图像数据。由此,就成为在图11所示的打印动作时的传送通路中多个数据包停滞的结果。同时,在系统控制单元(2150)中,为了打印而起动DMA也成为中途中断状态。Similar to the second embodiment, when a paper jam occurs during rotary printing in FIG. 11, the printer (2095) cannot receive image data after the paper jam occurred. As a result, a plurality of packets stagnates in the transmission path during the printing operation shown in FIG. 11 . At the same time, in the system control unit (2150), activation of the DMA for printing is also in an interrupted state.
在本实施形式中,由于并行处理打印任务和图像发送任务,因此当在上述的状态下,发送与第2实施形式相同的清除包后,在片扩展单元(2103)中直到图像发送任务的图像数据都被清除。In this embodiment, since the print job and the image sending job are processed in parallel, when the same clear packet as that in the second embodiment is sent in the above-mentioned state, the slice extension unit (2103) will not be able to reach the image of the image sending job. Data are all cleared.
因此,在本实施形式中,设置通过将清除包的首标的任务ID(3008)作为识别信息,来清除图像处理单元(2149)内的数据包,就能够容易地控制卡纸后的恢复动作的机构。Therefore, in this embodiment, setting clears the data packet in the image processing unit (2149) by using the task ID (3008) of the header of the clearing packet as identification information, so that the recovery operation after paper jam can be easily controlled. mechanism.
在本实施形式中,CPU(2001)使用1个串行端口与打印机(2095)进行串行通信,始终监视打印机(2095)的状态。在打印机(2095)中发生了卡纸的情况下,CPU(2001)通过该串行通信,检测在打印机(2095)中发生卡纸。In this embodiment, the CPU (2001) performs serial communication with the printer (2095) using one serial port, and monitors the state of the printer (2095) all the time. When a paper jam occurs in the printer (2095), the CPU (2001) detects that a paper jam has occurred in the printer (2095) through the serial communication.
检测出卡纸的CPU(2001)中途中断系统控制单元(2150)的DMA。当在系统控制单元(2150)中将数据包传送的DMA中途中断了以后,由图像环形接口1(2147)生成表示中断了数据包的DMA传送的清除包。The CPU (2001) that detected the paper jam interrupts the DMA of the system control unit (2150) midway. When the DMA transfer of the data packet is interrupted in the middle of the system control unit (2150), a clear packet indicating that the DMA transfer of the data packet is interrupted is generated by the video ring interface 1 (2147).
本实施形式的清除包是与第2实施形式相同的清除包,以图3的PacketIDY-coordinate(3009),PacketIDX-coordinate(3010)都是最大值的包,来表示数据包传送DMA已中途中断。但是,与第2实施形式的不同的是,将首标的任务ID(3008)作为将要清除的数据包的识别信息。The clear packet in this embodiment is the same clear packet as in the second embodiment, and PacketIDY-coordinate (3009) and PacketIDX-coordinate (3010) in Fig. 3 are all packets with the maximum value, indicating that the data packet transmission DMA has been interrupted midway . However, the difference from the second embodiment is that the job ID (3008) in the header is used as the identification information of the packet to be cleared.
在本实施形式中,由于希望清除打印任务的数据包,因此在此任务ID(3008)中记载着打印任务的任务ID。In this embodiment, since it is desired to clear the data packets of the print job, the job ID of the print job is described in the job ID (3008).
图像环形接口1(2147)生成此清除包,在图像数据包传送DMA中断了以后,作为最后的包传送到图像处理单元(2149)的图像环形接口3(2101)。The image ring interface 1 (2147) generates this clear packet, and after the image data packet transfer DMA is interrupted, it is sent to the image ring interface 3 (2101) of the image processing unit (2149) as the last packet.
图像环形接口3(2101)与通常的包同样地处理此清除包,并传送到片扩展单元1(2103)。这里,使用图15的流程图来说明片扩展单元1(2103)中的处理的细节。此外,设本实施形式的片扩展单元(2103)具备能够并行执行片扩展处理和清除包处理的内部CPU能力和存储器容量。The video ring interface 3 (2101) processes this clear packet in the same manner as a normal packet, and transfers it to the slice expansion unit 1 (2103). Here, details of processing in the slice extension unit 1 (2103) are described using the flowchart of FIG. 15 . In addition, it is assumed that the slice expansion unit (2103) of this embodiment has internal CPU capability and memory capacity capable of executing slice expansion processing and clearing packet processing in parallel.
首先,片扩展单元1(2103)接收清除包(S1501),并判断所接收的清除包的任务ID(3008)与所保持的数据包的任务ID(3008)是否相同(S1502)。First, the slice extension unit 1 (2103) receives a clear packet (S1501), and judges whether the task ID (3008) of the received clear packet is the same as the task ID (3008) of the held data packet (S1502).
这里,在判断为所保持的数据包与打印有关,并且任务ID(3008)相同的情况下,就清除数据包(S1503),也就是,片扩展单元1(2103)中断所有在内部正在进行的处理,返回到初始动态。Here, when it is judged that the held data packets are related to printing, and the job IDs (3008) are the same, the data packets are cleared (S1503), that is, the slice extension unit 1 (2103) interrupts all internal ongoing operations. Processing, return to initial dynamics.
接着,片扩展单元1(2103)通过片总线(2107),将清除包传送到图像旋转单元(2030)。Next, the slice expansion unit 1 (2103) transmits the clear packet to the image rotation unit (2030) via the slice bus (2107).
另一方面,在步骤S1502中,在判断为所保持的数据包与图像发送任务有关,而且任务ID(3008)相互不同的情况下,继续进行数据包的扩展处理(S1505)。On the other hand, in step S1502, when it is judged that the held packet is related to the image transmission job and the job IDs (3008) are different from each other, the packet expansion process is continued (S1505).
而且,即使在这种情况下,片扩展单元1(2103)也通过片总线(2107),将清除包传送到图像旋转单元(2030)(S1504)。Also in this case, the slice expansion unit 1 (2103) transfers the clear packet to the image rotation unit (2030) via the slice bus (2107) (S1504).
以上是片扩展单元1(2103)的清除包处理,在颜色变换处理单元(2117)等其他的处理块中也进行同样的处理。The above is the clear packet processing of the slice expansion unit 1 (2103), and the same processing is performed in other processing blocks such as the color conversion processing unit (2117).
接收到清除包的图像旋转单元(2030)与按照图15的处理的片扩展单元1(2103)同样地,清除打印任务的数据包,并返回到初始状态。图像旋转单元(2030)接着通过片总线(2107),将清除包传送到图像输出接口(2113)。The image rotation unit (2030) that has received the clear packet clears the data packets of the print job and returns to the initial state, similarly to the slice expansion unit 1 (2103) following the process shown in FIG. 15 . The image rotation unit (2030) then transmits the clear packet to the image output interface (2113) through the slice bus (2107).
接收了清除包的图像输出接口(2113)清除打印任务的图像数据。另外,还同样地清除此前在图像存储器2(2123)中展开的图像数据,返回到初始状态。如上面那样,由清除包进行的清除动作利用与图11的处理通路相同的通路。The image output interface (2113) that has received the clear packet clears the image data of the print job. Also, in the same manner, the image data previously developed in the image memory 2 (2123) is cleared, and the initial state is returned. As above, the purge operation by purge packets uses the same path as the processing path in FIG. 11 .
这样,通过使用清除包的任务ID(3008),仅对打印任务的数据包,处理通路上的电路就全部返回到初始状态。另一方面,图像发送任务的数据包的处理能够如通常那样继续进行。In this way, by using the job ID (3008) of the clear packet, all the circuits on the processing path return to the initial state only for the data packet of the print job. On the other hand, the processing of the packets of the image transmission task can continue as usual.
而且,在排除了打印机(2095)的卡纸以后,通过进行该图像的再次输出动作,就能够再次进行打印任务与图像发送任务的并行处理。Furthermore, after the paper jam of the printer (2095) is eliminated, by performing the re-output operation of the image, the parallel processing of the print job and the image transmission job can be performed again.
并行处理时,系统控制单元(2150)的CPU(2001)进行的打印动作控制与图12所示的流程图相同。但是,在本实施形式的步骤S1204中,图像环形接口1(2147)传送具有打印任务ID的清除包。通过此清除包,图像处理单元(2149)内部,传送打印用的片图像的通路上的电路就全部初始化。In parallel processing, the printing operation control performed by the CPU (2001) of the system control unit (2150) is the same as the flowchart shown in FIG. 12 . However, in step S1204 of the present embodiment, the image ring interface 1 (2147) transmits a purge packet having a print job ID. With this clear packet, all the circuits on the path for transmitting the slice image for printing inside the image processing unit (2149) are initialized.
如上面所说明的那样,在本实施形式中,当在并行处理中中断涉及图像输出动作的任务时,通过将首标的任务ID作为识别信息,只是清除图像输出动作的数据包。As described above, in this embodiment, when a task related to the image output operation is interrupted during parallel processing, only the packet of the image output operation is cleared by using the task ID in the header as identification information.
由此,一边进行关于打印任务的恢复动作,一边就能够容易地执行控制以使与图像发送任务有关的数据包的处理继续进行。而且,通过能够继续进行图像发送任务的处理,就能够将由卡纸引起的处理效率的降低抑制为最小限度。另外,由于通过清除包能够指定想清除的数据包的条件,故恢复动作的灵活性就得以提高。In this way, it is possible to easily perform control so that the processing of the data packets related to the image transmission job is continued while the recovery operation on the print job is being performed. Furthermore, since the processing of the image transmission job can be continued, it is possible to minimize reduction in processing efficiency due to paper jams. In addition, since the condition of the data packet to be cleared can be specified by the clear packet, the flexibility of the restoration operation is improved.
虽然在本实施形式中就消除打印任务的情况进行了说明,但并不是限定任务的种类或者数量。从而,与FAX接收任务或者PDL打印任务等其他任务有关的恢复动作也能够与本实施形式同样地进行说明。In this embodiment, the case of canceling a print job has been described, but it does not limit the type or number of jobs. Therefore, recovery operations related to other jobs such as a FAX reception job and a PDL print job can also be described in the same manner as in the present embodiment.
另外,例如,在本实施形式的构成中,在用于图像发送的网络发生了故障的情况下,也能够适用本实施形式的恢复动作。即,在此情况下,生成中断图像发送并初始化图13的图像处理动作的清除包,一边初始化各个块,一边继续进行图8的图像输出动作。由此,就能够正常地结束打印任务。In addition, for example, in the configuration of this embodiment, when a failure occurs in the network for image transmission, the recovery operation of this embodiment can also be applied. That is, in this case, a clear packet for interrupting image transmission and initializing the image processing operation of FIG. 13 is generated, and the image output operation of FIG. 8 is continued while initializing each block. As a result, the print job can be ended normally.
另外,由于在本实施形式的清除包以及数据包中包含各种属性信息,因此没有必要将本实施形式的恢复动作的适用限定于符合任务或者处理动作的种类等条件的并行处理。即,也能够依照其他条件和属性信息进行与本实施形式相同的恢复动作。例如,在执行1个图像处理动作时,想中断特定页的图像输出的情况下,就能够将首标的页ID作为识别信息,以页单位来清除数据包。In addition, since the clear packet and the data packet of this embodiment contain various attribute information, it is not necessary to limit the application of the recovery operation of this embodiment to parallel processing that meets conditions such as tasks or processing operations. That is, it is also possible to perform the same restoration operation as in the present embodiment according to other conditions and attribute information. For example, when it is desired to interrupt the image output of a specific page during execution of one image processing operation, the packet can be cleared in units of pages by using the page ID of the header as identification information.
[其他的实施形式][Other implementation forms]
上面,在上述实施形式中以数字多功能机动作为例进行了说明,但本发明并不限于此,例如,在打印机装置单机以及传真装置等其他图像输出装置中,也能够适用本发明。另外,例如,在用数字多功能机进行图像处理而用网络连接的其他打印机进行输出的远程复制等利用多个设备的动作中,也能够适用本发明。In the foregoing, a digital multifunction machine has been described as an example in the above embodiments, but the present invention is not limited thereto. For example, the present invention can also be applied to other image output devices such as a stand-alone printer and a facsimile. In addition, for example, the present invention can also be applied to operations using multiple devices, such as remote copying in which image processing is performed by a digital multifunction machine and output is performed by another printer connected to a network.
因此,图像数据的输入源不限于内部控制器或者内部存储器,也可以是网络或者通信线路等。另外,关于图像数据的输出目标,也不限于打印机等图像输出装置,也可以是外部存储装置,网络接口或者调制解调器等的连接装置,以及与该连接装置连接的PC或者其他的数字多功能机。而且,能够在该前级的图像处理单元中适用本发明,以使当进行与这些输入源有关的图像输入动作、图像输出动作、图像文件归档动作和图像发送动作时,在这些输出目标的装置中发生了处理的中断状态的情况下,能够进行该恢复动作。Therefore, the input source of the image data is not limited to the internal controller or the internal memory, and may be a network, a communication line, or the like. In addition, the output destination of image data is not limited to image output devices such as printers, but may also be external storage devices, connection devices such as network interfaces or modems, and PCs or other digital multifunctional machines connected to the connection devices. Moreover, the present invention can be applied to the image processing unit of the previous stage, so that when image input operations, image output operations, image file filing operations, and image transmission operations related to these input sources are performed, the devices of these output destinations This recovery operation can be performed when an interrupted state of processing occurs.
上面,通过理想的实施形式说明了本发明,但本发明并不限于上述的实施形式,在权利要求所示的范围内能够进行各种变更。As mentioned above, the present invention has been described with reference to ideal embodiments, but the present invention is not limited to the above-described embodiments, and various changes can be made within the scope shown in the claims.
Claims (5)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP396726/2001 | 2001-12-27 | ||
| JP2001396726 | 2001-12-27 | ||
| JP281376/2002 | 2002-09-26 |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN021595593A Division CN1217279C (en) | 2001-12-27 | 2002-12-25 | Image processing device and image processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1700721A CN1700721A (en) | 2005-11-23 |
| CN100559822C true CN100559822C (en) | 2009-11-11 |
Family
ID=35476567
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2005100803966A Expired - Fee Related CN100559822C (en) | 2001-12-27 | 2002-12-25 | image processing device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100559822C (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014197740A (en) * | 2013-03-29 | 2014-10-16 | セイコーエプソン株式会社 | Print control device and print control program |
-
2002
- 2002-12-25 CN CNB2005100803966A patent/CN100559822C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1700721A (en) | 2005-11-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3880277B2 (en) | Image processing apparatus and control method thereof | |
| US6982811B2 (en) | Image processing apparatus and control method therefor | |
| JP2001027986A (en) | Data processing device and processing unit selection method | |
| US7145681B2 (en) | Apparatus and method for processing divided image data | |
| JP3862605B2 (en) | Image processing device | |
| US7031033B2 (en) | Data communication apparatus | |
| US20030174354A1 (en) | Method of and system for image processing of user registered data | |
| JP2000151873A (en) | Information processing system and information processing method | |
| JP3581582B2 (en) | Encoding / decoding device and image forming system | |
| CN100559822C (en) | image processing device | |
| JP3907471B2 (en) | Image input / output controller | |
| JP2001356853A (en) | Image processing apparatus and state display control method of image processing apparatus | |
| JP2001159964A (en) | Image forming system, image forming system control method, and storage medium | |
| JP2005176159A (en) | Compound machine | |
| KR100570786B1 (en) | Controller of multi function device | |
| JP2003167705A (en) | Image processing system, information processing device, image processing device, image output control method, storage medium, and program | |
| JP2003018389A (en) | Image processing apparatus, network system, image processing method, medium providing control program, and control program | |
| JP2006171866A (en) | Image forming apparatus | |
| JPH11355494A (en) | Image input / output device, image data output method, and information processing system | |
| JP2002281194A (en) | Image processing apparatus and image processing system | |
| JP2003337682A (en) | Image processing apparatus and image processing system | |
| JP2001318494A (en) | Image forming apparatus, control method thereof, and recording medium | |
| JP2006236039A (en) | Multi-function system | |
| JP2005192116A (en) | Image transfer system | |
| JP2004032048A (en) | Multi-function system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091111 Termination date: 20171225 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |