JP7433836B2 - Information processing device, program and control method - Google Patents

Information processing device, program and control method Download PDF

Info

Publication number
JP7433836B2
JP7433836B2 JP2019194552A JP2019194552A JP7433836B2 JP 7433836 B2 JP7433836 B2 JP 7433836B2 JP 2019194552 A JP2019194552 A JP 2019194552A JP 2019194552 A JP2019194552 A JP 2019194552A JP 7433836 B2 JP7433836 B2 JP 7433836B2
Authority
JP
Japan
Prior art keywords
program
image processing
direct
processing device
version
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019194552A
Other languages
Japanese (ja)
Other versions
JP2021069052A (en
Inventor
宏平 小松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2019194552A priority Critical patent/JP7433836B2/en
Publication of JP2021069052A publication Critical patent/JP2021069052A/en
Application granted granted Critical
Publication of JP7433836B2 publication Critical patent/JP7433836B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、情報処理装置、プログラム及び制御方法に関する。 The present invention relates to an information processing device, a program, and a control method.

近年、モバイル端末の普及と共に、企業の業務端末としてもモバイル端末が採用されるケースが増えるようになった。また、複合機やプリンタ等の画像処理装置は無線LAN(Local Area Network)通信機能を備えるものが増えている。画像処理装置は、無線LANのアクセスポイント(中継装置)を介してモバイル端末から印刷データを受信し、その受信した印刷データに基づいて印刷処理を実行することができる。さらに画像処理装置の中には、外部アクセスポイントのような中継装置を介さずにモバイル端末と直接無線通信を行う機能を持つものも存在する。前述した直接の無線通信の一例として、Wi-Fi AllianceによりWi-Fi Direct(TM)という規格が制定されている。Wi-Fi Directでは、画像処理装置やPC等の通信装置同士が、直接無線通信する際にアクセスポイントとして動作するかクライアントとして動作するかを決定するためのプロトコルが規定されている。このプロトコルを実行することにより、アクセスポイントになる通信装置、クライアントになる通信装置を自動的に決定できる。このWi-Fi Directを利用することで、外部アクセスポイントを別途用意せずに、通信装置同士が直接無線通信を実行することができる。特許文献1には、Wi-Fi Directを用いてモバイル端末との間で直接無線通信を行う画像処理装置に関する記載がある。 In recent years, with the spread of mobile terminals, more and more companies are using mobile terminals as business terminals. Furthermore, an increasing number of image processing devices such as multifunction devices and printers are equipped with a wireless LAN (Local Area Network) communication function. The image processing device can receive print data from a mobile terminal via a wireless LAN access point (relay device) and execute print processing based on the received print data. Furthermore, some image processing devices have a function of directly communicating wirelessly with a mobile terminal without going through a relay device such as an external access point. As an example of the above-mentioned direct wireless communication, a standard called Wi-Fi Direct (TM) has been established by the Wi-Fi Alliance. Wi-Fi Direct defines a protocol for determining whether communication devices such as image processing devices and PCs operate as access points or clients when communicating directly with each other wirelessly. By executing this protocol, it is possible to automatically determine the communication device that will become the access point and the communication device that will become the client. By using Wi-Fi Direct, communication devices can directly perform wireless communication with each other without separately preparing an external access point. Patent Document 1 describes an image processing device that performs direct wireless communication with a mobile terminal using Wi-Fi Direct.

Wi-Fi Directでモバイル端末と画像処理装置を接続する一例として、ユーザーはまず画像処理装置の操作パネルから所定のボタン等を選択してWi-Fi Directの機能を開始状態にする。次にユーザーは、モバイル端末の操作パネルの所定のボタン等を選択することで、モバイル端末からWi-Fi Directの接続要求を画像処理装置に送信する。この接続要求を受信した画像処理装置は、モバイル端末からの接続要求に対する接続可否をユーザーに確認する確認画面を操作パネルに表示する。そして、この確認画面を介してユーザーの了承が得られると、画像処理装置とモバイル端末との間でWi-Fi Direct接続による通信が可能になる。 As an example of connecting a mobile terminal and an image processing device using Wi-Fi Direct, a user first selects a predetermined button or the like from the operation panel of the image processing device to start the Wi-Fi Direct function. Next, the user transmits a Wi-Fi Direct connection request from the mobile terminal to the image processing apparatus by selecting a predetermined button or the like on the operation panel of the mobile terminal. Upon receiving this connection request, the image processing apparatus displays a confirmation screen on the operation panel for confirming to the user whether or not the connection request from the mobile terminal is acceptable. If the user's consent is obtained through this confirmation screen, communication between the image processing device and the mobile terminal via Wi-Fi Direct connection becomes possible.

ユーザーは、画像処理装置が備えるWi-Fi Directを含む複数の無線接続方式の中から、利用する環境に合った方式を選んでモバイル端末と画像処理装置を接続し、印刷ジョブを実行することができる。 Users can connect their mobile terminal and image processing device by selecting the method that suits their environment from among the multiple wireless connection methods provided by the image processing device, including Wi-Fi Direct, and execute print jobs. can.

特開2014-164421号公報Japanese Patent Application Publication No. 2014-164421

モバイル端末上で動作するアプリケーションがモバイル端末の位置情報などのリソースにアクセスする場合、ユーザーにアクセスを許可してもらう必要があるケースが増えている。例えば、Android(TM)バージョン10以降では、アプリケーションがWi-Fi Directでの接続状態を取得する場合や、Wi-Fi Directを用いて外部機器と通信する場合には、当該アプリケーションがモバイル端末の位置情報へアクセスすることをユーザーが許可することが必要となった。特許文献1には、Wi-Fi Directを用いてモバイル端末が画像処理装置との接続を確立して印刷処理を実行する方法について記載されている。しかし、上記のようにモバイル端末のOS(オペレーティングシステム)のバージョンの更新やWi-Fi Direct通信に関するアクセス権に関しては考慮されていない。そのため、該アプリケーションに対してモバイル端末の位置情報へのアクセスを許可していない状態でAndroidOSのバージョンを10に更新した場合、そのままでは画像処理装置とWi-Fi Direct通信を行えない。そこでOSのバージョン更新後にアプリケーションを起動した直後に、該アプリケーションが位置情報へアクセスすることを許可するよう、ユーザーに問い合わせる形態が考えられる。さりとて、OSのバージョン更新後にすべてのユーザーに対して一律にアクセス権の許可を問い合わせるようにした場合、そもそもWi-Fi Direct通信を利用しないユーザーにとってはユーザビリティの低下につながる。 Increasingly, applications running on mobile devices need to ask users for permission to access resources such as the device's location. For example, in Android (TM) version 10 and later, when an application obtains the connection status via Wi-Fi Direct or communicates with an external device using Wi-Fi Direct, the application uses the location of the mobile terminal. Users are now required to authorize access to their information. Patent Document 1 describes a method in which a mobile terminal establishes a connection with an image processing apparatus using Wi-Fi Direct and executes print processing. However, as mentioned above, no consideration is given to updating the OS (operating system) version of the mobile terminal or access rights regarding Wi-Fi Direct communication. Therefore, if the Android OS version is updated to 10 without allowing the application to access the location information of the mobile terminal, Wi-Fi Direct communication with the image processing device cannot be performed as is. Therefore, it is possible to ask the user to allow the application to access location information immediately after starting the application after updating the OS version. However, if all users are uniformly asked for access permission after updating the OS version, this will lead to a decline in usability for users who do not use Wi-Fi Direct communication in the first place.

そこで本発明は、ユーザビリティを低下させずに、端末のアプリケーションからWi-Fi Direct通信で画像処理装置と通信接続するためのアクセス権の許可をユーザに求めることを目的とする。 Therefore, it is an object of the present invention to request a user for permission to access an image processing apparatus through Wi-Fi Direct communication from an application on a terminal without reducing usability.

画像処理装置と通信を行う端末のコンピューターに、制御方法を実行させるためのプログラムであって、前記制御方法は、(1)前記端末で動作するOSのバージョンが所定の条件を満たし、(2)前記OSのバージョンへの更新前にWi-Fi Directで通信したことのある画像処理装置の情報が前記プログラムによって登録されており、かつ、(3)前記OSのバージョンへの更新後にWi-Fi Directで通信するために必要な権限が前記プログラムに付与されていない場合、警告を出すことを特徴とするプログラム。 A program for causing a computer of a terminal communicating with an image processing device to execute a control method, the control method comprising: (1) a version of an OS running on the terminal satisfies predetermined conditions; and (2) (3) information of an image processing device that has communicated with Wi -Fi Direct before updating to the OS version is registered by the program; A program that issues a warning if the program is not granted the authority necessary to communicate by Direct.

以上の処理により、Wi-Fi Direct通信を行う可能性のあるユーザーに対してのみ、アクセス権の許可を求めるため、ユーザビリティを損なうことなく、Wi-Fi Direct通信するために必要なアクセス権の許可を求めることができる。 Through the above process, permission for access rights is requested only from users who are likely to perform Wi-Fi Direct communication, so permission for access rights necessary for Wi-Fi Direct communication can be granted without compromising usability. can be found.

本発明の構成を示す図である。FIG. 1 is a diagram showing the configuration of the present invention. データ処理装置のハードウェア構成を示す図である。FIG. 2 is a diagram showing the hardware configuration of a data processing device. 画像処理装置のハードウェア構成を示す図である。1 is a diagram showing a hardware configuration of an image processing device. データ処理装置のソフトウェアの構成を示す図である。FIG. 2 is a diagram showing a software configuration of a data processing device. データ処理装置で表示する機能選択画面を示す図である。FIG. 3 is a diagram showing a function selection screen displayed on the data processing device. データ処理装置に表示する画像処理装置選択画面を示す図である。FIG. 3 is a diagram showing an image processing device selection screen displayed on the data processing device. データ処理装置に表示する画像処理装置選択画面を示す図である。FIG. 3 is a diagram showing an image processing device selection screen displayed on the data processing device. 実施例1においてデータ処理装置で表示する機能選択画面を示す図である。FIG. 3 is a diagram showing a function selection screen displayed on the data processing device in the first embodiment. 実施例1におけるデータ処理装置の処理フローを示すフローチャートである。3 is a flowchart showing a processing flow of the data processing device in Example 1. FIG. 実施例1においてデータ処理装置に表示する位置情報アクセス許可要求画面を示す図である。3 is a diagram showing a location information access permission request screen displayed on the data processing device in the first embodiment. FIG. 実施例2におけるデータ処理装置の処理フローを示すフローチャートである。7 is a flowchart showing a processing flow of the data processing device in Example 2. FIG. 実施例2においてデータ処理装置で表示する機能選択画面を示す図である。7 is a diagram illustrating a function selection screen displayed on the data processing device in Example 2. FIG. 実施例3におけるデータ処理装置の処理フローを示すフローチャートである。12 is a flowchart showing the processing flow of the data processing device in Example 3. 実施例3におけるデータ処理装置に表示する画像処理装置選択画面を示す図である。FIG. 7 is a diagram showing an image processing device selection screen displayed on the data processing device in Example 3;

以下、図面を参照し、本発明の実施形態の一例について詳細に説明する。本実施形態では情報処理装置の一例として画像処理装置を用いて説明をするが、特許請求の範囲に係る本発明を限定するものではない。また、本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。 Hereinafter, an example of an embodiment of the present invention will be described in detail with reference to the drawings. Although this embodiment will be described using an image processing device as an example of an information processing device, the present invention according to the claims is not limited thereto. Furthermore, not all combinations of features described in this embodiment are essential to the solution of the present invention.

(実施例1)
図1は、本実施例の一実施形態におけるデータ処理システムの構成を示す図である。図1において、101はモバイル形態のデータ処理装置であって、画像処理装置104、106のいずれかに対して印刷ジョブ送信を指示するユーザーが使用するコンピューターである。104、106は画像処理装置であって、プリンタ機能のほか、コピー機能、スキャナ機能、ファクス送信機能等を備えていても良い。
(Example 1)
FIG. 1 is a diagram showing the configuration of a data processing system in one embodiment of this example. In FIG. 1, 101 is a mobile data processing apparatus, and is a computer used by a user who instructs either of the image processing apparatuses 104 and 106 to send a print job. Reference numerals 104 and 106 are image processing devices, which may have a copy function, a scanner function, a facsimile transmission function, etc. in addition to a printer function.

103はデータ処理装置101や画像処理装置104、106が接続されているLAN(Local Area Network)であって、接続された装置はLAN103を介して、相互通信で情報のやり取りを行っている。102は無線LANターミナルである。無線LANターミナル102は、一般的なネットワーク・ルーター機能を有した無線LANの親機であって、家庭内や事務所などの中で無線LANを提供している。また、データ処理装置101はモバイル端末であり、無線LANターミナル102を介してLAN103に接続しているものとする。データ処理装置101は、無線LANターミナル102が提供する無線LANエリアに入ると、予め設定していた認証情報を利用して自動的にLAN103のネットワークに参加することができる。また、データ処理装置101は画像処理装置106と、Wi-Fi Directにより直接、無線通信が可能(105)である。Wi-Fi Directは外部のアクセスポイント経由での接続ではなく、画像処理装置106の内部にあるアクセスポイントを介してデータ処理装置101と画像処理装置106が相互に通信することが可能である。その場合、データ処理装置101は、Wi-Fi Directの接続画面から画像処理装置106を示す識別子を選択し、Wi-Fi Directの接続要求を画像処理装置106に送信する。 103 is a LAN (Local Area Network) to which the data processing device 101 and the image processing devices 104 and 106 are connected, and the connected devices exchange information through mutual communication via the LAN 103. 102 is a wireless LAN terminal. The wireless LAN terminal 102 is a wireless LAN base device having a general network router function, and provides wireless LAN in homes, offices, and the like. Further, it is assumed that the data processing device 101 is a mobile terminal and is connected to the LAN 103 via the wireless LAN terminal 102. When the data processing device 101 enters the wireless LAN area provided by the wireless LAN terminal 102, it can automatically participate in the network of the LAN 103 using preset authentication information. Furthermore, the data processing device 101 is capable of direct wireless communication with the image processing device 106 via Wi-Fi Direct (105). Wi-Fi Direct allows the data processing device 101 and the image processing device 106 to communicate with each other via an access point inside the image processing device 106, rather than a connection via an external access point. In that case, the data processing device 101 selects an identifier indicating the image processing device 106 from the Wi-Fi Direct connection screen, and transmits a Wi-Fi Direct connection request to the image processing device 106.

図2は、図1におけるデータ処理装置101のハードウェア構成を示すブロック図である。データ処理装置101は、例えばスマートフォンやタブレットといった端末であり、端末用のオペレーティングシステムや、通話、データ通信を制御するプログラムが動作していても構わない。あるいは後述する音声制御部206及びマイク・スピーカ214、位置検出制御部210、GPSセンサー217、携帯電話データ通信部212等を備えないパーソナルコンピュータであっても構わない。 FIG. 2 is a block diagram showing the hardware configuration of the data processing device 101 in FIG. 1. The data processing device 101 is, for example, a terminal such as a smartphone or a tablet, and may be running an operating system for the terminal or a program for controlling telephone calls and data communications. Alternatively, it may be a personal computer that does not include a voice control section 206, a microphone/speaker 214, a position detection control section 210, a GPS sensor 217, a mobile phone data communication section 212, etc., which will be described later.

ハードウェアの各構成要素は、システムバス201に接続されている。 ROM203にはデータ処理装置101におけるオペレーティングシステム及び、通話、データ通信を制御するアプリケーションが格納されており、CPU202によって実行される。 データ通信を制御するアプリケーションとしては、印刷アプリケーションやMailソフト、Webブラウザなどがある。 Each hardware component is connected to a system bus 201. The ROM 203 stores an operating system in the data processing device 101 and applications that control telephone calls and data communications, and are executed by the CPU 202 . Examples of applications that control data communication include printing applications, mail software, and web browsers.

RAM204は、プログラムを実行するためのメモリであり、アプリケーションがプログラムを実行するワークメモリエリアである。また、RAM204はアプリケーションがプログラム実行時に一時的に保存しなければならないデータ等を一時記憶するためのメモリでもある。記憶装置209は不揮発性の記憶装置であり、データ処理装置101の再起動後も保持しておく必要のある各種動作モード設定や、稼働ログなどが記憶される。 The RAM 204 is a memory for executing programs, and is a work memory area where applications execute programs. Further, the RAM 204 is also a memory for temporarily storing data and the like that must be temporarily saved when an application executes a program. The storage device 209 is a non-volatile storage device, and stores various operation mode settings, operation logs, etc. that need to be retained even after the data processing device 101 is restarted.

NetworkController205は、無線LANターミナル102を介してLAN103のネットワークに参加するための無線LAN通信部211と、携帯キャリアの提供するネットワークに参加するための携帯電話データ通信部212と、BLE(Bluetooth(登録商標) Low Energy)による無線信号が到達し合う周辺のコンピューターデバイス間においてWPAN(wireless personal area network)を形成するためのBLE通信部213による通信制御を行う。また、無線LAN通信部211は直接無線通信に対応しており、Wi-Fi Directの規格に準拠する外部機器と、無線LANターミナルを介さずに直接通信することができる。 The Network Controller 205 includes a wireless LAN communication unit 211 for participating in the network of the LAN 103 via the wireless LAN terminal 102, a mobile phone data communication unit 212 for participating in the network provided by the mobile carrier, and a BLE (Bluetooth (registered trademark) ) The BLE communication unit 213 performs communication control to form a WPAN (wireless personal area network) between peripheral computer devices in which wireless signals (low energy) reach each other. Furthermore, the wireless LAN communication unit 211 supports direct wireless communication, and can directly communicate with an external device compliant with the Wi-Fi Direct standard without going through a wireless LAN terminal.

音声制御部206は、例えば通話アプリケーションが起動され、ユーザーが電話をしているときに使用される。マイク・スピーカ214にて音声データの入出力を行い、音声制御部206は、その音声データと音声データ制御プログラムとの仲介を行っている。 The voice control unit 206 is used, for example, when a telephone call application is activated and the user is making a telephone call. The microphone/speaker 214 inputs and outputs audio data, and the audio control unit 206 mediates between the audio data and the audio data control program.

表示制御部207は、データ処理装置101のディスプレイ215にて出力する情報の制御を行っている。入力制御部208は、データ処理装置101のボタンやタッチパネル215にてユーザーが指示した情報の制御を行っている。これらの音声制御部206、表示制御部207、入力制御部208を利用して、データ処理装置101上で起動するアプリケーションは、ネットワーク通信情報やデータ処理装置101のさまざまな情報をユーザーに提供する。 The display control unit 207 controls information output on the display 215 of the data processing device 101. The input control unit 208 controls information specified by the user using the buttons or touch panel 215 of the data processing device 101. Using the audio control unit 206, display control unit 207, and input control unit 208, an application activated on the data processing device 101 provides network communication information and various information about the data processing device 101 to the user.

位置検出制御部210は、GPSセンサー216からデータ処理装置101の位置情報を取得しオペレーティングシステムに提供する。これらの制御は、CPU202で動くオペレーティングシステムにて制御される。 The position detection control unit 210 acquires position information of the data processing device 101 from the GPS sensor 216 and provides it to the operating system. These controls are controlled by an operating system running on the CPU 202.

図3は、図1における画像処理装置104及び106のハードウェア構成を説明するブロック図である。本例は、スキャナ機能と、プリンタ機能を有する複合機(MFP(Multi Function Perpheral))の例を示す。 FIG. 3 is a block diagram illustrating the hardware configuration of image processing devices 104 and 106 in FIG. 1. This example shows an example of a multi-function peripheral (MFP) having a scanner function and a printer function.

図3において、301はI/Oであり、例えばLAN通信部314とBLE通信部315を含む。有線LAN通信部314は、ネットワーク(LAN)103などを介してデータ処理装置101と通信可能である。また、無線LAN通信部315は、無線LANターミナルを介してLANのネットワークに参加し、データ処理装置と接続することや、Wi-Fi Directの規格に準拠する外部機器と、無線LANターミナルを介さずに直接接続することができる。I/O301は複数の接続形態に対応するために複数個搭載されていても良い。このI/O301を通して、画像処理装置は、デバイスIDやスキャンイメージをデータ処理装置101に渡す。またデータ処理装置101より、受けた指示に応じて各種の制御コマンドを受けて処理を行う。I/F制御部302は、画像処理装置に搭載されているスキャナやプリンタ、またはファクスなどの処理系に関してデバイスIDを発行する制御をおこなっている。RAM303は、一次記憶装置で、I/O301で取得した制御コマンドなどの外部データや、スキャナエンジン313で読み取られたイメージデータ(あるいは画像データ。以下イメージと称する)を格納するために使用される。さらに、RAM303は、プリンタコントローラ310で展開されたプリンタエンジン306に渡される前のイメージの格納などに使用される。RAM303の割り当て管理はRAM制御部304が行っている。画像データ調歩回路305は、プリンタコントローラ310やスキャナエンジン313によって取り込まれ、RAM303に展開されたイメージをプリンタエンジン306の回転にあわせて出力する装置である。プリンタエンジン306は紙などの出力メディアにイメージを現像する装置である。メインコントローラ308は、エンジンI/F307によりプリンタエンジン306の各種制御を行う。また、メインコントローラ308は、制御の要のモジュールであり、スキャナコントローラ309やプリンタコントローラ310にI/O301経由でデータ処理装置101より受け取る制御言語の適切な振り分け処理を行う。さらに、メインコントローラ308は、それぞれのコントローラやユーザーインターフェース312からの指示をうけてプリンタエンジン306やスキャナエンジン313の制御を行う。スキャナコントローラ309はデータ処理装置101より受けたスキャン制御コマンドをメインコントローラ308が解釈可能な内部実行命令に分解する。またスキャナエンジン313で読み取ったイメージをスキャン制御コマンドに変更する。プリンタコントローラ310はデータ処理装置101より印刷ジョブとして受けたPDL(Page Description Language)をメインコントローラ308が解釈可能な展開イメージなどを含む内部実行命令に分解する。展開イメージはプリンタエンジンまで運ばれ、用紙などの出力メディアに印刷される。 In FIG. 3, 301 is an I/O, which includes, for example, a LAN communication section 314 and a BLE communication section 315. The wired LAN communication unit 314 is capable of communicating with the data processing device 101 via the network (LAN) 103 or the like. The wireless LAN communication unit 315 also participates in a LAN network via a wireless LAN terminal, connects to a data processing device, and connects to an external device that complies with the Wi-Fi Direct standard without going through the wireless LAN terminal. can be connected directly to A plurality of I/Os 301 may be installed to support a plurality of connection types. Through this I/O 301, the image processing apparatus passes the device ID and scanned image to the data processing apparatus 101. It also receives various control commands from the data processing device 101 in accordance with received instructions and performs processing. The I/F control unit 302 controls issuing a device ID for a processing system such as a scanner, printer, or fax installed in the image processing apparatus. The RAM 303 is a primary storage device and is used to store external data such as control commands acquired by the I/O 301 and image data (or image data, hereinafter referred to as image) read by the scanner engine 313. Further, the RAM 303 is used to store images developed by the printer controller 310 before being passed to the printer engine 306. RAM control unit 304 manages the allocation of RAM 303 . The image data start-stop circuit 305 is a device that outputs an image captured by the printer controller 310 or the scanner engine 313 and developed in the RAM 303 in accordance with the rotation of the printer engine 306. Printer engine 306 is a device that develops images onto output media such as paper. The main controller 308 performs various controls on the printer engine 306 using the engine I/F 307 . Further, the main controller 308 is a key module for control, and performs processing for appropriately distributing control languages received from the data processing apparatus 101 via the I/O 301 to the scanner controller 309 and printer controller 310. Furthermore, the main controller 308 controls the printer engine 306 and scanner engine 313 in response to instructions from the respective controllers and user interface 312. The scanner controller 309 breaks down the scan control command received from the data processing device 101 into internal execution instructions that can be interpreted by the main controller 308. It also changes the image read by the scanner engine 313 into a scan control command. The printer controller 310 decomposes PDL (Page Description Language) received as a print job from the data processing apparatus 101 into internal execution instructions including a developed image etc. that can be interpreted by the main controller 308 . The developed image is carried to a printer engine and printed on output media such as paper.

図4は、図1に示したデータ処理装置101のソフトウェアの構成を説明するブロック図である。401は本実施例をデータ処理装置101上で実行する印刷アプリケーションで、ROM203にOS上で動作するアプリケーションとしてインストールされている。402は印刷アプリケーション401のUI部であり、アプリケーション固有の機能をユーザーに設定させるためのユーザーインターフェースを提供する。403は画像処理装置探索部であり、データ処理装置101が参加するLAN103上において、ネットワーク機器を探索したり、Wi-Fi Directに対応した機器を探索する。この時、データ処理装置101が印刷指示可能な画像処理装置のみ探索できるようにしても良い。404は印刷制御部で、通信可能な画像処理装置に対する印刷ジョブの生成と、その印刷ジョブを送信する機能を提供する。405は装置通信状態制御部で、データ処理装置101の無線LANやWi-Fi Directへの接続状態を確認する機能を提供する。なお、印刷アプリケーション401は印刷に関する機能だけでなく、画像処理装置に対してスキャン指示を送信し、指示に応じたスキャンデータを受信するスキャンに関する機能等を備えていても良い。また、印刷アプリケーション401は、データ処理装置101のOSのバージョンを認識できるものとする。 FIG. 4 is a block diagram illustrating the software configuration of the data processing apparatus 101 shown in FIG. 1. A print application 401 executes this embodiment on the data processing apparatus 101, and is installed in the ROM 203 as an application running on the OS. A UI unit 402 of the print application 401 provides a user interface for allowing the user to set application-specific functions. An image processing device search unit 403 searches for network devices and devices compatible with Wi-Fi Direct on the LAN 103 in which the data processing device 101 participates. At this time, the data processing apparatus 101 may be configured to be able to search only image processing apparatuses for which printing can be instructed. A print control unit 404 provides a function of generating a print job to a communicable image processing apparatus and transmitting the print job. A device communication state control unit 405 provides a function of checking the connection state of the data processing device 101 to the wireless LAN or Wi-Fi Direct. Note that the print application 401 may include not only a function related to printing but also a function related to scanning that transmits a scan instruction to an image processing apparatus and receives scan data according to the instruction. Further, it is assumed that the print application 401 can recognize the version of the OS of the data processing apparatus 101.

図5は、データ処理装置101において、印刷アプリケーション401を起動した直後のトップメニュー画面であり、ユーザーからの各種入力操作の受け付けを行うユーザーインターフェースである。502は、印刷指示対象とする画像処理装置を選択する、つまり通信接続を行う画像処理装置を選択するための画面に遷移するボタンであり、印刷指示対象とする画像処理装置が未選択時の場合は、504に未選択であることを示すテキストを表示する。503は、データ処理装置101内に保存されたPDF等のファイルを選択して印刷するための画面に遷移するボタンである。ボタン503は、印刷指示対象とする画像処理装置が未選択の場合、押下しても無効となる。 FIG. 5 shows a top menu screen immediately after starting the print application 401 in the data processing apparatus 101, and is a user interface that accepts various input operations from the user. Reference numeral 502 is a button for transitioning to a screen for selecting an image processing device to be instructed to print, that is, to select an image processing device to perform a communication connection, when no image processing device to be instructed to print is selected. displays text at 504 indicating that it has not been selected. A button 503 transitions to a screen for selecting and printing a file such as a PDF file stored in the data processing apparatus 101. If the image processing apparatus to which the print instruction is directed has not been selected, the button 503 is disabled even if pressed.

図6の601は、図5におけるボタン502を押下することで表示される。印刷指示対象とする画像処理装置を選択する選択画面であり、画像処理装置の探索結果のリストを一覧表示するユーザーインターフェースである。601に示す画面の上部には、探索対象のネットワークを示すテキスト602を表示する。ここでは、探索開始時にデータ処理装置101がWi-Fi Direct通信を行っていない、またはWi-Fi Direct接続状態が取得できないため、LAN103上に存在して尚且つ印刷アプリケーション401がサポートする画像処理装置をmDNS(Multicast DNS)等のプロトコルで探索した例を示す。そのためネットワークを示すテキスト602はLANとなる。なお、Wi-Fi Direct接続状態とはデータ処理装置101がWi-Fi Directで装置と通信接続を行っているか否かの状態であり、印刷アプリケーション401がデータ処理装置101上で動作するOSから取得する情報である。また、Wi-Fi Direct接続状態が取得できない状態とは、印刷アプリケーション401がOSから接続状態に関する情報を取得する権限が付与されていない状態などである。 601 in FIG. 6 is displayed by pressing the button 502 in FIG. This is a selection screen for selecting an image processing device to be instructed to print, and is a user interface that displays a list of search results for image processing devices. At the top of the screen 601, text 602 indicating the network to be searched is displayed. Here, since the data processing apparatus 101 is not performing Wi-Fi Direct communication at the start of the search or the Wi-Fi Direct connection status cannot be acquired, the image processing apparatus existing on the LAN 103 and supported by the print application 401 is An example of searching using a protocol such as mDNS (Multicast DNS) is shown below. Therefore, the text 602 indicating the network becomes LAN. Note that the Wi-Fi Direct connection state is the state of whether or not the data processing apparatus 101 is communicating with the apparatus using Wi-Fi Direct, and is obtained by the print application 401 from the OS running on the data processing apparatus 101. This is the information that will be used. Further, a state in which the Wi-Fi Direct connection state cannot be obtained includes a state in which the printing application 401 is not authorized to obtain information regarding the connection state from the OS.

探索の結果、603で示すように画像処理装置104が探索できたとする。ユーザーは、601に示す画像処理装置の探索結果画面(ここでは、探索によって見つかった画像処理装置104の情報を表示している)から、印刷指示対象とする画像処理装置を選択し、トップメニュー画面(図5)に戻る。 As a result of the search, it is assumed that the image processing device 104 is able to search as shown at 603. The user selects an image processing apparatus to be instructed to print from the image processing apparatus search result screen 601 (here, information about the image processing apparatuses 104 found through the search is displayed), and selects the image processing apparatus to be instructed to print ( Return to Figure 5).

図7は、601の探索開始時にデータ処理装置101がWi-Fi Directで通信接続している場合の画像処理装置の選択画面である。ここで探索対象のネットワークを示すテキスト701は、Wi-Fi Directであることを示している。データ処理装置101とWi-Fi Directで直接通信を行っている画像処理装置106が、印刷アプリケーション401でサポートされる画像処理装置の場合、画像処理装置106の情報を702に探索結果として表示する。 FIG. 7 shows an image processing apparatus selection screen when the data processing apparatus 101 is connected for communication via Wi-Fi Direct at the time of starting the search in 601. Here, text 701 indicating the network to be searched indicates that it is Wi-Fi Direct. If the image processing device 106 that directly communicates with the data processing device 101 via Wi-Fi Direct is an image processing device supported by the print application 401, information on the image processing device 106 is displayed in 702 as a search result.

データ処理装置101がWi-Fi Directで通信を行うためには、例えばデータ処理装置101上で動作するOSの通信設定画面で、画像処理装置106とのWi-Fi Direct通信の設定を行う必要がある。そして印刷アプリケーション401は、OSから前記設定したWi-Fi Direct接続情報等を取得することができる。しかし、データ処理装置上で動作するOSがAndroidのバージョン10以降であると、アプリケーションが上記の接続情報等をOSから取得するためにはアクセス権が付与されている必要がある。 In order for the data processing device 101 to communicate using Wi-Fi Direct, it is necessary to configure settings for Wi-Fi Direct communication with the image processing device 106, for example, on the communication settings screen of the OS running on the data processing device 101. be. The print application 401 can then obtain the set Wi-Fi Direct connection information and the like from the OS. However, if the OS running on the data processing device is Android version 10 or later, access rights must be granted in order for the application to obtain the above connection information and the like from the OS.

なお、図6、7でLAN内のネットワーク機器を探索する例と、Wi-Fi Direct通信している機器を探索する例を独立して示した。しかし、LAN内の探索とWi-Fi Directによる探索は同時に行われても良いし、両方の結果を同一画面に示しても良い。 Note that FIGS. 6 and 7 independently show an example of searching for network devices within a LAN and an example of searching for devices communicating with Wi-Fi Direct. However, the search within the LAN and the search using Wi-Fi Direct may be performed simultaneously, or both results may be displayed on the same screen.

図8は、画像処理装置を探索して所望の画像処理装置を選択した後のトップメニュー画面である。前記の探索によって接続を行った画像処理装置のうち、印刷指示対象とするもの(以下、選択中プリンタ)の情報を802に、印刷指示対象として選択可能な画像処理装置(以下、選択可能プリンタ)の情報を804に表示する。なお、選択可能プリンタは印刷アプリケーション401が過去にジョブの送信や受信を行ったことが有り印刷アプリケーション401に登録されたプリンタが表示されていても良い。選択中プリンタは過去に通信を行ったことが有る選択可能プリンタ一覧からユーザーが印刷指示対象として選択したプリンタであっても良い。つまり印刷アプリケーション401を起動すると、過去にジョブのやり取りを行ったことが有る装置が選択中プリンタ、選択可能プリンタとして一覧表示される状態になる。 FIG. 8 shows the top menu screen after searching for image processing devices and selecting a desired image processing device. Among the image processing apparatuses that have been connected through the above search, information on the image processing apparatuses that are the target of print instructions (hereinafter referred to as selected printers) is stored in 802, and the image processing apparatus that can be selected as the target of print instructions (hereinafter referred to as selectable printers) information is displayed in 804. Note that the selectable printers may include printers registered in the print application 401 that have sent or received jobs to the print application 401 in the past. The currently selected printer may be a printer selected by the user as a print instruction target from a list of selectable printers with which the user has communicated in the past. That is, when the print application 401 is started, devices with which jobs have been exchanged in the past are displayed as a list of selected printers and selectable printers.

画像処理装置の情報には、画像処理装置の装置名、IPアドレス、ネットワーク種別、接続状態等が含まれるとする。選択可能プリンタの情報804を押下すると、押下した選択可能プリンタが選択中プリンタに、それまでの選択中プリンタは選択可能プリンタに変更される。その後ユーザーは、ボタン503を押下し、印刷対象とする原稿ファイルを選んで印刷設定画面に遷移する(原稿の選択、および印刷を行う画面は不図示)。 It is assumed that the information on the image processing device includes the device name, IP address, network type, connection state, etc. of the image processing device. When the selectable printer information 804 is pressed, the selected selectable printer that was pressed becomes the currently selected printer, and the previously selected printer is changed to the selectable printer. Thereafter, the user presses the button 503, selects a document file to be printed, and transitions to a print setting screen (the screen for selecting and printing a document is not shown).

図9を用いて、印刷アプリケーション401へのデータ処理装置101の位置情報に対するアクセス許可を要求する動作について説明する。(データ処理装置101上で動作するOSがAndroidのバージョン10以降であるため、該印刷アプリケーションはデータ処理装置の位置情報に対するアクセス許可が必要となる)。図9は、印刷アプリケーション401を起動時にデータ処理装置101が行う、位置情報権限の要求についてのフローチャートを示している。フローチャートが示す処理はCPU202が実行する。 The operation of requesting permission to access the location information of the data processing apparatus 101 from the print application 401 will be described using FIG. 9 . (Since the OS running on the data processing apparatus 101 is Android version 10 or later, the printing application needs permission to access the location information of the data processing apparatus). FIG. 9 shows a flowchart regarding a request for location information authority made by the data processing apparatus 101 when the print application 401 is started. The CPU 202 executes the processing shown in the flowchart.

ステップS901においてユーザーは、データ処理装置101にインストールされているアプリケーション一覧の中から、印刷アプリケーション401を起動する。 In step S901, the user starts the print application 401 from the list of applications installed in the data processing apparatus 101.

次に、ステップS902においてデータ処理装置101は、選択中プリンタ、または選択可能プリンタの中に、ネットワーク種別がWi-Fi Directの画像処理装置があるかを判定する。ここで選択中プリンタ、または選択可能プリンタとは、上述したように印刷アプリケーション401に登録されているプリンタとしても良い。ネットワーク種別がWi-Fi Directの画像処理装置がある場合(ステップS902:Yes)、ステップS903に処理を進める。ネットワーク種別がWi-Fi Directである画像処理装置がない場合(ステップS902:No)、本フローを終了する。 Next, in step S902, the data processing apparatus 101 determines whether there is an image processing apparatus whose network type is Wi-Fi Direct among the selected printers or selectable printers. Here, the selected printer or selectable printer may be a printer registered in the printing application 401 as described above. If there is an image processing device whose network type is Wi-Fi Direct (step S902: Yes), the process advances to step S903. If there is no image processing device whose network type is Wi-Fi Direct (step S902: No), this flow ends.

次に、ステップS903においてデータ処理装置101は、印刷アプリケーション401に対する位置情報へのアクセスが許可されているかを判定する。位置情報へのアクセスが許可されていない場合(ステップS903:No)、ステップS904に処理を進める。位置情報へのアクセスが許可されている場合(ステップS903:Yes)、ステップS907に処理を進める。 Next, in step S903, the data processing apparatus 101 determines whether the print application 401 is permitted to access the position information. If access to the location information is not permitted (step S903: No), the process advances to step S904. If access to the location information is permitted (step S903: Yes), the process advances to step S907.

次に、ステップS904においてデータ処理装置101は、図10の1001に示すようにアプリケーションへの位置情報に対するアクセス許可を求める内容の警告であるアクセス許可設定画面を表示する。 Next, in step S904, the data processing apparatus 101 displays an access permission setting screen as shown in 1001 in FIG. 10, which is a warning requesting permission to access location information to the application.

次に、ステップS905においてユーザーは、図10の1001で示すアクセス許可設定画面で、印刷アプリケーション401に対する位置情報へのアクセス許可を設定する。ボタン1002を押下すると印刷アプリケーション401に対する位置情報へのアクセスが許可され、ボタン1003を押下すると印刷アプリケーション401に対する位置情報へのアクセスは許可されない。 Next, in step S905, the user sets access permission for the print application 401 to the location information on the access permission setting screen 1001 in FIG. When the button 1002 is pressed, the print application 401 is permitted to access the position information, and when the button 1003 is pressed, the print application 401 is not permitted to access the position information.

次に、ステップS906においてデータ処理装置101は、ステップS905で印刷アプリケーション401に対する位置情報へのアクセスが許可されたかを判定する。位置情報へのアクセスが許可された場合(ステップS906:Yes)、ステップS907に処理を進める。位置情報へのアクセスが許可されなかった場合(ステップS906:No)、本フローを終了する。 Next, in step S906, the data processing apparatus 101 determines whether access to the location information for the print application 401 is permitted in step S905. If access to the location information is permitted (step S906: Yes), the process advances to step S907. If access to the location information is not permitted (step S906: No), this flow ends.

次に、ステップS907において印刷アプリケーション401は、データ処理装置101のWi-Fi Direct接続状態をOSから取得する。 Next, in step S907, the print application 401 obtains the Wi-Fi Direct connection state of the data processing apparatus 101 from the OS.

次に、ステップS908においてデータ処理装置101は、ステップS907において取得したWi-Fi Directへの接続状態から、選択中プリンタ、または選択可能プリンタとWi-Fi Directで接続しているかを判定する。Wi-Fi Directに接続中の場合(ステップS908:Yes)、ステップS909に処理を進める。Wi-Fi Directに未接続の場合(ステップS908:No)、本フローを終了する。 Next, in step S908, the data processing apparatus 101 determines whether the currently selected printer or the selectable printer is connected to the Wi-Fi Direct connection state based on the Wi-Fi Direct connection state acquired in step S907. If connected to Wi-Fi Direct (step S908: Yes), the process advances to step S909. If it is not connected to Wi-Fi Direct (step S908: No), this flow ends.

次に、ステップS909においてデータ処理装置101は、Wi-Fi Directで接続中の画像処理装置106から、ステータス情報の取得を行う。 Next, in step S909, the data processing apparatus 101 acquires status information from the image processing apparatus 106 connected via Wi-Fi Direct.

次に、ステップS910においてデータ処理装置101は、S909で取得したWi-Fi Directで接続中の画像処理装置106のステータス情報等をトップメニュー画面に表示し、本フローを終了する。なおステップS910のようにWi-Fi Directで接続中の装置のステータス情報を表示しない場合は、表示しないままトップメニュー画面を表示して本フローを終了する。本フロー終了後は例えば図8に示すようなトップメニュー画面を表示する。 Next, in step S910, the data processing apparatus 101 displays the status information of the image processing apparatus 106 connected via Wi-Fi Direct, which was obtained in S909, on the top menu screen, and ends this flow. Note that if the status information of the device connected via Wi-Fi Direct is not to be displayed as in step S910, the top menu screen is displayed without displaying it, and this flow ends. After this flow ends, a top menu screen as shown in FIG. 8, for example, is displayed.

トップメニュー画面を表示した後、ユーザーはボタン503を押下して印刷対象とする原稿ファイルを選んで、印刷ジョブの生成及び画像処理装置に対して印刷ジョブの送信を行い、処理を終了する(原稿の選択、および印刷を行う画面は不図示)。なお本フローでは、データ処理装置101上で動作するOSのバージョンが所定の条件を満たす(例えばAndroid10である)か否かを判定する工程を設け、所定の条件を満たす場合のみアクセス許可を求める内容の警告を出すようにしても良い。 After displaying the top menu screen, the user presses the button 503 to select the original file to be printed, generates a print job, sends the print job to the image processing device, and completes the process. (Screens for selection and printing are not shown). Note that this flow includes a step of determining whether the version of the OS running on the data processing device 101 satisfies a predetermined condition (for example, Android 10), and requests access permission only when the predetermined condition is met. You may also issue a warning.

以上の処理により、Wi-Fi Directを利用したことがあり(アプリケーションで装置とWi-Fi Direct通信を介したジョブのやり取りをした装置が登録してある)、今後もWi-Fi Directを使う可能性があるユーザーに限定してアプリケーションに対する位置情報のアクセス許可を求めることができる。これにより、Wi-Fi Directを利用しないユーザーの操作性を損なうことなく、必要なユーザーに対してのみデータ処理装置の位置情報に対するアクセス許可を求めることができる。 With the above process, you can confirm that you have used Wi-Fi Direct (the application has registered the device and the device that exchanged jobs via Wi-Fi Direct communication) and that you can continue to use Wi-Fi Direct. You can request permission to access location information for an application only to users who have the ability to do so. As a result, permission to access the location information of the data processing device can be requested only from necessary users without impairing the operability of users who do not use Wi-Fi Direct.

(実施例2)
実施例1による位置情報へのアクセス許可要求の場合、一度でもWi-Fi Direct通信で装置とジョブのやり取りをしたユーザーは、必ず位置情報へのアクセス許可を求められる。また、ユーザーによっては普段はLAN接続で画像処理装置を使用し、稀にWi-Fi Direct接続で画像処理装置を使用する場合がある。そのようなユーザーの場合、実施例1による位置情報へのアクセス許可要求がアプリケーション起動時に毎回表示されると、アプリケーションの操作性が低下してしまう。そこで実施例2では、ユーザーが過去にWi-Fi Directで接続した画像処理装置と、データのやり取りを所望したタイミングでのみユーザーに位置情報へのアクセス許可を求める方法について説明する。
(Example 2)
In the case of a request for permission to access location information according to the first embodiment, a user who has exchanged a job with a device at least once through Wi-Fi Direct communication is always requested to be allowed to access location information. Furthermore, some users usually use the image processing apparatus through a LAN connection, and in rare cases may use the image processing apparatus through a Wi-Fi Direct connection. For such users, if the request for permission to access location information according to the first embodiment is displayed every time the application is started, the operability of the application will deteriorate. Therefore, in a second embodiment, a method will be described in which a user is asked for permission to access location information only at the timing when the user desires to exchange data with an image processing apparatus that the user has previously connected to via Wi-Fi Direct.

図11は、実施例2のデータ処理装置101における画像処理装置の探索処理についてのフローチャートを示している。本実施例2のフローチャートにおけるステップS1102以外の処理と、実施例1のフローチャートにおけるステップS902以外の処理は同等であり、説明を割愛する。 FIG. 11 shows a flowchart regarding the image processing device search process in the data processing device 101 of the second embodiment. The processing other than step S1102 in the flowchart of the second embodiment is the same as the processing other than step S902 in the flowchart of the first embodiment, and a description thereof will be omitted.

実施例1と異なる点は、ユーザーが過去にWi-Fi Directで接続した画像処理装置を選択中プリンタ(データ送信先プリンタ)に指定したタイミング(ステップS1102)で位置情報へのアクセス許可を求める点である。一例を図8を用いて説明する。図8に示すように印刷アプリケーション401のトップメニュー画面501において、LAN接続の画像処理装置104が選択中プリンタ802であり、Wi-Fi Direct接続の画像処理装置106は選択可能プリンタ804となっている。 The difference from Embodiment 1 is that permission to access location information is requested at the timing (step S1102) when the user specifies an image processing apparatus connected in the past via Wi-Fi Direct as the selected printer (data destination printer). It is. An example will be explained using FIG. 8. As shown in FIG. 8, on the top menu screen 501 of the print application 401, the LAN-connected image processing device 104 is the selected printer 802, and the Wi-Fi Direct-connected image processing device 106 is the selectable printer 804.

ここでユーザーが選択可能プリンタ804を押下し(ステップS1102)、Wi-Fi Directで接続された画像処理装置106を選択中プリンタに変更すると、ステップS903以降の処理が実行され、位置情報へのアクセス許可要求の処理が行われる。処理の結果、ステップS909までフローが進み、印刷アプリケーション401に位置情報へのアクセスが許可され、Wi-Fi Directで接続された画像処理装置106のステータス取得が完了すると、ステップS910で図12に示す画面が表示される。ここで、ステップS1102にて選択可能プリンタから選択中プリンタに変更された画像処理装置106は、ステップS909で取得したステータス情報と共に選択中プリンタとして1201のように表示される。また、それまで選択中プリンタとなっていた画像処理装置104は選択可能プリンタとして1202のように表示される。 Here, when the user presses the selectable printer 804 (step S1102) and changes the image processing device 106 connected via Wi-Fi Direct to the selected printer, the processing from step S903 onwards is executed, and the location information is accessed. The authorization request is processed. As a result of the processing, the flow advances to step S909, the print application 401 is permitted to access the location information, and when the status acquisition of the image processing apparatus 106 connected via Wi-Fi Direct is completed, the process proceeds to step S910 as shown in FIG. The screen will be displayed. Here, the image processing apparatus 106 changed from a selectable printer to a currently selected printer in step S1102 is displayed as a currently selected printer as 1201 together with the status information acquired in step S909. Further, the image processing apparatus 104, which had been the selected printer until then, is displayed as a selectable printer as 1202.

以上の処理により、Wi-Fi Directで接続された画像処理装置が選択中プリンタ(データ送信先プリンタ)となったタイミングでのみユーザーに位置情報へのアクセス許可を求める。これにより、ユーザーがWi-Fi Direct接続された画像処理装置の利用を所望したタイミングで位置情報へのアクセス許可を求めることが出来るため、不必要なアクセス許可を求めることがなくユーザーの操作性を損なわない。また、実施例1でアプリケーショ起動時の警告では、アクセス権の許可を行わなかったユーザーに対しても、Wi-Fi Directで装置と通信を所望するタイミングでアクセス権の許可を問い合わせることができる。 Through the above processing, permission to access location information is requested from the user only when the image processing apparatus connected via Wi-Fi Direct becomes the selected printer (data destination printer). This allows the user to request permission to access location information at the desired timing to use the Wi-Fi Direct-connected image processing device, improving user operability without requesting unnecessary access permission. Not damaged. Further, in the first embodiment, when the application is started, a user who has not been granted access rights can be asked to grant access rights at the desired timing to communicate with the device using Wi-Fi Direct.

(実施例3)
実施例1、および実施例2による位置情報へのアクセス許可要求の場合、一度でもWi-Fi Directを使用したことがあるユーザーに対しては位置情報へのアクセス許可要求が行われる。一方、モバイル端末上OSがAndroid 10の状態で、初めて画像処理装置とWi-Fi Directによる接続を行うユーザーも存在する。そのような状況のユーザーには実施例1、および実施例2のようなアクセス許可要求が行われない。そのため、Wi-Fi Directによる画像処理装置との接続が出来ない可能性が有る。実施例3では、Wi-Fi Directで画像処理装置とデータ処理装置を接続したことがないユーザーに対して、初めてWi-Fi Direct接続する場合に位置情報へのアクセス許可を求める方法について説明する。
(Example 3)
In the case of requests for permission to access location information according to the first and second embodiments, requests for permission to access location information are made to users who have used Wi-Fi Direct at least once. On the other hand, there are users who connect to an image processing device for the first time using Wi-Fi Direct when the OS on their mobile terminal is Android 10. For users in such situations, access permission requests as in the first and second embodiments are not made. Therefore, there is a possibility that connection with the image processing device using Wi-Fi Direct may not be possible. In Embodiment 3, a method will be described in which a user who has never connected an image processing device and a data processing device using Wi-Fi Direct is asked for permission to access location information when making a Wi-Fi Direct connection for the first time.

図13は、実施例3のデータ処理装置101における位置情報へのアクセス要求処理についてのフローチャートを示している。本実施例のフローチャートにおけるステップS1301の処理と、実施例1のフローチャートにおけるステップS801の処理は同等であり、説明を割愛する。実施例1と異なる点は、ステップS1302においてユーザーが開始した画像処理装置の探索結果を表示する画面で、位置情報へのアクセス許可設定を行うためのボタンを表示する点である。本フローチャートでは、印刷アプリケーション401はプリンタ探索をしたときに、位置情報へのアクセスが許可されていれば、まずWi-Fi Directで接続した装置の探索を試みる。そしてデータ処理装置101がWi-Fi Direct接続していない場合はLAN内の装置の探索を行うとする。さらに位置情報へのアクセスが許可されていないときは印刷アプリケーション401はLAN内の装置の探索を行うものとする。 FIG. 13 shows a flowchart of the process of requesting access to location information in the data processing apparatus 101 according to the third embodiment. The processing in step S1301 in the flowchart of this embodiment and the processing in step S801 in the flowchart of embodiment 1 are equivalent, and a description thereof will be omitted. The difference from the first embodiment is that a button for setting access permission to location information is displayed on the screen displaying the search results of the image processing device started by the user in step S1302. In this flowchart, when the print application 401 searches for a printer, if access to location information is permitted, it first attempts to search for a device connected via Wi-Fi Direct. If the data processing device 101 is not connected via Wi-Fi Direct, a search for devices within the LAN is performed. Furthermore, when access to the location information is not permitted, the print application 401 searches for devices within the LAN.

ステップS1302においてユーザーは図5に示す印刷アプリケーション401のトップメニュー画面501で、ボタン502を押下して画像処理装置の探索を開始する。 In step S1302, the user presses the button 502 on the top menu screen 501 of the print application 401 shown in FIG. 5 to start searching for an image processing apparatus.

次に、ステップS1303においてデータ処理装置101は、印刷アプリケーション401に対する位置情報へのアクセスが許可されているかを判定する。位置情報へのアクセスが許可されていない場合(ステップS1303:No)、ステップS1304に処理を進める。位置情報へのアクセスが許可されている場合(ステップS1303:Yes)、ステップS1307に処理を進める。 Next, in step S1303, the data processing apparatus 101 determines whether the print application 401 is permitted to access the position information. If access to the location information is not permitted (step S1303: No), the process advances to step S1304. If access to the location information is permitted (step S1303: Yes), the process advances to step S1307.

ステップS1307においてデータ処理装置101は、自身のWi-Fi Direct接続状態を取得する。 In step S1307, the data processing device 101 obtains its own Wi-Fi Direct connection state.

次に、ステップS1308においてデータ処理装置101は、ステップS1307において取得したWi-Fi Directへの接続状態を判定する。データ処理装置101がWi-Fi Directで接続中の場合(ステップS1308:Yes)、ステップS1309に処理を進める。Wi-Fi Direct未接続の場合(ステップS1308:No)、ステップS1306に処理を進める。 Next, in step S1308, the data processing apparatus 101 determines the connection state to Wi-Fi Direct obtained in step S1307. If the data processing device 101 is connected via Wi-Fi Direct (step S1308: Yes), the process advances to step S1309. If Wi-Fi Direct is not connected (step S1308: No), the process advances to step S1306.

次に、ステップS1309においてデータ処理装置101は、Wi-Fi Directで接続している画像処理装置の探索を開始し、見つかった画像処理装置の情報を探索結果として表示する。 Next, in step S1309, the data processing apparatus 101 starts searching for an image processing apparatus connected via Wi-Fi Direct, and displays information on the found image processing apparatus as a search result.

ステップS1303でステップS1304に処理を進めた(ステップS1303:No)場合、データ処理装置101は、図10の1001に示すアプリケーションに位置情報へのアクセス許可を求めるアクセス許可設定画面を表示したことがあるかを判定する。アクセス許可設定画面を表示したことがない場合(ステップS1304:No)、ステップS1305に処理を進める。アクセス許可設定画面を表示したことがある場合(ステップS1304:Yes)、ステップS1306に処理を進める。これにより、過去にユーザーが印刷アプリケーション401に対する位置情報へのアクセス許可を意図的に許可していない場合には、再度位置情報へのアクセス許可を求めることを防ぐ。なおアクセス許可設定画面を表示したことがある場合(ステップS1304:Yes)にもステップS1305に進むようにしても良い。 If the process proceeds to step S1304 in step S1303 (step S1303: No), the data processing apparatus 101 has displayed an access permission setting screen requesting permission to access location information on the application shown in 1001 in FIG. Determine whether If the access permission setting screen has never been displayed (step S1304: No), the process advances to step S1305. If the access permission setting screen has been displayed (step S1304: Yes), the process advances to step S1306. This prevents the user from requesting permission to access the location information again if the user has not intentionally granted the printing application 401 permission to access the location information in the past. Note that the process may proceed to step S1305 even if the access permission setting screen has been displayed (step S1304: Yes).

次に、ステップS1305においてデータ処理装置101は、図14の601に示す画像処理装置選択画面の下部に、位置情報へのアクセス許可設定を行うためのボタン1401を表示する。ボタン1401を押下すると図10の1001に示すアクセス許可設定画面を表示し、ユーザーに印刷アプリケーション401に対する位置情報へのアクセス許可を求める。前述の位置情報のアクセス許可要求の結果、印刷アプリケーション401に対する位置情報へのアクセスが許可された場合には、ステップS1302から再度探索処理を開始できる。 Next, in step S1305, the data processing apparatus 101 displays a button 1401 for setting access permission to position information at the bottom of the image processing apparatus selection screen shown at 601 in FIG. When a button 1401 is pressed, an access permission setting screen shown at 1001 in FIG. 10 is displayed, and the user is asked for permission to access location information for the print application 401. If the print application 401 is permitted to access the location information as a result of the location information access permission request described above, the search process can be started again from step S1302.

次に、ステップS1306においてデータ処理装置101は、接続中のLAN上103にある画像処理装置の探索を開始し、見つかった画像処理装置の情報を探索結果として表示する。LAN内の装置を探索した結果、ユーザーが所望する装置がなかった場合、ユーザーは図14のボタン1401を押下することで、位置情報へのアクセスを許可しWi-Fi Direct探索を行うことができるようになる。 Next, in step S1306, the data processing apparatus 101 starts searching for an image processing apparatus on the connected LAN 103, and displays information on the found image processing apparatus as a search result. If the device desired by the user is not found as a result of searching for devices in the LAN, the user can press button 1401 in FIG. 14 to permit access to location information and perform a Wi-Fi Direct search. It becomes like this.

以上の処理により、画像処理装置の探索画面に、位置情報へのアクセス許可を求めるボタンを表示する。これにより、画像処理装置とWi-Fi Directによる接続を行ったことがないユーザーに対しても位置情報へのアクセス許可要求が行われ、Wi-Fi Directによる接続の機会損失を防ぐことができる。 Through the above processing, a button requesting permission to access location information is displayed on the search screen of the image processing device. As a result, a request for permission to access the location information is made even to users who have never connected to the image processing apparatus using Wi-Fi Direct, and it is possible to prevent loss of opportunity for connection using Wi-Fi Direct.

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

Claims (15)

画像処理装置と通信を行う端末のコンピューターに、制御方法を実行させるためのプログラムであって、
前記制御方法は、
(1)前記端末で動作するOSのバージョンが所定の条件を満たし、(2)前記OSのバージョンへの更新前にWi-Fi Directで通信したことのある画像処理装置の情報が前記プログラムによって登録されており、かつ、(3)前記OSのバージョンへの更新後にWi-Fi Directで通信するために必要な権限が前記プログラムに付与されていない場合、警告を出す
ことを特徴とするプログラム。
A program for causing a computer of a terminal communicating with an image processing device to execute a control method,
The control method includes:
(1) The version of the OS running on the terminal satisfies predetermined conditions, and (2) the program does not contain information about image processing devices with which you have communicated via Wi -Fi Direct before updating to the OS version. and (3) issues a warning if the program is not granted the authority necessary to communicate via Wi-Fi Direct after updating to the version of the OS.
前記警告を出すタイミングは、前記プログラムが前記端末上で起動された時である
ことを特徴とする請求項1に記載のプログラム。
The program according to claim 1, wherein the timing at which the warning is issued is when the program is started on the terminal.
前記警告を出すタイミングは、前記Wi-Fi Directで通信したことのある画像処理装置が、データ送信先の画像処理装置として選択された時である
ことを特徴とする請求項1又は2に記載のプログラム。
3. The timing at which the warning is issued is when an image processing apparatus with which communication has been performed using the Wi-Fi Direct is selected as an image processing apparatus to which data is to be transmitted. program.
前記プログラムを介して、前記端末が画像処理装置とWi-Fi Direct通信でデータの送信もしくは受信を行うと、当該画像処理装置の情報が前記プログラムによって登録される
ことを特徴とする請求項1から3のいずれか一項に記載のプログラム。
From claim 1, wherein when the terminal transmits or receives data via Wi-Fi Direct communication with an image processing device via the program, information on the image processing device is registered by the program. 3. The program according to any one of 3.
前記プログラムは、前記端末と通信を行う画像処理装置に対して、印刷ジョブを送信する
ことを特徴とする請求項1から4のいずれか一項に記載のプログラム。
5. The program according to claim 1, wherein the program transmits a print job to an image processing device that communicates with the terminal.
前記プログラムは、前記端末上で動作するOSから前記端末のWi-Fi Directの接続状態を取得する
ことを特徴とする請求項1から5のいずれか一項に記載のプログラム。
6. The program according to claim 1, wherein the program acquires the Wi-Fi Direct connection state of the terminal from an OS running on the terminal.
前記Wi-Fi Directで通信するために必要な権限とは、前記プログラムがOSの情報にアクセスするための権限である
ことを特徴とする請求項1から6のいずれか一項に記載のプログラム。
The program according to any one of claims 1 to 6, wherein the authority necessary for communicating via Wi-Fi Direct is an authority for the program to access information of an OS.
前記Wi-Fi Directで通信するために必要な権限とは、前記プログラムが前記端末の位置情報にアクセスするための権限である
ことを特徴とする請求項1から7のいずれか一項に記載のプログラム。
The computer according to any one of claims 1 to 7, wherein the authority necessary for communicating via Wi-Fi Direct is an authority for the program to access location information of the terminal. program.
前記警告は前記Wi-Fi Directで通信するために必要な権限を前記プログラムに対して付与するか否かユーザーに問い合わせる内容である
ことを特徴とする請求項1から8のいずれか一項に記載のプログラム。
According to any one of claims 1 to 8, the warning is a content that inquires of the user whether or not to grant the program the authority necessary to communicate using the Wi-Fi Direct. program.
前記所定の条件を満たすとは、前記OSのバージョンが所定のバージョン以降である
ことを特徴とする請求項1から9のいずれか一項に記載のプログラム。
10. The program according to claim 1, wherein satisfying the predetermined condition means that the version of the OS is a predetermined version or later.
前記情報は、前記画像処理装置の装置名、前記画像処理装置との通信に必要な情報、の少なくともいずれかを含む情報である
ことを特徴とする請求項1から10のいずれか一項に記載のプログラム。
The information according to any one of claims 1 to 10, wherein the information includes at least one of a device name of the image processing device and information necessary for communication with the image processing device. program.
前記制御方法は、さらに、
Wi-Fi Directで通信したことのある画像処理装置の情報が前記プログラムによって登録されていなかった場合、前記警告を出さない
ことを特徴とする請求項2に記載のプログラム。
The control method further includes:
3. The program according to claim 2, wherein the program does not issue the warning if information on an image processing device with which the program has communicated via Wi-Fi Direct is not registered by the program.
前記制御方法は
(1)前記端末で動作するOSのバージョンが所定の条件を満たし、(2)前記OSのバージョンへの更新前に前記Wi-Fi Directで通信したことのある画像処理装置の情報が前記プログラムによって登録されており、かつ、(3)前記OSのバージョンへの更新後にWi-Fi Directで通信するために必要な権限が前記プログラムに付与されていない状況において、新たにWi-Fi Directで通信するデータ送信先の画像処理装置が選択された時は、前記警告を出す
ことを特徴とする請求項1に記載のプログラム。
The control method includes: (1) the version of the OS running on the terminal satisfies predetermined conditions; and (2) information about image processing devices that have communicated with the Wi-Fi Direct before updating to the OS version. is registered by the program, and (3) in a situation where the program is not granted the necessary authority to communicate via Wi-Fi Direct after updating to the OS version, a new Wi-Fi 2. The program according to claim 1, wherein the warning is issued when an image processing device as a data transmission destination for direct communication is selected.
アプリケーションを介して画像処理装置と通信を行う端末であって、
(1)前記端末で動作するOSのバージョンが所定の条件を満たし、(2)前記OSのバージョンへの更新前にWi-Fi Directで通信したことのある画像処理装置の情報がプログラムによって登録されており、かつ、(3)前記OSのバージョンへの更新後にWi-Fi Directで通信するために必要な権限が前記アプリケーションに付与されていない場合、警告を出す警告手段を有する
ことを特徴とする端末。
A terminal that communicates with an image processing device via an application,
(1) The version of the OS running on the terminal satisfies predetermined conditions, and (2) the information of the image processing device with which you have communicated via Wi -Fi Direct before updating to the OS version is not updated by the program. and (3) a warning unit that issues a warning if the application is not granted the necessary authority to communicate via Wi-Fi Direct after updating to the version of the OS. Terminal.
アプリケーションを介して画像処理装置と通信を行う端末が実行する制御方法であって、
(1)前記端末で動作するOSのバージョンが所定の条件を満たし、(2)前記OSのバージョンへの更新前にWi-Fi Directで通信したことのある画像処理装置の情報がプログラムによって登録されており、かつ、(3)前記OSのバージョンへの更新後にWi-Fi Directで通信するために必要な権限が前記アプリケーションに付与されていない場合、警告を出す
ことを特徴とする制御方法。
A control method executed by a terminal communicating with an image processing device via an application, the control method comprising:
(1) The version of the OS running on the terminal satisfies predetermined conditions, and (2) the information of the image processing device with which you have communicated via Wi -Fi Direct before updating to the OS version is not updated by the program. and (3) issue a warning if the application is not granted permission necessary to communicate via Wi-Fi Direct after updating to the version of the OS. .
JP2019194552A 2019-10-25 2019-10-25 Information processing device, program and control method Active JP7433836B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019194552A JP7433836B2 (en) 2019-10-25 2019-10-25 Information processing device, program and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019194552A JP7433836B2 (en) 2019-10-25 2019-10-25 Information processing device, program and control method

Publications (2)

Publication Number Publication Date
JP2021069052A JP2021069052A (en) 2021-04-30
JP7433836B2 true JP7433836B2 (en) 2024-02-20

Family

ID=75637587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019194552A Active JP7433836B2 (en) 2019-10-25 2019-10-25 Information processing device, program and control method

Country Status (1)

Country Link
JP (1) JP7433836B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140355048A1 (en) 2013-06-03 2014-12-04 Samsung Electronics Co., Ltd. System and method of mobile printing using near field communication
JP2016157428A (en) 2015-02-25 2016-09-01 株式会社リコー Information processing device, communication system, and communication method
JP2017170777A (en) 2016-03-24 2017-09-28 富士ゼロックス株式会社 Information processing apparatus, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140355048A1 (en) 2013-06-03 2014-12-04 Samsung Electronics Co., Ltd. System and method of mobile printing using near field communication
JP2016157428A (en) 2015-02-25 2016-09-01 株式会社リコー Information processing device, communication system, and communication method
JP2017170777A (en) 2016-03-24 2017-09-28 富士ゼロックス株式会社 Information processing apparatus, and program

Also Published As

Publication number Publication date
JP2021069052A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
US11922084B2 (en) Image printing apparatus having print setting values, printing system, control method, and storage medium
JP6224902B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
CN110831771A (en) Printing system, printing apparatus, information processing apparatus, control method therefor, and storage medium
JP6222950B2 (en) Printing apparatus, control method thereof, and program
JP6103997B2 (en) Printing apparatus, control method therefor, and program
JP6144934B2 (en) Printing apparatus, control method thereof, and program
JP2019096295A (en) Voice control system, control method, and program
JP2014165593A (en) Communication device, communication system, communication device control method and computer program
JP2021164057A (en) Image processing device, control method, and program
JP7210937B2 (en) image forming device
JP6433147B2 (en) Printing apparatus, printing apparatus control method, and program
JP7433836B2 (en) Information processing device, program and control method
JP6157144B2 (en) Printing apparatus, printing apparatus control method, and program
JP6772083B2 (en) Terminal equipment, information processing programs, and information processing equipment
JP2014115849A (en) Information processor, control method, and program
JP7163346B2 (en) Information processing device, control method for information processing device, and program
JP2022128244A (en) Image forming apparatus, control method, and program
JP2021189486A (en) Printing system and control method of printing system
JP2021117696A (en) Information processing device, program, and control method
JP2015022409A (en) Image processing device, authentication method therefor, and program
JP7009547B2 (en) Printing equipment, control methods and programs for printing equipment
US11204727B2 (en) Image processing apparatus and image processing method
JP6342032B2 (en) Printing apparatus, control method thereof, and program
JP7365175B2 (en) Information processing device, method, program
JP7383432B2 (en) Communication device, communication device control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221011

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230616

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230711

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230908

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231208

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20231213

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240207

R151 Written notification of patent or utility model registration

Ref document number: 7433836

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151