US20150032885A1 - Image processing apparatus and control method - Google Patents

Image processing apparatus and control method Download PDF

Info

Publication number
US20150032885A1
US20150032885A1 US14/340,875 US201414340875A US2015032885A1 US 20150032885 A1 US20150032885 A1 US 20150032885A1 US 201414340875 A US201414340875 A US 201414340875A US 2015032885 A1 US2015032885 A1 US 2015032885A1
Authority
US
United States
Prior art keywords
transfer
image
path
access request
transfer path
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.)
Granted
Application number
US14/340,875
Other versions
US9667531B2 (en
Inventor
Masahiro Suzuki
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Assigned to RICOH COMPANY, LIMITED reassignment RICOH COMPANY, LIMITED ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: SUZUKI, MASAHIRO
Publication of US20150032885A1 publication Critical patent/US20150032885A1/en
Application granted granted Critical
Publication of US9667531B2 publication Critical patent/US9667531B2/en
Expired - Fee Related legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/302Route determination based on requested QoS
    • H04L45/306Route determination based on the nature of the carried application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • G06F17/30244

Definitions

  • the present invention relates to an image processing apparatus and a control method.
  • a typical scanner reads an image at a fixed speed. Accordingly, in case the read image cannot be written to a shared memory at a fixed rate, a deficient image will be produced.
  • a plotter image needs to be output line by line cyclically and delay of output leads to a deficient image. Therefore, for a shared memory to be accessed by multiple functions, an adjustment method of granting high priority levels to transfer of scanner images and plotter images is frequently adopted.
  • Japanese Laid-open Patent Publication No. 2001-127973 discloses a method of starting output of an image at completion of rotation processing of several lines without waiting completion of rotation processing of one page.
  • the first function When a first function is to be performed in cooperation with a second function that needs to guarantee a fixed image transfer rate in units of a line as described above, the first function is required to have a processing performance which allows the first function to perform fixed image processing line by line and keep pace with input of a scanner image or output of a plotter image.
  • a method that changes priority levels by issuing a memory access request to a port, to which a high bus-arbitration priority is given, only during when a function is performed in cooperation, but issuing a memory access request to a low priority port during when the function is performed without cooperation.
  • Japanese Laid-open Patent Publication No. 2004-046851 discloses a data transfer method using a multiplexed bus architecture which allows transferring an image via a path selected from multiple paths. This method can provide effects of increasing transfer bandwidth by multiplexing transfer path, allowing efficient selection from the multiplexed transfer paths, and preventing an order of memory writes from being changed from an order of memory write requests due to the memory write requests issued by multiple masters passing through different paths.
  • An image processing apparatus includes: a storage unit that stores image data; a transfer-path determining unit that determines a transfer path via which the image data is to be transferred from among multiple transfer paths connected to the storage unit; a selection unit that selects the transfer path via which the image data is to be transferred based on the determined transfer path; and an access-request control unit that issues a next access request to the storage unit after waiting a response to an already-issued access request to the storage unit when the determined transfer path is changed from a transfer path used in most recent transfer of the image data.
  • a control method includes: determining a transfer path via which image data is to be transferred from among multiple transfer paths connected to a storage unit that stores the image data; selecting the transfer path via which the image data is to be transferred based on the determined transfer path; and issuing a next access request to the storage unit after waiting a response to an already-issued access request to the storage unit when the determined transfer path is changed from a transfer path used most recently.
  • FIG. 1 is a block diagram illustrating a functional configuration of an image processing apparatus according to a first embodiment
  • FIG. 2 is a diagram illustrating a detailed functional configuration of a first image processing unit according to the first embodiment
  • FIG. 3 is a flowchart illustrating a procedure for selecting an image transfer path according to the first embodiment
  • FIG. 4 is a block diagram illustrating a functional configuration of an image processing apparatus according to a second embodiment
  • FIG. 5 is a diagram illustrating a detailed functional configuration of a first image processing unit according to the second embodiment
  • FIG. 6 is a block diagram illustrating a functional configuration of an image processing apparatus according to a third embodiment.
  • FIG. 7 is a block diagram illustrating a functional configuration of an image processing apparatus according to a fourth embodiment.
  • FIG. 1 is a schematic diagram of an image processing apparatus 1 according to a first embodiment of the present invention.
  • the image processing apparatus 1 includes an engine unit 200 and a system controller 100 .
  • the system controller 100 includes a shared memory 105 , a first arbitration unit 106 , a scanner-image transfer device 101 , a plotter-image transfer device 102 , a central processing unit (CPU) 103 , a first image processing unit 104 , a second image processing unit 108 , and a third image processing unit 109 .
  • the engine unit 200 includes a scanner 201 , an image input device 202 , a plotter 204 , and an image output device 205 .
  • the image processing apparatus 1 is configured such that image data obtained by scanning in the engine unit 200 is input to the system controller 100 , and the system controller 100 controls data writing to the shared memory (storage unit) 105 .
  • Original document data read by the scanner 201 is transferred to the system controller 100 , and output data obtained by the system controller 100 performing image processing on the original document data is printed by the plotter 204 on paper.
  • the image input device 202 transfers an original document image read by the scanner 201 to the system controller 100 .
  • the image output device 205 receives an output image transferred from the plotter-image transfer device 102 of the system controller 100 and transfers the output image to the plotter 204 .
  • the first arbitration unit 106 controls accesses to the shared memory 105 .
  • the scanner-image transfer device 101 , the plotter-image transfer device 102 , the CPU 103 , the first image processing unit 104 , the second image processing unit 108 , the third image processing unit 109 , and the like correspond to masters and access the shared memory 105 .
  • the scanner-image transfer device 101 controls receiving an image read by the engine unit 200 and writing the image to the shared memory 105 .
  • the plotter-image transfer device 102 controls reading out an image to be output temporarily stored in the shared memory 105 and transferring the print image to the engine unit 200 .
  • the CPU 103 performs operations including setting of operating modes and start up instruction to devices including the scanner-image transfer device 101 and the first arbitration unit 106 , and address management for the shared memory 105 .
  • the image processing apparatus 1 may include more than one first image processing unit 104 each having a function such as an image compressing/expanding function, an image rotating function, an image encrypting function, an image processing function, or the like.
  • the first image processing unit 104 includes a data path for increasing memory access rate only during cooperation.
  • a selector 110 selects a transfer path to be used from multiple transfer paths.
  • the first image processing unit 104 receives an operation information signal indicating whether or not the plotter-image transfer device 102 is operating, determines whether or not the plotter-image transfer device 102 is in cooperation based on a parameter set by the CPU 103 , and transmits a transfer-path designation signal to the selector 110 .
  • the image processing apparatus 1 may include more than one second image processing unit 108 and more than one third image processing unit 109 each having a function such as an image compressing/expanding function, an image rotating function, an image encrypting function, or an image processing function.
  • the shared memory 105 is a main storage unit which temporarily stores an image and/or a program for the CPU 103 .
  • the image data input to the scanner-image transfer device 101 is temporarily loaded into the shared memory 105 .
  • the first arbitration unit 106 is a data bus which controls an order of accesses to be made from masters to the shared memory 105 , and performs arbitration regarding priority levels so that the shared memory 105 can be utilized efficiently.
  • a second arbitration unit 107 is a data bus which controls an order of access requests issued to a port 5 of the first arbitration unit 106 , and performs arbitration regarding priority levels so that the shared memory 105 can be utilized efficiently.
  • the selector 110 selects any one of the first arbitration unit 106 and the second arbitration unit 107 as a connection destination according to the transfer-path designation signal fed from an advanced submission number control unit 111 .
  • a system including more than one first image processing unit 104 will include the same number of the selectors 110 as the first image processing units 104 .
  • the advanced submission number control unit 111 (access-request control unit) controls the number of memory access requests to be submitted in advance without waiting a response to an already-issued memory access request (read command/write command).
  • the advanced submission number control unit 111 determines whether responses to already-issued memory access requests are returned by counting the number of transferred memory access requests and the number of responses thereto and monitoring the difference between the numbers.
  • the advanced submission number control unit 111 When the transfer-path designation signal indicates that a transfer path to the shared memory 105 be switched, the advanced submission number control unit 111 performs control so as to withhold issuance of a next request until response to every request (command) issued prior to path switching is received. More specifically, when instructing the selector 110 to switch a transfer path, the advanced submission number control unit 111 causes the transfer path to be switched after response to every request (command) is received and before issuance of a next request.
  • the second image processing unit 108 and the third image processing unit 109 are lower in memory access priority than the first image processing unit 104 and connected to the port 5 of the first arbitration unit 106 after undergoing arbitration provided by the second arbitration unit 107 .
  • the first image processing unit 104 transfers data via a higher priority port 4 of the first arbitration unit 106 only when operating in cooperation with the plotter-image transfer device 102 .
  • the first image processing unit 104 undergoes arbitration provided by the first arbitration unit 106 after undergoing arbitration provided by the second arbitration unit 107 when operating independent of the plotter-image transfer device 102 .
  • access to the shared memory 105 can be made in shorter response time via the port 4 than access via the port 5 intermediated with the second arbitration unit 107 .
  • the access undergoes arbitration between other masters connected to the second arbitration unit 107 and thus the percentage at which the access is granted decreases, which also leads to decrease in memory access rate.
  • a configuration in which the priority level of the port 5 is set to be lower than priority levels of ports 1 to 5 of the first arbitration unit 106 may be employed.
  • the first image processing unit 104 determines whether it receives, from the plotter-image transfer device 102 , operation information indicating that an image is being transferred and the first image processing unit 104 is operating in cooperation with the plotter-image transfer device 102 .
  • the first image processing unit 104 then outputs to the selector 110 transfer-path designation information instructing whether a memory access request be directly transferred to the first arbitration unit 106 or be transferred via the second arbitration unit 107 .
  • Image data read by the scanner 201 of the engine unit 200 is temporarily stored in the shared memory 105 via the scanner-image transfer device 101 .
  • the image data is converted into a form capable of being output, through image processing by the first image processing unit 104 and output to the plotter 204 of the engine unit 200 via the plotter-image transfer device 102 .
  • Image processing to be performed by the image processing units 104 , 108 , and 109 may be the image rotating function or the compressing/expanding function.
  • a hard disk drive (HDD) controller and/or a network interface (I/F) may be provided.
  • FIG. 2 is a block diagram illustrating the configuration of FIG. 1 in more detail.
  • the first image processing unit 104 further includes a cooperation setting unit 301 and a transfer-path determining unit 302 .
  • the cooperation setting unit 301 holds instruction content as to whether operation in cooperation is performed or independent operation of a function is performed, instructed by a parameter specified by the CPU 103 .
  • Operation in cooperation denotes control for reducing memory capacity and processing time by, in advance of when one page of a scanner image is stored in a memory, starting image processing (e.g., rotation or compression) to be performed next while controlling the image processing so as not to be done earlier than input of the scanner image.
  • starting image processing e.g., rotation or compression
  • Operation in cooperation may alternatively denote control for increasing productivity of a multifunction peripheral (MFP) without enlarging a memory capacity by sequentially writing an image of a next page to a memory area, data stored in which has already been output, so that the writing is not performed to an area, data stored in which is not yet output.
  • MFP multifunction peripheral
  • the transfer-path determining unit 302 determines a transfer path based on the cooperation settings held by the cooperation setting unit 301 and the operation information fed from the plotter-image transfer device 102 , and provides transfer path designation to the advanced submission number control unit 111 .
  • the advanced submission number control unit 111 Withholds request issuance to the selector 110 so that a next memory access request via a transfer path different from that of an immediately-preceding memory access is issued after receipt of a response to an already-issued memory access request (read command/write command).
  • FIG. 3 is a flowchart illustrating a procedure for image transfer control.
  • Step S 01 whether or not the first image processing unit 104 is to operate in cooperation with the plotter-image transfer device 102 is determined first. If it is determined that the first image processing unit 104 is to operate in cooperation (Yes in Step S 01 ), the CPU 103 performs settings for operation in cooperation with the plotter-image transfer device 102 on the cooperation setting unit 301 (Step S 02 ). In this case, an image processing speed of the first image processing unit 104 needs to keep pace with a plotter-image transfer rate, and thus it is necessary to increase a memory-access priority level of the first image processing unit 104 . During when the plotter-image transfer device 102 is operating (i.e., operating in cooperation), the settings of Step S 02 are performed to change a transfer path so that a memory access request of the first image processing unit 104 is processed with a high priority.
  • Step S 01 the CPU 103 performs settings for independent operation on the cooperation setting unit 301 (Step S 03 ). Subsequently, the CPU 103 instructs the first image processing unit 104 to start up (Step S 04 ).
  • the plotter-image transfer device 102 updates an operation information signal in real time (Step S 05 ). More specifically, the operation information signal goes High when the plotter-image transfer device 102 is active but goes Low when the plotter-image transfer device 102 completes operation, and the real-time controlled operation information signal is updated immediately before the signal is referred to by the transfer-path determining unit 302 .
  • the transfer-path determining unit 302 checks whether the settings of the cooperation setting unit 301 indicate that operation be performed in cooperation with the plotter-image transfer device 102 and checks the operation information signal fed from the plotter-image transfer device 102 , thereby determining whether an instruction to operate in cooperation is given and the operation information is High (i.e., the plotter-image transfer device 102 is active) (Step S 06 ). If it is determined that an instruction to operate in cooperation is given and the operation information is High (Yes in Step S 06 ), the transfer-path determining unit 302 instructs the advanced submission number control unit 111 to use a path directly connected to the first arbitration unit 106 by sending a transfer-path designation signal (Step S 07 ).
  • the transfer-path determining unit 302 instructs the advanced submission number control unit 111 to use a path connected to the shared memory 105 via the second arbitration unit 107 by sending a transfer-path designation signal (Step S 08 ).
  • the advanced submission number control unit 111 determines a path according to the transfer-path designation signal. More specifically, the advanced submission number control unit 111 determines a path via which an immediately-preceding memory access request has been issued from among the paths, and determines whether or not the path of the immediately-preceding memory access request is the same as the designated path (Step S 09 ). If the designated path differs from the transfer path of the immediately-preceding memory access request (No in Step S 09 ), the advanced submission number control unit 111 withholds issuance of a next memory access request until response to every already-issued memory access request is received (Step S 10 ).
  • the advanced submission number control unit 111 instructs the selector 110 to change a path (Step S 11 ).
  • the reason why the transfer-path designation signal is temporarily held by the advanced submission number control unit 111 before the signal is input to the selector 110 is to wait for read/write response to return via the transfer path of the already-issued request(s).
  • Step S 09 If the designated path is the same as the transfer path of the immediately-preceding memory access request (Yes in Step S 09 ), Steps S 10 and S 11 are skipped, and the advanced submission number control unit 111 issues a memory access request via the designated transfer path (Step S 12 ).
  • the sequence of Steps S 05 through Step S 11 is repeated each time a memory access request is issued until one page of data has been transferred (Yes in Step S 13 ).
  • the first image processing unit 104 notifies the CPU 103 of completion of the image processing using completion interrupt or the like.
  • the image processing apparatus 1 is configured to, when a memory access request is to be issued via a transfer path different from a transfer path of an immediately-preceding memory access request, withholds issuance of the next memory access request until it is determined that the immediately-preceding memory access request has been completed.
  • This configuration can ensure that an order of a first memory access and a second memory access, which is issued next to the first memory access, remains unchanged. Accordingly, even with a bus architecture having multiple access paths to a memory, accesses to the memory at memory access requests issued by a single master can be made with keeping an order of the accesses and an order of responses to the requests unchanged.
  • high priority access to the shared memory 105 is allowed only when the first image processing unit 104 operates in cooperation with the plotter 204 , and the priority level of the access is lowered before and after image output of the plotter 204 .
  • Memory access is controlled in this manner which does not grant high priority too frequently as compared with those of other masters. Accordingly, memory access in the system can be optimized in a range causing a deficient image not to occur.
  • An information processing apparatus 1 a according to a second embodiment of the present invention is described below with reference to FIG. 4 . Note that description about elements of the second embodiment similar to those of the first embodiment is omitted.
  • a system controller 100 a which differs from the system controller 100 of the first embodiment, will be mainly described below.
  • changing a transfer path is performed by a second arbitration unit 107 a.
  • control may be performed as follows. Transfer path designation is not directly sent, but added as an attribute to a memory access request (i.e., command) on a path 112 , and the second arbitration unit 107 a that is to receive the request controls which one of transfer paths is to be used in transferring the request to the shared memory 105 .
  • the function of the advanced submission number control unit 111 in the selector-less configuration of the second embodiment remains the same as that of the first embodiment, and refers to the transfer-path information added to the memory access request and performs control to issue a memory access request to be issued immediately after a transfer path is changed after response to every already-issued memory access request is received.
  • a priority level higher than that of the port 5 of the first arbitration unit 106 is assigned to the port 4 .
  • Attribute information is added to a memory access request so as to cause the first image processing unit 104 a to access the shared memory 105 via the port 4 during when the first image processing unit 104 a is operating in cooperation with the plotter-image transfer device 102 but, during when the first image processing unit 104 a is operating independently, the first image processing unit 104 a accesses the shared memory 105 via the port 5 with the lower priority level.
  • FIG. 5 is a diagram illustrating a detailed configuration of the first image processing unit 104 a .
  • the first image processing unit 104 a additionally includes a path-information adding unit 303 .
  • the cooperation setting unit 301 has a function similar to that of the first embodiment.
  • the transfer-path determining unit 302 has a function similar to that of the first embodiment but transmits a transfer-path designation signal to the path-information adding unit 303 rather than to the advanced submission number control unit 111 .
  • the path-information adding unit 303 adds transfer-path designation information to a memory access request issued by the first image processing unit 104 a.
  • the advanced submission number control unit 111 performs control as in the first embodiment according to the transfer path information added to the memory access request.
  • the second arbitration unit 107 a allocates a transfer path to the memory access request to the shared memory 105 based on the transfer path information added to the request.
  • the configuration according to the second embodiment allows, even with a selector-less configuration or even when designation of a transfer path cannot be directly provided to a selector, data transfer can be performed appropriately based on transfer path information.
  • An information processing apparatus 1 b according to a third embodiment of the present invention is described below with reference to FIG. 6 . Note that description about elements of the third embodiment similar to those of the first embodiment is omitted.
  • a system controller 100 b which differs from the system controller 100 of the first embodiment, will be mainly described below.
  • an access path to the shared memory 105 is changed when operation is to be performed in cooperation with the plotter-image transfer device 102 .
  • the third embodiment differs from the first embodiment in that an access path to the shared memory 105 is changed when a function is to be performed in cooperation with the scanner-image transfer device 101 .
  • Control is performed in such a manner that, before a scanner image is written to the shared memory 105 , an image being written to the shared memory 105 is processed by the first image processing unit 104 in parallel and in cooperation with the scanner-image transfer device 101 .
  • Each of the first image processing unit 104 , the advanced submission number control unit 111 , and the selector 110 has a function similar to that of the first embodiment. Meanwhile, the operation in cooperation with a scanner image may be implemented using a configuration similar to that of the second embodiment.
  • the first image processing unit 104 is controlled to perform processing on a scanner image which is being written to the shared memory 105 in parallel and in cooperation with the scanner-image transfer device 101 before the scanner image is written to the shared memory 105 .
  • processing time regarding the scanner can be reduced.
  • it is not necessary to load an image of one page fed from the scanner into the shared memory 105 . Accordingly, it becomes possible to reduce a memory area by, for example, configuring a scanner-image write area with a ring buffer or overwriting a scanner image portion before image processing with an image processed by the first image processing unit 104 .
  • a system controller 100 c of an information processing apparatus 1 c according to a fourth embodiment of the present invention is described below with reference to FIG. 7 .
  • the port 4 and the port 5 of the first arbitration unit 106 are connected to the selector 110 which changes a transfer path.
  • a memory access priority higher than that of the port 5 of the first arbitration unit 106 is assigned to the port 4 .
  • the first arbitration unit 106 includes data buffers and command (request) buffers at ports of respective masters and can receive and buffer one or more commands.
  • a first memory access request via the port 5 cannot be prioritized relative to a second memory access request via the port 4 issued earlier than the first memory access request by the advanced submission number control unit 111 .
  • the second memory access request via the port 4 reaches the shared memory 105 invariably earlier than the first memory access request.
  • the selector 110 is configured to select paths only for memory access requests and to transfer every response data to the first image processing unit 104 irrespective of a path via which the response data is returned, even when a transfer path is changed, the advanced submission number control unit 111 can successively issue a memory access request via the changed transfer path without need to wait response to every already-issued memory access request.
  • a situation can occur where a first memory access request accessed via the higher priority port 4 is prioritized relative to a second memory access request issued earlier than the first memory access request via the lower priority port 5 .
  • the advanced submission number control unit 111 is configured to issue a next memory access request after waiting a response to an already-issued memory access request when transfer path designation is changed from a lower priority path to a higher priority path.
  • the advanced submission number control unit 111 performs control of issuing a next memory access request after waiting a response to an already-issued memory access request only when change is made from a lower priority path to a higher priority path.
  • An image processing apparatus includes a control device such as a CPU, a storage device such as a read only memory (ROM) and a random access memory (RAM), an external storage device such as an HDD or a compact disk (CD) drive, a display device, and an input device such as a keyboard and a mouse.
  • a control device such as a CPU
  • a storage device such as a read only memory (ROM) and a random access memory (RAM)
  • an external storage device such as an HDD or a compact disk (CD) drive
  • a display device such as a keyboard and a mouse.
  • an input device such as a keyboard and a mouse.
  • Program instructions to be executed by an image processing apparatus may be provided as being recorded in a non-transitory computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD recordable (CD-R), or a digital versatile disk (DVD) as an installable or executable file.
  • a non-transitory computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD recordable (CD-R), or a digital versatile disk (DVD) as an installable or executable file.
  • Program instructions to be executed by an image processing apparatus may be configured to be stored in a computer connected to a network such as the Internet and provided by being downloaded into the image processing apparatus over the network.
  • Program instructions to be executed by an image processing apparatus may be configured to be provided or distributed over a network such as the Internet.
  • Program instructions to be executed by an image processing apparatus may be configured to be provided as being stored in a ROM or the like in advance.
  • Program instructions to be executed by an image processing apparatus are configured in modules including the units described above. From the viewpoint of actual hardware, the CPU (processor) reads out the program instructions from the storage medium and executes the program instructions to load the units into the main storage device, thereby generating the units on the main storage device.
  • the CPU processor
  • an image forming apparatus according to an aspect of the present invention is applied to an MFP having at least two functions of a copier function, a printer function, a scanner function, and a facsimile function are described.
  • the image forming apparatus is applicable to any image forming apparatus such as a copier, printer, a scanner, or a facsimile.
  • An embodiment makes it possible, even with a bus architecture having multiple access paths to a memory, to maintain an order of accesses to the memory caused by memory access requests issued by a single master and an order of responses to the requests.

Abstract

An image processing apparatus includes: a storage unit that stores image data; a transfer-path determining unit that determines a transfer path via which the image data is to be transferred from among multiple transfer paths connected to the storage unit; a selection unit that selects the transfer path via which the image data is to be transferred based on the determined transfer path; and an access-request control unit that issues a next access request to the storage unit after waiting a response to an already-issued access request to the storage unit when the determined transfer path is changed from a transfer path used in most recent transfer of the image data.

Description

    CROSS-REFERENCE TO RELATED APPLICATION(S)
  • The present application claims priority to and incorporates by reference the entire contents of Japanese Patent Application No. 2013-157084 filed in Japan on Jul. 29, 2013.
  • BACKGROUND OF THE INVENTION
  • 1. Field of the Invention
  • The present invention relates to an image processing apparatus and a control method.
  • 2. Description of the Related Art
  • A typical scanner reads an image at a fixed speed. Accordingly, in case the read image cannot be written to a shared memory at a fixed rate, a deficient image will be produced. A plotter image needs to be output line by line cyclically and delay of output leads to a deficient image. Therefore, for a shared memory to be accessed by multiple functions, an adjustment method of granting high priority levels to transfer of scanner images and plotter images is frequently adopted.
  • Meanwhile, in case an image temporarily stored in a memory is rotated and then output as a plotter image, if output is started after performing rotation processing on an image of one page, it is necessary to withhold start of the output until the rotation processing is completed, which disadvantageously decreases printing speed. Furthermore, it is necessary to reserve memory areas for two pages for rotation processing of one page: one page for an original image and one page for a rotated image. With respect thereto, Japanese Laid-open Patent Publication No. 2001-127973 discloses a method of starting output of an image at completion of rotation processing of several lines without waiting completion of rotation processing of one page.
  • When a first function is to be performed in cooperation with a second function that needs to guarantee a fixed image transfer rate in units of a line as described above, the first function is required to have a processing performance which allows the first function to perform fixed image processing line by line and keep pace with input of a scanner image or output of a plotter image. With respect thereto, there already exists a method that changes priority levels by issuing a memory access request to a port, to which a high bus-arbitration priority is given, only during when a function is performed in cooperation, but issuing a memory access request to a low priority port during when the function is performed without cooperation.
  • Meanwhile, there already exists a method for increasing bus transfer efficiency by using a so-called posted command issuance scheme of issuing commands one after another without waiting a response to each command, thereby increasing image processing speed, when distance to a shared memory is large and therefore a transfer rate become undesirably low according to a so-called non-posted command issuance scheme of issuing a next command after receiving read data (a response) to a read command or a completion notice (a response) to a write command. Japanese Laid-open Patent Publication No. 2004-046851 discloses a data transfer method using a multiplexed bus architecture which allows transferring an image via a path selected from multiple paths. This method can provide effects of increasing transfer bandwidth by multiplexing transfer path, allowing efficient selection from the multiplexed transfer paths, and preventing an order of memory writes from being changed from an order of memory write requests due to the memory write requests issued by multiple masters passing through different paths.
  • However, when multiple requests are submitted in advance without waiting a response to a memory access request, the requests are transferred via different data paths from different ports. Therefore, there can occur a situation where a first memory access request that is issued later than a second memory access request by a function being a master reaches a memory earlier than the second memory access request, leads to production of a deficient image resulting from data overwriting in the memory in the case of write, or, error in an order of response data in the case of read.
  • Under the circumstances described above, there is a need to provide image forming apparatuses capable of, even with a bus architecture having multiple access paths to a memory, maintaining an order of accesses to the memory caused by memory access requests issued by a single master and an order of responses to the requests.
  • SUMMARY OF THE INVENTION
  • It is an object of the present invention to at least partially solve the problems in the conventional technology.
  • An image processing apparatus includes: a storage unit that stores image data; a transfer-path determining unit that determines a transfer path via which the image data is to be transferred from among multiple transfer paths connected to the storage unit; a selection unit that selects the transfer path via which the image data is to be transferred based on the determined transfer path; and an access-request control unit that issues a next access request to the storage unit after waiting a response to an already-issued access request to the storage unit when the determined transfer path is changed from a transfer path used in most recent transfer of the image data.
  • A control method includes: determining a transfer path via which image data is to be transferred from among multiple transfer paths connected to a storage unit that stores the image data; selecting the transfer path via which the image data is to be transferred based on the determined transfer path; and issuing a next access request to the storage unit after waiting a response to an already-issued access request to the storage unit when the determined transfer path is changed from a transfer path used most recently.
  • The above and other objects, features, advantages and technical and industrial significance of this invention will be better understood by reading the following detailed description of presently preferred embodiments of the invention, when considered in connection with the accompanying drawings.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a block diagram illustrating a functional configuration of an image processing apparatus according to a first embodiment;
  • FIG. 2 is a diagram illustrating a detailed functional configuration of a first image processing unit according to the first embodiment;
  • FIG. 3 is a flowchart illustrating a procedure for selecting an image transfer path according to the first embodiment;
  • FIG. 4 is a block diagram illustrating a functional configuration of an image processing apparatus according to a second embodiment;
  • FIG. 5 is a diagram illustrating a detailed functional configuration of a first image processing unit according to the second embodiment;
  • FIG. 6 is a block diagram illustrating a functional configuration of an image processing apparatus according to a third embodiment; and
  • FIG. 7 is a block diagram illustrating a functional configuration of an image processing apparatus according to a fourth embodiment.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • Exemplary embodiments of the present invention are described below with reference to the accompanying drawings.
  • First Embodiment
  • FIG. 1 is a schematic diagram of an image processing apparatus 1 according to a first embodiment of the present invention. Referring to FIG. 1, the image processing apparatus 1 includes an engine unit 200 and a system controller 100. The system controller 100 includes a shared memory 105, a first arbitration unit 106, a scanner-image transfer device 101, a plotter-image transfer device 102, a central processing unit (CPU) 103, a first image processing unit 104, a second image processing unit 108, and a third image processing unit 109. The engine unit 200 includes a scanner 201, an image input device 202, a plotter 204, and an image output device 205. The image processing apparatus 1 is configured such that image data obtained by scanning in the engine unit 200 is input to the system controller 100, and the system controller 100 controls data writing to the shared memory (storage unit) 105. Original document data read by the scanner 201 is transferred to the system controller 100, and output data obtained by the system controller 100 performing image processing on the original document data is printed by the plotter 204 on paper.
  • The image input device 202 transfers an original document image read by the scanner 201 to the system controller 100. The image output device 205 receives an output image transferred from the plotter-image transfer device 102 of the system controller 100 and transfers the output image to the plotter 204.
  • The first arbitration unit 106 controls accesses to the shared memory 105. The scanner-image transfer device 101, the plotter-image transfer device 102, the CPU 103, the first image processing unit 104, the second image processing unit 108, the third image processing unit 109, and the like correspond to masters and access the shared memory 105. The scanner-image transfer device 101 controls receiving an image read by the engine unit 200 and writing the image to the shared memory 105. The plotter-image transfer device 102 controls reading out an image to be output temporarily stored in the shared memory 105 and transferring the print image to the engine unit 200.
  • The CPU 103 performs operations including setting of operating modes and start up instruction to devices including the scanner-image transfer device 101 and the first arbitration unit 106, and address management for the shared memory 105. The image processing apparatus 1 may include more than one first image processing unit 104 each having a function such as an image compressing/expanding function, an image rotating function, an image encrypting function, an image processing function, or the like. To operate in cooperation with the plotter-image transfer device 102, it is necessary for the first image processing unit 104 to process an image while keeping pace with a transfer rate of the plotter-image transfer device 102. For this purpose, the first image processing unit 104 includes a data path for increasing memory access rate only during cooperation. A selector 110 selects a transfer path to be used from multiple transfer paths. The first image processing unit 104 receives an operation information signal indicating whether or not the plotter-image transfer device 102 is operating, determines whether or not the plotter-image transfer device 102 is in cooperation based on a parameter set by the CPU 103, and transmits a transfer-path designation signal to the selector 110.
  • The image processing apparatus 1 may include more than one second image processing unit 108 and more than one third image processing unit 109 each having a function such as an image compressing/expanding function, an image rotating function, an image encrypting function, or an image processing function. The shared memory 105 is a main storage unit which temporarily stores an image and/or a program for the CPU 103. The image data input to the scanner-image transfer device 101 is temporarily loaded into the shared memory 105.
  • The first arbitration unit 106 is a data bus which controls an order of accesses to be made from masters to the shared memory 105, and performs arbitration regarding priority levels so that the shared memory 105 can be utilized efficiently. A second arbitration unit 107 is a data bus which controls an order of access requests issued to a port 5 of the first arbitration unit 106, and performs arbitration regarding priority levels so that the shared memory 105 can be utilized efficiently.
  • The selector 110 selects any one of the first arbitration unit 106 and the second arbitration unit 107 as a connection destination according to the transfer-path designation signal fed from an advanced submission number control unit 111. A system including more than one first image processing unit 104 will include the same number of the selectors 110 as the first image processing units 104. The advanced submission number control unit 111 (access-request control unit) controls the number of memory access requests to be submitted in advance without waiting a response to an already-issued memory access request (read command/write command). The advanced submission number control unit 111 determines whether responses to already-issued memory access requests are returned by counting the number of transferred memory access requests and the number of responses thereto and monitoring the difference between the numbers. When the transfer-path designation signal indicates that a transfer path to the shared memory 105 be switched, the advanced submission number control unit 111 performs control so as to withhold issuance of a next request until response to every request (command) issued prior to path switching is received. More specifically, when instructing the selector 110 to switch a transfer path, the advanced submission number control unit 111 causes the transfer path to be switched after response to every request (command) is received and before issuance of a next request.
  • The second image processing unit 108 and the third image processing unit 109 are lower in memory access priority than the first image processing unit 104 and connected to the port 5 of the first arbitration unit 106 after undergoing arbitration provided by the second arbitration unit 107. The first image processing unit 104 transfers data via a higher priority port 4 of the first arbitration unit 106 only when operating in cooperation with the plotter-image transfer device 102. The first image processing unit 104 undergoes arbitration provided by the first arbitration unit 106 after undergoing arbitration provided by the second arbitration unit 107 when operating independent of the plotter-image transfer device 102.
  • Accordingly, access to the shared memory 105 can be made in shorter response time via the port 4 than access via the port 5 intermediated with the second arbitration unit 107. In the case of passing through the second arbitration unit 107, the access undergoes arbitration between other masters connected to the second arbitration unit 107 and thus the percentage at which the access is granted decreases, which also leads to decrease in memory access rate. When functions with low priority levels are localized to the second arbitration unit 107, a configuration in which the priority level of the port 5 is set to be lower than priority levels of ports 1 to 5 of the first arbitration unit 106 may be employed.
  • The first image processing unit 104 determines whether it receives, from the plotter-image transfer device 102, operation information indicating that an image is being transferred and the first image processing unit 104 is operating in cooperation with the plotter-image transfer device 102. The first image processing unit 104 then outputs to the selector 110 transfer-path designation information instructing whether a memory access request be directly transferred to the first arbitration unit 106 or be transferred via the second arbitration unit 107. Image data read by the scanner 201 of the engine unit 200 is temporarily stored in the shared memory 105 via the scanner-image transfer device 101. The image data is converted into a form capable of being output, through image processing by the first image processing unit 104 and output to the plotter 204 of the engine unit 200 via the plotter-image transfer device 102. Image processing to be performed by the image processing units 104, 108, and 109 may be the image rotating function or the compressing/expanding function. Although not shown, a hard disk drive (HDD) controller and/or a network interface (I/F) may be provided.
  • FIG. 2 is a block diagram illustrating the configuration of FIG. 1 in more detail. The first image processing unit 104 further includes a cooperation setting unit 301 and a transfer-path determining unit 302. The cooperation setting unit 301 holds instruction content as to whether operation in cooperation is performed or independent operation of a function is performed, instructed by a parameter specified by the CPU 103. Operation in cooperation denotes control for reducing memory capacity and processing time by, in advance of when one page of a scanner image is stored in a memory, starting image processing (e.g., rotation or compression) to be performed next while controlling the image processing so as not to be done earlier than input of the scanner image. Operation in cooperation may alternatively denote control for increasing productivity of a multifunction peripheral (MFP) without enlarging a memory capacity by sequentially writing an image of a next page to a memory area, data stored in which has already been output, so that the writing is not performed to an area, data stored in which is not yet output.
  • The transfer-path determining unit 302 determines a transfer path based on the cooperation settings held by the cooperation setting unit 301 and the operation information fed from the plotter-image transfer device 102, and provides transfer path designation to the advanced submission number control unit 111. When a transfer path to the shared memory 105 is to be switched according to the transfer path designation, the advanced submission number control unit 111 withholds request issuance to the selector 110 so that a next memory access request via a transfer path different from that of an immediately-preceding memory access is issued after receipt of a response to an already-issued memory access request (read command/write command).
  • FIG. 3 is a flowchart illustrating a procedure for image transfer control. As illustrated in FIG. 3, whether or not the first image processing unit 104 is to operate in cooperation with the plotter-image transfer device 102 is determined first (Step S01). If it is determined that the first image processing unit 104 is to operate in cooperation (Yes in Step S01), the CPU 103 performs settings for operation in cooperation with the plotter-image transfer device 102 on the cooperation setting unit 301 (Step S02). In this case, an image processing speed of the first image processing unit 104 needs to keep pace with a plotter-image transfer rate, and thus it is necessary to increase a memory-access priority level of the first image processing unit 104. During when the plotter-image transfer device 102 is operating (i.e., operating in cooperation), the settings of Step S02 are performed to change a transfer path so that a memory access request of the first image processing unit 104 is processed with a high priority.
  • On the other hand, if it is determined that the first image processing unit 104 is not to operate in cooperation (No in Step S01), the CPU 103 performs settings for independent operation on the cooperation setting unit 301 (Step S03). Subsequently, the CPU 103 instructs the first image processing unit 104 to start up (Step S04). The plotter-image transfer device 102 updates an operation information signal in real time (Step S05). More specifically, the operation information signal goes High when the plotter-image transfer device 102 is active but goes Low when the plotter-image transfer device 102 completes operation, and the real-time controlled operation information signal is updated immediately before the signal is referred to by the transfer-path determining unit 302.
  • The transfer-path determining unit 302 checks whether the settings of the cooperation setting unit 301 indicate that operation be performed in cooperation with the plotter-image transfer device 102 and checks the operation information signal fed from the plotter-image transfer device 102, thereby determining whether an instruction to operate in cooperation is given and the operation information is High (i.e., the plotter-image transfer device 102 is active) (Step S06). If it is determined that an instruction to operate in cooperation is given and the operation information is High (Yes in Step S06), the transfer-path determining unit 302 instructs the advanced submission number control unit 111 to use a path directly connected to the first arbitration unit 106 by sending a transfer-path designation signal (Step S07). On the other hand, if it is determined that an instruction to operate independently is given or if the operation information is Low (No in Step S06), the transfer-path determining unit 302 instructs the advanced submission number control unit 111 to use a path connected to the shared memory 105 via the second arbitration unit 107 by sending a transfer-path designation signal (Step S08).
  • Subsequently, the advanced submission number control unit 111 determines a path according to the transfer-path designation signal. More specifically, the advanced submission number control unit 111 determines a path via which an immediately-preceding memory access request has been issued from among the paths, and determines whether or not the path of the immediately-preceding memory access request is the same as the designated path (Step S09). If the designated path differs from the transfer path of the immediately-preceding memory access request (No in Step S09), the advanced submission number control unit 111 withholds issuance of a next memory access request until response to every already-issued memory access request is received (Step S10). After response to the every already-issued memory access request is received, the advanced submission number control unit 111 instructs the selector 110 to change a path (Step S11). The reason why the transfer-path designation signal is temporarily held by the advanced submission number control unit 111 before the signal is input to the selector 110 is to wait for read/write response to return via the transfer path of the already-issued request(s). In a configuration where a response path and a request issuance path are separated, it is no problem to update the transfer-path designation signal immediately when the transfer-path designation signal is fed from the transfer-path determining unit 302.
  • If the designated path is the same as the transfer path of the immediately-preceding memory access request (Yes in Step S09), Steps S10 and S11 are skipped, and the advanced submission number control unit 111 issues a memory access request via the designated transfer path (Step S12). The sequence of Steps S05 through Step S11 is repeated each time a memory access request is issued until one page of data has been transferred (Yes in Step S13). When the one page data has been transferred, the first image processing unit 104 notifies the CPU 103 of completion of the image processing using completion interrupt or the like.
  • The image processing apparatus 1 according to the first embodiment described above is configured to, when a memory access request is to be issued via a transfer path different from a transfer path of an immediately-preceding memory access request, withholds issuance of the next memory access request until it is determined that the immediately-preceding memory access request has been completed. This configuration can ensure that an order of a first memory access and a second memory access, which is issued next to the first memory access, remains unchanged. Accordingly, even with a bus architecture having multiple access paths to a memory, accesses to the memory at memory access requests issued by a single master can be made with keeping an order of the accesses and an order of responses to the requests unchanged.
  • Furthermore, high priority access to the shared memory 105 is allowed only when the first image processing unit 104 operates in cooperation with the plotter 204, and the priority level of the access is lowered before and after image output of the plotter 204. Memory access is controlled in this manner which does not grant high priority too frequently as compared with those of other masters. Accordingly, memory access in the system can be optimized in a range causing a deficient image not to occur.
  • Second Embodiment
  • An information processing apparatus 1 a according to a second embodiment of the present invention is described below with reference to FIG. 4. Note that description about elements of the second embodiment similar to those of the first embodiment is omitted. A system controller 100 a, which differs from the system controller 100 of the first embodiment, will be mainly described below. In contrast to the first embodiment where changing a transfer path is performed by the selector 110, in the second embodiment, changing a transfer path is performed by a second arbitration unit 107 a.
  • In a situation where changing a transfer path is implemented in a function which is directly uncontrollable by a first image processing unit 104 a or a situation where another arbitration unit or another image processing function is interposed, control may be performed as follows. Transfer path designation is not directly sent, but added as an attribute to a memory access request (i.e., command) on a path 112, and the second arbitration unit 107 a that is to receive the request controls which one of transfer paths is to be used in transferring the request to the shared memory 105. The function of the advanced submission number control unit 111 in the selector-less configuration of the second embodiment remains the same as that of the first embodiment, and refers to the transfer-path information added to the memory access request and performs control to issue a memory access request to be issued immediately after a transfer path is changed after response to every already-issued memory access request is received.
  • A priority level higher than that of the port 5 of the first arbitration unit 106 is assigned to the port 4. Attribute information is added to a memory access request so as to cause the first image processing unit 104 a to access the shared memory 105 via the port 4 during when the first image processing unit 104 a is operating in cooperation with the plotter-image transfer device 102 but, during when the first image processing unit 104 a is operating independently, the first image processing unit 104 a accesses the shared memory 105 via the port 5 with the lower priority level.
  • FIG. 5 is a diagram illustrating a detailed configuration of the first image processing unit 104 a. Referring to FIG. 5, the first image processing unit 104 a additionally includes a path-information adding unit 303. The cooperation setting unit 301 has a function similar to that of the first embodiment. The transfer-path determining unit 302 has a function similar to that of the first embodiment but transmits a transfer-path designation signal to the path-information adding unit 303 rather than to the advanced submission number control unit 111. The path-information adding unit 303 adds transfer-path designation information to a memory access request issued by the first image processing unit 104 a.
  • The advanced submission number control unit 111 performs control as in the first embodiment according to the transfer path information added to the memory access request. The second arbitration unit 107 a allocates a transfer path to the memory access request to the shared memory 105 based on the transfer path information added to the request.
  • The configuration according to the second embodiment allows, even with a selector-less configuration or even when designation of a transfer path cannot be directly provided to a selector, data transfer can be performed appropriately based on transfer path information.
  • Third Embodiment
  • An information processing apparatus 1 b according to a third embodiment of the present invention is described below with reference to FIG. 6. Note that description about elements of the third embodiment similar to those of the first embodiment is omitted. A system controller 100 b, which differs from the system controller 100 of the first embodiment, will be mainly described below. In the first embodiment, an access path to the shared memory 105 is changed when operation is to be performed in cooperation with the plotter-image transfer device 102. The third embodiment differs from the first embodiment in that an access path to the shared memory 105 is changed when a function is to be performed in cooperation with the scanner-image transfer device 101. Control is performed in such a manner that, before a scanner image is written to the shared memory 105, an image being written to the shared memory 105 is processed by the first image processing unit 104 in parallel and in cooperation with the scanner-image transfer device 101. Each of the first image processing unit 104, the advanced submission number control unit 111, and the selector 110 has a function similar to that of the first embodiment. Meanwhile, the operation in cooperation with a scanner image may be implemented using a configuration similar to that of the second embodiment.
  • That is, the first image processing unit 104 is controlled to perform processing on a scanner image which is being written to the shared memory 105 in parallel and in cooperation with the scanner-image transfer device 101 before the scanner image is written to the shared memory 105. As a result, processing time regarding the scanner can be reduced. Furthermore, according to this control, it is not necessary to load an image of one page fed from the scanner into the shared memory 105. Accordingly, it becomes possible to reduce a memory area by, for example, configuring a scanner-image write area with a ring buffer or overwriting a scanner image portion before image processing with an image processed by the first image processing unit 104.
  • Fourth Embodiment
  • A system controller 100 c of an information processing apparatus 1 c according to a fourth embodiment of the present invention is described below with reference to FIG. 7. In the fourth embodiment, the port 4 and the port 5 of the first arbitration unit 106 are connected to the selector 110 which changes a transfer path. A memory access priority higher than that of the port 5 of the first arbitration unit 106 is assigned to the port 4. The first arbitration unit 106 includes data buffers and command (request) buffers at ports of respective masters and can receive and buffer one or more commands.
  • As illustrated in FIG. 7, when a transfer path is changed from the higher priority port 4 to the lower priority port 5, a first memory access request via the port 5 cannot be prioritized relative to a second memory access request via the port 4 issued earlier than the first memory access request by the advanced submission number control unit 111. In short, the second memory access request via the port 4 reaches the shared memory 105 invariably earlier than the first memory access request. If the selector 110 is configured to select paths only for memory access requests and to transfer every response data to the first image processing unit 104 irrespective of a path via which the response data is returned, even when a transfer path is changed, the advanced submission number control unit 111 can successively issue a memory access request via the changed transfer path without need to wait response to every already-issued memory access request.
  • Meanwhile, in a situation where a transfer path is changed from the lower priority port 5 to the higher priority port 4 in accordance with transfer path designation, and data and requests are stored in the data buffer and the command buffer of the first arbitration unit 106, a situation can occur where a first memory access request accessed via the higher priority port 4 is prioritized relative to a second memory access request issued earlier than the first memory access request via the lower priority port 5. To prevent occurrence of such an undesirable situation, the advanced submission number control unit 111 is configured to issue a next memory access request after waiting a response to an already-issued memory access request when transfer path designation is changed from a lower priority path to a higher priority path.
  • Thus, in the present embodiment, in the configuration in which multiple access paths are provided and it is guaranteed that a first memory access request issued via a higher priority path is issued later than but is prioritized relative to a second memory access request issued via a lower priority path, the advanced submission number control unit 111 performs control of issuing a next memory access request after waiting a response to an already-issued memory access request only when change is made from a lower priority path to a higher priority path.
  • An image processing apparatus according to an embodiment of the present invention includes a control device such as a CPU, a storage device such as a read only memory (ROM) and a random access memory (RAM), an external storage device such as an HDD or a compact disk (CD) drive, a display device, and an input device such as a keyboard and a mouse. Thus, the image processing apparatus has a typical-computer-based hardware configuration.
  • Program instructions to be executed by an image processing apparatus according to an embodiment may be provided as being recorded in a non-transitory computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD recordable (CD-R), or a digital versatile disk (DVD) as an installable or executable file.
  • Program instructions to be executed by an image processing apparatus according to an embodiment may be configured to be stored in a computer connected to a network such as the Internet and provided by being downloaded into the image processing apparatus over the network. Program instructions to be executed by an image processing apparatus according to an embodiment may be configured to be provided or distributed over a network such as the Internet.
  • Program instructions to be executed by an image processing apparatus according to an embodiment may be configured to be provided as being stored in a ROM or the like in advance.
  • Program instructions to be executed by an image processing apparatus according to an embodiment are configured in modules including the units described above. From the viewpoint of actual hardware, the CPU (processor) reads out the program instructions from the storage medium and executes the program instructions to load the units into the main storage device, thereby generating the units on the main storage device.
  • In the embodiments described above, examples in each of which an image forming apparatus according to an aspect of the present invention is applied to an MFP having at least two functions of a copier function, a printer function, a scanner function, and a facsimile function are described. However, the image forming apparatus is applicable to any image forming apparatus such as a copier, printer, a scanner, or a facsimile.
  • An embodiment makes it possible, even with a bus architecture having multiple access paths to a memory, to maintain an order of accesses to the memory caused by memory access requests issued by a single master and an order of responses to the requests.
  • Although the invention has been described with respect to specific embodiments for a complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art that fairly fall within the basic teaching herein set forth.

Claims (6)

What is claimed is:
1. An image processing apparatus comprising:
a storage unit that stores image data;
a transfer-path determining unit that determines a transfer path via which the image data is to be transferred from among multiple transfer paths connected to the storage unit;
a selection unit that selects the transfer path via which the image data is to be transferred based on the determined transfer path; and
an access-request control unit that issues a next access request to the storage unit after waiting a response to an already-issued access request to the storage unit when the determined transfer path is changed from a transfer path used in most recent transfer of the image data.
2. The image processing apparatus according to claim 1, wherein the transfer-path determining unit determines whether processing related to output of the image data is in cooperation with transfer of the image data and, if the processing is in cooperation with the transfer, determine to use a transfer path granted high priority access to the storage but if the processing is not in cooperation with the transfer, determine to use a transfer path granted low priority access to the storage.
3. The image processing apparatus according to claim 1, wherein
the transfer-path determining unit adds attribute information indicating the determined transfer path to the access request to the storage unit, and
the selection unit selects the transfer path based on the attribute information of the acquired access request.
4. The image processing apparatus according to claim 2, wherein the transfer-path determining unit determines whether processing related to scanning of the image data is in cooperation with transfer of the image data and, if the processing is in cooperation with the transfer, determine to use the transfer path granted high priority access to the storage but if the processing is not in cooperation with the transfer, determine to use the transfer path granted low priority access to the storage.
5. The image processing apparatus according to claim 1, wherein
the access request is configured such that the access request granted high priority access does not reach the storage unit earlier than the access request granted low priority access, and
the access-request control unit issues a next access request to the storage unit after waiting a response to an already-issued access request to the storage unit when change is made from an access request granted low priority access to an access request granted high priority access.
6. A control method comprising:
determining a transfer path via which image data is to be transferred from among multiple transfer paths connected to a storage unit that stores the image data;
selecting the transfer path via which the image data is to be transferred based on the determined transfer path; and
issuing a next access request to the storage unit after waiting a response to an already-issued access request to the storage unit when the determined transfer path is changed from a transfer path used most recently.
US14/340,875 2013-07-29 2014-07-25 Image processing apparatus and control method Expired - Fee Related US9667531B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2013157084A JP6221467B2 (en) 2013-07-29 2013-07-29 Image processing apparatus and control method
JP2013-157084 2013-07-29

Publications (2)

Publication Number Publication Date
US20150032885A1 true US20150032885A1 (en) 2015-01-29
US9667531B2 US9667531B2 (en) 2017-05-30

Family

ID=52391444

Family Applications (1)

Application Number Title Priority Date Filing Date
US14/340,875 Expired - Fee Related US9667531B2 (en) 2013-07-29 2014-07-25 Image processing apparatus and control method

Country Status (2)

Country Link
US (1) US9667531B2 (en)
JP (1) JP6221467B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10051141B2 (en) 2016-04-27 2018-08-14 Ricoh Company, Ltd. Information processing apparatus and information processing method
CN108874829A (en) * 2017-05-12 2018-11-23 腾讯科技(深圳)有限公司 Processing method, device, smart machine and the computer storage medium of webpage

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040027602A1 (en) * 2002-05-09 2004-02-12 Keiju Kuboki Image forming apparatus, method of controlling the same, program, storage medium, printing system, and method suitable for the printing system
US6757753B1 (en) * 2001-06-06 2004-06-29 Lsi Logic Corporation Uniform routing of storage access requests through redundant array controllers
US20050172084A1 (en) * 2004-01-30 2005-08-04 Jeddeloh Joseph M. Buffer control system and method for a memory system having memory request buffers
US20090067712A1 (en) * 2007-09-12 2009-03-12 Ricoh Company, Limited Image processing apparatus, image forming apparatus, and image processing method
US20090287858A1 (en) * 2008-05-15 2009-11-19 Fuji Xerox Co., Ltd. Dma control system, printing apparatus, transfer instruction method and computer readable medium
US20110238941A1 (en) * 2010-03-29 2011-09-29 Freescale Semiconductor, Inc. Scheduling memory access requests using predicted memory timing and state information
US20120066449A1 (en) * 2010-09-15 2012-03-15 John Colgrove Scheduling of reconstructive i/o read operations in a storage environment
US20120089758A1 (en) * 2010-10-12 2012-04-12 Samsung Electronics Co., Ltd. System On Chip Keeping Load Balance And Load Balancing Method Thereof

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000069257A (en) 1998-08-24 2000-03-03 Ricoh Co Ltd Image processor
JP2000296640A (en) 1999-04-16 2000-10-24 Ricoh Co Ltd Image data memory controlling device
JP3797833B2 (en) 1999-10-25 2006-07-19 株式会社リコー Image processing device
JP2004046851A (en) 2003-06-24 2004-02-12 Canon Inc Bus management device, and controller for composite apparatus including the same
JP2005072987A (en) * 2003-08-25 2005-03-17 Ricoh Co Ltd Image forming apparatus
JP2006094400A (en) * 2004-09-27 2006-04-06 Fuji Xerox Co Ltd Image processor and image processing method
JP5460405B2 (en) * 2010-03-24 2014-04-02 キヤノン株式会社 Image display device and control method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6757753B1 (en) * 2001-06-06 2004-06-29 Lsi Logic Corporation Uniform routing of storage access requests through redundant array controllers
US20040027602A1 (en) * 2002-05-09 2004-02-12 Keiju Kuboki Image forming apparatus, method of controlling the same, program, storage medium, printing system, and method suitable for the printing system
US20050172084A1 (en) * 2004-01-30 2005-08-04 Jeddeloh Joseph M. Buffer control system and method for a memory system having memory request buffers
US20090067712A1 (en) * 2007-09-12 2009-03-12 Ricoh Company, Limited Image processing apparatus, image forming apparatus, and image processing method
US20090287858A1 (en) * 2008-05-15 2009-11-19 Fuji Xerox Co., Ltd. Dma control system, printing apparatus, transfer instruction method and computer readable medium
US20110238941A1 (en) * 2010-03-29 2011-09-29 Freescale Semiconductor, Inc. Scheduling memory access requests using predicted memory timing and state information
US20120066449A1 (en) * 2010-09-15 2012-03-15 John Colgrove Scheduling of reconstructive i/o read operations in a storage environment
US20120089758A1 (en) * 2010-10-12 2012-04-12 Samsung Electronics Co., Ltd. System On Chip Keeping Load Balance And Load Balancing Method Thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
'Veritas Storage Foundation 5.0 Dynamic Multi-pathing', Symantec Corporation, May 2007 [retrieved on 2016-12-13]. Retrieved from the Internet: <URL:http://eval.symantec.com/mktginfo/enterprise/white_papers/ent-whitepaper_vsf_5.0_dynamic_multi-pathing_05-2007.en-us.pdf>. *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10051141B2 (en) 2016-04-27 2018-08-14 Ricoh Company, Ltd. Information processing apparatus and information processing method
CN108874829A (en) * 2017-05-12 2018-11-23 腾讯科技(深圳)有限公司 Processing method, device, smart machine and the computer storage medium of webpage

Also Published As

Publication number Publication date
US9667531B2 (en) 2017-05-30
JP2015027058A (en) 2015-02-05
JP6221467B2 (en) 2017-11-01

Similar Documents

Publication Publication Date Title
US20150009531A1 (en) Image processing apparatus that stores print data in cache memory, method of controlling the same, and storage medium
JP6886301B2 (en) Memory access system, its control method, program, and image forming device
US20120268757A1 (en) Image forming apparatus and image forming method
JP4696748B2 (en) Image forming system, interrupt processing method, and printing apparatus
US9667531B2 (en) Image processing apparatus and control method
JP5173707B2 (en) Information processing apparatus and control method thereof
JP5340058B2 (en) Image processing apparatus, control method thereof, and program
JP2016085684A (en) Memory access apparatus
US8659778B2 (en) Image forming apparatus operable in first and second modes for processing job data, and job data storing method
JP6233287B2 (en) Memory access device, image processing device
JP4175974B2 (en) Image data transfer control device
JP2007082144A (en) Image forming apparatus
JP6000754B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP7081477B2 (en) Image processing device, control method of image processing device, and program
JP2020110926A (en) Image formation apparatus, control method of image formation apparatus, image formation system and program
JPH10208031A (en) Image processor
JP6331735B2 (en) Image processing apparatus and image processing apparatus control method
US10282318B2 (en) Image processing apparatus, method of controlling image processing apparatus, and recording medium
JPH11331528A (en) Image processor
JP2006345329A (en) Image forming apparatus, image forming system, and image control device
US8619296B2 (en) Image forming apparatus
JP6314562B2 (en) Image processing apparatus and image forming apparatus
JPH11203059A (en) Image input and output device and its memory access method, and storage medium storing computer readable program
JP2013016005A (en) Information processing device, control method therefor, and control program
JP5587029B2 (en) Image processing apparatus and image processing apparatus control method

Legal Events

Date Code Title Description
AS Assignment

Owner name: RICOH COMPANY, LIMITED, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:SUZUKI, MASAHIRO;REEL/FRAME:033392/0959

Effective date: 20140718

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20210530