JP7202873B2 - Image processing device and image processing method - Google Patents
Image processing device and image processing method Download PDFInfo
- Publication number
- JP7202873B2 JP7202873B2 JP2018236917A JP2018236917A JP7202873B2 JP 7202873 B2 JP7202873 B2 JP 7202873B2 JP 2018236917 A JP2018236917 A JP 2018236917A JP 2018236917 A JP2018236917 A JP 2018236917A JP 7202873 B2 JP7202873 B2 JP 7202873B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- application
- image processing
- setting
- structure description
- 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
Links
Images
Description
この発明は、画像処理装置および画像処理方法に関し、より詳細には外部の機器からアプリケーションをダウンロードして実行可能な画像処理装置および画像処理方法に関する。 The present invention relates to an image processing apparatus and image processing method, and more particularly to an image processing apparatus and image processing method capable of downloading and executing an application from an external device.
近年、通信技術が発達し通信環境が整備されたことに伴い、種々のクラウドサービスが提供されている。それらのクラウドサービスは、ユーザーがそのクラウドサービスにアクセスしサービスを利用するための手順(Application InterfaceあるいはAPIともいう)をサービス提供者が規定し、ユーザーに公開している。
例えば、クラウドサービス上に格納されたデータを印刷したり、原稿をスキャンしたデータをクラウドサービス上に格納したりする際、印刷処理やスキャン処理を実行する画像処理装置はそのクラウドサービスにアクセスしてAPIに準じたやり取りを行う必要がある。
2. Description of the Related Art In recent years, various cloud services have been provided along with the development of communication technology and the establishment of a communication environment. For those cloud services, service providers define procedures (also called application interfaces or APIs) for users to access and use the cloud services and open them to users.
For example, when printing data stored on a cloud service or storing scanned data on a cloud service, the image processing device that executes print processing or scan processing accesses the cloud service. It is necessary to perform exchanges according to the API.
しかし、どのクラウドサービスを利用するかはユーザーに依存する。さらに、クラウドサービスにアクセスすると、まずユーザー認証を行うのが通常であるが、ユーザー認証ではユーザーIDやパスワード等に代表されるユーザー固有の情報をユーザー側、即ち画像処理装置側からクラウドサービスへ送信する必要がある。
画像処理装置の製造者の観点からすれば、あらゆるクラウドサービスのAPIに係る処理を予め制御プログラムに組み込んで画像処理装置内に格納しておくのは冗長である。また、クラウドサービスあるいはそのAPIの追加や更新に逐次対応することは煩雑である。
上述のようなクラウドサービスとのインタフェイスに係る処理を、アプリケーションとして事後的にインストールし、更新することが可能な画像処理装置が提案されている(例えば、特許文献1参照)。
However, which cloud service to use depends on the user. Furthermore, when accessing a cloud service, user authentication is usually performed first. In user authentication, user-specific information such as a user ID and password is sent from the user side, that is, the image processing apparatus side, to the cloud service. There is a need to.
From the point of view of the manufacturer of the image processing apparatus, it is redundant to incorporate processing related to APIs of all cloud services into the control program in advance and store it in the image processing apparatus. In addition, it is troublesome to deal with additions and updates of cloud services or their APIs one by one.
An image processing apparatus has been proposed in which processing related to an interface with a cloud service as described above can be installed as an application after the fact and can be updated (for example, see Patent Document 1).
特許文献1による画像処理装置は、パソコン等の外部情報源から電子文書ファイルを受信する。電子文書ファイルは、プログラムファイルおよびフォームデータを含む。電子文書ファイルの文面には、プログラムファイルの解説文と、プログラムファイルを実行するために必要な情報を入力するためのフォームとが含まれている。ここで、フォームデータは、前記プログラムファイルを実行するために必要な情報を含むデータである。前記データは、例えば、「鍵コード」や「利用者設定」に係るものである。フォームは、ファイルを実行するために必要な情報を利用者が入力するためのものであって、テキストボックスやラジオボタン、チェックボックスなどの標準的なユーザーインターフェイスを文面に設置可能なものである。画像処理装置の制御手段は、受信した電子文書ファイルの中からプログラムファイルとフォームデータの抽出を行い、抽出したフォームデータの情報に従ってプログラムファイルを実行する。
An image processing apparatus according to
例えば、特許文献1の画像処理装置において、ユーザーは、自分のパソコンからアプリケーションソフトを配布しているWebサイトにアクセスする。そして、使用したいアプリケーションソフトに係る電子文書ファイルについて、ユーザー認証に必要な「鍵コード」やアプリケーションソフトの諸動作を利用者ごとに最適化する「利用者設定」等のフォームデータをWebサイト上で予め設定しておく。即ち、自分のパソコンに前述の入力フォームを表示させて、Webサイト上でフォームデータを設定し、ダウンロードすべき電子文書ファイルを編集しておく。その後、編集された電子文書ファイルを画像処理装置へ転送(ダウンロード)する。
即ち、フォームデータの設定はアプリケーションソフトを配布しているWebサイト上で行う。設定を更新する際についても、Webサイト上で設定を更新した後に、更新された電子文書ファイルを画像処理装置へダウンロードすることになる。
For example, in the image processing apparatus of
That is, setting of form data is performed on the website that distributes the application software. When updating the settings, after updating the settings on the website, the updated electronic document file is downloaded to the image processing apparatus.
しかし、使用するアプリケーションソフトが増えてくると、ユーザーはそれらの設定を行うために対応する電子文書ファイルを格納するあちらこちらのWebサイトにアクセスしなければならなくなる。また、一般に画像処理に係る設定は多数の項目があり、ユーザーは所望の設定を行うために、アプリケーションソフトを配布しているWebサイトにアクセスすべきか、画像処理装置側の設定メニューにアクセスすべきかの判断に迷うことも考えられる。
アプリケーションソフトに係る設定であっても、画像処理装置側で一元的に設定、管理ができればユーザーにとって便利である。
この発明は、以上のような事情を考慮してなされたものであって、外部から取得して画像処理装置が実行するアプリケーションに必要なデータを画像処理装置の側で格納して管理する手法を提供するものである。
However, as the number of application software to be used increases, the user will have to access various websites that store the corresponding electronic document files in order to make those settings. In addition, there are generally many items for setting related to image processing, and in order to perform desired settings, the user should access a website distributing application software or access a setting menu on the side of the image processing apparatus. It is also possible to get lost in the judgment of
Even for settings related to application software, it would be convenient for the user if settings and management could be centrally performed on the image processing apparatus side.
The present invention has been made in consideration of the circumstances described above, and proposes a method of storing and managing data acquired from the outside and required for an application executed by the image processing apparatus on the side of the image processing apparatus. It provides.
この発明は、外部の機器からデータを転送するインタフェイス回路と、データを格納するデータ格納デバイスと、前記インタフェイス回路を介して画像処理に係るアプリケーションのプログラムファイルおよびそのアプリケーションに係るデータ構造記述を取得し、前記データ格納デバイスに前記データ構造記述に基づくデータの格納領域を用意するアプリ取得処理部と、前記データ格納デバイスに格納されたデータの設定用画面を生成し、前記データのユーザーによる設定を受付ける設定管理部と、前記データを参照して前記アプリケーションを実行するアプリケーション処理部と、を備える画像処理装置を提供する。 The present invention provides an interface circuit for transferring data from an external device, a data storage device for storing data, a program file of an application related to image processing via the interface circuit, and a data structure description related to the application. an application acquisition processing unit that acquires and prepares a storage area for data based on the data structure description in the data storage device; and a screen for setting the data stored in the data storage device, and the user sets the data. and an application processing unit that refers to the data and executes the application.
また、異なる観点からこの発明は、画像処理装置のプロセッサが、インタフェイス回路を介して画像処理に係るアプリケーションのプログラムファイルおよびそのアプリケーションに係るデータ構造記述を外部の機器から取得するステップと、前記データ構造記述に基づくデータの格納領域をデータ格納デバイス上に用意するステップと、前記データ格納デバイスに格納されたデータの設定用画面を生成するステップと、前記データのユーザーによる設定を受付けるステップと、設定されたデータを参照して前記アプリケーションを実行するステップと、を備える画像処理方法を提供する。 From a different point of view, the present invention provides a step in which a processor of an image processing apparatus acquires a program file of an application related to image processing and a data structure description related to the application from an external device via an interface circuit; preparing a storage area for data based on the structure description on a data storage device; generating a setting screen for the data stored in the data storage device; receiving user settings for the data; and executing the application with reference to the obtained data.
この発明による画像処理装置は、プログラムファイルおよびそのアプリケーションに係るデータ構造記述を取得し、前記データ構造記述に基づくデータの格納領域を用意するアプリ取得処理部と、設定用画面を生成し前記データのユーザーによる設定を受付ける設定管理部とを備えるので、外部の機器から取得して画像処理装置が実行するアプリケーションに必要なデータを画像処理装置の側で格納して管理できる。
この発明による画像処理方法についても、同様の作用効果を奏する。
An image processing apparatus according to the present invention includes an application acquisition processing unit that acquires a program file and a data structure description related to the application, prepares a data storage area based on the data structure description, and a setting screen that generates the data structure description. Since the image processing apparatus includes a setting management unit that accepts user settings, the image processing apparatus can store and manage data acquired from an external device and required for an application executed by the image processing apparatus.
The image processing method according to the present invention also has similar effects.
以下、図面を用いてこの発明をさらに詳述する。なお、以下の説明は、すべての点で例示であって、この発明を限定するものと解されるべきではない。
(実施の形態1)
≪画像処理装置およびシステムの構成≫
図1は、この実施形態による画像処理装置が、外部の機器としてのパーソナルコンピュータおよび外部サービス提供サーバーと通信を介して接続されたシステムの構成を示す説明図である。
図2は、この実施形態による画像処理装置の一態様であるデジタル複合機の外観を示す斜視図である。
図3は、図2に示すデジタル複合機の構成を示すブロック図である。
図1に示すように、画像処理装置100は、通信ネットワークを介して外部のパーソナルコンピュータ101および外部サービス提供サーバー103とデータ送受可能に接続されている。この実施形態において、外部サービス提供サーバー103は、クラウドサービスを提供するものとする。クラウドサービスの具体的な内容は種々のもの考えられるが、この実施形態において文書の作成とファイルの格納場所(ストレージスペース)の提供が含まれるものとする。
図2に示すように、画像処理装置100は、操作ユニット10、表示ユニット12、印刷ユニット13、スキャナユニット15、給紙トレイ17a、手差しトレイ17bおよび排出トレイ18a、18b、18cを備える。画像処理装置100の前面には、USBメモリー等を接続するUSBコネクタ14uが設けられている。
The present invention will be described in further detail below with reference to the drawings. It should be noted that the following description is illustrative in all respects and should not be construed as limiting the present invention.
(Embodiment 1)
<<Image processing device and system configuration>>
FIG. 1 is an explanatory diagram showing the configuration of a system in which an image processing apparatus according to this embodiment is connected via communication with a personal computer as an external device and an external service providing server.
FIG. 2 is a perspective view showing the appearance of a digital multi-function peripheral, which is one aspect of the image processing apparatus according to this embodiment.
FIG. 3 is a block diagram showing the configuration of the digital MFP shown in FIG.
As shown in FIG. 1, the
As shown in FIG. 2, the
また、図3に示すように、画像処理装置100は、インタフェイス回路14、制御部21およびデータ格納デバイス23を備えている。
インタフェイス回路14は、通信インタフェイス回路14cおよび外部機器インタフェイス回路14tを備える。外部機器インタフェイス回路14tへの入力の1つとして、図2で述べたようにUSBメモリー等を接続するUSBコネクタ14uが設けられている。
制御部21は、アプリ取得処理部21a、設定管理部21cおよびアプリケーション処理部21eを備える。
制御部21は、ハードウェア資源としては、プロセッサ(CPUあるいはMPU)を中心として、ROM、RAM、入出力インタフェイス回路、タイマ回路等で構成される。ROMの少なくとも一部が、書き換え可能な不揮発性メモリーであってもよい。
Further, as shown in FIG. 3, the
The interface circuit 14 includes a
The control unit 21 includes an application acquisition processing unit 21a, a setting management unit 21c, and an application processing unit 21e.
The control unit 21 includes hardware resources such as a processor (CPU or MPU), a ROM, a RAM, an input/output interface circuit, a timer circuit, and the like. At least part of the ROM may be a rewritable nonvolatile memory.
データ格納デバイス23は、データの書き換えが可能であって好ましくは不揮発性のデータ記憶手段である。
制御部21は、ROMまたはデータ格納デバイス23に格納された制御プログラムを読み出して適宜、RAMに展開する。そして、RAMに展開された制御プログラムに従った処理を実行する。その処理によって、画像処理装置100の制御が実現される。
制御部21は、前記制御プログラムに従って、ユーザーインターフェイスに係る表示を表示ユニット12に表示させる。そして、ユーザーが操作ユニット10に対して行う操作入力を受付ける。また、前記制御プログラムに従って、画像処理装置100のハードウェア制御を行い、印刷処理等の機能を実現する。
The
The control unit 21 reads the control program stored in the ROM or the
The control unit 21 causes the
さらに、図1に示すように、制御部21は、外部のパーソナルコンピュータ101にWebページを提供する。パーソナルコンピュータ101のブラウザー33でユーザーが画像処理装置100のWebページにアクセスすると、それに応答して制御部21は、パーソナルコンピュータ101へHTMLを送る。そして、パーソナルコンピュータ101のWebブラウサーの画面に複合機のWebページを表示させる。そのWebページは、データ格納デバイス23に格納されたデータの設定用画面(以下、システム設定ページともいう)を含む。
ブラウザー33のシステム設定ページでユーザーからの指示を受けると、それに応答して制御部21は、アプリケーションパッケージ31をダウンロードし、アプリケーションに係る処理を実行する。
この実施形態において、アプリケーションパッケージ31は、外部サービス提供サーバー103に格納されている。パーソナルコンピュータ101を操作するユーザーが、外部サービス提供サーバー103に格納されたアプリケーションパッケージの所在を指定すると、そのアプリケーションパッケージがダウンロードできるものとする。図1に示すように、アプリケーションパッケージ31は、アプリケーションのプログラムファイル31pとそのアプリケーションに係るデータ構造記述31dとを含む。
パーソナルコンピュータ101は、外部サービス提供サーバー103にアクセスして文書作成等のアプリケーションを実行する。そのようにして、作成した文書の印刷を画像処理装置100に指示する。指示を受けた画像処理装置100は、外部サービス提供サーバー103にアクセスし、印刷すべきファイルを取得して印刷の処理を行う。
Furthermore, as shown in FIG. 1, the control unit 21 provides a web page to an external
Upon receiving an instruction from the user on the system setting page of the
In this embodiment, the
The
また、画像処理装置100は、原稿をスキャンして、読み取った画像データを外部サービス提供サーバー103のストレージスペースに格納するようにユーザーからの指示を受ける。ユーザーからの指示は、パーソナルコンピュータ101から通信インタフェイス回路14cを介して受けてもよいが、操作ユニット10から受けてもよい。指示を受けた画像処理装置は、ユーザーによってセットされた原稿をスキャンし、外部サービス提供サーバー103してスキャンされた原稿の画像データを指定された外部サービス提供サーバー103のストレージスペースにファイルとして格納する。
上述のような、外部サービスに関して画像処理装置100が実行する印刷やスキャンの処理手順は、事後的にアプリケーションパッケージ31として画像処理装置100にダウンロードされる。
なお、アプリケーションパッケージ31の取得元は、パーソナルコンピュータ101であると述べたが、これは一例に過ぎない。異なる態様として、外部サービス提供サーバー103から取得してもよい。さらに異なる態様として、前面のUSBコネクタ14uに接続されたUSBメモリーやスマートフォン等の情報機器から取得してもよい。
The
The print and scan processing procedures executed by the
Although it has been described that the
画像処理装置100の構成について説明を続ける。
操作ユニット10は、ユーザーの操作を受付ける複数の操作ボタンや、後述する表示ユニット12の表示面上に配置されたタッチパネルなどから構成される。制御部21は、操作ユニット10に対する入力操作を示す信号を認識する。
The description of the configuration of the
The
表示ユニット12は、例えば、液晶ディスプレイ装置で構成される。表示ユニット12は、操作ユニット10が受け付けた入力等に基づいて、各種の情報や画像等を表示する。制御部21は、表示ユニット12に表示するべき内容を生成し、更新する。
スキャナユニット15は、制御部21の制御下で、原稿を読取り、コピー、ファックスおよびスキャナのジョブにおける画像読取の処理を実行する。即ち、原稿画像を読み取って、画像信号に変換し画像データを生成する。
The
The
給紙トレイ17aは、各種サイズの用紙を個別に収容する複数のトレイから構成される。
手差しトレイ17bは、各種サイズおよび各種のタイプの用紙を給送可能なトレイである。
図1および図2に図示しない給紙機構は、制御部21の制御下で、指定された給紙トレイの用紙を印刷装置内部へ給送して印刷ユニット13へ搬送する、
印刷ユニット13は、制御部21の制御下で、給紙トレイ17aまたは手差しトレイ17bから給送された用紙に、指定された画像データを印刷する。
図2に図示しない排紙機構は、印刷ユニット13で印刷された用紙を排出トレイ18a、18b、18cの何れかへ排出する。
The
The
A paper feeding mechanism (not shown in FIGS. 1 and 2) feeds paper in a specified paper feeding tray into the printing apparatus and conveys it to the
Under the control of the control section 21, the
A paper discharge mechanism (not shown in FIG. 2) discharges the paper printed by the
≪アプリケーションパッケージの取得とシステム設定ページの生成≫
続いて、アプリケーションパッケージ31の取得とシステム設定ページの生成の手順について図4~図13を参照しながら述べる。
図4は、この実施形態において、システム設定ページ35のうち、アプリケーションのインストールに係る画面(アプリケーションインストール画面)の一例を示す説明図である。図4の画面は、ユーザーがパーソナルコンピュータ101のブラウザー33で画像処理装置100が提供するWebページにアクセスすると表示される画面のうちの一つである。
≪Obtaining the application package and generating the system settings page≫
Next, procedures for obtaining the
FIG. 4 is an explanatory diagram showing an example of a screen related to application installation (application installation screen) of the
図4のアプリケーションインストール画面で、ユーザーが、「参照」ボタン35aを操作して所望のアプリケーションパッケージに係るファイルを選択し、「実行」ボタン35bを操作すると、選択されたアプリケーションパッケージ31が画像処理装置100にインストールされる。
なお、アプリケーションパッケージの所在は外部サービス提供サーバー103であると述べたが、異なる態様としてアプリケーションパッケージが格納されたUSBメモリーをUSBコネクタ14uに接続して、USBメモリーからアプリケーションパッケージを取得する態様もあり得る。さらに異なる態様として、アプリケーションパッケージの所在がパーソナルコンピュータ101であってもよい。
On the application installation screen of FIG. 4, when the user operates the "Browse"
Although it has been described that the application package resides in the external service providing server 103, as a different aspect, a USB memory in which the application package is stored may be connected to the
図5は、この実施形態において、アプリ取得処理部21aが実行する処理の手順を示すフローチャートである。
図6は、この実施形態において、設定管理部21cとして制御部21が、システム設定ページを生成して設定を受付ける処理の手順を示す説明図である。
図7は、この実施形態において、設定管理部21cとして制御部21がシステム設定ページを生成する処理を示すフローチャートである。
図8、図9Aおび図9Bは、この実施形態において、アプリケーションパッケージ31に含まれるデータ構造記述31dの一例を示す説明図である。図8は、外部サービス提供サーバー103への接続および送信に関するデータ構造記述31dの例である。図9Aは、図8に示すデータ構造記述に対応する日本語の言語データの例である。図9Bは、図8に示すデータ構造記述に対応する英語の言語データの例である。
FIG. 5 is a flowchart showing the procedure of processing executed by the application acquisition processing unit 21a in this embodiment.
FIG. 6 is an explanatory diagram showing a procedure of processing for generating a system setting page and accepting settings by the control unit 21 as the setting management unit 21c in this embodiment.
FIG. 7 is a flow chart showing a process of generating a system setting page by the control section 21 as the setting management section 21c in this embodiment.
8, 9A and 9B are explanatory diagrams showing an example of the data structure description 31d included in the
図5に示すように、アプリ取得処理部21aとして制御部21は、外部サービス提供サーバー103にアクセスして、図4のアプリケーションインストール画面で指定されたストレージスペースのアプリケーションパッケージ31を取得する。
詳細には、制御部21は、外部サービス提供サーバー103からプログラムファイル31pをダウンロードする(ステップS11)。ダウンロード先については、アプリケーション処理部21eが参照してプログラムファイルを実行できる場所であればどこでもよい。例えば、データ格納デバイス23であってもよい。あるいは、制御部21が備えるROM(ただし、書換可能な格納領域に限る)であってもよい。
As shown in FIG. 5, the control unit 21 as the application acquisition processing unit 21a accesses the external service providing server 103 and acquires the
Specifically, the control unit 21 downloads the program file 31p from the external service providing server 103 (step S11). The download destination may be anywhere as long as the application processing unit 21e can refer to it and execute the program file. For example, it may be the
さらに、アプリ取得処理部21aとしての制御部21は、データ構造記述31dをダウンロードする(ステップS13)。そして、取得したデータ構造記述31dに基づいて、データ格納デバイス23にデータの格納領域を用意する(ステップS15)。そして、用意されたデータ格納領域にデータの値を設定する(ステップS17)。データ構造記述31dに初期値が定義されているデータについては、初期値を設定する。また、システム設定ページを用いたユーザーによるデータの設定を受付ける。 Furthermore, the control unit 21 as the application acquisition processing unit 21a downloads the data structure description 31d (step S13). Then, based on the acquired data structure description 31d, a data storage area is prepared in the data storage device 23 (step S15). Then, the data value is set in the prepared data storage area (step S17). For data whose initial value is defined in the data structure description 31d, the initial value is set. It also accepts data settings by the user using the system setting page.
図8、図9Aおよび図9Bは、データ構造記述の例を示している。これらは、JSON(JavaScript(登録商標) Object Notations)形式で記述されているが、データの記述形式はこれに限定されない。
図8に示すJSONテキストは、大別すると2つのデータ“connection_settings”と“send_settings”のデータ構造に係る記述である。そのうち、データの存在を表す記述は以下のものがある。
“connection_settings”については、名前“server_name”が文字列データ(string)として記述されている。
“send_settings”については、名前“file_name”が文字列データ(string)として記述され、さらに、名前“include_date”が2値データ(boolean)として記述されている。
8, 9A and 9B show examples of data structure descriptions. These are described in JSON (JavaScript (registered trademark) Object Notations) format, but the data description format is not limited to this.
The JSON text shown in FIG. 8 is roughly classified as a description related to the data structure of two data "connection_settings" and "send_settings". Among them, the descriptions that indicate the existence of data are as follows.
For "connection_settings", the name "server_name" is described as character string data (string).
For "send_settings", the name "file_name" is described as character string data (string), and the name "include_date" is described as binary data (boolean).
設定管理部21cとして制御部21は、データ構造記述に基づいてこれらのデータの各要素に対応する格納領域をデータ格納デバイス23に用意する。
図6および図7は、設定管理部21cとしての制御部21が、取得されたアプリケーションパッケージ31に係るシステム設定ページを生成してデータの設定を行う処理を示している。
図7に示すように、設定管理部21cとしての制御部21は、取得されたデータ構造記述を参照する(ステップS21)。そのタイミングは、外部サービス提供サーバー103からデータ構造記述をダウンロードする際、即ちアプリケーションパッケージ31を取得する際であってもよい。アプリケーションパッケージ31を初めてダウンロードする場合、データ構造記述に初期値が定義されていないデータについては初期値の設定になる。
The control unit 21 as the setting management unit 21c prepares storage areas corresponding to each element of these data in the
FIGS. 6 and 7 show processing in which the control unit 21 as the setting management unit 21c generates a system setting page related to the acquired
As shown in FIG. 7, the control unit 21 as the setting management unit 21c refers to the acquired data structure description (step S21). The timing may be when the data structure description is downloaded from the external service providing server 103, that is, when the
別のタイミングとして、アプリケーションパッケージ31が取得された後に、ユーザーがシステム設定ページを立ち上げたタイミングであってもよい。その場合は、設定されているデータの変更になる。
ステップS21の処理で制御部21が参照するデータ構造記述の一例を図8に示している。
Another timing may be the timing when the user launches the system setting page after the
FIG. 8 shows an example of the data structure description referred to by the control unit 21 in the process of step S21.
続いて制御部21は、画像処理装置100の言語設定で選択されている言語を参照する(ステップS23)。ここで、言語設定は、画像処理装置100が予め備えるシステム設定ページでユーザーにより設定されるものとする。そして、設定された言語に係る言語データを参照する(ステップS25)。
ステップS25の処理で制御部21が参照する言語データの例を図9Aおよび図9Bに示している。
制御部21は、言語設定で選択され言語に係る言語データを取得されたデータ構造記述に反映して、データ構造記述によって記述されたデータについてのシステム設定ページを生成する(ステップS27)。ユーザーがシステム設定ページを容易に認識できてデータの設定が行いやすいように予め定められた規則に従って整形されたシステム設定ページを生成して、ブラウザー33に表示する。ユーザーは表示されたシステム設定ページでデータの設定を行う。
Subsequently, the control unit 21 refers to the language selected in the language setting of the image processing device 100 (step S23). Here, it is assumed that the language setting is set by the user on a system setting page provided in the
Examples of language data referred to by the control unit 21 in the process of step S25 are shown in FIGS. 9A and 9B.
The control unit 21 reflects the language data related to the language selected in the language setting to the acquired data structure description, and generates a system setting page for the data described by the data structure description (step S27). A system setting page shaped according to a predetermined rule is generated so that the user can easily recognize the system setting page and easily set data, and is displayed on the
図10は、図8のデータ構造記述に図9Aの言語データを反映した例を示している。図8および図9Bに対応したものである。即ち、図8に示すJSONテキストの、“MSG01”の箇所を“接続設定”に置換し、“MSG02”の箇所を“サーバー名:”に置換したものである。同様に、“MSG03”の箇所を“契約しているサーバー名を入力してください。サーバー名は管理者にお問い合わせください。”に置換したものである。さらに、“MSG04”の箇所を“送信設定”に、“MSG05”の箇所を“ファイル名:”に、“MSG06”の箇所を “ファイル名に日時を含める”にそれぞれ置換したものである。 FIG. 10 shows an example in which the language data of FIG. 9A is reflected in the data structure description of FIG. It corresponds to FIGS. 8 and 9B. That is, in the JSON text shown in FIG. 8, "MSG01" is replaced with "connection setting", and "MSG02" is replaced with "server name:". Similarly, "MSG03" is replaced with "Please enter the contracted server name. Please contact the administrator for the server name." Further, "MSG04" is replaced with "transmission setting", "MSG05" is replaced with "file name:", and "MSG06" is replaced with "file name includes date and time".
図11は、図10のJSONテキストに基づいて制御部21が生成するシステム設定ページ35の例を示す説明図である。図11は、画像処理装置100のシステム設定ページ35の一部の項目に係るものである。スクロールや、ページ送り等の操作によって、ユーザーは画像処理装置100に係る他の項目について設定を行うことができる。他の項目の一例は、図4に示す
制御部21は、生成したシステム設定ページ35の設定項目を、データ格納デバイス23に用意された各データの要素と対応付けて管理する。そして、システム設定ページ35で設定が行われると、その設定値を保存する。制御部21は、例えば図10に示すように、設定項目が一意に識別できるような形式でデータ格納デバイス23に格納してもよい。
FIG. 11 is an explanatory diagram showing an example of the
図12Aは、図8あるいは図10に示すJSONテキストに対応して設定管理部21cがデータ格納デバイス23に用意する各データの要素を示す説明図とデータ値の例を示している。
図12Bは、図12Aに対応するデータと、データの各要素に対応するデータ値を表すJSON形式の記述である。即ち、図8あるいは図10のJSONテキストに対応して設定管理部21cがデータ格納デバイス23に確保する構造体型のデータの名前と値を示している。
FIG. 12A shows an explanatory diagram showing elements of each data prepared in the
FIG. 12B is a description in JSON format representing data corresponding to FIG. 12A and data values corresponding to each element of the data. That is, it shows the name and value of the structure type data that the setting management unit 21c secures in the
上述の文字列データ“server_name”に対応するのが“connection_settings.server_name”である。そのデータ値の例が、“test”である。
また、上述の文字列データ“file_name”に対応するのが“connection_settings.file_name”である。そのデータ値の例が“image”である。
上述の2値データ“include_date”に対応するのが“connection_settings. include_date”である。そのデータ値の例が“1”(true)である。
"connection_settings.server_name" corresponds to the character string data "server_name" described above. An example of that data value is "test".
Also, "connection_settings.file_name" corresponds to the character string data "file_name" described above. An example of that data value is "image".
"connection_settings.include_date" corresponds to the binary data "include_date" described above. An example of the data value is "1" (true).
図13は、図11に示すシステム設定ページ35において、図12Aおよび図12Bに示すデータ値が設定されている状態を示す説明図である。図13に示すように、サーバー名設定欄35cに“test”が、ファイル名設定欄35dに“image”がそれぞれの設定値として表示されている。さらに、「ファイル名に日時を含める」の項目(日時付加設定35e)のチェックボックスにチェックマークが表示されている。即ち、この項目の設定は“1”(true)である。
図13は、設定管理部21cがシステム設定ページ35の各項目を、図12A、図12Bに示すデータと対応付けて管理していることを示している。
図13のシステム設定ページ35において、ユーザーが表示されているサーバー名やファイル名を変更したり、チェックボックスのチェックマークを外したりする操作を行うと、設定管理部21cはその操作を受付け、対応するデータの設定値を変更する。
FIG. 13 is an explanatory diagram showing a state in which the data values shown in FIGS. 12A and 12B are set on the
FIG. 13 shows that the setting management unit 21c manages each item of the
In the
図14および図15は、例えば図13に示すシステム設定ページで設定されたデータが、アプリケーションに使用される例を示す説明図である。
図14は、この実施形態において、画像処理装置100が外部サービス提供サーバー103を利用する際にアプリケーションが表示するユーザー認証画面の例を示す説明図である。図14に示すユーザー認証画面37において、ユーザーは予め定められたユーザー名、パスワードおよびサーバー名の入力を求められる。ユーザー名およびパスワードは空欄である。ユーザーは、外部サービス提供サーバー103の使用を開始する度にそれらを入力しなければならない。外部サービス提供サーバー103に格納されている情報のセキュリティーを確保するためである。
14 and 15 are explanatory diagrams showing an example in which the data set on the system setting page shown in FIG. 13 is used for an application.
FIG. 14 is an explanatory diagram showing an example of a user authentication screen displayed by an application when the
一方、サーバー名の入力欄には、初期値として“test”が表示されている。この初期値は、図13に示すシステム設定ページで設定されデータ格納デバイス23に格納されている。ユーザーが使用する外部サービスは、クラウドサービスであって、ユーザーのストレージスペースがどこに確保されるかは、外部サービスとユーザーとの契約により決まる。したがって、画像処理装置100あるいはプログラムファイル31pが、既定のサーバー名を予め用意しておくことはできない。ユーザーが外部サービスの利用を申請した後にサーバー名が決定されるので、ユーザーは事後的にシステム設定ページのサーバー名設定欄35cを用いてサーバー名を設定する。
On the other hand, "test" is displayed as the initial value in the input field for the server name. This initial value is set on the system setting page shown in FIG. 13 and stored in the
図15は、画像処理装置100が、スキャンした原稿の画像データを外部サービス提供サーバー103のストレージスペースに格納するための、スキャン設定画面39の例を示す説明図である。図15に示すように、スキャン設定画面39を用いてユーザーは、スキャンした原稿の画像データを外部サービス提供サーバー103に格納するための設定を行う。画像データに係るファイルの保存先の設定、格納する画像データに付けるファイル名の設定、原稿をスキャンする際のカラーモードの設定、スキャンした原稿の画像データのファイル形式の設定である。
ここで、保存先は空欄であって、原稿のスキャンを実行する前に、ユーザーが都度入力する。ファイル名は、初期値が設定された状態で表示される。ファイル名の初期値は、図13に示すシステム設定ページ35の送信設定に基づくものである。
FIG. 15 is an explanatory diagram showing an example of the
Here, the storage destination is blank, and the user inputs it each time before scanning the document. The file name is displayed with the initial value set. The initial value of the file name is based on the transmission setting of the
即ち、ファイル名の先頭部分は、ファイル名設定欄35dの設定値“image”に基づく。その後に続く“_YYYYMMDD_HHMMSS”の部分は、日時付加設定35eに基づく。ファイル名に原稿のスキャンの開始日時が付加されることおよびその書式を示す。YYYYは西暦年を表す4桁の数字がその位置に付加されることを示している。同様にMMは月を表す2桁の数字、DDは日を表す2桁の数字がそれぞれの位置に付加されることを示している。HHは時、MMは分、SSは秒の数字がそれぞれの位置に付加されることを示している。
That is, the leading portion of the file name is based on the setting value "image" of the file
以上のように、この実施形態によれば、画像処理装置100が実行するアプリケーションをインストールする場合に、そのアプリケーションの実行に必要となるデータの構造記述したデータ構造記述をプログラムファイルと合わせて取得する。データ構造記述を取得することで、事後的にアプリケーションを取得する場合でも、アプリケーションの実行に必要なデータを事後的に画像処理装置100に用意することが可能になる。
そして、画像処理装置100にあらかじめ用意されているシステム設定ページに、アプリケーションに係るデータの設定を追加できる。追加されたデータの設定は、画像処理装置に予め用意されたシステム設定ページと一貫しており、ユーザーに違和感を与えない。画像処理装置100に係るデータの設定はすべて、システム設定ページに統合されており、ユーザーは、システム設定ページにさえアクセスすればアプリケーションを含むすべての設定値を確認し、必要に応じて変更できる。
As described above, according to this embodiment, when an application to be executed by the
Then, data settings related to applications can be added to a system setting page prepared in advance in the
(実施の形態2)
この実施形態では、すでにインストールされたアプリケーションパッケージの版を更新する際の処理について述べる。版を更新する際に注意すべきことは、すでに設定されたデータ値に、更新版のデータ構造記述に記載された初期値を上書きしてしまい、設定の継続性が維持されないといった事態が生じないようにすることである。しかし、機能の追加や変更に伴って前の版から追加されたり削除されたりするデータについて、以前の設定の影響を受けないようにすべきである。
図16は、この実施形態において、制御部21が実行する処理を示すフローチャートである。図16を参照して処理の説明を行う。
(Embodiment 2)
In this embodiment, processing for updating the version of an already installed application package will be described. When updating the version, care should be taken that the initial values described in the data structure description of the updated version are overwritten to the already set data values, and the continuity of the setting is not maintained. It is to do so. However, data that is added or removed from the previous version as features are added or changed should not be affected by previous settings.
FIG. 16 is a flow chart showing processing executed by the control unit 21 in this embodiment. The processing will be described with reference to FIG.
制御部21は、アプリケーションパッケージの更新版を外部サービス提供サーバー103から取得すると、取得されたデータ構造記述を参照する(ステップS31)。
続いて制御部21は、画像処理装置100の言語設定で選択されている言語を参照する(ステップS33)。そして、設定された言語に係る言語データを参照する(ステップS35)。
以上のステップS31からステップS35の処理は、図7に示すステップS21からステップS25の処理とほぼ同様である。
When acquiring the updated version of the application package from the external service providing server 103, the control unit 21 refers to the acquired data structure description (step S31).
Subsequently, the control unit 21 refers to the language selected in the language setting of the image processing device 100 (step S33). Then, the language data related to the set language is referred to (step S35).
The processing from step S31 to step S35 described above is substantially the same as the processing from step S21 to step S25 shown in FIG.
続いて制御部21は、対象のデータ要素の各々について、以下の処理を行う。対象とするデータ要素の数は、データ構造記述を参照して予めわかっている。
まず、データ要素数のカウンタとして用いる一時変数iの値に初期値として1を設定する(ステップS37)。制御部21は、以下に述べるループ処理(ステップS39~S49)において、対象のデータ要素の1つについて処理を行う毎に変数iをインクリメントする。変数iの値が対象のデータ要素数に達するまで、次の対象データ要素に対して同様の処理を繰り返す。ループ中の各データ要素に対する処理は以下のとおりである。
Subsequently, the control unit 21 performs the following processing for each target data element. The number of target data elements is known in advance with reference to the data structure description.
First, 1 is set as an initial value to a temporary variable i used as a counter for the number of data elements (step S37). In the loop processing (steps S39 to S49) described below, the control unit 21 increments the variable i each time one of the target data elements is processed. Similar processing is repeated for the next target data element until the value of the variable i reaches the number of target data elements. The processing for each data element in the loop is as follows.
制御部21は、言語設定で選択され言語に係る言語データを取得されたデータ構造記述に反映して、データ構造記述によって記述された対象のデータ要素に係るシステム設定ページを生成する(ステップS41)。そして、対象のデータ要素に対応する更新前の版のデータを格納する領域を参照し、設定が既になされているか否かを判定する(ステップS43)。更新前の版のデータを格納する領域とは、例えば、図10に示すようなデータ構造記述であって、更新前の版に係るデータ構造記述を格納するデータ格納デバイス23の領域である。
更新前の版で、データが既に設定されている場合(ステップS43のYes)、制御部21は、更新前の版のデータ値を取得して対象データ要素の設定値としてコピーする(ステップS45)。
The control unit 21 reflects the language data related to the language selected in the language setting to the acquired data structure description, and generates a system setting page related to the target data element described by the data structure description (step S41). . Then, referring to the area storing the data of the pre-update version corresponding to the target data element, it is determined whether or not the setting has already been made (step S43). The area for storing data of the version before update is, for example, a data structure description as shown in FIG.
If the data has already been set in the pre-update version (Yes in step S43), the control unit 21 acquires the data value of the pre-update version and copies it as the set value of the target data element (step S45). .
一方、前記ステップS43の判定で、設定が既になされていなければ(ステップS43のNo)、設定値のコピーをしない。 On the other hand, if it is determined in step S43 that the setting has not already been made (No in step S43), the setting value is not copied.
そして、制御部21は、変数iをインクリメントして(ステップS47)データ要素数に達していなければ、次のデータ要素を対象に処理を行う(ステップS49、S39)。
以上のループ処理で、対象とするそれぞれのデータ要素について、設定値を継承する処理を行った後に、制御部21は、更新前の版のデータ値を格納しているデータ格納デバイス23内のデータ格納領域を削除する(ステップS51)。
Then, the control unit 21 increments the variable i (step S47), and if the number of data elements has not been reached, the next data element is processed (steps S49, S39).
In the loop processing described above, after performing the processing of inheriting the setting values for each target data element, the control unit 21 stores the data in the
このようにして、制御部21は、データ格納デバイス23に格納されている例えば図10のような更新前の版に係る設定値を取得し、更新後の設定版にその設定値を反映する。
即ち、図11に示すようなシステム設定ページに含まれる設定項目が図12Aに示すようなデータ格納デバイス23上の設定データとして存在するかを検索する。設定データが存在する場合には、システム設定ページを表示する際の初期値として前の版で既に設定されているデータ値を初期値として設定する処理を行う。その結果、生成される設定ページデータは図13に示すように、版の更新後も設定値が維持されたものとなる。
図17は、この実施形態において、更新前の版の設定値が反映され得たデータ構造記述の例を示す説明図である。
この実施形態によれば、アプリケーションの更新の際に、更新前の版で設定されていたデータ値を反映することで、アプリケーションの更新後にユーザーに設定値を再び設定してもらうことなく、アプリケーションの使用が可能となる。更新によって、追加されたデータについては、更新前の設定値に影響を受けることなく、初期値が設定される。
In this way, the control unit 21 acquires the setting values related to the pre-update version, such as that shown in FIG. 10, stored in the
That is, it searches whether the setting items included in the system setting page as shown in FIG. 11 exist as setting data on the
FIG. 17 is an explanatory diagram showing an example of a data structure description in which the setting values of the pre-update version can be reflected in this embodiment.
According to this embodiment, when the application is updated, the data values set in the version before the update are reflected. can be used. For the data added by the update, the initial values are set without being affected by the setting values before the update.
(実施の形態3)
この実施形態では、画像処理装置100の処理能力に応じたシステム設定ページの生成と管理について述べる。
この実施形態において、外部サービスが提供するアプリケーションパッケージ31は、多数のユーザーに共通する内容である。仮に、ユーザーごとにカスタマイズされたアプリケーションパッケージを用意するなら、提供者にとって負担が大きい。一方、各ユーザーが使用する画像処理装置100は、種々の機種、種々の構成が考えられる。
通常、アプリケーションパッケージの提供者側は、種々の機能が包含されたアプリケーションパッケージを提供する。よって、画像処理装置100の構成によっては、処理できない内容も含まれる。
それぞれのユーザーあるいは画像処理装置の観点からすると、処理不可能な機能についてまで設定データを用意してシステム設定ページを生成すると冗長になり無駄が多い。
(Embodiment 3)
In this embodiment, generation and management of system setting pages according to the processing capability of the
In this embodiment, the
Generally, application package providers provide application packages containing various functions. Therefore, depending on the configuration of the
From the point of view of each user or image processing apparatus, preparing setting data for functions that cannot be processed and generating a system setting page is redundant and wasteful.
この実施形態では、取得したアプリケーションパッケージのうち、画像処理装置100が処理可能な機能についてのみデータを保持する。
図18は、この実施形態において、制御部21が画像処理装置の能力に応じたシステム設定ページを生成する処理を示すフローチャートである。
図19は、画像処理装置100が処理可能な機能と処理できない機能を機器能力情報のデータとして保持する状態の一例を示す説明図である。
図20は、この実施形態において、アプリケーションパッケージ31に含まれるデータ構造記述31dの一部を示す説明図である。
図21は、この実施形態において、機器能力情報に基づいて整理されたデータ構造記述31dを示す説明図である。
In this embodiment, data is retained only for functions that can be processed by the
FIG. 18 is a flow chart showing the process of generating a system setting page according to the capability of the image processing apparatus by the control unit 21 in this embodiment.
FIG. 19 is an explanatory diagram showing an example of a state in which functions that can be processed by the
FIG. 20 is an explanatory diagram showing part of the data structure description 31d included in the
FIG. 21 is an explanatory diagram showing a data structure description 31d organized based on device capability information in this embodiment.
図18に示すように、制御部21は、アプリケーションパッケージを外部サービス提供サーバー103から取得すると、取得されたデータ構造記述を参照する(ステップS61)。
続いて制御部21は、画像処理装置100の言語設定で選択されている言語を参照する(ステップS63)。そして、設定された言語に係る言語データを参照する(ステップS65)。
以上のステップS61からステップS65の処理は、図7に示すステップS21からステップS25の処理とほぼ同様である。
As shown in FIG. 18, when the application package is acquired from the external service providing server 103, the control unit 21 refers to the acquired data structure description (step S61).
Subsequently, the control unit 21 refers to the language selected in the language setting of the image processing device 100 (step S63). Then, the language data related to the set language is referred to (step S65).
The processing from step S61 to step S65 described above is substantially the same as the processing from step S21 to step S25 shown in FIG.
続いて制御部21は、図19に示す機器能力情報41を参照する(ステップS67)。機器能力情報41は、画像処理装置100の構成に基づいて、制御部21が生成し、データ格納デバイス23に予め格納されているものとする。
制御部21は、対象のデータ要素の各々について、以下の処理を行う。対象とするデータ要素の数は、データ構造記述を参照して予めわかっている。
まず、データ要素数のカウンタとして用いる一時変数iの値に初期値として1を設定する(ステップS69)。制御部21は、以下に述べるループ処理(ステップS71~S79)において、対象のデータ要素の1つについて処理を行う毎に変数iをインクリメントする。変数iの値が対象のデータ要素数に達するまで、次の対象データ要素に対して同様の処理を繰り返す。ループ中の各データ要素に対する処理は以下のとおりである。
Subsequently, the control unit 21 refers to the
The control unit 21 performs the following processing for each target data element. The number of target data elements is known in advance with reference to the data structure description.
First, 1 is set as an initial value to a temporary variable i used as a counter for the number of data elements (step S69). In the loop processing (steps S71 to S79) described below, the control unit 21 increments the variable i each time one of the target data elements is processed. Similar processing is repeated for the next target data element until the value of the variable i reaches the number of target data elements. The processing for each data element in the loop is as follows.
制御部21は、対象のデータ要素が、機器能力情報41に照らして処理可能な機能に係るものか否かを判断する(ステップS73)。
処理可能な機能に係るものであると判断した場合は(ステップS73のYes)、言語設定で選択され言語に係る言語データを取得されたデータ構造記述に反映して、データ構造記述によって記述された対象のデータ要素に係るシステム設定ページを生成する(ステップS75)。
一方、前記ステップS73の判定で、処理可能な機能に係るものでなければ(ステップS73のNo)、そのデータ要素に係るシステム設定ページを生成しない。データ格納デバイス23に対象のデータ要素に対応するデータ格納領域を用意することもしない。
The control unit 21 determines whether or not the target data element relates to a processable function in light of the device capability information 41 (step S73).
If it is determined that the function is processable (Yes in step S73), the language data related to the language selected in the language setting is reflected in the acquired data structure description, and is described by the data structure description. A system setting page is generated for the target data element (step S75).
On the other hand, if it is determined in step S73 that the data element does not relate to a processable function (No in step S73), the system setting page related to that data element is not generated. A data storage area corresponding to the target data element is not prepared in the
そして、制御部21は、変数iをインクリメントして(ステップS77)データ要素数に達していなければ、次のデータ要素を対象に処理を行う(ステップS79、S71)。
以上のループ処理で、対象とするそれぞれのデータ要素について、処理可能な機能に係るものか否かの判定行う。
このようにして、制御部21は、取得したアプリケーションパッケージのデータ構造記述に基づいて、システム設定ページを生成する際に、あるいはデータ格納デバイス23に設定データの格納領域を確保する際に、機器能力情報41を参照する。そして、処理可能でない機能については、システム設定ページの生成を省略し、設定データの格納領域を用意することもしない。
Then, the control unit 21 increments the variable i (step S77), and if the number of data elements has not been reached, the next data element is processed (steps S79, S71).
In the loop processing described above, it is determined whether or not each target data element is related to a processable function.
In this way, the control unit 21, based on the data structure description of the acquired application package, when generating the system setting page or when securing the storage area for the setting data in the
具体例として、アプリケーションパッケージ31に含まれるデータ構造記述31dが図20に示すものであったとする。図20に示すデータ構造記述31dは、名前“color_mode”のラジオボタン表示に対応するデータ要素と、名前“duplex_mode”の選択肢表示に対応するデータ要素を含む。
一方、図19に示す機器能力情報41を参照すると、カラーモードに係る機能は処理可能でない。即ち、この実施形態の画像処理装置100はモノクロ機である。両面に係る機能は処理可能である。
As a specific example, assume that the data structure description 31d included in the
On the other hand, referring to the
制御部21は、図20に係るデータ構造記述31dを取得すると、そのうち処理可能でないカラーモードに係るデータ構造記述31dを省略し、図21に示すデータ構造記述に整理する。
そして、図21のデータ構造記述に対応するシステム設定ページを生成し、対応するデータ格納領域をデータ格納デバイス23に用意する。
When acquiring the data structure description 31d shown in FIG. 20, the control unit 21 omits the data structure description 31d related to the color mode that cannot be processed, and rearranges the data structure description 31d into the data structure description shown in FIG.
Then, a system setting page corresponding to the data structure description of FIG. 21 is generated, and a corresponding data storage area is prepared in the
以上に述べたように、
(i)この発明による画像処理装置は、外部の機器からデータを転送するインタフェイス回路と、データを格納するデータ格納デバイスと、前記インタフェイス回路を介して画像処理に係るアプリケーションのプログラムファイルおよびそのアプリケーションに係るデータ構造記述を取得し、前記アプリ取得処理部と、前記データ格納デバイスに格納されたデータの設定用画面を生成し、前記データのユーザーによる設定を受付ける設定管理部と、前記データを参照して前記アプリケーションを実行するアプリケーション処理部と、を備えることを特徴とする。
As mentioned above,
(i) An image processing apparatus according to the present invention comprises an interface circuit for transferring data from an external device, a data storage device for storing data, and a program file for an application related to image processing via the interface circuit. a data structure description related to an application is acquired; the application acquisition processing unit; a setting management unit that generates a setting screen for the data stored in the data storage device; and an application processing unit that refers to and executes the application.
この発明において、インタフェイス回路は、通信等の技術的手段により外部の機器からデータを転送するものである。その具体的な態様は、例えば、有線または無線で外部の機器と通信を行う通信インタフェイス回路である。ただし、転送手段は通信に限るものでない。例えばインタフェイス回路は、外部機器としてのUSBメモリーから転送されるデータを受けるUSBインタフェイス回路であってもよいし、その他、機器間の転送手段であれば何であってもよい。
また、データ格納デバイスは、データの書き換えが可能であって好ましくは不揮発性のデータ記憶手段である。その具体的な態様は、例えば、フラッシュメモリである。ただし、これに限らず、例えばハードディスクドライブであってもよいし、RAMであってもよい。あるいは、これらの幾つかを組合せたものであってもよい。データ格納デバイスは、取得されたプログラムファイルおよびデータ構造記述を格納する。
In the present invention, the interface circuit transfers data from an external device by technical means such as communication. A specific aspect thereof is, for example, a communication interface circuit that performs wired or wireless communication with an external device. However, the transfer means is not limited to communication. For example, the interface circuit may be a USB interface circuit for receiving data transferred from a USB memory serving as an external device, or may be any transfer means between devices.
The data storage device is rewritable and preferably non-volatile data storage means. A specific aspect thereof is, for example, a flash memory. However, it is not limited to this, and may be, for example, a hard disk drive or a RAM. Alternatively, some of these may be combined. A data storage device stores the retrieved program files and data structure descriptions.
さらにまた、アプリケーションに係るデータの構造記述(データ構造記述)は、データの値それ自体を含んでいてもよいが、むしろそのデータの構造を示す書式をさす。具体的には、例えば、構造体や配列のデータ構造を表すものである。前述の実施形態におけるJSONテキストは、データ構造記述の一態様であるがこれに限るものでない。データ格納デバイス上に用意すべきデータの格納領域が一意に決まるように、データ構造を定義するものであればよい。データ構造記述は、初期値としてのデータの値を含んでいてもよいが、含んでいなくてもよい。
アプリ取得処理部、設定管理部およびアプリケーション処理部は、ハードウェア資源としてはプロセッサ(CPUあるいはMPU)を中心に構成され、取得されたプログラムファイルをプロセッサが実行することによってその機能が実現される。言い換えれば、ハードウェアとソフトウェアが有機的に結合することによってそれらの機能が実現される。
Furthermore, the structure description of data (data structure description) of the application may include the data values themselves, but rather refers to the format that indicates the structure of the data. Specifically, for example, it represents a data structure such as a structure or an array. The JSON text in the above embodiment is one aspect of data structure description, but is not limited to this. Any data structure may be defined so that the data storage area to be prepared on the data storage device is uniquely determined. The data structure description may or may not include data values as initial values.
The application acquisition processing unit, setting management unit, and application processing unit are configured around a processor (CPU or MPU) as a hardware resource, and their functions are realized by the processor executing the acquired program files. In other words, those functions are realized by organically combining hardware and software.
アプリ取得処理部は、取得されたデータ構造記述に基づくデータの格納領域をデータ格納デバイス上に用意するので、アプリケーションの実行処理と、実行時に参照されるデータの所在とはいずれも画像処理装置である。
さらに、設定管理部が、データ格納デバイスに格納されたデータの設定用画面を生成し、前記データのユーザーによる設定を受付けるので、格納されたデータを設定する処理も、画像処理装置で行われる。ただし、設定管理部によって生成された設定用画面を表示するのは、画像処理装置であってもよいがそれに限るものでない。例えば、通信を介して接続されたパソコンやスマートフォン等の機器に設定用画面が表示されてもよい。その設定用画面でユーザーが行った設定の操作を、通信を介して設定管理部が受付けて、データの設定に係る処理を行ってもよい。
Since the application acquisition processing unit prepares a data storage area on the data storage device based on the acquired data structure description, both the execution processing of the application and the location of the data referenced during execution are determined by the image processing device. be.
Furthermore, since the setting management unit generates a setting screen for the data stored in the data storage device and accepts the setting of the data by the user, the processing for setting the stored data is also performed by the image processing device. However, the setting screen generated by the setting management unit may be displayed by the image processing device, but is not limited to this. For example, a setting screen may be displayed on a device such as a personal computer or a smartphone connected via communication. A setting operation performed by the user on the setting screen may be received by the setting management unit via communication, and processing related to data setting may be performed.
さらに、この発明の好ましい態様について説明する。
(ii)前記アプリ取得処理部は、既に取得されたアプリケーションの更新を取得する際、そのアプリケーションに係るデータがユーザーにより設定されている場合、設定されたデータを維持してアプリケーションを更新してもよい。
このようにすれば、既に取得されたアプリケーションを更新する際に、ユーザーが既に行った設定が維持される。よって、アプリケーションの更新に伴って、ユーザーが設定したデータが初期値に変更されて設定のやり直しが必要になるといった事態が回避できる。
Furthermore, preferred embodiments of the present invention will be described.
(ii) When acquiring an update of an application that has already been acquired, the application acquisition processing unit may update the application while maintaining the set data if data related to the application has been set by the user. good.
In this way, settings already made by the user are maintained when updating an already acquired application. Therefore, it is possible to avoid a situation in which the data set by the user is changed to the initial value when the application is updated, and the setting needs to be redone.
(iii)前記データ格納デバイスは、機器の構成に基づいて処理可能な機能を予め格納し、前記アプリ取得処理部は、取得されたデータ構造記述が処理可能でない機能に係る部分を含むか否かを判断し、処理可能でない部分を省いてデータの格納領域を用意し、前記設定管理部は、前記格納領域に対応したデータの設定画面を生成するようにしてもよい。
このようにすれば、画像処理装置の機器構成に基づいて、必要なデータについてのみ格納領域を用意することができ、さらに、必要なデータについてのみ設定用画面を生成してユーザーによる設定を受付けることができる。
(iii) The data storage device pre-stores processable functions based on the configuration of the device, and the application acquisition processing unit determines whether the acquired data structure description includes a part related to the unprocessable functions. may be determined, a data storage area may be prepared by omitting unprocessable portions, and the setting management unit may generate a data setting screen corresponding to the storage area.
In this way, it is possible to prepare a storage area only for necessary data based on the equipment configuration of the image processing apparatus, and furthermore, to generate setting screens only for necessary data and to accept user settings. can be done.
(iv)前記アプリ取得処理部は、アプリケーションのプログラムファイルと共にローカライズに係る複数言語の言語データを取得し、前記設定管理部は、取得した言語データを用いて、ローカライズされた設定画面を生成してもよい。
このようにすれば、アプリケーションが対応可能な言語について、ローカライズされた設定画面を生成してユーザーによる設定を受付けることができる。
(iv) The application acquisition processing unit acquires language data of multiple languages related to localization together with the program file of the application, and the setting management unit generates a localized setting screen using the acquired language data. good too.
By doing so, it is possible to generate a localized setting screen for the language that the application can support, and to receive the setting by the user.
(v)また、この発明の異なる観点からの態様は画像処理装置のプロセッサが、インタフェイス回路を介して画像処理に係るアプリケーションのプログラムファイルおよびそのアプリケーションに係るデータ構造記述を外部の機器から取得するステップと、前記データ構造記述に基づくデータの格納領域をデータ格納デバイス上に用意するステップと、前記データ格納デバイスに格納されたデータの設定用画面を生成するステップと、前記データのユーザーによる設定を受付けるステップと、設定されたデータを参照して前記アプリケーションを実行するステップと、を備えることを特徴とする。
この発明の好ましい態様には、上述した複数の態様のうちの何れかを組み合わせたものも含まれる。
前述した実施の形態の他にも、この発明について種々の変形例があり得る。それらの変形例は、この発明の範囲に属さないと解されるべきものではない。この発明には、請求の範囲と均等の意味および前記範囲内でのすべての変形とが含まれるべきである。
(v) Further, according to another aspect of the present invention, the processor of the image processing apparatus acquires a program file of an application related to image processing and a data structure description related to the application from an external device via an interface circuit. preparing a data storage area on a data storage device based on the data structure description; generating a screen for setting data stored in the data storage device; and setting the data by a user. and a step of referring to the set data and executing the application.
Preferred aspects of the present invention include combinations of any of the aspects described above.
Various modifications of the present invention are possible in addition to the above-described embodiments. Those modifications should not be construed as not belonging to the scope of the present invention. The present invention should include all modifications within the scope of the claims, the meaning of equivalents, and the scope.
10:操作ユニット、 12:表示ユニット、 13:印刷ユニット、 14:インタフェイス回路、 14c:通信インタフェイス回路、 14t:外部機器インタフェイス回路、 14u:USBコネクタ、 15:スキャナユニット、 17a:給紙トレイ、 17b:手差しトレイ、 18a,18b,18c:排出トレイ、 21:制御部、21a:アプリ取得処理部、 21c:設定管理部、 21e:アプリケーション処理部、 23:データ格納デバイス、 31:アプリケーションパッケージ、 31d:データ構造記述、 31p:プログラムファイル、 33:ブラウザー、 35:システム設定ページ、 35a:「参照」ボタン、 35b:「実行」ボタン、 35c:サーバー名設定欄、 35d:ファイル名設定欄、 35e:日時付加設定、 37:ユーザー認証画面、 39:スキャン設定画面、 41:機器能力情報
100:画像処理装置、 101:パーソナルコンピュータ、 103:外部サービス提供サーバー
10: Operation unit 12: Display unit 13: Printing unit 14:
Claims (4)
データを格納するデータ格納デバイスと、
前記インタフェイス回路を介して画像処理に係るアプリケーションのプログラムファイルおよびそのアプリケーションに係るデータ構造記述を取得し、前記データ格納デバイスに前記データ構造記述に基づくデータの格納領域を用意するアプリ取得処理部と、
前記格納領域に対応したデータの設定用画面を生成し、前記データのユーザーによる設定を受付ける設定管理部と、
前記データを参照して前記アプリケーションを実行するアプリケーション処理部と、
を備え、
前記データ格納デバイスは、機器の構成に基づいて処理可能な機能を予め格納し、
前記アプリ取得処理部は、取得されたデータ構造記述が処理可能でない機能に係る部分を含むか否かを判断し、処理可能でない部分を省いてデータの格納領域を用意し、
前記設定管理部は、前記格納領域に対応したデータの設定画面を生成する画像処理装置。 an interface circuit for transferring data from an external device;
a data storage device for storing data;
an application acquisition processing unit that acquires a program file of an application related to image processing and a data structure description related to the application via the interface circuit, and prepares a storage area for data based on the data structure description in the data storage device; ,
a setting management unit that generates a setting screen for data corresponding to the storage area and receives setting of the data by a user;
an application processing unit that refers to the data and executes the application;
with
The data storage device pre-stores functions that can be processed based on the configuration of the equipment,
The application acquisition processing unit determines whether or not the acquired data structure description includes a part related to an unprocessable function, omits the unprocessable part, and prepares a data storage area,
The setting management unit is an image processing device that generates a setting screen for data corresponding to the storage area .
前記設定管理部は、取得した言語データを用いて、ローカライズされた設定画面を生成する請求項1または2に記載の画像処理装置。 The application acquisition processing unit acquires language data of multiple languages related to localization together with a program file of the application,
3. The image processing apparatus according to claim 1, wherein the setting management section uses the acquired language data to generate a localized setting screen.
インタフェイス回路を介して画像処理に係るアプリケーションのプログラムファイルおよびそのアプリケーションに係るデータ構造記述を外部の機器から取得するステップと、
前記データ構造記述に基づくデータの格納領域をデータ格納デバイス上に用意するステップと、
前記格納領域に対応したデータの設定用画面を生成するステップと、
前記データのユーザーによる設定を受付けるステップと、
設定されたデータを参照して前記アプリケーションを実行するステップと、
を備え、
前記データ格納デバイスは、機器の構成に基づいて処理可能な機能を予め格納し、
前記格納領域を前記データ格納デバイス上に用意するステップは、取得されたデータ構造記述が処理可能でない機能に係る部分を含むか否かを判断し、処理可能でない部分を省いてデータの格納領域を用意し、
前記設定用画面を生成するステップは、前記格納領域に対応したデータの設定画面を生成する画像処理方法。 The processor of the image processing device
a step of acquiring a program file of an application related to image processing and a data structure description related to the application from an external device via an interface circuit;
preparing a storage area for data based on the data structure description on a data storage device;
generating a screen for setting data corresponding to the storage area ;
accepting user configuration of said data;
executing the application with reference to the set data;
with
The data storage device pre-stores functions that can be processed based on the configuration of the equipment,
The step of preparing the storage area on the data storage device includes determining whether or not the acquired data structure description includes a part related to an unprocessable function, and omitting the unprocessable part to reduce the data storage area. prepare,
In the image processing method , the step of generating the setting screen generates a setting screen for data corresponding to the storage area .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018236917A JP7202873B2 (en) | 2018-12-19 | 2018-12-19 | Image processing device and image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018236917A JP7202873B2 (en) | 2018-12-19 | 2018-12-19 | Image processing device and image processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020098513A JP2020098513A (en) | 2020-06-25 |
JP7202873B2 true JP7202873B2 (en) | 2023-01-12 |
Family
ID=71105983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018236917A Active JP7202873B2 (en) | 2018-12-19 | 2018-12-19 | Image processing device and image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7202873B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008203926A (en) | 2007-02-16 | 2008-09-04 | Ricoh Printing Systems Ltd | Print control device |
JP2017004495A (en) | 2015-06-10 | 2017-01-05 | 株式会社リコー | Information processing system, information processing device, and program |
JP2017170642A (en) | 2016-03-18 | 2017-09-28 | 株式会社リコー | Information processing system, information processing device, information processing method, and program |
JP2017204195A (en) | 2016-05-12 | 2017-11-16 | ブラザー工業株式会社 | Image forming apparatus and system |
-
2018
- 2018-12-19 JP JP2018236917A patent/JP7202873B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008203926A (en) | 2007-02-16 | 2008-09-04 | Ricoh Printing Systems Ltd | Print control device |
JP2017004495A (en) | 2015-06-10 | 2017-01-05 | 株式会社リコー | Information processing system, information processing device, and program |
JP2017170642A (en) | 2016-03-18 | 2017-09-28 | 株式会社リコー | Information processing system, information processing device, information processing method, and program |
JP2017204195A (en) | 2016-05-12 | 2017-11-16 | ブラザー工業株式会社 | Image forming apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
JP2020098513A (en) | 2020-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9948807B2 (en) | Multi-function device for executing plurality of functions related to plural types of services | |
US8773676B2 (en) | Multifunction peripheral, multifunction peripheral control system, and multifunction peripheral control method for preparing information display screen including changing default conditions | |
US8154742B2 (en) | Print interruption processing | |
KR100525233B1 (en) | Image printing apparatus and method, computer-readable storage medium storing program for printing images, and image management system | |
US20070214409A1 (en) | Image-forming apparatus and control method thereof | |
US10264154B2 (en) | Display control system | |
JP5822537B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
JP6822172B2 (en) | System, image forming device, information processing method and information processing device | |
US10430130B2 (en) | Information processing system, information processing method | |
US8984413B2 (en) | Transmission system, transmission apparatus, and method | |
US11159694B2 (en) | Information processing system, information processing apparatus, and method of generating screen | |
US9507796B2 (en) | Relay apparatus and image processing device | |
US20160072967A1 (en) | Information processor creating communication application, and computer-readable non-transitory recording medium storing application creation program for creating communication application | |
JP2013003625A (en) | Image processing system, screen update method and screen update program | |
US20140063521A1 (en) | Server system of a printing system | |
JP7202873B2 (en) | Image processing device and image processing method | |
JP2011180856A (en) | Image forming apparatus and program | |
CN102917149B (en) | Multi-function peripheral, communication system, and communication method | |
JP5353771B2 (en) | Image forming apparatus, image processing apparatus, image processing system, image processing method, program, and recording medium | |
EP2645231A2 (en) | User terminal apparatus, method of controlling user terminal apparatus, image forming apparatus, and method of controlling image forming apparatus | |
JP2009033731A (en) | Image forming apparatus, document management method, and program | |
JP2020065233A (en) | Information processing system and information processing method | |
JP6988930B2 (en) | Information processing equipment, programs, information processing systems and information processing methods | |
JP7251051B2 (en) | File transfer system, image processing device, terminal device, and browser program | |
JP6614318B2 (en) | Image forming apparatus, browser control method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210922 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220708 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220712 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220906 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20220906 |
|
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: 20221213 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20221226 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7202873 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |