JP7096805B2 - Printing equipment, its control method, and programs - Google Patents

Printing equipment, its control method, and programs Download PDF

Info

Publication number
JP7096805B2
JP7096805B2 JP2019204877A JP2019204877A JP7096805B2 JP 7096805 B2 JP7096805 B2 JP 7096805B2 JP 2019204877 A JP2019204877 A JP 2019204877A JP 2019204877 A JP2019204877 A JP 2019204877A JP 7096805 B2 JP7096805 B2 JP 7096805B2
Authority
JP
Japan
Prior art keywords
direct
communication mode
communication
wireless communication
lan interface
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
JP2019204877A
Other languages
Japanese (ja)
Other versions
JP2020074518A (en
Inventor
雅道 丹治
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2019204877A priority Critical patent/JP7096805B2/en
Publication of JP2020074518A publication Critical patent/JP2020074518A/en
Application granted granted Critical
Publication of JP7096805B2 publication Critical patent/JP7096805B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、印刷装置とその制御方法、及びプログラムに関するものである。 The present invention relates to a printing apparatus, a control method thereof, and a program .

近年、複合機やプリンタ等の印刷装置においても無線LAN機能を搭載した装置が増えてきている。無線LANを搭載した印刷装置は、アクセスポイントにクライアントとして無線接続する機能を備えているのが一般的である。一方、PCや携帯端末は、アクセスポイントを介して印刷装置と通信を行い、所望のデータを印刷装置に送信して印刷させたり、印刷装置から機器情報を受信して機器管理に利用している。 In recent years, the number of printing devices such as multifunction devices and printers equipped with a wireless LAN function is increasing. A printing device equipped with a wireless LAN generally has a function of wirelessly connecting to an access point as a client. On the other hand, PCs and mobile terminals communicate with a printing device via an access point to send desired data to the printing device for printing, or receive device information from the printing device and use it for device management. ..

一方で、近年、Wi-Fi AllianceによりWi-Fiダイレクト(登録商標)(以下、Wi-Fiダイレクトと呼ぶ)が制定された。このWi-Fiダイレクトでは、各無線端末がアクセスポイント或いはクライアントのいずれとして動作するかを決定するプロトコルが規定されている。このプロトコルを実行することにより、無線端末のどちらがアクセスポイントになり、どちらがクライアントになるかを自動的に決定できる。このWi-Fiダイレクトを使用することで、アクセスポイントを別途用意する必要がなくなり、無線端末同士で直接通信して各種のアプリケーションサービス(画像共有、印刷など)が実行可能となる。 On the other hand, in recent years, Wi-Fi Alliance has established Wi-Fi Direct (registered trademark) (hereinafter referred to as Wi-Fi Direct). This Wi-Fi Direct defines a protocol for determining whether each wireless terminal operates as an access point or a client. By executing this protocol, it is possible to automatically determine which of the wireless terminals will be the access point and which will be the client. By using this Wi-Fi Direct, it is not necessary to prepare an access point separately, and various application services (image sharing, printing, etc.) can be executed by directly communicating with each other.

上述のプロトコルを実行可能な印刷装置では、Wi-Fiダイレクトを用いた直接無線通信を行うか、第三者となるアクセスポイントを介して間接的に無線通信を行うかを、操作パネルなどからユーザが指示できるように構成されている。 In a printing device capable of executing the above protocol, the user can determine whether to perform direct wireless communication using Wi-Fi direct or indirectly wireless communication via an access point that is a third party from the operation panel or the like. Is configured to be able to instruct.

しかしながら、例えば間接的な無線通信の方式でPCなどの通信端末から印刷データを受信している最中に、Wi-Fiダイレクトを用いた直接無線通信への動作切り替えが指示された場合には問題が生じることがある。即ち、このような場合、直ちに切り替え処理を実行してしまうと、通信端末を操作しているユーザは、印刷を指示した印刷物が最後まで印刷されることなく途中で強制的に打ち切られる事態となる。そこで、このような問題を回避するためのアイデアが提案されている(例えば、特許文献1)。 However, for example, while receiving print data from a communication terminal such as a PC by an indirect wireless communication method, there is a problem when an operation switch to direct wireless communication using Wi-Fi direct is instructed. May occur. That is, in such a case, if the switching process is executed immediately, the user operating the communication terminal will be forced to cut off the printed matter instructed to print without being printed to the end. .. Therefore, an idea for avoiding such a problem has been proposed (for example, Patent Document 1).

特許文献1は、アクセスポイントを介して端末装置との無線通信を行うインフラストラクチャモードと、アクセスポイントを介さずに端末装置同士が直接1対1で無線通信を行うアドホックモードとを備えた印刷装置を記載している。そしてユーザによりインフラストラクチャモードからアドホックモードへの切り替えが指示された際に、現在インフラストラクチャモードで印刷データを受信中かどうかを判定し、そうであれば切り替えを行わず、その旨を表示部に表示してユーザへ通知する。 Patent Document 1 is a printing device including an infrastructure mode in which wireless communication with a terminal device is performed via an access point and an ad hoc mode in which the terminal devices directly perform one-to-one wireless communication without going through an access point. Is described. Then, when the user instructs to switch from the infrastructure mode to the ad hoc mode, it is determined whether or not print data is currently being received in the infrastructure mode. If so, the switch is not performed and the display unit indicates that effect. Display and notify the user.

特開2012-113349号公報Japanese Unexamined Patent Publication No. 2012-113349

しかしながら、印刷データの受信中以外にも、上述したモードの切り替えを行わない方が良いケースは存在する。その中には、印刷データの受信中とは異なり、ユーザにとって「今は切り替えを行わない方が良いタイミングである」とは、直ぐには判別できない場合も存在する。例えば、印刷装置がWi-Fiダイレクトで動作している場合、印刷装置には複数台の携帯端末が同時に接続可能である。従って、ある携帯端末のユーザがWi-Fiダイレクトによる印刷装置との接続を終了した場合でも、他の携帯端末のユーザはまだ印刷装置と接続中である可能性がある。そのときに接続を終了したユーザが、印刷装置をWi-Fiダイレクトでない、間接無線通信モードに切り替えてしまうと、他の携帯端末のユーザにとっては通信中に接続を切られる事態となってしまう。このような事態を回避するためには、ユーザは印刷装置のモードの切り替え操作を行う前に、その印刷装置の通信状態をチェックし、他にWi-Fiダイレクトを用いて接続中のユーザが存在しないことを確認する必要がある。このような確認を毎回行わなければいけないのは、ユーザにとって手間である。 However, there are cases where it is better not to switch the above-mentioned modes other than during reception of print data. In some cases, unlike the case where print data is being received, it may not be possible for the user to immediately determine that "it is better not to switch now". For example, when the printing device is operated by Wi-Fi direct, a plurality of mobile terminals can be connected to the printing device at the same time. Therefore, even if the user of one mobile terminal ends the connection with the printing device by Wi-Fi direct, the user of another mobile terminal may still be connected to the printing device. If the user who terminates the connection at that time switches the printing device to the indirect wireless communication mode other than Wi-Fi direct, the user of the other mobile terminal will be disconnected during the communication. In order to avoid such a situation, the user checks the communication status of the printing device before switching the mode of the printing device, and there is another user who is connected using Wi-Fi Direct. You need to make sure you don't. It is troublesome for the user to have to perform such confirmation every time.

本発明の目的は、上記従来技術の問題点を解決することにある。 An object of the present invention is to solve the above-mentioned problems of the prior art.

本発明の目的は、無線LANインターフェースを用いる機能の利用が開始されると、有線LANインターフェースの利用を停止する技術を提供することにある。 An object of the present invention is to provide a technique for stopping the use of a wired LAN interface when the use of a function using a wireless LAN interface is started .

上記目的を達成するために本発明の一態様に係る印刷装置は以下のような構成を備える。即ち、
有線LANインターフェースと、
通信端末との間で役割決定を行いアクセスポイント側の役割となった場合に前記通信端末に対してIPアドレスを割り当ててWi-Fiダイレクトによる無線通信を行うダイレクト通信機能に利用可能な無線LANインターフェースと、
記ダイレクト通信機能の利用を開始する指示を受け付けた場合に前記有線LANインターフェースの利用を停止した状態で前記Wi-Fiダイレクトを起動できるように、前記Wi-Fiダイレクトを起動するための前工程において、通信に使用されていない状態であるが利用中となっている前記有線LANインターフェースの利用を停止する処理を実行する手段と、を有することを特徴とする。
In order to achieve the above object, the printing apparatus according to one aspect of the present invention has the following configuration. That is,
Wired LAN interface and
A wireless LAN interface that can be used for the direct communication function that assigns an IP address to the communication terminal and performs wireless communication by Wi-Fi direct when the role is determined with the communication terminal and the role is on the access point side. When,
Before starting the Wi-Fi direct so that the Wi-Fi direct can be started while the use of the wired LAN interface is stopped when the instruction to start using the direct communication function is received. The process is characterized by having a means for executing a process of stopping the use of the wired LAN interface, which is not used for communication but is in use .

本発明によれば、無線LANインターフェースを用いる機能の利用が開始されると、有線LANインターフェースの利用を停止することが可能となる。 According to the present invention, when the use of the function using the wireless LAN interface is started, the use of the wired LAN interface can be stopped .

Wi-Fiダイレクトの処理シーケンスを説明する図(A)と、実施形態に係る通信システムの構成を示す図(B)。FIG. 3A is a diagram illustrating a Wi-Fi direct processing sequence, and FIG. 3B is a diagram showing a configuration of a communication system according to an embodiment. 本発明の実施形態に係る印刷装置のハードウェア構成を示すブロック図。The block diagram which shows the hardware composition of the printing apparatus which concerns on embodiment of this invention. 実施形態に係る印刷装置のソフトウェア構成を説明する機能ブロック図。The functional block diagram explaining the software structure of the printing apparatus which concerns on embodiment. 本実施形態に係る印刷装置の操作パネルの上面図。The top view of the operation panel of the printing apparatus which concerns on this embodiment. 実施形態1に係る印刷装置における通信モード切り替え処理を説明するフローチャート。The flowchart explaining the communication mode switching process in the printing apparatus which concerns on Embodiment 1. 図5のS502及びS509に示した状態確認サブルーチンを説明するフローチャート。The flowchart explaining the state confirmation subroutine shown in S502 and S509 of FIG. 図5のS511の通信モード切り替えサブルーチンを説明するフローチャート。The flowchart explaining the communication mode switching subroutine of S511 of FIG. 実施形態1に係る印刷装置の表示部に表示される追加指示の入力画面の一例を示す図(A)、「有線/無線LAN選択」メニュー画面の一例を示す図(B)、「無線LAN設定」メニュー画面の一例を示す図(C)。The figure (A) which shows an example of the input screen of the additional instruction displayed on the display part of the printing apparatus which concerns on Embodiment 1, the figure (B) which shows an example of the "wired / wireless LAN selection" menu screen, "wireless LAN setting". The figure (C) which shows an example of the menu screen. 本発明の実施形態3に係る状態確認サブルーチンを説明するフローチャート。The flowchart explaining the state confirmation subroutine which concerns on Embodiment 3 of this invention. 実施形態4に係る通信モード切り替えサブルーチンの処理を説明するフローチャート。The flowchart explaining the process of the communication mode switching subroutine which concerns on Embodiment 4. 図10のS1001でモード切替部から通信モード切り替え実行の通知を受けた際の、アプリケーション部310の処理を説明するフローチャート。FIG. 5 is a flowchart illustrating processing of the application unit 310 when a notification of communication mode switching execution is received from the mode switching unit in S1001 of FIG. 実施形態5に係る印刷装置のハードウェア構成を示すブロック図。The block diagram which shows the hardware composition of the printing apparatus which concerns on Embodiment 5. 実施形態5に係る印刷装置のソフトウェア構成を説明するブロック図。The block diagram explaining the software structure of the printing apparatus which concerns on Embodiment 5. 実施形態5に係る印刷装置100の操作パネルの上面図。Top view of the operation panel of the printing apparatus 100 according to the fifth embodiment. 実施形態5に係る印刷装置におけるLEDの点灯制御処理を説明するフローチャート。The flowchart explaining the LED lighting control processing in the printing apparatus which concerns on Embodiment 5. 実施形態5に係るLEDの点灯パターンを説明する図である。It is a figure explaining the lighting pattern of the LED which concerns on Embodiment 5.

以下、添付図面を参照して本発明の実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る本発明を限定するものでなく、また本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the following embodiments do not limit the present invention according to the scope of claims, and not all combinations of features described in the present embodiment are essential for the means for solving the present invention. ..

図1(A)は、Wi-Fiダイレクトの処理シーケンスを説明する図である。 FIG. 1A is a diagram illustrating a Wi-Fi direct processing sequence.

ここで印刷装置100と携帯端末110はどちらもWi-Fiダイレクトをサポートしているものとする。 Here, it is assumed that both the printing device 100 and the mobile terminal 110 support Wi-Fi Direct.

印刷装置100と携帯端末110は、まず初めに、S101で、周辺に、Wi-Fiダイレクトでの無線接続を試みている通信端末が他に存在しているかどうかを探索し、お互いを検出する。相手を検出するとS102で、どちらがアクセスポイント(GroupOwner)になり、どちらがクライアント(Client)になるかを決定する。ここでは、役割決定の結果、印刷装置100がアクセスポイントに、携帯端末110がクライアントになったとする。 First, the printing device 100 and the mobile terminal 110 search in S101 for another communication terminal that is trying to make a wireless connection by Wi-Fi direct, and detect each other. When the other party is detected, S102 determines which is the access point (GroupOwner) and which is the client (Client). Here, it is assumed that the printing device 100 becomes the access point and the mobile terminal 110 becomes the client as a result of the role determination.

次にS103で、WPS(Wi-Fi Protected Setup)を用いて、アクセスポイントである印刷装置100からクライアントの携帯端末110へ無線接続のためのパラメータを提供する。そしてS104で、そのパラメータを用いて、印刷装置100と携帯端末110との間で無線接続を行う。こうして無線接続が確立するとS105で、印刷装置100と携帯端末110との間でIP通信を行うためのアドレッシングを行う。その際、アクセスポイントである印刷装置100がDHCPサーバとしての役割を果たし、クライアントである携帯端末110に対して所定のIPアドレスを付与する。 Next, in S103, using WPS (Wi-Fi Protected Setup), parameters for wireless connection from the printing device 100, which is an access point, to the mobile terminal 110 of the client are provided. Then, in S104, a wireless connection is made between the printing device 100 and the mobile terminal 110 using the parameter. When the wireless connection is established in this way, addressing for IP communication between the printing device 100 and the mobile terminal 110 is performed in S105. At that time, the printing device 100, which is an access point, plays a role as a DHCP server, and a predetermined IP address is assigned to the mobile terminal 110, which is a client.

以上がWi-Fiダイレクトの基本的なシーケンスである。このシーケンスを実行することで、印刷装置100に搭載のアプリケーションサービスと、携帯端末110に搭載のアプリケーションサービスとの直接無線通信が可能となる。 The above is the basic sequence of Wi-Fi Direct. By executing this sequence, direct wireless communication between the application service mounted on the printing device 100 and the application service mounted on the mobile terminal 110 becomes possible.

図1(B)は、実施形態に係る通信システムの構成を示す図である。 FIG. 1B is a diagram showing a configuration of a communication system according to an embodiment.

ここでは印刷装置100と携帯端末110とはWi-Fiダイレクトで通信し、印刷装置100とサーバ120とは有線ではネットワークを介して、或いは無線ではインフラストラクチャモードでアクセスポイント130を介して通信する。尚、図1(B)では、有線による接続形態は示していない。 Here, the printing device 100 and the mobile terminal 110 communicate with each other by Wi-Fi direct, and the printing device 100 and the server 120 communicate with each other via a network in a wired manner or via an access point 130 in an infrastructure mode in a wireless manner. Note that FIG. 1B does not show a wired connection form.

図2は、本発明の実施形態に係る印刷装置100のハードウェア構成を示すブロック図である。 FIG. 2 is a block diagram showing a hardware configuration of the printing apparatus 100 according to the embodiment of the present invention.

CPU202を含む制御部201は、印刷装置100全体の動作を制御する。CPU202は、ROM204或いはHDD214に記憶されている制御プログラムをRAM203に展開し、そのプログラムを実行することにより通信制御等の各種制御を行う。RAM203は、CPU201の主メモリ、ワークエリア等として用いられる。HDD214は、データや各種プログラム、或いは各種情報テーブルを記憶する。プリンタI/F206は、プリンタ207(プリンタエンジン)に画像信号を出力するインターフェースを担う。またスキャナI/F208は、スキャナ209(スキャナエンジン)で原稿を読みって得られた画像信号を入力するインターフェースを担う。コピー動作時、CPU202は、スキャナI/F208より入力された画像信号を処理し、記録画像信号としてプリンタI/F206へ出力して印刷する。操作パネルI/F210は、操作パネル211と制御部201とを接続する。操作パネル211には、タッチパネル機能を有する表示部やキーボードなどが備えられている。操作パネル211の構成は図4を参照して後述する。 The control unit 201 including the CPU 202 controls the operation of the entire printing device 100. The CPU 202 expands a control program stored in the ROM 204 or the HDD 214 into the RAM 203, and executes the program to perform various controls such as communication control. The RAM 203 is used as the main memory of the CPU 201, a work area, and the like. HDD 214 stores data, various programs, and various information tables. The printer I / F 206 serves as an interface for outputting an image signal to the printer 207 (printer engine). Further, the scanner I / F 208 serves as an interface for inputting an image signal obtained by reading a document with a scanner 209 (scanner engine). During the copy operation, the CPU 202 processes the image signal input from the scanner I / F 208, outputs it as a recorded image signal to the printer I / F 206, and prints it. The operation panel I / F 210 connects the operation panel 211 and the control unit 201. The operation panel 211 is provided with a display unit having a touch panel function, a keyboard, and the like. The configuration of the operation panel 211 will be described later with reference to FIG.

無線LANI/F212は、無線で携帯端末110等の外部端末に情報を送信し、或いはそれら外部装置から各種情報を受信する。有線LANI/F213は、有線LAN(イーサネット)で外部端末(不図示)に情報を送信したり、或いはそれら外部装置から各種情報を受信する。制御部201内の各ブロックは、システムバス205により相互に接続されている。 The wireless LANI / F212 wirelessly transmits information to an external terminal such as a mobile terminal 110, or receives various information from those external devices. The wired LAN I / F 213 transmits information to an external terminal (not shown) via a wired LAN (Ethernet), or receives various information from those external devices. Each block in the control unit 201 is connected to each other by the system bus 205.

図3は、実施形態に係る印刷装置100のソフトウェア構成を説明する機能ブロック図である。図3に示す各機能部は、印刷装置100が有しているCPU202がROM204或いはHDD214からRAM203に展開された制御プログラムを実行することにより実現される。 FIG. 3 is a functional block diagram illustrating a software configuration of the printing apparatus 100 according to the embodiment. Each functional unit shown in FIG. 3 is realized by the CPU 202 of the printing apparatus 100 executing a control program expanded from the ROM 204 or the HDD 214 to the RAM 203.

操作制御部300は、操作パネル211を制御する。操作パネル211に操作メニューを表示してユーザからの指示入力を待ち受けたり、操作パネル211で受け付けた指示内容を他の機能部に通知したり、その指示結果を操作パネル211に表示する。記憶部301は、他の機能部からの指示により、指定されたデータをRAM203やHDD214に記憶したり、或いはそれらRAM203やHDD214に記憶しているデータを読み出す。 The operation control unit 300 controls the operation panel 211. The operation menu is displayed on the operation panel 211 to wait for an instruction input from the user, the instruction content received by the operation panel 211 is notified to other functional units, and the instruction result is displayed on the operation panel 211. The storage unit 301 stores the designated data in the RAM 203 or the HDD 214, or reads out the data stored in the RAM 203 or the HDD 214, according to an instruction from another functional unit.

モード切替部302は、印刷装置100の通信モードの切り替え処理を行う。通信モードには、有線LANで通信を行うモード(有線モード)と、無線LANで通信を行うモード(無線通信モード)が存在する。無線通信モードには更に、第一の無線通信モードと第二の無線通信モードが存在する。第一の無線通信モードは、印刷装置100がサーバ120或いは携帯端末110と無線通信する際に、アクセスポイント130を介して無線通信を行うモードである。第二の無線通信モードは、例えば、印刷装置100と携帯端末110とがWi-Fiダイレクト機能を用いて直接無線通信を行うモードである。第二の無線通信モードでは、印刷装置100が携帯端末110と通信する際に、印刷装置100及び携帯端末110のいずれかがアクセスポイント、他方がクライアントとして無線接続し、直接通信を行う。 The mode switching unit 302 performs a communication mode switching process of the printing device 100. The communication mode includes a mode in which communication is performed by a wired LAN (wired mode) and a mode in which communication is performed by a wireless LAN (wireless communication mode). The wireless communication mode further includes a first wireless communication mode and a second wireless communication mode. The first wireless communication mode is a mode in which when the printing device 100 wirelessly communicates with the server 120 or the mobile terminal 110, wireless communication is performed via the access point 130. The second wireless communication mode is, for example, a mode in which the printing device 100 and the mobile terminal 110 directly perform wireless communication using the Wi-Fi direct function. In the second wireless communication mode, when the printing device 100 communicates with the mobile terminal 110, either the printing device 100 or the mobile terminal 110 wirelessly connects as an access point and the other as a client to perform direct communication.

通信制御部303は、印刷装置100が携帯端末110等の外部装置と通信を行う際の通信制御を行う。具体的には、アプリケーション部310からの送信データを無線通信部307或いは有線通信部309に渡してネットワーク上に送出させる。また、無線通信部307或いは有線通信部309を介して受信した受信データをアプリケーション部310に渡す。 The communication control unit 303 performs communication control when the printing device 100 communicates with an external device such as a mobile terminal 110. Specifically, the transmission data from the application unit 310 is passed to the wireless communication unit 307 or the wired communication unit 309 to be transmitted on the network. Further, the received data received via the wireless communication unit 307 or the wired communication unit 309 is passed to the application unit 310.

無線通信モード制御部304は、無線通信モードの制御を行う。無線通信モード制御部304は更に第一の無線通信モード制御部305と第二の無線通信モード制御部306とを含んでいる。第一の無線通信モード制御部305は、印刷装置100が第一の無線通信モードで動作する際の通信制御を行う。第二の無線通信モード制御部306は、印刷装置100が第二の無線通信モード(Wi-Fiダイレクト)で動作する際の通信制御を行う。無線通信部307は、無線LANI/F212を制御し、印刷装置100が無線通信モードで動作している場合に、アプリケーション部310が携帯端末110等の外部装置と通信を行う際のデータの送受信を行う。 The wireless communication mode control unit 304 controls the wireless communication mode. The wireless communication mode control unit 304 further includes a first wireless communication mode control unit 305 and a second wireless communication mode control unit 306. The first wireless communication mode control unit 305 controls communication when the printing device 100 operates in the first wireless communication mode. The second wireless communication mode control unit 306 controls communication when the printing device 100 operates in the second wireless communication mode (Wi-Fi direct). The wireless communication unit 307 controls the wireless LANI / F212, and when the printing device 100 is operating in the wireless communication mode, the application unit 310 transmits / receives data when communicating with an external device such as a mobile terminal 110. conduct.

有線通信モード制御部308は有線モードでの通信制御を行う。有線通信部309は、有線LANI/F213を制御し、印刷装置100が有線モードで動作している場合に、アプリケーション部310が外部装置と通信を行う際のデータの送受信を行う。 The wired communication mode control unit 308 controls communication in the wired mode. The wired communication unit 309 controls the wired LANI / F 213, and when the printing device 100 is operating in the wired mode, the application unit 310 transmits / receives data when communicating with an external device.

アプリケーション部310は、印刷サービス311やストレージサービス312等の各種サービスを含んでいる。印刷サービス311は、無線通信部307或いは有線通信部309から受信した印刷データを、通信制御部303を介して受信し、当該印刷データをプリンタI/F206を介してプリンタ207に出力する。ストレージサービス312は、無線通信部307或いは有線通信部309から受信したデータを、通信制御部303を介して受信し、当該データをHDD214等のメモリに格納する。 The application unit 310 includes various services such as a print service 311 and a storage service 312. The print service 311 receives the print data received from the wireless communication unit 307 or the wired communication unit 309 via the communication control unit 303, and outputs the print data to the printer 207 via the printer I / F 206. The storage service 312 receives the data received from the wireless communication unit 307 or the wired communication unit 309 via the communication control unit 303, and stores the data in a memory such as the HDD 214.

尚、ここで、有線モードと第一の無線通信モード及び第二の無線通信モードのうちいずれか2つ以上のモードを同時に動作させるためには、アプリケーション部310及び通信制御部303が複数モードの同時動作に対応している必要がある。しかしながら、印刷装置の中には、搭載しているアプリケーション部310や通信制御部303が複数モードの同時動作に対応していないものも存在する。そのような印刷装置では、有線モードと第一の無線通信モード及び第二の無線通信モードは、排他的で、いずれか1つのモードのみが動作可能となる。この場合、その印刷装置をいずれの通信モードで動作させるかは、操作パネル211を介してユーザが選択できる。 Here, in order to simultaneously operate any two or more modes of the wired mode, the first wireless communication mode, and the second wireless communication mode, the application unit 310 and the communication control unit 303 have a plurality of modes. It is necessary to support simultaneous operation. However, in some printing devices, the on-board application unit 310 and communication control unit 303 do not support simultaneous operation of a plurality of modes. In such a printing device, the wired mode and the first wireless communication mode and the second wireless communication mode are exclusive, and only one of the modes can operate. In this case, the user can select in which communication mode the printing device is to be operated via the operation panel 211.

図4(A)は、本実施形態に係る印刷装置100の操作パネル211の上面図である。 FIG. 4A is a top view of the operation panel 211 of the printing apparatus 100 according to the present embodiment.

本実施形態に係る印刷装置100は、スキャナ209によるスキャン機能や、プリンタ207とスキャナ209によるコピー機能などを有するものとする。加えて、無線LANI/F212や有線LANI/F213で、端末装置110等の外部装置から指示を受けた印刷(プリント)を行う機能も有する。 It is assumed that the printing apparatus 100 according to the present embodiment has a scanning function by the scanner 209, a copying function by the printer 207 and the scanner 209, and the like. In addition, the wireless LANI / F212 and the wired LANI / F213 also have a function of performing printing in response to an instruction from an external device such as a terminal device 110.

次に、操作パネル211について説明する。 Next, the operation panel 211 will be described.

操作パネル211には、上述した機能を選択するキーであるコピー機能ボタン401とスキャン機能ボタン402があり、ユーザは使用したい機能のボタンを押下する。また、印刷装置100の設定状態や機器状態をユーザに通知するための表示部403を有する。矢印キー404は、表示部403に表示されたカーソル等の移動に用いられる。矢印キー404には、上下左右4つ方向のボタンがある。矢印キーの中央にはOKキー405が配置され、OKキー405は設定や問い合わせに対する「決定キー」の機能を有する。例えば、コピーの設定(用紙サイズ)を変更したい場合、コピー機能ボタン401を押下してコピー機能画面に入り、矢印キー404で変更したい項目(用紙サイズ)を選んでOKキー405を押下すると、選択可能な設定画面に遷移する。そして、ユーザは、その設定画面で矢印キー404を操作して所望の設定の位置にカーソルを移動させ、OKキー405を押すことで設定を確定できる。コピー部数等の数値入力には、ユーザはテンキー406を用いる。 The operation panel 211 has a copy function button 401 and a scan function button 402, which are keys for selecting the above-mentioned function, and the user presses a button of the function to be used. Further, it has a display unit 403 for notifying the user of the setting state and the device state of the printing device 100. The arrow key 404 is used to move the cursor or the like displayed on the display unit 403. The arrow key 404 has buttons in four directions, up, down, left, and right. The OK key 405 is arranged in the center of the arrow keys, and the OK key 405 has a function of a "decision key" for setting and inquiry. For example, if you want to change the copy setting (paper size), press the copy function button 401 to enter the copy function screen, select the item (paper size) you want to change with the arrow keys 404, and press the OK key 405 to select it. Transit to a possible setting screen. Then, the user can confirm the setting by operating the arrow key 404 on the setting screen, moving the cursor to the position of the desired setting, and pressing the OK key 405. The user uses the numeric keypad 406 to input numerical values such as the number of copies.

コピーやスキャンのスタートを指示するキーとして、白黒スタートキー407やカラースタートキー408がある。本実施形態ではカラーコピー機能を想定してカラースタートキー408を図示している。一方、モノクロ読み取り機能、或いはモノクロ印刷機能しか有さない印刷装置では、スタートキーは白黒スタートキー407のみでも構わない。更に、原稿を読み取った時にカラー原稿かモノクロ原稿かを判別可能な機能を有する印刷装置においても、図に示すスタートキーに限らない。ストップキー409は、各機能の動作を停止させる指示を行うキーである。一方、動作を停止させる手段として、ユーザは、状態確認/中止キー410を操作し、印刷装置100で行っている処理の状態確認画面を表示させ、その状態確認画面で、中止させたい処理を選択して、その処理を停止させることができる。その場合も、選択・決定には前述の矢印キー404とOKキー405を用いる。 There are a black-and-white start key 407 and a color start key 408 as keys for instructing the start of copying or scanning. In this embodiment, the color start key 408 is illustrated assuming a color copy function. On the other hand, in a printing device having only a monochrome reading function or a monochrome printing function, the start key may be only the monochrome start key 407. Further, even in a printing apparatus having a function of discriminating between a color document and a monochrome document when the document is read, the key is not limited to the start key shown in the figure. The stop key 409 is a key that gives an instruction to stop the operation of each function. On the other hand, as a means for stopping the operation, the user operates the status confirmation / stop key 410 to display the status confirmation screen of the processing performed by the printing apparatus 100, and selects the processing to be canceled on the status confirmation screen. Then, the process can be stopped. Also in that case, the above-mentioned arrow keys 404 and OK key 405 are used for selection / determination.

尚、ここで、図4(A)の表示部403には、ユーザが矢印キー404やOKキー405を操作してメニュー階層を遷移させた結果、有線モードと無線通信モードを切り替えるためのメニュー項目が表示されている状態を例示している。「有線/無線LAN選択」のメニュー項目には、「有線LAN」と「無線LAN」の2つの選択メニューが表示されている。ここで、ユーザが「有線LAN」にカーソルを移動してOKキー405を押下すると、印刷装置100は有線モードでの動作を開始することになる。 Here, on the display unit 403 of FIG. 4A, a menu item for switching between the wired mode and the wireless communication mode as a result of the user operating the arrow keys 404 and the OK key 405 to change the menu hierarchy. Is illustrated. In the menu item of "wired / wireless LAN selection", two selection menus of "wired LAN" and "wireless LAN" are displayed. Here, when the user moves the cursor to the "wired LAN" and presses the OK key 405, the printing device 100 starts operating in the wired mode.

一方、図4(A)に示すように、ユーザが矢印キー404を操作して「無線LAN」にカーソルを移動した状態でOKキー405を押下する。これにより印刷装置100は無線通信モードでの動作を開始して、更に、表示部403には図4(B)に示す「無線LAN設定」メニューが表示される。 On the other hand, as shown in FIG. 4A, the user operates the arrow key 404 to move the cursor to the "wireless LAN" and presses the OK key 405. As a result, the printing device 100 starts operating in the wireless communication mode, and the display unit 403 further displays the "wireless LAN setting" menu shown in FIG. 4B.

図4(B)に示す「無線LAN設定」メニューには、「Wi-Fi Direct接続」、「AP接続」という選択メニューが表示されている。ここでユーザが図4(B)に示すように、「Wi-Fi Direct接続」にカーソルを移動してOKキー405を押下すると、印刷装置100は第二の無線通信モードで通信動作を開始する。またユーザが「AP接続」にカーソルを移動した状態でOKキー405を押下すると、印刷装置100は第一の無線通信モードで通信動作を開始する。 In the "wireless LAN setting" menu shown in FIG. 4B, selection menus of "Wi-Fi Direct connection" and "AP connection" are displayed. Here, as shown in FIG. 4B, when the user moves the cursor to "Wi-Fi Direct connection" and presses the OK key 405, the printing device 100 starts the communication operation in the second wireless communication mode. .. When the user presses the OK key 405 while the cursor is moved to "AP connection", the printing device 100 starts the communication operation in the first wireless communication mode.

[実施形態1]
図5は、実施形態1に係る印刷装置100における通信モードの切り替え処理を説明するフローチャートである。図において、S501~S512は各処理ステップを示す。また各ステップに対応する制御手順をCPU202に実行させるプログラムは、実行時に制御部201のRAM203に展開されており、そのプログラムをCPU202が実行することにより、この処理が達成される。
[Embodiment 1]
FIG. 5 is a flowchart illustrating a communication mode switching process in the printing apparatus 100 according to the first embodiment. In the figure, S501 to S512 indicate each processing step. Further, a program for causing the CPU 202 to execute the control procedure corresponding to each step is expanded in the RAM 203 of the control unit 201 at the time of execution, and this process is achieved by the CPU 202 executing the program.

まずS501でCPU202は、操作制御部300からユーザが、例えば図4(A)の操作パネル211の画面で行った通信モードの切り替え指示を受信する。この処理は、モード切替部302の処理に相当する。次にS502に進みCPU202は、印刷装置100の現在の通信状態を確認する状態確認サブルーチンを実行する。この状態確認サブルーチンの詳細は、図6のフローチャートを参照して後述する。 First, in S501, the CPU 202 receives from the operation control unit 300, for example, a communication mode switching instruction given by the user on the screen of the operation panel 211 of FIG. 4A. This process corresponds to the process of the mode switching unit 302. Next, the process proceeds to S502, and the CPU 202 executes a status confirmation subroutine for confirming the current communication status of the printing device 100. The details of this state confirmation subroutine will be described later with reference to the flowchart of FIG.

次にS503に進みCPU202は、S502の状態確認サブルーチンの結果に基づいて、印刷装置100が通信モードの切り替えが実行可能な状態かどうかを判定する。ここでCPU202は通信モードの切り替えが可能と判定した場合はS511に処理を進め、通信モード切り替えのサブルーチンを実行する。この通信モード切り替えサブルーチンの詳細は図7を参照して後述する。そしてS511で通信モードの切り替えが完了するとS512に処理を進め、CPU202は、操作制御部300を介して表示部403に、通信モードの切り替えが完了したことを表示して、この処理を終了する。 Next, the process proceeds to S503, and the CPU 202 determines whether or not the printing device 100 can execute the switching of the communication mode based on the result of the state confirmation subroutine of S502. Here, when the CPU 202 determines that the communication mode can be switched, the process proceeds to S511 and the subroutine for switching the communication mode is executed. The details of this communication mode switching subroutine will be described later with reference to FIG. 7. Then, when the switching of the communication mode is completed in S511, the process proceeds to S512, and the CPU 202 displays to the display unit 403 via the operation control unit 300 that the switching of the communication mode is completed, and ends this process.

一方、S503でCPU202が通信モードの切り替えが不可と判定した場合はS504に処理を進め、CPU202は、追加指示の入力をユーザに求める画面を、操作制御部300を介して表示部403に表示する。そしてS505でCPU202は、操作制御部300を介してユーザの追加指示を受信するのを待ち受ける。 On the other hand, if the CPU 202 determines in S503 that the communication mode cannot be switched, the process proceeds to S504, and the CPU 202 displays a screen asking the user to input an additional instruction on the display unit 403 via the operation control unit 300. .. Then, in S505, the CPU 202 waits for receiving the additional instruction of the user via the operation control unit 300.

図8(A)は、実施形態1に係る印刷装置100の表示部403に表示される追加指示の入力画面の一例を示す図である。 FIG. 8A is a diagram showing an example of an input screen for additional instructions displayed on the display unit 403 of the printing apparatus 100 according to the first embodiment.

この入力画面は、通信モードの切り替えを指示したユーザに対して、現在通信中の他ユーザが存在する可能性を通知し、それでも切り替え操作を続行するのかを確認するための画面である。ユーザは「今すぐ切り替えを行う」801、「通信完了まで切り替えを待機する」802、「切り替えを行わない」803のいずれかを選択する必要がある。この画面で、ユーザがいずれかの選択メニューを選んでOKキー405を押下すると、その情報は操作制御部300を介してモード切替部302に伝えられる。これによりS505からS506に処理が進む。 This input screen is a screen for notifying the user who has instructed to switch the communication mode of the possibility that another user currently communicating may exist, and confirming whether to continue the switching operation. The user needs to select one of "switch now" 801 "wait for switching until communication is completed" 802, and "do not switch" 803. When the user selects one of the selection menus on this screen and presses the OK key 405, the information is transmitted to the mode switching unit 302 via the operation control unit 300. As a result, the process proceeds from S505 to S506.

S506で、CPU202は、「今すぐ切り替えを行う」801が選択されたかどうかを判定する。「今すぐ切り替えを行う」801が選択された場合、CPU202はS511に処理を進め、モード切り替えサブルーチンを実行する。そして、モード切り替えが完了した旨を、操作制御部300を介して表示部403に表示(S512)して、この処理を終了する。 In S506, the CPU 202 determines whether "Switch Now" 801 is selected. When "Switch now" 801 is selected, the CPU 202 proceeds to S511 and executes a mode switching subroutine. Then, the fact that the mode switching is completed is displayed on the display unit 403 via the operation control unit 300 (S512), and this process is terminated.

一方S506でCPU202は、「今すぐ切り替えを行う」801が選択されていないと判定するとS507に処理を進め、「通信完了まで切り替えを待機する」802が選択されたかどうかを判定する。「通信完了まで切り替えを待機する」802が選択された場合はS509に処理を進め、CPU202は状態確認サブルーチンを再実行して、印刷装置100の現在の通信状態を確認する。尚、ここで実行する状態確認サブルーチンはS502で実行した内容と同一である。そしてS510に進みCPU202は、印刷装置100がモード切り替え可能な状態かどうかを判定し、通信モードの切り替えが不可の状態の場合はS509に戻り、以降、通信モードが切り替え可能な状態となるまで待ち続ける。こうして通信モードが切り替え可能な状態になったと判定するとS511に処理を進め、モード切り替えサブルーチンを実行する。そして前述したように、S512で通信モードの切り替えが完了した旨を、操作制御部300を介して表示部403に表示して、この処理を終了する。 On the other hand, in S506, when the CPU 202 determines that "Switch now" 801 is not selected, it proceeds to S507 and determines whether "Wait for switching until communication is completed" 802 is selected. When "waiting for switching until communication is completed" 802 is selected, the process proceeds to S509, and the CPU 202 re-executes the status confirmation subroutine to confirm the current communication status of the printing device 100. The state confirmation subroutine executed here is the same as the content executed in S502. Then, the process proceeds to S510, and the CPU 202 determines whether or not the printing device 100 is in a mode switchable state, returns to S509 if the communication mode cannot be switched, and then waits until the communication mode can be switched. continue. When it is determined that the communication mode can be switched in this way, the process proceeds to S511 and the mode switching subroutine is executed. Then, as described above, the fact that the communication mode switching is completed in S512 is displayed on the display unit 403 via the operation control unit 300, and this process is terminated.

一方、S505でユーザが選択したのが「切り替えを行わない」803であったときはS507からS508に進み、CPU202は通信モードの切り替えを行わない。そして、操作制御部300を介して表示部403に、通信モードの切り替えを中止した旨を表示して、この処理を終了する。 On the other hand, when the user selects "do not switch" 803 in S505, the process proceeds from S507 to S508, and the CPU 202 does not switch the communication mode. Then, the display unit 403 is displayed via the operation control unit 300 to the effect that the switching of the communication mode has been stopped, and this process is terminated.

図6は、図5のS502及びS509に示した状態確認サブルーチンを説明するフローチャートである。 FIG. 6 is a flowchart illustrating the state confirmation subroutine shown in S502 and S509 of FIG.

先ずS601でCPU202は、アプリケーション部310の中のサービスで、現在、携帯端末110などの通信端末と通信セッションを確立中のサービスが存在するか否かを通信制御部303に問い合わせて判定する。ここで通信セッションを確立中のサービスがあると判定するとS602に処理を進め、CPU202は、通信モードの切り替えが不可な状態であると判断して、このサブルーチンの処理を終了する。尚、S602では、この判断結果を示す情報をRAM203に記憶する。これにより後続の処理で、このRAM203に記憶された情報を参照して、通信モードの切替が可能かどうかを判定できる。 First, in S601, the CPU 202 inquires of the communication control unit 303 whether or not there is a service in the application unit 310 that is currently establishing a communication session with a communication terminal such as a mobile terminal 110 to determine. If it is determined that there is a service for which a communication session is being established, the process proceeds to S602, and the CPU 202 determines that the communication mode cannot be switched and ends the process of this subroutine. In S602, information indicating this determination result is stored in the RAM 203. As a result, in the subsequent processing, it is possible to determine whether or not the communication mode can be switched by referring to the information stored in the RAM 203.

一方S601で通信セッションを確立中のサービスが存在しないと判定した場合はS603に処理を進め、CPU202は、記憶部301からモード情報を取得し、現在有効なモードが第二の無線通信モードかどうかを判定する。現在有効なモードが第二の無線通信モードでない、即ち、有線モードもしくは第一の無線通信モードであると判定した場合、CPU202はS605に処理を進める。S605でCPU202は、通信モードの切り替えが可能な状態であるものと判断して、この処理を終了する。尚、S605でも、S602と同様に、この判断結果を示す情報をRAM203に記憶して、後続の処理で、このRAM203に記憶された情報を参照できるようにする。 On the other hand, if it is determined in S601 that the service for which the communication session is being established does not exist, the process proceeds to S603, the CPU 202 acquires the mode information from the storage unit 301, and whether the currently valid mode is the second wireless communication mode. To judge. If it is determined that the currently valid mode is not the second wireless communication mode, that is, the wired mode or the first wireless communication mode, the CPU 202 proceeds to S605. In S605, the CPU 202 determines that the communication mode can be switched, and ends this process. In S605 as well, as in S602, the information indicating the determination result is stored in the RAM 203 so that the information stored in the RAM 203 can be referred to in the subsequent processing.

一方、S603でCPU202が、現在有効な通信モードが第二の無線通信モードであると判定した場合はS604に処理を進める。S604でCPU202は、第二の無線通信モードで印刷装置100と直接無線接続中の携帯端末110などの通信端末が存在するか否かを第二の無線通信モード制御部306に問い合わせる。S604でCPU202が、接続中の通信端末が存在すると判定した場合は、CPU202は通信モードの切り替えが不可の状態であると判定してS602に処理を進める。S602でCPU202は、通信モードの切り替えが不可な状態であると判断して、このサブルーチンの処理を終了する。 On the other hand, if the CPU 202 determines in S603 that the currently valid communication mode is the second wireless communication mode, the process proceeds to S604. In S604, the CPU 202 inquires the second wireless communication mode control unit 306 whether or not there is a communication terminal such as a mobile terminal 110 that is directly wirelessly connected to the printing device 100 in the second wireless communication mode. When the CPU 202 determines in S604 that a connected communication terminal exists, the CPU 202 determines that the communication mode cannot be switched and proceeds to S602. In S602, the CPU 202 determines that the communication mode cannot be switched, and ends the processing of this subroutine.

またS604でCPU202が、無線接続中の通信端末が存在しないと判定するとS605に処理を進め、CPU202は、通信モードの切り替えが可能な状態であると判定して、このサブルーチンの処理を終了する。 Further, when the CPU 202 determines in S604 that the communication terminal being wirelessly connected does not exist, the process proceeds to S605, and the CPU 202 determines that the communication mode can be switched and ends the process of this subroutine.

図7は、図5のS511のモード切り替えサブルーチンを説明するフローチャートである。 FIG. 7 is a flowchart illustrating the mode switching subroutine of S511 of FIG.

まずS701でCPU202は、通信制御部303を停止する。これにより、アプリケーション部310の各サービスは携帯端末110などの通信端末と通信を行えない状態となる。次にS702に進みCPU202は、記憶部301から通信モード情報を取得し、どの通信モードからどの通信モードへの移行要求であるかを判定する。ここで有線通信モードから無線通信モード(もしくは、無線通信モードから有線通信モード)への切り替えの場合はS703に処理を進め、有線通信モード制御部308(もしくは無線通信モード制御部304)の動作を停止する。有線通信モード制御部308を停止すると、有線通信部309は有線通信を行わない状態となる。また無線通信モード制御部304を停止した場合、印刷装置100はアクセスポイントや携帯端末110との無線接続が切断された状態となり、無線通信部307は無線通信を行わない状態となる。こうしてS704に進みCPU202は、有線通信部309(もしくは無線通信部307)を停止する。これにより、有線LANI/F213(もしくは無線LANI/F212)への電力供給も停止される。 First, in S701, the CPU 202 stops the communication control unit 303. As a result, each service of the application unit 310 cannot communicate with a communication terminal such as the mobile terminal 110. Next, the process proceeds to S702, and the CPU 202 acquires the communication mode information from the storage unit 301, and determines which communication mode is the transition request to which communication mode. Here, in the case of switching from the wired communication mode to the wireless communication mode (or from the wireless communication mode to the wired communication mode), the process proceeds to S703, and the operation of the wired communication mode control unit 308 (or the wireless communication mode control unit 304) is performed. Stop. When the wired communication mode control unit 308 is stopped, the wired communication unit 309 is in a state of not performing wired communication. When the wireless communication mode control unit 304 is stopped, the printing device 100 is in a state in which the wireless connection with the access point or the mobile terminal 110 is disconnected, and the wireless communication unit 307 is in a state in which wireless communication is not performed. In this way, the process proceeds to S704, and the CPU 202 stops the wired communication unit 309 (or the wireless communication unit 307). As a result, the power supply to the wired LANI / F213 (or wireless LANI / F212) is also stopped.

次にCPU202はS705に処理を進め、無線通信部307(もしくは有線通信部309)を起動する。これにより、無線LANI/F212(もしくは有線LANI/F213)への電力供給が開始される。そしてS706に進みCPU202は、無線通信モード制御部304(もしくは有線通信モード制御部308)を起動する。無線通信モード制御部304を起動した場合、無線通信部307は無線通信が可能な状態となる。これにより、ユーザによる切り替え指示内容に応じて、第一の無線通信モードが選択されている場合は第一の無線通信モード制御部305が、第二の無線通信モードが選択されている場合は第二の無線通信モード制御部306が起動する。そして、その起動した無線通信モードで通信端末と無線接続を行うことになる。一方、有線通信モード制御部308を起動した場合、有線通信部309は有線通信が可能な状態となる。そしてCPU202はS707に処理を進め、通信制御部303を起動する。これにより、アプリケーション部310の各サービスは、切り替え後の新たな通信モードで、携帯端末110などの通信端末との通信が可能な状態となる。最後にS708でCPU202は、記憶部301に記憶する通信モード情報を最新の情報に更新して、このサブルーチンの処理を終了する。 Next, the CPU 202 proceeds to S705 and activates the wireless communication unit 307 (or the wired communication unit 309). As a result, the power supply to the wireless LANI / F212 (or the wired LANI / F213) is started. Then, the process proceeds to S706, and the CPU 202 activates the wireless communication mode control unit 304 (or the wired communication mode control unit 308). When the wireless communication mode control unit 304 is activated, the wireless communication unit 307 is in a state where wireless communication is possible. As a result, according to the content of the switching instruction by the user, the first wireless communication mode control unit 305 is selected when the first wireless communication mode is selected, and the second wireless communication mode is selected when the second wireless communication mode is selected. The second wireless communication mode control unit 306 is activated. Then, a wireless connection is made with the communication terminal in the activated wireless communication mode. On the other hand, when the wired communication mode control unit 308 is activated, the wired communication unit 309 is in a state where wired communication is possible. Then, the CPU 202 advances the processing to S707 and activates the communication control unit 303. As a result, each service of the application unit 310 is in a state of being able to communicate with a communication terminal such as a mobile terminal 110 in a new communication mode after switching. Finally, in S708, the CPU 202 updates the communication mode information stored in the storage unit 301 to the latest information, and ends the processing of this subroutine.

一方、S702でCPU202が、第一の無線通信モードから第二の無線通信モード(もしくは、第二の無線通信モードから第一の無線通信モード)への切り替えと判定した場合はS709に処理を進める。S709でCPU202は、第一の無線通信モード制御部305(もしくは第二の無線通信モード制御部306)を停止する。ここで第一の無線通信モード制御部305を停止した場合は、印刷装置100がクライアントとして接続中の、印刷装置100及び携帯端末110とは異なるアクセスポイントとの間の無線接続が切断されることになる。一方、第二の無線通信モード制御部306を停止した場合は、携帯端末110との第二の無線通信モードを用いた無線接続が切断されることになる。そしてCPU202はS710に処理を進め、第二の無線通信モード制御部306(もしくは第一の無線通信モード制御部305)を起動し、いずれか選択された方の無線通信モードで通信端末と無線接続を行う。その後CPU202はS707に処理を進め、通信制御部303を起動する。これにより、アプリケーション部310の各サービスは、切り替え後の新たな通信モードで、携帯端末110などの通信端末との通信が可能な状態となる。そしてS708で記憶部301に記憶するモード情報を最新の情報に更新して、このサブルーチンの処理を終了する。 On the other hand, if the CPU 202 determines in S702 to switch from the first wireless communication mode to the second wireless communication mode (or from the second wireless communication mode to the first wireless communication mode), the process proceeds to S709. .. In S709, the CPU 202 stops the first wireless communication mode control unit 305 (or the second wireless communication mode control unit 306). If the first wireless communication mode control unit 305 is stopped here, the wireless connection between the printing device 100 and the access point different from the mobile terminal 110 to which the printing device 100 is connected as a client is disconnected. become. On the other hand, when the second wireless communication mode control unit 306 is stopped, the wireless connection with the mobile terminal 110 using the second wireless communication mode is disconnected. Then, the CPU 202 proceeds to S710, activates the second wireless communication mode control unit 306 (or the first wireless communication mode control unit 305), and wirelessly connects to the communication terminal in the wireless communication mode of whichever is selected. I do. After that, the CPU 202 proceeds to S707 and activates the communication control unit 303. As a result, each service of the application unit 310 is in a state of being able to communicate with a communication terminal such as a mobile terminal 110 in a new communication mode after switching. Then, the mode information stored in the storage unit 301 is updated to the latest information in S708, and the processing of this subroutine is terminated.

以上説明したように実施形態1によれば、印刷装置100の通信モードを切り替えるべきではないタイミングでユーザが通信モードの切り替えを指示した場合には、その旨をユーザに通知し、切り替え操作を継続するかを、ユーザに再確認することが可能となる。これにより、切り替え指示を行うユーザにとっては、印刷装置100が切り替え可能な状態であるかを事前に自分で確認する必要がなくなり、操作が簡単となる。更には、他のユーザにとっても自身の作業が突然強制的に中断されてしまう事態を回避できるという効果がある。 As described above, according to the first embodiment, when the user instructs the user to switch the communication mode at the timing when the communication mode of the printing apparatus 100 should not be switched, the user is notified to that effect and the switching operation is continued. It is possible to reconfirm with the user whether or not to do so. As a result, the user who gives the switching instruction does not need to confirm in advance whether the printing device 100 is in a switchable state, which simplifies the operation. Further, there is an effect that it is possible for other users to avoid a situation in which their work is suddenly forcibly interrupted.

[実施形態2]
次に、本発明に係る実施形態2について説明する。前述の実施形態1に係る印刷装置100のモード切替部302では、操作制御部300からユーザによる通信モードの切り替え指示を受信した時点で図6に示す状態確認サブルーチンを実行していた。
[Embodiment 2]
Next, the second embodiment according to the present invention will be described. The mode switching unit 302 of the printing apparatus 100 according to the first embodiment executes the state confirmation subroutine shown in FIG. 6 when the user receives a communication mode switching instruction from the operation control unit 300.

これに対して実施形態2では、操作制御部300からユーザによる通信モードの切り替え指示を受信する前に、この状態確認サブルーチンを実行する。そして、この状態確認の結果、通信モードの切り替えが不可の状態であると判定した場合には、ユーザによる通信モードの切り替え指示が行えないように操作制御部300を制御する。以下、詳しく説明する。尚実施形態2に係る印刷装置100の構成及びシステムは、前述の実施形態1と同様であるため、その説明を省略する。 On the other hand, in the second embodiment, this state confirmation subroutine is executed before receiving the communication mode switching instruction by the user from the operation control unit 300. Then, as a result of this state confirmation, when it is determined that the communication mode cannot be switched, the operation control unit 300 is controlled so that the user cannot give an instruction to switch the communication mode. Hereinafter, it will be described in detail. Since the configuration and system of the printing apparatus 100 according to the second embodiment are the same as those of the first embodiment, the description thereof will be omitted.

図8(B)は、本発明の実施形態2に係る印刷装置100の表示部403に表示される「有線/無線LAN選択」メニュー画面の一例を示す図である。 FIG. 8B is a diagram showing an example of a “wired / wireless LAN selection” menu screen displayed on the display unit 403 of the printing apparatus 100 according to the second embodiment of the present invention.

実施形態2に係る「有線/無線LAN選択」メニューには、前述の実施形態1と同様に「有線LAN」、「無線LAN」という選択メニューが表示されている。実施形態2では、「有線/無線LAN選択」メニューに遷移する際に、モード切替部302が図6に示す状態確認サブルーチンを実行した結果、現在は、通信モードの切り替え不可の状態であったとする。またモード切替部302が記憶部301から通信モード情報を取得した結果、現在、印刷装置100は有線モードで動作している状態であったとする。これによりモード切替部302は、操作制御部300に状態確認結果を通知し、操作制御部300は表示部403の「無線LAN」メニューをグレーアウトして表示する。こうして、通信モードの切り替え不可の状態でユーザが有線モードから無線モードへの切り替え操作を指示することができないように制御する。 In the "wired / wireless LAN selection" menu according to the second embodiment, the selection menus "wired LAN" and "wireless LAN" are displayed as in the above-described first embodiment. In the second embodiment, it is assumed that the communication mode cannot be switched at present as a result of the mode switching unit 302 executing the state confirmation subroutine shown in FIG. 6 when transitioning to the "wired / wireless LAN selection" menu. .. Further, it is assumed that the printing device 100 is currently operating in the wired mode as a result of the mode switching unit 302 acquiring the communication mode information from the storage unit 301. As a result, the mode switching unit 302 notifies the operation control unit 300 of the status confirmation result, and the operation control unit 300 grays out and displays the "wireless LAN" menu of the display unit 403. In this way, it is controlled so that the user cannot instruct the operation of switching from the wired mode to the wireless mode in the state where the communication mode cannot be switched.

同様に、もし印刷装置100が無線通信モードで動作している状態であった場合には、「無線LAN」メニューは選択可能な状態で表示され、「有線LAN」メニューがグレーアウトして表示されることとなる。 Similarly, if the printing device 100 is operating in the wireless communication mode, the "wireless LAN" menu is displayed in a selectable state, and the "wired LAN" menu is grayed out. It will be.

更に、図8(C)は、本発明の実施形態2に係る印刷装置100の表示部403に表示される「無線LAN設定」メニュー画面の一例を示す図である。 Further, FIG. 8C is a diagram showing an example of a “wireless LAN setting” menu screen displayed on the display unit 403 of the printing apparatus 100 according to the second embodiment of the present invention.

実施形態2に係る「無線LAN設定」メニューには、前述の実施形態1と同様に「Wi-Fi Direct接続」と「AP接続」という選択メニューが表示されている。しかしながらこの実施形態2では、「無線LAN設定」メニューに遷移する際に、モード切替部302が図6に示す状態確認サブルーチンを実行した結果、現在は通信モードの切り替え不可の状態であったとする。また、モード切替部302が記憶部301から通信モード情報を取得した結果、現在有効なのは第一の無線通信モードであったとする。 In the "wireless LAN setting" menu according to the second embodiment, the selection menus "Wi-Fi Direct connection" and "AP connection" are displayed as in the above-described first embodiment. However, in the second embodiment, it is assumed that the communication mode cannot be switched at present as a result of the mode switching unit 302 executing the state confirmation subroutine shown in FIG. 6 when transitioning to the "wireless LAN setting" menu. Further, as a result of the mode switching unit 302 acquiring the communication mode information from the storage unit 301, it is assumed that the first wireless communication mode is currently valid.

この場合は、モード切替部302は操作制御部300に状態確認結果を通知し、操作制御部300は表示部403の「Wi-Fi Direct接続」をグレーアウトして表示する。それにより、通信モード切り替えが不可の状態であるため、ユーザが第一の無線通信モードから第二の無線通信モード(Wi-Fiダイレクト)への切り替えを指示することができないように制御する。 In this case, the mode switching unit 302 notifies the operation control unit 300 of the status confirmation result, and the operation control unit 300 grays out and displays the "Wi-Fi Direct connection" of the display unit 403. As a result, since the communication mode cannot be switched, it is controlled so that the user cannot instruct the user to switch from the first wireless communication mode to the second wireless communication mode (Wi-Fi direct).

同様に、もしも印刷装置100が第二の無線通信モードで動作している状態であれば、「Wi-Fi Direct接続」は選択可能な状態で表示され、「AP接続」がグレーアウトして表示されることとなる。 Similarly, if the printing device 100 is operating in the second wireless communication mode, "Wi-Fi Direct connection" is displayed in a selectable state, and "AP connection" is grayed out and displayed. The Rukoto.

以上説明したように実施形態2によれば、通信モード切り替えが不可の状態の時は、そもそもユーザによる通信モードの切り替え指示を制限する。それにより、印刷装置100を使用中の他のユーザにとって、自身の作業が突然強制的に中断されてしまう事態を回避することが可能となる。 As described above, according to the second embodiment, when the communication mode switching is not possible, the user's instruction to switch the communication mode is restricted in the first place. As a result, it is possible for other users who are using the printing apparatus 100 to avoid a situation in which their work is suddenly forcibly interrupted.

[実施形態3]
次に、本発明に係る実施形態3について説明する。実施形態3では、図6に示す状態確認サブルーチンで、通信モードの切り替えが不可な状態であると判定した場合、それ以降から通信モードの切り替えが実行されるまでの期間、新たな通信セッションや第二の無線通信モードによる直接無線接続を禁止しても良い。尚、実施形態3に係る印刷装置100の構成及びシステムは、前述の実施形態1と同様であるため、その説明を省略する。
[Embodiment 3]
Next, the third embodiment according to the present invention will be described. In the third embodiment, when it is determined by the state confirmation subroutine shown in FIG. 6 that the communication mode cannot be switched, a new communication session or a new communication session or a new communication session is performed during the period from that point onward until the communication mode switching is executed. Direct wireless connection by the second wireless communication mode may be prohibited. Since the configuration and system of the printing apparatus 100 according to the third embodiment are the same as those of the first embodiment, the description thereof will be omitted.

図9は、本発明の実施形態3に係る状態確認サブルーチンを説明するフローチャートである。この処理は図5のS509に示した状態確認サブルーチンの流れに対応する。 FIG. 9 is a flowchart illustrating a state confirmation subroutine according to the third embodiment of the present invention. This process corresponds to the flow of the state confirmation subroutine shown in S509 of FIG.

S901でCPU202は、アプリケーション部310の中のサービスで、現在、携帯端末110などの通信端末と通信セッションを確立中のサービスが存在するかを通信制御部303に問い合わせる。存在する場合はCPU202は、通信制御部303に対して、次回の通信モードの切り替え処理が完了するまでの期間、新たなセッションの生成を禁止する指示を出してS907に処理を進める。S907でCPU202は、通信モードの切り替えが不可な状態であると判定して、このサブルーチンの処理を終了する。 In S901, the CPU 202 inquires the communication control unit 303 whether there is a service in the application unit 310 that is currently establishing a communication session with a communication terminal such as a mobile terminal 110. If present, the CPU 202 issues an instruction to the communication control unit 303 to prohibit the generation of a new session until the next communication mode switching process is completed, and proceeds with the process to S907. In S907, the CPU 202 determines that the communication mode cannot be switched, and ends the processing of this subroutine.

一方S901でCPU202が、通信セッションを確立中のサービスが存在しないと判定した場合はS902に処理を進め、記憶部301から通信モード情報を取得し、現在有効な通信モードが第二の無線通信モードかどうかを判定する。ここで第二の無線通信モードでない、即ち、有線通信モード或いは第一の無線通信モードであると判定した場合はS903に処理を進め、CPU202は、通信モードの切り替えが可能な状態であると判定して、このサブルーチンの処理を終了する。 On the other hand, if the CPU 202 determines in S901 that there is no service for which a communication session is being established, the process proceeds to S902, communication mode information is acquired from the storage unit 301, and the currently valid communication mode is the second wireless communication mode. Determine if. Here, if it is determined that the mode is not the second wireless communication mode, that is, the wired communication mode or the first wireless communication mode, the process proceeds to S903, and the CPU 202 determines that the communication mode can be switched. Then, the processing of this subroutine is terminated.

一方S902でCPU202が、現在有効な通信モードが第二の無線通信モードであると判定した場合はS905に処理を進める。S905でCPU202は、第二の無線通信モードで印刷装置100と直接無線接続中の携帯端末110などの通信端末が存在するかを第二の無線通信モード制御部306に問い合わせる。S905でCPU202が、接続中の通信端末が存在すると判定した場合はS906に処理を進め、第二の無線通信モード制御部306に対して、これ以降、新たな通信端末と第二の無線通信モードを用いた無線接続を禁止する指示を出す。そしてS907に進みCPU202は、通信モードの切り替えが不可な状態であるものと判定して、この処理を終了する。一方S905で、接続中の通信端末が存在しないと判定した場合はS903に処理を進め、通信モードの切り替えが可能な状態であると判定して、このサブルーチンの処理を終了する。 On the other hand, if the CPU 202 determines in S902 that the currently valid communication mode is the second wireless communication mode, the process proceeds to S905. In S905, the CPU 202 inquires the second wireless communication mode control unit 306 whether there is a communication terminal such as a mobile terminal 110 that is directly wirelessly connected to the printing device 100 in the second wireless communication mode. If the CPU 202 determines in S905 that there is a connected communication terminal, the process proceeds to S906, and the second wireless communication mode control unit 306 is notified of the new communication terminal and the second wireless communication mode. Give an instruction to prohibit wireless connection using. Then, the process proceeds to S907, and the CPU 202 determines that the communication mode cannot be switched, and ends this process. On the other hand, if it is determined in S905 that the connected communication terminal does not exist, the process proceeds to S903, it is determined that the communication mode can be switched, and the process of this subroutine is terminated.

以上説明したように実施形態3によれば、通信モードの切り替えが不可な状態と判定した場合は、それ以降から通信モードの切り替えが実行されるまでの期間、新たな通信セッションや第二の無線通信モードによる無線接続を禁止する。それにより、通信モードの切り替えの開始を待機している最中に新たな通信や接続が発生して、いつまでも通信モードの切り替えを実行できなくなる事態を回避することが可能となる。 As described above, according to the third embodiment, when it is determined that the communication mode cannot be switched, a new communication session or a second radio is used during the period from that point until the communication mode switching is executed. Prohibit wireless connection in communication mode. As a result, it is possible to avoid a situation in which new communication or connection occurs while waiting for the start of communication mode switching, and the communication mode switching cannot be executed indefinitely.

[実施形態4]
次に、本発明に係る実施形態4について説明する。
[Embodiment 4]
Next, the fourth embodiment according to the present invention will be described.

一般的なユースケースとして、第二の無線通信モードは、ユーザが携帯端末110から印刷装置100を利用したい場合などに、一時的な接続のために用いられる通信モードである。それに対し、有線通信モードや第一の無線通信モードは、例えば企業内の基幹ネットワーク下に1つのインフラとして印刷装置を設置する場合など、定常的な接続のために用いられるモードである。そして、有線通信モードや第一の無線通信モードで定常的に企業内の基幹ネットワークに接続されている場合、印刷装置100のアプリケーション部310には機器管理を担うサービスが稼働している場合がある。このようなサービスは、印刷装置100の各種ステータスが変化したことを検知して、ネットワーク上のサーバにその情報を通知したり、或いはサーバからの定期的な問い合わせを受けて、現在の印刷装置100のステータスを返信したりしている。 As a general use case, the second wireless communication mode is a communication mode used for temporary connection when the user wants to use the printing device 100 from the mobile terminal 110. On the other hand, the wired communication mode and the first wireless communication mode are modes used for steady connection, for example, when a printing device is installed as one infrastructure under a backbone network in a company. When the printer is constantly connected to the backbone network in the company in the wired communication mode or the first wireless communication mode, the application unit 310 of the printing device 100 may be operating a service responsible for device management. .. Such a service detects that various statuses of the printing device 100 have changed, notifies the server on the network of the information, or receives a periodic inquiry from the server, and the current printing device 100 I am replying to the status of.

このような場合、有線通信モードや第一の無線通信モードから一時的に第二の無線通信モードへの切り替えが実行された場合、状態を管理・監視しているサーバ側では印刷装置100との通信が一時的にせよ行えなくなることになる。それにより、サーバによる正確な機器管理が行えなくなる可能性がある。更には、サーバによっては印刷装置100に何か異常が生じたものと判断してしまう可能性も存在する。 In such a case, when the wired communication mode or the first wireless communication mode is temporarily switched to the second wireless communication mode, the server side that manages and monitors the status is connected to the printing device 100. Communication will not be possible even temporarily. As a result, accurate device management by the server may not be possible. Further, depending on the server, there is a possibility that it may be determined that something is wrong with the printing apparatus 100.

そこで、本発明に係る実施形態4では、サーバに対して一時的な通信モードの切り替わりを通知する手段を提供することを目的とする。尚、実施形態4に係る印刷装置100の構成及びシステムは、前述の実施形態1と同様であるため、その説明を省略する。 Therefore, it is an object of the fourth embodiment of the present invention to provide a means for notifying the server of a temporary change of communication mode. Since the configuration and system of the printing apparatus 100 according to the fourth embodiment are the same as those of the first embodiment, the description thereof will be omitted.

図10は、実施形態4に係る通信モード切り替えサブルーチンの処理を説明するフローチャートである。この処理は、図5のS511に示した通信モード切り替えサブルーチンの処理に対応する。 FIG. 10 is a flowchart illustrating the processing of the communication mode switching subroutine according to the fourth embodiment. This process corresponds to the process of the communication mode switching subroutine shown in S511 of FIG.

まずS1001でCPU202は、アプリケーション部310に対してモード切り替えの実行を通知する。この通知を受けたアプリケーション部310の各サービスは、必要に応じてサーバに対して通知パケットを送信することになる。この際のアプリケーション部310の処理については図11のフローチャートを参照して後述する。 First, in S1001, the CPU 202 notifies the application unit 310 of the execution of mode switching. Each service of the application unit 310 that has received this notification will send a notification packet to the server as needed. The processing of the application unit 310 at this time will be described later with reference to the flowchart of FIG.

その後S1002に進みCPU202は、通信制御部303を停止する。これにより、アプリケーション部310の各サービスは携帯端末110などの通信端末と通信を行えない状態となる。これ以降のS1003~S1011の各処理ステップは、図7のS702~S710の各処理ステップの内容と全く同一であるため、ここでの説明は省略する。 After that, the process proceeds to S1002, and the CPU 202 stops the communication control unit 303. As a result, each service of the application unit 310 cannot communicate with a communication terminal such as the mobile terminal 110. Since the subsequent processing steps of S1003 to S1011 are exactly the same as the contents of the processing steps of S702 to S710 in FIG. 7, the description thereof is omitted here.

図11は、図10のS1001でモード切替部302から通信モード切り替え実行の通知を受けた際の、アプリケーション部310の処理を説明するフローチャートである。 FIG. 11 is a flowchart illustrating the processing of the application unit 310 when the mode switching unit 302 notifies the mode switching unit 302 of the communication mode switching execution in S1001 of FIG.

S1101~S1103は各処理ステップを示し、印刷装置100のアプリケーション部310が行う通信モード切り替え通知パケットの送信処理の流れに対応する。また各ステップに対応する制御手順をCPU202に実行させるプログラムは、実行時に制御部201のRAM203に展開されており、そのプログラムをCPU202が実行することにより、この処理が達成される。 S1101 to S1103 indicate each processing step, and correspond to the flow of transmission processing of the communication mode switching notification packet performed by the application unit 310 of the printing apparatus 100. Further, a program for causing the CPU 202 to execute the control procedure corresponding to each step is expanded in the RAM 203 of the control unit 201 at the time of execution, and this process is achieved by the CPU 202 executing the program.

まずS1101でCPU202は、モード切替部302から通信モード切り替え実行の通知を受信するのを待ち受ける。通信モード切り替え実行の通知を受信するとS1102に進みCPU202は、サーバ等の外部装置に対して一時的な離脱の通知が必要なサービスが存在するかを判定する。そのようなサービスが存在しない場合は何もせずに、このフローチャートを終了する。 First, in S1101, the CPU 202 waits for receiving the notification of the communication mode switching execution from the mode switching unit 302. Upon receiving the notification of the communication mode switching execution, the process proceeds to S1102, and the CPU 202 determines whether there is a service that requires a temporary withdrawal notification to an external device such as a server. If no such service exists, do nothing and exit this flowchart.

一方、通知が必要なサービスが存在すると判定するとS1103に進み、CPU202は、それらサービス毎に、一時的に通信モードの切り替えが実行されるため離脱する旨を示す通知パケットをサーバに送信して、この処理を終了する。この通知パケットは、例えばDNS(Domain Name System)クライアントサービスがDNSサーバに対して送信する、印刷装置100に関する登録情報の削除要請パケットである。或いは、SLP(ServiceLocationProtocol)による一時的なモード切り替えの通知パケットである。また或いは、マルチキャストアドレスを利用しているサービスが、参加しているマルチキャストのグループからの脱退を宣言するパケットである。その他にも、様々なサービスによる様々な通知パケットが存在し得る。 On the other hand, if it is determined that there is a service that requires notification, the process proceeds to S1103, and the CPU 202 sends a notification packet indicating that the communication mode is temporarily switched for each service to the server to leave the server. This process ends. This notification packet is, for example, a deletion request packet of registration information about the printing device 100 transmitted to the DNS server by the DNS (Domain Name System) client service. Alternatively, it is a notification packet for temporary mode switching by SLP (ServiceLocationProtocol). Alternatively, the service using the multicast address is a packet that declares withdrawal from the participating multicast group. In addition, there may be various notification packets from various services.

以上説明したように実施形態4によれば、アプリケーション部310の各サービスは、通信モードの切り替えが実行される前にサーバに対して通知を行うことが可能となる。それにより、サーバ側で印刷装置100に関する正確な機器管理を行えなくなったり、印刷装置100に異常が発生したものと誤判断してしまう事態を回避することができる。 As described above, according to the fourth embodiment, each service of the application unit 310 can notify the server before the communication mode switching is executed. As a result, it is possible to avoid a situation in which accurate device management regarding the printing device 100 cannot be performed on the server side, or a situation in which it is erroneously determined that an abnormality has occurred in the printing device 100 can be avoided.

[実施形態5]
図12は、本発明の実施形態5に係る印刷装置100のハードウェア構成を示すブロック図である。
[Embodiment 5]
FIG. 12 is a block diagram showing a hardware configuration of the printing apparatus 100 according to the fifth embodiment of the present invention.

実施形態5に係る印刷装置100は、前述の実施形態1に係る図2の構成からスキャナI/F208、スキャナ209、有線LANI/F213を除いた構成である。その他の構成は前述の実施形態1で説明したのと同じであるため、その説明を省略する。 The printing apparatus 100 according to the fifth embodiment has a configuration in which the scanner I / F 208, the scanner 209, and the wired LAN I / F 213 are removed from the configuration of FIG. 2 according to the first embodiment. Since other configurations are the same as those described in the first embodiment, the description thereof will be omitted.

図13は、実施形態5に係る印刷装置100のソフトウェア構成を説明するブロック図である。 FIG. 13 is a block diagram illustrating a software configuration of the printing apparatus 100 according to the fifth embodiment.

実施形態1に係る図3のソフトウェア構成と比較すると、図3の構成から有線通信モード制御部308、有線通信部309、ストレージサービス312を除いた構成である。その他の構成は前述の実施形態1で説明したのと同じであるため、その説明を省略する。 Compared with the software configuration of FIG. 3 according to the first embodiment, the configuration of FIG. 3 excludes the wired communication mode control unit 308, the wired communication unit 309, and the storage service 312. Since other configurations are the same as those described in the first embodiment, the description thereof will be omitted.

図14は、実施形態5に係る印刷装置100の操作パネル211の上面図である。 FIG. 14 is a top view of the operation panel 211 of the printing apparatus 100 according to the fifth embodiment.

この操作パネル211の表示部403には、第一の無線通信モード及び第二の無線通信モードを切り替えるための実行キー1401が表示されている。また、現在の無線通信の状態をユーザに提示するためのLED1402が設けられている。尚、その他のキーやボタンなどは前述の図4と同じであるため、その説明を省略する。 The display unit 403 of the operation panel 211 displays an execution key 1401 for switching between the first wireless communication mode and the second wireless communication mode. Further, the LED 1402 for presenting the current state of wireless communication to the user is provided. Since other keys, buttons, and the like are the same as those in FIG. 4, the description thereof will be omitted.

図15は、本実施形態5に係る印刷装置100におけるLED(発光部)の点灯制御処理を説明するフローチャートである。S1501~S1507は各処理ステップを示し、ユーザが操作パネル211の実行キー1401を押下して通信モードの切り替え指示を行った際の、印刷装置100の操作制御部300が行うLED制御処理の流れに対応する。また各ステップに対応する制御手順をCPU202に実行させるプログラムは、実行時に制御部201のRAM203に展開されており、そのプログラムをCPU202が実行することにより、この処理が達成される。 FIG. 15 is a flowchart illustrating a lighting control process of an LED (light emitting unit) in the printing apparatus 100 according to the fifth embodiment. S1501 to S1507 indicate each processing step, and follow the flow of LED control processing performed by the operation control unit 300 of the printing apparatus 100 when the user presses the execution key 1401 of the operation panel 211 to give an instruction to switch the communication mode. handle. Further, a program for causing the CPU 202 to execute the control procedure corresponding to each step is expanded in the RAM 203 of the control unit 201 at the time of execution, and this process is achieved by the CPU 202 executing the program.

まずS1501でCPU202は、操作パネル211を介してユーザが通信モードの切り替え指示を要求してくるのを待つ。この切り替え指示を受信するとS1502に進みCPU202は、LED1402を点滅させる。次にCPU202はS1503に処理を進め、モード切替部302に通信モードの切り替え指示の発生を通知し、S1504でモード切替部302が切り替え完了を返答してくるのを待ち受ける。S1504で切り替え完了の返答を受けるとCPU202はS1505に処理を進め、記憶部301を参照し、切り替わり後の現在有効な通信モードが第二の無線通信モードかどうかを判定する。ここで第二の無線通信モードが有効であると判定するとS1506に進み、CPU202は、第二の無線通信モード用の点灯パターンでLED1402を点灯するように駆動する。 First, in S1501, the CPU 202 waits for the user to request a communication mode switching instruction via the operation panel 211. Upon receiving this switching instruction, the process proceeds to S1502, and the CPU 202 blinks the LED 1402. Next, the CPU 202 advances the process to S1503, notifies the mode switching unit 302 of the occurrence of the communication mode switching instruction, and waits for the mode switching unit 302 to reply that the switching is completed in S1504. Upon receiving the response of the switching completion in S1504, the CPU 202 proceeds to S1505, refers to the storage unit 301, and determines whether the currently valid communication mode after the switching is the second wireless communication mode. Here, if it is determined that the second wireless communication mode is valid, the process proceeds to S1506, and the CPU 202 drives the LED 1402 to light in the lighting pattern for the second wireless communication mode.

一方S1505で、第一の無線通信モードが有効であると判定するとS1507に進みCPU202は、第一の無線通信モード用の点灯パターンでLED1402を点灯するように駆動する。以上の処理を行った後、この処理を終了する。 On the other hand, if it is determined in S1505 that the first wireless communication mode is valid, the process proceeds to S1507, and the CPU 202 drives the LED 1402 to light in the lighting pattern for the first wireless communication mode. After performing the above processing, this processing ends.

図16(A)は、図15のS1507における第一の無線通信モード用の点灯パターンの一例を示す図である。また、図16(B)は、図15のS1506における第二の無線通信モード用の点灯パターンの一例を示す図である。 FIG. 16A is a diagram showing an example of a lighting pattern for the first wireless communication mode in S1507 of FIG. Further, FIG. 16B is a diagram showing an example of a lighting pattern for the second wireless communication mode in S1506 of FIG.

図16(A)に示す通り、第一の無線通信モードで無線接続している場合、操作制御部300はLED1402を常に点灯し続ける。これによりユーザは、印刷装置100が現在第一の無線通信モードで周囲のアクセスポイントと接続を確立して通信可能な状態であると把握することが出来る。 As shown in FIG. 16A, when wirelessly connected in the first wireless communication mode, the operation control unit 300 keeps lighting the LED 1402 at all times. As a result, the user can grasp that the printing device 100 is currently in a state where it can establish a connection with a surrounding access point and communicate with it in the first wireless communication mode.

一方、図16(B)に示すように、第二の無線通信モードで無線接続している場合、操作制御部300はLED1402を制御し、長期間の点灯と短時間の消灯とを周期的に繰り返す。これにより、ユーザは、たまにLED1402が点滅するように見え、図16(A)に示した第一の無線通信モードとは異なる無線通信モードで印刷装置100が動作中であると認識できる。 On the other hand, as shown in FIG. 16B, when wirelessly connected in the second wireless communication mode, the operation control unit 300 controls the LED 1402 and periodically turns on for a long time and turns off for a short time. repeat. As a result, the user can recognize that the printing device 100 is operating in a wireless communication mode different from the first wireless communication mode shown in FIG. 16 (A), with the LED 1402 appearing to blink occasionally.

また、この際、操作制御部300は、第二の無線通信モード制御部306に問い合わせを行い、現在、第二の無線通信モードで印刷装置100と直接無線接続中の通信端末の数を確認する。そして、短時間の消灯を行う回数で、この直接無線接続中の通信端末の数をユーザに示すようにしても良い。 At this time, the operation control unit 300 makes an inquiry to the second wireless communication mode control unit 306, and confirms the number of communication terminals currently directly wirelessly connected to the printing device 100 in the second wireless communication mode. .. Then, the number of communication terminals in direct wireless connection may be indicated to the user by the number of times the lights are turned off for a short time.

図16(B)では、現在、第二の無線通信モードで印刷装置100と直接無線接続中の通信端末が2台ある場合を示している。そのため、操作制御部300は5000msの期間LED1402を点灯状態にした後、100msの消灯を2回行っている。これによりユーザは、LED1402の周期的な点滅回数をカウントすることで、現在、印刷装置100が何台の通信端末と接続しているのかを把握できる。尚、点灯時間や消灯時間は、上述した時間に限定されるものではなく、様々な値を取り得る。 FIG. 16B shows a case where there are two communication terminals currently directly wirelessly connected to the printing device 100 in the second wireless communication mode. Therefore, the operation control unit 300 turns on the LED 1402 for a period of 5000 ms and then turns off the LED 1402 twice for 100 ms. As a result, the user can grasp how many communication terminals the printing device 100 is currently connected to by counting the number of periodic blinks of the LED 1402. The lighting time and the extinguishing time are not limited to the above-mentioned time, and various values can be taken.

以上説明したように本実施形態5によれば、ハードウェアを改造することなく、印刷装置100が備えるLED(発光部)の発光状態で、複数の無線通信モードのうちいずれの通信モードで現在動作しているのかをユーザが判別可能となる。更には、第二の無線通信モード(Wi-Fiダイレクトモード)で動作している場合には、何台の通信端末が印刷装置100と接続中であるのかもユーザが直ちに判別可能となる。 As described above, according to the fifth embodiment, the current operation is performed in any of a plurality of wireless communication modes in the light emitting state of the LED (light emitting unit) included in the printing device 100 without modifying the hardware. The user can determine whether or not it is done. Further, when operating in the second wireless communication mode (Wi-Fi direct mode), the user can immediately determine how many communication terminals are connected to the printing device 100.

(その他の実施形態)
上述した実施形態では、第二の無線通信モードとしてWi-Fiダイレクトを例にして説明したが、本発明はWi-Fiダイレクトに限定されない。ある装置と他の装置が直接無線通信を実行することができれば、他の無線通信を第二の無線通信モードとして適用することができる。
(Other embodiments)
In the above-described embodiment, Wi-Fi Direct has been described as an example of the second wireless communication mode, but the present invention is not limited to Wi-Fi Direct. If one device and another device can directly execute wireless communication, the other wireless communication can be applied as a second wireless communication mode.

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

100…印刷装置、110…端末装置、130…アクセスポイント、202…CPU、207…プリンタ、209…スキャナ、211…操作パネル、302…モード切替部、304…無線通信モード制御部、310…アプリケーション部 100 ... printing device, 110 ... terminal device, 130 ... access point, 202 ... CPU, 207 ... printer, 209 ... scanner, 211 ... operation panel, 302 ... mode switching unit, 304 ... wireless communication mode control unit, 310 ... application unit

Claims (13)

有線LANインターフェースと、
通信端末との間で役割決定を行いアクセスポイント側の役割となった場合に前記通信端末に対してIPアドレスを割り当ててWi-Fiダイレクトによる無線通信を行うダイレクト通信機能に利用可能な無線LANインターフェースと、
記ダイレクト通信機能の利用を開始する指示を受け付けた場合に前記有線LANインターフェースの利用を停止した状態で前記Wi-Fiダイレクトを起動できるように、前記Wi-Fiダイレクトを起動するための前工程において、通信に使用されていない状態であるが利用中となっている前記有線LANインターフェースの利用を停止する処理を実行する手段と、
を有することを特徴とする印刷装置。
Wired LAN interface and
A wireless LAN interface that can be used for the direct communication function that assigns an IP address to the communication terminal and performs wireless communication by Wi-Fi direct when the role is determined with the communication terminal and the role is on the access point side. When,
Before starting the Wi-Fi direct so that the Wi-Fi direct can be started while the use of the wired LAN interface is stopped when the instruction to start using the direct communication function is received. In the process, a means for executing a process of stopping the use of the wired LAN interface, which is not used for communication but is in use ,
A printing apparatus characterized by having.
前記停止する処理を実行する手段は、前記有線LANインターフェースへの電力供給を停止することを特徴とする請求項1に記載の印刷装置。 The printing apparatus according to claim 1, wherein the means for executing the stop process is to stop the power supply to the wired LAN interface. 前記指示を受け付け、且つ利用中の前記有線LANインターフェースが通信に使用されていない状態であることに従って、無線LANインターフェースへの電力供給を開始する手段を、更に有することを特徴とする請求項1又は2に記載の印刷装置。 1. 2. The printing apparatus according to 2. 前記ダイレクト通信機能とは異なる機能であって、前記無線LANインターフェースを用いて外部のアクセスポイントを介して通信端末と無線通信を行う更なる通信機能を、更に備えることを特徴とする請求項1乃至3のいずれか1項に記載の印刷装置。 Claims 1 to 1, which are different from the direct communication function and further include a further communication function for wirelessly communicating with a communication terminal via an external access point using the wireless LAN interface. The printing apparatus according to any one of 3. 前記指示は、複数の通信機能の中から前記ダイレクト通信機能を指定する指示に基づくことを特徴とする請求項4に記載の印刷装置。 The printing apparatus according to claim 4, wherein the instruction is based on an instruction for designating the direct communication function from a plurality of communication functions. 前記指示は、前記ダイレクト通信機能へ通信機能の切り替えを実行するか否かを確認する画面において、前記切り替えの実行を指定するユーザ操作に基づくことを特徴とする請求項5に記載の印刷装置。 The printing apparatus according to claim 5, wherein the instruction is based on a user operation for designating the execution of the switching on the screen for confirming whether or not to execute the switching to the direct communication function. 前記指示は、前記ダイレクト通信機能へ通信機能の切り替えを実行するか否かを確認する画面において、通信完了の待機を指定するユーザ操作に基づくことを特徴とする請求項4に記載の印刷装置。 The printing apparatus according to claim 4, wherein the instruction is based on a user operation for designating a standby for completion of communication on a screen for confirming whether or not to switch the communication function to the direct communication function. 前記印刷装置は、前記ダイレクト通信機能の開始によってアクセスポイントとして動作することを特徴とする請求項4乃至7のいずれか1項に記載の印刷装置。 The printing device according to any one of claims 4 to 7, wherein the printing device operates as an access point by starting the direct communication function. 前記ダイレクト通信機能による無線通信を介して前記通信端末から送信された印刷データを取得する手段を、更に有することを特徴とする請求項1乃至8のいずれか1項に記載の印刷装置。 The printing apparatus according to any one of claims 1 to 8, further comprising a means for acquiring print data transmitted from the communication terminal via wireless communication by the direct communication function. 前記印刷データに基づきシートに印刷を行う印刷部を、更に有することを特徴とする請求項9に記載の印刷装置。 The printing apparatus according to claim 9, further comprising a printing unit that prints on a sheet based on the print data. 前記ダイレクト通信機能による無線通信を介して印刷に関する指示を受け付ける手段を、更に有することを特徴とする請求項10に記載の印刷装置。 The printing apparatus according to claim 10, further comprising a means for receiving an instruction regarding printing via wireless communication by the direct communication function. 有線LANインターフェースと、通信端末との間で役割決定を行いアクセスポイント側の役割となった場合に前記通信端末に対してIPアドレスを割り当ててWi-Fiダイレクトによる無線通信を行うダイレクト通信機能に利用可能な無線LANインターフェースを備える印刷装置の制御方法であって、
記ダイレクト通信機能の利用を開始する指示を受け付けた場合に前記有線LANインターフェースの利用を停止した状態で前記Wi-Fiダイレクトを起動できるように、前記Wi-Fiダイレクトを起動するための前工程において、通信に使用されていない状態であるが利用中となっている前記有線LANインターフェースの利用を停止する処理を実行することを特徴とする印刷装置の制御方法。
When the role is decided between the wired LAN interface and the communication terminal and the role is on the access point side, an IP address is assigned to the communication terminal and used for the direct communication function to perform wireless communication by Wi-Fi direct. A method of controlling a printing device equipped with a possible wireless LAN interface.
Before starting the Wi-Fi direct so that the Wi-Fi direct can be started while the use of the wired LAN interface is stopped when the instruction to start using the direct communication function is received. A method for controlling a printing device, which comprises executing a process of stopping the use of the wired LAN interface, which is not used for communication but is in use in the process.
有線LANインターフェースと、通信端末との間で役割決定を行いアクセスポイント側の役割となった場合に前記通信端末に対してIPアドレスを割り当ててWi-Fiダイレクトによる無線通信を行うダイレクト通信機能に利用可能な無線LANインターフェースを備える印刷装置のコンピュータに、
記ダイレクト通信機能の利用を開始する指示を受け付けた場合に前記有線LANインターフェースの利用を停止した状態で前記Wi-Fiダイレクトを起動できるように、前記Wi-Fiダイレクトを起動するための前工程において、通信に使用されていない状態であるが利用中となっている前記有線LANインターフェースの利用を停止する処理を実行する工程と、
を実行させるプログラム。
When the role is decided between the wired LAN interface and the communication terminal and the role is on the access point side, an IP address is assigned to the communication terminal and used for the direct communication function to perform wireless communication by Wi-Fi direct. To a computer of a printing device equipped with a possible wireless LAN interface,
Before starting the Wi-Fi direct so that the Wi-Fi direct can be started while the use of the wired LAN interface is stopped when the instruction to start using the direct communication function is received. In the process, a process of executing a process of stopping the use of the wired LAN interface that is not used for communication but is in use, and a process of executing the process.
A program to execute.
JP2019204877A 2019-11-12 2019-11-12 Printing equipment, its control method, and programs Active JP7096805B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019204877A JP7096805B2 (en) 2019-11-12 2019-11-12 Printing equipment, its control method, and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019204877A JP7096805B2 (en) 2019-11-12 2019-11-12 Printing equipment, its control method, and programs

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017228281A Division JP6817924B2 (en) 2017-11-28 2017-11-28 Printing equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2020172127A Division JP7235393B2 (en) 2020-10-12 2020-10-12 PRINTING DEVICE, ITS CONTROL METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2020074518A JP2020074518A (en) 2020-05-14
JP7096805B2 true JP7096805B2 (en) 2022-07-06

Family

ID=70610307

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019204877A Active JP7096805B2 (en) 2019-11-12 2019-11-12 Printing equipment, its control method, and programs

Country Status (1)

Country Link
JP (1) JP7096805B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006261852A (en) 2005-03-15 2006-09-28 Canon Inc Radio communications equipment and communication method thereof
JP2012113349A (en) 2010-11-19 2012-06-14 Brother Ind Ltd Printing device and terminal device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11136761A (en) * 1997-10-31 1999-05-21 Toshiba Corp Moving communication terminal equipment provided with operation guidance display function
JP2002084566A (en) * 2000-09-11 2002-03-22 Matsushita Electric Ind Co Ltd Mobile body communication system
JP2006215935A (en) * 2005-02-07 2006-08-17 Mitsubishi Electric Corp Information display device and information display method
JP5052303B2 (en) * 2007-02-13 2012-10-17 株式会社リコー Wireless communication terminal device, display method of wireless communication terminal device, and wireless communication network system
KR101484279B1 (en) * 2009-11-20 2015-01-19 삼성전자주식회사 Image forming apparatus and method for controlling wireless network connection in same apparatus
JP5303582B2 (en) * 2011-01-13 2013-10-02 株式会社ソニー・コンピュータエンタテインメント Portable terminal device and communication switching method
US8521886B2 (en) * 2011-01-19 2013-08-27 Qualcomm Incorporated Methods and apparatus for determining and/or using a communications mode
JP5565362B2 (en) * 2011-03-30 2014-08-06 ブラザー工業株式会社 Control device
JP5776455B2 (en) * 2011-09-06 2015-09-09 トヨタ自動車株式会社 Endless metal ring manufacturing apparatus and manufacturing method
DE112014007325B3 (en) * 2013-12-02 2021-04-29 Semiconductor Energy Laboratory Co., Ltd. Display device and its manufacturing process
JP6419254B2 (en) * 2017-04-24 2018-11-07 ヤフー株式会社 Estimation apparatus, estimation method, and estimation program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006261852A (en) 2005-03-15 2006-09-28 Canon Inc Radio communications equipment and communication method thereof
JP2012113349A (en) 2010-11-19 2012-06-14 Brother Ind Ltd Printing device and terminal device

Also Published As

Publication number Publication date
JP2020074518A (en) 2020-05-14

Similar Documents

Publication Publication Date Title
JP6448173B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP6224902B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP6122320B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP5839650B2 (en) Printing device and terminal device
CN104052893B (en) Communication Apparatus, Method For Controlling The Same, And Printing Apparatus
JP6103997B2 (en) Printing apparatus, control method therefor, and program
JP6071624B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6914697B2 (en) Programs, information processing equipment, and communication systems
JP6381211B2 (en) Image forming apparatus and control method thereof
JP2017220751A (en) Information processing device and program
JP6817924B2 (en) Printing equipment
JP7096805B2 (en) Printing equipment, its control method, and programs
JP7235393B2 (en) PRINTING DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP2019095933A (en) Voice control system, control method, and program
JP6472471B2 (en) Printing device
JP2015050710A (en) Information processing system, management device, control method for management device, and program for executing control method
JP6635769B2 (en) Communication device, communication device control method, and program
JP2016009994A (en) Information processing device, information processing device communication method, and program
JP2018153962A (en) Information processing device, control method and program
JP6393385B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
US20200133596A1 (en) Method of controlling information processing device, information processing device, and program storage medium
JP6648576B2 (en) Image forming apparatus, terminal device connection method, and computer program
JP6977005B2 (en) Communication equipment, control methods and programs for communication equipment
US20220006695A1 (en) Information processing apparatus, control method of the same, and non-transitory computer-readable storage medium
JP6326161B2 (en) Printing apparatus, control method therefor, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191210

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191210

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20191210

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20191220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200306

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200408

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20200710

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201012

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

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20201012

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

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20201026

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

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20201030

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20201204

C211 Notice of termination of reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C211

Effective date: 20201211

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113

C22 Notice of designation (change) of administrative judge

Free format text: JAPANESE INTERMEDIATE CODE: C22

Effective date: 20210322

C22 Notice of designation (change) of administrative judge

Free format text: JAPANESE INTERMEDIATE CODE: C22

Effective date: 20210628

C13 Notice of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: C13

Effective date: 20210726

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210825

C13 Notice of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: C13

Effective date: 20211022

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211217

C23 Notice of termination of proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C23

Effective date: 20220425

C03 Trial/appeal decision taken

Free format text: JAPANESE INTERMEDIATE CODE: C03

Effective date: 20220527

C30A Notification sent

Free format text: JAPANESE INTERMEDIATE CODE: C3012

Effective date: 20220527

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220624

R151 Written notification of patent or utility model registration

Ref document number: 7096805

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151