JP2017097804A - Electronic device and image forming apparatus - Google Patents

Electronic device and image forming apparatus Download PDF

Info

Publication number
JP2017097804A
JP2017097804A JP2015232396A JP2015232396A JP2017097804A JP 2017097804 A JP2017097804 A JP 2017097804A JP 2015232396 A JP2015232396 A JP 2015232396A JP 2015232396 A JP2015232396 A JP 2015232396A JP 2017097804 A JP2017097804 A JP 2017097804A
Authority
JP
Japan
Prior art keywords
memory
function
unit
execution
image forming
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.)
Pending
Application number
JP2015232396A
Other languages
Japanese (ja)
Inventor
宏和 山本
Hirokazu Yamamoto
宏和 山本
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2015232396A priority Critical patent/JP2017097804A/en
Publication of JP2017097804A publication Critical patent/JP2017097804A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently use a memory used for execution of a plurality of functions and reduce the possibility of occurrence of trouble in execution of other functions.SOLUTION: An electronic device comprises: a shared memory 110 that is used for execution of a plurality of functions; a memory insufficiency determination part 102 that determines whether memory insufficiency occurs to the shared memory 110 when the shared memory executes a copying function and a printer function; and a memory securing part 103 that, when the memory insufficiency determination part 102 determines that memory insufficiency occurs to the shared memory 110, releases a memory allocated to a function not affecting the execution of these copying function and printer function to solve the memory insufficiency. The memory securing part 103 selects a function to release a memory in the shared memory 110 on the basis of order of priority of memory release.SELECTED DRAWING: Figure 2

Description

本発明は、電子機器及び画像形成装置に関し、特に、機能の実行に使用されるメモリーを効率的に使用する技術に関する。   The present invention relates to an electronic apparatus and an image forming apparatus, and more particularly to a technique for efficiently using a memory used for executing a function.

機能の実行に使用されるメモリーを有する電子機器においては、メモリー不足により、ある特定の機能を実行させようとしたときに、実行速度が遅くなったり、実行できなかったりする場合がある。例えば、画像形成装置において、記録媒体(用紙)に画像を印刷させるとき、処理するデータ量が多くなると、実行に必要なメモリー容量を確保することができない場合がある。   In an electronic device having a memory used to execute a function, the execution speed may be slow or cannot be executed when a specific function is to be executed due to insufficient memory. For example, in an image forming apparatus, when an image is printed on a recording medium (paper), if the amount of data to be processed increases, it may not be possible to secure a memory capacity necessary for execution.

このような問題を解決する方法として、メモリーを増設するといった方法が考えられるが、メモリーの増設にはコストが増大するという問題がある。そのため、メモリーの効率的な使用が必要となる。   As a method for solving such a problem, a method of adding a memory is conceivable, but there is a problem that the cost of adding a memory increases. Therefore, efficient use of memory is required.

メモリーを効率的に使用する技術としては、例えば、下記の特許文献1に、「ある画像処理モジュールがある動作モードの画像処理を実行するときに内蔵メモリーで足りるか否かを判別する第1の判別手段と、該手段により不足すると判別されたとき、その動作モードで使用されない他の画像処理モジュールの内蔵メモリーの一部又は全部で不足分を補完できるか否かを判別する第2の判別手段と、該手段により補完できると判別されたとき、前記不足分を借用するため当該内蔵メモリーの一部又は全部を選択する手段とを有する」(段落[0009]参照)として記載された技術がある。   As a technique for efficiently using a memory, for example, Japanese Patent Application Laid-Open Publication No. 2004-151620 discloses a first technique for determining whether a built-in memory is sufficient when executing image processing in a certain operation mode. And a second determination unit that determines whether or not the shortage can be supplemented by a part or all of the built-in memory of another image processing module that is not used in the operation mode when the determination unit determines that the shortage occurs. And means for selecting a part or all of the built-in memory to borrow the shortage when it is determined that the means can be complemented ”(see paragraph [0009]). .

特開2009−98771号公報JP 2009-98771 A

しかしながら、上記の特許文献1に記載された技術では、借用するメモリーは、他の画像処理モジュールの範囲に限定されている。このため、目的の機能を実行するのに、複数の画像処理モジュールを実行しなければならない事態が想定され、この場合、メモリーの借用先が見つからず、目的の機能(例えば画像処理等)を実行できないおそれがある。また、際限なく、他の機能に割り当てられているメモリーを借用すると、当該他の機能の実行に支障を与え、不具合が生じるおそれがある。   However, in the technique described in Patent Document 1, the borrowed memory is limited to the range of other image processing modules. For this reason, it is assumed that a plurality of image processing modules must be executed in order to execute the target function. In this case, the target function (for example, image processing, etc.) is executed without finding a borrower of the memory. It may not be possible. In addition, borrowing memory allocated to other functions without limitation may impede execution of the other functions and cause problems.

本発明は、上記の事情に鑑みなされたものであり、機能の実行に使用されるメモリーを効率的に使用し、かつ、他の機能の実行に不具合が生じる可能性を低くすることを目的とする。   The present invention has been made in view of the above circumstances, and aims to efficiently use a memory used for executing a function and to reduce the possibility that a problem occurs in the execution of another function. To do.

本発明の一局面に係る電子機器は、複数の機能の実行に使用される共有メモリーと、
予め定められた特定の機能を実行するときに、前記共有メモリーにメモリー不足が発生するか否かを判断するメモリー不足判断部と、
前記メモリー不足判断部により前記共有メモリーに前記メモリー不足が発生すると判断されると、前記共有メモリーを用いて実行される前記複数の機能の中から、前記特定の機能の実行に影響を与えない機能を選択して、当該選択した機能に割り当てられているメモリー部分を解放して、前記特定の機能の実行に割り当てるメモリー確保部と、を備え、
前記メモリー確保部は、予め定められた条件に基づいて決定されるメモリー解放優先順位に従って、前記特定の機能の実行に影響を与えない機能を選択する。
An electronic device according to one aspect of the present invention includes a shared memory used to execute a plurality of functions,
A memory shortage determination unit that determines whether or not a memory shortage occurs in the shared memory when executing a predetermined specific function;
A function that does not affect execution of the specific function among the plurality of functions executed using the shared memory when the memory shortage determination unit determines that the memory shortage occurs in the shared memory. A memory allocation unit that releases the memory portion allocated to the selected function and allocates the execution of the specific function, and
The memory securing unit selects a function that does not affect the execution of the specific function in accordance with a memory release priority determined based on a predetermined condition.

本発明によれば、特定の機能を実行するときに、共有メモリーにメモリー不足が発生すると判断されると、当該特定の機能の実行に影響を与えない機能であり、メモリー解放優先順位に基づいて選択された機能に割り当てられているメモリー部分が解放されてメモリー不足が解消されるので、当該特定の機能の実行のために必要なメモリー領域を確保できる。これにより、共有メモリーを効率的に使用しつつ、さらには、メモリーの解放によって他の機能の実行に不具合が生じる可能性を小さくすることができる。   According to the present invention, when a specific function is executed, if it is determined that a memory shortage occurs in the shared memory, the function does not affect the execution of the specific function. Since the memory portion allocated to the selected function is released and the memory shortage is resolved, a memory area necessary for executing the specific function can be secured. As a result, the shared memory can be used efficiently, and further, the possibility of a malfunction occurring in the execution of other functions due to the release of the memory can be reduced.

本発明の第1実施形態に係る電子機器としての画像形成装置の構造を示した模式的な部分断面正面図である。1 is a schematic partial cross-sectional front view showing a structure of an image forming apparatus as an electronic apparatus according to a first embodiment of the present invention. 本発明の第1実施形態に係る電子機器としての画像形成装置の主要内部構成を概略的に示した機能ブロック図である。1 is a functional block diagram schematically showing a main internal configuration of an image forming apparatus as an electronic apparatus according to a first embodiment of the present invention. メモリー解放優先順位リスト記憶部のデータ構成の一例を示した図である。It is the figure which showed an example of the data structure of a memory release priority list storage part. 制御ユニットにおける処理動作の一例を示したフローチャートである。It is the flowchart which showed an example of the processing operation in a control unit. 制御ユニットにおける処理動作の一例を示したフローチャートである。It is the flowchart which showed an example of the processing operation in a control unit.

以下、本発明の一実施形態に係る電子機器について図面を参照して説明する。図1は、本発明の第1実施形態に係る電子機器としての画像形成装置の構造を示した模式的な部分断面正面図である。画像形成装置1は、装置本体11に、操作部47、画像形成部12、定着部13、給紙部14、原稿給送部6、及び原稿読取部5を含んで構成されている。   Hereinafter, an electronic apparatus according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic partial cross-sectional front view showing the structure of an image forming apparatus as an electronic apparatus according to the first embodiment of the present invention. The image forming apparatus 1 includes an apparatus body 11 including an operation unit 47, an image forming unit 12, a fixing unit 13, a paper feeding unit 14, a document feeding unit 6, and a document reading unit 5.

操作部47は、画像形成装置1が実行可能な各種動作及び処理について操作者から画像形成動作実行指示や原稿読取動作実行指示等の指示を受け付けるものであり、操作者への操作案内等を表示する表示部473を備えている。   The operation unit 47 receives instructions such as an image forming operation execution instruction and a document reading operation execution instruction from the operator for various operations and processes that can be executed by the image forming apparatus 1, and displays operation guidance and the like to the operator. The display unit 473 is provided.

画像形成装置1で原稿読取動作が行われる場合について説明する。原稿給送部6により給送されてくる原稿、又は原稿載置ガラス161に載置された原稿の画像を、読取機構163を備えた原稿読取部5が光学的に読み取り、そして画像データを生成する。原稿読取部5により生成された画像データは、内臓HDD(Hard Disk Drive)、又はネットワーク接続されたコンピューター等に保存される。   A case where a document reading operation is performed in the image forming apparatus 1 will be described. An original image fed by the original document feeding unit 6 or an image of the original document placed on the original document placing glass 161 is optically read by the original reading unit 5 including the reading mechanism 163, and image data is generated. To do. Image data generated by the document reading unit 5 is stored in a built-in HDD (Hard Disk Drive), a network-connected computer, or the like.

原稿給送部6は、原稿を載置する原稿トレイ6aと、原稿トレイ6aに原稿が載置されているか否かを検知する原稿センサー6bとを含んで構成されている。また、原稿載置ガラス161の下方には、原稿載置ガラス161に原稿が載置されているか否かを検知する原稿センサー161aが設置されている。原稿センサー6b,161aは、反射型の光学センサーであり、光を照射する照射部と原稿からの反射光を受光する受光部とを備えている。   The document feeder 6 includes a document tray 6a for placing a document and a document sensor 6b for detecting whether or not a document is placed on the document tray 6a. A document sensor 161 a that detects whether or not a document is placed on the document placement glass 161 is provided below the document placement glass 161. The document sensors 6b and 161a are reflection type optical sensors, and include an irradiation unit that irradiates light and a light receiving unit that receives reflected light from the document.

画像形成装置1で画像形成動作が行われる場合について説明する。原稿読取動作により生成された画像データや、内臓HDDに記憶されている画像データ、ネットワーク接続されたコンピューターから受信した画像データ等に基づいて、画像形成部12が、給紙部14から給紙される記録紙(記録媒体)としての用紙Pにトナー像を形成する。   A case where an image forming operation is performed in the image forming apparatus 1 will be described. The image forming unit 12 is fed from the paper feeding unit 14 based on image data generated by the document reading operation, image data stored in the built-in HDD, image data received from a computer connected to the network, and the like. A toner image is formed on a sheet P as a recording sheet (recording medium).

画像形成部12は、ブラック(Bk)用の画像形成ユニット12Bk、イエロー(Y)用の画像形成ユニット12Y、シアン(C)用の画像形成ユニット12C、及びマゼンタ(M)用の画像形成ユニット12Mを含んで構成され、これら画像形成ユニット12Bk,12Y,12C,12Mはそれぞれドラム型の感光体121Bk,121Y,121C,121Mを備え、感光体121Bk,121Y,121C,121Mは、図中の反時計回りに回転駆動するようになっている。   The image forming unit 12 includes an image forming unit 12Bk for black (Bk), an image forming unit 12Y for yellow (Y), an image forming unit 12C for cyan (C), and an image forming unit 12M for magenta (M). The image forming units 12Bk, 12Y, 12C, and 12M are respectively provided with drum-type photoconductors 121Bk, 121Y, 121C, and 121M. The photoconductors 121Bk, 121Y, 121C, and 121M are counterclockwise in FIG. It is designed to rotate around.

トナーコンテナ17Bk,17Y,17C,17Mはそれぞれブラック用、イエロー用、シアン用、マゼンタ用のトナーを収納するものであり、感光体121Bk,121Y,121C,121Mから離れた位置に、中間転写ベルト125を挟んで上方に、装置本体11に設けられたトナーコンテナ装着部(図示せず)に着脱自在に装着されている。   The toner containers 17Bk, 17Y, 17C, and 17M store toners for black, yellow, cyan, and magenta, respectively, and the intermediate transfer belt 125 is located away from the photoreceptors 121Bk, 121Y, 121C, and 121M. A toner container mounting portion (not shown) provided in the apparatus main body 11 is detachably mounted on the upper side of the image.

転写ユニット120は、その外周面にトナー像が転写される中間転写ベルト125、駆動ローラー125a、従動ローラー125b、及び一次転写ローラー126を含んで構成されている。   The transfer unit 120 includes an intermediate transfer belt 125, a driving roller 125a, a driven roller 125b, and a primary transfer roller 126 on which a toner image is transferred to the outer peripheral surface thereof.

中間転写ベルト125は、駆動ローラー125aと従動ローラー125bとの間に張架され、感光体121Bk,121Y,121C,121Mの周面に当接した状態で駆動ローラー125aによって駆動され、感光体121Bk,121Y,121C,121Mと同期しながら、無端走行する。   The intermediate transfer belt 125 is stretched between the driving roller 125a and the driven roller 125b, and is driven by the driving roller 125a in contact with the peripheral surfaces of the photoconductors 121Bk, 121Y, 121C, and 121M. Travel endlessly in synchronization with 121Y, 121C, 121M.

次に、カラー印刷が行われる場合について説明する。感光体121Bk,121Y,121C,121Mの周囲が一様に帯電され(帯電工程)、電荷を帯びた感光体121Bk,121Y,121C,121Mの表面に、画像データに基づいて、レーザー光が照射されて潜像が形成され(露光工程)、潜像がトナーで可視像化され(現像工程)、可視像化することによって形成されたトナー像が一次転写ローラー126によって中間転写ベルト125上に転写されるようになっている。   Next, a case where color printing is performed will be described. The periphery of the photoconductors 121Bk, 121Y, 121C, and 121M is uniformly charged (charging process), and the surface of the charged photoconductors 121Bk, 121Y, 121C, and 121M is irradiated with laser light based on image data. Thus, a latent image is formed (exposure process), the latent image is visualized with toner (development process), and the toner image formed by the visualization is formed on the intermediate transfer belt 125 by the primary transfer roller 126. It is designed to be transcribed.

中間転写ベルト125上に転写される各色(ブラック、イエロー、シアン、マゼンタ)のトナー像は、転写タイミングを調整して中間転写ベルト125上で重ね合わされ、カラーのトナー像となる。   The toner images of the respective colors (black, yellow, cyan, and magenta) transferred onto the intermediate transfer belt 125 are superimposed on the intermediate transfer belt 125 with the transfer timing adjusted to form a color toner image.

二次転写ローラー210は、中間転写ベルト125の表面に形成されたカラーのトナー像を、中間転写ベルト125を挟んだ、駆動ローラー125aとのニップ部Nにおいて、給紙部14から搬送路190を搬送されてきた用紙Pに転写させるものである。なお、ここまで説明したのはカラー印刷の場合であり、モノクロ印刷の場合には、イエロー用、シアン用、及びマゼンタ用の感光体121Y,121C,121Mは使用されず、ブラック用の感光体121Bkだけが使用されることになる。   The secondary transfer roller 210 passes a color toner image formed on the surface of the intermediate transfer belt 125 from the paper supply unit 14 through the conveyance path 190 at a nip N between the intermediate transfer belt 125 and the driving roller 125a. This is transferred onto the conveyed paper P. The color printing has been described so far. In the case of monochrome printing, the photoreceptors 121Y, 121C, and 121M for yellow, cyan, and magenta are not used, and the photoreceptor 121Bk for black is used. Only will be used.

定着部13は、熱圧着によりトナー像を用紙Pに定着させるものであり、定着処理が施されたカラー画像形成済みの用紙Pは、排出トレイ151に排出されることになる。   The fixing unit 13 fixes the toner image on the paper P by thermocompression bonding, and the paper P on which the color image has been formed is discharged to the discharge tray 151.

給紙部14は、複数の給紙カセット、及び各給紙カセットに収容された記録紙をピックアップするためのピックアップローラー145を含んで構成され、操作者による指示等で指定されたサイズの記録紙をピックアップするように、対応するピックアップローラー145を回転駆動させて、指定された記録紙をニップ部Nに向けて搬送するものである。   The paper feeding unit 14 includes a plurality of paper feeding cassettes and a pickup roller 145 for picking up recording paper stored in each paper feeding cassette, and is a recording paper having a size specified by an instruction from an operator or the like. The corresponding pickup roller 145 is rotationally driven so as to pick up the sheet, and the designated recording paper is conveyed toward the nip portion N.

図2は画像形成装置1の主要内部構成を概略的に示した機能ブロック図である。画像形成装置1は、例えば、コピー機能、プリンター機能、スキャナー機能、及びファクシミリ機能のような複数の機能を兼ね備えた複合機であり、制御ユニット10、原稿給送部6、原稿読取部5、画像形成部12、画像メモリー32、HDD(Hard Disk Drive)92、定着部13、操作部47、ファクシミリ通信部71、及びネットワークインターフェイス部91を含んで構成されている。   FIG. 2 is a functional block diagram schematically showing the main internal configuration of the image forming apparatus 1. The image forming apparatus 1 is a multifunction machine having a plurality of functions such as a copy function, a printer function, a scanner function, and a facsimile function, and includes a control unit 10, a document feeding unit 6, a document reading unit 5, an image, and the like. The image forming apparatus includes a forming unit 12, an image memory 32, an HDD (Hard Disk Drive) 92, a fixing unit 13, an operation unit 47, a facsimile communication unit 71, and a network interface unit 91.

原稿給送部6は、読取対象の原稿を原稿読取部5へ給送する。   The document feeding unit 6 feeds a document to be read to the document reading unit 5.

原稿読取部5は、制御ユニット10を構成する制御部100による制御の下、光照射部及びCCD(Charge Coupled Device)センサー等を有する読取機構(図示せず)を備えており、原稿読取部5は、光照射部を使って原稿を照射し、その反射光をCCDセンサーで受光することによって、原稿から画像を読み取る。   The document reading unit 5 includes a reading mechanism (not shown) having a light irradiation unit, a CCD (Charge Coupled Device) sensor, and the like under the control of the control unit 100 constituting the control unit 10. Irradiates a document using a light irradiator and receives the reflected light by a CCD sensor, thereby reading an image from the document.

画像形成部12は、印刷すべき画像のトナー像を用紙(記録媒体)上に形成する。   The image forming unit 12 forms a toner image of an image to be printed on a sheet (recording medium).

画像メモリー32は、原稿読取部5による読み取りで得られた原稿の画像データを一時的に記憶したり、画像形成部12のプリント対象となるデータを一時的に保存したりするための領域である。   The image memory 32 is an area for temporarily storing image data of a document obtained by reading by the document reading unit 5 and temporarily storing data to be printed by the image forming unit 12. .

HDD92は、原稿読取部5によって読み取られた原稿画像等を記憶する大容量の記憶装置である。   The HDD 92 is a large-capacity storage device that stores document images and the like read by the document reading unit 5.

定着部13は、用紙上のトナー像を、熱圧着により用紙に定着させる。   The fixing unit 13 fixes the toner image on the paper to the paper by thermocompression bonding.

操作部47は、画像形成装置1が実行可能な各種動作及び処理について操作者から画像形成動作実行指示や原稿読取動作実行指示等の指示を受け付ける。操作部47は、操作者への操作案内等を表示する表示部473を備えている。表示部473はタッチパネルになっており、操作者は画面表示されるボタンやキーに触れて画像形成装置1を操作することができる。   The operation unit 47 receives instructions such as an image forming operation execution instruction and a document reading operation execution instruction from the operator regarding various operations and processes that can be executed by the image forming apparatus 1. The operation unit 47 includes a display unit 473 that displays operation guidance to the operator. The display unit 473 is a touch panel, and the operator can operate the image forming apparatus 1 by touching buttons and keys displayed on the screen.

ファクシミリ通信部71は、図示しない符号化・複合化部、変復調部、及びNCU(Network Control Unit)等を備え、公衆電話回線網を用いてのファクシミリの通信を行うものである。   The facsimile communication unit 71 includes an encoding / decoding unit, a modulation / demodulation unit, an NCU (Network Control Unit), and the like (not shown), and performs facsimile communication using a public telephone line network.

ネットワークインターフェイス部91は、LAN(Local Area Network)ボード等の通信モジュールを含んで構成され、ネットワークインターフェイス部91に接続されたLAN等を介して、ローカルエリア内、又はインターネット上のパーソナルコンピューター(PC)等の外部装置20と種々のデータの送受信を行うものである。   The network interface unit 91 includes a communication module such as a LAN (Local Area Network) board. The personal computer (PC) in the local area or on the Internet is connected to the network interface unit 91 via a LAN or the like. Various data are transmitted / received to / from the external device 20 such as the above.

制御ユニット10は、CPU(Central Processing Unit)、RAM(Random Access Memory)、ROM(Read Only Memory)、及び専用のハードウェア回路を含んで構成される。制御ユニット10は、画像形成装置1の全体的な動作制御を司る制御部100と、リスト管理部101と、メモリー不足判断部102と、メモリー確保部103と、複数の機能の実行に使用される共有メモリー110と、メモリー解放優先順位リスト記憶部111と、を備えている。   The control unit 10 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), a ROM (Read Only Memory), and a dedicated hardware circuit. The control unit 10 is used to execute a plurality of functions, a control unit 100 that controls overall operation of the image forming apparatus 1, a list management unit 101, a memory shortage determination unit 102, a memory reservation unit 103, and the like. A shared memory 110 and a memory release priority list storage unit 111 are provided.

共有メモリー110は、複数の機能の実行に使用される。   The shared memory 110 is used to execute a plurality of functions.

制御ユニット10は、HDD92にインストールされている制御プログラムに従った動作により、制御部100、リスト管理部101、メモリー不足判断部102、メモリー確保部103、共有メモリー110、及びメモリー解放優先順位リスト記憶部111として機能するものである。但し、制御部100等は、制御ユニット10による制御プログラムに従った動作によらず、それぞれハードウェア回路により構成することも可能である。以下、特に触れない限り、各実施形態について同様である。   The control unit 10 operates in accordance with a control program installed in the HDD 92 to control the control unit 100, the list management unit 101, the memory shortage determination unit 102, the memory allocation unit 103, the shared memory 110, and the memory release priority list storage. It functions as the unit 111. However, the control unit 100 and the like can also be configured by hardware circuits independently of the operation according to the control program by the control unit 10. The same applies to each embodiment unless otherwise specified.

制御部100は、原稿給送部6、画像読取部5、画像形成部12、画像メモリー32、HDD92、定着部13、操作部47、ファクシミリ通信部71、及びネットワークインターフェイス部91と接続され、これら各部の駆動制御を行う。   The control unit 100 is connected to the document feeding unit 6, the image reading unit 5, the image forming unit 12, the image memory 32, the HDD 92, the fixing unit 13, the operation unit 47, the facsimile communication unit 71, and the network interface unit 91. Drive control of each part is performed.

メモリー不足判断部102は、予め定められた特定の機能を実行するときに、共有メモリー110にメモリー不足が発生するか否かを判断する。メモリー不足判断部102は、例えば、操作部47を介して操作者からコピー機能の実行が指示された場合や、ネットワークインターフェイス部91を介して外部装置20(例えば、画像形成装置1に対する印刷制御装置として働くPCクライアント装置)から印刷データが送信されてきてプリンター機能の実行が指示された場合に、これら機能を実行するのに共有メモリー110にメモリー不足が発生するか否かを判断する。   The memory shortage determination unit 102 determines whether or not a memory shortage occurs in the shared memory 110 when executing a predetermined specific function. The memory shortage determination unit 102 is, for example, when the operator has instructed execution of a copy function via the operation unit 47, or the external device 20 (for example, a print control device for the image forming apparatus 1) via the network interface unit 91. When the print data is transmitted from the PC client device that functions as a printer and the execution of the printer function is instructed, it is determined whether or not there is a memory shortage in the shared memory 110 for executing these functions.

メモリー確保部103は、メモリー不足判断部102により共有メモリー110にメモリー不足が発生すると判断されると、共有メモリー110を用いて実行される上記複数の機能の中から、予め定められた特定の機能の実行に影響を与えない機能を選択して、当該選択した機能に割り当てられているメモリー部分を解放し、上記特定の機能の実行に割り当てる。例えば、メモリー確保部103は、メモリー不足判断部102によりメモリー不足が発生すると判断されると、メモリー解放優先順位リスト記憶部111に記憶されているメモリー解放優先順位リストに基づいて、共有メモリー110を用いて実行される上記複数の機能の中から、メモリー解放の優先順位の高い機能を、上記特定の機能の実行に影響を与えない機能として選択し、選択した機能に割り当てられているメモリー部分を解放してメモリー不足を解消する。   When the memory shortage determination unit 102 determines that a memory shortage occurs in the shared memory 110, the memory securing unit 103 selects a predetermined specific function from the plurality of functions executed using the shared memory 110. A function that does not affect the execution of the selected function is selected, a memory portion allocated to the selected function is released, and the function is allocated to the execution of the specific function. For example, when the memory shortage determination unit 102 determines that the memory shortage occurs, the memory securing unit 103 sets the shared memory 110 based on the memory release priority list stored in the memory release priority list storage unit 111. Select the function with the highest priority for memory release from the multiple functions to be executed using the function that does not affect the execution of the specific function, and select the memory part assigned to the selected function. Free up memory shortage.

メモリー解放優先順位リスト記憶部111は、共有メモリー110を使用する複数の機能のうち、例えば、画像形成部12により行われる機能(予め定められた特定の機能の一例。例えば、コピー機能又はプリンター機能等)の実行に影響を与えない各機能に対するメモリー解放の優先順位を示している。図3は、メモリー解放優先順位リスト記憶部111のデータ構成の一例を示した図である。メモリー解放優先順位リスト記憶部111には、上記影響を与えない各機能に対応付けて、当該各機能それぞれに割り当てられているメモリー使用量と、実行履歴(例えば、メモリー確保部103による上記選択時から過去一定時間内に実行された回数)とに関する情報とが記憶され、当該メモリー使用量及び実行履歴に関する情報に基づいて、メモリー解放の優先順位が決定されている。例えば、当該実行履歴において実行回数の少ない機能が優先順位の上位となる。つまり、実行頻度が高くなるに従って、当該実行頻度の高い機能についてのメモリー解放優先順位は下位になる。また、実行回数が同じ機能については、メモリー使用量の大きい機能が優先順位の上位とされる。これら上位下位の管理は、リスト管理部101により行われる。   The memory release priority list storage unit 111 is, for example, a function performed by the image forming unit 12 (an example of a predetermined specific function. For example, a copy function or a printer function) among a plurality of functions that use the shared memory 110. Etc.) indicates the memory release priority for each function that does not affect the execution. FIG. 3 is a diagram illustrating an example of a data configuration of the memory release priority list storage unit 111. In the memory release priority list storage unit 111, the memory usage allocated to each function and the execution history (for example, when the memory allocation unit 103 performs the above selection) are associated with each function that does not affect the memory release priority list storage unit 111. And the number of times of execution in the past certain time) is stored, and the priority of memory release is determined based on the information on the memory usage and the execution history. For example, a function with a small number of executions in the execution history has a higher priority. That is, as the execution frequency increases, the memory release priority for the function with the high execution frequency becomes lower. For functions with the same number of executions, functions with a large memory usage are given higher priority. These upper and lower managements are performed by the list management unit 101.

なお、ここでは実行履歴に関する情報として、過去一定時間内に実行された回数を挙げているが、実行履歴に関する情報はこれに限定されず、例えば、実行された累積回数(過去一定時間内に限定しない通算の回数)や、最後に実行されてから、メモリー確保部103による上記選択時までの経過時間であっても良く、最後に実行されてからの経過時間が長い機能が優先順位の上位となる。   In addition, although the number of executions in the past fixed time is given as the information related to the execution history here, the information related to the execution history is not limited to this, for example, the cumulative number of executions (limited to the past fixed time) Or the elapsed time from the last execution until the selection by the memory securing unit 103, and a function having a long elapsed time since the last execution is considered to have a higher priority. Become.

リスト管理部101は、メモリー解放優先順位リスト記憶部111を管理する。リスト管理部101は、定期的に上記影響を与えない各機能に割り当てられているメモリー使用量及び実行状況をモニタリングし、モニタリングした結果に基づいて、メモリー使用量及び実行履歴を更新する。リスト管理部101は、当該更新したメモリー使用量及び実行履歴に関する情報に基づいて、メモリー解放の優先順位を決定し、メモリー解放優先順位リスト記憶部111に記憶されているメモリー解放優先順位リストを更新する。   The list management unit 101 manages the memory release priority list storage unit 111. The list management unit 101 periodically monitors the memory usage and execution status assigned to each function that does not affect the above, and updates the memory usage and execution history based on the monitored result. The list management unit 101 determines the memory release priority based on the updated information on the memory usage and execution history, and updates the memory release priority list stored in the memory release priority list storage unit 111. To do.

次に、リスト管理部101で行われる処理動作について、図4に示したフローチャートに基づいて説明する。なお、この処理動作は、定期的(例えば、数ミリ秒毎)に繰り返し行われる処理動作である。   Next, processing operations performed by the list management unit 101 will be described based on the flowchart shown in FIG. This processing operation is a processing operation that is repeated periodically (for example, every several milliseconds).

リスト管理部101は、メモリー解放優先順位リスト記憶部111に記憶されているメモリー解放優先順位リストに載っている、上記影響を与えない各機能それぞれに割り当てられているメモリー使用量及び実行状況をモニタリングする(S1)。   The list management unit 101 monitors the amount of memory used and the execution status assigned to each of the functions that have no effect on the memory release priority list stored in the memory release priority list storage unit 111. (S1).

リスト管理部101は、モニタリングした結果に基づいて、メモリー解放優先順位リスト記憶部111に記憶されている、当該各機能に割り当てられているメモリー使用量、及び各機能の実行履歴に関する情報を更新し(S2)、リスト管理部101は、更新したメモリー使用量及び実行履歴に関する情報に基づいて、メモリー解放の優先順位を決定する(S3)。リスト管理部101は、決定したメモリー解放の優先順位に基づいて、メモリー解放優先順位リスト記憶部111に記憶されているメモリー解放優先順位リストを更新する(S4)。   Based on the monitoring result, the list management unit 101 updates the information on the memory usage allocated to each function and the execution history of each function stored in the memory release priority list storage unit 111. (S2) The list management unit 101 determines the priority of memory release based on the updated information on the memory usage and execution history (S3). The list management unit 101 updates the memory release priority list stored in the memory release priority list storage unit 111 based on the determined memory release priority (S4).

次に、制御ユニット10で行われる処理動作について、図5に示したフローチャートに基づいて説明する。なお、この処理動作は、操作部47を介して操作者からコピー機能の実行が指示された場合や、ネットワークインターフェイス部91を介して外部装置20から印刷データが送信されてきてプリンター機能の実行が指示された場合に行われる動作である。   Next, the processing operation performed in the control unit 10 will be described based on the flowchart shown in FIG. Note that this processing operation is performed when the execution of the copy function is instructed by the operator via the operation unit 47 or when the print data is transmitted from the external device 20 via the network interface unit 91. This is the operation performed when instructed.

まず、メモリー不足判断部102が、実行時に共有メモリー110が使用される上記予め定められた特定の機能としての例えばプリンター機能の実行時に、共有メモリー110にメモリー不足が発生するか否かを判断する(S11)。メモリー不足判断部102が、メモリー不足は発生しないと判断すれば(S11でNO)、制御部100は、画像形成部12を制御することによって、通常の画像処理を実行する(S12)。   First, the memory shortage determination unit 102 determines whether or not there is a memory shortage in the shared memory 110 when executing, for example, the printer function as the predetermined specific function in which the shared memory 110 is used at the time of execution. (S11). If the memory shortage determination unit 102 determines that no memory shortage will occur (NO in S11), the control unit 100 controls the image forming unit 12 to execute normal image processing (S12).

一方、S11において、メモリー不足判断部102が、メモリー不足が発生すると判断した場合(S11でYES)、メモリー確保部103は、メモリー解放優先順位リスト記憶部111からメモリー解放優先順位リストを参照し(S13)、メモリー解放優先順位リストに基づいて、メモリー解放の優先順位の高い機能から順番に検索して、上記予め定められた特定の機能とは異なる機能であって、共有メモリー110を解放させても良い機能が存在するか否かを判断する(S14)。具体的には、メモリー確保部103は、メモリー解放の優先順位の高い機能から順番に、現在実行されていない機能を、共有メモリー110を解放させても良い機能の候補として検索する。すなわち、メモリー確保部103は、実行中の機能は、上記共有メモリー110を解放させても良い機能として選択しない。   On the other hand, if the memory shortage determination unit 102 determines that a memory shortage occurs in S11 (YES in S11), the memory securing unit 103 refers to the memory release priority list from the memory release priority list storage unit 111 ( S13) Based on the memory release priority list, the search is performed in order from the function with the highest memory release priority, and the shared memory 110 is released, which is a function different from the predetermined specific function. It is determined whether there is a good function (S14). Specifically, the memory securing unit 103 searches for a function that is not currently executed as a candidate for a function that may release the shared memory 110 in order from the function with the highest priority of memory release. That is, the memory securing unit 103 does not select the function being executed as a function that may release the shared memory 110.

メモリー確保部103は、メモリーを解放させても良い機能が存在しないと判断すれば(S14でNO)、表示部473に「メモリー不足エラー」と表示させ(S15)、メモリー不足によってプリントができないことを操作者に伝える。外部装置20からプリンター機能の実行が指示されているため、メモリー確保部103は、ネットワークインターフェイス部91を介して外部装置20へ「メモリー不足エラー」のメッセージを送信するようにしてもよい。   If the memory securing unit 103 determines that there is no function that can release the memory (NO in S14), the memory allocating unit 103 displays “memory shortage error” on the display unit 473 (S15), and printing cannot be performed due to memory shortage. To the operator. Since execution of the printer function is instructed from the external device 20, the memory securing unit 103 may transmit a “memory shortage error” message to the external device 20 via the network interface unit 91.

一方、S14において、メモリー確保部103が、メモリーを解放させても良い機能が存在すると判断すれば(S14でYES)、メモリー確保部103は、当該機能に割り当てられている共有メモリー110におけるメモリー部分を解放する(S16)。そして、メモリー確保部103は、メモリー不足が解消したか否かを判断する(S17)。   On the other hand, if the memory securing unit 103 determines in S14 that there is a function that may release the memory (YES in S14), the memory securing unit 103 determines that the memory portion in the shared memory 110 allocated to the function. Is released (S16). Then, the memory securing unit 103 determines whether the memory shortage has been resolved (S17).

メモリー確保部103が、メモリー不足が解消したと判断した場合(S17でYES)、制御部100が、画像形成部12を制御することによって画像処理を実行する(S18)。当該画像処理が終了すると、メモリー確保部103は、メモリーを解放させた上記機能に再びメモリーを割り当て、メモリーの解放を解除する(S19)。   When the memory securing unit 103 determines that the memory shortage has been resolved (YES in S17), the control unit 100 controls the image forming unit 12 to execute image processing (S18). When the image processing is completed, the memory securing unit 103 allocates the memory again to the function that has released the memory, and releases the memory (S19).

一方、S17において、メモリー確保部103が、メモリー不足は解消していないと判断した場合(S17でNO)、処理はS14へ戻り、メモリー不足が解消されるまで、S14,S16,S17の処理動作が繰り返される。但し、予め定められた期間が経過してもメモリー不足が解消されず、S14において、メモリー確保部103が、メモリーを解放させても良い機能が存在しない(すなわち、いくつかの機能に割り当てられていたメモリーを解放させたが、メモリー不足を解消するに至らなかった)と判断すれば(S14でNO)、メモリー確保部103は、表示部473に「メモリー不足エラー」と表示させるとともに、メモリーを解放させた機能に再びメモリーを割り当て、メモリーの解放を解除する(S15)。   On the other hand, if the memory securing unit 103 determines in S17 that the memory shortage has not been resolved (NO in S17), the process returns to S14, and the processing operations of S14, S16, and S17 are performed until the memory shortage is resolved. Is repeated. However, even if a predetermined period elapses, the memory shortage is not resolved, and in S14, there is no function that the memory securing unit 103 may release the memory (that is, it is assigned to some functions). Memory is released, but the memory shortage has not been resolved) (NO in S14), the memory securing unit 103 causes the display unit 473 to display “memory shortage error” and the memory Memory is allocated again to the released function, and the release of the memory is released (S15).

上記実施形態によれば、処理するデータ量が多くなる予め定められた特定の機能、例えばコピー機能やプリンター機能を実行するときに、共有メモリー110にメモリー不足が発生すると判断されると、これらコピー機能やプリンター機能の実行に影響を与えない別の機能であり、メモリー解放優先順位に基づいて選択された機能に割り当てられている共有メモリー110のメモリー部分が解放されてメモリー不足が解消されるので、当該特定の機能の実行のために必要なメモリー領域を確保できる。これにより、共有メモリーを効率的に使用しつつ、さらには、メモリーの解放によって他の機能の実行に不具合が生じる可能性を小さくすることができる。   According to the above embodiment, when it is determined that a memory shortage occurs in the shared memory 110 when executing a predetermined specific function that increases the amount of data to be processed, for example, a copy function or a printer function, these copies are made. This is another function that does not affect the execution of the function or the printer function, and the memory portion of the shared memory 110 allocated to the function selected based on the memory release priority is released, and the memory shortage is solved. Therefore, a memory area necessary for executing the specific function can be secured. As a result, the shared memory can be used efficiently, and further, the possibility of a malfunction occurring in the execution of other functions due to the release of the memory can be reduced.

本発明は上記実施の形態の構成に限られず種々の変形が可能である。また、上記実施形態では、本発明に係る電子機器の一実施形態として画像形成装置の複合機を用いて説明しているが、これは一例に過ぎず、他の電子機器、例えば、コピー機能、プリンター機能を有した他の画像形成装置でもよい。   The present invention is not limited to the configuration of the above embodiment, and various modifications can be made. In the above embodiment, the image forming apparatus is described as an embodiment of the electronic apparatus according to the present invention. However, this is merely an example, and other electronic apparatuses such as a copy function, Another image forming apparatus having a printer function may be used.

また、上記実施形態では、図1乃至図5を用いて上記実施形態により示した構成及び処理は、本発明の一実施形態に過ぎず、本発明を当該構成及び処理に限定する趣旨ではない。   Moreover, in the said embodiment, the structure and process which were shown by the said embodiment using FIG. 1 thru | or FIG. 5 are only one Embodiment of this invention, and are not the meaning which limits this invention to the said structure and process.

1 画像形成装置
10 制御ユニット
12 画像形成部
100 制御部
101 リスト管理部
102 メモリー不足判断部
103 メモリー確保部
110 共有メモリー
111 メモリー解放優先順位リスト記憶部
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 10 Control unit 12 Image forming part 100 Control part 101 List management part 102 Memory shortage determination part 103 Memory securing part 110 Shared memory 111 Memory release priority list storage part

Claims (7)

複数の機能の実行に使用される共有メモリーと、
予め定められた特定の機能を実行するときに、前記共有メモリーにメモリー不足が発生するか否かを判断するメモリー不足判断部と、
前記メモリー不足判断部により前記共有メモリーに前記メモリー不足が発生すると判断されると、前記共有メモリーを用いて実行される前記複数の機能の中から、前記特定の機能の実行に影響を与えない機能を選択して、当該選択した機能に割り当てられているメモリー部分を解放して、前記特定の機能の実行に割り当てるメモリー確保部と、を備え、
前記メモリー確保部は、予め定められた条件に基づいて決定されるメモリー解放優先順位に従って、前記特定の機能の実行に影響を与えない機能を選択する電子機器。
Shared memory used to perform multiple functions;
A memory shortage determination unit that determines whether or not a memory shortage occurs in the shared memory when executing a predetermined specific function;
A function that does not affect execution of the specific function among the plurality of functions executed using the shared memory when the memory shortage determination unit determines that the memory shortage occurs in the shared memory. A memory allocation unit that releases the memory portion allocated to the selected function and allocates the execution of the specific function, and
The memory securing unit is an electronic device that selects a function that does not affect the execution of the specific function according to a memory release priority determined based on a predetermined condition.
前記メモリー解放優先順位を示したメモリー解放優先順位リストを管理し、前記予め定められた条件に基づいて、メモリー解放優先順位を適宜更新するリスト管理部を備え、
前記メモリー確保部は、前記メモリー解放優先順位リストに従って、前記特定の機能の実行に影響を与えない機能を選択する請求項1に記載の電子機器。
Managing a memory release priority list indicating the memory release priority, and a list management unit for appropriately updating the memory release priority based on the predetermined condition,
The electronic device according to claim 1, wherein the memory securing unit selects a function that does not affect execution of the specific function according to the memory release priority list.
前記予め定められた条件に、前記別の各機能に割り当てられているそれぞれのメモリーのメモリー使用量が含まれ、
前記リスト管理部は、前記メモリー使用量が多いほど、メモリー解放優先順位を上位にする請求項2に記載の電子機器。
The predetermined condition includes the memory usage of each memory allocated to each of the other functions,
The electronic device according to claim 2, wherein the list management unit places a higher memory release priority as the memory usage amount increases.
前記予め定められた条件に、前記別の各機能の実行状況が含まれ、
前記リスト管理部は、実行頻度が高くなるに従って、当該実行頻度の高い機能に割り当てられているメモリーについてのメモリー解放優先順位を下位にする請求項2又は請求項3に記載の電子機器。
The predetermined condition includes the execution status of each of the other functions,
The electronic device according to claim 2, wherein the list management unit lowers a memory release priority for a memory allocated to a function having a high execution frequency as the execution frequency increases.
前記メモリー確保部は、実行中の機能は、前記特定の機能の実行に影響を与えない機能として選択しない請求項1乃至請求項4のいずれかに記載の電子機器。   The electronic device according to claim 1, wherein the memory securing unit does not select a function being executed as a function that does not affect the execution of the specific function. 請求項1乃至請求項5のいずれかに記載の電子機器であって、
記録媒体に画像を形成する画像形成部を備える画像形成装置。
An electronic device according to any one of claims 1 to 5,
An image forming apparatus including an image forming unit that forms an image on a recording medium.
前記予め定められた特定の機能が、前記画像形成部に前記記録媒体に画像を形成させる機能である請求項6に記載の画像形成装置。   The image forming apparatus according to claim 6, wherein the predetermined specific function is a function of causing the image forming unit to form an image on the recording medium.
JP2015232396A 2015-11-27 2015-11-27 Electronic device and image forming apparatus Pending JP2017097804A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015232396A JP2017097804A (en) 2015-11-27 2015-11-27 Electronic device and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015232396A JP2017097804A (en) 2015-11-27 2015-11-27 Electronic device and image forming apparatus

Publications (1)

Publication Number Publication Date
JP2017097804A true JP2017097804A (en) 2017-06-01

Family

ID=58803970

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015232396A Pending JP2017097804A (en) 2015-11-27 2015-11-27 Electronic device and image forming apparatus

Country Status (1)

Country Link
JP (1) JP2017097804A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019114879A (en) * 2017-12-22 2019-07-11 京セラドキュメントソリューションズ株式会社 Image forming apparatus and information processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019114879A (en) * 2017-12-22 2019-07-11 京セラドキュメントソリューションズ株式会社 Image forming apparatus and information processing program

Similar Documents

Publication Publication Date Title
JP2014017728A (en) Service providing device, service providing system, and program
JP2017151233A (en) Image formation device, server device and program
JP5950142B1 (en) Image forming apparatus, server apparatus, image forming system, and program
JP2017097804A (en) Electronic device and image forming apparatus
JP6269580B2 (en) Image forming apparatus and genuine product judgment method
JP2012044573A (en) Diagnosis support device, image processing device, diagnosis system and program
JP6558295B2 (en) Image forming apparatus
JP2017083801A (en) Image formation device
JP7003767B2 (en) Image processing equipment and programs
JP2017042969A (en) Image formation device and image formation system
JP2012137520A (en) Image forming apparatus
JP5863701B2 (en) Image forming apparatus and log recording method in image forming apparatus
JP2020015580A (en) Parts management server, parts management system, and program
JP6341177B2 (en) Printer driver and information processing apparatus
JP2011131472A (en) Image processor
JP2019029822A (en) Image processing apparatus
JP2012227621A (en) Image forming apparatus, control method, and control program
JP2016225844A (en) Image formation device, and genuine product determination method
JP2005266599A (en) Image forming apparatus
US9584677B2 (en) Image forming apparatus
JP6311598B2 (en) Image forming apparatus
JP6736997B2 (en) Developing device, image forming device, and method for determining developer retention
JP2017151559A (en) Equipment, information processing system, equipment information transmission method, and program
JP2017198886A (en) Image forming apparatus
JP2020020926A (en) Image forming apparatus