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 PDF

Info

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
Application number
JP2014137689A
Other languages
Japanese (ja)
Other versions
JP6375732B2 (en
JP2016015080A5 (en
Inventor
拓也 杉本
Takuya Sugimoto
拓也 杉本
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2014137689A priority Critical patent/JP6375732B2/en
Publication of JP2016015080A publication Critical patent/JP2016015080A/en
Publication of JP2016015080A5 publication Critical patent/JP2016015080A5/ja
Application granted granted Critical
Publication of JP6375732B2 publication Critical patent/JP6375732B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a communication terminal device that can easily obtain information required for connecting with an input/output device and start communication with the input/output device.SOLUTION: A communication terminal device includes: a radio communication unit 34 that can access a printer 2 as a control object which is connected to a communication network, via the communication network; an NFC reading unit 31 that reads a MAC address specifying the printer 2; and a transmission destination setting unit 572 that accesses the printer by the radio communication unit 34 and obtains an IP address corresponding to the MAC address.

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 Patent Document 1, a mobile terminal acquires device information from NFC of a device such as a scanner, and transmits the acquired device information to a PC via a wireless LAN (Local Area Network). If the information stored in the PC includes device information transmitted from the portable terminal, the PC sets the device corresponding to the device information as an installation target device in the PC.

特開2014−67271号公報JP 2014-67271 A

しかしながら、特許文献1では、デバイスをインストール対象として設定しているだけで、通信設定等の詳細については開示がない。例えば、通信端末装置に、プリンターやスキャナー等の入出力装置のIPアドレスを近距離無線通信により取得させる構成とした場合、通信端末装置がIPアドレスを取得しても入出力装置との通信ができない場合がある。例えば、入出力装置を接続させる通信ネットワークによってIPアドレスの値は異なるため、通信ネットワークが変更されるごとに、入出力装置のIPアドレスの値を書き換える必要があり、通信設定の煩雑さの軽減が十分になされていなかった。
本発明は上記事情に鑑みてなされたものであり、容易に、入出力装置との接続に必要な情報を通信端末装置が取得して、入出力装置との通信を開始することができる通信端末装置、通信システム、プログラム、及び、通信端末装置の制御方法を提供することを目的とする。
However, Patent Document 1 merely sets a device as an installation target, and does not disclose details such as communication settings. For example, when the communication terminal device is configured to acquire the IP address of an input / output device such as a printer or scanner by short-range wireless communication, communication with the input / output device cannot be performed even if the communication terminal device acquires the IP address. There is a case. For example, since the IP address value varies depending on the communication network to which the input / output device is connected, it is necessary to rewrite the IP address value of the input / output device each time the communication network is changed, which reduces the complexity of communication settings. It wasn't done enough.
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.

POSシステムのシステム構成図である。It is a system configuration figure of a POS system. 印刷装置の構成図である。It is a block diagram of a printing apparatus. 通信携帯装置の構成図である。It is a block diagram of a communication portable apparatus. 印刷装置に貼付されたQRコードを示す図である。It is a figure which shows QR code affixed on the printing apparatus. 通信携帯装置の制御部の機能ブロック図である。It is a functional block diagram of the control part of a communication portable apparatus. アドレス管理テーブルを示す図である。It is a figure which shows an address management table. アドレス管理テーブルの作成手順を示すシーケンス図である。It is a sequence diagram which shows the preparation procedure of an address management table. POSサーバーの構成図である。It is a block diagram of a POS server. アドレス管理テーブルの作成手順を示すフローチャートである。It is a flowchart which shows the preparation procedure of an address management table. 送信先設定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a transmission destination setting process. レシートを印刷する印刷処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the printing process which prints a receipt.

以下、添付の図面を参照しながら本発明の実施形態について説明する。図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) system 1. The POS system 1 is a so-called mobile POS system that uses the communication terminal device 3 as a POS terminal. There are a first usage mode and a second usage mode as usage modes of the POS system 1. In the first usage mode, the user of the POS system 1 moves in the store, for example, carrying both the communication terminal device 3 and the printing device (controlled input / output device) 2. When carrying these devices, the user sets (pairing settings) the print data transmission destination of the communication terminal device 3 to the printing device 2 that is carried together. When printing of a receipt or the like becomes necessary, print data is transmitted from the communication terminal device 3 to the printing device 2 set for pairing, and the printing device 2 is made to perform printing. In the second usage mode, the user of the POS system 1 carries the communication terminal device 3 and moves in the store. When printing of a receipt or the like becomes necessary, the printing device (control input / output device) 2 placed near the store is set as the transmission destination of the print data, and the communication terminal device 3 The print data is transmitted to the printing apparatus 2 set as the pairing, and the printing apparatus 2 performs printing.

POSシステム1は、印刷を行う複数の印刷装置2と、会計処理を行う複数の通信端末装置3とを備える。また、POSシステム1は、無線LAN通信(例えば、Wi−Fi(登録商標))を行う複数のアクセスポイント(無線LANアクセスポイント)4と、複数の通信端末装置3による会計処理を管理するPOSサーバー7とを備える。なお、本実施形態では、入出力装置として印刷装置2を例に挙げて説明するが、入出力装置は、スキャナー装置であってもよい。   The POS system 1 includes a plurality of printing apparatuses 2 that perform printing and a plurality of communication terminal apparatuses 3 that perform accounting processing. The POS system 1 includes a plurality of access points (wireless LAN access points) 4 that perform wireless LAN communication (for example, Wi-Fi (registered trademark)) and a POS server that manages accounting processing by the plurality of communication terminal devices 3. 7. In this embodiment, the printing apparatus 2 is described as an example of the input / output device. However, the input / output device may be a scanner device.

通信端末装置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 access points 4 by wireless LAN communication (communication network). The plurality of access points 4 are connected by an in-store LAN (communication network) 6. A POS server 7 is also connected to the in-store LAN 6. When the communication terminal device 3 and the printing device 2 are connected to the same access point 4, the communication terminal device 3 is connected to the printing device 2 via the access point 4. When the access point 4 connected to the communication terminal device 3 is different from the access point 4 connected to the printing device 2, the communication terminal device 3 connects the network to the printing device 2 via the access point 4 and the in-store LAN 6. Connected.

図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 network device 22 that performs wireless communication with the access point 4. The printing apparatus 2 also includes a printing unit 23 that performs printing, and a print control unit 24 that controls the network device 22 and the printing unit 23.

NFCタグ21は、不図示のアンテナ及びICチップを備え、近距離無線通信による通信が可能である。NFCタグ21には、印刷装置2を特定する識別情報として、印刷装置2に搭載されたネットワークデバイス22のMACアドレスが記憶される。NFCタグ21の記憶するMACアドレスは、近距離無線通信によって読み取ることができる。   The NFC tag 21 includes an antenna and an IC chip (not shown), and can perform communication by short-range wireless communication. The NFC tag 21 stores the MAC address of the network device 22 mounted on the printing apparatus 2 as identification information for specifying the printing apparatus 2. The MAC address stored in the NFC tag 21 can be read by near field communication.

ネットワークデバイス22は、アクセスポイント4と、例えば、無線LAN(例えば、Wi−Fi通信)による無線通信を行い、アクセスポイント4を介して店舗内LAN6に接続する。すなわち、ネットワークデバイス22は、アクセスポイント4及び店舗内LAN6を介して、通信端末装置3や他の印刷装置2との通信を行う。   The network device 22 performs wireless communication with the access point 4 by, for example, wireless LAN (for example, Wi-Fi communication), and connects to the in-store LAN 6 through the access point 4. That is, the network device 22 communicates with the communication terminal device 3 and other printing devices 2 via the access point 4 and the in-store LAN 6.

印刷部23は、印刷ヘッド(例えば、サーマルヘッド)を備え、印刷制御部24の制御により、レシート用紙に印刷データを印刷する。   The printing unit 23 includes a print head (for example, a thermal head), and prints print data on receipt paper under the control of the print control unit 24.

印刷制御部24は、通信端末装置3又はPOSサーバー7から送信されたレシートの印刷データを受信し、受信した印刷データに基づいて印刷部23を制御し、レシートを印刷(発行)させる。   The print control unit 24 receives the print data of the receipt transmitted from the communication terminal device 3 or the POS server 7, and controls the printing unit 23 based on the received print data to print (issue) the receipt.

また、印刷制御部24は、メモリー25を備える。メモリー25は、印刷装置2のIP(Internet protocol)アドレスや、ネットワークデバイス22のMACアドレスを機器情報として記憶する。   The print control unit 24 includes a memory 25. The memory 25 stores the IP (Internet protocol) address of the printing apparatus 2 and the MAC address of the network device 22 as device information.

次に、図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 control unit 50 that controls them.

NFC読取部31は、不図示のNFCアンテナ及びNFC制御回路等を備え、NFCタグ21に記憶された情報を近距離無線通信により読み取る。   The NFC reading unit 31 includes an NFC antenna and an NFC control circuit (not shown), and reads information stored in the NFC tag 21 by short-range wireless communication.

タッチパネル32は、図1に示すように、通信端末装置3の前面のほぼ全域に設けられ、制御部50の制御により各種情報を表示する。また、タッチパネル32は、接触操作を検出する静電容量式や感圧式のセンサー(不図示)を備え、このセンサーによってタッチパネル32に対するタッチ操作を検出して入力を受け付ける。例えば、タッチパネル32には、POSサーバー7からダウンロードした購入商品の情報等(例えば、商品コード、商品名及び金額に関する情報等)が表示される。また、タッチパネル32は、クレジットカードの決済に必要な決済情報と、当該決済情報の利用時に必要なパスワード等の入力を受け付ける。   As shown in FIG. 1, the touch panel 32 is provided in almost the entire front surface of the communication terminal device 3 and displays various types of information under the control of the control unit 50. The touch panel 32 includes a capacitance type sensor or a pressure-sensitive sensor (not shown) that detects a touch operation. The touch operation is detected on the touch panel 32 by the sensor and receives an input. For example, information on purchased products downloaded from the POS server 7 and the like (for example, information on product codes, product names, and amounts) are displayed on the touch panel 32. The touch panel 32 also accepts input of payment information necessary for credit card payment and a password required when using the payment information.

撮像カメラ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 apparatus case 20 of the printing apparatus 2. As shown in FIG. 4, instead of the NFC tag 21, a QR code 27 in which the MAC address is two-dimensionally encoded may be attached to the printing apparatus 2.

無線通信部34は、後述する制御部50の制御により、アクセスポイント4と無線LANによる無線通信を行う。無線通信部34は、アクセスポイント4を介して店舗内LAN6に接続する。すなわち、無線通信部34は、アクセスポイント4及び店舗内LAN6を介して、印刷装置2及びPOSサーバー7との通信を行う。   The wireless communication unit 34 performs wireless communication with the access point 4 through a wireless LAN under the control of the control unit 50 described later. The wireless communication unit 34 is connected to the in-store LAN 6 via the access point 4. That is, the wireless communication unit 34 communicates with the printing apparatus 2 and the POS server 7 via the access point 4 and the in-store LAN 6.

制御部50は、CPU(Central Processing Unit)51、ROM(Read Only Memory)52、RAM(Random Access Memory)53、不揮発性メモリー54等をハードウェアとして備える。なお、不揮発性メモリー54は、通信端末装置3の電源がオフされた後もデータを記憶する記憶装置であり、例えば、フラッシュメモリー、EEPROM、SDカード、磁気記憶装置等を用いることができる。   The control unit 50 includes a CPU (Central Processing Unit) 51, a ROM (Read Only Memory) 52, a RAM (Random Access Memory) 53, a nonvolatile memory 54, and the like as hardware. The nonvolatile memory 54 is a storage device that stores data even after the communication terminal device 3 is turned off. For example, a flash memory, an EEPROM, an SD card, a magnetic storage device, or the like can be used.

ROM52には、OS(Operating System:基本ソフト)521やアプリケーションプログラム(POSアプリケーション522、印刷制御アプリケーション523)等のプログラムが保存される。OS521は、特に限定されるのではなく、iOS(登録商標)、Android(登録商標)、Windows(登録商標)RT、Windows(登録商標)8等の一般的に知られたOSでもよい。アプリケーションプログラムについては、図5を参照しながら説明する。   The ROM 52 stores programs such as an OS (Operating System: basic software) 521 and application programs (POS application 522 and print control application 523). The OS 521 is not particularly limited, and may be a generally known OS such as iOS (registered trademark), Android (registered trademark), Windows (registered trademark) RT, Windows (registered trademark) 8, or the like. The application program will be described with reference to FIG.

次に、図5を参照しながら制御部50の機能ブロックについて説明する。機能ブロックは、制御部50の備えるCPU51が、ROM52に記録されたプログラムを読み出して実行する等、ハードウェアとソフトウェアとの協働により実現される。制御部50は、機能ブロックとして、会計処理を行う会計処理部56と、印刷制御を行う印刷制御部57とを備える。会計処理部56は、CPU51がROM52に保存されたPOSアプリケーション522を読み出して実行することで実現され、通信端末装置3が会計入出力装置として機能する。同様に、印刷制御部57は、CPU51が印刷制御アプリケーション523を実行することで、通信端末装置3が印刷制御装置として機能する。   Next, functional blocks of the control unit 50 will be described with reference to FIG. The functional block is realized by the cooperation of hardware and software, such as the CPU 51 provided in the control unit 50 reads and executes the program recorded in the ROM 52. The control unit 50 includes a transaction processing unit 56 that performs transaction processing and a print control unit 57 that performs print control as functional blocks. The accounting processing unit 56 is realized by the CPU 51 reading and executing the POS application 522 stored in the ROM 52, and the communication terminal device 3 functions as an accounting input / output device. Similarly, in the print control unit 57, the communication terminal device 3 functions as a print control device by the CPU 51 executing the print control application 523.

会計処理部56は、タッチパネル32による入力情報に基づいて会計処理を行う。すなわち、会計処理部56は、入力情報(購入商品の情報等)と、POSサーバー7から得られた情報(例えば、商品コード、商品名及び金額に関する情報等)とに基づいて会計処理データを生成する。会計処理部56は、生成した会計処理データを印刷制御部57に渡す。   The accounting processing unit 56 performs accounting processing based on input information from the touch panel 32. That is, the accounting processor 56 generates accounting data based on the input information (purchased product information, etc.) and information obtained from the POS server 7 (for example, information on the product code, product name, and amount, etc.). To do. The accounting processing unit 56 passes the generated accounting processing data to the print control unit 57.

印刷制御部57は、読取制御部571と、送信先設定部(制御部)572と、印刷データ送信部573とを備える。   The print control unit 57 includes a reading control unit 571, a transmission destination setting unit (control unit) 572, and a print data transmission unit 573.

読取制御部571は、NFC読取部31を制御して、印刷装置2のNFCタグ21から、MACアドレスを読み取る。また、読取制御部571は、撮像カメラ33の撮影画像を入力する。読取制御部571は、撮像カメラ33により撮影されたQRコード27の画像を解析して復号化することで、MACアドレスを読み取る。読取制御部571は、MACアドレスを送信先設定部572に渡す。   The reading control unit 571 controls the NFC reading unit 31 to read the MAC address from the NFC tag 21 of the printing apparatus 2. Further, the reading control unit 571 inputs a captured image of the imaging camera 33. The reading control unit 571 reads the MAC address by analyzing and decoding the image of the QR code 27 captured by the imaging camera 33. The reading control unit 571 passes the MAC address to the transmission destination setting unit 572.

送信先設定部572は、読取制御部571から渡されたMACアドレスに基づいて、印刷データの送信先を設定する。具体的には、送信先設定部572は、読み取ったMACアドレスに基づいて、当該MACアドレスを有する印刷装置2のIPアドレス(通信ネットワーク上のアドレス)を取得し、取得したIPアドレスを印刷データの出力先に設定する。送信先設定部572の処理の詳細については後述する。   The transmission destination setting unit 572 sets a transmission destination of print data based on the MAC address passed from the reading control unit 571. Specifically, the transmission destination setting unit 572 acquires the IP address (address on the communication network) of the printing apparatus 2 having the MAC address based on the read MAC address, and uses the acquired IP address of the print data. Set the output destination. Details of the processing of the transmission destination setting unit 572 will be described later.

印刷データ送信部573は、会計処理部56から取得した会計処理データを、レシートの印刷データとして印刷装置2に送信する。すなわち、印刷データ送信部573は、送信先設定部572により設定された送信先(IPアドレス)に、印刷データを送信する。印刷データは、無線LANによりアクセスポイント4を介して印刷装置2に送信される。   The print data transmission unit 573 transmits the transaction processing data acquired from the transaction processing unit 56 to the printing apparatus 2 as receipt print data. That is, the print data transmission unit 573 transmits print data to the transmission destination (IP address) set by the transmission destination setting unit 572. The print data is transmitted to the printing apparatus 2 via the access point 4 by wireless LAN.

通信端末装置3の不揮発性メモリー54には、アドレス管理テーブルが保存されている。図6にアドレス管理テーブルの一例を示す。アドレス管理テーブルには、店舗内LAN6に接続した印刷装置2の備えるネットワークデバイス22のMACアドレスと、該当する印刷装置2のIPアドレスとが対応付けて登録されている。   An address management table is stored in the nonvolatile memory 54 of the communication terminal device 3. FIG. 6 shows an example of the address management table. In the address management table, the MAC address of the network device 22 included in the printing apparatus 2 connected to the in-store LAN 6 and the IP address of the corresponding printing apparatus 2 are registered in association with each other.

図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 destination setting unit 572 will be described with reference to the sequence diagram shown in FIG.
The transmission destination setting unit 572 generates a request packet (inquiry packet) that requests transmission of the IP address and the MAC address at a predetermined timing such as when the communication terminal device 3 is activated. Other examples of the predetermined timing include a timing when the print control application 523 is activated and a connection to the network. The transmission destination setting unit 572 sets a broadcast address as the destination address of the generated request packet and broadcasts it to the in-store LAN 6. FIG. 7 shows a case where there are three printing apparatuses connected to the in-store LAN 6: the printing apparatuses 2A, 2B, and 2C. The broadcast request packet is received by each printing device 2 of the printing devices 2A, 2B, and 2C.

リクエストパケットを受信した各印刷装置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 memory 25 provided in the printing control unit 24 of the printing apparatus 2A. When the print control unit 24 receives a request packet via the network device 22, it reads the device information from the memory 25 and generates a response packet including the read device information as data. The print control unit 24 transmits the generated response packet to the communication terminal device 3 that is the transmission source of the request packet via the network device 22. The other printing apparatuses 2B and 2C perform the same process as the printing apparatus 2A.
The MAC address in the device information may be stored in a memory (not shown) included in the network device 22, or the IP address may be stored in an OS registry included in the print control unit 24.

通信端末装置3の送信先設定部572は、印刷装置2から応答パケットを受信すると、受信した応答パケットからMACアドレスと、IPアドレスとを取り出す。送信先設定部572は、取り出したMACアドレスと、IPアドレスとを対応づけて、図6に示すアドレス管理テーブルに登録する。   When receiving the response packet from the printing apparatus 2, the transmission destination setting unit 572 of the communication terminal device 3 extracts the MAC address and the IP address from the received response packet. The transmission destination setting unit 572 associates the extracted MAC address with the IP address and registers them in the address management table shown in FIG.

また、送信先設定部572は、印刷データを印刷させたい印刷装置2のNFCタグ21に記録されたMACアドレスが、NFC読取部31によって読み取られると、アドレス管理テーブルを参照して対応するIPアドレスを取得する。送信先設定部572は、取得したIPアドレスを、印刷データを送信する宛先アドレスとして設定する。   Further, when the MAC address recorded in the NFC tag 21 of the printing apparatus 2 to which the print data is to be printed is read by the NFC reading unit 31, the transmission destination setting unit 572 refers to the address management table and corresponds to the corresponding IP address. To get. The transmission destination setting unit 572 sets the acquired IP address as a destination address for transmitting print data.

次に、図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 CPU 71 and a memory such as a ROM 72 and a RAM 73 as hardware, and processes information stored in a buffer 735 in the RAM 73 in accordance with a control program stored in the ROM 72. Further, in the RAM 73, there are provided a product code block 731 in which a product code that is an identification code of each product is recorded, and a product name block 732 in which the product name of each product is recorded. In the RAM 73, an amount block 733 that records the amount of each product and an inventory block 734 that records the stock of the product are provided. The CPU 71 extracts information on the amount of the corresponding product based on the product code transmitted from the communication terminal device 3 and transmits the information to the corresponding communication terminal device 3.

なお、図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 accounting processing unit 56 of the communication terminal device 3 may be performed by the POS server 7. That is, the accounting processing unit 56 of the communication terminal device 3 transmits the product code of the product received by the touch panel 32 to the POS server 7 via the wireless communication unit 34. When receiving the product code from the communication terminal device 3, the POS server 7 specifies the product based on the received product code, and calculates the payment amount with reference to the amount block 733. The POS server 7 transmits the product name, the payment amount, etc. of the specified product to the printing apparatus 2 as print data, and causes the printing apparatus 2 to print. Note that the printing apparatus 2 that transmits print data is a printing apparatus that is designated by the communication terminal apparatus 3 by an IP address or a MAC address.

次に、フローチャートを参照しながら、通信端末装置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 POS system 1 in the first usage mode. In the first usage mode, for example, the user moves in the store carrying both the communication terminal device 3 and the printing device 2. When carrying these devices, the user sets (pairing settings) the print data transmission destination of the communication terminal device 3 to the printing device 2 that is carried together. When printing of a receipt or the like becomes necessary, print data is transmitted from the communication terminal device 3 to the printing device 2 set for pairing, and the printing device 2 is made to perform printing.

まず、図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 destination setting unit 572 of the control unit 50.
The destination setting unit 572 executes the address management table creation process at a predetermined timing such as when the communication terminal apparatus 3 is activated, when the print control application 523 is activated, or when connected to the network.

送信先設定部572は、まず、リクエストパケットを生成する(ステップS1)。送信先設定部572は、IPアドレスと、MACアドレスとの送信を要求するリクエストパケットを生成する。送信先設定部572は、リクエストパケットを生成すると、生成したリクエストパケットの宛先アドレスにブロードキャストアドレスを設定して、店舗内LAN6に接続している端末にブロードキャストする(ステップS2)。   The transmission destination setting unit 572 first generates a request packet (step S1). The transmission destination setting unit 572 generates a request packet that requests transmission of the IP address and the MAC address. When the transmission destination setting unit 572 generates a request packet, the transmission destination setting unit 572 sets a broadcast address as the destination address of the generated request packet, and broadcasts it to a terminal connected to the in-store LAN 6 (step S2).

リクエストパケットをブロードキャストすると、送信先設定部572は、リクエストパケットに対する応答パケットを受信したか否かを判定する(ステップS3)。送信先設定部572は、店舗内LAN6に接続している通信端末装置3や印刷装置2から応答パケットを受信すると、受信した応答パケットに含まれるMACアドレス及びIPアドレスを取り出して、アドレス管理テーブルに登録する(ステップS4)。   When the request packet is broadcast, the transmission destination setting unit 572 determines whether a response packet to the request packet has been received (step S3). When receiving the response packet from the communication terminal device 3 or the printing device 2 connected to the in-store LAN 6, the transmission destination setting unit 572 extracts the MAC address and IP address included in the received response packet, and stores them in the address management table. Register (step S4).

次に、送信先設定部572は、ステップS2において行ったリクエストパケットの送信から所定時間を経過したか否かを判定する(ステップS5)。すなわち、送信先設定部572は、タイムアウト時間を経過したか否かを判定する。肯定判定の場合(ステップS5/YES)、送信先設定部572は、この処理を終了する。また、否定判定の場合(ステップS5/NO)、送信先設定部572は、ステップS3に戻り、応答パケットの受信を待機する(ステップS3)。   Next, the transmission destination setting unit 572 determines whether or not a predetermined time has elapsed since the transmission of the request packet performed in step S2 (step S5). That is, the transmission destination setting unit 572 determines whether or not a timeout time has elapsed. In the case of a positive determination (step S5 / YES), the transmission destination setting unit 572 ends this process. If the determination is negative (step S5 / NO), the transmission destination setting unit 572 returns to step S3 and waits for reception of a response packet (step S3).

次に、図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 reading control unit 571 and the transmission destination setting unit 572 of the control unit 50. In the first usage mode, when the user carries the communication terminal device 3 and the printing device 2, the user causes the communication terminal device 3 to execute the transmission destination setting process.

通信端末装置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 NFC tag 21 of the printing device 2 to which print data is to be printed. That is, the communication terminal device 3 is held over the NFC tag 21 of the printing device 2. When the distance between the NFC reading unit 31 of the communication terminal device 3 and the NFC tag 21 approaches the distance at which short-range wireless communication is possible, the reading control unit 571 controls the NFC reading unit 31 and records it in the NFC tag 21. The read MAC address is read (step S11).

送信先設定部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 NFC reading unit 31 is input, the transmission destination setting unit 572 refers to the address management table and determines whether or not the input MAC address is registered in the address management table (step S12). ). In the case of negative determination (step S12 / NO), the transmission destination setting unit 572 displays an error message on the touch panel 32 indicating that the MAC address read by the NFC reading unit 31 is not registered. In this case, the transmission destination setting unit 572 updates the address management table after performing the address management table creation process described in FIG. 9 again. Therefore, the transmission destination setting unit 572 causes the touch panel 32 to display a message “Please wait until the address management table is updated” (step S13). If the determination is affirmative (YES in step S12), the transmission destination setting unit 572 acquires an IP address associated with the read MAC address from the address management table (step S14). Then, the control unit 50 sets the acquired IP address as a destination address indicating a transmission destination of the print data (step S15). As a result, the IP address corresponding to the MAC address read by the NFC reading unit 31 is set as the transmission destination of the print data.

次に、図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 accounting processing unit 56 and the print data transmission unit 573. The print processing is performed in a state where the address management table creation processing described with reference to FIG. 9 and the transmission destination setting processing illustrated in FIG. 10 are performed and the transmission destination of the print data is set.
The accounting processing unit 56 causes the touch panel 32 to display information such as the product name and product code acquired from the POS server 7 in accordance with the input received by the touch panel 32. When a product is selected by the touch panel 32, the product code of the selected product is transmitted to the POS server 7, and the amount information of the selected product is acquired from the POS server 7. The accounting processing unit 56 generates accounting processing data including, for example, the product name, price, and purchase time of the product purchased by the user (step S21), and passes it to the print data transmission unit 573.

印刷データ送信部573は、会計処理データを送信先設定部572から渡されると、無線通信部34を制御して、会計処理データを印刷データとして印刷装置2に送信する(ステップS22)。このとき、印刷データ送信部573は、送信先設定処理により設定された宛先アドレス(IPアドレス)に印刷データを送信する(ステップS22)。印刷データは、無線LANによりアクセスポイント4を介して印刷装置2に送信される。   When the accounting data is transferred from the transmission destination setting unit 572, the print data transmission unit 573 controls the wireless communication unit 34 to transmit the accounting processing data as print data to the printing apparatus 2 (step S22). At this time, the print data transmission unit 573 transmits the print data to the destination address (IP address) set by the transmission destination setting process (step S22). The print data is transmitted to the printing apparatus 2 via the access point 4 by wireless LAN.

印刷データの送信先の印刷装置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 data transmission unit 573 of the communication terminal apparatus 3 displays the received status information on the touch panel 32. When the user of the communication terminal device 3 refers to the display on the touch panel 32, when printing cannot be performed, the cause can be specified.

なお、図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 NFC reading unit 31 reads the MAC address recorded in the NFC tag 21 as a trigger. In other words, the transmission destination setting unit 572 acquires the IP address that is the transmission destination of the print data with reference to the address management table in response to the input of the MAC address from the NFC reading unit 31, and the IP address to be acquired is acquired. Set to the destination address of the print data. Further, the accounting processing unit 56 passes the print data to the print data transmission unit 573 when the MAC address is input from the NFC reading unit 31. When the print data transmission unit 573 acquires the print data from the accounting processing unit 56, the print data transmission unit 573 transmits the acquired print data to the destination address (IP address). That is, the print data is transmitted to the printing apparatus 2 via the access point 4 by the wireless LAN.

以上説明したように、本発明を適用した実施形態の通信端末装置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 wireless communication unit 34, the NFC reading unit 31, and the transmission destination setting unit 572. The wireless communication unit 34 can access the printing apparatus 2 to be controlled connected to the in-store LAN 6 via the access point 4 and the in-store LAN 6. The NFC reading unit 31 reads a MAC address that identifies the printing apparatus 2. The transmission destination setting unit 572 accesses the printing apparatus 2 through the wireless communication unit 34 and acquires an IP address corresponding to the MAC address. Therefore, the communication terminal apparatus 3 can easily acquire information necessary for connection with the printing apparatus 2 and start communication with the printing apparatus 2.

また、送信先設定部572は、ブロードキャストを使用して店舗内LAN6に問い合わせパケットを送信することで印刷装置2にアクセスし、MACアドレスにより特定される印刷装置2から、IPアドレスを取得することができる。従って、通信端末装置3は、印刷装置2との接続に必要な情報を簡単に取得することができる。   Further, the transmission destination setting unit 572 may access the printing apparatus 2 by transmitting an inquiry packet to the in-store LAN 6 using broadcast, and obtain an IP address from the printing apparatus 2 specified by the MAC address. it can. Therefore, the communication terminal device 3 can easily acquire information necessary for connection with the printing device 2.

また、送信先設定部572は、IPアドレスを取得することができなかった場合に、IPアドレスの取得に失敗した旨をタッチパネル32に表示させる。従って、IPアドレスの取得に失敗した旨をユーザーに通知して、ユーザーにその後の対応を速やかにとらせることができる。   Further, the transmission destination setting unit 572 displays on the touch panel 32 that the acquisition of the IP address has failed when the IP address cannot be acquired. Accordingly, it is possible to notify the user that the acquisition of the IP address has failed and to prompt the user to take subsequent actions.

また、NFC読取部31は、印刷装置2に貼付されたNFCタグに記録されたMACアドレスを読み取る。印刷装置2に貼付された、QRコード化されたMACアドレスを撮像カメラ33で撮影して、撮影画像からMACアドレスを読み取る。従って、一般的に知られた簡単な構成で、印刷装置2を特定するMACアドレスを取得することができる。   Further, the NFC reading unit 31 reads the MAC address recorded on the NFC tag attached to the printing apparatus 2. The QR code MAC address affixed to the printing apparatus 2 is imaged by the imaging camera 33, and the MAC address is read from the captured image. Therefore, it is possible to acquire a MAC address that identifies the printing apparatus 2 with a generally known simple configuration.

また、印刷装置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 SYMBOLS 1 ... POS system, 2 ... Printing apparatus (input / output device), 3 ... Communication terminal device, 4 ... Access point, 6 ... In-store LAN, 7 ... POS server, 21 ... NFC tag, 22 ... Network device, 23 ... Printing , 24 ... print control unit, 25 ... memory, 27 ... QR code, 31 ... NFC reading unit (reading unit), 32 ... touch panel (display unit), 33 ... imaging camera, 34 ... wireless communication unit (communication unit), DESCRIPTION OF SYMBOLS 50 ... Control part, 56 ... Accounting processing part, 57 ... Print control part, 522 ... POS application, 523 ... Print control application, 571 ... Reading control part, 572 ... Transmission destination setting part (control part), 573 ... Print data transmission Department.

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:
前記制御部は、ブロードキャストを使用して前記通信ネットワークに問い合わせパケットを送信することにより、前記入出力装置から前記通信ネットワーク上のアドレスを取得することを特徴とする請求項1記載の通信端末装置。   The communication terminal apparatus according to claim 1, wherein the control unit acquires an address on the communication network from the input / output apparatus by transmitting an inquiry packet to the communication network using broadcast. 前記制御部は、前記通信ネットワーク上のアドレスを取得することができない場合に、前記通信ネットワーク上のアドレスの取得に失敗した旨を表示部に表示させることを特徴とする請求項1又は2記載の通信端末装置。   3. The control unit according to claim 1, wherein when the address on the communication network cannot be acquired, the control unit displays on the display unit that acquisition of the address on the communication network has failed. Communication terminal device. 前記読取部は、前記入出力装置に付着されたNFCタグに記録された前記識別情報、又は前記入出力装置に付着された、QRコード化された前記識別情報を読み取ることを特徴とする請求項1から3のいずれか一項に記載の通信端末装置。   The reading unit reads the identification information recorded on an NFC tag attached to the input / output device or the identification information QR-coded attached to the input / output device. The communication terminal device according to any one of 1 to 3. 前記識別情報は、MACアドレスであり、前記通信ネットワーク上のアドレスは、IPアドレスであることを特徴とする請求項1から4のいずれか一項に記載の通信端末装置。   The communication terminal apparatus according to any one of claims 1 to 4, wherein the identification information is a MAC address, and the address on the communication network is an IP address. 前記入出力装置は、印刷装置であることを特徴とする請求項1から5のいずれか一項に記載の通信端末装置。   6. The communication terminal device according to claim 1, wherein the input / output device is a printing device. 通信ネットワークに接続された複数の制御対象の入出力装置と、
前記複数の制御対象の入出力装置の中から選択した入出力装置に処理を実行させる通信端末装置と、を備え、
前記通信端末装置は、通信ネットワークに接続された制御対象の入出力装置に、前記通信ネットワークを介してアクセス可能な通信部と、
前記入出力装置を特定する識別情報を読み取る読取部と、
前記通信部により、前記識別情報に対応する前記通信ネットワーク上のアドレスを前記入出力装置から取得する制御部と、を備える
ことを特徴とする通信システム。
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:
JP2014137689A 2014-07-03 2014-07-03 COMMUNICATION TERMINAL DEVICE, COMMUNICATION SYSTEM, PROGRAM, AND COMMUNICATION TERMINAL DEVICE CONTROL METHOD Expired - Fee Related JP6375732B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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