JP2013138305A - Image forming apparatus and program - Google Patents

Image forming apparatus and program Download PDF

Info

Publication number
JP2013138305A
JP2013138305A JP2011287746A JP2011287746A JP2013138305A JP 2013138305 A JP2013138305 A JP 2013138305A JP 2011287746 A JP2011287746 A JP 2011287746A JP 2011287746 A JP2011287746 A JP 2011287746A JP 2013138305 A JP2013138305 A JP 2013138305A
Authority
JP
Japan
Prior art keywords
error
image forming
application
information
additional application
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
JP2011287746A
Other languages
Japanese (ja)
Other versions
JP5874392B2 (en
Inventor
Nobutaka Kato
伸隆 加藤
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2011287746A priority Critical patent/JP5874392B2/en
Publication of JP2013138305A publication Critical patent/JP2013138305A/en
Application granted granted Critical
Publication of JP5874392B2 publication Critical patent/JP5874392B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To output error information on an error which occurs in an additional application added to a standard application for adding a function by using an error output function that is standardly mounted in an image formation processing system.SOLUTION: When a plug-in 40 for making data communication with a service server 4 in accordance with a communication protocol other than a standard communication protocol detects an error, plug-in error information including a plug-in error code of the error and message information is generated and it is informed to a framework 32. The framework 32 generates system error information which includes a system error code specified from the plug-in error code included in the informed plug-in error information and error message information and which has a format decodable by an image formation processing system 20, sends the system error information to the image formation processing system 20 and causes the image formation processing system 20 to output the error message information.

Description

本発明は、画像形成装置及びプログラムに関する。   The present invention relates to an image forming apparatus and a program.

コピー機能、FAX機能を有する複合機等の画像形成装置においては、種々のアプリケーションが標準装備されているが、標準装備されたアプリケーションだけでは所望の機能を実現できない場合もありうる。そこで、このような場合にも対応可能なように、所望の機能を実現するプラグインアプリケーションを画像形成装置に組み込むことができるシステム環境を提供している画像形成装置も少なくない。   In an image forming apparatus such as a multifunction peripheral having a copy function and a FAX function, various applications are provided as standard. However, there may be a case where a desired function cannot be realized only by the standard installed application. Therefore, in order to cope with such a case, there are not a few image forming apparatuses that provide a system environment in which a plug-in application that realizes a desired function can be incorporated in the image forming apparatus.

ところで、このような追加的に組み込まれたアプリケーションにおいて発生したエラーをユーザに通知するために、従来においては、エラー出力用のアプリケーションを別途作成して別スレッドで処理する方法が提案されている(例えば、特許文献1)。   By the way, in order to notify the user of an error that has occurred in such an additionally incorporated application, conventionally, a method of separately creating an error output application and processing it in a separate thread has been proposed ( For example, Patent Document 1).

特許第4691197号明細書Japanese Patent No. 4691197 特許第4625343号明細書Japanese Patent No. 4625343

本発明は、機能の追加のために画像形成装置に追加される追加アプリケーションにおいて発生したエラーに関するエラー情報を、画像形成装置に標準装備されているエラー出力機能を利用して出力させることを目的とする。   SUMMARY OF THE INVENTION An object of the present invention is to output error information related to an error that has occurred in an additional application added to an image forming apparatus for adding a function by using an error output function that is provided as a standard in the image forming apparatus. To do.

本発明に係る画像形成装置は、動作の基盤となるソフトウェア及び少なくともエラー出力機能を含む基本機能を実現するソフトウェアを有する画像形成処理システムと、前記画像形成処理システムと連携して動作し、標準装備されている標準アプリケーションを実行する標準アプリケーション実行手段と、前記標準アプリケーション実行手段において標準アプリケーション以外の機能を実現する追加アプリケーションを実行する追加アプリケーション実行手段と、を有し、前記追加アプリケーション実行手段は、追加アプリケーションの実行中にエラーを検出したときに、当該エラーを識別する追加アプリケーションエラー識別情報及び当該エラーを示すメッセージ情報を少なくとも含む追加アプリケーションエラー情報を前記標準アプリケーション実行手段に通知し、前記標準アプリケーション実行手段は、前記追加アプリケーション実行手段から追加アプリケーションエラー情報が通知されてきたときに、当該追加アプリケーションエラー情報に含まれている追加アプリケーションエラー識別情報から特定されるシステムエラー識別情報であって前記画像形成処理システムで使用されているシステムエラー識別情報、及び当該追加アプリケーションエラー情報に含まれているメッセージ情報を少なくとも含み、前記画像形成処理システムが解読可能な形式のシステムエラー情報を生成して前記画像形成処理システムに通知することによって、当該メッセージ情報を少なくとも含むエラー情報を前記画像形成処理システムに出力させることを特徴とする。   An image forming apparatus according to the present invention includes an image forming processing system having software that realizes basic functions including software serving as an operation base and at least an error output function, and operates in cooperation with the image forming processing system. A standard application execution unit that executes the standard application, and an additional application execution unit that executes an additional application that realizes a function other than the standard application in the standard application execution unit. When an error is detected during execution of the additional application, additional application error information including at least additional application error identification information for identifying the error and message information indicating the error is included in the standard application. The standard application executing means is specified from the additional application error identification information included in the additional application error information when the additional application error information is notified from the additional application executing means. System error identification information that is used in the image forming processing system and message information included in the additional application error information, and that can be decoded by the image forming processing system System error information is generated and notified to the image forming processing system, thereby causing the image forming processing system to output error information including at least the message information.

また、前記標準アプリケーション実行手段は、標準アプリケーションとして、前記画像形成装置に予め備えられている通信プロトコルに従い外部のサーバとの間のデータ転送を行う転送アプリケーションを実行し、前記追加アプリケーション実行手段は、追加アプリケーションとして、前記画像形成装置に予め備えられている通信プロトコルとは異なる通信プロトコルに従い外部のサーバとの間のデータ転送を行うプラグインアプリケーションを実行し、転送アプリケーションには、プラグインアプリケーションと連携して動作するフレームワークが設けられていることを特徴とする。   The standard application execution unit executes a transfer application that performs data transfer with an external server in accordance with a communication protocol provided in advance in the image forming apparatus as a standard application, and the additional application execution unit includes: As an additional application, a plug-in application that performs data transfer with an external server according to a communication protocol that is different from the communication protocol that is provided in advance in the image forming apparatus is executed, and the transfer application is linked to the plug-in application. It is characterized in that a framework that operates as described above is provided.

また、追加アプリケーションエラー識別情報とシステムエラー識別情報とが対応付けられたエラー識別情報変換テーブルを記憶する手段を有し、前記標準アプリケーション実行手段は、前記エラー識別情報変換テーブルを参照して、当該追加アプリケーションエラー情報に含まれている追加アプリケーションエラー識別情報をシステムエラー識別情報に変換してシステムエラー情報を生成することを特徴とする。   Further, it has means for storing an error identification information conversion table in which additional application error identification information and system error identification information are associated, and the standard application execution means refers to the error identification information conversion table, and The system error information is generated by converting the additional application error identification information included in the additional application error information into system error identification information.

本発明に係るプログラムは、動作の基盤となるソフトウェア及び少なくともエラー出力機能を含む基本機能を実現するソフトウェアを有する画像形成処理システムと、前記画像形成処理システムと連携して動作し、標準装備されている標準アプリケーションを実行する標準アプリケーション実行手段と、前記標準アプリケーション実行手段において標準アプリケーション以外の追加アプリケーションを実行する追加アプリケーション実行手段と、を有する画像形成装置に搭載されたコンピュータを、前記追加アプリケーション実行手段に、追加アプリケーションの実行中にエラーを検出したときに、当該エラーを識別する追加アプリケーションエラー識別情報及び当該エラーを示すメッセージ情報を少なくとも含む追加アプリケーションエラー情報を前記標準アプリケーション実行手段に通知させる手段、前記標準アプリケーション実行手段に、前記追加アプリケーション実行手段から追加アプリケーションエラー情報が通知されてきたときに、当該追加アプリケーションエラー情報に含まれている追加アプリケーションエラー識別情報から特定されるシステムエラー識別情報であって前記画像形成処理システムで使用されているシステムエラー識別情報、及び当該追加アプリケーションエラー情報に含まれているメッセージ情報を少なくとも含み、前記画像形成処理システムが解読可能な形式のシステムエラー情報を生成して前記画像形成処理システムに通知することによって、当該メッセージ情報を少なくとも含むエラー情報を前記画像形成処理システムに出力させる手段、として機能させるためのものである。   The program according to the present invention operates as a standard, and operates in cooperation with the image forming processing system, the image forming processing system having software that realizes the basic functions including the software that is the basis of the operation and at least the error output function. A computer installed in an image forming apparatus, which includes: a standard application executing unit that executes a standard application; and an additional application executing unit that executes an additional application other than the standard application in the standard application executing unit. In addition, when an error is detected during execution of the additional application, the additional application error including at least additional application error identification information for identifying the error and message information indicating the error. Means for notifying information to the standard application execution means, and additional application error included in the additional application error information when the additional application error information is notified to the standard application execution means from the additional application execution means At least system error identification information specified from the identification information and used in the image forming processing system, and message information included in the additional application error information, the image forming processing system Generating system error information in a readable format and notifying the image forming processing system to output error information including at least the message information to the image forming processing system; It is intended to function Te.

請求項1記載の発明によれば、機能の追加のために標準アプリケーションに追加される追加アプリケーションにおいて発生したエラーに関するエラー情報を、画像形成処理システムに標準装備されているエラー出力機能を利用して出力させることができる。   According to the first aspect of the present invention, error information relating to an error that has occurred in an additional application added to the standard application for the addition of the function is obtained using the error output function that is provided as a standard in the image forming processing system. Can be output.

請求項2記載の発明によれば、画像形成装置に予め備えられている通信プロトコルとは異なる通信プロトコルに従い外部のサーバとの間のデータ転送を行うことができる。   According to the second aspect of the present invention, data transfer with an external server can be performed according to a communication protocol different from the communication protocol provided in advance in the image forming apparatus.

請求項3記載の発明によれば、画像形成処理システムで使用されているシステムエラー識別情報とは異なるエラー識別情報を、追加アプリケーションに使用させることができる。   According to the third aspect of the present invention, the error identification information different from the system error identification information used in the image forming processing system can be used by the additional application.

請求項4記載の発明によれば、機能の追加のために標準アプリケーションに追加される追加アプリケーションにおいて発生したエラーに関するエラー情報を、画像形成処理システムに標準装備されているエラー出力機能を利用して出力させることができる。   According to the fourth aspect of the present invention, error information relating to an error that has occurred in an additional application added to the standard application for the addition of the function is obtained using the error output function provided as a standard in the image forming processing system. Can be output.

本発明に係る画像形成装置の一実施の形態を示したハードウェア構成図である。1 is a hardware configuration diagram illustrating an embodiment of an image forming apparatus according to the present invention. 本実施の形態における画像形成装置のソフトウェア構成図である。2 is a software configuration diagram of an image forming apparatus according to the present embodiment. FIG. 本実施の形態においてプラグインの実行中にエラーが発生したときの処理を示したフローチャートである。It is the flowchart which showed the process when an error generate | occur | produces during execution of a plug-in in this Embodiment. 本実施の形態においてプラグインの実行中にエラーが発生した場合にエラーレポートとして出力されるエラー情報の一例を示した図である。It is a figure showing an example of error information outputted as an error report when an error occurs during execution of a plug-in in the present embodiment. 本実施の形態におけるエラー履歴表示画面の一例を示した図である。It is the figure which showed an example of the error log display screen in this Embodiment.

以下、図面に基づいて、本発明の好適な実施の形態について説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.

図1は、本発明に係る画像形成装置10の一実施の形態を示したハードウェア構成図である。画像形成装置10は、コピー機能、スキャナ機能、FAX送信機能などの各種機能を搭載した複合機であり、コンピュータを内蔵した装置である。図1において、CPU11は、ROM15、RAM16あるいはHDD(Hard Disk Drive)17などの記憶手段に格納されたプログラムに従ってスキャナ13やプリンタエンジン14等本装置に搭載された各種手段の動作制御を行う。アドレスデータバス19は、CPU11の制御対象となる各種手段と接続してデータの通信を行う。操作パネル12は、ユーザからの指示の受け付け、情報の表示を行う。スキャナ13は、ユーザがセットした原稿を読み取り、電子データとしてHDD17等に蓄積する。HDD17は、スキャナ13を使用して読み取った電子文書、ネットワーク2を介して送信されてきた電子データなどを格納する。本実施の形態におけるプリンタエンジン14は、CPU11で実行される制御プログラムからの指示に従い出力用紙上に画像を印字する。ネットワークインタフェース(I/F)18は、ネットワーク2に接続され、外部のサービスサーバ4との間で直接又は間接的にデータ通信を行う。RAM16は、プログラム実行時のワークメモリや電子データ送受信時の通信バッファとして利用される。ROM15は、本装置の制御や電子データの暗号、電子データの送受信に関する各種プログラムが格納されている。   FIG. 1 is a hardware configuration diagram showing an embodiment of an image forming apparatus 10 according to the present invention. The image forming apparatus 10 is a multifunction machine having various functions such as a copy function, a scanner function, and a FAX transmission function, and is a device having a built-in computer. In FIG. 1, a CPU 11 controls the operation of various means mounted on the apparatus such as a scanner 13 and a printer engine 14 in accordance with a program stored in a storage means such as a ROM 15, a RAM 16, or an HDD (Hard Disk Drive) 17. The address data bus 19 is connected to various means to be controlled by the CPU 11 and performs data communication. The operation panel 12 receives instructions from the user and displays information. The scanner 13 reads a document set by the user and accumulates it in the HDD 17 or the like as electronic data. The HDD 17 stores electronic documents read using the scanner 13, electronic data transmitted via the network 2, and the like. The printer engine 14 in the present embodiment prints an image on output paper in accordance with an instruction from a control program executed by the CPU 11. The network interface (I / F) 18 is connected to the network 2 and performs data communication directly or indirectly with the external service server 4. The RAM 16 is used as a work memory during program execution and a communication buffer during electronic data transmission / reception. The ROM 15 stores various programs relating to control of the apparatus, encryption of electronic data, and transmission / reception of electronic data.

図2は、本実施の形態における画像形成装置10のソフトウェア構成図である。図2に示した各ソフトウェア20,30,40は、ROM15又はHDD17に記憶されており、RAM16にロードされ、CPU11により実行される。画像形成処理システム20は、画像形成装置10のプラットフォームを形成するソフトウェアである。なお、プラットフォームというのは、あるソフトウェアやハードウェアを動作させるための基盤となるハードウェアやオペレーティングシステム(OS)、ミドルウェアなどのことを言うが、本実施の形態における画像形成処理システム20には、このうちOS及びミドルウェアなどのソフトウェアの基礎部分、更には画像形成装置10の基本機能を実現するソフトウェアが含まれている。また、画像形成処理システム20には、少なくともエラー出力機能が基本機能として標準装備されているが、図2に示したエラー出力機能処理部22は、このエラー出力機能をハードウェアと連携動作して実現する手段である。   FIG. 2 is a software configuration diagram of the image forming apparatus 10 according to the present embodiment. Each software 20, 30, and 40 shown in FIG. 2 is stored in the ROM 15 or the HDD 17, loaded into the RAM 16, and executed by the CPU 11. The image forming processing system 20 is software that forms a platform of the image forming apparatus 10. Note that the platform refers to hardware, operating system (OS), middleware, or the like, which is a base for operating certain software or hardware, but the image forming processing system 20 in the present embodiment includes Among these, the software includes basic portions of software such as the OS and middleware, and further software that realizes basic functions of the image forming apparatus 10. The image forming processing system 20 has at least an error output function as a standard function as a standard function. The error output function processing unit 22 shown in FIG. 2 operates in cooperation with hardware. It is a means to realize.

転送処理部30は、画像形成装置10に標準装備されている標準転送アプリケーションプログラムを制御するプログラムであり、画像形成処理システム20と連携して実行される。転送処理部30は、転送アプリケーションとしてのFTP(File Transfer Protocol)やSMB(Server Message Block)等標準的な通信プロトコルによる通信機能を実現するアプリケーションプログラムとして画像形成装置10に予め備えられている。これらの標準装置された転送アプリケーションはそれぞれの通信プロトコル(以下、「標準通信プロトコル」ともいう)に従ってデータ通信可能なサービスサーバ4とデータ転送を行う。   The transfer processing unit 30 is a program that controls a standard transfer application program provided as a standard in the image forming apparatus 10, and is executed in cooperation with the image forming processing system 20. The transfer processing unit 30 is provided in advance in the image forming apparatus 10 as an application program that realizes a communication function using a standard communication protocol such as FTP (File Transfer Protocol) or SMB (Server Message Block) as a transfer application. These standard application transfer applications perform data transfer with the service server 4 capable of data communication according to each communication protocol (hereinafter also referred to as “standard communication protocol”).

また、本実施の形態における転送処理部30には、プラグインアプリケーション(以下、単に「プラグイン」)40と連携して動作するフレームワーク32が追加されている。なお、フレームワークというのは、アプリケーションプログラムを開発する際に頻繁に必要とされる汎用的な機能をまとめて提供し、アプリケーション(本実施の形態の「プラグイン」)の土台として機能するソフトウェアのことである。   In addition, a framework 32 that operates in cooperation with a plug-in application (hereinafter simply “plug-in”) 40 is added to the transfer processing unit 30 in the present embodiment. Note that the framework is a collection of general-purpose functions that are frequently required when developing application programs, and the software that functions as the foundation of the application (the “plug-in” in this embodiment). That is.

本実施の形態におけるプラグイン40は、転送処理部30に機能を追加するためのアプリケーションプログラムである。すなわち、プラグイン40は、フレームワーク32と連携動作することで、転送処理部30と標準装備された転送アプリケーションが有する機能では実現できない機能を実現する追加アプリケーションに相当するアプリケーションプログラムである。換言すると、標準通信プロトコル以外に追加された通信プロトコルに従ってサービスサーバ4との間でデータ通信を行うアプリケーションプログラムである。   The plug-in 40 in the present embodiment is an application program for adding a function to the transfer processing unit 30. That is, the plug-in 40 is an application program corresponding to an additional application that realizes a function that cannot be realized by the functions of the transfer processing unit 30 and the transfer application provided as a standard by operating in cooperation with the framework 32. In other words, the application program performs data communication with the service server 4 according to a communication protocol added in addition to the standard communication protocol.

また、本実施の形態におけるフレームワーク32には、エラー処理部34が含まれている。このエラー処理部34は、ハードウェアと連携動作して、プラグイン40からプラグインエラー情報が送信されてきたときに、当該プラグインエラー情報に含まれているプラグインエラー識別情報から特定されるシステムエラー識別情報であって画像形成処理システム20で使用されているシステムエラー識別情報、及び当該プラグインエラー情報に含まれているメッセージ情報を少なくとも含み、画像形成処理システム20が解読可能な形式のシステムエラー情報を生成して画像形成処理システム20に通知する。   In addition, the framework 32 in the present embodiment includes an error processing unit 34. When the plug-in error information is transmitted from the plug-in 40 in cooperation with the hardware, the error processing unit 34 is specified from the plug-in error identification information included in the plug-in error information. System error identification information, which includes at least system error identification information used in the image forming processing system 20 and message information included in the plug-in error information, in a format that can be decoded by the image forming processing system 20 System error information is generated and notified to the image forming processing system 20.

ところで、サービスサーバ4は、コンピュータやコンピュータ内蔵の画像形成装置10などからの要求に応じてサービスを提供するサーバコンピュータである。クラウドコンピューティングに含まれるサーバコンピュータでもよい。本実施の形態においては、サービスサーバ4により提供されるサービスとして、例えば、Evernote(登録商標)というWebサービスや、Dropbox(登録商標)というオンラインストレージサービスなどを想定している。また、これらのサービスサーバ4は、転送処理部30が標準的に備えている転送アプリケーションであるFTPやSMB等標準通信プロトコルによる転送機能以外の通信プロトコルやデータ送受信の態様に従って画像形成装置10との間でデータ転送を行う。   The service server 4 is a server computer that provides a service in response to a request from the computer, the image forming apparatus 10 built in the computer, or the like. It may be a server computer included in cloud computing. In the present embodiment, as a service provided by the service server 4, for example, a web service called Evernote (registered trademark), an online storage service called Dropbox (registered trademark), and the like are assumed. Further, these service servers 4 communicate with the image forming apparatus 10 according to a communication protocol other than a transfer function based on a standard communication protocol such as FTP or SMB, which is a transfer application provided as a standard in the transfer processing unit 30, and a mode of data transmission / reception. Data transfer between them.

本実施の形態における標準アプリケーション実行手段は、画像形成装置10に搭載されたコンピュータと、コンピュータに搭載されたCPU11で動作する転送処理部30との協調動作により実現される。また、本実施の形態における追加アプリケーション実行手段は、画像形成装置10に搭載されたコンピュータと、コンピュータに搭載されたCPU11で動作するプラグイン40との協調動作により実現される。   The standard application execution unit in the present embodiment is realized by a cooperative operation between a computer mounted on the image forming apparatus 10 and a transfer processing unit 30 that operates on the CPU 11 mounted on the computer. Further, the additional application execution means in the present embodiment is realized by a cooperative operation of the computer mounted on the image forming apparatus 10 and the plug-in 40 operating on the CPU 11 mounted on the computer.

また、本実施の形態で用いるプログラムは、通信手段により提供することはもちろん、CD−ROMやDVD−ROM等のコンピュータ読み取り可能な記録媒体に格納して提供することも可能である。通信手段や記録媒体から提供されたプログラムはコンピュータにインストールされ、コンピュータのCPUがプログラムを順次実行することで各種処理が実現される。   Further, the program used in this embodiment can be provided not only by communication means but also by storing it in a computer-readable recording medium such as a CD-ROM or DVD-ROM. The program provided from the communication means or the recording medium is installed in the computer, and various processes are realized by the CPU of the computer sequentially executing the program.

次に、本実施の形態における動作について説明する。本実施の形態では、サービスサーバ4との間でデータ通信を行うプラグイン40の実行中にエラーが発生したときに、そのエラーに関するエラー情報を、プラグイン40独自の機能を用いて出力させるのではなく、画像形成処理システム20の標準機能(エラー出力機能処理部22)を利用して出力させることを特徴としている。ここでは、プラグイン40の実行中にエラーが発生したときの処理について、図3に示したフローチャートを用いて説明する。   Next, the operation in this embodiment will be described. In the present embodiment, when an error occurs during execution of the plug-in 40 that performs data communication with the service server 4, error information related to the error is output using a function unique to the plug-in 40. Instead, the output is performed using the standard function (error output function processing unit 22) of the image forming processing system 20. Here, processing when an error occurs during execution of the plug-in 40 will be described using the flowchart shown in FIG.

プラグイン40は、実行中に発生したエラーを検出すると(ステップ110)、プラグインエラーコード、エラーメッセージ情報及び対応言語・文字コードを含むプラグインエラー情報を生成してフレームワーク32に通知する(ステップ120)。プラグインエラー情報に含まれるプラグインエラーコードは、検出したエラーを識別するプラグインエラー識別情報である。エラーメッセージ情報は、当該エラーを示すメッセージ情報である。対応言語・文字コードには、プラグイン40が対応可能な言語及び文字コードが含まれている。なお、画像形成装置10が対応可能な言語・文字コードが一意に決まっており、プラグイン40がその言語・文字コードをサポートしているのであれば、この情報はプラグインエラー情報に含めなくてもよい。   When the plug-in 40 detects an error that has occurred during execution (step 110), the plug-in 40 generates plug-in error information including a plug-in error code, error message information, and a corresponding language / character code and notifies the framework 32 ( Step 120). The plug-in error code included in the plug-in error information is plug-in error identification information that identifies the detected error. The error message information is message information indicating the error. The supported language / character code includes languages and character codes that can be supported by the plug-in 40. If the language / character code that can be handled by the image forming apparatus 10 is uniquely determined and the plug-in 40 supports the language / character code, this information may not be included in the plug-in error information. Also good.

プラグインエラー情報が通知されてくると、フレームワーク32におけるエラー処理部34は、通知されたプラグインエラー情報に含まれているプラグインエラーコードから特定されるシステムエラーコード、通知されたプラグインエラー情報に含まれているエラーメッセージ情報及び対応言語・文字コードを含むシステムエラー情報を生成する(ステップ130)。   When the plug-in error information is notified, the error processing unit 34 in the framework 32 notifies the system error code identified from the plug-in error code included in the notified plug-in error information, and the notified plug-in. System error information including error message information and corresponding language / character code included in the error information is generated (step 130).

ここで、システムエラーコードというのは、画像形成処理システム20が使用しているエラーコードである。プラグインエラーコードは、プラグイン40が独自に設定してもよいエラーコードなので、画像形成処理システム20は、プラグインエラーコードをそのまま渡されてもエラーの種別を識別できない可能性がある。そこで、本実施の形態では、プラグインエラーコードとシステムエラーコードとが対応付けられたエラー識別情報変換テーブルを予め用意しておき、エラー処理部34は、このエラー識別情報変換テーブルを参照することによってプラグイン40から通知されたプラグインエラー情報に含まれているプラグインエラーコードをシステムエラーコードに変換する。このようにして、エラー処理部34は、プラグインエラーコードからシステムエラーコードを特定する。エラー識別情報変換テーブルは、HDD17又はROM15に記憶させておき、RAM16にロードして使用するようにしてもよい。   Here, the system error code is an error code used by the image forming processing system 20. Since the plug-in error code is an error code that the plug-in 40 may set independently, there is a possibility that the image forming processing system 20 cannot identify the type of error even if the plug-in error code is passed as it is. Therefore, in the present embodiment, an error identification information conversion table in which plug-in error codes and system error codes are associated is prepared in advance, and the error processing unit 34 refers to this error identification information conversion table. The plug-in error code included in the plug-in error information notified from the plug-in 40 is converted into a system error code. In this way, the error processing unit 34 identifies the system error code from the plug-in error code. The error identification information conversion table may be stored in the HDD 17 or the ROM 15 and loaded into the RAM 16 for use.

なお、プラグイン開発者がシステムエラーコードを事前に把握し、プラグインエラーコードをシステムエラーコードと同一に設定したのであれば、エラー識別情報変換テーブルは不要である。この場合、エラー処理部34は、プラグインエラーコードをそのままシステムエラーコードとして用いてシステムエラー情報に含めればよい。また、画像形成装置10が対応可能な言語・文字コードが一意に決まっているのであれば、対応言語・文字コードをシステムエラー情報に含めなくてもよい。   If the plug-in developer knows the system error code in advance and sets the plug-in error code to be the same as the system error code, the error identification information conversion table is not necessary. In this case, the error processing unit 34 may use the plug-in error code as it is as the system error code and include it in the system error information. Further, if the language / character code that can be supported by the image forming apparatus 10 is uniquely determined, the supported language / character code may not be included in the system error information.

また、画像形成処理システム20が解読可能なシステムエラー情報の形式は予め定められているので、エラー処理部34は、システムエラー情報を画像形成処理システム20が解読可能な形式で生成する。解読可能な形式の一例として、転送処理部30の標準転送アプリケーションが標準通信プロトコルに従ったデータ通信の実行によりエラーが発生したときに転送処理部30から画像形成処理システム20に通知されるシステムエラー情報と同じ形式にてシステムエラー情報を生成する。エラー処理部34は、このようにして生成したシステムエラー情報を画像形成処理システム20に通知することで、次に説明するようにエラー情報を画像形成処理システム20に出力させる(ステップ140)。   Since the format of the system error information that can be decoded by the image forming processing system 20 is determined in advance, the error processing unit 34 generates the system error information in a format that can be decoded by the image forming processing system 20. As an example of a decodable format, a system error notified from the transfer processing unit 30 to the image forming processing system 20 when the standard transfer application of the transfer processing unit 30 generates an error due to execution of data communication according to the standard communication protocol. Generate system error information in the same format as the information. The error processing unit 34 notifies the image forming processing system 20 of the system error information generated in this way, thereby causing the image forming processing system 20 to output the error information as described below (step 140).

フレームワーク32からシステムエラー情報が通知されてくると、画像形成処理システム20におけるエラー出力機能処理部22は、そのシステムエラー情報に基づきエラー情報を出力する(ステップ150)。フレームワーク32から通知されてくるシステムエラー情報は、転送処理部30の標準転送アプリケーションが標準通信プロトコルに従ったデータ通信の実行によりエラーが発生したときに転送処理部30から通知されるシステムエラー情報と同じ形式なので、エラー出力機能処理部22は、転送処理部30から通知されてくるシステムエラー情報と同様に処理すればよい。エラー情報を出力する際、エラー出力機能処理部22は、システムエラー情報に含まれている対応可能な言語・文字コードを参照して、プラグイン40が画像形成処理システム20に設定されている言語(例えば、日本語)及び文字コード(例えば、シフトJIS)に対応していることを確認する。   When system error information is notified from the framework 32, the error output function processing unit 22 in the image forming processing system 20 outputs error information based on the system error information (step 150). The system error information notified from the framework 32 is the system error information notified from the transfer processing unit 30 when an error occurs due to execution of data communication by the standard transfer application of the transfer processing unit 30 according to the standard communication protocol. Therefore, the error output function processing unit 22 may perform the same processing as the system error information notified from the transfer processing unit 30. When outputting the error information, the error output function processing unit 22 refers to the language / character code that can be supported included in the system error information, and the language in which the plug-in 40 is set in the image forming processing system 20. Confirm that it corresponds to (for example, Japanese) and a character code (for example, shift JIS).

エラー出力機能処理部22がプリンタエンジン14からエラーレポート50として印刷したエラー情報の一例を図4に示す。エラーレポート50には、システムエラー情報に含まれているシステムエラーコード51と、印刷されたシステムエラーコード51に対応するエラーメッセージ52と、システムエラー情報に含まれているエラーメッセージ情報53と、が印刷される。エラーメッセージ52は、画像形成処理システム20においてシステムエラーコード51から導出されるメッセージ情報である。エラー出力機能処理部22により出力されるエラー情報に所定長のプラグインアプリケーション用のメッセージ領域(図4においては括弧“()”で示されている)が確保されている場合、エラー出力機能処理部22は、所定の処理に従ってシステムエラー情報に含まれているエラーメッセージ情報を当該メッセージ領域に印刷する。   An example of error information printed by the error output function processing unit 22 as the error report 50 from the printer engine 14 is shown in FIG. The error report 50 includes a system error code 51 included in the system error information, an error message 52 corresponding to the printed system error code 51, and error message information 53 included in the system error information. Printed. The error message 52 is message information derived from the system error code 51 in the image forming processing system 20. If the error information output by the error output function processing unit 22 has a message area for a plug-in application having a predetermined length (indicated by parentheses “(”) in FIG. 4), the error output function process The unit 22 prints error message information included in the system error information in the message area according to a predetermined process.

メッセージ領域に印刷可能な文字数は有限である場合、例えば、128バイト長が上限と設定されている場合、エラーメッセージ情報が128バイト長を超えていれば、超えた分を文字化けが発生しないようにエラーメッセージ情報をカットするなどして印刷文字数を調整する。   If the number of characters that can be printed in the message area is limited, for example, if the upper limit is set to 128 bytes, and if the error message information exceeds 128 bytes, the excess will not be garbled. Adjust the number of print characters by cutting error message information.

図4に例示したように、本実施の形態の場合、「ログインしたサーバ上のフォルダにアクセス権が付与されているか確認してください。」というメッセージ情報が対応付けられたプラグインエラーコードには、「ログインエラー」というシステムのメッセージ情報が対応付けられた「123−456」というシステムエラーコードが対応付けられている。この「ログインエラー」は、現実にはプラグイン40で発生したエラーとは関連性もなく、また関連性を持たせる必要はない。ユーザは、エラーメッセージ情報53が印刷されていることによってプラグイン40でエラーが発生したことを認識し、また、そのエラーの内容や対処方法を特定する。よって、ユーザは、「ログインエラー」というシステムのメッセージ情報を無視する。すなわち、プラグインエラーコードは、任意のシステムエラーコードと対応付けてもよい。   As illustrated in FIG. 4, in the case of this embodiment, the plug-in error code associated with the message information “Please check whether the access right is granted to the folder on the logged-in server.” , A system error code “123-456” associated with system message information “login error” is associated. This “login error” is not actually related to the error generated in the plug-in 40 and need not be related. The user recognizes that an error has occurred in the plug-in 40 by printing the error message information 53, and specifies the content of the error and a countermeasure. Therefore, the user ignores the message information of the system “login error”. That is, the plug-in error code may be associated with an arbitrary system error code.

また、画像形成処理システム20が転送処理部30から通知されてきたシステムエラー情報を記録するエラーログ機能を有している場合において、そのシステムエラー情報の履歴を操作パネル12にリスト表示した場合のエラー履歴表示画面の一例を図5に示す。本実施の形態におけるエラー履歴表示画面には、転送処理部30において実行された機能の種別、送信先(宛先)及び実行の結果が対応付けして表示される。なお、エラー発生日時等、より詳細な情報を表示したければ、詳細表示ボタン54を選択すればよい。図5に示した表示例のように、プラグイン40の実行により発生したエラーに関するエラー情報55は、標準的な機能の実行により発生したエラーに関するエラー情報56と統合されて表示される。換言すると、画像形成処理システム20は、プラグイン40の実行により発生したエラーに関するエラー情報と、転送処理部30における標準機能の実行により発生したエラーに関するエラー情報とを区別することなく同等に出力する。   Further, when the image forming processing system 20 has an error log function for recording the system error information notified from the transfer processing unit 30, the history of the system error information is displayed as a list on the operation panel 12. An example of the error history display screen is shown in FIG. In the error history display screen in the present embodiment, the type of function executed in the transfer processing unit 30, the transmission destination (destination), and the execution result are displayed in association with each other. In order to display more detailed information such as error occurrence date and time, the detail display button 54 may be selected. As in the display example shown in FIG. 5, error information 55 relating to an error caused by execution of the plug-in 40 is displayed in an integrated manner with error information 56 relating to an error caused by execution of a standard function. In other words, the image forming processing system 20 outputs the error information related to the error generated by the execution of the plug-in 40 and the error information related to the error generated due to the execution of the standard function in the transfer processing unit 30 without being distinguished from each other. .

なお、本実施の形態においては、標準アプリケーションとして、画像形成装置10に予め備えられている通信プロトコルに従い外部のサーバとの間のデータ転送を行う転送処理部30を例にして説明したが、これに限定することなく、他の機能を標準的に搭載したアプリケーションを標準アプリケーションとしてもよい。   In the present exemplary embodiment, the transfer processing unit 30 that performs data transfer with an external server according to a communication protocol provided in advance in the image forming apparatus 10 has been described as an example of a standard application. Without being limited to the above, an application having other functions as standard may be used as the standard application.

2 ネットワーク、4 サービスサーバ、10 画像形成装置、11 CPU、12 操作パネル、13 スキャナ、14 プリンタエンジン、15 ROM、16 RAM、17 HDD、18 ネットワークIF、19 アドレスデータバス、20 画像形成処理システム、22 エラー出力機能処理部、30 転送処理部、32 フレームワーク、34 エラー処理部、40 プラグイン。   2 network, 4 service server, 10 image forming apparatus, 11 CPU, 12 operation panel, 13 scanner, 14 printer engine, 15 ROM, 16 RAM, 17 HDD, 18 network IF, 19 address data bus, 20 image forming processing system, 22 error output function processing unit, 30 transfer processing unit, 32 framework, 34 error processing unit, 40 plug-ins.

Claims (4)

動作の基盤となるソフトウェア及び少なくともエラー出力機能を含む基本機能を実現するソフトウェアを有する画像形成処理システムと、
前記画像形成処理システムと連携して動作し、標準装備されている標準アプリケーションを実行する標準アプリケーション実行手段と、
前記標準アプリケーション実行手段において標準アプリケーション以外の機能を実現する追加アプリケーションを実行する追加アプリケーション実行手段と、
を有し、
前記追加アプリケーション実行手段は、追加アプリケーションの実行中にエラーを検出したときに、当該エラーを識別する追加アプリケーションエラー識別情報及び当該エラーを示すメッセージ情報を少なくとも含む追加アプリケーションエラー情報を前記標準アプリケーション実行手段に通知し、
前記標準アプリケーション実行手段は、前記追加アプリケーション実行手段から追加アプリケーションエラー情報が通知されてきたときに、当該追加アプリケーションエラー情報に含まれている追加アプリケーションエラー識別情報から特定されるシステムエラー識別情報であって前記画像形成処理システムで使用されているシステムエラー識別情報、及び当該追加アプリケーションエラー情報に含まれているメッセージ情報を少なくとも含み、前記画像形成処理システムが解読可能な形式のシステムエラー情報を生成して前記画像形成処理システムに通知することによって、当該メッセージ情報を少なくとも含むエラー情報を前記画像形成処理システムに出力させることを特徴とする画像形成装置。
An image forming processing system having software that realizes basic functions including an error output function and software serving as a base of operation;
Standard application execution means that operates in cooperation with the image forming processing system and executes a standard application that is provided as a standard;
An additional application executing means for executing an additional application for realizing a function other than the standard application in the standard application executing means;
Have
When the additional application execution unit detects an error during execution of the additional application, the standard application execution unit includes additional application error information including at least additional application error identification information for identifying the error and message information indicating the error. Notify
The standard application execution means is system error identification information specified from the additional application error identification information included in the additional application error information when the additional application error information is notified from the additional application execution means. System error identification information used in the image forming processing system and message information included in the additional application error information, and generating system error information in a format readable by the image forming processing system. The image forming apparatus is configured to output error information including at least the message information to the image forming processing system by notifying the image forming processing system.
前記標準アプリケーション実行手段は、標準アプリケーションとして、前記画像形成装置に予め備えられている通信プロトコルに従い外部のサーバとの間のデータ転送を行う転送アプリケーションを実行し、
前記追加アプリケーション実行手段は、追加アプリケーションとして、前記画像形成装置に予め備えられている通信プロトコルとは異なる通信プロトコルに従い外部のサーバとの間のデータ転送を行うプラグインアプリケーションを実行し、
転送アプリケーションには、プラグインアプリケーションと連携して動作するフレームワークが追加されていることを特徴とする請求項1に記載の画像形成装置。
The standard application execution unit executes a transfer application that performs data transfer with an external server according to a communication protocol provided in advance in the image forming apparatus as a standard application.
The additional application execution unit executes, as an additional application, a plug-in application that performs data transfer with an external server according to a communication protocol different from a communication protocol provided in advance in the image forming apparatus,
The image forming apparatus according to claim 1, wherein a framework that operates in cooperation with a plug-in application is added to the transfer application.
追加アプリケーションエラー識別情報とシステムエラー識別情報とが対応付けられたエラー識別情報変換テーブルを記憶する手段を有し、
前記標準アプリケーション実行手段は、前記エラー識別情報変換テーブルを参照して、当該追加アプリケーションエラー情報に含まれている追加アプリケーションエラー識別情報をシステムエラー識別情報に変換してシステムエラー情報を生成することを特徴とする請求項1に記載の画像形成装置。
Means for storing an error identification information conversion table in which additional application error identification information and system error identification information are associated with each other;
The standard application execution means refers to the error identification information conversion table, converts the additional application error identification information included in the additional application error information into system error identification information, and generates system error information. The image forming apparatus according to claim 1, wherein:
動作の基盤となるソフトウェア及び少なくともエラー出力機能を含む基本機能を実現するソフトウェアを有する画像形成処理システムと、前記画像形成処理システムと連携して動作し、標準装備されている標準アプリケーションを実行する標準アプリケーション実行手段と、前記標準アプリケーション実行手段において標準アプリケーション以外の追加アプリケーションを実行する追加アプリケーション実行手段と、を有する画像形成装置に搭載されたコンピュータを、
前記追加アプリケーション実行手段に、追加アプリケーションの実行中にエラーを検出したときに、当該エラーを識別する追加アプリケーションエラー識別情報及び当該エラーを示すメッセージ情報を少なくとも含む追加アプリケーションエラー情報を前記標準アプリケーション実行手段に通知させる手段、
前記標準アプリケーション実行手段に、前記追加アプリケーション実行手段から追加アプリケーションエラー情報が通知されてきたときに、当該追加アプリケーションエラー情報に含まれている追加アプリケーションエラー識別情報から特定されるシステムエラー識別情報であって前記画像形成処理システムで使用されているシステムエラー識別情報、及び当該追加アプリケーションエラー情報に含まれているメッセージ情報を少なくとも含み、前記画像形成処理システムが解読可能な形式のシステムエラー情報を生成して前記画像形成処理システムに通知することによって、当該メッセージ情報を少なくとも含むエラー情報を前記画像形成処理システムに出力させる手段、
として機能させるためのプログラム。
Image forming processing system having software that realizes basic functions including at least basic functions including an error output function, and a standard that operates in cooperation with the image forming processing system and executes a standard application provided as a standard A computer mounted in an image forming apparatus having application execution means and additional application execution means for executing an additional application other than the standard application in the standard application execution means;
When the error is detected during execution of the additional application, the additional application error information including at least additional application error identification information for identifying the error and message information indicating the error is detected in the additional application execution unit. Means to notify
System error identification information specified from the additional application error identification information included in the additional application error information when the additional application error information is notified from the additional application execution means to the standard application execution means. System error identification information used in the image forming processing system and message information included in the additional application error information, and generating system error information in a format readable by the image forming processing system. Means for causing the image forming processing system to output error information including at least the message information by notifying the image forming processing system.
Program to function as.
JP2011287746A 2011-12-28 2011-12-28 Image forming apparatus and program Expired - Fee Related JP5874392B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011287746A JP5874392B2 (en) 2011-12-28 2011-12-28 Image forming apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011287746A JP5874392B2 (en) 2011-12-28 2011-12-28 Image forming apparatus and program

Publications (2)

Publication Number Publication Date
JP2013138305A true JP2013138305A (en) 2013-07-11
JP5874392B2 JP5874392B2 (en) 2016-03-02

Family

ID=48913699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011287746A Expired - Fee Related JP5874392B2 (en) 2011-12-28 2011-12-28 Image forming apparatus and program

Country Status (1)

Country Link
JP (1) JP5874392B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015082203A (en) * 2013-10-22 2015-04-27 富士ゼロックス株式会社 Information processing device and program
WO2019108232A1 (en) * 2017-12-01 2019-06-06 Hewlett-Packard Development Company, L.P. Adaptive sampling

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004288041A (en) * 2003-03-24 2004-10-14 Fuji Xerox Co Ltd Data processing system and program
JP2010238219A (en) * 2009-03-10 2010-10-21 Konica Minolta Business Technologies Inc Image forming apparatus, display screen switching method and program
JP2011114408A (en) * 2009-11-24 2011-06-09 Ricoh Co Ltd Image processing apparatus and image processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004288041A (en) * 2003-03-24 2004-10-14 Fuji Xerox Co Ltd Data processing system and program
JP2010238219A (en) * 2009-03-10 2010-10-21 Konica Minolta Business Technologies Inc Image forming apparatus, display screen switching method and program
JP2011114408A (en) * 2009-11-24 2011-06-09 Ricoh Co Ltd Image processing apparatus and image processing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015082203A (en) * 2013-10-22 2015-04-27 富士ゼロックス株式会社 Information processing device and program
WO2019108232A1 (en) * 2017-12-01 2019-06-06 Hewlett-Packard Development Company, L.P. Adaptive sampling
CN111417525A (en) * 2017-12-01 2020-07-14 惠普发展公司,有限责任合伙企业 Adaptive sampling
US11433687B2 (en) 2017-12-01 2022-09-06 Hewlett-Packard Development Company, L.P. Adaptive sampling

Also Published As

Publication number Publication date
JP5874392B2 (en) 2016-03-02

Similar Documents

Publication Publication Date Title
JP6364738B2 (en) Information processing system, information processing apparatus, program, and process execution method
JP5880035B2 (en) Image forming apparatus and program
US9032286B2 (en) Image processing apparatus, image processing system, and recording medium
JP2021022214A (en) Information processing system and control program for information processing system
JP2013244678A (en) Image forming apparatus, control method thereof, and program
US20130054744A1 (en) Information processing apparatus capable of generating url, method of controlling the information processing apparatus, and storage medium
JP2012238142A (en) Image processing system, image processing device and program
JP5874392B2 (en) Image forming apparatus and program
US9473650B2 (en) Image reading apparatus, image reading method, image processing system, and storage medium
US20160316093A1 (en) Apparatus equipped with fax function, control method thereof, and storage medium
JP2005327053A (en) Log information management device, log information generation device, log information management program and recording medium
US20120019862A1 (en) Image processing apparatus, control method of image processing apparatus, and program
US11765284B2 (en) Image processing apparatus, method of controlling the image processing apparatus and non-transitory storage medium for transmitting scanned document to cloud server and request to generate storage destination information indicating an expiration date
US11928527B2 (en) Information processing apparatus, and method of controlling communication between container and process in the information processing apparatus
US10116640B2 (en) Image processing system, image processing device, and authentication method
JP6540329B2 (en) Information processing apparatus and program
US20130107302A1 (en) Image processing apparatus, image processing method and memory medium
JP2018101928A (en) Image processing apparatus
JP5899772B2 (en) Information processing system and information processing method
JP6217097B2 (en) Information processing apparatus, program, system, and method
US11843737B2 (en) Information processing apparatus, control method therefor, and storage medium
JP5779917B2 (en) Information processing apparatus, driver program, installer program, and storage medium
JP2012096405A (en) Image processing system
JP2018022945A (en) Image forming apparatus and method for controlling the same, and program
US9531904B2 (en) Information processing apparatus, control method of information processing apparatus, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150811

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151006

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151207

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160104

R150 Certificate of patent or registration of utility model

Ref document number: 5874392

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees