Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6971578B2 - Information processing device and its control method - Google Patents
[go: Go Back, main page]

JP6971578B2 - Information processing device and its control method - Google Patents

Information processing device and its control method Download PDF

Info

Publication number
JP6971578B2
JP6971578B2 JP2017009778A JP2017009778A JP6971578B2 JP 6971578 B2 JP6971578 B2 JP 6971578B2 JP 2017009778 A JP2017009778 A JP 2017009778A JP 2017009778 A JP2017009778 A JP 2017009778A JP 6971578 B2 JP6971578 B2 JP 6971578B2
Authority
JP
Japan
Prior art keywords
application
information processing
initialization
user application
communication network
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.)
Active
Application number
JP2017009778A
Other languages
Japanese (ja)
Other versions
JP2018120310A (en
Inventor
史朗 九里
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 JP2017009778A priority Critical patent/JP6971578B2/en
Publication of JP2018120310A publication Critical patent/JP2018120310A/en
Application granted granted Critical
Publication of JP6971578B2 publication Critical patent/JP6971578B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

本発明は、情報処理装置及びその制御方法に関し、特に起動処理の技術に関する。 The present invention relates to an information processing apparatus and a control method thereof, and particularly to a technique of activation processing.

情報処理装置の電源を入れて起動すると、情報処理装置上で動作するモジュールやアプリケーション(以下、アプリ)の初期化処理を開始する。そして、これらの初期化処理が全て完了すると、情報処理装置は初期化完了となり、ユーザが情報処理装置を利用可能となる。そのため、情報処理装置の初期化に必要な初期化時間を短縮することは、ユーザの利便性向上に繋がる。なお、情報処理装置には後から必要に応じてアプリをインストールすることが可能であり、後からインストールしたアプリの初期化も情報処理装置の初期化処理の一部として行う。後からインストールするアプリはサードパーティによって開発されるものもあり、アプリの初期化処理を正常に行うためには、情報処理装置がネットワーク通信可能になっている等の条件が必要なことがある。そのため、情報処理装置が必要な条件を満たしていない場合、アプリの初期化処理に失敗してしまう。 When the power of the information processing device is turned on and started, the initialization process of the module or application (hereinafter referred to as “application”) operating on the information processing device is started. When all of these initialization processes are completed, the information processing apparatus is initialized and the user can use the information processing apparatus. Therefore, shortening the initialization time required for initializing the information processing device leads to improvement of user convenience. It is possible to install the application on the information processing device later as needed, and the initialization of the application installed later is also performed as a part of the initialization process of the information processing device. Some applications to be installed later are developed by a third party, and in order to properly initialize the application, it may be necessary to have conditions such as the information processing device being able to communicate with the network. Therefore, if the information processing device does not meet the required conditions, the application initialization process will fail.

このための解決手段として、特許文献1のように、情報処理装置を起動してログを取得し、このログを解析してモジュールやアプリの起動順を変更しておくことで、次回起動時の情報処理装置の初期化を短時間かつ確実に行う技術が知られている。 As a solution for this, as in Patent Document 1, by starting the information processing device, acquiring the log, analyzing this log, and changing the starting order of the modules and applications, the next time the information is started. A technique for reliably initializing an information processing device in a short time is known.

特開2011-39745号公報Japanese Unexamined Patent Publication No. 2011-39745

特許文献1の先行技術を用いた方法では、情報処理装置に新しくアプリをインストールすると、情報処理装置を再起動してログの取得と解析を行う必要があり、時間と手間がかかってしまうという課題がある。なお近年では、情報処理装置がネットワーク通信可能になっていることを初期化の前提条件にしているアプリが多い。そのため、このようなアプリが情報処理装置にインストールされている場合でも、情報処理装置の初期化を短時間かつ確実に行うことが求められている。 In the method using the prior art of Patent Document 1, when a new application is installed in the information processing device, it is necessary to restart the information processing device to acquire and analyze the log, which is a problem that it takes time and effort. There is. In recent years, many applications have made it a prerequisite for initialization that the information processing device is capable of network communication. Therefore, even when such an application is installed in the information processing device, it is required to initialize the information processing device in a short time and surely.

本発明は上記従来例に鑑みて成されたもので、情報処理装置の状況に関わらず情報処理装置の初期化処理を短時間かつ確実に行うことを目的とする。 The present invention has been made in view of the above-mentioned conventional example, and an object of the present invention is to perform initialization processing of an information processing apparatus in a short time and reliably regardless of the situation of the information processing apparatus.

上記目的を達成するために本発明は以下の構成を有する。 In order to achieve the above object, the present invention has the following configurations.

本発明の一態様によれば、本発明は、通信ネットワークと接続でき、アプリケーションをインストール可能な情報処理装置であって、
前記情報処理装置の起動に応じて、前記アプリケーションがインストールされているか否かを判定する判定手段と、
前記アプリケーションがインストールされていると前記判定手段により判定された場合には、前記通信ネットワークと接続されることを待機する待機手段と、
前記待機手段により待機した場合にはその後で、前記アプリケーションを初期化する初期化手段とを有する。
According to one aspect of the present invention, the present invention is an information processing device that can be connected to a communication network and can install an application.
A determination means for determining whether or not the application is installed according to the activation of the information processing device, and
When the determination means determines that the application is installed, the standby means waiting to be connected to the communication network and the standby means.
When waiting by the standby means, it has an initialization means for initializing the application.

本発明によれば、情報処理装置の状況に関わらず情報処理装置の初期化処理を短時間かつ確実に行うことが可能となる。これにより、ユーザの利便性が向上する。 According to the present invention, it is possible to perform the initialization processing of the information processing apparatus in a short time and surely regardless of the situation of the information processing apparatus. This improves user convenience.

本発明の各実施形態に共通する画像形成装置100のコントローラユニット119を表すブロック図である。It is a block diagram which shows the controller unit 119 of the image forming apparatus 100 common to each embodiment of this invention. 本発明の各実施形態に共通するコントローラユニット119のソフトウエア構成を表すブロック図である。It is a block diagram which shows the software structure of the controller unit 119 common to each embodiment of this invention. 本発明の各実施形態に共通する画像形成装置100の初期化処理を表すフローチャート図である。It is a flowchart which shows the initialization process of the image forming apparatus 100 common to each embodiment of this invention. 本発明の各実施形態に共通するシステムモジュール初期化テーブルのイメージ図である。It is an image diagram of the system module initialization table common to each embodiment of this invention. 本発明の各実施形態に共通するユーザアプリ管理テーブルのイメージ図である。It is an image diagram of the user application management table common to each embodiment of this invention. 本発明の第2実施形態の画像形成装置100の初期化処理を表すフローチャート図である。It is a flowchart which shows the initialization process of the image forming apparatus 100 of the 2nd Embodiment of this invention. 本発明の第3実施形態の画像形成装置100の初期化処理を表すフローチャート図である。It is a flowchart which shows the initialization process of the image forming apparatus 100 of the 3rd Embodiment of this invention.

以下、本発明を実施するための形態について、図面を用いて説明する。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.

[第1の実施形態]
最初に、情報処理装置の一実施例である画像形成装置のコントローラユニットの説明を行う。
<画像形成装置のコントローラユニットの構成>
図1は、本発明の各実施形態に係る画像形成装置100のコントローラユニットの内部構造を示すブロック図である。画像形成装置100はたとえば多機能周辺機器(MFP)などであり、その情報処理能力に着目して情報処理装置と呼ぶこともある。
[First Embodiment]
First, a controller unit of an image forming apparatus, which is an embodiment of an information processing apparatus, will be described.
<Configuration of controller unit of image forming device>
FIG. 1 is a block diagram showing an internal structure of a controller unit of an image forming apparatus 100 according to each embodiment of the present invention. The image forming apparatus 100 is, for example, a multifunction peripheral device (MFP), and may be called an information processing apparatus by paying attention to its information processing ability.

コントローラユニット119は、各種制御プログラムを実行するCPU101を有する。CPU101は、ROM103に格納されているブートプログラムに基づきシステムを起動し、このシステム上でHDD(ハードディスク装置)104に格納されている制御プログラムを読み出してRAM102をワークエリアとして所定の処理を実行する。この制御プログラムにより、Java(登録商標)プログラムなどの所定の制御を実行することが可能である。HDD104には、上記各種制御プログラムが格納されるとともに、画像データや後述するネットワーク部107が有するすべての通信手段に関する情報を格納する。CPU101には、RAM102、ROM103、HDD104がシステムバス111を介して接続されている。さらに操作部I/F105、ネットワーク部107、イメージバスI/F109、電源管理部109がシステムバス111を介して接続されている。 The controller unit 119 has a CPU 101 that executes various control programs. The CPU 101 starts the system based on the boot program stored in the ROM 103, reads the control program stored in the HDD (hard disk disk device) 104 on the system, and executes a predetermined process using the RAM 102 as a work area. With this control program, it is possible to execute predetermined control such as a Java (registered trademark) program. The HDD 104 stores the various control programs, as well as image data and information related to all communication means possessed by the network unit 107, which will be described later. The RAM 102, ROM 103, and HDD 104 are connected to the CPU 101 via the system bus 111. Further, the operation unit I / F 105, the network unit 107, the image bus I / F 109, and the power supply management unit 109 are connected via the system bus 111.

操作部I/F105は、操作部(例えばタッチパネルなど、ディスプレイも備えている)106との間のインターフェイス部であり、操作部106に表示する画像データをRAM102から取得して転送する処理や、操作部106で発生した信号をCPU101へ転送する処理などを行う。操作部106は、ユーザが操作可能なボタンなどの対象物を表示するための表示処理と、表示処理に表示された情報をユーザが操作した信号(入力信号)を検知する入力処理を行う。 The operation unit I / F 105 is an interface unit with the operation unit (for example, a touch panel or the like, which also has a display) 106, and performs a process of acquiring and transferring image data to be displayed on the operation unit 106 from the RAM 102, and an operation. Processing such as transferring the signal generated by the unit 106 to the CPU 101 is performed. The operation unit 106 performs display processing for displaying an object such as a button that can be operated by the user, and input processing for detecting a signal (input signal) operated by the user on the information displayed in the display processing.

電源管理部109は、画像形成装置100の電源OFFと電源ONの管理を行う。なお電源ONを検知した場合、上述のように、CPU101は、ROM103のブートプログラムに基づきシステムを起動し、このシステム上でHDD104に格納されている制御プログラムを実行することで、画像形成装置100の初期化処理を行う。 The power management unit 109 manages the power OFF and the power ON of the image forming apparatus 100. When the power ON is detected, as described above, the CPU 101 boots the system based on the boot program of the ROM 103, and executes the control program stored in the HDD 104 on this system to execute the control program of the image forming apparatus 100. Perform initialization processing.

ネットワーク部107は、LAN108に接続され、LAN108を介した情報の入出力を行う。LAN回線にwebサーバが接続されている場合は、そのサーバからLAN108を介して情報を取得することが可能である。また、LAN回線内のプロキシサーバなどを介して、インターネットに接続し、インターネット上のwebサーバからwebコンテンツを取得することも可能である。 The network unit 107 is connected to the LAN 108 and inputs / outputs information via the LAN 108. When a web server is connected to the LAN line, it is possible to acquire information from the server via LAN 108. It is also possible to connect to the Internet via a proxy server in a LAN line and acquire web contents from a web server on the Internet.

イメージバスI/F110は、システムバス111と、画像バス112とを接続し、データ構造を変換するバスブリッジである。画像バス112は、画像データを高速で転送可能なPCIバスまたはIEEE1394規定に従うバスから構成される。画像バス112には、デバイスI/F114および画像処理部113が接続されている。 The image bus I / F 110 is a bus bridge that connects the system bus 111 and the image bus 112 and converts the data structure. The image bus 112 is composed of a PCI bus capable of transferring image data at high speed or a bus according to IEEE1394 regulations. The device I / F 114 and the image processing unit 113 are connected to the image bus 112.

デバイスI/F114は、画像読取デバイスであるスキャナ116や画像形成デバイスであるプリンタ118(まとめて画像入出力デバイスとも呼ぶ)とコントローラユニット119とを接続し、画像データの同期系/非同期系の変換を行う。ここでは、デバイスI/F114とスキャナ116とがケーブル115を介して、デバイスI/F114とプリンタ118とがケーブル117を介してそれぞれ接続されている。 The device I / F 114 connects a scanner 116 as an image reading device, a printer 118 (collectively referred to as an image input / output device) as an image forming device, and a controller unit 119, and converts image data in a synchronous / asynchronous system. I do. Here, the device I / F 114 and the scanner 116 are connected via the cable 115, and the device I / F 114 and the printer 118 are connected via the cable 117, respectively.

画像処理部113は、多値画像データに対してJPEG、二値画像データに対して、JBEG、MMR、MHなどの圧縮伸張処理を行う。また、入力画像データや出力画面に対して、プリンタの補正や解像度変換などの補正、加工、編集を行う。 The image processing unit 113 performs compression / decompression processing such as JPEG for multi-valued image data and JBEG, MMR, MH for binary image data. In addition, the input image data and the output screen are corrected, processed, and edited by printer correction and resolution conversion.

このように、コントローラユニット119のCPU101は、各制御プログラムに基づき、システムバス110に接続される各種デバイスとのアクセスを総括的に制御するととともに、デバイスI/F114を介してスキャナ116から画像情報を読み込む。また、読み込んだ画像情報に対して所定の処理を施した後に該画像情報をデバイスI/F114を介してプリンタ118に出力するなどの制御を行う。さらに、ネットワーク部107を通じて取得した文字データや画像データの解析・変換処理を行い、HDD104へ保存あるいは操作部106での表示制御を行う。 In this way, the CPU 101 of the controller unit 119 comprehensively controls access to various devices connected to the system bus 110 based on each control program, and also receives image information from the scanner 116 via the device I / F 114. Read. Further, after performing predetermined processing on the read image information, control such as outputting the image information to the printer 118 via the device I / F 114 is performed. Further, the character data and the image data acquired through the network unit 107 are analyzed and converted, and the data is saved in the HDD 104 or the display is controlled by the operation unit 106.

<ソフトウエアのモジュール構成>
次に、図2のモジュール構成図を用いて、画像形成装置100のCPU101やHDD104などの各ハードウエア上で動作するソフトウエアのモジュール構成を説明する。なお、これらの各モジュールにおける処理は、CPU101により、ROM103やHDD104に記憶されているプログラムを読み出して実行し、RAM102をワークエリアとして所定の処理を実行することで実現している。また、所定の処理を実行することで生成される全ての情報は、RAM102もしくはHDD104に記憶する。なお、このような各モジュールにおける処理は以降でも同様であるため、以降では記載を省略する。
<Software module configuration>
Next, the module configuration of the software operating on each hardware such as the CPU 101 and the HDD 104 of the image forming apparatus 100 will be described with reference to the module configuration diagram of FIG. The processing in each of these modules is realized by reading and executing the program stored in the ROM 103 or the HDD 104 by the CPU 101 and executing the predetermined processing using the RAM 102 as the work area. Further, all the information generated by executing the predetermined process is stored in the RAM 102 or the HDD 104. Since the processing in each module is the same in the following, the description thereof will be omitted below.

初期化処理制御部201は、画像形成装置100の初期化処理全体の制御を行う。初期化処理制御部201は、各システムモジュールの初期化とユーザアプリ(ユーザアプリケーション)の初期化を実行するための制御を行う。なおユーザアプリは、後入れされたアプリケーションであり、後入れアプリとも呼ぶ。またシステムモジュールをシステムと呼ぶのに対して、単にアプリケーションやアプリと呼ぶこともある。 The initialization process control unit 201 controls the entire initialization process of the image forming apparatus 100. The initialization process control unit 201 controls the initialization of each system module and the initialization of the user application (user application). The user application is a post-inserted application and is also called a post-inserted application. Also, while a system module is called a system, it may also be simply called an application or application.

コピーモジュール202およびネットワークモジュール203は、システムモジュールの例である。システムモジュールとは、画像形成装置100上で実行可能な機能を実現するためのモジュールやアプリの総称である。その一例として、コピー機能を実現するためのコピーモジュール202、スキャン機能を実現するためのスキャンモジュール(不図示)、ネットワーク通信を可能とするためのネットワークモジュール203などがある。これらのシステムモジュールは、ユーザ(管理者含む)が画像形成装置100に後から追加でインストールすることはできず、画像形成装置100にあらかじめ(工場出荷前に)インストールされているモジュールである。これらのシステムモジュールは、画像形成装置100の起動処理実行中に初期化処理制御部201からの初期化要求を受信すると、モジュール内の初期化処理を実行する。システムモジュールは、画像形成装置100がどのような状態でも、正常動作している限り初期化処理が成功するようなモジュールである。なお、画像形成装置100には多数のシステムモジュールが存在するが、ここでは記載を省略し、3つのみ記載している。 The copy module 202 and the network module 203 are examples of system modules. The system module is a general term for modules and applications for realizing functions that can be executed on the image forming apparatus 100. Examples thereof include a copy module 202 for realizing a copy function, a scan module (not shown) for realizing a scan function, and a network module 203 for enabling network communication. These system modules cannot be additionally installed by the user (including the administrator) in the image forming apparatus 100 later, and are pre-installed in the image forming apparatus 100 (before shipment from the factory). When these system modules receive an initialization request from the initialization processing control unit 201 during the execution of the activation processing of the image forming apparatus 100, they execute the initialization processing in the module. The system module is a module in which the initialization process succeeds as long as the image forming apparatus 100 operates normally in any state. Although there are many system modules in the image forming apparatus 100, the description is omitted here and only three are described.

ユーザアプリ制御モジュール204は、後述するユーザアプリ全体を制御する。ユーザアプリ制御モジュールは、画像形成装置100の起動処理実行中に初期化処理制御部201からの初期化要求を受信すると、ユーザアプリの初期化処理を実行する。 The user application control module 204 controls the entire user application described later. When the user application control module receives an initialization request from the initialization processing control unit 201 during the execution of the activation processing of the image forming apparatus 100, the user application control module executes the initialization processing of the user application.

ユーザアプリ205〜207は、ユーザが目的に応じて、画像形成装置100に後から(工場出荷後に)インストールしたアプリである。すなわち、ユーザアプリ(ユーザアプリケーション)は、後入れでインストール可能なアプリケーションである。これらのユーザアプリは、画像形成装置100の起動処理実行中にユーザアプリ制御モジュール204からの初期化要求を受信すると、システムモジュールと同じく、ユーザアプリ内の初期化処理を実行する。なお、画像形成装置100には多数のユーザアプリをインストールすることが可能であるが、ここでは記載を省略し、3つのみ記載している。なおユーザアプリは、システムモジュールと違い、動作するために所定の条件が満たされていることが必要なものもあり、この前提条件を満たしていない場合、ユーザアプリは動作(初期化処理含む)に失敗する。本実施例では、ネットワーク通信が利用可能になっていることを前提に動作するユーザアプリが1つ以上存在することとする。 The user applications 205 to 207 are applications that the user has installed later (after factory shipment) in the image forming apparatus 100 according to the purpose. That is, the user application (user application) is an application that can be installed later. When these user applications receive an initialization request from the user application control module 204 during the execution of the activation process of the image forming apparatus 100, they execute the initialization process in the user application in the same manner as the system module. Although it is possible to install a large number of user applications on the image forming apparatus 100, the description is omitted here and only three are described. In addition, unlike the system module, some user applications need to meet certain conditions in order to operate, and if these prerequisites are not met, the user application will operate (including initialization processing). Fail. In this embodiment, it is assumed that there is one or more user applications that operate on the premise that network communication is available.

ネットワーク判断部208は、ネットワーク部107を用いて外部とネットワーク通信可能になっているかどうかの判断を行う。ネットワーク通信可能かどうかを判断する方法は多数の方法が知られているが、本実施例ではネットワーク通信時に必要なIPアドレスを画像形成装置100に設定したかどうかで判断する。より具体的には、画像形成装置100のネットワーク部107がWAN108経由でDHCPサーバと通信し、DHCPサーバからIPアドレスを取得する。なお、これは一般的な技術であるため、ここでの説明は省略する。そして取得したIPアドレスを、HDD104に記憶することでIPアドレスを設定したこととなる。なお、情報処理装置の初期化処理実行前のデフォルト状態のIPアドレスは、HDD104に何も設定されていないこととする。ネットワーク通信可能の判定をこのようにIPアドレスが取得済みか否かを基準として行う。このため、画像形成装置100がネットワーク通信可能になっていないのは、DHCPサーバからIPアドレスを取得するのに時間がかかっていることが原因となることがある。また、ネットワークケーブルが物理的に画像形成装置100に接続されていない場合も、ネットワーク通信可能になっていない原因となる。以上が、モジュール構成図の説明である。 The network determination unit 208 uses the network unit 107 to determine whether or not network communication with the outside is possible. Many methods are known for determining whether or not network communication is possible, but in this embodiment, it is determined whether or not the IP address required for network communication is set in the image forming apparatus 100. More specifically, the network unit 107 of the image forming apparatus 100 communicates with the DHCP server via the WAN 108 and acquires an IP address from the DHCP server. Since this is a general technique, the description thereof is omitted here. Then, the IP address is set by storing the acquired IP address in the HDD 104. It is assumed that nothing is set in the HDD 104 as the IP address in the default state before the initialization processing of the information processing apparatus is executed. The determination of network communication is performed based on whether or not the IP address has been acquired in this way. Therefore, the reason why the image forming apparatus 100 is not capable of network communication may be that it takes time to acquire the IP address from the DHCP server. Further, if the network cable is not physically connected to the image forming apparatus 100, it may cause the network communication to not be possible. The above is the description of the module configuration diagram.

なお、ユーザが画像形成装置100を利用可能になる前にシステムモジュールやユーザアプリの初期化処理を行うのは、ユーザが画像形成装置100で利用できる機能の明示化やユーザが画像形成装置100を操作したときの応答時間を短縮するためである。具体的には、ユーザが操作部106で選択可能な機能がどのようなものかを初期化処理中に判断し、選択可能な機能のみを操作部106で表示することが可能となる。また、操作部106でユーザが操作してから開始する処理を初期化処理中に実行しておくことで、操作部106でユーザが操作してからの処理時間(ユーザへの応答時間)を短縮することができる。このように、画像形成装置100の起動時に初期化処理を行うことで、ユーザの操作性を向上することができる。 Before the user can use the image forming apparatus 100, the system module and the user application are initialized by clarifying the functions that can be used by the user in the image forming apparatus 100 and by the user using the image forming apparatus 100. This is to shorten the response time when operating. Specifically, it is possible for the operation unit 106 to determine what kind of function the user can select in the operation unit 106 during the initialization process and display only the selectable function in the operation unit 106. Further, by executing the process started after the user operates the operation unit 106 during the initialization process, the processing time (response time to the user) after the user operates the operation unit 106 is shortened. can do. In this way, the user's operability can be improved by performing the initialization process when the image forming apparatus 100 is started.

<システムモジュールの初期化処理> 続いて、画像形成装置100の初期化処理の説明を、フローチャート図3を用いて説明する。図3は、ハードウエア上はCPU101により実行され、ソフトウェアモジュールではステップ301は初期化処理制御部201により、ステップ302以降はユーザアプリ制御モジュール204により実行される。 <Initialization Process of System Module> Next, the description of the initialization process of the image forming apparatus 100 will be described with reference to FIG. FIG. 3 is executed by the CPU 101 on the hardware, and in the software module, step 301 is executed by the initialization processing control unit 201, and steps 302 and thereafter are executed by the user application control module 204.

初期化処理制御部201は、電源管理部109を用いて画像形成装置100の電源をONにしたことを検知すると、あらかじめ決められた順番で各システムモジュールに初期化処理の実行要求を送信し、各システムモジュールは初期化処理を行う(ステップ301)。このシステムモジュールの初期化処理は、初期化処理制御部201がシステムモジュール初期化テーブルを用いて行う。ここで、システムモジュール初期化テーブルの具体例を、図4を用いて説明する。なお、図4の情報すなわちシステムモジュール初期化テーブルはあらかじめROM103に記憶されていることとする。図4は、初期化処理制御部201が呼び出すシステムモジュールの順番と、システムモジュールの名称(固有の識別情報であればよい)と、初期化処理を行うために初期化処理制御部201が呼び出す初期化関数(システムモジュール内にある関数)とを関連付けた表である。図4のシステムモジュール初期化テーブルは、8つのシステムモジュールからなる。最初に初期化を行うシステムモジュールは、名称が「OS」というモジュールであり、この「OS」モジュールを初期化するために初期化処理制御部201が実行する初期化関数は「os_init()」関数である。この初期化関数を実行することで、「OS」モジュールの初期化処理を行うが、具体的な初期化処理の内容としては、画像形成装置100のOSの起動やKernelの起動などである。初期化処理制御部201は、「OS」モジュールの初期化関数os_init()を実行すると、この実行結果を待たずに、次に初期化するモジュールの初期化関数を実行する。ここでは「コピー」モジュール(図2のコピーモジュール202)の初期化関数「printer_init()」を実行することで、「コピー」モジュールの初期化処理を行う。具体的な初期化処理の内容としては、画像処理部113やプリンタ118と通信可能であることの確認やコピー準備要求(定着温度上昇やトナー撹拌など)をプリンタ118へ送信することである。このようにして、初期化処理制御部201は、最後の「ネットワーク」モジュール(図2のネットワークモジュール203)まで各システムモジュールの初期化関数を呼び出すことを繰り返して、初期化処理を行う。なお本実施例では、「ネットワーク」モジュールの初期関数「network_init()」を呼び出すことで、画像形成装置100のIPアドレスがたとえば「192.168.123.456」と設定され、ネットワーク通信可能になることとする。なお、ネットワーク通信可能になるタイミングは、最後のユーザアプリ(後述の「スキャン」アプリ207)の初期化処理の途中であることとする。 When the initialization processing control unit 201 detects that the power of the image forming apparatus 100 has been turned on by using the power supply management unit 109, it transmits an initialization processing execution request to each system module in a predetermined order. Each system module performs an initialization process (step 301). The initialization process of this system module is performed by the initialization process control unit 201 using the system module initialization table. Here, a specific example of the system module initialization table will be described with reference to FIG. It is assumed that the information of FIG. 4, that is, the system module initialization table is stored in ROM 103 in advance. FIG. 4 shows the order of the system modules called by the initialization processing control unit 201, the names of the system modules (which may be unique identification information), and the initials called by the initialization processing control unit 201 to perform the initialization processing. It is a table associated with the conversion function (function in the system module). The system module initialization table of FIG. 4 consists of eight system modules. The system module to be initialized first is a module whose name is "OS", and the initialization function executed by the initialization processing control unit 201 to initialize this "OS" module is the "os_init ()" function. Is. By executing this initialization function, the "OS" module is initialized, and the specific contents of the initialization process include starting the OS of the image forming apparatus 100 and starting the Kernel. When the initialization processing control unit 201 executes the initialization function os_init () of the "OS" module, it executes the initialization function of the module to be initialized next without waiting for the execution result. Here, the initialization process of the "copy" module is performed by executing the initialization function "printer_init ()" of the "copy" module (copy module 202 in FIG. 2). The specific contents of the initialization process are confirmation that communication is possible with the image processing unit 113 and the printer 118, and transmission of a copy preparation request (fixation temperature rise, toner stirring, etc.) to the printer 118. In this way, the initialization process control unit 201 repeatedly calls the initialization function of each system module up to the last "network" module (network module 203 in FIG. 2) to perform the initialization process. In this embodiment, by calling the initial function "network_init ()" of the "network" module, the IP address of the image forming apparatus 100 is set to, for example, "192.168.123.456", and network communication is possible. It should be noted that the timing at which network communication becomes possible is in the middle of the initialization process of the last user application (“scan” application 207 described later).

以上が、システムモジュールの初期化処理(ステップS301)の説明である。続いて、ユーザアプリの初期化処理の説明を行う。 The above is the description of the system module initialization process (step S301). Next, the initialization process of the user application will be described.

<ユーザアプリの初期化処理>
ユーザアプリの初期化処理は、初期化前チェック処理(ステップ302〜306)と、初期化実行処理(ステップ307)の2つの処理からなる。まず最初に、初期化前チェック処理の説明を行う。
<Initialization process of user application>
The initialization process of the user application includes two processes, a pre-initialization check process (steps 302 to 306) and an initialization execution process (step 307). First, the pre-initialization check process will be described.

初期化処理制御部201は、システムモジュールの初期化が完了すると、ユーザアプリ制御モジュール204に初期化実行要求を送信する。これを受信したユーザアプリ制御モジュール204は、ユーザアプリが画像形成装置100にインストールされているかの判断を、ユーザアプリ管理テーブルを用いて行う(ステップ302)。ここで、ユーザアプリ管理テーブルの具体例を、図5を用いて説明する。図5は、ユーザアプリ制御モジュール204が呼び出すユーザアプリの順番と、ユーザアプリの名称と、ユーザアプリの種類と、ネットワーク通信の利用有無を示す情報とを関連付けた表である。また図5には、初期化処理を行うためにユーザアプリ制御モジュール204が呼び出す初期化関数(ユーザアプリ内にある関数)も含む。なお図5の情報は、アプリ内に含まれる設定ファイル内に記載されている情報であり、画像形成装置100にユーザアプリをインストールしたときにHDD104に記憶することとする。設定される各項目の値は、たとえば予めアプリケーションのインストールファイルに設定しておいてもよいし、マニフェストファイルの一部として設定しておいてもよいし、インストールの都度、ユーザが入力するなどしてもよい。この設定ファイルの具体例としては、ユーザアプリがJava(登録商標)アプリの場合、MANIFESTファイルである。例えばアプリAのマニフェストファイルには、その名称と種類、ネットワーク利用の有無、初期化関数名が登録されており、アプリAをインストールすることで、それら項目がユーザアプリ管理テーブルに登録される。項目「順番」の値は、たとえばインストールされた順序などであってもよい。 When the initialization of the system module is completed, the initialization process control unit 201 transmits an initialization execution request to the user application control module 204. Upon receiving this, the user application control module 204 determines whether or not the user application is installed in the image forming apparatus 100 by using the user application management table (step 302). Here, a specific example of the user application management table will be described with reference to FIG. FIG. 5 is a table in which the order of user applications called by the user application control module 204, the name of the user application, the type of the user application, and the information indicating whether or not network communication is used are associated with each other. Further, FIG. 5 also includes an initialization function (a function in the user application) called by the user application control module 204 to perform the initialization process. The information in FIG. 5 is the information described in the setting file included in the application, and is stored in the HDD 104 when the user application is installed in the image forming apparatus 100. The value of each item to be set may be set in advance in the installation file of the application, may be set as a part of the manifest file, or may be input by the user each time the installation is performed. You may. As a specific example of this setting file, when the user application is a Java (registered trademark) application, it is a MANIFEST file. For example, the name and type of the application A, whether or not the network is used, and the name of the initialization function are registered in the manifest file of the application A, and by installing the application A, these items are registered in the user application management table. The value of the item "order" may be, for example, the installed order.

図5のユーザアプリ管理テーブルは、3つのユーザアプリからなる。最初に初期化を行うユーザアプリは、名称が「アプリA」というアプリ(図2のユーザアプリ205)であり、アプリの種類は「コピー」、ネットワーク通信の利用は「なし」である。またこの「アプリA」アプリの初期化を実行するためにユーザアプリ制御モジュール204が呼び出す初期化関数は「copy_init()」である。アプリ名称が「アプリB」のアプリ(図2の206)は、アプリの種類は「ログイン」、ネットワーク通信の利用は「あり」、初期化関数は「login_init ()」である。また、アプリ名称が「アプリC」のアプリ(図2の207)は、アプリの種類は「スキャン」、ネットワーク通信の利用は「あり」、初期化関数は「scan_init ()」である。以上が、ユーザアプリ管理テーブルの説明である。 The user application management table of FIG. 5 consists of three user applications. The user application to be initialized first is an application whose name is "App A" (user application 205 in FIG. 2), the type of application is "copy", and the use of network communication is "none". The initialization function called by the user application control module 204 to execute the initialization of this "application A" application is "copy_init ()". For the application whose application name is "App B" (206 in FIG. 2), the type of application is "Login", the use of network communication is "Yes", and the initialization function is "login_init ()". In the application whose application name is "App C" (207 in FIG. 2), the type of application is "scan", the use of network communication is "yes", and the initialization function is "scan_init ()". The above is the description of the user application management table.

ユーザアプリ制御モジュール204は、このようなユーザアプリ管理テーブルを用いて、ユーザアプリが少なくとも1つは画像形成装置100にインストールされているかどうかを判断する。たとえばユーザアプリ管理テーブルに登録されているユーザアプリがなければ、インストールされているユーザアプリは無いものと判断できる。ユーザアプリ管理テーブルにユーザアプリが一つでも登録されていれば、ユーザアプリがインストールされているものと判断できる。ここで、ユーザアプリが1つもインストールされていないと判断すると、ユーザアプリ制御モジュール204は、初期化処理制御部201にユーザアプリの初期化処理の終了通知を送信する。そして、これを受信した初期化処理制御部201は、画像形成装置100の初期化処理を完了する。一方、ユーザアプリが1つ以上インストールされていると判断すると、ユーザアプリ制御モジュール204は、各ユーザアプリに対して順次着目し、後述のステップ303〜306の処理をユーザアプリ毎に繰り返す。 The user application control module 204 uses such a user application management table to determine whether or not at least one user application is installed in the image forming apparatus 100. For example, if there is no user application registered in the user application management table, it can be determined that there is no installed user application. If even one user application is registered in the user application management table, it can be determined that the user application is installed. Here, if it is determined that no user application is installed, the user application control module 204 sends a notification of the end of the initialization process of the user application to the initialization process control unit 201. Then, the initialization processing control unit 201 that has received this completes the initialization processing of the image forming apparatus 100. On the other hand, if it is determined that one or more user applications are installed, the user application control module 204 pays attention to each user application in sequence, and repeats the processes of steps 303 to 306 described later for each user application.

まずユーザアプリ制御モジュール204は、ユーザアプリがネットワーク通信を利用するかどうかを判断する(ステップ303)。ここではユーザアプリ管理テーブルのネットワーク通信の利用有無を参照することで判断する。この結果、ユーザアプリ制御モジュール204は、ネットワーク通信を利用しないユーザアプリであると判断すると、ユーザアプリ管理テーブルを参照し、次のユーザアプリがあればそのチェックに進む(ステップ303の判断に戻る)。一方、ネットワーク通信を利用するユーザアプリであると判断すると、ユーザアプリ制御モジュール204は、アプリの種類がログインであるかどうかを判断する(ステップ304)。ここでは、アプリの種類がログインであるかどうかは、ユーザアプリ管理テーブルのアプリの種類を参照することで判断する。なおアプリの種類がログインであるかどうかを判断するのは、ログインアプリを特別扱いするためであり、ログインアプリは画像形成装置100がネットワーク通信可能になっていない場合も初期化に必ず成功するアプリであることとしているためである。後入れのログインアプリは、画像形成装置の初期化終了後に最初にUI画面を出す必要があり、そのUI画面からユーザがログインすることができる。ログインアプリは、後入れアプリであってもネットワーク接続済みの確認前に初期化処理を行っている。そのため、後入れのログインアプリはネットワーク接続済みが前提になっておらず、ネットワーク未接続でも初期化が成功するようなアプリの実装になっている。そこでログインアプリは、例外的な扱いとしている。ステップ304での判定の結果、ユーザアプリの種類がログインであると判断すると、ユーザアプリ制御モジュール204は、ユーザアプリ管理テーブルを参照し、次のユーザアプリのチェックに進む(ステップ303の判断に戻る)。ステップ303と304とをまとめて、判定対象の着目アプリが、初期化処理において通信ネットワークに接続されているべきアプリか否かを判定しているといってもよい。 First, the user application control module 204 determines whether or not the user application uses network communication (step 303). Here, the determination is made by referring to whether or not network communication is used in the user application management table. As a result, when the user application control module 204 determines that the user application does not use network communication, it refers to the user application management table and proceeds to check the next user application if it exists (returns to the determination in step 303). .. On the other hand, if it is determined that the user application uses network communication, the user application control module 204 determines whether or not the type of application is login (step 304). Here, whether or not the application type is login is determined by referring to the application type in the user application management table. It should be noted that the reason for determining whether the type of application is login is to treat the login application specially, and the login application is an application that always succeeds in initialization even when the image forming apparatus 100 is not capable of network communication. This is because it is supposed to be. The post-insertion login application needs to display the UI screen first after the initialization of the image forming apparatus is completed, and the user can log in from the UI screen. Even if the login application is a post-insertion application, the initialization process is performed before confirming that the network connection has been completed. Therefore, the post-installed login application is not premised on being connected to the network, and the implementation of the application is such that initialization is successful even if the network is not connected. Therefore, the login application is treated as an exception. As a result of the determination in step 304, if it is determined that the user application type is login, the user application control module 204 refers to the user application management table and proceeds to check the next user application (returns to the determination in step 303). ). It may be said that steps 303 and 304 are put together to determine whether or not the application of interest to be determined is an application that should be connected to the communication network in the initialization process.

一方、ユーザアプリの種類がログインではないと判断すると、ユーザアプリ制御モジュール204は、画像形成装置100がネットワーク通信可能になっているかどうかを、ネットワーク判断部208を用いて判断する(ステップ305)。この結果、ネットワーク通信可能になっていると判断すると、ユーザアプリ制御モジュール204は、ユーザアプリ管理テーブルを参照し、次のユーザアプリのチェックに進む(ステップ303の判断に戻る)。一方、ネットワーク通信可能になっていないと判断すると、ネットワーク通信が可能になるのを待つ(ステップ306)。具体的には、たとえば画像形成装置100のIPアドレスが取得されたことを所定の周期でチェックし、IPアドレスが取得されるのを待機する。この場合IPアドレスが取得されると、通信ネットワークと接続可能となったものと判断する。このような処理を、ユーザアプリ管理テーブルの全てのアプリもしくはネットワーク通信可能になるまで実施する。なお、物理的にネットワークケーブルが接続されていない等の理由により、ネットワーク通信可能にならない場合もある。この場合、画像形成装置100の初期化が止まってしまうため、ステップ306ではあらかじめ決めておいた所定のタイムアウト時間まで待ち、タイムアウト時間になったらネットワーク通信可能であると判断しても良い。 On the other hand, if it is determined that the type of the user application is not login, the user application control module 204 determines whether or not the image forming apparatus 100 is capable of network communication by using the network determination unit 208 (step 305). As a result, when it is determined that network communication is possible, the user application control module 204 refers to the user application management table and proceeds to check the next user application (returns to the determination in step 303). On the other hand, if it is determined that network communication is not possible, it waits for network communication to be possible (step 306). Specifically, for example, it checks that the IP address of the image forming apparatus 100 has been acquired at a predetermined cycle, and waits for the IP address to be acquired. In this case, when the IP address is acquired, it is determined that the connection with the communication network is possible. Such processing is carried out until all the applications in the user application management table or network communication become possible. In some cases, network communication may not be possible due to reasons such as the physical network cable not being connected. In this case, since the initialization of the image forming apparatus 100 is stopped, in step 306, it may be determined that network communication is possible after waiting for a predetermined time-out time determined in advance.

なおステップ305においてネットワーク通信可能であると判定された場合には、それ以降のユーザアプリを対象としてステップ303から処理を繰り返さず、ステップ307に分岐してユーザアプリの初期化処理を実行してもよい。本例ではIPアドレスを取得済みであればネットワーク通信可能と判断しているためで、いったんあるユーザアプリについてネットワーク通信可能を判断した場合、それ以降のユーザアプリで通信可能でないと判定される可能性は低いと考えられるからである。 If it is determined in step 305 that network communication is possible, the process may not be repeated from step 303 for the subsequent user applications, but may be branched to step 307 to execute the user application initialization process. good. In this example, it is judged that network communication is possible if the IP address has already been acquired, so once it is judged that network communication is possible for a certain user application, it may be judged that communication is not possible with subsequent user applications. Is considered low.

以上が、ユーザアプリの初期化前チェック処理の説明である。この手順によって、インストール済みのユーザアプリの中に、種別がログインのアプリを除いて、ネットワークを用いるものがあり、かつ、ネットワーク通信可能でない場合にはネットワーク通信が可能になるのを待つ。そしてそれ以外の場合には、ユーザアプリの初期化を直ちに実行する。ここで、初期化前チェック処理の具体例を説明する。なお、ユーザアプリ管理テーブルは図5であるとする。 The above is the description of the pre-initialization check process of the user application. By this procedure, some of the installed user applications use the network except for the application whose type is login, and if network communication is not possible, wait for network communication to become possible. In other cases, the initialization of the user application is executed immediately. Here, a specific example of the pre-initialization check process will be described. It is assumed that the user application management table is shown in FIG.

<具体例>
まずユーザアプリ制御モジュール204は、ユーザアプリがインストールされているので、アプリ名称「アプリA」のユーザアプリに対し、ネットワーク通信を利用するかどうかの判断を行う(ステップ303)。ここでは、「アプリA」のユーザアプリはネットワーク通信を利用しないため、次のユーザアプリであるアプリ名称「アプリB」のユーザアプリのチェックをユーザアプリ制御モジュール204で行う。
<Specific example>
First, since the user application control module 204 has the user application installed, it determines whether or not to use the network communication for the user application having the application name "application A" (step 303). Here, since the user application of "App A" does not use network communication, the user application control module 204 checks the user application of the application name "App B" which is the next user application.

次にユーザアプリ制御モジュール204は、「アプリB」のユーザアプリに対し、ネットワーク通信を利用するかどうかの判断を行う(ステップ303)。ここでは、「アプリB」のユーザアプリはネットワーク通信を利用するため、アプリの種類が「ログイン」かどうかをユーザアプリ制御モジュール204で判断する(ステップ304)。ここでは、「アプリB」のアプリの種類は「ログイン」であるため、次のユーザアプリであるアプリ名称「アプリC」のユーザアプリのチェックをユーザアプリ制御モジュール204で行う。 Next, the user application control module 204 determines whether or not to use network communication for the user application of "application B" (step 303). Here, since the user application of "application B" uses network communication, the user application control module 204 determines whether or not the type of application is "login" (step 304). Here, since the type of the application of "App B" is "Login", the user application control module 204 checks the user application of the application name "App C" which is the next user application.

最後にユーザアプリ制御モジュール204は、「アプリC」のユーザアプリに対し、ネットワーク通信を利用するかどうかの判断を行う (ステップ303)。ここでは、「アプリC」のユーザアプリはネットワーク通信を利用するため、アプリの種類が「ログイン」かどうかをユーザアプリ制御モジュール204で判断する(ステップ304)。ここでは、「アプリC」のアプリの種類は「ログイン」ではないため、ネットワーク通信可能になっているかどうかの判断を行う(ステップ305)。ここでは、まだネットワーク通信可能になっていないため、ネットワーク通信可能になるのを待つ(ステップ306)。なおここでは所定時間、たとえば500msec待つことでネットワーク通信可能になるとし、500msec後にユーザアプリ制御モジュール204は初期化前チェック処理を終了する。以上が図5を用いた具体例の説明であり、これで初期化前チェック処理の説明を終える。次に、初期化実行処理の説明を行う。 Finally, the user application control module 204 determines whether or not to use network communication for the user application of "application C" (step 303). Here, since the user application of "App C" uses network communication, the user application control module 204 determines whether or not the type of application is "login" (step 304). Here, since the type of application of "App C" is not "Login", it is determined whether or not network communication is possible (step 305). Here, since network communication is not yet possible, wait for network communication to be possible (step 306). Here, it is assumed that network communication becomes possible by waiting for a predetermined time, for example, 500 msec, and the user application control module 204 ends the pre-initialization check process after 500 msec. The above is the explanation of the specific example using FIG. 5, and this concludes the explanation of the pre-initialization check process. Next, the initialization execution process will be described.

<ユーザアプリの初期化処理>
初期化前チェック処理が終了すると、ユーザアプリ制御モジュール204は、初期化実行処理を行う。この初期化実行処理は、ユーザアプリ制御モジュール204が、ユーザアプリ管理テーブルを参照し、各ユーザアプリの初期化関数を実行することで行う (ステップ307)。そして、具体的には図5の場合、ユーザアプリ制御モジュール204は、各ユーザアプリの初期化関数である「copy_init()」「scan_init()」「login_init()」関数を実行する。これにより、それぞれの関数内で各ユーザアプリの初期化処理が行われる。なお、ユーザアプリの初期化処理が全て完了すると、ユーザアプリ制御モジュール204は、初期化処理制御部201にユーザアプリの初期化処理の終了通知を送信し、これを受信した初期化処理制御部201は画像形成装置100の初期化処理を完了する。以上が初期化実行処理の説明であり、これで、フローチャート図3の説明を終える。
<Initialization process of user application>
When the pre-initialization check process is completed, the user application control module 204 performs the initialization execution process. This initialization execution process is performed by the user application control module 204 referring to the user application management table and executing the initialization function of each user application (step 307). Specifically, in the case of FIG. 5, the user application control module 204 executes the "copy_init ()", "scan_init ()", and "login_init ()" functions, which are initialization functions of each user application. As a result, the initialization process of each user application is performed in each function. When all the initialization processes of the user application are completed, the user application control module 204 sends a notification of the end of the initialization process of the user application to the initialization process control unit 201, and receives the notification of the end of the initialization process of the user application. Completes the initialization process of the image forming apparatus 100. The above is the description of the initialization execution process, and this concludes the description of the flowchart FIG.

本実施形態により、ユーザアプリごとにネットワーク通信可能になるまで待つ必要があるかどうかを判断し、待つ必要がある場合のみネットワーク通信可能になるまで待ってからユーザアプリの初期化を行うことが可能となる。これにより、不要なネットワーク通信待ちを避けることが可能となり、短時間かつ確実に画像形成装置100の初期化処理を行うことができ、ユーザの利便性が向上する。 According to this embodiment, it is possible to determine whether or not it is necessary to wait until network communication becomes possible for each user application, and only when it is necessary to wait, wait until network communication becomes possible and then initialize the user application. Will be. As a result, it becomes possible to avoid unnecessary waiting for network communication, the initialization process of the image forming apparatus 100 can be performed reliably in a short time, and the convenience of the user is improved.

[第2の実施形態]
第1の実施形態では、画像形成装置100の初期化処理において、ネットワーク通信可能になるまで待つ必要があるかどうかをユーザアプリごとに判断した。しかし、多数のユーザアプリが画像形成装置100にインストールされている場合、各ユーザアプリの情報を調べるのに時間がかかり、画像形成装置100の初期化処理に時間がかかってしまう場合もある。そのため、少しでも速く画像形成装置100の初期化処理を完了するために、ネットワーク通信可能になるまで待つかどうかを別の条件で判断しても良い。
[Second Embodiment]
In the first embodiment, in the initialization process of the image forming apparatus 100, it is determined for each user application whether or not it is necessary to wait until network communication becomes possible. However, when a large number of user applications are installed in the image forming apparatus 100, it takes time to check the information of each user application, and it may take time to initialize the image forming apparatus 100. Therefore, in order to complete the initialization process of the image forming apparatus 100 as quickly as possible, it may be determined under another condition whether or not to wait until network communication becomes possible.

本実施形態では、ユーザアプリが1つでもインストールされているかどうかによってネットワーク通信可能になるまで待つかどうかを判断する実施形態を、フローチャート図6を用いて説明する。なお、基本的な処理や制御は第1の実施形態と同じであるため、第1の実施形態と異なる点のみを説明する。各システムモジュールの初期化処理 (ステップ301)とユーザアプリがインストールされているかどうかの判断(ステップ302)までは、第1の実施形態と同じであるため、説明を省略する。 In the present embodiment, an embodiment in which it is determined whether or not to wait until network communication becomes possible depending on whether or not even one user application is installed will be described with reference to FIG. Since the basic processing and control are the same as those in the first embodiment, only the differences from the first embodiment will be described. Since the initialization process of each system module (step 301) and the determination of whether or not the user application is installed (step 302) are the same as those of the first embodiment, the description thereof will be omitted.

ユーザアプリ制御モジュール204は、ステップ302でユーザアプリが1つもインストールされていないと判断すると、初期化処理制御部201にユーザアプリの初期化処理の終了通知を送信する。そして、これを受信した初期化処理制御部201は、画像形成装置100の初期化処理を完了する。一方、ユーザアプリ制御モジュール204は、ステップ302でユーザアプリが1つでもインストールされていると判断すると、画像形成装置100がネットワーク通信可能になっているかどうかを、ネットワーク判断部208を用いて判断する(ステップ305)。このように本実施形態では、図6のステップ302でアプリがインストールされている判定されると、図3に示したステップ303および304をスキップしてステップ305に分岐する。またステップ305の判定もアプリごとに行わず、ただ一回行われる。ステップ305の結果、ネットワーク通信可能になっていると判断すると、ユーザアプリの初期化前チェック処理を終了する。一方、ネットワーク通信可能になっていないと判断すると、ユーザアプリ制御モジュール204は、ネットワーク通信が可能になるのを待ち(ステップ306)、初期化前チェック処理を終了する。 When the user application control module 204 determines in step 302 that no user application is installed, the user application control module 204 transmits a notification of the end of the initialization process of the user application to the initialization process control unit 201. Then, the initialization processing control unit 201 that has received this completes the initialization processing of the image forming apparatus 100. On the other hand, when the user application control module 204 determines in step 302 that even one user application is installed, the user application control module 204 determines whether or not the image forming apparatus 100 is capable of network communication by using the network determination unit 208. (Step 305). As described above, in the present embodiment, when it is determined in step 302 of FIG. 6 that the application is installed, steps 303 and 304 shown in FIG. 3 are skipped and the process branches to step 305. Also, the judgment of step 305 is not performed for each application, but is performed only once. As a result of step 305, if it is determined that network communication is possible, the pre-initialization check process of the user application is terminated. On the other hand, if it is determined that network communication is not possible, the user application control module 204 waits for network communication to be possible (step 306), and ends the pre-initialization check process.

初期化前チェックが終了すると、ユーザアプリ制御モジュール204は、各ユーザアプリの初期化実行処理を行う(ステップ307)。この処理は第1の実施形態と同じであるため、記載を省略する。以上がフローチャート図6の説明である。 When the pre-initialization check is completed, the user application control module 204 performs initialization execution processing of each user application (step 307). Since this process is the same as that of the first embodiment, the description thereof will be omitted. The above is the explanation of the flowchart FIG.

本実施形態により、ユーザアプリが画像形成装置100に1つでもインストールされている場合は、ネットワーク通信が可能になるのを待ってからユーザアプリの初期化を行うことが可能となる。このため、多数のユーザアプリがインストールされている場合においても、短時間かつ確実に画像形成装置100の初期化を行うことができる。これによりユーザの画像形成装置100の起動待ち時間を減らすことができ、ユーザの利便性が向上する。 According to this embodiment, when at least one user application is installed in the image forming apparatus 100, it is possible to initialize the user application after waiting for network communication to become possible. Therefore, even when a large number of user applications are installed, the image forming apparatus 100 can be initialized reliably in a short time. As a result, the waiting time for starting the image forming apparatus 100 of the user can be reduced, and the convenience of the user is improved.

[第3の実施形態]
第1の実施形態や第2の実施形態では、画像形成装置100の初期化処理において、ユーザアプリのインストール有無やユーザアプリの情報に応じて、ネットワーク通信可能になるまで待つ処理を行うかどうかを判断した。しかし画像形成装置100の状況によっては、ユーザアプリをユーザが利用しない場合もあり、この場合は画像形成装置100の初期化処理を少しでも短時間で終了し、画像形成装置100をユーザが利用可能にすることが求められる。本実施例では、状況に応じてユーザアプリの初期化前チェックと初期化実行処理を行わない実施形態を、フローチャート図7を用いて説明する。なお、基本的な処理や制御は第1の実施形態と同じであるため、第1の実施形態と異なる点のみを説明する。具体的には、フローチャート図3のステップ301の各システムモジュールの初期化後に、画像形成装置100が特殊な状況で起動しているかどうかによって、ユーザアプリの初期化実行処理を行うかどうかを判断する。
[Third Embodiment]
In the first embodiment and the second embodiment, in the initialization process of the image forming apparatus 100, whether or not to perform a process of waiting until network communication becomes possible according to whether or not the user application is installed and the information of the user application is performed. It was judged. However, depending on the situation of the image forming apparatus 100, the user application may not be used by the user. In this case, the initialization process of the image forming apparatus 100 can be completed in as short a time as possible, and the image forming apparatus 100 can be used by the user. Is required to be. In this embodiment, an embodiment in which the pre-initialization check and the initialization execution process of the user application are not performed depending on the situation will be described with reference to FIG. 7. Since the basic processing and control are the same as those in the first embodiment, only the differences from the first embodiment will be described. Specifically, after the initialization of each system module in step 301 of FIG. 3, it is determined whether or not to perform the initialization execution process of the user application depending on whether or not the image forming apparatus 100 is activated in a special situation. ..

各システムモジュールの初期化処理(ステップ301)は、第1の実施形態と同じである。この後にユーザアプリ制御モジュール204は、画像形成装置100が通常モードかどうかを判断する(ステップ701)。ここで、通常モードと特殊モードの説明を行う。画像形成装置100には、複数のモードがあり、通常モードではないモードをまとめて特殊モードと呼ぶこととする。通常モードとは、たとえばユーザが画像形成装置をその本来の目的、たとえば複写や印刷、スキャンなどのために使用するモードである。一方特殊モードは、画像形成装置100を特別な状況で使うためにユーザが設定するモードであり、この特殊モードのときに画像形成装置100にインストールされているユーザアプリを利用することはない。特殊モードとは例えば、画像形成装置100の工場組み立て時の工場確認用モードや、サービスマンが画像形成装置100のメンテナンスを行う時のサービス確認用モードなど、装置の組み立てや保守のために使用されるモードである。そのため通常モード及び特殊モードをそれぞれ、運用モード及び保守モードなどと呼んでもよい。このような特殊モードに切り替える方法は様々な方法があるが、本実施例ではHDD104に記憶された現在のモードの値を参照することで判断することとする。このHDD104の現在のモードの値は、操作部106で所定の操作を行うことで、HDD104に現在のモードが特殊モード中であることの情報を記憶することとする。そのため、ユーザアプリ制御モジュール204は、HDD104のモードの値を参照することで、画像形成装置100が通常モードかどうかを判断する。この結果(ステップ701の結果)、ユーザアプリ制御モジュール204は、画像形成装置100が通常モードではないと判断すると、初期化処理制御部201にユーザアプリの初期化処理の終了通知を送信する。そして、これを受信した初期化処理制御部201は、画像形成装置100の初期化処理を完了する。そのため、第1の実施形態のように各ユーザアプリの初期化処理(ステップ307)を実施することはない。 The initialization process (step 301) of each system module is the same as that of the first embodiment. After this, the user application control module 204 determines whether the image forming apparatus 100 is in the normal mode (step 701). Here, the normal mode and the special mode will be described. The image forming apparatus 100 has a plurality of modes, and modes other than the normal mode are collectively referred to as a special mode. The normal mode is a mode in which a user uses the image forming apparatus for its original purpose, for example, copying, printing, scanning, and the like. On the other hand, the special mode is a mode set by the user to use the image forming apparatus 100 in a special situation, and the user application installed in the image forming apparatus 100 is not used in this special mode. The special mode is used for assembling and maintaining the device, for example, a factory confirmation mode when the image forming apparatus 100 is assembled at the factory, and a service confirmation mode when a serviceman performs maintenance of the image forming apparatus 100. Mode. Therefore, the normal mode and the special mode may be referred to as an operation mode and a maintenance mode, respectively. There are various methods for switching to such a special mode, but in this embodiment, the determination is made by referring to the value of the current mode stored in the HDD 104. As the value of the current mode of the HDD 104, the operation unit 106 performs a predetermined operation to store the information that the current mode is in the special mode in the HDD 104. Therefore, the user application control module 204 determines whether or not the image forming apparatus 100 is in the normal mode by referring to the mode value of the HDD 104. As a result of this (result of step 701), when the user application control module 204 determines that the image forming apparatus 100 is not in the normal mode, the user application control module 204 transmits a notification of the end of the initialization processing of the user application to the initialization processing control unit 201. Then, the initialization processing control unit 201 that has received this completes the initialization processing of the image forming apparatus 100. Therefore, unlike the first embodiment, the initialization process (step 307) of each user application is not performed.

なお、ステップ701で画像形成装置100が通常モードであると判断すると、ユーザアプリ制御モジュール204は、第1の実施形態と同じくステップ302〜307の処理を行うが、この説明は省略する。以上がフローチャート図7の説明である。 If it is determined in step 701 that the image forming apparatus 100 is in the normal mode, the user application control module 204 performs the processes of steps 302 to 307 as in the first embodiment, but the description thereof will be omitted. The above is the description of the flowchart FIG. 7.

本実施形態により、画像形成装置100が特殊モードで、すなわち通常の使用状況とは異なる特殊な状況で起動している場合は、ユーザアプリの初期化を行う前に画像形成装置100の初期化処理を完了とすることが可能となる。これにより、画像形成装置100の初期化処理を高速に行うことができ、ユーザの利便性が向上する。以上が、第3の実施形態の説明である。 According to the present embodiment, when the image forming apparatus 100 is started in the special mode, that is, in a special situation different from the normal usage situation, the initialization process of the image forming apparatus 100 is performed before the initialization of the user application is performed. Can be completed. As a result, the initialization process of the image forming apparatus 100 can be performed at high speed, and the convenience of the user is improved. The above is the description of the third embodiment.

[その他の実施例]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Examples]
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.

101 CPU、102 RAM、 103 ROM、 104 HDD 101 CPU, 102 RAM, 103 ROM, 104 HDD

Claims (11)

通信ネットワークと接続でき、アプリケーションをインストール可能な情報処理装置であって、
前記情報処理装置の起動に応じて、前記アプリケーションがインストールされているか否かを判定する判定手段と、
前記アプリケーションがインストールされていると前記判定手段により判定された場合には、前記通信ネットワークと接続されることを待機する待機手段と、
前記待機手段により待機した場合にはその後で、前記アプリケーションを初期化する初期化手段と
を有することを特徴とする情報処理装置。
An information processing device that can be connected to a communication network and can install applications.
A determination means for determining whether or not the application is installed according to the activation of the information processing device, and
When the determination means determines that the application is installed, the standby means waiting to be connected to the communication network and the standby means.
An information processing apparatus comprising: an initialization means for initializing the application after waiting by the standby means.
請求項1に記載の情報処理装置であって、
前記待機手段は、前記アプリケーションがインストールされていると前記判定手段により判定された場合には、前記通信ネットワークと接続されているか否かを判定し、接続されていないと判定された場合に、前記通信ネットワークと接続されることを待機することを特徴とする情報処理装置。
The information processing apparatus according to claim 1.
When the determination means determines that the application is installed, the standby means determines whether or not the application is connected to the communication network, and when it is determined that the application is not connected, the standby means determines whether or not the application is installed. An information processing device characterized by waiting to be connected to a communication network.
請求項1に記載の情報処理装置であって、
前記待機手段は、前記アプリケーションがインストールされていると前記判定手段により判定された場合には、インストールされているアプリケーションごとに、当該アプリケーションが、初期化処理において前記通信ネットワークに接続されているべきか否かを判定し、接続されているべきと判定された場合に前記通信ネットワークと接続されているか否かを判定し、接続されていないと判定された場合に、前記通信ネットワークと接続されることを待機することを特徴とする情報処理装置。
The information processing apparatus according to claim 1.
When the determination means determines that the application is installed, should the standby means be connected to the communication network in the initialization process for each installed application? It is determined whether or not it is connected, and when it is determined that it should be connected, it is determined whether or not it is connected to the communication network, and when it is determined that it is not connected, it is connected to the communication network. An information processing device characterized by waiting for.
請求項1乃至3のいずれか一項に記載の情報処理装置であって、
前記判定手段による判定の前に、前記情報処理装置が通常モードで動作しているか判定する手段をさらに有し、
前記通常モードではないと判定された場合には、前記アプリケーションの初期化を行わないことを特徴とする情報処理装置。
The information processing apparatus according to any one of claims 1 to 3.
Prior to the determination by the determination means, the information processing apparatus is further provided with means for determining whether or not the information processing apparatus is operating in the normal mode.
An information processing device characterized in that the application is not initialized when it is determined that the mode is not the normal mode.
請求項2または3に記載の情報処理装置であって、
前記通信ネットワークと接続されているか否かの判定において、IPアドレスを取得済みであれば前記通信ネットワークと接続されていると判定することを特徴とする情報処理装置。
The information processing apparatus according to claim 2 or 3.
An information processing device characterized in that, in determining whether or not it is connected to the communication network, if the IP address has already been acquired, it is determined that the IP address is connected to the communication network.
請求項1乃至5のいずれか一項に記載の情報処理装置であって、
前記判定手段は、インストール済みのアプリケーションを登録した表に基づいて、前記アプリケーションがインストールされているか否かを判定することを特徴とする情報処理装置。
The information processing apparatus according to any one of claims 1 to 5.
The information processing device is characterized in that the determination means determines whether or not the application is installed based on a table in which an installed application is registered.
請求項3に記載の情報処理装置であって、
前記判定手段は、インストール済みのアプリケーションごとに登録した、アプリケーションの識別情報と、アプリケーションの種類と、前記通信ネットワークを利用するか否かを示す情報とを含む表に基づいて、前記アプリケーションがインストールされているか否かを判定し、
前記待機手段は、前記アプリケーションの種類および前記通信ネットワークを利用するか否かを示す情報に基づいて、前記アプリケーションが、初期化処理において前記通信ネットワークに接続されているべきか否かを判定することを特徴とする情報処理装置。
The information processing apparatus according to claim 3.
The determination means installs the application based on a table including application identification information registered for each installed application, an application type, and information indicating whether or not to use the communication network. Judge whether or not it is
The standby means determines whether or not the application should be connected to the communication network in the initialization process based on the information indicating the type of the application and whether or not to use the communication network. An information processing device characterized by.
請求項1乃至7のいずれか一項に記載の情報処理装置であって、
画像形成手段と、
画像読取手段と
をさらに有することを特徴とする情報処理装置。
The information processing apparatus according to any one of claims 1 to 7.
Image forming means and
An information processing device characterized by further having an image reading means.
請求項6または7に記載の情報処理装置であって、
前記表は、前記アプリケーションのインストールのときに、前記アプリケーションに関連づけられた設定に基づいて登録されることを特徴とする情報処理装置。
The information processing apparatus according to claim 6 or 7.
The table is an information processing apparatus characterized in that it is registered based on the settings associated with the application at the time of installation of the application.
請求項1乃至9のいずれか一項に記載の情報処理装置としてコンピュータを機能させるためのプログラム。 A program for operating a computer as the information processing device according to any one of claims 1 to 9. 通信ネットワークと接続でき、アプリケーションをインストール可能であり、判定手段と待機手段と初期化手段とを有する情報処理装置の制御方法であって、
前記判定手段が、前記情報処理装置の起動に応じて、前記アプリケーションがインストールされているか否かを判定し、
前記待機手段が、前記アプリケーションがインストールされていると判定された場合には、前記通信ネットワークと接続されることを待機し、
前記初期化手段が、前記通信ネットワークと接続されることを待機した場合にはその後で、前記アプリケーションを初期化する
ことを特徴とする情報処理装置の制御方法。
It is a control method of an information processing device that can be connected to a communication network, can install an application, and has a determination means, a standby means, and an initialization means.
The determination means determines whether or not the application is installed according to the activation of the information processing apparatus.
If it is determined that the application is installed , the standby means waits to be connected to the communication network.
A control method for an information processing apparatus, characterized in that, when the initialization means waits for connection with the communication network, the application is initialized after that.
JP2017009778A 2017-01-23 2017-01-23 Information processing device and its control method Active JP6971578B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017009778A JP6971578B2 (en) 2017-01-23 2017-01-23 Information processing device and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017009778A JP6971578B2 (en) 2017-01-23 2017-01-23 Information processing device and its control method

Publications (2)

Publication Number Publication Date
JP2018120310A JP2018120310A (en) 2018-08-02
JP6971578B2 true JP6971578B2 (en) 2021-11-24

Family

ID=63045171

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017009778A Active JP6971578B2 (en) 2017-01-23 2017-01-23 Information processing device and its control method

Country Status (1)

Country Link
JP (1) JP6971578B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4843187B2 (en) * 2002-07-22 2011-12-21 株式会社リコー Image forming apparatus
JP4701799B2 (en) * 2004-05-31 2011-06-15 セイコーエプソン株式会社 Printer and printer system
JP5125659B2 (en) * 2008-03-24 2013-01-23 富士通株式会社 Information processing apparatus, information processing method, and computer program
JP4894819B2 (en) * 2008-05-30 2012-03-14 富士通株式会社 Information processing apparatus and environment setting program
US8260876B2 (en) * 2009-04-03 2012-09-04 Google Inc. System and method for reducing startup cost of a software application
JP2011151495A (en) * 2010-01-19 2011-08-04 Kyocera Mita Corp Image forming apparatus
JP5936458B2 (en) * 2012-06-18 2016-06-22 シャープ株式会社 Information processing apparatus, application execution control method, application execution control program, and recording medium
JP6053364B2 (en) * 2012-07-19 2016-12-27 キヤノン株式会社 Information processing system, server device, client device, and control method

Also Published As

Publication number Publication date
JP2018120310A (en) 2018-08-02

Similar Documents

Publication Publication Date Title
US8094330B2 (en) Image forming apparatus that can launch external applications selectively after shipment of the apparatus
US10511737B2 (en) Electronic device, information processing system and storage medium
US9591164B2 (en) Image processing apparatus, non-transitory storage media and control method thereof for generating operation screen to utilize various applications for executing image processing functions
US20190171443A1 (en) Method of Updating Application and Recording Medium
JP2010237840A (en) Image processing apparatus, software distribution system, installation processing method, and program
US11301227B2 (en) Server apparatus, information processing apparatus, and control method for installing application
US11140291B2 (en) Information processing apparatus, control method thereof, and storage medium
US10025581B2 (en) Information processing apparatus, set values update method for the same, and recording medium
JP2010186239A (en) Information processing apparatus, program control method, program control program, and storage medium
JP5463762B2 (en) Electronic device, information processing method, and program
US20110010718A1 (en) Electronic device, information processing method, and computer program product having computer-readable information processing program
US20190273829A1 (en) Image processing apparatus and an information processing system for changing a processing request
JP2004185594A (en) Image forming apparatus and program execution method
JP6971578B2 (en) Information processing device and its control method
JP2004185593A (en) Image forming apparatus and application execution method
US9041976B2 (en) Server device, association process flow determining method, and image processing system
US8930910B2 (en) Information processing apparatus, information processing method, and program
JP5333035B2 (en) REMOTE MANAGEMENT SYSTEM, MANAGEMENT DEVICE, DEVICE, PROGRAM UPDATE METHOD, PROGRAM, AND RECORDING MEDIUM
US9459914B2 (en) Processing method for control apparatus involves controlling job subsequent to proceeding job based on execution result acquired by executing the proceeding job
JP2020170984A (en) Information processing device, image processing device, and program
JP2019071038A (en) Image processing device, method for controlling the same, and program
JP5866316B2 (en) Application execution time reduction method
US10528335B2 (en) Image forming apparatus capable of executing extension application, method of controlling same, and storage medium
KR101405920B1 (en) Job control apparatus and multi-function product, and operating method thereof
JP5825302B2 (en) REMOTE MANAGEMENT SYSTEM, MANAGEMENT DEVICE, DEVICE, PROGRAM UPDATE METHOD, PROGRAM, AND RECORDING MEDIUM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200121

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210212

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210408

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: 20211004

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211102

R151 Written notification of patent or utility model registration

Ref document number: 6971578

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151