JP2013077151A - Device control program, information processing unit and device control method - Google Patents

Device control program, information processing unit and device control method Download PDF

Info

Publication number
JP2013077151A
JP2013077151A JP2011216413A JP2011216413A JP2013077151A JP 2013077151 A JP2013077151 A JP 2013077151A JP 2011216413 A JP2011216413 A JP 2011216413A JP 2011216413 A JP2011216413 A JP 2011216413A JP 2013077151 A JP2013077151 A JP 2013077151A
Authority
JP
Japan
Prior art keywords
information
character string
control
program
unit
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.)
Pending
Application number
JP2011216413A
Other languages
Japanese (ja)
Inventor
Hayato Nogi
隼人 野木
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.)
Fujitsu Broad Solution and Consulting Inc
Original Assignee
Fujitsu Broad Solution and Consulting 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 Fujitsu Broad Solution and Consulting Inc filed Critical Fujitsu Broad Solution and Consulting Inc
Priority to JP2011216413A priority Critical patent/JP2013077151A/en
Publication of JP2013077151A publication Critical patent/JP2013077151A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To easily specify a device to be utilized.SOLUTION: First storage means 1c stores control information 2. Second storage means 1d stores definition information 3 showing correspondence relation between one or a plurality of programs and one or a plurality of character strings for controlling a device 1g. When it is detected that the control information 2 including a character string 2a is registered in the first storage means 1c to operation input to a screen displayed on a display device 1a on the basis of screen information including the character string 2a according to the operation input to be accepted, determination means 1e determines whether or not any character string to be shown in the definition information 3 is included in the control information 2. When it is determined that a character string 3a to be shown in the definition information 3 is included in the control information 2, control means 1f controls the device 1g by calling a program 3b associated with the determined character string 3a by referring to the definition information 3.

Description

本発明はデバイス制御プログラム、情報処理装置およびデバイス制御方法に関する。   The present invention relates to a device control program, an information processing apparatus, and a device control method.

情報処理装置には種々のデバイスが設けられる。情報処理装置は各種のデバイスを利用することで、データの入出力や他の情報処理装置とのデータ通信等、種々の処理を行う。
近年では、携帯可能な情報処理装置(携帯端末装置)にも多様なデバイスが設けられ、多機能化が進んでいる。例えば、携帯端末装置に撮像用のデバイスを設け、携帯端末装置で静止画や動画を生成可能にしたものがある。また、例えば、携帯端末装置に近距離無線通信用のデバイスを設け、当該デバイスによりスキャナやプリンタ等の外部機器と通信することで、外部機器を利用可能とし、拡張性を向上させたものがある。
Various devices are provided in the information processing apparatus. The information processing apparatus performs various processes such as data input / output and data communication with other information processing apparatuses by using various devices.
In recent years, a variety of devices have been provided in portable information processing apparatuses (portable terminal apparatuses), and the number of functions has been increasing. For example, there is a mobile terminal device provided with an imaging device so that a still image or a moving image can be generated by the mobile terminal device. In addition, for example, there are devices in which a device for short-distance wireless communication is provided in a mobile terminal device, and the external device can be used and the expandability is improved by communicating with the external device such as a scanner or a printer using the device. .

ここで、サーバ装置に接続された情報処理装置では、情報処理装置に設けられたデバイスをサーバ装置の指示により動作させるものがある。例えば、携帯端末装置がセンタ側のコンピュータからダウンロードしたプログラムを用いて携帯端末装置に接続された外部機器を制御することで、センタ側のデータ処理に応じた外部機器の制御を実現する方法が提案されている(例えば、特許文献1参照)。   Here, some information processing apparatuses connected to the server apparatus operate devices provided in the information processing apparatus according to instructions from the server apparatus. For example, a method for realizing control of an external device according to data processing on the center side by controlling the external device connected to the mobile terminal device using a program downloaded from the computer on the center side by the mobile terminal device is proposed. (For example, refer to Patent Document 1).

なお、例えば、クライアント装置でのドキュメントファイルの作成・更新を検出したときに、該ファイルをサーバ装置に自動的にアップロードし、その後、クライアント装置から削除する方法も提案されている(例えば、特許文献2参照)。   For example, a method has been proposed in which when a creation / update of a document file on a client device is detected, the file is automatically uploaded to the server device and then deleted from the client device (for example, Patent Documents). 2).

特開2002−74238号公報JP 2002-74238 A 特開2010−266933号公報JP 2010-266933 A

ところで、情報処理システムでは、サーバ装置が提供するグラフィカルユーザインタフェースを情報処理装置に設けられた表示装置に表示させ、当該インタフェースに従った操作をユーザに行わせるものがある。例えば、Webシステムでは、情報処理装置が備えるWebブラウザがサーバ装置からダウンロードした画面情報により、グラフィカルユーザインタフェースを生成し、ユーザによる操作入力を受け付ける。   By the way, in some information processing systems, a graphical user interface provided by a server device is displayed on a display device provided in the information processing device, and an operation according to the interface is performed by the user. For example, in a Web system, a Web browser included in an information processing apparatus generates a graphical user interface based on screen information downloaded from a server apparatus, and accepts an operation input by a user.

このような情報処理システムでも、グラフィカルユーザインタフェースに対する操作に応じて、サーバ装置が指定するデバイスを動作させて、所定の処理を行わせたいという要求がある。その場合、サーバ装置が指定するデバイスの制御を、情報処理装置側での操作に応じて行う仕組みを、どのようにして実現するか問題となる。   Even in such an information processing system, there is a request to perform a predetermined process by operating a device specified by the server apparatus in accordance with an operation on the graphical user interface. In that case, it becomes a problem how to realize a mechanism for controlling the device specified by the server apparatus according to the operation on the information processing apparatus side.

一側面では、本発明は、利用するデバイスの指定を容易に行えるようにしたデバイス制御プログラム、情報処理装置およびデバイス制御方法を提供することを目的とする。   In one aspect, an object of the present invention is to provide a device control program, an information processing apparatus, and a device control method that can easily specify a device to be used.

一実施態様によれば、デバイス制御プログラムが提供される。このデバイス制御プログラムは、受け付ける操作入力に応じた文字列を含む画面情報に基づいて表示装置に表示された画面への操作入力に対して、文字列を含む制御情報が第1の記憶手段に登録されたことを検出すると、第2の記憶手段に記憶された、デバイスを制御するための1またはそれ以上のプログラムと1またはそれ以上の文字列との対応関係を示す定義情報に示される何れかの文字列が、制御情報に含まれているか判定し、定義情報で示される何れかの文字列が含まれていると判定されたとき、定義情報を参照して、判定された該文字列に対応付けられたプログラムを呼び出すことで、デバイスを制御する、処理をコンピュータに実行させる。   According to one embodiment, a device control program is provided. The device control program registers control information including a character string in the first storage unit in response to an operation input to the screen displayed on the display device based on screen information including a character string corresponding to the received operation input. When it is detected, the definition information stored in the second storage means indicates the correspondence between one or more programs for controlling the device and one or more character strings. Is determined to be included in the control information, and when it is determined that any of the character strings indicated in the definition information is included, the definition information is referred to Calling the associated program causes the computer to execute processing for controlling the device.

また、一実施態様によれば、第1の記憶手段と第2の記憶手段と判定手段と制御手段とを有する情報処理装置が提供される。第1の記憶手段は、所定の文字列を含む制御情報を記憶する。第2の記憶手段は、デバイスを制御するための1またはそれ以上のプログラムと1またはそれ以上の文字列との対応関係を示す定義情報を記憶する。判定手段は、受け付ける操作入力に応じた文字列を含む画面情報に基づいて表示装置に表示された画面への操作入力に対して、文字列を含む制御情報が第1の記憶手段に登録されたことを検出すると、定義情報に示される何れかの文字列が、制御情報に含まれているか判定する。制御手段は、定義情報で示される何れかの文字列が含まれていると判定されたとき、定義情報を参照して、判定された該文字列に対応付けられたプログラムを呼び出すことで、デバイスを制御する。   Moreover, according to one embodiment, an information processing apparatus having a first storage unit, a second storage unit, a determination unit, and a control unit is provided. The first storage means stores control information including a predetermined character string. The second storage means stores definition information indicating a correspondence relationship between one or more programs for controlling the device and one or more character strings. The determination unit registers control information including a character string in the first storage unit in response to an operation input to the screen displayed on the display device based on the screen information including the character string corresponding to the received operation input. When this is detected, it is determined whether any character string indicated in the definition information is included in the control information. When it is determined that any of the character strings indicated by the definition information is included, the control unit refers to the definition information and calls a program associated with the determined character string, thereby To control.

また、一実施対象によれば、コンピュータが実行するデバイス制御方法が提供される。このデバイス制御方法では、受け付ける操作入力に応じた文字列を含む画面情報に基づいて表示装置に表示された画面への操作入力に対して、文字列を含む制御情報が第1の記憶手段に登録されたことを検出すると、第2の記憶手段に記憶された、デバイスを制御するための1またはそれ以上のプログラムと1またはそれ以上の文字列との対応関係を示す定義情報に示される何れかの文字列が、制御情報に含まれているか判定する。定義情報で示される何れかの文字列が含まれていると判定されたとき、定義情報を参照して、判定された該文字列に対応付けられたプログラムを呼び出すことで、デバイスを制御する。   Moreover, according to one implementation object, the device control method which a computer performs is provided. In this device control method, control information including a character string is registered in the first storage unit in response to an operation input to the screen displayed on the display device based on screen information including a character string corresponding to the received operation input. When it is detected, the definition information stored in the second storage means indicates the correspondence between one or more programs for controlling the device and one or more character strings. Is determined to be included in the control information. When it is determined that any character string indicated by the definition information is included, the device is controlled by referring to the definition information and calling a program associated with the determined character string.

一実施態様によれば、利用するデバイスの指定を容易に行える。   According to one embodiment, it is possible to easily specify a device to be used.

第1の実施の形態の情報処理装置を示す図である。It is a figure which shows the information processing apparatus of 1st Embodiment. 第2の実施の形態の情報処理システムを示す図である。It is a figure which shows the information processing system of 2nd Embodiment. クライアントのハードウェア例を示す図である。It is a figure which shows the hardware example of a client. 第2の実施の形態のクライアントのソフトウェア例を示す図である。It is a figure which shows the software example of the client of 2nd Embodiment. ローカルストレージの例を示す図である。It is a figure which shows the example of a local storage. プログラム定義ファイルの例を示す図である。It is a figure which shows the example of a program definition file. 業務支援画面の例を示す図である。It is a figure which shows the example of a work support screen. 業務支援画面のHTMLファイルの記述例を示す図である。It is a figure which shows the example of a description of the HTML file of a work support screen. スクリプトの記述例を示す図である。It is a figure which shows the example of a description of a script. クライアントの処理例を示すフローチャートである。It is a flowchart which shows the process example of a client. デバイス実行制御の処理例を示すフローチャートである。It is a flowchart which shows the process example of device execution control. デバイス停止制御の処理例を示すフローチャートである。It is a flowchart which shows the process example of device stop control. 撮像部の制御例を示すシーケンス図である。It is a sequence diagram which shows the example of control of an imaging part. 撮像部の制御例を示すシーケンス図(続き)である。It is a sequence diagram (continued) showing an example of control of the imaging unit. バーコード読取の制御例を示すシーケンス図である。It is a sequence diagram which shows the example of control of barcode reading. バーコード読取の制御例を示すシーケンス図(続き)である。FIG. 11 is a sequence diagram (continued) illustrating an example of bar code reading control. 第3の実施の形態のクライアントのソフトウェア例を示す図である。It is a figure which shows the software example of the client of 3rd Embodiment.

以下、本実施の形態を図面を参照して説明する。
[第1の実施の形態]
図1は、第1の実施の形態の情報処理装置を示す図である。情報処理装置1は、表示装置1a、画面情報処理手段1b、第1の記憶手段1c、第2の記憶手段1d、判定手段1e、制御手段1fおよびデバイス1gを有する。
Hereinafter, the present embodiment will be described with reference to the drawings.
[First Embodiment]
FIG. 1 is a diagram illustrating the information processing apparatus according to the first embodiment. The information processing apparatus 1 includes a display device 1a, a screen information processing unit 1b, a first storage unit 1c, a second storage unit 1d, a determination unit 1e, a control unit 1f, and a device 1g.

表示装置1aは、画面情報処理手段1bにより生成された画面を表示する。
画面情報処理手段1bは、画面情報に基づいて、表示装置1aに表示させる画面を生成する。画面情報処理手段1bが生成する画面は、所定の操作入力を受け付けるためのGUI(Graphical User Interface)である。画面情報は、GUIを記述可能な形式のデータである。画面情報の形式には、例えばHTML(HyperText Markup Language)やXML(Extensible Markup Language)などが考えられる。画面情報は、複数のファイルを含んでもよい。例えば、1またはそれ以上のHTMLファイルと1またはそれ以上のスクリプトファイルを含んでいてもよい。スクリプトファイルは、該HTMLファイルで記述した要素に対する操作入力に応じた処理を記述したファイルである。スクリプトファイルは、例えばJavaScript(登録商標)で記述されたファイルでもよい。
The display device 1a displays the screen generated by the screen information processing means 1b.
The screen information processing unit 1b generates a screen to be displayed on the display device 1a based on the screen information. The screen generated by the screen information processing unit 1b is a GUI (Graphical User Interface) for receiving a predetermined operation input. The screen information is data in a format that can describe a GUI. As the format of the screen information, for example, HTML (HyperText Markup Language), XML (Extensible Markup Language), or the like can be considered. The screen information may include a plurality of files. For example, one or more HTML files and one or more script files may be included. The script file is a file that describes a process according to an operation input for an element described in the HTML file. The script file may be a file described in, for example, JavaScript (registered trademark).

画面情報処理手段1bは、例えば、ネットワークを介して情報処理装置1と接続されたサーバ装置(図示を省略)から画面情報を取得できる。画面情報処理手段1bは、画面に対する操作入力に応じて、画面情報に含まれる所定の文字列2aを含む制御情報2を第1の記憶手段1cに登録する。画面情報には、例えば、第1の記憶手段1cに登録する文字列が、受け付ける操作入力の内容ごとに定義される。   The screen information processing means 1b can acquire screen information from, for example, a server device (not shown) connected to the information processing device 1 via a network. The screen information processing unit 1b registers the control information 2 including the predetermined character string 2a included in the screen information in the first storage unit 1c in response to an operation input on the screen. In the screen information, for example, a character string registered in the first storage unit 1c is defined for each content of operation input to be accepted.

第1の記憶手段1cは、所定の文字列を含む制御情報2を記憶する。例えば、制御情報2には、文字列2a“abcde”が含まれている。
第2の記憶手段1dは、デバイス1gを制御するための1またはそれ以上のプログラムと1またはそれ以上の文字列との対応関係を示す定義情報3を記憶する。例えば、定義情報3には、文字列3a(“abcde”)およびプログラム3b(/program/device1g.dat)が含まれる。例えば、文字列3aとプログラム3bとが“=”(イコール)記号によって対応付けられている。
The first storage unit 1c stores control information 2 including a predetermined character string. For example, the control information 2 includes a character string 2a “abcde”.
The second storage unit 1d stores definition information 3 indicating a correspondence relationship between one or more programs for controlling the device 1g and one or more character strings. For example, the definition information 3 includes a character string 3a (“abcde”) and a program 3b (/program/device1g.dat). For example, the character string 3a and the program 3b are associated with each other by “=” (equal) symbols.

第1の記憶手段1cおよび第2の記憶手段1dは、SSD(Solid State Drive)およびHDD(Hard Disk Drive)などのディスク装置によって実装されてもよい。第1の記憶手段1cおよび第2の記憶手段1dは、同じディスク装置上の異なる記憶領域によって実装されてもよい。   The first storage unit 1c and the second storage unit 1d may be implemented by a disk device such as a solid state drive (SSD) and a hard disk drive (HDD). The first storage unit 1c and the second storage unit 1d may be implemented by different storage areas on the same disk device.

判定手段1eは、画面情報処理手段1bにより、制御情報2が第1の記憶手段1cに登録されたことを検出すると、第2の記憶手段1dに記憶された定義情報3に示される何れかの文字列が制御情報2に含まれているか判定する。制御情報2には、文字列2a“abcde”が含まれている。このとき、文字列2aは、文字列3aに一致する。よって、この場合、判定手段1eは、定義情報3に示される文字列3aが制御情報2に含まれていると判定する。   When the screen information processing unit 1b detects that the control information 2 is registered in the first storage unit 1c, the determination unit 1e detects any one of the definition information 3 stored in the second storage unit 1d. It is determined whether the character string is included in the control information 2. The control information 2 includes a character string 2a “abcde”. At this time, the character string 2a matches the character string 3a. Therefore, in this case, the determination unit 1 e determines that the control information 2 includes the character string 3 a indicated by the definition information 3.

制御手段1fは、定義情報3で示される何れかの文字列が含まれていると判定されたとき、定義情報3を参照して、判定された文字列に対応付けられたプログラムを呼び出すことでデバイスを制御する。例えば、制御手段1fは、文字列3aが制御情報2に含まれていると判定された場合、定義情報3を参照して、文字列3aに対応付けられたプログラム3bを呼び出すことでデバイスを制御する。プログラム3bはデバイス1gを制御するためのプログラムである。   When it is determined that one of the character strings indicated by the definition information 3 is included, the control unit 1f refers to the definition information 3 and calls a program associated with the determined character string. Control the device. For example, when it is determined that the character string 3a is included in the control information 2, the control unit 1f refers to the definition information 3 and calls the program 3b associated with the character string 3a to control the device. To do. The program 3b is a program for controlling the device 1g.

デバイス1gは、所定の機能を実現するための装置である。例えば、静止画や動画を撮像するための撮像装置や有線・無線の通信を実現するための通信装置である。また、通信装置によって通信可能な、情報処理装置1の外部のデバイスでもよい。その場合、制御手段1fは、呼び出したプログラムにより、通信装置を介して外部のデバイスを制御する。   The device 1g is a device for realizing a predetermined function. For example, an imaging apparatus for capturing a still image or a moving image or a communication apparatus for realizing wired / wireless communication. Alternatively, a device external to the information processing apparatus 1 that can communicate with the communication apparatus may be used. In this case, the control unit 1f controls an external device via the communication device by the called program.

なお、画面情報処理手段1bは、例えばウェブ(Web)ページを閲覧するためのブラウザにより実現されてもよい。また、判定手段1eおよび制御手段1fをブラウザに含めてもよい。   The screen information processing unit 1b may be realized by a browser for browsing a web page, for example. Further, the determination unit 1e and the control unit 1f may be included in the browser.

また、情報処理装置1は、CPU(Central Processing Unit)などのプロセッサとRAM(Random Access Memory)などのメモリとを備えてもよく、メモリに記憶されたプログラムをプロセッサが実行するコンピュータであってもよい。   The information processing apparatus 1 may include a processor such as a CPU (Central Processing Unit) and a memory such as a RAM (Random Access Memory), and may be a computer that executes a program stored in the memory. Good.

情報処理装置1によれば、判定手段1eにより、画面情報処理手段1bが表示装置1aに表示された画面に対する操作入力に応じた制御情報2が第1の記憶手段1cに登録したことが検出される。判定手段1eにより、第2の記憶手段に記憶された定義情報3に示される何れかの文字列が、制御情報2に含まれているか判定される。定義情報3で示される何れかの文字列が含まれていると判定されたとき、制御手段1fにより、定義情報3が参照され、判定された文字列3aに対応付けられたプログラム3bを呼び出すことで、デバイス1gが制御される。   According to the information processing apparatus 1, the determination means 1e detects that the screen information processing means 1b has registered in the first storage means 1c the control information 2 corresponding to the operation input for the screen displayed on the display device 1a. The The determination unit 1e determines whether any character string indicated in the definition information 3 stored in the second storage unit is included in the control information 2. When it is determined that any of the character strings indicated by the definition information 3 is included, the control means 1f refers to the definition information 3 and calls the program 3b associated with the determined character string 3a. Thus, the device 1g is controlled.

これにより、利用するデバイスの指定を容易に行える。具体的には、画面情報処理手段1bが、第1の記憶手段1cに登録した制御情報2に含まれる文字列により、情報処理装置1で動作させるデバイスを指定できる。例えば、画面情報処理手段1bは、ブラウザの機能を用いることができる。ブラウザは、情報処理装置1で一般的に利用可能なソフトウェアである。このため、例えば、サーバ装置側で制御対象のデバイスの指定を追加・変更したい場合には、制御情報2に含める文字列の変更で対応可能である。よって、サーバ装置や情報処理装置1においてアプリケーションプログラム(以下、単にアプリケーションという)などの変更を伴わずに、デバイス指定の設定を容易に行える。   This makes it easy to specify the device to be used. Specifically, the screen information processing means 1b can designate a device to be operated by the information processing apparatus 1 by a character string included in the control information 2 registered in the first storage means 1c. For example, the screen information processing means 1b can use a browser function. The browser is software that can be generally used in the information processing apparatus 1. For this reason, for example, when it is desired to add or change the designation of a device to be controlled on the server device side, it can be handled by changing a character string included in the control information 2. Therefore, device designation can be easily set in the server apparatus or the information processing apparatus 1 without changing an application program (hereinafter simply referred to as an application).

[第2の実施の形態]
図2は、第2の実施の形態の情報処理システムを示す図である。第2の実施の形態の情報処理システムは、情報機器(例えば、コンピュータやその周辺機器)の保守業務を支援する。この情報処理システムでは、クライアント装置(以下、単にクライアントという)で取得した保守内容をサーバ装置(以下、単にサーバという)で一元管理する。この情報処理システムは、クライアント装置(以下、単にクライアントという)100およびサーバ装置(以下、単にサーバという)200を含む。クライアント100およびサーバ200は、ネットワーク10および基地局11を介して接続されている。クライアント100と基地局11とは無線で接続され、移動通信で用いられる所定の周波数帯を用いて通信する。クライアント100は、Wi−Fi(Wireless - Fidelity、登録商標)などで無線LAN接続を行えるものでもよい。その場合、クライアント100は、ネットワーク10と直接的または間接的に接続されたアクセスポイント(図示を省略)を介してサーバ200にアクセスしてもよい。
[Second Embodiment]
FIG. 2 illustrates an information processing system according to the second embodiment. The information processing system according to the second embodiment supports maintenance work for information devices (for example, computers and peripheral devices). In this information processing system, maintenance content acquired by a client device (hereinafter simply referred to as a client) is centrally managed by a server device (hereinafter simply referred to as a server). The information processing system includes a client device (hereinafter simply referred to as a client) 100 and a server device (hereinafter simply referred to as a server) 200. The client 100 and the server 200 are connected via the network 10 and the base station 11. The client 100 and the base station 11 are connected wirelessly and communicate using a predetermined frequency band used in mobile communication. The client 100 may be one that can perform wireless LAN connection using Wi-Fi (Wireless-Fidelity, registered trademark). In that case, the client 100 may access the server 200 via an access point (not shown) directly or indirectly connected to the network 10.

クライアント100は、保守作業を行う保守員が所持する携帯端末装置である。クライアント100は、静止画または動画を撮像する撮像部を備えている。保守員は、該撮像部によって保守対象の情報機器の静止画または動画を撮像できる。   The client 100 is a portable terminal device possessed by maintenance personnel who perform maintenance work. The client 100 includes an imaging unit that captures a still image or a moving image. The maintenance staff can capture a still image or a moving image of the information device to be maintained by the imaging unit.

また、クライアント100は、バーコードリーダ12と近距離無線通信により接続可能である。近距離無線通信の例としては、IrDA(Infrared Data Association)通信、Bluetooth(登録商標)、Wi−FiおよびZigbee(登録商標)などがある。以下では、近距離無線通信の一例としてBluetoothを示して説明する。   The client 100 can be connected to the barcode reader 12 by short-range wireless communication. Examples of near field communication include IrDA (Infrared Data Association) communication, Bluetooth (registered trademark), Wi-Fi, and Zigbee (registered trademark). Hereinafter, Bluetooth will be described as an example of short-range wireless communication.

バーコードリーダ12は、保守対象の情報機器に付されたバーコードの情報を読み取るスキャナ装置である。バーコードリーダ12は、クライアント100とBluetoothにより通信可能である。バーコードリーダ12は、読み取ったバーコードの情報をクライアント100に送信できる。   The barcode reader 12 is a scanner device that reads barcode information attached to an information device to be maintained. The barcode reader 12 can communicate with the client 100 via Bluetooth. The barcode reader 12 can transmit the read barcode information to the client 100.

サーバ200は、クライアント100から受信した画像データやバーコードのデータなどを管理する。サーバ200は、Webサーバ機能を有しており、保守業務を支援するGUIを記述した画面情報(HTMLファイル)をクライアント100に提供する。例えば、サーバ200は、業務支援画面のURL(Uniform Resource Locator)を指定したHTTP(HyperText Transfer Protocol)リクエストをクライアント100から受信する。サーバ200は、該リクエストに対する応答として、業務支援のGUIを記述したHTMLファイルをクライアント100に送信する。   The server 200 manages image data and barcode data received from the client 100. The server 200 has a Web server function and provides the client 100 with screen information (HTML file) describing a GUI that supports maintenance work. For example, the server 200 receives an HTTP (HyperText Transfer Protocol) request specifying a URL (Uniform Resource Locator) of a business support screen from the client 100. As a response to the request, the server 200 transmits an HTML file describing a business support GUI to the client 100.

ここで、クライアント100はWebブラウザを実行可能である。Webブラウザは、サーバ200から受信したHTMLファイルを解析して、クライアント100上のディスプレイにGUIを表示させる。保守員は、GUIに従った操作入力を行うことで、クライアント100の撮像部やバーコードリーダ12に所定の情報を取得させることができる。また、クライアント100により、取得した情報をサーバ200へ送信させることができる。   Here, the client 100 can execute a Web browser. The Web browser analyzes the HTML file received from the server 200 and displays the GUI on the display on the client 100. The maintenance staff can cause the imaging unit of the client 100 or the barcode reader 12 to acquire predetermined information by performing an operation input according to the GUI. Further, the acquired information can be transmitted to the server 200 by the client 100.

なお、クライアント100は、バーコードリーダ12を用いて情報を取得する場合、バーコードリーダ12および基地局11との通信を行う。このとき、クライアント100は、移動通信と近距離無線通信との2種類の通信方式を利用する。この場合、両方の通信方式を同時に利用するのが困難なことがある。同時利用により、クライアント100が高負荷状態となる、電力消費が過大となる、などの問題が生じるためである。そこで、クライアント100は、一方の通信方式を利用する場合に、他方の通信方式による通信を行わないよう制御する。具体的には、クライアント100は、通常時は基地局11と接続して、音声通話や電子メールなどを待ち受ける。一方、保守作業などで必要な場合に、移動通信を切断し、Bluetoothによる近距離無線通信を行う。Bluetoothによるデータ通信が完了すると、Bluetoothによる通信を切断し、移動通信を再開する。   Note that the client 100 communicates with the barcode reader 12 and the base station 11 when acquiring information using the barcode reader 12. At this time, the client 100 uses two types of communication methods, mobile communication and short-range wireless communication. In this case, it may be difficult to use both communication methods at the same time. This is because the simultaneous use causes problems such as a high load on the client 100 and excessive power consumption. Therefore, when using one communication method, the client 100 controls not to perform communication using the other communication method. Specifically, the client 100 normally connects to the base station 11 and waits for a voice call, an e-mail, or the like. On the other hand, when necessary for maintenance work or the like, mobile communication is disconnected and short-range wireless communication by Bluetooth is performed. When the data communication by Bluetooth is completed, the communication by Bluetooth is disconnected and the mobile communication is resumed.

図3は、クライアントのハードウェア例を示す図である。クライアント100は、CPU101、ROM(Read Only Memory)102、RAM103、移動通信部104、アンテナ104a,105a、近距離無線通信部105、記録媒体読取部106、撮像部107、画像信号処理部108、ディスプレイ108a、入力信号処理部109、タッチパネル109a、キーパッド109b、音声信号処理部110、マイク110aおよびスピーカ110bを有する。各ユニットがクライアント100のバスに接続されている。   FIG. 3 is a diagram illustrating a hardware example of the client. The client 100 includes a CPU 101, a ROM (Read Only Memory) 102, a RAM 103, a mobile communication unit 104, antennas 104a and 105a, a short-range wireless communication unit 105, a recording medium reading unit 106, an imaging unit 107, an image signal processing unit 108, and a display. 108a, an input signal processing unit 109, a touch panel 109a, a keypad 109b, an audio signal processing unit 110, a microphone 110a, and a speaker 110b. Each unit is connected to the bus of the client 100.

CPU101は、クライアント100の情報処理を制御するプロセッサである。CPU101は、ROM102やRAM103などに記憶されているプログラムやデータの少なくとも一部を読み出し、RAM103に展開してプログラムを実行する。なお、クライアント100は、複数のプロセッサを設けて、プログラムを分散して実行してもよい。   The CPU 101 is a processor that controls information processing of the client 100. The CPU 101 reads out at least a part of a program and data stored in the ROM 102, the RAM 103, and the like, expands the program in the RAM 103, and executes the program. The client 100 may be provided with a plurality of processors to execute the program in a distributed manner.

ROM102は、クライアント100の起動時に実行されるBIOS(Basic Input / Output System)プログラムなどの所定のプログラムを記憶する。ROM102は、書き換え可能な不揮発性メモリであってもよい。   The ROM 102 stores a predetermined program such as a BIOS (Basic Input / Output System) program executed when the client 100 is activated. The ROM 102 may be a rewritable nonvolatile memory.

RAM103は、CPU101が実行するプログラムや処理に用いるデータを一時的に記憶する揮発性メモリである。なお、クライアント100は、RAM以外の種類のメモリを備えてもよく、複数個のメモリを備えていてもよい。   The RAM 103 is a volatile memory that temporarily stores programs executed by the CPU 101 and data used for processing. Note that the client 100 may include a type of memory other than the RAM, or may include a plurality of memories.

移動通信部104は、無線信号処理を行い、基地局11と移動通信網を介した無線通信を実現する。具体的には、移動通信部104は、基地局11からアンテナ104aを介して受信した信号を復調・復号し、得られた受信データをCPU101に出力する。また、移動通信部104は、CPU101から取得した送信データを符号化・変調し、得られた送信信号をアンテナ104aを介して基地局11へ送信する。   The mobile communication unit 104 performs radio signal processing and realizes radio communication with the base station 11 via the mobile communication network. Specifically, the mobile communication unit 104 demodulates and decodes a signal received from the base station 11 via the antenna 104a, and outputs the obtained reception data to the CPU 101. Further, the mobile communication unit 104 encodes and modulates transmission data acquired from the CPU 101, and transmits the obtained transmission signal to the base station 11 via the antenna 104a.

近距離無線通信部105は、無線信号処理を行い、バーコードリーダ12とのBluetoothによる無線通信を実現する。具体的には、近距離無線通信部105は、CPU101から取得した送信データを符号化・変調し、得られた送信信号をアンテナ105aを介してバーコードリーダ12へ送信する。また、近距離無線通信部105は、バーコードリーダ12からアンテナ105aを介して受信した信号を復調・復号し、得られた受信データをCPU101に出力する。   The short-range wireless communication unit 105 performs wireless signal processing and realizes wireless communication with the barcode reader 12 by Bluetooth. Specifically, the short-range wireless communication unit 105 encodes and modulates transmission data acquired from the CPU 101, and transmits the obtained transmission signal to the barcode reader 12 via the antenna 105a. Further, the short-range wireless communication unit 105 demodulates and decodes a signal received from the barcode reader 12 via the antenna 105 a and outputs the obtained reception data to the CPU 101.

記録媒体読取部106は、記録媒体13に記憶されたデータを読み取り、また、記録媒体13に格納する。記録媒体13としては、例えば、半導体メモリを使用できる。
撮像部107は、静止画または動画を撮像する。
The recording medium reading unit 106 reads data stored in the recording medium 13 and stores the data in the recording medium 13. For example, a semiconductor memory can be used as the recording medium 13.
The imaging unit 107 captures a still image or a moving image.

画像信号処理部108は、CPU101の命令に従って、ディスプレイ108aに画像を出力する。ディスプレイ108aとしては、例えば、液晶ディスプレイを用いることができる。   The image signal processing unit 108 outputs an image to the display 108 a in accordance with a command from the CPU 101. For example, a liquid crystal display can be used as the display 108a.

入力信号処理部109は、タッチパネル109aに対するタッチ操作やキーパッド109bに対するキー押下を検出すると、該タッチ操作や押下されたキーなどを示す入力信号を取得し、CPU101に出力する。   When the input signal processing unit 109 detects a touch operation on the touch panel 109a or a key press on the keypad 109b, the input signal processing unit 109 acquires an input signal indicating the touch operation or a pressed key and outputs the input signal to the CPU 101.

音声信号処理部110は、マイク110aから音声アナログ信号を取得し、所定の信号変換処理を行ってCPU101に音声データを出力する。また、音声信号処理部110は、CPU101から音声データを取得し、所定の信号変換処理を行ってスピーカ110bに音声再生させる。   The audio signal processing unit 110 acquires an audio analog signal from the microphone 110a, performs predetermined signal conversion processing, and outputs audio data to the CPU 101. The audio signal processing unit 110 acquires audio data from the CPU 101, performs predetermined signal conversion processing, and causes the speaker 110b to reproduce the audio.

図4は、第2の実施の形態のクライアントのソフトウェア例を示す図である。図4に示すユニットの一部または全部は、クライアント100が実行するプログラムのモジュールであってもよい。また、図4に示すユニットの一部または全部は、FPGA(Field Programmable Gate Array)やASIC(Application Specific Integrated Circuit)などの電子回路であってもよい。   FIG. 4 is a diagram illustrating a software example of the client according to the second embodiment. 4 may be a module of a program executed by the client 100. 4 may be an electronic circuit such as an FPGA (Field Programmable Gate Array) or an ASIC (Application Specific Integrated Circuit).

クライアント100は、ファイルI/O(Input / Output)部120、記憶部130、Webブラウザ140、デバイス処理部150を有する。
ファイルI/O部120は、Webブラウザ140およびデバイス処理部150が読み書き可能な記憶領域である。ファイルI/O部120としては、例えば、HTML5で標準化が検討されているローカルストレージ(LocalStorage)、WebSQLDataBaseおよびローカルディレクトリの任意のファイルなどが考えられる。以下では、ローカルストレージを想定する。
The client 100 includes a file I / O (Input / Output) unit 120, a storage unit 130, a Web browser 140, and a device processing unit 150.
The file I / O unit 120 is a storage area that can be read and written by the web browser 140 and the device processing unit 150. As the file I / O unit 120, for example, a local storage (Local Storage), standardized in HTML5, an arbitrary file in the WebSQLDataBase, a local directory, or the like can be considered. In the following, local storage is assumed.

記憶部130は、プログラム定義ファイルを記憶する。プログラム定義ファイルは、文字列とデバイス制御用のプログラムとの対応関係を定義したものである。
Webブラウザ140は、サーバ200から取得したHTMLファイルに基づき、ディスプレイ108aに業務メニューなどの画面を表示させる。Webブラウザ140は、該画面に対し、タッチパネル109aやキーパッド109bを用いた所定の操作入力を受け付ける。すると、Webブラウザ140は、ファイルI/O部120に該操作入力に応じた所定の文字列を含む制御情報を登録する。
The storage unit 130 stores a program definition file. The program definition file defines the correspondence between character strings and device control programs.
The web browser 140 displays a screen such as a business menu on the display 108 a based on the HTML file acquired from the server 200. The web browser 140 receives a predetermined operation input using the touch panel 109a and the keypad 109b for the screen. Then, the Web browser 140 registers control information including a predetermined character string corresponding to the operation input in the file I / O unit 120.

デバイス処理部150は、ファイルI/O部120に登録された制御情報に基づき、クライアント100で利用可能なデバイスを制御する。例えば、移動通信部104、近距離無線通信部105(近距離無線通信部105を介して通信するバーコードリーダ12)および撮像部107の制御を行う。デバイス処理部150は、判定部151および制御部152を有する。   The device processing unit 150 controls devices that can be used by the client 100 based on control information registered in the file I / O unit 120. For example, the mobile communication unit 104, the short-range wireless communication unit 105 (the barcode reader 12 that communicates via the short-range wireless communication unit 105), and the imaging unit 107 are controlled. The device processing unit 150 includes a determination unit 151 and a control unit 152.

判定部151は、ファイルI/O部120を監視する。判定部151は、Webブラウザ140によりファイルI/O部120に制御情報が登録されたことを検出する。すると、判定部151は、記憶部130に記憶されたプログラム定義ファイルを参照して、プログラム定義ファイルで示される所定の文字列が、制御情報に含まれているかを判定する。   The determination unit 151 monitors the file I / O unit 120. The determination unit 151 detects that control information has been registered in the file I / O unit 120 by the Web browser 140. Then, the determination unit 151 refers to the program definition file stored in the storage unit 130 and determines whether the predetermined character string indicated by the program definition file is included in the control information.

制御部152は、判定部151によりプログラム定義ファイルで示される文字列が制御情報に含まれていると判定されると、プログラム定義ファイルを参照して、該文字列に対応するプログラムを特定する。制御部152は、特定したプログラムを呼び出すことで、デバイスを制御する。   When the determination unit 151 determines that the character string indicated by the program definition file is included in the control information, the control unit 152 refers to the program definition file and specifies a program corresponding to the character string. The control unit 152 controls the device by calling the specified program.

また、制御部152は、デバイスからデータを取得する。例えば、撮像部107から撮像部107が撮像して得た画像データを取得する。また、例えば、バーコードリーダ12が読み取ったバーコードの値を近距離無線通信部105から取得する。制御部152は、デバイスから受け取ったデータまたは該データを示す情報を、ファイルI/O部120に格納する。所定のアプリケーションにより、デバイスから取得したデータに基づく処理を実行させるためである。例えば、Webブラウザ140は、デバイスから取得したデータをディスプレイ108aに表示させることができる。また、Webブラウザ140は、選択されたデータをサーバ200に送信することができる。   In addition, the control unit 152 acquires data from the device. For example, the image data obtained by the image capturing unit 107 from the image capturing unit 107 is acquired. For example, the barcode value read by the barcode reader 12 is acquired from the short-range wireless communication unit 105. The control unit 152 stores data received from the device or information indicating the data in the file I / O unit 120. This is because a process based on data acquired from the device is executed by a predetermined application. For example, the web browser 140 can display data acquired from the device on the display 108a. Further, the web browser 140 can transmit the selected data to the server 200.

ここで、第2の実施の形態のクライアント100は、第1の実施の形態の情報処理装置1の一例である。また、判定部151は、判定手段1eの一例である。制御部152は、制御手段1fの一例である。   Here, the client 100 according to the second embodiment is an example of the information processing apparatus 1 according to the first embodiment. Moreover, the determination part 151 is an example of the determination means 1e. The control unit 152 is an example of the control unit 1f.

図5は、ローカルストレージの例を示す図である。ローカルストレージ121は、ファイルI/O部120に格納される。ローカルストレージ121は、KVS(Key-Value Store)であり、キー(key)と値(value)とのペアでデータを格納する。   FIG. 5 is a diagram illustrating an example of the local storage. The local storage 121 is stored in the file I / O unit 120. The local storage 121 is a KVS (Key-Value Store), and stores data in pairs of a key and a value.

ローカルストレージ121には、Webブラウザ140および制御部152により複数種類の情報が登録される。該情報には、第1の制御情報121a、第2の制御情報121bおよび格納データ121cが含まれる。第1の制御情報121aおよび第2の制御情報121bは、Webブラウザ140により登録され、デバイス処理部150の処理に利用される。格納データ121cは、制御部152により登録され、Webブラウザ140の処理に利用される。   Multiple types of information are registered in the local storage 121 by the Web browser 140 and the control unit 152. The information includes first control information 121a, second control information 121b, and stored data 121c. The first control information 121a and the second control information 121b are registered by the Web browser 140 and used for the processing of the device processing unit 150. The stored data 121c is registered by the control unit 152 and used for processing of the Web browser 140.

第1の制御情報121aは、デバイス制御に関する指示を登録したものである。具体的には、keyとしてデバイス制御の命令の種別(実行/停止)(以下、命令種別ということがある)を登録する。valueとしてデバイス制御用のプログラムを特定するための文字列を登録する。   The first control information 121a is registered with instructions related to device control. Specifically, the device control instruction type (execution / stop) (hereinafter, also referred to as instruction type) is registered as the key. A character string for specifying a device control program is registered as a value.

例えば、第1の制御情報121aには、(key,value)のペア(Execute,Camera)が登録され得る。keyである“Execute”は、デバイスによる処理の実行指示であることを示す。なお、デバイスによる処理の停止指示は“Stop”の文字列で記述する。valueである“Camera”は、デバイス制御用のプログラムを特定するための文字列を示す。   For example, a pair (Execute, Camera) of (key, value) can be registered in the first control information 121a. “Execute” as a key indicates that the device is instructed to execute the process. The process stop instruction by the device is described by a character string “Stop”. The value “Camera” indicates a character string for specifying a device control program.

第2の制御情報121bは、デバイス制御に用いるパラメータを登録したものである。具体的には、keyとして設定する変数に対応する文字列を登録する。valueとしてパラメータに設定する値を登録する。   The second control information 121b registers parameters used for device control. Specifically, the character string corresponding to the variable set as the key is registered. Registers the value to be set in the parameter as value.

例えば、第2の制御情報121bには、(key,value)のペア(param1,600x400)が登録され得る。keyである“param1”は、プログラム定義ファイルで定義されるparam1のパラメータに、valueの値“600x400”を設定することを示す。   For example, a pair (param1, 600x400) of (key, value) can be registered in the second control information 121b. The key “param1” indicates that the value “600 × 400” is set in the parameter of the parameter1 defined in the program definition file.

また、例えば、第2の制御情報121bには、(key,value)のペア(param2,3)が登録され得る。keyである“param2”は、プログラム定義ファイルで定義されるparam2のパラメータに、valueの値“3”を設定することを示す。   Further, for example, a pair (param2, 3) of (key, value) can be registered in the second control information 121b. The key “param2” indicates that the value “3” of the value is set in the parameter of the parameter2 defined in the program definition file.

格納データ121cは、撮像部107やバーコードリーダ12が取得したデータ(または該データを示す情報)を登録したものである。具体的には、keyとして格納したデータの種別(パス、データ本体およびエンコード形式など)を登録する。valueとして取得したデータを示す情報(パスの内容、データ本体およびエンコードしたデータ本体)を登録する。格納データ121cとしては、例えば図5(A)(B)(C)で示すような情報が登録され得る。   The stored data 121c is obtained by registering data (or information indicating the data) acquired by the imaging unit 107 or the barcode reader 12. Specifically, the type of data stored as the key (path, data body, encoding format, etc.) is registered. Information indicating the data acquired as value (path contents, data body and encoded data body) is registered. As the stored data 121c, for example, information as shown in FIGS. 5A, 5B, and 5C can be registered.

例えば図5(A)では格納データ121cとして(key,value)のペア(path,.../img/common/img001.jpg)が登録され得る。keyである“path”は、valueに格納された情報が、デバイスにより取得されたデータ本体へのパスであることを示す。valueである“.../img/common/img001.jpg”は、デバイスにより取得されたデータ本体へのパスである。   For example, in FIG. 5A, a pair (path,... /Img/common/img001.jpg) of (key, value) can be registered as the stored data 121c. The key “path” indicates that the information stored in the value is a path to the data body acquired by the device. The value “.. ./img/common/img001.jpg” is a path to the data body acquired by the device.

また、例えば図5(B)では格納データ121cとして(key,value)のペア(data,328931)が登録され得る。keyである“data”は、valueに格納された情報が、デバイスにより取得されたデータ本体であることを示す。valueである“328931”は、デバイスにより取得されたデータ本体である。   For example, in FIG. 5B, a pair (data, 328931) of (key, value) can be registered as the stored data 121c. The key “data” indicates that the information stored in the value is the data body acquired by the device. The value “328931” is the data body acquired by the device.

また、例えば図5(C)で示すように、格納データ121cとして(key,value)のペア(base64,LS0tIW5nHJ・・・)が登録され得る。keyである“base64”は、valueに格納された情報が、デバイスにより取得したデータ本体をBase64でエンコードしたものであることを示す。valueである“LS0tIW5nHJ・・・”は、デバイスにより取得されたデータ本体をBase64によりエンコードしたものである。例えば、制御部152は、valueにバイナリデータを格納できない場合に画像などのバイナリデータをBase64でエンコードしてから、ローカルストレージ121に登録してもよい。   For example, as shown in FIG. 5C, a pair (base64, LS0tIW5nHJ...) Of (key, value) can be registered as the storage data 121c. The key “base64” indicates that the information stored in the value is obtained by encoding the data body acquired by the device in Base64. The value “LS0tIW5nHJ...” is obtained by encoding the data body acquired by the device with Base64. For example, when the binary data cannot be stored in the value, the control unit 152 may encode binary data such as an image with Base64 and then register the binary data in the local storage 121.

なお、WebSQLDatabaseやローカルディレクトリの任意のファイルを用いる場合でも、ローカルストレージ121と同様のデータ構造を実装できる。ローカルディレクトリの任意のファイルを用いる場合には、例えば、CSV(Comma Separated Values)形式やXML形式のファイルを用いてもよい。   Note that the same data structure as that of the local storage 121 can be implemented even when an arbitrary file in the WebSQL Database or the local directory is used. When using an arbitrary file in the local directory, for example, a CSV (Comma Separated Values) format file or an XML format file may be used.

HTML5で規定されるローカルストレージ121、WebSQLDataBaseおよびローカルディレクトリの任意のファイルなどは、データの有効期限の有無や設定値を任意に設定可能である。データを永続的に保持することも可能である。また、複数の異なるWebページやアプリケーションからのアクセスについても、制限の有無や制限範囲を任意に設定可能である。このため、任意のアプリケーションから容易にアクセス可能である。ここで、例えば、cookieを利用することも考えられる。しかし、cookieを利用する場合、有効期限、アクセス制限、サイズおよび個数などの仕様上の制約があり、扱い難い。これに対し、本実施の形態のようにローカルストレージ121などを用いることで、cookieに課されるような制約を受けずに、複数のアプリケーションにより各種データを容易に扱える。   For the local storage 121, WebSQLDataBase, and any file in the local directory defined by HTML5, the presence / absence of the data expiration date and the setting value can be arbitrarily set. It is also possible to keep the data permanently. In addition, with respect to accesses from a plurality of different Web pages and applications, it is possible to arbitrarily set whether or not there is a restriction and a restriction range. Therefore, it can be easily accessed from any application. Here, for example, it is conceivable to use cookie. However, when using cookie, there are restrictions on specifications such as expiration date, access restriction, size and number, and it is difficult to handle. On the other hand, by using the local storage 121 or the like as in the present embodiment, various data can be easily handled by a plurality of applications without being restricted by the cookie.

図6は、プログラム定義ファイルの例を示す図である。プログラム定義ファイル131は、記憶部130に格納される。プログラム定義ファイル131は、文字列とデバイス制御用のプログラムとの対応付けを定義した定義情報である。また、プログラム定義ファイル131には、該プログラムを実行する際に用いるパラメータも定義される。プログラム定義ファイル131には、レコード131a,131b,131c,131d,131e,131f,131g,131h,131i,131j,131kが含まれる。   FIG. 6 is a diagram illustrating an example of a program definition file. The program definition file 131 is stored in the storage unit 130. The program definition file 131 is definition information that defines a correspondence between a character string and a device control program. The program definition file 131 also defines parameters used when executing the program. The program definition file 131 includes records 131a, 131b, 131c, 131d, 131e, 131f, 131g, 131h, 131i, 131j, and 131k.

レコード131a,131e,131iは、該レコードよりも下の行に属するレコードの種別を示すものである。例えば、レコード131aには、“[Command][Execute]”と記述されている。これは、レコード131b,131c,131dが、命令種別“Execute”(動作実行)に対応するデバイス制御用のプログラムを定義した情報であることを示す。   The records 131a, 131e, and 131i indicate the types of records that belong to the lower row than the record. For example, “[Command] [Execute]” is described in the record 131a. This indicates that the records 131b, 131c, and 131d are information that defines a device control program corresponding to the instruction type “Execute” (operation execution).

具体的には、レコード131bには、“Camera(1)=/program/ExecCamera.dat”と記述されている。これは、“Camera”という文字列に対してデバイス制御用のプログラム“/program/ExecCamera.dat”を対応付けたものであり、該プログラムがデバイスによる処理を実行する際に呼び出すものであることを示す。ここで、レコード131bで示されるプログラムは、撮像部107による静止画の撮像を制御するプログラムである。また、左辺の“Camera”の文字列に付加された“(1)”の文字列は、該プログラムが、撮像部107による一連の処理の最初に呼び出すものであることを示す。例えば、該プログラムの次に呼び出すプログラムに対応する文字列には、“(2)”を付す。更にその次であれば“(3)”を付す。単一のプログラムを呼び出して処理を行う場合には、“(1)”を付したレコードのみを定義する。   Specifically, the record 131b describes “Camera (1) = / program / ExecCamera.dat”. This is a device control program “/program/ExecCamera.dat” associated with the character string “Camera” and is called when the program executes processing by the device. Show. Here, the program indicated by the record 131b is a program for controlling the imaging of a still image by the imaging unit 107. The character string “(1)” added to the character string “Camera” on the left side indicates that the program is to be called at the beginning of a series of processes by the imaging unit 107. For example, “(2)” is added to a character string corresponding to a program to be called next to the program. If it is next, “(3)” is added. When processing is performed by calling a single program, only the record with “(1)” is defined.

レコード131c,131dも、レコード131bと同様の記述方法である。ここで、レコード131cは、移動通信部104の停止および近距離無線通信部105の起動を制御するプログラムを示すものとする。レコード131dは、バーコードリーダ12でのバーコードの読み取り、読み取ったコードのクライアント100への送信を制御するプログラムを示すものとする。このように、データ取得の一連の処理におけるデバイスの実行/停止を複数のプログラムに記述し、実行する順番を“(1)”、“(2)”のように記述する。   The records 131c and 131d have the same description method as the record 131b. Here, the record 131c indicates a program for controlling the stop of the mobile communication unit 104 and the activation of the short-range wireless communication unit 105. The record 131d indicates a program for controlling reading of a barcode by the barcode reader 12 and transmission of the read code to the client 100. In this way, device execution / stop in a series of data acquisition processes is described in a plurality of programs, and the execution order is described as “(1)”, “(2)”.

また、例えば、レコード131eには、“[Command][Stop]”と記述されている。これは、レコード131fが、命令種別“Stop”(動作停止)に対応するデバイス制御用のプログラムを定義した情報であることを示す。   Further, for example, “[Command] [Stop]” is described in the record 131e. This indicates that the record 131f is information defining a device control program corresponding to the instruction type “Stop” (operation stop).

具体的には、レコード131fには、“Camera(1)=/program/StopCamera.dat”と記述されている。これは、“Camera”という文字列に対してデバイス制御用のプログラム“/program/StopCamera.dat”を対応付けたものであり、該プログラムがデバイスの動作を停止する際に呼び出すものであることを示す。ここで、レコード131fで示されるプログラムは、撮像部107の動作停止を制御するプログラムである。なお、左辺の“Camera”の文字列に付加された“(1)”の文字列の示す意味は、レコード131bと同様である。   Specifically, the record 131f describes “Camera (1) = / program / StopCamera.dat”. This is that the device control program “/program/StopCamera.dat” is associated with the character string “Camera” and is called when the program stops the operation of the device. Show. Here, the program indicated by the record 131 f is a program for controlling the operation stop of the imaging unit 107. The meaning of the character string “(1)” added to the character string “Camera” on the left side is the same as that of the record 131b.

レコード131g,131hも、レコード131fと同様の記述方法である。ここで、レコード131gは、バーコードリーダ12の停止を制御するプログラムを示すものとする。レコード131hは、近距離無線通信部105の停止および移動通信部104の起動を制御するプログラムを示すものとする。   The records 131g and 131h are described in the same manner as the record 131f. Here, the record 131g indicates a program for controlling the stop of the barcode reader 12. The record 131h indicates a program that controls stop of the short-range wireless communication unit 105 and activation of the mobile communication unit 104.

また、例えば、レコード131iには、“[parameteres][Execute]”と記述されている。これは、レコード131j,131kが、命令種別“Execute”に対応するデバイス制御用のプログラムを実行する際に、そのプログラムに入力するパラメータを定義した情報であることを示す。   In addition, for example, “[parameters] [Execute]” is described in the record 131i. This indicates that the records 131j and 131k are information defining parameters to be input to the program when the device control program corresponding to the instruction type “Execute” is executed.

具体的には、レコード131jには、“Camera(1)=param1(size),param2(frequency)”と記述されている。これは、“Camera”という文字列に対して、命令種別“Execute”の制御用プログラム(レコード131bに対応)を実行する場合に、該プログラムに入力するパラメータを定義している。より具体的には、“param1”で指定された値は、該プログラム中のパラメータ“size”に設定すること、“param2”で指定された値は該プログラム中のパラメータ“frequency”に設定すること、を示す。ここで、パラメータ“size”は、撮像部107により撮像される画像データのサイズ(幅×高さの画素数)を示す。また、パラメータ“frequency”は、撮像部107による撮像の回数を示す。   Specifically, the record 131j describes “Camera (1) = param1 (size), param2 (frequency)”. This defines the parameters to be input to the control string (corresponding to the record 131b) of the instruction type “Execute” for the character string “Camera”. More specifically, the value specified by “param1” is set to the parameter “size” in the program, and the value specified by “param2” is set to the parameter “frequency” in the program. , Indicate. Here, the parameter “size” indicates the size of the image data captured by the imaging unit 107 (width × height pixel count). The parameter “frequency” indicates the number of times of imaging by the imaging unit 107.

レコード131kも、レコード131jと同様の記述方法である。ここで、レコード131kは、レコード131cで示されるプログラムを実行する際に入力するパラメータを定義したものである。より具体的には、“param1”で指定された値は該プログラム中のパラメータ“mode”に設定すること、“param2”で指定された値は該プログラム中のパラメータ“connect”に設定することを示す。ここで、パラメータ“mode”は、接続のための所定のモードを指定する情報である。パラメータ“connect”は、Bluetooth接続に用いるプロファイルなどを指定する情報である。   The record 131k has the same description method as the record 131j. Here, the record 131k defines parameters to be input when executing the program indicated by the record 131c. More specifically, the value specified by “param1” should be set to the parameter “mode” in the program, and the value specified by “param2” should be set to the parameter “connect” in the program. Show. Here, the parameter “mode” is information for designating a predetermined mode for connection. The parameter “connect” is information for designating a profile or the like used for Bluetooth connection.

なお、“BScan”の文字列に対応付けられた制御用プログラムはレコード131c,131dの2種類存在している。これに対し、レコード131c,131kでは、左辺の“BScan”に付加された文字列“(1)”が一致している。これによって、レコード131c,131kを対応付けることができる。   There are two types of control programs 131c and 131d associated with the character string “BSscan”. On the other hand, in the records 131c and 131k, the character string “(1)” added to “BSscan” on the left side matches. As a result, the records 131c and 131k can be associated with each other.

更に、パラメータの入力が不要な場合には、パラメータの定義は記述されない。また、制御用プログラムに対して定義するパラメータの数は、1つでもよいし、2つ以上の複数個でもよい。   Further, when the parameter input is unnecessary, the parameter definition is not described. Further, the number of parameters defined for the control program may be one, or may be two or more.

図7は、業務支援画面の例を示す図である。図7(A)は業務支援画面300を例示している。図7(B)は業務支援画面300aを例示している。
業務支援画面300は、取得するデータを選択するための画面である。保守員は、Webブラウザ140上で、業務支援画面300のURLを指定する。すると、Webブラウザ140は、サーバ200から該URLに対応するHTMLファイルを取得し、業務支援画面300をディスプレイ108aに表示させる。業務支援画面300には、撮像ボタン310、バーコード読取ボタン320および終了ボタン330が表示されている。
FIG. 7 is a diagram illustrating an example of a business support screen. FIG. 7A illustrates a business support screen 300. FIG. 7B illustrates a business support screen 300a.
The business support screen 300 is a screen for selecting data to be acquired. The maintenance staff designates the URL of the business support screen 300 on the Web browser 140. Then, the Web browser 140 acquires an HTML file corresponding to the URL from the server 200 and displays the business support screen 300 on the display 108a. On the business support screen 300, an imaging button 310, a barcode reading button 320, and an end button 330 are displayed.

撮像ボタン310は、保守対象の情報機器を撮像部107で撮像し、静止画のデータを取得するためのボタンである。バーコード読取ボタン320は、保守対象の情報機器に付されたバーコードを、バーコードリーダ12により読み取り、読取結果を取得するためのボタンである。終了ボタン330は、業務支援画面300を閉じて作業を終了するためのボタンである。終了ボタン330は、撮像ボタン310またはバーコード読取ボタン320を押下した後で、各ボタンによって実行された処理を終了するためのボタンとして用いてもよい。   The imaging button 310 is a button for capturing an image of the maintenance target information device by the imaging unit 107 and acquiring still image data. The barcode reading button 320 is a button for reading a barcode attached to the maintenance target information device by the barcode reader 12 and acquiring a reading result. The end button 330 is a button for closing the work support screen 300 and ending the work. The end button 330 may be used as a button for ending the process executed by each button after the imaging button 310 or the barcode reading button 320 is pressed.

業務支援画面300aは、撮像ボタン310が押下された後、撮像部107が取得した静止画のデータを閲覧・選択するための画面である。例えば、業務支援画面300aの領域310aには、画像311a,312a,313aが表示されている。例えば、保守員は、領域310aに対してフリック操作(例えば、左右方向)する。すると、Webブラウザ140は領域310a内の表示をスクロールする(何れかの画像を中央に配置させる)。また、例えば、保守員は、画像311a,312a,313aに対してタップ操作する。すると、Webブラウザ140は、タップされた画像の選択を受け付け、該画像を更に拡大表示する、あるいは、サーバ200に送信する、などの処理を行う。   The business support screen 300a is a screen for browsing / selecting still image data acquired by the imaging unit 107 after the imaging button 310 is pressed. For example, images 311a, 312a, and 313a are displayed in the area 310a of the business support screen 300a. For example, the maintenance staff performs a flick operation (for example, in the left-right direction) on the area 310a. Then, the Web browser 140 scrolls the display in the area 310a (places any image in the center). Further, for example, the maintenance staff taps the images 311a, 312a, and 313a. Then, the Web browser 140 accepts selection of the tapped image and performs processing such as further enlarging the image or transmitting it to the server 200.

図8は、業務支援画面のHTMLファイルの記述例を示す図である。HTMLファイル400では、業務支援画面300で示した表示内容に対応する記述を抜粋している。HTMLファイル400は、記述410,420を含む。   FIG. 8 is a diagram illustrating a description example of the HTML file of the business support screen. In the HTML file 400, descriptions corresponding to the display contents shown on the business support screen 300 are extracted. The HTML file 400 includes descriptions 410 and 420.

記述410は、撮像ボタン310を記述したものである。撮像ボタン310が押下されたときに、所定のディレクトリに配置されたスクリプトファイル“Camera.js”内に定義された関数“ExecCamera()”を実行することを示す。   A description 410 describes the imaging button 310. When the imaging button 310 is pressed, the function “ExecCamera ()” defined in the script file “Camera.js” arranged in a predetermined directory is executed.

記述420は、バーコード読取ボタン320を記述したものである。バーコード読取ボタン320が押下されたときに、所定のディレクトリに配置されたスクリプトファイル“BScan.js”内に定義された関数“ExecBScan()”を実行することを示す。   A description 420 describes the barcode reading button 320. When the barcode reading button 320 is pressed, the function “ExecBSscan ()” defined in the script file “BSscan.js” arranged in a predetermined directory is executed.

図9は、スクリプトの記述例を示す図である。図9(A)はスクリプトファイル500(“Camera.js”)を示す。図9(B)はスクリプトファイル600(BScan.js)を示す。スクリプトファイル500,600は、例えば、JavaScript形式で記述される。   FIG. 9 is a diagram illustrating a description example of a script. FIG. 9A shows a script file 500 (“Camera.js”). FIG. 9B shows a script file 600 (BSscan.js). The script files 500 and 600 are described in a JavaScript format, for example.

スクリプトファイル500は、関数“ExecCamera()”、“StopCamera()”および“selectImg()”を含む。関数“ExecCamera()”は、撮像部107の実行制御を行うときに用いる関数である。関数“StopCamera()”は、撮像部107の停止制御を行うときに用いる関数である。関数“selectImg()”は、撮像部107が取得した画像データの表示および選択受付に用いる関数である。   The script file 500 includes functions “ExecCamera ()”, “StopCamera ()”, and “selectImg ()”. The function “ExecCamera ()” is a function used when performing execution control of the imaging unit 107. The function “StopCamera ()” is a function used when stop control of the imaging unit 107 is performed. The function “selectImg ()” is a function used for displaying the image data acquired by the imaging unit 107 and accepting selection.

例えば、関数“ExecCamera()”は、コード510,520,530を含む。コード510,520,530は、(key,value)ペアをローカルストレージ121に登録する処理を記述したものである。   For example, the function “ExecCamera ()” includes codes 510, 520, and 530. Codes 510, 520, and 530 describe processing for registering a (key, value) pair in the local storage 121.

コード510は、(Execute,Camera)を登録する処理である。コード520は、(param1,600x400)を登録する処理である。コード530は、(param2,3)を登録する処理である。   The code 510 is a process for registering (Execute, Camera). The code 520 is a process for registering (param1, 600 × 400). The code 530 is a process for registering (param2, 3).

なお、コード520,530の何れかまたは両方を含まなくてもよい。パラメータが指定されない場合には、制御部152は、デフォルトの設定によって撮像部107を制御する。   Note that either or both of the codes 520 and 530 may not be included. When no parameter is specified, the control unit 152 controls the imaging unit 107 with default settings.

また、例えば、関数“StopCamera()”は、コード540を含む。コード540は、(key,value)のペア(Stop,Camera)をローカルストレージ121に登録する処理である。   For example, the function “StopCamera ()” includes a code 540. The code 540 is a process of registering the (key, value) pair (Stop, Camera) in the local storage 121.

スクリプトファイル600は、関数“ExecBScan()”および“StopBScan()”を含む。関数“ExecBScan()”は、バーコードリーダ12によるバーコード読取を行うときに用いる関数である。関数“StopBScan()”は、バーコード読取を終了するときに用いる関数である。関数“ExecBScan()”は、コード610,620,630を含む。コード610,620,630は、(key,value)ペアをローカルストレージ121に登録する処理を記述したものである。   The script file 600 includes functions “ExecBSscan ()” and “StopBSscan ()”. The function “ExecBscan ()” is a function used when the barcode reader 12 performs barcode reading. The function “StopBscan ()” is a function used when the barcode reading is finished. The function “ExecBSscan ()” includes codes 610, 620, and 630. Codes 610, 620, and 630 describe processing for registering a (key, value) pair in the local storage 121.

コード610は、(Execute,BScan)を登録する処理である。コード620は、(param1,mode01)を登録する処理である。コード630は、(param2,profile01)を登録する処理である。   Code 610 is a process for registering (Execute, BSscan). The code 620 is a process for registering (param1, mode01). The code 630 is a process for registering (param2, profile01).

なお、コード620,630の何れかまたは両方を含まなくてもよい。パラメータが指定されない場合には、制御部152は、予め設定されたデフォルトのパラメータを用いて、移動通信部104、近距離無線通信部105およびバーコードリーダ12を制御する。   One or both of the codes 620 and 630 may not be included. When the parameter is not specified, the control unit 152 controls the mobile communication unit 104, the short-range wireless communication unit 105, and the barcode reader 12 using preset default parameters.

また、例えば、関数“StopBScan()”は、コード640を含む。コード640は、(key,value)のペア(Stop,BScan)をローカルストレージ121に登録する処理である。   Further, for example, the function “StopBscan ()” includes the code 640. The code 640 is a process for registering a pair (Stop, BSscan) of (key, value) in the local storage 121.

また、スクリプトファイル500,600に記述された関数は、HTMLファイル400内に記述されてもよい。
次に、以上の構成のクライアント100の処理手順を説明する。以下の説明では、撮像部107で画像データを取得し、サーバ200へアップロードする制御を例示する。
Further, the functions described in the script files 500 and 600 may be described in the HTML file 400.
Next, a processing procedure of the client 100 having the above configuration will be described. In the following description, control of acquiring image data by the imaging unit 107 and uploading it to the server 200 will be exemplified.

図10は、クライアントの処理例を示すフローチャートである。以下、図10に示す処理をステップ番号に沿って説明する。なお、ステップS11の処理の直前では、ローカルストレージ121内のデータは全てクリアされているものとする。   FIG. 10 is a flowchart illustrating a processing example of the client. In the following, the process illustrated in FIG. 10 will be described in order of step number. It is assumed that all data in the local storage 121 is cleared immediately before the process of step S11.

(ステップS11)Webブラウザ140は、サーバ200からHTMLファイル400を受信する。Webブラウザ140は、HTMLファイル400に基づいて、業務支援画面300をディスプレイ108aに表示させる。   (Step S <b> 11) The Web browser 140 receives the HTML file 400 from the server 200. The web browser 140 displays the business support screen 300 on the display 108 a based on the HTML file 400.

(ステップS12)Webブラウザ140は、保守員による撮像ボタン310へのタップ操作を受け付ける。
(ステップS13)Webブラウザ140は、ローカルストレージ121に制御情報を登録する。具体的には、(key,value)のペア(Execute,Camera)を登録する。また、(param1,600x400)および(param2,3)を登録する。
(Step S <b> 12) The web browser 140 receives a tap operation on the imaging button 310 by a maintenance staff.
(Step S <b> 13) The Web browser 140 registers control information in the local storage 121. Specifically, a pair (Execute, Camera) of (key, value) is registered. Also, (param1,600x400) and (param2,3) are registered.

(ステップS14)判定部151は、ローカルストレージ121を監視している。判定部151は、ステップS13でローカルストレージ121に(key,value)=(Execute,Camera)の制御情報が登録されたことを検出する。すると、プログラム定義ファイル131を参照し、命令種別“Execute”に係る制御用プログラムに対応する文字列が、key“Execute”のvalueに含まれるか判定する。含まれる場合、処理をステップS15に進める。含まれない場合、処理を終了する。ここで、「制御用プログラムに対応する文字列」とは、レコード131b、131c、131dの左辺の文字列のうち“()”記号と“()”記号内の数値を除く文字列である。ここでは、key“Execute”に対して、value“Camera”がローカルストレージ121に登録されている。このとき、判定部151は、プログラム定義ファイル131のレコード131bの左辺で示される文字列“Camera”が、制御情報に含まれると判定する。   (Step S14) The determination unit 151 monitors the local storage 121. The determination unit 151 detects that control information (key, value) = (Execute, Camera) is registered in the local storage 121 in step S13. Then, the program definition file 131 is referred to and it is determined whether the character string corresponding to the control program related to the instruction type “Execute” is included in the value of the key “Execute”. If included, the process proceeds to step S15. If not included, the process ends. Here, the “character string corresponding to the control program” is a character string excluding the numerical values in the “()” symbol and the “()” symbol among the character strings on the left side of the records 131b, 131c, and 131d. Here, the value “Camera” is registered in the local storage 121 for the key “Execute”. At this time, the determination unit 151 determines that the character string “Camera” indicated on the left side of the record 131b of the program definition file 131 is included in the control information.

(ステップS15)判定部151は、制御情報で指定された文字列に対応する制御用プログラムを特定する。具体的には、判定部151は、レコード131bの左辺の文字列“Camera”に対応する“/program/ExecCamera.dat”を特定する。判定部151は、特定したプログラムを制御部152に通知する。   (Step S15) The determination unit 151 specifies a control program corresponding to the character string specified by the control information. Specifically, the determination unit 151 identifies “/program/ExecCamera.dat” corresponding to the character string “Camera” on the left side of the record 131b. The determination unit 151 notifies the control unit 152 of the identified program.

(ステップS16)制御部152は、プログラム定義ファイル131を参照し、ステップS15で特定したプログラム(レコード131b)に対応するパラメータ定義用の文字列“param1”および“param2”を特定する(レコード131jに相当)。そして、制御部152は、ローカルストレージ121のkeyにパラメータ定義用の文字列を指定して、そのvalueを取得する。これによって、制御部152は、パラメータ“size”の設定値“600x400”およびパラメータ“frequency”の設定値“3”を得る。なお、パラメータ定義用の文字列がプログラム定義ファイル131内に定義されていない場合、あるいは、定義されていてもローカルストレージ121に対応するkeyが登録されていない場合には、本ステップをスキップしてステップS18に進む。   (Step S16) The control unit 152 refers to the program definition file 131 and specifies the character strings “param1” and “param2” for parameter definition corresponding to the program (record 131b) specified in step S15 (in the record 131j). Equivalent). Then, the control unit 152 specifies a character string for parameter definition in the key of the local storage 121, and acquires the value. Thereby, the control unit 152 obtains the setting value “600 × 400” of the parameter “size” and the setting value “3” of the parameter “frequency”. If the character string for parameter definition is not defined in the program definition file 131, or if it is defined but the key corresponding to the local storage 121 is not registered, skip this step. Proceed to step S18.

(ステップS17)制御部152は、判定部151から通知されたプログラムを呼び出して、撮像部107を制御する。詳細は後述する。
(ステップS18)制御部152は、撮像部107から画像データを取得する。例えば、撮像部107が3回撮像を行っていれば、制御部152は画像データを3つ取得する。制御部152は、所定のディレクトリ(例えば、“.../img/common/”)に画像データ(例えば、ファイル名“img001.jpg”)を書込む。複数の画像データがあれば、ファイル名を変更して複数の画像データを書込む。
(Step S <b> 17) The control unit 152 calls the program notified from the determination unit 151 and controls the imaging unit 107. Details will be described later.
(Step S <b> 18) The control unit 152 acquires image data from the imaging unit 107. For example, if the imaging unit 107 has performed imaging three times, the control unit 152 acquires three pieces of image data. The control unit 152 writes image data (for example, file name “img001.jpg”) in a predetermined directory (for example, “.. ./Img/common/”). If there are multiple image data, the file name is changed and multiple image data are written.

(ステップS19)制御部152は、画像データのパスをローカルストレージ121に登録する。具体的には、(key,value)のペア(path,.../img/common/img001.jpg)を登録する。keyである“path”は、valueが画像データへのパスを示す情報であることを示す。複数の画像データがあれば、複数のパスを登録する。   (Step S <b> 19) The control unit 152 registers the image data path in the local storage 121. Specifically, a pair (path,... /Img/common/img001.jpg) of (key, value) is registered. The key “path” indicates that the value is information indicating a path to the image data. If there are a plurality of image data, a plurality of paths are registered.

(ステップS20)Webブラウザ140は、ローカルストレージ121に新たな情報が登録されたことを検出する。すると、Webブラウザ140は、撮像部107の停止を指示する制御情報をローカルストレージ121に登録する。判定部151は、該制御情報の登録を検出すると、ステップS14,S15と同様の処理を行う。制御部152は、判定部151の判定結果に基づいて、撮像部107の停止を制御する。詳細は後述する。   (Step S <b> 20) The web browser 140 detects that new information has been registered in the local storage 121. Then, the Web browser 140 registers control information instructing to stop the imaging unit 107 in the local storage 121. When the determination unit 151 detects registration of the control information, the determination unit 151 performs the same processing as steps S14 and S15. The control unit 152 controls the stop of the imaging unit 107 based on the determination result of the determination unit 151. Details will be described later.

(ステップS21)Webブラウザ140は、keyとして“path”を指定して、ローカルストレージ121からパスの情報を取得する。Webブラウザ140は、該パスの指定に沿って、画像データを取得する。Webブラウザ140は、取得した画像データに基づいて、画像データを選択させるための業務支援画面300aを生成する。Webブラウザ140は、業務支援画面300aをディスプレイ108aに表示させる。   (Step S <b> 21) The Web browser 140 specifies “path” as the key, and acquires path information from the local storage 121. The web browser 140 acquires image data according to the designation of the path. The web browser 140 generates a business support screen 300a for selecting image data based on the acquired image data. The web browser 140 displays the business support screen 300a on the display 108a.

(ステップS22)Webブラウザ140は、保守員による画像の選択操作(タップ操作)の入力を受け付ける。例えば、画像312aの選択操作の入力を受け付ける。
(ステップS23)Webブラウザ140は、選択された画像312aに対応する画像データをサーバ200にアップロードする。アップロードのための処理は、例えば、HTMLファイル400に予め記述される。
(Step S22) The web browser 140 receives an input of an image selection operation (tap operation) by a maintenance staff. For example, an input of a selection operation for the image 312a is received.
(Step S <b> 23) The web browser 140 uploads image data corresponding to the selected image 312 a to the server 200. The upload process is described in advance in the HTML file 400, for example.

(ステップS24)Webブラウザ140は、ローカルストレージ121に格納されたデータを全て削除する。
ここで、ステップS19では、画像データへのパスに代えて、データ本体、あるいは、データ本体をBase64などにエンコードしたデータをローカルストレージ121に登録してもよい。その場合、keyには、格納したデータに応じて“data”や“base64”などの文字列を登録する(図5参照)。なお、データ形式として、例えば“base64”が指定されていた場合、Webブラウザ140は、ローカルストレージ121から取得したデータをBase64でデコードすることでデータ本体を復元し得る。何れの形式でデータをローカルストレージ121に格納するかは、制御部152に予め設定される。
(Step S24) The web browser 140 deletes all data stored in the local storage 121.
Here, in step S19, instead of the path to the image data, the data body or data obtained by encoding the data body into Base64 or the like may be registered in the local storage 121. In this case, a character string such as “data” or “base64” is registered in the key according to the stored data (see FIG. 5). For example, when “base64” is specified as the data format, the Web browser 140 can restore the data body by decoding the data acquired from the local storage 121 with the Base64. In which format the data is stored in the local storage 121 is preset in the control unit 152.

次に、ステップS17のデバイス実行制御の手順を説明する。
図11は、デバイス実行制御の処理例を示すフローチャートである。以下、図11に示す処理をステップ番号に沿って説明する。
Next, the device execution control procedure in step S17 will be described.
FIG. 11 is a flowchart illustrating a processing example of device execution control. In the following, the process illustrated in FIG. 11 will be described in order of step number.

(ステップS31)制御部152は、判定部151から通知された撮像部107の制御用プログラムを呼び出す。このとき、ステップS16で取得したパラメータがある場合には、該パラメータを呼び出したプログラムに入力する。該プログラムはCPU101により実行され、撮像部107が起動・実行制御される。   (Step S <b> 31) The control unit 152 calls the control program for the imaging unit 107 notified from the determination unit 151. At this time, if there is a parameter acquired in step S16, the parameter is input to the calling program. The program is executed by the CPU 101, and the imaging unit 107 is activated and executed.

(ステップS32)撮像部107は、保守対象の情報機器を撮像する。撮像方法は、例えば、ステップS31で入力されたパラメータにより指定される。例えば、“size”に“600x400”が入力された場合、幅600ピクセル、高さ400ピクセルの解像度で撮像する。また、例えば、“frequency”に“3”が入力された場合、所定の時間間隔で3回撮像する。   (Step S <b> 32) The imaging unit 107 images the maintenance target information device. The imaging method is specified by the parameter input in step S31, for example. For example, when “600 × 400” is input to “size”, an image is captured with a resolution of 600 pixels wide and 400 pixels high. For example, when “3” is input to “frequency”, the image is captured three times at predetermined time intervals.

(ステップS33)撮像部107は、撮像した画像データを制御部152に出力する。例えば、3回撮像していれば、画像データを3つ出力する。
このようにして、クライアント100は、業務支援画面300に対する操作に応じた制御情報をローカルストレージ121に登録する。クライアント100は、ローカルストレージ121内の制御情報に応じたデバイス制御用のプログラムを呼び出して、デバイスを制御する。
(Step S <b> 33) The imaging unit 107 outputs the captured image data to the control unit 152. For example, if the image is taken three times, three pieces of image data are output.
In this way, the client 100 registers control information corresponding to the operation on the business support screen 300 in the local storage 121. The client 100 calls a device control program corresponding to the control information in the local storage 121 to control the device.

次に、ステップS20のデバイス停止制御の手順を説明する。
図12は、デバイス停止制御の処理例を示すフローチャートである。以下、図12に示す処理をステップ番号に沿って説明する。
Next, the procedure of device stop control in step S20 will be described.
FIG. 12 is a flowchart illustrating a processing example of device stop control. In the following, the process illustrated in FIG. 12 will be described in order of step number.

(ステップS41)Webブラウザ140は、ローカルストレージ121に画像データのパスが登録されたことを検出すると、撮像部107の停止用の制御情報をローカルストレージ121に登録する。具体的には、(key,value)のペア(Stop,Camera)を登録する。   (Step S <b> 41) Upon detecting that the image data path is registered in the local storage 121, the Web browser 140 registers control information for stopping the imaging unit 107 in the local storage 121. Specifically, a (key, value) pair (Stop, Camera) is registered.

(ステップS42)判定部151は、ステップS41でローカルストレージ121に(key,value)=(Stop,Camera)の制御情報が登録されたことを検出する。すると、プログラム定義ファイル131を参照し、命令種別“Stop”に係る制御用プログラムに対応する文字列“Camera”が、ローカルストレージ121内のkey“Stop”に対するvalueとして含まれることを検出する。   (Step S42) The determination unit 151 detects that control information (key, value) = (Stop, Camera) is registered in the local storage 121 in step S41. Then, the program definition file 131 is referenced to detect that the character string “Camera” corresponding to the control program related to the instruction type “Stop” is included as a value for the key “Stop” in the local storage 121.

(ステップS43)判定部151は、制御情報で指定された文字列に対応する命令種別“Stop”の制御用プログラムを特定する。具体的には、判定部151は、レコード131fの左辺の文字列“Camera”に対応する“/program/StopCamera.dat”を特定する。判定部151は、特定したプログラムを制御部152に通知する。   (Step S43) The determination unit 151 specifies a control program of the instruction type “Stop” corresponding to the character string specified by the control information. Specifically, the determination unit 151 specifies “/program/StopCamera.dat” corresponding to the character string “Camera” on the left side of the record 131f. The determination unit 151 notifies the control unit 152 of the identified program.

(ステップS44)制御部152は、判定部151から通知された撮像部107の制御用プログラムを呼び出す。なお、本例では、ステップS41でローカルストレージ121にパラメータの登録がなされないものとしている。これに対し、停止制御を行う場合であっても、実行制御の場合と同様に、パラメータを指定してもよい。   (Step S <b> 44) The control unit 152 calls the control program for the imaging unit 107 notified from the determination unit 151. In this example, it is assumed that no parameters are registered in the local storage 121 in step S41. On the other hand, even when stop control is performed, parameters may be specified as in the case of execution control.

(ステップS45)制御部152が呼び出したプログラムがCPU101により実行され、撮像部107が停止される。
このようにして、クライアント100は、デバイスによってデータが取得されたことを検出し、該デバイスを停止するための制御情報をローカルストレージ121に登録する。
(Step S45) The program called by the control unit 152 is executed by the CPU 101, and the imaging unit 107 is stopped.
In this way, the client 100 detects that data has been acquired by the device, and registers control information for stopping the device in the local storage 121.

なお、デバイス停止制御の処理は、例えば、画像データのアップロードを完了した直後など、別のタイミングで実行してもよい。例えば、図10において、ステップS20は、ステップS21〜S23の何れかのステップの処理が完了した直後に実行されてもよい。また、例えば、ステップS20はステップS21〜S23と並行に実行されてもよい。   Note that the device stop control process may be executed at another timing, for example, immediately after the upload of the image data is completed. For example, in FIG. 10, step S20 may be executed immediately after the processing of any one of steps S21 to S23 is completed. For example, step S20 may be performed in parallel with steps S21 to S23.

次に、撮像部107の制御を行う際の構成間の関係を具体的に説明する。
図13は、撮像部の制御例を示すシーケンス図である。以下、図13に示す処理をステップ番号に沿って説明する。
Next, the relationship between the components when controlling the imaging unit 107 will be specifically described.
FIG. 13 is a sequence diagram illustrating an example of control of the imaging unit. In the following, the process illustrated in FIG. 13 will be described in order of step number.

(ステップST101)判定部151は、ローカルストレージ121を定期的に監視している。判定部151は、ローカルストレージ121の更新をチェックする。本ステップの段階では、ローカルストレージ121には何れの情報も登録されていない。このため、判定部151は更新を検出しない。   (Step ST101) The determination unit 151 regularly monitors the local storage 121. The determination unit 151 checks for an update of the local storage 121. At this stage, no information is registered in the local storage 121. For this reason, the determination unit 151 does not detect an update.

(ステップST102)サーバ200は、Webブラウザ140からのリクエストに応じて、業務支援画面300のHTMLファイル400を送信する。Webブラウザ140は、サーバ200からHTMLファイル400を受信する。   (Step ST102) In response to the request from the Web browser 140, the server 200 transmits the HTML file 400 of the business support screen 300. The web browser 140 receives the HTML file 400 from the server 200.

(ステップST103)Webブラウザ140は、業務支援画面300をディスプレイ108aに表示させる。Webブラウザ140は、撮像ボタン310に対するタップ操作を受け付ける。Webブラウザ140は、制御情報(key,value)=(Execute,Camera)などをローカルストレージ121に登録する。すると、Webブラウザ140は、ローカルストレージ121の所定周期での更新監視を開始する。   (Step ST103) The Web browser 140 displays the business support screen 300 on the display 108a. The web browser 140 accepts a tap operation on the imaging button 310. The Web browser 140 registers control information (key, value) = (Execute, Camera) and the like in the local storage 121. Then, the Web browser 140 starts monitoring the update of the local storage 121 at a predetermined cycle.

(ステップST104)判定部151は、ローカルストレージ121の更新をチェックする。判定部151は、ローカルストレージ121が更新されたことを検出する。
(ステップST105)判定部151は、ステップST103でWebブラウザ140が登録した制御情報をローカルストレージ121から取得する。
(Step ST104) The determination unit 151 checks for an update of the local storage 121. The determination unit 151 detects that the local storage 121 has been updated.
(Step ST105) The determination unit 151 acquires the control information registered by the Web browser 140 from the local storage 121 in Step ST103.

(ステップST106)判定部151は、プログラム定義ファイル131に含まれる(命令種別“Execute”に係る)文字列“Camera”が制御情報のkey“Execute”に対応するvalueに含まれると判定する。すると、判定部151は、プログラム定義ファイル131を参照して、文字列“Camera”に対応する制御用プログラム(レコード131bに対応)を制御部152に通知する。   (Step ST106) The determination unit 151 determines that the character string “Camera” (related to the instruction type “Execute”) included in the program definition file 131 is included in the value corresponding to the key “Execute” of the control information. Then, the determination unit 151 refers to the program definition file 131 and notifies the control unit 152 of a control program (corresponding to the record 131b) corresponding to the character string “Camera”.

(ステップST107)Webブラウザ140は、ローカルストレージ121の更新をチェックする。本ステップの段階では、ローカルストレージ121は更新されていない。このため、Webブラウザ140は更新を検出しない。   (Step ST107) The Web browser 140 checks for an update of the local storage 121. At the stage of this step, the local storage 121 has not been updated. For this reason, the Web browser 140 does not detect an update.

(ステップST108)制御部152は、判定部151から通知された制御用プログラムを呼び出して、撮像部107による情報機器の撮像を制御する。制御情報としてパラメータが指定されている場合には、該パラメータを制御用プログラムに入力して撮像部107を制御する。   (Step ST108) The control part 152 calls the control program notified from the determination part 151, and controls the imaging of the information equipment by the imaging part 107. When a parameter is designated as the control information, the parameter is input to the control program to control the imaging unit 107.

(ステップST109)制御部152は、撮像部107が生成した画像データを取得する。
(ステップST110)制御部152は、撮像部107が生成した画像データを所定のディレクトリに格納する。制御部152は、該画像データのパスをローカルストレージ121に登録する。例えば、(key,value)=(path,.../img/common/img001.jpg)である。
(Step ST109) The control unit 152 acquires the image data generated by the imaging unit 107.
(Step ST110) The control unit 152 stores the image data generated by the imaging unit 107 in a predetermined directory. The control unit 152 registers the path of the image data in the local storage 121. For example, (key, value) = (path,... /Img/common/img001.jpg).

(ステップST111)Webブラウザ140は、ローカルストレージ121の更新をチェックする。Webブラウザ140は、ローカルストレージ121が更新されたことを検出する。Webブラウザ140は、監視を停止する。   (Step ST111) The Web browser 140 checks for an update of the local storage 121. The web browser 140 detects that the local storage 121 has been updated. The web browser 140 stops monitoring.

(ステップST112)Webブラウザ140は、制御情報(key,value)=(Stop,Camera)をローカルストレージ121に登録する。すると、判定部151および制御部152により、撮像部107の停止制御が開始される(後述する)。   (Step ST112) The Web browser 140 registers the control information (key, value) = (Stop, Camera) in the local storage 121. Then, stop control of the imaging unit 107 is started by the determination unit 151 and the control unit 152 (described later).

(ステップST113)Webブラウザ140は、ローカルストレージ121から新たに登録された画像データのパスを取得する。
(ステップST114)Webブラウザ140は、該パスから画像データを取得して、サーバ200に送信する。サーバ200は、該画像データを受信して、所定の記憶部に格納する。
(Step ST113) The web browser 140 acquires the path of the newly registered image data from the local storage 121.
(Step ST114) The web browser 140 acquires image data from the path and transmits it to the server 200. The server 200 receives the image data and stores it in a predetermined storage unit.

(ステップST115)Webブラウザ140は、ローカルストレージ121に格納されたデータ(制御情報や取得されたデータ)を消去する。
次に、ステップST112から派生する撮像部107の停止制御を説明する。
(Step ST115) The Web browser 140 deletes data (control information and acquired data) stored in the local storage 121.
Next, stop control of the imaging unit 107 derived from step ST112 will be described.

図14は、撮像部の制御例を示すシーケンス図(続き)である。以下、図14に示す処理をステップ番号に沿って説明する。
(ステップST121)判定部151は、ローカルストレージ121の更新をチェックする。判定部151は、ローカルストレージ121が更新されたことを検出する。なお、本ステップは、ステップST114よりも前に実行される。
FIG. 14 is a sequence diagram (continued) illustrating an example of control of the imaging unit. In the following, the process illustrated in FIG. 14 will be described in order of step number.
(Step ST121) The determination unit 151 checks the update of the local storage 121. The determination unit 151 detects that the local storage 121 has been updated. This step is executed before step ST114.

(ステップST122)判定部151は、Webブラウザ140がステップST112で登録した制御情報をローカルストレージ121から取得する。
(ステップST123)判定部151は、プログラム定義ファイル131に含まれる(命令種別“Stop”に係る)文字列“Camera”が制御情報のkey“Stop”に対応するvalueに含まれると判定する。すると、判定部151は、プログラム定義ファイル131を参照して、文字列“Camera”に対応する制御用プログラム(レコード131fに対応)を制御部152に通知する。
(Step ST122) The determination unit 151 acquires the control information registered by the Web browser 140 in Step ST112 from the local storage 121.
(Step ST123) The determination unit 151 determines that the character string “Camera” (related to the instruction type “Stop”) included in the program definition file 131 is included in the value corresponding to the key “Stop” of the control information. Then, the determination unit 151 refers to the program definition file 131 and notifies the control unit 152 of a control program (corresponding to the record 131f) corresponding to the character string “Camera”.

(ステップST124)制御部152は、判定部151から通知された制御プログラムを呼び出して、撮像部107を停止させる。
このようにして、クライアント100は、撮像部107の一連の制御を行う。
(Step ST124) The control part 152 calls the control program notified from the determination part 151, and stops the imaging part 107. FIG.
In this way, the client 100 performs a series of controls of the imaging unit 107.

次に、移動通信部104、近距離無線通信部105およびバーコードリーダ12を制御し、情報機器に付されたバーコードを読み取る処理の例を説明する。
図15は、バーコード読取の制御例を示すシーケンス図である。以下、図15に示す処理をステップ番号に沿って説明する。
Next, an example of processing for controlling the mobile communication unit 104, the short-range wireless communication unit 105, and the barcode reader 12 to read the barcode attached to the information device will be described.
FIG. 15 is a sequence diagram illustrating a control example of barcode reading. In the following, the process illustrated in FIG. 15 will be described in order of step number.

(ステップST131)判定部151は、ローカルストレージ121を定期的に監視している。判定部151は、ローカルストレージ121の更新をチェックする。本ステップの段階では、ローカルストレージ121には何れの情報も登録されていない。このため、判定部151は更新を検出しない。   (Step ST131) The determination unit 151 periodically monitors the local storage 121. The determination unit 151 checks for an update of the local storage 121. At this stage, no information is registered in the local storage 121. For this reason, the determination unit 151 does not detect an update.

(ステップST132)サーバ200は、Webブラウザ140からのリクエストに応じて、業務支援画面300のHTMLファイル400を送信する。Webブラウザ140は、サーバ200からHTMLファイル400を受信する。   (Step ST132) In response to the request from the Web browser 140, the server 200 transmits the HTML file 400 of the business support screen 300. The web browser 140 receives the HTML file 400 from the server 200.

(ステップST133)Webブラウザ140は、業務支援画面300をディスプレイ108aに表示させる。Webブラウザ140は、バーコード読取ボタン320に対するタップ操作を受け付ける。Webブラウザ140は、制御情報(key,value)=(Execute,BScan)などをローカルストレージ121に登録する。すると、Webブラウザ140は、ローカルストレージ121の所定周期での更新監視を開始する。   (Step ST133) The web browser 140 displays the business support screen 300 on the display 108a. Web browser 140 accepts a tap operation on barcode reading button 320. The Web browser 140 registers control information (key, value) = (Execute, BScan) or the like in the local storage 121. Then, the Web browser 140 starts monitoring the update of the local storage 121 at a predetermined cycle.

(ステップST134)判定部151は、ローカルストレージ121の更新をチェックする。判定部151は、ローカルストレージ121が更新されたことを検出する。
(ステップST135)判定部151は、ステップST133でWebブラウザ140が登録した制御情報をローカルストレージ121から取得する。
(Step ST134) The determination unit 151 checks the update of the local storage 121. The determination unit 151 detects that the local storage 121 has been updated.
(Step ST135) The determination unit 151 acquires the control information registered by the Web browser 140 from the local storage 121 in Step ST133.

(ステップST136)判定部151は、プログラム定義ファイル131に含まれる(命令種別“Execute”に係る)文字列“BScan”が制御情報のkey“Execute”に対応するvalueに含まれると判定する。すると、判定部151は、プログラム定義ファイル131を参照して、文字列“BScan”に対応する制御用プログラム(レコード131c,131dに対応)を“()”で定義された順番にしたがって、制御部152に通知する。   (Step ST136) The determination unit 151 determines that the character string “BSscan” (related to the instruction type “Execute”) included in the program definition file 131 is included in the value corresponding to the key “Execute” of the control information. Then, the determination unit 151 refers to the program definition file 131 and controls the control program corresponding to the character string “BSscan” (corresponding to the records 131c and 131d) according to the order defined by “()”. 152 is notified.

(ステップST137)Webブラウザ140は、ローカルストレージ121の更新をチェックする。本ステップの段階では、ローカルストレージ121は更新されていない。このため、Webブラウザ140は更新を検出しない。   (Step ST137) The Web browser 140 checks for an update of the local storage 121. At the stage of this step, the local storage 121 has not been updated. For this reason, the Web browser 140 does not detect an update.

(ステップST138)制御部152は、判定部151から通知された最初の制御用プログラム(/program/ExecBT.dat)を呼び出して、移動通信部104を停止させる。   (Step ST138) The control unit 152 calls the first control program (/program/ExecBT.dat) notified from the determination unit 151, and stops the mobile communication unit 104.

(ステップST139)制御部152は、更に該プログラムにより、近距離無線通信部105を起動し、バーコードリーダ12との通信を確立させる。
(ステップST140)制御部152は、判定部151から通知された次の制御用プログラム(/program/ExecBR.dat)を呼び出し、近距離無線通信部105を介したバーコードリーダ12のバーコード読取を制御する。なお、ステップST138〜ST140において、制御情報としてパラメータが指定されている場合には、該パラメータを対応する各制御用プログラムに入力して各デバイスを制御する。
(Step ST139) The control unit 152 further activates the short-range wireless communication unit 105 by the program to establish communication with the barcode reader 12.
(Step ST140) The control unit 152 calls the next control program (/program/ExecBR.dat) notified from the determination unit 151, and reads the barcode of the barcode reader 12 via the short-range wireless communication unit 105. Control. If a parameter is specified as control information in steps ST138 to ST140, the parameter is input to the corresponding control program to control each device.

(ステップST141)制御部152は、近距離無線通信部105を介してバーコードリーダ12が読み取ったコードデータ(例えば、“328931”)を取得する。
(ステップST142)制御部152は、取得した読取データをローカルストレージ121に登録する。例えば、(key,value)=(data,328931)である。
(Step ST141) The control unit 152 acquires code data (for example, “328931”) read by the barcode reader 12 via the short-range wireless communication unit 105.
(Step ST142) The control unit 152 registers the acquired read data in the local storage 121. For example, (key, value) = (data, 328931).

(ステップST143)Webブラウザ140は、ローカルストレージ121の更新をチェックする。Webブラウザ140は、ローカルストレージ121が更新されたことを検出する。Webブラウザ140は、監視を停止する。   (Step ST143) The Web browser 140 checks for an update of the local storage 121. The web browser 140 detects that the local storage 121 has been updated. The web browser 140 stops monitoring.

(ステップST144)Webブラウザ140は、制御情報(key,value)=(Stop,BScan)をローカルストレージ121に登録する。すると、判定部151および制御部152により、バーコードリーダ12の停止制御が開始される(後述する)。   (Step ST144) The Web browser 140 registers the control information (key, value) = (Stop, BSscan) in the local storage 121. Then, stop control of the barcode reader 12 is started by the determination unit 151 and the control unit 152 (described later).

(ステップST145)Webブラウザ140は、ローカルストレージ121から新たに登録された読取データを取得する。このとき、読取データのkeyに“data”が指定されているため、Webブラウザ140は該読取データをデータ本体であると認識できる。   (Step ST145) The Web browser 140 acquires newly registered read data from the local storage 121. At this time, since “data” is specified in the key of the read data, the Web browser 140 can recognize the read data as the data body.

(ステップST146)Webブラウザ140は、取得した読取データをサーバ200に送信する。サーバ200は、該読取データを受信して、所定の記憶部に格納する。
(ステップST147)Webブラウザ140は、ローカルストレージ121に格納されたデータ(制御情報や取得されたデータ)を消去する。
(Step ST146) The Web browser 140 transmits the acquired read data to the server 200. The server 200 receives the read data and stores it in a predetermined storage unit.
(Step ST147) The web browser 140 deletes data (control information and acquired data) stored in the local storage 121.

次に、ステップST144から派生するバーコード読取処理の停止制御を説明する。
図16は、バーコード読取の制御例を示すシーケンス図(続き)である。以下、図16に示す処理をステップ番号に沿って説明する。
Next, stop control of the barcode reading process derived from step ST144 will be described.
FIG. 16 is a sequence diagram (continued) showing an example of bar code reading control. In the following, the process illustrated in FIG. 16 will be described in order of step number.

(ステップST151)判定部151は、ローカルストレージ121の更新をチェックする。判定部151は、ローカルストレージ121が更新されたことを検出する。なお、本ステップはステップST147よりも前に実行される。   (Step ST151) The determination unit 151 checks for an update of the local storage 121. The determination unit 151 detects that the local storage 121 has been updated. This step is executed before step ST147.

(ステップST152)判定部151は、Webブラウザ140がステップST144で登録した制御情報をローカルストレージ121から取得する。
(ステップST153)判定部151は、プログラム定義ファイル131に含まれる(命令種別“Stop”に係る)文字列“BScan”が制御情報のkey“Stop”に対応するvalueに含まれると判定する。すると、判定部151は、プログラム定義ファイル131を参照して、文字列“BScan”に対応する制御用プログラム(レコード131g,131hに対応)を“()”で定義された順番にしたがって、制御部152に通知する。
(Step ST152) The determination unit 151 acquires the control information registered by the Web browser 140 in Step ST144 from the local storage 121.
(Step ST153) The determination unit 151 determines that the character string “BSscan” (related to the instruction type “Stop”) included in the program definition file 131 is included in the value corresponding to the key “Stop” of the control information. Then, the determination unit 151 refers to the program definition file 131 and controls the control program (corresponding to the records 131g and 131h) corresponding to the character string “BSscan” according to the order defined by “()”. 152 is notified.

(ステップST154)制御部152は、判定部151から通知された最初の制御用プログラム(/program/StopBR.dat)を呼び出して、近距離無線通信部105とバーコードリーダ12との通信を切断させる。   (Step ST154) The control unit 152 calls the first control program (/program/StopBR.dat) notified from the determination unit 151, and disconnects the communication between the short-range wireless communication unit 105 and the barcode reader 12. .

(ステップST155)制御部152は、判定部151から通知された次の制御用プログラム(/program/StopBT.dat)を呼び出して、近距離無線通信部105を停止させる。   (Step ST155) The control unit 152 calls the next control program (/program/StopBT.dat) notified from the determination unit 151, and stops the short-range wireless communication unit 105.

(ステップST156)制御部152は、更に該プログラムにより、移動通信部104を起動する。
このようにして、クライアント100はバーコード読取を制御する。
(Step ST156) The control unit 152 further activates the mobile communication unit 104 by the program.
In this way, the client 100 controls barcode reading.

以上のように、サーバ200は、クライアント100で利用させたいデバイスをHTMLファイル400の記述により指定できる。HTMLファイル400は、Webブラウザ140で解析できる。Webブラウザ140は、クライアント100で一般的に利用可能なソフトウェアである。このため、例えば、サーバ200でデバイスの指定を追加・変更したい場合には、制御情報(key−valueペア)の設定値、あるいは、スクリプト中の関数の変更で対応可能である。よって、クライアント100やサーバ200においてアプリケーションなどの変更を伴わずに、デバイス指定の設定を容易に行える。更に、クライアント100は、プログラム定義ファイル131で定義された順番に沿ってプログラムを呼び出すことで、複数のデバイスによる一連の処理を実行できる。これにより、サーバ200から複数のデバイスを用いた制御の指定も容易に行える。   As described above, the server 200 can designate a device desired to be used by the client 100 by the description of the HTML file 400. The HTML file 400 can be analyzed by the Web browser 140. The web browser 140 is software that can be generally used by the client 100. For this reason, for example, when it is desired to add / change the designation of a device in the server 200, it can be dealt with by changing the setting value of the control information (key-value pair) or the function in the script. Therefore, setting of device designation can be easily performed without changing the application or the like in the client 100 or the server 200. Furthermore, the client 100 can execute a series of processes by a plurality of devices by calling programs in the order defined in the program definition file 131. Thereby, it is possible to easily specify control using a plurality of devices from the server 200.

また、呼び出し対象のプログラムに入力させるパラメータを指定することもできる。具体的には、パラメータを示す文字列“param”などをkeyとして、ローカルストレージ121に登録する。制御部152は、該keyとプログラム定義ファイル131とを参照して、登録されたパラメータが何れのプログラムに入力すべきものであるかを判断する。このようにして、デバイス指定に加えて、該デバイスを制御する際のパラメータの指定も容易に行える。   It is also possible to specify parameters to be input to the program to be called. Specifically, a character string “param” indicating a parameter is registered in the local storage 121 as a key. The control unit 152 refers to the key and the program definition file 131 and determines to which program the registered parameter is to be input. In this way, in addition to device designation, parameters for controlling the device can be easily designated.

また、制御部152は、ローカルストレージ121にデバイスが取得したデータに関する情報を格納する。これによって、他のアプリケーションによる該データを用いた処理を容易に実現することもできる。   In addition, the control unit 152 stores information regarding data acquired by the device in the local storage 121. Thereby, processing using the data by another application can be easily realized.

その際、制御部152は、格納するデータをvalueに、データ形式をkeyに設定する。これによって、アプリケーションは該データのデータ形式を容易に識別できる。例えば、keyに“path”が登録されていれば、データのパスであると識別できる。また、例えばkeyに“data”が登録されていれば、データ本体であると識別できる。また、例えばkeyに“base64”が登録されていれば、Base64でエンコードされたデータであると識別できる。これら以外の他のデータ形式を登録してもよい。具体的には、データの属性(例えば、データが備品コードであることを示す情報など)、取り扱い方(サーバ送信用およびサーバ非送信用など)などを登録することも考えられる。   At that time, the control unit 152 sets the data to be stored to value and the data format to key. Thereby, the application can easily identify the data format of the data. For example, if “path” is registered in the key, it can be identified as a data path. For example, if “data” is registered in the key, it can be identified as the data body. For example, if “base64” is registered in the key, it can be identified as data encoded in Base64. Other data formats other than these may be registered. Specifically, it is also conceivable to register data attributes (for example, information indicating that the data is equipment code), handling methods (for server transmission and server non-transmission), and the like.

[第3の実施の形態]
次に、第3の実施の形態を説明する。前述の第2の実施の形態との相違点を主に説明し、同様の事項の説明を省略する。
[Third Embodiment]
Next, a third embodiment will be described. Differences from the second embodiment will be mainly described, and description of similar matters will be omitted.

第2の実施の形態では、デバイス処理部150の機能をWebブラウザとは別個のアプリケーションにより実装する例を説明した。一方、デバイス処理部150の機能をWebブラウザに設けてもよい。そこで、第3の実施の形態では、デバイス処理部150の機能をWebブラウザに設ける場合を例示する。   In the second embodiment, the example in which the function of the device processing unit 150 is implemented by an application separate from the Web browser has been described. On the other hand, the function of the device processing unit 150 may be provided in the Web browser. Therefore, in the third embodiment, a case where the function of the device processing unit 150 is provided in a Web browser is illustrated.

ここで、第3の実施の形態の情報処理システムの全体構成は、図2で説明した第2の実施の形態の情報処理システムの全体構成と同様である。また、第3の実施の形態のクライアントのハードウェア例は、図3で説明した第2の実施の形態のクライアント100のハードウェア例と同様である。なお、第3の実施の形態のクライアントを第2の実施の形態のクライアント100と区別して、クライアント100aと称する。   Here, the overall configuration of the information processing system of the third embodiment is the same as the overall configuration of the information processing system of the second embodiment described in FIG. The hardware example of the client according to the third embodiment is the same as the hardware example of the client 100 according to the second embodiment described with reference to FIG. Note that the client of the third embodiment is referred to as a client 100a in order to distinguish it from the client 100 of the second embodiment.

図17は、第3の実施の形態のクライアントのソフトウェア例を示す図である。図17に示すユニットの一部または全部は、クライアント100aが実行するプログラムのモジュールであってもよい。また、図4に示すユニットの一部または全部は、FPGAやASICなどの電子回路であってもよい。   FIG. 17 is a diagram illustrating a software example of the client according to the third embodiment. 17 may be a module of a program executed by the client 100a. Also, some or all of the units shown in FIG. 4 may be electronic circuits such as FPGA and ASIC.

クライアント100aは、ファイルI/O部120、記憶部130およびWebブラウザ140aを有する。
ファイルI/O部120および記憶部130は、図4で同一の符号および名称を付して説明した第2の実施の形態の構成と同一である。
The client 100a includes a file I / O unit 120, a storage unit 130, and a web browser 140a.
The file I / O unit 120 and the storage unit 130 are the same as those in the second embodiment described with the same reference numerals and names in FIG.

Webブラウザ140aは、HTML処理部141、判定部142および制御部143を有する。
HTML処理部141は、サーバ200から取得したHTMLファイルに基づき、ディスプレイ108aに業務メニューなどの画面を表示させる。HTML処理部141は、該画面に対し、タッチパネル109aやキーパッド109bを用いた所定の操作入力を受け付ける。すると、HTML処理部141は、ファイルI/O部120に該操作入力に応じた所定の文字列を含む制御情報を登録する。すなわち、HTML処理部141は、図4で説明した第2の実施の形態のWebブラウザ140の主な機能を担う。
The web browser 140 a includes an HTML processing unit 141, a determination unit 142, and a control unit 143.
The HTML processing unit 141 displays a screen such as a business menu on the display 108 a based on the HTML file acquired from the server 200. The HTML processing unit 141 receives a predetermined operation input using the touch panel 109a and the keypad 109b for the screen. Then, the HTML processing unit 141 registers control information including a predetermined character string corresponding to the operation input in the file I / O unit 120. That is, the HTML processing unit 141 has the main function of the Web browser 140 according to the second embodiment described with reference to FIG.

判定部142は、ファイルI/O部120を監視する。判定部142は、HTML処理部141によりファイルI/O部120に制御情報が登録されたことを検出する。すると、判定部142は、記憶部130に記憶されたプログラム定義ファイルを参照して、プログラム定義ファイルで示される文字列が、制御情報に含まれているかを判定する。   The determination unit 142 monitors the file I / O unit 120. The determination unit 142 detects that control information has been registered in the file I / O unit 120 by the HTML processing unit 141. Then, the determination unit 142 refers to the program definition file stored in the storage unit 130 and determines whether the character string indicated by the program definition file is included in the control information.

制御部143は、判定部142によりプログラム定義ファイルで示される文字列が制御情報に含まれていると判定されると、プログラム定義ファイルを参照して、該文字列に対応するプログラムを特定する。制御部143は、特定したプログラムを呼び出すことで、移動通信部104、近距離無線通信部105および撮像部107などのデバイスを制御する。   When the determination unit 142 determines that the character string indicated by the program definition file is included in the control information, the control unit 143 refers to the program definition file and identifies the program corresponding to the character string. The control unit 143 controls devices such as the mobile communication unit 104, the short-range wireless communication unit 105, and the imaging unit 107 by calling the specified program.

また、制御部143は、デバイスからデータを取得する。例えば、撮像部107から撮像部107が撮像して得た画像データを取得する。また、例えば、バーコードリーダ12が読み取ったバーコードの値を近距離無線通信部105から取得する。制御部143は、デバイスから受け取ったデータを示す情報を、ファイルI/O部120に格納する。HTML処理部141により、デバイスから取得したデータに基づく処理を実行させるためである。例えば、HTML処理部141は、デバイスから取得したデータをディスプレイ108aに表示させることができる。また、HTML処理部141は、選択されたデータをサーバ200に送信することができる。   In addition, the control unit 143 acquires data from the device. For example, the image data obtained by the image capturing unit 107 from the image capturing unit 107 is acquired. For example, the barcode value read by the barcode reader 12 is acquired from the short-range wireless communication unit 105. The control unit 143 stores information indicating data received from the device in the file I / O unit 120. This is because the HTML processing unit 141 executes processing based on data acquired from the device. For example, the HTML processing unit 141 can display data acquired from the device on the display 108a. Further, the HTML processing unit 141 can transmit the selected data to the server 200.

ここで、第3の実施の形態のクライアント100aは、第1の実施の形態の情報処理装置1の一例である。また、判定部142は、判定手段1eの一例である。制御部143は、制御手段1fの一例である。   Here, the client 100a according to the third embodiment is an example of the information processing apparatus 1 according to the first embodiment. Moreover, the determination part 142 is an example of the determination means 1e. The control unit 143 is an example of the control unit 1f.

このような構成のクライアント100aもクライアント100と同様の処理を実行可能である。具体的には、第2の実施の形態の判定部151の処理を判定部142が行う。また、第2の実施の形態の制御部152の処理を制御部143が行う。   The client 100 a having such a configuration can execute the same processing as that of the client 100. Specifically, the determination unit 142 performs the processing of the determination unit 151 of the second embodiment. In addition, the control unit 143 performs the processing of the control unit 152 of the second embodiment.

このように、判定部142および制御部143の機能をWebブラウザ140aに設けてもよい。この場合にも、第2の実施の形態と同様の効果を得ることができる。
以上、本発明のデバイス制御プログラム、情報処理装置およびデバイス制御方法を図示の実施の形態に基づいて説明したが、これらに限定されるものではなく、各部の構成は同様の機能を有する任意の構成のものに置換することができる。また、他の任意の構成物や工程が付加されてもよい。更に、前述した実施の形態のうちの任意の2以上の構成(特徴)を組み合わせたものであってもよい。
As described above, the functions of the determination unit 142 and the control unit 143 may be provided in the Web browser 140a. In this case, the same effect as that of the second embodiment can be obtained.
The device control program, the information processing apparatus, and the device control method of the present invention have been described above based on the illustrated embodiments. However, the present invention is not limited to these, and the configuration of each unit is an arbitrary configuration having the same function. Can be substituted. Moreover, other arbitrary structures and processes may be added. Further, any two or more configurations (features) of the above-described embodiments may be combined.

1 情報処理装置
1a 表示装置
1b 画面情報処理手段
1c 第1の記憶手段
1d 第2の記憶手段
1e 判定手段
1f 制御手段
1g デバイス
2 制御情報
2a,3a 文字列
3 定義情報
3b プログラム
DESCRIPTION OF SYMBOLS 1 Information processing apparatus 1a Display apparatus 1b Screen information processing means 1c 1st memory | storage means 1d 2nd memory | storage means 1e Determination means 1f Control means 1g Device 2 Control information 2a, 3a Character string 3 Definition information 3b Program

Claims (10)

受け付ける操作入力に応じた文字列を含む画面情報に基づいて表示装置に表示された画面への前記操作入力に対して、前記文字列を含む制御情報が第1の記憶手段に登録されたことを検出すると、第2の記憶手段に記憶された、デバイスを制御するための1またはそれ以上のプログラムと1またはそれ以上の文字列との対応関係を示す定義情報に示される何れかの文字列が、前記制御情報に含まれているか判定し、
前記定義情報で示される何れかの文字列が含まれていると判定されたとき、前記定義情報を参照して、判定された該文字列に対応付けられたプログラムを呼び出すことで、デバイスを制御する、
処理をコンピュータに実行させるデバイス制御プログラム。
The control information including the character string is registered in the first storage unit in response to the operation input to the screen displayed on the display device based on the screen information including the character string corresponding to the received operation input. When detected, any one of the character strings indicated in the definition information indicating the correspondence between one or more programs for controlling the device and one or more character strings stored in the second storage means , Whether it is included in the control information,
When it is determined that any character string indicated by the definition information is included, the device is controlled by calling the program associated with the determined character string with reference to the definition information To
A device control program that causes a computer to execute processing.
前記画面情報および前記制御情報は、操作入力に応じたデバイスに対する命令の種別を含み、
前記定義情報には、デバイスに対する命令の種別ごとに前記対応関係が定義され、
前記制御情報に含まれる命令の種別に応じた前記定義情報内の前記対応関係を参照して、該対応関係に示される何れかの文字列が、前記制御情報に含まれているか判定する、
請求項1記載のデバイス制御プログラム。
The screen information and the control information include a type of instruction to the device according to the operation input,
In the definition information, the correspondence is defined for each type of instruction to the device,
Referring to the correspondence relationship in the definition information according to the type of instruction included in the control information to determine whether any character string indicated in the correspondence relationship is included in the control information;
The device control program according to claim 1.
前記命令の種別には、前記デバイスを用いた処理の実行および停止が含まれる、請求項2記載のデバイス制御プログラム。   The device control program according to claim 2, wherein the instruction type includes execution and stop of processing using the device. 前記定義情報には、前記文字列に対して複数のプログラムと複数のプログラムそれぞれを実行する順序とが対応付けられており、
前記制御情報に前記文字列が含まれる場合、前記定義情報に設定された順序で当該複数のプログラムそれぞれを呼び出すことで、複数のデバイスを順次制御する、
請求項1乃至3の何れか一項に記載のデバイス制御プログラム。
In the definition information, a plurality of programs and an order of executing each of the plurality of programs are associated with the character string,
When the character string is included in the control information, the plurality of devices are sequentially controlled by calling each of the plurality of programs in the order set in the definition information.
The device control program according to any one of claims 1 to 3.
前記画面情報および前記制御情報は、操作入力に応じた1またはそれ以上のパラメータに対する設定情報を含み、
前記定義情報には、文字列と1またはそれ以上のパラメータとの対応付けが定義され、
前記定義情報で示される何れかの文字列が前記制御情報に含まれていると判定されたとき、前記定義情報を参照して、判定された該文字列に対応付けられたパラメータに、前記制御情報に含まれる前記設定情報を設定して、該パラメータを呼び出したプログラムに入力し、実行することで、デバイスを制御する、
請求項1乃至4の何れか一項に記載のデバイス制御プログラム。
The screen information and the control information include setting information for one or more parameters according to an operation input,
The definition information defines a correspondence between a character string and one or more parameters,
When it is determined that any one of the character strings indicated by the definition information is included in the control information, the control information is referred to the parameter associated with the determined character string with reference to the definition information. Set the setting information included in the information, input the parameter to the program that called it, and execute it to control the device,
The device control program as described in any one of Claims 1 thru | or 4.
呼び出したプログラムによりデバイスを制御することで、該デバイスが取得したデータを取得し、該データまたは該データを示す情報の何れかである格納データと前記格納データが該データまたは該データを示す情報の何れであるかを示す情報とを対応付けて前記第1の記憶手段に格納する、請求項1乃至5の何れか一項に記載のデバイス制御プログラム。   By controlling the device with the called program, the data acquired by the device is acquired, the stored data that is either the data or the information indicating the data, and the stored data is the information indicating the data or the data 6. The device control program according to claim 1, wherein the device control program is stored in the first storage unit in association with information indicating which one is. 前記制御情報は、前記画面情報を処理するウェブブラウザにより前記第1の記憶手段に登録される、請求項1乃至6の何れか一項に記載のデバイス制御プログラム。   The device control program according to any one of claims 1 to 6, wherein the control information is registered in the first storage unit by a web browser that processes the screen information. 前記第1の記憶手段は、HTML5で規定されるローカルストレージ、ウェブSQLデータベースまたは任意のローカルディレクトリの何れかである、請求項7記載のデバイス制御プログラム。   The device control program according to claim 7, wherein the first storage unit is any one of a local storage defined in HTML5, a Web SQL database, or an arbitrary local directory. 所定の文字列を含む制御情報を記憶する第1の記憶手段と、
デバイスを制御するための1またはそれ以上のプログラムと1またはそれ以上の文字列との対応関係を示す定義情報を記憶する第2の記憶手段と、
受け付ける操作入力に応じた文字列を含む画面情報に基づいて表示装置に表示された画面への前記操作入力に対して、前記文字列を含む前記制御情報が第1の記憶手段に登録されたことを検出すると、前記定義情報に示される何れかの文字列が、前記制御情報に含まれているか判定する判定手段と、
前記定義情報で示される何れかの文字列が含まれていると判定されたとき、前記定義情報を参照して、判定された該文字列に対応付けられたプログラムを呼び出すことで、デバイスを制御する制御手段と、
を有する情報処理装置。
First storage means for storing control information including a predetermined character string;
Second storage means for storing definition information indicating a correspondence relationship between one or more programs for controlling the device and one or more character strings;
The control information including the character string is registered in the first storage unit in response to the operation input to the screen displayed on the display device based on the screen information including the character string corresponding to the received operation input. Detecting means for determining whether any character string indicated in the definition information is included in the control information;
When it is determined that any character string indicated by the definition information is included, the device is controlled by calling the program associated with the determined character string with reference to the definition information Control means to
An information processing apparatus.
コンピュータが実行するデバイス制御方法であって、
受け付ける操作入力に応じた文字列を含む画面情報に基づいて表示装置に表示された画面への前記操作入力に対して、前記文字列を含む制御情報が第1の記憶手段に登録されたことを検出すると、第2の記憶手段に記憶された、デバイスを制御するための1またはそれ以上のプログラムと1またはそれ以上の文字列との対応関係を示す定義情報に示される何れかの文字列が、前記制御情報に含まれているか判定し、
前記定義情報で示される何れかの文字列が含まれていると判定されたとき、前記定義情報を参照して、判定された該文字列に対応付けられたプログラムを呼び出すことで、デバイスを制御する、
デバイス制御方法。
A device control method executed by a computer,
The control information including the character string is registered in the first storage unit in response to the operation input to the screen displayed on the display device based on the screen information including the character string corresponding to the received operation input. When detected, any one of the character strings indicated in the definition information indicating the correspondence between one or more programs for controlling the device and one or more character strings stored in the second storage means , Whether it is included in the control information,
When it is determined that any character string indicated by the definition information is included, the device is controlled by calling the program associated with the determined character string with reference to the definition information To
Device control method.
JP2011216413A 2011-09-30 2011-09-30 Device control program, information processing unit and device control method Pending JP2013077151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011216413A JP2013077151A (en) 2011-09-30 2011-09-30 Device control program, information processing unit and device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011216413A JP2013077151A (en) 2011-09-30 2011-09-30 Device control program, information processing unit and device control method

Publications (1)

Publication Number Publication Date
JP2013077151A true JP2013077151A (en) 2013-04-25

Family

ID=48480568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011216413A Pending JP2013077151A (en) 2011-09-30 2011-09-30 Device control program, information processing unit and device control method

Country Status (1)

Country Link
JP (1) JP2013077151A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6024657A (en) * 1983-07-20 1985-02-07 Fujitsu Ltd Data storing method
JP2002251674A (en) * 2001-02-23 2002-09-06 Sharp Corp Control method for pos terminal and pos device
JP2008234213A (en) * 2007-03-19 2008-10-02 Ricoh Co Ltd Information processor, information processing method, information processing program and recording medium with same program recorded

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6024657A (en) * 1983-07-20 1985-02-07 Fujitsu Ltd Data storing method
JP2002251674A (en) * 2001-02-23 2002-09-06 Sharp Corp Control method for pos terminal and pos device
JP2008234213A (en) * 2007-03-19 2008-10-02 Ricoh Co Ltd Information processor, information processing method, information processing program and recording medium with same program recorded

Similar Documents

Publication Publication Date Title
US10932106B2 (en) System, a method and a computer program product for automated remote control
JP6145211B2 (en) Web-based keyboard, video and mouse (KVM) redirection system and method and application thereof
JP2012133586A (en) Display device, screen image transfer method and program
WO2023168926A1 (en) Method and apparatus for determining software anomaly, storage medium, and electronic apparatus
JP4956276B2 (en) Servlet activation program and home gateway device
JP5154341B2 (en) Image monitoring apparatus and program
CN115357497A (en) Service fault analysis method, device, medium and computer equipment
US9374413B2 (en) Client terminal, server, and distributed processing method
US11405434B2 (en) Data sharing method providing reception status of shared data among receiving terminals, and communication system and recording medium therefor
JP5632733B2 (en) Display device, screen image transfer method, and program
JP6133460B1 (en) Operation support system, operation support program, and operation support method
JP6500894B2 (en) Information processing apparatus and recording medium
JP2013077151A (en) Device control program, information processing unit and device control method
CN104601698B (en) Communication method and system based on browser
JP6213041B2 (en) Web page takeover system, web page takeover method, communication terminal, web page display method, and program
US9509772B1 (en) Visualization and control of ongoing ingress actions
JP2012073846A (en) Device control program, information processor and device control method
EP2661067A1 (en) Remote operation system, user terminal and remote operation method
WO2017212499A1 (en) Systems and methods for storage space management and high availability of digital media on mobile devices
KR101318345B1 (en) System and Method for Micro-page Provision
JP6063820B2 (en) Equipment management system
JP2012053805A (en) Progress information display control system
US20150112975A1 (en) Context-aware search apparatus and method
JP2006053893A (en) Data processing system, data processing method, processing device, terminal unit, portable terminal unit, and program
JP5443265B2 (en) Content acquisition apparatus, method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140930

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150619

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150728

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20151124