JP2021041700A - Image formation apparatus, control method of the same, and program - Google Patents

Image formation apparatus, control method of the same, and program Download PDF

Info

Publication number
JP2021041700A
JP2021041700A JP2020182555A JP2020182555A JP2021041700A JP 2021041700 A JP2021041700 A JP 2021041700A JP 2020182555 A JP2020182555 A JP 2020182555A JP 2020182555 A JP2020182555 A JP 2020182555A JP 2021041700 A JP2021041700 A JP 2021041700A
Authority
JP
Japan
Prior art keywords
program
screen
image forming
forming apparatus
login
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
JP2020182555A
Other languages
Japanese (ja)
Other versions
JP7037615B2 (en
Inventor
浩史 大矢
Hiroshi Oya
浩史 大矢
康則 島川
Yasunori Shimakawa
康則 島川
池田 篤
Atsushi Ikeda
篤 池田
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2020182555A priority Critical patent/JP7037615B2/en
Publication of JP2021041700A publication Critical patent/JP2021041700A/en
Application granted granted Critical
Publication of JP7037615B2 publication Critical patent/JP7037615B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Facsimiles In General (AREA)

Abstract

To solve such a problem that all the users can use all the menus since the restriction on a function performed by a log-in program does not work when the log-in program is forcibly terminated in a case where abnormality occurs in the log-in program.SOLUTION: An image formation apparatus for authenticating a user by a log-in program that operates on firmware, when detecting abnormality in the log-in program, displays a screen that does not accept an operation of executing a job by a user through operation means without terminating the log-in program, and permits the acceptance of the operation of executing the job by the user through the operation means in response to the acceptance of the operation of invalidating the log-in program by the user.SELECTED DRAWING: Figure 7

Description

本発明は、画像形成装置及びその制御方法とプログラムに関する。 The present invention relates to an image forming apparatus and a control method and program thereof.

昨今、ファームウェア上で任意のアプリケーションを動作させることができる画像形成装置が広く使われている。また、比較的廉価な画像形成装置においても、画面の描画に関わる複雑な画面管理処理(ウィンドウマネージャ)を備えることなく、ファームウェア上で任意のアプリケーションを動作させることができるようになっている。 Nowadays, an image forming apparatus capable of running an arbitrary application on firmware is widely used. Further, even in a relatively inexpensive image forming apparatus, it is possible to operate an arbitrary application on the firmware without providing a complicated screen management process (window manager) related to screen drawing.

一方、認証されたユーザにだけ画像形成装置の使用を認めるデバイスログイン機能が知られている(例えば特許文献1参照)。上記のファームウェア上で任意のアプリケーションを動作させることができる画像形成装置でも、デバイスログイン機能が任意のアプリケーションの一つとして実現されている。以降、このようなログイン機能を備えたアプリケーションをログインプログラムと呼ぶ。このようなデバイスログイン機能を使用することにより、ログインしたユーザごとに、使用できる機能の制限を実現することができる。 On the other hand, there is known a device login function that allows only authenticated users to use the image forming apparatus (see, for example, Patent Document 1). The device login function is realized as one of the arbitrary applications even in the image forming apparatus capable of operating an arbitrary application on the above firmware. Hereinafter, an application having such a login function will be referred to as a login program. By using such a device login function, it is possible to limit the functions that can be used for each logged-in user.

特開2004−122778号公報Japanese Unexamined Patent Publication No. 2004-122778

一般的に、アプリケーションに異常が発生した場合は、そのアプリケーションを強制終了させることが多い。しかし、ログインプログラムで異常が発生した場合、そのログインプログラムを強制終了すると、ログインプログラムが行っている機能の制限が作動しなくなり、全てのユーザが全メニューを使用できるようになってしまう。特に管理者メニューには、管理者のみがアクセスすべき設定(例えばセキュリティの設定など)もあり、全てのユーザが全メニューを使用できるようになるのは、様々な不具合を発生させるおそれがある。 In general, when an error occurs in an application, the application is often forcibly terminated. However, if an error occurs in the login program, if the login program is forcibly terminated, the restrictions on the functions performed by the login program will not be activated, and all users will be able to use all menus. In particular, the administrator menu has settings that only the administrator should access (for example, security settings), and making all menus available to all users may cause various problems.

本発明の目的は、上記従来技術の課題を解決することにある。 An object of the present invention is to solve the above-mentioned problems of the prior art.

本発明の目的は、ログインプログラムで異常が発生した場合であっても、実行できる機能を制限しながら、正常に動作できる状態にする技術を提供することにある。 An object of the present invention is to provide a technique for enabling normal operation while limiting the functions that can be executed even when an abnormality occurs in the login program.

上記目的を達成するために本発明の一態様に係る画像形成装置は以下のような構成を備える。即ち、
ファームウェア上で動作するログインプログラムによりユーザの認証を行う画像形成装置であって、
操作手段と、
前記ログインプログラムの異常を検知すると、前記ログインプログラムを終了させることなく前記操作手段を介したユーザによるジョブを実行させる操作を受付けない画面を表示し、ユーザにより前記ログインプログラムを無効にする操作を受付けたことに応じて、前記操作手段を介してユーザによるジョブを実行させる前記操作を受付けることを許可する制御手段と、を有することを特徴とする。
In order to achieve the above object, the image forming apparatus according to one aspect of the present invention has the following configuration. That is,
An image forming device that authenticates a user by a login program that runs on the firmware.
Operation means and
When an abnormality of the login program is detected, a screen is displayed in which the operation of not executing the job by the user via the operation means is displayed without terminating the login program, and the operation of disabling the login program is accepted by the user. It is characterized by having a control means for permitting the operation to be executed by the user via the operation means.

本発明によれば、ログインプログラムで異常が発生した場合であっても、実行できる機能を制限しながら、正常に動作する状態にできるという効果がある。 According to the present invention, even if an abnormality occurs in the login program, there is an effect that it can be put into a state of normal operation while limiting the functions that can be executed.

本発明のその他の特徴及び利点は、添付図面を参照とした以下の説明により明らかになるであろう。なお、添付図面においては、同じ若しくは同様の構成には、同じ参照番号を付す。 Other features and advantages of the present invention will become apparent in the following description with reference to the accompanying drawings. In the attached drawings, the same or similar configurations are designated by the same reference numbers.

添付図面は明細書に含まれ、その一部を構成し、本発明の実施形態を示し、その記述と共に本発明の原理を説明するために用いられる。
本発明の実施形態に係るMFPのハードウェア構成を説明するブロック図。 実施形態に係るMFPのソフトウェア構成を説明するブロック図。 実施形態に係るMFPにおける、拡張アプリケーションによるプログラムの起動処理を説明するフローチャート。 実施形態に係るMFPにおける、画面占有要求受付モジュールの動作を説明するフローチャート。 実施形態に係るMFPにおける、描画要求受付モジュールの動作を説明するフローチャート。 実施形態に係るMFPにおける、画面解放要求受付モジュールの動作を説明するフローチャート。 実施形態に係るMFPのVM/FWによる、拡張アプリケーションにインストールされたプログラムの異常検出処理を示すフローチャート。 実施形態に係るUIデバイス制御部における表示に関わるモジュールの詳細を説明するソフトウェア構成図。 図5のS507で転送されるログイン画面の一例を示す図。 実施形態に係るMFPにおいて、ユーザによる操作部の操作を検出する処理を示すフローチャート。 実施形態に係るUIロック画面の画面例を示す図。 実施形態に係るプログラム強制終了の確認画面の一例を示す図。
The accompanying drawings are included in the specification and are used to form a part thereof, show an embodiment of the present invention, and explain the principle of the present invention together with the description thereof.
The block diagram explaining the hardware configuration of the MFP which concerns on embodiment of this invention. The block diagram explaining the software structure of the MFP which concerns on embodiment. The flowchart explaining the program start process by the extended application in the MFP which concerns on embodiment. The flowchart explaining the operation of the screen occupancy request reception module in the MFP which concerns on embodiment. The flowchart explaining the operation of the drawing request reception module in the MFP which concerns on embodiment. The flowchart explaining the operation of the screen release request reception module in the MFP which concerns on embodiment. The flowchart which shows the abnormality detection processing of the program installed in the extended application by the VM / FW of the MFP which concerns on embodiment. The software configuration diagram explaining the details of the module related to the display in the UI device control part which concerns on embodiment. The figure which shows an example of the login screen transferred in S507 of FIG. The flowchart which shows the process which detects the operation of the operation part by the user in the MFP which concerns on embodiment. The figure which shows the screen example of the UI lock screen which concerns on embodiment. The figure which shows an example of the confirmation screen of the program forcible termination which concerns on embodiment.

以下、図面を参照して本発明の実施の形態を詳しく説明する。なお、以下の実施の形態は特許請求の範囲に係る発明を限定するものでなく、また実施の形態で説明されている特徴の組み合わせの全てが発明の解決手段に必須のものとは限らない。尚、本実施形態では、本発明の画像形成装置に係る実施形態を多機能処理装置(MFP)を例に説明するが、本発明はこのようなMFPに限定されない。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. It should be noted that the following embodiments do not limit the invention according to the claims, and not all combinations of features described in the embodiments are essential for the means for solving the invention. In the present embodiment, the embodiment related to the image forming apparatus of the present invention will be described by taking a multifunction device (MFP) as an example, but the present invention is not limited to such an MFP.

図1は、本発明の実施形態に係るMFP100のハードウェア構成を説明するブロック図である。 FIG. 1 is a block diagram illustrating a hardware configuration of the MFP 100 according to the embodiment of the present invention.

MFP100は、CPU101,ROM102,RAM103、表示コントローラ104、表示部105、操作コントローラ106、操作部107を備える。またMFP100は、eMMCホストコントローラ108、eMMC109、読取コントローラ110、読取部111、記録コントローラ112、記録部113を備える。更に、MFP100は、USBホストコントローラ114、モデム115、網制御ユニット(NCU)116、ネットワークインタフェースカード(NIC)117を備えている。 The MFP 100 includes a CPU 101, a ROM 102, a RAM 103, a display controller 104, a display unit 105, an operation controller 106, and an operation unit 107. The MFP 100 includes an eMMC host controller 108, an eMMC 109, a reading controller 110, a reading unit 111, a recording controller 112, and a recording unit 113. Further, the MFP 100 includes a USB host controller 114, a modem 115, a network control unit (NCU) 116, and a network interface card (NIC) 117.

CPU101は、システムバス118に接続される各デバイスを総括的に制御する。CPU101は、電源が供給されると、ROM102に記憶されたブートプログラムを実行する。通常、ブートプログラムは、ストレージ(例えばeMMC109)に保存されているメインプログラムをRAM103に展開し、その展開されたメインプログラムの先頭にジャンプする。RAM103は、メインプログラムのロード場所としてだけでなく、メインプログラムのワークエリアなどとしても機能する。CPU101は、フローチャートを参照して後述する制御を実行して、本実施形態に係る各種処理を実行する。 The CPU 101 comprehensively controls each device connected to the system bus 118. When the power is supplied, the CPU 101 executes the boot program stored in the ROM 102. Normally, the boot program expands the main program stored in the storage (for example, eMMC109) into the RAM 103, and jumps to the beginning of the expanded main program. The RAM 103 functions not only as a load location for the main program but also as a work area for the main program. The CPU 101 executes various processes according to the present embodiment by executing the control described later with reference to the flowchart.

表示コントローラ104は、表示部105への描画を制御する。表示部105は、WVGAサイズのフルビットマップの表示部である。操作コントローラ106は、操作部107からの入力を制御する。操作部107は、表示部105に重畳されたタッチパネル、及び各種ハードキー等を含む。読取部111は原稿の読み取りを行う。読取部111には、オプションとしてオートドキュメントフィーダ(不図示)が装着されており、複数枚の原稿を自動的に給紙して読み取ることができる。読取部111は読取コントローラ110に接続されており、CPU101は、読取コントローラ110を介して読取部111とやり取りする。 The display controller 104 controls drawing on the display unit 105. The display unit 105 is a WVGA size full bitmap display unit. The operation controller 106 controls the input from the operation unit 107. The operation unit 107 includes a touch panel superimposed on the display unit 105, various hard keys, and the like. The reading unit 111 reads the original. An auto document feeder (not shown) is attached to the reading unit 111 as an option, and a plurality of originals can be automatically fed and read. The reading unit 111 is connected to the reading controller 110, and the CPU 101 communicates with the reading unit 111 via the reading controller 110.

記録部113は、例えば電子写真方式で記録紙(シート)に画像を形成(印刷)する。記録部113は記録コントローラ112に接続されており、CPU101は記録コントローラ112を介して記録部113とやり取りする。USBホストコントローラ114は、USBのプロトコル制御を受け持ち、USBメモリ(不図示)などUSBデバイスに対するアクセスを仲介する。モデム115は、ファクシミリ通信に必要な信号の変調・復調を行う。このモデム115はNCU116に接続されている。モデム115で変調された信号は、NCU116を介して公衆回線網(PSTN)へ送出される。NIC117は、LANを介して、メールやファイルなどを、サーバなどと双方向にやり取りする。 The recording unit 113 forms (prints) an image on a recording paper (sheet) by, for example, an electrophotographic method. The recording unit 113 is connected to the recording controller 112, and the CPU 101 communicates with the recording unit 113 via the recording controller 112. The USB host controller 114 is in charge of USB protocol control and mediates access to a USB device such as a USB memory (not shown). Modem 115 modulates and demodulates signals required for facsimile communication. This modem 115 is connected to the NCU 116. The signal modulated by the modem 115 is transmitted to the public switched telephone network (PSTN) via the NCU 116. The NIC 117 bidirectionally exchanges e-mails, files, and the like with a server and the like via a LAN.

実施形態に係るMFP100は、ストレージとしてeMMC109を備える。CPU101は、eMMCホストコントローラ108を介してeMMC109にアクセスしてデータの読み書きを行う。 The MFP 100 according to the embodiment includes an eMMC 109 as a storage. The CPU 101 accesses the eMMC 109 via the eMMC host controller 108 to read and write data.

図2は、実施形態に係るMFP100のソフトウェア構成を説明するブロック図である。尚、図2において実線で示した各部は、CPU101が前述したブートプログラムでRAM103に展開したプログラムを実行することにより実現されるソフトウェアモジュールである。また図2において、図1と共通する部分は同じ参照番号で示している。 FIG. 2 is a block diagram illustrating a software configuration of the MFP 100 according to the embodiment. Each part shown by a solid line in FIG. 2 is a software module realized by the CPU 101 executing a program expanded in the RAM 103 by the boot program described above. Further, in FIG. 2, the parts common to those in FIG. 1 are indicated by the same reference numbers.

OS(オペレーティングシステム)201によって、メインプログラムの後述するそれぞれのモジュールの実行が管理・制御されている。OS201には、デバイスドライバ208が組み合わされている。デバイスドライバ208は、表示コントローラ104、操作コントローラ106、読取コントローラ110などのハードウェアデバイスとのやり取りを仲介する。 The OS (operating system) 201 manages and controls the execution of each module described later in the main program. The device driver 208 is combined with the OS 201. The device driver 208 mediates communication with hardware devices such as the display controller 104, the operation controller 106, and the read controller 110.

UI(ユーザインターフェース)202は、表示部105及び操作部107を介して各種情報をユーザに提供するとともに、ユーザからの各種指示を受け付ける。ジョブ制御部203は、コピーやプリント、ファックスなどのジョブを受け付け、受け付けたジョブの実行を制御する。記憶部206は、例えばファクシミリ送受信する画像やユーザ設定などのデータを、物理的にeMMC109へ格納して管理するソフトウェアモジュールである。例えば、本実施形態に係るMFP100において、ジョブ制御部203がファックスジョブを受け付けると、スキャン部207はそのジョブを受けて読取部111を制御して原稿を読み取る。そして、その原稿の読み取りにより作成した画像データを記憶部206へ格納する。記憶部206に格納された画像データは、ファクシミリ部204によって読み出され、モデム115、NCU116を介して相手先にファクシミリ送信される。また、モデム115、NCU116を介して相手先からファクシミリ受信した画像データは、ファクシミリ部204によって取り込まれ、記憶部206へ格納される。また送信部205は、記憶部206に記憶している画像データをファイル転送プロトコルにより送信し、また受信した画像データを記憶部206へ格納する。 The UI (user interface) 202 provides various information to the user via the display unit 105 and the operation unit 107, and receives various instructions from the user. The job control unit 203 accepts jobs such as copying, printing, and faxing, and controls the execution of the accepted jobs. The storage unit 206 is a software module that physically stores and manages data such as images and user settings sent and received by facsimile in the eMMC 109. For example, in the MFP 100 according to the present embodiment, when the job control unit 203 receives a fax job, the scanning unit 207 receives the job and controls the reading unit 111 to read the document. Then, the image data created by reading the original is stored in the storage unit 206. The image data stored in the storage unit 206 is read by the facsimile unit 204 and is facsimile-transmitted to the other party via the modem 115 and the NCU 116. Further, the image data facsimile-received from the other party via the modem 115 and the NCU 116 is taken in by the facsimile unit 204 and stored in the storage unit 206. Further, the transmission unit 205 transmits the image data stored in the storage unit 206 by the file transfer protocol, and stores the received image data in the storage unit 206.

本実施形態に係るMFP100は、ファームウェア上で任意のアプリケーションプログラム(拡張アプリケーション)を動作させることができるVM(Virtual Machine)/FW(Framework)209を備える。なお、VM(Virtual Machine)/FW(Framework)209は、ファームウェアの一部である。拡張アプリケーション210は、スクリプト言語で記述された任意のプログラム等であり、例えば、バイトコードを解釈して実行するインタープリタであるJava(登録商標)や、Luaなどの言語系を用いてもよい。VM/FW209は、スクリプト言語や所定の高級言語で記述された任意のプログラムを拡張アプリケーション210としてインストールする。また或いは、拡張アプリケーション210からアンインストールする役割を受け持つ。またVM/FW209は、拡張アプリケーション210としてインストールされた任意のプログラムで実現される機能と既存機能との調停等も受け持つ。そして、VM/FW209は、記述されているスクリプト言語を解釈して実行する。またVM/FW209は、拡張アプリケーション210としてインストールされた任意のプログラムに関連のあるイベントの発生時に、拡張アプリケーション210に対してメッセージを送信する。ここでイベントとは、例えばUI202で検知されたキー入力や、VM/FW209が管理するタイマの満了などである。VM/FW209は、拡張アプリケーション210に送信したメッセージに対する応答がない場合など、拡張アプリケーション210としてインストールされた任意のプログラムの異常を検知した場合、そのプログラムを強制終了する。 The MFP 100 according to the present embodiment includes a VM (Virtual Machine) / FW (Framework) 209 capable of operating an arbitrary application program (extended application) on the firmware. The VM (Virtual Machine) / FW (Framework) 209 is a part of the firmware. The extension application 210 is an arbitrary program or the like written in a script language. For example, a language system such as Java (registered trademark) or Lua, which is an interpreter that interprets and executes a bytecode, may be used. The VM / FW 209 installs an arbitrary program written in a script language or a predetermined high-level language as an extension application 210. Alternatively, it is responsible for uninstalling from the extension application 210. In addition, the VM / FW 209 is also in charge of arbitration between the function realized by an arbitrary program installed as the extension application 210 and the existing function. Then, the VM / FW 209 interprets and executes the described script language. The VM / FW 209 also sends a message to the extension application 210 when an event related to any program installed as the extension application 210 occurs. Here, the event is, for example, a key input detected by UI202, an expiration of a timer managed by VM / FW209, or the like. When the VM / FW 209 detects an abnormality in any program installed as the extended application 210, such as when there is no response to the message sent to the extended application 210, the VM / FW 209 forcibly terminates the program.

こうして実施形態に係るMFP100は、機能の着脱性を維持しつつ、ログインアプリケーションやスライドショーといった任意の機能を容易に実現することができる。 In this way, the MFP 100 according to the embodiment can easily realize an arbitrary function such as a login application or a slide show while maintaining the detachability of the function.

UIデバイス制御部211は、UI202及び拡張アプリケーション210による表示部105への各種情報の出力や、操作部107によるユーザ操作に基づく制御を行うUI202及び拡張アプリケーション210への伝達を仲介する。詳細は後述する。 The UI device control unit 211 mediates the output of various information to the display unit 105 by the UI 202 and the extended application 210, and the transmission to the UI 202 and the extended application 210 that perform control based on the user operation by the operation unit 107. Details will be described later.

図8は、実施形態に係るUIデバイス制御部211における表示に関わるモジュールの詳細を説明するソフトウェア構成図である。尚、図8において、図2と共通する部分は同じ参照番号で示している。 FIG. 8 is a software configuration diagram illustrating details of a module related to display in the UI device control unit 211 according to the embodiment. In FIG. 8, the parts common to FIG. 2 are indicated by the same reference numbers.

UIデバイス制御部211は、画面占有要求受付モジュール801、描画要求受付モジュール802、画面解放要求受付モジュール803を備える。また、高優先度のディスプレイ・コンテクスト(DC)804、低優先度のDC805、転送モジュール806を備える。高優先度DC804及び低優先度DC805は、RAM103上に割り当てられ、表示部105を模する仮想ビデオRAM(VRAM)や占有状態を保持できるように構成されている。 The UI device control unit 211 includes a screen occupancy request reception module 801, a drawing request reception module 802, and a screen release request reception module 803. It also includes a high priority display context (DC) 804, a low priority DC805, and a transfer module 806. The high-priority DC804 and the low-priority DC805 are assigned on the RAM 103 and are configured to hold a virtual video RAM (VRAM) that imitates the display unit 105 and an occupied state.

画面占有要求受付モジュール801は、VM/FW209を介して送られる拡張アプリケーション210からの画面占有要求を受け付け、その要求元に応じて高優先度DC804又は低優先度DC805を割り当てる。逆に、画面解放要求受付モジュール803は、VM/FW209を介して送られる拡張アプリケーション210からの画面解放要求を受け付け、割り当てられているDCを解放する。 The screen occupancy request receiving module 801 receives a screen occupancy request from the extension application 210 sent via the VM / FW 209, and assigns a high priority DC 804 or a low priority DC 805 according to the request source. On the contrary, the screen release request receiving module 803 receives the screen release request from the extended application 210 sent via the VM / FW 209, and releases the assigned DC.

描画要求受付モジュール802は、UI202による画面描画、又はVM/FW209を介して送られる拡張アプリケーション210からの画面描画の要求を受け付ける。そして、画面の占有状態に応じて、DCをVRAMに描画したり、UI202による描画又はVRAMの内容を転送モジュール806、デバイスドライバ208、表示コントローラ104を順に介して表示部105に転送する。それぞれの詳細は後述する。 The drawing request receiving module 802 receives a screen drawing by the UI 202 or a screen drawing request from the extension application 210 sent via the VM / FW 209. Then, depending on the occupied state of the screen, the DC is drawn in the VRAM, or the drawing by the UI 202 or the contents of the VRAM is transferred to the display unit 105 via the transfer module 806, the device driver 208, and the display controller 104 in this order. Details of each will be described later.

図3は、実施形態に係るMFP100における、拡張アプリケーション210によるプログラムの起動処理を説明するフローチャートである。この図3に示すプログラム起動処理は、図2のVM/FW209を構成する処理の一部である。この処理は、CPU101が前述したブートプログラムでRAM103に展開したプログラムを実行することにより実現されるため、ここでは処理の主体を、拡張アプリケーション210を実行するCPU101として説明する。 FIG. 3 is a flowchart illustrating a program activation process by the extended application 210 in the MFP 100 according to the embodiment. The program activation process shown in FIG. 3 is a part of the process constituting the VM / FW209 of FIG. Since this processing is realized by the CPU 101 executing the program expanded in the RAM 103 by the boot program described above, the main body of the processing is described here as the CPU 101 that executes the extended application 210.

実施形態に係るMFP100では、拡張アプリケーション210は、3つの種別の中のいずれか、或いは、全ての種別のプログラムを含む。一つは、ログインプログラムである。このログインプログラムは、MFP100の電源オン、或いは、ログインプログラムがインストールされて、それが有効にされることにより起動が要求され、MFP100を使用する際にユーザの認証を求める。このログインプログラムは一度起動されると、ユーザが無効にしない限り動作し続ける。もう一つはスライドショープログラムである。このスライドショープログラムは、表示部105に表示されるボタンが選択されたとき、又は、同種別のプログラムが未起動状態のまま、予め設定された所定時間が経過する間、無操作の場合に、その起動が要求される。このスライドショープログラムは、例えば、画面の焼き付けを防止するスクリーンセーバーを表示するためのプログラムである。スライドショープログラムが動作中にユーザが操作部107を操作すると、このスライドショープログラムはVM/FW209によって終了させられる。残る一つは汎用プログラムである。この汎用プログラムは、表示部105に表示される機能ボタンが選択されたとき起動が要求される。また、この汎用プログラムは、所定の処理が完了したら直ちに終了するように実装されている。 In the MFP 100 according to the embodiment, the extension application 210 includes any or all of the three types of programs. One is a login program. This login program is required to be started when the power of the MFP 100 is turned on or when the login program is installed and enabled, and the user is required to authenticate when using the MFP 100. Once launched, this login program will continue to work unless disabled by the user. The other is a slide show program. This slide show program is used when a button displayed on the display unit 105 is selected, or when there is no operation while a preset predetermined time elapses while a program of the same type is not started. Startup is required. This slide show program is, for example, a program for displaying a screen saver that prevents screen burning. If the user operates the operation unit 107 while the slide show program is in operation, the slide show program is terminated by the VM / FW209. The remaining one is a general-purpose program. This general-purpose program is required to be started when the function button displayed on the display unit 105 is selected. Further, this general-purpose program is implemented so as to end immediately when a predetermined process is completed.

まずS301でCPU101は、起動の要求が、どの種別のプログラムの起動要求かを判定する。ここで汎用プログラムに対する要求であればS302に、スライドショープログラムに対する要求であればS305に、ログインプログラムに対する要求であればS306に、それぞれ進む。 First, in S301, the CPU 101 determines which type of program the start request is. Here, if the request is for a general-purpose program, the process proceeds to S302, if the request is for a slide show program, the process proceeds to S305, and if the request is for a login program, the process proceeds to S306.

起動要求が汎用プログラムに対するものであればS302でCPU101は、ログインプログラムが画面占有要求モジュール801を呼び出して、画面を占有中かどうか判定する。もしログインプログラムによって画面が占有されていなければS303に進み、画面が占有されていれば、その要求を無視してプログラム起動の処理を終了する。S303でCPU101は、他の汎用プログラムが実行中かどうか判定する。もし、ここで他の汎用プログラムが実行中でなければS304に進み、CPU101は、S301で要求された汎用プログラムを起動して、この処理を終了する。 If the start request is for a general-purpose program, the CPU 101 in S302 calls the screen occupancy request module 801 for the login program to determine whether or not the screen is occupied. If the screen is not occupied by the login program, the process proceeds to S303, and if the screen is occupied, the request is ignored and the program start process ends. In S303, the CPU 101 determines whether another general-purpose program is being executed. If another general-purpose program is not being executed here, the process proceeds to S304, and the CPU 101 starts the general-purpose program requested in S301 and ends this process.

また起動要求が、スライドショープログラムに対するものであればS305に進みCPU101は、要求されたスライドショープログラムを起動して、この処理を終了する。 If the activation request is for the slide show program, the process proceeds to S305, and the CPU 101 activates the requested slide show program and ends this process.

また起動要求がログインプログラムに対するものであればS306でCPU101は、汎用プログラムが実行中かどうか判定する。ここで汎用プログラムが実行中ならばS307に進み、そうでなければS308に進む。S307でCPU101は、実行中の汎用プログラムを強制的に停止してS308に進む。S308でCPU101は、要求されたログインプログラムを起動して、この処理を終了する。こうして起動されたログインプログラムは画面を直ちに占有する。 If the start request is for the login program, the CPU 101 in S306 determines whether the general-purpose program is being executed. Here, if the general-purpose program is being executed, the process proceeds to S307, and if not, the process proceeds to S308. In S307, the CPU 101 forcibly stops the general-purpose program being executed and proceeds to S308. In S308, the CPU 101 activates the requested login program and ends this process. The login program launched in this way occupies the screen immediately.

以上説明したように実施形態に係るMFP100では、汎用プログラムは一つしか動作しないように制御される。また、汎用プログラムの起動時、ログインプログラムが画面を占有しているときは、その汎用プログラムを起動しないように制御される。更に、汎用プログラムを実行中にログインプログラムの起動が指示されると、その実行中の汎用プログラムは強制的に停止されて、ログインプログラムのみが起動される。 As described above, in the MFP 100 according to the embodiment, only one general-purpose program is controlled to operate. Further, when the general-purpose program is started, if the login program occupies the screen, the general-purpose program is controlled not to be started. Furthermore, if the login program is instructed to start while the general-purpose program is being executed, the running general-purpose program is forcibly stopped and only the login program is started.

図4は、実施形態に係るMFP100における、画面占有要求受付モジュール801の動作を説明するフローチャートである。この処理は、CPU101が前述したブートプログラムでRAM103に展開したプログラムを実行することにより実現されるため、ここでは処理の主体を、画面占有要求受付モジュール801として機能するCPU101として説明する。 FIG. 4 is a flowchart illustrating the operation of the screen occupancy request receiving module 801 in the MFP 100 according to the embodiment. Since this processing is realized by the CPU 101 executing the program expanded in the RAM 103 by the boot program described above, the main body of the processing will be described here as the CPU 101 that functions as the screen occupancy request receiving module 801.

この処理は、拡張アプリケーション210の任意のアプリケーションプログラムが、VM/FW209を介して画面の占有を要求することにより開始される。 This process is initiated by any application program of the extended application 210 requesting screen occupancy via the VM / FW209.

まずS401でCPU101は、画面占有の要求元であるプログラムの種別が何かを判別する。ここで、その要求元のプログラムがスライドショープログラム(スクリーンセーバー)であると判定するとS402に進み、そうでない、即ち、ログインプログラム又は汎用プログラムであると判定するとS403に進む。スライドショープログラムの場合、S402でCPU101は、高優先度DC804による画面占有を受け付ける。そしてVM/FW209を介して、画面占有を許可した高優先度DC804を識別する識別子を、画面占有を要求した拡張アプリケーション210のスライドショープログラムに返して、この処理を終了する。 First, in S401, the CPU 101 determines what kind of program is the request source for screen occupancy. Here, if it is determined that the requesting program is a slide show program (screen saver), the process proceeds to S402, and if it is not determined, that is, if it is determined to be a login program or a general-purpose program, the process proceeds to S403. In the case of a slide show program, in S402, the CPU 101 accepts screen occupancy by the high priority DC804. Then, the identifier that identifies the high priority DC804 that is allowed to occupy the screen is returned to the slide show program of the extended application 210 that requested the screen occupancy via the VM / FW209, and this process is terminated.

一方、ログインプログラム又は汎用プログラムの場合はS403でCPU101は、低優先度DC805による画面占有を受け付ける。そしてVM/FW209を介して、画面の占有を許可した低優先度DC805を識別する識別子を、その画面占有を要求した拡張アプリケーション210のログインプログラム又は汎用プログラムに返して、この処理を終了する。 On the other hand, in the case of a login program or a general-purpose program, in S403, the CPU 101 accepts screen occupation by the low priority DC805. Then, via the VM / FW209, the identifier that identifies the low priority DC805 that is allowed to occupy the screen is returned to the login program or the general-purpose program of the extended application 210 that requested the screen occupancy, and this process is terminated.

この処理により、スクリーンセーバーとして機能するスライドショープログラムには、最も優先度の高い高優先度DC804の識別子が付与され、ログインプログラム又は汎用プログラムには、優先度の低い低優先度DC805の識別子が付与される。 By this process, the slide show program that functions as a screen saver is given the identifier of the highest priority DC804, and the login program or the general-purpose program is given the identifier of the lower priority DC805. ..

図5は、実施形態に係るMFP100における、描画要求受付モジュール802の動作を説明するフローチャートである。この処理は、CPU101が前述したブートプログラムでRAM103に展開したプログラムを実行することにより実現されるため、ここでは処理の主体を、描画要求受付モジュール802として機能するCPU101として説明する。 FIG. 5 is a flowchart illustrating the operation of the drawing request receiving module 802 in the MFP 100 according to the embodiment. Since this processing is realized by the CPU 101 executing the program expanded in the RAM 103 by the boot program described above, the main body of the processing will be described here as the CPU 101 that functions as the drawing request receiving module 802.

この処理は、UI202、又は、拡張アプリケーション210の任意のアプリケーションプログラムが、VM/FW209を介して画面の描画を要求することにより開始される。 This process is started by the UI202 or any application program of the extended application 210 requesting the drawing of the screen via the VM / FW209.

まずS501でCPU101は、この描画要求の発行元がどのモジュールであるか判別する。ここで描画の要求元がUI202であればS502に進み、拡張アプリケーション210のプログラムであればS504に進む。S502でCPU101は、拡張アプリケーション210のプログラムが画面を占有しているか否かを判定する。ここで拡張アプリケーション210のプログラムにより画面が占有されていると判定すると、UI202による描画要求を無視して、この処理を終了する。一方、拡張アプリケーション210のプログラムにより画面が占有されていないと判定するとS503に進み、UI202による描画内容を表示部105に転送するように転送モジュール806に要求して、この処理を終了する。 First, in S501, the CPU 101 determines which module is the issuer of this drawing request. Here, if the drawing request source is UI202, the process proceeds to S502, and if the program of the extended application 210, the process proceeds to S504. In S502, the CPU 101 determines whether or not the program of the extended application 210 occupies the screen. If it is determined that the screen is occupied by the program of the extended application 210, the drawing request by the UI 202 is ignored and this process ends. On the other hand, if it is determined that the screen is not occupied by the program of the extended application 210, the process proceeds to S503, requests the transfer module 806 to transfer the drawing contents by the UI 202 to the display unit 105, and ends this process.

これにより、UIからの描画要求は、拡張アプリケーション210のプログラムにより画面が占有されていないときにのみ受け付けられて、それに対する表示がなされる。 As a result, the drawing request from the UI is accepted only when the screen is not occupied by the program of the extension application 210, and the display is made for it.

S504でCPU101は、拡張アプリケーション210のプログラムによって指定されたDCのVRAMに描画内容を記録する。次にS505に進みCPU101は、指定されたDCよりも高い優先度のDCによる画面の占有があるか否かを判定する。ここで高い優先度のDCによる画面の占有がなければS506に進むが、高い優先度のDCによる画面の占有があれば、即ち、スライドショープログラムによって画面が占有されていれば、何も表示せずに、この処理を終了する。 In S504, the CPU 101 records the drawing contents in the DC VRAM designated by the program of the extended application 210. Next, the process proceeds to S505, and the CPU 101 determines whether or not the screen is occupied by a DC having a higher priority than the designated DC. Here, if the screen is not occupied by the high priority DC, the process proceeds to S506, but if the screen is occupied by the high priority DC, that is, if the screen is occupied by the slide show program, nothing is displayed. At the end of this process.

S506でCPU101は、拡張アプリケーション210のプログラムによって指定されたDCが低優先度DCかどうか判定する。ここで、低優先度DCであると判定するとS507に進み、高優先度DCであると判定するとS508に進む。S507でCPU101は、低優先度DC805のVRAMの一部を除く内容を表示部105に転送するように転送モジュール806に要求して、この処理を終了する。一方、高優先度DCの場合はS508に進みCPU101は、高優先度DC804のVRAMの全ての内容を表示部105に転送するように転送モジュール806に要求して、この処理を終了する。 In S506, the CPU 101 determines whether the DC specified by the program of the extended application 210 is a low priority DC. Here, if it is determined that the priority DC is low, the process proceeds to S507, and if it is determined that the priority DC is high, the process proceeds to S508. In S507, the CPU 101 requests the transfer module 806 to transfer the contents excluding a part of the VRAM of the low priority DC805 to the display unit 105, and ends this process. On the other hand, in the case of high priority DC, the process proceeds to S508, and the CPU 101 requests the transfer module 806 to transfer all the contents of the VRAM of the high priority DC 804 to the display unit 105, and ends this process.

図9は、図5のS507で転送されるログイン画面の一例を示す図である。図9は、例えば、UI202によって画面が占有されているとき、拡張アプリケーション210のログインプログラムからの描画要求があった場合を示している。 FIG. 9 is a diagram showing an example of the login screen transferred in S507 of FIG. FIG. 9 shows, for example, a case where there is a drawing request from the login program of the extended application 210 when the screen is occupied by the UI 202.

ここでは拡張アプリケーション210のログインプログラムによる描画要求に応じて、ログイン画面が表示されている。領域901がS507で表示部105に転送される領域であり、領域902は、UI202によって描画された内容が表示される領域である。 Here, the login screen is displayed in response to the drawing request by the login program of the extension application 210. The area 901 is an area transferred to the display unit 105 in S507, and the area 902 is an area in which the contents drawn by the UI 202 are displayed.

以上説明したように、描画の要求元がUIであれば、拡張アプリケーションのプログラムが画面を占有していないときにのみ、UIによる描画内容を表示部に表示する。 As described above, if the drawing request source is the UI, the drawing contents by the UI are displayed on the display unit only when the program of the extended application does not occupy the screen.

一方、拡張アプリケーションからの描画要求のときは、スライドショープログラム(高い優先度)によって画面が占有されていれば、その描画要求を受付けない。一方、UI、ログインプログラム又は汎用プログラム等の低優先度DCによる画面占有のときは、拡張アプリケーションのプログラムによって指定されたDCが低優先度DCであれば、その低優先度DCのVRAMの一部を除く内容を表示部に表示する。一方、S506で、指定されたDCが高優先度DCであれば、それまでに表示されていた表示内容に代わって、描画要求を行ったプログラムによる高優先度DC(ここではスクリーンセーバー)を表示する。 On the other hand, in the case of a drawing request from an extended application, if the screen is occupied by the slide show program (high priority), the drawing request is not accepted. On the other hand, when the screen is occupied by a low-priority DC such as a UI, a login program, or a general-purpose program, if the DC specified by the extended application program is a low-priority DC, a part of the VRAM of the low-priority DC. The contents excluding are displayed on the display. On the other hand, in S506, if the specified DC is a high priority DC, the high priority DC (here, the screen saver) by the program that requested the drawing is displayed instead of the display contents displayed up to that point. ..

図6は、実施形態に係るMFP100における、画面解放要求受付モジュール803の動作を説明するフローチャートである。この処理は、CPU101が前述したブートプログラムでRAM103に展開したプログラムを実行することにより実現されるため、ここでは処理の主体を、画面解放要求受付モジュール803として機能するCPU101として説明する。 FIG. 6 is a flowchart illustrating the operation of the screen release request reception module 803 in the MFP 100 according to the embodiment. Since this processing is realized by the CPU 101 executing the program expanded in the RAM 103 by the boot program described above, the main body of the processing is described here as the CPU 101 that functions as the screen release request reception module 803.

この処理は、拡張アプリケーション210の任意のプログラムが、VM/FW209を介して画面の解放を要求することにより開始される。 This process is started by any program of the extended application 210 requesting the release of the screen via the VM / FW209.

まずS601でCPU101は、拡張アプリケーション210のプログラムによって指定されたDCの占有を解除する。次にS602に進みCPU101は、拡張アプリケーション210のプログラムによる画面の占有があるか否かを判定する。ここで画面の占有が無いと判定するとS603に進む。S603でCPU101は、UI202に再描画を要求して、この処理を終了する。 First, in S601, the CPU 101 releases the possession of the DC specified by the program of the extended application 210. Next, the process proceeds to S602, and the CPU 101 determines whether or not the screen is occupied by the program of the extended application 210. If it is determined that the screen is not occupied here, the process proceeds to S603. In S603, the CPU 101 requests the UI 202 to redraw, and ends this process.

一方、S602で拡張アプリケーション210のプログラムによる画面の占有があると判定するとS604に進む。S604でCPU101は、解放されたDCより低い優先度のDCによる画面の占有があるか否か判定する。ここで低い優先度のDCによる画面の占有がないと判定すると、この処理を終了する。一方、S604でCPU101は、解放されたDCより低い優先度のDCによる画面の占有があると判定するとS605に進む。S605でCPU101は、解放されたDCより低い低優先度DC805のVRAMの一部を除く内容を表示部105に転送するように転送モジュール806に要求して、この処理を終了する。 On the other hand, if it is determined in S602 that the screen is occupied by the program of the extended application 210, the process proceeds to S604. In S604, the CPU 101 determines whether or not the screen is occupied by a DC having a lower priority than the released DC. Here, if it is determined that the screen is not occupied by the DC having a low priority, this process ends. On the other hand, in S604, when the CPU 101 determines that the screen is occupied by a DC having a lower priority than the released DC, the process proceeds to S605. In S605, the CPU 101 requests the transfer module 806 to transfer the contents excluding a part of the VRAM of the low priority DC805 lower than the released DC to the display unit 105, and ends this process.

この処理により、例えば、スライドショープログラムが画面の占有を解放したとき、ログインプログラムが画面を占有していれば、ログインプログラムが描画していた画面の内容が表示部105に復元される。 By this process, for example, when the slide show program releases the screen occupancy, if the login program occupies the screen, the contents of the screen drawn by the login program are restored to the display unit 105.

図7は、実施形態に係るMFP100のVM/FW209による、拡張アプリケーション210にインストールされたプログラムの異常検出処理を示すフローチャートである。この処理は、CPU101が前述したブートプログラムでRAM103に展開したプログラムを実行することにより実現されるため、ここでは処理の主体をCPU101として説明する。 FIG. 7 is a flowchart showing an abnormality detection process of a program installed in the extended application 210 by the VM / FW209 of the MFP 100 according to the embodiment. Since this processing is realized by the CPU 101 executing the program expanded in the RAM 103 by the boot program described above, the subject of the processing will be described here as the CPU 101.

この異常検出処理は、VM/FW209として機能するCPU101が拡張アプリケーション210の任意のプログラムの異常を監視して異常を検出する処理である。尚、実施形態では、異常検出のトリガとしてVM/FW209が送信したメッセージに対して応答がなかった場合を例に説明するが、異常検出のトリガはこの例に限定されない。 This abnormality detection process is a process in which the CPU 101 functioning as a VM / FW209 monitors an abnormality in an arbitrary program of the extended application 210 and detects an abnormality. In the embodiment, the case where there is no response to the message transmitted by the VM / FW209 as the trigger for abnormality detection will be described as an example, but the trigger for abnormality detection is not limited to this example.

まずS701でCPU101は、拡張アプリケーション210で起動しているプログラムがあるかどうか判別する。ここで、起動しているプログラムがなければ、異常を検出する処理は不要であるため、この処理を終了する。S701でCPU101が、起動しているプログラムがあると判定するとS702に進む。S702でCPU101は、起動しているプログラムに関連するイベントの発生を監視し、ここで起動しているプログラムに関連するイベントの発生を検知しなかった場合はS702に留まって、イベントの発生を引き続き監視する。こうしてS702でCPU101が、起動しているプログラムに関連するイベントの発生を検知するとS703に進む。 First, in S701, the CPU 101 determines whether or not there is a program running in the extended application 210. Here, if there is no running program, the process of detecting an abnormality is unnecessary, so this process is terminated. If the CPU 101 determines in S701 that there is a running program, the process proceeds to S702. In S702, the CPU 101 monitors the occurrence of an event related to the running program, and if it does not detect the occurrence of an event related to the running program, stays in S702 and continues the occurrence of the event. Monitor. When the CPU 101 detects the occurrence of an event related to the running program in S702 in this way, the process proceeds to S703.

S703でCPU101は、拡張アプリケーション210に対して、検知したイベントの発生を通知するメッセージを送信する。このときCPU101は、メッセージの送信時に、そのメッセージに対する応答のタイムアウトを監視するためのタイマをセットする。そしてS704でCPU101は、そのメッセージに対する応答を所定時間内に受信して、異常を検出しなかった場合はS701に戻るが、所定時間内に応答がないと異常を検出したと判断してS705に進む。 In S703, the CPU 101 transmits a message notifying the occurrence of the detected event to the extended application 210. At this time, when the message is transmitted, the CPU 101 sets a timer for monitoring the timeout of the response to the message. Then, in S704, the CPU 101 receives the response to the message within the predetermined time, and returns to S701 if no abnormality is detected, but determines that the abnormality is detected if there is no response within the predetermined time, and determines that the abnormality is detected in S705. move on.

S705でCPU101は、異常を検出したプログラムがログインプログラムかどうか判定する。ここでは、各プログラムの起動時に各プログラムを管理する専用スレッドを生成し、各プログラムとの通信をそのスレッドで行うようにする。こうすることにより、どのスレッドで異常を検出したかで、その異常が発生したプログラムを一意に特定できる。尚、本実施形態では、専用スレッドを生成することにより、異常を検出したプログラムがログインプログラムかどうか判定する例で説明したが、別の方法でもよい。例えば、各プログラムの起動時にプログラムを識別する識別IDをプログラムに付与し、VM/FW209は、異常を検出したプログラムの識別IDからログインプログラムかどうか判定するようにしてもよい。 In S705, the CPU 101 determines whether the program that has detected the abnormality is a login program. Here, when each program is started, a dedicated thread that manages each program is generated, and communication with each program is performed by that thread. By doing so, it is possible to uniquely identify the program in which the abnormality has occurred, depending on which thread detected the abnormality. In the present embodiment, the example of determining whether the program that detects the abnormality is a login program by generating a dedicated thread has been described, but another method may be used. For example, an identification ID that identifies the program may be assigned to the program when each program is started, and the VM / FW 209 may determine whether or not the program is a login program from the identification ID of the program that detected the abnormality.

S705でCPU101は、異常を検出したプログラムがログインプログラムであると判定するとS706に進む。S706でCPU101は、ジョブ制御部203に対してジョブの実行を禁止するよう指示する。この指示を受けたジョブ制御部203は、全てのジョブを実行しないよう制御する。次にS707に進みCPU101は、UIデバイス制御部211を経由して、UI202にUIロック画面の表示を指示してS708に進む。 When the CPU 101 determines in S705 that the program that has detected the abnormality is the login program, the CPU 101 proceeds to S706. In S706, the CPU 101 instructs the job control unit 203 to prohibit the execution of the job. Upon receiving this instruction, the job control unit 203 controls not to execute all the jobs. Next, the process proceeds to S707, and the CPU 101 instructs the UI 202 to display the UI lock screen via the UI device control unit 211, and proceeds to S708.

図11は、実施形態に係るUIロック画面の一例を示す図である。 FIG. 11 is a diagram showing an example of the UI lock screen according to the embodiment.

図11(A)の画面1101では、ログインプログラムが正しく動作していないため、電源の立ち上げ直し(再起動)、即ち、オフしてオンするよう促すメッセージを表示し、通常のコピーなどの操作は実行できないようにする。また、図11(A)の「管理設定」メニューボタン1102を選択すると、不図示のシステム管理者権限の認証画面に遷移し、その画面でパスワードを入力すると図11(B)の画面1103を表示する。ここで、このシステム管理者権限の認証はログインプログラムではなく、MFP100が持つ機能により実行される。画面1103には「ログインアプリケーション管理」メニューボタン1104と、「もどる」ボタン1105が表示されている。ここでユーザが、「ログインアプリケーション管理」メニューボタン1104を選択すると、更に図11(C)の画面1106が表示される。「もどる」ボタン1105を選択すると図11(A)の画面1101に遷移する。 On the screen 1101 of FIG. 11A, since the login program is not operating correctly, a message prompting the user to restart the power supply, that is, to turn it off and on, is displayed, and operations such as normal copying are displayed. Prevents execution. Further, when the "management setting" menu button 1102 of FIG. 11 (A) is selected, the screen transitions to the authentication screen of the system administrator authority (not shown), and when the password is entered on that screen, the screen 1103 of FIG. 11 (B) is displayed. To do. Here, the authentication of the system administrator authority is executed not by the login program but by the function of the MFP 100. On the screen 1103, a "login application management" menu button 1104 and a "return" button 1105 are displayed. Here, when the user selects the "login application management" menu button 1104, the screen 1106 of FIG. 11C is further displayed. When the "return" button 1105 is selected, the screen 1101 in FIG. 11A is displayed.

図11(C)の画面1106の「有効」チェックボックス1107を外し、「無効」チェックボックス1108にチェックを入れてOKボタン1109を選択すると、ログインプログラムの機能を無効に変更することができる。 If the "valid" check box 1107 on the screen 1106 of FIG. 11C is removed, the "disabled" check box 1108 is checked, and the OK button 1109 is selected, the function of the login program can be disabled.

このようにログインプログラムの異常を検知したとき、システム管理者がログインプログラムの機能を無効にできるようにすることにより、システム管理者の許可の下で、MFP100の機能を再び使用できるようになる。具体的には、ログインプログラムが無効に変更されると、VM/FW209はUI202にUIロック画面の解除とジョブ制御部203へジョブ実行許可を指示する。ここで、図11(C)で「もどる」ボタン1110を選択すると、図11(B)の画面1103に遷移する。 By enabling the system administrator to disable the function of the login program when an abnormality of the login program is detected in this way, the function of the MFP 100 can be used again with the permission of the system administrator. Specifically, when the login program is invalidated, the VM / FW 209 instructs the UI 202 to release the UI lock screen and the job control unit 203 to permit job execution. Here, when the "return" button 1110 is selected in FIG. 11 (C), the screen transitions to the screen 1103 in FIG. 11 (B).

本実施形態では、MFP100がシステム管理者権限の認証機能を有しており、システム管理者であればログインプログラムを無効に変更できる構成としている。しかし、MFP100が認証機能を持っていない場合は、図11(A)の画面1101のみを表示し、「管理設定」メニューボタン1102は表示しないようにしてもよい。 In the present embodiment, the MFP 100 has a system administrator authority authentication function, and the system administrator can invalidate the login program. However, if the MFP 100 does not have an authentication function, only the screen 1101 of FIG. 11A may be displayed and the "management setting" menu button 1102 may not be displayed.

S708でCPU101は、図11(C)の画面1106でログインプログラムが、管理画面におけるユーザの入力等に基づき、無効に変更されたか判定する。S708でCPU101が、ログインプログラムが無効に変更されたと判定するとS709に進む。S709でCPU101は、ジョブ制御部203に対して、ジョブの実行を許可するよう指示してS710に進む。この指示を受けたジョブ制御部203は、全てのジョブの禁止を解除する。S710でCPU101は、UIデバイス制御部211を経由してUI202にUIロック画面の解除を指示して、この処理を終了する。 In S708, the CPU 101 determines on the screen 1106 of FIG. 11C whether the login program has been invalidated based on the user's input on the management screen. If the CPU 101 determines in S708 that the login program has been invalidated, the process proceeds to S709. In S709, the CPU 101 instructs the job control unit 203 to allow the execution of the job, and proceeds to S710. Upon receiving this instruction, the job control unit 203 releases the prohibition of all jobs. In S710, the CPU 101 instructs the UI 202 to release the UI lock screen via the UI device control unit 211, and ends this process.

一方、S705で、異常を検出したプログラムがログインプログラム以外であると判定したときはS711に進む。S711でCPU101は、UIデバイス制御部211を経由して、UI202にプログラム強制終了の確認画面の表示を指示してS712に進む。これにより表示部105に、例えば図12に示すようなプログラムを強制終了するかどうかを確認する画面が表示される。 On the other hand, when it is determined in S705 that the program that detected the abnormality is other than the login program, the process proceeds to S711. In S711, the CPU 101 instructs the UI 202 to display a confirmation screen for forced termination of the program via the UI device control unit 211, and proceeds to S712. As a result, the display unit 105 displays a screen for confirming whether to forcibly terminate the program as shown in FIG. 12, for example.

図12は、実施形態に係るプログラム強制終了の確認画面の一例を示す図である。 FIG. 12 is a diagram showing an example of a confirmation screen for forced termination of the program according to the embodiment.

この画面では、プログラムの強制終了を行ってよいかを確認するメッセージ1201を表示する。ここではいボタン1202が選択されるとS713に進み、プログラムを強制終了する。いいえボタン1203が選択されたら何もせずに、この処理を終了する。 On this screen, a message 1201 confirming whether the program may be forcibly terminated is displayed. Here, when the Yes button 1202 is selected, the process proceeds to S713 and the program is forcibly terminated. If the No button 1203 is selected, nothing is done and this process ends.

図10は、実施形態に係るMFP100において、ユーザによる操作部107の操作を検出する処理を示すフローチャートである。この処理は、CPU101が前述したブートプログラムでRAM103に展開したプログラムを実行することにより実現されるため、ここでは処理の主体をCPU101として説明する。この処理は、UIデバイス制御部211を構成する処理の一部である。 FIG. 10 is a flowchart showing a process of detecting an operation of the operation unit 107 by the user in the MFP 100 according to the embodiment. Since this processing is realized by the CPU 101 executing the program expanded in the RAM 103 by the boot program described above, the subject of the processing will be described here as the CPU 101. This process is a part of the process that constitutes the UI device control unit 211.

S1001でCPU101は、デバイスドライバ208及び操作コントローラ106を介して、ユーザによる操作部107での操作を周期的に監視して、タッチ位置などの操作内容を検出する。次にS1002に進みCPU101は、拡張アプリケーション210のプログラムによる画面の占有があるか否かを判定する。ここで画面の占有が無いと判定するとS1003に進む。S1003でCPU101は、S1001で検出した検出内容をUI202に通知して、この処理を終了する。 In S1001, the CPU 101 periodically monitors the operation of the operation unit 107 by the user via the device driver 208 and the operation controller 106, and detects the operation content such as the touch position. Next, the process proceeds to S1002, and the CPU 101 determines whether or not the screen is occupied by the program of the extended application 210. If it is determined that the screen is not occupied here, the process proceeds to S1003. In S1003, the CPU 101 notifies the UI 202 of the detection content detected in S1001 and ends this process.

一方、S1002でCPU101は、拡張アプリケーション210のプログラムによる画面の占有があると判定するとS1004に進む。S1004でCPU101は、高優先度DCにより画面が占有された状態にあるか否かを判定する。ここで高優先度DCによる画面占有状態にあると判定するとS1005に進む。S1005でCPU101は、拡張アプリケーション210のプログラムに対して検出内容を通知して、この処理を終了する。 On the other hand, in S1002, when the CPU 101 determines that the screen is occupied by the program of the extended application 210, the CPU 101 proceeds to S1004. In S1004, the CPU 101 determines whether or not the screen is occupied by the high priority DC. Here, if it is determined that the screen is occupied by the high priority DC, the process proceeds to S1005. In S1005, the CPU 101 notifies the program of the extended application 210 of the detected content and ends this process.

一方、S1004でCPU101は、高優先度DCが画面を占有している状態ではないと判定するとS1006に進む。S1006でCPU101は、操作位置が、例えば図9の領域901か、領域902かを判定する。ここで領域901、即ち、拡張アプリケーション210のプログラムによる描画領域内と判定するとS1005に進んで、拡張アプリケーション210のプログラムに対して検出内容を通知して、この処理を終了する。一方、領域902、即ち、拡張アプリケーション210のプログラムによる描画領域内でないと判定するとS1003に進み、UI202に検出内容を通知して、この処理を終了する。 On the other hand, in S1004, when the CPU 101 determines that the high priority DC is not in the state of occupying the screen, the process proceeds to S1006. In S1006, the CPU 101 determines whether the operation position is, for example, the area 901 or the area 902 in FIG. Here, if it is determined that the area 901 is within the drawing area by the program of the extended application 210, the process proceeds to S1005, the detection content is notified to the program of the extended application 210, and this process is terminated. On the other hand, if it is determined that it is not in the area 902, that is, the drawing area by the program of the extended application 210, the process proceeds to S1003, the detection content is notified to the UI 202, and this process is terminated.

以上説明したように実施形態によれば、ユーザのログインを条件としてジョブを実行するMFPにおいて、ログインプログラムで異常が発生した場合であっても、実行できる機能を制限し、ログインプログラムを含めてデバイスが正常に動作する状態になるように、ユーザを誘導する画面を表示することが可能となる。 As described above, according to the embodiment, in the MFP that executes a job on condition that the user logs in, even if an abnormality occurs in the login program, the functions that can be executed are limited, and the device including the login program is included. It is possible to display a screen that guides the user so that the user can operate normally.

<その他の実施の形態>
前述の実施形態では、図7のS706で全てのジョブ実行を禁止するよう制御する例を記載した。しかし、本来、ログインプログラムでログインすることによってジョブの実行を制限する対象は、特定のユーザや部門のみである。ログインプログラムに異常が発生した場合に全てのジョブを制限すると、通常時、ジョブの実行の制限がないユーザや部門もジョブの実行を制限されてしまう。
<Other embodiments>
In the above-described embodiment, an example of controlling so as to prohibit all job executions is described in S706 of FIG. However, originally, the target for restricting the execution of a job by logging in with a login program is only a specific user or department. If all jobs are restricted when an error occurs in the login program, the execution of jobs is normally restricted even for users and departments that have no restrictions on job execution.

そこで、全てのジョブ実行を禁止するのではなく、ジョブの実行を制限しないユーザや部門からのジョブは実行できるようにしてもよい。その方法の一例を以下に示す。 Therefore, instead of prohibiting the execution of all jobs, it may be possible to execute jobs from users or departments that do not restrict job execution. An example of the method is shown below.

ジョブの実行の制限はジョブ制御部203で行う。ジョブの実行を制限する特定のユーザや部門からのジョブには、そのユーザや部門を特定するための識別情報がジョブに付与されるのが一般的である。そこで、そのような識別情報がない、又は、ジョブ実行の制限をしないことを示す所定のIDを有するジョブの場合は、ログインプログラムに異常が発生しても実行できるようにジョブ制御部203で制御する。 Job control unit 203 limits job execution. Jobs from a specific user or department that restricts job execution are generally given identification information to identify the user or department. Therefore, in the case of a job that does not have such identification information or has a predetermined ID indicating that job execution is not restricted, the job control unit 203 controls the job so that it can be executed even if an abnormality occurs in the login program. To do.

こうすることにより、通常、ジョブの実行の制限がないユーザや部門は、ログインプログラムの異常が発生した時であっても、そのジョブの実行を制限されることなく、MFP10を使用することが可能となる。 By doing so, users and departments that normally have no restrictions on job execution can use the MFP 10 without restrictions on job execution even when an error occurs in the login program. It becomes.

(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

本発明は上記実施形態に制限されるものではなく、本発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、本発明の範囲を公にするために、以下の請求項を添付する。 The present invention is not limited to the above embodiments, and various modifications and modifications can be made without departing from the spirit and scope of the present invention. Therefore, in order to make the scope of the present invention public, the following claims are attached.

100…MFP,101…CPU、103…RAM、105…表示部、107…操作部、202…UI,203…ジョブ制御部、208…デバイスドライバ、209…VM/FW、210…拡張アプリケーション、211…UIデバイス制御部 100 ... MFP, 101 ... CPU, 103 ... RAM, 105 ... Display unit, 107 ... Operation unit, 202 ... UI, 203 ... Job control unit, 208 ... Device driver, 209 ... VM / FW, 210 ... Extended application, 211 ... UI device control unit

Claims (14)

ファームウェア上で動作するログインプログラムによりユーザの認証を行う画像形成装置であって、
操作手段と、
前記ログインプログラムの異常を検知すると、前記ログインプログラムを終了させることなく前記操作手段を介したユーザによるジョブを実行させる操作を受付けない画面を表示し、ユーザにより前記ログインプログラムを無効にする操作を受付けたことに応じて、前記操作手段を介してユーザによるジョブを実行させる前記操作を受付けることを許可する制御手段と、
を有することを特徴とする画像形成装置。
An image forming device that authenticates a user by a login program that runs on the firmware.
Operation means and
When an abnormality of the login program is detected, a screen is displayed in which the operation of not executing the job by the user via the operation means is displayed without terminating the login program, and the operation of disabling the login program is accepted by the user. A control means for permitting the operation to execute a job by the user via the operation means, and a control means for permitting the operation.
An image forming apparatus characterized by having.
前記制御手段は、前記ログインプログラムにメッセージを送信し、前記メッセージを送信した後、所定時間内に前記メッセージに対する応答を受信しない場合に、前記ログインプログラムの実行中に前記異常が発生したと判定することを特徴とする請求項1に記載の画像形成装置。 The control means transmits a message to the login program, and if the response to the message is not received within a predetermined time after the message is transmitted, it is determined that the abnormality has occurred during the execution of the login program. The image forming apparatus according to claim 1. 前記制御手段は、前記ログインプログラムの実行中に前記異常が発生したことに応じて、前記画像形成装置の電源供給の再起動を行うようにユーザに促すメッセージを表示部に表示させることを特徴とする請求項1又は2に記載の画像形成装置。 The control means is characterized in that a message prompting the user to restart the power supply of the image forming apparatus is displayed on the display unit in response to the occurrence of the abnormality during the execution of the login program. The image forming apparatus according to claim 1 or 2. 前記ログインプログラムを無効にする前記操作は、前記画像形成装置により認証された管理者権限を有するユーザによる操作であることを特徴とする請求項1乃至3のいずれか1項に記載の画像形成装置。 The image forming apparatus according to any one of claims 1 to 3, wherein the operation for disabling the login program is an operation by a user having administrator authority authenticated by the image forming apparatus. .. 前記操作手段は表示部を有し、前記ファームウェアは、前記画像形成装置の電源供給の再起動を行うように促す画面を前記表示部に表示することを特徴とする請求項1乃至4のいずれか1項に記載の画像形成装置。 One of claims 1 to 4, wherein the operating means has a display unit, and the firmware displays a screen prompting the restart of the power supply of the image forming apparatus on the display unit. The image forming apparatus according to item 1. 前記ファームウェアは、ジョブの実行が制限されている間、前記表示部の画面の遷移を制限することを特徴とする請求項5に記載の画像形成装置。 The image forming apparatus according to claim 5, wherein the firmware limits the transition of the screen of the display unit while the execution of the job is restricted. 前記ファームウェアは、前記ログインプログラムを無効にする前記操作に応じて、前記表示部の画面の遷移の制限を解除することを特徴とする請求項6に記載の画像形成装置。 The image forming apparatus according to claim 6, wherein the firmware releases the restriction on the transition of the screen of the display unit in response to the operation of disabling the login program. 前記ファームウェア或いは前記操作手段からの描画要求に応じて、前記表示部への表示を制御するUIデバイス制御手段を、更に有し、
前記UIデバイス制御手段は、前記操作手段から前記描画要求があると、前記ファームウェア上で動作する前記ログインプログラムが前記表示部の画面を占有していない場合に、前記操作手段からの描画要求に応じて前記表示部の表示を制御することを特徴とする請求項5に記載の画像形成装置。
Further, the UI device control means for controlling the display on the display unit in response to the drawing request from the firmware or the operation means is provided.
When the UI device control means receives the drawing request from the operation means, the UI device control means responds to the drawing request from the operation means when the login program operating on the firmware does not occupy the screen of the display unit. The image forming apparatus according to claim 5, wherein the display of the display unit is controlled.
前記ファームウェア上で動作するアプリケーションプログラムからの描画要求があると、前記UIデバイス制御手段は、前記アプリケーションプログラムの優先度より低い優先度を有するアプリケーションプログラムが前記表示部の画面を占有していなければ、前記描画要求に応じて前記表示部の表示を制御することを特徴とする請求項8に記載の画像形成装置。 When there is a drawing request from the application program running on the firmware, the UI device control means has to use the UI device control means unless the application program having a priority lower than the priority of the application program occupies the screen of the display unit. The image forming apparatus according to claim 8, wherein the display of the display unit is controlled in response to the drawing request. 前記異常が検知されたアプリケーションプログラムが前記ログインプログラムでない場合、前記ファームウェアは、前記異常が検知されたアプリケーションプログラムを強制的に停止させることを特徴とする請求項1乃至9のいずれか1項に記載の画像形成装置。 The invention according to any one of claims 1 to 9, wherein when the application program in which the abnormality is detected is not the login program, the firmware forcibly stops the application program in which the abnormality is detected. Image forming device. 前記ログインプログラムの異常は、前記ファームウェアが生成したイベントに応じて前記ログインプログラムに送られたメッセージに対する応答が所定時間内にないことに応じて検知されることを特徴とする請求項1乃至10のいずれか1項に記載の画像形成装置。 The abnormality of the login program is detected according to the fact that the response to the message sent to the login program in response to the event generated by the firmware is not within a predetermined time, according to claims 1 to 10. The image forming apparatus according to any one item. 前記ログインプログラムは、前記ファームウェア上で一つのアプリケーションプログラムとして実行されることを特徴とする請求項1乃至11のいずれか1項に記載の画像形成装置。 The image forming apparatus according to any one of claims 1 to 11, wherein the login program is executed as one application program on the firmware. 操作部を有し、ファームウェア上で動作するログインプログラムによりユーザの認証を行う画像形成装置を制御する制御方法であって、
前記ログインプログラムの異常を検知すると、前記ログインプログラムを終了させることなく前記操作部を介したユーザによるジョブを実行させる操作を受付けない画面を表示する工程と、
ユーザにより前記ログインプログラムを無効にする操作を受付けたことに応じて、前記操作部を介してユーザによるジョブを実行させる前記操作を受付けることを許可する工程と、
を有することを特徴とする制御方法。
It is a control method that controls an image forming apparatus that has an operation unit and authenticates a user by a login program that operates on firmware.
When an abnormality in the login program is detected, a process of displaying a screen that does not accept an operation of executing a job by a user via the operation unit without terminating the login program, and a process of displaying a screen.
A step of permitting the user to accept the operation of executing a job by the user via the operation unit in response to the operation of disabling the login program by the user.
A control method characterized by having.
コンピュータに、請求項13に記載の制御方法の各工程を実行させるためのプログラム。 A program for causing a computer to execute each step of the control method according to claim 13.
JP2020182555A 2020-10-30 2020-10-30 Image forming device and its control method and program Active JP7037615B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020182555A JP7037615B2 (en) 2020-10-30 2020-10-30 Image forming device and its control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020182555A JP7037615B2 (en) 2020-10-30 2020-10-30 Image forming device and its control method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016225380A Division JP6789775B2 (en) 2016-11-18 2016-11-18 Image forming apparatus and its control method and program

Publications (2)

Publication Number Publication Date
JP2021041700A true JP2021041700A (en) 2021-03-18
JP7037615B2 JP7037615B2 (en) 2022-03-16

Family

ID=74861977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020182555A Active JP7037615B2 (en) 2020-10-30 2020-10-30 Image forming device and its control method and program

Country Status (1)

Country Link
JP (1) JP7037615B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006164088A (en) * 2004-12-10 2006-06-22 Fujitsu Ltd Automatic transaction control method, automatic transaction device, and its program
JP2009199234A (en) * 2008-02-20 2009-09-03 Ricoh Co Ltd Authentication control apparatus, authentication control method and program
JP2009267933A (en) * 2008-04-28 2009-11-12 Seiko Epson Corp Multi-function apparatus and method of restricting use of multi-function apparatus
JP2009267590A (en) * 2008-04-23 2009-11-12 Kyocera Mita Corp Image forming apparatus
JP2012242895A (en) * 2011-05-16 2012-12-10 Canon Inc Document conversion device, information processing method, and program
JP2015158783A (en) * 2014-02-24 2015-09-03 キヤノン株式会社 Image forming apparatus, control method of image forming apparatus, and program
JP2016010974A (en) * 2015-07-30 2016-01-21 キヤノン株式会社 Printing apparatus, control method of printing apparatus, and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006164088A (en) * 2004-12-10 2006-06-22 Fujitsu Ltd Automatic transaction control method, automatic transaction device, and its program
JP2009199234A (en) * 2008-02-20 2009-09-03 Ricoh Co Ltd Authentication control apparatus, authentication control method and program
JP2009267590A (en) * 2008-04-23 2009-11-12 Kyocera Mita Corp Image forming apparatus
JP2009267933A (en) * 2008-04-28 2009-11-12 Seiko Epson Corp Multi-function apparatus and method of restricting use of multi-function apparatus
JP2012242895A (en) * 2011-05-16 2012-12-10 Canon Inc Document conversion device, information processing method, and program
JP2015158783A (en) * 2014-02-24 2015-09-03 キヤノン株式会社 Image forming apparatus, control method of image forming apparatus, and program
JP2016010974A (en) * 2015-07-30 2016-01-21 キヤノン株式会社 Printing apparatus, control method of printing apparatus, and program

Also Published As

Publication number Publication date
JP7037615B2 (en) 2022-03-16

Similar Documents

Publication Publication Date Title
US9686441B2 (en) Electronic device, method for restricting use of electronic device, and non-transitory computer-readable recording medium
JP6478486B2 (en) Information processing apparatus, control method thereof, and program
JP5826198B2 (en) Image forming system, image forming apparatus, and program
US10126992B2 (en) Image processing apparatus, control method thereof, and storage medium
US11113015B2 (en) Information processing apparatus, method of controlling the same and storage medium
CN110096242B (en) Printing apparatus and control method of printing apparatus
US11523025B2 (en) Image processing apparatus that displays a message indicating that alteration of a login application has been detected, control method thereof, and storage medium
JP6789775B2 (en) Image forming apparatus and its control method and program
JP2018049552A (en) Information processing apparatus, information processing method, and program
US8325915B2 (en) Image output system
JP7058975B2 (en) Image forming device, control method of image forming device, and program
JP7037615B2 (en) Image forming device and its control method and program
US9239694B2 (en) Image forming apparatus, method, and storage medium for allowing or inhibiting reprint of data based on user authentication
JP2009272770A (en) Multi-function apparatus, and method of restricting use of multi-function apparatus
JP4559350B2 (en) Image recording system
JP2019193195A (en) Printing apparatus, control method of the same, and program
JP2019087836A (en) Image forming apparatus and display control method
JP6990994B2 (en) Information processing equipment, its control method, and programs
US20120127521A1 (en) Image forming apparatus, image forming system, and image forming method in which image is formed with approval of management user
JP2024076061A (en) Information processing device, information processing system, control method, and program
JP2022087196A (en) Image forming apparatus, control method of image forming apparatus, and program
JP2022033937A (en) Information processing apparatus, control method of the same, and program
JP2021112895A (en) Image formation apparatus
JP2019061689A (en) Information processing device, method for controlling information processing device, and program
JPWO2014156128A1 (en) Network device, network printer, and network device control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201130

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211224

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220304

R151 Written notification of patent or utility model registration

Ref document number: 7037615

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151