JP2024084450A - Information processing device, method, program, and system - Google Patents

Information processing device, method, program, and system Download PDF

Info

Publication number
JP2024084450A
JP2024084450A JP2022198732A JP2022198732A JP2024084450A JP 2024084450 A JP2024084450 A JP 2024084450A JP 2022198732 A JP2022198732 A JP 2022198732A JP 2022198732 A JP2022198732 A JP 2022198732A JP 2024084450 A JP2024084450 A JP 2024084450A
Authority
JP
Japan
Prior art keywords
function
code
communication device
display
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.)
Pending
Application number
JP2022198732A
Other languages
Japanese (ja)
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 JP2022198732A priority Critical patent/JP2024084450A/en
Publication of JP2024084450A publication Critical patent/JP2024084450A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Figure 2024084450000001

【課題】通信装置で表示されているコード情報が情報処理装置で指示された機能と対応していない場合においても、ユーザの利便性を向上させる情報処理装置を提供する。
【解決手段】受付手段により第1の機能の実行の指示を受け付けた場合、通信装置に表示されているコードの撮影を行うよう促す第1メッセージ画面を表示部に表示させる。第1メッセージ画面が表示された後、コードの撮影により当該コードの情報を取得する。取得されたコードの情報が第2の機能に対応している場合、ユーザの指示に基づいて、取得されたコードの情報に対応した第2の機能の実行に伴う画面を表示部に表示させる第1表示制御、もしくは、第1の機能に対応したコードを通信装置に表示させるよう促す第2メッセージ画面を表示部に表示させる第2表示制御を行う。
【選択図】図12

Figure 2024084450000001

An information processing device that improves user convenience even when code information displayed on a communication device does not correspond to a function instructed on the information processing device.
[Solution] When an instruction to execute a first function is received by a receiving means, a first message screen prompting the user to photograph a code displayed on the communication device is displayed on the display unit. After the first message screen is displayed, information on the code is acquired by photographing the code. If the acquired code information corresponds to a second function, first display control is performed based on a user's instruction to cause the display unit to display a screen associated with the execution of the second function corresponding to the acquired code information, or second display control is performed to cause the display unit to display a second message screen prompting the user to display a code corresponding to the first function on the communication device.
[Selected figure] Figure 12

Description

本発明は、情報処理装置、方法、プログラム、システムに関する。 The present invention relates to an information processing device, method, program, and system.

PC(パーソナルコンピュータ)やモバイル端末等の情報処理装置が、プリンタ等の画像形成装置に外部装置のアクセスポイントに関する情報を送信し、当該画像形成装置と当該外部装置とを接続させる技術が知られている。特許文献1には、DPP方式に従って当該画像形成装置と当該情報処理装置とを接続させる方法が記載されている。DPP方式の1つの方法として、画像形成装置に表示されるQRコードを情報処理装置が撮影することで、当該画像形成装置と当該情報処理装置とを接続させることができる。また、無線接続が可能な情報が含まれているQRコードを使用し、情報処理装置と通信装置を無線接続する方法が知られている(特許文献2)。 There is a known technology in which an information processing device such as a PC (personal computer) or a mobile terminal transmits information about an access point of an external device to an image forming device such as a printer, thereby connecting the image forming device to the external device. Patent Document 1 describes a method for connecting the image forming device to the information processing device according to the DPP method. In one method of the DPP method, the image forming device and the information processing device can be connected by having the information processing device photograph a QR code displayed on the image forming device. In addition, a method is known in which a QR code containing information enabling a wireless connection is used to wirelessly connect an information processing device and a communication device (Patent Document 2).

特開2020-113955号公報JP 2020-113955 A 特開2017-34319号公報JP 2017-34319 A

通信装置で表示されたコード情報を情報処理装置が撮影することにより当該コード情報に対応した機能を実行する構成において、通信装置で表示されているコード情報が情報処理装置で指示された機能と対応していない場合があり得る。 In a configuration in which an information processing device photographs code information displayed on a communication device to execute a function corresponding to the code information, there may be cases in which the code information displayed on the communication device does not correspond to the function instructed on the information processing device.

本発明は、通信装置で表示されているコード情報が情報処理装置で指示された機能と対応していない場合のユーザの利便性を向上させる情報処理装置、方法、プログラム、システムを提供することを目的とする。 The present invention aims to provide an information processing device, method, program, and system that improves user convenience when code information displayed on a communication device does not correspond to a function specified on an information processing device.

上記課題を解決するため、本発明に係るプログラムは、第1の機能の実行の指示、もしくは前記第1の機能と異なる第2の機能の実行の指示を受け付ける受付手段、前記受付手段により前記第1の機能の実行の指示を受け付けた場合、通信装置に表示されているコードの撮影を行うよう促す第1メッセージ画面を表示部に表示させる表示制御手段、前記第1メッセージ画面が表示された後、前記コードの撮影により当該コードの情報を取得する取得手段、として情報処理装置のコンピュータを機能させ、前記表示制御手段は、前記取得手段により取得された前記コードの情報が前記第2の機能に対応している場合、ユーザの指示に基づいて、前記取得手段により取得された前記コードの情報に対応した前記第2の機能の実行に伴う画面を前記表示部に表示させる第1表示制御、もしくは、前記第1の機能に対応したコードを前記通信装置に表示させるよう促す第2メッセージ画面を前記表示部に表示させる第2表示制御を行うことを特徴とする。 To solve the above problem, the program of the present invention causes a computer of an information processing device to function as: a reception means for receiving an instruction to execute a first function or an instruction to execute a second function different from the first function; a display control means for displaying a first message screen on a display unit that prompts the user to take a picture of a code displayed on a communication device when the reception means receives an instruction to execute the first function; and an acquisition means for acquiring information on the code by photographing the code after the first message screen is displayed; and the display control means performs, based on a user's instruction, a first display control for displaying a screen associated with the execution of the second function corresponding to the information on the code acquired by the acquisition means on the display unit, or a second display control for displaying a second message screen on the display unit that prompts the user to display a code corresponding to the first function on the communication device when the information on the code acquired by the acquisition means corresponds to the second function.

本発明によれば、通信装置で表示されているコード情報が情報処理装置で指示された機能と対応していない場合のユーザの利便性を向上させることができる。 The present invention can improve user convenience when the code information displayed on the communication device does not correspond to the function specified on the information processing device.

情報処理システムの構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an information processing system. 情報処理装置と通信装置の構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of an information processing device and a communication device. 情報処理装置のソフトウェア構成を示す図である。FIG. 2 is a diagram illustrating a software configuration of the information processing device. 通信装置のソフトウェア構成を示す図である。FIG. 2 is a diagram illustrating a software configuration of the communication device. 通信装置の表示部に表示される画面を示す図である。FIG. 4 is a diagram showing a screen displayed on a display unit of the communication device. 通信装置で表示されるコード情報を示す図である。FIG. 11 is a diagram showing code information displayed on a communication device. 情報処理装置で表示される画面を示す図である。FIG. 2 is a diagram showing a screen displayed on the information processing device. 情報処理装置で表示される画面を示す図である。FIG. 2 is a diagram showing a screen displayed on the information processing device. 情報処理装置で表示される画面を示す図である。FIG. 2 is a diagram showing a screen displayed on the information processing device. 情報処理装置で表示される画面を示す図である。FIG. 2 is a diagram showing a screen displayed on the information processing device. 情報処理装置で表示される画面を示す図である。FIG. 2 is a diagram showing a screen displayed on the information processing device. 情報処理装置が実行する処理を示すフローチャートである。4 is a flowchart showing a process executed by the information processing device. 情報処理装置が実行する処理を示すフローチャートである。4 is a flowchart showing a process executed by the information processing device. DPPを利用したWECの処理を説明するための図である。1 is a diagram for explaining the processing of a WEC using a DPP; 通信装置でのDPP待ち受けモードの処理を説明するための図である。11 is a diagram for explaining processing in a DPP standby mode in a communication device;

以下、添付図面を参照して実施形態を詳しく説明する。なお、以下の実施形態は特許請求の範囲に係る発明を限定するものではない。実施形態には複数の特徴が記載されているが、これらの複数の特徴の全てが発明に必須のものとは限らず、また、複数の特徴は任意に組み合わせられてもよい。さらに、添付図面においては、同一若しくは同様の構成に同一の参照番号を付し、重複した説明は省略する。 The following embodiments are described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe multiple features, not all of these multiple features are necessarily essential to the invention, and multiple features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicate explanations are omitted.

[第1実施形態]
本実施形態の通信システムに含まれる情報処理装置及び通信装置について説明する。情報処理装置として、本実施形態ではスマートフォンを例示しているが、これに限定されない。例えば情報処理装置として、携帯端末、PC(パーソナルコンピュータ)、タブレット端末、PDA(Personal Digital Assistant)、デジタルカメラ等、種々のものを適用可能である。また、通信装置として、本実施形態ではプリンタを例示しているが、これに限定されず、情報処理装置と無線通信を行うことが可能な装置であれば、種々のものを適用可能である。例えば、プリンタであれば、インクジェットプリンタ、フルカラーレーザービームプリンタ、モノクロプリンタ等を適用することができる。また、プリンタのみならず、複写機やファクシミリ装置、携帯端末、スマートフォン、ノートPC、タブレット端末、PDA、デジタルカメラ、音楽再生デバイス、テレビ、スマートスピーカ等が適用可能である。その他、複写機能、FAX機能、印刷機能等の複数の機能を備える複合機が適用可能である。
[First embodiment]
The information processing device and the communication device included in the communication system of the present embodiment will be described. In the present embodiment, a smartphone is exemplified as the information processing device, but is not limited thereto. For example, various devices such as a mobile terminal, a PC (personal computer), a tablet terminal, a PDA (personal digital assistant), and a digital camera can be applied as the information processing device. In addition, in the present embodiment, a printer is exemplified as the communication device, but is not limited thereto, and various devices can be applied as long as they are capable of wireless communication with the information processing device. For example, if it is a printer, an inkjet printer, a full-color laser beam printer, a monochrome printer, etc. can be applied. In addition to printers, copiers, facsimile machines, mobile terminals, smartphones, notebook PCs, tablet terminals, PDAs, digital cameras, music playback devices, televisions, smart speakers, etc. can be applied. In addition, a multifunction device having multiple functions such as a copy function, a fax function, and a print function can be applied.

また、本実施形態では、情報処理装置は、Wi-Fi Easy Connect(以下、WEC)(登録商標)と呼ばれる機能に対応している場合は、当該機能を実行可能である。WECとは、Wi-Fi Allianceで策定されたDevice Provisioning Protocol(以下、DPP)を用いて、他の装置のネットワークセットアップを実行する機能である。なお他の装置のネットワークセットアップとは具体的には、他の装置を、ネットワークを形成するアクセスポイントと接続させる処理である。WECにおいては、「Configurator」という役割で動作する装置(以下、Configurator装置)と、「Enrollee」という役割で動作する装置(以下、Enrollee装置)との間で通信が行われる。なお本実施形態では、Configurator装置はDPPにおけるInitiatorであり、Enrollee装置は、DPPにおけるResponderであるものとする。Bootstrappingにおいて、Configurator装置はEnrollee装置からBootstrapping情報を取得する。本実施形態では、Bootstrapping情報は、例えば、通信装置で表示されるQRコードの読み取り及び読み取られたQRコードの解析によって取得される。Bootstrapping情報には、例えばEnrollee装置の識別情報(MACアドレス等)や、Enrollee装置とセキュアな通信を行うために用いられる公開鍵情報などが含まれる。本実施形態では、Bootstrapping情報を「WEC関連情報」として説明する。なお、他の情報もWEC関連情報として扱われて良い。 In addition, in this embodiment, if the information processing device supports a function called Wi-Fi Easy Connect (hereinafter, WEC) (registered trademark), the information processing device can execute the function. WEC is a function that executes network setup of other devices using Device Provisioning Protocol (hereinafter, DPP) established by the Wi-Fi Alliance. Specifically, the network setup of other devices is a process of connecting other devices to an access point that forms a network. In WEC, communication is performed between a device that operates in the role of "Configurator" (hereinafter, Configurator device) and a device that operates in the role of "Enrollee" (hereinafter, Enrollee device). In this embodiment, the Configurator device is the Initiator in DPP, and the Enrollee device is the Responder in DPP. In bootstrapping, the configurator device acquires bootstrapping information from the enrollee device. In this embodiment, the bootstrapping information is acquired, for example, by reading a QR code displayed on a communication device and analyzing the read QR code. The bootstrapping information includes, for example, identification information of the enrollee device (such as a MAC address) and public key information used to perform secure communication with the enrollee device. In this embodiment, the bootstrapping information is described as "WEC-related information." Note that other information may also be treated as WEC-related information.

そして、Configurator装置は、取得したBootstrapping情報を用いてEnrollee装置との無線通信を実行する。具体的には例えば、Configurator装置は、Bootstrapping情報に含まれるブートストラッピング公開鍵Brと一時的に生成したエフェメラル秘密鍵piを乗算し、共有秘密k1を生成する。また、前述したエフェメラル秘密鍵piの対であるエフェメラル公開鍵Piを含むDPP Autentication リクエストをEnrollee装置に送信する。当該リクエストを受信したEnrollee装置は、ブートストラッピング公開鍵Brの対となるブートストラッピング秘密鍵brと、受信したエフェメラル公開鍵Piを乗算し、k1を導出する。この処理により、Configurator装置とEnrollee装置は共有秘密k1を共有する。この処理は楕円曲線ディフィ―ヘルマン鍵共有(ECDH)方式に基づく暗号鍵の共有に相当する。 Then, the Configurator device performs wireless communication with the Enrollee device using the acquired Bootstrapping information. Specifically, for example, the Configurator device multiplies the bootstrapping public key Br included in the Bootstrapping information by the temporarily generated ephemeral private key pi to generate a shared secret k1. In addition, the Configurator device transmits a DPP Authentication request including the ephemeral public key Pi, which is a pair of the above-mentioned ephemeral private key pi, to the Enrollee device. The Enrollee device that receives the request multiplies the bootstrapping private key br, which is a pair of the bootstrapping public key Br, by the received ephemeral public key Pi to derive k1. Through this process, the Configurator device and the Enrollee device share the shared secret k1. This process is equivalent to sharing an encryption key based on the Elliptic Curve Diffie-Hellman key agreement (ECDH) method.

また、Enrollee装置は、受信したエフェメラル公開鍵Piと自身が保持するエフェメラル秘密鍵prを乗算し、共有秘密k2を導出する。そして、エフェメラル秘密鍵prの対となるエフェメラル公開鍵Prを含むDPP Autentication レスポンスをConfigurator装置に応答する。Configurator装置は、受信したエフェメラル公開鍵Prと、自身が保持するエフェメラル秘密鍵piとを用いて共有秘密k2を生成する。この処理は、互いに一時的に生成した公開鍵/秘密鍵を用いる暗号鍵を共有するエフェメラル楕円曲線ディフィ―ヘルマン鍵共有(ECDHE)方式に基づく鍵共有に相当する。 The Enrollee device also multiplies the received ephemeral public key Pi by the ephemeral private key pr held by the Enrollee device to derive the shared secret k2. The Enrollee device then sends a DPP Authentication response including the ephemeral public key Pr that pairs with the ephemeral private key pr to the Configurator device. The Configurator device generates the shared secret k2 using the received ephemeral public key Pr and the ephemeral private key pi held by the Enrollee device. This process corresponds to key sharing based on the Ephemeral Elliptic Curve Diffie-Hellman key sharing (ECDHE) method, in which encryption keys are shared using public and private keys that are temporarily generated by each party.

最後に、k1、k2を共有したConfigurator装置とEnrollee装置は、鍵導出関数に対してk1、k2を入力パラメータとして入力し、DPP通信に使用する共通鍵keを導出する。 Finally, the Configurator device and the Enrollee device, which share k1 and k2, input k1 and k2 as input parameters to a key derivation function to derive a common key ke to be used for DPP communication.

以降、2者間で共有した共通鍵keを用いてDPPのConfiguration処理が実行される。具体的には、Enrollee装置は、DPP Configuration リクエストをConfigurator装置に送信する。当該リクエストの中身は共通鍵keで暗号化される。当該リクエストを受信したConfigurator装置はユーザにより選択されたアクセスポイントの情報を含むDPP Configuretion レスポンスをEnrollee装置に送信する。アクセスポイントの情報は、アクセスポイントのSSID(Service Set Identifier)や、アクセスポイントのパスワードである。レスポンスを受信したEnrollee装置は、keでレスポンスの中身を復号し、アクセスポイントの情報を得る。最後に、Enrollee装置は、復号して得られたアクセスポイントの情報に基づき、アクセスポイントとの無線接続を確立する。 After that, the DPP configuration process is executed using the common key ke shared between the two. Specifically, the Enrollee device sends a DPP Configuration request to the Configurator device. The contents of the request are encrypted with the common key ke. The Configurator device that receives the request sends a DPP Configuration response including information about the access point selected by the user to the Enrollee device. The access point information is the SSID (Service Set Identifier) of the access point and the password of the access point. The Enrollee device that receives the response decrypts the contents of the response with ke to obtain the access point information. Finally, the Enrollee device establishes a wireless connection with the access point based on the access point information obtained by decryption.

なお、本実施形態におけるWECによるネットワークセットアップ処理においては、WECに対応している情報処理装置は、Configurator装置として動作し、WECに対応している通信装置は、Enrollee装置として動作するとして説明する。 In the network setup process using WEC in this embodiment, the information processing device that supports WEC will be described as operating as a Configurator device, and the communication device that supports WEC will be described as operating as an Enrollee device.

図1は、本実施形態における情報処理システムの構成の一例を示すブロック図である。情報処理システム1は、情報処理装置101、無線LANターミナル11、画像形成装置151を含んで構成され、無線LANターミナル11は、ネットワーク10に接続されている。情報処理装置101は、例えばスマートフォンなどのモバイル端末であり、小型端末用のオペレーティングシステムや、通話、データ通信を制御するプログラムが動作する。また、情報処理装置101は、例えば、汎用的なパーソナルコンピュータである。 FIG. 1 is a block diagram showing an example of the configuration of an information processing system in this embodiment. The information processing system 1 includes an information processing device 101, a wireless LAN terminal 11, and an image forming device 151, and the wireless LAN terminal 11 is connected to a network 10. The information processing device 101 is, for example, a mobile terminal such as a smartphone, and runs an operating system for small terminals and programs that control calls and data communications. The information processing device 101 is, for example, a general-purpose personal computer.

無線LANターミナル11は、アクセスポイント機能を有し、一般的なネットワーク・ルーター機能を有した無線LANの親機となり、家庭内や事務所などの中でWi-Fi(登録商標)による無線LANを提供する。 The wireless LAN terminal 11 has an access point function and acts as a wireless LAN base station with a general network router function, providing a wireless LAN using Wi-Fi (registered trademark) within the home, office, etc.

通信装置151は、プリンタ機能、コピー機能、スキャン機能、ファクス送信機能等各種ジョブ実行機能を備えるデジタル複合機(画像形成装置)である。ユーザは、情報処理装置101を操作することで、通信装置151に対してジョブ実行を指示し、通信装置151の各種機能を実行することができる。 The communication device 151 is a digital multifunction device (image forming device) equipped with various job execution functions such as a printer function, a copy function, a scan function, and a fax transmission function. By operating the information processing device 101, a user can instruct the communication device 151 to execute a job and execute various functions of the communication device 151.

本実施形態では、情報処理装置101及び通信装置151は、Wi-Fi(登録商標)による無線通信が可能である。通信装置151は、操作パネルなどによりQR(登録商標)コード等の二次元コードを表示することが可能である。以下、二次元コードの一例としてQRコードを説明するがこの形態に限定されず、バーコードや多重化情報等の他の情報であっても良い。情報処理装置101は、その表示されたQRコードを撮影し、QRコードに応じた各種機能を実行する。 In this embodiment, the information processing device 101 and the communication device 151 are capable of wireless communication via Wi-Fi (registered trademark). The communication device 151 is capable of displaying two-dimensional codes such as QR (registered trademark) codes on an operation panel or the like. Below, a QR code will be described as an example of a two-dimensional code, but the code is not limited to this form and may be other information such as a barcode or multiplexed information. The information processing device 101 photographs the displayed QR code and executes various functions according to the QR code.

情報処理装置101と無線LANターミナル11が接続された状態で、情報処理装置101が撮影により取得した通信装置151に表示されているQRコードが、DPP用QRコードの場合は、情報処理装置101は、前述のDPPの通信を行う。そして、通信装置151を無線LANターミナル11等の外部アクセスポイントにより形成されるネットワークに参加させる。なお、本実施形態では、情報処理装置101が接続中の外部アクセスポイント(例えば、無線LANターミナル11)のネットワークに通信装置151を参加させることを想定しているが、これに限られるものではない。例えば、情報処理装置101が保存済みネットワークとして記憶している外部アクセスポイントをリスト表示し、当該リストから選択を受け付けるようにしても良い。この場合、情報処理装置101は、ユーザにより選択された外部アクセスポイントに対応する接続情報をDPPで送信する。これにより、通信装置151を当該選択された外部アクセスポイントと接続させることで、当該選択された外部アクセスポイントにより形成されるネットワークに参加させる。 When the information processing device 101 and the wireless LAN terminal 11 are connected, if the QR code displayed on the communication device 151 captured by the information processing device 101 is a QR code for DPP, the information processing device 101 performs the above-mentioned DPP communication. Then, the communication device 151 is made to participate in a network formed by an external access point such as the wireless LAN terminal 11. Note that in this embodiment, it is assumed that the communication device 151 is made to participate in a network of an external access point (e.g., the wireless LAN terminal 11) to which the information processing device 101 is connected, but this is not limited to this. For example, the information processing device 101 may display a list of external access points stored as saved networks and accept a selection from the list. In this case, the information processing device 101 transmits connection information corresponding to the external access point selected by the user by DPP. As a result, the communication device 151 is connected to the selected external access point, and is made to participate in the network formed by the selected external access point.

情報処理装置101が取得した、通信装置151に表示されているQRコードがモバイル接続用QRコードの場合は、情報処理装置101と通信装置151との接続処理を行う。情報処理装置101と通信装置151との接続は、ダイレクトで接続されても、同一LAN経由での接続でもよい。通信装置151がアクセスポイントとして動作している場合、表示されているQRコードには通信装置151のアクセスポイントのSSIDやパスワードや通信装置151のIPアドレスなどの機種情報が含まれている。情報処理装置101は、取得したSSIDを用いて、情報処理装置101とアクセスポイントとして動作している通信装置151との間の接続の確立処理を行う。その後、アクセスポイントとして動作している通信装置151により形成されているネットワーク上でのデバイス検索処理を行う。ここで実行されるデバイス検索処理は、例えばユニキャストによる検索処理であり、QRコードから取得されたIPアドレスが用いられて実行される検索処理である。通信装置151がアクセスポイントとして動作しておらず、通信装置151の外部且つ情報処理装置101の外部のアクセスポイント(外部アクセスポイント)に接続されている場合、表示されているQRコードには通信装置151のIPアドレスなどの機種情報が含まれている。情報処理装置101は、取得した機種情報を用いて、情報処理装置101が現在接続しているネットワークにおいてデバイス検索処理を行う。ここで実行されるデバイス検索処理も、例えばユニキャストによる検索処理であり、QRコードから取得されたIPアドレスが用いられて実行される検索処理である。情報処理装置101が現在接続しているネットワークとはすなわち、情報処理装置101が現在接続している外部アクセスポイントにより形成されているネットワークである。情報処理装置101は、デバイス検索処理が実行された場合、デバイス検索処理の結果であるデバイス検索結果を不図示の画面にリスト表示し、ユーザからの選択を受け付けたデバイスを出力先プリンタとして登録する。登録により、以後、設定アプリによる通信装置151との通信が実行可能となる。具体的には例えば、設定アプリによって通信装置151に印刷ジョブを送信可能となる。設定アプリに対する通信装置151の登録において具体的には、情報処理装置101は、通信装置151との接続を介して通信装置151のケーパビリティ情報を取得し、当該情報を設定アプリによって保存する。なお情報処理装置101は、デバイス検索処理が実行された場合、デバイス検索結果を表示することなく、デバイス検索処理によって発見された通信装置151を自動で設定アプリに登録しても良い。またモバイル接続用QRコードに含まれる情報は上述の形態に限定されない。例えば通信装置151のMACアドレスや通信装置151の装置名等が含まれても良い。なおQRコードに含まれる情報とは言い換えれば、QRコードを情報処理装置101が読み取って解析することで情報処理装置101により得られる情報である。 When the QR code displayed on the communication device 151 acquired by the information processing device 101 is a QR code for mobile connection, a connection process between the information processing device 101 and the communication device 151 is performed. The connection between the information processing device 101 and the communication device 151 may be a direct connection or a connection via the same LAN. When the communication device 151 is operating as an access point, the displayed QR code includes the SSID and password of the access point of the communication device 151 and the model information such as the IP address of the communication device 151. The information processing device 101 uses the acquired SSID to establish a connection between the information processing device 101 and the communication device 151 operating as an access point. After that, a device search process is performed on the network formed by the communication device 151 operating as an access point. The device search process performed here is, for example, a search process by unicast, and is a search process performed using the IP address acquired from the QR code. When the communication device 151 is not operating as an access point and is connected to an access point (external access point) outside the communication device 151 and outside the information processing device 101, the displayed QR code includes model information such as the IP address of the communication device 151. The information processing device 101 performs a device search process in the network to which the information processing device 101 is currently connected, using the acquired model information. The device search process executed here is also, for example, a search process by unicast, and is a search process executed using the IP address acquired from the QR code. The network to which the information processing device 101 is currently connected is, in other words, a network formed by the external access point to which the information processing device 101 is currently connected. When the device search process is executed, the information processing device 101 displays a list of the device search results, which are the result of the device search process, on a screen not shown, and registers a device that has been selected by the user as an output destination printer. By the registration, communication with the communication device 151 can be executed by a setting app thereafter. Specifically, for example, a print job can be sent to the communication device 151 by the setting app. Specifically, when registering the communication device 151 in the setting app, the information processing device 101 acquires capability information of the communication device 151 through a connection with the communication device 151, and saves the information by the setting app. When a device search process is executed, the information processing device 101 may automatically register the communication device 151 discovered by the device search process in the setting app without displaying the device search results. The information included in the mobile connection QR code is not limited to the above-mentioned form. For example, the MAC address of the communication device 151 or the device name of the communication device 151 may be included. In other words, the information included in the QR code is information obtained by the information processing device 101 by reading and analyzing the QR code.

通信装置151の各種QRコードは、通信装置151に表示されたメニュー画面上でユーザ操作を受付けることにより表示される。一方、情報処理装置101では、ユーザ操作に応じて、各種QRコードの読取準備が行われる。 The various QR codes of the communication device 151 are displayed by accepting a user operation on a menu screen displayed on the communication device 151. Meanwhile, in the information processing device 101, preparations for reading the various QR codes are made in response to the user operation.

ここで、通信装置151でのユーザ操作と情報処理装置101でのユーザ操作とが対応していない場合があり得る。例えば、ユーザが情報処理装置101を用いて通信装置151をアクセスポイントに接続させようとしているときに、通信装置151がモバイル接続用QRコードを表示しているようなケースである。また、ユーザが情報処理装置101を通信装置151に接続させようとしているときに、通信装置151がDPP用QRコードを表示しているようなケースである。これらの場合、情報処理装置101はQRコードを読み取っても、そもそも想定するQRコードではないためエラーとなり、結果、ユーザの所望する処理は実行されない。ユーザにとっても、情報処理装置101側での操作が間違っているので操作をやり直す必要があるのか、通信装置151側で表示されているQRコードが間違っているのでQRコードの表示を変更する必要があるのかを判別することが困難である。本実施形態によれば、情報処理装置101を用いた通信装置151に対する各種機能の実行の利便性を向上させることができる。 Here, there may be cases where the user operation on the communication device 151 does not correspond to the user operation on the information processing device 101. For example, when a user is trying to connect the communication device 151 to an access point using the information processing device 101, the communication device 151 displays a QR code for mobile connection. Also, when a user is trying to connect the information processing device 101 to the communication device 151, the communication device 151 displays a QR code for DPP. In these cases, even if the information processing device 101 reads the QR code, an error occurs because the QR code is not the expected QR code in the first place, and as a result, the processing desired by the user is not executed. It is also difficult for the user to determine whether the operation on the information processing device 101 side is incorrect and the operation needs to be redone, or the QR code displayed on the communication device 151 side is incorrect and the display of the QR code needs to be changed. According to this embodiment, it is possible to improve the convenience of executing various functions on the communication device 151 using the information processing device 101.

まず、本実施形態の情報処理装置と、本実施形態の情報処理装置と通信可能な通信装置の構成について図2のブロック図を参照して説明する。また、本実施形態では以下の構成を例に記載するが、本実施形態は通信装置と通信を行うことが可能な装置に関して適用可能なものであり、図2に示す構成に限定されるものではない。 First, the configuration of the information processing device of this embodiment and the communication device capable of communicating with the information processing device of this embodiment will be described with reference to the block diagram of FIG. 2. In addition, the following configuration will be described as an example in this embodiment, but this embodiment is applicable to devices capable of communicating with the communication device, and is not limited to the configuration shown in FIG. 2.

情報処理装置101は、本実施形態の情報処理装置である。情報処理装置101は、入力インタフェース102、CPU103、ROM104、RAM105、外部記憶装置106、出力インタフェース107、表示部108、通信部110、近距離無線通信部111、撮影部112等を有する。CPU103、ROM104、RAM105等によって、情報処理装置101のコンピュータが形成される。 The information processing device 101 is an information processing device of this embodiment. The information processing device 101 has an input interface 102, a CPU 103, a ROM 104, a RAM 105, an external storage device 106, an output interface 107, a display unit 108, a communication unit 110, a short-range wireless communication unit 111, an image capturing unit 112, etc. The CPU 103, the ROM 104, the RAM 105, etc. form a computer of the information processing device 101.

入力インタフェース102は、キーボード109等の操作部が操作されることにより、ユーザからのデータ入力や動作指示を受け付けるためのインタフェースである。なお、操作部は、物理キーボードや物理ボタン等であっても良いし、表示部108に表示されるソフトキーボードやソフトボタン等であっても良い。すなわち、入力インタフェース102は、表示部108を介してユーザからの入力(操作)を受け付けても良い。 The input interface 102 is an interface for accepting data input and operational instructions from a user by operating an operation unit such as the keyboard 109. The operation unit may be a physical keyboard, physical buttons, etc., or a soft keyboard, soft buttons, etc. displayed on the display unit 108. In other words, the input interface 102 may accept input (operation) from the user via the display unit 108.

CPU103は、システム制御部であり、情報処理装置101の全体を制御する。ROM104は、CPU103が実行する制御プログラムやデータテーブル、組み込みオペレーティングシステム(以下、OSという。)プログラム等の固定データを格納する。本実施形態では、ROM104に格納されている各制御プログラムは、ROM104に格納されている組み込みOSの管理下で、スケジューリングやタスクスイッチ、割り込み処理等のソフトウェア実行制御を行う。 The CPU 103 is a system control unit, and controls the entire information processing device 101. The ROM 104 stores fixed data such as control programs and data tables executed by the CPU 103, and embedded operating system (hereinafter referred to as OS) programs. In this embodiment, each control program stored in the ROM 104 performs software execution control such as scheduling, task switching, and interrupt processing under the management of the embedded OS stored in the ROM 104.

RAM105は、バックアップ電源を必要とするSRAM(Static Random Access Memory)等で構成される。なお、RAM105は、不図示のデータバックアップ用の1次電池によってデータが保持されているため、プログラム制御変数等の重要なデータを揮発させずに記憶することができる。また、情報処理装置101の設定情報や情報処理装置101の管理データ等を格納するメモリエリアもRAM105に設けられている。また、RAM105は、CPU103の主メモリとワークメモリとしても用いられる。 The RAM 105 is composed of a static random access memory (SRAM) that requires a backup power source. The RAM 105 holds data using a primary battery (not shown) for data backup, so important data such as program control variables can be stored without volatilization. The RAM 105 also has a memory area for storing setting information for the information processing device 101 and management data for the information processing device 101. The RAM 105 is also used as the main memory and work memory for the CPU 103.

外部記憶装置106は、通信装置151のネットワークセットアップを実行するためのアプリケーションプログラム(以後、設定アプリ)、通信装置151が解釈可能な印刷情報を生成する印刷情報生成プログラム等を保存している。設定アプリとは、通信装置151の接続先のアクセスポイントの設定をWEC等で行うためのアプリケーションプログラムである。なお、設定アプリは、ネットワークセットアップ機能以外の他の機能を備えていても良い。例えば設定アプリは、通信装置151に印刷を実行させる機能や、通信装置151にセットされた原稿をスキャンさせる機能、通信装置151の状態を確認する機能等を備えていても良い。設定アプリは、例えば、通信部110を介したインターネット通信によって、外部のサーバからインストールされることにより、外部記憶装置106に格納される。また、外部記憶装置106は、通信部110を介して接続している通信装置151との間で送受信する情報送受信制御プログラム等の各種プログラムや、これらのプログラムが使用する各種情報を保存している。 The external storage device 106 stores an application program (hereinafter, a setting application) for executing the network setup of the communication device 151, a print information generation program for generating print information that can be interpreted by the communication device 151, and the like. The setting application is an application program for setting the access point to which the communication device 151 is connected using a WEC or the like. The setting application may have functions other than the network setup function. For example, the setting application may have a function for causing the communication device 151 to execute printing, a function for causing a document set in the communication device 151 to be scanned, a function for checking the status of the communication device 151, and the like. The setting application is stored in the external storage device 106 by being installed from an external server, for example, by Internet communication via the communication unit 110. The external storage device 106 also stores various programs, such as an information transmission/reception control program, transmitted and received between the communication device 151 connected via the communication unit 110, and various information used by these programs.

出力インタフェース107は、表示部108がデータの表示や情報処理装置101の状態の通知を行うための制御を行うインタフェースである。表示部108は、LED(発光ダイオード)やLCD(液晶ディスプレイ)などから構成され、データの表示や情報処理装置101の状態の通知を行う。 The output interface 107 is an interface that controls the display unit 108 to display data and notify the status of the information processing device 101. The display unit 108 is composed of an LED (light emitting diode) and an LCD (liquid crystal display), and displays data and notifies the status of the information processing device 101.

通信部110は、通信装置151やアクセスポイント131等の装置と接続して、データ通信を実行するための構成である。例えば、通信部110は、通信装置151内のアクセスポイント(不図示)に接続可能である。通信部110と通信装置151内のアクセスポイントが接続することで、情報処理装置101と通信装置151は相互に通信可能となる。なお、通信部110は無線通信で通信装置151とダイレクトに通信しても良いし、情報処理装置101や通信装置151の外部に存在する外部装置を介して通信しても良い。なお、外部装置とは、情報処理装置101の外部及び通信装置151の外部に存在する外部アクセスポイント(アクセスポイント131等)や、アクセスポイント以外で通信を中継可能な装置を含む。例えば、外部装置は、図1の無線LANターミナル11に対応する。本実施形態では、通信部110が用いる無線通信方式は、IEEE802.11シリーズに準拠する通信規格であるWi-Fi(WirelessFidelity)(登録商標)であるものとする。そして、前述したWECを、通信部110による通信により実行するものとする。また、アクセスポイント131としては、例えば、無線LANルーター(無線LANターミナル11)等の機器などが挙げられる。なお、本実施形態において、情報処理装置101と通信装置151とが外部アクセスポイントを介さずにダイレクトに接続する方式をダイレクト接続方式という。また、情報処理装置101と通信装置151とが外部アクセスポイントを介して接続する方式をインフラ接続方式という。 The communication unit 110 is configured to connect to a device such as the communication device 151 or the access point 131 to perform data communication. For example, the communication unit 110 can be connected to an access point (not shown) in the communication device 151. By connecting the communication unit 110 to the access point in the communication device 151, the information processing device 101 and the communication device 151 can communicate with each other. The communication unit 110 may directly communicate with the communication device 151 by wireless communication, or may communicate via an external device that exists outside the information processing device 101 or the communication device 151. The external device includes an external access point (such as the access point 131) that exists outside the information processing device 101 and outside the communication device 151, and a device that can relay communication other than an access point. For example, the external device corresponds to the wireless LAN terminal 11 in FIG. 1. In this embodiment, the wireless communication method used by the communication unit 110 is Wi-Fi (Wireless Fidelity) (registered trademark), which is a communication standard conforming to the IEEE 802.11 series. The above-mentioned WEC is executed by communication by the communication unit 110. In addition, the access point 131 may be, for example, a device such as a wireless LAN router (wireless LAN terminal 11). In this embodiment, a method in which the information processing device 101 and the communication device 151 are directly connected without going through an external access point is called a direct connection method. In addition, a method in which the information processing device 101 and the communication device 151 are connected through an external access point is called an infrastructure connection method.

近距離無線通信部111は、通信装置151等の装置と近距離で無線接続して、データ通信を実行するための構成であり、通信部110とは異なる通信方式によって通信を行う。近距離無線通信部111は、例えば、通信装置151内の近距離無線通信部157と接続可能である。通信方式としては、例えば、Near Field Communication(NFC)、Bluetooth(登録商標) Classic、Bluetooth Low Energy(BLE)、Wi-Fi Aware等が挙げられる。 The short-range wireless communication unit 111 is configured to perform data communication by wirelessly connecting to a device such as the communication device 151 at a short distance, and communicates using a communication method different from that of the communication unit 110. The short-range wireless communication unit 111 can be connected to, for example, the short-range wireless communication unit 157 in the communication device 151. Examples of communication methods include Near Field Communication (NFC), Bluetooth (registered trademark) Classic, Bluetooth Low Energy (BLE), and Wi-Fi Aware.

撮影部112は、情報処理装置101上で動作するアプリケーションによって撮影機能が実行された場合に動作する。アプリケーションによって撮影機能が実行されると、例えば、撮影部112から取得された情報がCPU103によって処理され、ライブビューとして表示部108に表示される。ここで、アプリケーションによって撮影操作が実行されると、撮影部112から取得された情報がCPU103によって処理され、撮影画像としてRAM105に保存される。さらに、アプリケーションによってQRコード取得機能が実行されると、撮影部112から取得された情報がCPU103によって処理され、QRコードとして解析され、QRコードに含まれる各種情報が取得される。QRコードに含まれる情報としては、例えば、WEC関連情報がある。なお、本実施形態では、二次元コードの一例としてQRコードを扱う。本実施形態では、情報処理装置101は、設定アプリによるネットワークセットアップ処理の実行指示に基づいて情報処理装置101のOSによりWECを実行することが可能である。 The photographing unit 112 operates when a photographing function is executed by an application running on the information processing device 101. When the photographing function is executed by the application, for example, information acquired from the photographing unit 112 is processed by the CPU 103 and displayed on the display unit 108 as a live view. Here, when a photographing operation is executed by the application, information acquired from the photographing unit 112 is processed by the CPU 103 and stored in the RAM 105 as a photographed image. Furthermore, when a QR code acquisition function is executed by the application, information acquired from the photographing unit 112 is processed by the CPU 103 and analyzed as a QR code, and various information included in the QR code is acquired. For example, information included in the QR code is WEC-related information. Note that in this embodiment, the QR code is treated as an example of a two-dimensional code. In this embodiment, the information processing device 101 can execute WEC by the OS of the information processing device 101 based on an instruction to execute a network setup process by a setting app.

通信装置151は、本実施形態の通信装置である。通信装置151は、ROM152、RAM153、CPU154、プリントエンジン155、スキャンエンジン162、通信部156、近距離無線通信部157等を有する。ROM152、RAM153、CPU154等によって、通信装置151のコンピュータが形成される。 The communication device 151 is the communication device of this embodiment. The communication device 151 has a ROM 152, a RAM 153, a CPU 154, a print engine 155, a scan engine 162, a communication unit 156, a short-range wireless communication unit 157, etc. The ROM 152, the RAM 153, the CPU 154, etc. form a computer of the communication device 151.

通信部156は、通信装置151内部のアクセスポイントとして、情報処理装置101等の装置と接続するためのアクセスポイントを有している。なお、該アクセスポイントは、情報処理装置101の通信部110に接続可能である。通信部156が、該アクセスポイントを有効化することで、通信装置151がアクセスポイントとして動作することになる。なお、通信部156は情報処理装置101とダイレクトに無線接続しても良いし、アクセスポイント131を介して無線接続しても良い。本実施形態では、通信部156が用いる無線通信方式は、IEEE802.11シリーズに準拠する通信規格であるものとする。また以下の説明において、Wi-Fi(WirelessFidelity)(登録商標)(Wi-Fi通信)とは、IEEE802.11シリーズに準拠する通信規格である。また、通信装置151がWECに対応しているのであれば、前述したWECを、通信部156による通信により実行するものとする。また、通信部156は、アクセスポイントとして機能するハードウェアを備えていてもよいし、アクセスポイントとして機能させるためのソフトウェアにより、アクセスポイントとして動作してもよい。 The communication unit 156 has an access point for connecting to devices such as the information processing device 101 as an access point inside the communication device 151. The access point can be connected to the communication unit 110 of the information processing device 101. When the communication unit 156 activates the access point, the communication device 151 operates as an access point. The communication unit 156 may wirelessly connect directly to the information processing device 101 or may wirelessly connect via the access point 131. In this embodiment, the wireless communication method used by the communication unit 156 is a communication standard that complies with the IEEE 802.11 series. In the following description, Wi-Fi (Wireless Fidelity) (registered trademark) (Wi-Fi communication) is a communication standard that complies with the IEEE 802.11 series. If the communication device 151 supports WEC, the above-mentioned WEC is executed by communication through the communication unit 156. Additionally, the communication unit 156 may be equipped with hardware that functions as an access point, or may operate as an access point using software that causes it to function as an access point.

本実施形態の通信装置151は、通信部156を用いて通信を行うためのモードとして、インフラストラクチャモード及びP2P(Peer to Peer)モードで動作可能である。 The communication device 151 of this embodiment can operate in infrastructure mode and P2P (Peer to Peer) mode as modes for communicating using the communication unit 156.

インフラストラクチャモードとは、通信装置151が、ネットワークを形成する外部装置(例えば、アクセスポイント131)を介して、情報処理装置101等の他の装置と通信する形態である。インフラストラクチャモードで動作する通信装置151によって確立される外部アクセスポイントとの接続を、インフラストラクチャ接続(以後、インフラ接続)という。本実施形態では、インフラ接続において、通信装置151が子局として動作し、外部アクセスポイントが親局として動作する。なお、本実施形態において親局とは、親局が属するネットワークにおいて使用される通信チャネルを決定する装置であり、子局とは、子局が属するネットワークにおいて使用される通信チャネルを決定せず、親局が決定した通信チャネルを用いる装置である。 The infrastructure mode is a mode in which the communication device 151 communicates with other devices such as the information processing device 101 via an external device (e.g., the access point 131) that forms a network. A connection with an external access point established by the communication device 151 operating in the infrastructure mode is called an infrastructure connection (hereinafter, infrastructure connection). In this embodiment, in the infrastructure connection, the communication device 151 operates as a child station, and the external access point operates as a parent station. Note that in this embodiment, the parent station is a device that determines the communication channel to be used in the network to which the parent station belongs, and the child station is a device that does not determine the communication channel to be used in the network to which the child station belongs, but uses the communication channel determined by the parent station.

P2Pモードとは、通信装置151が、ネットワークを形成する外部装置を介さず、情報処理装置101等の他の装置と直接的に通信する形態である。本実施形態では、P2Pモードには、通信装置151がアクセスポイントとして動作するAPモードが含まれるものとする。APモード時に通信装置151内で有効化されるアクセスポイントの接続情報(SSIDやパスワード)は、ユーザが任意に設定可能であるものとする。なお、P2Pモードには、例えば、通信装置151がWi-Fi Direct(WFD)によって通信するためのWFDモードが含まれる。なお、複数のWFD対応機器のうちいずれが親局として動作するかは、例えば、Group Owner Negotiationというシーケンスに従って決定される。なお、Group Owner Negotiationが実行されずに、親局が決定されても良い。WFD対応機器であり且つ親局の役割を果たす装置を特に、Group Ownerという。P2Pモードで動作する通信装置151によって確立される他の装置との直接的な接続を、ダイレクト接続という。本実施形態では、ダイレクト接続において、通信装置151が親局として動作し、他の装置が子局として動作する。 The P2P mode is a mode in which the communication device 151 communicates directly with other devices such as the information processing device 101 without going through an external device that forms a network. In this embodiment, the P2P mode includes an AP mode in which the communication device 151 operates as an access point. The connection information (SSID and password) of the access point that is enabled in the communication device 151 in the AP mode can be arbitrarily set by the user. The P2P mode includes, for example, a WFD mode in which the communication device 151 communicates by Wi-Fi Direct (WFD). Which of the multiple WFD-compatible devices operates as a parent station is determined, for example, according to a sequence called Group Owner Negotiation. The parent station may be determined without executing Group Owner Negotiation. A device that is a WFD-compatible device and plays the role of a parent station is particularly called a Group Owner. A direct connection established by the communication device 151 operating in P2P mode with another device is called a direct connection. In this embodiment, in a direct connection, the communication device 151 operates as a parent station, and the other device operates as a child station.

また、本実施形態では、通信装置151は、ユーザから所定の操作を受け付けることで、通信装置151のネットワークセットアップを実行するためのモードであるネットワークセットアップモードとして動作可能である。通信装置151は、ネットワークセットアップモードとして動作する場合、通信部156を用いることにより、ネットワークセットアップモードとして動作中に有効なセットアップ用アクセスポイントとして動作する。当該セットアップ用アクセスポイントは、上述のAPモード時に有効化されるアクセスポイントとは異なるアクセスポイントである。また当該セットアップ用アクセスポイントのSSIDは、情報処理装置101の設定アプリが認識可能な所定の文字列を含むものとする。また、当該セットアップ用アクセスポイントは、接続にパスワードを必要としないアクセスポイントであるものとする。また、ネットワークセットアップモードとして動作している通信装置151は、セットアップ用アクセスポイントと接続している情報処理装置101との通信において、所定の通信プロトコル(セットアップ用通信プロトコル)を用いるものとする。セットアップ用通信プロトコルは具体的には例えば、SNMP(Simple Network Management Protocol)である。セットアップ用通信プロトコルの他の具体例としては、HTTP(Hypertext Transfer Protocol)なども挙げられる。通信装置151は、ネットワークセットアップモードでの動作を開始した後、所定の時間が経過したら、ネットワークセットアップモードでの動作を停止し、セットアップ用アクセスポイントを無効化する。これは、セットアップ用アクセスポイントは上述したようにパスワードを必要としないアクセスポイントであるため、長時間有効化していると、適切でない装置から接続を要求されてしまう可能性が高まるためである。なおセットアップ用アクセスポイントは、パスワードを必要とするアクセスポイントであっても良い。その場合、セットアップ用アクセスポイントとの接続に用いられるパスワードは、設定アプリが予め把握している固定の(ユーザが変更できない)パスワードであるものとする。 In addition, in this embodiment, the communication device 151 can operate in a network setup mode, which is a mode for executing the network setup of the communication device 151, by accepting a predetermined operation from the user. When the communication device 151 operates in the network setup mode, the communication device 151 operates as a setup access point that is valid during operation in the network setup mode by using the communication unit 156. The setup access point is an access point different from the access point that is enabled in the AP mode described above. The SSID of the setup access point includes a predetermined character string that can be recognized by the setting application of the information processing device 101. The setup access point is an access point that does not require a password for connection. The communication device 151 operating in the network setup mode uses a predetermined communication protocol (setup communication protocol) in communication with the information processing device 101 connected to the setup access point. Specifically, the setup communication protocol is, for example, SNMP (Simple Network Management Protocol). Another specific example of the setup communication protocol is HTTP (Hypertext Transfer Protocol). After starting operation in the network setup mode, when a predetermined time has elapsed, the communication device 151 stops operation in the network setup mode and disables the setup access point. This is because, since the setup access point is an access point that does not require a password as described above, if it is enabled for a long period of time, there is an increased possibility that an inappropriate device may request connection. Note that the setup access point may be an access point that requires a password. In this case, the password used to connect to the setup access point is a fixed password (that cannot be changed by the user) that is known in advance by the setting application.

また、本実施形態では、通信装置151は、通信装置151のネットワークセットアップを、セットアップ用通信プロトコルと異なる通信プロトコルで実行するためのモードとしても動作可能である。本実施形態では、セットアップ用通信プロトコルと異なる通信プロトコルは、上述したDPPであるものとし、当該モードを、DPP待ち受けモードと呼ぶものとする。通信装置151がDPP待ち受けモードで動作している状態において、情報処理装置101からDPPによるネットワークセットアップ要求が受信された場合、DPPによるネットワークセットアップを実行する。そのためDPP待ち受けモードとは言い換えれば、DPPによるネットワークセットアップ要求を待ち受けているモードである。 In addition, in this embodiment, the communication device 151 can also operate in a mode for executing the network setup of the communication device 151 using a communication protocol different from the setup communication protocol. In this embodiment, the communication protocol different from the setup communication protocol is the above-mentioned DPP, and this mode is referred to as the DPP standby mode. When the communication device 151 is operating in the DPP standby mode and a network setup request by DPP is received from the information processing device 101, the network setup by DPP is executed. Therefore, the DPP standby mode is, in other words, a mode in which the communication device 151 waits for a network setup request by DPP.

近距離無線通信部157は、情報処理装置101等の装置と近距離で無線接続するための構成であり、例えば、情報処理装置101内の近距離無線通信部111と接続可能である。通信方式としては、例えば、NFC、Bluetooth Classic、BLE、Wi-Fi Aware等が挙げられる。 The short-range wireless communication unit 157 is configured to wirelessly connect to a device such as the information processing device 101 at a short distance, and can be connected to the short-range wireless communication unit 111 in the information processing device 101, for example. Examples of communication methods include NFC, Bluetooth Classic, BLE, and Wi-Fi Aware.

CPU154は、システム制御部であり、通信装置151の全体を制御する。RAM153は、バックアップ電源を必要とするSRAM等で構成される。なお、RAM153は、図示しないデータバックアップ用の1次電池によってデータが保持されているため、プログラム制御変数等の重要なデータを揮発させずに格納することができる。また、通信装置151の設定情報や通信装置151の管理データ等を格納するメモリエリアもRAM153に設けられている。また、RAM153は、CPU154の主メモリとワークメモリとしても用いられ、情報処理装置101等から受信した印刷情報を一旦保存するための受信バッファや各種の情報を保存する。ROM152は、CPU154が実行する制御プログラムやデータテーブル、OSプログラム等の固定データを格納する。本実施形態では、ROM152に格納されている各制御プログラムは、ROM152に格納されている組み込みOSの管理下で、スケジューリングやタスクスイッチ、割り込み処理等のソフトウェア実行制御を行う。 The CPU 154 is a system control unit and controls the entire communication device 151. The RAM 153 is composed of an SRAM or the like that requires a backup power source. Since the RAM 153 holds data using a primary battery for data backup (not shown), important data such as program control variables can be stored without volatilization. The RAM 153 also has a memory area for storing setting information for the communication device 151 and management data for the communication device 151. The RAM 153 is also used as the main memory and work memory for the CPU 154, and stores a reception buffer for temporarily storing print information received from the information processing device 101, etc., and various information. The ROM 152 stores fixed data such as the control program executed by the CPU 154, data tables, and OS programs. In this embodiment, each control program stored in the ROM 152 performs software execution control such as scheduling, task switching, and interrupt processing under the management of the embedded OS stored in the ROM 152.

プリントエンジン155は、RAM153に保存された情報や情報処理装置101等から受信した印刷ジョブに基づき、インク等の記録剤を紙等の記録媒体上に付加することで記録媒体上に画像を形成し、印刷結果を出力する。なお一般的に、情報処理装置101等から送信される印刷ジョブのデータ量は大きいため、印刷ジョブの通信には、高速通信が可能な通信方式を用いることが求められる。そのため、通信装置151は、近距離無線通信部157よりも高速な通信が可能な通信部156を介して、印刷ジョブを受信する。 The print engine 155 forms an image on a recording medium such as paper by applying a recording agent such as ink based on information stored in the RAM 153 and a print job received from the information processing device 101, etc., and outputs the print result. Generally, since the amount of data of a print job sent from the information processing device 101, etc. is large, it is necessary to use a communication method capable of high-speed communication for communication of the print job. Therefore, the communication device 151 receives the print job via the communication unit 156, which is capable of communication at a higher speed than the short-range wireless communication unit 157.

スキャンエンジン162は、操作部159からの入力や情報処理装置101等から受信したスキャンジョブに基づき、セットされた原稿等から画像データや文書データを読み取る。読み取ったデータはスキャン結果として、RAM153に保存したり、情報処理装置101等に送信したりする。なお、一般的に、通信装置151から情報処理装置101等に送信されるスキャン結果のデータ量は大きいため、それらの通信には、高速通信が可能な通信方式を用いることが求められる。よって、通信装置151は、近距離無線通信部157よりも高速な通信が可能な通信部156を介して、スキャン結果を送信する。 The scan engine 162 reads image data or document data from a set document or the like, based on input from the operation unit 159 or a scan job received from the information processing device 101 or the like. The read data is stored in the RAM 153 as the scan result, or transmitted to the information processing device 101 or the like. Generally, the amount of data of the scan result transmitted from the communication device 151 to the information processing device 101 or the like is large, so that a communication method capable of high-speed communication is required for such communication. Therefore, the communication device 151 transmits the scan result via the communication unit 156, which is capable of communication at a higher speed than the short-range wireless communication unit 157.

なお、通信装置151には、外付けHDDやSDカード等のメモリがオプション機器として装着されてもよく、通信装置151に保存される情報は、当該メモリに保存されても良い。 Note that the communication device 151 may be equipped with an optional memory such as an external HDD or SD card, and the information stored in the communication device 151 may be stored in the memory.

入力インタフェース158は、物理ボタン等の操作部159が操作されることにより、ユーザからのデータ入力や動作指示を受け付けるためのインタフェースである。なお、操作部159は、表示部161に表示されるソフトキーボードやソフトボタン等であっても良い。すなわち、入力インタフェース158は、表示部161を介してユーザからの入力を受け付けても良い。出力インタフェース160は、表示部161がデータの表示や通信装置151の状態の通知を行うための制御を行うインタフェースである。表示部161は、LED(発光ダイオード)やLCD(液晶ディスプレイ)などから構成され、データの表示や通信装置151の状態の通知を行う。なお、本実施形態においては、操作部159と表示部161がタッチパネルディスプレイからなる操作表示部として構成される。 The input interface 158 is an interface for accepting data input and operation instructions from the user by operating the operation unit 159 such as a physical button. The operation unit 159 may be a soft keyboard or soft buttons displayed on the display unit 161. That is, the input interface 158 may accept input from the user via the display unit 161. The output interface 160 is an interface that controls the display unit 161 to display data and notify the status of the communication device 151. The display unit 161 is composed of an LED (light-emitting diode) or an LCD (liquid crystal display), and displays data and notifies the status of the communication device 151. In this embodiment, the operation unit 159 and the display unit 161 are configured as an operation display unit composed of a touch panel display.

本実施形態では、通信部110及び156は、装置間で通信パラメータを共有するための通信パラメータ共有処理を実行する。通信パラメータ共有処理は、提供側の装置が受信側の装置に無線通信するための通信パラメータを提供する処理であり、インフラモードとP2Pモードそれぞれで行われ得る。ここで、通信パラメータには、例えば、ネットワーク識別子としてのSSID(Service Set Identifier)、暗号方式、暗号鍵、認証方式、認証鍵等の無線LAN通信を行うために必要な無線通信パラメータが含まれる。また、MACアドレス等の識別情報、パスワード、IP層での通信を行うためのIPアドレス、上位サービスに必要な情報等も含まれる。通信部110及び156が実行する通信パラメータ共有処理は、例えば、Wi-Fi Allianceで規定されているWPS(Wi-Fi Protected Setup)であってもよい。また、通信部110及び156が実行する通信パラメータ共有処理では、公開鍵暗号方式を用いて通信パラメータを安全に転送するような方式が用いられても良い。 In this embodiment, the communication units 110 and 156 execute a communication parameter sharing process for sharing communication parameters between the devices. The communication parameter sharing process is a process in which a providing device provides communication parameters for wireless communication to a receiving device, and can be executed in both infrastructure mode and P2P mode. Here, the communication parameters include wireless communication parameters required for wireless LAN communication, such as an SSID (Service Set Identifier) as a network identifier, an encryption method, an encryption key, an authentication method, and an authentication key. In addition, identification information such as a MAC address, a password, an IP address for communication at the IP layer, information required for higher-level services, and the like are also included. The communication parameter sharing process executed by the communication units 110 and 156 may be, for example, WPS (Wi-Fi Protected Setup) defined by the Wi-Fi Alliance. In addition, the communication parameter sharing process executed by the communication units 110 and 156 may use a method for securely transferring communication parameters using a public key encryption method.

また、通信装置151は、バーコード生成制御部を備える。バーコード生成制御部は、不図示であるが、例えば、CPU154がプログラムを実行することにより実現される。バーコード生成制御部では、バーコード、二次元コード、QRコードなどのコード情報の生成を実施し、表示部161で、生成したコード情報を表示するための制御を実施する。バーコード生成制御部は、通信パラメータの設定に必要な情報を符号化したQRコード等を表示部161に表示させる。なお、表示部161は、ユーザからの入力インタフェースとして、ソフトボタンなどを表示できる構成であってもよい。 The communication device 151 also includes a barcode generation control unit. The barcode generation control unit is not shown, but is realized, for example, by the CPU 154 executing a program. The barcode generation control unit generates code information such as barcodes, two-dimensional codes, and QR codes, and controls the display unit 161 to display the generated code information. The barcode generation control unit causes the display unit 161 to display a QR code or the like that encodes information necessary for setting communication parameters. The display unit 161 may be configured to display soft buttons or the like as an input interface for the user.

図3は、情報処理装置101のソフトウェア構成の一例を示す図である。図3の各機能ブロックは、CPU103がROM104に記憶されている制御プログラムを読み出すことで実現される。 Figure 3 is a diagram showing an example of the software configuration of the information processing device 101. Each functional block in Figure 3 is realized by the CPU 103 reading out a control program stored in the ROM 104.

OS350は、情報処理装置101の全体の動作を制御するためのソフトウェアである。情報処理装置101には、後述するMFPアプリケーション300の他、様々なアプリケーションをインストールすることができる。OS350は、これらのアプリケーションとの間で情報を通信し、アプリケーションから受けた指示に従って、表示部108に各種ユーザインタフェース画面を表示させる。また、OS350は、各種ハードウェアを制御するためのデバイスドライバ群を含んでおり、OS350上で動作するアプリケーションに対して各種ハードウェアを利用可能とする為のAPIを提供する。デバイスドライバ群には、例えば、無線LAN制御部353が含まれる。無線LAN制御部353は、通信部110、近距離無線通信部111を制御するためのデバイスドライバである。 The OS 350 is software for controlling the overall operation of the information processing device 101. In addition to the MFP application 300 described below, various applications can be installed in the information processing device 101. The OS 350 communicates information with these applications, and displays various user interface screens on the display unit 108 according to instructions received from the applications. The OS 350 also includes a group of device drivers for controlling various hardware, and provides an API for making the various hardware available to applications running on the OS 350. The group of device drivers includes, for example, a wireless LAN control unit 353. The wireless LAN control unit 353 is a device driver for controlling the communication unit 110 and the short-range wireless communication unit 111.

MFPアプリケーション300は、情報処理装置101にインストールされたアプリケーションである。MFPアプリケーション300から通信装置151に対して印刷やスキャンなどを実行することができる。情報処理装置101には、MFPアプリケーション300の他、様々なアプリケーションがインストールされているが、それらの説明は省略する。 The MFP application 300 is an application installed in the information processing device 101. The MFP application 300 can execute printing, scanning, and the like on the communication device 151. In addition to the MFP application 300, various other applications are installed in the information processing device 101, but a description of these will be omitted.

MFPアプリケーション300のソフトウェア構成について説明する。画面制御部301は、OS350を介した表示部108への画面表示を制御する。画面制御部301によって、MFPアプリケーションの画面が表示部108に表示される。また、画面制御部301は、表示部108を介してユーザが入力した操作指示を判別する。通信部302は、OS350を介して、通信部110もしくは近距離無線通信部111による無線通信を制御し、コマンドの送受信などを実行する。 The software configuration of the MFP application 300 will be described. The screen control unit 301 controls the screen display on the display unit 108 via the OS 350. The screen control unit 301 causes the screen of the MFP application to be displayed on the display unit 108. The screen control unit 301 also determines the operation instructions input by the user via the display unit 108. The communication unit 302 controls wireless communication by the communication unit 110 or the short-range wireless communication unit 111 via the OS 350, and performs transmission and reception of commands, etc.

デバイス検索制御部311は、接続する通信装置151を探索するための探索用データを生成し、通信部110もしくは近距離無線通信部111によってネットワーク上のデバイスに送信され、該当する通信装置151からのレスポンスを受信する。探索用データは、ネットワーク上のすべてのデバイスにブロードキャストする場合もあるし、1台のアドレスを指定して送信する場合もある。 The device search control unit 311 generates search data for searching for a communication device 151 to connect to, transmits the data to a device on the network via the communication unit 110 or the short-range wireless communication unit 111, and receives a response from the corresponding communication device 151. The search data may be broadcast to all devices on the network, or may be transmitted by specifying the address of a single device.

印刷ジョブ生成部305は、印刷ジョブを生成する。印刷ジョブ生成部305によって生成された印刷ジョブは、通信部110もしくは近距離無線通信部111によって通信装置151に送信され、通信装置151において印刷が実行される。 The print job generation unit 305 generates a print job. The print job generated by the print job generation unit 305 is sent to the communication device 151 by the communication unit 110 or the short-range wireless communication unit 111, and printing is performed in the communication device 151.

スキャンジョブ制御部307は、通信部110もしくは近距離無線通信部111によって通信装置151にスキャン指示を行い、通信装置151から受信したスキャンデータを表示する。スキャンジョブ制御部307は、スキャンデータを外部記憶装置106に保存する。保存されたスキャンデータは、ドキュメント管理部308によって管理される。 The scan job control unit 307 issues a scan instruction to the communication device 151 via the communication unit 110 or the short-range wireless communication unit 111, and displays the scan data received from the communication device 151. The scan job control unit 307 saves the scan data in the external storage device 106. The saved scan data is managed by the document management unit 308.

無線LAN接続制御部310は、通信装置151のネットワーク設定を含む、無線LANの接続に関する制御を行う。無線LAN設定部312は、前述のWECの実行をOS350に指示し、通信装置151のネットワーク設定を行う。本実施形態では、情報処理装置101は、MFPアプリケーション300によるネットワーク設定処理の実行指示に基づいて、OS350によりWECを実行する。アプリ記憶部306は、アプリケーションに関する様々な情報を一時的に記憶する。計時部304は、時間を計時する。 The wireless LAN connection control unit 310 controls wireless LAN connection, including network settings for the communication device 151. The wireless LAN setting unit 312 instructs the OS 350 to execute the above-mentioned WEC, and performs network settings for the communication device 151. In this embodiment, the information processing device 101 executes the WEC by the OS 350 based on an instruction to execute a network setting process by the MFP application 300. The application storage unit 306 temporarily stores various information related to the application. The timer unit 304 measures time.

図4は、通信装置151のソフトウェア構成の一例を示す図である。アプリケーション501は、通信装置151のCPU154が実行するソフトウェアであり、RAM153に格納されている。 Figure 4 is a diagram showing an example of the software configuration of the communication device 151. The application 501 is software executed by the CPU 154 of the communication device 151 and is stored in the RAM 153.

ユーザインタフェース(UI)制御部502は、ユーザが操作部159で入力した指示を受け付け、表示部161での画面表示を制御する。ネットワーク設定の指示を受け付けた場合は、ネットワーク設定画面を表示し、通信装置151との接続の指示を受け付けた場合は、接続画面を表示する。図5は、通信装置151の表示部161に表示される画面の一例を示す図である。ユーザは、メニュー画面910上にあるメニューボタンを押下することで、所望の機能を利用することができる。ネットワーク設定メニュー912が押下されると、ネットワーク設定画面920が表示される。ネットワーク設定画面920では、DPP用QRコードが表示される。情報処理装置101は、DPP用QRコードを撮影することで、WECの接続処理を実行することができる。図6(a)は、DPP用QRコードの一例であり、DPP用QRコード1011に示すようなQRコードには、文字列1012の情報が含まれている。 The user interface (UI) control unit 502 receives an instruction input by the user via the operation unit 159 and controls the screen display on the display unit 161. When an instruction for network setting is received, a network setting screen is displayed, and when an instruction for connection to the communication device 151 is received, a connection screen is displayed. FIG. 5 is a diagram showing an example of a screen displayed on the display unit 161 of the communication device 151. The user can use a desired function by pressing a menu button on the menu screen 910. When the network setting menu 912 is pressed, a network setting screen 920 is displayed. A DPP QR code is displayed on the network setting screen 920. The information processing device 101 can execute a WEC connection process by photographing the DPP QR code. FIG. 6(a) is an example of a DPP QR code, and a QR code such as that shown in the DPP QR code 1011 contains information of a character string 1012.

モバイルポータルメニュー911が押下されると(通信装置151との接続の指示)、モバイル接続画面930が表示される。モバイル接続画面930では、モバイル接続用QRコードが表示される。情報処理装置101は、モバイル接続用QRコードを撮影することで、情報処理装置101が通信装置151と接続するための無線情報(以下、モバイル無線接続情報)を取得し、通信装置151と情報処理装置101との接続処理を実行することができる。図6(b)は、モバイル接続用QRコードの一例であり、モバイル接続用QRコード1021に示すようなQRコードには、文字列1022の情報が含まれている。例えば、情報処理装置101は、モバイル接続用QRコードに含まれているSSID情報を使ってアクセスポイントに接続し、接続が成功すると、探索パケットをブロードキャストし、応答のあったデバイスを出力用プリンタとして登録する。なお、モバイル接続用QRコードには、IPアドレスが含まれていても良い。その場合は、接続後にユニキャストでデバイスの探索を行うことが可能である。一方、IPアドレスのみ含まれている場合は、情報処理装置101が現在接続されているネットワークに対して、ユニキャストでデバイスの探索をするようにしても良い。 When the mobile portal menu 911 is pressed (instruction to connect to the communication device 151), a mobile connection screen 930 is displayed. In the mobile connection screen 930, a QR code for mobile connection is displayed. By photographing the QR code for mobile connection, the information processing device 101 can acquire wireless information (hereinafter, mobile wireless connection information) for the information processing device 101 to connect to the communication device 151, and execute a connection process between the communication device 151 and the information processing device 101. FIG. 6B is an example of a QR code for mobile connection, and a QR code such as that shown in the QR code for mobile connection 1021 contains information of a character string 1022. For example, the information processing device 101 connects to an access point using SSID information contained in the QR code for mobile connection, and when the connection is successful, broadcasts a search packet and registers the device that responded as an output printer. Note that the QR code for mobile connection may contain an IP address. In that case, it is possible to search for the device by unicast after the connection. On the other hand, if only the IP address is included, the device may be searched for by unicast on the network to which the information processing device 101 is currently connected.

スキャン処理部511はスキャンジョブに基づいてスキャン処理を実行し、プリント処理部512はプリントジョブに基づいてプリントジョブを実行する。ネットワーク制御部505は、情報処理装置101からプリントジョブ、スキャンジョブなどを、ネットワークを介して受信する。さらに、ネットワーク制御部505は、スキャン処理部511でスキャンされた画像データを、ネットワークを介して情報処理装置101に対し送信することが可能である。 The scan processing unit 511 executes a scan process based on a scan job, and the print processing unit 512 executes a print job based on a print job. The network control unit 505 receives print jobs, scan jobs, and the like from the information processing device 101 via the network. Furthermore, the network control unit 505 can transmit image data scanned by the scan processing unit 511 to the information processing device 101 via the network.

デバイス接続部504は、情報処理装置101と通信装置151のダイレクト接続を行うためのモードであるアクセスポイントモードを起動する。UI制御部502は、モバイル接続画面930を表示するときに、モバイル接続用QRコードを生成する。 The device connection unit 504 activates the access point mode, which is a mode for establishing a direct connection between the information processing device 101 and the communication device 151. When displaying the mobile connection screen 930, the UI control unit 502 generates a QR code for mobile connection.

WEC処理部503は、操作部159を介してユーザから所定の操作を受け付けることにより、通信装置151のネットワークセットアップを実行するためのモードであるネットワークセットアップモードを起動する。具体的には、ネットワーク設定画面920が表示されると同時にネットワークセットアップモードを起動する。UI制御部502は、ネットワーク設定画面920を表示するときに、DPP用QRコードを生成する。通信装置151は、ネットワークセットアップモードとして動作する場合、ネットワークセットアップモードとしてDPPのセットアップを待ち受ける状態で動作する。即ち、前述のDPP Autenticationリクエストを待ち受ける状態となる。通信装置151は、ネットワークセットアップモードでの動作を開始した後、所定の時間が経過したら、ネットワークセットアップモードでの動作を停止する。即ち、ネットワークセットアップモードを停止すると、前述のDPP Autenticationリクエストに対する応答を行わない動作モードに遷移する。すなわち、DPPに基づくセットアップを受け付けない状態となる。これは、セットアップモードを長時間有効化していると、適切でない装置からDPPを用いたセットアップ処理が行われてしまう可能性が高まるためである。 The WEC processing unit 503 starts the network setup mode, which is a mode for executing the network setup of the communication device 151, by accepting a predetermined operation from the user via the operation unit 159. Specifically, the network setup mode is started at the same time as the network setting screen 920 is displayed. When the UI control unit 502 displays the network setting screen 920, it generates a QR code for DPP. When operating in the network setup mode, the communication device 151 operates in a state of waiting for DPP setup in the network setup mode. That is, it is in a state of waiting for the above-mentioned DPP Authentication request. After starting operation in the network setup mode, the communication device 151 stops operating in the network setup mode when a predetermined time has elapsed. That is, when the network setup mode is stopped, it transitions to an operation mode in which it does not respond to the above-mentioned DPP Authentication request. That is, it is in a state in which it does not accept setup based on DPP. This is because if the setup mode is enabled for a long time, there is an increased possibility that a setup process using DPP will be performed from an inappropriate device.

以上の構成を有する通信システムの動作について説明を行う。以下の説明では、一例として、情報処理装置101が外部のアクセスポイントに接続していない状態から始まり、通信装置151で表示されたDPP用QRコードを情報処理装置101が撮像部112により撮影する構成を説明する。その構成においては、情報処理装置101は、撮影したDPP用QRコードの情報を用いて、WECによるネットワークセットアップを行う。 The operation of the communication system having the above configuration will be described. In the following description, as an example, a configuration will be described in which the information processing device 101 starts from a state in which it is not connected to an external access point, and the information processing device 101 captures a QR code for DPP displayed on the communication device 151 using the imaging unit 112. In this configuration, the information processing device 101 performs network setup using the WEC, using information from the captured QR code for DPP.

まず、図14を用いて、DPPを利用したWECにおいて、情報処理装置101と通信装置151によって実行される処理を説明する。図14に示すシーケンスは、例えば、各装置のCPUが各装置のROMや外部記憶装置等に格納されたプログラムを各装置のRAMに読み出して実行することにより実現される。 First, the process executed by the information processing device 101 and the communication device 151 in a WEC using DPP will be described with reference to FIG. 14. The sequence shown in FIG. 14 is realized, for example, by the CPU of each device reading a program stored in the ROM or an external storage device of each device into the RAM of each device and executing it.

まず、S200において、通信装置151は、DPP待ち受けモードを開始する。DPP待ち受けモード開始のトリガーは、例えば、操作部159を介したユーザ操作であってもよいし、情報処理装置101等の外部装置から特定信号を受信することであってもよい。情報処理装置101等の外部装置から特定信号を受信することの具体例としては、特定のBLEビーコンを受信することや、特定の無線LAN通信を受信することなどが挙げられる。DPP待ち受けモードが開始されると、WEC関連情報の読み取りが可能となる。例えば、S201に示すBootstrappingにQRコードを用いる場合、通信装置151は、WEC関連情報に基づいてDPP用QRコードを生成し、表示部161に表示する。 First, in S200, the communication device 151 starts the DPP standby mode. The trigger for starting the DPP standby mode may be, for example, a user operation via the operation unit 159, or the receipt of a specific signal from an external device such as the information processing device 101. Specific examples of receiving a specific signal from an external device such as the information processing device 101 include the receipt of a specific BLE beacon or a specific wireless LAN communication. When the DPP standby mode is started, it becomes possible to read the WEC-related information. For example, when a QR code is used for the Bootstrapping shown in S201, the communication device 151 generates a QR code for DPP based on the WEC-related information and displays it on the display unit 161.

なお、S200でDPP待ち受けモードを開始する際、通信装置151は、他のモードとして並行動作していても良い。例えば、上述のネットワークセットアップモードとして並行動作していても良い。 When starting the DPP standby mode in S200, the communication device 151 may be operating in parallel in another mode. For example, it may be operating in parallel in the network setup mode described above.

ここで、図15を用いて、DPPを利用したWECにおいて、通信装置151によって実行されるDPP待ち受けモードの処理を説明する。図15に示すフローチャートは、例えば、通信装置151のCPU154がROM152等に記憶されたプログラムをRAM153に読み出して実行することにより実現される。 Now, with reference to FIG. 15, we will explain the processing of the DPP standby mode executed by the communication device 151 in a WEC using DPP. The flowchart shown in FIG. 15 is realized, for example, by the CPU 154 of the communication device 151 reading a program stored in the ROM 152 or the like into the RAM 153 and executing it.

図15は、DPP待ち受けモード開始処理の内容を示すフローチャートである。また、図15のフローチャートは、例えば通信装置151がS200でDPP待ち受けモードを開始したことに基づいて開始する。 Figure 15 is a flowchart showing the contents of the DPP standby mode start process. Also, the flowchart in Figure 15 starts, for example, when the communication device 151 starts the DPP standby mode in S200.

S601において、CPU154は、DPP通信の待ち受けチャネルを決定する。DPP通信の待ち受けチャネルとは、情報処理装置101から送信されるDPPによるネットワークセットアップ要求を待ち受けるチャネルのことである。また、DPP configuration処理も同じチャネルが使用される。なお、DPP通信の待ち受けチャネルにどのチャネルを使用するかは、例えば、ユーザが通信装置151の操作画面から設定してもよい。 In S601, the CPU 154 determines a standby channel for DPP communication. The standby channel for DPP communication is a channel that waits for a network setup request by DPP transmitted from the information processing device 101. The same channel is also used for DPP configuration processing. Note that the user may set which channel to use as the standby channel for DPP communication from, for example, an operation screen of the communication device 151.

S602において、CPU154は、上述した、情報処理装置101とセキュアな通信を行うために用いられる公開鍵情報を生成する。 In S602, the CPU 154 generates the public key information used to perform secure communication with the information processing device 101 as described above.

S603において、CPU154は、上述したBootstrapping情報を生成する。Bootstrapping情報には、例えば、通信装置151の識別情報(MACアドレス等)や、DPP通信の待ち受けチャネルに関する情報、S602で生成された公開鍵情報などが含まれる。 In S603, the CPU 154 generates the above-mentioned Bootstrapping information. The Bootstrapping information includes, for example, identification information (such as a MAC address) of the communication device 151, information about the waiting channel for DPP communication, and the public key information generated in S602.

S604において、CPU154は、DPP待ち受けモードを開始する。DPP待ち受けモードが開始されると、通信装置151と情報処理装置101との間でDPP Authenticationにおける通信が可能となる。 In S604, the CPU 154 starts the DPP standby mode. When the DPP standby mode starts, communication by DPP Authentication becomes possible between the communication device 151 and the information processing device 101.

S605において、CPU154は、DPP待ち受けモードタイムアウト用タイマを起動する。なおCPU154は、DPP待ち受けモードでの動作を開始した後、所定の時間が経過したら、DPP待ち受けモードでの動作を停止する。DPP待ち受けモードの動作を停止することで、例えば、ネットワークセットアップ用プロトコルを用いたネットワークセットアップ処理に移行する。 In S605, the CPU 154 starts a timer for timeout of the DPP standby mode. After starting operation in the DPP standby mode, the CPU 154 stops operation in the DPP standby mode when a predetermined time has elapsed. By stopping operation in the DPP standby mode, for example, the process transitions to a network setup process using a network setup protocol.

再び、図14を参照する。S201において、情報処理装置101は、Bootstrapping情報としてWEC関連情報を取得する。例えば、Bootstrapping情報の取得にDPP用QRコードを用いる場合、情報処理装置101は、設定アプリにおいてQRコード撮影機能を実行する。QRコード撮影機能では撮影部112を用いてDPP用QRコードの撮影を行い、撮影された撮影画像からQRコードを解析する。これによって、設定アプリは、DPP用QRコードに含まれるWEC関連情報を取得する。 Refer to FIG. 14 again. In S201, the information processing device 101 acquires WEC-related information as Bootstrapping information. For example, when a DPP QR code is used to acquire the Bootstrapping information, the information processing device 101 executes a QR code capturing function in the setting app. In the QR code capturing function, the image capturing unit 112 is used to capture an image of the DPP QR code, and the QR code is analyzed from the captured image. As a result, the setting app acquires the WEC-related information contained in the DPP QR code.

S202において、情報処理装置101は、OSの機能により、DPPを利用したWECを開始する。具体的にはまず情報処理装置101は、WEC用アプリの起動指示を設定アプリからOSに指示することで、WEC用アプリを起動する。これにより、WEC用アプリがフォアグラウンドで動作し、設定アプリがバックグラウンドで動作することとなる。なお例えば当該指示の実行が、WECを実行するための指示に相当することとなる。これにより情報処理装置101は、WEC用アプリによるWEC開始画面を表示する。なおWEC用アプリは、情報処理装置101に予めインストールされているプログラムであり、情報処理装置101のOSベンダーによって提供されるプログラムである。また、WEC用アプリが起動された場合、設定アプリによって取得されたWEC関連情報が、WEC用アプリに提供される。 In S202, the information processing device 101 starts WEC using DPP using a function of the OS. Specifically, the information processing device 101 first starts the WEC app by issuing an instruction to start the WEC app from the setting app to the OS. As a result, the WEC app runs in the foreground and the setting app runs in the background. Note that, for example, execution of this instruction corresponds to an instruction to run WEC. As a result, the information processing device 101 displays a WEC start screen by the WEC app. Note that the WEC app is a program pre-installed in the information processing device 101 and is a program provided by the OS vendor of the information processing device 101. Furthermore, when the WEC app is started, WEC-related information acquired by the setting app is provided to the WEC app.

S202において、情報処理装置101のWEC用アプリは、WEC関連情報やWECによる設定対象として設定されているアクセスポイントに関する情報を用いてWEC用のAPIを実行することにより、OSにWECの実行を指示する。そして、S203では、OSの機能により、情報処理装置101と通信装置151との間で、DPP Authenticationと呼ばれる処理が実行される。DPP Authenticationにおいては、情報処理装置101と通信装置151との間で、認証情報や、情報の暗号化に利用される情報などが通信されることで、装置間の通信の認証が行われる。なおDPP Authenticationにおける通信において情報処理装置101から送信される各種情報は、情報処理装置101によって通信装置151から取得されているWEC関連情報に基づき暗号化される。DPP Authenticationにおいては、具体的にはまず情報処理装置101が、DPPによるネットワークセットアップ要求としてAuthentication Requestを送信する。次に、DPP待ち受けモードとして動作する通信装置151は、Authentication Requestを待ち受けるモードであるDPP待ち受けモードとして動作している。そのため、通信装置151は、情報処理装置101から送信されたAuthentication Requestを受信する。Authentication Requestを受信した通信装置151は、受信したAuthentication Requestの、自身が現在有している復号鍵による復号化を試みる。そして通信装置151は、当該復号化に成功した場合、Authentication responseを情報処理装置101に送信し、情報処理装置101との通信を認証する。なお、情報処理装置101が、正確なWEC関連情報を取得できておらず、正確に情報を暗号化できていなかった場合は、通信装置151における復号化が失敗するため、認証は失敗し、Authentication responseが送信されない。Authentication responseが情報処理装置101によって受信されることで、DPP Authenticationが完了する。また、DPP Authenticationにおいては、DPPが用いられて通信が実行される。 In S202, the WEC application of the information processing device 101 instructs the OS to execute WEC by executing an API for WEC using WEC-related information and information about the access point set as a target for setting by WEC. Then, in S203, a process called DPP Authentication is executed between the information processing device 101 and the communication device 151 by a function of the OS. In DPP Authentication, authentication information and information used for encrypting information are communicated between the information processing device 101 and the communication device 151, thereby authenticating communication between the devices. Note that various information transmitted from the information processing device 101 in communication in DPP Authentication is encrypted based on the WEC-related information acquired by the information processing device 101 from the communication device 151. In DPP Authentication, specifically, first, the information processing device 101 transmits an Authentication Request as a network setup request by DPP. Next, the communication device 151 operating in a DPP standby mode operates in a DPP standby mode that is a mode for waiting for an Authentication Request. Therefore, the communication device 151 receives the Authentication Request transmitted from the information processing device 101. The communication device 151 that has received the Authentication Request attempts to decrypt the received Authentication Request using a decryption key that it currently has. If the decryption is successful, the communication device 151 transmits an Authentication response to the information processing device 101 and authenticates communication with the information processing device 101. Note that if the information processing device 101 is unable to acquire accurate WEC-related information and is unable to encrypt information accurately, decryption in the communication device 151 fails, authentication fails, and an Authentication response is not transmitted. When the Authentication response is received by the information processing device 101, DPP Authentication is completed. In addition, in DPP Authentication, communication is performed using DPP.

次にS204において、情報処理装置101のOSの機能により、情報処理装置101と通信装置151との間で、DPP Configurationと呼ばれる処理が実行される。DPP Configurationにおいては、情報処理装置101は、WECによる設定対象として設定されているアクセスポイントと接続するための接続情報を、WECにより通信装置151に送信する。なお接続情報には、WECによる設定対象として設定されているアクセスポイントのSSIDやパスワード、暗号化方式を示す情報等が少なくとも一つ以上含まれる。このとき送信されるパスワードは、情報処理装置101とアクセスポイントとの間の接続が確立された際にOS対応のアプリが表示する画面上においてユーザによって入力されていた情報である。そして、情報処理装置101とアクセスポイントとの間の接続が確立された際にOSにより保持されていた情報である。またパスワードは、設定アプリは保持していない情報である。また、このとき送信されるパスワードは、OSが既に保持している情報であり、且つDPP ConfigurationはOSによって実行される処理であるため、設定アプリが表示する画面上において新たにユーザによって入力される必要はない。本実施形態では、WECによって接続情報を送信することで、設定アプリが表示する画面上においてユーザからパスワードの入力を新たに受け付けることなく且つ、セキュアな通信で、パスワードを通信装置151に送信することができる。なお、DPP Configurationにおいても、DPPが用いられて通信が実行される。 Next, in S204, a process called DPP Configuration is executed between the information processing device 101 and the communication device 151 by a function of the OS of the information processing device 101. In DPP Configuration, the information processing device 101 transmits connection information for connecting to an access point set as a setting target by the WEC to the communication device 151 by the WEC. The connection information includes at least one of the SSID, password, and encryption method of the access point set as a setting target by the WEC. The password transmitted at this time is information that was input by the user on a screen displayed by an OS-compatible application when a connection between the information processing device 101 and the access point was established. The password is information that was held by the OS when a connection between the information processing device 101 and the access point was established. The password is information that is not held by the setting application. Furthermore, since the password transmitted at this time is information already held by the OS, and DPP Configuration is a process executed by the OS, there is no need for the user to newly input the password on the screen displayed by the setting application. In this embodiment, by transmitting connection information by WEC, it is possible to transmit the password to the communication device 151 through secure communication without receiving a new password input from the user on the screen displayed by the setting application. Note that communication is also performed using DPP in DPP Configuration.

S205において、通信装置151は、DPP Configurationが完了したことに応じてDPP待ち受けモードを終了する。DPP待ち受けモードの終了は、例えばDPP用QRコードの表示の終了により行われる。 In S205, the communication device 151 ends the DPP standby mode in response to the completion of the DPP configuration. The DPP standby mode is ended, for example, by the end of displaying the DPP QR code.

S206において、通信装置151は、DPP Configurationによって接続情報を取得したことをもってインフラストラクチャモードに移行する。また、通信装置151は、このときネットワークセットアップモードとして動作していた場合は、ネットワークセットアップモードを終了する。通信装置151は、取得した接続情報を用いて、当該接続情報に対応するアクセスポイントとの接続を試みる。接続が成功した場合、以後、通信装置151は、接続したアクセスポイントが形成するネットワークを介して通信を実行可能となる。なお、接続したアクセスポイントが形成するネットワークを介した通信は、DPPとは異なるプロトコル(具体的には例えば、Port9100やSNMP、HTTP、通信装置151のベンダー独自のプロトコル)によって実行される。なお、通信装置151は、WECによって取得した接続情報に対応するアクセスポイントとの接続の成否を示す情報を、情報処理装置101に送信しても良い。また、さらに、WECによって取得した接続情報に対応するアクセスポイントとの接続が失敗した場合は、失敗した原因を示す情報を、情報処理装置101に送信しても良い。またこれらの情報送信は、DPPが用いられて実行されてもよい。なお、取得した接続情報に対応するアクセスポイントとの接続が失敗する原因は、WECにおける通信のエラーや、当該アクセスポイントが発見されなかったことや、通信装置151から取得されたWEC関連情報が適切な情報でなかったこと等である。また例えば、WECによる設定対象として設定されているアクセスポイントとの接続に用いられる暗号化方式が、通信装置151が対応していない暗号化方式であったこと等である。また例えば、WECによる設定対象として設定されているアクセスポイントとの接続に用いられる暗号化方式が、WECが対応していない暗号化方式であったこと等である。なお、情報処理装置101は、WECによって取得した接続情報に対応するアクセスポイントと通信装置151との接続の成否を示す情報を表示部108に表示してもよい。さらに、情報処理装置101は、WECによって取得した接続情報に対応するアクセスポイントと通信装置151との接続が失敗した場合は、失敗した原因を示す情報を表示部108に表示してもよい。 In S206, the communication device 151 transitions to infrastructure mode by acquiring connection information through DPP Configuration. If the communication device 151 is operating in network setup mode at this time, the communication device 151 ends the network setup mode. The communication device 151 attempts to connect to an access point corresponding to the acquired connection information using the acquired connection information. If the connection is successful, the communication device 151 can then communicate through a network formed by the connected access point. Note that communication through a network formed by the connected access point is performed by a protocol different from DPP (specifically, for example, Port9100, SNMP, HTTP, or a protocol unique to the vendor of the communication device 151). Note that the communication device 151 may transmit information indicating whether or not the connection to the access point corresponding to the connection information acquired by WEC has been successful to the information processing device 101. Furthermore, if the connection to the access point corresponding to the connection information acquired by WEC has failed, information indicating the cause of the failure may be transmitted to the information processing device 101. The information transmission may be performed using DPP. The cause of failure in connection with the access point corresponding to the acquired connection information may be a communication error in the WEC, the access point not being found, or the WEC-related information acquired from the communication device 151 being inappropriate. For example, the encryption method used in connection with the access point set as the setting target by the WEC is an encryption method that the communication device 151 does not support. For example, the encryption method used in connection with the access point set as the setting target by the WEC is an encryption method that the WEC does not support. The information processing device 101 may display information indicating whether or not the connection between the access point corresponding to the connection information acquired by the WEC and the communication device 151 is successful on the display unit 108. Furthermore, if the connection between the access point corresponding to the connection information acquired by the WEC and the communication device 151 fails, the information processing device 101 may display information indicating the cause of the failure on the display unit 108.

S207において、情報処理装置101は、WECの実行が終了したことに基づいて、フォアグラウンドで動作しているアプリを、WEC用アプリから設定アプリに切り替える。そして、情報処理装置101は、自身が属するネットワーク上で、通信装置151を検索する。本処理は、ブロードキャストによる検索でも、ユニキャストによる検索でも良い。また検索に用いられる情報である、通信装置151のIPアドレスやMACアドレスは、DPP用QRコードによって取得されて良い。また本処理は、WECの実行が終了したことの通知をOSから受け取った設定アプリにより実現される。そして、情報処理装置101は、通信装置151が発見された場合に、通信装置151にケーパビリティ情報を要求し、通信装置151はケーパビリティ情報を情報処理装置101に送信する。これにより、設定アプリ上に、通信装置151の情報を登録し、以後、設定アプリによる通信装置151との通信を実行可能とする。具体的には例えば、設定アプリによって通信装置151に印刷ジョブを送信可能とする。なおこのとき、通信装置151が接続したアクセスポイントによって形成されるネットワークに情報処理装置101が属している場合には、当該アクセスポイントを介して情報処理装置101と通信装置151との通信が実行可能となる。また、通信装置151が接続したアクセスポイントが、情報処理装置101が接続しているアクセスポイントでなかった場合等、情報処理装置101と通信装置151との間の通信が実行できない場合は、ケーパビリティ情報の要求や取得は省略される。なお、S207における通信は、例えば、DPPともセットアップ用通信プロトコルとも異なる通信プロトコルが利用されて実行される。その後、情報処理装置101は、本シーケンス図における処理を終了する。 In S207, the information processing device 101 switches the application running in the foreground from the WEC application to the setting application based on the completion of the execution of the WEC. Then, the information processing device 101 searches for the communication device 151 on the network to which the information processing device 101 belongs. This process may be a broadcast search or a unicast search. The IP address or MAC address of the communication device 151, which is information used for the search, may be acquired by a QR code for DPP. This process is realized by the setting application that receives a notification from the OS that the execution of the WEC has been completed. Then, when the information processing device 101 finds the communication device 151, it requests capability information from the communication device 151, and the communication device 151 transmits the capability information to the information processing device 101. As a result, information about the communication device 151 is registered on the setting application, and thereafter, communication with the communication device 151 can be executed by the setting application. Specifically, for example, a print job can be sent to the communication device 151 by the setting application. At this time, if the information processing device 101 belongs to a network formed by the access point to which the communication device 151 is connected, communication between the information processing device 101 and the communication device 151 can be performed via the access point. If communication between the information processing device 101 and the communication device 151 cannot be performed, such as when the access point to which the communication device 151 is connected is not the access point to which the information processing device 101 is connected, the request and acquisition of capability information is omitted. Note that the communication in S207 is performed using, for example, a communication protocol different from DPP and the setup communication protocol. After that, the information processing device 101 ends the processing in this sequence diagram.

なお上述では、WEC用アプリによってWEC開始画面が表示され、WEC用アプリがWEC用のAPIを実行することによりWECの実行をOSに指示する形態を説明したが、この形態に限定されない。例えば設定アプリによってWEC開始画面が表示されても良い。また、WEC用のAPIを設定アプリが実行することによりWECの実行をOSに指示する形態であっても良い。 In the above description, the WEC start screen is displayed by the WEC app, and the WEC app executes an API for WEC to instruct the OS to run WEC, but this is not limiting. For example, the WEC start screen may be displayed by a settings app. Also, the settings app may execute an API for WEC to instruct the OS to run WEC.

次に、情報処理装置101の表示部108に表示される、通信装置151のネットワーク設定を実行する場合の画面と、情報処理装置101と通信装置151との接続処理を実行する場合の画面について説明する。なお、本実施形態では、情報処理装置101と通信装置151との接続処理をモバイル接続ともいう。 Next, a screen displayed on the display unit 108 of the information processing device 101 when performing network settings for the communication device 151 and a screen displayed when performing connection processing between the information processing device 101 and the communication device 151 will be described. Note that in this embodiment, the connection processing between the information processing device 101 and the communication device 151 is also referred to as mobile connection.

情報処理装置101を起動すると、図7(a)のホーム画面810が表示部108に表示される。MFPアプリアイコン811は、MFPアプリケーション300を表すアイコンであり、MFPアプリアイコン811が選択されると、MFPアプリケーション300が起動する。 When the information processing device 101 is started, the home screen 810 in FIG. 7(a) is displayed on the display unit 108. The MFP app icon 811 is an icon representing the MFP application 300, and when the MFP app icon 811 is selected, the MFP application 300 is started.

MFPアプリケーション300が起動すると、図7(b)のアプリホーム画面820が表示される。アプリホーム画面820は、出力プリンタが未選択の状態を表している。選択デバイスアイコン821には、現在選択されているデバイスが表示される。選択されていない場合は、「No Printer」と表示される。デバイス検索ボタン822は、デバイス検索用のボタンである。スキャン機能の実行ボタン823が押下されると、不図示のスキャン設定画面に遷移する。プリント機能の実行ボタン824が押下されると、不図示のプリント設定画面に遷移する。その他の機能ボタン825が押下されると、不図示のその他機能一覧画面に遷移する。 When the MFP application 300 is launched, the application home screen 820 in FIG. 7B is displayed. The application home screen 820 shows a state in which an output printer has not been selected. The selected device icon 821 shows the currently selected device. If no device is selected, "No Printer" is displayed. The device search button 822 is a button for searching for devices. When the execute scan function button 823 is pressed, the screen transitions to a scan setting screen (not shown). When the execute print function button 824 is pressed, the screen transitions to a print setting screen (not shown). When the other functions button 825 is pressed, the screen transitions to an other functions list screen (not shown).

デバイス検索ボタン822が選択されると、図7(c)のデバイス選択画面830が表示される。デバイス選択画面830上で自動検索メニュー831が選択されると、図8(a)のデバイス自動検索画面840に遷移する。一方、デバイス選択画面830上でQRコードメニュー832が選択されると、図10(a)のデバイス検索QR撮影画面860に遷移する。 When the device search button 822 is selected, the device selection screen 830 in FIG. 7(c) is displayed. When the automatic search menu 831 is selected on the device selection screen 830, the screen transitions to the device automatic search screen 840 in FIG. 8(a). On the other hand, when the QR code menu 832 is selected on the device selection screen 830, the screen transitions to the device search QR capture screen 860 in FIG. 10(a).

デバイス自動検索画面840では、デバイスが見つかった場合は、見つかったデバイスの一覧が表示されるが、見つからない場合は、図8(a)のようにメッセージ841が表示される。その際、「QRコードでプリンタの無線LAN設定をする」というメニュー842が表示される。メニュー842が押下されると、図8(b)の無線LAN設定QR撮影画面850に遷移する。情報処理装置101は、図8(b)の無線LAN設定QR撮影画面850により、通信装置151に表示されているQRコードを撮影し、WEC関連情報を取得する。情報処理装置101は、取得したWEC関連情報を用いてWECを実行し、図8(c)の無線LAN設定QR撮影画面(設定中)851を表示する。ネットワーク設定処理は、図14及び図15で前述したDPPプロトコルに基づき実行される。ネットワーク設定処理が完了すると、情報処理装置101は、図9(a)の無線LAN設定QR撮影画面(設定完了)852を表示し、ネットワーク設定処理を終了する。 In the device automatic search screen 840, if a device is found, a list of the found devices is displayed, but if no device is found, a message 841 is displayed as shown in FIG. 8A. At that time, a menu 842 of "Set up the printer's wireless LAN using QR code" is displayed. When the menu 842 is pressed, the screen transitions to the wireless LAN setting QR shooting screen 850 of FIG. 8B. The information processing device 101 photographs the QR code displayed on the communication device 151 using the wireless LAN setting QR shooting screen 850 of FIG. 8B and acquires WEC-related information. The information processing device 101 executes WEC using the acquired WEC-related information and displays the wireless LAN setting QR shooting screen (setting in progress) 851 of FIG. 8C. The network setting process is executed based on the DPP protocol described above in FIG. 14 and FIG. 15. When the network setting process is completed, the information processing device 101 displays the wireless LAN setting QR shooting screen (setting completed) 852 of FIG. 9A and ends the network setting process.

以上が、情報処理装置101で通信装置151のネットワーク設定を実行しようとした場合に、通信装置151に図5(b)のようなネットワーク設定用のDPP用QRコードが表示されていた場合の画面の遷移である。 The above is the screen transition that occurs when an attempt is made to execute network settings for the communication device 151 using the information processing device 101 and a DPP QR code for network settings, such as that shown in FIG. 5(b), is displayed on the communication device 151.

情報処理装置101は、図10(a)のデバイス検索QR撮影画面860により、通信装置151に表示されているQRコードを撮影し、モバイル無線接続情報を取得する。情報処理装置101は、取得したモバイル無線接続情報を用いて通信装置151との無線接続処理を実行し、図10(b)のデバイス検索QR撮影画面(接続中)865を表示する。無線接続処理が完了すると、情報処理装置101は、図10(c)のアプリホーム画面(デバイス選択済)870を表示する。アプリホーム画面870(デバイス選択済み)では、デバイスが選択されている状態であることが示されている。 The information processing device 101 photographs the QR code displayed on the communication device 151 using the device search QR photographing screen 860 in FIG. 10(a) and acquires mobile wireless connection information. The information processing device 101 executes wireless connection processing with the communication device 151 using the acquired mobile wireless connection information and displays the device search QR photographing screen (connecting) 865 in FIG. 10(b). When the wireless connection processing is completed, the information processing device 101 displays the application home screen (device selected) 870 in FIG. 10(c). The application home screen 870 (device selected) indicates that the device has been selected.

以上が、情報処理装置101で通信装置151との接続処理を実行しようとした場合に、通信装置151に図5(c)のようなモバイル接続用QRコードが表示されていた場合の画面の遷移である。 The above is the screen transition that occurs when the information processing device 101 attempts to execute a connection process with the communication device 151 and a QR code for mobile connection such as that shown in Figure 5 (c) is displayed on the communication device 151.

図12は、本実施形態において、情報処理装置101が実行する表示制御処理を示すフローチャートである。図12に示すフローチャートは、例えば、CPU103がROM104や外部記憶装置106等に格納されたプログラムをRAM105に読み出して実行することにより実現される。 Fig. 12 is a flowchart showing the display control process executed by the information processing device 101 in this embodiment. The flowchart shown in Fig. 12 is realized, for example, by the CPU 103 reading a program stored in the ROM 104, the external storage device 106, etc., into the RAM 105 and executing it.

S101では、CPU103は、図7(a)のホーム画面810上のMFPアプリアイコン811が選択されたことを検知すると、MFPアプリケーション811を起動する。 In S101, when the CPU 103 detects that the MFP app icon 811 on the home screen 810 in FIG. 7A has been selected, it launches the MFP application 811.

S102では、CPU103は、QRコードによるデバイス検索指示を受け付けたか否かを判定する。具体的には例えば、図7(c)のデバイス選択画面830で、QRコードメニュー832が選択された場合、CPU103は、QRコードによるデバイス検索指示を受け付けたと判定する。QRコードによるデバイス検索指示を受け付けたと判定された場合にはS103に進み、QRコードによるデバイス検索指示を受け付けていないと判定された場合にはS111に進む。 In S102, the CPU 103 determines whether or not a device search instruction using a QR code has been received. Specifically, for example, when the QR code menu 832 is selected on the device selection screen 830 in FIG. 7(c), the CPU 103 determines that a device search instruction using a QR code has been received. If it is determined that a device search instruction using a QR code has been received, the process proceeds to S103, and if it is determined that a device search instruction using a QR code has not been received, the process proceeds to S111.

S103では、CPU103は、図10(a)のデバイス検索QR撮影画面860を表示する。S104では、CPU103は、撮影部112を用いて通信装置151に表示されているQRコードを読み込み、S105に進む。 In S103, the CPU 103 displays the device search QR capture screen 860 of FIG. 10(a). In S104, the CPU 103 reads the QR code displayed on the communication device 151 using the capture unit 112, and proceeds to S105.

S105では、CPU103は、S104で読み込まれたQRコードがモバイル接続用QRコードであるか否かを判定する。モバイル接続用QRコードであると判定された場合はS106に進む。モバイル接続用QRコードでないと判定された場合、CPU103は、DPP用QRコードであると判定し、S107に進む。具体的には、取得したQRコードに含まれる文字列が、”WIFI”で始まる場合には、CPU103は、モバイル接続用QRコードと判定する。S106では、CPU103は、図10(b)のデバイス検索QR撮影画面(接続中)865を表示し、読み取ったモバイル接続用QRコードの情報を用いて上述の確立処理やデバイス検索処理を行い、図12の処理を終了する。 In S105, the CPU 103 determines whether the QR code read in S104 is a QR code for mobile connection. If it is determined that it is a QR code for mobile connection, the process proceeds to S106. If it is determined that it is not a QR code for mobile connection, the CPU 103 determines that it is a QR code for DPP, and the process proceeds to S107. Specifically, if the character string included in the acquired QR code starts with "WIFI", the CPU 103 determines that it is a QR code for mobile connection. In S106, the CPU 103 displays the device search QR shooting screen (connecting) 865 in FIG. 10(b), performs the above-mentioned establishment process and device search process using the information of the read QR code for mobile connection, and ends the process in FIG. 12.

S105でモバイル接続用QRコードでない、即ち、DPP用QRコードであると判定された場合、S107ではCPU103は、図11(a)の問い合わせ画面866を表示することにより、デバイスのネットワーク設定を行うか否かをユーザに問い合わせる。そして、CPU103は、ユーザ指示に基づいて、デバイスのネットワーク設定を行うか否かを判定する。例えば、CPU103は、図11(a)の問い合わせ画面866上の「はい」ボタンと「いいえ」ボタンのいずれが選択されたかに基づいて、デバイスのネットワーク設定を行うか否かを判定する。デバイスのネットワーク設定を行うと判定された、例えば「はい」ボタンが選択された場合はS109に進む。一方、デバイスのネットワーク設定を行わないと判定された、例えば「いいえ」ボタンが選択された場合はS108に進む。S108では、CPU103は、図11(b)のメッセージ画面867を表示し、通信装置151でモバイル接続用QRコードを表示するよう促すメッセージを表示し、図12の処理を終了する。図11(b)に示すように、メッセージ画面867は、通信装置151でモバイル接続用QRコードを表示させるためのガイダンス画面となっている。S107でデバイスのネットワーク設定を行うと判定された場合、S109では、CPU103は、図8(c)の無線LAN設定QR撮影画面(設定中)851を表示する。S110では、CPU103は、QRコードから取得したWEC関連情報を用いて、WECを実行し、図12の処理を終了する。 If it is determined in S105 that the QR code is not for mobile connection, i.e., that the QR code is for DPP, in S107, the CPU 103 displays the inquiry screen 866 in FIG. 11(a) to inquire of the user whether to perform network settings of the device. Then, the CPU 103 determines whether to perform network settings of the device based on the user's instruction. For example, the CPU 103 determines whether to perform network settings of the device based on whether the "Yes" button or the "No" button on the inquiry screen 866 in FIG. 11(a) is selected. If it is determined that the network settings of the device are to be performed, for example, the "Yes" button is selected, the process proceeds to S109. On the other hand, if it is determined that the network settings of the device are not to be performed, for example, the "No" button is selected, the process proceeds to S108. In S108, the CPU 103 displays the message screen 867 in FIG. 11(b), displays a message prompting the communication device 151 to display the QR code for mobile connection, and ends the process in FIG. 12. As shown in FIG. 11B, the message screen 867 is a guidance screen for displaying a QR code for mobile connection on the communication device 151. If it is determined in S107 that the device network settings are to be performed, in S109, the CPU 103 displays the wireless LAN setting QR capture screen (setting) 851 in FIG. 8C. In S110, the CPU 103 executes the WEC using the WEC-related information acquired from the QR code, and ends the processing in FIG. 12.

このように、本実施形態では、情報処理装置101でモバイル接続を行おうとし、通信装置151でDPP用QRコードが表示されている場合には、モバイル接続用QRコードでないことを通知する。そして、ネットワーク設定を行わない指示を受け付けた場合には、通信装置151でモバイル接続用QRコードを表示するよう促す。また、ネットワーク設定を行う指示を受け付けた場合には、そのままネットワーク設定を行う。このような構成により、情報処理装置101でモバイル接続を行おうとし、通信装置151でDPP用QRコードが表示されている場合に、情報処理装置101を用いた通信装置151に対する各種機能の実行の利便性を向上できる。 In this manner, in this embodiment, when an attempt is made to perform a mobile connection with the information processing device 101 and a QR code for DPP is displayed on the communication device 151, a notification is given that the QR code is not for mobile connection. Then, when an instruction not to perform network settings is received, the communication device 151 is prompted to display a QR code for mobile connection. Also, when an instruction to perform network settings is received, the network settings are performed as is. With this configuration, when an attempt is made to perform a mobile connection with the information processing device 101 and a QR code for DPP is displayed on the communication device 151, the convenience of executing various functions on the communication device 151 using the information processing device 101 can be improved.

以下、S102でQRコードによるデバイス検索指示を受け付けていないと判定された場合を説明する。S111では、CPU103は、通信装置151のネットワーク設定の指示を受け付けたか否かを判定する。例えば、CPU103は、図8(a)のデバイス自動検索画面840の「QRコードでプリンタの無線LAN設定をする」で表されるメニュー842が選択されたか否かに基づいて、通信装置151のネットワーク設定の指示を受け付けたか否かを判定する。メニュー842が選択されてネットワーク設定の指示を受け付けたと判定された場合はS112に進む。一方、ネットワーク設定の指示を受け付けていないと判定された場合はS102からの処理を繰り返す。 Below, a case where it is determined in S102 that a device search instruction using a QR code has not been accepted will be described. In S111, the CPU 103 determines whether or not an instruction for network settings of the communication device 151 has been accepted. For example, the CPU 103 determines whether or not an instruction for network settings of the communication device 151 has been accepted based on whether or not the menu 842 represented by "Set up printer wireless LAN using QR code" on the automatic device search screen 840 in FIG. 8(a) has been selected. If it is determined that the menu 842 has been selected and an instruction for network settings has been accepted, the process proceeds to S112. On the other hand, if it is determined that an instruction for network settings has not been accepted, the process repeats from S102.

S112では、CPU103は、図8(b)の無線LAN設定QR撮影画面850を表示する。S113では、CPU103は、撮影部112を用いてQRコードを読み込み、S114に進む。 In S112, the CPU 103 displays the wireless LAN setting QR capture screen 850 in FIG. 8(b). In S113, the CPU 103 reads the QR code using the capture unit 112 and proceeds to S114.

S114では、CPU103は、S113で読み込まれたQRコードがDPP用QRコードか否かを判定する。例えば、読み取ったQRコードに含まれる文字列が”DPP”で始まる文字列の場合は、CPU103は、DPP用QRコードと判定する。DPP用QRコードであると判定された場合はS115に進む。一方、DPP用QRコードでないと判定された場合は、CPU103は、モバイル接続用QRコードであると判定し、S116に進む。S115では、CPU103は、図8(c)の無線LAN設定QR撮影画面(設定中)851を表示し、読み取ったDPP用QRコードから取得したWEC関連情報を用いて、通信装置151のネットワーク設定処理を行い、図12の処理を終了する。 In S114, the CPU 103 determines whether the QR code read in S113 is a QR code for DPP. For example, if the character string contained in the read QR code begins with "DPP", the CPU 103 determines that it is a QR code for DPP. If it is determined that it is a QR code for DPP, the process proceeds to S115. On the other hand, if it is determined that it is not a QR code for DPP, the CPU 103 determines that it is a QR code for mobile connection, and the process proceeds to S116. In S115, the CPU 103 displays the wireless LAN setting QR shooting screen (setting) 851 in FIG. 8(c), and performs network setting processing of the communication device 151 using the WEC-related information obtained from the read QR code for DPP, and ends the processing in FIG. 12.

S116では、CPU103は、図9(b)の問い合わせ画面856のようにメッセージを表示し、デバイス検索を行ってデバイスとの接続処理を行うか否かをユーザに問い合わせる。そして、CPU103は、ユーザ指示に基づいて、デバイスの検索を行うか否かを判定する。例えば、CPU103は、図9(b)の問い合わせ画面856上の「はい」ボタンと「いいえ」ボタンのいずれが選択されたかに基づいて、デバイスの検索を行うか否かを判定する。デバイスの検索を行うと判定された、例えば「はい」ボタンが押下された場合はS118に進む。一方、デバイスの検索を行わないと判定された、例えば「いいえ」ボタンが押下された場合はS117に進む。S117では、CPU103は、図9(c)のメッセージ画面857を表示し、通信装置151でDPP用QRコードを表示するよう促すメッセージを表示し、図12の処理を終了する。 In S116, the CPU 103 displays a message as shown in the inquiry screen 856 in FIG. 9B, and asks the user whether to perform a device search and connect to the device. The CPU 103 then determines whether to perform a device search based on the user's instruction. For example, the CPU 103 determines whether to perform a device search based on whether the "Yes" button or the "No" button on the inquiry screen 856 in FIG. 9B is selected. If it is determined that a device search is to be performed, for example, if the "Yes" button is pressed, the process proceeds to S118. On the other hand, if it is determined that a device search is not to be performed, for example, if the "No" button is pressed, the process proceeds to S117. In S117, the CPU 103 displays the message screen 857 in FIG. 9C, displays a message prompting the communication device 151 to display a QR code for DPP, and ends the process in FIG. 12.

S118では、CPU103は、図10(b)のデバイス検索QR撮影画面(接続中)865を表示する。S119では、CPU103は、QRコードから取得したモバイル無線接続情報を用いて、上述の確立処理やデバイス検索処理を行い、図12の処理を終了する。 In S118, the CPU 103 displays the device search QR capture screen (connected) 865 in FIG. 10(b). In S119, the CPU 103 uses the mobile wireless connection information acquired from the QR code to perform the above-mentioned establishment process and device search process, and ends the process in FIG. 12.

このように、本実施形態では、情報処理装置101でネットワーク設定を行おうとし、通信装置151でモバイル接続用QRコードが表示されている場合には、DPP用QRコードでないことを通知する。そして、モバイル接続を行わない指示を受け付けた場合には、通信装置151でDPP用QRコードを表示するよう促す。また、モバイル接続を行う指示を受け付けた場合には、そのままモバイル接続を行う。本実施形態では、情報処理装置101でネットワーク設定を行おうとし、通信装置151でモバイル接続用QRコードが表示されている場合に、情報処理装置101を用いた通信装置151に対する各種機能の実行の利便性を向上させることができる。 In this manner, in this embodiment, when network settings are to be performed on the information processing device 101 and a QR code for mobile connection is displayed on the communication device 151, a notification is given that the QR code is not for DPP. Then, when an instruction not to perform a mobile connection is received, the communication device 151 is prompted to display a QR code for DPP. Also, when an instruction to perform a mobile connection is received, the mobile connection is performed as is. In this embodiment, when network settings are to be performed on the information processing device 101 and a QR code for mobile connection is displayed on the communication device 151, the convenience of executing various functions on the communication device 151 using the information processing device 101 can be improved.

このように、情報処理装置101で実行しようとしている処理と、通信装置151で表示されているQRコードとが対応していない場合、QRコードを切り替えるようメッセージを表示するか、表示されているQRコードに合わせて情報処理装置101で処理を実行するかを切り替えることができ、利便性を向上させることができる。 In this way, if the process to be executed by the information processing device 101 does not correspond to the QR code displayed on the communication device 151, it is possible to switch between displaying a message to switch the QR code, or executing the process on the information processing device 101 according to the displayed QR code, thereby improving convenience.

[第2実施形態]
以下、第1実施形態と異なる点について第2実施形態を説明する。第1実施形態では、情報処理装置101が実行しようとしている処理と、通信装置151で表示されているQRコードとが対応していない場合に、QRコードを切り替えるようメッセージを表示するか、表示されているQRコードに合わせて情報処理装置151が処理を実行するかを切り替える構成について説明した。
[Second embodiment]
The second embodiment will be described below with respect to differences from the first embodiment. In the first embodiment, a configuration has been described in which, when a process that the information processing device 101 is about to execute does not correspond to a QR code displayed on the communication device 151, a message is displayed to switch between the QR code and the information processing device 151 executes a process according to the displayed QR code.

本実施形態では、情報処理装置101上でのデバイス検索画面で撮影したQRコードがDPP用QRコードであった場合で、ネットワーク設定に切り替えた場合は、デバイス検索処理も合わせて行う。 In this embodiment, if the QR code photographed on the device search screen on the information processing device 101 is a QR code for DPP and the network settings are switched to, a device search process is also performed.

図13は、本実施形態における情報処理装置101の表示制御処理を示すフローチャートである。図13に示すフローチャートは、例えば、CPU103がROM104や外部記憶装置106等に格納されたプログラムをRAM105に読み出して実行することにより実現される。図13のS101~S119は、図12のS101~S119における説明と同じであるので、それらの説明を省略する。 Figure 13 is a flowchart showing the display control process of the information processing device 101 in this embodiment. The flowchart shown in Figure 13 is realized, for example, by the CPU 103 reading a program stored in the ROM 104, the external storage device 106, etc. into the RAM 105 and executing it. Steps S101 to S119 in Figure 13 are the same as those described in steps S101 to S119 in Figure 12, and therefore their description will be omitted.

S110の後、S301において、CPU103は、S110で接続されたネットワークに対して上述のデバイス検索処理を行い、検索された通信装置151を出力先プリンタとしてアプリに登録する。即ち、本実施形態では、情報処理装置101上のデバイス検索画面で撮影したQRコードがDPP用QRコードであった場合、ネットワーク設定処理に切り替えるとともに、デバイス検索処理を合わせて行う。そのような構成により、再度、ユーザがデバイス検索処理を指示する必要がなくなり、利便性をより向上させることができる。 After S110, in S301, the CPU 103 performs the above-mentioned device search process for the network connected in S110, and registers the searched communication device 151 in the app as the output destination printer. That is, in this embodiment, if the QR code photographed on the device search screen on the information processing device 101 is a QR code for DPP, the process switches to network setting processing and also performs device search processing. With such a configuration, it is no longer necessary for the user to instruct the device search process again, and convenience can be further improved.

本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 The present invention can also be realized by supplying a program that realizes one or more of the functions of the above-mentioned embodiments to a system or device via a network or a storage medium, and having one or more processors in the computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., an ASIC) that realizes one or more functions.

本実施形態の開示は、以下の通信装置、制御方法およびプログラムを含む。
(項目1)
第1の機能の実行の指示、もしくは前記第1の機能と異なる第2の機能の実行の指示を受け付ける受付手段、
前記受付手段により前記第1の機能の実行の指示を受け付けた場合、通信装置に表示されているコードの撮影を行うよう促す第1メッセージ画面を表示部に表示させる表示制御手段、
前記第1メッセージ画面が表示された後、前記コードの撮影により当該コードの情報を取得する取得手段、
として情報処理装置のコンピュータを機能させ、
前記表示制御手段は、前記取得手段により取得された前記コードの情報が前記第2の機能に対応している場合、ユーザの指示に基づいて、前記取得手段により取得された前記コードの情報に対応した前記第2の機能の実行に伴う画面を前記表示部に表示させる第1表示制御、もしくは、前記第1の機能に対応したコードを前記通信装置に表示させるよう促す第2メッセージ画面を前記表示部に表示させる第2表示制御を行う、
ことを特徴とするプログラム。
(項目2)
前記取得手段により取得された前記コードの情報が前記第2の機能に対応している場合、前記取得手段により取得された前記コードの情報に対応した前記第2の機能を実行するかもしくは前記第1の機能を実行するかを判定する判定手段、としてコンピュータをさらに機能させ、
前記表示制御手段は、前記判定手段による判定の結果に基づいて、前記第1表示制御もしくは前記第2表示制御を行う、
ことを特徴とする項目1に記載のプログラム。
(項目3)
前記表示制御手段は、前記取得手段により取得された前記コードの情報に対応した前記第2の機能を実行するか否かをユーザに問い合わせる第3メッセージ画面を前記表示部に表示させることを特徴とする項目2に記載のプログラム。
(項目4)
前記第3メッセージ画面を介して前記第2の機能を実行する指示を受け付けた場合、前記判定手段は、前記第2の機能を実行すると判定し、前記表示制御手段は、前記第1表示制御を行うことを特徴とする項目3に記載のプログラム。
(項目5)
前記第3メッセージ画面を介して前記第2の機能を実行しない指示を受け付けた場合、前記判定手段は、前記第1の機能を実行すると判定し、前記表示制御手段は、前記第2表示制御を行うことを特徴とする項目3又は4に記載のプログラム。
(項目6)
前記第1の機能は、前記情報処理装置と前記通信装置との間で外部のアクセスポイントを介さずにダイレクト接続を行うための機能であることを特徴とする項目1乃至5のいずれか1項に記載のプログラム。
(項目7)
前記第2の機能は、前記通信装置を前記外部のアクセスポイントに接続させるための機能であることを特徴とする項目6に記載のプログラム。
(項目8)
前記表示制御手段は、前記第1表示制御において、前記通信装置に対する設定中であることを示す画面を前記表示部に表示させることを特徴とする項目6又は7に記載のプログラム。
(項目9)
前記表示制御手段により前記第1表示制御が行われ、前記通信装置が前記外部のアクセスポイントに接続された後、前記通信装置を検索する検索手段、をさらに備えることを特徴とする項目6乃至8のいずれか1項に記載のプログラム。
(項目10)
前記第1の機能は、前記通信装置を外部のアクセスポイントに接続させるための機能であることを特徴とする項目1乃至5のいずれか1項に記載のプログラム。
(項目11)
前記第2の機能は、前記情報処理装置と前記通信装置との間で外部のアクセスポイントを介さずにダイレクト接続を行うための機能であることを特徴とする項目10に記載のプログラム。
(項目12)
前記表示制御手段は、前記第1表示制御において、前記通信装置に接続中であることを示す画面を前記表示部に表示させることを特徴とする項目10又は11に記載のプログラム。
(項目13)
前記表示制御手段は、前記第1表示制御において、接続された前記通信装置の情報を前記表示部に表示させることを特徴とする項目12に記載のプログラム。
(項目14)
前記第2メッセージ画面は、前記第1の機能に対応したコードを前記通信装置に表示させるためのガイダンスを含むことを特徴とする項目1乃至13のいずれか1項に記載のプログラム。
(項目15)
前記通信装置に表示されているコードは、二次元コードであることを特徴とする項目1乃至14のいずれか1項に記載のプログラム。
(項目16)
前記通信装置は、プリンタであることを特徴とする項目1乃至15のいずれか1項に記載のプログラム。
(項目17)
情報処理装置において実行される方法であって、
第1の機能の実行の指示、もしくは前記第1の機能と異なる第2の機能の実行の指示を受け付ける受付工程と、
前記受付工程において前記第1の機能の実行の指示を受け付けた場合、通信装置に表示されているコードの撮影を行うよう促す第1メッセージ画面を表示部に表示させる表示制御工程と、
前記第1メッセージ画面が表示された後、前記コードの撮影により当該コードの情報を取得する取得工程と、
を有し、
前記表示制御工程では、前記取得工程において取得された前記コードの情報が前記第2の機能に対応している場合、ユーザの指示に基づいて、前記取得工程において取得された前記コードの情報に対応した前記第2の機能の実行に伴う画面を前記表示部に表示させる第1表示制御、もしくは、前記第1の機能に対応したコードを前記通信装置に表示させるよう促す第2メッセージ画面を前記表示部に表示させる第2表示制御を行う、
ことを特徴とする方法。
(項目18)
項目1乃至16のいずれか1項に記載のプログラムに記載の各手段を備えることを特徴とする情報処理装置。
(項目19)
情報処理装置と通信装置とを含むシステムであって、
前記情報処理装置は、
第1の機能の実行の指示、もしくは前記第1の機能と異なる第2の機能の実行の指示を受け付ける第1受付手段と、
前記第1受付手段により前記第1の機能の実行の指示を受け付けた場合、通信装置に表示されているコードの撮影を行うよう促す第1メッセージ画面を表示部に表示させる第1表示制御手段と、
前記第1メッセージ画面が表示された後、前記コードの撮影により当該コードの情報を取得する取得手段と、
を備え、
前記第1表示制御手段は、前記取得手段により取得された前記コードの情報が前記第2の機能に対応している場合、ユーザの指示に基づいて、前記取得手段により取得された前記コードの情報に対応した前記第2の機能の実行に伴う画面を前記表示部に表示させる第1表示制御、もしくは、前記第1の機能に対応したコードを前記通信装置に表示させるよう促す第2メッセージ画面を前記表示部に表示させる第2表示制御を行い、
前記通信装置は、
前記第1の機能に対応したコードを表示する指示、もしくは前記第2の機能に対応したコードを表示する指示を受け付ける第2受付手段と、
前記第2受付手段により受け付けた指示に対応したコードを表示部に表示させる第2表示制御手段と、
を備えることを特徴とするシステム。
The disclosure of the present embodiment includes the following communication device, control method, and program.
(Item 1)
a receiving means for receiving an instruction to execute a first function or an instruction to execute a second function different from the first function;
a display control means for causing a display unit to display a first message screen prompting the user to take an image of a code displayed on the communication device when the instruction to execute the first function is received by the receiving means;
an acquisition means for acquiring information about the code by photographing the code after the first message screen is displayed;
and causing the computer of the information processing device to function as the
When the information of the code acquired by the acquisition means corresponds to the second function, the display control means performs a first display control to cause the display unit to display a screen associated with the execution of the second function corresponding to the information of the code acquired by the acquisition means, or a second display control to cause the display unit to display a second message screen prompting the communication device to display the code corresponding to the first function, based on an instruction from a user.
A program characterized by:
(Item 2)
a determination unit that determines whether to execute the second function or the first function corresponding to the information of the code acquired by the acquisition unit, when the information of the code acquired by the acquisition unit corresponds to the second function;
The display control means performs the first display control or the second display control based on a result of the determination by the determination means.
2. The program according to item 1,
(Item 3)
The program described in item 2, wherein the display control means causes the display unit to display a third message screen inquiring of a user as to whether or not to execute the second function corresponding to the code information acquired by the acquisition means.
(Item 4)
The program described in item 3, characterized in that when an instruction to execute the second function is received via the third message screen, the determination means determines that the second function will be executed, and the display control means performs the first display control.
(Item 5)
The program described in item 3 or 4, characterized in that when an instruction not to execute the second function is received via the third message screen, the determination means determines that the first function will be executed, and the display control means performs the second display control.
(Item 6)
6. The program according to any one of claims 1 to 5, wherein the first function is a function for establishing a direct connection between the information processing device and the communication device without going through an external access point.
(Item 7)
7. The program according to item 6, wherein the second function is a function for connecting the communication device to the external access point.
(Item 8)
The program according to item 6 or 7, wherein the display control means, in the first display control, causes the display unit to display a screen indicating that the communication device is being configured.
(Item 9)
The program described in any one of items 6 to 8, further comprising a search means for searching for the communication device after the first display control is performed by the display control means and the communication device is connected to the external access point.
(Item 10)
6. The program according to claim 1, wherein the first function is a function for connecting the communication device to an external access point.
(Item 11)
11. The program according to item 10, wherein the second function is a function for establishing a direct connection between the information processing device and the communication device without going through an external access point.
(Item 12)
12. The program according to item 10 or 11, wherein the display control means, in the first display control, causes the display unit to display a screen indicating that a connection to the communication device is being established.
(Item 13)
Item 13. The program according to item 12, wherein the display control means, in the first display control, causes the display unit to display information about the connected communication device.
(Item 14)
14. The program according to any one of claims 1 to 13, wherein the second message screen includes guidance for causing the communication device to display a code corresponding to the first function.
(Item 15)
15. The program according to any one of items 1 to 14, wherein the code displayed on the communication device is a two-dimensional code.
(Item 16)
16. The program according to any one of claims 1 to 15, wherein the communication device is a printer.
(Item 17)
A method executed in an information processing device, comprising:
a receiving step of receiving an instruction to execute a first function or an instruction to execute a second function different from the first function;
a display control step of displaying, on a display unit, a first message screen prompting a user to take an image of a code displayed on the communication device when the instruction to execute the first function is received in the receiving step;
an acquisition step of acquiring information about the code by photographing the code after the first message screen is displayed;
having
In the display control step, when the code information acquired in the acquisition step corresponds to the second function, a first display control is performed to cause the display unit to display a screen associated with the execution of the second function corresponding to the code information acquired in the acquisition step, or a second display control is performed to cause the display unit to display a second message screen prompting the communication device to display the code corresponding to the first function, based on an instruction from a user.
A method comprising:
(Item 18)
17. An information processing apparatus comprising the means described in the program according to any one of items 1 to 16.
(Item 19)
A system including an information processing device and a communication device,
The information processing device includes:
a first receiving means for receiving an instruction to execute a first function or an instruction to execute a second function different from the first function;
a first display control means for causing a display unit to display a first message screen prompting a user to take an image of a code displayed on a communication device when an instruction to execute the first function is received by the first reception means;
an acquisition means for acquiring information about the code by photographing the code after the first message screen is displayed;
Equipped with
the first display control means, when the information of the code acquired by the acquisition means corresponds to the second function, performs a first display control to cause the display unit to display a screen associated with the execution of the second function corresponding to the information of the code acquired by the acquisition means, or a second display control to cause the display unit to display a second message screen prompting the communication device to display a code corresponding to the first function, based on an instruction from a user;
The communication device includes:
a second receiving means for receiving an instruction to display a code corresponding to the first function or an instruction to display a code corresponding to the second function;
a second display control means for causing a display unit to display a code corresponding to the instruction received by the second reception means;
A system comprising:

発明は上記実施形態に制限されるものではなく、発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、発明の範囲を公にするために請求項を添付する。 The invention is not limited to the above-described embodiment, and various modifications and variations are possible without departing from the spirit and scope of the invention. Therefore, the following claims are appended to disclose the scope of the invention.

101 情報処理装置: 103、154 CPU: 104、152 ROM: 105、153 RAM: 151 通信装置 101 Information processing device: 103, 154 CPU: 104, 152 ROM: 105, 153 RAM: 151 Communication device

Claims (19)

第1の機能の実行の指示、もしくは前記第1の機能と異なる第2の機能の実行の指示を受け付ける受付手段、
前記受付手段により前記第1の機能の実行の指示を受け付けた場合、通信装置に表示されているコードの撮影を行うよう促す第1メッセージ画面を表示部に表示させる表示制御手段、
前記第1メッセージ画面が表示された後、前記コードの撮影により当該コードの情報を取得する取得手段、
として情報処理装置のコンピュータを機能させ、
前記表示制御手段は、前記取得手段により取得された前記コードの情報が前記第2の機能に対応している場合、ユーザの指示に基づいて、前記取得手段により取得された前記コードの情報に対応した前記第2の機能の実行に伴う画面を前記表示部に表示させる第1表示制御、もしくは、前記第1の機能に対応したコードを前記通信装置に表示させるよう促す第2メッセージ画面を前記表示部に表示させる第2表示制御を行う、
ことを特徴とするプログラム。
a receiving means for receiving an instruction to execute a first function or an instruction to execute a second function different from the first function;
a display control means for causing a display unit to display a first message screen prompting the user to take an image of a code displayed on the communication device when the instruction to execute the first function is received by the receiving means;
an acquisition means for acquiring information about the code by photographing the code after the first message screen is displayed;
and causing the computer of the information processing device to function as the
the display control means, when the information of the code acquired by the acquisition means corresponds to the second function, performs a first display control to cause the display unit to display a screen associated with the execution of the second function corresponding to the information of the code acquired by the acquisition means, or a second display control to cause the display unit to display a second message screen prompting the communication device to display the code corresponding to the first function, based on an instruction from a user.
A program characterized by:
前記取得手段により取得された前記コードの情報が前記第2の機能に対応している場合、前記取得手段により取得された前記コードの情報に対応した前記第2の機能を実行するかもしくは前記第1の機能を実行するかを判定する判定手段、としてコンピュータをさらに機能させ、
前記表示制御手段は、前記判定手段による判定の結果に基づいて、前記第1表示制御もしくは前記第2表示制御を行う、
ことを特徴とする請求項1に記載のプログラム。
a determination unit that determines whether to execute the second function or the first function corresponding to the information of the code acquired by the acquisition unit, when the information of the code acquired by the acquisition unit corresponds to the second function;
The display control means performs the first display control or the second display control based on a result of the determination by the determination means.
2. The program according to claim 1 .
前記表示制御手段は、前記取得手段により取得された前記コードの情報に対応した前記第2の機能を実行するか否かをユーザに問い合わせる第3メッセージ画面を前記表示部に表示させることを特徴とする請求項2に記載のプログラム。 The program according to claim 2, characterized in that the display control means causes the display unit to display a third message screen that asks the user whether or not to execute the second function corresponding to the code information acquired by the acquisition means. 前記第3メッセージ画面を介して前記第2の機能を実行する指示を受け付けた場合、前記判定手段は、前記第2の機能を実行すると判定し、前記表示制御手段は、前記第1表示制御を行うことを特徴とする請求項3に記載のプログラム。 The program according to claim 3, characterized in that, when an instruction to execute the second function is received via the third message screen, the determination means determines that the second function is to be executed, and the display control means performs the first display control. 前記第3メッセージ画面を介して前記第2の機能を実行しない指示を受け付けた場合、前記判定手段は、前記第1の機能を実行すると判定し、前記表示制御手段は、前記第2表示制御を行うことを特徴とする請求項3に記載のプログラム。 The program according to claim 3, characterized in that, when an instruction not to execute the second function is received via the third message screen, the determination means determines that the first function is to be executed, and the display control means performs the second display control. 前記第1の機能は、前記情報処理装置と前記通信装置との間で外部のアクセスポイントを介さずにダイレクト接続を行うための機能であることを特徴とする請求項1に記載のプログラム。 The program according to claim 1, characterized in that the first function is a function for establishing a direct connection between the information processing device and the communication device without going through an external access point. 前記第2の機能は、前記通信装置を前記外部のアクセスポイントに接続させるための機能であることを特徴とする請求項6に記載のプログラム。 The program according to claim 6, characterized in that the second function is a function for connecting the communication device to the external access point. 前記表示制御手段は、前記第1表示制御において、前記通信装置に対する設定中であることを示す画面を前記表示部に表示させることを特徴とする請求項6に記載のプログラム。 The program according to claim 6, characterized in that the display control means, in the first display control, causes the display unit to display a screen indicating that the communication device is being configured. 前記表示制御手段により前記第1表示制御が行われ、前記通信装置が前記外部のアクセスポイントに接続された後、前記通信装置を検索する検索手段、をさらに備えることを特徴とする請求項6に記載のプログラム。 The program according to claim 6, further comprising a search means for searching for the communication device after the first display control is performed by the display control means and the communication device is connected to the external access point. 前記第1の機能は、前記通信装置を外部のアクセスポイントに接続させるための機能であることを特徴とする請求項1に記載のプログラム。 The program according to claim 1, characterized in that the first function is a function for connecting the communication device to an external access point. 前記第2の機能は、前記情報処理装置と前記通信装置との間で外部のアクセスポイントを介さずにダイレクト接続を行うための機能であることを特徴とする請求項10に記載のプログラム。 The program according to claim 10, characterized in that the second function is a function for establishing a direct connection between the information processing device and the communication device without going through an external access point. 前記表示制御手段は、前記第1表示制御において、前記通信装置に接続中であることを示す画面を前記表示部に表示させることを特徴とする請求項10に記載のプログラム。 The program according to claim 10, characterized in that the display control means, in the first display control, causes the display unit to display a screen indicating that the communication device is currently connected. 前記表示制御手段は、前記第1表示制御において、接続された前記通信装置の情報を前記表示部に表示させることを特徴とする請求項12に記載のプログラム。 The program according to claim 12, characterized in that the display control means, in the first display control, causes the display unit to display information about the connected communication device. 前記第2メッセージ画面は、前記第1の機能に対応したコードを前記通信装置に表示させるためのガイダンスを含むことを特徴とする請求項1に記載のプログラム。 The program according to claim 1, characterized in that the second message screen includes guidance for causing the communication device to display a code corresponding to the first function. 前記通信装置に表示されているコードは、二次元コードであることを特徴とする請求項1に記載のプログラム。 The program according to claim 1, characterized in that the code displayed on the communication device is a two-dimensional code. 前記通信装置は、プリンタであることを特徴とする請求項1に記載のプログラム。 The program according to claim 1, characterized in that the communication device is a printer. 情報処理装置において実行される方法であって、
第1の機能の実行の指示、もしくは前記第1の機能と異なる第2の機能の実行の指示を受け付ける受付工程と、
前記受付工程において前記第1の機能の実行の指示を受け付けた場合、通信装置に表示されているコードの撮影を行うよう促す第1メッセージ画面を表示部に表示させる表示制御工程と、
前記第1メッセージ画面が表示された後、前記コードの撮影により当該コードの情報を取得する取得工程と、
を有し、
前記表示制御工程では、前記取得工程において取得された前記コードの情報が前記第2の機能に対応している場合、ユーザの指示に基づいて、前記取得工程において取得された前記コードの情報に対応した前記第2の機能の実行に伴う画面を前記表示部に表示させる第1表示制御、もしくは、前記第1の機能に対応したコードを前記通信装置に表示させるよう促す第2メッセージ画面を前記表示部に表示させる第2表示制御を行う、
ことを特徴とする方法。
A method executed in an information processing device, comprising:
a receiving step of receiving an instruction to execute a first function or an instruction to execute a second function different from the first function;
a display control step of displaying, on a display unit, a first message screen prompting a user to take an image of a code displayed on the communication device when the instruction to execute the first function is received in the receiving step;
an acquisition step of acquiring information about the code by photographing the code after the first message screen is displayed;
having
In the display control step, when the code information acquired in the acquisition step corresponds to the second function, a first display control is performed to cause the display unit to display a screen associated with the execution of the second function corresponding to the code information acquired in the acquisition step, or a second display control is performed to cause the display unit to display a second message screen prompting the communication device to display the code corresponding to the first function, based on an instruction from a user.
A method comprising:
請求項1乃至16のいずれか1項に記載のプログラムに記載の各手段を備えることを特徴とする情報処理装置。 An information processing device comprising the means described in the program according to any one of claims 1 to 16. 情報処理装置と通信装置とを含むシステムであって、
前記情報処理装置は、
第1の機能の実行の指示、もしくは前記第1の機能と異なる第2の機能の実行の指示を受け付ける第1受付手段と、
前記第1受付手段により前記第1の機能の実行の指示を受け付けた場合、通信装置に表示されているコードの撮影を行うよう促す第1メッセージ画面を表示部に表示させる第1表示制御手段と、
前記第1メッセージ画面が表示された後、前記コードの撮影により当該コードの情報を取得する取得手段と、
を備え、
前記第1表示制御手段は、前記取得手段により取得された前記コードの情報が前記第2の機能に対応している場合、ユーザの指示に基づいて、前記取得手段により取得された前記コードの情報に対応した前記第2の機能の実行に伴う画面を前記表示部に表示させる第1表示制御、もしくは、前記第1の機能に対応したコードを前記通信装置に表示させるよう促す第2メッセージ画面を前記表示部に表示させる第2表示制御を行い、
前記通信装置は、
前記第1の機能に対応したコードを表示する指示、もしくは前記第2の機能に対応したコードを表示する指示を受け付ける第2受付手段と、
前記第2受付手段により受け付けた指示に対応したコードを表示部に表示させる第2表示制御手段と、
を備えることを特徴とするシステム。
A system including an information processing device and a communication device,
The information processing device includes:
a first receiving means for receiving an instruction to execute a first function or an instruction to execute a second function different from the first function;
a first display control means for causing a display unit to display a first message screen prompting a user to take an image of a code displayed on a communication device when an instruction to execute the first function is received by the first reception means;
an acquisition means for acquiring information about the code by photographing the code after the first message screen is displayed;
Equipped with
the first display control means, when the information of the code acquired by the acquisition means corresponds to the second function, performs a first display control to cause the display unit to display a screen associated with the execution of the second function corresponding to the information of the code acquired by the acquisition means, or a second display control to cause the display unit to display a second message screen prompting the communication device to display a code corresponding to the first function, based on an instruction from a user;
The communication device includes:
a second receiving means for receiving an instruction to display a code corresponding to the first function or an instruction to display a code corresponding to the second function;
a second display control means for causing a display unit to display a code corresponding to the instruction received by the second reception means;
A system comprising:
JP2022198732A 2022-12-13 2022-12-13 Information processing device, method, program, and system Pending JP2024084450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022198732A JP2024084450A (en) 2022-12-13 2022-12-13 Information processing device, method, program, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022198732A JP2024084450A (en) 2022-12-13 2022-12-13 Information processing device, method, program, and system

Publications (1)

Publication Number Publication Date
JP2024084450A true JP2024084450A (en) 2024-06-25

Family

ID=91590623

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022198732A Pending JP2024084450A (en) 2022-12-13 2022-12-13 Information processing device, method, program, and system

Country Status (1)

Country Link
JP (1) JP2024084450A (en)

Similar Documents

Publication Publication Date Title
US11630619B2 (en) Terminal device, access point, communication device, and computer programs therefor
US20210208829A1 (en) Non-Transitory Computer-Readable Medium Storing Computer-Readable Instructions for Terminal Device and Terminal Device
JP2018037979A (en) Communication device, communication method, and program
US20200174731A1 (en) Non-transitory computer-readable recording medium storing computer-readable instructions for establishing wireless connection between terminal device and communication device
US20220279605A1 (en) Information processing apparatus, control method thereof, and storage medium
CN116647839A (en) Communication apparatus and control method thereof
US20220279438A1 (en) Information processing apparatus, control method thereof, and storage medium
JP7196248B2 (en) Communication device, control method and program
JP2023034115A (en) Information processing device, control method thereof, and program
JP2024084450A (en) Information processing device, method, program, and system
WO2023053839A1 (en) Communication device, method, program, and system
US20230388916A1 (en) Non-transitory computer-readable storage medium storing program and method
US20230388181A1 (en) Information processing apparatus, control method, and non-transitory computer-readable storage medium
US20230413352A1 (en) Non-transitory computer-readable storage medium, control method, communication apparatus, and communication system
JP2023068539A (en) Program and method
JP2024083892A (en) Information processing device, method for controlling information processing device, and program
JP2024053381A (en) Information processing device, control method thereof, and program
US20230069058A1 (en) Communication apparatus, method for controlling the same, and storage medium
US20220353679A1 (en) Non-transitory computer-readable recording medium storing computer-readable instructions for terminal device, terminal device, and communication device
JP2024083844A (en) Information processing device, control method for information processing device, and program
JP2023162062A (en) Communication device, control method for the same, and program
JP2023166256A (en) Communication system, communication device and method for controlling the same, and program
JP2023079947A (en) Communication device, control method for the same, and program
JP2023158555A (en) Communication device, control method and program
JP2023066227A (en) Information processing device, communication device, communication system, communication device setting method and program