JP2017216750A - Information processing program, information processing device, and information processing device control method - Google Patents

Information processing program, information processing device, and information processing device control method Download PDF

Info

Publication number
JP2017216750A
JP2017216750A JP2017176490A JP2017176490A JP2017216750A JP 2017216750 A JP2017216750 A JP 2017216750A JP 2017176490 A JP2017176490 A JP 2017176490A JP 2017176490 A JP2017176490 A JP 2017176490A JP 2017216750 A JP2017216750 A JP 2017216750A
Authority
JP
Japan
Prior art keywords
communication
network
information processing
target device
identification information
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
JP2017176490A
Other languages
Japanese (ja)
Other versions
JP6406405B2 (en
Inventor
紀彦 浅井
Norihiko Asai
紀彦 浅井
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2017176490A priority Critical patent/JP6406405B2/en
Publication of JP2017216750A publication Critical patent/JP2017216750A/en
Application granted granted Critical
Publication of JP6406405B2 publication Critical patent/JP6406405B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information processing program and the like for communicating with a device.SOLUTION: An information processing program communicates with a communication object device by using an NFC communication interface. If a first network including the communication object device and a second network set as a communication destination of communication using a wireless LAN interface of an information processing device are different, the information processing program obtains a designation SSID used for communicating with the communication object device by using the wireless LAN interface by NFC communication. The information processing program communicates with the communication object device by using the wireless LAN interface on the basis of the obtained designation SSID. The information processing device returns the communication destination of communication using the wireless LAN interface of the information processing device to the second network after the termination of communication based on the designation SSID.SELECTED DRAWING: Figure 1

Description

本明細書によって開示される技術は、デバイスと通信を実行するための情報処理プログラム、情報処理装置および情報処理装置の制御方法に関する。   The technology disclosed in this specification relates to an information processing program, an information processing apparatus, and an information processing apparatus control method for executing communication with a device.

特許文献1、2には、2台の通信装置が無線通信を実行するための技術が開示されている。特許文献1、2では、2台の通信装置は、近距離無線通信(即ちNFC(Near Field
Communicationの略)方式に従った無線通信)に従って、無線設定の通信を実行する。上記の無線設定は、NFC方式とは異なる通信方式(例えばIEEE802.11a、802.11b)に従った無線通信を実行するための設定である。これにより、2台の通信装置は、無線設定に従った無線通信を実行可能になる。
Patent Documents 1 and 2 disclose a technique for two wireless communication apparatuses to perform wireless communication. In Patent Documents 1 and 2, the two communication devices are short-range wireless communication (that is, NFC (Near Field
Communication of wireless setting is performed according to (abbreviation of communication) wireless communication according to the method). The above wireless setting is a setting for executing wireless communication according to a communication method (for example, IEEE 802.11a, 802.11b) different from the NFC method. Thus, the two communication devices can execute wireless communication according to the wireless setting.

特開2007−166538号公報JP 2007-166538 A 特開2011−146991号公報JP 2011-146991 A

「Wi−Fi Peer−to−Peer(P2P) Technical Specification Version1.1」、Wi−Fi Alliance、2010年"Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.1", Wi-Fi Alliance, 2010

通信装置に予め設定されていたデフォルトの無線設定が、近距離無線通信によって、新たな無線設定に変更されてしまう場合がある。すると、新たな無線設定に従った無線通信の実行が完了した後に、デフォルトの無線設定に従った無線通信を実行する場合には、無線設定の内容を、ユーザが再度設定し直す必要が生じる場合がある。   In some cases, the default wireless setting previously set in the communication device is changed to a new wireless setting by short-range wireless communication. Then, when the wireless communication according to the default wireless setting is executed after the execution of the wireless communication according to the new wireless setting is completed, it is necessary for the user to set the contents of the wireless setting again. There is.

本明細書に記載されている情報処理プログラムは、情報処理装置に読込まれる情報処理プログラムであって、情報処理装置は、第1の通信方式により、デバイスと無線による通信を実行するための第1種のインターフェイスと、第2の通信方式により、ネットワークまたはデバイスと無線による通信を実行するための第2種のインターフェイスと、を備えており、情報処理プログラムは、情報処理装置が通信を行う対象のデバイスである通信対象デバイスと、第1種のインターフェイスを用いて通信を実行する第1通信手段と、通信対象デバイスが含まれている第1ネットワークと、情報処理装置の第2種のインターフェイスを利用した通信の通信先として設定されている第2ネットワークと、が異なる場合に、第2種のインターフェイスを利用して通信対象デバイスと通信を実行するために用いる第1識別情報を第1通信手段によって取得し、取得した第1識別情報に基づいて第2種のインターフェイスを利用して通信対象デバイスとの間の通信を実行する第2通信手段と、第1ネットワークと第2ネットワークとが同一である場合に、第2種のインターフェイスを利用して第2ネットワークと通信することによって、通信対象デバイスとの間の通信を実行する第3通信手段と、第2通信手段による第1識別情報に基づいた通信の終了後に、情報処理装置の第2種のインターフェイスを利用した通信の通信先を第2ネットワークに戻す復帰処理を行う第4通信手段と、して情報処理装置を機能させることを特徴とする。   An information processing program described in this specification is an information processing program read into an information processing apparatus. The information processing apparatus is a first information processing apparatus for performing wireless communication with a device using a first communication method. And a second type interface for performing wireless communication with a network or a device by a second communication method, and an information processing program is a target to which the information processing apparatus communicates A communication target device, a first communication means for executing communication using the first type interface, a first network including the communication target device, and a second type interface of the information processing apparatus. If the second network that is set as the communication destination of the used communication is different, use the second type interface. First identification information used for performing communication with the communication target device using the first communication means, and using the second type interface based on the acquired first identification information, When the second communication means for performing communication between the first network and the second network are the same, the second communication means communicates with the second network using the second type interface, thereby communicating with the communication target device. The communication destination using the second type interface of the information processing apparatus to the second network after the communication based on the first identification information by the third communication means and the second communication means is executed. The information processing apparatus is caused to function as fourth communication means for performing return processing to return.

これにより、第2種のインターフェイスを利用することによって、情報処理装置と通信対象デバイスとの間の通信を実行することができる。そして、通信対象デバイスとの通信が終了した後に、第2種のインターフェイスを利用した通信の通信先を、第2ネットワークに戻すことができる。よって、第2種のインターフェイスを利用した通信対象デバイスとの通信が終了した後に、第2種のインターフェイスを利用した第2ネットワークとの通信を開始する場合においても、第2種のインターフェイスを利用した通信の通信先の設定等をユーザが行う必要を無くすことができる。従って、ユーザの利便性を向上させることができる。   Accordingly, communication between the information processing apparatus and the communication target device can be executed by using the second type interface. And after communication with a communication object device is complete | finished, the communication destination of communication using a 2nd type interface can be returned to a 2nd network. Therefore, the second type interface is used even when communication with the second network using the second type interface is started after communication with the communication target device using the second type interface is completed. It is possible to eliminate the need for the user to set the communication destination for communication. Therefore, user convenience can be improved.

第1識別情報が、発行されるたびに異なる文字列を有する情報である場合には、第1識別情報に基づいて第2種のインターフェイスを利用して通信対象デバイスと確立した通信経路は、通信の完了後に使えなくなる可能性が高くなる。請求項2に記載の情報処理プログラムでは、通信対象デバイスとの通信が終了した後に、第2種のインターフェイスを利用した通信の通信先を第2ネットワークに戻すため、後に使えなくなる可能性がある通信経路が選択されてしまう事態を回避することができる。   When the first identification information is information having a different character string every time it is issued, the communication path established with the communication target device using the second type interface based on the first identification information is the communication There is a high possibility that it will become unusable after completion of. In the information processing program according to claim 2, since communication destination using the second type interface is returned to the second network after the communication with the communication target device is completed, the communication that may not be used later. A situation where a route is selected can be avoided.

請求項3に記載の情報処理プログラムでは、第1ネットワークと第2ネットワークとの一致判断を、情報処理装置の外部に行わせることができる。よって、情報処理装置の処理負荷を低減させることが可能となる。   In the information processing program according to the third aspect, it is possible to make the determination of matching between the first network and the second network outside the information processing apparatus. Therefore, it is possible to reduce the processing load of the information processing apparatus.

請求項4に記載の情報処理プログラムでは、第2および第3識別情報に基づいて、第1ネットワークと第2ネットワークとの一致判断を行うことができる。   In the information processing program according to the fourth aspect, it is possible to make a match between the first network and the second network based on the second and third identification information.

請求項5に記載の情報処理プログラムでは、第1ネットワークと第2ネットワークとが異なることを情報処理装置で判断した上で、発行されるたびに異なる文字列を有する第1識別情報を、通信対象デバイスから取得することができる。これにより、不要な第1識別情報を通信対象デバイスから取得してしまう事態を防止できるため、通信対象デバイスと情報処理装置との間の通信データ量を抑制することが可能となる。   In the information processing program according to claim 5, after the information processing apparatus determines that the first network and the second network are different, the first identification information having a different character string is issued each time it is issued. Can be obtained from the device. Accordingly, it is possible to prevent a situation in which unnecessary first identification information is acquired from the communication target device, and thus it is possible to suppress the amount of communication data between the communication target device and the information processing apparatus.

請求項6に記載の情報処理プログラムでは、情報処理装置の通信対象を、ユーザにリアルタイムで報知することができる。よって、ユーザの利便性を向上させることができる。   In the information processing program according to the sixth aspect, the communication target of the information processing apparatus can be notified to the user in real time. Therefore, user convenience can be improved.

請求項7に記載の情報処理プログラムでは、情報処理装置が通信対象とするデバイスを、ユーザにリアルタイムで報知することができる。よって、ユーザの利便性を向上させることができる。   In the information processing program according to the seventh aspect, the device to be communicated with by the information processing apparatus can be notified to the user in real time. Therefore, user convenience can be improved.

請求項8に記載の情報処理プログラムでは、情報処理装置の通信先のネットワークが設定されていない場合には、通信対象デバイスと通信するためのネットワークを情報処理装置の通信先のネットワークとして自動的に設定することができる。これにより、情報処理装置の通信先のネットワークをユーザが選択して設定する、という手間を省くことが可能となる。   In the information processing program according to claim 8, when the communication destination network of the information processing apparatus is not set, the network for communicating with the communication target device is automatically set as the communication destination network of the information processing apparatus. Can be set. As a result, it is possible to save the user from having to select and set the communication destination network of the information processing apparatus.

請求項9に記載の情報処理プログラムでは、画像データの通信の完了を検出することによって、第2通信手段による通信が終了したことを検出することができる。これにより、第2通信手段による通信の終了を判断するための情報などを通信する必要を無くすことができるため、通信データ量を抑制することが可能となる。   In the information processing program according to the ninth aspect, it is possible to detect the completion of the communication by the second communication means by detecting the completion of the communication of the image data. This eliminates the need to communicate information for determining the end of communication by the second communication means, thereby reducing the amount of communication data.

請求項10に記載の情報処理プログラムでは、報知情報を通信対象デバイスから受信することによって、第2通信手段による通信が終了したことを検出することができる。これにより、第2通信手段による通信の終了を確実に検出することができる。   In the information processing program according to the tenth aspect, it is possible to detect that the communication by the second communication means is completed by receiving the notification information from the communication target device. Thereby, the completion | finish of communication by a 2nd communication means can be detected reliably.

請求項11に記載の情報処理プログラムでは、ネットワークとの間で通信を実行する処理をオペレーティングシステムプログラムに実行させることができる。これにより、情報処理プログラムによって実行する処理量を抑制することや、情報処理プログラムの容量を抑制することが可能となる。   In the information processing program according to the eleventh aspect, it is possible to cause the operating system program to execute processing for performing communication with the network. As a result, it is possible to suppress the amount of processing executed by the information processing program and to suppress the capacity of the information processing program.

請求項12に記載の情報処理プログラムでは、近距離無線通信と無線LAN通信とを用いて、情報処理装置と通信対象デバイスとの間の通信を実行することができる。   In the information processing program according to the twelfth aspect, communication between the information processing apparatus and the communication target device can be executed using short-range wireless communication and wireless LAN communication.

請求項13に記載の情報処理プログラムでは、第1識別情報が、発行されるたびに異なる文字列を有する情報であるか否かを確実に判断することが可能となる。   In the information processing program according to the thirteenth aspect, it is possible to reliably determine whether or not the first identification information is information having a different character string each time it is issued.

請求項14に記載の情報処理プログラムでは、通信対象デバイスと通信を実行することが可能となる。   In the information processing program according to the fourteenth aspect, communication with the communication target device can be performed.

請求項15に記載の情報処理プログラムでは、通信対象デバイスと通信を実行することが可能となる。   In the information processing program according to the fifteenth aspect, communication with the communication target device can be executed.

なお、上記の情報処理プログラムを実現するための情報処理装置や情報処理装置の制御方法も、新規で有用である。   Note that the information processing apparatus and the control method for the information processing apparatus for realizing the information processing program are also novel and useful.

ネットワークの構成を示すブロック図である。It is a block diagram which shows the structure of a network. アプリケーションに従いCPUが各部を制御する処理を説明するフロー図である。It is a flowchart explaining the process which CPU controls each part according to an application. アプリケーションに従いCPUが各部を制御する処理を説明するフロー図である。It is a flowchart explaining the process which CPU controls each part according to an application. テーブルの一例を示す図である。It is a figure which shows an example of a table. 表示手段の表示例を示す図である。It is a figure which shows the example of a display of a display means. アプリケーションに従いCPUが各部を制御する処理の変形例を説明するフロー図である。It is a flowchart explaining the modification of the process which CPU controls each part according to an application.

<ネットワーク10の構成>
図1は、ネットワーク10の構成を示すブロック図である。ネットワーク10は、情報処理装置100、MFP51および52、第1アクセスポイント501、第2アクセスポイント502、を備えている。ここで、MFPとは、印刷機能、スキャン機能、コピー機能を備える多機能周辺装置(Multifunction Peripheral)を示す。
<Configuration of network 10>
FIG. 1 is a block diagram showing the configuration of the network 10. The network 10 includes an information processing apparatus 100, MFPs 51 and 52, a first access point 501, and a second access point 502. Here, the MFP refers to a multifunction peripheral having a print function, a scan function, and a copy function.

情報処理装置100のNFC通信I/F112は、NFC(Near Field Communicationの略)方式の無線通信153を介して、MFP51のNFC通信I/F36と通信を行うことができる。本実施例では、ISO/IEC21481又は18092の国際標準規格に基づいて、NFC方式に従った無線通信が実行される。   The NFC communication I / F 112 of the information processing apparatus 100 can communicate with the NFC communication I / F 36 of the MFP 51 via an NFC (Near Field Communication) wireless communication 153. In this embodiment, wireless communication according to the NFC scheme is executed based on the international standard of ISO / IEC21481 or 18092.

情報処理装置100の無線LAN_I/F105は、無線LAN方式の無線通信151および154を介して、MFP51の無線LAN_I/F34とインフラストラクチャーモードの通信を行うことができる。また、無線LAN_I/F105は、無線LAN方式の無線通信152を介して、MFP52とインフラストラクチャーモードの通信を行うことができる。また、無線LAN_I/F105は、WiFi Direct(以下、WFDと記載する)方式の無線通信155を介して、MFP51の無線LAN_I/F34と
直接に通信を行うことができる。情報処理装置100は、WFD方式に従って、MFP51との接続を確立することによって、WFDネットワークを構築することができる。WFDでは、IEEE(The Institute of Electrical and Electronics Engineers, Inc.の
略)の802.11の規格、及び、それに準ずる規格(例えば802.11a,11b,11g,11n等)に基づいて、無線通信が実行される。
The wireless LAN_I / F 105 of the information processing apparatus 100 can perform infrastructure mode communication with the wireless LAN_I / F 34 of the MFP 51 via wireless communication 151 and 154 of the wireless LAN system. In addition, the wireless LAN_I / F 105 can perform infrastructure mode communication with the MFP 52 via the wireless LAN wireless communication 152. Further, the wireless LAN_I / F 105 can directly communicate with the wireless LAN_I / F 34 of the MFP 51 via the wireless communication 155 of the WiFi Direct (hereinafter referred to as WFD) method. The information processing apparatus 100 can construct a WFD network by establishing a connection with the MFP 51 according to the WFD method. In WFD, wireless communication is performed based on the IEEE standard of IEEE (abbreviation of The Institute of Electrical and Electronics Engineers, Inc.) and the standard conforming thereto (for example, 802.11a, 11b, 11g, 11n, etc.). Executed.

第1アクセスポイント501およびMFP51によって、ネットワークN1が形成されている。第2アクセスポイント502およびMFP52によって、ネットワークN2が形成されている。第1アクセスポイント501および第2アクセスポイント502の各々は、SSID(Service Set Identifierの略)を有している。SSIDは、第1アクセスポイント501および第2アクセスポイント502の各々を識別するための名前である。情報処理装置100は、プリント&スキャンアプリケーション121を実行することで、印刷要求やスキャン要求を、無線LAN_I/F105を用いた通信によって、MFP51および52に送信することができる。   The first access point 501 and the MFP 51 form a network N1. The second access point 502 and the MFP 52 form a network N2. Each of the first access point 501 and the second access point 502 has an SSID (abbreviation of Service Set Identifier). The SSID is a name for identifying each of the first access point 501 and the second access point 502. The information processing apparatus 100 can transmit a print request or a scan request to the MFPs 51 and 52 through communication using the wireless LAN_I / F 105 by executing the print & scan application 121.

<情報処理装置100の構成>
情報処理装置100は、例えば携帯電話や携帯端末装置などの携帯型の装置である。情報処理装置100は、表示手段102、タッチパネル103、入力I/F104、無線LAN_I/F105、NFC通信I/F112、CPU(Central Processing Unitの略
)106、ROM(Read Only Memoryの略)107、RAM(Random Access Memoryの略)108、記憶部109、などを備えており、これらは入出力ポート110を介して互いに接続されている。
<Configuration of Information Processing Device 100>
The information processing apparatus 100 is a portable device such as a mobile phone or a mobile terminal device. The information processing apparatus 100 includes a display unit 102, a touch panel 103, an input I / F 104, a wireless LAN_I / F 105, an NFC communication I / F 112, a CPU (abbreviation of Central Processing Unit) 106, a ROM (abbreviation of Read Only Memory) 107, and a RAM. (Random Access Memory) 108, a storage unit 109, and the like, which are connected to each other via an input / output port 110.

表示手段102は、CPU106から出力される画信号を受信し、受信した画信号に基づく画像を表示する。表示手段102としては、例えばLCDや、有機ELパネルなどを用いることができる。タッチパネル103は透明な部材により形成され、表示手段102の表面を覆うようにして配設されている。タッチパネル103は、ユーザの指などによりタッチされた位置を検出し、検出した位置情報をCPU106へ出力する。入力I/F104は、例えば操作ボタンである。   The display unit 102 receives an image signal output from the CPU 106 and displays an image based on the received image signal. As the display means 102, for example, an LCD or an organic EL panel can be used. The touch panel 103 is formed of a transparent member and is disposed so as to cover the surface of the display unit 102. The touch panel 103 detects a position touched by a user's finger or the like, and outputs the detected position information to the CPU 106. The input I / F 104 is, for example, an operation button.

NFC通信I/F112は、NFC方式の無線通信153を実行するためのインターフェイスである。NFC方式の無線通信153を確立するためには、通信設定のための各種の情報(例:IPアドレス、SSIDなど)は不要である。無線LAN_I/F105は、無線LAN方式の無線通信151、152、155を実行するためのインターフェイスである。無線LAN方式の無線通信151、152、155の通信可能な距離は、NFC方式の無線通信153の通信可能な距離よりも大きい。また、無線LAN方式の無線通信151、152、155の通信速度は、NFC方式の無線通信153の通信速度よりも速い。   The NFC communication I / F 112 is an interface for executing the NFC wireless communication 153. In order to establish the NFC wireless communication 153, various pieces of information for communication setting (eg, IP address, SSID, etc.) are not necessary. The wireless LAN_I / F 105 is an interface for executing wireless communication 151, 152, 155 of the wireless LAN system. The communicable distances of the wireless LAN based wireless communications 151, 152, and 155 are larger than the communicable distances of the NFC based wireless communication 153. The communication speeds of the wireless communication 151, 152, and 155 of the wireless LAN method are faster than the communication speed of the wireless communication 153 of the NFC method.

CPU106は、記憶部109に記憶されるプログラムを実行する。RAM108はCPU106の処理に必要な情報を一時的に記憶する。記憶部109は、フラッシュメモリ、HDD(ハードディスク)、CPU106が備えるバッファなどが組み合わされて構成されている。記憶部109には、画像データや、文書データなどが記憶可能である。記憶部109は、プログラム120を記憶している。プログラム120は、プリント&スキャンアプリケーション121(以下、アプリケーション121と記載する)、および、オペレーティングシステム124(以下、OS124と記載する)を含んでいる。CPU106は、プログラム120に従って処理を実行する。ここで以降、アプリケーション121やOS124など、プログラムを実行するCPU106のことを、単にプログラム名でも記載することにする場合がある。例えば「アプリケーション121は」という記載は、アプリケーション121を実行するCPU106は」を意味する場合がある。   CPU 106 executes a program stored in storage unit 109. The RAM 108 temporarily stores information necessary for the processing of the CPU 106. The storage unit 109 is configured by combining a flash memory, an HDD (hard disk), a buffer included in the CPU 106, and the like. The storage unit 109 can store image data, document data, and the like. The storage unit 109 stores a program 120. The program 120 includes a print & scan application 121 (hereinafter referred to as application 121) and an operating system 124 (hereinafter referred to as OS 124). The CPU 106 executes processing according to the program 120. Hereafter, the CPU 106 that executes a program, such as the application 121 or the OS 124, may be simply described as a program name. For example, the description “application 121” may mean “the CPU 106 executing the application 121”.

アプリケーション121は、情報処理装置100からMFP51等へ印刷命令を送信する処理などを、CPU106に実行させるためのアプリケーションである。OS124は、アプリケーション121等に共通して利用される、基本的な機能を提供するプログラムである。OS124は、無線LAN_I/F105やNFC通信I/F112に無線通信を実行させるためのプログラム等を含んでいる。またOS124は、各種のハードウェアが取得した情報を各プログラムが取得するための、もしくは、各プログラムが各種ハードウェアに指示をするためのAPI(Application Programming Interfaceの略)を提供す
るプログラムでもある。
The application 121 is an application for causing the CPU 106 to execute processing for transmitting a print command from the information processing apparatus 100 to the MFP 51 or the like. The OS 124 is a program that provides basic functions that are commonly used by the application 121 and the like. The OS 124 includes a program for causing the wireless LAN_I / F 105 and the NFC communication I / F 112 to perform wireless communication. The OS 124 is also a program that provides an API (abbreviation of application programming interface) for each program to acquire information acquired by various hardware, or for each program to instruct the various hardware.

また記憶部109は、テーブルTB1を記憶する。テーブルTB1は、特定デバイスを識別する特定デバイス識別情報や、特定ネットワークを識別するための特定ネットワーク識別情報を記憶しておくテーブルである。特定デバイスは、情報処理装置100の通信先として、複数のデバイスのうちから選択されて設定されたデバイスである。特定ネットワークは、情報処理装置100の無線LAN_I/F105を利用した通信の通信先として設定されているネットワークである。特定デバイスが含まれているネットワークを、特定ネットワークとして設定してもよい。   The storage unit 109 stores a table TB1. The table TB1 is a table that stores specific device identification information for identifying a specific device and specific network identification information for identifying a specific network. The specific device is a device selected and set from a plurality of devices as a communication destination of the information processing apparatus 100. The specific network is a network set as a communication destination of communication using the wireless LAN_I / F 105 of the information processing apparatus 100. A network including a specific device may be set as the specific network.

図4に、テーブルTB1の一例を示す。図4の例では、特定デバイス識別情報600として、型番601およびIPアドレス602が用いられている。また特定ネットワーク識別情報として、SSID603が用いられている。型番601は、各デバイスの種類を識別するための情報である。IPアドレス602は、各デバイスに割り当てられた、通信に用いられる周知のビット列である。SSID603は、特定ネットワークを構成しているアクセスポイントを識別するための識別子である。   FIG. 4 shows an example of the table TB1. In the example of FIG. 4, a model number 601 and an IP address 602 are used as the specific device identification information 600. Further, SSID 603 is used as the specific network identification information. The model number 601 is information for identifying the type of each device. The IP address 602 is a well-known bit string assigned to each device and used for communication. The SSID 603 is an identifier for identifying access points constituting a specific network.

本実施形態の説明例では、MFP51および52の各々のデバイスの型番601が、「Ink-MFP1」および「Ink-MFP2」である場合を説明する。また、MFP51および52の各々のIPアドレス602が、「192.168.100.101」および「192.168.100.102」である場合を説明する。また、ネットワークN1を構成している第1アクセスポイント501のSSIDが「SSID−1」であり、ネットワークN2を構成している第2アクセスポイント502のSSIDが「SSID−2」である場合を説明する。そして図4に示すように、テーブルTB1には、型番601として「Ink-MFP2」が記憶され、IPアドレス602として「192.168.100.102」が記憶され、SSID603として「SSID−2」が記憶さ
れている。すなわち、図4では、特定デバイスとしてMFP52が選択されており、特定ネットワークとしてネットワークN2が設定されている場合を説明している。
In the explanation example of the present embodiment, a case will be described in which the model numbers 601 of the devices of the MFPs 51 and 52 are “Ink-MFP1” and “Ink-MFP2”. A case will be described in which the IP addresses 602 of the MFPs 51 and 52 are “192.168.100.101” and “192.168.100.102”, respectively. Further, a case where the SSID of the first access point 501 configuring the network N1 is “SSID-1” and the SSID of the second access point 502 configuring the network N2 is “SSID-2” will be described. To do. 4, “Ink-MFP2” is stored as the model number 601, “192.168.100.102” is stored as the IP address 602, and “SSID-2” is stored as the SSID 603 in the table TB1. . That is, FIG. 4 illustrates a case where the MFP 52 is selected as the specific device and the network N2 is set as the specific network.

<MFP51の構成>
MFP51の構成について説明する。MFP51は、CPU32、記憶部33、無線LAN_I/F34、NFC通信I/F36、ボタン入力部38、パネル39、プリンタ19、スキャナ20、を主に備えている。これらの構成要素は、入出力ポート43を介して互いに通信可能とされている。
<Configuration of MFP 51>
A configuration of the MFP 51 will be described. The MFP 51 mainly includes a CPU 32, a storage unit 33, a wireless LAN_I / F 34, an NFC communication I / F 36, a button input unit 38, a panel 39, a printer 19, and a scanner 20. These components can communicate with each other via the input / output port 43.

CPU32は、記憶部33に記憶されるプログラム21を実行する。記憶部33は、RAM、ROM、フラッシュメモリ、HDD(ハードディスクの略)、CPU72が備えるバッファなどが組み合わされて構成されている。記憶部33は、プログラム21を記憶する。プログラム21は、OS29等を含んでいる。   The CPU 32 executes the program 21 stored in the storage unit 33. The storage unit 33 is configured by combining RAM, ROM, flash memory, HDD (abbreviation of hard disk), a buffer provided in the CPU 72, and the like. The storage unit 33 stores the program 21. The program 21 includes an OS 29 and the like.

NFC通信I/F36は、NFC方式の無線通信153を実行するためのインターフェイスである。無線LAN_I/F34は、無線LAN方式の無線通信154、155を実行するためのインターフェイスである。ボタン入力部38は、MFP51の各機能を実行
するためのキーである。ボタン入力部38は、タッチパネルとして、パネル39と一体に構成されていてもよい。パネル39は、MFP51の各種機能情報を表示する。プリンタ19は、記憶部33に記憶されている画像データを用いて印刷を実行する部位である。スキャナ20は、読み取りを実行する部位である。なおMFP52も、MFP51と同様の構成を備えているが、図面の簡略化のため、図1への図示を省略している。
The NFC communication I / F 36 is an interface for executing the NFC wireless communication 153. The wireless LAN_I / F 34 is an interface for executing wireless LAN wireless communication 154 and 155. The button input unit 38 is a key for executing each function of the MFP 51. The button input unit 38 may be configured integrally with the panel 39 as a touch panel. The panel 39 displays various function information of the MFP 51. The printer 19 is a part that executes printing using the image data stored in the storage unit 33. The scanner 20 is a part that executes reading. Although the MFP 52 has the same configuration as the MFP 51, the illustration in FIG. 1 is omitted for the sake of simplification of the drawing.

<アプリケーション121の動作>
以下、図2ないし図5を用いて、アプリケーション121に従いCPU106が各部を制御する処理について説明する。また、本実施形態の説明例では、特定ネットワークとしてネットワークN2が設定されている場合を説明する。また、情報処理装置100が、特定ネットワークであるネットワークN2と接続状態である場合を説明する。また、ユーザが情報処理装置100をMFP51にかざす場合(すなわち、通信対象デバイスとしてMFP51が選択される場合)を説明する。
<Operation of Application 121>
Hereinafter, a process in which the CPU 106 controls each unit according to the application 121 will be described with reference to FIGS. Further, in the explanation example of the present embodiment, a case where the network N2 is set as the specific network will be described. A case will be described in which the information processing apparatus 100 is connected to the network N2, which is a specific network. A case where the user holds the information processing apparatus 100 over the MFP 51 (that is, a case where the MFP 51 is selected as a communication target device) will be described.

アプリケーション121が起動されると、図2のフローが開始される。S110においてアプリケーション121は、印刷対象のデータを選択する操作を、タッチパネル103が受け付けたか否かを判断する。受け付けていない場合(S110:NO)にはS110へ戻り、受け付けた場合(S110:YES)にはS112へ進む。S112においてアプリケーション121は、印刷プレビューを表示手段102に表示させる。また、通信相手のデバイス、および、通信相手のネットワークを、表示手段102に表示させる。本実施形態の説明例では、図5に示すように、印刷プレビュー画像P1が表示手段102に表示される。また図5の領域R1に示すように、通信相手のデバイスを示す情報として、特定デバイス(すなわち、MFP52)の型番が表示される。また、通信相手のネットワークを示す情報として、特定ネットワーク(すなわち、ネットワークN2)に含まれる第2アクセスポイント502のSSID(すなわち、SSID−2)が表示される。   When the application 121 is activated, the flow of FIG. 2 is started. In S110, the application 121 determines whether or not the touch panel 103 has accepted an operation for selecting data to be printed. If not received (S110: NO), the process returns to S110, and if received (S110: YES), the process proceeds to S112. In step S112, the application 121 causes the display unit 102 to display a print preview. In addition, the communication partner device and the communication partner network are displayed on the display unit 102. In the example of this embodiment, as shown in FIG. 5, a print preview image P1 is displayed on the display unit 102. Further, as shown in an area R1 in FIG. 5, the model number of the specific device (that is, the MFP 52) is displayed as information indicating the communication partner device. In addition, as information indicating the communication partner network, the SSID (ie, SSID-2) of the second access point 502 included in the specific network (ie, network N2) is displayed.

S114においてアプリケーション121は、NFC通信を開始することの報知情報を、OS124から受信したか否かを判断する。NFC通信は、情報処理装置100に備えられているNFC通信I/F112が、NFC通信の実行対象の装置に備えられているNFC通信I/Fを中心とする所定距離内に近接することによって開始される。所定距離は、例えば10cm程度であってもよい。報知情報をOS124から受信していない場合(S114:NO)にはS114へ戻り、受信した場合(S114:YES)にはS116へ進む。本実施形態の説明例では、ユーザが情報処理装置100をMFP51にかざす場合を説明している。よって、MFP51との間でNFC方式の無線通信153を開始されたことの報知情報を、OS124から受信する。   In S <b> 114, the application 121 determines whether or not notification information for starting NFC communication has been received from the OS 124. The NFC communication is started when the NFC communication I / F 112 provided in the information processing apparatus 100 approaches within a predetermined distance centered on the NFC communication I / F provided in the apparatus that is the target of NFC communication. Is done. The predetermined distance may be about 10 cm, for example. If the notification information has not been received from the OS 124 (S114: NO), the process returns to S114, and if received (S114: YES), the process proceeds to S116. In the description example of the present embodiment, a case where the user holds the information processing apparatus 100 over the MFP 51 is described. Therefore, notification information indicating that the NFC wireless communication 153 with the MFP 51 has been started is received from the OS 124.

S116においてアプリケーション121は、情報処理装置100が現在接続中のネットワークのSSIDを、OS124から取得する。本実施形態の説明例では、情報処理装置100が、特定ネットワークであるネットワークN2と接続状態である場合を説明している。従って、ネットワークN2に含まれている第2アクセスポイント502のSSID(すなわち、SSID−2)が取得される。   In S <b> 116, the application 121 acquires the SSID of the network to which the information processing apparatus 100 is currently connected from the OS 124. In the example of the present embodiment, a case is described in which the information processing apparatus 100 is connected to the network N2 that is a specific network. Therefore, the SSID (that is, SSID-2) of the second access point 502 included in the network N2 is acquired.

S120においてアプリケーション121は、NFC方式の無線通信153を用いて、取得したSSIDを、通信対象デバイスへ送信する。本実施形態の説明例では、第2アクセスポイント502のSSID−2が、通信対象デバイスであるMFP51へ送信される。S121においてアプリケーション121は、NFC方式の無線通信153を用いて、通信対象デバイスから通信対象デバイス識別情報を受信する。通信対象デバイス識別情報は、通信対象デバイスを識別するための情報である。通信対象デバイス識別情報の一例としては、通信対象デバイスの型番、通信対象デバイスのIPアドレス、通信対象デバイスが含まれているネットワークのSSIDおよび当該SSIDに対するパスワード、などが
挙げられる。またアプリケーション121は、後述する一致判断情報を、通信対象デバイスから受信してもよい。本実施形態の説明例では、アプリケーション121は、通信対象デバイスであるMFP51の型番(Ink−MFP1)、IPアドレス(192.168.100.101)、ネットワークN1のSSID(SSID−1)、などを受信する。
In S120, the application 121 transmits the acquired SSID to the communication target device using the NFC wireless communication 153. In the description example of the present embodiment, the SSID-2 of the second access point 502 is transmitted to the MFP 51 that is a communication target device. In step S121, the application 121 receives communication target device identification information from the communication target device using the NFC wireless communication 153. The communication target device identification information is information for identifying the communication target device. Examples of the communication target device identification information include the model number of the communication target device, the IP address of the communication target device, the SSID of the network including the communication target device, and the password for the SSID. The application 121 may receive coincidence determination information described later from the communication target device. In the example of this embodiment, the application 121 receives the model number (Ink-MFP1) of the MFP 51 that is the communication target device, the IP address (192.168.100.101), the SSID (SSID-1) of the network N1, and the like.

S122においてアプリケーション121は、通信対象デバイスが含まれているネットワークと、特定ネットワーク(すなわち、情報処理装置100が現在接続中のネットワーク)と、が一致するか否かを判断する。当該判断は、例えば、S121において通信対象デバイスから受信した、一致判断情報に基づいて行われても良い。一致判断情報は、通信対象デバイスが含まれているネットワークと、特定ネットワークと、が一致するか否かを示す情報である。一致判断情報は、通信対象デバイスによって生成される。例えば、通信対象デバイスは、特定ネットワークのSSID(当該SSIDは、S120において通信対象デバイスへ送信される)と、通信対象デバイスが属しているネットワークのSSID(当該SSIDは、例えば、通信対象デバイスの記憶部に記憶されている)と、が一致している場合に、両ネットワークが一致することを示す一致判断情報を生成してもよい。   In S122, the application 121 determines whether or not the network including the communication target device matches the specific network (that is, the network to which the information processing apparatus 100 is currently connected). The determination may be made based on the match determination information received from the communication target device in S121, for example. The match determination information is information indicating whether or not the network including the communication target device matches the specific network. The match determination information is generated by the communication target device. For example, the communication target device includes the SSID of a specific network (the SSID is transmitted to the communication target device in S120) and the SSID of the network to which the communication target device belongs (the SSID is stored in the communication target device, for example). Match determination information indicating that both networks match may be generated.

両ネットワークが一致する場合(S122:YES)には、情報処理装置100が、特定ネットワークを介して通信対象デバイスと通信を実行することができる場合であると判断される。よって、新たに通信経路を確立する処理を行う必要がないため、S139へ進む。一方、両ネットワークが一致しない場合(S122:NO)にはS123へ進む。   If the two networks match (S122: YES), it is determined that the information processing apparatus 100 can execute communication with the communication target device via the specific network. Therefore, since it is not necessary to perform processing for newly establishing a communication path, the process proceeds to S139. On the other hand, if the two networks do not match (S122: NO), the process proceeds to S123.

S123においてアプリケーション121は、指定SSIDを、NFC方式の無線通信153を介して通信対象デバイスから受信する。指定SSIDは、通信対象デバイスによって指定されたSSIDである。また指定SSIDは、無線LAN_I/F105を利用して通信対象デバイスと通信を実行するために用いるSSIDである。   In S123, the application 121 receives the designated SSID from the communication target device via the NFC wireless communication 153. The designated SSID is an SSID designated by the communication target device. The designated SSID is an SSID used to execute communication with the communication target device using the wireless LAN_I / F 105.

S124においてアプリケーション121は、通信対象デバイスから受信した指定SSIDが、ワンタイムSSIDであるか否かを判断する。ワンタイムSSIDは、発行されるたびに異なる文字列を有するSSIDである。また、ワンタイムSSIDは、前述したWFD方式の無線通信を行うためのSSIDである。指定SSIDがワンタイムSSIDであるか否かを見分ける方法の一例としては、指定SSIDの文字列中に、ワンタイムSSIDであることを示す所定の文字列が含まれているか否かを判断する方法が挙げられる。また、所定の文字列の一例としては、“onetime”などの文字列が挙げられる。   In S124, the application 121 determines whether or not the designated SSID received from the communication target device is a one-time SSID. The one-time SSID is an SSID having a different character string each time it is issued. The one-time SSID is an SSID for performing the above-described WFD wireless communication. As an example of a method for discriminating whether or not the designated SSID is a one-time SSID, a method for determining whether or not a predetermined character string indicating a one-time SSID is included in the character string of the designated SSID. Is mentioned. An example of the predetermined character string is a character string such as “onetime”.

指定SSIDがワンタイムSSIDではない場合(S124:NO)には、アクセスポイントを介したインフラストラクチャーモードの無線LAN通信を、通信対象デバイスが指定してきた場合であると判断できる。よってS126へ進み、受信した指定SSIDに基づき、インフラストラクチャーモードの無線LAN通信を実行する。   If the designated SSID is not a one-time SSID (S124: NO), it can be determined that the communication target device has designated infrastructure mode wireless LAN communication via the access point. Accordingly, the process proceeds to S126, and infrastructure mode wireless LAN communication is executed based on the received designated SSID.

一方、S124において、指定SSIDがワンタイムSSIDである場合(S124:YES)には、WFD方式の無線通信を、通信対象デバイスが指定してきた場合であると判断され、S128へ進む。S128においてアプリケーション121は、特定ネットワークが設定済みであるか否かを判断する。当該判断は、テーブルTB1にSSID603が記憶されているか否かを確認することによって行われても良い。特定ネットワークが未設定の場合(S128:NO)にはS136へ進み、設定済みである場合(S128:YES)にはS130へ進む。S130においてアプリケーション121は、特定ネットワークのSSID603を、RAM108に一時的に保存する。本実施形態の説明例では、ネットワークN2のSSID(すなわち、SSID−2)が、RAM108に一時的に保存される。   On the other hand, if the designated SSID is a one-time SSID in S124 (S124: YES), it is determined that the communication target device has designated WFD wireless communication, and the process proceeds to S128. In S128, the application 121 determines whether or not a specific network has been set. This determination may be made by confirming whether or not the SSID 603 is stored in the table TB1. If the specific network has not been set (S128: NO), the process proceeds to S136, and if the specific network has been set (S128: YES), the process proceeds to S130. In S130, the application 121 temporarily stores the SSID 603 of the specific network in the RAM 108. In the example of the present embodiment, the SSID of the network N2 (that is, SSID-2) is temporarily stored in the RAM 108.

S132においてアプリケーション121は、特定デバイスと通信対象デバイスが異なるか否かを判断する。当該判断は、テーブルTB1に記憶されている特定デバイス識別情報600と、S121で受信した通信対象デバイス識別情報と、が一致するか否かによって行われても良い。特定デバイスと通信対象デバイスが一致する場合(S132:NO)にはS136へ進み、異なる場合(S132:YES)にはS134へ進む。S134においてアプリケーション121は、特定デバイス識別情報600を、RAM108に一時的に保存する。   In S132, the application 121 determines whether the specific device is different from the communication target device. This determination may be made based on whether or not the specific device identification information 600 stored in the table TB1 matches the communication target device identification information received in S121. If the specific device matches the communication target device (S132: NO), the process proceeds to S136, and if different (S132: YES), the process proceeds to S134. In S <b> 134, the application 121 temporarily stores the specific device identification information 600 in the RAM 108.

S136においてアプリケーション121は、WFD方式の無線通信によって、通信対象デバイスと通信を実行する。具体的には、アプリケーション121は、S123で受信したワンタイムSSIDをOS124に提供することで、無線LAN_I/F105を用いたWFD方式の無線通信を、通信対象デバイスとの間で実行する。本実施形態の説明例では、通信対象デバイスであるMFP51との間で、WFD方式の無線通信155が実行される。   In step S136, the application 121 performs communication with the communication target device by WFD wireless communication. Specifically, the application 121 provides the OS 124 with the one-time SSID received in S123, and executes WFD wireless communication using the wireless LAN_I / F 105 with the communication target device. In the example of this embodiment, WFD wireless communication 155 is executed with the MFP 51 that is a communication target device.

S138においてアプリケーション121は、通信相手のネットワークの表示の変更を行う。本実施形態の説明例では、図5の領域R1に示す表示内容に代えて、図5の領域R2に示す表示内容が、領域R1の表示位置に表示される。これにより、通信相手のネットワークの表示が、通信対象デバイス(すなわち、MFP51)の型番に変更される。   In S138, the application 121 changes the display of the communication partner network. In the example of the present embodiment, the display content shown in the region R2 in FIG. 5 is displayed at the display position of the region R1 instead of the display content shown in the region R1 in FIG. As a result, the display of the network of the communication partner is changed to the model number of the communication target device (that is, the MFP 51).

S139においてアプリケーション121は、特定デバイスと通信対象デバイスが異なるか否かを判断する。判断方法は、前述したS132で用いられる方法と同様であるため、説明を省略する。両者が一致する場合(S139:NO)にはS150へ進み、両者が異なる場合(S139:YES)にはS140へ進む。S140においてアプリケーション121は、通信相手のデバイスの表示の変更を行う。本実施形態の説明例では、図5の領域R1に示す表示内容に代えて、図5の領域R2に示す表示内容が、領域R1の表示位置に表示される。これにより、通信相手のデバイスの表示が、通信対象デバイス(すなわち、MFP51)の型番に変更される。これにより、無線LAN_I/F105を用いて通信対象デバイスとの間の通信が行われている期間中において、通信対象デバイスを示す情報を、表示手段102に表示させることができる。   In S139, the application 121 determines whether the specific device and the communication target device are different. Since the determination method is the same as the method used in S132 described above, description thereof is omitted. If they match (S139: NO), the process proceeds to S150, and if they are different (S139: YES), the process proceeds to S140. In S140, the application 121 changes the display of the communication partner device. In the example of the present embodiment, the display content shown in the region R2 in FIG. 5 is displayed at the display position of the region R1 instead of the display content shown in the region R1 in FIG. As a result, the display of the communication partner device is changed to the model number of the communication target device (that is, the MFP 51). Thus, information indicating the communication target device can be displayed on the display unit 102 during a period in which communication with the communication target device is performed using the wireless LAN_I / F 105.

S150においてアプリケーション121は、無線LAN_I/F105を用いた通信によって、印刷データを通信対象デバイスへ送信する。無線LAN_I/F105を用いた通信は、NFC通信I/F112を用いた通信よりも高速であるため、印刷データをより短時間で送信することができる。S152においてアプリケーション121は、印刷データの送信が完了したか否かを判断する。印刷データの送信が完了していない場合(S152:NO)にはS152へ戻り、完了した場合(S152:YES)にはS154へ進む。   In S150, the application 121 transmits print data to the communication target device by communication using the wireless LAN_I / F 105. Since communication using the wireless LAN_I / F 105 is faster than communication using the NFC communication I / F 112, print data can be transmitted in a shorter time. In step S152, the application 121 determines whether transmission of print data has been completed. If transmission of the print data has not been completed (S152: NO), the process returns to S152, and if completed (S152: YES), the process proceeds to S154.

S154においてアプリケーション121は、特定ネットワークが設定されている状態で、ワンタイムSSID切り替え処理が実行されたか否かを判断する。ワンタイムSSID切り替え処理は、無線LAN_I/F105を用いた通信を実行するために使用するSSIDを、特定ネットワークのSSIDから、ワンタイムSSIDに切り替える処理である。当該判断は、特定ネットワークのSSIDが、RAM108に一時的に保存されているか否か(すなわち、S130の処理が行われたか否か)によって行うことができる。特定ネットワークが設定されている状態でワンタイムSSID切り替え処理が実行された場合(S154:YES)には、S156へ進む。   In S154, the application 121 determines whether or not the one-time SSID switching process has been executed in a state where the specific network is set. The one-time SSID switching process is a process for switching the SSID used for executing communication using the wireless LAN_I / F 105 from the SSID of the specific network to the one-time SSID. This determination can be made based on whether or not the SSID of the specific network is temporarily stored in the RAM 108 (that is, whether or not the processing of S130 has been performed). When the one-time SSID switching process is executed in a state where the specific network is set (S154: YES), the process proceeds to S156.

S156においてアプリケーション121は、復帰処理を実行する。復帰処理は、無線LAN_I/F105を用いた無線通信の通信先を、通信対象デバイスが含まれているネ
ットワークから、特定ネットワークに戻す処理である。具体的には、アプリケーション121は、RAM108に一時的に保存されている特定ネットワークのSSIDをOS124に提供することで、無線LAN_I/F105を用いた無線通信の通信先を、特定ネットワークに戻す。本実施形態の説明例では、無線LAN_I/F105で行われる無線通信が、無線通信155から無線通信152へ戻される。これにより、無線LAN_I/F105の通信先が、通信対象デバイス(すなわちMFP51)が含まれているネットワーク(すなわち第1アクセスポイント501を介さないMFP51とのネットワーク)から、特定ネットワーク(すなわちネットワークN2)に戻される。
In S156, the application 121 executes a return process. The return process is a process for returning the communication destination of the wireless communication using the wireless LAN_I / F 105 from the network including the communication target device to the specific network. Specifically, the application 121 returns the communication destination of the wireless communication using the wireless LAN_I / F 105 to the specific network by providing the OS 124 with the SSID of the specific network temporarily stored in the RAM 108. In the description example of the present embodiment, the wireless communication performed by the wireless LAN_I / F 105 is returned from the wireless communication 155 to the wireless communication 152. As a result, the communication destination of the wireless LAN_I / F 105 is changed from the network (that is, the network with the MFP 51 not via the first access point 501) including the communication target device (that is, the MFP 51) to the specific network (that is, the network N2). Returned.

S157においてアプリケーション121は、通信相手のネットワークの表示を元に戻す処理を行う。本実施形態の説明例では、図5の領域R1に示すように、通信相手のネットワークを示す情報として、特定ネットワーク(すなわち、ネットワークN2)に含まれる第2アクセスポイント502のSSID(すなわち、SSID−2)が表示される。   In step S157, the application 121 performs processing for restoring the network display of the communication partner. In the description example of the present embodiment, as shown in a region R1 in FIG. 5, the SSID (that is, SSID−) of the second access point 502 included in the specific network (that is, the network N2) is used as information indicating the communication partner network. 2) is displayed.

S158においてアプリケーション121は、通信デバイス切り替え処理が実行されたか否かを判断する。通信デバイス切り替え処理は、通信対象のデバイスを、特定デバイスから通信対象デバイスに切り替える処理である。当該判断は、特定デバイス識別情報600が、RAM108に一時的に保存されているか否か(すなわち、S134の処理が行われたか否か)によって行うことができる。通信デバイス切り替え処理が実行されている場合(S158:YES)には、S162へ進む。S162においてアプリケーション121は、通信相手のデバイスの表示を元に戻す処理を行う。本実施形態の説明例では、図5の領域R1に示すように、通信相手のデバイスを示す情報として、特定デバイス(すなわち、MFP52)の型番が表示される。そしてフローが終了される。   In S158, the application 121 determines whether or not the communication device switching process has been executed. The communication device switching process is a process of switching a communication target device from a specific device to a communication target device. This determination can be made based on whether or not the specific device identification information 600 is temporarily stored in the RAM 108 (that is, whether or not the process of S134 has been performed). When the communication device switching process is being executed (S158: YES), the process proceeds to S162. In step S162, the application 121 performs processing for restoring the display of the communication partner device. In the explanation example of the present embodiment, as shown in an area R1 in FIG. 5, the model number of the specific device (that is, the MFP 52) is displayed as information indicating the communication partner device. Then, the flow ends.

一方、通信デバイス切り替え処理が実行されていない場合(S158:NO)には、S160へ進む。S160においてアプリケーション121は、通信相手のデバイスが選択されていないことを示す情報を、表示手段102に表示させる。そしてフローが終了される。   On the other hand, when the communication device switching process has not been executed (S158: NO), the process proceeds to S160. In step S160, the application 121 causes the display unit 102 to display information indicating that the communication partner device is not selected. Then, the flow ends.

また、S154において、特定ネットワークが設定されている状態でワンタイムSSID切り替え処理が実行されていない、と判断された場合(S154:NO)には、S172へ進む。S172においてアプリケーション121は、ワンタイムSSID切り替え処理が実行されたか否かが判断される。当該判断は、通信対象デバイスから受信した指定SSIDが、ワンタイムSSIDであるか否か(すなわち、S124の判断結果)によって行うことができる。   In S154, when it is determined that the one-time SSID switching process is not executed in a state where the specific network is set (S154: NO), the process proceeds to S172. In S172, the application 121 determines whether or not the one-time SSID switching process has been executed. This determination can be made based on whether or not the designated SSID received from the communication target device is a one-time SSID (that is, the determination result of S124).

ワンタイムSSID切り替え処理が実行されている場合(S172:YES)には、S174へ進み、WFD方式の無線通信を切断する。また、ワンタイムSSID切り替え処理が実行されていない場合(S172:NO)には、通信対象デバイスから受信した指定SSIDが、インフラストラクチャーモードの無線通信用のSSIDであると判断され、S176へ進む。S176においてアプリケーション121は、指定SSIDを、特定ネットワークのSSID603として、テーブルTB1に記憶させる。そしてフローが終了される。   If the one-time SSID switching process is being executed (S172: YES), the process proceeds to S174, and the WFD wireless communication is disconnected. When the one-time SSID switching process is not executed (S172: NO), it is determined that the designated SSID received from the communication target device is the SSID for wireless communication in the infrastructure mode, and the process proceeds to S176. In S176, the application 121 stores the designated SSID in the table TB1 as the SSID 603 of the specific network. Then, the flow ends.

<効果>
以上説明した、アプリケーション121の効果を説明する。アプリケーション121では、無線LAN_I/F105を用いた通信の通信先として設定されている特定ネットワーク(例:ネットワークN2)と、通信対象デバイスが含まれているネットワーク(例:MFP51)と、が異なる場合(S122:NO)には、指定SSIDを、NFC方式の無線通信153を介して通信対象デバイスから受信することができる(S123)。そし
て、取得した指定SSIDに基づいて、無線LAN_I/F105を利用して、通信対象デバイス(例:MFP51)との間の通信(例:無線通信155)を実行することができる(S136)。そして、通信対象デバイスとの通信が終了(S152:Y)した後に、無線LAN_I/F105を利用した通信の通信先を、通信対象デバイスが含まれているネットワーク(例:MFP51)から、特定ネットワーク(例:ネットワークN2)に自動で戻すことができる(S156)。よって、無線LAN_I/F105を利用した通信対象デバイスとの通信が終了した後に、無線LAN_I/F105を利用した特定ネットワーク(例:ネットワークN2)との通信を開始する場合においても、無線LAN_I/F105を利用した通信の通信先の設定等を、ユーザが行う必要を無くすことができる。従って、ユーザの利便性を向上させることができる。
<Effect>
The effects of the application 121 described above will be described. In the application 121, when a specific network (for example, the network N2) set as a communication destination of communication using the wireless LAN_I / F 105 is different from a network (for example, the MFP 51) including the communication target device (for example, the MFP 51) ( In S122: NO), the designated SSID can be received from the communication target device via the NFC wireless communication 153 (S123). Based on the acquired designated SSID, communication (for example, wireless communication 155) with the communication target device (for example, MFP 51) can be executed using the wireless LAN_I / F 105 (S136). After the communication with the communication target device is completed (S152: Y), the communication destination using the wireless LAN_I / F 105 is changed from the network (for example, MFP 51) including the communication target device to the specific network (eg, MFP 51). Example: It is possible to automatically return to the network N2) (S156). Therefore, even when communication with a specific network (for example, network N2) using the wireless LAN_I / F 105 is started after communication with the communication target device using the wireless LAN_I / F 105 is completed, the wireless LAN_I / F 105 is used. It is possible to eliminate the need for the user to set the communication destination of the used communication. Therefore, user convenience can be improved.

指定SSIDがワンタイムSSIDである場合(S124:Y)には、指定SSIDに基づいて無線LAN_I/F105を利用して通信対象デバイス(例:MFP51)と確立した通信経路(例:無線通信155)は、通信の完了後に使えなくなる可能性が高い通信経路である。アプリケーション121では、通信対象デバイスとの通信が終了(S152:Y)した後に、無線LAN_I/F105を利用した通信の通信先を特定ネットワーク(例:ネットワークN2)に自動的に戻す(S156)ため、後に使えなくなる可能性が高い通信経路が、ユーザに使用され続けてしまう事態を回避することができる。   When the designated SSID is a one-time SSID (S124: Y), a communication path (eg, wireless communication 155) established with the communication target device (eg, MFP 51) using the wireless LAN_I / F 105 based on the designated SSID. Is a communication path that is highly likely to become unusable after communication is completed. The application 121 automatically returns the communication destination of communication using the wireless LAN_I / F 105 to the specific network (eg, network N2) after the communication with the communication target device ends (S152: Y) (S156). It is possible to avoid a situation in which a communication path that is likely to become unusable later continues to be used by the user.

アプリケーション121では、通信対象デバイスから受信した一致判断情報に基づいて、通信対象デバイスが含まれているネットワークと特定ネットワークとが一致するか否かを、判断することができる(S122)。これにより、両ネットワークの一致判断を通信対象デバイスに行わせることができるため、情報処理装置100の処理負荷を低減させることが可能となる。   The application 121 can determine whether or not the network including the communication target device matches the specific network based on the match determination information received from the communication target device (S122). As a result, it is possible to cause the communication target device to make a match between both networks, and thus it is possible to reduce the processing load on the information processing apparatus 100.

アプリケーション121では、特定ネットワークと異なるネットワークに接続することに応じて(S136)、通信相手のネットワークの表示や通信相手のデバイスの表示を変更することができる(S138、S140)。また、通信先を特定ネットワークに戻すことに応じて(S156)、通信相手のネットワークの表示や通信相手のデバイスの表示を元に戻すことができる(S157、S162)。これにより、情報処理装置100の通信対象を、ユーザにリアルタイムで報知することができるため、ユーザの利便性を向上させることができる。   The application 121 can change the display of the communication partner's network and the display of the communication partner's device in response to connecting to a network different from the specific network (S136) (S138, S140). Further, in response to returning the communication destination to the specific network (S156), the display of the communication partner network and the display of the communication partner device can be returned (S157, S162). Thereby, since the communication target of the information processing apparatus 100 can be notified to the user in real time, the convenience for the user can be improved.

特定ネットワークが設定されていない場合(S128:N)に、通信対象デバイスから受信した指定SSIDがワンタイムSSIDではない場合(S172:N)には、当該指定SSIDを、特定ネットワークのSSID603として、テーブルTB1に記憶させることができる(S176)。これにより、特定ネットワークが設定されていない場合に、特定ネットワークを自動的に設定することが可能となる。よって、特定ネットワークをユーザが選択して設定する、という手間を省くことが可能となる。   When the specific network is not set (S128: N) and the specified SSID received from the communication target device is not a one-time SSID (S172: N), the specified SSID is set as the SSID 603 of the specific network as a table. It can be stored in TB1 (S176). Thereby, when the specific network is not set, the specific network can be automatically set. Therefore, it is possible to save the user from selecting and setting a specific network.

アプリケーション121では、画像データの通信の完了を検出することによって(S152:Y)、無線LAN_I/F105を用いた通信が終了したことを検出することができる。これにより、無線LAN_I/F105を用いた通信の終了を判断するための情報などを、通信対象デバイスとの間で通信する必要を無くすことができるため、通信データ量を抑制することが可能となる。   The application 121 can detect the completion of communication using the wireless LAN_I / F 105 by detecting the completion of communication of image data (S152: Y). This eliminates the need to communicate information for determining the end of communication using the wireless LAN_I / F 105 with the communication target device, thereby reducing the amount of communication data. .

アプリケーション121は、通信対象デバイスから受信したワンタイムSSIDをOS124に提供することで、無線LAN_I/F105を用いたWFD方式の無線通信を、通信対象デバイスとの間で実行する(S136)。またアプリケーション121は、RAM108に一時的に保存されているSSIDをOS124に提供することで、無線LAN
_I/F105を用いた無線通信の通信先を、特定ネットワークに戻す(S156)。これにより、通信を実行する処理をOS124に実行させることができるため、アプリケーション121によって実行する処理量を抑制することや、アプリケーション121の容量を抑制することが可能となる。
The application 121 provides the OS 124 with the one-time SSID received from the communication target device, thereby executing WFD wireless communication using the wireless LAN_I / F 105 with the communication target device (S136). In addition, the application 121 provides the OS 124 with the SSID temporarily stored in the RAM 108, so that the wireless LAN
The communication destination of the wireless communication using the _I / F 105 is returned to the specific network (S156). Accordingly, since the OS 124 can execute processing for performing communication, it is possible to suppress the processing amount executed by the application 121 and to suppress the capacity of the application 121.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。以下に変形例を説明する。   Specific examples of the present invention have been described in detail above, but these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above. A modification will be described below.

<変形例>
通信対象デバイスが含まれているネットワークと、特定ネットワークとの一致判断は、通信対象デバイスで実行される形態に限られない。図6に、一致判断をアプリケーション121で実行する場合のフローの一部を示す。報知情報をOS124から受信すると(S114:YES)、S115aへ進む。S115aにおいてアプリケーション121は、通信対象デバイスが含まれているネットワークを識別するSSIDを、通信対象デバイスから受信する。本実施形態の説明例では、通信対象デバイスであるMFP51が含まれているネットワークN1のSSID(すなわちSSID−1)が受信される。S117aにおいてアプリケーション121は、通信対象デバイスが含まれているネットワークと、特定ネットワークと、が一致するか否かを判断する。当該判断は、特定ネットワークのSSID(当該SSIDは、テーブルTB1から読み出される)と、通信対象デバイスが属しているネットワークのSSID(当該SSIDは、S115aにおいて取得される)と、が一致するか否かによって行われてもよい。両ネットワークが一致する場合(S117a:YES)にはS139へ進み、両ネットワークが一致しない場合(S117a:NO)にはS118aへ進む。S118aにおいてアプリケーション121は、指定SSIDを、NFC方式の無線通信153を介して通信対象デバイスから受信する。これにより、一致判断をアプリケーション121で実行することが可能となる。
<Modification>
The determination of matching between the network including the communication target device and the specific network is not limited to the form executed by the communication target device. FIG. 6 shows a part of the flow in the case where the matching determination is executed by the application 121. When the notification information is received from the OS 124 (S114: YES), the process proceeds to S115a. In S115a, the application 121 receives an SSID for identifying a network including the communication target device from the communication target device. In the example of this embodiment, the SSID (that is, SSID-1) of the network N1 that includes the MFP 51 that is the communication target device is received. In S117a, the application 121 determines whether or not the network including the communication target device matches the specific network. The determination is whether or not the SSID of the specific network (the SSID is read from the table TB1) and the SSID of the network to which the communication target device belongs (the SSID is acquired in S115a). May be performed. If both networks match (S117a: YES), the process proceeds to S139, and if both networks do not match (S117a: NO), the process proceeds to S118a. In S118a, the application 121 receives the designated SSID from the communication target device via the NFC wireless communication 153. As a result, it is possible for the application 121 to execute the matching determination.

通信対象デバイスとの通信が終了したか否かの判断は、印刷データの送信が完了したか否かをS152において監視することによって行う形態に限られない。例えば、通信対象デバイスとの間の通信が完了したことを示す通信完了報知情報を、無線LAN_I/F105を利用した通信によって、通信対象デバイスから受信することに応じて、通信の終了を検出してもよい。これにより、無線LAN_I/F105を利用した通信対象デバイスとの間の通信の終了を、確実に検出することができる。   The determination as to whether or not the communication with the communication target device has ended is not limited to a mode in which it is determined in S152 whether or not the transmission of the print data has been completed. For example, the communication completion notification information indicating that the communication with the communication target device has been completed is received from the communication target device by communication using the wireless LAN_I / F 105, and the end of communication is detected. Also good. Accordingly, it is possible to reliably detect the end of communication with the communication target device using the wireless LAN_I / F 105.

アプリケーション121が、情報処理装置100が現在接続中のネットワークのSSIDをOS124から取得するタイミングは、S116のタイミングに限られない。例えば、印刷プレビューを表示するタイミングや、アプリケーション121が起動されるタイミングで取得してもよい。   The timing at which the application 121 acquires the SSID of the network to which the information processing apparatus 100 is currently connected from the OS 124 is not limited to the timing at S116. For example, it may be acquired at the timing when the print preview is displayed or when the application 121 is activated.

S122やS124の処理は省略することができる。この場合、指定SSIDは、常にワンタイムSSIDとして扱われることになる。よって、通信対象デバイスとの通信には、常にWFD方式の無線通信が用いられることとなる。   The processing of S122 and S124 can be omitted. In this case, the designated SSID is always handled as a one-time SSID. Therefore, WFD wireless communication is always used for communication with the communication target device.

本実施形態では、ユーザが情報処理装置100をかざしてNFC通信を実行したデバイスを、通信対象デバイスとして選択し、当該通信対象デバイスに印刷処理を実行させる形態を説明した。このようにNFC通信を用いて印刷処理を実行する場合には、NFC通信を用いた印刷処理であることをユーザに認識させるための情報を、表示手段102に表示させるとしてもよい。例えば、情報処理装置100をかざしたデバイスで印刷実行中であることを示す文字列を、表示手段102に表示するとしてもよい。   In the present embodiment, a mode has been described in which a user selects a device that has performed NFC communication while holding the information processing apparatus 100 as a communication target device, and causes the communication target device to execute print processing. As described above, when the printing process is executed using the NFC communication, the display unit 102 may display information for allowing the user to recognize that the printing process uses the NFC communication. For example, a character string indicating that printing is being performed by a device that holds the information processing apparatus 100 may be displayed on the display unit 102.

本実施形態で用いたIPアドレスの値やSSIDの文字列は一例であり、様々な値や文字列を用いることが可能である。   The IP address values and SSID character strings used in the present embodiment are examples, and various values and character strings can be used.

第1アクセスポイント501とMFP51との間の通信や、第2アクセスポイント502とMFP52との間の通信は、無線または有線のどちらで行ってもよい。   Communication between the first access point 501 and the MFP 51 and communication between the second access point 502 and the MFP 52 may be performed either wirelessly or by wire.

図5の表示手段102の表示例は一例である。表示手段102には、様々な表示形態の画像が表示されるとしてもよい。   The display example of the display unit 102 in FIG. 5 is an example. The display unit 102 may display images of various display forms.

型番601は、デバイスを区別することができるものであれば、どのようなものでもよく、例えば、番号を含まないもの、記号だけで構成されるものでもよい。また、デバイス名などのデバイスを区別することができる名称を、型番の代わりに用いてもよい。   The model number 601 may be anything as long as it can distinguish between devices. For example, the model number 601 may not include a number, or may include only symbols. Also, a name such as a device name that can distinguish the device may be used instead of the model number.

デバイスを識別する情報はIPアドレス602に限られず、URLやMACアドレスを用いる構成としてもよい。   The information for identifying the device is not limited to the IP address 602, and a configuration using a URL or a MAC address may be used.

情報処理装置100は、メモリカードなどの外部メモリを接続可能な構成としてもよい。そして、記憶部109に代えて、外部メモリへ各種データを記憶する構成としてもよい。   The information processing apparatus 100 may be configured to connect an external memory such as a memory card. In place of the storage unit 109, various data may be stored in an external memory.

アプリケーション121は、情報処理プログラムの一例である。MFP51および52は、デバイスの一例である。NFC方式は、第1の通信方式の一例である。無線LAN方式およびWFD方式は、第2の通信方式の一例である。NFC通信I/F112は、第1種のインターフェイスの一例である。無線LAN_I/F105は、第2種のインターフェイスの一例である。S114を実行するCPUは、第1通信手段の一例である。特定ネットワークは、第2ネットワークの一例である。指定SSIDは、第1識別情報の一例である。S123、S136、S126を実行するCPUは、第2通信手段の一例である。S150を実行するCPUは、第3通信手段の一例である。S156を実行するCPUは、第4通信手段の一例である。表示手段102は、表示部の一例である。   The application 121 is an example of an information processing program. The MFPs 51 and 52 are examples of devices. The NFC method is an example of a first communication method. The wireless LAN method and the WFD method are examples of the second communication method. The NFC communication I / F 112 is an example of a first type interface. The wireless LAN_I / F 105 is an example of a second type interface. The CPU that executes S114 is an example of a first communication unit. The specific network is an example of a second network. The designated SSID is an example of first identification information. The CPU that executes S123, S136, and S126 is an example of a second communication unit. The CPU that executes S150 is an example of third communication means. The CPU that executes S156 is an example of a fourth communication unit. The display unit 102 is an example of a display unit.

なお、各プログラムは一つのプログラムモジュールから構成されるものであってもよいし、複数のプログラムモジュールから構成されるものであってもよい。また、各一例は置換可能な他の構成であってもよく、本発明の範疇である。画像処理プログラム(アプリケーション121など)に基づく処理を実行するコンピュータ(CPU106など)であってもよいし、オペレーティングシステムや他のアプリケーションなど、画像処理プログラム以外のプログラムに基づく処理を実行するコンピュータであってもよいし、コンピュータの指示に従って動作するハード構成(タッチパネル103など)であってもよいし、コンピュータとハード構成とが連動した構成であってもよい。もちろん、複数のプログラムに基づく処理を連動させて処理を実行するコンピュータであってもよいし、複数のプログラムに基づく処理を連動させて処理を実行するコンピュータの指示に従って動作するハード構成であってもよい。   Each program may be composed of one program module or may be composed of a plurality of program modules. In addition, each example may have another replaceable configuration and is within the scope of the present invention. It may be a computer (such as the CPU 106) that executes processing based on an image processing program (such as the application 121), or a computer that executes processing based on a program other than the image processing program, such as an operating system or other applications. Alternatively, it may be a hardware configuration (such as the touch panel 103) that operates according to instructions from the computer, or may be a configuration in which the computer and the hardware configuration are linked. Of course, it may be a computer that executes processes by linking processes based on a plurality of programs, or may have a hardware configuration that operates according to instructions from a computer that executes processes by linking processes based on a plurality of programs. Good.

51および52:MFP、100:情報処理装置、102:表示手段、105:無線LAN_I/F、109:記憶部、112:NFC通信I/F、121:プリント&スキャンアプリケーション
51 and 52: MFP, 100: information processing apparatus, 102: display means, 105: wireless LAN_I / F, 109: storage unit, 112: NFC communication I / F, 121: print & scan application

Claims (17)

情報処理装置に読込まれる情報処理プログラムであって、
前記情報処理装置は、
第1の通信方式により、デバイスと無線による通信を実行するための第1種のインターフェイスと、
第2の通信方式により、ネットワークまたはデバイスと無線による通信を実行するための第2種のインターフェイスと、を備えており、
前記情報処理プログラムは、
前記情報処理装置が通信を行う対象のデバイスである通信対象デバイスと、前記第1種のインターフェイスを用いて通信を実行する第1通信手段と、
前記通信対象デバイスが含まれている第1ネットワークと、前記情報処理装置の前記第2種のインターフェイスを利用した通信の通信先として設定されている第2ネットワークと、が異なる場合に、前記第2種のインターフェイスを利用して前記通信対象デバイスと通信を実行するために用いる第1識別情報を前記第1通信手段によって取得し、取得した前記第1識別情報に基づいて前記第2種のインターフェイスを利用して前記通信対象デバイスとの間の通信を実行する第2通信手段と、
前記第1ネットワークと前記第2ネットワークとが同一である場合に、前記第2種のインターフェイスを利用して前記第2ネットワークと通信することによって、前記通信対象デバイスとの間の通信を実行する第3通信手段と、
前記第2通信手段による前記第1識別情報に基づいた通信の終了後に、前記情報処理装置の前記第2種のインターフェイスを利用した通信の通信先を前記第2ネットワークに戻す復帰処理を行う第4通信手段と、
して前記情報処理装置を機能させることを特徴とする情報処理プログラム。
An information processing program read into an information processing device,
The information processing apparatus includes:
A first type interface for performing wireless communication with the device by the first communication method;
A second type of interface for performing wireless communication with the network or device by the second communication method, and
The information processing program includes:
A communication target device that is a target device with which the information processing apparatus communicates, and a first communication unit that performs communication using the first type interface;
When the first network including the communication target device is different from the second network set as a communication destination of communication using the second type interface of the information processing apparatus, the second network First identification information used for performing communication with the communication target device using a kind of interface is obtained by the first communication means, and the second kind of interface is obtained based on the obtained first identification information. Second communication means for performing communication with the communication target device by using,
When the first network and the second network are the same, a communication with the communication target device is performed by communicating with the second network using the second type interface. 3 communication means;
After completion of communication based on the first identification information by the second communication means, fourth processing is performed to return the communication destination of communication using the second type interface of the information processing apparatus to the second network. Communication means;
An information processing program for causing the information processing apparatus to function.
前記第4通信手段は、前記第1識別情報が、発行されるたびに異なる文字列を有する情報である場合に、前記復帰処理を行うことを特徴とする請求項1に記載の情報処理プログラム。   The information processing program according to claim 1, wherein the fourth communication unit performs the return processing when the first identification information is information having a different character string each time it is issued. 前記第1通信手段は、前記第2ネットワークを識別する第2識別情報を、前記第1通信手段を利用した通信によって前記通信対象デバイスへさらに送信し、
前記第1ネットワークと前記第2ネットワークとが異なることを示す情報を前記第1種のインターフェイスを利用して前記通信対象デバイスから受信することに応じて、前記第2通信手段は、前記第1ネットワークと前記第2ネットワークとが異なると判断することを特徴とする請求項1または2に記載の情報処理プログラム。
The first communication means further transmits second identification information for identifying the second network to the communication target device by communication using the first communication means,
In response to receiving information indicating that the first network and the second network are different from the communication target device using the first type interface, the second communication unit is configured to receive the first network. 3. The information processing program according to claim 1, wherein it is determined that the second network is different from the second network.
前記第1通信手段は、前記第1ネットワークを識別する第3識別情報を前記通信対象デバイスからさらに取得し、
前記第2通信手段は、前記第3識別情報と、前記第2ネットワークを識別する第2識別情報とが異なる場合に、前記第1ネットワークと前記第2ネットワークとが異なると判断することを特徴とする請求項1または2に記載の情報処理プログラム。
The first communication means further acquires third identification information for identifying the first network from the communication target device,
The second communication means determines that the first network and the second network are different when the third identification information is different from the second identification information for identifying the second network. The information processing program according to claim 1 or 2.
前記第1通信手段は、前記第3識別情報と前記第2識別情報とが異なる場合に、前記第1種のインターフェイスを利用して前記通信対象デバイスから前記第1識別情報を取得し、
前記第1識別情報は、発行されるたびに異なる文字列を有する情報であることを特徴とする請求項4に記載の情報処理プログラム。
The first communication means obtains the first identification information from the communication target device using the first type interface when the third identification information and the second identification information are different,
The information processing program according to claim 4, wherein the first identification information is information having a different character string each time it is issued.
前記第2通信手段は、前記第1識別情報に基づいて前記第2種のインターフェイスを利用して前記通信対象デバイスと通信することに応じて、前記通信対象デバイスと通信する
ことを示す情報を前記情報処理装置が備える表示部に表示させ、
前記第4通信手段は、前記復帰処理を行うことに応じて、前記第2ネットワークと通信することを示す情報を前記表示部に表示させることを特徴とする請求項1〜5の何れか1項に記載の情報処理プログラム。
In response to communicating with the communication target device using the second type interface based on the first identification information, the second communication means transmits information indicating communication with the communication target device. Display on the display section of the information processing device,
The said 4th communication means displays the information which shows communicating with the said 2nd network on the said display part according to performing the said return process, The any one of Claims 1-5 characterized by the above-mentioned. Information processing program described in 1.
前記情報処理装置は、記憶部と表示部とをさらに備えており、
前記記憶部は、前記情報処理装置の通信先として複数のデバイスのうちから予め選択されたデバイスである特定デバイスを識別する特定デバイス識別情報を記憶しており、
前記第1通信手段は、前記第1ネットワークに含まれている前記通信対象デバイスを識別する通信対象デバイス識別情報を、前記第1種のインターフェイスを利用した通信によって前記通信対象デバイスからさらに取得し、
前記特定デバイスと前記通信対象デバイスとが異なるデバイスである場合には、前記第2通信手段によって前記通信対象デバイスとの間の通信が行われている期間中に通信対象デバイス識別情報を前記表示部に表示させ、前記第2通信手段による通信が終了することに応じて前記特定デバイス識別情報を前記表示部に表示させる表示制御手段として前記情報処理装置をさらに機能させることを特徴とする請求項1〜6の何れか1項に記載の情報処理プログラム。
The information processing apparatus further includes a storage unit and a display unit,
The storage unit stores specific device identification information for identifying a specific device that is a device selected in advance from a plurality of devices as a communication destination of the information processing apparatus,
The first communication means further acquires communication target device identification information for identifying the communication target device included in the first network from the communication target device by communication using the first type interface,
When the specific device and the communication target device are different devices, the display unit displays the communication target device identification information during a period in which communication with the communication target device is performed by the second communication unit. The information processing apparatus is further caused to function as display control means for displaying the specific device identification information on the display unit in response to termination of communication by the second communication means. Information processing program given in any 1 paragraph of -6.
前記情報処理装置は、前記情報処理装置の前記第2種のインターフェイスを利用した通信の通信先として前記第2ネットワークが設定されることに応じて、前記前記第2ネットワークを識別する第2識別情報を記憶する記憶部をさらに備えており、
前記第2通信手段は、前記記憶部が前記第2識別情報を記憶していない場合に、前記第1通信手段によって前記第1識別情報が取得された場合には、当該第1識別情報を前記第2識別情報として前記記憶部に記憶させることを特徴とする請求項1〜7の何れか1項に記載の情報処理プログラム。
The information processing apparatus, second identification information for identifying the second network in response to the second network being set as a communication destination of communication using the second type interface of the information processing apparatus Is further provided with a storage unit for storing
In the case where the first identification information is acquired by the first communication unit when the storage unit does not store the second identification information, the second communication unit stores the first identification information in the first communication unit. The information processing program according to any one of claims 1 to 7, wherein the information is stored in the storage unit as second identification information.
前記第2通信手段は、前記通信対象デバイスとの間で、画像処理に用いる画像データの通信を実行しており、
前記第4通信手段は、前記画像データの通信が完了することに応じて、前記第2通信手段による通信の終了を検出することを特徴とする請求項1〜8の何れか1項に記載の情報処理プログラム。
The second communication means executes communication of image data used for image processing with the communication target device,
The said 4th communication means detects the completion | finish of communication by a said 2nd communication means, when communication of the said image data is completed, The any one of Claims 1-8 characterized by the above-mentioned. Information processing program.
前記第4通信手段は、前記通信対象デバイスとの間の通信が完了したことを示す報知情報を、前記第2種のインターフェイスを利用した通信によって前記通信対象デバイスから受信することに応じて、前記第2通信手段による通信の終了を検出することを特徴とする請求項1〜8の何れか1項に記載の情報処理プログラム。   The fourth communication means is configured to receive notification information indicating that communication with the communication target device is completed from the communication target device by communication using the second type interface. The information processing program according to any one of claims 1 to 8, wherein the end of communication by the second communication means is detected. 前記情報処理装置は、前記情報処理プログラムおよびオペレーティングシステムプログラムを記憶する記憶部をさらに備えており、
前記オペレーティングシステムプログラムは、
識別情報によって識別されるネットワークとの間での通信を実行する通信制御手段として前記情報処理装置を機能させ、
前記第2通信手段は、前記第1通信手段で取得した前記第1識別情報を前記通信制御手段に提供することで、前記第2種のインターフェイスを利用した前記通信対象デバイスとの通信を前記通信制御手段に実行させ、
前記第4通信手段は、前記第2ネットワークを識別する第2識別情報を前記通信制御手段に提供することで、前記第2種のインターフェイスを利用した前記第2ネットワークとの通信を前記通信制御手段に実行させることを特徴とする請求項1〜10の何れか1項に記載の情報処理プログラム。
The information processing apparatus further includes a storage unit that stores the information processing program and an operating system program,
The operating system program is
Causing the information processing apparatus to function as communication control means for executing communication with the network identified by the identification information;
The second communication unit provides the communication control unit with the first identification information acquired by the first communication unit, thereby communicating with the communication target device using the second type interface. Let the control means
The fourth communication means provides the communication control means with second identification information for identifying the second network, thereby communicating with the second network using the second type interface. The information processing program according to any one of claims 1 to 10, wherein the information processing program is executed.
前記第1種のインターフェイスは近距離無線通信のためのインターフェイスであり、
前記第2種のインターフェイスは無線LAN通信のためのインターフェイスであり、
前記第1識別情報はSSID(Service Set Identifier)を含んでいることを特徴とする請求項1〜11の何れか1項に記載の情報処理プログラム。
The first type interface is an interface for short-range wireless communication,
The second type interface is an interface for wireless LAN communication,
The information processing program according to any one of claims 1 to 11, wherein the first identification information includes an SSID (Service Set Identifier).
前記第4通信手段は、前記第1通信手段で取得した前記第1識別情報に、予め定められた所定の文字列が含まれているか否かを検出することで、前記第1識別情報が、発行されるたびに異なる文字列を有する情報であるか否かを判断することを特徴とする請求項2に記載の情報処理プログラム。   The fourth communication means detects whether the first identification information acquired by the first communication means includes a predetermined character string, so that the first identification information is The information processing program according to claim 2, wherein it is determined whether or not the information has a different character string every time it is issued. 前記第2通信手段は、
前記第1ネットワークと前記第2ネットワークとが異なる場合に、前記第2種のインターフェイスを利用して前記通信対象デバイスと直接に通信を実行することを特徴とする請求項1〜13の何れか1項に記載の情報処理プログラム。
The second communication means includes
14. The communication device according to claim 1, wherein when the first network and the second network are different, communication is performed directly with the communication target device using the second type interface. Information processing program according to item.
前記第2通信手段は、前記第1ネットワークと前記第2ネットワークとが異なる場合に、前記第2種のインターフェイスを利用して前記第1ネットワークと通信することによって、前記通信対象デバイスと通信を実行することを特徴とする請求項1〜13の何れか1項に記載の情報処理プログラム。   The second communication means communicates with the communication target device by communicating with the first network using the second type interface when the first network and the second network are different. The information processing program according to claim 1, wherein the information processing program is executed. 第1の通信方式により、デバイスと無線による通信を実行するための第1種のインターフェイスと、
第2の通信方式により、ネットワークまたはデバイスと無線による通信を実行するための第2種のインターフェイスと、
前記情報処理装置が通信を行う対象のデバイスである通信対象デバイスと、前記第1種のインターフェイスを用いて通信を実行する第1通信手段と、
前記通信対象デバイスが含まれている第1ネットワークと、前記情報処理装置の前記第2種のインターフェイスを利用した通信の通信先として設定されている第2ネットワークと、が異なる場合に、前記第2種のインターフェイスを利用して前記通信対象デバイスと通信を実行するために用いる第1識別情報を前記第1通信手段によって取得し、取得した前記第1識別情報に基づいて前記第2種のインターフェイスを利用して前記通信対象デバイスとの間の通信を実行する第2通信手段と、
前記第1ネットワークと前記第2ネットワークとが同一である場合に、前記第2種のインターフェイスを利用して前記第2ネットワークと通信することによって、前記通信対象デバイスとの間の通信を実行する第3通信手段と、
前記第2通信手段による前記第1識別情報に基づいた通信の終了後に、前記情報処理装置の前記第2種のインターフェイスを利用した通信の通信先を前記第2ネットワークに戻す復帰処理を行う第4通信手段と、
を備えることを特徴とする情報処理装置。
A first type interface for performing wireless communication with the device by the first communication method;
A second type of interface for performing wireless communication with a network or device according to a second communication method;
A communication target device that is a target device with which the information processing apparatus communicates, and a first communication unit that performs communication using the first type interface;
When the first network including the communication target device is different from the second network set as a communication destination of communication using the second type interface of the information processing apparatus, the second network First identification information used for performing communication with the communication target device using a kind of interface is obtained by the first communication means, and the second kind of interface is obtained based on the obtained first identification information. Second communication means for performing communication with the communication target device by using,
When the first network and the second network are the same, a communication with the communication target device is performed by communicating with the second network using the second type interface. 3 communication means;
After completion of communication based on the first identification information by the second communication means, fourth processing is performed to return the communication destination of communication using the second type interface of the information processing apparatus to the second network. Communication means;
An information processing apparatus comprising:
第1の通信方式により、デバイスと無線による通信を実行するための第1種のインターフェイスと、
第2の通信方式により、ネットワークまたはデバイスと無線による通信を実行するための第2種のインターフェイスと、を備える情報処理装置の制御方法であって、
前記情報処理装置が通信を行う対象のデバイスである通信対象デバイスと、前記第1種のインターフェイスを用いて通信を実行する第1通信ステップと、
前記通信対象デバイスが含まれている第1ネットワークと、前記情報処理装置の前記第2種のインターフェイスを利用した通信の通信先として設定されている第2ネットワークと、が異なる場合に、前記第2種のインターフェイスを利用して前記通信対象デバイスと通信を実行するために用いる第1識別情報を前記第1通信ステップによって取得し、取得
した前記第1識別情報に基づいて前記第2種のインターフェイスを利用して前記通信対象デバイスとの間の通信を実行する第2通信ステップと、
前記第1ネットワークと前記第2ネットワークとが同一である場合に、前記第2種のインターフェイスを利用して前記第2ネットワークと通信することによって、前記通信対象デバイスとの間の通信を実行する第3通信ステップと、
前記第2通信ステップによる前記第1識別情報に基づいた通信の終了後に、前記情報処理装置の前記第2種のインターフェイスを利用した通信の通信先を前記第2ネットワークに戻す復帰処理を行う第4通信ステップと、
を備えることを特徴とする情報処理装置の制御方法。
A first type interface for performing wireless communication with the device by the first communication method;
A control method for an information processing apparatus comprising: a second type interface for executing wireless communication with a network or device by a second communication method;
A communication target device that is a target device with which the information processing apparatus communicates, and a first communication step of performing communication using the first type interface;
When the first network including the communication target device is different from the second network set as a communication destination of communication using the second type interface of the information processing apparatus, the second network First identification information used for performing communication with the communication target device using a type of interface is acquired in the first communication step, and the second type of interface is determined based on the acquired first identification information. A second communication step of performing communication with the communication target device by using,
When the first network and the second network are the same, a communication with the communication target device is performed by communicating with the second network using the second type interface. 3 communication steps;
After completion of communication based on the first identification information in the second communication step, a return process is performed to return the communication destination of communication using the second type interface of the information processing apparatus to the second network. A communication step;
An information processing apparatus control method comprising:
JP2017176490A 2017-09-14 2017-09-14 Information processing program, information processing apparatus, and information processing apparatus control method Active JP6406405B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017176490A JP6406405B2 (en) 2017-09-14 2017-09-14 Information processing program, information processing apparatus, and information processing apparatus control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017176490A JP6406405B2 (en) 2017-09-14 2017-09-14 Information processing program, information processing apparatus, and information processing apparatus control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016159888A Division JP6210139B2 (en) 2016-08-17 2016-08-17 Information processing program, information processing apparatus, and information processing apparatus control method

Publications (2)

Publication Number Publication Date
JP2017216750A true JP2017216750A (en) 2017-12-07
JP6406405B2 JP6406405B2 (en) 2018-10-17

Family

ID=60575930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017176490A Active JP6406405B2 (en) 2017-09-14 2017-09-14 Information processing program, information processing apparatus, and information processing apparatus control method

Country Status (1)

Country Link
JP (1) JP6406405B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006303924A (en) * 2005-04-20 2006-11-02 Canon Inc Radio communication apparatus and communication system, and its radio communication setting method
JP2010154331A (en) * 2008-12-25 2010-07-08 Sony Corp Information processor, communication control method, program, and information processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006303924A (en) * 2005-04-20 2006-11-02 Canon Inc Radio communication apparatus and communication system, and its radio communication setting method
JP2010154331A (en) * 2008-12-25 2010-07-08 Sony Corp Information processor, communication control method, program, and information processing system

Also Published As

Publication number Publication date
JP6406405B2 (en) 2018-10-17

Similar Documents

Publication Publication Date Title
JP5991193B2 (en) Information processing program, information processing apparatus, and information processing apparatus control method
US9961150B2 (en) Non-transitory computer-readable storage medium storing instructions for information processing device, information processing device, and method for controlling information processing device
US11917479B2 (en) Information processing apparatus, communication terminal, and non-transitory storage medium storing instructions executable by information processing apparatus
JP5994627B2 (en) Information processing program, information processing apparatus, and information processing apparatus control method
JP6357918B2 (en) Information processing program, information processing apparatus, and information processing apparatus control method
JP2021192559A (en) Communication apparatus
US11690138B2 (en) Non-transitory computer-readable storage medium for receiving device identifying information and selecting a target device from at least one function executing device
JP6634931B2 (en) Communication device
JP6210139B2 (en) Information processing program, information processing apparatus, and information processing apparatus control method
JP6406405B2 (en) Information processing program, information processing apparatus, and information processing apparatus control method
JP6693173B2 (en) Computer program and terminal device
JP2016163122A (en) Image processing apparatus and control program
JP6536720B2 (en) INFORMATION PROCESSING PROGRAM, INFORMATION PROCESSING DEVICE, AND CONTROL METHOD FOR INFORMATION PROCESSING DEVICE
JP2020187782A (en) Information processing program, information processing device, and method for controlling information processing device
JP2019164832A (en) Information processing program, information processing device, and method for controlling information processing device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171013

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171013

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180903

R150 Certificate of patent or registration of utility model

Ref document number: 6406405

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150