JP2018147384A - Information processing terminal device and program - Google Patents

Information processing terminal device and program Download PDF

Info

Publication number
JP2018147384A
JP2018147384A JP2017044075A JP2017044075A JP2018147384A JP 2018147384 A JP2018147384 A JP 2018147384A JP 2017044075 A JP2017044075 A JP 2017044075A JP 2017044075 A JP2017044075 A JP 2017044075A JP 2018147384 A JP2018147384 A JP 2018147384A
Authority
JP
Japan
Prior art keywords
printer
authentication key
unit
wireless communication
information processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017044075A
Other languages
Japanese (ja)
Inventor
シュウ ワン レャオ
Siew Whan Leaw
シュウ ワン レャオ
コサシ アントニウス
Kosasih Antonius
コサシ アントニウス
典幸 渡辺
Noriyuki Watanabe
典幸 渡辺
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC 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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2017044075A priority Critical patent/JP2018147384A/en
Publication of JP2018147384A publication Critical patent/JP2018147384A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information processing terminal device that can easily obtain use permission and exchange (communicate) information when it communicates with a printer.SOLUTION: An information processing terminal device capable of radio communication with a printer includes: a short-range wireless communication unit for receiving device information transmitted by a radio communication device adjunct to the printer; an authentication key reading unit for reading an authentication key included in the device information received by the short-range wireless communication unit; an authentication key processing unit for obtaining the authentication key read by the authentication key reading unit and returning it to the printer; a data generation unit for generating print data to be transmitted to the printer; and a control unit for performing control to transmit the print data to the printer when a completion notice of an authentication process is received from the printer on the basis of the returned authentication key.SELECTED DRAWING: Figure 3

Description

本発明の実施形態は、情報処理端末装置、及びプログラムに関する。   Embodiments described herein relate generally to an information processing terminal device and a program.

従来、POS(Point of Sales)システムと呼ばれる販売時点情報管理システムが普及しており、POSシステムの端末の1つとして、POS用プリンタが用いられている。POS用プリンタは、レシート用紙等の記録媒体に印字するものである。   Conventionally, a point-of-sale information management system called a POS (Point of Sales) system has become widespread, and a POS printer is used as one of the terminals of the POS system. The POS printer prints on a recording medium such as receipt paper.

また、スマートフォンやタブレット端末などの携帯端末も普及しており、携帯端末のデータを、POS用プリンタを用いて印刷したいという要求もある。プリンタと携帯端末のデータのやり取りは、例えばWi−Fi(登録商標)等の無線インターフェースを介して行うことが可能である。携帯端末とプリンタを無線接続することにより、携帯端末のデータを、プリンタを用いて印刷することができる。 In addition, portable terminals such as smartphones and tablet terminals have become widespread, and there is a demand for printing data of portable terminals using a POS printer. Data exchange between the printer and the portable terminal can be performed via a wireless interface such as Wi-Fi (registered trademark). By wirelessly connecting the portable terminal and the printer, the data of the portable terminal can be printed using the printer.

ところで、携帯端末とプリンタ間で情報のやり取りを行う場合、セキュリティの観点から、予め使用権限が与えられたユーザ(携帯端末)のみがプリンタを使用できるように、許可されたユーザか否かユーザ認証を行うようにしている。認証方法としては、例えば、携帯端末にSSID(Service Sell IDentifier)を設定する方法や、パスワードを設定する方法がある。 By the way, when exchanging information between the portable terminal and the printer, from the viewpoint of security, whether or not the user is an authorized user so that only the user (mobile terminal) to which use authority is given in advance can use the printer is authenticated. Like to do. As an authentication method, for example, there are a method of setting an SSID (Service Sell IDentifier) in a mobile terminal and a method of setting a password.

また、コンピュータのハードウェアとソフトウェアを総合的に管理し、様々なアプリケーションを実行するソフトウェアとして、各種のOS(Operating System)が採用されている。スマートフォン等の携帯端末では、Android(登録商標)やiOS(登録商標)等が採用されている。 Various operating systems (OS) are employed as software for comprehensively managing computer hardware and software and executing various applications. In mobile terminals such as smartphones, Android (registered trademark), iOS (registered trademark), and the like are employed.

しかしながら、Wi−Fiの認証方法は、Android(登録商標)やiOS(登録商標)を使用した端末装置についてはサポートされていない。一般に、携帯端末は、使用権限の認証なしに、プリンタと通信することができないため、限られたOSの携帯端末しかプリンタと通信することができいという不具合がある。   However, the Wi-Fi authentication method is not supported for terminal devices using Android (registered trademark) or iOS (registered trademark). In general, since a portable terminal cannot communicate with a printer without authentication of use authority, there is a problem that only a portable terminal with a limited OS can communicate with the printer.

特開2005−217646号公報JP 2005-217646 A

発明が解決しようとする課題は、プリンタと通信する際に、使用許可を容易に取得して情報のやり取り(通信)ができるようにした情報処理端末装置、及びプログラムを提供することにある。 The problem to be solved by the present invention is to provide an information processing terminal device and a program which can easily obtain use permission and exchange information (communication) when communicating with a printer.

実施形態に係る情報処理端末装置は、プリンタとの間で無線通信が可能な情報処理端末装置であって、前記プリンタに付属する無線通信デバイスから送信されたデバイス情報を受信する近距離無線通信部と、前記近距離無線通信部で受信したデバイス情報に含まれる認証キーを読み取る認証キー読取部と、前記認証キー読取部で読取った認証キーを取得して、前記プリンタに返信する認証キー処理部と、前記プリンタに送信する印刷データを生成するデータ生成部と、前記返信した認証キーをもとに前記プリンタから認証処理の完了通知を受信したとき、前記印刷データを前記プリンタに送信するように制御する制御部と、を備える。   An information processing terminal device according to an embodiment is an information processing terminal device capable of wireless communication with a printer, and a short-range wireless communication unit that receives device information transmitted from a wireless communication device attached to the printer An authentication key reading unit that reads an authentication key included in the device information received by the short-range wireless communication unit, and an authentication key processing unit that acquires the authentication key read by the authentication key reading unit and sends it back to the printer And a data generation unit for generating print data to be transmitted to the printer, and when the authentication processing completion notification is received from the printer based on the returned authentication key, the print data is transmitted to the printer. A control unit for controlling.

一実施形態に係るプリンタと情報処理端末装置の概略構成図。1 is a schematic configuration diagram of a printer and an information processing terminal device according to an embodiment. 一実施形態におけるプリンタの構成例を示すブロック図。1 is a block diagram illustrating a configuration example of a printer according to an embodiment. 一実施形態における情報処理端末装置の構成例を示すブロック図。The block diagram which shows the structural example of the information processing terminal device in one Embodiment. 一実施形態におけるプリンタと情報処理端末装置間でのユーザ認証処理を示すシーケンス図。The sequence diagram which shows the user authentication process between the printer and information processing terminal device in one Embodiment. 一実施形態における情報処理端末装置での情報処理の流れを示すフローチャート。The flowchart which shows the flow of the information processing in the information processing terminal device in one Embodiment.

以下、発明を実施するための実施形態について、図面を参照して説明する。尚、各図において同一箇所については同一の符号を付す。   Embodiments for carrying out the invention will be described below with reference to the drawings. In addition, in each figure, the same code | symbol is attached | subjected about the same location.

(第1の実施形態)
図1は、実施形態に係るプリンタ10と情報処理端末装置20の概略構成図である。プリンタ10は、例えば、店舗に設けられるPOS用プリンタである。情報処理端末装置20は、スマートフォンやタブレット端末等の携帯端末である。情報処理端末装置20は、以下、携帯端末20と呼ぶ。
(First embodiment)
FIG. 1 is a schematic configuration diagram of a printer 10 and an information processing terminal device 20 according to the embodiment. The printer 10 is, for example, a POS printer provided in a store. The information processing terminal device 20 is a mobile terminal such as a smartphone or a tablet terminal. The information processing terminal device 20 is hereinafter referred to as a portable terminal 20.

プリンタ10は、筐体11を有し、筐体11の上面にレシート用紙の発行口12を備えている。また、プリンタ10は、筐体11の前面部に操作部13と表示部14を備えている。プリンタ10は、POS端末から受信したレシートデータに基づき、レシート用紙の発行処理を行う。   The printer 10 includes a housing 11, and a receipt paper issuing port 12 is provided on the top surface of the housing 11. In addition, the printer 10 includes an operation unit 13 and a display unit 14 on the front surface of the housing 11. The printer 10 performs receipt paper issuance processing based on the receipt data received from the POS terminal.

携帯端末20は、スマートフォン、タブレット端末等の端末であり、本体21と、タッチスクリーンディスプレイ22から構成される。タッチスクリーンディスプレイ22は、液晶表示装置等のフラットパネルディスプレイと、タッチパネルを含み、タッチパネルは、ユーザの指又はペンによりタッチされる。タッチスクリーンディスプレイ22は、以下、単にディスプレイ22と呼ぶ。   The mobile terminal 20 is a terminal such as a smartphone or a tablet terminal, and includes a main body 21 and a touch screen display 22. The touch screen display 22 includes a flat panel display such as a liquid crystal display device and a touch panel, and the touch panel is touched by a user's finger or pen. The touch screen display 22 is hereinafter simply referred to as the display 22.

プリンタ10と携帯端末20は、例えば、Wi−Fi(登録商標)等の無線インターフェースを介して無線通信が可能である。   For example, the printer 10 and the mobile terminal 20 can perform wireless communication via a wireless interface such as Wi-Fi (registered trademark).

図2は、プリンタ10のハードウェア構成を示すブロック図である。図2に示すように、プリンタ10は、制御部としてのCPU(Central Processing Unit)31を備えている。また、CPU31には、バスライン32(アドレスバス,データバス等)を介してROM(Read Only Memory)33、RAM(Random Access Memory)34、インターフェース(I/F)35、印字部36が接続されている。   FIG. 2 is a block diagram illustrating a hardware configuration of the printer 10. As shown in FIG. 2, the printer 10 includes a CPU (Central Processing Unit) 31 as a control unit. The CPU 31 is connected to a ROM (Read Only Memory) 33, a RAM (Random Access Memory) 34, an interface (I / F) 35, and a printing unit 36 via a bus line 32 (address bus, data bus, etc.). ing.

さらに、CPU31には、前述した操作部13、表示部14、及び無線通信デバイス37、通信インターフェース(I/F)38等の各ユニットが、バスライン32を介して接続されている。   Furthermore, the CPU 31 is connected to the above-described operation unit 13, display unit 14, wireless communication device 37, communication interface (I / F) 38, and other units via a bus line 32.

CPU31は、プリンタ10の全体の動作を制御する機能を有する。ROM33は、制御プログラムを含むプログラムデータや設定データ等の固定的データを予め記憶する。CPU31は、ROM33に記憶したプログラムをRAM34に展開して実行することにより、プリンタ10の各部の制御を行う。RAM34は、印字データが展開されるバッファエリアなどの種々のメモリエリアを備える。またRAM34は、用紙(レシート用紙)に印字されるメッセージ等のデータを記憶するエリアも有している。   The CPU 31 has a function of controlling the overall operation of the printer 10. The ROM 33 stores in advance fixed data such as program data including control programs and setting data. The CPU 31 controls each unit of the printer 10 by developing a program stored in the ROM 33 on the RAM 34 and executing the program. The RAM 34 includes various memory areas such as a buffer area in which print data is expanded. The RAM 34 also has an area for storing data such as messages printed on paper (receipt paper).

インターフェース(I/F)35は、POS端末(図示せず)に接続され、POS端末から商取引の明細データを受信する。この明細データには、取引日時,取引番号,商品コード,商品名及び価格等の取引商品明細データと、小計金額、内税対象外金額、内税額、合計金額、預り金額、釣銭額等の会計明細データとが含まれる。   The interface (I / F) 35 is connected to a POS terminal (not shown) and receives the detailed transaction data from the POS terminal. This detail data includes transaction product detail data such as transaction date / time, transaction number, product code, product name, price, etc. Detail data is included.

印字部36は、例えば、プラテンローラとサーマルヘッドを対向配置している。用紙(レシート用紙)が、プラテンローラとサーマルヘッドの間を通過する際に、サーマルヘッドが用紙の記録面に接し、熱エネルギーを印加して、用紙の記録面に文字等を印字する。   In the printing unit 36, for example, a platen roller and a thermal head are arranged to face each other. When the paper (receipt paper) passes between the platen roller and the thermal head, the thermal head contacts the recording surface of the paper and applies heat energy to print characters and the like on the recording surface of the paper.

無線通信デバイス37は、例えば、NFC(Near Field Communication)等の近距離無線通信デバイスであり、プリンタ10に付属する。以下、無線通信デバイス37をNFCデバイス37と呼ぶ。CPU31は、プリンタ10と携帯端末20間の通信を許可する認証キーを作成し、作成した認証キーをNFCデバイス37に書き込み、認証キーを含むデバイス情報をNFCデバイス37から送信可能である。認証キーは、書き換え可能である。   The wireless communication device 37 is a short-range wireless communication device such as NFC (Near Field Communication), and is attached to the printer 10. Hereinafter, the wireless communication device 37 is referred to as an NFC device 37. The CPU 31 can create an authentication key that permits communication between the printer 10 and the portable terminal 20, write the created authentication key to the NFC device 37, and transmit device information including the authentication key from the NFC device 37. The authentication key can be rewritten.

通信インターフェース(I/F)38は、例えは、Wi−Fi(登録商標)等の無線インターフェースであり、携帯端末20と無線通信するためのものである。   The communication interface (I / F) 38 is, for example, a wireless interface such as Wi-Fi (registered trademark), and is used for wireless communication with the mobile terminal 20.

次に、携帯端末20の構成例について説明する。図3は、携帯端末20の構成例を示すブロック図である。図3に示すように、携帯端末20は、制御部としてのCPU(Central Processing Unit)41を備えている。また、CPU41には、バスライン42(アドレスバス,データバス等)を介してROM(Read Only Memory)43、RAM(Random Access Memory)44、記憶装置45、通信インターフェース(I/F)46、データ生成部47が接続されている。   Next, a configuration example of the mobile terminal 20 will be described. FIG. 3 is a block diagram illustrating a configuration example of the mobile terminal 20. As illustrated in FIG. 3, the mobile terminal 20 includes a CPU (Central Processing Unit) 41 as a control unit. Further, the CPU 41 is connected to a ROM (Read Only Memory) 43, a RAM (Random Access Memory) 44, a storage device 45, a communication interface (I / F) 46, data via a bus line 42 (address bus, data bus, etc.). A generation unit 47 is connected.

さらに、CPU41には、前述したディスプレイ22と、近距離無線通信部48、認証キー処理部49等の各ユニットが、バスライン42を介して接続されている。ディスプレイ22は、表示部221(フラットパネルディスプレイ)と、入力部222(タッチパネル)とを含む。   Further, the CPU 41 is connected to the display 22 and the units such as the short-range wireless communication unit 48 and the authentication key processing unit 49 via the bus line 42. The display 22 includes a display unit 221 (flat panel display) and an input unit 222 (touch panel).

CPU41は、携帯端末20の全体の動作を制御する機能を有する。ROM43は、予め制御用のプログラム及び制御データなどが記憶されたメモリである。 CPU41は、ROM43に記憶したプログラムをRAM44に展開して実行することにより、携帯端末20の各部の制御を行う。
記憶装置45は、アプリケーションプログラム451と、携帯端末20を管理するためのプログラムであるOS(Operating System)452を記憶している。CPU41は、記憶装置45に記憶されているアプリケーションプログラム451を実行する。アプリケーションプログラム451は、文書作成ソフトなどの一般的なソフトウェアに加え、Webアプリケーションを含む。
The CPU 41 has a function of controlling the overall operation of the mobile terminal 20. The ROM 43 is a memory in which a control program and control data are stored in advance. CPU41 controls each part of the portable terminal 20 by expand | deploying and executing the program memorize | stored in ROM43 on RAM44.
The storage device 45 stores an application program 451 and an OS (Operating System) 452 that is a program for managing the mobile terminal 20. The CPU 41 executes an application program 451 stored in the storage device 45. The application program 451 includes a Web application in addition to general software such as document creation software.

尚、OS452は、本実施形態では、例えば、Android(登録商標)やiOS(登録商標)等が採用される。 In this embodiment, for example, Android (registered trademark), iOS (registered trademark), or the like is employed as the OS 452.

通信インターフェース(I/F)46は、例えは、Wi−Fi(登録商標)等の無線インターフェースであり、プリンタ10と無線通信するためのものである。通信I/F46は、CPU41の指示に従って、プリンタ10からデータを受信し、又は、プリンタ10へデータを送信する。   The communication interface (I / F) 46 is, for example, a wireless interface such as Wi-Fi (registered trademark), and is used for wireless communication with the printer 10. The communication I / F 46 receives data from the printer 10 or transmits data to the printer 10 in accordance with an instruction from the CPU 41.

表示部221は、CPU41の制御により種々の情報を表示する。入力部222は、携帯端末20の操作者によって、種々の指示を入力する。データ生成部47は、入力部222の指示に基づいて印刷データを生成する。   The display unit 221 displays various information under the control of the CPU 41. The input unit 222 inputs various instructions by the operator of the mobile terminal 20. The data generation unit 47 generates print data based on an instruction from the input unit 222.

近距離無線通信部48は、携帯端末20をプリンタ10に近づけたとき(例えば、10cm〜20cmの距離に近づけたとき)、NFCデバイス37と非接触で無線通信が可能となり、NFCデバイス37からのデバイス情報を受信することができる。近距離無線通信部48は、例えばNFCの規格に対応するNFCリーダライタで構成する。   The short-range wireless communication unit 48 enables wireless communication without contact with the NFC device 37 when the mobile terminal 20 is brought close to the printer 10 (for example, close to a distance of 10 cm to 20 cm). Device information can be received. The short-range wireless communication unit 48 is configured by, for example, an NFC reader / writer corresponding to the NFC standard.

また、記憶装置45に記憶されているアプリケーションプログラム451及びOS452により、近距離無線通信部48で受信したデバイス情報に含まれている認証キーを読み取る。つまり、記憶装置45のアプリケーションプログラム451及びOS452は、認証キー読取部を構成する。認証キー処理部49は、この認証キー読取部で読取った認証キーを取得して、プリンタ10に返信する。   Further, the authentication key included in the device information received by the short-range wireless communication unit 48 is read by the application program 451 and the OS 452 stored in the storage device 45. That is, the application program 451 and the OS 452 of the storage device 45 constitute an authentication key reading unit. The authentication key processing unit 49 acquires the authentication key read by the authentication key reading unit and returns it to the printer 10.

本実施形態では、スマートフォンやタブレット端末などの携帯端末20で作成したデータを、例えば、プリンタ10を用いて印刷したい場合に、携帯端末20とプリンタ10を無線接続することにより、携帯端末20のデータを、プリンタ10を用いて印刷することができる。この場合、セキュリティの観点から、予め使用権限が与えられたユーザ(携帯端末20)のみがプリンタ10を使用できるように、ユーザ認証を行う。   In the present embodiment, when data created by the mobile terminal 20 such as a smartphone or a tablet terminal is to be printed using the printer 10, for example, the data of the mobile terminal 20 is obtained by wirelessly connecting the mobile terminal 20 and the printer 10. Can be printed using the printer 10. In this case, from the viewpoint of security, user authentication is performed so that only a user (mobile terminal 20) who has been given a use authority in advance can use the printer 10.

以下、実施形態におけるプリンタ10と携帯端末20間の情報のやり取りについて説明する。   Hereinafter, the exchange of information between the printer 10 and the portable terminal 20 in the embodiment will be described.

図4は、プリンタ10と携帯端末20間でのユーザ認証処理を示すシーケンス図である。携帯端末20で作成したデータを、プリンタ10を用いて印刷したい場合、携帯端末20のユーザは、タイミングT1で、プリンタ10に印刷要求を伝える。この場合は、例えば、プリンタ10のNFCデバイス37に対して、携帯端末20を近づける。携帯端末20をプリンタ10に近づけると、NFCデバイス37と近距離無線通信部48は、無線通信が可能となる。T2で、NFCデバイス37からは、プリンタ10で作成された認証キーを含むデバイス情報が出力され、プリンタ10は、携帯端末20に対してデバイス情報を送信する(T3)。尚、認証キーは、毎回書き換えられる。或いは、定期的に書き換えられる。   FIG. 4 is a sequence diagram showing user authentication processing between the printer 10 and the portable terminal 20. When it is desired to print data created by the mobile terminal 20 using the printer 10, the user of the mobile terminal 20 transmits a print request to the printer 10 at timing T1. In this case, for example, the mobile terminal 20 is brought closer to the NFC device 37 of the printer 10. When the portable terminal 20 is brought close to the printer 10, the NFC device 37 and the short-range wireless communication unit 48 can perform wireless communication. At T2, device information including the authentication key created by the printer 10 is output from the NFC device 37, and the printer 10 transmits the device information to the portable terminal 20 (T3). The authentication key is rewritten every time. Or it is rewritten regularly.

携帯端末20の近距離無線通信部48は、T4で、プリンタ10から送信されたデバイス情報を受信する。さらに、携帯端末20の認証キー読取部(OS、アプリケーションプログラム)は、T5で、デバイス情報に含まれている認証キーを読み取る。   The short-range wireless communication unit 48 of the mobile terminal 20 receives the device information transmitted from the printer 10 at T4. Further, the authentication key reading unit (OS, application program) of the portable terminal 20 reads the authentication key included in the device information at T5.

携帯端末20の記憶装置45には、認証キーを認識する専用のアプリケーションプログラム451と、OS452(例えば、Android(登録商標)やiOS(登録商標))が記憶されている。したがって、OS542によりアプリケーションプログラム451が実行され、認証キーを読み取る。認証キー処理部49は、読み取った認証キーを取得して、T6で、通信I/F46を介して、プリンタに返信する。或いは、取得した認証キーを近距離無線通信部48からNFCデバイス37に返信してもよい。 The storage device 45 of the portable terminal 20 stores a dedicated application program 451 that recognizes an authentication key and an OS 452 (for example, Android (registered trademark) or iOS (registered trademark)). Therefore, the application program 451 is executed by the OS 542 to read the authentication key. The authentication key processing unit 49 acquires the read authentication key and returns it to the printer via the communication I / F 46 at T6. Alternatively, the acquired authentication key may be returned from the short-range wireless communication unit 48 to the NFC device 37.

プリンタ10は、T7で、携帯端末20から返信された認証キーを受信し、認証を完了する。またプリンタ10のCPU31は、T8で、印字部36を制御して印刷準備を行う。印字準備を完了すると、プリンタ10のCPU31は、T9で、携帯端末20に対して認証処理の完了通知、つまり、印刷可能の通知を行う。認証処理の完了通知は、通信I/F38から通信I/F46を介して行ってもよいし、或いは、NFCデバイス37から近距離無線通信部48を介して行ってもよい。
携帯端末20のデータ生成部47は、入力部222の指示に基づいて印刷データを生成し、携帯端末20のCPU41は、プリンタ10から認証処理の完了通知を受信したとき、データ生成部47で生成した印刷データをプリンタ10に送信するように制御する。こうして、T10で、通信I/F46を介してプリンタ10に印刷データが送信される。プリンタ10は、T11で、通信I/F38を介して印刷データを受信し、印字部36でシートに印刷データを印刷する。
The printer 10 receives the authentication key returned from the portable terminal 20 at T7 and completes the authentication. The CPU 31 of the printer 10 prepares printing by controlling the printing unit 36 at T8. When the print preparation is completed, the CPU 31 of the printer 10 notifies the mobile terminal 20 of the completion of the authentication process, that is, a printable notification at T9. The notification of completion of the authentication process may be performed from the communication I / F 38 via the communication I / F 46, or may be performed from the NFC device 37 via the short-range wireless communication unit 48.
The data generation unit 47 of the mobile terminal 20 generates print data based on an instruction from the input unit 222, and the CPU 41 of the mobile terminal 20 generates the print data when the authentication processing completion notification is received from the printer 10. Control is performed so that the print data thus transmitted is transmitted to the printer 10. In this way, print data is transmitted to the printer 10 via the communication I / F 46 at T10. At T11, the printer 10 receives the print data via the communication I / F 38, and the print unit 36 prints the print data on the sheet.

こうして、プリンタ10が生成する認証キーを読み取ることができれば、携帯端末20に使用権限が与えられ、携帯端末20は、プリンタ10を使用してデータを印刷することができる。   If the authentication key generated by the printer 10 can be read in this way, the use authority is given to the mobile terminal 20, and the mobile terminal 20 can print data using the printer 10.

図5は、携帯端末20での情報処理の流れを示すフローチャートである。図5において、携帯端末20の近距離無線通信部48は、ACT.1(動作1)で、プリンタ10のNFCデバイス37から送信されたデバイス情報を受信する。また、ACT.2で、認証キー処理部49は、OS452及びアプリケーションプログラム451によって読取った認証キーを取得し、認証キーの読取りに成功したか否かを判断する。認証キーの読取りに成功したとき(ACT.2の判断がYES)、認証キー処理部49は、ACT.3において、プリンタ10に、認証キーを返信する。 FIG. 5 is a flowchart showing a flow of information processing in the mobile terminal 20. In FIG. 5, the short-range wireless communication unit 48 of the mobile terminal 20 is ACT. In 1 (operation 1), the device information transmitted from the NFC device 37 of the printer 10 is received. In addition, ACT. 2, the authentication key processing unit 49 acquires the authentication key read by the OS 452 and the application program 451, and determines whether or not the authentication key has been successfully read. When the authentication key is successfully read (ACT. 2 is YES), the authentication key processing unit 49 determines that the ACT. 3, an authentication key is returned to the printer 10.

また、認証キーの読取りに失敗したとき(ACT.2の判断がNO)は、ACT.4で、デバイス情報の受信と、認証キーの読取りがN回実行されたか否かを判断する。規定回数(N回)実行しても読み取れない場合(ACT.4の判断がYES)は、ACT.5に進み、CPU41は、認証キーの読取りに失敗したこと、つまり、プリンタ10の使用不可を示す情報を表示部221に表示する。規定回数(N回)は、1回だけでもよいし、複数回でもよい。 Further, when reading of the authentication key fails (ACT. 2 is NO), ACT. 4, it is determined whether the reception of device information and the reading of the authentication key have been executed N times. If reading is not possible even after the prescribed number of times (N times) (ACT.4 is YES), ACT. In step 5, the CPU 41 displays information indicating that the authentication key has failed to be read, that is, information indicating that the printer 10 cannot be used, on the display unit 221. The specified number of times (N times) may be only once or a plurality of times.

ACT.3で認証キーをプリンタ10に返信したあと、プリンタ10で認証処理が完了すると、プリンタ10から認証完了(通信の準備ができた旨)の通知を受ける。ACT.6で、CPU41は、プリンタ10からの通知をもとに認証を取得したか否かの判断を行う。ACT.6で認証を取得すると、ACT.7で認証を完了し、ACT.8で、携帯端末20は、データ生成部47で生成した印刷データをプリンタ10に送信する。こうして、携帯端末20は、自身が生成した印刷データをプリンタ10で印刷することができる。 ACT. 3, after the authentication key is returned to the printer 10, when the authentication process is completed in the printer 10, the printer 10 receives a notification of authentication completion (completion of communication preparation). ACT. 6, the CPU 41 determines whether authentication has been acquired based on the notification from the printer 10. ACT. If the authentication is obtained in step 6, the ACT. 7 completes authentication, and ACT. 8, the portable terminal 20 transmits the print data generated by the data generation unit 47 to the printer 10. Thus, the mobile terminal 20 can print the print data generated by the mobile terminal 20 using the printer 10.

また、ACT.6で、認証を取得できないとき(ACT.6の判断がNO)は、ACT9で、CPU41は、認証の取得判断がn回実行されたか否かを判断する。規定回数(n回)実行しても取得できない場合(ACT.9の判断がYES)は、ACT.10に進み、CPU41は、認証に失敗した旨、つまりプリンタ10の使用不可を示す情報を表示部221に表示する。規定回数(n回)は、1回だけでもよいし、複数回でもよい。 In addition, ACT. 6, when authentication cannot be acquired (NO in ACT. 6), in ACT 9, the CPU 41 determines whether authentication acquisition determination has been executed n times. If acquisition is not possible even after the prescribed number of times (n times) is executed (ACT.9 is YES), ACT. In step 10, the CPU 41 displays information indicating that the authentication has failed, that is, information indicating that the printer 10 cannot be used on the display unit 221. The specified number of times (n times) may be only once or a plurality of times.

本実施形態によれば、プリンタ10が生成する認証キーを読み取り可能な専用のアプリケーションプログラムを備える携帯端末20のみが、プリンタと通信することができる。したがって、プリンタとの通信の許可についての認証を強化することができる。   According to the present embodiment, only the portable terminal 20 having a dedicated application program that can read the authentication key generated by the printer 10 can communicate with the printer. Accordingly, it is possible to strengthen authentication for permission of communication with the printer.

尚、プリンタ10は、POS用のプリンタに限られず、他の業務用のプリンタや、家庭用のプリンタであってもよい。また、プリンタ10は、サーマルプリンタに限らず、インクリボンを用いた熱転写式のプリンタや、インクジェットプリンタ等、携帯端末20と通信可能なものであれば良い。 The printer 10 is not limited to a POS printer, and may be another business printer or a home printer. The printer 10 is not limited to a thermal printer, and may be any printer that can communicate with the portable terminal 20 such as a thermal transfer printer using an ink ribbon or an inkjet printer.

また、携帯端末20は、スマートフォンや、タブレット端末に限らず、パーソナルコンピュータ等の情報処理端末であってもよい。さらに、無線通信デバイス37と近距離無線通信部48は、NFCの規格に対応したものに限らず、RFID(Radio frequency Identification)等の近距離通信方式を採用することもできる。 The mobile terminal 20 is not limited to a smartphone or a tablet terminal, and may be an information processing terminal such as a personal computer. Furthermore, the wireless communication device 37 and the short-range wireless communication unit 48 are not limited to those compatible with the NFC standard, and a short-range communication method such as RFID (Radio Frequency Identification) can also be adopted.

また本実施の形態では、装置(携帯端末20)内部に発明を実施する機能(OS、アプリケーションプログラム)が予め記録されている場合について説明したが、これに限らず同様の機能をネットワークから装置にダウンロードしても良いし、同様の機能を記録媒体に記憶させたものを装置にインストールしてもよい。記録媒体としては、CD−ROM等の、プログラムを記憶できかつ装置が読み取り可能な記録媒体であれば、その形態は何れの形態であっても良い。またこのように予めインストールやダウンロードにより得る機能は、装置内部のOS等と協働してその機能を実現させるものであってもよい。   In this embodiment, the case has been described in which functions (OS, application programs) for carrying out the invention are recorded in advance in the apparatus (mobile terminal 20). However, the present invention is not limited to this, and similar functions are transferred from the network to the apparatus. It may be downloaded, or a similar function stored in a recording medium may be installed in the apparatus. The recording medium may take any form as long as it is a recording medium that can store a program and can be read by the apparatus, such as a CD-ROM. In addition, the function obtained by installing or downloading in advance may be realized in cooperation with the OS or the like inside the apparatus.

尚、本発明のいくつかの実施形態を述べたが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これらの実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これらの実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。   In addition, although several embodiment of this invention was described, these embodiment is shown as an example and is not intending limiting the range of invention. These embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the invention described in the claims and equivalents thereof as well as included in the scope and gist of the invention.

10…プリンタ
14…表示部
20…情報処理端末装置(携帯端末)
22…タッチスクリーンディスプレイ
37…無線通信デバイス
41…CPU(制御部)
45…記憶装置
38、46…通信I/F
47…データ生成部
48…近距離無線通信部
49…認証キー処理部
DESCRIPTION OF SYMBOLS 10 ... Printer 14 ... Display part 20 ... Information processing terminal device (mobile terminal)
22 ... Touch screen display 37 ... Wireless communication device 41 ... CPU (control unit)
45 ... storage device 38, 46 ... communication I / F
47 ... Data generation unit 48 ... Short-range wireless communication unit 49 ... Authentication key processing unit

Claims (5)

プリンタとの間で無線通信が可能な情報処理端末装置であって、
前記プリンタに付属する無線通信デバイスから送信されたデバイス情報を受信する近距離無線通信部と、
前記近距離無線通信部で受信したデバイス情報に含まれる認証キーを読み取る認証キー読取部と、
前記認証キー読取部で読取った認証キーを取得して、前記プリンタに返信する認証キー処理部と、
前記プリンタに送信する印刷データを生成するデータ生成部と、
前記返信した認証キーをもとに前記プリンタから認証処理の完了通知を受信したとき、前記印刷データを前記プリンタに送信するように制御する制御部と、
を備える情報処理端末装置。
An information processing terminal device capable of wireless communication with a printer,
A short-range wireless communication unit that receives device information transmitted from a wireless communication device attached to the printer;
An authentication key reading unit for reading an authentication key included in the device information received by the short-range wireless communication unit;
An authentication key processing unit that acquires the authentication key read by the authentication key reading unit and sends it back to the printer;
A data generation unit for generating print data to be transmitted to the printer;
A control unit that controls to send the print data to the printer when a notification of completion of the authentication process is received from the printer based on the returned authentication key;
An information processing terminal device comprising:
前記認証キー読取部は、前記認証キーを認識する専用のアプリケーションプログラムと、オペレーティングシステムを記憶した記憶装置を含む請求項1記載の情報処理端末装置。   The information processing terminal device according to claim 1, wherein the authentication key reading unit includes a dedicated application program for recognizing the authentication key and a storage device storing an operating system. 前記近距離無線通信部は、近距離無線通信用リーダライタを含む請求項1記載の情報処理端末装置。   The information processing terminal device according to claim 1, wherein the near field communication unit includes a reader / writer for near field communication. 前記近距離無線通信部による前記デバイス情報の受信、又は前記認証キー読取部による前記認証キーの読み取りに失敗したとき、前記プリンタの使用不可を示す情報を表示する表示部を備える請求項1記載の情報処理端末装置。   2. The display device according to claim 1, further comprising: a display unit that displays information indicating that the printer is unusable when reception of the device information by the short-range wireless communication unit or reading of the authentication key by the authentication key reading unit fails. Information processing terminal device. プリンタとの間で無線通信が可能な情報処理端末装置を制御するためのプログラムであって、コンピュータに、
前記プリンタに付属する無線通信デバイスから送信されたデバイス情報を受信する近距離無線通信機能と、
前記近距離無線通信機能により受信したデバイス情報に含まれる認証キーを読み取る認証キー読取機能と、
前記認証キー読取機能により読取った認証キーを取得して、前記プリンタに返信する認証キー処理機能と、
前記プリンタに送信する印刷データを生成するデータ生成機能と、
前記返信した認証キーをもとに前記プリンタから認証処理の完了通知を受信したとき、前記印刷データを前記プリンタに送信するように制御する制御機能と、
を実現させるためのプログラム。
A program for controlling an information processing terminal device capable of wireless communication with a printer,
A short-range wireless communication function for receiving device information transmitted from a wireless communication device attached to the printer;
An authentication key reading function for reading an authentication key included in device information received by the short-range wireless communication function;
An authentication key processing function for acquiring an authentication key read by the authentication key reading function and returning the authentication key to the printer;
A data generation function for generating print data to be transmitted to the printer;
A control function for controlling to send the print data to the printer when an authentication process completion notification is received from the printer based on the returned authentication key;
A program to realize
JP2017044075A 2017-03-08 2017-03-08 Information processing terminal device and program Pending JP2018147384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017044075A JP2018147384A (en) 2017-03-08 2017-03-08 Information processing terminal device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017044075A JP2018147384A (en) 2017-03-08 2017-03-08 Information processing terminal device and program

Publications (1)

Publication Number Publication Date
JP2018147384A true JP2018147384A (en) 2018-09-20

Family

ID=63591385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017044075A Pending JP2018147384A (en) 2017-03-08 2017-03-08 Information processing terminal device and program

Country Status (1)

Country Link
JP (1) JP2018147384A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111542026A (en) * 2019-02-06 2020-08-14 东芝泰格有限公司 Image forming apparatus and data communication method of image forming apparatus
CN111726474A (en) * 2019-03-22 2020-09-29 京瓷办公信息系统株式会社 Information processing apparatus for transmitting password and authentication method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004303168A (en) * 2003-04-01 2004-10-28 Seiko Epson Corp Printing system, portable type recording medium, network printer
JP2005217646A (en) * 2004-01-28 2005-08-11 Canon Inc Authentication method of wireless communication device, connection control method of wireless communication device, wireless communication device, portable wireless communication device, wireless communication system, computer program, and computer readable recording medium
JP2015231094A (en) * 2014-06-04 2015-12-21 キヤノン株式会社 Image forming device and control method therefor, and program
JP2016045625A (en) * 2014-08-21 2016-04-04 キヤノン株式会社 Information processing apparatus, and control method and control program for the same
JP2016157428A (en) * 2015-02-25 2016-09-01 株式会社リコー Information processing device, communication system, and communication method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004303168A (en) * 2003-04-01 2004-10-28 Seiko Epson Corp Printing system, portable type recording medium, network printer
JP2005217646A (en) * 2004-01-28 2005-08-11 Canon Inc Authentication method of wireless communication device, connection control method of wireless communication device, wireless communication device, portable wireless communication device, wireless communication system, computer program, and computer readable recording medium
JP2015231094A (en) * 2014-06-04 2015-12-21 キヤノン株式会社 Image forming device and control method therefor, and program
JP2016045625A (en) * 2014-08-21 2016-04-04 キヤノン株式会社 Information processing apparatus, and control method and control program for the same
JP2016157428A (en) * 2015-02-25 2016-09-01 株式会社リコー Information processing device, communication system, and communication method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111542026A (en) * 2019-02-06 2020-08-14 东芝泰格有限公司 Image forming apparatus and data communication method of image forming apparatus
CN111726474A (en) * 2019-03-22 2020-09-29 京瓷办公信息系统株式会社 Information processing apparatus for transmitting password and authentication method

Similar Documents

Publication Publication Date Title
EP2817708B1 (en) Method and apparatus for implementing near field communications with a printer
WO2014073363A1 (en) Network printing system and network printing program
JP2018147381A (en) Information processing terminal device and program
EP3419251B1 (en) User position verification method, controlled device access method, controlled device and user terminal
US9613303B2 (en) System and method for incorporating security elements in printed documents in an insecure environment
JP2016021223A (en) Program, information processing device, and information processing system
US10095856B2 (en) Communication device capable of performing a wireless communication according to NFC (abbreviation of near field communication) standard
US20180004464A1 (en) Communication system, image forming apparatus, server, and storage medium storing program
JP5531506B2 (en) Peripheral device, network system, communication processing method, and communication processing control program
JP5338466B2 (en) Image forming apparatus, customization screen update method, and customization screen update program
JP2018147384A (en) Information processing terminal device and program
JP2019106091A (en) Information processing device, control method thereof, program, and storage medium
JP2014206937A (en) Network setting information acquisition system and acquisition method
JP2014106686A (en) Printing system and program
JP6459251B2 (en) COMMUNICATION TERMINAL DEVICE, COMMUNICATION SYSTEM, PROGRAM, AND COMMUNICATION TERMINAL DEVICE CONTROL METHOD
JP4900152B2 (en) Information processing device
JP2015179474A (en) Selling time point management system
JP2015207096A (en) Product sales data processing system, product sales data processing terminal device, and product sales data processing method
CN103544440A (en) Confidentiality printing method
JP6446812B2 (en) POS system and control method of POS system
US10218875B2 (en) Communication device capable of performing wireless communication according to NFC standard
JP6536016B2 (en) PRINTING APPARATUS, PRINT PROCESSING METHOD, PROGRAM, AND PRINTING SYSTEM
JP2019018577A (en) Printing device, printing system, and control method for printing device
JP7026917B2 (en) Information management system
US20220261197A1 (en) Printing apparatus and method of controlling printing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200219

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201222

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20210803