JP6571922B2 - COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM - Google Patents

COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM Download PDF

Info

Publication number
JP6571922B2
JP6571922B2 JP2014218732A JP2014218732A JP6571922B2 JP 6571922 B2 JP6571922 B2 JP 6571922B2 JP 2014218732 A JP2014218732 A JP 2014218732A JP 2014218732 A JP2014218732 A JP 2014218732A JP 6571922 B2 JP6571922 B2 JP 6571922B2
Authority
JP
Japan
Prior art keywords
application
nfc
communication device
data
ndef message
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.)
Active
Application number
JP2014218732A
Other languages
Japanese (ja)
Other versions
JP2016085643A5 (en
JP2016085643A (en
Inventor
朋博 木村
朋博 木村
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 JP2014218732A priority Critical patent/JP6571922B2/en
Publication of JP2016085643A publication Critical patent/JP2016085643A/en
Publication of JP2016085643A5 publication Critical patent/JP2016085643A5/ja
Application granted granted Critical
Publication of JP6571922B2 publication Critical patent/JP6571922B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、近距離無線通信機能を備える通信装置、その制御方法、及びプログラムに関するものである。   The present invention relates to a communication device having a short-range wireless communication function, a control method thereof, and a program.

近年、様々な無線通信機能を備えた通信装置が市場に登場している。例えば、NFC(Near Field Communication)や無線LAN、Bluetooth(登録商標)などを搭載したスマートフォン等の通信装置及びプリンタ等の画像形成装置がある。特許文献1には、NFC等の近距離無線通信機能を介して受信した情報を解析及び処理する通信装置が提案されている。具体的には、NFCを介して受信したデータを解析し、アプリケーションを自動的に実行することが提案されている。このような制御を実現するためには、通信装置は、NDEF(NFC Data Exchange Format)と呼ばれるデータフォーマットに応じた情報をNFCを介して受け取る必要がある。通信装置は、NDEFに従って定義されたデータ(NDEFメッセージ)を受信すると、NDEFの規則に従ってデータを解析し処理することで、様々なサービスを利用できるようになる。特許文献1の通信装置、NDEFメッセージ内のアプリケーションを自動起動するレコードの記載情報に基づいてNDEFメッセージの情報を処理している。なお、NDEF及びNDEFレコードのフォーマット等の詳細は、標準団体であるNFCフォーラムによって規定されている。   In recent years, communication devices having various wireless communication functions have appeared on the market. For example, there are communication apparatuses such as smartphones equipped with NFC (Near Field Communication), wireless LAN, Bluetooth (registered trademark), and image forming apparatuses such as printers. Patent Document 1 proposes a communication device that analyzes and processes information received via a short-range wireless communication function such as NFC. Specifically, it has been proposed to analyze data received via NFC and automatically execute an application. In order to realize such control, the communication device needs to receive information according to a data format called NDEF (NFC Data Exchange Format) via NFC. When the communication apparatus receives data defined according to NDEF (NDEF message), it can use various services by analyzing and processing the data according to NDEF rules. The communication device of Patent Document 1 processes the information of the NDEF message based on the description information of the record for automatically starting the application in the NDEF message. Note that details such as the format of NDEF and NDEF records are defined by the NFC Forum, which is a standard organization.

特許文献2には、NFCに対応したスマートフォンなどの通信装置から簡単に印刷を実行する画像形成装置が提案されている。当該画像形成装置は、通信装置がNFC通信圏内に位置したことを検知すると、NFC通信を確立し、無線LANなどのより高速な通信方式に移行するための情報交換を行う。さらに、画像形成装置は、交換した情報を用いて、通信装置との間で無線LANなどのより高速な通信を確立し、当該通信により印刷データを受信して印刷を行う。このようにNFC通信で交換した接続情報を用いて無線LAN接続を確立することを無線ハンドオーバーと称する。   Patent Document 2 proposes an image forming apparatus that easily executes printing from a communication device such as a smartphone that supports NFC. When the image forming apparatus detects that the communication apparatus is located within the NFC communication area, the image forming apparatus establishes NFC communication and performs information exchange for shifting to a higher-speed communication method such as a wireless LAN. Furthermore, the image forming apparatus establishes higher-speed communication such as a wireless LAN with the communication apparatus using the exchanged information, receives print data through the communication, and performs printing. Establishing a wireless LAN connection using connection information exchanged by NFC communication in this way is referred to as wireless handover.

無線ハンドオーバーの実現方法の1つとして、画像形成装置が接続しているアクセスポイントへの接続情報を、画像形成装置から通信装置にNFC通信で渡す方法が考えられる。通信装置は、受け取った接続情報を用いてアクセスポイントとの無線LAN接続を確立し、それにより当該アクセスポイントを介して画像形成装置と通信可能となる。この方法において、NFC通信で交換される接続情報には、無線LAN通信上で当該アクセスポイントを一意に識別するためのSSID(Service Set Identifier)が格納される。更に、当該アクセスポイントに設定されている認証方式、暗号方式、キーなどの情報も格納される。これらの接続情報は、画像形成装置のNFCモジュールにNDEFとして予め格納されており、それを通信装置のNFCモジュールが読み込むことで、通信装置において無線ハンドオーバー処理が実行される。   As one method for realizing wireless handover, a method of passing connection information to an access point to which the image forming apparatus is connected from the image forming apparatus to the communication apparatus by NFC communication is conceivable. The communication device establishes a wireless LAN connection with the access point using the received connection information, thereby enabling communication with the image forming device via the access point. In this method, connection information exchanged by NFC communication stores an SSID (Service Set Identifier) for uniquely identifying the access point on wireless LAN communication. Furthermore, information such as the authentication method, encryption method, and key set for the access point is also stored. These pieces of connection information are stored in advance as NDEF in the NFC module of the image forming apparatus. When the NFC module of the communication apparatus reads the connection information, the wireless handover process is executed in the communication apparatus.

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

しかしながら、上記従来技術には以下に記載する問題がある。例えば、NFCを用いてサービスを提供する側が、複数のNDEFメッセージが記録されたデータを通信装置へ渡すことで、いずれかのNDEFメッセージに対応したアプリケーションを通信装置側で起動させたい場合がある。しかし、上記従来技術では、上述のような複数のNDEFメッセージを同時に通信装置で受信し、それに対応する何れかのアプリケーションを起動するといったケースが想定されていない。このようなケースの場合、上記従来技術においては、1つ目の情報に記載されたアプリケーションに連動するアプリケーションがあれば当該アプリケーションを起動するものの、そのようなアプリケーションが無ければ、その他の情報を参照することなくエラー終了してしまう。つまり、その他の情報が正しい場合であっても、当該他の情報が利用されず、好適にアプリケーションを起動することができない場合が発生してしまう。   However, the above prior art has the following problems. For example, a service provider using NFC may want to start an application corresponding to any NDEF message on the communication device side by passing data in which a plurality of NDEF messages are recorded to the communication device. However, the conventional technology does not assume a case in which a plurality of NDEF messages as described above are simultaneously received by a communication device and any corresponding application is started. In such a case, in the above prior art, if there is an application linked to the application described in the first information, the application is started. If there is no such application, refer to other information. It ends with an error without doing. That is, even when other information is correct, the other information is not used, and a case where the application cannot be started appropriately occurs.

本発明は、上述の問題に鑑みて成されたものであり、受信した近距離無線通信に関連するデータに含まれる複数のアプリケーションに関する情報の何れかを利用して、好適にアプリケーションを起動する仕組みを提供することを目的とする。
The present invention has been made in view of the above-described problem, and a mechanism for suitably starting an application by using any of information related to a plurality of applications included in received data related to short-range wireless communication. The purpose is to provide.

本発明は、NFCインタフェースを備える通信装置のコンピュータに、前記NFCインタフェースを使用してNFCタグを読み取って、前記NFCタグから第1のNDEFメッセージと第2のNDEFメッセージを含むデータを取得する取得工程と、前記取得したデータを解釈し、取得した前記第1のNDEFメッセージに含まれるアプリケーションの識別情報に対応する第1のアプリケーションが前記通信装置に存在するか否かを判断する第1の判断工程と、前記第1の判断工程で前記第1のアプリケーションが前記通信装置に存在すると判断された場合に、前記第1のアプリケーションが起動済みであるか否かを判断する第2の判断工程と、前記第2の判断工程で前記第1のアプリケーションが起動済みであると判断された場合に、前記第1のアプリケーションにデータを渡し、前記第2の判断工程で前記第1のアプリケーションが起動済みではないと判断された場合に、前記第1のアプリケーションを起動し、前記第1のアプリケーションにデータを渡す制御を行う制御工程と、を前記コンピュータに実行させるためのプログラムであって、前記制御工程はさらに前記第1の判断工程で前記第1のNDEFメッセージに含まれるアプリケーションの識別情報に対応する第1のアプリケーションが前記通信装置に存在しないと判断されたことに従っては、前記第1のNDEFメッセージに基づくNFC連携処理を行なうことなく、前記第2のNDEFメッセージに含まれるアプリケーションの識別情報に対応する第2のアプリケーションが前記通信装置に存在するか否かを判断し、当該判断で前記第2のアプリケーションが前記通信装置に存在すると判断された場合は、前記第2のアプリケーションが起動済みであるか否かを更に判断し、前記第2のアプリケーションが起動済みであると判断されたことに従って、前記第2のアプリケーションにデータを渡し、前記第2のアプリケーションが前記通信装置に存在し、かつ、起動済みではないと判断されたことに従って、前記第2のアプリケーションを起動し、前記第2のアプリケーションにデータを渡す制御を行うことで、前記制御工程は前記第1のアプリケーション又は第2のアプリケーションに前記取得したデータに基づくNFC連携処理を依頼する一方、前記第1のアプリケーションおよび前記第2のアプリケーションのどちらも前記通信装置に存在しないと判断されたことに従って、アプリケーションの取得に関する要求を外部サーバに送信し、前記NFCタグの読み取りを契機としたNFC連携処理を完了させるよう制御し、前記データを受け取った前記第1のアプリケーションまたは前記第2のアプリケーションは、前記NFCインタフェースを用いた無線通信より通信速度が高速な第2の種類の無線通信を確立するハンドオーバー処理を実行し、前記確立した第2の種類の無線通信を用いて外部装置と通信し、前記制御工程で依頼された前記NFC連携処理を完了させることを特徴とする。 According to the present invention, an acquisition step of acquiring data including a first NDEF message and a second NDEF message from the NFC tag by reading the NFC tag using the NFC interface to a computer of a communication apparatus having an NFC interface. A first determination step of interpreting the acquired data and determining whether or not a first application corresponding to the identification information of the application included in the acquired first NDEF message exists in the communication device. And a second determination step for determining whether or not the first application has been activated when it is determined in the first determination step that the first application is present in the communication device; when the first application is determined to be already started in the second determination step, the Passes the data to the first application, the first application in the second determination step when it is determined that not already been started, start the first application, and passes the data to the first application A program for causing the computer to execute a control step for performing control , wherein the control step further includes a first corresponding to the application identification information included in the first NDEF message in the first determination step. If it is determined that no application exists in the communication device, the NFC linkage processing based on the first NDEF message is not performed, and the application corresponding to the application identification information included in the second NDEF message is performed. Determine whether two applications are present in the communication device If it is determined by the determination that the second application exists in the communication device, it is further determined whether or not the second application has been started, and the second application has been started. Data is transferred to the second application according to the determination that the second application exists in the communication device and the second application is started according to the determination that the second application is not started. Then, by performing control to pass data to the second application, the control step requests the first application or the second application to perform NFC cooperation processing based on the acquired data, while the first application It is determined that neither the application nor the second application exists in the communication device. In response to the disconnection, a request for acquisition of the application is transmitted to the external server, control is performed to complete the NFC cooperation process triggered by reading of the NFC tag, and the first application or the first received the data The second application executes a handover process for establishing a second type of wireless communication having a higher communication speed than the wireless communication using the NFC interface, and uses the established second type of wireless communication to perform external processing. It communicates with a device, and completes the NFC cooperation processing requested in the control step .

本発明によれば、受信した近距離無線通信に関連するデータに含まれる複数のアプリケーションに関する情報の何れかを利用して、好適にアプリケーションを起動することができる。 ADVANTAGE OF THE INVENTION According to this invention, an application can be started suitably using either of the information regarding the some application contained in the data relevant to the received short-distance wireless communication.

一実施形態に係る通信装置100のハードウェアの構成例を示す図。The figure which shows the structural example of the hardware of the communication apparatus 100 which concerns on one Embodiment. 一実施形態に係る通信装置100のソフトウェアの構成例を示す図。The figure which shows the structural example of the software of the communication apparatus 100 which concerns on one Embodiment. 一実施形態に係るNDEFメッセージ300の一例を示す図。The figure which shows an example of the NDEF message 300 which concerns on one Embodiment. 一実施形態に係るNFCデータ400の一例を示す図。A figure showing an example of NFC data 400 concerning one embodiment. 一実施形態に係る通信装置100のアプリケーション自動起動のフローチャート。The flowchart of the application automatic starting of the communication apparatus 100 which concerns on one Embodiment. 一実施形態に係る通信装置100において画面表示されるエラーメッセージの一例を示す図。The figure which shows an example of the error message displayed on the screen in the communication apparatus 100 which concerns on one Embodiment.

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

<通信装置のハードウェア構成>
以下では、図1乃至6を参照して、本発明の一実施形態について説明する。本実施形態では、以下のケースを想定している。即ち、ユーザが通信装置100のNFC(Near Field Communication)リーダー107を画像形成装置のNFCにタッチし、画像形成装置からNFCデータを受け取る。通信装置100は、受け取ったNFCデータ内のNDEF(NFC Data Exchange Format)データに基づいて印刷アプリケーションA又はBを自動的に実行する。そして、当該アプリケーションがハンドオーバーを実行して印刷ジョブに関連する情報を印刷装置に送信する。即ち、本実施形態によれば、通信装置100は、外部装置である画像形成装置からNFCデータを受信し、当該NFCデータに従って対応するアプリケーションを起動する。起動されたアプリケーションは、近距離無線通信を介して、画像形成装置が提供するサービスを利用する。
<Hardware configuration of communication device>
Hereinafter, an embodiment of the present invention will be described with reference to FIGS. In the present embodiment, the following cases are assumed. That is, the user touches an NFC (Near Field Communication) reader 107 of the communication apparatus 100 on the NFC of the image forming apparatus, and receives NFC data from the image forming apparatus. The communication apparatus 100 automatically executes the print application A or B based on NDEF (NFC Data Exchange Format) data in the received NFC data. Then, the application executes a handover and transmits information related to the print job to the printing apparatus. That is, according to the present embodiment, the communication apparatus 100 receives NFC data from an image forming apparatus that is an external apparatus, and activates a corresponding application according to the NFC data. The activated application uses a service provided by the image forming apparatus via short-range wireless communication.

まず、図1を参照して、本実施形態に係る通信装置100のハードウェア構成について説明する。通信装置100は、携帯型の通信端末、例えば、スマートフォンや情報処理端末、携帯電話機等であってもよい。通信装置100は、CPU101、RAM102、FlashROM103、マイク104、操作パネル105、LANI/F106、NFCリーダー107、及びスピーカ108を備える。   First, a hardware configuration of the communication apparatus 100 according to the present embodiment will be described with reference to FIG. The communication device 100 may be a portable communication terminal, for example, a smartphone, an information processing terminal, a mobile phone, or the like. The communication device 100 includes a CPU 101, a RAM 102, a flash ROM 103, a microphone 104, an operation panel 105, a LAN I / F 106, an NFC reader 107, and a speaker 108.

CPU101は、FlashROM103に記憶された制御プログラムを読み出して通信装置100全体の動作を統括的に制御する。また、FlashROM103には、データや各種プログラム、或いは各種情報テーブルを記憶する。RAM102は、CPU101の主メモリ、ワークエリア等の一時領域として用いられる。操作パネル105は、操作画面や設定画面など、様々な種類の画面を表示する。また、操作パネル105は、タッチパネル機能を備え、ユーザがタッチ操作やドラッグ操作、フリック操作を行うことで様々な指示を通信装置100に入力することができる。   The CPU 101 reads a control program stored in the flash ROM 103 and controls the overall operation of the communication apparatus 100. Further, the flash ROM 103 stores data, various programs, or various information tables. The RAM 102 is used as a temporary area such as the main memory or work area of the CPU 101. The operation panel 105 displays various types of screens such as an operation screen and a setting screen. In addition, the operation panel 105 has a touch panel function, and a user can input various instructions to the communication apparatus 100 by performing a touch operation, a drag operation, or a flick operation.

LANI/F106は、画像形成装置等の外部装置とLAN通信を実行する。例えば、CPU101の制御に応じてFlashROM103に保存されるデータを外部装置へ送信する。NFCリーダー107は、外部装置に備えられたNFCからNDEFを読み出す。この読み出し処理は、外部装置のNFCのNFC通信圏内に通信装置100のNFCリーダー107を位置させることで実行される。ここで、一般的にNFCの通信圏内は、数センチ〜10センチ程度の距離である。従って、ユーザがNDEFの読み出しを所望する場合、画像形成装置等の外部装置に備えられたNFCに対して通信装置100のNFCリーダー107をタッチする、又は、かざす操作をすることとなる。   The LAN I / F 106 executes LAN communication with an external apparatus such as an image forming apparatus. For example, data stored in the flash ROM 103 is transmitted to an external device under the control of the CPU 101. The NFC reader 107 reads NDEF from NFC provided in the external device. This reading process is executed by positioning the NFC reader 107 of the communication apparatus 100 within the NFC NFC communication range of the external apparatus. Here, the communication range of NFC is generally a distance of about several centimeters to 10 centimeters. Therefore, when the user desires to read NDEF, the user touches or holds the NFC reader 107 of the communication apparatus 100 with respect to the NFC provided in the external apparatus such as the image forming apparatus.

マイク104は、外部からの音声データの入力ために使用される。当該音声データは、CPU101により処理される。スピーカ108は、CPU101によって処理された音声データを再生するために使用される。当該音声データは、FlashROM103に保存されたものであっても、LANI/F106から受け取ったものでもよい。また、それ以外の方法で生成されたデータであってもよい。   The microphone 104 is used for inputting audio data from the outside. The audio data is processed by the CPU 101. The speaker 108 is used to reproduce audio data processed by the CPU 101. The audio data may be stored in the flash ROM 103 or received from the LAN I / F 106. Further, it may be data generated by other methods.

なお、通信装置100は、1つのCPU101が1つのメモリ(RAM102)を用いて後述する図5のフローチャートに示す処理を実行するものとするが、他の態様であってもよい。例えば、複数のCPUや複数のメモリを協働させて後述する図5のフローチャートに示す処理を実行するようにしてもよい。   In the communication apparatus 100, one CPU 101 uses one memory (RAM 102) to execute the process shown in the flowchart of FIG. 5 to be described later, but other modes may be used. For example, the processing shown in the flowchart of FIG. 5 to be described later may be executed in cooperation with a plurality of CPUs and a plurality of memories.

<通信装置のソフトウェア構成>
次に、図2を参照して、通信装置100のソフトウェア構成について説明する。図2に示す各機能部は、CPU101がROM103やFlashROM103に記憶された制御プログラムを実行することによって実現される。
<Software configuration of communication device>
Next, the software configuration of the communication apparatus 100 will be described with reference to FIG. Each functional unit illustrated in FIG. 2 is realized by the CPU 101 executing a control program stored in the ROM 103 or the Flash ROM 103.

通信装置100は、操作制御部201、記憶部202、LAN通信部203、NFCリーダー制御部204、アプリケーション部205、及びアプリ(アプリケーション)ID管理部207を備える。操作制御部201は、操作パネル105を制御し、例えば操作パネル105に操作画面を表示したり、表示した操作画面を介したユーザの指示の入力を受け付けたりする。また、操作制御部201は、受け付けたユーザの指示を他の機能部に通知したり、受け付けたユーザの指示に応じて表示する操作画面を更新したりする。   The communication device 100 includes an operation control unit 201, a storage unit 202, a LAN communication unit 203, an NFC reader control unit 204, an application unit 205, and an application (application) ID management unit 207. The operation control unit 201 controls the operation panel 105, for example, displays an operation screen on the operation panel 105, or accepts an input of a user instruction via the displayed operation screen. In addition, the operation control unit 201 notifies other functional units of the received user instruction or updates an operation screen to be displayed according to the received user instruction.

記憶部202は、他の機能部からの指示により、指定されたデータをRAM102やFlashROM103に記憶したり、又は記憶しているデータを読み出したりする。また、後述するアプリケーション206とそれに対応するアプリID312と関連付けて管理する。関連付けられた情報は、ROM103又はHDDに格納される。   The storage unit 202 stores designated data in the RAM 102 or the Flash ROM 103 or reads stored data according to an instruction from another functional unit. In addition, an application 206 described later and an application ID 312 corresponding to the application 206 are managed in association with each other. The associated information is stored in the ROM 103 or HDD.

LAN通信部203は、LANI/F106が実行するLAN通信を制御する。NFCリーダー制御部204は、NFCリーダー107を制御する。アプリケーション部205は、複数のアプリケーションによって構成されている。本実施形態では、少なくとも1つ以上のアプリケーション206が存在するものとする。なお、アプリケーション部205にはその他の様々なアプリケーションが存在していてもよい。また、アプリケーション206は、公衆サーバーやオンプレミスサーバーなどに公開されており、LANI/F106などからサーバーにアクセスすることで通信装置100へインストール可能である。あるいは、アプリケーション206は、通信装置100に予めプレインストールされていてもよい。   The LAN communication unit 203 controls LAN communication executed by the LAN I / F 106. The NFC reader control unit 204 controls the NFC reader 107. The application unit 205 includes a plurality of applications. In this embodiment, it is assumed that at least one application 206 exists. Various other applications may exist in the application unit 205. The application 206 is open to public servers and on-premises servers, and can be installed in the communication apparatus 100 by accessing the server from the LAN I / F 106 or the like. Alternatively, the application 206 may be preinstalled in the communication apparatus 100 in advance.

<NDEFメッセージ>
次に、図3を参照して、本実施形態に係るNDEFメッセージ300の一例について説明する。NDEFメッセージ300は、通信装置100上のアプリケーションを起動するための起動レコード301と、アプリケーショが起動した後で処理を実行するためのデータが含まれるアプリ(アプリケーション)独自レコード302とから構成される。ここでいう通信装置100上のアプリケーションとは、アプリケーション206に限ったものではなく、アプリケーション部205に存在する可能性のある複数のアプリケーションの内の1つを指す。
<NDEF message>
Next, an example of the NDEF message 300 according to the present embodiment will be described with reference to FIG. The NDEF message 300 includes an activation record 301 for activating an application on the communication device 100 and an application (application) unique record 302 including data for executing processing after the application is activated. The application on the communication device 100 here is not limited to the application 206 but refers to one of a plurality of applications that may exist in the application unit 205.

起動レコード301は、当該NDEFメッセージを読み取った通信装置100に対して、アプリケーション206を起動させるための指示情報を格納している。さらに、起動レコード301は、少なくともヘッダ311とアプリID312とから構成される。ここにおいて、ヘッダ311には、起動レコードのヘッダ情報が格納され、起動レコード301がアプリケーションを起動させる役割を果たすレコードである旨を指示する情報となる。また、アプリID312には、通信装置100上のアプリケーションを特定するための情報が格納され、通信装置100は、アプリID312の情報に基づいて起動するアプリケーションを決定する。なお、起動レコード301は、NFCフォーラムにより定められたフォーマットの情報が格納されているものとする。   The activation record 301 stores instruction information for activating the application 206 for the communication device 100 that has read the NDEF message. Furthermore, the activation record 301 includes at least a header 311 and an application ID 312. Here, header information of the activation record is stored in the header 311 and is information indicating that the activation record 301 is a record that plays a role of activating an application. In addition, the application ID 312 stores information for specifying an application on the communication apparatus 100, and the communication apparatus 100 determines an application to be activated based on the information of the application ID 312. Note that the activation record 301 stores information of a format defined by the NFC forum.

アプリ独自レコード302は、前述の通り、起動レコード301に基づいて通信装置100のアプリケーションが起動した後に、当該アプリケーションが目的の処理を実行するために必要となる情報を格納している。なお、アプリ独自レコード302は、アプリケーション毎にフォーマットを独自に規定できる。通信装置100は、当該アプリケーションの起動後に、アプリ独自レコード302を使用して所望の処理を実行する。例えば、当該アプリケーションに無線ハンドオーバーを実行させる場合には、前述のアクセスポイントのSSIDや当該アクセスポイントに設定されている認証方式、暗号方式、及びキーなどの情報が格納される。   As described above, the application unique record 302 stores information necessary for the application to execute a target process after the application of the communication apparatus 100 is activated based on the activation record 301. The application unique record 302 can uniquely define the format for each application. The communication apparatus 100 executes a desired process using the application unique record 302 after the application is activated. For example, when the application performs wireless handover, information such as the SSID of the access point and the authentication method, encryption method, and key set in the access point are stored.

<NFCデータ>
次に、図4を参照して、本実施形態に係る画像形成装置が保持するNFCデータ400の一例について説明する。NFCデータ400は、少なくとも1つ以上の複数のNDEFメッセージ300から構成される。図4では、アプリケーションAとアプリケーションBに対応する2つのNDEFメッセージ300a、300bがNFCデータ400に格納されている例を示す。本実施形態においては、通信装置100が外部装置からNFCデータ400を受け取る。また、通信装置100は、受け取ったNFCデータ400を一時的に記憶部202に記憶する。
<NFC data>
Next, an example of the NFC data 400 held by the image forming apparatus according to the present embodiment will be described with reference to FIG. The NFC data 400 includes at least one NDEF message 300. FIG. 4 shows an example in which two NDEF messages 300 a and 300 b corresponding to application A and application B are stored in the NFC data 400. In the present embodiment, the communication device 100 receives NFC data 400 from an external device. In addition, the communication device 100 temporarily stores the received NFC data 400 in the storage unit 202.

なお、本実施形態において、NFCデータ400に対して2つのNDEFメッセージが含まれる理由は、以下の通りである。画像形成装置が印刷機能を提供するアプリケーションA又はアプリケーションBに対応している場合、いずれかのアプリケーションを自動起動して無線ハンドオーバーを含む印刷機能を提供する。これにより、通信装置100にアプリケーションA又はアプリケーションBの少なくとも一方がインストールされていれば、画像形成装置の印刷機能を使用することが可能となる。つまり、このように複数のアプリケーションに対応するメッセージをそれぞれNFCデータ400に含ませることにより、相手先(通信装置)の仕様に応じてNFCデータを切り替える必要がなくなる。これにより、画像形成装置においては、処理負荷を低減し、メモリ資源を効率的に利用することができる。   In the present embodiment, the reason why two NDEF messages are included in the NFC data 400 is as follows. When the image forming apparatus supports application A or application B that provides a printing function, one of the applications is automatically activated to provide a printing function including wireless handover. As a result, if at least one of the application A and the application B is installed in the communication apparatus 100, the printing function of the image forming apparatus can be used. That is, by including messages corresponding to a plurality of applications in the NFC data 400 in this way, it is not necessary to switch the NFC data according to the specification of the other party (communication device). Thereby, in the image forming apparatus, the processing load can be reduced and the memory resources can be efficiently used.

<処理手順>
次に、図5を参照して、本実施形態に係る通信装置100のアプリケーション自動起動の処理手順について説明する。以下で説明する処理は、通信装置100が外部端末から受信したNFCデータに基づいてアプリケーションを自動起動させる処理と、例外発生時の処理との流れを示す。また、以下で説明する処理は、通信装置100のCPU101がFlashROM103に格納された制御プログラムをRAM102に読み出して実行することにより実現される。
<Processing procedure>
Next, with reference to FIG. 5, a processing procedure for automatic application activation of the communication apparatus 100 according to the present embodiment will be described. The process described below shows a flow of a process for automatically starting an application based on NFC data received from the external terminal by the communication apparatus 100 and a process when an exception occurs. The processing described below is realized by the CPU 101 of the communication apparatus 100 reading out the control program stored in the flash ROM 103 to the RAM 102 and executing it.

まずS501で、NFCリーダー制御部204は、NFCリーダー107に対してリードが発生し、NFCリーダー107を介してNFCデータ400を受信したか否かを判定する。本処理は、例えば、ユーザが画像形成装置に対して通信装置100をタッチすることで発生する。リードが発生していない場合(S501にてNo)には、本判定処理を繰り返すことで、通信装置100がNFCデータ400を受信するまで待機する。なお、NFCデータ400のデータが空であった場合にも、リードが発生していないもの判断してもよい。   First, in step S <b> 501, the NFC reader control unit 204 determines whether a read has occurred to the NFC reader 107 and the NFC data 400 has been received via the NFC reader 107. This process occurs, for example, when the user touches the communication apparatus 100 with respect to the image forming apparatus. If no read has occurred (No in S501), this determination process is repeated to wait until the communication apparatus 100 receives the NFC data 400. Even when the NFC data 400 is empty, it may be determined that no read has occurred.

NFCデータを取得するとS502に進み、NFCリーダー制御部204は、NDEFメッセージの解析処理を実行する。ここでは、NFCデータに含まれる複数のNDEFメッセージのうち、1つのメッセージについて解析する。なお、複数のNDEFメッセージからいずれのメッセージを解析するかの選択は、例えば、レコード順に行う方法でもよい。続いて、S503で、NFCリーダー制御部204は、当該解析結果に基づき、NDEFメッセージの解析が成功したか否かを判定する。ここでは、NFCリーダー制御部204は、アプリケーションの自動起動を指示するNDEFメッセージであるか否かを、起動ヘッダ511を参照することによって判定する。ここで、NDEFメッセージ300の解析処理が成功した場合にはS504に進み、そうでない場合はS509に進む。   When the NFC data is acquired, the process proceeds to S502, where the NFC reader control unit 204 executes an NDEF message analysis process. Here, one message among a plurality of NDEF messages included in the NFC data is analyzed. Note that selection of which message to analyze from a plurality of NDEF messages may be performed in the order of records, for example. In step S503, the NFC reader control unit 204 determines whether the analysis of the NDEF message is successful based on the analysis result. Here, the NFC reader control unit 204 determines whether or not it is an NDEF message instructing automatic activation of an application by referring to the activation header 511. Here, if the analysis processing of the NDEF message 300 is successful, the process proceeds to S504, and if not, the process proceeds to S509.

S504で、NFCリーダー制御部204は、記録部202が保持するアプリIDが管理された情報内に、受信したアプリID312に対応するアプリケーションが存在するか否かを判定する。対応するアプリケーションが存在する場合にはS505に進み、そうでない場合はS509に進む。本実施形態においては、通信装置100にアプリケーションA又はアプリケーションBがインストールされていれば、対応するアプリケーションが存在すると判定する。   In step S504, the NFC reader control unit 204 determines whether there is an application corresponding to the received application ID 312 in the information in which the application ID held by the recording unit 202 is managed. If there is a corresponding application, the process proceeds to S505, and if not, the process proceeds to S509. In the present embodiment, if the application A or the application B is installed in the communication apparatus 100, it is determined that there is a corresponding application.

NDEFメッセージ300の解析に失敗した場合又は受信したアプリID312に対応するアプリケーション206が存在しない場合、S509で、NFCリーダー制御部204は、次のNDEFメッセージ300が存在するか否かを判定する。ここで、次のNDEFメッセージ300が存在すれば、そのNDEFメッセージ300に対して改めて解析処理が実行される。次のNDEFメッセージ300が無い場合には、通信装置100が処理するデータが存在しないため、アプリケーションの自動起動に関する処理を終了する。本実施形態においては、通信装置100にアプリケーションA又はアプリケーションBがインストールされていない場合が該当する。   If the analysis of the NDEF message 300 fails or if the application 206 corresponding to the received application ID 312 does not exist, the NFC reader control unit 204 determines whether or not the next NDEF message 300 exists in S509. Here, if the next NDEF message 300 exists, an analysis process is performed again on the NDEF message 300. If there is no next NDEF message 300, there is no data to be processed by the communication apparatus 100, and the process related to the automatic activation of the application is terminated. In this embodiment, the case where the application A or the application B is not installed in the communication apparatus 100 is applicable.

受信したアプリID312に合致するアプリケーション206が存在する場合、S505で、NFCリーダー制御部204は、アプリケーション部205に対して当該アプリケーションが起動済みであるか否かを確認する。アプリケーションが実行済みである場合にはS506に進み、NFCリーダー制御部204は、アプリケーション部205に指示し、当該アプリケーション206に対してアプリケーションの動作に必要な情報であるアプリ独自レコード302を渡す。これにより、本実施形態においては、アプリケーションA又はアプリケーションBがアプリ独自レコード302に格納された情報に基づいて無線ハンドオーバーを実施し、画像形成装置に対して印刷が実行される。   If there is an application 206 that matches the received application ID 312, the NFC reader control unit 204 checks with the application unit 205 whether or not the application has been started in S <b> 505. If the application has been executed, the process advances to step S506, and the NFC reader control unit 204 instructs the application unit 205 to pass the application unique record 302 that is information necessary for the operation of the application to the application 206. Thereby, in the present embodiment, the application A or the application B performs a wireless handover based on the information stored in the application unique record 302, and printing is performed on the image forming apparatus.

一方、当該アプリケーション206が実行されていない場合はS507に進み、NFCリーダー制御部204は、当該アプリケーション206を起動させる。続いて、S508で、NFCリーダー制御部204は、当該アプリケーションの起動に成功したか否かを判定する。起動に成功した場合はS506に進み、NFCリーダー制御部204は、アプリケーション部205に指示し、当該アプリケーション206に対して、処理に必要な情報であるアプリ独自レコード302を渡す。ここでは、当該レコードより前に記載された情報(読み飛ばしたレコード)は当該アプリケーションには渡さない。読み飛ばしたレコードとは、解析したものの対応するアプリケーションを保持していなかったメッセージのレコードに相当する。当該アプリケーションの起動に失敗した場合にはS510に進み、NFCリーダー制御部204は、通信装置100がNFCデータを処理できないため、アプリケーションの自動起動に失敗した旨の図6に示すエラーメッセージを操作パネル105等に出力し、処理を終了する。ただし、このエラーメッセージの出力は実行されなくともよい。図6に示すように、通信装置100は、エラーメッセージとして、操作パネル105に当該エラーメッセージを含むメッセージ600を表示していもよい。なお、ここでは、エラーメッセージを画面表示する例について説明したが、音声出力によってエラーメッセージを出力してもよい。   On the other hand, when the application 206 is not executed, the process proceeds to S507, and the NFC reader control unit 204 activates the application 206. In step S508, the NFC reader control unit 204 determines whether the application has been successfully activated. If the activation is successful, the process proceeds to S506, and the NFC reader control unit 204 instructs the application unit 205 to pass the application unique record 302, which is information necessary for processing, to the application 206. Here, information described before the record (record skipped) is not passed to the application. The skipped record corresponds to a record of a message that has been analyzed but did not hold the corresponding application. If activation of the application fails, the process proceeds to S510, and the NFC reader control unit 204 displays an error message shown in FIG. 6 indicating that the automatic activation of the application has failed because the communication device 100 cannot process NFC data. The data is output to 105 or the like, and the process is terminated. However, this error message output need not be executed. As illustrated in FIG. 6, the communication apparatus 100 may display a message 600 including the error message on the operation panel 105 as an error message. Although an example in which an error message is displayed on the screen has been described here, the error message may be output by voice output.

以上説明したように、本実施形態に係る通信装置は、近距離無線通信を介して外部装置から、複数のアプリケーションのそれぞれに対応するメッセージを含む、近距離無線通信に関連するデータを受信する。さらに、本通信装置は、受信したデータに含まれる複数のメッセージのうちの1つを解析し、解析したメッセージに対応するアプリケーションを保持していればアプリケーションを起動させ、保持していなければ解析していない他のメッセージを解析する。このように、本実施形態によれば、解析したメッセージに対応するアプリケーションを保持していなくとも、同時に受信した他のメッセージに対応するアプリケーションを保持していれば当該アプリケーションを起動することができる。つまり、本実施形態によれば、複数のNDEFメッセージを含むNFCデータを受信した場合に、メッセージごとエラー終了することなく、NFCデータ全体で有効なメッセージがあればエラー終了することなく、その後の動作を継続して実行することができる。   As described above, the communication device according to the present embodiment receives data related to short-range wireless communication including messages corresponding to each of a plurality of applications from the external device via short-range wireless communication. Further, the communication device analyzes one of a plurality of messages included in the received data, activates the application if the application corresponding to the analyzed message is held, and analyzes if not held. Not parse other messages. As described above, according to the present embodiment, even if an application corresponding to the analyzed message is not held, the application can be activated if an application corresponding to another message received at the same time is held. In other words, according to the present embodiment, when NFC data including a plurality of NDEF messages is received, the subsequent operation is not terminated with an error if there is a valid message in the entire NFC data without terminating the error for each message. Can be executed continuously.

なお、本発明は上記実施形態に限らず様々な変形が可能である。例えば、上記実施形態において、通信装置100にアプリケーション206が存在しない場合にはエラーにせず、LANI/F106を介して公衆サーバーに対してアプリケーション206の取得を実行してもよい。なお、公衆サーバーに限らずオンプレミスサーバー等の他の外部サーバーであってもよい。   The present invention is not limited to the above embodiment, and various modifications can be made. For example, in the above-described embodiment, when the application 206 does not exist in the communication apparatus 100, the application 206 may be acquired from the public server via the LAN I / F 106 without causing an error. Note that the server is not limited to a public server, and may be another external server such as an on-premises server.

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

100:通信装置、105:操作パネル、404:NFCデータ、600:エラー表示   100: Communication device, 105: Operation panel, 404: NFC data, 600: Error display

Claims (12)

NFCインタフェースを備える通信装置のコンピュータに、
前記NFCインタフェースを使用してNFCタグを読み取って、前記NFCタグから第1のNDEFメッセージと第2のNDEFメッセージを含むデータを取得する取得工程と、
前記取得したデータを解釈し、取得した前記第1のNDEFメッセージに含まれるアプリケーションの識別情報に対応する第1のアプリケーションが前記通信装置に存在するか否かを判断する第1の判断工程と、
前記第1の判断工程で前記第1のアプリケーションが前記通信装置に存在すると判断された場合に、前記第1のアプリケーションが起動済みであるか否かを判断する第2の判断工程と、
前記第2の判断工程で前記第1のアプリケーションが起動済みであると判断された場合に、前記第1のアプリケーションにデータを渡し、前記第2の判断工程で前記第1のアプリケーションが起動済みではないと判断された場合に、前記第1のアプリケーションを起動し、前記第1のアプリケーションにデータを渡す制御を行う制御工程と、を
前記コンピュータに実行させるためのプログラムであって、
前記制御工程はさらに前記第1の判断工程で前記第1のNDEFメッセージに含まれるアプリケーションの識別情報に対応する第1のアプリケーションが前記通信装置に存在しないと判断されたことに従っては、前記第1のNDEFメッセージに基づくNFC連携処理を行なうことなく、前記第2のNDEFメッセージに含まれるアプリケーションの識別情報に対応する第2のアプリケーションが前記通信装置に存在するか否かを判断し、当該判断で前記第2のアプリケーションが前記通信装置に存在すると判断された場合は、前記第2のアプリケーションが起動済みであるか否かを更に判断し、前記第2のアプリケーションが起動済みであると判断されたことに従って、前記第2のアプリケーションにデータを渡し、前記第2のアプリケーションが前記通信装置に存在し、かつ、起動済みではないと判断されたことに従って、前記第2のアプリケーションを起動し、前記第2のアプリケーションにデータを渡す制御を行うことで、前記制御工程は前記第1のアプリケーション又は第2のアプリケーションに前記取得したデータに基づくNFC連携処理を依頼する一方、前記第1のアプリケーションおよび前記第2のアプリケーションのどちらも前記通信装置に存在しないと判断されたことに従って、アプリケーションの取得に関する要求を外部サーバに送信し、前記NFCタグの読み取りを契機としたNFC連携処理を完了させるよう制御し、
前記データを受け取った前記第1のアプリケーションまたは前記第2のアプリケーションは、前記NFCインタフェースを用いた無線通信より通信速度が高速な第2の種類の無線通信を確立するハンドオーバー処理を実行し、前記確立した第2の種類の無線通信を用いて外部装置と通信し、前記制御工程で依頼された前記NFC連携処理を完了させることを特徴とするプログラム。
In a computer of a communication device having an NFC interface,
An acquisition step of reading an NFC tag using the NFC interface and acquiring data including a first NDEF message and a second NDEF message from the NFC tag ;
A first determination step of interpreting the acquired data and determining whether or not a first application corresponding to the identification information of the application included in the acquired first NDEF message exists in the communication device;
A second determination step of determining whether or not the first application has been activated when it is determined in the first determination step that the first application exists in the communication device;
If it is determined in the second determination step that the first application has been started, data is passed to the first application, and the first application has not been started in the second determination step. If it is determined that there is no, then starts the first application, and a control step of performing control to pass data to the first application, the
A program for causing the computer to execute,
The control step further includes determining that the first application corresponding to the application identification information included in the first NDEF message does not exist in the communication device in the first determination step. Without determining whether the second application corresponding to the identification information of the application included in the second NDEF message exists in the communication device without performing the NFC cooperation process based on the NDEF message. If it is determined that the second application exists in the communication device, it is further determined whether or not the second application has been started, and it is determined that the second application has been started. The data is passed to the second application and the second application In accordance with the determination that the application exists in the communication device and is not started, the control step is performed by starting the second application and passing data to the second application. Requests NFC cooperation processing based on the acquired data to the first application or the second application, while it is determined that neither the first application nor the second application exists in the communication device. Accordingly, a request for obtaining the application is transmitted to the external server, and control is performed to complete the NFC cooperation process triggered by reading the NFC tag.
The first application or the second application that has received the data executes a handover process for establishing a second type of wireless communication having a higher communication speed than the wireless communication using the NFC interface, and A program which communicates with an external device using the established second type of wireless communication and completes the NFC cooperation processing requested in the control step .
前記NFCタグに含まれるデータである前記第1のNDEFメッセージ及び第2のNDEFメッセージには、1つ以上のレコードが含まれており、1つのNDEFメッセージは1つのアプリケーションに関するレコードと、アプリケーションに通知すべき情報を記憶したレコードとが記憶されていることを特徴とする請求項1に記載のプログラム。 The first NDEF message and the second NDEF message that are data included in the NFC tag include one or more records, and one NDEF message notifies the application of a record related to one application. program of claim 1, and a record that stores should do information is characterized in that it is stored. 前記制御工程は、前記取得したアプリケーションの識別情報に対応する第1または第2のアプリケーションを起動する制御を行う場合に、当該起動するアプリケーションに前記取得した識別情報が格納されているNDEFメッセージに含まれているアプリケーションに通知すべき情報を記憶したレコードの情報を送信し、前記識別情報が格納されていないNDEFメッセージに含まれるアプリケーションに通知すべき情報は送信しないことを特徴とする請求項に記載のプログラム。 It said control step, when performing control to start the first or second application corresponding to the acquired identification information of the application, the application to the start, the NDEF message the acquired identification information is stored claim 2 including transmit information of the record storing information to be notified to the application and the information to be notified to the application that is included in the NDEF message, wherein the identification information is not stored is characterized not to send The program described in. 前記プログラムは、
前記制御工程において第1のアプリケーションまたは第2のアプリケーションの起動に失敗した場合に、エラーメッセージを操作部に出力する出力工程を、
前記通信装置の前記コンピュータに更に実行させることを特徴とする請求項1乃至のいずれか1項に記載のプログラム。
The program is
An output step of outputting an error message to the operation unit when activation of the first application or the second application fails in the control step;
Program according to any one of claims 1 to 3, characterized in that further the computer to perform the communication device.
NFCインタフェースを備える通信装置の制御方法であって、
前記NFCインタフェースを使用してNFCタグを読み取って、前記NFCタグから第1のNDEFメッセージと第2のNDEFメッセージを含むデータを取得する取得工程と、
前記取得したデータを解釈し、取得した第1のNDEFメッセージに含まれるアプリケーションの識別情報に対応する第1のアプリケーションが前記通信装置に存在するか否かを判断する第1の判断工程と、
前記第1の判断工程で前記第1のアプリケーションが前記通信装置に存在すると判断された場合に、前記第1のアプリケーションが起動済みであるか否かを判断する第2の判断工程と、
前記第2の判断工程で前記第1のアプリケーションが起動済みであると判断された場合に、前記第1のアプリケーションにデータを渡し、前記第2の判断工程で前記第1のアプリケーションが起動済みではないと判断された場合に、前記第1のアプリケーションを起動し、前記第1のアプリケーションにデータを渡す制御を行う制御工程と、
を含み、
前記制御工程はさらに前記第1の判断工程で前記第1のNDEFメッセージに含まれるアプリケーションの識別情報に対応する第1のアプリケーションが前記通信装置に存在しないと判断されたことに従っては、前記第1のNDEFメッセージに基づくNFC連携処理を行なうことなく、前記第2のNDEFメッセージに含まれるアプリケーションの識別情報に対応する第2のアプリケーションが前記通信装置に存在するか否かを判断し、当該判断で前記第2のアプリケーションが前記通信装置に存在すると判断された場合は、前記第2のアプリケーションが起動済みであるか否かを更に判断し、前記第2のアプリケーションが起動済みであると判断されたことに従って、前記第2のアプリケーションにデータを渡し、前記第2のアプリケーションが前記通信装置に存在し、かつ、起動済みではないと判断されたことに従って、前記第2のアプリケーションを起動し、前記第2のアプリケーションにデータを渡す制御を行うことで、前記制御工程は前記第1のアプリケーション又は第2のアプリケーションに前記取得したデータに基づくNFC連携処理を依頼する一方、
前記第1のアプリケーションおよび前記第2のアプリケーションのどちらも前記通信装置に存在しないと判断されたことに従って、アプリケーションの取得に関する要求を外部サーバに送信し、前記NFCタグの読み取りを契機としたNFC連携処理を完了させるよう制御し、
前記データを受け取った前記第1のアプリケーションまたは前記第2のアプリケーションは、前記NFCインタフェースを用いた無線通信より通信速度が高速な第2の種類の無線通信を確立するハンドオーバー処理を実行し、前記確立した第2の種類の無線通信を用いて外部装置と通信し、前記制御工程で依頼された前記NFC連携処理を完了させることを特徴とする制御方法。
A method for controlling a communication device having an NFC interface,
An acquisition step of reading an NFC tag using the NFC interface and acquiring data including a first NDEF message and a second NDEF message from the NFC tag ;
A first determination step of interpreting the acquired data and determining whether or not a first application corresponding to application identification information included in the acquired first NDEF message exists in the communication device;
A second determination step of determining whether or not the first application has been activated when it is determined in the first determination step that the first application exists in the communication device;
If it is determined in the second determination step that the first application has been started, data is passed to the first application, and the first application has not been started in the second determination step. If it is determined that there is no, and the control step of activating the first application, performs control to pass data to the first application,
Only including,
The control step further includes determining that the first application corresponding to the application identification information included in the first NDEF message does not exist in the communication device in the first determination step. Without determining whether the second application corresponding to the identification information of the application included in the second NDEF message exists in the communication device without performing the NFC cooperation process based on the NDEF message. If it is determined that the second application exists in the communication device, it is further determined whether or not the second application has been started, and it is determined that the second application has been started. The data is passed to the second application and the second application In accordance with the determination that the application exists in the communication device and is not started, the control step is performed by starting the second application and passing data to the second application. While requesting the NFC cooperation processing based on the acquired data to the first application or the second application,
When it is determined that neither the first application nor the second application exists in the communication device, an NFC cooperation is triggered by reading the NFC tag by sending a request for obtaining an application to an external server. Control to complete the process,
The first application or the second application that has received the data executes a handover process for establishing a second type of wireless communication having a higher communication speed than the wireless communication using the NFC interface, and A control method comprising communicating with an external device using the established second type of wireless communication to complete the NFC cooperation processing requested in the control step .
前記NFCタグに含まれるデータである前記第1のNDEFメッセージ及び第2のNDEFメッセージには、1つ以上のレコードが含まれており、1つのNDEFメッセージは1つのアプリケーションに関するレコードと、アプリケーションに通知すべき情報を記憶したレコードとが記憶されていることを特徴とする請求項に記載の制御方法。 The first NDEF message and the second NDEF message that are data included in the NFC tag include one or more records, and one NDEF message notifies the application of a record related to one application. The control method according to claim 5 , wherein a record storing information to be stored is stored . 前記制御工程は、前記取得したアプリケーションの識別情報に対応する第1または第2のアプリケーションを起動する制御を行う場合に、当該起動するアプリケーションに前記取得した識別情報が格納されているNDEFメッセージに含まれているアプリケーションに通知すべき情報を記憶したレコードの情報を送信し、前記識別情報が格納されていないNDEFメッセージに含まれるアプリケーションに通知すべき情報は送信しないことを特徴とする請求項に記載の制御方法。 The controlling step, when performing control to start the first or second application corresponding to the acquired identification information of the application, the application to the start, the NDEF message the acquired identification information is stored claim 6 including transmits information of the record storing information to be notified to the application, the information to be notified to the application that is included in the NDEF message, wherein the identification information is not stored is characterized not to send The control method described in 1. 前記制御工程において第1のアプリケーションまたは第2のアプリケーションの起動に失敗した場合に、エラーメッセージを操作部に出力する出力工程を、さらに含むことを特徴とする請求項5乃至7のいずれか1項に記載の制御方法。 8. The method according to claim 5 , further comprising an output step of outputting an error message to the operation unit when the first application or the second application fails in the control step. The control method described in 1. 通信装置であって、
NFCインタフェースと、
前記NFCインタフェースを使用してNFCタグを読み取って、前記NFCタグから第1のNDEFメッセージと第2のNDEFメッセージを含むデータを取得する取得手段と、
前記取得手段によって取得したデータを解釈し、取得した第1のNDEFメッセージに含まれるアプリケーションの識別情報に対応する第1のアプリケーションが前記通信装置に存在するか否かを判断する第1の判断手段と、
前記第1の判断手段で前記第1のアプリケーションが前記通信装置に存在すると判断された場合に、前記第1のアプリケーションが起動済みであるか否かを判断する第2の判断手段と、
前記第2の判断手段で前記第1のアプリケーションが起動済みであると判断された場合に、前記第1のアプリケーションにデータを渡し、前記第2の判断手段で前記第1のアプリケーションが起動済みではないと判断された場合に、前記第1のアプリケーションを起動し、前記第1のアプリケーションにデータを渡す制御を行う制御手段と、
を有し、
前記制御手段はさらに前記第1の判断手段で前記第1のNDEFメッセージに含まれるアプリケーションの識別情報に対応する第1のアプリケーションが前記通信装置に存在しないと判断されたことに従っては、前記第1のNDEFメッセージに基づくNFC連携処理を行なうことなく、前記第2のNDEFメッセージに含まれるアプリケーションの識別情報に対応する第2のアプリケーションが前記通信装置に存在するか否かを判断し、当該判断で前記第2のアプリケーションが前記通信装置に存在すると判断された場合は、前記第2のアプリケーションが起動済みであるか否かを更に判断し、前記第2のアプリケーションが起動済みであると判断されたことに従って、前記第2のアプリケーションにデータを渡し、前記第2のアプリケーションが前記通信装置に存在し、かつ、起動済みではないと判断されたことに従って、前記第2のアプリケーションを起動し、前記第2のアプリケーションにデータを渡す制御を行うことで、前記制御手段は前記第1のアプリケーション又は第2のアプリケーションに前記取得したデータに基づくNFC連携処理を依頼する一方、
前記第1のアプリケーションおよび前記第2のアプリケーションのどちらも前記通信装置に存在しないと判断されたことに従って、アプリケーションの取得に関する要求を外部サーバに送信し、前記NFCタグの読み取りを契機としたNFC連携処理を完了させるよう制御し、
前記データを受け取った前記第1のアプリケーションまたは前記第2のアプリケーションは、前記NFCインタフェースを用いた無線通信より通信速度が高速な第2の種類の無線通信を確立するハンドオーバー処理を実行し、前記確立した第2の種類の無線通信を用いて外部装置と通信し、前記制御手段によって依頼された前記NFC連携処理を完了させることを特徴とする通信装置。
A communication device,
An NFC interface;
Obtaining means for reading an NFC tag using the NFC interface and obtaining data including a first NDEF message and a second NDEF message from the NFC tag ;
First determination means for interpreting data acquired by the acquisition means and determining whether or not a first application corresponding to the application identification information included in the acquired first NDEF message exists in the communication device. When,
Second determination means for determining whether or not the first application has been activated when the first determination means determines that the first application exists in the communication device;
When it is determined by the second determination means that the first application has been started, data is passed to the first application, and the first application has not been started by the second determination means. If it is determined that there is no, then it starts the first application, and a control means for controlling to pass data to the first application,
I have a,
The control means is further configured so that the first determination means determines that the first application corresponding to the application identification information included in the first NDEF message does not exist in the communication device. Without determining whether the second application corresponding to the identification information of the application included in the second NDEF message exists in the communication device without performing the NFC cooperation process based on the NDEF message. If it is determined that the second application exists in the communication device, it is further determined whether or not the second application has been started, and it is determined that the second application has been started. The data is passed to the second application and the second application The control means is configured to start the second application and control to pass data to the second application when it is determined that the communication device is present in the communication apparatus and has not been started. While requesting the NFC cooperation processing based on the acquired data to the first application or the second application,
In response to the determination that neither the first application nor the second application exists in the communication device, NFC cooperation is triggered by reading the NFC tag by sending a request for acquisition of the application to an external server. Control to complete the process,
The first application or the second application that has received the data executes a handover process for establishing a second type of wireless communication having a higher communication speed than the wireless communication using the NFC interface, and A communication apparatus that communicates with an external apparatus by using the established second type of wireless communication and completes the NFC cooperation process requested by the control means .
前記NFCタグに含まれるデータである前記第1のNDEFメッセージ及び第2のNDEFメッセージには、1つ以上のレコードが含まれており、1つのNDEFメッセージは1つのアプリケーションに関するレコードと、アプリケーションに通知すべき情報を記憶したレコードとが記憶されていることを特徴とする請求項に記載の通信装置。 The first NDEF message and the second NDEF message that are data included in the NFC tag include one or more records, and one NDEF message notifies the application of a record related to one application. The communication apparatus according to claim 9 , wherein a record storing information to be stored is stored . 前記制御手段は、前記取得したアプリケーションの識別情報に対応する第1または第2のアプリケーションを起動する制御を行う場合に、当該起動するアプリケーションに前記取得した識別情報が格納されているNDEFメッセージに含まれているアプリケーションに通知すべき情報を記憶したレコードの情報を送信し、前記識別情報が格納されていないNDEFメッセージに含まれるアプリケーションに通知すべき情報は送信しないことを特徴とする請求項10に記載の通信装置。 Wherein, when performing control to start the first or second application corresponding to the acquired identification information of the application, the application to the start, the NDEF message the acquired identification information is stored claim 10 including transmit information of the record storing information to be notified to the application and the information to be notified to the application that is included in the NDEF message, wherein the identification information is not stored is characterized not to send The communication apparatus as described in. 前記制御手段による第1のアプリケーションまたは第2のアプリケーションの起動に失敗した場合に、エラーメッセージを操作部に表示する表示手段を更に有することを特徴とする請求項9乃至11のいずれか1項に記載の通信装置。 12. The display device according to claim 9 , further comprising a display unit configured to display an error message on the operation unit when the control unit fails to start the first application or the second application. The communication device described.
JP2014218732A 2014-10-27 2014-10-27 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM Active JP6571922B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014218732A JP6571922B2 (en) 2014-10-27 2014-10-27 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014218732A JP6571922B2 (en) 2014-10-27 2014-10-27 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM

Publications (3)

Publication Number Publication Date
JP2016085643A JP2016085643A (en) 2016-05-19
JP2016085643A5 JP2016085643A5 (en) 2017-12-07
JP6571922B2 true JP6571922B2 (en) 2019-09-04

Family

ID=55973064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014218732A Active JP6571922B2 (en) 2014-10-27 2014-10-27 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP6571922B2 (en)

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09204389A (en) * 1996-01-26 1997-08-05 Sony Corp Information processor, its method and printed object
US20070169128A1 (en) * 2004-02-09 2007-07-19 Tomokazu Kanamaru Electronic device for automatically continuing to provide service
JP2005301890A (en) * 2004-04-15 2005-10-27 Canon Inc Extended control unit, image formation system, application start change method, control method of image formation system, program, and recording medium
JP2006190008A (en) * 2005-01-04 2006-07-20 Nippon Telegr & Teleph Corp <Ntt> Data coordination device and data coordination method
JP4777725B2 (en) * 2005-08-31 2011-09-21 フェリカネットワークス株式会社 Portable terminal device, server device, application providing method, and computer program
JP5178319B2 (en) * 2008-05-22 2013-04-10 キヤノン株式会社 Application platform
JP5524024B2 (en) * 2010-10-29 2014-06-18 アルパイン株式会社 In-vehicle device and application activation control method
WO2013126591A1 (en) * 2012-02-21 2013-08-29 Zih Corp. Method and apparatus for implementing near field communications with a printer
JP2013229724A (en) * 2012-04-25 2013-11-07 Sony Corp Information processing apparatus, information processing method, computer program, terminal, and information processing system
WO2014006758A1 (en) * 2012-07-06 2014-01-09 パイオニア株式会社 Information processing method
JP6040617B2 (en) * 2012-07-30 2016-12-07 ソニー株式会社 COMMUNICATION DEVICE, INFORMATION PROCESSING METHOD, AND PROGRAM
JP5714560B2 (en) * 2012-12-21 2015-05-07 株式会社オプティム Mobile terminal, terminal setting method, and mobile terminal program for setting without hindering self-management function

Also Published As

Publication number Publication date
JP2016085643A (en) 2016-05-19

Similar Documents

Publication Publication Date Title
US10848946B2 (en) Network access method, device, and system
KR102168413B1 (en) Communication apparatus, control method for controlling the same, and computer control program
KR102247601B1 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
US8810839B2 (en) Information processing apparatus for transferring image data, server apparatus for receiving transferred image data, and control methods and storage media therefor
US9092179B2 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
JP6172074B2 (en) Print system, print server, print control method, and print control program
JP6480677B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, COMPUTER PROGRAM
US20160156484A1 (en) Information processing system, cloud server, device control method, and non-transitory computer-readable recording medium encoded with device control program
US10382923B2 (en) Communication apparatus capable of preventing data erroneous transmission, control method therefor, and storage medium storing control program therefor
JP6190342B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP2018093433A (en) Communication system, image forming device and control method thereof, and program
JP2016021654A (en) System having information processing device and image forming apparatus, information processing device, image forming apparatus, control method, and program
WO2020054365A1 (en) Communication device, communication method, and program
WO2015098162A1 (en) Onboard device and control method for onboard device
EP2950607A1 (en) Communication device, method for controlling communication device, and program
US10749866B2 (en) Communication system, non-transitory computer-readable recording medium storing computer-readable instructions for registration mediating server, and non-transitory computer-readable recording medium storing computer-readable instructions for service providing server
JP5637115B2 (en) Network storage system, data operation method in network storage system, and storage device
JP6571922B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP2017142676A (en) Information processing apparatus, method for controlling the same, and program
JP6127081B2 (en) Information distribution apparatus, push notification method, and computer program
US9467935B2 (en) Communication apparatus and control method thereof
JP2018029220A (en) Wireless network device, image formation apparatus, wireless network system and program
US20170024236A1 (en) Information processing system, terminal apparatus, and non-transitory computer readable medium
JP6372485B2 (en) Information processing apparatus, remote operation control method, and remote operation control program
JP2018148419A (en) Information processing system and data transmission/reception method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171026

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171026

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180622

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180820

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190125

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190325

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190809

R151 Written notification of patent or utility model registration

Ref document number: 6571922

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151