JP2019097181A - Method for controlling communication device, and communication system - Google Patents

Method for controlling communication device, and communication system Download PDF

Info

Publication number
JP2019097181A
JP2019097181A JP2019007170A JP2019007170A JP2019097181A JP 2019097181 A JP2019097181 A JP 2019097181A JP 2019007170 A JP2019007170 A JP 2019007170A JP 2019007170 A JP2019007170 A JP 2019007170A JP 2019097181 A JP2019097181 A JP 2019097181A
Authority
JP
Japan
Prior art keywords
communication
information
nfc
connection information
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.)
Granted
Application number
JP2019007170A
Other languages
Japanese (ja)
Other versions
JP6701395B2 (en
Inventor
雅道 丹治
Masamichi Tanji
雅道 丹治
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2019007170A priority Critical patent/JP6701395B2/en
Publication of JP2019097181A publication Critical patent/JP2019097181A/en
Application granted granted Critical
Publication of JP6701395B2 publication Critical patent/JP6701395B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

To provide a technology that can prevent occurrence of a user's input error in writing connection information for connecting to an information processing apparatus (image forming apparatus) from a communication device (communication terminal) to a wireless communication tag (NFC tag).SOLUTION: An image forming apparatus converts connection information for connecting to the image forming apparatus in a WLAN system into a corresponding image pattern and displays the image pattern on a display part. A communication terminal photographs, with a camera, the image pattern displayed on the display part of the image forming apparatus (S1003). The communication terminal restores the corresponding connection information from the image pattern photographed with the camera (S1004), and creates NDEF data on the basis of the restored connection information (S1009). The communication terminal writes the created NDEF data in an NFC tag through NFC communication (S1012).SELECTED DRAWING: Figure 10

Description

本発明は、通信システム、通信装置及びその制御方法、並びにプログラムに関するものである。   The present invention relates to a communication system, a communication apparatus, a control method therefor, and a program.

近年、NFC(Near Field Communication)、無線LAN、Bluetooth(登録商標)等の、様々な無線通信規格に対応した無線通信機能を備えた画像形成装置が登場している。そのような画像形成装置に対して、NFCに対応したスマートフォン等の通信端末から印刷(画像形成)を簡単に実行させるための技術が提案されている。例えば、特許文献1は、通信端末がNFC通信圏内に位置したことを検知すると、当該通信端末との間でNFC通信を確立し、無線LAN等のより高速な通信方式による通信を確立するための情報を通信端末と交換する画像形成装置を開示している。この画像形成装置は、交換した情報を用いて、通信端末との間で高速な通信方式による通信を確立し、当該通信により印刷データを通信端末から受信して印刷を行う。このように、装置間のペアリングをNFC通信によって行い、実際の通信を、Bluetooth(登録商標)や無線LAN等の通信に引き継ぐ技術は「ハンドオーバー」と称される。   In recent years, image forming apparatuses provided with a wireless communication function corresponding to various wireless communication standards such as NFC (Near Field Communication), wireless LAN, and Bluetooth (registered trademark) have appeared. For such an image forming apparatus, there has been proposed a technique for easily performing printing (image formation) from a communication terminal such as a smartphone compatible with NFC. For example, upon detecting that a communication terminal is located within the NFC communication range, Patent Document 1 establishes NFC communication with the communication terminal and establishes communication by a higher speed communication method such as a wireless LAN. An image forming apparatus is disclosed that exchanges information with a communication terminal. The image forming apparatus establishes communication with the communication terminal according to the high-speed communication method using the exchanged information, and receives the print data from the communication terminal by the communication and performs printing. As described above, a technology for performing pairing between devices by NFC communication and taking over actual communication to communication such as Bluetooth (registered trademark) or wireless LAN is called "handover".

上述のようなハンドオーバーの実現方法の1つとして、画像形成装置が無線LAN等の高速な通信方式で接続しているアクセスポイントに対して接続するための接続情報を、画像形成装置がNFC通信によって通信端末に提供する方法が挙げられる。この方法では、通信端末は、NFC通信によって受信した接続情報を用いてアクセスポイントとの無線接続を確立し、当該アクセスポイントを介して画像形成装置との通信を確立する。   The image forming apparatus performs NFC communication as connection information for connecting the image forming apparatus to an access point connected by a high-speed communication method such as a wireless LAN as one of the methods for realizing the above-described handover. And the method of providing to the communication terminal. In this method, the communication terminal establishes wireless connection with an access point using connection information received by NFC communication, and establishes communication with the image forming apparatus via the access point.

このようなNFC通信で交換可能な接続情報には、無線ネットワーク上でアクセスポイントを識別するための固有の識別情報を示すSSID(Service Set Identifier)が含まれうる。また、そのような接続情報には、アクセスポイントで使用されている認証方式、暗号方式、暗号キー等の情報も含まれうる。このような接続情報は、画像形成装置のNFCモジュールにNDEF(NFC Data Exchange Format)データとして予め格納される。これにより、通信端末のNFCモジュールは、画像形成装置のNFCモジュールからNDEFデータをNFC通信によって読み取ることによって、読み取ったNDEFデータに基づいてハンドオーバーを実行できる。   The connection information exchangeable by such NFC communication may include a Service Set Identifier (SSID) indicating unique identification information for identifying the access point on the wireless network. In addition, such connection information may include information such as an authentication method, an encryption method, an encryption key and the like used in the access point. Such connection information is stored in advance as NFC Data Exchange Format (NDEF) data in the NFC module of the image forming apparatus. Thus, the NFC module of the communication terminal can execute the handover based on the read NDEF data by reading the NDEF data from the NFC module of the image forming apparatus by NFC communication.

上述のように、近年ではNFCモジュールを実装している画像形成装置が存在している一方、NFCモジュールを実装していない画像形成装置も未だに多数存在する。このようなNFCモジュールを実装していない画像形成装置では、ハンドオーバーに必要な接続情報が書き込まれたNFCタグを画像形成装置の外面に取り付けておけばよい。これにより、画像形成装置の外面に取り付けられたNFCタグを使用して、外部の通信端末は上述のハンドオーバーを実行できる。   As described above, in recent years, there exist image forming apparatuses that mount an NFC module, but there are still many image forming apparatuses that do not mount an NFC module. In an image forming apparatus in which such an NFC module is not mounted, an NFC tag in which connection information necessary for handover is written may be attached to the outer surface of the image forming apparatus. Thereby, the external communication terminal can execute the above-mentioned handover using the NFC tag attached to the outer surface of the image forming apparatus.

特開2013−184296号公報JP, 2013-184296, A

上述のように、NFCタグを用いてハンドオーバーを実現する場合、ハンドオーバーに必要な接続情報をNFCタグに予め書き込んでおく必要がある。NFCタグへの接続情報の書き込みは、例えば、NFC通信機能(NFCモジュール)を備えた通信端末を用いて行うことができる。この場合、SSID等の上述の接続情報を、ユーザが通信端末を用いて手動で入力する必要があり、ユーザにとって入力に手間がかかるとともに、入力ミスが発生する可能性もある。   As described above, when implementing a handover using an NFC tag, it is necessary to write connection information necessary for the handover in advance in the NFC tag. The writing of connection information to the NFC tag can be performed, for example, using a communication terminal provided with an NFC communication function (NFC module). In this case, it is necessary for the user to manually input the above-mentioned connection information such as the SSID using the communication terminal, which may be time-consuming for the user and may cause an input error.

本発明は、上述の問題に鑑みてなされたものである。本発明は、情報処理装置(画像形成装置)に接続するための接続情報を通信装置(通信端末)から無線通信タグ(NFCタグ)に書き込む際に、ユーザの入力ミスが発生するのを防止できる技術を提供することを目的とする。   The present invention has been made in view of the above problems. The present invention can prevent a user's input error from occurring when writing connection information for connecting to an information processing apparatus (image forming apparatus) from a communication apparatus (communication terminal) to a wireless communication tag (NFC tag) The purpose is to provide technology.

本発明は、例えば、通信装置及び通信システムとして実現できる。本発明の一態様に係る通信装置は、近接無線通信のための第1通信方式よりも通信速度が高速な第2通信方式の通信における接続先となる情報処理装置の表示部に表示される、前記情報処理装置に前記第2通信方式で接続するための接続情報から変換された画像パターンを撮影する撮影手段と、前記撮影手段によって撮影された画像パターンから、前記接続情報を復元する復元手段と、前記第1通信方式の通信によって外部装置からの情報の書き込み及び読み取りが可能な無線通信タグに対して、前記復元手段によって復元された前記接続情報を前記第1の通信方式の通信によって書き込む書き込み手段と、を備えることを特徴とする。   The present invention can be realized, for example, as a communication device and a communication system. A communication apparatus according to an aspect of the present invention is displayed on a display unit of an information processing apparatus serving as a connection destination in communication of a second communication method whose communication speed is higher than that of the first communication method for proximity wireless communication. A photographing means for photographing an image pattern converted from connection information for connecting to the information processing apparatus by the second communication method; and a restoration means for restoring the connection information from the image pattern photographed by the photographing means Writing to the wireless communication tag capable of writing and reading information from an external device by communication of the first communication scheme, writing the connection information restored by the restoring unit by communication of the first communication scheme And means.

本発明の一態様に係る通信システムは、通信装置と情報処理装置とを備える通信システムであって、前記情報処理装置は、近接無線通信のための第1通信方式よりも通信速度が高速な第2通信方式で前記情報処理装置に接続するための接続情報を、対応する画像パターンに変換する変換手段と、前記画像パターンを表示する表示手段と、を備え、前記通信装置は、前記表示手段に表示された画像パターンを撮影する撮影手段と、前記撮影手段によって撮影された画像パターンから、前記接続情報を復元する復元手段と、前記第1通信方式の通信によって外部装置からの情報の書き込み及び読み取りが可能な無線通信タグに対して、前記復元手段によって復元された前記接続情報を前記第1の通信方式の通信によって書き込む書き込み手段と、を備えることを特徴とする。   A communication system according to an aspect of the present invention is a communication system including a communication device and an information processing device, wherein the information processing device has a communication speed higher than that of a first communication method for close proximity wireless communication. The communication device further includes: conversion means for converting connection information for connecting to the information processing apparatus by the second communication method into a corresponding image pattern; and display means for displaying the image pattern, wherein the communication device Writing and reading of information from an external device by communication of the first communication method by a photographing means for photographing the displayed image pattern, a restoration means for restoring the connection information from the image pattern photographed by the photographing means Writing means for writing the connection information restored by the restoration means by communication of the first communication method with respect to a wireless communication tag capable of Characterized in that it comprises.

本発明によれば、情報処理装置(画像形成装置)に接続するための接続情報を通信装置(通信端末)から無線通信タグ(NFCタグ)に書き込む際に、ユーザの入力ミスが発生するのを防止できる。   According to the present invention, when writing connection information for connecting to an information processing apparatus (image forming apparatus) from a communication apparatus (communication terminal) to a wireless communication tag (NFC tag), a user's input error occurs. It can prevent.

通信システムの構成例を示す図。The figure which shows the structural example of a communication system. 画像形成装置のハードウェア構成例を示すブロック図。FIG. 2 is a block diagram showing an example of the hardware configuration of the image forming apparatus. 画像形成装置のソフトウェア構成例を示すブロック図。FIG. 2 is a block diagram showing an example of the software configuration of the image forming apparatus. 通信端末のハードウェア構成例を示すブロック図。FIG. 2 is a block diagram showing an example of the hardware configuration of a communication terminal. 通信端末のソフトウェア構成例を示すブロック図。The block diagram which shows the software structural example of a communication terminal. NFCタグのハードウェア構成例を示すブロック図。FIG. 2 is a block diagram showing an example of the hardware configuration of an NFC tag. 画像形成装置の操作パネルの構成例を示すブロック図。FIG. 2 is a block diagram showing an example of the configuration of an operation panel of the image forming apparatus. 画像形成装置における無線LAN設定情報を示す画面の例を示す図。FIG. 6 is a view showing an example of a screen showing wireless LAN setting information in the image forming apparatus. 通信端末においてNDEF書き込みアプリケーションによって表示される画面(NFC Writer画面)の例を示す図。The figure which shows the example of the screen (NFC Writer screen) displayed by NDEF write-in application in a communication terminal. 通信端末において実行される、NFCタグに対するNDEFデータの書き込み処理の手順を示すフローチャート。The flowchart which shows the procedure of the writing process of the NDEF data with respect to a NFC tag performed in a communication terminal. 通信端末において実行される、NFCタグから読み取って得られるNDEFデータに基づく無線接続処理の手順を示すフローチャート。The flowchart which shows the procedure of the wireless connection process based on the NDEF data obtained by reading from a NFC tag performed in a communication terminal. NDEFデータの構成例を示す図。The figure which shows the structural example of NDEF data.

以下、本発明を実施するための形態について図面を用いて説明する。なお、以下の実施形態は特許請求の範囲に係る発明を限定するものでなく、また実施形態で説明されている特徴の組み合わせの全てが発明の解決手段に必須のものとは限らない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. The following embodiments do not limit the invention according to the claims, and all combinations of the features described in the embodiments are not necessarily essential to the solution means of the invention.

<通信システムの構成>
図1は、実施形態に係る通信システムの構成例を示す図である。本通信システムは、画像形成装置100、アクセスポイント150、通信端末400、及びNFC(Near Field Communication)タグ600を少なくとも含む。アクセスポイント150は、無線LAN方式の通信(無線LAN通信)用のアクセスポイントである。通信端末400は、持ち運び可能な情報処理端末であり、例えば、携帯端末やノートPCである。なお、本通信システムには、画像形成装置100及び通信端末400がそれぞれ任意の数だけ含まれうる。NFCタグ600には、シールによって画像形成装置100の表面(外面)に貼り付けられていることで、画像形成装置100に取り付けられている。なお、NFCタグ600は、無線通信タグの一例であり、無線通信タグは、NFCタグ、RFIDタグ、ICタグ等の、外部装置からの情報の書き込み及び読み取りが可能な無線タグ(RFタグ)に相当する。
<Configuration of communication system>
FIG. 1 is a diagram illustrating an exemplary configuration of a communication system according to an embodiment. The communication system at least includes an image forming apparatus 100, an access point 150, a communication terminal 400, and an NFC (Near Field Communication) tag 600. The access point 150 is an access point for wireless LAN communication (wireless LAN communication). The communication terminal 400 is a portable information processing terminal, and is, for example, a portable terminal or a notebook PC. The present communication system may include an arbitrary number of image forming apparatuses 100 and communication terminals 400. The NFC tag 600 is attached to the image forming apparatus 100 by being attached to the surface (outer surface) of the image forming apparatus 100 by a seal. The NFC tag 600 is an example of a wireless communication tag, and the wireless communication tag is a wireless tag (RF tag) that can write and read information from an external device, such as an NFC tag, an RFID tag, and an IC tag. Equivalent to.

画像形成装置100及び通信端末400は、NFC等の近距離無線通信(近接無線通信)のための(第1)通信方式よりも通信速度が高速な(第2)通信方式の一例である無線LAN(WLAN)方式の通信用の通信インタフェース(I/F)を備える。画像形成装置100及び通信端末400はいずれも、アクセスポイント150に対してWLAN通信によって無線接続することが可能である。画像形成装置100は、通常、WLAN通信によってクライアントとしてアクセスポイント150に無線接続している状態にあるものとする。一方、通信端末400は、アクセスポイント150に無線接続することによって、アクセスポイント150を介して画像形成装置100と通信可能である。ただし、通信端末400は、アクセスポイント150に必ずしも無線接続している状態にあるとは限らない。   The image forming apparatus 100 and the communication terminal 400 are a wireless LAN, which is an example of a second communication method having a higher communication speed than the first communication method for near field communication (near-field wireless communication) such as NFC. A communication interface (I / F) for (WLAN) communication is provided. Both the image forming apparatus 100 and the communication terminal 400 can wirelessly connect to the access point 150 by WLAN communication. Generally, the image forming apparatus 100 is in a wireless connection state with the access point 150 as a client by WLAN communication. On the other hand, communication terminal 400 can communicate with image forming apparatus 100 via access point 150 by wirelessly connecting to access point 150. However, communication terminal 400 is not necessarily in a state of being wirelessly connected to access point 150.

通信端末400は、近接無線通信のための通信方式の一例であるNFCに対応しており、NFCタグ600とNFC通信によってNFCタグ600と通信可能である。本実施形態では、通信端末400は、画像形成装置100に接続するための接続情報として、アクセスポイント150にWLAN方式で接続するための接続情報を、NFC通信でNFCタグ600から取得できる。更に、通信端末400は、NFCタグ600から取得した接続情報を用いて、アクセスポイント150との間でWLAN通信を確立することによって、NFC通信からWLAN通信にハンドオーバーできる。   The communication terminal 400 supports NFC, which is an example of a communication scheme for proximity wireless communication, and can communicate with the NFC tag 600 by the NFC tag 600 and NFC communication. In the present embodiment, the communication terminal 400 can obtain connection information for connecting to the access point 150 in the WLAN system as connection information for connecting to the image forming apparatus 100 from the NFC tag 600 by NFC communication. Furthermore, the communication terminal 400 can handover from NFC communication to WLAN communication by establishing WLAN communication with the access point 150 using the connection information acquired from the NFC tag 600.

<画像形成装置の構成>
図2は、画像形成装置100のハードウェア構成例を示すブロック図である。画像形成装置100は、制御部201と、制御部201に接続されたプリンタ(プリンタエンジン)207及び操作パネル209とを備える。制御部201は、画像形成装置100全体の動作を制御する。制御部201は、システムバス220に接続されたデバイスとして、CPU202、RAM203、ROM204、ハードディスクドライブ(HDD)205、プリンタインタフェース(I/F)206、操作パネルI/F208、及び無線LANI/F210を備える。
<Configuration of Image Forming Apparatus>
FIG. 2 is a block diagram showing an example of the hardware configuration of the image forming apparatus 100. As shown in FIG. The image forming apparatus 100 includes a control unit 201, and a printer (printer engine) 207 and an operation panel 209 connected to the control unit 201. The control unit 201 controls the overall operation of the image forming apparatus 100. The control unit 201 includes a CPU 202, a RAM 203, a ROM 204, a hard disk drive (HDD) 205, a printer interface (I / F) 206, an operation panel I / F 208, and a wireless LAN I / F 210 as devices connected to the system bus 220. .

RAM203は、CPU202のメインメモリ、ワークエリア等の一時記憶領域として用いられる。ROM204には、画像形成装置100の制御プログラムが格納される。CPU202は、システムバス220を介して接続された各デバイスを制御することによって、画像形成装置100全体の動作を制御する。具体的には、CPU202は、ROM204またはHDD205に格納された制御プログラムをRAM203に読み出して実行することで、通信制御、画像形成(印刷)制御等の、画像形成装置100における種々の制御を行う。HDD205は、各種のプログラム及びデータの保存のために用いられる。   The RAM 203 is used as a temporary storage area such as a main memory of the CPU 202 and a work area. The ROM 204 stores a control program of the image forming apparatus 100. The CPU 202 controls the overall operation of the image forming apparatus 100 by controlling each device connected via the system bus 220. Specifically, the CPU 202 performs various controls in the image forming apparatus 100, such as communication control and image formation (printing) control, by reading out a control program stored in the ROM 204 or the HDD 205 into the RAM 203 and executing it. The HDD 205 is used to store various programs and data.

プリンタI/F206は、プリンタ207と制御部201とを接続するためのインタフェースである。プリンタI/F206は、画像信号をプリンタ207に出力するとともに、CPU202からの制御信号をプリンタ207に出力する。プリンタ207は、CPU202からの制御信号に従って、プリンタI/F206から入力された画像信号に基づいて、給紙カセット(図示せず)から給紙されたシートに印刷処理を実行する。   The printer I / F 206 is an interface for connecting the printer 207 and the control unit 201. The printer I / F 206 outputs an image signal to the printer 207 and outputs a control signal from the CPU 202 to the printer 207. The printer 207 executes print processing on a sheet fed from a paper feed cassette (not shown) based on an image signal inputted from the printer I / F 206 in accordance with a control signal from the CPU 202.

操作パネルI/F208は、操作パネル209と制御部201とを接続するためのインタフェースである。操作パネル209(図7)は、タッチパネル機能を有する液晶表示部やキーボード等を備える。   The operation panel I / F 208 is an interface for connecting the operation panel 209 and the control unit 201. The operation panel 209 (FIG. 7) includes a liquid crystal display unit having a touch panel function, a keyboard, and the like.

無線LAN I/F210は、無線LAN用のアンテナ(図示せず)を介して、外部装置とWLAN通信を行う。無線LAN I/F210は、例えば、アクセスポイント150とWLAN通信を行うことが可能である。この場合、無線LAN I/F210は、アクセスポイント150に接続している外部装置(通信端末400等)と、アクセスポイント150を介して通信を行うことが可能である。また、無線LAN I/F210は、WLAN方式の1つであるWi−Fi Direct(登録商標)による通信を実行可能であってもよい。この場合、無線LAN I/F210は、Wi−Fi Directで直接接続した外部装置(通信端末400等)と、Wi−Fi Direct通信を行うことが可能である。なお、本明細書では、「無線LAN(WLAN)通信」には「Wi−Fi Direct通信」も含まれるものとする。   The wireless LAN I / F 210 performs WLAN communication with an external device via an antenna (not shown) for wireless LAN. The wireless LAN I / F 210 can perform, for example, WLAN communication with the access point 150. In this case, the wireless LAN I / F 210 can communicate with an external device (such as the communication terminal 400) connected to the access point 150 via the access point 150. Also, the wireless LAN I / F 210 may be able to execute communication by Wi-Fi Direct (registered trademark) which is one of WLAN methods. In this case, the wireless LAN I / F 210 can perform Wi-Fi Direct communication with an external device (the communication terminal 400 or the like) directly connected by Wi-Fi Direct. In the present specification, "wireless LAN (WLAN) communication" includes "Wi-Fi Direct communication".

CPU202は、無線LAN I/F210を介して、WLAN通信によって通信端末400等の外部装置と通信可能であり、外部装置に各種情報を送信し、または外部装置から各種情報を受信しうる。例えば、CPU202は、無線LAN I/F210を介して、外部装置から印刷データを受信し、受信した印刷データに基づいてプリンタ207が印刷処理を実行する。   The CPU 202 can communicate with an external device such as the communication terminal 400 by WLAN communication via the wireless LAN I / F 210, and can transmit various information to the external device or receive various information from the external device. For example, the CPU 202 receives print data from an external apparatus via the wireless LAN I / F 210, and the printer 207 executes print processing based on the received print data.

なお、本実施形態では、1つのCPU202が1つのメモリ(RAM203)を用いて画像形成装置100の動作を制御する態様を一例として示しているが、他の態様に変更することも可能である。例えば、複数のCPU及び複数のメモリを協働させてもよい。また、画像形成装置100は、有線LAN I/Fを備えていてもよく、有線LAN I/F及び有線ネットワークを介してアクセスポイント150と接続されていてもよい。その場合、画像形成装置100は、有線LAN I/Fと接続されたアクセスポイント150を介して、通信端末400等の外部装置と通信可能であってもよい。   In the present embodiment, an aspect in which one CPU 202 controls the operation of the image forming apparatus 100 using one memory (RAM 203) is shown as an example, but it is also possible to change to another aspect. For example, multiple CPUs and multiple memories may cooperate. The image forming apparatus 100 may also include a wired LAN I / F, and may be connected to the access point 150 via the wired LAN I / F and a wired network. In that case, the image forming apparatus 100 may be able to communicate with an external device such as the communication terminal 400 via the access point 150 connected to the wired LAN I / F.

図3は、画像形成装置100のソフトウェア構成例を示すブロック図である。図3に示す各機能部は、CPU202がROM204またはHDD205に格納された制御プログラムをRAM203に読み出して実行することによって、画像形成装置100において実現される。   FIG. 3 is a block diagram showing an example of the software configuration of the image forming apparatus 100. As shown in FIG. Each functional unit illustrated in FIG. 3 is realized in the image forming apparatus 100 by the CPU 202 reading out a control program stored in the ROM 204 or the HDD 205 to the RAM 203 and executing the control program.

操作制御部301は、操作パネル209の動作を制御する。操作制御部301は、例えば、操作パネル209に操作画面を表示させ、また、操作パネル209に表示された操作画面を介して、ユーザによる指示の入力を受け付ける。操作制御部301は、操作パネル209を介して受け付けたユーザの指示を他の機能部に通知し、また、受け付けたユーザの指示に応じて、操作パネル209に表示する操作画面を更新する。記憶制御部302は、他の機能部からの指示に応じて、指定されたデータをRAM203またはHDD205に格納し、または指定されたデータをRAM203またはHDD205から読み出す。   The operation control unit 301 controls the operation of the operation panel 209. For example, the operation control unit 301 causes the operation panel 209 to display an operation screen, and receives an input of an instruction from the user via the operation screen displayed on the operation panel 209. The operation control unit 301 notifies the other function unit of the user's instruction received through the operation panel 209, and updates the operation screen displayed on the operation panel 209 according to the received user's instruction. The storage control unit 302 stores the designated data in the RAM 203 or the HDD 205 or reads out the designated data from the RAM 203 or the HDD 205 in accordance with an instruction from another functional unit.

無線LAN通信部303は、無線LAN I/F210によって実行されるWLAN通信を制御する。アプリケーション(APP)部304は、プリントサービス305等の複数のAPPサービスによって構成される。なお、APP部304は、プリントサービス305以外のAPPサービスを更に含んでいてもよい。プリントサービス305は、通信端末400等の外部装置から送信された印刷データを、無線LAN通信部303を介して受信し、受信した印刷データに基づく印刷を、プリンタI/F206を介してプリンタ207に実行させる。   A wireless LAN communication unit 303 controls WLAN communication performed by the wireless LAN I / F 210. The application (APP) unit 304 is configured by a plurality of APP services such as the print service 305. The APP unit 304 may further include an APP service other than the print service 305. The print service 305 receives print data transmitted from an external apparatus such as the communication terminal 400 via the wireless LAN communication unit 303, and prints based on the received print data to the printer 207 via the printer I / F 206. Run it.

<通信端末の構成>
次に、図4は、通信端末400のハードウェア構成例を示すブロック図である。通信端末400は、システムバス420に接続されたデバイスとして、CPU401、RAM402、ROM403、HDD404、操作パネル405、無線LAN I/F406、NFCリーダ/ライタ(NFC R/W)407、カメラ408、マイク409、及びスピーカー410を備える。
<Configuration of communication terminal>
Next, FIG. 4 is a block diagram showing an example of a hardware configuration of the communication terminal 400. As shown in FIG. The communication terminal 400 includes, as devices connected to the system bus 420, a CPU 401, a RAM 402, a ROM 403, an HDD 404, an operation panel 405, a wireless LAN I / F 406, an NFC reader / writer (NFC R / W) 407, a camera 408, and a microphone 409. , And a speaker 410.

RAM402は、CPU401のメインメモリ、ワークエリア等の一時記憶領域として用いられる。ROM403には、通信端末400の制御プログラムが格納される。CPU401は、ROM403に記憶された制御プログラムをRAM402に読み出して実行することで、通信端末400全体の動作を制御する。HDD404は、各種のプログラム、データ及び情報テーブルの保存のために用いられる。   A RAM 402 is used as a temporary storage area such as a main memory of the CPU 401 and a work area. The ROM 403 stores a control program of the communication terminal 400. The CPU 401 controls the entire operation of the communication terminal 400 by reading out the control program stored in the ROM 403 to the RAM 402 and executing it. The HDD 404 is used to store various programs, data, and information tables.

操作パネル405は、操作画面等の様々な画面を表示する。操作パネル405は、タッチパネル機能を有し、ユーザによるタッチ操作を受け付けることが可能である。ユーザは、操作パネル405の表示に応じて、タッチパネル機能を用いてドラッグ操作、フリック操作等のタッチ操作(ジェスチャー操作)を行うことで、種々の指示を通信端末400に対して入力できる。   The operation panel 405 displays various screens such as an operation screen. The operation panel 405 has a touch panel function and can receive a touch operation by the user. The user can input various instructions to the communication terminal 400 by performing a touch operation (a gesture operation) such as a drag operation or a flick operation using the touch panel function according to the display of the operation panel 405.

無線LAN I/F406は、無線LAN用のアンテナ(図示せず)を介して、外部装置とWLAN通信を行う。無線LAN I/F406は、例えば、アクセスポイント150とWLAN通信を行うことが可能である。この場合、無線LAN I/F406は、アクセスポイント150に接続している外部装置(画像形成装置100等)と、アクセスポイント150を介して通信を行うことが可能である。また、無線LAN I/F406は、Wi−Fi Direct通信を実行可能であってもよい。この場合、無線LAN I/F406は、Wi−Fi Directで直接接続した外部装置(画像形成装置100等)と、Wi−Fi Direct通信を行うことが可能である。   The wireless LAN I / F 406 performs WLAN communication with an external device via an antenna (not shown) for wireless LAN. The wireless LAN I / F 406 can perform WLAN communication with the access point 150, for example. In this case, the wireless LAN I / F 406 can communicate with an external apparatus (such as the image forming apparatus 100) connected to the access point 150 via the access point 150. Also, the wireless LAN I / F 406 may be able to execute Wi-Fi Direct communication. In this case, the wireless LAN I / F 406 can perform Wi-Fi Direct communication with an external device (such as the image forming apparatus 100) directly connected by Wi-Fi Direct.

CPU401は、無線LAN I/F406を介して、WLAN通信によって画像形成装置100等の外部装置と通信可能であり、外部装置に各種情報を送信し、または外部装置から各種情報を受信しうる。例えば、CPU401は、無線LAN I/F406を介して、RAM402またはHDD404等のメモリに格納された画像データを、印刷データとして画像形成装置100に送信できる。   The CPU 401 can communicate with an external apparatus such as the image forming apparatus 100 by WLAN communication via the wireless LAN I / F 406, and can transmit various information to the external apparatus or receive various information from the external apparatus. For example, the CPU 401 can transmit image data stored in a memory such as the RAM 402 or the HDD 404 as print data to the image forming apparatus 100 via the wireless LAN I / F 406.

NFC R/W407は、NFCタグ600等のNFCタグとNFC通信を実行可能である。NFC R/W407は、NFC通信によって、NFCタグ600へのNDEFデータの書き込み、及び、NFCタグ600に書き込まれているNDEFデータの読み取りを行う。   The NFC R / W 407 can execute NFC communication with an NFC tag such as the NFC tag 600. The NFC R / W 407 writes the NDEF data to the NFC tag 600 and reads the NDEF data written to the NFC tag 600 by NFC.

カメラ408は、通信端末400に内蔵された撮影用レンズ及びその制御装置であり、動画像または静止画像を撮影できる。マイク409は、ユーザが通信端末400を用いて他の通信端末のユーザと通話する際に、ユーザの音声の入力を受け付けて、当該音声を電気信号に変換する。スピーカー410は、スピーカー410は、通信端末400が他の通信端末と通話を行う場合等に、他の通信端末から受信した音声信号を音声として出力する。   The camera 408 is a photographing lens incorporated in the communication terminal 400 and its control device, and can photograph moving images or still images. When the user uses the communication terminal 400 to call the user of another communication terminal, the microphone 409 receives an input of the user's voice and converts the voice into an electrical signal. The speaker 410 outputs an audio signal received from another communication terminal as a sound, for example, when the communication terminal 400 makes a call with the other communication terminal.

なお、本実施形態では、1つのCPU401が1つのメモリ(RAM402)を用いて通信端末400の動作を制御する態様を一例として示しているが、他の態様に変更することも可能である。例えば、複数のCPU及び複数のメモリを協働させてもよい。   In the present embodiment, a mode in which one CPU 401 controls the operation of the communication terminal 400 using one memory (RAM 402) is shown as an example, but it is also possible to change to another mode. For example, multiple CPUs and multiple memories may cooperate.

図5は、通信端末400のソフトウェア構成例を示すブロック図である。図5に示す各機能部は、CPU401がROM403またはHDD404に格納された制御プログラムをRAM402に読み出して実行することによって、通信端末400において実現される。   FIG. 5 is a block diagram showing an example of the software configuration of the communication terminal 400. As shown in FIG. Each functional unit illustrated in FIG. 5 is realized in communication terminal 400 by CPU 401 reading out a control program stored in ROM 403 or HDD 404 to RAM 402 and executing the control program.

操作制御部501は、操作パネル405の動作を制御する。操作制御部501は、例えば、操作パネル405に操作画面を表示させ、また、操作パネル405に表示された操作画面を介して、ユーザによる指示の入力を受け付ける。操作制御部501は、操作パネル405を介して受け付けたユーザの指示を他の機能部に通知し、また、受け付けたユーザの指示に応じて、操作パネル405に表示する操作画面を更新する。記憶制御部502は、他の機能部からの指示に応じて、指定されたデータをRAM402またはHDD404に格納し、または指定されたデータをRAM402またはHDD404から読み出す。   The operation control unit 501 controls the operation of the operation panel 405. For example, the operation control unit 501 causes the operation panel 405 to display an operation screen, and receives an input of an instruction from the user via the operation screen displayed on the operation panel 405. The operation control unit 501 notifies the other function unit of the user's instruction received through the operation panel 405, and updates the operation screen displayed on the operation panel 405 according to the received user's instruction. Storage control unit 502 stores designated data in RAM 402 or HDD 404 or reads designated data from RAM 402 or HDD 404 according to an instruction from another functional unit.

無線LAN通信部503は、無線LAN I/F406によって実行されるWLAN通信を制御する。NFC制御部504は、NFC R/W407を制御することで、NFC R/W407の動作モードを読み取りモードと書き込みモードとの間で切り替える。読み取りモードは、NFCタグ600に書き込まれているNDEFデータの読み取りを行う動作モードである。書き込みモードは、NFCタグ600へのNDEFデータの書き込みを行う動作モードである。   A wireless LAN communication unit 503 controls the WLAN communication performed by the wireless LAN I / F 406. The NFC control unit 504 controls the NFC R / W 407 to switch the operation mode of the NFC R / W 407 between the reading mode and the writing mode. The reading mode is an operation mode for reading NDEF data written in the NFC tag 600. The write mode is an operation mode for writing NDEF data to the NFC tag 600.

カメラ制御部505は、カメラ408を制御することで、動画像または静止画像の撮影を実行し、また、撮影により得られた動画像または静止画像の保存(RAM402またはHDD404への格納)を記憶制御部502に指示する。通話制御部509は、マイク409及びスピーカー410を制御することで、ユーザによる通話の際に、音声の入力及び出力を実行する。   The camera control unit 505 controls the camera 408 to execute shooting of a moving image or a still image, and stores and controls storage (storage in the RAM 402 or the HDD 404) of the moving image or the still image obtained by shooting. It instructs the unit 502. The call control unit 509 controls the microphone 409 and the speaker 410 to execute input and output of voice during a call by the user.

アプリケーション(APP)部506は、NDEF書き込みアプリケーション(APP)507、プリントアプリケーション(APP)508等の複数のAPPによって構成される。なお、APP部506は、NDEF書き込みAPP507及びプリントAPP508以外のAPPを更に含んでいてもよい。NDEF書き込みAPP507は、NFCタグ600にNDEFデータを書き込むための専用APPである。プリントAPP508は、画像形成装置100上のプリントサービス305と、WLAN通信を介して通信を行い、プリントサービス305がサポートしているプロトコル及びフォーマットで印刷データを送信するためのAPPである。   The application (APP) unit 506 is configured by a plurality of APPs such as an NDEF writing application (APP) 507 and a print application (APP) 508. Note that the APP unit 506 may further include an APP other than the NDEF write APP 507 and the print APP 508. The NDEF write APP 507 is a dedicated APP for writing NDEF data in the NFC tag 600. The print APP 508 is an APP for communicating with the print service 305 on the image forming apparatus 100 via WLAN communication, and transmitting print data in a protocol and format supported by the print service 305.

NDEF書き込みAPP507及びプリントAPP508は、ネットワーク上のサーバ(図示せず)で公開されており、例えば、無線LAN I/F406を介してサーバからダウンロードして通信端末400にインストール可能である。あるいは、NDEF書き込みAPP507及びプリントAPP508は、通信端末400に予めインストールされていてもよい。   The NDEF write APP 507 and the print APP 508 are published on a server (not shown) on the network, and can be downloaded from the server via the wireless LAN I / F 406 and installed on the communication terminal 400, for example. Alternatively, the NDEF write APP 507 and the print APP 508 may be installed in the communication terminal 400 in advance.

<NFCタグの構成>
図6は、NFCタグ600のハードウェア構成例を示すブロック図である。NFCタグ600は、NDEFデータが格納される記憶部601と、通信端末400等の外部装置に備えられたNFC R/W(例えば、NFC R/W407)とNFC通信を行う通信部602とを備える。通信部602は、外部装置のNFC R/Wから送信される電波をアンテナ(図示せず)で受信すると、受信した電波をエネルギー源として(電波によって電力の供給を受けて)動作する。このため、NFCタグ600自体には、電池等の電源は不要である。
<Configuration of NFC tag>
FIG. 6 is a block diagram showing an example of the hardware configuration of the NFC tag 600. As shown in FIG. The NFC tag 600 includes a storage unit 601 in which NDEF data is stored, a communication unit 602 for performing NFC communication, and an NFC R / W (for example, NFC R / W 407) provided in an external device such as the communication terminal 400. . When the communication unit 602 receives a radio wave transmitted from an NFC R / W of an external device by an antenna (not shown), the communication unit 602 operates using the received radio wave as an energy source (receiving power supply by the radio wave). Therefore, the NFC tag 600 itself does not require a power source such as a battery.

通信部602は、読み取りモードに設定されたNFC R/Wが、NFCタグ600のNFC通信圏内に位置することを検知した場合、記憶部601に格納されているNDEFデータを当該NFC R/Wへ送信する。また、通信部602は、書き込みモードに設定されたNFC R/WがNFCタグ600のNFC通信圏内に位置することを検知した場合、NDEFデータを当該NFC R/Wから受信して、受信したNDEFデータを記憶部601に格納する。   When the communication unit 602 detects that the NFC R / W set in the reading mode is located within the NFC communication range of the NFC tag 600, the NDEF data stored in the storage unit 601 to the NFC R / W Send. When the communication unit 602 detects that the NFC R / W set in the write mode is located within the NFC communication range of the NFC tag 600, the communication unit 602 receives the NDEF data from the NFC R / W, and receives the NDEF. Data is stored in the storage unit 601.

一般に、NFC通信が可能な距離は、数cm〜10cm程度である。このため、例えば、ユーザが通信端末400のNFC R/W407をNFCタグ600に対して接触(タッチ)させる、またはかざす(近づける)動作を行った場合に、NFC R/W407は、NFCタグ600のNFC通信圏内に位置することになる。その結果、NFC R/W407とNFCタグ600との間でNFC通信が確立され、それらのデバイス間で上述のようにNDEFデータの送信及び受信が行われる。   Generally, the distance in which NFC communication is possible is about several cm to 10 cm. Therefore, for example, when the user performs an operation of touching (touching) or holding (closes) the NFC R / W 407 of the communication terminal 400 to the NFC tag 600, the NFC R / W 407 performs the operation of the NFC tag 600. It will be located in the NFC communication area. As a result, NFC communication is established between the NFC R / W 407 and the NFC tag 600, and transmission and reception of NDEF data are performed between those devices as described above.

本実施形態では、NFCタグ600には、通信端末400から、WLAN方式で画像形成装置100に接続(無線接続)するための接続情報がNDEFデータとして書き込まれる。通信端末400は、NDEF書き込みAPP507によって、後述する方法で生成した接続情報を、NFC通信によってNFCタグ600に書き込む。NFCタグ600は、書き込まれて保持している接続情報を、NFC通信による読み取りを行う外部装置に対して、NFC通信によって提供する。なお、NFCタグ600は、通信端末400だけでなく、NFCに対応した他の外部装置に対しても、接続情報を提供しうる。   In the present embodiment, connection information for connecting (wireless connection) to the image forming apparatus 100 by the WLAN method is written in the NFC tag 600 as NDEF data from the communication terminal 400. The communication terminal 400 writes connection information generated by the method to be described later in the NFC tag 600 by NFC communication using the NDEF writing APP 507. The NFC tag 600 provides the written and held connection information to an external device that performs reading by NFC communication by NFC communication. The NFC tag 600 can provide connection information not only to the communication terminal 400 but also to other external devices compatible with NFC.

<画像形成装置の表示画面例>
図7は、操作パネル209の構成例を示す図である。表示部701には種々の画面が表示される。例えば、ユーザによって押下されたハードウェアキーまたはソフトウェアキーに対応する画面、ユーザが画像形成装置100の各種設定を行うための画面、ユーザが画像形成装置100の状態(例えば、トナーの残量)を確認するための画面等である。
<Example of display screen of image forming apparatus>
FIG. 7 is a view showing a configuration example of the operation panel 209. As shown in FIG. Various screens are displayed on the display unit 701. For example, a screen corresponding to a hardware key or a software key pressed by the user, a screen for the user to make various settings of the image forming apparatus 100, a state of the image forming apparatus 100 (for example, remaining amount of toner) It is a screen or the like for confirmation.

キー702は、無線LAN設定情報を表示部701に表示するためのボタンである。ユーザによってキー702が押下されると、操作制御部301(CPU202)は、無線LAN設定情報を示す画面(図8に示す画面800)を表示部701に表示する。キー703は、表示部701に現在表示されている画面の表示を終了し、表示部701の表示画面を、現在表示されている画面から当該画面の直前に表示されていた画面に戻すためのボタンである。なお、操作パネル209には、上記のキー以外にも、画像形成装置100のコピー機能を使用するためのコピーキー、表示部701に表示されたカーソルの移動等に用いられる矢印キー等の、様々なキーが設けられうる。   A key 702 is a button for displaying wireless LAN setting information on the display unit 701. When the user presses the key 702, the operation control unit 301 (CPU 202) causes the display unit 701 to display a screen (a screen 800 shown in FIG. 8) indicating wireless LAN setting information. A key 703 is a button for ending the display of the screen currently displayed on the display unit 701 and returning the display screen of the display unit 701 to the screen displayed immediately before the screen from the screen currently displayed. It is. In addition to the above keys, the operation panel 209 also includes various other keys such as a copy key for using the copy function of the image forming apparatus 100 and an arrow key used for moving the cursor displayed on the display unit 701. Key can be provided.

上述のように、ユーザがキー702を押下すると、操作制御部301(CPU202)は、図8に示すような、無線LAN設定情報を含む画面800を表示部701に表示する。本実施形態では、無線LAN設定情報は、WLAN方式で画像形成装置100に接続するための接続情報に相当する。画面800には、無線LAN設定情報として、画像形成装置100がWLAN方式でクライアントとして無線接続しているアクセスポイント150に無線接続するための接続情報が含まれている。無線LAN設定情報は、システム管理者等のユーザが予め画像形成装置100の操作パネル209を操作することで、画像形成装置100に対して手動または自動で設定される。画像形成装置100は、予め設定された無線LAN設定情報を用いて、無線LAN I/F406を介してアクセスポイント150に対する無線接続を確立する。通信端末400等の外部装置は、画面800に含まれる無線LAN設定情報を取得することで、アクセスポイント150にWLAN方式で無線接続し、アクセスポイント150を介して画像形成装置100に接続できるようになる。   As described above, when the user presses the key 702, the operation control unit 301 (CPU 202) causes the display unit 701 to display a screen 800 including wireless LAN setting information as shown in FIG. In the present embodiment, the wireless LAN setting information corresponds to connection information for connecting to the image forming apparatus 100 by the WLAN method. The screen 800 includes, as wireless LAN setting information, connection information for wirelessly connecting the image forming apparatus 100 to the access point 150 wirelessly connected as a client by the WLAN method. The wireless LAN setting information is manually or automatically set in the image forming apparatus 100 by a user such as a system administrator operating the operation panel 209 of the image forming apparatus 100 in advance. The image forming apparatus 100 establishes a wireless connection to the access point 150 via the wireless LAN I / F 406 using wireless LAN setting information set in advance. An external apparatus such as the communication terminal 400 can wirelessly connect to the access point 150 by the WLAN method by acquiring the wireless LAN setting information included in the screen 800, and can connect to the image forming apparatus 100 via the access point 150. Become.

図8に示すように、無線LAN設定情報には、SSID801、セキュリティ方式802、暗号方式803、及び暗号キー804が含まれる。SSID801は、無線ネットワーク上でアクセスポイント150を識別するための固有の識別情報を示す。セキュリティ方式802は、アクセスポイント150に予め設定されたセキュリティ方式を示す。暗号方式803は、アクセスポイント150に予め設定された暗号方式を示す。暗号キー804は、アクセスポイント150に予め設定された暗号キーを示す。   As shown in FIG. 8, the wireless LAN setting information includes an SSID 801, a security method 802, an encryption method 803, and an encryption key 804. The SSID 801 indicates unique identification information for identifying the access point 150 on the wireless network. The security scheme 802 indicates a security scheme set in advance for the access point 150. The encryption method 803 indicates an encryption method set in advance for the access point 150. The encryption key 804 indicates an encryption key preset for the access point 150.

本実施形態では、図8に示すように、アクセスポイント150は、SSIDとして「AcessPoint200」という文字列が設定され、セキュリティ方式として「WPA/WPA2 PSK」、暗号方式としてAESを使用しているものとする。また、アクセスポイント150は、暗号キーとして「1234567890」という文字列が設定されているものとする。なお、暗号キーは、セキュリティを考慮して、画面800上で他の記号等の文字(例えばアスタリスク)に置き換えて表示してもよい。   In this embodiment, as shown in FIG. 8, the access point 150 is set to the character string “AcessPoint 200” as the SSID, and uses “WPA / WPA2 PSK” as the security method and AES as the encryption method. Do. In addition, in the access point 150, it is assumed that the character string "1234567890" is set as the encryption key. Note that the encryption key may be displayed on the screen 800 in place of characters such as other symbols (eg, asterisk) in consideration of security.

図8に示すように、画面800は、画像パターン805を含んでいる。画像パターン805は、上述の無線LAN設定情報を、対応するパターンに変換することによって得られる画像である。本実施形態では、図8に示すように、画像パターン805は2次元バーコード(例えば、QRコード(登録商標))で構成される。なお、画像パターン805には、2次元バーコードに限らず、任意のパターンを使用可能である。   As shown in FIG. 8, the screen 800 includes an image pattern 805. The image pattern 805 is an image obtained by converting the above-mentioned wireless LAN setting information into a corresponding pattern. In the present embodiment, as shown in FIG. 8, the image pattern 805 is configured by a two-dimensional barcode (for example, a QR code (registered trademark)). The image pattern 805 is not limited to a two-dimensional barcode, and any pattern can be used.

<通信端末の表示画面例>
通信端末400は、NDEF書き込みAPP507によって、NFCタグ600に対するNDEFデータの書き込みを実行することが可能である。ユーザが操作パネル405を操作してNDEF書き込みAPP507の起動を指示すると、CPU401は、NDEF書き込みAPP507を起動して、その実行を開始する。NDEF書き込みAPP507は、CPU401によって実行されることで通信端末400上で動作する。
<Display screen example of communication terminal>
The communication terminal 400 can execute writing of NDEF data to the NFC tag 600 by the NDEF writing APP 507. When the user operates the operation panel 405 to instruct activation of the NDEF write APP 507, the CPU 401 activates the NDEF write APP 507 and starts its execution. The NDEF write APP 507 operates on the communication terminal 400 by being executed by the CPU 401.

図9(A)〜(D)は、NDEF書き込みAPP507によって操作パネル405に表示される画面(NFC Writer画面)の例を示す図である。なお、図9(A)〜(D)に示す画面910,920,930,940は、NDEF書き込みAPP507が操作制御部501に対して各画面の表示を指示することによって、操作パネル405に表示される。   FIGS. 9A to 9D are diagrams showing examples of screens (NFC writer screen) displayed on the operation panel 405 by the NDEF write APP 507. FIG. Note that the screens 910, 920, 930, and 940 shown in FIGS. 9A to 9D are displayed on the operation panel 405 by the NDEF write APP 507 instructing the operation control unit 501 to display each screen. Ru.

図9(A)に示す画面910は、NDEF書き込みAPP507が起動した際に操作パネル405に表示される画面の一例である。画面910は、NFCタグ600へ書き込まれるNDEFデータに格納する情報を設定するために用いられる。具体的には、画面910は、特定のアクセスポイントにWLAN方式で無線接続するための接続情報(無線LAN設定情報)を設定するために用いられる。特定のアクセスポイントとは、画像形成装置100がWLAN方式でクライアントとして接続しているか、または、有線ネットワークを介して接続しているアクセスポイントに相当する。   A screen 910 illustrated in FIG. 9A is an example of a screen displayed on the operation panel 405 when the NDEF write APP 507 is activated. The screen 910 is used to set information to be stored in the NDEF data to be written to the NFC tag 600. Specifically, the screen 910 is used to set connection information (wireless LAN setting information) for wireless connection to a specific access point by the WLAN method. The specific access point corresponds to an access point in which the image forming apparatus 100 is connected as a client in a WLAN system or connected via a wired network.

画面910は、接続対象となるアクセスポイントに対応するSSID、セキュリティ方式、暗号方式及び暗号キーを、ユーザがそれぞれ入力可能な入力欄901〜904と、ボタン905,906とを含む。なお、各入力欄は、ユーザが文字列を入力可能なテキスト形式、及び所定のリストからユーザが項目を選択可能なリスト形式等の、任意の入力形式で構成されうる。   The screen 910 includes input fields 901 to 904 through which the user can input the SSID, security method, encryption method and encryption key corresponding to the access point to be connected, and buttons 905 and 906, respectively. Each input field can be configured in an arbitrary input format, such as a text format in which the user can input a character string, and a list format in which the user can select an item from a predetermined list.

なお、図9(A)には、NDEFデータに格納する情報として、アクセスポイント150にWLAN方式で無線接続するための接続情報の入力欄のみを示しているが、他の情報を入力可能な入力欄を画面910に設けてもよい。例えば、アクセスポイント150との無線接続が確立された後に、アクセスポイント150を介して画像形成装置100に接続するための接続情報(例えば、画像形成装置100のIPアドレスやMACアドレス等の情報)の入力欄を設けてもよい。また、画像形成装置100に対して印刷データとともに送信するための各種印刷設定の入力欄を設けてもよい。   Note that FIG. 9A shows only an input field of connection information for wirelessly connecting to the access point 150 as information stored in the NDEF data, but other information may be input. A field may be provided on the screen 910. For example, after the wireless connection with the access point 150 is established, connection information for connecting to the image forming apparatus 100 via the access point 150 (for example, information such as the IP address and MAC address of the image forming apparatus 100). An input field may be provided. In addition, an input field for various print settings may be provided to be sent to the image forming apparatus 100 together with the print data.

ボタン905は、カメラ408を起動するためのボタンである。ユーザがボタン905を押下すると、NDEF書き込みAPP507は、カメラ制御部505を介してカメラ408を起動する。   A button 905 is a button for activating the camera 408. When the user presses the button 905, the NDEF writing APP 507 activates the camera 408 via the camera control unit 505.

ボタン906は、画面910を介して入力された内容に基づいてNDEFデータを生成し、生成したNDEFデータをNFCタグ600に書き込むためのボタンである。ユーザがボタン906を押下すると、NDEF書き込みAPP507は、画面910を介して入力された内容に基づいてNDEFデータを生成する。更に、NDEF書き込みAPP507は、NFC制御部504を介して、NFC R/W407を書き込みモードに設定するとともに、NFCタグ600へのNDEFデータの書き込みをNFC R/W407に実行させる。   A button 906 is a button for generating NDEF data based on the content input via the screen 910 and writing the generated NDEF data in the NFC tag 600. When the user presses the button 906, the NDEF write APP 507 generates NDEF data based on the content input via the screen 910. Furthermore, the NDEF writing APP 507 sets the NFC R / W 407 in the writing mode via the NFC control unit 504, and causes the NFC R / W 407 to write the NDEF data to the NFC tag 600.

<NDEFデータの書き込み処理>
図10は、通信端末400において実行される、NFCタグ600に対するNDEFデータの書き込み処理の手順を示すフローチャートである。図10に示す各ステップの処理は、通信端末400において、HDD404またはROM403に格納されている、NDEF書き込みAPP507に対応するプログラムをCPU401が読み出して実行することによって実現される。
<Process to write NDEF data>
FIG. 10 is a flowchart showing a procedure of write processing of NDEF data to the NFC tag 600, which is executed in the communication terminal 400. The process of each step shown in FIG. 10 is realized by the CPU 401 reading and executing a program corresponding to the NDEF writing APP 507 stored in the HDD 404 or the ROM 403 in the communication terminal 400.

ここで、通信端末400においてNDEF書き込みAPP507を用いたNDEFデータの書き込み処理が開始される際には、画像形成装置100の表示部701に、図8に示す画面800が表示されているものとする。画面800は、上述のように、ユーザが画像形成装置100の操作パネル209に設けられたキー702を押下することによって、表示部701に表示される。したがって、WLAN方式の通信における接続先となる画像形成装置100の表示部701には、画像形成装置100にWLAN方式で接続するための接続情報から変換された画像パターン805が、予め表示された状態となっている。   Here, when writing processing of NDEF data using NDEF writing APP 507 is started in communication terminal 400, it is assumed that screen 800 shown in FIG. 8 is displayed on display portion 701 of image forming apparatus 100. . The screen 800 is displayed on the display unit 701 when the user presses the key 702 provided on the operation panel 209 of the image forming apparatus 100 as described above. Therefore, an image pattern 805 converted from connection information for connecting to the image forming apparatus 100 by the WLAN method is displayed in advance on the display unit 701 of the image forming apparatus 100 serving as a connection destination in the communication of the WLAN method. It has become.

NDEF書き込みAPP507が起動すると、通信端末400の操作パネル405には画面910が表示される。この状態で、まずS1001で、CPU401は、画面910のボタン905が押下されたか否かを判定する。CPU401は、ボタン905が押下されたと判定すると、処理をS1002に進め、押下されていないと判定すると、処理をS1006に進める。S1006で、CPU401は、画面910の入力欄901〜904に対して、ユーザによって手動で情報が入力されたか否かを判定する。CPU401は、手動で情報が入力されていないと判定すると、処理をS1001に戻し、手動で情報が入力された(即ち、情報の手動入力が開始された)と判定すると、処理をS1007に進める。   When the NDEF writing APP 507 is activated, a screen 910 is displayed on the operation panel 405 of the communication terminal 400. In this state, first, in step S1001, the CPU 401 determines whether the button 905 of the screen 910 is pressed. If the CPU 401 determines that the button 905 is pressed, the process proceeds to step S1002, and if it is determined that the button 905 is not pressed, the process proceeds to step S1006. In step S1006, the CPU 401 determines whether information has been manually input by the user in the input fields 901 to 904 of the screen 910. If the CPU 401 determines that information has not been input manually, the process returns to S1001. If it is determined that information has been manually input (that is, manual input of information has been started), the process proceeds to S1007.

S1001からS1002に処理が進められた場合、カメラ408を用いて画像パターン805からの接続情報の取得が行われる。具体的には、S1002で、CPU401は、カメラ制御部505を介してカメラ408を起動する。CPU401は、カメラ408を起動した際に、操作パネル405の表示画面を画面910から図9(B)に示す画面920に切り替える。画面920には、カメラ408によって撮影される画像が表示される。ユーザは、画面920内のシャッターボタン907を押下することで、画面920内に表示された画像のキャプチャを指示できる。なお、画面920内には、ユーザに、画像パターン807をカメラ408によって撮影してシャッターボタン907を押下するよう促すメッセージが表示される。   When the process proceeds from step S1001 to step S1002, the connection information is acquired from the image pattern 805 using the camera 408. Specifically, in step S1002, the CPU 401 activates the camera 408 via the camera control unit 505. The CPU 401 switches the display screen of the operation panel 405 from the screen 910 to the screen 920 shown in FIG. 9B when the camera 408 is activated. An image captured by the camera 408 is displayed on the screen 920. The user can instruct capture of the image displayed in the screen 920 by pressing the shutter button 907 in the screen 920. In the screen 920, a message prompting the user to shoot the image pattern 807 with the camera 408 and press the shutter button 907 is displayed.

S1003で、CPU401は、2次元バーコード(画像パターン805)が撮影されている状態でシャッターボタン907が押下された否かを判定することで、画像パターン805のキャプチャに成功したか否かを判定する。CPU401は、2次元バーコード(画像パターン805)が撮影されている状態でシャッターボタン907が押下され、画像パターン805のキャプチャに成功すると、処理をS1004に進める。   In step S1003, the CPU 401 determines whether the capture of the image pattern 805 has succeeded by determining whether the shutter button 907 has been pressed while the two-dimensional barcode (image pattern 805) is captured. Do. If the shutter button 907 is pressed in a state where the two-dimensional barcode (image pattern 805) is captured and the capture of the image pattern 805 succeeds, the CPU 401 advances the process to step S1004.

S1004で、CPU401は、キャプチャされた画像パターン805から、当該画像パターンへの変換前の情報を復元する。これにより、画像パターン805への変換前の情報である、図8に示す接続情報(無線LAN設定情報)が復元される。この接続情報は、図8に示すように、SSID801、セキュリティ方式802、暗号方式803及び暗号キー804を含む。   In S1004, the CPU 401 restores the information before conversion to the image pattern from the captured image pattern 805. Thereby, connection information (wireless LAN setting information) shown in FIG. 8 which is information before conversion to the image pattern 805 is restored. This connection information includes, as shown in FIG. 8, an SSID 801, a security method 802, an encryption method 803, and an encryption key 804.

S1005で、CPU401は、S1004で復元した接続情報を、画面910内の対応する入力欄(入力欄901〜904)に自動的に格納する。その結果、操作パネル405の表示画面は、図9(C)に示す画面930となる。図9(C)に示すように、画面930の入力欄901〜904には、画像パターン805に対応する情報である、図8に示す無線LAN設定情報が自動的に格納される。   In S1005, the CPU 401 automatically stores the connection information restored in S1004 in the corresponding input fields (input fields 901 to 904) in the screen 910. As a result, the display screen of the operation panel 405 is a screen 930 shown in FIG. As shown in FIG. 9C, the wireless LAN setting information shown in FIG. 8 which is information corresponding to the image pattern 805 is automatically stored in the input fields 901 to 904 of the screen 930.

一方、S1006からS1007に処理が進められた場合、画面910に対するユーザによる接続情報の手動入力を受け付ける。S1007で、CPU401は、操作パネル405を用いてユーザが手動で入力した内容を、そのまま入力欄901〜904のそれぞれに格納する。なお、図9(C)に示す画面930は、S1007においてユーザによって接続情報が入力された状態も示している。   On the other hand, when the process proceeds from S1006 to S1007, the manual input of connection information by the user on the screen 910 is accepted. In step S1007, the CPU 401 stores the content manually input by the user using the operation panel 405 as it is in each of the input fields 901 to 904. The screen 930 illustrated in FIG. 9C also indicates a state in which connection information has been input by the user in S1007.

その後、CPU401は、操作パネル405を介してユーザによって書き込み開始ボタン(画面930のボタン906)が押下されたか否かを判定する。書き込み開始ボタンが押下されたと判定すると、次にS1009で、CPU401は、入力欄901〜904のそれぞれに格納されている情報に基づいて、NDEFデータを生成する。   Thereafter, the CPU 401 determines whether or not the user has pressed the writing start button (button 906 of the screen 930) via the operation panel 405. If it is determined that the write start button has been pressed, then in step S1009, the CPU 401 generates NDEF data based on the information stored in each of the input fields 901 to 904.

ここで、図12に示すNDEFデータ1200は、S1009で生成されるNDEFデータの一例である。NDEFデータ1200は、アクセスポイント150に無線接続するための接続情報が格納されたハンドオーバーレコード1201を少なくとも含む。ハンドオーバーレコード1201は、ヘッダ1211、SSID情報1212、セキュリティ情報1213、暗号情報1214、及びキー情報1215を含む。ヘッダ1211には、ハンドオーバーレコード1201が、アクセスポイント150等の無線親機に接続するための情報が格納されたレコードであることを示す情報が、NFCフォーラムにおいて定められたフォーマットで格納されている。   Here, the NDEF data 1200 illustrated in FIG. 12 is an example of the NDEF data generated in S1009. The NDEF data 1200 includes at least a handover record 1201 in which connection information for wireless connection to the access point 150 is stored. The handover record 1201 includes a header 1211, SSID information 1212, security information 1213, encryption information 1214, and key information 1215. The header 1211 stores information indicating that the handover record 1201 is a record in which information for connecting to a wireless master device such as the access point 150 is stored in a format defined in the NFC Forum. .

SSID情報1212には、無線親機のSSIDを含む文字列が格納される。本実施形態では、SSID情報1212には、アクセスポイント150のSSIDである「AcessPoint200」という文字列が格納される。セキュリティ情報1213には、アクセスポイント150のセキュリティ設定である「WPA/WPA2 PSK」を示すパラメータが格納される。暗号情報1214には、アクセスポイント150の暗号設定である「AES」を示すパラメータが格納される。キー情報1215には、アクセスポイント150の暗号キー設定である「1234567890」という文字列が格納される。なお、画面910,930に、入力欄901〜904以外の他の入力欄が設けられている場合、当該他の入力欄に入力された情報は、ハンドオーバーレコード1201の後ろに別のレコードとして繋げて、NDEFデータ1200に格納される。   The SSID information 1212 stores a character string including the SSID of the wireless master device. In the present embodiment, the SSID information 1212 stores a character string “AcessPoint 200” which is the SSID of the access point 150. The security information 1213 stores a parameter indicating “WPA / WPA2 PSK” which is the security setting of the access point 150. The encryption information 1214 stores a parameter indicating “AES” which is the encryption setting of the access point 150. The key information 1215 stores a character string “1234567890” which is the encryption key setting of the access point 150. When the screen 910, 930 is provided with other input fields than the input fields 901 to 904, the information input in the other input fields is connected as another record behind the handover record 1201. And stored in the NDEF data 1200.

NDEFデータの生成後、S1010で、CPU401は、NFC制御部504を介してNFC R/W407を書き込みモードに設定する。その際、CPU401は、操作パネル405の表示画面を、画面930から図9(D)に示す画面940に切り替える。図9(D)に示すように、画面930には、NFC R/W407が書き込みモードであることを示すメッセージと、NFC R/W407をNFCタグ600に接触させる(またはかざす)ことをユーザに促すメッセージとが含まれる。   After generating the NDEF data, in step S1010, the CPU 401 sets the NFC R / W 407 in the write mode via the NFC control unit 504. At this time, the CPU 401 switches the display screen of the operation panel 405 from the screen 930 to the screen 940 shown in FIG. 9D. As shown in FIG. 9D, the screen 930 prompts the user to bring a message indicating that the NFC R / W 407 is in the writing mode and to make the NFC R / W 407 contact (or hold) the NFC tag 600. It contains a message.

その後、S1011で、CPU401は、NFC制御部504を介して、NFC R/W407がNFCタグ600を検知したか否かを判定する。この判定により、CPU401は、ユーザが通信端末400のNFC R/W407をNFCタグ600に接触させる、またはかざす動作を行うまで待機する。ユーザがNFC R/W407をNFCタグ600に接触させるか、またはかざすと、NFC R/W407のNFC通信圏内にNFCタグ600が位置することになる。NFC R/W407は、NFC通信圏内に位置しているNFCタグ600を検知すると、NFC制御部504に対して割り込みを発生させることによって、検知情報をNFC制御部504に通知する。あるいは、NFC制御部504がNFC R/W407に対して、NFCタグ600の検出に関してポーリングを継続し、NFC R/W407が、当該ポーリングに対する応答として、検知情報をNFC制御部504に通知してもよい。   After that, in step S1011, the CPU 401 determines whether the NFC R / W 407 detects the NFC tag 600 via the NFC control unit 504. Based on this determination, the CPU 401 stands by until the user performs an operation of bringing the NFC R / W 407 of the communication terminal 400 into contact with or holding the NFC tag 600. When the user brings the NFC R / W 407 into contact with or holds the NFC tag 600, the NFC tag 600 is located within the NFC communication area of the NFC R / W 407. When the NFC R / W 407 detects the NFC tag 600 located within the NFC communication range, the NFC R / W 407 notifies the NFC control unit 504 of detection information by causing the NFC control unit 504 to generate an interrupt. Alternatively, the NFC control unit 504 may continue polling the NFC R / W 407 for detection of the NFC tag 600, and the NFC R / W 407 may notify the NFC control unit 504 of detection information as a response to the polling. Good.

NFC R/W407がNFCタグ600を検知すると、NFC R/W407とNFCタグ600との間にNFC通信が確立される。CPU401は、S1011において、NFC制御部504を介して、NFC R/W407がNFCタグ600を検知したと判定すると、S1012に処理を進める。S1012で、CPU401は、S1007で生成したNDEFデータを、NFC通信によってNFCタグ600に書き込む。具体的には、NDEFデータは、NFC R/W407からNFCタグ600の通信部602に送信され、通信部602によって記憶部601に格納される。以上により、CPU401は、NFCタグ600に対するNDEFデータの書き込み処理を終了する。   When the NFC R / W 407 detects the NFC tag 600, NFC communication is established between the NFC R / W 407 and the NFC tag 600. If the CPU 401 determines in step S1011 that the NFC R / W 407 has detected the NFC tag 600 via the NFC control unit 504, the process advances to step S1012. At S1012, the CPU 401 writes the NDEF data generated at S1007 to the NFC tag 600 by NFC. Specifically, the NDEF data is transmitted from the NFC R / W 407 to the communication unit 602 of the NFC tag 600, and is stored in the storage unit 601 by the communication unit 602. Thus, the CPU 401 ends the process of writing NDEF data to the NFC tag 600.

<NDEFデータに基づく無線接続処理>
次に、図10に示す手順でNDEFデータが書き込まれたNFCタグ600が、図1に示すように画像形成装置100の表面(外面)に張り付けられている場合を想定する。この場合、通信端末400は、NFCタグ600に格納されたNDEFデータを用いて、画像形成装置100に接続することが可能である。
<Wireless connection processing based on NDEF data>
Next, it is assumed that the NFC tag 600 in which the NDEF data is written in the procedure shown in FIG. 10 is attached to the surface (outer surface) of the image forming apparatus 100 as shown in FIG. In this case, communication terminal 400 can connect to image forming apparatus 100 using the NDEF data stored in NFC tag 600.

具体的には、通信端末400は、ユーザが通信端末400のNFC R/W407をNFCタグ600に接触させるか、またはかざすことによってNFCタグ600との間で確立されるNFC通信によって、NDEFデータをNFCタグ600から取得する。更に、通信端末400は、NFCタグ600から取得したNDEFデータに基づいて、WLAN方式でアクセスポイント150に無線接続することで、NFC通信からWLAN通信にハンドオーバーする。その結果、通信端末400は、アクセスポイント150を介して画像形成装置100に接続でき、アクセスポイント150を介した通信によって印刷データを画像形成装置100に送信できる。   Specifically, communication terminal 400 establishes NDEF data by NFC communication established with NFC tag 600 by the user bringing NFC R / W 407 of communication terminal 400 into contact with NFC tag 600 or by holding it up. It is acquired from the NFC tag 600. Furthermore, based on the NDEF data acquired from the NFC tag 600, the communication terminal 400 performs a handover from the NFC communication to the WLAN communication by wirelessly connecting to the access point 150 by the WLAN method. As a result, the communication terminal 400 can be connected to the image forming apparatus 100 via the access point 150, and can transmit print data to the image forming apparatus 100 by communication via the access point 150.

図11は、通信端末400において実行される、NFCタグ600から読み取って得られるNDEFデータに基づく無線接続処理の手順を示すフローチャートである。図11に示す各ステップの処理は、通信端末400において、HDD404またはROM403に格納されている、プリントAPP508に対応するプログラムをCPU401が読み出して実行することによって実現される。なお、NFCタグ600には、図10に示す手順でNDEFデータが予め書き込まれているものとする。   FIG. 11 is a flowchart showing the procedure of the wireless connection process based on the NDEF data obtained by reading from the NFC tag 600, which is executed in the communication terminal 400. The processing of each step illustrated in FIG. 11 is realized by the CPU 401 reading and executing a program corresponding to the print APP 508 stored in the HDD 404 or the ROM 403 in the communication terminal 400. In the NFC tag 600, it is assumed that NDEF data is written in advance in the procedure shown in FIG.

プリントAPP508が起動すると、まずS1101で、CPU401は、NFC制御部504を介してNFC R/W407を読み取りモードに設定する。次にS1102で、CPU401は、NFC制御部504を介して、NFC R/W407がNFCタグ600を検知したか否かを判定する。この判定により、CPU401は、ユーザが通信端末400のNFC R/W407をNFCタグ600に接触させる、またはかざす動作を行うまで待機する。NFC R/W407がNFCタグ600を検知すると、NFC R/W407とNFCタグ600との間にNFC通信が確立される。CPU401は、S1102において、NFC制御部504を介して、NFC R/W407がNFCタグ600を検知したと判定すると、S1103に処理を進める。   When the print APP 508 is activated, first, in step S 1101, the CPU 401 sets the NFC R / W 407 in the reading mode via the NFC control unit 504. Next, in step S <b> 1102, the CPU 401 determines whether the NFC R / W 407 has detected the NFC tag 600 via the NFC control unit 504. Based on this determination, the CPU 401 stands by until the user performs an operation of bringing the NFC R / W 407 of the communication terminal 400 into contact with or holding the NFC tag 600. When the NFC R / W 407 detects the NFC tag 600, NFC communication is established between the NFC R / W 407 and the NFC tag 600. If the CPU 401 determines in step S 1102 that the NFC R / W 407 has detected the NFC tag 600 via the NFC control unit 504, the process advances to step S 1103.

S1103で、CPU401は、NFC通信によってNFCタグ600からNDEFデータを読み取る。具体的には、NFCタグ600の記憶部601に格納されているNDEFデータが、通信部602からNFC R/W407に送信される。CPU401は、NFC R/W407によって受信されたNDEFデータを、NFC制御部504を介して取得する。次にS1104で、CPU401は、取得したNDEFデータを解析する。これにより、CPU401は、図9(C)に示す画面930における入力欄901〜904に格納されていた、NDEFデータに含まれる接続情報を取得する。この接続情報は、画像形成装置100において表示部701に表示された画面800に含まれる情報(無線LAN設定情報)である、SSID801、セキュリティ方式802、暗号方式803、及び暗号キー804に相当する。   In step S1103, the CPU 401 reads NDEF data from the NFC tag 600 by NFC communication. Specifically, NDEF data stored in the storage unit 601 of the NFC tag 600 is transmitted from the communication unit 602 to the NFC R / W 407. The CPU 401 acquires the NDEF data received by the NFC R / W 407 via the NFC control unit 504. Next, in step S1104, the CPU 401 analyzes the acquired NDEF data. As a result, the CPU 401 acquires connection information included in the NDEF data, which is stored in the input fields 901 to 904 in the screen 930 shown in FIG. 9C. The connection information corresponds to the SSID 801, the security method 802, the encryption method 803, and the encryption key 804, which are information (wireless LAN setting information) included in the screen 800 displayed on the display unit 701 in the image forming apparatus 100.

その後、CPU401は、S1105で、取得した接続情報を用いてアクセスポイント150への接続を試み、S1106で、アクセスポイント150への接続に成功したか否かを判定する。CPU401は、アクセスポイント150への接続に失敗したと判定すると、処理を終了する。このような場合としては、例えば、アクセスポイント150の電源が停止している場合、アクセスポイント150の設定が、取得した接続情報に対応する設定(例えば、セキュリティ方式や暗号キー等)から変更されている場合が挙げられる。   Thereafter, in S1105, the CPU 401 attempts to connect to the access point 150 using the acquired connection information, and in S1106 determines whether or not the connection to the access point 150 has succeeded. If the CPU 401 determines that the connection to the access point 150 has failed, the process ends. In such a case, for example, when the power of the access point 150 is stopped, the setting of the access point 150 is changed from the setting corresponding to the acquired connection information (for example, a security method, an encryption key, etc.) The case is

一方、S1106において、CPU401は、アクセスポイント150への接続に成功したと判定すると、処理をS1107に進める。この場合、通信端末400は、アクセスポイント150を介して画像形成装置100と通信が可能な状態となっている。なお、S1104で取得したNDEFデータに、無線LAN設定情報以外の接続情報(画像形成装置100のIPアドレスやMACアドレス等)が含まれる場合、CPU401は、画像形成装置100との通信を確立する際にそのような接続情報を使用する。例えば、そのような接続情報に含まれるIPアドレスやMACアドレス等のアドレス情報を用いて、接続対象となる画像形成装置100を特定する。   On the other hand, when the CPU 401 determines in step S1106 that the connection to the access point 150 has succeeded, the process advances to step S1107. In this case, communication terminal 400 can communicate with image forming apparatus 100 via access point 150. When the NDEF data acquired in step S1104 includes connection information (such as the IP address or MAC address of the image forming apparatus 100) other than the wireless LAN setting information, the CPU 401 establishes communication with the image forming apparatus 100. Use such connection information. For example, the image forming apparatus 100 to be connected is specified using address information such as an IP address or a MAC address included in such connection information.

S1107で、CPU401は、画像形成装置100のプリントサービス305に対して印刷データを送信することで、プリントサービス305によって当該印刷データに基づく印刷を実行させる。なお、CPU401は、送信する印刷データに印刷設定を含めてもよい。以上により、CPU401は、NFCタグ600から読み取って得られるNDEFデータに基づく無線接続処理を終了する。   In step S1107, the CPU 401 causes the print service 305 to execute printing based on the print data by transmitting the print data to the print service 305 of the image forming apparatus 100. The CPU 401 may include print settings in the print data to be transmitted. As described above, the CPU 401 ends the wireless connection process based on the NDEF data obtained by reading from the NFC tag 600.

以上説明したように、本実施形態では、画像形成装置100は、当該画像形成装置にWLAN方式で接続するための接続情報を、対応する画像パターン805に変換して表示部701に表示する。通信端末400は、表示部701に表示された画像パターン805を、カメラ408によって撮影する。通信端末400は、カメラ408によって撮影された画像パターン805から、対応する接続情報を復元し、復元した接続情報に基づいて、NDEFデータを生成する。更に、通信端末400は、生成したNDEFデータを、NFC通信によってNFCタグ600に書き込む。   As described above, in the present embodiment, the image forming apparatus 100 converts connection information for connecting to the image forming apparatus according to the WLAN method into a corresponding image pattern 805 and displays the image pattern on the display unit 701. The communication terminal 400 captures the image pattern 805 displayed on the display unit 701 by the camera 408. Communication terminal 400 restores corresponding connection information from image pattern 805 captured by camera 408, and generates NDEF data based on the restored connection information. Furthermore, the communication terminal 400 writes the generated NDEF data in the NFC tag 600 by NFC communication.

これにより、通信端末400に対してユーザが接続情報を手動で入力することを必要とせず、撮影した画像パターン805に基づいて自動でNDEFデータを生成できる。したがって、画像形成装置100に接続するための接続情報を通信端末400からNFCタグ600に書き込む際に、手動で接続情報を入力することによって発生しうるユーザの入力ミスを防止できる。また、接続情報をユーザが手動で入力する手間を省くことが可能である。   Accordingly, it is possible to automatically generate NDEF data based on the captured image pattern 805 without the need for the user to manually input the connection information to the communication terminal 400. Therefore, when the connection information for connecting to the image forming apparatus 100 is written from the communication terminal 400 to the NFC tag 600, it is possible to prevent a user's input error which may occur by manually inputting the connection information. In addition, it is possible to save time and effort for the user to manually input connection information.

[その他の実施形態]
上述の実施形態では、本例では、NFCタグ600に対するNDEFデータの書き込み処理(図10)と、NFCタグ600から読み取って得られるNDEFデータに基づく無線接続処理(図11)とを、いずれも通信端末400が実行している。しかし、図11に示す無線接続処理は、通信端末400とは異なる、NFC及びWLAN方式に対応した通信端末が実行してもよい。
Other Embodiments
In the above embodiment, in this example, both the process of writing NDEF data to the NFC tag 600 (FIG. 10) and the process of wireless connection (FIG. 11) based on the NDEF data obtained by reading from the NFC tag 600 are communicated. The terminal 400 is executing. However, the wireless connection process shown in FIG. 11 may be executed by a communication terminal compatible with the NFC and WLAN methods, which is different from the communication terminal 400.

また、画像形成装置100とアクセスポイント150との間の無線接続が確立していない状態では、操作制御部301(CPU202)は、キー702が押下されたとしても無線LAN設定情報を示す画面800(図8)を表示しないように制御してもよい。それにより、通信端末400が、画像形成装置100との通信を確立することを実現し得ない接続情報に基づいてNDEFデータを生成し、NFCタグ600に書き込んでしまうことを防ぐことが可能となる。   Further, in a state where the wireless connection between the image forming apparatus 100 and the access point 150 has not been established, the operation control unit 301 (CPU 202) displays the screen 800 showing wireless LAN setting information even if the key 702 is pressed. It may be controlled not to display FIG. 8). Thus, communication terminal 400 can prevent NDEF data from being generated based on connection information that can not be established to establish communication with image forming apparatus 100 and written to NFC tag 600. .

また、図7では、操作パネル209上でハードウェアキーとしてキー702が設けられる例を示したが、表示部701に表示される画面に含まれるソフトウェアキーとして実現されてもよい。その場合、ユーザは、操作パネル209のタッチパネル機能を用いて、そのようなソフトウェアキーを操作しうる。   Although FIG. 7 shows an example in which the key 702 is provided as a hardware key on the operation panel 209, the key 702 may be realized as a software key included in the screen displayed on the display unit 701. In that case, the user can operate such software key using the touch panel function of the operation panel 209.

また、無線LAN設定情報を示す画面800(図8)は、あらゆるユーザの操作に応じて表示可能であることが、セキュリティの観点から望ましくない場合もありうる。その場合、画像形成装置100の設定として、画面800の表示の許可または不許可をシステム管理者が設定できるようにしてもよい。あるいは、システム管理者が画像形成装置100を操作した場合にのみ、画面800を表示できるようにしてもよい。   In addition, it may not be desirable from the viewpoint of security that the screen 800 (FIG. 8) showing the wireless LAN setting information can be displayed according to the operation of any user. In that case, as a setting of the image forming apparatus 100, a system administrator may set permission or non-permission of display of the screen 800. Alternatively, the screen 800 may be displayed only when the system administrator operates the image forming apparatus 100.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワークまたは各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention is also realized by executing the following processing. That is, software (program) for realizing the functions of the above-described embodiment is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU or the like) of the system or apparatus reads the program. It is a process to execute.

100:画像形成装置、150:アクセスポイント、400:通信端末、600:NFCタグ、202,401:CPU、210,406:無線LAN I/F、209,405:操作パネル 100: Image forming apparatus, 150: Access point, 400: Communication terminal, 600: NFC tag, 202, 401: CPU, 210, 406: Wireless LAN I / F, 209, 405: Operation panel

本発明は、通信装置の制御方法及び通信システムに関するものである。 The present invention relates to a control method of a communication apparatus and a communication system .

本発明一態様に係る通信装置の制御方法は、二次元コードを読み取り可能な通信装置の制御方法であって、外部装置と通信するための接続情報を入力可能な入力欄と、ユーザの指示を受け付けるための第1および第2の指示オブジェクトと、が配置された第1の画面を前記通信装置の表示部に表示させるステップと、前記第1の画面において前記第1の指示オブジェクトによる指示が行われたことに従って、前記入力欄に入力する接続情報を取得すべく2次元コードの読取を促す第2の画面を前記表示部に表示させるステップと、前記第1の画面において前記第2の指示オブジェクトによる指示が行われたことに従って、前記通信装置と無線通信タグを近づけることを促す第3の画面を前記表示部に表示させるステップと、前記第2の指示オブジェクトによる指示がなされる際に前記入力欄に入力されていた接続情報に基づくデータを、近接無線通信を用いて前記無線通信タグに書き込むステップと、を有することを特徴とする The communication control method according to an embodiment of the present invention is a control method for a communication apparatus capable reading the two-dimensional code, the input column capable of inputting the connection information for communicating with an external device, the user's instruction Displaying on the display unit of the communication apparatus a first screen on which first and second instruction objects for receiving the first and second instruction objects are arranged, and an instruction by the first instruction object is displayed on the first screen Displaying on the display unit a second screen prompting reading of a two-dimensional code to acquire connection information to be input in the input field according to what has been performed, and the second instruction on the first screen Displaying on the display unit a third screen prompting the communication device and a wireless communication tag to be brought closer according to the instruction by the object being performed, and the second instruction The data based on the connection information which has been input to the input field when instruction by object is made, and having the steps of: writing to the wireless communication tag using close proximity wireless communication.

本発明の一態様に係る通信システムは、外部装置と通信装置が通信する通信システムであって、前記外部装置は、二次元コードを備える画面を前記外部装置の表示部に表示し、前記通信装置は、前記外部装置と通信するための接続情報を入力可能な入力欄と、ユーザの指示を受け付けるための第1および第2の指示オブジェクトと、が配置された第1の画面を前記通信装置の表示部に表示させ、前記通信装置は、前記第1の画面において前記第1の指示オブジェクトによる指示が行われたことに従って、前記入力欄に入力する接続情報を取得すべく2次元コードの読取を促す第2の画面を前記表示部に表示させ、前記通信装置は、前記第1の画面において前記第2の指示オブジェクトによる指示が行われたことに従って、前記通信装置と無線通信タグを近づけることを促す第3の画面を前記表示部に表示させ、前記通信装置は、前記第2の指示オブジェクトによる指示がなされる際に前記入力欄に入力されていた接続情報に基づくデータを、近接無線通信を用いて前記無線通信タグに書き込むことを特徴とするA communication system according to an aspect of the present invention is a communication system in which an external device communicates with the communication device, and the external device displays a screen provided with a two-dimensional code on a display unit of the external device, and the communication device A first screen on which an input field capable of inputting connection information for communicating with the external device, and first and second instruction objects for receiving a user's instruction are arranged on the first screen of the communication device; A display unit is displayed, and the communication device reads a two-dimensional code to obtain connection information to be input in the input field in accordance with the instruction by the first instruction object on the first screen. A second screen for prompting is displayed on the display unit, and the communication device wirelessly communicates with the communication device according to the instruction by the second instruction object being performed on the first screen. And the communication device displays data based on the connection information input to the input field when an instruction is issued by the second instruction object. Are written to the wireless communication tag using close proximity wireless communication .

Claims (11)

通信装置であって、
近接無線通信のための第1通信方式よりも通信速度が高速な第2通信方式の通信における接続先となる情報処理装置の表示部に表示される、前記情報処理装置に前記第2通信方式で接続するための接続情報から変換された画像パターンを撮影する撮影手段と、
前記撮影手段によって撮影された画像パターンから、前記接続情報を復元する復元手段と、
前記第1通信方式の通信によって外部装置からの情報の書き込み及び読み取りが可能な無線通信タグに対して、前記復元手段によって復元された前記接続情報を前記第1の通信方式の通信によって書き込む書き込み手段と、
を備えることを特徴とする通信装置。
A communication device,
The information processing apparatus is displayed on the display unit of the information processing apparatus to be a connection destination in the communication of the second communication system having a communication speed higher than that of the first communication system for proximity wireless communication in the second communication system Shooting means for shooting an image pattern converted from connection information for connection;
Restoring means for restoring the connection information from the image pattern photographed by the photographing means;
Writing means for writing the connection information restored by the restoration means by communication of the first communication method to a wireless communication tag capable of writing and reading information from an external device by communication of the first communication method When,
A communication apparatus comprising:
前記無線通信タグは、前記情報処理装置に取り付けられており、前記書き込み手段によって書き込まれた前記接続情報を、前記読み取りを行う外部装置に対して前記第1通信方式の通信によって提供する
ことを特徴とする請求項1に記載の通信装置。
The wireless communication tag is attached to the information processing apparatus, and provides the connection information written by the writing unit to an external apparatus that performs the reading by communication of the first communication method. The communication device according to claim 1.
前記接続情報は、前記情報処理装置が前記第2通信方式で接続しているアクセスポイントに接続するための第1の接続情報を含む
ことを特徴とする請求項1または2に記載の通信装置。
The communication device according to claim 1, wherein the connection information includes first connection information for connecting to an access point to which the information processing device is connected by the second communication method.
前記接続情報は、前記情報処理装置が有線ネットワークを介して接続しているアクセスポイントに接続するための情報を含む
ことを特徴とする請求項1または2に記載の通信装置。
The communication device according to claim 1, wherein the connection information includes information for connecting to an access point to which the information processing device is connected via a wired network.
前記接続情報は、前記第2通信方式で前記アクセスポイントに接続した後に、前記アクセスポイントを介して前記情報処理装置に接続するための情報を更に含む
ことを特徴とする請求項3または4に記載の通信装置。
The connection information may further include information for connecting to the information processing apparatus via the access point after connecting to the access point by the second communication method. Communication device.
前記第1通信方式で前記無線通信タグとの通信を確立する第1通信手段と、
前記第1通信方式の通信によって前記無線通信タグから前記接続情報を読み取る読み取り手段と、
前記読み取り手段による読み取りによって得られた前記接続情報を用いて前記情報処理装置との通信を確立することで、前記第1通信方式の通信から前記第2通信方式の通信へのハンドオーバーを行う第2通信手段と、
を更に備えることを特徴とする請求項1から5のいずれか1項に記載の通信装置。
First communication means for establishing communication with the wireless communication tag by the first communication method;
Reading means for reading the connection information from the wireless communication tag by the communication of the first communication method;
The communication from the first communication method to the communication of the second communication method is performed by establishing communication with the information processing apparatus using the connection information obtained by reading by the reading unit. 2 communication means,
The communication apparatus according to any one of claims 1 to 5, further comprising:
前記情報処理装置は、印刷装置であり、
前記通信装置は、印刷データを前記情報処理装置に送信することによって、前記情報処理装置に前記印刷データに基づく印刷を実行させる
ことを特徴とする請求項6に記載の通信装置。
The information processing apparatus is a printing apparatus,
The communication apparatus according to claim 6, wherein the communication apparatus causes the information processing apparatus to execute printing based on the print data by transmitting the print data to the information processing apparatus.
前記第1通信方式は、NFC(Near Field Communication)であり、
前記第2通信方式は、無線LAN方式であり、
前記無線通信タグは、前記情報処理装置に取り付けられるNFCタグである
ことを特徴とする請求項1から7のいずれか1項に記載の通信装置。
The first communication method is NFC (Near Field Communication),
The second communication method is a wireless LAN method.
The communication apparatus according to any one of claims 1 to 7, wherein the wireless communication tag is an NFC tag attached to the information processing apparatus.
通信装置の制御方法であって、
近接無線通信のための第1通信方式よりも通信速度が高速な第2通信方式の通信における接続先となる情報処理装置の表示部に表示される、前記情報処理装置に前記第2通信方式で接続するための接続情報から変換された画像パターンを撮影する撮影工程と、
前記撮影工程で撮影された画像パターンから、前記接続情報を復元する復元工程と、
前記第1通信方式の通信によって外部装置からの情報の書き込み及び読み取りが可能な無線通信タグに対して、前記復元工程で復元された前記接続情報を前記第1の通信方式の通信によって書き込む書き込み工程と、
を含むことを特徴とする通信装置の制御方法。
A control method of the communication device,
The information processing apparatus is displayed on the display unit of the information processing apparatus to be a connection destination in the communication of the second communication system having a communication speed higher than that of the first communication system for proximity wireless communication in the second communication system A photographing step of photographing an image pattern converted from connection information for connection;
Restoring the connection information from the image pattern photographed in the photographing step;
Writing to the wireless communication tag capable of writing and reading information from an external device by communication of the first communication method, writing the connection information restored in the restoring step by communication of the first communication method When,
And controlling the communication apparatus.
請求項1から8のいずれか1項に記載の通信装置の各手段としてコンピュータを機能させるためのプログラム。   A program for causing a computer to function as each means of the communication device according to any one of claims 1 to 8. 通信装置と情報処理装置とを備える通信システムであって、
前記情報処理装置は、
近接無線通信のための第1通信方式よりも通信速度が高速な第2通信方式で前記情報処理装置に接続するための接続情報を、対応する画像パターンに変換する変換手段と、
前記画像パターンを表示する表示手段と、を備え、
前記通信装置は、
前記表示手段に表示された画像パターンを撮影する撮影手段と、
前記撮影手段によって撮影された画像パターンから、前記接続情報を復元する復元手段と、
前記第1通信方式の通信によって外部装置からの情報の書き込み及び読み取りが可能な無線通信タグに対して、前記復元手段によって復元された前記接続情報を前記第1の通信方式の通信によって書き込む書き込み手段と、を備える
ことを特徴とする通信システム。
A communication system comprising a communication device and an information processing device, the communication system comprising:
The information processing apparatus is
Conversion means for converting connection information for connecting to the information processing apparatus by a second communication method having a higher communication speed than the first communication method for proximity wireless communication into a corresponding image pattern;
And display means for displaying the image pattern,
The communication device is
Photographing means for photographing the image pattern displayed on the display means;
Restoring means for restoring the connection information from the image pattern photographed by the photographing means;
Writing means for writing the connection information restored by the restoration means by communication of the first communication method to a wireless communication tag capable of writing and reading information from an external device by communication of the first communication method And a communication system characterized by comprising:
JP2019007170A 2019-01-18 2019-01-18 Communication device control method, application program, and communication system Active JP6701395B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019007170A JP6701395B2 (en) 2019-01-18 2019-01-18 Communication device control method, application program, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019007170A JP6701395B2 (en) 2019-01-18 2019-01-18 Communication device control method, application program, and communication system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017151031A Division JP6472494B2 (en) 2017-08-03 2017-08-03 COMMUNICATION DEVICE CONTROL METHOD, COMMUNICATION SYSTEM, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2019097181A true JP2019097181A (en) 2019-06-20
JP6701395B2 JP6701395B2 (en) 2020-05-27

Family

ID=66972137

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019007170A Active JP6701395B2 (en) 2019-01-18 2019-01-18 Communication device control method, application program, and communication system

Country Status (1)

Country Link
JP (1) JP6701395B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001344407A (en) * 2000-06-01 2001-12-14 Matsushita Electric Ind Co Ltd Negotiation support system
JP2004038733A (en) * 2002-07-05 2004-02-05 Fuji Photo Film Co Ltd Customized graphical user interface and its creating method
US20120208461A1 (en) * 2011-02-11 2012-08-16 Samsung Electronics Co. Ltd. Mobile device and method for performing function based on short-range communication
WO2013127124A1 (en) * 2012-03-02 2013-09-06 中兴通讯股份有限公司 Method, system and terminal for implementing wi-fi connection through nfc
JP2013196511A (en) * 2012-03-21 2013-09-30 Ricoh Co Ltd Network system, apparatus and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001344407A (en) * 2000-06-01 2001-12-14 Matsushita Electric Ind Co Ltd Negotiation support system
JP2004038733A (en) * 2002-07-05 2004-02-05 Fuji Photo Film Co Ltd Customized graphical user interface and its creating method
US20120208461A1 (en) * 2011-02-11 2012-08-16 Samsung Electronics Co. Ltd. Mobile device and method for performing function based on short-range communication
WO2013127124A1 (en) * 2012-03-02 2013-09-06 中兴通讯股份有限公司 Method, system and terminal for implementing wi-fi connection through nfc
JP2013196511A (en) * 2012-03-21 2013-09-30 Ricoh Co Ltd Network system, apparatus and server

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"Android "L"の新機能 : Wi-FiアクセスポイントのSSIDとパスワードをNFCタグに書き込めて、タッチするだけ", JUGGLY.CN, JPN6019047716, 28 June 2014 (2014-06-28), JP, ISSN: 0004169064 *
"スッキリわかる! Wi−Fi つなげて楽しむ無線LAN", 日経PCビギナーズ, vol. 第3巻 第9号, JPN6019047714, 13 August 2012 (2012-08-13), JP, pages 35 - 41, ISSN: 0004169063 *
NICOLE COZMA: "InstaWifi for Android shares Wi-Fi access via NFC or QR code", CNET, JPN6019047717, 27 July 2012 (2012-07-27), US, ISSN: 0004169061 *
坂井 浩之: "モバイル環境、クラウド環境での自動認識", 月刊自動認識 第25巻 第6号, vol. 第25巻, JPN6019047713, 10 May 2012 (2012-05-10), JP, pages 1 - 4, ISSN: 0004169062 *

Also Published As

Publication number Publication date
JP6701395B2 (en) 2020-05-27

Similar Documents

Publication Publication Date Title
JP6190342B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
US11197141B2 (en) Information processing apparatus, method of controlling the same, and storage medium
JP6650004B2 (en) Communication system, program, and communication method
US9164712B2 (en) Function executing device
EP3419255B1 (en) Method and image forming apparatus using near field communication
US10477597B2 (en) Communication apparatus and control method for controlling the same
USRE47876E1 (en) Mobile terminal device, and method and computer readable medium for the same
JP6350073B2 (en) Device control apparatus, device control method, and device control program
JP6305023B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2016163280A (en) Communication apparatus, control method therefor, and program
JP6476748B2 (en) Device control apparatus, device control method and program
JP2017112618A (en) Information processing apparatus, method of controlling the same, and program
JP7302050B2 (en) Communication device, control method and program
JP2014183503A (en) Communication program and communication device
JP7166774B2 (en) Information processing device, control method for information processing device, and program
CN106878579A (en) The control method of information processor and information processor
JP2014216955A (en) Communication device, communication method, and program
JP6742848B2 (en) Mobile terminal, information processing method and program
JP6472494B2 (en) COMMUNICATION DEVICE CONTROL METHOD, COMMUNICATION SYSTEM, AND PROGRAM
JP5624240B2 (en) Program, data communication method, and image forming apparatus
JP6701395B2 (en) Communication device control method, application program, and communication system
JP2019097071A (en) Communication device, control method of the same, and program
US10708447B2 (en) Image forming apparatus sharing connection information with a terminal device
JP2020074107A (en) Program, information processing apparatus, second information processing apparatus, information processing method, and information processing system
JP2019067449A (en) Communication terminal device, communication system, program, and method for controlling communication terminal device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190214

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191209

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200207

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: 20200323

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200501

R151 Written notification of patent or utility model registration

Ref document number: 6701395

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151