WO2014103502A1 - 端末装置、外部機器の制御方法、及びコンピュータ読み取り可能な記録媒体 - Google Patents
端末装置、外部機器の制御方法、及びコンピュータ読み取り可能な記録媒体 Download PDFInfo
- Publication number
- WO2014103502A1 WO2014103502A1 PCT/JP2013/079502 JP2013079502W WO2014103502A1 WO 2014103502 A1 WO2014103502 A1 WO 2014103502A1 JP 2013079502 W JP2013079502 W JP 2013079502W WO 2014103502 A1 WO2014103502 A1 WO 2014103502A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- communication
- external device
- web application
- terminal device
- recording medium
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1224—Client or server resources management
- G06F3/1228—Printing driverless or using generic drivers
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00127—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
- H04N1/00204—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server
- H04N1/00244—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server with a server, e.g. an internet server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00127—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
- H04N1/00326—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a data reading, recognizing or recording apparatus, e.g. with a bar-code apparatus
- H04N1/00328—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a data reading, recognizing or recording apparatus, e.g. with a bar-code apparatus with an apparatus processing optically-read information
- H04N1/00334—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a data reading, recognizing or recording apparatus, e.g. with a bar-code apparatus with an apparatus processing optically-read information with an apparatus processing barcodes or the like
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00127—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
- H04N1/00281—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a telecommunication apparatus, e.g. a switched network of teleprinters for the distribution of text-based information, a selective call terminal
- H04N1/00307—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a telecommunication apparatus, e.g. a switched network of teleprinters for the distribution of text-based information, a selective call terminal with a mobile telephone apparatus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0008—Connection or combination of a still picture apparatus with another apparatus
- H04N2201/0034—Details of the connection, e.g. connector, interface
- H04N2201/0037—Topological details of the connection
- H04N2201/0039—Connection via a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0008—Connection or combination of a still picture apparatus with another apparatus
- H04N2201/0034—Details of the connection, e.g. connector, interface
- H04N2201/0037—Topological details of the connection
- H04N2201/0041—Point to point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0008—Connection or combination of a still picture apparatus with another apparatus
- H04N2201/0034—Details of the connection, e.g. connector, interface
- H04N2201/0048—Type of connection
- H04N2201/0055—By radio
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0077—Types of the still picture apparatus
- H04N2201/0082—Image hardcopy reproducer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0096—Portable devices
Definitions
- the present invention relates to a terminal device that executes a Web application, a control method for an external device using the Web application, and a computer-readable recording medium that records a program for realizing the terminal device.
- a Web application means application software that runs on a Web browser installed in a terminal device (see, for example, Patent Document 1).
- the terminal device In the Web application, the terminal device only accepts input data or displays information by the Web browser, and management and processing of the input data is performed by the Web server. For this reason, since important data does not remain in the terminal device, according to the Web application, it becomes easy for a company or the like to improve security.
- the Web application has many advantages, and the range of use is expected to expand in the future.
- portable terminal devices such as smartphones and tablet-type terminal devices have a smaller storage capacity than personal computers (PCs), and use of Web applications tends to increase.
- PCs personal computers
- the functions of the conventional web browser are limited, and the expansion of the usage range of the web application is limited.
- the web application cannot directly control the external device connected to the terminal device, and thus it is difficult to use the web application in a system using the external device. ing.
- a user can connect a printer from the Web browser via the driver software. It can be operated.
- the printer operates according to a user instruction, and the Web application does not directly control the printer.
- An example of the object of the present invention is to provide a terminal device, an external device control method, and a computer-readable recording medium that can solve the above-described problems and enable control of the external device by a Web application.
- a terminal device provides: A program execution unit for executing a Web application transmitted from a Web server; A communication unit that performs data communication with an external device; and A communication control unit that controls the external device via the communication unit in response to an instruction from the Web application; It is characterized by having.
- an external device control method is a method for controlling an external device connected to a terminal device that executes a Web application transmitted from a Web server. And (A) executing the web application; and (B) controlling the external device according to an instruction from the Web application via a communication device provided in the terminal device and capable of data communication with the external device; , It is characterized by having.
- a computer-readable recording medium is a program for controlling an external device connected to a terminal device that executes a Web application transmitted from a Web server.
- a recorded computer-readable recording medium In the processor of the terminal device, (A) executing the web application; and (B) controlling the external device according to an instruction from the Web application via a communication device provided in the terminal device and capable of data communication with the external device; , A program including an instruction for executing is recorded.
- FIG. 1 is a block diagram showing a configuration of a terminal device according to an embodiment of the present invention.
- FIG. 2 is a sequence diagram showing the operation of the terminal device in the embodiment of the present invention.
- FIG. 3 is a block diagram illustrating an example of a portable terminal device that can be used as a terminal device according to an embodiment of the present invention.
- FIG. 1 is a block diagram showing a configuration of a terminal device according to an embodiment of the present invention.
- the terminal device 10 in the present embodiment is a terminal device capable of executing a content program 21 transmitted from the Web server 20.
- the content program 21 is a so-called Web application and operates on the Web browser 14 of the terminal device 10.
- the terminal device 10 is connected to the Web server 20 via a network (not shown in FIG. 1) such as an in-house LAN or the Internet.
- the Web browser 14 has a function that is not provided in a conventional Web browser. Therefore, hereinafter, it will be referred to as “extended Web browser 14”.
- the terminal device 10 includes a program execution unit 11, a communication control unit 12, and a communication unit 13.
- the program execution unit 11 executes a content program 21 that is a Web application transmitted from the Web server 20.
- the communication unit 13 has a function of performing data communication with the external devices 30 and 40.
- the communication control unit 12 controls the external devices 30 and 40 via the communication unit 13 in response to an instruction from the content program 21 that is a Web application.
- the content program 21 itself can directly control the external devices 30 and 40. Also, no operation by the user is required to operate the external devices 30 and 40.
- the terminal device 10 is a portable terminal device such as a tablet terminal or a smartphone.
- the content program 21 is constructed, for example, by describing a Java (registered trademark) program (Java Script (registered trademark)) in an HTML file.
- the content program 21 is transmitted from the Web server 20 using JSP (Java
- the terminal device 10 includes an operating system 15.
- the operating system 15 provides basic functions commonly used by various programs such as input / output functions and memory management.
- the extended Web browser 14 is introduced on the operating system 15, and the program execution unit 11 is constructed by program modules constituting the extended Web browser 14.
- the extended Web browser 14 includes a program module called a Java Script engine, a control module, a rendering engine, and the like as program modules. In FIG. 1, illustration of these program modules is omitted.
- the Java Script engine analyzes the Java Script described in the content program and executes it.
- the control module controls the operating system 15 in accordance with instructions in Java Script.
- the rendering engine executes content display processing.
- the program execution unit 11 is mainly constructed by a Java Script engine and a control module.
- the communication unit 13 is a communication device that can perform wireless communication with the external devices 30 and 40.
- the communication unit 13 is a communication chip that can execute communication using a short-range wireless communication technology such as Bluetooth (registered trademark).
- the communication control unit 12 is constructed by driver software for operating a communication device that functions as the communication unit 13.
- This driver software is managed by the extended Web browser 14, and the control module that constructs the program execution unit 11 can give instructions to the driver software and receive data from the driver software.
- the extended web browser 14 is different from the conventional web browser in this respect.
- the external device 30 is an information reading device that can read information from a code or a recording medium.
- the external device 30 is a bar code reader.
- the external device 40 is a printer.
- the external device 30 is referred to as “barcode reader 30”, and the external device 40 is referred to as “printer 40”.
- the barcode reader 30 includes a reading unit 32 including an optical component for barcode reading and its control circuit.
- the printer 40 includes a printing unit 42 that includes various components for printing.
- the barcode reader 30 includes a communication unit 31, and the printer 40 includes a communication unit 41.
- the communication units 31 and 41 execute data communication with the communication unit 13 of the terminal device 10.
- the communication units 31 and 41 are the same as the communication unit 13 and are communication chips that can execute communication using a short-range wireless communication technology such as Bluetooth.
- FIG. 2 is a sequence diagram showing the operation of the terminal device in the embodiment of the present invention.
- FIG. 1 is taken into consideration as appropriate.
- the control method of an external apparatus is implemented by operating the terminal device 10.
- FIG. Therefore, the description of the external device control method in the present embodiment is replaced with the following description of the operation of the terminal device 10.
- the Web server 20 transmits the content program 21 to the terminal device 10 (step A1).
- the program execution unit 11 acquires Java Script from the transmitted content program 21, and executes the acquired Java Script (step A2).
- the program execution unit 11 analyzes the data read command for the barcode reader 30 in the JavaScript, and analyzes the data to the communication control unit 12 based on the analysis result. Is read (step A3).
- step A3 when step A3 is executed, the communication control unit 12 instructs the communication unit 13 to perform data communication (step A4). Thereby, the communication unit 13 transmits a data read request to the communication unit 31 of the barcode reader 30 (step A5).
- the barcode reader 30 when the communication unit 31 receives the data reading request, it instructs the reading unit 32 to read the data (step A6). As a result, the reading unit 32 executes data reading (step A7), and outputs the read data (hereinafter referred to as “read data”) to the communication unit 31 (step A8).
- the communication unit 31 transmits the read data to the communication unit 13 of the terminal device 10 (step A9). Subsequently, the communication unit 13 outputs the transmitted read data to the program execution unit 11 via the communication control unit 12 (step A10).
- the program execution unit 11 transmits the received read data to the Web server 20 (step A11). Thereby, the Web server 20 executes necessary data processing (step A12). Next, when the necessary data processing is completed, the Web server 20 notifies the program execution unit 11 of that (Step A13). Note that the above steps A11 to A13 may be executed by an application server different from the Web server 20.
- step A14 the program execution unit 11 analyzes this and analyzes the result. Based on the above, the communication control unit 12 is instructed to print the data processing result (step A14).
- step A14 when step A14 is executed, the communication control unit 12 instructs the communication unit 13 to perform data communication (step A15). Accordingly, the communication unit 13 transmits a print request for the data processing result to the communication unit 41 of the printer 40 (step A16).
- the printer 40 when the communication unit 41 receives the print request for the data processing result, the communication unit 41 instructs the printing unit 42 to execute printing (step A17). Thereby, the printing unit 42 prints the data processing result (step A18).
- step A7 the user needs to hold the reading surface of the barcode reader 30 over the barcode, but the user is requested to perform other operations (such as turning on / off the power). There is nothing.
- the barcode reader 30 and the printer 40 are directly controlled by the content program 21 which is a Web application.
- the steps A1 to A18 include a case where the barcode reader 30 is used for reading a barcode attached to a product at a cash register in a retail store.
- the bar code includes a product code, a price, etc. as information.
- the WEB server 20 stores the purchased product in a database (not shown in FIGS. 1 and 2). Record the information.
- the printer 40 prints a receipt to be given to the product purchaser, the receipt is automatically printed only when the user touches the barcode reader on the product barcode.
- the program in the present embodiment may be a program that causes the terminal device 10 to execute steps A2 to A5, A10, A11, and A14 to A16 shown in FIG.
- a CPU Central Processing Unit
- the terminal device 10 and the control method of the external device in the present embodiment can be realized.
- a CPU Central Processing Unit
- the terminal device functions as the program execution unit 11 and the communication control unit 12 to perform processing.
- FIG. 3 is a block diagram illustrating an example of a portable terminal device that can be used as a terminal device according to an embodiment of the present invention.
- the portable terminal device 50 includes a CPU 51, a memory 52, a display 53, a storage medium 54, a communication module 55, and a touch panel 56. These units are connected to each other via a bus 57 so that data communication is possible.
- the CPU 51 performs various calculations by expanding the program (code) in the present embodiment stored in the storage device 54 in the memory 52 and executing them in a predetermined order.
- the memory 52 is typically a volatile memory such as a DRAM (Dynamic Random Access Memory).
- the program in the present embodiment may be provided in a state stored in a computer-readable recording medium, or may be transmitted from the Internet connected via the communication module 55.
- the recording medium include general-purpose semiconductor storage devices such as CF (Compact Flash (registered trademark)) and SD (Secure Digital).
- the storage device 54 includes semiconductor storage devices such as a hard disk and a flash memory.
- the touch panel 56 is an input device that accepts user input.
- the display 53 is a display device such as a liquid crystal display device.
- the communication module 55 includes one or both of a device for realizing communication using a wireless LAN and a device for realizing communication using a mobile phone network, and a communication device functioning as the communication unit 13.
- the terminal device 10 is not limited to the above-described portable terminal device such as a tablet terminal or a smartphone, but may be a personal computer such as a notebook PC, electronic paper, or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本発明は、Webアプリケーションによる外部機器の制御を可能にすることにある。端末装置10は、Webサーバ20から送信された、Webアプリケーションであるコンテンツプログラム21を実行する、プログラム実行部11と、外部機器30及び40との間でデータ通信を行なう、通信部13と、Webアプリケーションからの指示に応じて、通信部13を介して、外部機器30及び40を制御する、通信制御部12と、を備えている。
Description
本発明は、Webアプリケーションを実行する端末装置、Webアプリケーションを用いた外部機器の制御方法、及びこれらを実現するためのプログラムを記録したコンピュータ読み取り可能な記録媒体に関する。
近年、ネットワークの高速化、サーバコンピュータの性能向上により、企業等では、Webアプリケーションの利用が増加している。一般に、Webアプリケーションとは、端末装置に導入されたWebブラウザ上で動作するアプリケーションソフトを意味する(例えば、特許文献1参照。)。
Webアプリケーションでは、処理は、ネットワーク上のWebサーバと端末装置のWebブラウザとの間で、互いに通信を行ないながら進められる。従って、各端末装置において、必要となる処理に応じてアプリケーションソフトを導入する必要がなく、企業等においては、設備コストを抑制することができる。
また、Webアプリケーションでは、端末装置は、Webブラウザによって、入力データを受け付けたり、情報を表示したり、するだけであり、入力されたデータの管理及び処理等は、Webサーバによって行なわれる。このため、端末装置に重要なデータが残らないので、Webアプリケーションによれば、企業等において、セキュリティの向上を図ることが容易となる。
このように、Webアプリケーションには多くの利点があり、今後、利用範囲が拡大するものと考えられる。特に、スマートフォン、タブレット型の端末装置といった、携帯型の端末装置では、パーソナルコンピュータ(PC)に比べて、記憶容量が小さいため、Webアプリケーションの利用は増加の傾向にある。
しかしながら、従来からのWebブラウザにおいて、その機能は限定的であり、Webアプリケーションの利用範囲の拡大に制限を与えている。具体的には、従来からのWebブラウザでは、Webアプリケーションが、端末装置に接続された外部機器を直接制御することができないため、外部機器を用いたシステムにWebアプリケーションを利用することが困難となっている。
なお、従来からのWebブラウザであっても、例えば、外部機器であるプリンタのドライバソフトが端末装置にインストールされている環境下では、ユーザは、Webブラウザから、ドライバソフトを経由して、プリンタを動作させることができる。しかし、この場合は、プリンタはユーザの指示によって動作しており、Webアプリケーションがプリンタを直接制御しているわけではない。
本発明の目的の一例は、上記問題を解消し、Webアプリケーションによる外部機器の制御を可能にし得る、端末装置、外部機器の制御方法、及びコンピュータ読み取り可能な記録媒体を提供することにある。
上記目的を達成するため、本発明の一側面における端末装置は、
Webサーバから送信されたWebアプリケーションを実行する、プログラム実行部と、
外部機器との間でデータ通信を行なう、通信部と、
前記Webアプリケーションからの指示に応じて、前記通信部を介して、前記外部機器を制御する、通信制御部と、
を備えていることを特徴とする。
Webサーバから送信されたWebアプリケーションを実行する、プログラム実行部と、
外部機器との間でデータ通信を行なう、通信部と、
前記Webアプリケーションからの指示に応じて、前記通信部を介して、前記外部機器を制御する、通信制御部と、
を備えていることを特徴とする。
また、上記目的を達成するため、本発明の一側面における外部機器の制御方法は、Webサーバから送信されたWebアプリケーションを実行する端末装置に接続された、外部機器を制御するための方法であって、
(a)前記Webアプリケーションを実行する、ステップと、
(b)前記端末装置に備えられ、且つ、外部機器との間でのデータ通信が可能な、通信装置を介して、前記Webアプリケーションからの指示に応じて、前記外部機器を制御する、ステップと、
を有することを特徴とする。
(a)前記Webアプリケーションを実行する、ステップと、
(b)前記端末装置に備えられ、且つ、外部機器との間でのデータ通信が可能な、通信装置を介して、前記Webアプリケーションからの指示に応じて、前記外部機器を制御する、ステップと、
を有することを特徴とする。
更に、上記目的を達成するため、本発明の一側面におけるコンピュータ読み取り可能な記録媒体は、Webサーバから送信されたWebアプリケーションを実行する端末装置に接続された、外部機器を制御するためのプログラムを記録したコンピュータ読み取り可能な記録媒体であって、
前記端末装置のプロセッサに、
(a)前記Webアプリケーションを実行する、ステップと、
(b)前記端末装置に備えられ、且つ、外部機器との間でのデータ通信が可能な、通信装置を介して、前記Webアプリケーションからの指示に応じて、前記外部機器を制御する、ステップと、
を実行させる、命令を含むプログラムを記録していることを特徴とする。
前記端末装置のプロセッサに、
(a)前記Webアプリケーションを実行する、ステップと、
(b)前記端末装置に備えられ、且つ、外部機器との間でのデータ通信が可能な、通信装置を介して、前記Webアプリケーションからの指示に応じて、前記外部機器を制御する、ステップと、
を実行させる、命令を含むプログラムを記録していることを特徴とする。
以上のように、本発明によれば、Webアプリケーションによる外部機器の制御を可能とすることができる。
(実施の形態)
以下、本発明の実施の形態における、端末装置、外部機器の制御方法、及びプログラムについて、図1~図3を参照しながら説明する。
以下、本発明の実施の形態における、端末装置、外部機器の制御方法、及びプログラムについて、図1~図3を参照しながら説明する。
[装置構成]
最初に、本実施の形態における端末装置の構成について図1を用いて説明する。図1は、本発明の実施の形態における端末装置の構成を示すブロック図である。
最初に、本実施の形態における端末装置の構成について図1を用いて説明する。図1は、本発明の実施の形態における端末装置の構成を示すブロック図である。
図1に示すように、本実施の形態における端末装置10は、Webサーバ20から送信されるコンテンツプログラム21を実行可能な端末装置である。コンテンツプログラム21は、いわゆるWebアプリケーションであり、端末装置10のWebブラウザ14上で動作する。本実施の形態では、端末装置10は、社内LAN、インターネット等のネットワーク(図1において図示せず)を介して、Webサーバ20に接続されている。
なお、Webブラウザ14は、後述するように、従来からのWebブラウザでは備えられていない機能を備えている。従って、以降においては、「拡張Webブラウザ14」と表記する。
また、図1に示すように、端末装置10は、プログラム実行部11と、通信制御部12と、通信部13とを備えている。このうち、プログラム実行部11は、Webサーバ20から送信されたWebアプリケーションであるコンテンツプログラム21を実行する。
通信部13は、外部機器30及び40との間でデータ通信を行なう機能を備えている。通信制御部12は、Webアプリケーションであるコンテンツプログラム21からの指示に応じて、通信部13を介して、外部機器30及び40を制御する。
このように、端末装置10によれば、コンテンツプログラム21自体が、外部機器30及び40を直接制御することができる。また、外部機器30及び40を動作させるために、利用者による操作が必要とされることもない。
ここで、本実施の形態における端末装置の構成について更に具体的に説明する。まず、本実施の形態では、端末装置10は、タブレット型端末、スマートフォン、といった携帯型の端末装置である。
また、本実施の形態では、コンテンツプログラム21は、例えば、HTMLファイルの中にJava(登録商標)プログラム(Java Script(登録商標))を記述することによって構築されている。コンテンツプログラム21は、JSP(Java Server Pages)技術を利用してWebサーバ20から送信される。
更に、図1に示すように、本実施の形態では、端末装置10は、オペレーティングシステム15を備えている。オペレーティングシステム15は、入出力機能、メモリ管理といった、各種プログラムから共通して利用される基本的な機能を提供する。
また、オペレーティングシステム15上には、拡張Webブラウザ14が導入され、プログラム実行部11は、拡張Webブラウザ14を構成するプログラムモジュールによって構築されている。具体的には、拡張Webブラウザ14は、プログラムモジュールとして、Java Scriptエンジンと呼ばれるプログラムモジュールと、制御モジュールと、レンダリングエンジンなどを備えている。なお、図1において、これらのプログラムモジュールの図示は省略している。
このうち、Java Scriptエンジンは、コンテンツプログラムに記述されたJava Scriptを解析し、これを実行する。また、制御モジュールは、Java Script中の命令に沿って、オペレーティングシステム15を制御する。レンダリングエンジンは、コンテンツの表示処理を実行する。プログラム実行部11は、主に、Java Scriptエンジンと制御モジュールとで構築されている。
また、通信部13は、本実施の形態では、外部機器30及び40との間で、無線による通信を行なうことができる通信装置である。具体的には、通信部13は、Bluetooth(登録商標)等の短距離無線通信技術を利用した通信を実行可能な通信用のチップである。
更に、通信制御部12は、通信部13として機能する通信装置を動作させるためのドライバソフトによって構築されている。このドライバソフトは、拡張Webブラウザ14によって管理されており、プログラム実行部11を構築する制御モジュールは、ドライバソフトに指示を与えたり、ドライバソフトからデータを受け取ったりすることができる。拡張Webブラウザ14は、この点で、従来からのWebブラウザと異なっている。
また、本実施の形態では、外部機器30は、コード又は記録媒体からの情報の読み取りが可能な情報読取装置であり、図1の例では、外部機器30は、バーコードリーダである。外部機器40は、プリンタである。なお、以降の説明では、外部機器30は「バーコードリーダ30」と表記し、外部機器40は「プリンタ40」と表記する。
また、バーコードリーダ30は、バーコード読取用の光学部品とその制御回路等を含む読取部32を備えている。更に、プリンタ40は、印刷のための各種部品を含む印刷部42を備えている。
加えて、バーコードリーダ30は通信部31を備え、プリンタ40は通信部41を備えている。通信部31及び41は、端末装置10の通信部13とのデータ通信を実行する。具体的には、通信部31及び41は、通信部13と同様のものであり、Bluetooth等の短距離無線通信技術を利用した通信を実行可能な通信用のチップである。
[装置動作]
次に、本発明の実施の形態における端末装置10の動作について図2を用いて説明する。図2は、本発明の実施の形態における端末装置の動作を示すシーケンス図である。以下の説明においては、適宜図1を参酌する。また、本実施の形態では、端末装置10を動作させることによって、外部機器の制御方法が実施される。よって、本実施の形態における外部機器の制御方法の説明は、以下の端末装置10の動作説明に代える。
次に、本発明の実施の形態における端末装置10の動作について図2を用いて説明する。図2は、本発明の実施の形態における端末装置の動作を示すシーケンス図である。以下の説明においては、適宜図1を参酌する。また、本実施の形態では、端末装置10を動作させることによって、外部機器の制御方法が実施される。よって、本実施の形態における外部機器の制御方法の説明は、以下の端末装置10の動作説明に代える。
最初に、図2に示すように、Webサーバ20が、端末装置10へとコンテンツプログラム21を送信する(ステップA1)。次に、端末装置10において、プログラム実行部11は、送信されてきたコンテンツプログラム21から、Java Scriptを取得して、取得したJava Scriptを実行する(ステップA2)。
続いて、プログラム実行部11は、Java Script中に、バーコードリーダ30に対するデータの読み取り命令が含まれていた場合は、これを解析し、解析結果に基づいて、通信制御部12に対してデータの読み取りを指示する(ステップA3)。
次に、ステップA3が実行されると、通信制御部12は、通信部13にデータ通信を指示する(ステップA4)。これにより、通信部13は、バーコードリーダ30の通信部31に、データの読み取り要求を送信する(ステップA5)。
次に、バーコードリーダ30において、通信部31は、データの読み取り要求を受信すると、読取部32にデータの読み取りを指示する(ステップA6)。これにより、読取部32は、データの読み取りを実行し(ステップA7)、読み取ったデータ(以下「読取データ」と表記する。)を通信部31に出力する(ステップA8)。
次に、通信部31は、読取データを、端末装置10の通信部13に送信する(ステップA9)。続いて、通信部13は、送信されてきた読取データを、通信制御部12を介して、プログラム実行部11へと出力する(ステップA10)。
次に、プログラム実行部11は、受け取った読取データを、Webサーバ20に送信する(ステップA11)。これにより、Webサーバ20は、必要なデータ処理を実行する(ステップA12)。次に、Webサーバ20は、必要なデータ処理を終了した場合は、そのことをプログラム実行部11に通知する(ステップA13)。なお、上記のステップA11~A13は、Webサーバ20とは別のアプリケーションサーバによって実行されていても良い。
次に、Java Script中において、「ステップA13の実行後に、データ処理の結果をプリンタ40に印刷させる」旨の命令が含まれているとすると、プログラム実行部11は、これを解析し、解析結果に基づいて、通信制御部12に対してデータ処理結果の印刷を指示する(ステップA14)。
次に、ステップA14が実行されると、通信制御部12は、通信部13にデータ通信を指示する(ステップA15)。これにより、通信部13は、プリンタ40の通信部41に、データ処理結果の印刷要求を送信する(ステップA16)。
次に、プリンタ40において、通信部41は、データ処理結果の印刷要求を受信すると、印刷部42に印刷の実行を指示する(ステップA17)。これにより、印刷部42は、データ処理結果を印刷する(ステップA18)。
以上のステップA1~A18では、ステップA7において、ユーザが、バーコードリーダ30の読取面をバーコードにかざす作業は必要となるが、ユーザに、それ以外の操作(電源のオンオフ等)を要求することはない。ステップA1~A18によれば、バーコードリーダ30とプリンタ40とは、Webアプリケーションであるコンテンツプログラム21によって直接制御される。
上記ステップA1~A18の具体例としては、例えば、バーコードリーダ30が、小売店でのレジにおいて、商品に付されたバーコードの読み取りに使用されている場合が挙げられる。この場合は、バーコードには、情報として、商品コード、値段等が含まれており、ステップA12において、WEBサーバ20は、データベース(図1及び図2において図示せず)に、購入された商品の情報を記録する。また、この場合、プリンタ40は、商品購入者に渡すレシートを印刷するので、ユーザが商品のバーコードにバーコードリーダを当てるだけで、自動的にレシートが印刷される。
[プログラム]
本実施の形態におけるプログラムは、端末装置10に、図2に示すステップA2~A5、A10、A11、A14~A16を実行させるプログラムであれば良い。このプログラムを端末装置にインストールし、実行することによって、本実施の形態における端末装置10と外部機器の制御方法とを実現することができる。この場合、端末装置のCPU(Central Processing Unit)は、プログラム実行部11及び通信制御部12として機能し、処理を行なう。
本実施の形態におけるプログラムは、端末装置10に、図2に示すステップA2~A5、A10、A11、A14~A16を実行させるプログラムであれば良い。このプログラムを端末装置にインストールし、実行することによって、本実施の形態における端末装置10と外部機器の制御方法とを実現することができる。この場合、端末装置のCPU(Central Processing Unit)は、プログラム実行部11及び通信制御部12として機能し、処理を行なう。
続いて、本実施の形態におけるプログラムを実行することによって、端末装置10を実現する携帯型の端末装置について図3を用いて説明する。図3は、本発明の実施の形態における端末装置として利用可能な携帯型の端末装置の一例を示すブロック図である。
図3に示すように、携帯型の端末装置50は、CPU51と、メモリ52と、ディスプレイ53と、記憶媒体54と、通信モジュール55と、タッチパネル56とを備える。これらの各部は、バス57を介して、互いにデータ通信可能に接続される。
CPU51は、記憶装置54に格納された、本実施の形態におけるプログラム(コード)をメモリ52に展開し、これらを所定順序で実行することにより、各種の演算を実施する。メモリ52は、典型的には、DRAM(Dynamic Random Access Memory)等の揮発性のメモリである。
また、本実施の形態におけるプログラムは、コンピュータ読み取り可能な記録媒体に格納された状態で提供されても良いし、通信モジュール55を介して接続されたインターネット上から送信されても良い。記録媒体の具体例としては、CF(Compact Flash(登録商標))及びSD(Secure Digital)等の汎用的な半導体記憶デバイスが挙げられる。
また、記憶装置54の具体例としては、ハードディスク、フラッシュメモリ等の半導体記憶装置が挙げられる。タッチパネル56は、ユーザの入力を受け付ける入力機器である。ディスプレイ53は、液晶表示装置等の表示装置である。通信モジュール55は、無線LANによる通信を実現するための装置及び携帯電話網を利用した通信を実現するための装置のうちいずれか一方又は両方と、通信部13として機能する通信装置とを含む。
また、本実施の形態では、端末装置10は、上述した、タブレット型端末、スマートフォン等の携帯型の端末装置に限定されず、ノートPCといったパーソナルコンピュータ、電子ペーパー等であっても良い。
以上、実施の形態を参照して本願発明を説明したが、本願発明は上記実施の形態に限定されるものではない。本願発明の構成や詳細には、本願発明のスコープ内で当業者が理解し得る様々な変更をすることができる。
この出願は、2012年12月26日に出願された日本出願特願2012-282422を基礎とする優先権を主張し、その開示の全てをここに取り込む。
以上のように本発明によれば、Webアプリケーションによる外部機器の制御が可能となる。Webサービスを提供するWebシステムに有用である。
10 端末装置
11 プログラム実行部
12 通信制御部
13 通信部
14 拡張Webブラウザ
20 Webサーバ
30 外部機器(バーコードリーダ)
31 通信部
32 読取部
40 外部機器(プリンタ)
41 通信部
42 印刷部
50 携帯型の端末装置
51 CPU
52 メモリ
53 ディスプレイ
54 記憶装置
55 通信モジュール
56 タッチパネル
57 バス
11 プログラム実行部
12 通信制御部
13 通信部
14 拡張Webブラウザ
20 Webサーバ
30 外部機器(バーコードリーダ)
31 通信部
32 読取部
40 外部機器(プリンタ)
41 通信部
42 印刷部
50 携帯型の端末装置
51 CPU
52 メモリ
53 ディスプレイ
54 記憶装置
55 通信モジュール
56 タッチパネル
57 バス
Claims (6)
- Webサーバから送信されたWebアプリケーションを実行する、プログラム実行部と、
外部機器との間でデータ通信を行なう、通信部と、
前記Webアプリケーションからの指示に応じて、前記通信部を介して、前記外部機器を制御する、通信制御部と、
を備えていることを特徴とする端末装置。 - 前記外部機器が、コード又は記録媒体からの情報の読み取りが可能な情報読取装置である場合に、
前記通信制御部は、前記Webアプリケーションからの指示に応じて、前記通信部を介して、前記情報読取装置を動作させて、前記情報読取装置が読み取った情報を前記プログラム実行部へと出力させる、
請求項1に記載の端末装置。 - Webサーバから送信されたWebアプリケーションを実行する端末装置に接続された、外部機器を制御するための方法であって、
(a)前記Webアプリケーションを実行する、ステップと、
(b)前記端末装置に備えられ、且つ、外部機器との間でのデータ通信が可能な、通信装置を介して、前記Webアプリケーションからの指示に応じて、前記外部機器を制御する、ステップと、
を有することを特徴とする外部機器の制御方法。 - 前記外部機器が、コード又は記録媒体からの情報の読み取りが可能な情報読取装置である場合に、
前記(b)のステップにおいて、前記Webアプリケーションからの指示に応じて、前記通信装置を介して、前記情報読取装置を動作させて、前記情報読取装置が読み取った情報を取得する、
請求項3に記載の外部機器の制御方法。 - Webサーバから送信されたWebアプリケーションを実行する端末装置に接続された、外部機器を制御するためのプログラムを記録したコンピュータ読み取り可能な記録媒体であって、
前記端末装置のプロセッサに、
(a)前記Webアプリケーションを実行する、ステップと、
(b)前記端末装置に備えられ、且つ、外部機器との間でのデータ通信が可能な、通信装置を介して、前記Webアプリケーションからの指示に応じて、前記外部機器を制御する、ステップと、
を実行させる、命令を含むプログラムを記録しているコンピュータ読み取り可能な記録媒体。 - 前記外部機器が、コード又は記録媒体からの情報の読み取りが可能な情報読取装置である場合に、
前記(b)のステップにおいて、前記Webアプリケーションからの指示に応じて、前記通信装置を介して、前記情報読取装置を動作させて、前記情報読取装置が読み取った情報を取得する、
請求項5に記載のコンピュータ読み取り可能な記録媒体。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SG11201505103TA SG11201505103TA (en) | 2012-12-26 | 2013-10-31 | Terminal apparatus, method for controlling external device, and computer-readable recording medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012-282422 | 2012-12-26 | ||
| JP2012282422A JP2014126982A (ja) | 2012-12-26 | 2012-12-26 | 端末装置、外部機器の制御方法、及びプログラム |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014103502A1 true WO2014103502A1 (ja) | 2014-07-03 |
Family
ID=51020601
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2013/079502 Ceased WO2014103502A1 (ja) | 2012-12-26 | 2013-10-31 | 端末装置、外部機器の制御方法、及びコンピュータ読み取り可能な記録媒体 |
Country Status (4)
| Country | Link |
|---|---|
| JP (1) | JP2014126982A (ja) |
| SG (1) | SG11201505103TA (ja) |
| TW (1) | TWI514160B (ja) |
| WO (1) | WO2014103502A1 (ja) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002312726A (ja) * | 2001-04-13 | 2002-10-25 | Nippon Telegr & Teleph Corp <Ntt> | Icカード制御方法、端末装置、プログラム及び記録媒体 |
| JP2012194809A (ja) * | 2011-03-16 | 2012-10-11 | Fujitsu Ltd | プログラム、制御装置および方法 |
| JP2012226522A (ja) * | 2011-04-19 | 2012-11-15 | Canon Inc | 情報処理装置およびその制御方法 |
-
2012
- 2012-12-26 JP JP2012282422A patent/JP2014126982A/ja active Pending
-
2013
- 2013-10-31 WO PCT/JP2013/079502 patent/WO2014103502A1/ja not_active Ceased
- 2013-10-31 SG SG11201505103TA patent/SG11201505103TA/en unknown
- 2013-11-04 TW TW102139901A patent/TWI514160B/zh not_active IP Right Cessation
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002312726A (ja) * | 2001-04-13 | 2002-10-25 | Nippon Telegr & Teleph Corp <Ntt> | Icカード制御方法、端末装置、プログラム及び記録媒体 |
| JP2012194809A (ja) * | 2011-03-16 | 2012-10-11 | Fujitsu Ltd | プログラム、制御装置および方法 |
| JP2012226522A (ja) * | 2011-04-19 | 2012-11-15 | Canon Inc | 情報処理装置およびその制御方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201439784A (zh) | 2014-10-16 |
| TWI514160B (zh) | 2015-12-21 |
| JP2014126982A (ja) | 2014-07-07 |
| SG11201505103TA (en) | 2015-08-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI400652B (zh) | Dual operating system parallel processing methods, recording media and computer program products | |
| US20180315024A1 (en) | Systems and Methods Enabling Secure Transactions from Terminal Window | |
| CN109542427A (zh) | 一种系统定制方法、装置及电子设备和存储介质 | |
| US20100138397A1 (en) | System and method for providing e-book | |
| US20200089793A1 (en) | Method and System for Implementing Data Associations | |
| US8959426B1 (en) | Loading customer-supplied network page generation code | |
| CN105488125A (zh) | 页面访问方法和装置 | |
| CN102937963A (zh) | 使用协议处理程序的模板和服务器内容下载 | |
| US20130036197A1 (en) | Method and system for a mobile local server | |
| US10275368B2 (en) | Terminal device, external peripheral device and external peripheral device control method | |
| JP2008211788A (ja) | 事務機器、プログラムインストール支援方法 | |
| US9565244B2 (en) | Methods and apparatus for operating browser engine | |
| US12039309B2 (en) | Information processing apparatus, method of activating an application and storage medium | |
| JP6397200B2 (ja) | 管理サーバ、およびデータ処理方法、並びにプログラム | |
| WO2014103502A1 (ja) | 端末装置、外部機器の制御方法、及びコンピュータ読み取り可能な記録媒体 | |
| US9348825B2 (en) | Server and method for causing terminal to display screen | |
| CN109032924A (zh) | 识别页面中资源类型的方法、装置、设备和储存介质 | |
| US20090172045A1 (en) | System and method for archiving portions of an output of a web application | |
| US20160210160A1 (en) | Method and apparatus for portable self-contained node computer | |
| CN118132016B (zh) | 用于检测打印文件安全的方法及相关设备 | |
| TW201439936A (zh) | 網路系統、網路伺服器、終端裝置、網頁顯示方法以及可由電腦讀取的記錄媒體 | |
| WO2014097754A1 (ja) | 端末装置、データ連携方法、及びコンピュータ読み取り可能な記録媒体 | |
| US7702890B2 (en) | Information processing apparatus and program | |
| US9753774B2 (en) | Using functional resources of a computing device with web-based programmatic resources | |
| CN119356763B (zh) | 程序运行方法、装置、计算机设备、存储介质和程序产品 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13868306 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 13868306 Country of ref document: EP Kind code of ref document: A1 |