JP5958349B2 - Program trial support device - Google Patents

Program trial support device Download PDF

Info

Publication number
JP5958349B2
JP5958349B2 JP2013001075A JP2013001075A JP5958349B2 JP 5958349 B2 JP5958349 B2 JP 5958349B2 JP 2013001075 A JP2013001075 A JP 2013001075A JP 2013001075 A JP2013001075 A JP 2013001075A JP 5958349 B2 JP5958349 B2 JP 5958349B2
Authority
JP
Japan
Prior art keywords
code
trial
script
program
image forming
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013001075A
Other languages
Japanese (ja)
Other versions
JP2014134857A (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.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2013001075A priority Critical patent/JP5958349B2/en
Publication of JP2014134857A publication Critical patent/JP2014134857A/en
Application granted granted Critical
Publication of JP5958349B2 publication Critical patent/JP5958349B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Description

本発明は、プログラム試用支援装置に関し、特に、画像形成装置に実行させるアプリケーションプログラムの試用を支援する技術に関する。   The present invention relates to a program trial support apparatus, and more particularly to a technique for supporting trial use of an application program executed by an image forming apparatus.

近年、サードパーティが提供するアプリケーションプログラムを用いて、画像形成装置の機能を拡張し、ユーザーが希望する動作を実行させるため技術開発がメーカー各社によって推進されている。
しかしながら、画像形成装置は多数のユーザーによって共用されることが多く、これらのユーザーが各自、無制限にアプリケーションプログラムを導入するとHDD(Hard Disk Drive)の記憶容量やCPU(Central Processing Unit)の処理能力といったリソースの不足を招く恐れがある。
2. Description of the Related Art In recent years, manufacturers have promoted technology development to expand the functions of an image forming apparatus using an application program provided by a third party and execute an operation desired by a user.
However, image forming apparatuses are often shared by a large number of users, and when each of these users introduces an unlimited number of application programs, the storage capacity of an HDD (Hard Disk Drive), the processing capacity of a CPU (Central Processing Unit), etc. May lead to resource shortage.

このため、アプリケーションプログラムの導入に際しては、予め試用することによって導入の要否を判断することによって、無制限な導入によるリソースの枯渇を回避するのが望ましい。   For this reason, when introducing an application program, it is desirable to avoid exhaustion of resources due to unlimited introduction by determining in advance whether or not the application program is necessary.

特開2008−152545号公報JP 2008-152545 A

また、アプリケーションプログラムの導入を制限した場合であっても、試用するアプリケーションプログラムをインストールするために操作パネルを占有すると、その間、他のユーザーは画像形成装置を操作することができない。また、インストール中、画像形成装置の動作の安定性が損なわれると、LAN(Local Area Network)を介してプリントジョブを投入しても正常に実行されないおそれがある。   Even if the introduction of application programs is restricted, if the operation panel is occupied to install a trial application program, other users cannot operate the image forming apparatus during that time. In addition, if the stability of the operation of the image forming apparatus is impaired during installation, there is a possibility that a print job may not be executed normally even if a print job is input via a LAN (Local Area Network).

このような不都合を回避するために、例えば、画像形成装置にアプリケーションプログラムをインストールすることなく、PC(Personal Computer)上などで試用することも考えられるが、PCでは提供されない画像形成装置固有の機能を利用するようなアプリケーションプログラムはそのままでは動作させることができない。
本発明は、上述のような問題に鑑みて為されたものであって、アプリケーションプログラムを画像形成装置にインストールすることなく試用させるプログラム試用支援装置を提供することを目的とする。
In order to avoid such inconvenience, for example, it is possible to try on a PC (Personal Computer) without installing an application program in the image forming apparatus. An application program that uses can not be operated as it is.
SUMMARY An advantage of some aspects of the invention is that it provides a program trial support apparatus that allows an application program to be used without being installed in an image forming apparatus.

上記目的を達成するため、本発明に係るプログラム試用支援装置は、(請求項1)を特徴とする。   In order to achieve the above object, a program trial support apparatus according to the present invention is characterized by (Claim 1).

このようにすれば、画像形成装置にインストールすることなくアプリケーションプログラムを試用することができるので、画像形成装置における各種リソースの枯渇を防止することができる。また、アプリケーションプログラムが試用装置上で試用されることによって、画像形成装置の操作パネルが占用されないので、画像形成装置の他のユーザーの利便性の低下も回避することができる。   In this way, the application program can be used without being installed in the image forming apparatus, so that various resources in the image forming apparatus can be prevented from being exhausted. In addition, since the operation panel of the image forming apparatus is not occupied by using the application program on the trial apparatus, it is possible to avoid a decrease in convenience for other users of the image forming apparatus.

この場合において、(請求項2)とすれば、代入コードにて代入する情報の精度を高めることができる。
また、(請求項3)としても良いし、(請求項4)としても良い。
In this case, if (claim 2) is adopted, the accuracy of information to be substituted by the substitution code can be improved.
Further, it may be (Claim 3) or (Claim 4).

本発明の実施の形態に係るアプリケーションプログラム試用支援システムの構成を示す図である。It is a figure which shows the structure of the application program trial support system which concerns on embodiment of this invention. 複合機100の構成を示す図である。1 is a diagram illustrating a configuration of a multifunction machine 100. FIG. 複合機100のコントローラー部201の構成を示す図である。2 is a diagram illustrating a configuration of a controller unit 201 of the multifunction peripheral 100. FIG. アプリケーションプログラムの試用手順を示すシーケンス図である。It is a sequence diagram which shows the trial procedure of an application program. コピー条件を入力させるアプリケーションプログラムのスクリプト例である。It is an example script of an application program for inputting a copy condition. コピー処理を実行するアプリケーションプログラムのスクリプト例である。It is an example script of the application program which performs a copy process. コピー条件を入力させるスクリプトを変換したスクリプトである。This is a script converted from a script for inputting copy conditions. コピー処理を要求するスクリプトである。This is a script that requests copy processing. 要求に応じてコピー処理を実行するスクリプトである。This is a script that executes copy processing in response to a request. 試用支援サーバー101が実行するフローチャートである。6 is a flowchart executed by the trial support server 101.

以下、本発明に係るプログラム試用支援装置の実施の形態について、アプリケーションプログラム試用支援システム(以下、単に「試用支援システム」という。)を例にとり、図面を参照しながら説明する。
[1]試用支援システムの構成
まず、本実施の形態に係る試用支援システムの構成について説明する。
Hereinafter, an embodiment of a program trial support apparatus according to the present invention will be described with reference to the drawings, taking an application program trial support system (hereinafter simply referred to as “trial support system”) as an example.
[1] Configuration of Trial Support System First, the configuration of the trial support system according to the present embodiment will be described.

図1に示されるように、試用支援システム1は、カラー複合機(MFP: Multi-Function Peripheral)100、試用支援サーバー101及びPC102をLAN103にて相互通信可能に接続したシステムである。
複合機100は、PC102からの要求に従って、印刷ジョブや試用ジョブ等を実行する。試用支援サーバー101は、PC102を用いてアプリケーションプログラムを試用することができるように、アプリケーションプログラムを変更すると共に、複合機100に試用ジョブを実行させるためのリクエスト受信スクリプトを実行させる。
As shown in FIG. 1, the trial support system 1 is a system in which a multi-function peripheral (MFP) 100, a trial support server 101, and a PC 102 are connected to each other via a LAN 103 so that they can communicate with each other.
The multi-function device 100 executes a print job, a trial job, and the like according to a request from the PC 102. The trial support server 101 changes the application program so that the application program can be used using the PC 102, and causes the multifunction peripheral 100 to execute a request reception script for executing a trial job.

[2]複合機100の構成
次に、複合機100の構成について説明する。
図2に示されるように、複合機100は、原稿読み取り部200、コントローラー部201、エンジン部202及び排紙オプション部203を備えている。原稿読み取り部200は、原稿から原稿画像を読み取ってデジタル画像データを生成する。コントローラー部201は、原稿読み取り部200、エンジン部202及び不図示の操作パネルを統合して制御したり、LAN103やファクシミリ回線(図示省略)を介してデータを送受信したりする。特に、コントローラー部201は、LAN103を介してPC102から印刷ジョブ等を受け付けるとエンジン部202等を制御してジョブを実行させる。
[2] Configuration of MFP 100 Next, the configuration of the MFP 100 will be described.
As shown in FIG. 2, the multifunction peripheral 100 includes a document reading unit 200, a controller unit 201, an engine unit 202, and a paper discharge option unit 203. The document reading unit 200 reads a document image from a document and generates digital image data. The controller unit 201 integrates and controls the document reading unit 200, the engine unit 202, and an operation panel (not shown), and transmits / receives data via the LAN 103 or a facsimile line (not shown). In particular, when the controller unit 201 receives a print job or the like from the PC 102 via the LAN 103, the controller unit 201 controls the engine unit 202 or the like to execute the job.

エンジン部202は、コントローラー部201からの指示に従って、画像形成処理を実行する。排紙オプション部203もまたコントローラー部201からの指示に従い、エンジン部202作成した印刷物に対してステープル処理等の後処理を行う。
図3は、コントローラー部201の構成を示す図である。
図3に示されるように、コントローラー部201は、CPU300、RAM(Random Access Memory)305、NVRAM(Non-Volatile RAM)306、HDD307、NIC(Network Interface Card)310、メディアドライブ311及び記憶媒体312を備えており、これらは内部バス313を介して相互通信可能に接続されている。また、コントローラー部201にはエンジン部202や操作パネル320が接続されており、操作パネル320はハードウェアキー(以下、「ハードキー」という。)321とタッチパネル322を備えている。タッチパネル322はタッチセンサー323と液晶ディスプレイ324から構成される。
The engine unit 202 executes image forming processing in accordance with an instruction from the controller unit 201. The paper discharge option unit 203 also performs post-processing such as stapling on the printed matter created by the engine unit 202 in accordance with an instruction from the controller unit 201.
FIG. 3 is a diagram illustrating a configuration of the controller unit 201.
As shown in FIG. 3, the controller unit 201 includes a CPU 300, a RAM (Random Access Memory) 305, an NVRAM (Non-Volatile RAM) 306, an HDD 307, an NIC (Network Interface Card) 310, a media drive 311, and a storage medium 312. These are connected via an internal bus 313 so that they can communicate with each other. An engine unit 202 and an operation panel 320 are connected to the controller unit 201, and the operation panel 320 includes a hardware key (hereinafter referred to as “hard key”) 321 and a touch panel 322. The touch panel 322 includes a touch sensor 323 and a liquid crystal display 324.

CPU10は、電源投入後、NVRAM306からブートプログラムを読み出して起動し、RAM305を作業用メモリーとして動作する。その後、CPU10はHDD307のプログラム記憶領域308からWebブラウザー301、Webサーバー302、スクリプトエンジン303及び新モジュール制御304の各プログラムを読み出して実行する。また、HDD307のデータ記憶領域309にはこれらのプログラムを動作させるためのデータが記憶されている。   After the power is turned on, the CPU 10 reads and boots the boot program from the NVRAM 306 and operates using the RAM 305 as a working memory. Thereafter, the CPU 10 reads out and executes each program of the Web browser 301, Web server 302, script engine 303, and new module control 304 from the program storage area 308 of the HDD 307. The data storage area 309 of the HDD 307 stores data for operating these programs.

Webブラウザー301は、Webサーバー302が提供するサービスを利用するための操作画面を操作パネル320に表示させ、入力操作を受け付ける。
Webサーバー302は、複合機100をWebサーバーとして機能させる。スキャンアプリケーションやコピーアプリケーション、画像処理、電子メールの送受信等のアプリケーションサービス(以下、単に「アプリケーション」という。)を提供する。なお、Webサーバー302は、アプリケーション実行を指示されると、当該指示の履歴を、指示の際に入力された設定値と共に記録する。
The web browser 301 displays an operation screen for using the service provided by the web server 302 on the operation panel 320 and accepts an input operation.
The Web server 302 causes the multifunction peripheral 100 to function as a Web server. Provides application services (hereinafter simply referred to as “applications”) such as scan applications, copy applications, image processing, and e-mail transmission / reception. When the web server 302 is instructed to execute the application, the web server 302 records the history of the instruction together with the setting value input at the time of the instruction.

また、本実施の形態においては、アプリケーションを実行するために、Webサーバー302はスクリプトを実行する。アプリケーション実行のために処理されるプログラムは複数のスクリプトの集合体として表現されていても良い。スクリプトエンジン303は、Webサーバー302からの指示に応じてスクリプトを実行(処理)する。
新モジュール制御部304は、Webサーバー302が実行を指示されたアプリケーションを実行するためのスクリプトを、当該指示の際に入力された設定値を含めた形で生成する。生成されたスクリプトは、HDD307のプログラム記憶領域308に記憶される
メディアドライブ311は、着脱可能な記憶媒体312に対するデータの書き込みやデータの読出しを行う。
In the present embodiment, the Web server 302 executes a script in order to execute an application. A program processed for application execution may be expressed as a collection of a plurality of scripts. The script engine 303 executes (processes) the script in response to an instruction from the Web server 302.
The new module control unit 304 generates a script for executing the application instructed to be executed by the Web server 302 in a form including the setting value input at the time of the instruction. The generated script is stored in the program storage area 308 of the HDD 307. The media drive 311 writes / reads data to / from the removable storage medium 312.

[3]試用支援サーバー101及びPC102の構成
次に、試用支援サーバー101及びPC102の構成について説明する。
試用支援サーバー101及びPC102は、何れも同様の構成を備えており、マザーボード上にCPU、ROM、RAM、HDD及びNICが搭載されている。CPUは電源投入時にRAMからブートプログラムを読み出して起動し、HDDからオペレーティングシステムやアプリケーションプログラムを読み出すと、RAMを作業用記憶領域としてこれらのプログラムを実行する。NICはLAN103を介して複合機100等、他の装置と相互に通信するために用いられる。
[3] Configurations of Trial Support Server 101 and PC 102 Next, configurations of the trial support server 101 and the PC 102 will be described.
The trial support server 101 and the PC 102 have the same configuration, and a CPU, ROM, RAM, HDD, and NIC are mounted on the motherboard. When the CPU reads the boot program from the RAM and starts up when the power is turned on, and reads the operating system and application program from the HDD, the CPU executes these programs using the RAM as a working storage area. The NIC is used to communicate with other devices such as the multifunction peripheral 100 via the LAN 103.

PC102にはWebブラウザープログラムが搭載されており、当該Webブラウザープログラム上でHTML(Hyper Text Markup Language)スクリプトを実行することができる。また、試用支援サーバー101にはスクリプト変換プログラムが搭載されており、複合機100のWebブラウザー301上で動作するPythonスクリプトを、PC102のWebブラウザー上で動作するHTMLスクリプトに変換する。   The PC 102 is equipped with a Web browser program, and an HTML (Hyper Text Markup Language) script can be executed on the Web browser program. The trial support server 101 is equipped with a script conversion program that converts a Python script that runs on the web browser 301 of the multifunction peripheral 100 into an HTML script that runs on the web browser of the PC 102.

[4]アプリケーションの試用
次に、試用支援システム1においてアプリケーションを試用する手順について説明する。
図4は、アプリケーションの試用手順を示すシーケンス図である。図4に示されるように、複合機100のアプリケーションを試用しようとするユーザーは、PC102から試用支援サーバー101に当該アプリケーションを登録する(S401)。この登録に際して、当該ユーザーの情報(複合機100を利用するためのユーザーID等)や登録先の複合機100の指定を併せて行う。なお、PC102には、例えば、アプリケーションベンダーからネットワーク経由アプリケーションをダウンロードしても良いし、CD(Compact Disc)やDVD(Digital Versatile Disc)等の記録メディアから読み出しても良い。
[4] Trial of Application Next, a procedure for trying the application in the trial support system 1 will be described.
FIG. 4 is a sequence diagram showing a trial procedure of the application. As shown in FIG. 4, the user who wants to try the application of the multifunction device 100 registers the application in the trial support server 101 from the PC 102 (S401). At the time of this registration, the user information (such as a user ID for using the multifunction device 100) and the registration destination multifunction device 100 are specified together. Note that an application via a network may be downloaded to the PC 102 from an application vendor, or may be read from a recording medium such as a CD (Compact Disc) or a DVD (Digital Versatile Disc).

試用支援サーバー101は、PC102からアプリケーションの登録を受け付けると、アプリケーションのスクリプトを解析して、PC102で実行できるスクリプト(以下、「試用スクリプト」という。)と、試用スクリプトからの要求に応答して複合機100を動作させるリクエスト受信スクリプト(以下、「応答スクリプト」という。)を生成する(S402)。なお、PC102が試用スクリプトを実行する際に必要な複合機100の本体情報がある場合には、併せて複合機100から取得し、試用スクリプトや応答スクリプトの生成に用いる。   Upon receiving the application registration from the PC 102, the trial support server 101 analyzes the script of the application and combines the script that can be executed by the PC 102 (hereinafter referred to as “trial script”) in response to a request from the trial script. A request reception script (hereinafter referred to as “response script”) for operating the machine 100 is generated (S402). If there is main body information of the multifunction peripheral 100 necessary when the PC 102 executes the trial script, it is acquired from the multifunction peripheral 100 and used to generate a trial script and a response script.

試用支援サーバー101は、生成した応答スクリプトを複合機100へ送信し(S403)、複合機100は、受信した応答スクリプトを直ちに起動する(S404)。試用支援サーバー101は、その後、試用スクリプトをPC102に送信する(S405)。複合機100が応答スクリプトを起動する前にPC102が要求を送信すると、複合機100が要求を処理できないからである。   The trial support server 101 transmits the generated response script to the multifunction device 100 (S403), and the multifunction device 100 immediately activates the received response script (S404). Thereafter, the trial support server 101 transmits a trial script to the PC 102 (S405). This is because if the PC 102 transmits a request before the MFP 100 starts the response script, the MFP 100 cannot process the request.

PC102は、試用スクリプトを受信すると、当該試用スクリプトを起動する(S406)。試用スクリプトは、上述のように、複合機100の本体情報やPC102のユーザー情報に基づいて動作する。この試用スクリプトの実行において、複合機100特有の機能を利用する場合には、PC102から複合機100上で動作する応答スクリプトへ要求が送信される(S407)。   Upon receiving the trial script, the PC 102 activates the trial script (S406). As described above, the trial script operates based on the main body information of the multifunction peripheral 100 and the user information of the PC 102. In the execution of the trial script, when a function unique to the multifunction device 100 is used, a request is transmitted from the PC 102 to a response script operating on the multifunction device 100 (S407).

複合機100は、PC102から要求を受信すると、当該要求において指定されているパラメーターを用いて応答スクリプトを実行する(S408)。
このようにすれば、アプリケーションプログラムを複合機100にインストールすることなく、応答スクリプトのみを動作させればアプリケーションプログラムを試用することができるので、複合機100の各種リソースの濫費を防止することができる。また、応答スクリプトの起動に際しては、複合機100の操作パネルを占有する必要が無いので、他のユーザーによる複合機100の利用を妨げることなくアプリケーションプログラムを試用することができる。
When receiving the request from the PC 102, the multi-function device 100 executes a response script using the parameters specified in the request (S408).
In this way, since the application program can be tried by operating only the response script without installing the application program in the multifunction device 100, it is possible to prevent the various resources of the multifunction device 100 from being overwhelmed. . Further, when the response script is activated, it is not necessary to occupy the operation panel of the multifunction device 100, so that the application program can be used without disturbing the use of the multifunction device 100 by other users.

[5]スクリプト生成
次に、PC用スクリプト並びにリクエスト受信スクリプトの生成について、具体例を挙げながら説明する。
(5−1)元のスクリプト
まず、PC用スクリプト並びにリクエスト受信スクリプトの元となるアプリケーションのスクリプトを例示する。
[5] Script Generation Next, generation of a PC script and a request reception script will be described with specific examples.
(5-1) Original Script First, a script of an application that is a source of a PC script and a request reception script will be exemplified.

図5、6に例示された複合機100用のスクリプト(form.py、job.py)は、スクリプト言語Pythonで記述されている。form.pyは、複合機100が使用する各色のトナー残量を確認し、パラメーター入力フォームを表示してユーザー入力を受け付けた後、コピージョブの実行を指示するスクリプトである。また、job.pyは、form.pyで受け付けたパラメーターを用いてコピージョブの実行を指示するスクリプトである。   Scripts (form.py, job.py) for the multifunction peripheral 100 illustrated in FIGS. 5 and 6 are described in the script language Python. form. py is a script that checks the remaining amount of toner of each color used by the multifunction peripheral 100, displays a parameter input form, accepts user input, and then instructs execution of a copy job. Also, job. py is form. This is a script for instructing execution of a copy job using parameters accepted by py.

詳述すれば、図5においては、まず、K(ブラック)、Y(イエロー)、M(マゼンタ)及びC(シアン)の各色のトナー残量が取得される(スクリプト部分501)。
次に、取得したトナー残量の何れかが20%未満であるか否かが判断され、トナー残量が20%未満のものがあれば、操作パネル320にエラーメッセージが表示される(スクリプト部分502)。
More specifically, in FIG. 5, first, the remaining amount of toner of each color of K (black), Y (yellow), M (magenta), and C (cyan) is acquired (script portion 501).
Next, it is determined whether any of the acquired toner remaining amount is less than 20%. If there is a toner remaining amount less than 20%, an error message is displayed on the operation panel 320 (script portion). 502).

また、トナー残量が何れも20%以上ならば、操作パネル320に所定の入力フォームが表示される。この入力フォームにおいては、原稿読み取り面が片面か両面か、何れの給紙トレイから給紙するか、また、ジョブを実行するか否かの指定を受け付ける(スクリプト部分503)。
なお、PC102単独では複合機100のトナー残量を取得するスクリプトを実行することができないので、このスクリプトをPC102において実行するためには複合機100の機能を利用することが不可欠である。
If the remaining amount of toner is 20% or more, a predetermined input form is displayed on the operation panel 320. In this input form, designation of whether the original reading surface is single-sided or double-sided, from which paper feed tray the paper is fed, and whether to execute the job is accepted (script portion 503).
Note that since the PC 102 alone cannot execute a script for acquiring the toner remaining amount of the multifunction peripheral 100, it is indispensable to use the function of the multifunction peripheral 100 in order to execute this script on the PC 102.

また、図6においては、上記の入力フォームで指定された原稿読み取り面を読み取って、指定された給紙トレイから供給された用紙にコピーを実行する。
この場合においても、PC102単独ではコピー処理を実行することができな
いので、複合機100の機能を利用することが不可欠である。
(5−2)変換後のスクリプト
上のようなスクリプトをPC102から受け付けると、試用支援サーバー101はスクリプト言語HTMLで記述されたスクリプトに変換する。図7、8はそれぞれform.pyとjob.pyをHTMLに変換したスクリプトtest.htmlの前半部分と後半部分とを示している。
In FIG. 6, the original reading surface designated by the input form is read, and copying is performed on the paper supplied from the designated paper feed tray.
Even in this case, since the copy process cannot be executed by the PC 102 alone, it is indispensable to use the function of the multifunction peripheral 100.
(5-2) Script after Conversion When the above script is received from the PC 102, the trial support server 101 converts the script into a script described in the script language HTML. 7 and 8 show form. py and job. Script test. py converted to HTML. The first half and the second half of html are shown.

図7に示されるように、図5に例示したスクリプトform.pyのうち、複合機100のトナー残量を取得するスクリプト部分501は、PC102単独で実行できるよう、複合機100から実値を取得せずに、直値を用いるように変換される(スクリプト部分701)。本実施の形態においては、試用支援サーバー101は、複合機100から取得した実値を用いている。   As shown in FIG. 7, the script form.exe illustrated in FIG. Of the py, the script portion 501 for acquiring the toner remaining amount of the multifunction device 100 is converted to use the direct value without acquiring the actual value from the multifunction device 100 so that it can be executed by the PC 102 alone (script portion). 701). In the present embodiment, the trial support server 101 uses the actual value acquired from the multifunction device 100.

また、スクリプト部分701においてはトナー残量として20%未満ではない直値を用いるので、スクリプト部分502に対応するエラー表示が不要になる(スクリプト部分702)。
スクリプト部分503については、Pythonで記述されたスクリプトをそのままHTMLに変換される(スクリプト部分703)。なお、スクリプト部分703においては、入力ボタンがクリックされると図8に示されたスクリプトが起動される。
Further, since the script portion 701 uses a direct value that is not less than 20% as the remaining amount of toner, an error display corresponding to the script portion 502 becomes unnecessary (script portion 702).
As for the script portion 503, a script written in Python is converted into HTML as it is (script portion 703). In the script portion 703, when the input button is clicked, the script shown in FIG. 8 is activated.

図6に例示したスクリプトjob.pyについては、図8に示されるように、原稿読み取り面と給紙トレイとを指定した後、複合機100へコピーの依頼が送信される。なお、本実施の形態においては、当該コピー依頼を処理すべきスクリプトを指定するためにアプリケーションID("AAA")と、コピージョブであることをと表すジョブID("copy")とがコピー依頼に付与される。   The script job.exe illustrated in FIG. As for py, as shown in FIG. 8, after a document reading surface and a paper feed tray are designated, a copy request is transmitted to the multifunction peripheral 100. In this embodiment, an application ID (“AAA”) and a job ID (“copy”) indicating that it is a copy job are used to specify a script to process the copy request. To be granted.

その後、関数req#send(null)の返り値が1の場合には、コピーの依頼に成功したとして依頼完了("completed")が表示され、さもなければ依頼失敗("failed")が表示される。
図9は、PC102からコピー依頼を受信した複合機100が実行するスクリプト(checker.py)であって、pythonで記述されている。複合機100は、アプリケーションID(app#id)が“AAA”で、かつ、ジョブID(job#id)が“copy”である場合には、指定された原稿読み取り面を読み取って、指定された給紙トレイから供給された用紙に印刷する。その後、コピー処理が成功したら“1”と表示し、失敗したら“2”と表示する。
After that, if the return value of the function req # send (null) is 1, the request completion ("completed") is displayed as a successful copy request, otherwise the request failure ("failed") is displayed. The
FIG. 9 is a script (checker.py) executed by the multifunction peripheral 100 that has received a copy request from the PC 102, and is described in Python. When the application ID (app # id) is “AAA” and the job ID (job # id) is “copy”, the multi-function device 100 reads the designated original reading surface and designates it. Print on paper supplied from the paper tray. Thereafter, “1” is displayed when the copy process is successful, and “2” is displayed when the copy process is unsuccessful.

なお、引き続くスクリプトは他のアプリケーションプログラムを試用する場合の条件分岐処理を例示したものである。
(5−3)試用支援サーバー101の動作
上のようにスクリプトを変換するために、試用支援サーバー101は次のような動作を実行する。
The subsequent script exemplifies conditional branch processing when another application program is tried.
(5-3) Operation of Trial Support Server 101 In order to convert the script as described above, the trial support server 101 performs the following operation.

まず、元のスクリプトを先頭から順にサーチして、複合機100に関する情報を取得するスクリプト(取得スクリプト。図5のスクリプト部分501に相当)や、PC102には実行できない複合機100固有の機能を使用するスクリプト(固有スクリプト。図6に相当)があるかを調べる(S1001)。スクリプトが取得スクリプトであるか否かは、図5に示されるmfp.device.get#toner#info()という関数のような、複合機100に関する情報を取得する箇所を検出することによって判定される。また、固有スクリプトであるか否かは、図6に示されるcopy.start()という関数のような複合機特有の機能を使用する箇所を検出することによって判定される。   First, the original script is searched in order from the top, and a script (acquisition script, corresponding to the script portion 501 in FIG. 5) for acquiring information related to the MFP 100, or a function unique to the MFP 100 that cannot be executed by the PC 102 is used. It is checked whether there is a script (specific script, corresponding to FIG. 6) to be executed (S1001). Whether or not the script is an acquisition script is determined by detecting a location for acquiring information related to the multifunction peripheral 100, such as the function mfp.device.get # toner # info () shown in FIG. . Whether or not the script is a unique script is determined by detecting a location where a function unique to the MFP such as a function called copy.start () shown in FIG. 6 is used.

その結果、取得スクリプトが見つかったら(S1002:YES)、取得すべき情報を複合機100から取得して(S1003)、代入スクリプトを生成する(S1004)。なお、代入スクリプトとは、PC102にて実行できるスクリプトであって、取得スクリプトにおいて取得すべき情報をそのまま代入したスクリプトである(図7のスクリプト部分701に相当)。   As a result, if an acquisition script is found (S1002: YES), information to be acquired is acquired from the multi-function device 100 (S1003), and an assignment script is generated (S1004). The substitution script is a script that can be executed by the PC 102 and is a script in which information to be acquired in the acquisition script is substituted as it is (corresponding to the script portion 701 in FIG. 7).

また、固有スクリプトが見つかった場合には(S1005:YES)、PC102にて実行できるスクリプトであって、当該固有スクリプトにて実行される処理を複合機100に依頼する依頼スクリプト(図8のスクリプトに相当)を生成すると共に(S1006)、当該依頼スクリプトによる依頼に応じて、依頼された処理を複合機100に実行させる応答スクリプト(図9のスクリプトに相当)を生成する(S1007)。   If a unique script is found (S1005: YES), the script is a script that can be executed by the PC 102 and requests the MFP 100 to execute the process executed by the unique script (the script shown in FIG. 8). Is generated (S1006), and a response script (corresponding to the script of FIG. 9) for causing the MFP 100 to execute the requested processing is generated in response to the request by the request script (S1007).

その後、取得スクリプトでも固有スクリプトでもないスクリプトをPC102で実行できるスクリプト(本実施の形態においてはHTML)に変換し、代入スクリプト及び依頼スクリプトと併せて試用スクリプトとし(S1008)、生成した試用スクリプトをPC102へ送信する(S1009)。また、応答スクリプトは複合機100へ送信して(S1010)、試用支援サーバー101は処理を終了する。   Thereafter, a script that is neither an acquisition script nor a specific script is converted into a script (HTML in the present embodiment) that can be executed by the PC 102, and is used as a trial script together with the substitution script and the request script (S1008). (S1009). The response script is transmitted to the multi-function device 100 (S1010), and the trial support server 101 ends the process.

[6]変形例
以上、本発明を実施の形態に基づいて説明してきたが、本発明が上述の実施の形態に限定されないのは勿論であり、以下のような変形例を実施することができる。
(1)上記実施の形態においては、複合機100がPythonを実行し、PC102がHTMLを実行する場合について説明したが、本発明がこれに限定されないのは言うまでもなく、他のスクリプト言語を用いても本発明の効果は同じである。また、複合機100とPC102とが同じスクリプト言語を実行できても良く、この場合には、図10のステップS1008において、取得スクリプトや固有スクリプト以外のスクリプトをそのままPC102に実行させることができる。
[6] Modifications As described above, the present invention has been described based on the embodiment. However, the present invention is not limited to the above-described embodiment, and the following modifications can be implemented. .
(1) In the above embodiment, the case where the MFP 100 executes Python and the PC 102 executes HTML has been described. Needless to say, the present invention is not limited to this, and other script languages are used. The effect of the present invention is the same. Further, the MFP 100 and the PC 102 may be able to execute the same script language. In this case, the script other than the acquisition script and the unique script can be directly executed by the PC 102 in step S1008 of FIG.

(2)上記実施の形態においては、試用支援サーバー101とPC102とが別体である場合について説明したが、PC102が試用支援サーバー101を兼ねても良い。ただし、複合機100が試用支援サーバー101を兼ねるのは、複合機100の各種リソースの濫費を招くので、本発明の目的上、不適当である。
(3)上記実施の形態においては、PC102から試用支援サーバー101にアプリケーションプログラムを送信する場合について説明したが、本発明がこれに限定されないのは言うまでもなく、これに代えて次のようにしても良い。
(2) Although the case where the trial support server 101 and the PC 102 are separate has been described in the above embodiment, the PC 102 may also serve as the trial support server 101. However, it is inappropriate for the purpose of the present invention that the multifunction device 100 also serves as the trial support server 101 because it causes a waste of various resources of the multifunction device 100.
(3) In the above embodiment, the case where the application program is transmitted from the PC 102 to the trial support server 101 has been described. However, it goes without saying that the present invention is not limited to this, and the following may be used instead. good.

例えば、アプリケーションプログラムは、ネットワーク経由で試用支援サーバー101にダウンロードされても良い。また、アプリケーションプログラムは、試用支援サーバー101に対して着脱可能な記憶媒体に格納され、試用支援サーバー101は、メディアドライブを介して当該記憶媒体から読み出し、当該アプリケーションプログラムを処理する場合もある。記憶媒体としては、CD−ROM(Compact Disc ? Read Only Memory)、DVD−ROM(Digital Versatile Disk ? Read Only Memory)、USB(Universal Serial Bus)メモリー、メモリーカード、FD(Flexible Disk)、ハードディスク、磁気テープ、カセットテープ、MO(Magnetic Optical)ディスク、MD(Mini Disc)、IC(integrated Circuit)カード(メモリーカードを除く)、光カード、マスクROM、EPROM、EEPROM(Electrically Erasable Programmable Read Only Memory)等の、不揮発的にプログラムを格納する媒体が挙げられる。   For example, the application program may be downloaded to the trial support server 101 via the network. In addition, the application program is stored in a storage medium that is detachable from the trial support server 101, and the trial support server 101 may read out the storage medium via a media drive and process the application program. Storage media include CD-ROM (Compact Disc – Read Only Memory), DVD-ROM (Digital Versatile Disk – Read Only Memory), USB (Universal Serial Bus) memory, memory card, FD (Flexible Disk), hard disk, magnetic Tape, cassette tape, MO (Magnetic Optical) disk, MD (Mini Disc), IC (integrated circuit) card (excluding memory card), optical card, mask ROM, EPROM, EEPROM (Electrically Erasable Programmable Read Only Memory), etc. And a medium for storing the program in a nonvolatile manner.

なお、PC102を経ずに試用支援サーバー101にアプリケーションプログラムをダウンロードする場合には、PC102からアプリケーションプログラムの提供元へダウンロードを要求しても良いし、試用支援サーバー101から要求しても良い。
(4)上記実施の形態においては、カラー複合機100上で動作するアプリケーションプログラムを試用する場合について説明したが、本発明がこれに限定されないのは言うまでもなく、カラー複合機100に代えて他の装置上で動作するアプリケーションプログラムを試用しても良い。
When the application program is downloaded to the trial support server 101 without going through the PC 102, the download may be requested from the PC 102 to the application program provider, or may be requested from the trial support server 101.
(4) In the above embodiment, the case of using an application program that operates on the color multifunction peripheral 100 has been described. However, it goes without saying that the present invention is not limited to this, and other applications can be used instead of the color multifunction peripheral 100. An application program that runs on the apparatus may be used as a trial.

アプリケーションプログラムが動作する他の装置は、例えば、モノクロー複合機であっても良いし、記録シートに画像を印刷するプリンター装置や原稿から読み取った画像を記録シートに複写する複写装置、原稿から読み取った画像を送受信するファクシミリ装置などの単機能機であっても良い。アプリケーションプログラムが動作する装置の如何に関わらず本発明を適用して、その効果を得ることができる。   The other device on which the application program operates may be, for example, a monochrome multifunction peripheral, a printer device that prints an image on a recording sheet, a copying device that copies an image read from a document to a recording sheet, or a document read from the document It may be a single function machine such as a facsimile machine for transmitting and receiving images. The effect can be obtained by applying the present invention regardless of the device on which the application program operates.

本発明に係る試用支援装置は、画像形成装置に実行させるアプリケーションプログラムの試用を支援する技術として有用である。   The trial support apparatus according to the present invention is useful as a technique for supporting trial use of an application program executed by the image forming apparatus.

1…………………試用支援システム
100……………カラー複合機
101……………試用支援サーバー
102……………PC
103……………LAN
301……………Webブラウザー
302……………Webサーバー
303……………スクリプトエンジン
320……………操作パネル
501〜503…スクリプト部分
701〜703…スクリプト部分
1. Trial support system 100 ..... Color MFP 101 ..... Trial support server 102 ..... PC
103 ......... LAN
301 ......... Web browser 302 ......... Web server 303 ......... Script engine 320 ......... Operation panels 501-503 ... Script part 701-703 ... Script part

Claims (4)

画像形成装置で動作するプログラムの、当該画像形成装置とネットワーク接続された試用装置での試用を支援するプログラム試用支援装置であって、
前記プログラムのうち、前記画像形成装置固有の機能を使用する固有コードと、前記画像形成装置に関する情報を取得する取得コードと、を識別するコード識別手段と、
前記固有コードを、前記試用装置が実行できるように、前記画像形成装置に対して固有の機能の使用を依頼する依頼コードに変換する第1コード変換手段と、
前記取得コードを、前記試用装置が実行できるように、前記画像形成装置に関する情報を取得するコードに代えて、固定のデータを代入する代入コードに変換する第2コード変換手段と、
前記プログラムから、前記依頼コードと前記代入コードとを用いて、前記試用装置で実行できる試用コードを生成する試用コード生成手段と、
前記画像形成装置が実行できるコードであって、前記依頼コードによる依頼に応答して前記画像形成装置固有の機能を使用する応答コードを生成する応答コード生成手段と、
前記試用装置に、前記試用コードを送信する試用コード送信手段と、
前記画像形成装置に、前記応答コードを送信する応答コード送信手段と、を備える
ことを特徴とするプログラム試用支援装置。
A program trial support apparatus that supports trial use of a program that operates in an image forming apparatus on a trial apparatus connected to the image forming apparatus via a network,
Code identifying means for identifying, among the programs, a unique code that uses a function unique to the image forming apparatus, and an acquisition code that obtains information about the image forming apparatus;
First code conversion means for converting the unique code into a request code for requesting the image forming apparatus to use a unique function so that the trial apparatus can execute the unique code;
A second code conversion means for converting the acquisition code into an assignment code for substituting fixed data in place of a code for obtaining information on the image forming apparatus so that the trial apparatus can execute the acquisition code;
Trial code generation means for generating a trial code that can be executed by the trial device using the request code and the substitution code from the program;
Response code generating means that can be executed by the image forming apparatus and generates a response code that uses a function specific to the image forming apparatus in response to a request by the request code;
Trial code transmitting means for transmitting the trial code to the trial device;
A program trial support apparatus, comprising: response code transmitting means for transmitting the response code to the image forming apparatus.
前記第2コード変換手段は、前記画像形成装置から前記情報を取得する取得手段を含み、
前記代入コードは、前記取得手段にて取得した前記情報をデータとして代入する
ことを特徴とする請求項1に記載のプログラム試用支援装置。
The second code conversion means includes an acquisition means for acquiring the information from the image forming apparatus,
The program trial support apparatus according to claim 1, wherein the substitution code substitutes the information acquired by the acquisition unit as data.
前記画像形成装置には、Webサーバープログラムが搭載されており、
前記プログラムと前記応答コードは、前記Webサーバープログラムが実行することができるスクリプト言語で記述されている
ことを特徴とする請求項1または2に記載のプログラム試用支援装置。
The image forming apparatus is equipped with a Web server program,
The program trial support apparatus according to claim 1, wherein the program and the response code are described in a script language that can be executed by the Web server program.
前記試用装置には、Webブラウザープログラムが搭載されており、
前記依頼コード、代入コード及び一般コードは前記Webブラウザープログラムで実行することができるスクリプト言語で記述されている
ことを特徴とする請求項1から3の何れかに記載のプログラム試用支援装置。
The trial device is equipped with a web browser program,
4. The program trial support apparatus according to claim 1, wherein the request code, the assignment code, and the general code are described in a script language that can be executed by the Web browser program.
JP2013001075A 2013-01-08 2013-01-08 Program trial support device Active JP5958349B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013001075A JP5958349B2 (en) 2013-01-08 2013-01-08 Program trial support device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013001075A JP5958349B2 (en) 2013-01-08 2013-01-08 Program trial support device

Publications (2)

Publication Number Publication Date
JP2014134857A JP2014134857A (en) 2014-07-24
JP5958349B2 true JP5958349B2 (en) 2016-07-27

Family

ID=51413091

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013001075A Active JP5958349B2 (en) 2013-01-08 2013-01-08 Program trial support device

Country Status (1)

Country Link
JP (1) JP5958349B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007241672A (en) * 2006-03-08 2007-09-20 Seiko Epson Corp Emulation device, emulation system, and control method and control program for emulation device
JP5325601B2 (en) * 2009-02-17 2013-10-23 京セラドキュメントソリューションズ株式会社 Software development system and software development method
JP2011065212A (en) * 2009-09-15 2011-03-31 Kyocera Mita Corp Operation confirmation system and operation confirmation device
JP2011180771A (en) * 2010-02-26 2011-09-15 Ricoh Co Ltd Information processing device, emulation system and emulation program

Also Published As

Publication number Publication date
JP2014134857A (en) 2014-07-24

Similar Documents

Publication Publication Date Title
JP4597834B2 (en) Image forming apparatus, information processing method, information processing program, and recording medium
US20130074048A1 (en) System, information processing apparatus and control method thereof, image forming apparatus and control method thereof, and computer-readable medium
US9342476B2 (en) Image processing apparatus, information processing apparatus, and information processing system
US20100251232A1 (en) Image processing apparatus, software delivery system, and install processing method
JP2007080252A (en) Information processing device, information processing method, information processing program, and recording medium
JP2008027128A (en) Device management system, management apparatus, and program
JP2007053555A (en) Composite machine
JP2007060404A (en) Method, program and device for notifying error
JP2007189668A (en) Image forming apparatus, access control method, access control program and computer readable information recording medium
US20100253976A1 (en) Image processing apparatus and method of setting image processing apparatus
JP4360992B2 (en) Image forming apparatus, information processing method, information processing program, and recording medium
JP2009140347A (en) Information processor, image forming apparatus, image processing method, program, and recording medium
JP5332628B2 (en) Network device and application acquisition method
JP5958349B2 (en) Program trial support device
JP2010072860A (en) Electronic equipment, remote management system, control method, program, and recording medium
JP2009205262A (en) Application program installation device, application program installation method, program, and recording medium
JP2014068201A (en) Image processing device and image processing method
JP2013101632A (en) Information processing apparatus, image forming apparatus, information processing method, and system
JP4251958B2 (en) Image forming apparatus, information processing apparatus, information processing method, information processing program, and recording medium
JP2006079211A (en) Image formation apparatus, information processing method, information processing program and recording medium
JP6013801B2 (en) Image output system and image output apparatus
JP2006293994A (en) Image forming device, information processing method, program, and recording medium
JP2011258011A (en) Software providing system, software execution device, storage method, computer program and recording medium
JP5273222B2 (en) Apparatus, information processing method, program, and recording medium
JP5220166B2 (en) Printing system, server apparatus, printing method, and computer program

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140613

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150817

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160516

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160606

R150 Certificate of patent or registration of utility model

Ref document number: 5958349

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150