JP6896782B2 - Information processing equipment, control methods, and programs - Google Patents

Information processing equipment, control methods, and programs Download PDF

Info

Publication number
JP6896782B2
JP6896782B2 JP2019040731A JP2019040731A JP6896782B2 JP 6896782 B2 JP6896782 B2 JP 6896782B2 JP 2019040731 A JP2019040731 A JP 2019040731A JP 2019040731 A JP2019040731 A JP 2019040731A JP 6896782 B2 JP6896782 B2 JP 6896782B2
Authority
JP
Japan
Prior art keywords
state
information processing
communication
connection
internet
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
JP2019040731A
Other languages
Japanese (ja)
Other versions
JP2019115063A5 (en
JP2019115063A (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
Priority claimed from JP2015214961A external-priority patent/JP6494490B2/en
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2019040731A priority Critical patent/JP6896782B2/en
Publication of JP2019115063A publication Critical patent/JP2019115063A/en
Publication of JP2019115063A5 publication Critical patent/JP2019115063A5/ja
Application granted granted Critical
Publication of JP6896782B2 publication Critical patent/JP6896782B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Description

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

外部装置やインターネットとの接続を確立し、通信を行う情報処理装置が知られている。このような情報処理装置は、状況に応じて通信先を変更する必要がある。 Information processing devices that establish a connection with an external device or the Internet and perform communication are known. Such an information processing device needs to change the communication destination according to the situation.

特許文献1では、所定のアプリケーションを起動した場合に、インターネットとの接続を切断して外部装置との接続の確立を行い、外部装置との通信が終了した場合には外部装置との接続を切断して、インターネットとの接続の確立を行う技術が提案されている。 In Patent Document 1, when a predetermined application is started, the connection with the Internet is disconnected to establish a connection with an external device, and when communication with the external device is terminated, the connection with the external device is disconnected. Then, a technique for establishing a connection with the Internet has been proposed.

特開2014−207650号公報Japanese Unexamined Patent Publication No. 2014-207650

しかしながら、情報処理装置は、接続の切断・確立によって通信先の切り替えを行うためには、接続設定内容の情報を保存したり、設定情報の登録を行うことを必要とする。そのため、特許文献1では、所定のアプリケーションの起動や外部装置との通信の終了の度に、上記処理を実行するための負荷が生じるという課題がある。 However, in order to switch the communication destination by disconnecting / establishing the connection, the information processing device needs to save the information of the connection setting contents and register the setting information. Therefore, Patent Document 1 has a problem that a load for executing the above processing is generated every time a predetermined application is started or communication with an external device is terminated.

本発明は、上述の課題に鑑みてなされたものであり、接続の切断・確立に係る処置の負荷を軽減して、通信先の切り替えを行うことを目的とする。 The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to reduce the load of measures related to disconnection / establishment of a connection and to switch communication destinations.

上述のような課題を解決するための本発明のプログラムは、情報処理装置において実行されるアプリケーションプログラムであって、
第1の通信方式による基地局との第1接続及び第2の通信方式による外部装置との第2接続を前記情報処理装置が並行して確立している状態においては、前記第1接続を用いた前記アプリケーションプログラムによる前記インターネットを介した第1通信が可能であり且つ前記第2接続を用いた前記アプリケーションプログラムによる第2通信が可能でない第1状態で、前記第1通信が可能でなく且つ前記第2通信が可能である第2状態より優先して前記情報処理装置を動作させるオペレーティングシステムを有する前記情報処理装置のコンピュータに、
前記第1状態で前記情報処理装置が動作している状態で、前記アプリケーションプログラムが起動することを特定する特定ステップと、
前記アプリケーションプログラムが起動することが特定されることに応じて、前記情報処理装置の状態を、前記第1状態から前記第2状態に切り替えるための処理を実行する切り替えステップと、
前記第2状態で前記情報処理装置が動作している状態で、前記インターネット上のコンテンツ以外のデータを、前記第2接続を用いた前記アプリケーションプログラムによる通信によって前記外部装置に送信する送信ステップと、
を実行させることを特徴とする。
The program of the present invention for solving the above-mentioned problems is an application program executed in an information processing apparatus.
When the information processing device establishes the first connection with the base station by the first communication method and the second connection with the external device by the second communication method in parallel, the first connection is used. in the first state is not possible second communication by the first communication are possible and the second connecting said application program using through the Internet by the application program had, and the not possible the first communication the computer of the information processing apparatus having an operating system for operating the information processing apparatus in preference to the second state can be a second communication,
A specific step for specifying that the application program is started while the information processing apparatus is operating in the first state, and
A switching step of executing a process for switching the state of the information processing apparatus from the first state to the second state in response to the identification that the application program is to be started, and
A transmission step of transmitting data other than the contents on the Internet to the external device by communication by the application program using the second connection while the information processing device is operating in the second state.
Is characterized by executing.

本発明によれば、接続の切断・確立に係る処置の負荷を軽減して、通信先の切り替えを行うことができる。 According to the present invention, it is possible to switch the communication destination by reducing the load of the procedure for disconnecting / establishing the connection.

本実施形態の情報処理装置の概略構成を示す図である。It is a figure which shows the schematic structure of the information processing apparatus of this embodiment. 本実施形態のアプリケーションが実行する処理を示すフローチャートである。It is a flowchart which shows the process which the application of this embodiment executes. 本実施形態のアプリケーションに実行させる機能をユーザに選択させるための画面の一例である。This is an example of a screen for allowing the user to select a function to be executed by the application of the present embodiment. 本実施形態の外部装置に印刷させる画像をユーザに選択させるための画面の一例である。This is an example of a screen for allowing the user to select an image to be printed by the external device of the present embodiment. 本実施形態の外部装置にユーザに選択させた画像を印刷させるための画面の一例である。This is an example of a screen for printing an image selected by the user on the external device of the present embodiment. 本実施形態の外部装置に印刷を実行させている場合に表示する画面の一例である。This is an example of a screen displayed when the external device of the present embodiment is executing printing. 本実施形態の通信システムを表す図である。It is a figure which shows the communication system of this embodiment. 本実施形態のアプリケーションが実行する処理を示すフローチャートである。It is a flowchart which shows the process which the application of this embodiment executes.

以下に図面を参照して、本発明の好適な実施形態を例示的に説明する。ただし、本発明については、その趣旨を逸脱しない範囲で、当業者の通常の知識に基づいて、以下に記載する実施形態に対して適宜変更、改良が加えられたものについても本発明の範囲に入ることが理解されるべきである。 Preferred embodiments of the present invention will be exemplified below with reference to the drawings. However, with respect to the present invention, within the scope of the present invention, those which have been appropriately modified or improved with respect to the embodiments described below based on the ordinary knowledge of those skilled in the art are also included in the scope of the present invention. It should be understood to enter.

(第1実施形態)
本発明を適用する情報処理装置について説明する。情報処理装置として、本実施形態ではスマートホンを例示している。なお、情報処理装置として適用できる装置はこれに限定されず、複数の通信回線による通信が可能な装置であれば良い。すなわち、情報処理装置は、例えば、携帯端末、ノートPC、タブレット端末、PDA(Personal Digital Assistant)、デジタルカメラ等であっても良い。また、外部装置として、本実施形態ではインクジェット記録方式の複合機(MFP)を例示している。なお、外部装置として適用できる装置はこれに限定されず、情報処理装置と通信を行うことが可能な装置であれば良い。すなわち、外部装置は、例えば、フルカラープリンタやモノクロプリンタ、複写機、ファクシミリ、スキャナ、携帯端末、ノートPC、タブレット端末、PDA、デジタルカメラ等であっても良い。さらに、外部装置は、MFPではなく、単機能の装置(SFP)であっても良い。また、外部装置がプリンタの機能を有しているならば、外部装置の記録方式はインクジェット方式に限定されず、例えば電子写真方式等、他の記録方式であっても良い。
(First Embodiment)
An information processing device to which the present invention is applied will be described. As an information processing device, a smart phone is exemplified in this embodiment. The device that can be applied as an information processing device is not limited to this, and any device that can communicate with a plurality of communication lines may be used. That is, the information processing device may be, for example, a mobile terminal, a notebook PC, a tablet terminal, a PDA (Personal Digital Assistant), a digital camera, or the like. Further, as an external device, the present embodiment illustrates an inkjet recording type multifunction device (MFP). The device that can be applied as an external device is not limited to this, and any device that can communicate with the information processing device may be used. That is, the external device may be, for example, a full-color printer, a monochrome printer, a copier, a facsimile, a scanner, a mobile terminal, a notebook PC, a tablet terminal, a PDA, a digital camera, or the like. Further, the external device may be a single-function device (SFP) instead of the MFP. Further, as long as the external device has a printer function, the recording method of the external device is not limited to the inkjet method, and may be another recording method such as an electrophotographic method.

図1は、本実施形態の情報処理装置であるスマートホン100の概略構成を示す図である。 FIG. 1 is a diagram showing a schematic configuration of a smart phone 100, which is an information processing device of the present embodiment.

図1(a)は、スマートホン100のハードウェア構成を示している。スマートホン100は、CPU101、操作部102、ネットワークIF103、ネットワークIF104、メモリ105、表示部106、記憶装置107を備え、それぞれがシステムバスを介して接続されている。 FIG. 1A shows the hardware configuration of the smart phone 100. The smart phone 100 includes a CPU 101, an operation unit 102, a network IF 103, a network IF 104, a memory 105, a display unit 106, and a storage device 107, each of which is connected via a system bus.

CPU101は、システム制御部であり、スマートホン100の全体を制御するプロセッサーである。 The CPU 101 is a system control unit and is a processor that controls the entire smart phone 100.

操作部102は、スマートホン100にユーザが指示を与えるための操作部であり、例えば、ボタンやタッチパネル等で構成される。 The operation unit 102 is an operation unit for the user to give an instruction to the smart phone 100, and is composed of, for example, a button, a touch panel, or the like.

メモリ105は、CPU101の作業領域としてのランダムアクセスメモリ(RAM)であり、SRAM(static RAM)等のメモリで構成される。メモリ105は、プログラム制御変数、各種設定データ、スマートホン100の管理データ等を記憶したり、種々の受信データの一時格納領域として用いられたりする。 The memory 105 is a random access memory (RAM) as a work area of the CPU 101, and is composed of a memory such as a SRAM (static RAM). The memory 105 stores program control variables, various setting data, management data of the smartphone 100, and the like, and is used as a temporary storage area for various received data.

表示部106は、LED(発光ダイオード)やLCD(液晶ディスプレイ)などから構成され、CPU101からの指示に基づいた所定の画面を表示する。 The display unit 106 is composed of an LED (light emitting diode), an LCD (liquid crystal display), or the like, and displays a predetermined screen based on an instruction from the CPU 101.

記憶装置107は、例えば、フラッシュメモリ等で構成され、CPU101が実行する制御プログラムやアプリケーションプログラム、オペレーティングシステム(OS)等の各種プログラムを格納する。本実施形態では、記憶装置107に格納されている制御プログラムは、記憶装置107に格納されている組込OSの管理下で、スケジューリングやタスクスイッチ等のソフトウェア制御を行う。 The storage device 107 is composed of, for example, a flash memory or the like, and stores various programs such as a control program, an application program, and an operating system (OS) executed by the CPU 101. In the present embodiment, the control program stored in the storage device 107 performs software control such as scheduling and task switching under the control of the embedded OS stored in the storage device 107.

ネットワークIF103及び104は、スマートホン100がそれぞれ異なる通信回線によって通信を行うためのインターフェイス(IF)である。本実施形態において、ネットワークIF103は、スマートホン100が3Gや4G等の移動体通信回線によってインターネットに接続して通信を行うためのIFである。スマートホン100は、例えば、APN(接続先)やパスワードの入力等の設定をすることで、移動体通信回線によるインターネットとの接続を確立する。また、ネットワークIF104は、Wi−Fi(登録商標)等の無線LANの通信回線によって、外部装置に接続して通信を行うためのIFである。スマートホン100は、例えば、外部装置に対応するアクセスポイントを検出し、パスワードの入力等の接続設定を行うことで、無線LANの通信回線による外部装置との接続を確立する。なお、本実施形態において、スマートホン100が備えるネットワークIFの数は2つに限定されるものではない。スマートホン100は、少なくとも、インターネットと接続可能な通信回線で通信可能なIF及び外部装置と接続可能な通信回線で通信可能なIFを備えていれば良い。また、1つのIFによって、インターネットと接続可能な通信回線による通信及び外部装置と接続可能な通信回線による通信が実現可能であれば、IFの数は1つであっても良い。また、それぞれのIFにおいて利用される通信回線は上述のものに限定されず、例えば、Bluetooth(登録商標)等による他の通信回線であっても良いし、無線通信方式でなく有線通信方式による通信回線であっても良い。また、スマートホン100は、それぞれのIFを利用して直接インターネットや外部装置と接続せずとも良く、例えばルーター等の装置を介して接続しても良い。 The networks IF 103 and 104 are interfaces (IF) for the smart device 100 to communicate with different communication lines. In the present embodiment, the network IF 103 is an IF for the smart phone 100 to connect to the Internet via a mobile communication line such as 3G or 4G for communication. The smart phone 100 establishes a connection with the Internet via a mobile communication line by setting, for example, APN (access point name) and password input. Further, the network IF 104 is an IF for connecting to an external device and performing communication by a wireless LAN communication line such as Wi-Fi (registered trademark). For example, the smart phone 100 detects an access point corresponding to an external device and sets a connection such as inputting a password to establish a connection with the external device via a wireless LAN communication line. In the present embodiment, the number of network IFs included in the smart phone 100 is not limited to two. The smart phone 100 may include at least an IF capable of communicating on a communication line connectable to the Internet and an IF capable of communicating on a communication line connectable to an external device. Further, the number of IFs may be one as long as communication by a communication line connectable to the Internet and communication by a communication line connectable to an external device can be realized by one IF. Further, the communication line used in each IF is not limited to the above, and may be another communication line such as Bluetooth (registered trademark), or communication by a wired communication method instead of a wireless communication method. It may be a line. Further, the smart phone 100 does not have to be directly connected to the Internet or an external device by using each IF, and may be connected via a device such as a router, for example.

図1(b)は、スマートホン100のソフトウェア構成を示した図である。スマートホン100は、OS108、アプリケーション109を備える。OS108は、スマートホン100全体を制御するためのプログラムである。本実施形態において、OS108は、マルチネットワーク機能(複数の通信回線による接続を並行して確立する機能)に対応している。そして、OS108は、スマートホン100が複数の通信回線による接続を並行して確立している場合、予めプログラムされている優先度に従って、スマートホン100に利用させる通信回線を決定する。なお、本実施形態において、OS108は、接続が確立している通信回線がインターネットに接続しているか否かを判定する機能を有している。そして、OS108は、スマートホン100が複数の通信回線による接続を並行して確立している場合は、インターネットに接続している通信回線を優先してスマートホン100に利用させる。本実施形態においては、移動体通信回線がインターネットに接続して通信するための通信回線である。そのため、OS108は、移動体通信回線及び無線LANの通信回線それぞれの接続が並行して確立している場合は、スマートホン100に移動体通信回線を優先して利用させる。また、OS108は、アプリケーション109からの指示を受けて、それぞれの通信回線における接続の確立・解除や接続先の装置の切り替え、スマートホン100に利用させる通信回線の設定等を行うことができる。 FIG. 1B is a diagram showing a software configuration of the smart phone 100. The smart phone 100 includes an OS 108 and an application 109. OS108 is a program for controlling the entire smart phone 100. In this embodiment, the OS 108 supports a multi-network function (a function of establishing a connection by a plurality of communication lines in parallel). Then, when the smart phone 100 establishes a connection by a plurality of communication lines in parallel, the OS 108 determines the communication line to be used by the smart phone 100 according to the priority programmed in advance. In the present embodiment, the OS 108 has a function of determining whether or not the communication line with which the connection has been established is connected to the Internet. Then, when the smart phone 100 establishes a connection by a plurality of communication lines in parallel, the OS 108 gives priority to the communication line connected to the Internet and causes the smart phone 100 to use it. In the present embodiment, the mobile communication line is a communication line for connecting to and communicating with the Internet. Therefore, when the connections of the mobile communication line and the wireless LAN communication line are established in parallel, the OS 108 causes the smart phone 100 to preferentially use the mobile communication line. Further, the OS 108 can receive an instruction from the application 109 to establish / cancel a connection in each communication line, switch a connection destination device, set a communication line to be used by the smartphone 100, and the like.

アプリケーション109は、スマートホン100に各種機能を実行させるためのアプリケーションプログラムである。本実施形態においては、アプリケーション109は、プリンタ等の外部装置とスマートホン100との間の通信を制御し、スマートホン100が記憶している画像データをプリンタ等の外部装置に印刷させる機能を備える。なお、アプリケーション109は、例えば、インターネット等を介してスマートホン100にインストールされる。 The application 109 is an application program for causing the smartphone 100 to execute various functions. In the present embodiment, the application 109 has a function of controlling communication between an external device such as a printer and the smart phone 100, and printing image data stored in the smart phone 100 on an external device such as a printer. .. The application 109 is installed on the smartphone 100 via, for example, the Internet.

上述のソフトウェアは、記憶装置107等のメモリに格納されており、メモリ105に展開されてCPU101によって実行される。そのため、本実施形態の説明において、OS108又はアプリケーション109が実行する処理は、実際には、CPU101が、OS108又はアプリケーション109に対応するプログラムを実行することで実現されるものである。 The above-mentioned software is stored in a memory such as a storage device 107, is expanded in the memory 105, and is executed by the CPU 101. Therefore, in the description of the present embodiment, the process executed by the OS 108 or the application 109 is actually realized by the CPU 101 executing the program corresponding to the OS 108 or the application 109.

図3〜図7は、アプリケーション109によって表示部106に表示される表示画面の一例を示す図である。 3 to 7 are diagrams showing an example of a display screen displayed on the display unit 106 by the application 109.

図3は、アプリケーション109に実行させる機能をユーザに選択させるための画面の一例である。表示部106は、図3の画面の表示において、アプリケーション109が実行可能な機能に対応する複数のオブジェクトを表示する。例えば、「写真印刷」や「文書印刷」のオブジェクトは、外部装置に印刷処理を実行させるためのオブジェクトであり、「スキャン」のオブジェクトは、外部装置にスキャン処理を実行させるためのオブジェクトである。 FIG. 3 is an example of a screen for allowing the user to select a function to be executed by the application 109. The display unit 106 displays a plurality of objects corresponding to the functions that can be executed by the application 109 in the screen display of FIG. For example, the "photo print" and "document print" objects are objects for causing an external device to execute a print process, and the "scan" object is an object for causing an external device to execute a scan process.

また、「クラウド」のオブジェクトは、スマートホン100が、クラウド上のサーバからコンテンツを取得し、その取得されたコンテンツを外部装置に送信することで外部装置にインターネット上のコンテンツを印刷させるためのオブジェクトである。また、「外部装置名」の部分には、スマートホン100が接続している外部装置の名前が表示される。 The "cloud" object is an object for the smartphone 100 to acquire content from a server on the cloud and transmit the acquired content to an external device so that the external device prints the content on the Internet. Is. Further, in the "external device name" part, the name of the external device to which the smart phone 100 is connected is displayed.

なお、図3の画面の表示において、アプリケーション109は上述の機能以外に他の機能に対応するオブジェクトを表示しても良い。例えば、外部装置やスマートホン100の種々の設定を行う機能、外部装置の状態を確認するための機能、外部装置に搭載されているWebUIを使用する機能に対応するオブジェクトを表示しても良い。 In addition, in the display of the screen of FIG. 3, the application 109 may display an object corresponding to another function other than the above-mentioned function. For example, an object corresponding to a function of making various settings of the external device or the smartphone 100, a function of checking the state of the external device, and a function of using the WebUI mounted on the external device may be displayed.

図4は、外部装置に印刷させる画像をユーザに選択させるための画面の一例である。図4に示す画面は、例えば、図3の画面における「写真印刷」や「クラウド」のオブジェクトがユーザに選択された場合に表示される。これらの画像は、スマートホン100内にローカルに保存されている画像でも良いし、インターネットを介して取得される画像であっても良い。ユーザは、表示された画像をタップすることで、印刷する画像データを選択することができる。 FIG. 4 is an example of a screen for allowing the user to select an image to be printed by an external device. The screen shown in FIG. 4 is displayed, for example, when the "photo print" or "cloud" object in the screen of FIG. 3 is selected by the user. These images may be images stored locally in the smartphone 100 or may be images acquired via the Internet. The user can select the image data to be printed by tapping the displayed image.

図5は、ユーザに選択させた画像を外部装置に印刷させるための画面の一例である。表示部106は、図5の画面の表示において、外部装置に印刷させる画像データに対応した複数のオブジェクトと、外部装置に印刷を実行させることを決定するためのオブジェクト(図中の「プリント」ボタン)を表示する。ユーザは、「プリント」ボタンをタップすることで、選択した画像データを外部装置に印刷させることができる。 FIG. 5 is an example of a screen for printing an image selected by the user on an external device. In the display of the screen of FIG. 5, the display unit 106 includes a plurality of objects corresponding to the image data to be printed by the external device, and an object for deciding to have the external device perform printing (“print” button in the figure). ) Is displayed. The user can have the external device print the selected image data by tapping the "print" button.

図6は、外部装置に印刷を実行させている場合に表示する画面の一例である。表示部106は、図6の画面の表示において、外部装置に実行させている印刷の設定情報やステータス状態等を表示する。 FIG. 6 is an example of a screen displayed when an external device is made to execute printing. The display unit 106 displays the print setting information, the status status, and the like executed by the external device in the display of the screen of FIG.

図7は、本実施形態の通信システムを表す図である。MFP700は、本実施形態の外部装置であり、スマートホン100と通信する機能やスマートホン100から受信する画像データを印刷する機能等を備えている。図7に示すように、スマートホン100は、通信回線704を利用して、基地局701を介したインターネット702との接続を確立することができる。なお、通信回線704は、本実施形態では、3Gや4G等の移動体通信回線に該当する。また、同時にスマートホン100は、通信回線705を利用して、MFP700との接続を確立することができる。なお、通信回線705は、本実施形態では、Wi−Fi(登録商標)等の無線LANの通信回線に該当する。 FIG. 7 is a diagram showing the communication system of the present embodiment. The MFP 700 is an external device of the present embodiment, and has a function of communicating with the smart phone 100, a function of printing image data received from the smart phone 100, and the like. As shown in FIG. 7, the smart phone 100 can establish a connection with the Internet 702 via the base station 701 by using the communication line 704. In this embodiment, the communication line 704 corresponds to a mobile communication line such as 3G or 4G. At the same time, the smart phone 100 can establish a connection with the MFP 700 by using the communication line 705. In this embodiment, the communication line 705 corresponds to a wireless LAN communication line such as Wi-Fi (registered trademark).

2つの以上の通信回線によって接続を並行して確立している状態では、スマートホン100は、接続が確立している通信回線のうちOS108によって指示された通信回線によって通信が可能な状態となっている。なお、本実施形態においては、上述したように、OS108は、通信回線704及び通信回線705による接続が並行して確立されている場合は、スマートホン100に、通信回線704を優先して利用させる。なお、本実施形態では、スマートホン100は、通信回線705によるMFP700との接続において、ルーターや基地局等の外部アクセスポイントを介さずにダイレクトにMFP700に接続しているが、外部アクセスポイントを介して接続しても良い。なおこのとき、外部アクセスポイントがインターネット702と接続しているならば、通信回線705によって通信を行う状態であってもスマートホン100はインターネット702と接続することができる。そのため、その状態においては、アプリケーション109は、以下に説明する処理を行わなくても良い。 In the state where the connection is established in parallel by two or more communication lines, the smart phone 100 is in a state where communication is possible by the communication line instructed by OS108 among the communication lines for which the connection is established. There is. In the present embodiment, as described above, when the connection by the communication line 704 and the communication line 705 is established in parallel, the OS 108 causes the smart phone 100 to preferentially use the communication line 704. .. In the present embodiment, the smart phone 100 is directly connected to the MFP 700 by the communication line 705 without going through an external access point such as a router or a base station, but is connected to the MFP 700 via an external access point. You may connect with. At this time, if the external access point is connected to the Internet 702, the smart phone 100 can be connected to the Internet 702 even when the communication line 705 is used for communication. Therefore, in that state, the application 109 does not have to perform the process described below.

図2は、本実施形態においてアプリケーション109が実行する、スマートホン100に利用させる通信回線(以下、利用回線)を切り替える処理を示すフローチャートである。なお、該フローチャートの示す処理は、CPU101が、記憶装置107又はスマートホン100の備えるHDD(不図示)等に格納されている制御プログラムをメモリ105にロードし、その制御プログラムを実行することにより実現されるものとする。また、該フローチャートの示す処理は、公知の起動シーケンスによってアプリケーション109が起動したときに開始されるものとする。 FIG. 2 is a flowchart showing a process executed by the application 109 in the present embodiment to switch the communication line (hereinafter referred to as the line used) to be used by the smart phone 100. The process shown in the flowchart is realized by the CPU 101 loading the control program stored in the storage device 107 or the HDD (not shown) included in the smartphone 100 into the memory 105 and executing the control program. It shall be done. Further, it is assumed that the process shown in the flowchart is started when the application 109 is started by a known start sequence.

まず、アプリケーション109は、MFP700に送信する画像データを特定するための表示画面を表示部106に表示する(S201)。ここでは、アプリケーション109は、図4に示す表示画面を表示するものとする。なお、図4に示す表示画面を表示するタイミングは、アプリケーション109が起動したタイミングでも良いし、アプリケーション109が動作している状態でユーザの操作によって図4に示す表示画面が呼び出されたタイミングでも良い。なお、本実施形態では特定されるデータとして画像データを例としているが、画像データに限らず、文書データや、MFP700に所定の処理を実行させるためのコマンド等であっても良い。また、印刷機能以外の機能を備える装置に対して送信されるデータが特定される場合は、その装置が処理可能なものであればどのようなデータでも良い。なお、特定されるデータはスマートホン100自体に保存されている必要はなく、例えば、スマートホン100がインターネット702を介して通信可能なクラウドサーバ703等に保存されていても良い。しかしその場合、スマートホン100は、クラウドサーバ703からデータを取得するために、インターネット702と接続可能な通信回線を利用している必要がある。また、スマートホン100は、アプリケーション109やMFP700に関するオンラインマニュアルを表示する場合やクラウドサーバ703を介して画像データをレンダリングする場合にもインターネット702と接続可能な通信回線を利用している必要がある。そのため、本実施形態では、アプリケーション109は、通信回線704を利用回線とするように、OS108に指示する(S202)。このとき具体的には、CPU101は、アプリケーション109のプログラムを実行することで得られた値を用いて、OS108の、利用回線の決定に関するプログラムを実行する。 First, the application 109 displays a display screen for specifying the image data to be transmitted to the MFP 700 on the display unit 106 (S201). Here, the application 109 shall display the display screen shown in FIG. The timing of displaying the display screen shown in FIG. 4 may be the timing when the application 109 is started, or the timing when the display screen shown in FIG. 4 is called by the user's operation while the application 109 is operating. .. In the present embodiment, image data is taken as an example of the data to be specified, but the data is not limited to the image data, and may be document data, a command for causing the MFP 700 to execute a predetermined process, or the like. Further, when the data to be transmitted to the device having a function other than the printing function is specified, any data may be used as long as the device can process the data. The specified data does not have to be stored in the smart phone 100 itself, and may be stored in, for example, a cloud server 703 or the like that allows the smart phone 100 to communicate via the Internet 702. However, in that case, the smart phone 100 needs to use a communication line that can connect to the Internet 702 in order to acquire data from the cloud server 703. Further, the smart phone 100 needs to use a communication line that can be connected to the Internet 702 even when displaying an online manual related to the application 109 or the MFP 700 or when rendering image data via the cloud server 703. Therefore, in the present embodiment, the application 109 instructs the OS 108 to use the communication line 704 as the used line (S202). At this time, specifically, the CPU 101 executes the program related to the determination of the line to be used in the OS 108 by using the value obtained by executing the program of the application 109.

OS108は、指示を受け付けると利用回線を通信回線704に切り替えて、スマートホン100を、通信回線704を利用して通信を行う状態にする。このような形態とすることで、アプリケーション109は、MFP700と通信を行う必要のないタイミングでは、スマートホン100にインターネット702上の情報を利用させることができる。なお、アプリケーション109は、OS108がすでに利用回線を通信回線704としている場合には、S202の処理を実行しなくても良い。 When the OS 108 receives the instruction, the line used is switched to the communication line 704, and the smart phone 100 is put into a state of performing communication using the communication line 704. With such a form, the application 109 can make the smart phone 100 use the information on the Internet 702 at the timing when it is not necessary to communicate with the MFP 700. If the OS 108 already uses the communication line 704, the application 109 does not have to execute the process of S202.

次に、アプリケーション109は、MFP700に印刷させる画像データを特定する(S203)。このとき具体的には、アプリケーション109は、図4の表示画面を介して、画像データの選択をユーザから受け付けることで、MFP700に送信する画像データを特定する。なお、特定される画像データは1つでなくとも良く、例えば、ユーザから複数の画像データの選択を受け付けた場合は、複数の画像データを特定しても良い。また、アプリケーション109は、クラウドサーバ703等、スマートホン100外部に格納されている画像データを特定した場合は、インターネット702との通信等を介して特定した画像データを取得する。 Next, the application 109 specifies the image data to be printed by the MFP 700 (S203). At this time, specifically, the application 109 specifies the image data to be transmitted to the MFP 700 by accepting the selection of the image data from the user via the display screen of FIG. The image data to be specified does not have to be one. For example, when the user accepts the selection of a plurality of image data, the plurality of image data may be specified. Further, when the application 109 specifies the image data stored outside the smart phone 100 such as the cloud server 703, the application 109 acquires the specified image data via communication with the Internet 702 or the like.

その後、アプリケーション109は、データの送信指示を受け付けて、S203にて特定した画像データをMFP700に印刷を実行させることを決定する(S204)。このとき具体的には、アプリケーション109は、図5の表示画面を介して、MFP700に印刷を実行させるためのオブジェクトへの操作をユーザから受け付けた場合に、MFP700に印刷を実行させることを決定する。なお、この形態に限定されず、アプリケーション109は、例えば、スマートホン100がMFP700を中心とした所定の範囲内に移動された場合にMFP700に印刷を実行させることを決定しても良い。なお、アプリケーション109が、MFP700に印刷を実行させるためには、スマートホン100からMFP700に画像データが送信される必要がある。そのため、アプリケーション109は、通信回線705によるスマートホン100とMFP700との接続が確立されているか否かを判定する(S205)。接続が確立されていないと判定された場合は、アプリケーション109は、通信回線705によるスマートホン100とMFP700との接続を確立するようにユーザに促す画面を表示する(S206)。このようにすることで、スマートホン100は、MFP700のSSIDの検出、パスワードの入力等のための操作をユーザから受け付けて接続設定情報を取得することができ、MFP700との接続を確立することができる。なお、アプリケーション109は、接続を確立するようにユーザを促す画面を表示した後は、MFP700に印刷を実行させるためのオブジェクトへの操作をユーザから再度受け付けて、再度S204の処理を再度実行する。また、例えば、スマートホン100は、以前にユーザからの操作を受け付けていたことにより、接続設定情報をメモリ105等に保存している場合がある。この場合は、アプリケーション109は、保存されていた接続設定情報を利用して通信回線705によるMFP700との接続を確立するようにOS108に指示することで、S206の処理を実行せずにS207の処理を実行しても良い。 After that, the application 109 receives the data transmission instruction and decides to have the MFP 700 print the image data specified in S203 (S204). At this time, specifically, the application 109 determines to cause the MFP 700 to execute printing when the user receives an operation on the object for causing the MFP 700 to execute printing via the display screen of FIG. .. The application 109 may decide not to be limited to this form, for example, to cause the MFP 700 to perform printing when the smart phone 100 is moved within a predetermined range centered on the MFP 700. In order for the application 109 to cause the MFP 700 to perform printing, it is necessary to transmit image data from the smartphone 100 to the MFP 700. Therefore, the application 109 determines whether or not the connection between the smart device 100 and the MFP 700 via the communication line 705 is established (S205). If it is determined that the connection has not been established, the application 109 displays a screen prompting the user to establish a connection between the smart device 100 and the MFP 700 via the communication line 705 (S206). By doing so, the smart phone 100 can receive operations for detecting the SSID of the MFP 700, inputting the password, etc. from the user and acquire the connection setting information, and can establish the connection with the MFP 700. it can. After displaying the screen prompting the user to establish the connection, the application 109 accepts the operation on the object for causing the MFP 700 to execute printing again from the user, and executes the process of S204 again. Further, for example, the smart phone 100 may store the connection setting information in the memory 105 or the like because it has previously received an operation from the user. In this case, the application 109 instructs the OS 108 to establish the connection with the MFP 700 by the communication line 705 by using the saved connection setting information, so that the processing of S207 is performed without executing the processing of S206. May be executed.

S205にて、通信回線705によるスマートホン100とMFP700との接続が確立されていると判定された場合は、スマートホン100は、通信回線704及び通信回線705による接続を並行して確立している。しかしながらこのとき、前述したように、OS108からの指示によって通信回線704を利用する状態となっている。通信回線704はMFP700と通信可能な通信回線ではないため、スマートホン100は、この状態では画像データをMFP700に送信することができない。そこで、本実施形態では、アプリケーション109は、通信回線705を利用回線とするように、OS108に指示する(S207)。OS108は指示を受け付けると、利用回線を通信回線705に切り替えて、スマートホン100を、通信回線705を利用して通信を行う状態にする。このとき、通信回線704による接続は切断されず継続されるため、スマートホン100は、送信する画像データを再度特定する場合等、再度利用回線として通信回線704を用いる場合にも接続を確立するための処理を行う必要が無い。その後、アプリケーション109は、スマートホン100に、S203にて特定した画像データをMFP700に対して送信させることで、MFP700に印刷を実行させる(S208)。なお、このとき、アプリケーション109は、画像データだけでなく、例えば印刷設定情報等の他の情報もスマートホン100に送信させても良い。 When it is determined in S205 that the connection between the smart device 100 and the MFP 700 is established by the communication line 705, the smart phone 100 establishes the connection by the communication line 704 and the communication line 705 in parallel. .. However, at this time, as described above, the communication line 704 is used according to the instruction from the OS 108. Since the communication line 704 is not a communication line capable of communicating with the MFP 700, the smart phone 100 cannot transmit image data to the MFP 700 in this state. Therefore, in the present embodiment, the application 109 instructs the OS 108 to use the communication line 705 as the used line (S207). When the OS 108 receives the instruction, the line used is switched to the communication line 705, and the smart phone 100 is put into a state of performing communication using the communication line 705. At this time, since the connection by the communication line 704 is not disconnected and continues, the smart phone 100 establishes the connection even when the communication line 704 is used again as the line to be used, such as when the image data to be transmitted is specified again. There is no need to perform the processing of. After that, the application 109 causes the smart phone 100 to transmit the image data specified in S203 to the MFP 700, thereby causing the MFP 700 to perform printing (S208). At this time, the application 109 may transmit not only the image data but also other information such as print setting information to the smart phone 100.

その後、アプリケーション109は、利用回線を切り替えるか否かを判定する(S209)。このとき具体的には、アプリケーション109は、MFP700からジョブの処理のステータスに関する情報を取得し、MFP700によって印刷が終了したか否かを判定する。アプリケーション109は、印刷が終了していないと判定した場合、利用回線を切り替えないと判定し、印刷が終了したと判定した場合、利用回線を切り替えると判定する。これは、スマートホン100は、経過状態やエラーの有無等の印刷の状態の情報を取得するためには、MFP700との通信が可能な状態を維持する必要があるからである。なお、S209では、アプリケーション109は、画像データの送信が終了したか否かを判定しても良い。その場合、アプリケーション109は、画像データの送信が終了していないと判定した場合、利用回線を切り替えないと判定し、画像データの送信が終了したと判定した場合、利用回線を切り替えると判定する。また、アプリケーション109は、画像データの送信が終了したり、MFP700によって印刷が終了しても、引き続きMFP700との通信が必要な場合は、利用回線を切り替えないと判定しても良い。引き続きMFP700との通信が必要な場合は、例えば、引き続きMFP700のステータス情報を取得する必要がある場合や、スマートホン100内の画像データ(取得にインターネット702が必要ない画像データ)の転送が引き続き行われる場合が該当する。 After that, the application 109 determines whether or not to switch the line to be used (S209). At this time, specifically, the application 109 acquires information on the status of job processing from the MFP 700, and determines whether or not printing is completed by the MFP 700. When the application 109 determines that printing has not been completed, it determines that the used line is not switched, and when it determines that printing is completed, it determines that the used line is switched. This is because the smart phone 100 needs to maintain a state in which communication with the MFP 700 is possible in order to acquire information on the printing state such as the progress state and the presence / absence of an error. In S209, the application 109 may determine whether or not the transmission of the image data has been completed. In that case, the application 109 determines that the used line is not switched when it is determined that the transmission of the image data is not completed, and determines that the used line is switched when it is determined that the transmission of the image data is completed. Further, the application 109 may determine that the line to be used is not switched if communication with the MFP 700 is still required even if the transmission of the image data is completed or the printing is completed by the MFP 700. If communication with the MFP700 is required continuously, for example, if it is necessary to continuously acquire the status information of the MFP700, or if the image data in the smartphone 100 (image data that does not require the Internet 702 for acquisition) is continuously transferred. This is the case.

アプリケーション109は、S209にて利用回線を切り替えないと判定した場合、利用回線を切り替えると判定するまでS209の処理を繰り返す。一方、アプリケーション109は、利用回線を切り替えると判定した場合、通信回線704を利用回線とするように、OS108に指示する(S210)。OS108は、指示を受け付けると、利用回線を切り替えて、スマートホン100を、通信回線704を利用して通信を行う状態にする。このとき、スマートホン100は、S207にて通信回線704との接続が切断されずに利用回線が切り替えてられていたため、S210において接続を確立するための処理を行う必要が無い。また、このとき、通信回線705による接続は切断されず継続されるため、スマートホン100は、再度ジョブの送信を行う場合等、利用回線を再度通信回線705にする場合にも接続を確立するための処理を行う必要が無い。その後アプリケーション109は、アプリケーションの動作が終了するまで以上に説明した処理を繰り返す。 When the application 109 determines in S209 that the used line is not switched, the application 109 repeats the process of S209 until it determines that the used line is switched. On the other hand, when the application 109 determines that the line to be used is switched, the application 109 instructs the OS 108 to use the communication line 704 as the line to be used (S210). When the OS 108 receives the instruction, it switches the line to be used and puts the smart phone 100 in a state of communicating using the communication line 704. At this time, since the used line of the smart phone 100 is switched without disconnecting the communication line 704 in S207, it is not necessary to perform the process for establishing the connection in S210. Further, at this time, since the connection by the communication line 705 is not disconnected and is continued, the smart phone 100 establishes the connection even when the used line is changed to the communication line 705 again, such as when the job is transmitted again. There is no need to perform the processing of. After that, the application 109 repeats the process described above until the operation of the application is completed.

以上のように、本実施形態においては、スマートホン100は、インターネット通信が必要な場面及びMFP700との通信が必要な場面それぞれの場面に適した通信回線を利用するように、利用回線を切り替える。この構成により、スマートホン100は、状況に応じた適切な通信回線を利用することができる。 As described above, in the present embodiment, the smart phone 100 switches the line to be used so as to use a communication line suitable for each of the situations where Internet communication is required and the situations where communication with the MFP 700 is required. With this configuration, the smart phone 100 can use an appropriate communication line according to the situation.

さらに、本実施形態においては、スマートホン100は、MFP700に対してデータを送信する必要が生じた場合、確立している接続を切断することなく、利用する通信回線を切り替える。そのため、スマートホン100は、利用する通信回線の切り替え毎に、接続設定情報の保存や再設定等の処理を行う必要が無く、接続の確立及び切断によって通信先を切り替える構成と比較して、通信先の切り替えに係る時間を少なくすることができる。 Further, in the present embodiment, when it becomes necessary for the smart phone 100 to transmit data to the MFP 700, the smart phone 100 switches the communication line to be used without disconnecting the established connection. Therefore, the smart phone 100 does not need to perform processing such as saving or resetting the connection setting information every time the communication line to be used is switched, and communicates as compared with a configuration in which the communication destination is switched by establishing or disconnecting the connection. The time required for the previous switching can be reduced.

また、確立している接続を切断することなく、利用する通信回線を切り替える方法としては、例えば、スマートホン100のモバイルデータ通信設定の有効と無効を切り替える方法が挙げられる。しかしながら、この方法は、スマートホン100が、OSによって提供されるモバイルデータ通信設定の有効と無効を切り替える画面を表示して、当該画面を介したユーザによる入力を受けつける必要がある。本実施形態では、利用する通信回線を切り替えるべき状況において、アプリケーション109が、OS108に指示することで利用回線の切り替えを自動で行う。そのため、本実施形態は、モバイルデータ通信設定をユーザに行わせることなく(モバイルデータ通信設定の有効と無効を切り替える画面を表示することなく)、スマートホン100が利用する通信回線を切り替えることができる。 Further, as a method of switching the communication line to be used without disconnecting the established connection, for example, a method of switching between valid and invalid of the mobile data communication setting of the smartphone 100 can be mentioned. However, in this method, the smart phone 100 needs to display a screen for switching the enable / disable of the mobile data communication setting provided by the OS and accept the input by the user via the screen. In the present embodiment, in a situation where the communication line to be used should be switched, the application 109 automatically switches the line to be used by instructing the OS 108. Therefore, in the present embodiment, the communication line used by the smart phone 100 can be switched without causing the user to set the mobile data communication setting (without displaying the screen for switching between enabling and disabling the mobile data communication setting). ..

(第2実施形態)
上述の実施形態では、スマートホン100が、通信回線704及び通信回線705による接続を並行して確立し、状況に応じて利用回線を切り替える構成を説明した。しかしながら、スマートホン100は、例えば、インストールされているOSの種別によっては、マルチネットワーク機能に対応しておらず、通信回線704及び通信回線705による接続を並行して確立できない場合がある。そこで、本実施形態では、OSの種別を考慮して処理を切り替える構成について説明する。なお、本実施形態の基本的な構成は第1実施形態と同様であるため、以下では特徴的な構成についてのみ説明する。
(Second Embodiment)
In the above-described embodiment, the configuration in which the smart phone 100 establishes the connection by the communication line 704 and the communication line 705 in parallel and switches the used line according to the situation has been described. However, depending on the type of OS installed, for example, the smart phone 100 does not support the multi-network function, and may not be able to establish a connection by the communication line 704 and the communication line 705 in parallel. Therefore, in the present embodiment, a configuration for switching the processing in consideration of the type of OS will be described. Since the basic configuration of this embodiment is the same as that of the first embodiment, only the characteristic configuration will be described below.

図8は、本実施形態においてアプリケーション109が実行する処理を示すフローチャートである。なお、該フローチャートの示す処理は、CPU101が、記憶装置107又はスマートホン100の備えるHDD(不図示)等に格納されている制御プログラムをメモリ105にロードし、その制御プログラムを実行することにより実現されるものとする。また、該フローチャートの示す処理は、公知の起動シーケンスによってアプリケーション109が起動したときに開始されるものとする。 FIG. 8 is a flowchart showing a process executed by the application 109 in the present embodiment. The process shown in the flowchart is realized by the CPU 101 loading the control program stored in the storage device 107 or the HDD (not shown) included in the smartphone 100 into the memory 105 and executing the control program. It shall be done. Further, it is assumed that the process shown in the flowchart is started when the application 109 is started by a known start sequence.

S801〜S810に示す処理は、S201〜S210に示す処理と同様であるため、説明を省略する。 Since the processes shown in S801 to S810 are the same as the processes shown in S201 to S210, the description thereof will be omitted.

まず、アプリケーション109は、S811にて、OS108が、スマートホン100にマルチネットワーク機能に対応しているOSか否かを判定する。具体的には、このとき、アプリケーション109は、いずれのバージョンがマルチネットワーク機能に対応しているバージョンか否かを認識しており、OS108のバージョンがいずれのバージョンであるかを特定する。マルチネットワーク機能に対応していると判定された場合、アプリケーション109は、S801〜S810に示す処理を実行する。マルチネットワーク機能に対応していないと判定された場合、アプリケーション109は、S812〜S817に示す処理を実行する。 First, the application 109 determines in S811 whether or not the OS 108 is an OS that supports the multi-network function of the smart phone 100. Specifically, at this time, the application 109 recognizes which version corresponds to the multi-network function, and specifies which version the OS 108 version is. When it is determined that the multi-network function is supported, the application 109 executes the processes shown in S801 to S810. If it is determined that the multi-network function is not supported, the application 109 executes the process shown in S812 to S817.

まず、S812では、アプリケーション109は、S201と同様にしてMFP700に送信する画像データを特定するための表示画面を表示部106に表示する。このとき、通信回線704による接続が確立していれば、アプリケーション109は、インターネット上のコンテンツを表示することができる。その後、アプリケーション109は、スマートホン100がマルチネットワーク機能を実行できないため、S802のような処理は行わずに、MFP700に印刷させる画像データを特定する(S813)。その後、アプリケーション109は、S804の処理と同様にして、特定した画像データをMFP700に印刷を実行させることを決定する(S814)。 First, in S812, the application 109 displays a display screen for specifying the image data to be transmitted to the MFP 700 on the display unit 106 in the same manner as in S201. At this time, if the connection by the communication line 704 is established, the application 109 can display the content on the Internet. After that, since the smart phone 100 cannot execute the multi-network function, the application 109 specifies the image data to be printed by the MFP 700 without performing the process as in S802 (S813). After that, the application 109 determines to have the MFP 700 print the specified image data in the same manner as the process of S804 (S814).

その後、アプリケーション109は、S805の処理と同様にして、通信回線705によるスマートホン100とMFP700との接続が確立されているか否かを判定する(S815)。接続が確立されていないと判定された場合は、アプリケーション109は、S806の処理と同様にして、通信回線705によるスマートホン100とMFP700との接続を確立するようにユーザを促す画面を表示する(S816)。このようにすることで、スマートホン100は、MFP700のSSIDの検出、パスワードの入力等のための操作をユーザから受け付けて接続設定情報を取得することができ、通信回線705によるMFP700との接続を確立することができる。なお、このとき、スマートホン100は、マルチネットワーク機能を実行できないため、通信回線704による接続を切断する。また、アプリケーション109は、接続を確立するようにユーザを促す画面を表示した後は、MFP700に印刷を実行させるためのオブジェクトへの操作をユーザから再度受け付けて、S814の処理を再度実行する。また、例えば、スマートホン100は、以前にユーザからの操作を受け付けていたことにより、接続設定情報をメモリ105等に保存している場合がある。この場合は、アプリケーション109は、保存されていた接続設定情報を利用して通信回線705によるMFP700との接続を確立するようにOS108に指示することで、S816の処理を実行せずにS817の処理を実行しても良い。 After that, the application 109 determines whether or not the connection between the smart device 100 and the MFP 700 by the communication line 705 is established in the same manner as the process of S805 (S815). If it is determined that the connection has not been established, the application 109 displays a screen prompting the user to establish a connection between the smart device 100 and the MFP 700 via the communication line 705 in the same manner as in the process of S806. S816). By doing so, the smart phone 100 can receive the operation for detecting the SSID of the MFP 700, inputting the password, etc. from the user and acquire the connection setting information, and can connect to the MFP 700 by the communication line 705. Can be established. At this time, since the smart phone 100 cannot execute the multi-network function, the connection by the communication line 704 is disconnected. Further, after displaying the screen prompting the user to establish the connection, the application 109 accepts the operation on the object for causing the MFP 700 to execute printing again from the user, and executes the process of S814 again. Further, for example, the smart phone 100 may store the connection setting information in the memory 105 or the like because it has previously received an operation from the user. In this case, the application 109 instructs the OS 108 to establish the connection with the MFP 700 by the communication line 705 by using the saved connection setting information, so that the processing of S817 is performed without executing the processing of S816. May be executed.

通信回線705によるスマートホン100とMFP700との接続が確立されていると、アプリケーション109は、MFP700に印刷させる画像データを特定し、MFP700に印刷させる(S817)。このとき、スマートホン100が接続の多重確立を実行できないため、アプリケーション109は、S807のような処理は行わない。その後アプリケーション109は、アプリケーションの動作が終了するまで、以上に説明した処理を繰り返す。 When the connection between the smart phone 100 and the MFP 700 is established by the communication line 705, the application 109 identifies the image data to be printed by the MFP 700 and causes the MFP 700 to print it (S817). At this time, since the smart phone 100 cannot execute the multiple establishment of the connection, the application 109 does not perform the process like S807. After that, the application 109 repeats the process described above until the operation of the application is completed.

このような形態とすることで、アプリケーション109は、スマートホン100にインストールされているOSの種別に応じた処理を実行することができる。 With such a form, the application 109 can execute processing according to the type of OS installed in the smartphone 100.

(その他の実施形態)
上述の実施形態では、外部装置とのデータ通信処理の例として外部装置に印刷処理を実行させるジョブを送信する例を説明したが、これに限定されない。すなわち、例えば、本発明は、外部装置にセットされた原稿を読み取るスキャン処理を実行させるためのコマンドを送信しても良い。また、外部装置の設定を行うためのデータ通信、外部装置の状態を取得するためのデータ通信、外部装置に所定のデータを転送する処理等の実行時においても同様に適用することができる。
(Other embodiments)
In the above-described embodiment, as an example of the data communication process with the external device, an example of transmitting a job for causing the external device to execute the print process has been described, but the present invention is not limited to this. That is, for example, the present invention may send a command for executing a scanning process for reading a document set in an external device. Further, the same can be applied at the time of execution of data communication for setting the external device, data communication for acquiring the state of the external device, processing for transferring predetermined data to the external device, and the like.

上述の実施形態では、データ通信の開始時及び終了時に利用回線の切り替えを行うものとしたが、この形態に限定されない。例えば、アプリケーション109が、クラウドサーバ703上のコンテンツを利用しない場合は、スマートホン100は、アプリケーション109が動作している状態でインターネット702と接続する必要はない。そのため、アプリケーション109が起動した場合や動作が終了した場合に利用回線を切り替えるような構成としても良い。また、アプリケーション109は、データ通信の開始時、データ通信の終了時、アプリケーション109が起動した場合及びアプリケーション109の動作が終了した場合のうち少なくとも1つのタイミングにおいて利用回線を切り替えれば良い。例えば、上述の4つのタイミングにおいて利用回線を切り替える構成であれば、起動後に通信回線705を利用回線とし、データ通信の終了時等に通信回線704を利用回線とした場合でも、データ通信の開始時に再度通信回線705を利用回線とすることができる。また、例えば、送信するデータの選択画面として、クラウドサーバ703上のコンテンツを利用する画面と、利用しない画面とがある場合がある。この場合、アプリケーション109は、クラウドサーバ703上のコンテンツを利用する画面の表示の開始と終了に応じて、利用回線を切り替えても良い。 In the above-described embodiment, the line to be used is switched at the start and end of the data communication, but the present invention is not limited to this embodiment. For example, if the application 109 does not use the content on the cloud server 703, the smart phone 100 does not need to connect to the Internet 702 while the application 109 is operating. Therefore, the line used may be switched when the application 109 is started or the operation is completed. Further, the application 109 may switch the line to be used at at least one timing of the start of the data communication, the end of the data communication, the start of the application 109, and the end of the operation of the application 109. For example, in the configuration of switching the used line at the above four timings, even if the communication line 705 is used as the used line after startup and the communication line 704 is used as the used line at the end of data communication, etc., at the start of data communication. The communication line 705 can be used again. Further, for example, as a screen for selecting data to be transmitted, there may be a screen for using the content on the cloud server 703 and a screen for not using the content. In this case, the application 109 may switch the line to be used according to the start and end of the display of the screen that uses the content on the cloud server 703.

上述の実施形態では、アプリケーションプログラムであるアプリケーション109が本発明の制御を実行しているが、例えば、OSが本発明の制御を実行しても良い。すなわち、例えば、データ通信の開始、データ通信の終了、アプリケーション109の起動及びアプリケーション109の動作の終了のタイミングを、OSが特定して利用回線を切り替えても良い。
上述の実施形態の効果を実現できれば、上述の実施形態のフローチャートの処理の順番を入れ替えても良いし、その全ての処理を実行しなくても良いし、処理の内容を変更しても良い。例えば、アプリケーション109は、S202の処理を、アプリケーション109が起動したときに実行して、S201の処理より前に実行しても良い。
In the above-described embodiment, the application 109, which is an application program, executes the control of the present invention, but for example, the OS may execute the control of the present invention. That is, for example, the OS may specify the timing of the start of data communication, the end of data communication, the start of application 109, and the end of operation of application 109, and switch the line to be used.
If the effect of the above-described embodiment can be realized, the order of the processes of the flowchart of the above-described embodiment may be changed, all the processes may not be executed, or the contents of the processes may be changed. For example, the application 109 may execute the process of S202 when the application 109 is started and execute the process of S201 before the process of S201.

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

100 スマートホン
108 OS
109 アプリケーション
700 MFP
100 Smartphone 108 OS
109 Application 700 MFP

Claims (12)

情報処理装置において実行されるアプリケーションプログラムであって、
第1の通信方式による基地局との第1接続及び第2の通信方式による外部装置との第2接続を前記情報処理装置が並行して確立している状態においては、前記第1接続を用いた前記アプリケーションプログラムによる前記インターネットを介した第1通信が可能であり且つ前記第2接続を用いた前記アプリケーションプログラムによる第2通信が可能でない第1状態で、前記第1通信が可能でなく且つ前記第2通信が可能である第2状態より優先して前記情報処理装置を動作させるオペレーティングシステムを有する前記情報処理装置のコンピュータに、
前記第1状態で前記情報処理装置が動作している状態で、前記アプリケーションプログラムが起動することを特定する特定ステップと、
前記アプリケーションプログラムが起動することが特定されることに応じて、前記情報処理装置の状態を、前記第1状態から前記第2状態に切り替えるための処理を実行する切り替えステップと、
前記第2状態で前記情報処理装置が動作している状態で、前記インターネット上のコンテンツ以外のデータを、前記第2接続を用いた前記アプリケーションプログラムによる通信によって前記外部装置に送信する送信ステップと、を実行させることを特徴とするプログラム。
An application program that is executed in an information processing device.
When the information processing device establishes the first connection with the base station by the first communication method and the second connection with the external device by the second communication method in parallel, the first connection is used. in the first state is not possible second communication by the first communication are possible and the second connecting said application program using through the Internet by the application program had, and the not possible the first communication the computer of the information processing apparatus having an operating system for operating the information processing apparatus in preference to the second state can be a second communication,
A specific step for specifying that the application program is started while the information processing apparatus is operating in the first state, and
A switching step of executing a process for switching the state of the information processing apparatus from the first state to the second state in response to the identification that the application program is to be started, and
A transmission step of transmitting data other than the contents on the Internet to the external device by communication by the application program using the second connection while the information processing device is operating in the second state. A program characterized by executing.
前記情報処理装置において前記アプリケーションプログラムの動作が終了されることを特定する動作終了特定ステップと、
前記アプリケーションプログラムの動作が終了されることが特定されたことに応じて、前記情報処理装置の状態を、前記第2状態から前記第1状態に切り替えるための処理を実行する状態切り替えステップと、を更に実行させることを特徴とする請求項1に記載のプログラム。
An operation end specifying step for specifying that the operation of the application program is terminated in the information processing device, and an operation end specifying step.
A state switching step of executing a process for switching the state of the information processing apparatus from the second state to the first state in response to the determination that the operation of the application program is terminated. The program according to claim 1, wherein the program is further executed.
前記第1の通信方式は、移動体通信であることを特徴とする請求項1又は2に記載のプログラム。 The program according to claim 1 or 2, wherein the first communication method is mobile communication. 前記第1の通信方式は、3G又は4Gの移動体通信であることを特徴とする請求項3に記載のプログラム。 The program according to claim 3, wherein the first communication method is 3G or 4G mobile communication. 前記第2の通信方式は、Wi−Fi(登録商標)通信であることを特徴とする請求項1乃至4のいずれか1項に記載のプログラム。 The program according to any one of claims 1 to 4, wherein the second communication method is Wi-Fi (registered trademark) communication. 前記第2接続は、前記第2の通信方式によって、前記外部装置の外部及び前記情報処理装置の外部のアクセスポイントを介さずに前記外部装置と接続する形態であることを特徴とする請求項1乃至5のいずれか1項に記載のプログラム。 The second connection is characterized in that it is connected to the external device by the second communication method without going through an access point outside the external device and the information processing device. The program according to any one of 5 to 5. 前記インターネット上のコンテンツ以外のデータは、前記インターネット上のコンテンツ以外のデータに基づく印刷を、前記外部装置に実行させるためのデータであることを特徴とする請求項1乃至6のいずれか1項に記載のプログラム。 The data other than the content on the Internet is the data for causing the external device to perform printing based on the data other than the content on the Internet, according to any one of claims 1 to 6. Described program. 前記インターネット上のコンテンツを選択するための操作をユーザから受け付けるための画面の表示を行うためのユーザ操作が行われた後、前記情報処理装置の状態が、前記第2状態から、前記第1状態に切り替えられ、
前記情報処理装置が前記第1状態で動作している状態において、前記インターネット上のコンテンツが前記情報処理装置により受信され、
前記インターネット上のコンテンツが前記情報処理装置により受信された後、前記情報処理装置の状態が、前記第1状態から、前記第2状態に切り替えられ、
前記インターネット上のコンテンツが選択された場合、前記インターネット上のコンテンツが、前記第2接続を用いた前記アプリケーションプログラムによる通信により前記外部装置に送信されることを特徴とする請求項1乃至7のいずれか1項に記載のプログラム。
After the user operation for displaying the screen for accepting the operation for selecting the content on the Internet from the user is performed, the state of the information processing device changes from the second state to the first state. Switched to
While the information processing device is operating in the first state, the content on the Internet is received by the information processing device, and the information processing device receives the content on the Internet.
After the content on the Internet is received by the information processing device, the state of the information processing device is switched from the first state to the second state.
Any of claims 1 to 7, wherein when the content on the Internet is selected, the content on the Internet is transmitted to the external device by communication by the application program using the second connection. The program described in item 1.
前記インターネット上のコンテンツを選択するための操作をユーザから受け付けるための画面の表示が終了されることに応じて、前記情報処理装置の状態が、前記第1状態から、前記第2状態に切り替えられることを特徴とする請求項8に記載のプログラム。 The state of the information processing device is switched from the first state to the second state in response to the end of the display of the screen for accepting the operation for selecting the content on the Internet from the user. 8. The program according to claim 8. 前記第1状態から前記第2状態への切り替えは、前記第1接続と前記第2接続が並行して確立されたまま行われることを特徴とする請求項1乃至9のいずれか1項に記載のプログラム。 The method according to any one of claims 1 to 9, wherein the switching from the first state to the second state is performed while the first connection and the second connection are established in parallel. Program. 情報処理装置の制御方法であって、
前記情報処理装置は、
第1の通信方式による基地局との第1接続及び第2の通信方式による外部装置との第2接続を前記情報処理装置が並行して確立している状態においては、前記第1接続を用いた所定のアプリケーションプログラムによる前記インターネットを介した第1通信が可能であり且つ前記第2接続を用いた前記所定のアプリケーションプログラムによる第2通信が可能でない第1状態で、前記第1通信が可能でなく且つ前記第2通信が可能である第2状態より優先して前記情報処理装置を動作させるオペレーティングシステムを有し、
前記制御方法は、
前記第1状態で前記情報処理装置が動作している状態で、前記所定のアプリケーションプログラムが起動することを特定する特定ステップと、
前記所定のアプリケーションプログラムが起動することが特定されることに応じて、前記情報処理装置の状態を、前記第1状態から前記第2状態に切り替えるための処理を実行する切り替えステップと、
前記第2状態で前記情報処理装置が動作している状態で、前記インターネット上のコンテンツ以外のデータを、前記第2接続を用いた前記所定のアプリケーションプログラムによる通信によって前記外部装置に送信する送信ステップと、を有することを特徴とする制御方法。
It is a control method for information processing equipment.
The information processing device
When the information processing device establishes the first connection with the base station by the first communication method and the second connection with the external device by the second communication method in parallel, the first connection is used. The first communication is possible in the first state in which the first communication via the Internet by the predetermined application program is possible and the second communication by the predetermined application program using the second connection is not possible. without and preferentially than the second second state communication is possible has an operating system for operating the information processing apparatus,
The control method is
A specific step for specifying that the predetermined application program is started while the information processing apparatus is operating in the first state, and
A switching step of executing a process for switching the state of the information processing apparatus from the first state to the second state in response to the identification that the predetermined application program is to be started, and
A transmission step of transmitting data other than the contents on the Internet to the external device by communication by the predetermined application program using the second connection while the information processing device is operating in the second state. And, a control method characterized by having.
情報処理装置であって、
第1の通信方式による基地局との第1接続及び第2の通信方式による外部装置との第2接続を前記情報処理装置が並行して確立している状態においては、前記第1接続を用いた所定のアプリケーションプログラムによる前記インターネットを介した第1通信が可能であり且つ前記第2接続を用いた前記所定のアプリケーションプログラムによる第2通信が可能でない第1状態で、前記第1通信が可能でなく且つ前記第2通信が可能である第2状態より優先して前記情報処理装置を動作させるオペレーティングシステムと、
前記第1状態で前記情報処理装置が動作している状態で、前記所定のアプリケーションプログラムが起動することを特定する特定手段と、
前記所定のアプリケーションプログラムが起動することが特定されることに応じて、前記情報処理装置の状態を、前記第1状態から前記第2状態に切り替えるための処理を実行する切り替え手段と、
前記第2状態で前記情報処理装置が動作している状態で、前記インターネット上のコンテンツ以外のデータを、前記第2接続を用いた前記所定のアプリケーションプログラムによる通信によって前記外部装置に送信する送信手段と、を有することを特徴とする情報処理装置。
It is an information processing device
When the information processing device establishes the first connection with the base station by the first communication method and the second connection with the external device by the second communication method in parallel, the first connection is used. The first communication is possible in the first state in which the first communication via the Internet by the predetermined application program is possible and the second communication by the predetermined application program using the second connection is not possible. and operating systems without and preferentially than the second second state communication is possible to operate the information processing apparatus,
A specific means for specifying that the predetermined application program is started while the information processing apparatus is operating in the first state, and
A switching means for executing a process for switching the state of the information processing apparatus from the first state to the second state in response to the identification that the predetermined application program is to be started.
A transmission means for transmitting data other than the contents on the Internet to the external device by communication by the predetermined application program using the second connection while the information processing device is operating in the second state. An information processing device characterized by having and.
JP2019040731A 2015-10-30 2019-03-06 Information processing equipment, control methods, and programs Active JP6896782B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019040731A JP6896782B2 (en) 2015-10-30 2019-03-06 Information processing equipment, control methods, and programs

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015214961A JP6494490B2 (en) 2015-10-30 2015-10-30 Information processing apparatus, control method, and program
JP2019040731A JP6896782B2 (en) 2015-10-30 2019-03-06 Information processing equipment, control methods, and programs

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015214961A Division JP6494490B2 (en) 2015-10-30 2015-10-30 Information processing apparatus, control method, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2019071348A Division JP6766213B2 (en) 2019-04-03 2019-04-03 Information processing equipment, control methods, and programs

Publications (3)

Publication Number Publication Date
JP2019115063A JP2019115063A (en) 2019-07-11
JP2019115063A5 JP2019115063A5 (en) 2020-01-09
JP6896782B2 true JP6896782B2 (en) 2021-06-30

Family

ID=67221680

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019040731A Active JP6896782B2 (en) 2015-10-30 2019-03-06 Information processing equipment, control methods, and programs

Country Status (1)

Country Link
JP (1) JP6896782B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5170183B2 (en) * 2010-07-29 2013-03-27 ブラザー工業株式会社 Communication control program and communication device
JP2014207650A (en) * 2013-03-21 2014-10-30 カシオ計算機株式会社 Wireless communication terminal, and program
JP6335466B2 (en) * 2013-10-04 2018-05-30 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2015114765A (en) * 2013-12-10 2015-06-22 キヤノン株式会社 Information processor, program, and control method
JP6194798B2 (en) * 2014-01-09 2017-09-13 ブラザー工業株式会社 Communication equipment and printer

Also Published As

Publication number Publication date
JP2019115063A (en) 2019-07-11

Similar Documents

Publication Publication Date Title
US11917479B2 (en) Information processing apparatus, communication terminal, and non-transitory storage medium storing instructions executable by information processing apparatus
US10264523B2 (en) Information processing apparatus, control method, and program
JP5980258B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP6614763B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP6624792B2 (en) Information processing apparatus, information processing apparatus control method, and program
US10306101B2 (en) Information processing apparatus capable of establishing connection with internet based on first communication method and connection with external apparatus based on second communication method in parallel, and control method
JP6525771B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD, AND PROGRAM
JP6512982B2 (en) Communication device, control method of communication device, and program
JP2016143999A (en) Communication apparatus, control method, and program
US20150293735A1 (en) Communication method, communication terminal, and storage medium
JP2016225827A (en) Information processor, control method and program
JP6957677B2 (en) Information processing equipment, applications, control methods and programs for information processing equipment
JP6896782B2 (en) Information processing equipment, control methods, and programs
JP6766213B2 (en) Information processing equipment, control methods, and programs
JP7051960B2 (en) Information processing equipment, control methods, and programs
JP7254991B2 (en) Information processing device, control method, and program
JP6878373B2 (en) Information processing equipment, applications, control methods and programs for information processing equipment
JP6407212B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP2019075832A (en) Information processing apparatus, control method, and program
US10630783B2 (en) Terminal management apparatus, terminal management system, and non-transitory computer readable medium
JP2020072470A (en) Communication device, control method of communication device, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190403

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200331

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20201110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210209

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20210209

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20210217

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20210224

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210609

R151 Written notification of patent or utility model registration

Ref document number: 6896782

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151