JP2019067335A - Electronic device and memory region allocation program - Google Patents
Electronic device and memory region allocation program Download PDFInfo
- Publication number
- JP2019067335A JP2019067335A JP2017195085A JP2017195085A JP2019067335A JP 2019067335 A JP2019067335 A JP 2019067335A JP 2017195085 A JP2017195085 A JP 2017195085A JP 2017195085 A JP2017195085 A JP 2017195085A JP 2019067335 A JP2019067335 A JP 2019067335A
- Authority
- JP
- Japan
- Prior art keywords
- area
- memory
- control unit
- mode
- system control
- 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
Links
Images
Landscapes
- Memory System (AREA)
Abstract
Description
本発明は、揮発性メモリーの領域割り当てに適した電子機器及びメモリー領域割り当てプログラムに関する。 The present invention relates to an electronic device and memory area allocation program suitable for area allocation of volatile memory.
たとえば、電子機器の一つである、MFP(Multifunction Peripheral)等の画像形成装置においては、印刷機能、コピー機能、FAX(Facsimile)機能、スキャナー機能、ネットワーク経由でのデータ送受信機能等が搭載されている機種がある。また、これらの各種機能を備えた画像形成装置では、画像処理で用いられる揮発性メモリーであるRAM(Random Access Memory)のメモリー領域の割り当てを効率的に行うことで、各種ジョブの処理能力が高められている。 For example, in an image forming apparatus such as MFP (Multifunction Peripheral) which is one of electronic devices, a printing function, a copying function, a fax (Facsimile) function, a scanner function, a data transmitting / receiving function via a network, etc. There is a model that Further, in the image forming apparatus provided with these various functions, the processing capacity of various jobs is improved by efficiently allocating the memory area of random access memory (RAM) which is a volatile memory used in image processing. It is done.
このようなメモリー領域を効率的に割り当てるようにしたものとして、特許文献1では、印刷出力すべき各色ビットマップデータのデータサイズを取得し、取得したデータサイズに応じて、各色ビットマップデータの受信バッファのサイズを設定する印刷制御方法を提案している。
According to
上述した特許文献1の印刷制御方法では、印刷出力すべき各色ビットマップデータのデータサイズに応じて、各色ビットマップデータの受信バッファのサイズを設定するので、RAMを効率的に使用できる。
In the print control method of
ところで、画像形成装置においては、上述した印刷機能、コピー機能、FAX機能、スキャナー機能、データ送受信機能のいずれかが並行処理される場合を想定し、RAMに対し、それぞれの機能に対応したアプリケーションの実行に伴うメモリー領域を割り当てることがある。また、たとえば機能の追加や拡張のためのアプリケーションをEEPROM(electrically erasable and programmable read-only memory)、SSD(Solid State Drive)、HDD(Hard Disk Drive)等の不揮発性メモリーにインストールすることがある。このような場合、機能の追加や拡張のためのアプリケーションによる実行処理速度を上げるために、インストールしたアプリケーションをRAMにロードしてから使用することがある。 By the way, in the image forming apparatus, assuming that any one of the printing function, the copying function, the fax function, the scanner function, and the data transmitting / receiving function described above is processed in parallel, an application corresponding to each function to RAM. Memory area may be allocated for execution. For example, an application for adding or expanding a function may be installed in nonvolatile memory such as electrically erasable and programmable read only memory (EEPROM), solid state drive (SSD), or hard disk drive (HDD). In such a case, the installed application may be loaded into RAM and then used in order to speed up the execution processing by the application for adding or extending the function.
このような場合、特許文献1の印刷制御方法での受信バッファのサイズの設定方法を用いると、RAMにロードしたアプリケーションの実行に伴い、メモリーサイズの不足を生じることがある。このようなメモリーサイズの不足を生じると、アプリケーションの実行に伴うメモリー領域の圧迫が生じ、パフォーマンスの低下や動作不良等の異常を引き起こす可能性がある。
In such a case, when the setting method of the size of the reception buffer in the printing control method of
本発明は、このような状況に鑑みてなされたものであり、上記問題点を解消することができる電子機器及びメモリー領域割り当てプログラムを提供することを目的とする。 The present invention has been made in view of such a situation, and it is an object of the present invention to provide an electronic device and a memory area allocation program capable of solving the above-mentioned problems.
本発明の電子機器は、揮発性メモリーに対し、機能の追加や拡張のためのアプリケーション用の第1の領域と、それぞれ異なる機能用の第2の領域とを割り当てるメモリー管理部と、前記第2の領域のサイズの縮小幅を変えたモード選択画面を表示するパネル部と、前記メモリー管理部に対し、前記モード選択画面で選択されたモードに基づき、メモリー領域の割り当てを指示するシステム制御部とを備え、前記システム制御部は、前記選択されたモードでの前記第2の領域の空き領域を求め、前記メモリー管理部に対し、前記空き領域を前記第1の領域に割り当てさせることを特徴とする。
また、前記第2の領域のサイズの縮小幅は、前記機能毎に異なることを特徴とする。
また、前記システム制御部は、いずれかの前記機能による使用が不能となった場合、前記メモリー管理部に対し、前記不能となった機能用に割り当てられている領域を、前記第1の領域に割り当てさせることを特徴とする。
本発明のメモリー領域割り当てプログラムは、電子機器の揮発性メモリーの領域の割り当てを制御するコンピューターに実行させるメモリー領域割り当てプログラムであって、メモリー管理部により、前記揮発性メモリーに対し、機能の追加や拡張のためのアプリケーション用の第1の領域と、それぞれ異なる機能用の第2の領域とを割り当てる工程と、パネル部により、前記第2の領域のサイズの縮小幅を変えたモード選択画面を表示する工程と、システム制御部により、前記メモリー管理部に対し、前記モード選択画面で選択されたモードに基づき、メモリー領域の割り当てを指示する工程とを前記コンピューターに実行させ、前記システム制御部は、前記選択されたモードでの前記第2の領域の空き領域を求め、前記メモリー管理部に対し、前記空き領域を前記第1の領域に割り当てさせることを特徴とする。
本発明の電子機器及びメモリー領域割り当てプログラムでは、メモリー管理部により、揮発性メモリーに対し、機能の追加や拡張のためのアプリケーション用の第1の領域と、それぞれ異なる機能用の第2の領域とを割り当て、パネル部により、第2の領域のサイズの縮小幅を変えたモード選択画面を表示し、システム制御部により、メモリー管理部に対し、モード選択画面で選択されたモードに基づき、メモリー領域の割り当てを指示する。
また、システム制御部は、選択されたモードでの第2の領域の空き領域を求め、メモリー管理部に対し、空き領域を第1の領域に割り当てさせる。
これにより、機能の追加や拡張のためのアプリケーション用の第1の領域に、第2の領域の空き領域を追加できるので、アプリケーションの実行に伴うメモリー領域の圧迫を回避できる。
The electronic device according to the present invention comprises: a memory management unit which assigns a first area for application for adding or extending a function and a second area for different functions to volatile memory; A panel unit that displays a mode selection screen in which the reduction width of the area size is changed; and a system control unit that instructs the memory management unit to allocate a memory area based on the mode selected on the mode selection screen The system control unit determines a free area of the second area in the selected mode, and causes the memory management unit to allocate the free area to the first area. Do.
Further, the reduction width of the size of the second area is characterized by being different for each of the functions.
In addition, when the system control unit disables the use by any of the functions, the system management unit causes the memory management unit to set an area allocated for the disabled function as the first area. It is characterized by assigning.
The memory area allocation program according to the present invention is a memory area allocation program to be executed by a computer that controls allocation of the volatile memory area of the electronic device, and the memory management unit adds functions to the volatile memory. A step of assigning a first area for application for extension and a second area for different functions, and displaying a mode selection screen in which the reduction width of the size of the second area is changed by the panel unit Causing the computer to execute the following steps: instructing the memory management unit to allocate the memory area based on the mode selected on the mode selection screen by the system control unit; Determine a free area of the second area in the selected mode; And, wherein the causing allocating the free space to the first region.
In the electronic device and memory area allocation program of the present invention, the memory management unit causes the volatile memory to store a first area for application for adding or extending a function, and a second area for different functions. Is assigned, and the panel unit displays the mode selection screen in which the reduction width of the size of the second area is changed, and the system control unit instructs the memory management unit on the basis of the mode selected on the mode selection screen. Instruct the assignment of
Further, the system control unit obtains a free space of the second region in the selected mode, and causes the memory management unit to allocate the free space to the first region.
As a result, since the free area of the second area can be added to the first area for application of function addition or extension, it is possible to avoid pressure on the memory area accompanying the execution of the application.
本発明の電子機器及びメモリー領域割り当てプログラムによれば、アプリケーションの実行に伴うメモリー領域の圧迫を回避できるので、パフォーマンスの低下や動作不良等の異常を防止できる。 According to the electronic device and the memory area allocation program of the present invention, it is possible to avoid the pressure of the memory area accompanying the execution of the application, so that it is possible to prevent an abnormality such as a decrease in performance or a malfunction.
以下、本発明の電子機器の一実施形態を、図1〜図5を参照しながら説明する。なお、以下の説明においての電子機器の一例としては、たとえば印刷機能、コピー機能、FAX(Facsimile)機能、スキャナー機能、ネットワーク経由でのデータ送受信機能等を搭載した複合的な周辺機器であるMFP(Multifunction Peripheral)であるものとする。また、以下においては、たとえば機能の追加や拡張のためのアプリケーションが不揮発性メモリーに記憶されているものとする。不揮発性メモリーとしては、たとえば後述の図1のEEPROM(electrically erasable and programmable read-only memory)116、図示しないSSD(Solid State Drive)、後述の図1のHDD(Hard Disk Drive)106等を用いることができる。なお、機能の追加や拡張のためのアプリケーションについては、説明の都合上、EEPROM116に記憶されているものとする。
Hereinafter, an embodiment of the electronic device of the present invention will be described with reference to FIGS. 1 to 5. An example of the electronic device in the following description is an MFP (a multi-functional peripheral device equipped with a print function, a copy function, a fax (Facsimile) function, a scanner function, a data transmission / reception function via a network, etc.). Multifunction Peripheral). Also, in the following, for example, it is assumed that an application for adding or extending a function is stored in the non-volatile memory. For example, an EEPROM (electrically erasable and programmable read-only memory) 116 shown in FIG. 1 described later, a solid state drive (SSD) (not shown), an HDD (Hard Disk Drive) 106 shown in FIG. Can. An application for adding or extending a function is assumed to be stored in the
まず、図1に示すように、MFP100は、スキャナー部101、プリンター部102、FAX部103、I/F(インターフェース)104、パネル部105及びHDD106の動作を制御する制御部110を備えている。
First, as shown in FIG. 1, the MFP 100 includes a
スキャナー部101は、イメージセンサ(図示省略)によって読み取られる、図示しない用紙上の画像をデジタルの画像データに変換し、制御部110に入力するデバイスである。プリンター部102は、制御部110から出力される印刷データに基づき、図示しない用紙上に画像を印刷するデバイスである。FAX部103は、制御部110から出力されるデータを、電話回線を通じ相手方となるファクシミリへと送信し、また、相手方ファクシミリからのデータを受信して制御部110に入力するデバイスである。
The
I/F104は、ネットワークを介し、図示しない他のMFPやユーザー端末等との通信を受け持つ。なお、I/F104は、図示しないコンテンツサーバーやウェブサーバー等との通信を受け持ってもよい。パネル部105は、たとえばMFP100の印刷機能、コピー機能、FAX機能、スキャナー機能、ネットワーク経由でのデータ送受信機能や、各種設定のための表示を行うタッチパネルとハードウェアキーとを有するデバイスである。また、パネル部105は、後述の図2に示すモード選択画面105Aを表示する。HDD106は、MFP100の種々の機能を提供するためのアプリケーションプログラム等を記憶している記憶デバイスである。また、HDD106は、ユーザー端末側から登録された印刷ジョブを記憶するユーザーボックスを有している。
The I / F 104 is responsible for communication with other MFPs and user terminals (not shown) via a network. The I / F 104 may also be in charge of communication with a content server, a web server, etc. (not shown). The
制御部110は、認証プログラム等のアプリケーションプログラム、画像形成プログラム、及び制御プログラム等を実行してMFP100全体の動作を制御するプロセッサーである。制御部110は、スキャナー制御部111、プリンター制御部112、FAX制御部113、通信制御部114、RAM(Random Access Memory)115、EEPROM(electrically erasable and programmable read-only memory)116、画像処理部117、メモリー管理部118、パネル操作制御部119、HDD制御部120、システム制御部121を備えている。また、これらは、データバス122に接続されている。
スキャナー制御部111は、スキャナー部101の読み取り動作を制御する。プリンター制御部112は、プリンター部102の印刷動作を制御する。FAX制御部113は、FAX部103によるデータの送受信動作を制御する。通信制御部114は、I/F104を介し、ネットワーク経由でのデータ等の送受信の制御を行う。RAM115は、プログラムを実行するためのワークメモリーである。また、RAM115は、詳細については後述するが、メモリー管理部118により、たとえば機能の追加や拡張のためのアプリケーション、印刷機能、コピー機能、FAX機能、スキャナー機能等の使用に適したメモリー領域が割り当てられる。EEPROM116には、各部の動作チェックや起動シーケンスを生成する制御プログラム等が記憶されている。また、EEPROM116には、機能の追加や拡張のためのアプリケーションが記憶されている。
The
画像処理部117は、スキャナー部101によって読み取られた画像データに対する画像処理(ラスタライズ)を行う。また、画像処理部117は、HDD106のユーザーボックスに登録された印刷ジョブに対する画像処理(ラスタライズ)を行う。なお、システム制御部121は、画像処理部117が画像処理した印刷データを、一旦、RAM115に記憶させる。
The
メモリー管理部118は、詳細については後述するが、システム制御部121の指示に従い、RAM115のメモリー領域の割り当てを行う。なお、メモリー管理部118によるメモリー領域の割り当ては、MFP100の電源OFFからの起動時、又は再起動時に行われる。パネル操作制御部119は、パネル部105の表示動作を制御する。また、パネル操作制御部119は、パネル部105を介し、印刷、コピー、FAX、スキャン、ネットワーク経由でのデータ送受信等の設定を受け付ける。また、パネル操作制御部119は、パネル部105を介し、後述の図2(c)に示すモード選択画面105Aでのモード選択を受け付ける。HDD制御部120は、HDD106に対するデータの読み出し及び書き込み等を制御する。システム制御部121は、各部の連携動作等を制御する。また、システム制御部121は、パネル操作制御部119がパネル部105を介してモード選択を受け付けると、メモリー管理部118に対し、RAM115のメモリー領域の割り当てを指示する。
The
次に、図2を参照し、メモリー管理部118によるRAM115のメモリー領域の割り当てについて説明する。なお、以下では、説明の都合上、RAM115のメモリー領域のサイズが256MBであるものとする。また、RAM115のメモリー領域の割り当てにおいては、領域115aを印刷用とし、領域115bをコピー用とし、領域115cをFAX用とし、領域115dをスキャナー用とし、領域115eを機能の追加や拡張のためのアプリケーション用となっているものとする。また、標準設定モードでは、領域115eが128MBに割り当てられ、領域115a〜115dがそれぞれ32MBに割り当てられるものとする。なお、領域115eは、機能の追加や拡張のためのアプリケーションに限らず、たとえば印刷機能、コピー機能、FAX機能、スキャナー機能以外のアプリケーション用としてもよい。また、それぞれの領域115a〜115eのサイズは設定変更可能である。
Next, allocation of a memory area of the
まず、図2(a)は、標準設定モードでのメモリー領域の割り当ての一例を示している。機能の追加や拡張のためのアプリケーションを実行する場合、領域115eにEEPROM116に記憶されているアプリケーションがロードされる。ここで、領域115eが機能の追加や拡張のためのアプリケーションのワーク領域として用いられるが、領域115eにロードしたアプリケーションの実行に伴い、場合によっては領域115eがひっ迫してしまうことがある。このように、領域115eがひっ迫してしまうと、追加又は拡張された機能のパフォーマンスの低下等を引き起こすことも予測される。
First, FIG. 2A shows an example of memory area allocation in the standard setting mode. When executing an application for adding or extending a function, the application stored in the
この場合、図2(b)に示すように、印刷用の領域115a、コピー用の領域115b、FAX用の領域115c、スキャナー用の領域115dのサイズを縮小することで、機能の追加や拡張のためのアプリケーション用の領域115eのサイズを広げることができる。ここで、たとえば印刷用の領域115a、コピー用の領域115b、FAX用の領域115c、スキャナー用の領域115dのサイズをそれぞれ32MBから24MBに変更したとする。これにより、領域115a〜115dが占めていたサイズが128MBから96MBに縮小されることで、32MBの空き領域115fが生じる。この場合、システム制御部121は、印刷用の領域115a、コピー用の領域115b、FAX用の領域115c、スキャナー用の領域115dの縮小に伴う空き領域115fを求める。また、システム制御部121は、MFP100の電源OFFからの起動時、又は再起動時において、メモリー管理部118に対し、求めた空き領域115fを機能の追加や拡張のためのアプリケーション用の領域115eに割り当てるように指示する。これにより、領域115eのサイズは128MBから160MBに増えるため、領域115e内がひっ迫してしまうことを抑制できる。
In this case, as shown in FIG. 2B, by reducing the sizes of the
図2(c)は、パネル部105が表示するメモリー領域の割り当てを選択するモード選択画面105Aを示している。モード選択画面105Aには、自動モードの選択欄105a、印刷優先モードの選択欄105b、コピー優先モードの選択欄105c、FAX優先モードの選択欄105d、スキャナー優先モードの選択欄105e、ユーザー設定モードの選択欄105f、標準設定モードの選択欄105gが表示される。これらの選択欄105a〜105gのいずれかを選択すると、後述の図3及び図4のように、RAM115のメモリー領域の割り当てが変更される。なお、選択欄105gを選択した場合、図2(a)のように、それぞれの領域115a〜115eが割り当てられる。この場合、空き領域115fは生じない。一方、選択欄105a〜115fのいずれかかが選択されると、図2(b)のように、それぞれの領域115a〜115eのサイズが割り当てられる。この場合、空き領域115fが生じる。
FIG. 2C shows a mode selection screen 105A for selecting the allocation of the memory area displayed by the
次に、図3及び図4を参照し、メモリー管理部118によるモード選択に基づいたRAM115のメモリー領域の割り当ての一例について説明する。図3(a)は、図2(c)のモード選択画面105Aで選択欄105aの自動モードが選択された場合のメモリー領域の割り当てを示している。すなわち、自動モードでは、印刷用の領域115a、コピー用の領域115b、FAX用の領域115c、スキャナー用の領域115dのサイズが、それぞれ標準設定モードでの32MBから24MBに変更される。このように、領域115a〜115dが占めていたサイズが128MBから96MBに縮小されることで、32MBの空き領域115fを生じる。この場合、システム制御部121は、MFP100の電源OFFからの起動時、又は再起動時において、メモリー管理部118に対し、空き領域115fを機能の追加や拡張のためのアプリケーション用の領域115eに割り当てるように指示する。
Next, with reference to FIGS. 3 and 4, an example of the allocation of the memory area of the
図3(b)は、図2(c)のモード選択画面105Aで選択欄105bの印刷優先モードが選択された場合のメモリー領域の割り当てを示している。すなわち、印刷優先モードでは、印刷用の領域115aのサイズが標準設定モードでの32MBから30MBに変更される。また、コピー用の領域115b、FAX用の領域115c、スキャナー用の領域115dのサイズが、それぞれ標準設定モードの32MBから24MBに変更される。これにより、領域115a〜115dが占めていたサイズが128MBから102MBに縮小されることで、26MBの空き領域115fを生じる。この場合、上記同様に、システム制御部121は、MFP100の電源OFFからの起動時、又は再起動時において、メモリー管理部118に対し、空き領域115fを機能の追加や拡張のためのアプリケーション用の領域115eに割り当てるように指示する。
FIG. 3B shows the allocation of memory areas when the print priority mode of the
図3(c)は、図2(c)のモード選択画面105Aで選択欄105cのコピー優先モードが選択された場合のメモリー領域の割り当てを示している。すなわち、コピー優先モードでは、コピー用の領域115bのサイズが標準設定モードでの32MBから30MBに変更される。また、印刷用の領域115a、FAX用の領域115c、スキャナー用の領域115dのサイズが、それぞれ標準設定モードでの32MBから24MBに変更される。これにより、領域115a〜115dが占めていたサイズが128MBから102MBに縮小されることで、26MBの空き領域115fが生じる。この場合、上記同様に、システム制御部121は、MFP100の電源OFFからの起動時、又は再起動時において、メモリー管理部118に対し、空き領域115fを機能の追加や拡張のためのアプリケーション用の領域115eに割り当てるように指示する。
FIG. 3C shows the allocation of memory areas when the copy priority mode of the
図4(a)は、図2(c)のモード選択画面105Aで選択欄105dのFAX優先モードが選択された場合のメモリー領域の割り当てを示している。すなわち、FAX優先モードでは、FAX用の領域115cのサイズが標準設定モードでの32MBから30MBに変更される。また、印刷用の領域115a、コピー用の領域115b、スキャナー用の領域115dのサイズが、それぞれ標準設定モードの32MBから24MBに変更される。これにより、領域115a〜115dが占めていたサイズが128MBから102MBに縮小されることで、26MBの空き領域115fを生じる。この場合、上記同様に、システム制御部121は、MFP100の電源OFFからの起動時、又は再起動時において、メモリー管理部118に対し、空き領域115fを機能の追加や拡張のためのアプリケーション用の領域115eに割り当てるように指示する。
FIG. 4A shows the allocation of memory areas when the FAX priority mode in the
図4(b)は、図2(c)のモード選択画面105Aで選択欄105eのスキャナー優先モードが選択された場合のメモリー領域の割り当てを示している。すなわち、スキャナー優先モードでは、スキャナー用の領域115dのサイズが標準設定モードでの32MBから30MBに変更される。また、印刷用の領域115a、コピー用の領域115b、FAX用の領域115cのサイズが、それぞれ標準設定モードでの32MBから24MBに変更される。これにより、領域115a〜115dが占めていたサイズが128MBから102MBに縮小されることで、26MBの空き領域115fを生じる。この場合、上記同様に、システム制御部121は、MFP100の電源OFFからの起動時、又は再起動時において、メモリー管理部118に対し、空き領域115fを機能の追加や拡張のためのアプリケーション用の領域115eに割り当てるように指示する。
FIG. 4B shows the allocation of memory areas when the scanner priority mode in the
図4(c)は、図2(c)のモード選択画面105Aで選択欄105fのユーザー設定モードが選択された場合のメモリー領域の割り当てを示している。すなわち、ユーザー設定モードでは、印刷用の領域115a、コピー用の領域115b、FAX用の領域115c、スキャナー用の領域115dのサイズを任意に変更できる。ただし、この場合、領域115a〜115dの全体のサイズが標準設定モードでの領域115a〜115dの全体のサイズに対し、縮小させるように変更する。このように、領域115a〜115dが占めていたサイズが標準設定モードでの128MBからx×4MBに変更されることで、yMBの空き領域115fを生じる。この場合、上記同様に、システム制御部121は、MFP100の電源OFFからの起動時、又は再起動時において、メモリー管理部118に対し、空き領域115fを機能の追加や拡張のためのアプリケーション用の領域115eに割り当てるように指示する。
FIG. 4C shows allocation of memory areas when the user setting mode of the selection field 105f is selected on the mode selection screen 105A of FIG. 2C. That is, in the user setting mode, the sizes of the
なお、システム制御部121は、印刷機能、コピー機能、FAX機能、スキャナー機能のいずれかが何らかの原因によって不能となった場合、不能となった機能に対応する領域115a〜115dを開放してもよい。また、システム制御部121は、メモリー管理部118に対し、開放した領域115a〜115dを機能の追加や拡張のためのアプリケーション用の領域115eに割り当てるように指示してもよい。
If any of the print function, the copy function, the fax function, and the scanner function is disabled due to any cause, the
次に、図5を参照し、RAM115の領域115a〜115eの割り当て処理について説明する。なお、以下では、モード選択画面105Aから印刷優先モードの選択欄105bが選択される場合として説明する。また、RAM115の領域115a〜115eの割り当てについては、MFP100の再起動時に実行されるものとして説明する。
Next, with reference to FIG. 5, allocation processing of the
(ステップS101)
システム制御部121は、モード選択画面105Aの表示が指示されたかどうかを判断する。
この場合、システム制御部121は、パネル操作制御部119からのパネル部105を介してのモード選択画面105Aの表示の指示を受け付けたことを示す通知が無ければ、モード選択画面105Aの表示が指示されないと判断する(ステップS101:No)。
これに対し、システム制御部121は、パネル操作制御部119からのパネル部105を介してのモード選択画面105Aの表示の指示を受け付けたことを示す通知が有れば、モード選択画面105Aの表示が指示されたと判断し(ステップS101:Yes)、ステップS102に移行する。
このとき、システム制御部121は、パネル操作制御部119に対し、パネル部105へのモード選択画面105Aの表示を指示する。
(Step S101)
The
In this case, if there is no notification indicating that the instruction to display mode selection screen 105A from panel
On the other hand, if there is a notification indicating that the instruction for displaying mode selection screen 105A from panel
At this time, the
(ステップS102)
システム制御部121は、モードが選択されたかどうかを判断する。
この場合、システム制御部121は、パネル操作制御部119からのパネル部105を介しての印刷優先モードの選択欄105bが選択されたことを示す通知が無ければモードが選択されないと判断し(ステップS102:No)、ステップS106に移行する。なお、システム制御部121は、パネル部105にモード選択画面105Aが表示されてから、一定時間(たとえば15秒)経過するのを待ち、この一定時間内にパネル操作制御部119からのパネル部105を介しての印刷優先モードの選択欄105bが選択されたことを示す通知が無ければステップS106に移行してもよい。
これに対し、システム制御部121は、パネル操作制御部119からのパネル部105を介しての印刷優先モードの選択欄105bが選択されたことを示す通知が有ればモードが選択されたと判断し(ステップS102:Yes)、ステップS103に移行する。
(Step S102)
The
In this case, the
On the other hand, if there is a notification from the panel
(ステップS103)
システム制御部121は、選択されたモードを記憶させる。
この場合、システム制御部121は、たとえばEEPROM116に、選択された印刷優先モードを記憶させる。
(Step S103)
The
In this case, the
(ステップS104)
システム制御部121は、再起動が指示されたかどうかを判断する。
この場合、システム制御部121は、パネル操作制御部119からのパネル部105を介して再起動の指示を受け付けたことを示す通知が無ければ再起動が指示されないと判断する(ステップS104:No)。
これに対し、システム制御部121は、パネル操作制御部119からのパネル部105を介して再起動の指示を受け付けたことを示す通知が有れば再起動が指示されたと判断し(ステップS104:Yes)、ステップS105に移行する。
(Step S104)
The
In this case, the
On the other hand, if there is a notification indicating that the restart instruction has been received from panel
(ステップS105)
システム制御部121は、再起動処理を実行する。
この場合、システム制御部121は、たとえばEEPROM116に記憶されている起動シーケンス等を実行する。
(Step S105)
The
In this case,
(ステップS106)
システム制御部121は、モードの変更が有るかどうかを判断する。
この場合、システム制御部121は、たとえばEEPROM116に、ステップS102で選択された印刷優先モードが記憶されていなければ、モードの変更が無いと判断し(ステップS106:No)、ステップS108に移行する。
これに対し、システム制御部121は、たとえばEEPROM116に、ステップS102で選択された印刷優先モードが記憶されていれば、モードの変更が有ると判断し(ステップS106:Yes)、ステップS107に移行する。
(Step S106)
The
In this case, if, for example, the print priority mode selected in step S102 is not stored in the
On the other hand, if the print priority mode selected in step S102 is stored in, for example,
(ステップS107)
システム制御部121は、選択されたモードでの割り当てを指示する。
この場合、システム制御部121は、メモリー管理部118に対し、選択された印刷優先モードでのメモリー領域の割り当てを指示する。
このとき、メモリー管理部118は、図3(b)に示したように、印刷用の領域115aのサイズを30MBに変更する。また、コピー用の領域115b、FAX用の領域115c、スキャナー用の領域115dのサイズを、それぞれ24MBに変更する。これにより、領域115a〜115dが占めていたサイズが標準設定モードの128MBから102MBに縮小されることで、26MBの空き領域115fが生じる。また、システム制御部121は、26MBの空き領域115fを、機能の追加や拡張のためのアプリケーション用の領域115eに割り当てるように指示することで、メモリー管理部118が空き領域115fを領域115eに割り当てる。
(Step S107)
The
In this case, the
At this time, as illustrated in FIG. 3B, the
(ステップS108)
システム制御部121は、前回のモードでの割り当てを指示する。
この場合、システム制御部121は、メモリー管理部118に対し、再起動前のモードでのメモリー領域の割り当てを指示する。
このとき、システム制御部121は、再起動前のモードが、たとえば図3(c)に示したコピー優先モードであるとき、メモリー管理部118に対し、コピー優先モードでのメモリー領域の割り当てを指示する。
このとき、メモリー管理部118は、図3(c)に示したように、コピー優先モードでは、コピー用の領域115bのサイズを30MBに割り当てる。また、印刷用の領域115a、FAX用の領域115c、スキャナー用の領域115dのサイズを、それぞれ24MBに割り当てる。この場合、領域115a〜115dが占めていたサイズが標準設定モードでの128MBから102MBに変更されることで、26MBの空き領域115fが生じる。また、システム制御部121は、26MBの空き領域115fを、機能の追加や拡張のためのアプリケーション用の領域115eに割り当てるように指示することで、メモリー管理部118が空き領域115fを領域115eに割り当てる。
(Step S108)
The
In this case, the
At this time, when the mode before restart is, for example, the copy priority mode shown in FIG. 3C, the
At this time, as shown in FIG. 3C, in the copy priority mode, the
このように、本実施形態では、メモリー管理部118により、RAM115(揮発性メモリー)に対し、機能の追加や拡張のためのアプリケーション用の領域115e(第1の領域)と、それぞれ異なる機能用の領域115a〜115d(第2の領域)とを割り当て、パネル部105により、領域115a〜115d(第2の領域)のサイズの縮小幅を変えたモード選択画面105Aを表示し、システム制御部121により、メモリー管理部118に対し、モード選択画面105Aで選択されたモードに基づき、メモリー領域の割り当てを指示する。また、システム制御部121は、選択されたモードでの領域115a〜115d(第2の領域)の空き領域115fを求め、メモリー管理部118に対し、空き領域115fを領域115e(第1の領域)に割り当てさせる。
As described above, in the present embodiment, the
これにより、機能の追加や拡張のためのアプリケーション用の領域115e(第1の領域)に、領域115a〜115d(第2の領域)の空き領域115fを追加できるので、アプリケーションの実行に伴うメモリー領域の圧迫を回避でき、パフォーマンスの低下や動作不良等の異常を防止できる。
As a result, since the
なお、本実施形態では、電子機器をMFP100とした場合としているが、この例に限らず、多機能プリンターや、PC(Personal Computer)等の他の電子機器に適用してもよい。
In the present embodiment, the electronic device is assumed to be the
100 MFP
101 スキャナー部
102 プリンター部
103 FAX部
104 I/F
105 パネル部
106 HDD
105A モード選択画面
105a〜105g 選択欄
110 制御部
111 スキャナー制御部
112 プリンター制御部
113 FAX制御部
114 通信制御部
115 RAM
116 EEPROM
115a〜115e 領域
117 画像処理部
118 メモリー管理部
119 パネル操作制御部
120 HDD制御部
121 システム制御部
122 データバス
100 MFP
101
105
105A
116 EEPROM
115a to 115e
Claims (4)
前記第2の領域のサイズの縮小幅を変えたモード選択画面を表示するパネル部と、
前記メモリー管理部に対し、前記モード選択画面で選択されたモードに基づき、メモリー領域の割り当てを指示するシステム制御部とを備え、
前記システム制御部は、前記選択されたモードでの前記第2の領域の空き領域を求め、前記メモリー管理部に対し、前記空き領域を前記第1の領域に割り当てさせる
ことを特徴とする電子機器。 A memory management unit that allocates, to volatile memory, a first area for an application for adding or expanding a function and a second area for different functions;
A panel unit that displays a mode selection screen in which the reduction width of the size of the second area is changed;
A system control unit for instructing the memory management unit to allocate a memory area based on the mode selected on the mode selection screen;
The system control unit determines an empty area of the second area in the selected mode, and causes the memory management unit to allocate the empty area to the first area. .
メモリー管理部により、前記揮発性メモリーに対し、機能の追加や拡張のためのアプリケーション用の第1の領域と、それぞれ異なる機能用の第2の領域とを割り当てる工程と、
パネル部により、前記第2の領域のサイズの縮小幅を変えたモード選択画面を表示する工程と、
システム制御部により、前記メモリー管理部に対し、前記モード選択画面で選択されたモードに基づき、メモリー領域の割り当てを指示する工程とを前記コンピューターに実行させ、
前記システム制御部は、前記選択されたモードでの前記第2の領域の空き領域を求め、前記メモリー管理部に対し、前記空き領域を前記第1の領域に割り当てさせる
ことを特徴とするメモリー領域割り当てプログラム。 A memory area allocation program to be executed by a computer that controls allocation of an area of volatile memory of an electronic device, comprising:
Assigning a first area for application for function addition or expansion and a second area for different functions to the volatile memory by the memory management unit;
Displaying a mode selection screen in which the reduction width of the size of the second area is changed by the panel unit;
Causing the system control unit to execute the step of instructing the memory management unit to allocate a memory area based on the mode selected on the mode selection screen,
The system control unit determines a free area of the second area in the selected mode, and causes the memory management unit to allocate the free area to the first area. Allocation program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017195085A JP2019067335A (en) | 2017-10-05 | 2017-10-05 | Electronic device and memory region allocation program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017195085A JP2019067335A (en) | 2017-10-05 | 2017-10-05 | Electronic device and memory region allocation program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019067335A true JP2019067335A (en) | 2019-04-25 |
Family
ID=66340074
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017195085A Pending JP2019067335A (en) | 2017-10-05 | 2017-10-05 | Electronic device and memory region allocation program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2019067335A (en) |
-
2017
- 2017-10-05 JP JP2017195085A patent/JP2019067335A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6201944B2 (en) | Image processing apparatus, image processing method and image processing program in the same | |
JP6515799B2 (en) | Electronic equipment and memory life warning program | |
JP6524928B2 (en) | Image processing apparatus, memory control program and memory control method | |
JP4852558B2 (en) | Composite device and memory management method in composite device | |
US10652420B2 (en) | Electronic apparatus and non-transitory computer-readable recording medium for efficiently executing setting changes after setup completion | |
US20170060644A1 (en) | Image processing apparatus, control task allocation method, and recording medium | |
JP2019067335A (en) | Electronic device and memory region allocation program | |
US10956090B2 (en) | Memory system and electronic apparatus | |
JP5233608B2 (en) | Image forming apparatus, image data transfer method, and program | |
JP5232728B2 (en) | Image forming apparatus | |
JP7158656B2 (en) | Image forming apparatus, image forming method and image forming program | |
JP2019036905A (en) | Electronic apparatus and memory management program | |
JP6669101B2 (en) | Electronic device and startup sequence generation program | |
JP5915670B2 (en) | Image processing apparatus, image processing method and image processing program in the same | |
JP5538334B2 (en) | Image forming apparatus and job control program | |
JP6733592B2 (en) | Image forming apparatus and image forming program | |
JP2020031307A (en) | Electronic apparatus and memory management program | |
JP5076442B2 (en) | Image processing device | |
US9542308B2 (en) | Electronic device that completes execution of task immediately, method for managing memory, and recording medium | |
JP6579087B2 (en) | Electronic device and startup sequence generation program | |
JP6702681B2 (en) | Information processing apparatus, information processing method, and program | |
JP2019129425A (en) | Memory management device and memory management program | |
JP2018088053A (en) | Image forming device and image forming program | |
JP6680253B2 (en) | Image forming apparatus and image forming program | |
JP2020057960A (en) | Electronic apparatus and memory management program |