# US 2012/0250093 A1 · Image Forming Apparatus that Buffers Data in a Storage Device and Reduces Delays in Process

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0250093 A1
- Document ID: US20120250093A1
- Status: Published application
- Kind: A1
- Application number: 13/434,440
- Filed: 2012-03-29
- Published: 2012-10-04
- Earliest claimed: 2011-03-30
- Assignees: Kyocera Mita Corporation
- Inventors: Hiroyuki Hara
- Web page: https://patentgrep.com/patent/US20120250093A1

## CPC

- H04N 1/0083: {Arrangements for transferring signals between different components of the apparatus, e.g. arrangements of signal lines or cables (for control or supervision between image input and output device H04N1/32)}
- G06K 15/1851: {parted in a plurality of segments per page}
- H04N 1/21: Intermediate information storage (H04N1/387, H04N1/41 take precedence {; for control between transmitter and receiver or between image input and image output device H04N1/32358; indexing, editing G11B27/00})
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS

## Abstract

An image forming apparatus includes a processor, and a storage controller that writes band data to a storage device and reads the band data. The processor: (a) generates a write-side process and a read-side process; (b) generates a write-side thread by the write-side process; (c) generates a read-side thread and a file read thread by the read-side process; (d) notifies the read-side process of an identifier within the storage device, and causes the storage controller to sequentially write the band data; and (e) requests the file read thread to cause the storage controller to sequentially read out the band data corresponding to the identifier and causes the storage controller to sequentially read out the band data and one or more subsequent band data.

## Claims

### Claim 1

An image forming apparatus, comprising:
a storage controller configured to: (i) write image data on one page to a storage device, wherein the image data comprises a plurality of pieces of band data, and (ii) read out the plurality of pieces of band data from the storage device; and
a processor configured to control the storage controller, wherein the processor is configured to:
(a) generate a write-side process that causes the storage controller to write the plurality of pieces of band data;
(b) generate a read-side process that causes the storage controller to read out the plurality of pieces of band data;
(c) generate a write-side thread by the write-side process;
(d) generate a read-side thread and a file read thread by the read-side process;
(e) based on the write-side process, notify the read-side process of an identifier of a storage area within the storage device,
(f) based on the write-side thread, cause the storage controller to sequentially write the plurality of pieces of band data;
(g) based on the read-side process and the read-side thread, request the file read thread to cause the storage controller to sequentially read out the plurality of pieces of band data from the identifier of the storage area; and
(h) based on the file read thread, cause the storage controller to sequentially read the plurality of pieces of band data, wherein based on a request for reading one of the plurality of pieces of band data, the file read thread is configured to cause the storage controller to read out the one of the plurality of pieces of band data, and wherein one or more of the plurality of pieces of band data is subsequent to the one of the plurality of pieces of band data.

### Claim 2 (depends on 1)

The image forming apparatus according to claim 1, wherein the plurality of pieces of band data are written to a file stored in the storage device, and wherein the identifier of the storage area includes an identifier of the file.

### Claim 3 (depends on 1)

The image forming apparatus according to claim 1, wherein the storage device includes a buffer that temporarily stores the image data based on the image process performed on the image data.

### Claim 4

An image forming apparatus, comprising:
a storage controller configured to: (i) write image data on one page to a storage device, wherein the image data comprises a plurality of pieces of band data, and (ii) read out the plurality of pieces of band data from the storage device; and
a processor configured to control the storage controller, wherein the processor is configured to:
(a) generate a write-side process that causes the storage controller to write the plurality of pieces of band data
(b) generate a read-side process that causes the storage controller to read out the plurality of pieces of band data;
(c) generate a write-side thread and a file write thread by the write-side process;
(d) generate a read-side thread and a file read thread by the read-side process;
(e) based on the write-side process, cause the write-side thread to notify the read-side thread of an identifier of a storage area within the storage device, then sequentially queue, with the write-side thread, write requests for each of the plurality of pieces of band data in a queue system;
(f) based on the file write thread, cause the storage controller to write the plurality of pieces of band data in order of the queued write requests;
(g) based on the read-side process and the read-side thread, sequentially queue read requests for each of the plurality of pieces of band data in the queue system when the identifier is received;
(h) based on the file read thread, cause the storage controller to read the plurality of pieces of band data in order of the queued read requests, wherein based on reading one of the plurality of pieces of band data, the file read thread is configured to cause the storage controller to read out the one of the plurality of pieces of band data, and wherein one or more of the plurality of pieces of band data is subsequent to the one of the plurality of pieces of band data.

### Claim 5 (depends on 4)

The image forming apparatus according to claim 4, wherein the plurality of pieces of band data are written to a file stored in the storage device, and wherein the identifier of the storage area includes an identifier of the file.

### Claim 6 (depends on 4)

The image forming apparatus according to claim 4, wherein the storage device comprises a buffer that temporarily stores the image data based on the image process performed on the image data.

### Claim 7 (depends on 4)

The image forming apparatus according to claim 4, wherein the queue system includes a shared memory area allocated in a memory, and wherein a physical address of the shared memory area is mapped to logical addresses of the write-side process and the read-side process, and wherein the mapping allows the write-side process and the read-side process to access the shared memory area.

### Claim 8 (depends on 7)

The image forming apparatus according to claim 7, wherein the shared memory area includes a document list area, a page list area, a band list area, an FD list area, and a queue area.

### Claim 9 (depends on 8)

The image forming apparatus according to claim 8, wherein the document list area includes node data of a document, wherein the node data of the document includes link information to node data of a page corresponding to the document.

### Claim 10 (depends on 8)

The image forming apparatus according to claim 8, wherein the page list area includes node data of a page, wherein link information may be provided between the node data of a band and a file descriptor.

### Claim 11 (depends on 8)

The image forming apparatus according to claim 8, wherein the band list area includes node data of a band, and wherein the node data of a band may provide identification information: (a) on a document, (b) on a page to which the band belongs, and (c) on each of the plurality of pieces of band data within a file.

### Claim 12 (depends on 8)

The image forming apparatus according to claim 8, wherein the FD list area includes a file descriptor of a file corresponding to each page written for the each page.

### Claim 13 (depends on 8)

The image forming apparatus according to claim 8, wherein the queue area includes an access request written for each of the plurality of pieces of band data, and wherein the access request includes: (a) an access type and (b) identification information on the each of the plurality of pieces of band data.

### Claim 14 (depends on 13)

The image forming apparatus according to claim 13, wherein the access type includes: (a) a write request for each of the plurality of pieces of band data and (b) a read request for each of the plurality of pieces of band data.

### Claim 15 (depends on 8)

The image forming apparatus according to claim 8, wherein the queue system includes a semaphore that exclusively controls access to the queue system.

### Claim 16 (depends on 15)

The image forming apparatus according to claim 15, wherein the queue system is inhibited from being accessed simultaneously by at least two of the following: (a) the write-side thread, (b) the file write thread, (c) the read-side thread, and (d) the file read thread.

### Claim 17

An image forming apparatus, comprising:
a storage controller configured to: (i) write image data on one page to a storage device, wherein the image data comprises a plurality of pieces of band data and (ii) to read out the plurality of pieces of band data from the storage device; and
a processor configured to control the storage controller, wherein the processor is configured to:
(a) generate a write-side process that causes the storage controller to write the plurality of pieces of band data;
(b) generate a read-side process that causes the storage controller to read out the plurality of pieces of band data;
(c) generate a write-side thread and a file write thread by the write-side process;
(d) generate a read-side thread and a file read thread by the read-side process;
(e) based on the write-side process, store one piece of band data in a memory;
(f) based on the write-side thread, generate an event at each time a write request for one piece of band data is queued in a queue system;
(g) based on the read-side process and the read-side thread, delete each of the plurality of pieces of band data from the memory when writing the each of the plurality of pieces of band data to the storage device is completed; and
(h) based on sequentially performing queued read requests for the plurality of pieces of band data, if one of the plurality of pieces of band data to be read out exists on the memory, cause the storage controller to read out the one of the plurality of pieces of band data, and wherein if none of the plurality of pieces of band data exists in the memory, cause the storage controller to read out each of the plurality of pieces of band data from the storage device,
(i) based on reading of one of the plurality of pieces of band data requested by the read-side thread, cause the storage controller to read out the one of the plurality of pieces of band data, and wherein one or more of the plurality of pieces of band data is subsequent to the one of the plurality of pieces of band data.

### Claim 18 (depends on 17)

The image forming apparatus according to claim 17, wherein the plurality of pieces of band data are written to a file stored in the storage device, and wherein an identifier of the storage area includes an identifier of the file.

### Claim 19 (depends on 17)

The image forming apparatus according to claim 17, wherein the storage device includes a buffer that temporarily stores the image data based on the image process performed on the image data.

### Claim 20 (depends on 17)

The image forming apparatus according to claim 17, wherein the queue system includes a shared memory area allocated onto a memory, and wherein a physical address of the shared memory area is mapped to logical addresses of the write-side process and the read-side process to cause the write-side process and the read-side process to access the shared memory area.
