JP2019115063A - Information processing apparatus, control method, and program - Google Patents

Information processing apparatus, control method, and program Download PDF

Info

Publication number
JP2019115063A
JP2019115063A JP2019040731A JP2019040731A JP2019115063A JP 2019115063 A JP2019115063 A JP 2019115063A JP 2019040731 A JP2019040731 A JP 2019040731A JP 2019040731 A JP2019040731 A JP 2019040731A JP 2019115063 A JP2019115063 A JP 2019115063A
Authority
JP
Japan
Prior art keywords
state
communication
information processing
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.)
Granted
Application number
JP2019040731A
Other languages
Japanese (ja)
Other versions
JP2019115063A5 (en
JP6896782B2 (en
Inventor
遼也 川合
Ryoya Kawai
遼也 川合
充 紺地
Mitsuru Konchi
充 紺地
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

Landscapes

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

Abstract

To switch a communication destination by reducing a load of procedures related to disconnection and establishment of connection.SOLUTION: The information processing program executes: a specific step of specifying that a program is activated in a state where an information processing apparatus is operating in a first state; and a switching step of switching the state of the information processing apparatus from the first state to a second state in response to a start of a program being specified while the information processing apparatus maintains establishment of connection with the Internet by a first communication method and connection with an external device by a second communication method in parallel.SELECTED DRAWING: Figure 1

Description

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

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

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

特開2014−207650号公報JP, 2014-207650, A

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

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

上述のような課題を解決するための本発明のプログラムは、情報処理装置において実行されるプログラムであって、
第1の通信方式によるインターネットとの接続及び第2の通信方式による外部装置との接続を前記情報処理装置が並行して確立している状態においては、前記第1の通信方式による前記インターネットとの通信が可能であり且つ前記第2の通信方式による前記外部装置との通信が可能でない第1状態で、前記第2の通信方式による前記外部装置との通信が可能であり且つ前記第1の通信方式による前記インターネットとの通信が可能でない第2状態より優先して前記情報処理装置を動作させるオペレーティングシステムを有する前記情報処理装置のコンピュータに、
前記第1状態で前記情報処理装置が動作している状態で、前記プログラムが起動することを特定する特定ステップと、
前記プログラムが起動することが特定されることに応じて、前記情報処理装置の状態を、前記第1状態から、前記第2状態に、前記第1の通信方式による前記インターネットとの接続及び前記第2の通信方式による前記外部装置との接続を前記情報処理装置が並行して確立したまま切り替える切り替えステップと、
前記第2状態で前記情報処理装置が動作している状態で、前記インターネット上のコンテンツ以外のデータを、前記第2の通信方式によって前記外部装置に送信する送信ステップと、を実行させることを特徴とする。
A program according to the present invention for solving the problems as described above is a program executed in an information processing apparatus,
In a state in which the information processing apparatus establishes the connection with the Internet by the first communication method and the connection with the external device by the second communication method in parallel, the connection with the Internet by the first communication method In the first state in which communication is possible and communication with the external device by the second communication scheme is not possible, communication with the external device by the second communication scheme is possible and the first communication A computer of the information processing apparatus having an operating system that causes the information processing apparatus to operate with priority over a second state in which communication with the Internet is not possible according to a system;
A specifying step of specifying that the program is activated while the information processing apparatus is operating in the first state;
The state of the information processing apparatus is changed from the first state to the second state according to the specified activation of the program from the first state to the second state, the connection with the Internet by the first communication method, and A switching step of switching the connection with the external device according to the second communication method while the information processing device is established in parallel;
Transmitting the data other than the content on the Internet to the external device according to the second communication method while the information processing apparatus is operating in the second state. I assume.

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

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

以下に図面を参照して、本発明の好適な実施形態を例示的に説明する。ただし、本発明については、その趣旨を逸脱しない範囲で、当業者の通常の知識に基づいて、以下に記載する実施形態に対して適宜変更、改良が加えられたものについても本発明の範囲に入ることが理解されるべきである。   Hereinafter, preferred embodiments of the present invention will be exemplarily described with reference to the drawings. However, for the present invention, those to which appropriate modifications and improvements are added to the embodiments described below based on the ordinary knowledge of those skilled in the art without departing from the spirit of the present invention also fall within the scope of the present invention. It should be understood that it enters.

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

図1(a)は、スマートホン100のハードウェア構成を示している。スマートホン100は、CPU101、操作部102、ネットワークIF103、ネットワークIF104、メモリ105、表示部106、記憶装置107を備え、それぞれがシステムバスを介して接続されている。   FIG. 1A shows the hardware configuration of the smartphone 100. The smartphone 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, which are connected to one another via a system bus.

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

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

メモリ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 configured by a memory such as a static RAM (SRAM). 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 of various reception data.

表示部106は、LED(発光ダイオード)やLCD(液晶ディスプレイ)などから構成され、CPU101からの指示に基づいた所定の画面を表示する。   The display unit 106 is configured of an LED (light emitting diode), an LCD (liquid crystal display), and 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 configured by, for example, a flash memory, and stores various programs such as a control program and an application program executed by the CPU 101 and an operating system (OS). 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 network IFs 103 and 104 are interfaces (IFs) for the smart phone 100 to communicate by different communication lines. In the present embodiment, the network IF 103 is an IF for the smart phone 100 to communicate by connecting to the Internet through a mobile communication line such as 3G or 4G. The smart phone 100 establishes a connection with the Internet through a mobile communication line, for example, by setting an APN (connection destination) and a password. The network IF 104 is an IF for performing communication by connecting to an external device through a communication line of a wireless LAN such as Wi-Fi (registered trademark). The smart phone 100 detects, for example, an access point corresponding to the external device, and performs connection setting such as input of a password, thereby establishing a connection with the external device through the communication line of the wireless LAN. In the present embodiment, the number of network IFs provided in the smartphone 100 is not limited to two. The smart phone 100 may include at least an IF that can communicate with a communication line that can connect to the Internet and an IF that can communicate with a communication line that can connect 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. Also, the communication line used in each IF is not limited to the one described above, and may be another communication line such as Bluetooth (registered trademark), for example, or communication by a wired communication system instead of a wireless communication system. It may be a line. Further, the smartphone 100 may not be directly connected to the Internet or an external device 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. 1 (b) is a diagram showing the software configuration of the smartphone 100. The smartphone 100 includes an OS 108 and an application 109. The OS 108 is a program for controlling the entire smartphone 100. In the present embodiment, the OS 108 corresponds to a multi-network function (function to establish connection by a plurality of communication lines in parallel). Then, when the smart phone 100 establishes connections by a plurality of communication lines in parallel, the OS 108 determines a communication line to be used by the smart phone 100 in accordance with the pre-programmed priority. In the present embodiment, the OS 108 has a function of determining whether the communication line with which connection has been established is connected to the Internet. Then, when the smartphone 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 smartphone 100 to use the communication line. In the present embodiment, the mobile communication line is a communication line for connecting to the Internet for communication. Therefore, when the connection of each of the mobile communication line and the communication line of the wireless LAN is established in parallel, the OS 108 causes the smartphone 100 to preferentially use the mobile communication line. Also, in response to an instruction from the application 109, the OS 108 can perform establishment / cancellation of connection in each communication line, switching of a connection destination apparatus, setting of a communication line 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 smartphone 100 and causing the external device such as the printer to print the image data stored in the smartphone 100. . The application 109 is installed on the smartphone 100 via, for example, the Internet.

上述のソフトウェアは、記憶装置107等のメモリに格納されており、メモリ105に展開されてCPU101によって実行される。そのため、本実施形態の説明において、OS108又はアプリケーション109が実行する処理は、実際には、CPU101が、OS108又はアプリケーション109に対応するプログラムを実行することで実現されるものである。   The above-described software is stored in a memory such as the storage device 107, expanded in the memory 105, and executed by the CPU 101. Therefore, in the description of the present embodiment, the processing executed by the OS 108 or the application 109 is actually realized by the CPU 101 executing a 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 causing the user to select a function to be executed by the application 109. The display unit 106 displays a plurality of objects corresponding to functions that can be executed by the application 109 on the screen display of FIG. 3. For example, objects of “photo print” and “print document” are objects for causing the external device to execute print processing, and objects of “scan” are objects for cause the external device to execute scan processing.

また、「クラウド」のオブジェクトは、スマートホン100が、クラウド上のサーバからコンテンツを取得し、その取得されたコンテンツを外部装置に送信することで外部装置にインターネット上のコンテンツを印刷させるためのオブジェクトである。また、「外部装置名」の部分には、スマートホン100が接続している外部装置の名前が表示される。   Also, an object of “cloud” 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 to cause the external device to print the content on the Internet It is. Also, in the “external device name” portion, the name of the external device connected to the smart phone 100 is displayed.

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

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

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

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

図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 according to the present embodiment, and has a function of communicating with the smartphone 100, a function of printing image data received from the smartphone 100, and the like. As shown in FIG. 7, the smartphone 100 can establish a connection with the Internet 702 via the base station 701 using the communication line 704. The communication line 704 corresponds to a mobile communication line such as 3G or 4G in the present embodiment. At the same time, the smartphone 100 can establish a connection with the MFP 700 using the communication line 705. In the present embodiment, the communication line 705 corresponds to a communication line of a wireless LAN 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 in which the connection is established in parallel by two or more communication lines, the smartphone 100 can communicate by the communication line instructed by the OS 108 among the communication lines in which the connection is established. There is. In the present embodiment, as described above, the OS 108 causes the smartphone 100 to preferentially use the communication line 704 when the connection by the communication line 704 and the communication line 705 is established in parallel. . In the present embodiment, in connection with MFP 700 by communication line 705, smart phone 100 is directly connected to MFP 700 without passing through an external access point such as a router or a base station, but via an external access point. May be connected. At this time, if the external access point is connected to the Internet 702, the smartphone 100 can be connected to the Internet 702 even in a state in which communication is performed by the communication line 705. Therefore, in this state, the application 109 may not perform the processing described below.

図2は、本実施形態においてアプリケーション109が実行する、スマートホン100に利用させる通信回線(以下、利用回線)を切り替える処理を示すフローチャートである。なお、該フローチャートの示す処理は、CPU101が、記憶装置107又はスマートホン100の備えるHDD(不図示)等に格納されている制御プログラムをメモリ105にロードし、その制御プログラムを実行することにより実現されるものとする。また、該フローチャートの示す処理は、公知の起動シーケンスによってアプリケーション109が起動したときに開始されるものとする。   FIG. 2 is a flowchart showing processing of switching a communication line (hereinafter referred to as a use line) to be used by the smartphone 100, which is executed by the application 109 in the present embodiment. The process shown in the flowchart is realized by the CPU 101 loading a control program stored in the storage device 107 or an HDD (not shown) provided in the smartphone 100 into the memory 105 and executing the control program. Shall be Further, it is assumed that the process shown in the flowchart is started when the application 109 is activated by a known activation 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 image data to be transmitted to the MFP 700 on the display unit 106 (S201). Here, the application 109 is assumed to display the display screen shown in FIG. The timing for displaying the display screen shown in FIG. 4 may be the timing when the application 109 is activated, or may be the timing when the display screen shown in FIG. 4 is called by the operation of the user while the application 109 is operating. . Although image data is used as an example of data to be identified in the present embodiment, the present invention is not limited to image data, and may be document data, a command for causing the MFP 700 to execute a predetermined process, or the like. Further, when data to be transmitted to a device having a function other than the print function is specified, any data that can be processed by the device may be used. The specified data need not be stored in the smartphone 100 itself, and may be stored, for example, in the cloud server 703 or the like that can communicate with the smartphone 100 via the Internet 702. However, in this case, in order to obtain data from the cloud server 703, the smartphone 100 needs to use a communication line connectable to the Internet 702. Further, the smartphone 100 needs to use a communication line connectable to the Internet 702 even when displaying an online manual regarding the application 109 or the MFP 700 or 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 a use line (S202). At this time, specifically, the CPU 101 executes a program related to the determination of the use line of the OS 108 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 OS 108 switches the use line to the communication line 704, and puts the smartphone 100 in a state of performing communication using the communication line 704. With such a form, the application 109 can cause the smartphone 100 to use the information on the Internet 702 at timing when it is not necessary to communicate with the MFP 700. The application 109 may not execute the process of S202 when the OS 108 has already set the communication line as the communication line 704.

次に、アプリケーション109は、MFP700に印刷させる画像データを特定する(S203)。このとき具体的には、アプリケーション109は、図4の表示画面を介して、画像データの選択をユーザから受け付けることで、MFP700に送信する画像データを特定する。なお、特定される画像データは1つでなくとも良く、例えば、ユーザから複数の画像データの選択を受け付けた場合は、複数の画像データを特定しても良い。また、アプリケーション109は、クラウドサーバ703等、スマートホン100外部に格納されている画像データを特定した場合は、インターネット702との通信等を介して特定した画像データを取得する。   Next, the application 109 specifies image data to be printed by the MFP 700 (S203). At this time, specifically, the application 109 identifies the image data to be transmitted to the MFP 700 by receiving the selection of the image data from the user via the display screen of FIG. 4. Note that the number of image data to be specified is not limited to one. For example, when selection of a plurality of image data is received from the user, a plurality of image data may be specified. When the application 109 specifies image data stored outside the smartphone 100 such as the cloud server 703, the application 109 acquires the specified image data through 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 a data transmission instruction, and determines to cause the MFP 700 to print the image data specified in S203 (S204). At this time, specifically, when the application 109 receives an operation on an object for causing the MFP 700 to execute printing from the user via the display screen of FIG. 5, the application 109 determines to cause the MFP 700 to execute printing. . Note that the application 109 is not limited to this mode, and may determine, for example, that the MFP 700 executes printing when the smartphone 100 is moved within a predetermined range centered on the MFP 700. Note that in order for the application 109 to cause the MFP 700 to execute printing, image data needs to be transmitted from the smartphone 100 to the MFP 700. Therefore, the application 109 determines whether a connection between the smartphone 100 and the MFP 700 by the communication line 705 is established (S205). If it is determined that the connection is not established, the application 109 displays a screen prompting the user to establish the connection between the smartphone 100 and the MFP 700 by the communication line 705 (S206). By doing this, the smartphone 100 can receive from the user an operation for detecting the SSID of the MFP 700, inputting a password, and the like, and can acquire connection setting information, and establish a connection with the MFP 700. it can. After the application 109 displays a screen prompting the user to establish a connection, the application 109 receives again an operation on an object for causing the MFP 700 to execute printing from the user, and executes the processing of S204 again. Also, for example, the smartphone 100 may store connection setting information in the memory 105 or the like because the user has previously received an operation from the user. In this case, the application 109 instructs the OS 108 to establish a connection with the MFP 700 through the communication line 705 using the stored connection setting information, thereby performing the process of S207 without executing the process of S206. You may run

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に送信させても良い。   If it is determined in S205 that the connection between the smartphone 100 and the MFP 700 by the communication line 705 is established, the smartphone 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 by the instruction from the OS 108. Since communication line 704 is not a communication line that can communicate with MFP 700, smart phone 100 can not transmit image data to MFP 700 in this state. Therefore, in the present embodiment, the application 109 instructs the OS 108 to use the communication line 705 as a use line (S207). When the OS 108 receives the instruction, the OS 108 switches the use line to the communication line 705, and puts the smartphone 100 in a state of performing communication using the communication line 705. At this time, since the connection by the communication line 704 is continued without being disconnected, the smartphone 100 establishes the connection even when using the communication line 704 as a utilization line again, for example, when specifying image data to be transmitted again. There is no need to process Thereafter, the application 109 causes the smartphone 100 to transmit the image data specified in S203 to the MFP 700, thereby causing the MFP 700 to execute printing (S208). At this time, the application 109 may cause the smartphone 100 to transmit not only the image data but also other information such as print setting information.

その後、アプリケーション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 to switch the use line (S209). At this time, specifically, the application 109 acquires information on the status of processing of the job from the MFP 700, and determines whether the printing has been completed by the MFP 700. If the application 109 determines that printing has not ended, it determines that the access line is not switched, and if it determines that printing has ended, it determines that the access line is switched. This is because the smartphone 100 needs to maintain a state in which communication with the MFP 700 is possible in order to obtain information on the printing state such as the progress state and the presence or absence of an error. Note that in S209, the application 109 may determine whether the transmission of the image data has ended. In this case, if the application 109 determines that the transmission of the image data is not completed, it determines that the connection is not switched, and if it determines that the transmission of the image data is ended, it determines that the connection is switched. Further, the application 109 may determine not to switch the use line when communication with the MFP 700 is required even if transmission of image data is completed or printing by the MFP 700 is completed. If communication with the MFP 700 is still required, for example, it is necessary to continuously acquire the status information of the MFP 700, or transfer of image data in the smartphone 100 (image data that does not require the Internet 702 for acquisition) continues. The case of being covered is applicable.

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

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

さらに、本実施形態においては、スマートホン100は、MFP700に対してデータを送信する必要が生じた場合、確立している接続を切断することなく、利用する通信回線を切り替える。そのため、スマートホン100は、利用する通信回線の切り替え毎に、接続設定情報の保存や再設定等の処理を行う必要が無く、接続の確立及び切断によって通信先を切り替える構成と比較して、通信先の切り替えに係る時間を少なくすることができる。   Furthermore, in the present embodiment, when it is necessary to transmit data to the MFP 700, the smartphone 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 and resetting of connection setting information each time the communication line to be used is switched, compared with the configuration in which the communication destination is switched by connection establishment and disconnection. It is possible to reduce the time involved in the previous switching.

また、確立している接続を切断することなく、利用する通信回線を切り替える方法としては、例えば、スマートホン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 may be mentioned. However, this method requires the smartphone 100 to display a screen for switching between enabling and disabling of the mobile data communication setting provided by the OS, and to receive an input by the user via the screen. In the present embodiment, in a situation where the communication line to be used is to be switched, the application 109 automatically switches the use line by instructing the OS 108. Therefore, in the present embodiment, the communication line used by the smartphone 100 can be switched without the user performing 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-mentioned embodiment, the smart phone 100 established the connection by the communication line 704 and the communication line 705 in parallel, and demonstrated the structure which switches a utilization line according to a condition. However, depending on the type of OS installed, for example, the smartphone 100 may 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 will be described in which processing is switched in consideration of the type of OS. The basic configuration of the present embodiment is the same as that of the first embodiment, so only the characteristic configuration will be described below.

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

S801〜S810に示す処理は、S201〜S210に示す処理と同様であるため、説明を省略する。   Since the process shown to S801-S810 is the same as the process shown to S201-S210, description is abbreviate | omitted.

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

まず、S812では、アプリケーション109は、S201と同様にしてMFP700に送信する画像データを特定するための表示画面を表示部106に表示する。このとき、通信回線704による接続が確立していれば、アプリケーション109は、インターネット上のコンテンツを表示することができる。その後、アプリケーション109は、スマートホン100がマルチネットワーク機能を実行できないため、S802のような処理は行わずに、MFP700に印刷させる画像データを特定する(S813)。その後、アプリケーション109は、S804の処理と同様にして、特定した画像データをMFP700に印刷を実行させることを決定する(S814)。   First, in step S812, the application 109 displays a display screen for specifying image data to be transmitted to the MFP 700 on the display unit 106, as in step S201. At this time, if the connection by the communication line 704 is established, the application 109 can display the content on the Internet. Thereafter, since the smartphone 100 can not execute the multi-network function, the application 109 specifies image data to be printed by the MFP 700 without performing the process of S802 (S813). After that, the application 109 determines to cause the MFP 700 to print the specified image data, as in 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 the connection between the smartphone 100 and the MFP 700 by the communication line 705 is established as in the process of S805 (S815). If it is determined that the connection is not established, the application 109 displays a screen prompting the user to establish a connection between the smartphone 100 and the MFP 700 by the communication line 705, as in the process of S806 ( S816). By doing this, the smartphone 100 can receive an operation for detecting the SSID of the MFP 700, input of a password, and the like from the user and acquire connection setting information, and the connection with the MFP 700 by the communication line 705 can be performed. Can be established. At this time, since the smartphone 100 can not execute the multi-network function, the smartphone 100 disconnects the connection by the communication line 704. Also, after displaying a screen prompting the user to establish a connection, the application 109 receives again an operation on an object for causing the MFP 700 to execute printing from the user, and executes the processing of step S814 again. Also, for example, the smartphone 100 may store connection setting information in the memory 105 or the like because the user has previously received an operation from the user. In this case, the application 109 instructs the OS 108 to establish a connection with the MFP 700 through the communication line 705 using the stored connection setting information, thereby performing the process of S817 without executing the process of S816. You may run

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

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

(その他の実施形態)
上述の実施形態では、外部装置とのデータ通信処理の例として外部装置に印刷処理を実行させるジョブを送信する例を説明したが、これに限定されない。すなわち、例えば、本発明は、外部装置にセットされた原稿を読み取るスキャン処理を実行させるためのコマンドを送信しても良い。また、外部装置の設定を行うためのデータ通信、外部装置の状態を取得するためのデータ通信、外部装置に所定のデータを転送する処理等の実行時においても同様に適用することができる。
(Other embodiments)
In the above-described embodiment, as an example of data communication processing with an external apparatus, an example of transmitting a job for causing the external apparatus to execute print processing has been described. However, the present invention is not limited to this. That is, for example, in the present invention, a command may be transmitted to execute a scan process for reading an original set in an external apparatus. The present invention is also applicable to 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 embodiment, switching of the use line is performed at the start and end of data communication, but the present invention is not limited to this form. For example, when the application 109 does not use the content on the cloud server 703, the smartphone 100 does not need to connect to the Internet 702 while the application 109 is operating. Therefore, the configuration may be such that the used line is switched when the application 109 is activated or when the operation is completed. In addition, the application 109 may switch the use line at at least one of timing when the data communication starts, when the data communication ends, when the application 109 is activated, and when the operation of the application 109 ends. For example, in the configuration in which the use line is switched at the above four timings, the communication line 705 is used as the use line after activation, and even when the communication line 704 is used as the use line at the end of data communication, etc. The communication line 705 can be used again. Further, for example, as a selection screen of data to be transmitted, there may be a screen using contents on the cloud server 703 and a screen not used. In this case, the application 109 may switch the use line in accordance with the start and end of the display of the screen using the content on the cloud server 703.

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

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

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

Claims (11)

情報処理装置において実行されるプログラムであって、
第1の通信方式によるインターネットとの接続及び第2の通信方式による外部装置との接続を前記情報処理装置が並行して確立している状態においては、前記第1の通信方式による前記インターネットとの通信が可能であり且つ前記第2の通信方式による前記外部装置との通信が可能でない第1状態で、前記第2の通信方式による前記外部装置との通信が可能であり且つ前記第1の通信方式による前記インターネットとの通信が可能でない第2状態より優先して前記情報処理装置を動作させるオペレーティングシステムを有する前記情報処理装置のコンピュータに、
前記第1状態で前記情報処理装置が動作している状態で、前記プログラムが起動することを特定する特定ステップと、
前記プログラムが起動することが特定されることに応じて、前記情報処理装置の状態を、前記第1状態から、前記第2状態に、前記第1の通信方式による前記インターネットとの接続及び前記第2の通信方式による前記外部装置との接続を前記情報処理装置が並行して確立したまま切り替える切り替えステップと、
前記第2状態で前記情報処理装置が動作している状態で、前記インターネット上のコンテンツ以外のデータを、前記第2の通信方式によって前記外部装置に送信する送信ステップと、を実行させることを特徴とするプログラム。
A program executed by the information processing apparatus,
In a state in which the information processing apparatus establishes the connection with the Internet by the first communication method and the connection with the external device by the second communication method in parallel, the connection with the Internet by the first communication method In the first state in which communication is possible and communication with the external device by the second communication scheme is not possible, communication with the external device by the second communication scheme is possible and the first communication A computer of the information processing apparatus having an operating system that causes the information processing apparatus to operate with priority over a second state in which communication with the Internet is not possible according to a system;
A specifying step of specifying that the program is activated while the information processing apparatus is operating in the first state;
The state of the information processing apparatus is changed from the first state to the second state according to the specified activation of the program from the first state to the second state, the connection with the Internet by the first communication method, and A switching step of switching the connection with the external device according to the second communication method while the information processing device is established in parallel;
Transmitting the data other than the content on the Internet to the external device according to the second communication method while the information processing apparatus is operating in the second state. And the program to be.
前記情報処理装置において前記プログラムの動作が終了されることを特定する動作終了特定ステップと、
前記プログラムの動作が終了されることが特定されたことに応じて、前記情報処理装置の状態を、前記第2状態から、前記第1状態に、前記第1の通信方式による前記インターネットとの接続及び前記第2の通信方式による前記外部装置との接続を前記情報処理装置が並行して確立したまま切り替える状態切り替えステップと、を更に実行させることを特徴とする請求項1に記載のプログラム。
An operation end identification step of specifying that the operation of the program is ended in the information processing apparatus;
The connection with the Internet by the first communication method from the second state to the first state from the second state to the first state in response to specifying that the operation of the program is ended The program according to claim 1, further comprising: a state switching step of switching the connection with the external device according to the second communication method while the information processing device has established in parallel.
前記第1の通信方式は、移動体通信であることを特徴とする請求項1又は2に記載のプログラム。   The program according to claim 1 or 2, wherein the first communication method is mobile communication. 前記第2の通信方式は、Wi−Fi(登録商標)通信であることを特徴とする請求項1乃至3のいずれか1項に記載のプログラム。   The program according to any one of claims 1 to 3, wherein the second communication method is Wi-Fi (registered trademark) communication. 前記外部装置との接続は、前記第2の通信方式によって、前記外部装置の外部及び前記情報処理装置の外部のアクセスポイントを介さずに直接接続する形態であることを特徴とする請求項1乃至4のいずれか1項に記載のプログラム。   The connection with the external device is configured to be directly connected by the second communication method without using an external access point outside the external device and the external information processing device. The program described in any one of 4. 前記インターネット上のコンテンツ以外のデータは、前記インターネット上のコンテンツ以外のデータに基づく印刷を、前記外部装置に実行させるためのデータであることを特徴とする請求項1乃至5のいずれか1項に記載のプログラム。   The data other than the content on the Internet is data for causing the external device to execute printing based on the data other than the content on the Internet. Described program. 前記インターネット上のコンテンツを選択するための操作をユーザから受け付けるための画面の表示が開始されることに応じて、前記情報処理装置の状態が、前記第2状態から、前記第1状態に、前記第1の通信方式による前記インターネットとの接続及び前記第2の通信方式による前記外部装置との接続を前記情報処理装置が並行して確立したまま切り替えられ、
前記インターネット上のコンテンツが選択された場合、前記インターネット上のコンテンツが前記外部装置に送信されることを特徴とする請求項1乃至5のいずれか1項に記載のプログラム。
The state of the information processing apparatus changes from the second state to the first state in response to the start of display of a screen for receiving from the user an operation for selecting content on the Internet. The connection with the Internet by the first communication method and the connection with the external device by the second communication method are switched while the information processing device is established in parallel,
The program according to any one of claims 1 to 5, wherein when the content on the Internet is selected, the content on the Internet is transmitted to the external device.
前記インターネット上のコンテンツを選択するための操作をユーザから受け付けるための画面の表示が終了されることに応じて、前記情報処理装置の状態が、前記第1状態から、前記第2状態に、前記第1の通信方式による前記インターネットとの接続及び前記第2の通信方式による前記外部装置との接続を前記情報処理装置が並行して確立したまま切り替えられることを特徴とする請求項7に記載のプログラム。   The state of the information processing apparatus changes from the first state to the second state in response to termination of display of a screen for receiving from the user an operation for selecting content on the Internet. The connection according to the first communication system and the connection with the external device according to the second communication system can be switched in parallel while the information processing apparatus is established in parallel. program. 前記プログラムは、アプリケーションプログラムであることを特徴とする請求項1乃至8のいずれか1項に記載のプログラム。   The program according to any one of claims 1 to 8, wherein the program is an application program. 情報処理装置の制御方法であって、
前記情報処理装置は、
第1の通信方式によるインターネットとの接続及び第2の通信方式による外部装置との接続を前記情報処理装置が並行して確立している状態においては、前記第1の通信方式による前記インターネットとの通信が可能であり且つ前記第2の通信方式による前記外部装置との通信が可能でない第1状態で、前記第2の通信方式による前記外部装置との通信が可能であり且つ前記第1の通信方式による前記インターネットとの通信が可能でない第2状態より優先して前記情報処理装置を動作させるオペレーティングシステムを有し、
前記制御方法は、
前記第1状態で前記情報処理装置が動作している状態で、前記プログラムが起動することを特定する特定ステップと、
前記プログラムが起動することが特定されることに応じて、前記情報処理装置の状態を、前記第1状態から、前記第2状態に、前記第1の通信方式による前記インターネットとの接続及び前記第2の通信方式による前記外部装置との接続を前記情報処理装置が並行して確立したまま切り替える切り替えステップと、
前記第2状態で前記情報処理装置が動作している状態で、前記インターネット上のコンテンツ以外のデータを、前記第2の通信方式によって前記外部装置に送信する送信ステップと、を有することを特徴とする制御方法。
A control method of the information processing apparatus,
The information processing apparatus is
In a state in which the information processing apparatus establishes the connection with the Internet by the first communication method and the connection with the external device by the second communication method in parallel, the connection with the Internet by the first communication method In the first state in which communication is possible and communication with the external device by the second communication scheme is not possible, communication with the external device by the second communication scheme is possible and the first communication And an operating system that operates the information processing apparatus prior to the second state in which communication with the Internet is not possible according to the system.
The control method is
A specifying step of specifying that the program is activated while the information processing apparatus is operating in the first state;
The state of the information processing apparatus is changed from the first state to the second state according to the specified activation of the program from the first state to the second state, the connection with the Internet by the first communication method, and A switching step of switching the connection with the external device according to the second communication method while the information processing device is established in parallel;
And transmitting the data other than the content on the Internet to the external device according to the second communication method while the information processing apparatus is operating in the second state. Control method.
情報処理装置であって、
第1の通信方式によるインターネットとの接続及び第2の通信方式による外部装置との接続を前記情報処理装置が並行して確立している状態においては、前記第1の通信方式による前記インターネットとの通信が可能であり且つ前記第2の通信方式による前記外部装置との通信が可能でない第1状態で、前記第2の通信方式による前記外部装置との通信が可能であり且つ前記第1の通信方式による前記インターネットとの通信が可能でない第2状態より優先して前記情報処理装置を動作させるオペレーティングシステムと、
前記第1状態で前記情報処理装置が動作している状態で、前記プログラムが起動することを特定する特定ステップと、
前記プログラムが起動することが特定されることに応じて、前記情報処理装置の状態を、前記第1状態から、前記第2状態に、前記第1の通信方式による前記インターネットとの接続及び前記第2の通信方式による前記外部装置との接続を前記情報処理装置が並行して確立したまま切り替える切り替え手段と、
前記第2状態で前記情報処理装置が動作している状態で、前記インターネット上のコンテンツ以外のデータを、前記第2の通信方式によって前記外部装置に送信する送信手段と、を有することを特徴とする情報処理装置。
An information processing apparatus,
In a state in which the information processing apparatus establishes the connection with the Internet by the first communication method and the connection with the external device by the second communication method in parallel, the connection with the Internet by the first communication method In the first state in which communication is possible and communication with the external device by the second communication scheme is not possible, communication with the external device by the second communication scheme is possible and the first communication An operating system that operates the information processing apparatus prior to a second state in which communication with the Internet is not possible according to a system;
A specifying step of specifying that the program is activated while the information processing apparatus is operating in the first state;
The state of the information processing apparatus is changed from the first state to the second state according to the specified activation of the program from the first state to the second state, the connection with the Internet by the first communication method, and Switching means for switching the connection with the external device according to the second communication method while the information processing device has been established in parallel;
And transmitting means for transmitting data other than the content on the Internet to the external device according to the second communication method in a state in which the information processing apparatus is operating in the second state. Information processing device.
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 true JP2019115063A (en) 2019-07-11
JP2019115063A5 JP2019115063A5 (en) 2020-01-09
JP6896782B2 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)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012034100A (en) * 2010-07-29 2012-02-16 Brother Ind Ltd Communication control program and communication apparatus
JP2014207650A (en) * 2013-03-21 2014-10-30 カシオ計算機株式会社 Wireless communication terminal, and program
JP2015073249A (en) * 2013-10-04 2015-04-16 キヤノン株式会社 Communication device, control method of communication device, and program
JP2015114765A (en) * 2013-12-10 2015-06-22 キヤノン株式会社 Information processor, program, and control method
JP2015130637A (en) * 2014-01-09 2015-07-16 ブラザー工業株式会社 Communication apparatus and printer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012034100A (en) * 2010-07-29 2012-02-16 Brother Ind Ltd Communication control program and communication apparatus
JP2014207650A (en) * 2013-03-21 2014-10-30 カシオ計算機株式会社 Wireless communication terminal, and program
JP2015073249A (en) * 2013-10-04 2015-04-16 キヤノン株式会社 Communication device, control method of communication device, and program
JP2015114765A (en) * 2013-12-10 2015-06-22 キヤノン株式会社 Information processor, program, and control method
JP2015130637A (en) * 2014-01-09 2015-07-16 ブラザー工業株式会社 Communication apparatus and printer

Also Published As

Publication number Publication date
JP6896782B2 (en) 2021-06-30

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
JP5980258B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP6624792B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP6482279B2 (en) Information processing apparatus, control method, and program
JP6614763B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP6516491B2 (en) Communication apparatus, control method and program
JP6525771B2 (en) 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
JP2016025647A (en) Printing apparatus, control method for printing apparatus, and program
JP2016225827A (en) Information processor, control method and program
JP2020123989A (en) Information processing apparatus, application, control method of information processing apparatus, and program
JP7254991B2 (en) Information processing device, control method, and program
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
JP6407212B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP2019013035A (en) Information processing device, application, method of controlling information processing device, and program
JP2019075832A (en) Information processing apparatus, control method, and program
JP7289888B2 (en) Information processing device, application, control method and program for information processing device
US10966273B2 (en) Connection management apparatus and non-transitory computer readable medium
JP2020072470A (en) Communication device, control method of communication device, and program
JP2015129820A (en) Image forming apparatus, control method thereof, printing system, 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 Request for written amendment filed

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 Request for written amendment filed

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