JP2016015080A - Communication terminal device, communication system, program, and method for controlling communication terminal device - Google Patents
Communication terminal device, communication system, program, and method for controlling communication terminal device Download PDFInfo
- Publication number
- JP2016015080A JP2016015080A JP2014137689A JP2014137689A JP2016015080A JP 2016015080 A JP2016015080 A JP 2016015080A JP 2014137689 A JP2014137689 A JP 2014137689A JP 2014137689 A JP2014137689 A JP 2014137689A JP 2016015080 A JP2016015080 A JP 2016015080A
- Authority
- JP
- Japan
- Prior art keywords
- input
- communication
- address
- communication terminal
- 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.)
- Granted
Links
Images
Abstract
Description
本発明は、通信端末装置、通信システム、プログラム、及び、通信端末装置の制御方法に関する。 The present invention relates to a communication terminal device, a communication system, a program, and a communication terminal device control method.
近年、タブレット端末等の通信端末装置には、近距離無線通信の国際標準規格であるNFC(Near Field Communication)に準じた近距離無線通信デバイスが実装されるようになってきた。このため、近距離無線通信デバイスを用いた種々の技術が開示されている(例えば、特許文献1参照)。
特許文献1では、携帯端末が、スキャナー等のデバイスのNFCよりデバイス情報を取得して、取得したデバイス情報を無線LAN(Local Area Network)経由でPCに送信している。PCは、自身の記憶している情報に、携帯端末から送信されたデバイス情報があれば、このデバイス情報に対応するデバイスをPCにおけるインストール対象のデバイスとして設定している。
In recent years, near field communication devices conforming to NFC (Near Field Communication), which is an international standard for near field communication, have been mounted on communication terminal devices such as tablet terminals. For this reason, various techniques using a short-range wireless communication device have been disclosed (see, for example, Patent Document 1).
In
しかしながら、特許文献1では、デバイスをインストール対象として設定しているだけで、通信設定等の詳細については開示がない。例えば、通信端末装置に、プリンターやスキャナー等の入出力装置のIPアドレスを近距離無線通信により取得させる構成とした場合、通信端末装置がIPアドレスを取得しても入出力装置との通信ができない場合がある。例えば、入出力装置を接続させる通信ネットワークによってIPアドレスの値は異なるため、通信ネットワークが変更されるごとに、入出力装置のIPアドレスの値を書き換える必要があり、通信設定の煩雑さの軽減が十分になされていなかった。
本発明は上記事情に鑑みてなされたものであり、容易に、入出力装置との接続に必要な情報を通信端末装置が取得して、入出力装置との通信を開始することができる通信端末装置、通信システム、プログラム、及び、通信端末装置の制御方法を提供することを目的とする。
However,
The present invention has been made in view of the above circumstances, and a communication terminal capable of easily acquiring information necessary for connection with an input / output device and starting communication with the input / output device. It is an object to provide a device, a communication system, a program, and a control method for a communication terminal device.
上記目的を達成するために、本発明の通信端末装置は、通信ネットワークに接続された制御対象の入出力装置に、前記通信ネットワークを介してアクセス可能な通信部と、前記入出力装置を特定する識別情報を読み取る読取部と、前記通信部により、前記識別情報に対応する前記通信ネットワーク上のアドレスを前記入出力装置から取得する制御部と、を備えることを特徴とする。
本発明によれば、容易に、入出力装置との接続に必要な情報を通信端末装置が取得して、入出力装置との通信を開始することができる。
In order to achieve the above object, a communication terminal device of the present invention specifies a communication unit that is accessible via a communication network to an input / output device to be controlled connected to the communication network, and the input / output device. A reading unit that reads identification information; and a control unit that acquires, from the input / output device, an address on the communication network corresponding to the identification information by the communication unit.
According to the present invention, the communication terminal device can easily acquire information necessary for connection with the input / output device and start communication with the input / output device.
また、本発明は、上記通信端末装置において、前記制御部は、ブロードキャストを使用して前記通信ネットワークに問い合わせパケットを送信することにより、前記入出力装置から前記通信ネットワーク上のアドレスを取得することを特徴とする。
本発明によれば、入出力装置との接続に必要な情報をブロードキャストにより簡単に取得することができる。
In the communication terminal device according to the present invention, the control unit may acquire an address on the communication network from the input / output device by transmitting an inquiry packet to the communication network using broadcast. Features.
According to the present invention, information necessary for connection with an input / output device can be easily obtained by broadcasting.
また、本発明は、上記通信端末装置において、前記制御部は、前記通信ネットワーク上のアドレスを取得することができない場合に、前記通信ネットワーク上のアドレスの取得に失敗した旨を表示部に表示させることを特徴とする。
本発明によれば、通信ネットワーク上のアドレスの取得に失敗した旨をユーザーに通知して、ユーザーにその後の対応を速やかにとらせることができる。
In the communication terminal device according to the present invention, when the control unit cannot acquire an address on the communication network, the display unit displays that the acquisition of the address on the communication network has failed. It is characterized by that.
According to the present invention, it is possible to notify the user that acquisition of an address on the communication network has failed, and to prompt the user to take subsequent action.
また、本発明は、上記通信端末装置において、前記読取部は、前記入出力装置に付着されたNFCタグに記録された前記識別情報、又は前記入出力装置に付着された、QRコード化された前記識別情報を読み取ることを特徴とする。
本発明によれば、入出力装置を特定する識別情報を、簡単に取得することができる。
In the communication terminal device according to the present invention, the reading unit may be the QR code attached to the input information or the identification information recorded in the NFC tag attached to the input / output device. The identification information is read.
According to the present invention, identification information for specifying an input / output device can be easily obtained.
また、本発明は、上記通信端末装置において、前記識別情報は、MACアドレスであり、前記通信ネットワーク上のアドレスは、IPアドレスであることを特徴とする。
本発明によれば、MACアドレスにより入出力装置を特定して、通信ネットワーク上の入出力装置との通信が可能なアドレスであるIPアドレスを取得することができる。従って、MACアドレスにより入出力装置を一意に特定することができ、IPアドレスにより入出力装置との通信が可能となる。
In the communication terminal device according to the present invention, the identification information is a MAC address, and the address on the communication network is an IP address.
According to the present invention, an input / output device can be specified by a MAC address, and an IP address that can communicate with the input / output device on a communication network can be acquired. Therefore, the input / output device can be uniquely specified by the MAC address, and communication with the input / output device can be performed by the IP address.
また、本発明は、上記通信端末装置において、前記入出力装置は、印刷装置であることを特徴とする。
本発明によれば、通信ネットワーク経由で印刷データを通信端末装置から印刷装置に送って、印刷装置に印刷させることができる。
In the communication terminal device according to the present invention, the input / output device is a printing device.
According to the present invention, print data can be sent from a communication terminal device to a printing device via a communication network and printed on the printing device.
本発明の通信システムは、通信ネットワークに接続された複数の制御対象の入出力装置と、前記複数の制御対象の入出力装置の中から選択した入出力装置に処理を実行させる通信端末装置と、を備え、前記通信端末装置は、通信ネットワークに接続された制御対象の入出力装置に、前記通信ネットワークを介してアクセス可能な通信部と、前記入出力装置を特定する識別情報を読み取る読取部と、前記通信部により、前記識別情報に対応する前記通信ネットワーク上のアドレスを前記入出力装置から取得する制御部と、を備えることを特徴とする。
本発明によれば、容易に、入出力装置との接続に必要な情報を通信端末装置が取得して、入出力装置との通信を開始することができる。
A communication system according to the present invention includes a plurality of control target input / output devices connected to a communication network, a communication terminal device that causes the input / output device selected from the plurality of control target input / output devices to execute processing, The communication terminal device includes: a communication unit that can access the input / output device to be controlled connected to the communication network via the communication network; and a reading unit that reads identification information that identifies the input / output device. And a control unit that acquires, from the input / output device, an address on the communication network corresponding to the identification information by the communication unit.
According to the present invention, the communication terminal device can easily acquire information necessary for connection with the input / output device and start communication with the input / output device.
本発明のプログラムは、通信端末装置のコンピュータに、入出力装置を特定する識別情報を読み取る手順と、通信ネットワークに接続された制御対象の入出力装置に、前記通信ネットワークを介してアクセス可能な通信部により、前記識別情報に対応する前記通信ネットワーク上のアドレスを前記入出力装置から取得する手順と、を実行させる。
本発明によれば、容易に、入出力装置との接続に必要な情報を通信端末装置が取得して、入出力装置との通信を開始することができる。
The program of the present invention includes a procedure for reading identification information for identifying an input / output device to a computer of a communication terminal device, and a communication that can access the input / output device to be controlled connected to the communication network via the communication network. And a procedure for acquiring an address on the communication network corresponding to the identification information from the input / output device.
According to the present invention, the communication terminal device can easily acquire information necessary for connection with the input / output device and start communication with the input / output device.
本発明の通信端末装置の制御方法は、入出力装置を特定する識別情報を読み取るステップと、通信ネットワークに接続された制御対象の入出力装置に、前記通信ネットワークを介してアクセス可能な通信部により、前記識別情報に対応する前記通信ネットワーク上のアドレスを前記入出力装置から取得するステップと、を有することを特徴とする。
本発明によれば、容易に、入出力装置との接続に必要な情報を通信端末装置が取得して、入出力装置との通信を開始することができる。
The communication terminal device control method of the present invention includes a step of reading identification information for identifying an input / output device, and a communication unit that can access the input / output device to be controlled connected to the communication network via the communication network. Acquiring from the input / output device an address on the communication network corresponding to the identification information.
According to the present invention, the communication terminal device can easily acquire information necessary for connection with the input / output device and start communication with the input / output device.
以下、添付の図面を参照しながら本発明の実施形態について説明する。図1に、POS(Point Of Sale)システム1のシステム構成図を示す。POSシステム1は、通信端末装置3をPOS端末として使用する、いわゆるモバイルPOSシステムである。POSシステム1の利用形態として第1の利用形態と、第2の利用形態とがある。第1の利用形態では、POSシステム1のユーザーは、例えば、通信端末装置3と印刷装置(制御対象の入出力装置)2との両方を携帯して店舗内を移動する。ユーザーは、これらの装置を携帯する際、通信端末装置3の印刷データの送信先を、一緒に携帯する印刷装置2に設定(ペアリング設定)する。レシート等の印刷が必要になった際には、印刷データを通信端末装置3からペアリング設定された印刷装置2に送信して、印刷装置2に印刷を行わせる。また、第2の利用形態では、POSシステム1のユーザーは、通信端末装置3を携帯して店舗内を移動する。そして、レシート等の印刷が必要になった際には、店舗内の近くに置かれた印刷装置(制御対象の入出力装置)2を印刷データの送信先に設定して、通信端末装置3からペアリング設定された印刷装置2に印刷データを送信して、印刷装置2に印刷を行わせる。
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 shows a system configuration diagram of a POS (Point Of Sale)
POSシステム1は、印刷を行う複数の印刷装置2と、会計処理を行う複数の通信端末装置3とを備える。また、POSシステム1は、無線LAN通信(例えば、Wi−Fi(登録商標))を行う複数のアクセスポイント(無線LANアクセスポイント)4と、複数の通信端末装置3による会計処理を管理するPOSサーバー7とを備える。なお、本実施形態では、入出力装置として印刷装置2を例に挙げて説明するが、入出力装置は、スキャナー装置であってもよい。
The
通信端末装置3及び印刷装置2は、無線LAN通信(通信ネットワーク)により、いずれかのアクセスポイント4に接続される。複数のアクセスポイント4間は、店舗内LAN(通信ネットワーク)6により接続される。店舗内LAN6には、POSサーバー7も接続される。通信端末装置3と印刷装置2とが同一のアクセスポイント4に接続されている場合には、通信端末装置3は、アクセスポイント4を介して印刷装置2に接続される。また、通信端末装置3の接続したアクセスポイント4と、印刷装置2の接続したアクセスポイント4とが異なる場合、通信端末装置3は、アクセスポイント4及び店舗内LAN6を介して、印刷装置2にネットワーク接続される。
The communication terminal device 3 and the printing device 2 are connected to one of the
図2に、印刷装置2の構成の一例を示す。印刷装置2は、例えば、携帯可能なモバイルプリンターである。印刷装置2は、装置ケース20(図1参照)に貼り付けられたNFC(Near Field Communication)タグ21と、アクセスポイント4との無線通信を行うネットワークデバイス22とを備える。また、印刷装置2は、印刷を行う印刷部23と、ネットワークデバイス22及び印刷部23を制御する印刷制御部24とを備える。
FIG. 2 shows an example of the configuration of the printing apparatus 2. The printing device 2 is a portable mobile printer, for example. The printing apparatus 2 includes an NFC (Near Field Communication) tag 21 attached to an apparatus case 20 (see FIG. 1) and a
NFCタグ21は、不図示のアンテナ及びICチップを備え、近距離無線通信による通信が可能である。NFCタグ21には、印刷装置2を特定する識別情報として、印刷装置2に搭載されたネットワークデバイス22のMACアドレスが記憶される。NFCタグ21の記憶するMACアドレスは、近距離無線通信によって読み取ることができる。
The
ネットワークデバイス22は、アクセスポイント4と、例えば、無線LAN(例えば、Wi−Fi通信)による無線通信を行い、アクセスポイント4を介して店舗内LAN6に接続する。すなわち、ネットワークデバイス22は、アクセスポイント4及び店舗内LAN6を介して、通信端末装置3や他の印刷装置2との通信を行う。
The
印刷部23は、印刷ヘッド(例えば、サーマルヘッド)を備え、印刷制御部24の制御により、レシート用紙に印刷データを印刷する。
The
印刷制御部24は、通信端末装置3又はPOSサーバー7から送信されたレシートの印刷データを受信し、受信した印刷データに基づいて印刷部23を制御し、レシートを印刷(発行)させる。
The
また、印刷制御部24は、メモリー25を備える。メモリー25は、印刷装置2のIP(Internet protocol)アドレスや、ネットワークデバイス22のMACアドレスを機器情報として記憶する。
The
次に、図3を参照しながら通信端末装置3について説明する。図3に、通信端末装置3の構成の一例を示す。通信端末装置3は、一般的なタブレット端末で構成される。通信端末装置3は、NFC読取部(読取部)31と、タッチパネル(表示部)32と、撮像カメラ33と、無線通信部(通信部)34と、これらを制御する制御部50とを備える。
Next, the communication terminal device 3 will be described with reference to FIG. FIG. 3 shows an example of the configuration of the communication terminal device 3. The communication terminal device 3 is configured by a general tablet terminal. The communication terminal device 3 includes an NFC reading unit (reading unit) 31, a touch panel (display unit) 32, an imaging camera 33, a wireless communication unit (communication unit) 34, and a
NFC読取部31は、不図示のNFCアンテナ及びNFC制御回路等を備え、NFCタグ21に記憶された情報を近距離無線通信により読み取る。
The
タッチパネル32は、図1に示すように、通信端末装置3の前面のほぼ全域に設けられ、制御部50の制御により各種情報を表示する。また、タッチパネル32は、接触操作を検出する静電容量式や感圧式のセンサー(不図示)を備え、このセンサーによってタッチパネル32に対するタッチ操作を検出して入力を受け付ける。例えば、タッチパネル32には、POSサーバー7からダウンロードした購入商品の情報等(例えば、商品コード、商品名及び金額に関する情報等)が表示される。また、タッチパネル32は、クレジットカードの決済に必要な決済情報と、当該決済情報の利用時に必要なパスワード等の入力を受け付ける。
As shown in FIG. 1, the
撮像カメラ33は、CMOS(Complementary Metal Oxide Semiconductor)やCCD(Charge Coupled Devices)などのイメージセンサーを有するカメラで構成され、画像を撮像する。撮像カメラ33は、印刷装置2の装置ケース20に貼付されたQRコード(登録商標)27の画像を撮影する。印刷装置2には、図4に示すように、NFCタグ21に代えて、MACアドレスを2次元コード化したQRコード27を貼付してもよい。
The imaging camera 33 is configured by a camera having an image sensor such as a complementary metal oxide semiconductor (CMOS) or a charge coupled device (CCD), and captures an image. The imaging camera 33 captures an image of a QR code (registered trademark) 27 attached to the
無線通信部34は、後述する制御部50の制御により、アクセスポイント4と無線LANによる無線通信を行う。無線通信部34は、アクセスポイント4を介して店舗内LAN6に接続する。すなわち、無線通信部34は、アクセスポイント4及び店舗内LAN6を介して、印刷装置2及びPOSサーバー7との通信を行う。
The
制御部50は、CPU(Central Processing Unit)51、ROM(Read Only Memory)52、RAM(Random Access Memory)53、不揮発性メモリー54等をハードウェアとして備える。なお、不揮発性メモリー54は、通信端末装置3の電源がオフされた後もデータを記憶する記憶装置であり、例えば、フラッシュメモリー、EEPROM、SDカード、磁気記憶装置等を用いることができる。
The
ROM52には、OS(Operating System:基本ソフト)521やアプリケーションプログラム(POSアプリケーション522、印刷制御アプリケーション523)等のプログラムが保存される。OS521は、特に限定されるのではなく、iOS(登録商標)、Android(登録商標)、Windows(登録商標)RT、Windows(登録商標)8等の一般的に知られたOSでもよい。アプリケーションプログラムについては、図5を参照しながら説明する。
The
次に、図5を参照しながら制御部50の機能ブロックについて説明する。機能ブロックは、制御部50の備えるCPU51が、ROM52に記録されたプログラムを読み出して実行する等、ハードウェアとソフトウェアとの協働により実現される。制御部50は、機能ブロックとして、会計処理を行う会計処理部56と、印刷制御を行う印刷制御部57とを備える。会計処理部56は、CPU51がROM52に保存されたPOSアプリケーション522を読み出して実行することで実現され、通信端末装置3が会計入出力装置として機能する。同様に、印刷制御部57は、CPU51が印刷制御アプリケーション523を実行することで、通信端末装置3が印刷制御装置として機能する。
Next, functional blocks of the
会計処理部56は、タッチパネル32による入力情報に基づいて会計処理を行う。すなわち、会計処理部56は、入力情報(購入商品の情報等)と、POSサーバー7から得られた情報(例えば、商品コード、商品名及び金額に関する情報等)とに基づいて会計処理データを生成する。会計処理部56は、生成した会計処理データを印刷制御部57に渡す。
The
印刷制御部57は、読取制御部571と、送信先設定部(制御部)572と、印刷データ送信部573とを備える。
The
読取制御部571は、NFC読取部31を制御して、印刷装置2のNFCタグ21から、MACアドレスを読み取る。また、読取制御部571は、撮像カメラ33の撮影画像を入力する。読取制御部571は、撮像カメラ33により撮影されたQRコード27の画像を解析して復号化することで、MACアドレスを読み取る。読取制御部571は、MACアドレスを送信先設定部572に渡す。
The
送信先設定部572は、読取制御部571から渡されたMACアドレスに基づいて、印刷データの送信先を設定する。具体的には、送信先設定部572は、読み取ったMACアドレスに基づいて、当該MACアドレスを有する印刷装置2のIPアドレス(通信ネットワーク上のアドレス)を取得し、取得したIPアドレスを印刷データの出力先に設定する。送信先設定部572の処理の詳細については後述する。
The transmission
印刷データ送信部573は、会計処理部56から取得した会計処理データを、レシートの印刷データとして印刷装置2に送信する。すなわち、印刷データ送信部573は、送信先設定部572により設定された送信先(IPアドレス)に、印刷データを送信する。印刷データは、無線LANによりアクセスポイント4を介して印刷装置2に送信される。
The print
通信端末装置3の不揮発性メモリー54には、アドレス管理テーブルが保存されている。図6にアドレス管理テーブルの一例を示す。アドレス管理テーブルには、店舗内LAN6に接続した印刷装置2の備えるネットワークデバイス22のMACアドレスと、該当する印刷装置2のIPアドレスとが対応付けて登録されている。
An address management table is stored in the
図7に示すシーケンス図を参照しながら、送信先設定部572によるアドレス管理テーブルの作成手順を説明する。
送信先設定部572は、通信端末装置3の起動時等の所定のタイミングで、IPアドレスと、MACアドレスとの送信を要求するリクエストパケット(問い合わせパケット)を生成する。所定タイミングとしては、この他に、印刷制御アプリケーション523の起動時、ネットワークに接続したタイミング等が挙げられる。送信先設定部572は、生成したリクエストパケットの宛先アドレスにブロードキャストアドレスを設定して、店舗内LAN6にブロードキャストする。図7には、店舗内LAN6に接続した印刷装置が、印刷装置2A、2B、2Cの3つである場合が示される。ブロードキャストされたリクエストパケットは、印刷装置2A、2B、2Cの各印刷装置2に受信される。
A procedure for creating an address management table by the transmission
The transmission
リクエストパケットを受信した各印刷装置2A、2B、2Cは、リクエストパケットに従って、自身のMACアドレスとIPアドレスとを応答パケットとして、リクエストパケットの要求元の通信端末装置3に返信する。
例えば、印刷装置2Aの印刷制御部24が備えるメモリー25には、機器情報として、印刷装置2AのMACアドレスと、IPアドレスとが保存されている。印刷制御部24は、ネットワークデバイス22を介してリクエストパケットを受信した場合、メモリー25から機器情報を読み出して、読み出した機器情報をデータとして含む応答パケットを生成する。印刷制御部24は、生成した応答パケットを、ネットワークデバイス22を介して、リクエストパケットの送信元の通信端末装置3に送信する。他の印刷装置2B、2Cについても、印刷装置2Aと同様に処理を行う。
なお、機器情報のうちのMACアドレスは、ネットワークデバイス22の備えるメモリー(不図示)に保存してもよいし、IPアドレスは、印刷制御部24の備えるOSのレジストリに保存してもよい。
Each of the printing apparatuses 2A, 2B, and 2C that has received the request packet returns a response packet of its own MAC address and IP address to the requesting communication terminal apparatus 3 according to the request packet.
For example, the MAC address and the IP address of the printing apparatus 2A are stored as device information in the
The MAC address in the device information may be stored in a memory (not shown) included in the
通信端末装置3の送信先設定部572は、印刷装置2から応答パケットを受信すると、受信した応答パケットからMACアドレスと、IPアドレスとを取り出す。送信先設定部572は、取り出したMACアドレスと、IPアドレスとを対応づけて、図6に示すアドレス管理テーブルに登録する。
When receiving the response packet from the printing apparatus 2, the transmission
また、送信先設定部572は、印刷データを印刷させたい印刷装置2のNFCタグ21に記録されたMACアドレスが、NFC読取部31によって読み取られると、アドレス管理テーブルを参照して対応するIPアドレスを取得する。送信先設定部572は、取得したIPアドレスを、印刷データを送信する宛先アドレスとして設定する。
Further, when the MAC address recorded in the
次に、図8を参照しながら、POSサーバー7について説明する。図8に、POSサーバー7の構成の一例を示す。
POSサーバー7は、ハードウェアとして、CPU71と、ROM72やRAM73等のメモリーとを有し、ROM72内に記憶された制御プログラムに従って、RAM73内のバッファー735等に記憶された情報の処理を行う。また、RAM73内には、各商品の識別コードである商品コードを記録した商品コードブロック731、各商品の商品名を記録した商品名ブロック732のブロックが設けられる。また、RAM73内には、各商品の金額を記録した金額ブロック733、商品の在庫を記録した在庫ブロック734が設けられる。CPU71は、通信端末装置3から送信される商品コードに基づいて該当商品の金額に関する情報を抽出し、該当の通信端末装置3に送信する。
Next, the POS server 7 will be described with reference to FIG. FIG. 8 shows an example of the configuration of the POS server 7.
The POS server 7 includes a
なお、図8には図示していないが、通信端末装置3の会計処理部56により行われる会計処理を、POSサーバー7により行うようにしてもよい。すなわち、通信端末装置3の会計処理部56は、タッチパネル32により受け付けた商品の商品コードを、無線通信部34を介してPOSサーバー7に送信する。POSサーバー7は、通信端末装置3から商品コードを受信すると、受信した商品コードに基づいて商品を特定し、金額ブロック733を参照して支払い金額を計算する。POSサーバー7は、特定した商品の商品名、支払い金額等を印刷データとして印刷装置2に送信して、印刷装置2に印刷させる。なお、印刷データを送信する印刷装置2は、通信端末装置3からIPアドレス又はMACアドレスにより指定された印刷装置である。
Although not shown in FIG. 8, the accounting process performed by the
次に、フローチャートを参照しながら、通信端末装置3の処理手順を説明する。なお、図9〜図11を参照して説明する処理フローは、ユーザーが第1の利用態様によりPOSシステム1を利用する場合のフローである。第1の利用態様では、ユーザーは、例えば、通信端末装置3と印刷装置2との両方を携帯して店舗内を移動する。ユーザーは、これらの装置を携帯する際、通信端末装置3の印刷データの送信先を、一緒に携帯する印刷装置2に設定(ペアリング設定)する。レシート等の印刷が必要になった際には、印刷データを通信端末装置3からペアリング設定された印刷装置2に送信して、印刷装置2に印刷を行わせる。
Next, a processing procedure of the communication terminal device 3 will be described with reference to a flowchart. The processing flow described with reference to FIGS. 9 to 11 is a flow when the user uses the
まず、図6に示したアドレス管理テーブルを作成する手順を図9に示すフローチャートを参照しながら説明する。なお、アドレス管理テーブルの作成処理は、制御部50の送信先設定部572による制御により実現される。
また、送信先設定部572が、アドレス管理テーブルの作成処理を実行するタイミングは、通信端末装置3の起動時、印刷制御アプリケーション523の起動時、ネットワークに接続したタイミング等の所定のタイミングで行う。
First, the procedure for creating the address management table shown in FIG. 6 will be described with reference to the flowchart shown in FIG. The address management table creation process is realized by control by the transmission
The
送信先設定部572は、まず、リクエストパケットを生成する(ステップS1)。送信先設定部572は、IPアドレスと、MACアドレスとの送信を要求するリクエストパケットを生成する。送信先設定部572は、リクエストパケットを生成すると、生成したリクエストパケットの宛先アドレスにブロードキャストアドレスを設定して、店舗内LAN6に接続している端末にブロードキャストする(ステップS2)。
The transmission
リクエストパケットをブロードキャストすると、送信先設定部572は、リクエストパケットに対する応答パケットを受信したか否かを判定する(ステップS3)。送信先設定部572は、店舗内LAN6に接続している通信端末装置3や印刷装置2から応答パケットを受信すると、受信した応答パケットに含まれるMACアドレス及びIPアドレスを取り出して、アドレス管理テーブルに登録する(ステップS4)。
When the request packet is broadcast, the transmission
次に、送信先設定部572は、ステップS2において行ったリクエストパケットの送信から所定時間を経過したか否かを判定する(ステップS5)。すなわち、送信先設定部572は、タイムアウト時間を経過したか否かを判定する。肯定判定の場合(ステップS5/YES)、送信先設定部572は、この処理を終了する。また、否定判定の場合(ステップS5/NO)、送信先設定部572は、ステップS3に戻り、応答パケットの受信を待機する(ステップS3)。
Next, the transmission
次に、図10に示すフローチャートを参照しながら、ユーザーの選択した印刷装置2を印刷データの送信先に設定する送信先設定処理について説明する。なお、この送信先設定処理は、制御部50の読取制御部571と送信先設定部572とによる制御により行われる。なお、第1の利用形態においては、ユーザーは、通信端末装置3と印刷装置2とを携帯する際に、通信端末装置3にこの送信先設定処理を実行させる。
Next, a transmission destination setting process for setting the printing apparatus 2 selected by the user as a transmission destination of print data will be described with reference to the flowchart shown in FIG. This transmission destination setting process is performed under the control of the
通信端末装置3を所持するユーザーは、まず、印刷データを印刷させたい印刷装置2のNFCタグ21に、通信端末装置3を近づける。すなわち、通信端末装置3を、印刷装置2のNFCタグ21にかざす。通信端末装置3のNFC読取部31と、NFCタグ21との距離が近距離無線通信可能な距離に近づくことで、読取制御部571は、NFC読取部31を制御して、NFCタグ21に記録されたMACアドレスを読み取る(ステップS11)。
A user who possesses the communication terminal device 3 first brings the communication terminal device 3 close to the
送信先設定部572は、NFC読取部31により読み取られたMACアドレスを入力すると、アドレス管理テーブルを参照して、入力したMACアドレスがアドレス管理テーブルに登録されているか否かを判定する(ステップS12)。否定判定の場合(ステップS12/NO)、送信先設定部572は、タッチパネル32に、NFC読取部31により読み取ったMACアドレスが登録されていない旨をエラー表示する。この場合、送信先設定部572は、図9にて説明したアドレス管理テーブルの作成処理を再度行ってからアドレス管理テーブルの更新を行う。このため、送信先設定部572は、「アドレス管理テーブルの更新が終了するまで待機して下さい」といった表示をタッチパネル32に表示させる(ステップS13)。また、肯定判定の場合(ステップS12/YES)、送信先設定部572は、読み取ったMACアドレスに対応付けられたIPアドレスをアドレス管理テーブルから取得する(ステップS14)。そして、制御部50は、取得したIPアドレスを、印刷データの送信先を表す宛先アドレスに設定する(ステップS15)。これにより、NFC読取部31により読み取られたMACアドレスに対応するIPアドレスが印刷データの送信先に設定される。
When the MAC address read by the
次に、図11に示すフローチャートを参照しながら、レシートを発行する印刷処理について説明する。通信端末装置3における印刷処理は、会計処理部56及び印刷データ送信部573による制御により実現される。また、この印刷処理は、図9を参照して説明したアドレス管理テーブル作成処理と、図10に示す送信先設定処理とを行い、印刷データの送信先が設定された状態で行われる。
会計処理部56は、タッチパネル32により受け付けた入力に従って、POSサーバー7から取得した商品名、商品コード等の情報をタッチパネル32に表示させる。そして、タッチパネル32により商品が選択されると、選択された商品の商品コードをPOSサーバー7に送信して、選択された商品の金額情報をPOSサーバー7から取得する。会計処理部56は、例えば、ユーザーが購入した商品の商品名と、金額と、購入した時刻等を含む会計処理データを生成して(ステップS21)、印刷データ送信部573に渡す。
Next, a printing process for issuing a receipt will be described with reference to the flowchart shown in FIG. The printing process in the communication terminal device 3 is realized by control by the
The
印刷データ送信部573は、会計処理データを送信先設定部572から渡されると、無線通信部34を制御して、会計処理データを印刷データとして印刷装置2に送信する(ステップS22)。このとき、印刷データ送信部573は、送信先設定処理により設定された宛先アドレス(IPアドレス)に印刷データを送信する(ステップS22)。印刷データは、無線LANによりアクセスポイント4を介して印刷装置2に送信される。
When the accounting data is transferred from the transmission
印刷データの送信先の印刷装置2は、通信端末装置3から送信されたレシートの印刷データを受信し(ステップS31)、受信した印刷データに基づいて、レシートを印刷(発行)する(ステップS32)。 The printing apparatus 2 that is the transmission destination of the print data receives the print data of the receipt transmitted from the communication terminal apparatus 3 (step S31), and prints (issues) the receipt based on the received print data (step S32). .
また、通信端末装置3は、印刷ステータスをリクエストするステータスリクエストを、印刷データを送信した印刷装置2に送信する(ステップS23)。印刷装置2は、ステータスリクエストを受信すると(ステップS33)、印刷処理の状況を表すステータス情報を生成して、リクエストを送信した通信端末装置3に送信する(ステップS34)。ステータス情報には、例えば、印刷が正常終了した場合の「正常終了」、印刷が終了していない場合に、その原因を表す「レシート用紙切れ」、「インク切れ」等が挙げられる。 Further, the communication terminal apparatus 3 transmits a status request for requesting the print status to the printing apparatus 2 that has transmitted the print data (step S23). When receiving the status request (step S33), the printing apparatus 2 generates status information indicating the status of the printing process, and transmits the status information to the communication terminal apparatus 3 that transmitted the request (step S34). The status information includes, for example, “normal end” when printing ends normally, “out of receipt paper” and “out of ink” indicating the cause when printing is not ended.
通信端末装置3の印刷データ送信部573は、印刷装置2からステータス情報を受信すると(ステップS24)、受信したステータス情報をタッチパネル32に表示させる。通信端末装置3のユーザーが、タッチパネル32の表示を参照することで、印刷ができない場合に、その原因を特定することができる。
When receiving the status information from the printing apparatus 2 (step S24), the print
なお、図9〜図11に示す処理フローでは、第1の利用形態における処理フローとして説明したが、第2の利用形態においても同様の処理フローで処理が行われる。ただし、第1の利用態様と第2の利用態様とでは、図10を参照して説明した送信先設定処理の実行タイミングが異なる。すなわち、第1の利用形態では、送信先設定処理を、ユーザーが通信端末装置3と印刷装置2とを携帯する際に、通信端末装置3の印刷データの送信先を、一緒に携帯する印刷装置2に設定(ペアリング設定)していた。これに対し、第2の利用態様では、ユーザーは、通信端末装置3を携帯し、レシートを印刷する必要が生じた場合に、最寄りの印刷装置2を印刷データの送信先に設定する。また、第2の利用形態においては、NFC読取部31によりNFCタグ21に記録されたMACアドレスを読み取ったことをトリガとして、印刷を開始するように設定してもよい。すなわち、送信先設定部572は、MACアドレスをNFC読取部31から入力したことを契機として、印刷データの送信先となるIPアドレスを、アドレス管理テーブルを参照して取得し、取得したいIPアドレスを印刷データの宛先アドレスに設定する。また、会計処理部56は、MACアドレスがNFC読取部31から入力されたことを契機として、印刷データを印刷データ送信部573に渡す。印刷データ送信部573は、印刷データを会計処理部56から取得すると、取得した印刷データを宛先アドレス(IPアドレス)宛てに送信する。すなわち、印刷データは、無線LANによりアクセスポイント4を介して印刷装置2に送信される。
In the processing flows shown in FIGS. 9 to 11, the processing flow in the first usage pattern has been described. However, in the second usage pattern, processing is performed in the same processing flow. However, the execution timing of the transmission destination setting process described with reference to FIG. 10 differs between the first usage mode and the second usage mode. That is, in the first usage mode, when the user carries the communication terminal device 3 and the printing device 2 in the transmission destination setting process, the printing device that carries the transmission destination of the print data of the communication terminal device 3 together. 2 (pairing setting). On the other hand, in the second usage mode, when the user carries the communication terminal device 3 and needs to print a receipt, the user sets the nearest printing device 2 as the transmission destination of the print data. In the second usage mode, printing may be set to start when the
以上説明したように、本発明を適用した実施形態の通信端末装置3は、無線通信部34と、NFC読取部31と、送信先設定部572とを備えている。無線通信部34は、店舗内LAN6に接続された制御対象の印刷装置2に、アクセスポイント4及び店舗内LAN6を介してアクセス可能である。NFC読取部31は、印刷装置2を特定するMACアドレスを読み取る。送信先設定部572は、無線通信部34により印刷装置2にアクセスして、MACアドレスに対応するIPアドレスを取得する。従って、容易に、印刷装置2との接続に必要な情報を通信端末装置3が取得して、印刷装置2との通信を開始することができる。
As described above, the communication terminal device 3 according to the embodiment to which the present invention is applied includes the
また、送信先設定部572は、ブロードキャストを使用して店舗内LAN6に問い合わせパケットを送信することで印刷装置2にアクセスし、MACアドレスにより特定される印刷装置2から、IPアドレスを取得することができる。従って、通信端末装置3は、印刷装置2との接続に必要な情報を簡単に取得することができる。
Further, the transmission
また、送信先設定部572は、IPアドレスを取得することができなかった場合に、IPアドレスの取得に失敗した旨をタッチパネル32に表示させる。従って、IPアドレスの取得に失敗した旨をユーザーに通知して、ユーザーにその後の対応を速やかにとらせることができる。
Further, the transmission
また、NFC読取部31は、印刷装置2に貼付されたNFCタグに記録されたMACアドレスを読み取る。印刷装置2に貼付された、QRコード化されたMACアドレスを撮像カメラ33で撮影して、撮影画像からMACアドレスを読み取る。従って、一般的に知られた簡単な構成で、印刷装置2を特定するMACアドレスを取得することができる。
Further, the
また、印刷装置2を識別する識別情報としてMACアドレスを使用し、通信ネットワーク上のアドレスとしてIPアドレスを使用する。従って、MACアドレスにより入出力装置を一意に特定することができ、IPアドレスにより入出力装置との通信が可能となる。 Further, a MAC address is used as identification information for identifying the printing apparatus 2 and an IP address is used as an address on the communication network. Therefore, the input / output device can be uniquely specified by the MAC address, and communication with the input / output device can be performed by the IP address.
上述した実施形態は、本発明の好適な実施の形態である。ただし、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の変形実施が可能である。例えば、上記実施形態では入出力装置として印刷装置2を備えた構成例を説明したが、本発明はこれに限定されるものではなく、画像を光学的に読み取るスキャナー装置や、画像を表示する表示装置、或いは、その他の装置を備えた構成とすることもできる。 The above-described embodiment is a preferred embodiment of the present invention. However, the present invention is not limited to this, and various modifications can be made without departing from the scope of the present invention. For example, in the above embodiment, the configuration example including the printing apparatus 2 as an input / output apparatus has been described. However, the present invention is not limited to this, and a scanner apparatus that optically reads an image or a display that displays an image. It can also be set as the structure provided with the apparatus or the other apparatus.
1…POSシステム、2…印刷装置(入出力装置)、3…通信端末装置、4…アクセスポイント、6…店舗内LAN、7…POSサーバー、21…NFCタグ、22…ネットワークデバイス、23…印刷部、24…印刷制御部、25…メモリー、27…QRコード、31…NFC読取部(読取部)、32…タッチパネル(表示部)、33…撮像カメラ、34…無線通信部(通信部)、50…制御部、56…会計処理部、57…印刷制御部、522…POSアプリケーション、523…印刷制御アプリケーション、571…読取制御部、572…送信先設定部(制御部)、573…印刷データ送信部。
DESCRIPTION OF
Claims (9)
前記入出力装置を特定する識別情報を読み取る読取部と、
前記通信部により、前記識別情報に対応する前記通信ネットワーク上のアドレスを前記入出力装置から取得する制御部と、
を備えることを特徴とする通信端末装置。 A communication unit accessible via the communication network to an input / output device to be controlled connected to the communication network;
A reading unit for reading identification information for specifying the input / output device;
A controller for acquiring an address on the communication network corresponding to the identification information from the input / output device by the communication unit;
A communication terminal device comprising:
前記複数の制御対象の入出力装置の中から選択した入出力装置に処理を実行させる通信端末装置と、を備え、
前記通信端末装置は、通信ネットワークに接続された制御対象の入出力装置に、前記通信ネットワークを介してアクセス可能な通信部と、
前記入出力装置を特定する識別情報を読み取る読取部と、
前記通信部により、前記識別情報に対応する前記通信ネットワーク上のアドレスを前記入出力装置から取得する制御部と、を備える
ことを特徴とする通信システム。 A plurality of input / output devices to be controlled connected to a communication network;
A communication terminal device that causes an input / output device selected from the plurality of input / output devices to be controlled to execute processing;
The communication terminal device includes a communication unit that is accessible to the input / output device to be controlled connected to the communication network via the communication network;
A reading unit for reading identification information for specifying the input / output device;
A communication unit comprising: a control unit that acquires, from the input / output device, an address on the communication network corresponding to the identification information by the communication unit.
入出力装置を特定する識別情報を読み取る手順と、
通信ネットワークに接続された制御対象の入出力装置に、前記通信ネットワークを介してアクセス可能な通信部により、前記識別情報に対応する前記通信ネットワーク上のアドレスを前記入出力装置から取得する手順と、
を実行させるためのプログラム。 In the computer of the communication terminal device,
A procedure for reading identification information for identifying an input / output device;
A procedure for acquiring an address on the communication network corresponding to the identification information from the input / output device by a communication unit accessible via the communication network to the input / output device to be controlled connected to the communication network;
A program for running
通信ネットワークに接続された制御対象の入出力装置に、前記通信ネットワークを介してアクセス可能な通信部により、前記識別情報に対応する前記通信ネットワーク上のアドレスを前記入出力装置から取得するステップと、
を有することを特徴とする通信端末装置の制御方法。 Reading identification information identifying an input / output device;
Obtaining an address on the communication network corresponding to the identification information from the input / output device by a communication unit accessible via the communication network to the input / output device to be controlled connected to the communication network;
A control method for a communication terminal apparatus, comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014137689A JP6375732B2 (en) | 2014-07-03 | 2014-07-03 | COMMUNICATION TERMINAL DEVICE, COMMUNICATION SYSTEM, PROGRAM, AND COMMUNICATION TERMINAL DEVICE CONTROL METHOD |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014137689A JP6375732B2 (en) | 2014-07-03 | 2014-07-03 | COMMUNICATION TERMINAL DEVICE, COMMUNICATION SYSTEM, PROGRAM, AND COMMUNICATION TERMINAL DEVICE CONTROL METHOD |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2016015080A true JP2016015080A (en) | 2016-01-28 |
JP2016015080A5 JP2016015080A5 (en) | 2017-08-03 |
JP6375732B2 JP6375732B2 (en) | 2018-08-22 |
Family
ID=55231204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014137689A Expired - Fee Related JP6375732B2 (en) | 2014-07-03 | 2014-07-03 | COMMUNICATION TERMINAL DEVICE, COMMUNICATION SYSTEM, PROGRAM, AND COMMUNICATION TERMINAL DEVICE CONTROL METHOD |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6375732B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10678934B2 (en) | 2017-01-20 | 2020-06-09 | Konica Minolta, Inc. | Access information setting system, access information setting method and data transmission device |
CN114615661A (en) * | 2022-02-23 | 2022-06-10 | 麦克奥迪实业集团有限公司 | Microscope wireless interactive teaching access method and system based on two-dimensional code |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001101109A (en) * | 1999-09-30 | 2001-04-13 | Fujitsu Ltd | Method for controlling communication in network |
JP2004129142A (en) * | 2002-10-07 | 2004-04-22 | Oki Data Corp | Method of connecting network line |
JP2007034443A (en) * | 2005-07-22 | 2007-02-08 | Konica Minolta Business Technologies Inc | Image formation system, image formation device, and image formation processing method |
JP2007156774A (en) * | 2005-12-05 | 2007-06-21 | Seiko Epson Corp | Network system |
JP2014095969A (en) * | 2012-11-08 | 2014-05-22 | Star Micronics Co Ltd | Network printing system and network printing program |
-
2014
- 2014-07-03 JP JP2014137689A patent/JP6375732B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001101109A (en) * | 1999-09-30 | 2001-04-13 | Fujitsu Ltd | Method for controlling communication in network |
JP2004129142A (en) * | 2002-10-07 | 2004-04-22 | Oki Data Corp | Method of connecting network line |
JP2007034443A (en) * | 2005-07-22 | 2007-02-08 | Konica Minolta Business Technologies Inc | Image formation system, image formation device, and image formation processing method |
JP2007156774A (en) * | 2005-12-05 | 2007-06-21 | Seiko Epson Corp | Network system |
JP2014095969A (en) * | 2012-11-08 | 2014-05-22 | Star Micronics Co Ltd | Network printing system and network printing program |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10678934B2 (en) | 2017-01-20 | 2020-06-09 | Konica Minolta, Inc. | Access information setting system, access information setting method and data transmission device |
CN114615661A (en) * | 2022-02-23 | 2022-06-10 | 麦克奥迪实业集团有限公司 | Microscope wireless interactive teaching access method and system based on two-dimensional code |
Also Published As
Publication number | Publication date |
---|---|
JP6375732B2 (en) | 2018-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6413896B2 (en) | Server device and communication system including server device | |
US10387088B2 (en) | Apparatus, method and system for detecting whether an MFP is within a threshold distance | |
US10095856B2 (en) | Communication device capable of performing a wireless communication according to NFC (abbreviation of near field communication) standard | |
US10594485B2 (en) | System, method, program, and recording medium storing program for authentication | |
US20130167143A1 (en) | System for automatically setting up smartphones apps | |
US9565515B2 (en) | Method and apparatus for information exchange, and delivery terminal | |
JP6424661B2 (en) | Control device, control system, and control method of control device | |
US20170352077A1 (en) | Information collecting system, server, and control program | |
US20140250311A1 (en) | Information processing apparatus and method | |
JP6459251B2 (en) | COMMUNICATION TERMINAL DEVICE, COMMUNICATION SYSTEM, PROGRAM, AND COMMUNICATION TERMINAL DEVICE CONTROL METHOD | |
JP5618866B2 (en) | Mobile printing system, image forming apparatus, and program for portable terminal device | |
CN109005307B (en) | Information processing apparatus, communication system, communication method, and recording medium | |
JP6375732B2 (en) | COMMUNICATION TERMINAL DEVICE, COMMUNICATION SYSTEM, PROGRAM, AND COMMUNICATION TERMINAL DEVICE CONTROL METHOD | |
EP3373126A1 (en) | Portable terminal for printing with a printer | |
JP2014100887A (en) | Printer, printer system and printer configuration method | |
JP2018007092A5 (en) | ||
JP6433141B2 (en) | Image forming system and information processing method | |
JP2019106091A (en) | Information processing device, control method thereof, program, and storage medium | |
JP6702407B2 (en) | Communication terminal device, communication system, program, and communication terminal device control method | |
JP2017028422A (en) | Printer, communication terminal, and program | |
US20190306713A1 (en) | Terminal apparatus, device, and non-transitory computer-readable recording medium | |
JP2015207096A (en) | Product sales data processing system, product sales data processing terminal device, and product sales data processing method | |
US20220174178A1 (en) | Information processing apparatus and non-transitory computer-readable medium | |
KR101281611B1 (en) | NFC information tag service system and method thereof | |
US10218875B2 (en) | Communication device capable of performing wireless communication according to NFC standard |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170620 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170620 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180124 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180206 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180406 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180626 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180709 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6375732 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |