JP2021119707A - Communication device, control method, and program - Google Patents

Communication device, control method, and program Download PDF

Info

Publication number
JP2021119707A
JP2021119707A JP2021078374A JP2021078374A JP2021119707A JP 2021119707 A JP2021119707 A JP 2021119707A JP 2021078374 A JP2021078374 A JP 2021078374A JP 2021078374 A JP2021078374 A JP 2021078374A JP 2021119707 A JP2021119707 A JP 2021119707A
Authority
JP
Japan
Prior art keywords
communication device
communication
wireless
wireless connection
connection
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
JP2021078374A
Other languages
Japanese (ja)
Other versions
JP7342059B2 (en
JP2021119707A5 (en
Inventor
浩二 安▲崎▼
Koji Anzaki
浩二 安▲崎▼
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 JP2021078374A priority Critical patent/JP7342059B2/en
Publication of JP2021119707A publication Critical patent/JP2021119707A/en
Publication of JP2021119707A5 publication Critical patent/JP2021119707A5/ja
Application granted granted Critical
Publication of JP7342059B2 publication Critical patent/JP7342059B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

To provide a communication device, a control method, and a program that prevent the communication speed of an external device from decreasing due to handover when the communication device is connected to the external device.SOLUTION: A communication device 100 can communicate with an external device 30 by a first communication method and a second communication method different from the first communication method. The communication device provides communication information for communicating by the second communication method to the external device by the first communication method, and connects to the external device by the second communication method after the communication information is provided to the external device by the first communication method. When the communication device is connected to the external device by the second communication method, the communication device performs control so as not to provide the communication information to any external device by the first communication method.SELECTED DRAWING: Figure 1

Description

本発明は、通信装置、制御方法及びプログラムに関するものである。 The present invention relates to communication devices, control methods and programs.

通信装置と外部装置との間の通信において、高速通信方式によって通信を行うための通信情報のやり取りを近距離通信方式を用いて行った後、高速通信方式による通信に切り替える、ハンドオーバーと呼ばれる技術が利用されている。 In communication between a communication device and an external device, a technique called handover is performed by exchanging communication information for communication by a high-speed communication method using a short-range communication method and then switching to communication by a high-speed communication method. Is being used.

特許文献1には、ハンドオーバーを用いて、高速通信方式による外部装置との通信を実行する画像処理装置が記載されている。また、特許文献1に記載の画像処理装置は、高速通信方式による接続を複数の外部装置と平行して行うことを許容していることが記載されている。 Patent Document 1 describes an image processing device that executes communication with an external device by a high-speed communication method by using handover. Further, it is described that the image processing device described in Patent Document 1 allows connection by a high-speed communication method in parallel with a plurality of external devices.

特開2015−11590号公報Japanese Unexamined Patent Publication No. 2015-11590

しかしながら、特許文献1に記載の装置は、高速通信方式による接続を複数の外部装置と平行して行うことを許容しているため、並行して接続しているそれぞれの外部装置との通信速度が低下してしまうおそれがあった。 However, since the device described in Patent Document 1 allows connection by a high-speed communication method in parallel with a plurality of external devices, the communication speed with each external device connected in parallel is high. There was a risk that it would drop.

そこで、本発明の目的は、外部装置と接続している場合に、ハンドオーバーが行われることによって当該外部装置の通信速度が低下してしまうことを抑制することができる通信装置、制御方法及びプログラムを提供することにある。 Therefore, an object of the present invention is a communication device, a control method, and a program capable of suppressing a decrease in the communication speed of the external device due to the handover performed when the external device is connected. Is to provide.

そこで、上記目的を達成するために、本発明の通信装置は、
第1無線通信方式による通信におけるスレーブ装置として動作し、前記第1無線通信方式による通信装置と前記通信装置の外部の装置との間の無線接続及び前記第1無線通信方式より通信速度が速い第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立可能な前記通信装置であって、
前記第1無線通信方式に基づく信号を送信可能な状態であり、前記信号を受信した、前記通信装置の外部の装置から送信される接続要求情報を前記通信装置が受信した場合に、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立可能な状態である所定の状態での動作を前記通信装置に開始させる第1通信手段と、
前記所定の状態での動作が前記通信装置によって開始された後、前記接続要求情報に基づいて、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立する第1確立手段と、
前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が前記通信装置によって確立されている状態で、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立するための所定の処理を実行する実行手段と、
前記所定の処理が前記通信装置によって実行された場合、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立する第2確立手段と、
前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が前記通信装置によって確立されている状態において、前記通信装置による前記所定の状態での動作が停止されていることにより、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を新たに確立しない状態で前記通信装置が動作しており、且つ前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が確立される前に確立されていた、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が終了されているように前記通信装置を制御する制御手段と、
を有することを特徴とする。
Therefore, in order to achieve the above object, the communication device of the present invention is used.
It operates as a slave device in communication by the first wireless communication method, and has a wireless connection between the communication device by the first wireless communication method and an external device of the communication device, and a communication speed faster than that of the first wireless communication method. 2 The communication device capable of establishing a wireless connection between the communication device and a device outside the communication device by a wireless communication method.
When the communication device is in a state where a signal based on the first wireless communication method can be transmitted and the communication device receives connection request information transmitted from a device outside the communication device that has received the signal, the first. A first communication means for causing the communication device to start an operation in a predetermined state in which a wireless connection between the communication device and an external device of the communication device can be established by a wireless communication method.
After the operation in the predetermined state is started by the communication device, a wireless connection between the communication device and an external device of the communication device by the first wireless communication method is performed based on the connection request information. The first means of establishment and
In a state where a wireless connection between the communication device according to the first wireless communication method and an external device of the communication device is established by the communication device, the communication device and the communication device according to the second wireless communication method are established. An execution means that performs a predetermined process for establishing a wireless connection with an external device of
When the predetermined process is executed by the communication device, a second establishment means for establishing a wireless connection between the communication device and an external device of the communication device according to the second wireless communication method, and
In a state where a wireless connection between the communication device and an external device of the communication device by the second wireless communication method is established by the communication device, the operation of the communication device in the predetermined state is stopped. As a result, the communication device is operating in a state where a wireless connection between the communication device according to the first wireless communication method and an external device of the communication device is not newly established, and the second radio is used. The communication device according to the first wireless communication method and the device outside the communication device, which were established before the wireless connection between the communication device according to the communication method and the device outside the communication device was established. A control means that controls the communication device so that the wireless connection between the two is terminated.
It is characterized by having.

本発明によれば、外部装置と接続している場合に、ハンドオーバーが行われることによって当該外部装置の通信速度が低下してしまうことを抑制することができる。 According to the present invention, it is possible to prevent the communication speed of the external device from being lowered due to the handover performed when the device is connected to the external device.

本実施形態における通信システムの構成を示す図である。It is a figure which shows the structure of the communication system in this embodiment. 本発明を適用した通信装置の外観を示す図である。It is a figure which shows the appearance of the communication apparatus to which this invention is applied. 本発明を適用した通信装置の概略構成を示すブロック図である。It is a block diagram which shows the schematic structure of the communication apparatus to which this invention is applied. 本発明を適用した通信装置が備えるBLEユニットの概略構成を示すブロック図である。It is a block diagram which shows the schematic structure of the BLE unit provided in the communication device to which this invention is applied. アドバタイズパケットの構造を示す図である。It is a figure which shows the structure of the advertisement packet. アドバタイズパケットに格納されるエラー情報の詳細を示す図である。It is a figure which shows the detail of the error information stored in the advertisement packet. 本発明を適用した通信装置が行うアドバタイズパケットのブロードキャスト及び接続要求情報の受信の処理を説明するための図である。It is a figure for demonstrating the process of broadcasting the advertisement packet and receiving the connection request information performed by the communication apparatus to which this invention is applied. 各アドバタイズモードにおけるアドバタイズを示す図である。It is a figure which shows the advertisement in each advertisement mode. 本発明を適用した通信装置と通信可能な外部装置の概略構成を示すブロック図である。It is a block diagram which shows the schematic structure of the external device which can communicate with the communication device to which this invention is applied. BLE通信を介したジョブの送受信処理のシーケンスを示す図である。It is a figure which shows the sequence of the transmission / reception processing of a job via BLE communication. 本発明を適用した通信装置が実行する処理を示すフローチャートである。It is a flowchart which shows the process executed by the communication apparatus to which this invention was applied. 本発明を適用した通信装置が実行する処理を示すフローチャートであるIt is a flowchart which shows the process executed by the communication apparatus to which this invention was applied. 本発明を適用した通信装置が外部装置に表示させる画面を示す図である。It is a figure which shows the screen which the communication device to which this invention is applied displays on the external device.

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

(第1実施形態)
本発明を適用した通信装置について説明する。通信装置は、外部装置からジョブを受信可能な装置である。本実施形態においては、通信装置としてインクジェット方式の複合機(MFP)を例示している。MFPとは、プリント、スキャナ、コピー、ファックス等の複数の機能を有する装置である。なお、通信装置は、例えば、複写機やファクシミリ装置、スキャナ、パーソナルコンピュータ(PC)、スマートホン、タブレット端末、PDA(Personal Digital Assistant)、デジタルカメラ、音楽再生デバイス等であっても良い。また、通信装置がプリンタである場合は、利用する印刷方式はインクジェット方式に限定されず、例えば電子写真方式であっても良い。さらに、通信装置は、MFPではなく、単機能の装置(SFP)であっても良い。外部装置は、通信装置と後述するハンドオーバーによって接続可能な装置である。本実施形態においては、外部装置として、近距離無線通信規格の1つであるBluetooth(登録商標) Low Energy(以下、BLE)通信が可能な携帯端末を例示している。なお、外部装置は、例えば、PCやスマートホン、タブレット端末、PDA(Personal Digital Assistant)、カメラ等であっても良い。
(First Embodiment)
A communication device to which the present invention is applied will be described. A communication device is a device that can receive jobs from an external device. In this embodiment, an inkjet multifunction device (MFP) is illustrated as a communication device. An MFP is a device having a plurality of functions such as printing, scanning, copying, and faxing. The communication device may be, for example, a copier, a facsimile machine, a scanner, a personal computer (PC), a smartphone, a tablet terminal, a PDA (Personal Digital Assistant), a digital camera, a music playback device, or the like. When the communication device is a printer, the printing method to be used is not limited to the inkjet method, and may be, for example, an electrophotographic method. Further, the communication device may be a single-function device (SFP) instead of the MFP. The external device is a device that can be connected to the communication device by handover described later. In the present embodiment, as an external device, a mobile terminal capable of Bluetooth (registered trademark) Low Energy (hereinafter, BLE) communication, which is one of the short-range wireless communication standards, is exemplified. The external device may be, for example, a PC, a smart phone, a tablet terminal, a PDA (Personal Digital Assistant), a camera, or the like.

図1を用いて、本実施形態の通信システムについて説明する。 The communication system of the present embodiment will be described with reference to FIG.

MFP100は、本発明を適用した通信装置である。MFP100は、BLE通信におけるスレーブ装置として動作する。また、MFP100は、特定の端末とネットワーク接続をすること無く、MFP100の周囲に存在する不特定の外部装置に対してアドバタイズパケットを送信する(ブロードキャストする)ことができる。 The MFP 100 is a communication device to which the present invention is applied. The MFP 100 operates as a slave device in BLE communication. Further, the MFP 100 can transmit (broadcast) an advertisement packet to an unspecified external device existing around the MFP 100 without connecting to a specific terminal via a network.

携帯端末30は、本実施形態における外部装置である。携帯端末30は、BLE通信におけるマスタ装置として動作する。携帯端末30は、MFP100が送信するアドバタイズパケットの到達範囲であるパケット到達エリア20の内部に位置する場合は、MFP100から送信されるアドバタイズパケットを受信することができる。なお、携帯端末30は、複数の通信装置のパケット到達エリア内に存在する場合、複数の通信装置からアドバタイズパケットを受信することができる。また、携帯端末30は、MFP100から受信するアドバタイズパケットの信号強度から、MFP100とのおおよその距離を推定することができる。 The mobile terminal 30 is an external device according to the present embodiment. The mobile terminal 30 operates as a master device in BLE communication. When the mobile terminal 30 is located inside the packet reach area 20 which is the reach range of the advertisement packet transmitted by the MFP 100, the mobile terminal 30 can receive the advertisement packet transmitted from the MFP 100. When the mobile terminal 30 exists in the packet arrival area of a plurality of communication devices, the mobile terminal 30 can receive advertisement packets from the plurality of communication devices. Further, the mobile terminal 30 can estimate the approximate distance from the MFP 100 from the signal strength of the advertisement packet received from the MFP 100.

図2はMFP100の外観を示す図である。なお、図2(a)はMFP100の斜視図、図2(b)はMFP100の上面図である。 FIG. 2 is a diagram showing the appearance of the MFP 100. FIG. 2A is a perspective view of the MFP100, and FIG. 2B is a top view of the MFP100.

原稿台201は、ガラス状の透明な台であり、原稿をスキャナで読み取る際に原稿を置く台として使用される。原稿蓋202は、原稿をスキャナで読み取る際に読取光が外部に漏れないようにするために使用され、原稿台と接続している支点を中心にして回動する。 The document table 201 is a glass-like transparent table, and is used as a table on which the document is placed when the document is scanned by a scanner. The document lid 202 is used to prevent the scanning light from leaking to the outside when the document is scanned by the scanner, and rotates around a fulcrum connected to the document stand.

記録媒体挿入口203は、様々なサイズの記録媒体を保持するために使用される。記録媒体挿入口203にセットされた記録媒体は、後述する記録部314に一枚ずつ搬送され、携帯端末30等から送信される印刷ジョブに応じた印刷が行われて記録媒体排出口204から排出される。また、MFP100は、記録媒体の別の供給手段として、カセット205とカセット206とを備えている。あらかじめカセット205又はカセット206に印刷ジョブに対応した記録媒体をセットしておくことで、MFP100は、印刷毎に記録媒体の供給を受けることなく印刷を開始することができる。なお、MFP100は、記録媒体として、紙やOHPシート、ラベル、フィルム等を利用可能である。 The recording medium insertion slot 203 is used to hold recording media of various sizes. The recording media set in the recording medium insertion port 203 are conveyed one by one to the recording unit 314, which will be described later, and are printed according to the print job transmitted from the mobile terminal 30 or the like and discharged from the recording medium ejection port 204. Will be done. Further, the MFP 100 includes a cassette 205 and a cassette 206 as another means of supplying the recording medium. By setting the recording medium corresponding to the print job in the cassette 205 or the cassette 206 in advance, the MFP 100 can start printing without receiving the supply of the recording medium for each printing. The MFP 100 can use paper, an OHP sheet, a label, a film, or the like as a recording medium.

原稿蓋202の上部には操作表示部207及びBT通信部208、Wi−Fi通信部209が配置されている。操作表示部207は、画像や操作メニュー等を表示する表示画面、表示部上のカーソール移動などに用いる十字キー、その他様々な機能を実行する為のキーなどを備える。BT通信部208は、Bluetooth(登録商標)通信及びBLE(Bluetooth(登録商標) Low Energy(登録商標))通信を行うために利用される。BT通信部208の詳細は、図4を用いて後述する。WI−FI通信部209は、Wi−Fi(Wireless Fidelity)(登録商標)通信を行うために利用される。 An operation display unit 207, a BT communication unit 208, and a Wi-Fi communication unit 209 are arranged on the upper part of the document lid 202. The operation display unit 207 includes a display screen for displaying images, operation menus, and the like, a cross key used for moving the cursor on the display unit, and other keys for executing various functions. The BT communication unit 208 is used for performing Bluetooth (registered trademark) communication and BLE (Bluetooth (registered trademark) Low Energy (registered trademark)) communication. Details of the BT communication unit 208 will be described later with reference to FIG. The WI-FI communication unit 209 is used for performing Wi-Fi (Wi-Filess Fidelity) (registered trademark) communication.

なお、上述の各構成が配置される位置は、図2に示す位置に限定されず、他の位置であっても良い。 The position where each of the above configurations is arranged is not limited to the position shown in FIG. 2, and may be another position.

図3はMFP100の概略構成を示すブロック図である。 FIG. 3 is a block diagram showing a schematic configuration of the MFP 100.

MFP100は、装置のメインの制御を行うメインボード301と、Bluetooth(登録商標)通信及びBLE通信を行うBLEユニット316、Wi−Fi通信を行うWLANユニット318を有する。 The MFP 100 includes a main board 301 that controls the main device, a BLE unit 316 that performs Bluetooth (registered trademark) communication and BLE communication, and a WLAN unit 318 that performs Wi-Fi communication.

メインボード301において、CPU302は、システム制御部であり、MFP100の全体を制御する。ROM303は、CPU302が実行する制御プログラムや組込オペレーティングシステム(以下、OS)プログラム等の各種プログラムを格納する。本実施形態では、ROM303に格納されている制御プログラムは、ROM303に格納されている組込OSの管理下で、スケジューリングやタスクスイッチ等のソフトウエア制御を行う。RAM304は、SRAM(static RAM)等のメモリで構成され、プログラム制御変数、ユーザが登録した設定値、MFP100の管理データ、後述のモード変更条件の設定情報等を格納し、各種ワーク用バッファ領域が設けられている。なお、これらのデータは、RAM304でなく、ROM303や不揮発性メモリ305等の他の記憶領域に保存されても良い。 In the main board 301, the CPU 302 is a system control unit and controls the entire MFP 100. The ROM 303 stores various programs such as a control program executed by the CPU 302 and an embedded operating system (hereinafter, OS) program. In the present embodiment, the control program stored in the ROM 303 performs software control such as scheduling and task switching under the control of the embedded OS stored in the ROM 303. The RAM 304 is composed of a memory such as an SRAM (static RAM), stores program control variables, setting values registered by the user, management data of the MFP 100, setting information of mode change conditions described later, and a buffer area for various works. It is provided. Note that these data may be stored in another storage area such as ROM 303 or non-volatile memory 305 instead of RAM 304.

不揮発性メモリ305は、フラッシュメモリ(flash memory)等のメモリで構成され、電源がオフされた場合でも保持していたいデータを格納する。具体的には、ネットワークに接続するためのパスワードや認証情報等のネットワーク情報、MACアドレスやSSID等の過去に接続した外部装置のリスト、印刷モードなどのメニュー項目、記録ヘッドの補正情報といったMFP100の設定情報等が格納される。なお、これらの設定情報データは、不揮発性メモリ305でなく、ROM303やRAM304等の他の記憶領域に保存されても良い。また、ROM303や不揮発性メモリ305に保存された設定情報をCPU302がRAM304に展開することで、設定情報を利用した処理を行っても良い。 The non-volatile memory 305 is composed of a memory such as a flash memory, and stores data to be retained even when the power is turned off. Specifically, the MFP100 includes network information such as passwords and authentication information for connecting to the network, a list of external devices connected in the past such as MAC address and SSID, menu items such as print mode, and correction information of the recording head. Setting information etc. are stored. Note that these setting information data may be stored in another storage area such as ROM 303 or RAM 304 instead of the non-volatile memory 305. Further, the CPU 302 may expand the setting information stored in the ROM 303 or the non-volatile memory 305 into the RAM 304 to perform processing using the setting information.

画像メモリ306は、DRAM(dynamic RAM)等のメモリで構成され、BLEユニット316やWLANユニット318等を介して受け付けた画像データや、符号復号化処理部312で処理した画像データ等の各種データを格納する。 The image memory 306 is composed of a memory such as a DRAM (dynamic RAM), and receives various data such as image data received via the BLE unit 316, the WLAN unit 318, and the like, and image data processed by the code decoding processing unit 312. Store.

なお、MFP100のメモリ構成は、この形態に限定されるものではなく、用途や目的に応じて、その数や特性、記憶容量等を適宜変更することができる。例えば、画像メモリ306とRAM304を共有させてもよい。また、画像メモリ306は、DRAM等で構成されているが、これに限定されず、ハードディスク(以下、HDD)や不揮発性メモリ等で構成されていても良い。 The memory configuration of the MFP 100 is not limited to this form, and the number, characteristics, storage capacity, and the like can be appropriately changed according to the intended use and purpose. For example, the image memory 306 and the RAM 304 may be shared. Further, the image memory 306 is composed of a DRAM or the like, but is not limited to this, and may be composed of a hard disk (hereinafter, HDD), a non-volatile memory, or the like.

データ変換部307は、受信したジョブに含まれる画像データに対し、画像処理制御部(不図示)を介して、スムージング処理や記録濃度補正処理、色補正等の各種画像処理を行う。これらの処理を実行することで、データ変換部307は、印刷対象の画像データを高精細な印刷データに変換し、変換した印刷データを記録部314に出力する。 The data conversion unit 307 performs various image processing such as smoothing processing, recording density correction processing, and color correction on the image data included in the received job via the image processing control unit (not shown). By executing these processes, the data conversion unit 307 converts the image data to be printed into high-definition print data, and outputs the converted print data to the recording unit 314.

読取部310は、CISイメージセンサ(密着型イメージセンサ)等によって原稿を光学的に読み取る。読取制御部308は、読取部310が読み取った画像信号に対し、2値化処理や中間調処理等の各種画像処理を施すことで、高精細な画像データを出力する。 The reading unit 310 optically reads the document by a CIS image sensor (contact type image sensor) or the like. The reading control unit 308 outputs high-definition image data by performing various image processing such as binarization processing and halftone processing on the image signal read by the reading unit 310.

操作部309及び表示部311は、操作表示部207に対応しており、MFP100に対する各種入力の受け付けやMFP100に関する各種情報の表示を行う。
符号復号化処理部312は、画像データに対し、符号復号化処理や拡大縮小処理等の各種処理を行う。
The operation unit 309 and the display unit 311 correspond to the operation display unit 207, and accept various inputs to the MFP 100 and display various information related to the MFP 100.
The code decoding processing unit 312 performs various processes such as code decoding processing and enlargement / reduction processing on the image data.

給紙部313は、印刷のための記録媒体を保持し、記録制御部315からの制御によって記録部314に対して記録媒体を供給する。なお、給紙部313は、記録媒体挿入口203、カセット205及びカセット206に対応している。 The paper feed unit 313 holds a recording medium for printing, and supplies the recording medium to the recording unit 314 under the control of the recording control unit 315. The paper feed unit 313 corresponds to the recording medium insertion port 203, the cassette 205, and the cassette 206.

記録制御部315は、記録媒体挿入口203、カセット205及びカセット206のうちいずれの部位から給紙を行うかを制御する。また、記録制御部315は、記録部314のステータス等の各種情報を定期的に読みだすことで、RAM304の情報を更新する役割も果たす。具体的には、記録制御部315は、例えば、使用中、スリープ中、エラー発生中といった装置の状態やインクタンクの残量等の情報を更新する。 The recording control unit 315 controls which of the recording medium insertion slot 203, the cassette 205, and the cassette 206 is used for feeding. The recording control unit 315 also plays a role of updating the information of the RAM 304 by periodically reading out various information such as the status of the recording unit 314. Specifically, the recording control unit 315 updates information such as the state of the device such as in use, sleep, and error occurrence, and the remaining amount of the ink tank.

記録部314は、データ変換部307から出力された印刷データや印刷ジョブに含まれる印刷設定情報に基づき、インク等の記録剤によって記録媒体上に画像を形成する画像形成処理(印刷処理)を実行する。 The recording unit 314 executes an image forming process (printing process) for forming an image on a recording medium with a recording agent such as ink based on the print data output from the data conversion unit 307 and the print setting information included in the print job. do.

BLEユニット316は、BLEの規格に準拠した通信を実現するためのユニットであり、BT通信部208に対応する。なお、BLEユニット316は、クラシックBluetooth(登録商標)通信とBLE通信の兼用のユニットである。BLEユニット316は、アドバタイズパケットの送信や接続要求情報の受信、BLE接続を確立した外部装置とのデータ通信(ジョブや他の通信方式による通信のための情報の提供等)のための機能を担う。BLEユニット316は、後述のアドバタイズパケットや接続要求情報を送受信することで、他のBLEユニットとBLE接続を確立する。また、BLEユニット316は、バスケーブル317を介してシステムバス320に接続されている。 The BLE unit 316 is a unit for realizing communication conforming to the BLE standard, and corresponds to the BT communication unit 208. The BLE unit 316 is a unit for both classic Bluetooth (registered trademark) communication and BLE communication. The BLE unit 316 is responsible for transmitting advertisement packets, receiving connection request information, and data communication with an external device that has established a BLE connection (providing information for communication by a job or other communication method, etc.). .. The BLE unit 316 establishes a BLE connection with another BLE unit by transmitting and receiving advertisement packets and connection request information described later. Further, the BLE unit 316 is connected to the system bus 320 via the bus cable 317.

WLANユニット318は、Wi−Fiの規格に準拠した通信を実現するためのユニットであり、Wi−Fi通信部209に対応する。WLANユニット318は、Wi−Fi接続を確立するための、接続情報の送信処理や認証処理、Wi−Fi接続を確立した外部装置からのジョブの受信等の機能を担う。また、WLANユニット318は、バスケーブル319を介してシステムバス320に接続されている。 The WLAN unit 318 is a unit for realizing communication conforming to the Wi-Fi standard, and corresponds to the Wi-Fi communication unit 209. The WLAN unit 318 is responsible for functions such as transmission information transmission processing and authentication processing for establishing a Wi-Fi connection, and reception of jobs from an external device that has established a Wi-Fi connection. Further, the WLAN unit 318 is connected to the system bus 320 via the bus cable 319.

上記各種構成要素302〜319は、CPU302が管理するシステムバス320を介して、相互に接続されている。 The various components 302 to 319 are connected to each other via a system bus 320 managed by the CPU 302.

なお、MFP100は、BLEユニット316やWLANユニット318以外の通信ユニットを備えていても良い。なお、通信は無線通信でダイレクトに通信しても良いし、ネットワーク上に設置したMFP100外部のアクセスポイントを介して通信しても良い。通信方式としては、例えば、NFC(Near Field Communication;ISO/IEC IS 18092)やWi−Fi Aware等が挙げられる。また、無線通信に限らず、有線LAN等によって有線による通信を行っても良い、MFP100は、これらの通信方式を利用したネットワークを介して、携帯端末30等の他の外部装置からジョブを受け付ける。 The MFP 100 may include a communication unit other than the BLE unit 316 and the WLAN unit 318. The communication may be performed directly by wireless communication, or may be performed via an access point outside the MFP 100 installed on the network. Examples of the communication method include NFC (Near Field Communication; ISO / IEC IS 18092) and Wi-Fi Area. Further, not limited to wireless communication, wired communication may be performed by a wired LAN or the like. The MFP 100 accepts jobs from other external devices such as a mobile terminal 30 via a network using these communication methods.

また、MFP100がジョブを受け付ける方法は、無線通信や有線通信を介して外部装置からジョブを受信する方法に限らない。例えば、MFP100は、操作部309を介してユーザから直接印刷やスキャンのための指示を受け付けることによって、ジョブを受け付けても良い。 Further, the method of accepting a job by the MFP 100 is not limited to the method of receiving a job from an external device via wireless communication or wired communication. For example, the MFP 100 may accept a job by directly receiving an instruction for printing or scanning from the user via the operation unit 309.

図9は携帯端末30の概略構成を示すブロック図である。 FIG. 9 is a block diagram showing a schematic configuration of the mobile terminal 30.

携帯端末30は、装置のメインの制御を行うメインボード901と、Bluetooth(登録商標)通信及びBLE通信を行うBLEユニット911、Wi−Fi通信を行うWLANユニット913を有する。 The mobile terminal 30 includes a main board 901 that controls the main device, a BLE unit 911 that performs Bluetooth (registered trademark) communication and BLE communication, and a WLAN unit 913 that performs Wi-Fi communication.

メインボード901において、CPU902は、システム制御部であり、携帯端末30の全体を制御する。ROM903は、CPU902が実行する制御プログラムや組込OSプログラム等の各種プログラムを格納する。本実施形態では、ROM903に格納されている制御プログラムは、ROM903に格納されている組込OSの管理下で、スケジューリングやタスクスイッチ等のソフトウエア制御を行う。RAM904は、SRAM等のメモリで構成され、プログラム制御変数、ユーザが登録した設定値、携帯端末30の管理データ等を格納し、各種ワーク用バッファ領域が設けられている。なお、これらの設定情報データは、RAM904でなく、ROM903や不揮発性メモリ905等の他の記憶領域に保存されても良い。 In the main board 901, the CPU 902 is a system control unit and controls the entire mobile terminal 30. The ROM 903 stores various programs such as a control program executed by the CPU 902 and an embedded OS program. In the present embodiment, the control program stored in the ROM 903 performs software control such as scheduling and task switching under the control of the embedded OS stored in the ROM 903. The RAM 904 is composed of a memory such as an SRAM, stores program control variables, set values registered by the user, management data of the mobile terminal 30, and is provided with various work buffer areas. Note that these setting information data may be stored in another storage area such as ROM 903 or non-volatile memory 905 instead of RAM 904.

不揮発性メモリ905は、フラッシュメモリ等のメモリで構成され、電源がオフされた時でも保持していたいデータを格納する。具体的には、不揮発性メモリ905には、ネットワークに接続するためのパスワードや認証情報等のネットワーク情報、MACアドレスやSSID等の過去に接続した通信装置のリストといった携帯端末30の設定情報などが記憶される。なお、これらの設定情報データは、不揮発性メモリ905でなく、ROM903やRAM904等の他の記憶領域に保存されても良い。また、ROM303や不揮発性メモリ905に保存された設定情報をCPU902がRAM904に展開することで、設定情報を利用した処理を行っても良い。 The non-volatile memory 905 is composed of a memory such as a flash memory, and stores data to be retained even when the power is turned off. Specifically, the non-volatile memory 905 contains network information such as passwords and authentication information for connecting to the network, setting information of the mobile terminal 30 such as a list of communication devices connected in the past such as MAC address and SSID, and the like. Be remembered. Note that these setting information data may be stored in another storage area such as ROM 903 or RAM 904 instead of the non-volatile memory 905. Further, the CPU 902 may expand the setting information stored in the ROM 303 or the non-volatile memory 905 into the RAM 904 to perform processing using the setting information.

画像メモリ906は、DRAM等のメモリで構成され、BLEユニット911やWLANユニット913等を介して受信した画像データや、符号復号化処理部910で処理した画像データ等の各種データを格納する。 The image memory 906 is composed of a memory such as a DRAM, and stores various data such as image data received via the BLE unit 911, the WLAN unit 913, and the like, and image data processed by the code decoding processing unit 910.

なお、携帯端末30のメモリ構成は、この形態に限定されるものではなく、用途や目的に応じて、その数や特性、記憶容量等を適宜変更することができる。例えば、画像メモリ906とRAM904を共有させてもよい。また、画像メモリ906は、DRAM等で構成されているが、これに限定されず、HDDや不揮発性メモリ等で構成されていても良い。 The memory configuration of the mobile terminal 30 is not limited to this form, and the number, characteristics, storage capacity, and the like can be appropriately changed according to the application and purpose. For example, the image memory 906 and the RAM 904 may be shared. Further, the image memory 906 is composed of a DRAM or the like, but is not limited to this, and may be composed of an HDD, a non-volatile memory, or the like.

データ変換部907は、ページ記述言語(PDL)等のデータの生成や、画像データに対する色変換、画像変換などのデータ変換を行う。 The data conversion unit 907 generates data such as a page description language (PDL), and performs data conversion such as color conversion and image conversion for image data.

操作部908及び表示部909は、携帯端末30に対する各種入力の受け付けや携帯端末30に関する各種情報の表示を行う。 The operation unit 908 and the display unit 909 accept various inputs to the mobile terminal 30 and display various information related to the mobile terminal 30.

符号復号化処理部910は、画像データに対し、符号復号化処理や拡大縮小処理等の各種処理を行う。 The code decoding processing unit 910 performs various processes such as code decoding processing and enlargement / reduction processing on the image data.

BLEユニット911は、BLEの規格に準拠した通信を実現するためのユニットである。なお、BLEユニット911は、クラシックBluetooth(登録商標)通信とBLE通信の兼用のユニットある。BLEユニット911は、アドバタイズパケットの受信、接続要求情報の送信、BLE接続を確立した装置とのデータ通信等の機能を担う。また、BLEユニット911は、バスケーブル912を介してシステムバス915に接続されている。 The BLE unit 911 is a unit for realizing communication conforming to the BLE standard. The BLE unit 911 is a unit for both classic Bluetooth (registered trademark) communication and BLE communication. The BLE unit 911 has functions such as receiving advertisement packets, transmitting connection request information, and data communication with a device that has established a BLE connection. Further, the BLE unit 911 is connected to the system bus 915 via the bus cable 912.

WLANユニット913は、Wi−Fiの規格に準拠した通信を実現するためのユニットである。WLANユニット913は、Wi−Fi接続を確立するための、スキャン処理や認証処理、Wi−Fi接続を確立した外部装置からのジョブの受信等の機能を担う。また、WLANユニット913は、バスケーブル914を介してシステムバス915に接続されている。 The WLAN unit 913 is a unit for realizing communication conforming to the Wi-Fi standard. The WLAN unit 913 is responsible for functions such as scanning processing and authentication processing for establishing a Wi-Fi connection, and receiving a job from an external device that has established a Wi-Fi connection. Further, the WLAN unit 913 is connected to the system bus 915 via the bus cable 914.

上記各種構成要素902〜914は、CPU902が管理するシステムバス915を介して、相互に接続されている。 The various components 902 to 914 are connected to each other via a system bus 915 managed by the CPU 902.

なお、携帯端末30は、BLEユニット911やWLANユニット913以外の通信ユニットを備えていても良い。また、携帯端末30は、通信ユニットを複数備え、複数種類の通信方式によって通信可能であっても良い。なお、通信は無線通信でダイレクトに通信しても良いし、ネットワーク上に設置した携帯端末30外部のアクセスポイントを介して通信しても良い。通信方式としては、例えば、NFCやWi−Fi Aware等が挙げられる。また、無線ではなく、有線によって通信しても良い。 The mobile terminal 30 may include a communication unit other than the BLE unit 911 and the WLAN unit 913. Further, the mobile terminal 30 may be provided with a plurality of communication units and may be able to communicate by a plurality of types of communication methods. The communication may be performed directly by wireless communication, or may be performed via an access point outside the mobile terminal 30 installed on the network. Examples of the communication method include NFC and Wi-Fi Area. Moreover, you may communicate by wire instead of wireless.

図4はBLEユニット316の概略構成を示すブロック図である。バスケーブル317は、BLE通信によって送受信するデータをメインボード301とマイコン403の間で送受信するためのケーブルである。マイコン403はBLE通信を実現するための処理を行うマイクロプロセッサである。マイコン403には、RAMとフラッシュメモリが搭載されている。無線通信回路404は、無線通信チップ、水晶振動子、インダクタンス、コンデンサ等で構成される。無線通信回路404は、BLEにおける物理層(PHY)を司る構成であり、アナログ信号の変調と復調、デジタルシンボルとの変更等を行うことで、後述のアドバタイズやBLE接続後のデータ通信を行う。操作スイッチ405はBLEユニット316に供給する電力をオン、オフするスイッチである。電池406はボタン電池等である。本体電源402はメインボード301から供給される電力によって動作する電源である。電源回路407は電池406からの電力をより効率的に供給するために電圧調整等の処理を行う回路である。BLEユニット316は、電池406と本体電源402の2系統の電源を持つことで、MFP100の電源がオフになったりMFP100が省電力モードに移行した等の理由でメインボード301からの電力供給が停止した場合も、BLE通信を行うことができる。また、BLEユニット316は、不揮発性メモリ401を搭載し、メインボード301から送られてくる情報を不揮発性メモリ401に移動しておくことで、メインボード301と通信できない状態でも他の装置とBLE通信をすることができる。また、BLEユニット911も、BLEユニット316と同様の構成を有するものとする。 FIG. 4 is a block diagram showing a schematic configuration of the BLE unit 316. The bus cable 317 is a cable for transmitting and receiving data transmitted and received by BLE communication between the main board 301 and the microcomputer 403. The microcomputer 403 is a microprocessor that performs processing for realizing BLE communication. The microcomputer 403 is equipped with a RAM and a flash memory. The wireless communication circuit 404 is composed of a wireless communication chip, a crystal oscillator, an inductance, a capacitor, and the like. The wireless communication circuit 404 has a configuration that controls the physical layer (PHY) in BLE, and performs data communication after advertisement and BLE connection, which will be described later, by modulating and demodulating an analog signal, changing from a digital symbol, and the like. The operation switch 405 is a switch that turns on and off the power supplied to the BLE unit 316. The battery 406 is a button battery or the like. The main body power supply 402 is a power supply that operates by the electric power supplied from the main board 301. The power supply circuit 407 is a circuit that performs processing such as voltage adjustment in order to supply power from the battery 406 more efficiently. Since the BLE unit 316 has two power sources, a battery 406 and a main body power supply 402, the power supply from the main board 301 is stopped due to reasons such as the power supply of the MFP 100 being turned off or the MFP 100 shifting to the power saving mode. Even if this is the case, BLE communication can be performed. Further, the BLE unit 316 is equipped with the non-volatile memory 401, and by moving the information sent from the main board 301 to the non-volatile memory 401, the BLE unit can communicate with other devices even when it cannot communicate with the main board 301. Can communicate. Further, the BLE unit 911 also has the same configuration as the BLE unit 316.

図7を用いて、BLEにおけるアドバタイズパケットの送信及び接続要求情報の受信の処理について説明する。本実施形態では、MFP100がスレーブ機器として動作するため、BLEユニット316が上記処理を行うものとする。 The processing of transmitting the advertisement packet and receiving the connection request information in BLE will be described with reference to FIG. 7. In the present embodiment, since the MFP 100 operates as a slave device, the BLE unit 316 performs the above processing.

BLEユニット316は、2.4GHzの周波数帯を40チャネル(0〜39ch)に分割して通信を行う。BLEユニット316は、そのうち、37〜39番目のチャネルをアドバタイズパケットの送信及び接続要求情報の受信に利用し、0〜36番目のチャネルをBLE接続後のデータ通信に利用している。図7では、縦軸がBLEユニット316の消費電力を、横軸が時間を示しており、1つのチャネルを利用してアドバタイズパケットを送信する際の消費電力を各処理別に示している。Tx705は、アドバタイズパケットをブロードキャストする処理である送信処理における総消費電力を、Rx706は、接続要求情報を受信するための受信器を有効にしておく処理である受信処理における総消費電力を示している。送信電力702は送信処理による瞬間消費電力を示している。また、受信電力703は受信処理による瞬間消費電力を示している。また、マイコン動作電力701は、マイコン403が動作している場合の瞬間消費電力を示している。なお、Tx705とRx706の前後や間にもマイコン403が動作しているのは、送信・受信処理の実行や停止のためには事前にマイコン403が起動している必要があるからである。また、アドバタイズパケットの送信を複数チャネルで行う場合は、アドバタイズパケットの送信を行うチャネルの数だけ消費電力が増えることになる。また、マイコン403が動作を行っておらず、BLEユニット316が省電力状態となっている間は、スリープ電力704がBLEユニット316の瞬間消費電力となる。このように、BLEユニット316は、所定のチャネルを用いて送信処理を行った後、同一のチャネルを用いて一定時間受信処理を行うことで、外部装置から接続要求情報が送信されるのを待つ。 The BLE unit 316 divides the 2.4 GHz frequency band into 40 channels (0 to 39 channels) for communication. The BLE unit 316 uses the 37th to 39th channels for transmitting advertisement packets and receiving connection request information, and the 0th to 36th channels for data communication after BLE connection. In FIG. 7, the vertical axis shows the power consumption of the BLE unit 316 and the horizontal axis shows the time, and the power consumption when transmitting the advertisement packet using one channel is shown for each process. Tx705 indicates the total power consumption in the transmission process which is the process of broadcasting the advertisement packet, and Rx706 indicates the total power consumption in the receive process which is the process of enabling the receiver for receiving the connection request information. .. The transmission power 702 indicates the instantaneous power consumption due to the transmission process. Further, the received power 703 indicates the instantaneous power consumption due to the reception process. Further, the microcomputer operating power 701 indicates the instantaneous power consumption when the microcomputer 403 is operating. The reason why the microcomputer 403 operates before and after and between Tx705 and Rx706 is that the microcomputer 403 needs to be started in advance in order to execute or stop the transmission / reception processing. Further, when the advertisement packet is transmitted by a plurality of channels, the power consumption increases by the number of channels for transmitting the advertisement packet. Further, while the microcomputer 403 is not operating and the BLE unit 316 is in the power saving state, the sleep power 704 becomes the instantaneous power consumption of the BLE unit 316. In this way, the BLE unit 316 waits for the connection request information to be transmitted from the external device by performing the transmission process using the predetermined channel and then performing the reception process for a certain period of time using the same channel. ..

また、BLEユニット316は、図8(a)に示すように、アドバタイズパケットの送信処理と受信処理を、チャネル別に3回繰り返した後、マイコン403の動作を停止させ一定時間省電力状態になる。以下、所定のチャネルによるアドバタイズパケットの送信処理と受信処理の組み合わせをアドバタイズと言う。また、所定のチャネルによってアドバタイズパケットを送信する時間間隔をアドバタイズ間隔という。なお、1回目のアドバタイズを行ってから省電力状態になるまでに繰り返すアドバタイズの回数は、3回以下であれば任意に変更可能である。 Further, as shown in FIG. 8A, the BLE unit 316 repeats the advertisement packet transmission processing and the reception processing three times for each channel, and then stops the operation of the microcomputer 403 and enters a power saving state for a certain period of time. Hereinafter, the combination of the transmission processing and the reception processing of the advertisement packet by the predetermined channel is referred to as advertisement. Further, the time interval for transmitting the advertisement packet through a predetermined channel is called the advertisement interval. The number of advertisements repeated from the first advertisement to the power saving state can be arbitrarily changed as long as it is 3 times or less.

図5は、BLEユニット316がMFP100の周辺にブロードキャストするアドバタイズパケットの構造の一例である。 FIG. 5 is an example of the structure of the advertisement packet broadcast by the BLE unit 316 around the MFP 100.

BLEユニット316は、電力の供給が開始されると初期化処理を行い、アドバタイジング状態となる。BLEユニット316は、アドバタイジング状態となると、アドバタイズ間隔に基づいて定期的にアドバタイズパケットを周辺にブロードキャストする。アドバタイズパケットとは、基本的なヘッダ情報(当該アドバタイズパケットを送信する装置を識別するための識別情報等)を含む信号であり、ヘッダ501とペイロード502から構成される。外部装置は、このアドバタイズパケットを受信することで、MFP100の存在を認識することができる。さらに、外部装置は、MFP100に接続要求情報を送信することでMFP100とBLE接続することができる。ヘッダ501は、アドバタイズパケットのタイプやペイロード502の大きさの情報などを格納する領域である。ペイロード502は、識別情報としてのデバイス名や搭載プロファイル情報、MFP100と接続するための接続情報、アドバタイズパケットの送信電力(Tx Power)等の情報を格納する。 When the power supply to the BLE unit 316 is started, the BLE unit 316 performs an initialization process and enters an advertising state. When the BLE unit 316 is in the advertising state, the BLE unit 316 periodically broadcasts the advertisement packet to the periphery based on the advertisement interval. The advertisement packet is a signal including basic header information (identification information for identifying a device that transmits the advertisement packet, etc.), and is composed of a header 501 and a payload 502. The external device can recognize the existence of the MFP 100 by receiving this advertisement packet. Further, the external device can make a BLE connection with the MFP 100 by transmitting the connection request information to the MFP 100. The header 501 is an area for storing information such as the type of advertisement packet and the size of the payload 502. The payload 502 stores information such as a device name and mounting profile information as identification information, connection information for connecting to the MFP 100, and transmission power (Tx Power) of an advertisement packet.

ペイロード502の詳細を説明する。デバイス名503にはMFP100を識別するための識別情報が格納されている。識別情報は、例えば、BLEによって規定された文字列やMFP100のシリアルナンバー、MACアドレス等の情報であり、MFP100を一意に特定するための情報である。 The details of the payload 502 will be described. Identification information for identifying the MFP 100 is stored in the device name 503. The identification information is, for example, information such as a character string defined by BLE, a serial number of the MFP 100, a MAC address, and the like, and is information for uniquely identifying the MFP 100.

接続情報504には、MFP100とBLE接続を行うための情報が格納されている。なお、BLE接続を行うための情報は、具体的には、BLEによって規定されたプロトコルデータが該当する。携帯端末30等の外部装置は、プロトコルデータを送受信することで、BLE接続を確立する。 The connection information 504 stores information for making a BLE connection with the MFP 100. The information for performing the BLE connection specifically corresponds to the protocol data specified by the BLE. An external device such as the mobile terminal 30 establishes a BLE connection by transmitting and receiving protocol data.

また、このときMFP100と外部装置は、BLE以外で接続を確立することも可能である。例えば、MFP100へ接続を行うための情報として、MFP100が備える不図示のWLANユニットへの接続情報を設定しておくことで、アドバタイズパケットを受信した外部装置はWLANでMFP100と接続をすることができる。なお、接続情報504には、外部装置によるMFP100の検索を可能とするか不可とするかを示す情報である検索情報を格納しても良い。検索を不可とする検索情報が格納されたアドバタイズパケットを受信した外部装置は、例えば、MFP100の状態をユーザに通知することはできるが、MFP100との接続の確立やMFP100を接続候補の装置としてリストアップすることができない。すなわち、この場合MFP100は、外部装置に対して情報を一方的に送信することができる。なお、検索情報は、フラグによってMFP100の検索を可能とするか不可とするかを示しても良い。 Further, at this time, the MFP 100 and the external device can establish a connection other than BLE. For example, by setting the connection information to the WLAN unit (not shown) included in the MFP 100 as the information for connecting to the MFP 100, the external device receiving the advertisement packet can connect to the MFP 100 by WLAN. .. The connection information 504 may store search information that indicates whether or not the search of the MFP 100 by an external device is possible or not. An external device that receives an advertisement packet containing search information that makes search impossible can, for example, notify the user of the status of the MFP100, but establishes a connection with the MFP100 and lists the MFP100 as a connection candidate device. I can't upload it. That is, in this case, the MFP 100 can unilaterally transmit information to the external device. In addition, the search information may indicate whether the search of the MFP 100 is possible or not by the flag.

Tx Power505には、アドバタイズパケットの送信電力の情報が格納されている。アドバタイズパケットを受信した外部装置は、Tx Power505と、アドバタイズパケットを受信した時の信号強度から伝搬損失を求めることにより、装置間の距離を推定することができる。 Information on the transmission power of the advertisement packet is stored in the Tx Power 505. The external device that has received the advertisement packet can estimate the distance between the devices by obtaining the propagation loss from the Tx Power 505 and the signal strength when the advertisement packet is received.

アドバタイズモード情報506には、アドバタイズパケットを送信した時のMFP100のアドバタイズモードの情報が格納されている。アドバタイズモードの詳細については後述する。 The advertisement mode information 506 stores information on the advertisement mode of the MFP 100 when the advertisement packet is transmitted. The details of the advertisement mode will be described later.

エラー情報507には、アドバタイズパケットを送信した時のMFP100のエラー状態を示す情報が格納されている。アドバタイズパケットを受信した外部装置は、エラー情報507を参照することで、MFP100と接続を確立することなくMFP100にエラーが発生していることを特定してユーザに通知することができる。 The error information 507 stores information indicating the error status of the MFP 100 when the advertisement packet is transmitted. By referring to the error information 507, the external device that has received the advertisement packet can identify that an error has occurred in the MFP 100 and notify the user without establishing a connection with the MFP 100.

エラー情報507の詳細を、図6を用いて説明する。エラー情報507として、ジョブ状況の情報(以下、ジョブ状況601)、ジョブエラーの情報(以下、ジョブエラー602)、リカバブルエラーの情報(以下、リカバブルエラー603)、フェイタルエラーの情報(以下、フェイタルエラー604)とがある。なお、ジョブエラー、リカバブルエラー及びフェイタルエラーとは、MFP100に起こり得るエラーが分類されたものである。MFP100が、それらのエラーのうちいずれかのエラー状態となっている場合に、当該エラー状態を示す情報がエラー情報507に格納される。 The details of the error information 507 will be described with reference to FIG. The error information 507 includes job status information (hereinafter, job status 601), job error information (hereinafter, job error 602), recubbable error information (hereinafter, recubbable error 603), and fatal error information (hereinafter, hereinafter, job error 602). There is a fatal error 604). The job error, recoverable error, and fatal error are classified into errors that may occur in the MFP 100. When the MFP 100 is in one of the error states, the information indicating the error state is stored in the error information 507.

本実施形態では、エラー情報にビットが割り当てられていることから、複数のエラーが発生した場合も、発生したエラーそれぞれをユーザに通知できる。また、アドバタイズパケットを受信した外部装置は、エラー情報507に含まれる情報に基づいてMFP100に発生しているエラー状態を特定してユーザに通知することができる。そのため、ユーザは、外部装置からの通知を確認することで、エラーを解除してからMFP100を使用するか、もしくは別の通信装置を使用するかを判断することができる。 In the present embodiment, since the bit is assigned to the error information, even if a plurality of errors occur, each of the generated errors can be notified to the user. Further, the external device that has received the advertisement packet can identify the error state occurring in the MFP 100 based on the information included in the error information 507 and notify the user. Therefore, the user can determine whether to use the MFP 100 or another communication device after canceling the error by checking the notification from the external device.

ジョブ状況601には、MFP100が受けているジョブの状況等の情報が格納されている。例えば、受信済ジョブ数、受信済ページ数等の情報が格納されている。アドバタイズパケットを受信した外部装置は、受信済ジョブ数、受信済ページ数を特定することで、ジョブを送信した場合に、当該ジョブが処理されるまでの待ち時間がどの程度になるかを推測(特定)することができる。 The job status 601 stores information such as the status of the job received by the MFP 100. For example, information such as the number of received jobs and the number of received pages is stored. By specifying the number of received jobs and the number of pages received, the external device that received the advertisement packet estimates how long the waiting time until the job is processed when the job is sent ( Can be specified).

ジョブエラー602には、MFP100がジョブを受信して実行する際に発生したエラーの内容を示す値が格納されている。なお、ジョブエラーは、例えば、用紙サイズミスマッチ、用紙種ミスマッチ、画像デコードエラー、パケットエラー、色ミスマッチ、面付けエラー、サポート無しエラー等である。ジョブエラーは、例えば、送信したジョブの設定情報とMFP100の設定情報が一致しなかったりする場合に発生することが多い。即ち、アドバタイズパケットを受信した外部装置から適切なジョブを送信し直すことで、あるいは、MFP100の設定を変更することで解消できるものが多い。MFP100は、アドバタイズパケットにジョブエラー602を格納することによって、MFP100の周囲に存在するユーザが所持する外部装置に、MFP100がジョブエラー状態である旨を通知することができる。 The job error 602 stores a value indicating the content of the error that occurred when the MFP 100 receives and executes the job. The job error is, for example, a paper size mismatch, a paper type mismatch, an image decoding error, a packet error, a color mismatch, an imposition error, an unsupported error, or the like. The job error often occurs, for example, when the setting information of the transmitted job and the setting information of the MFP 100 do not match. That is, in many cases, the problem can be solved by retransmitting an appropriate job from the external device that has received the advertisement packet, or by changing the setting of the MFP 100. By storing the job error 602 in the advertisement packet, the MFP 100 can notify the external device owned by the user existing around the MFP 100 that the MFP 100 is in the job error state.

リカバブルエラー603には、MFP100に発生しているエラーの中でユーザによるMFP100のメンテナンスが必要なエラーを示す値が格納されている。リカバブルエラー603には、ジョブエラー602と同様にビット毎にエラーを示す値が割り当てられている。なお、リカバブルエラーは、例えば、搬送部紙ジャム、給紙部紙ジャム、用紙トレーフル、排出口クローズ、カバーオープン、インク無し、インク残量少、その他のユーザによるメンテナンスが必要なエラーである。MFP100は、アドバタイズパケットにリカバブルエラー603を格納することによって、MFP100の周囲に存在するユーザが所持する外部装置に、MFP100がリカバブルエラー状態である旨を通知することができる。 The recoverable error 603 stores a value indicating an error that requires maintenance of the MFP 100 by the user among the errors that have occurred in the MFP 100. Similar to the job error 602, the recoverable error 603 is assigned a value indicating an error for each bit. The recoverable error is, for example, a paper jam in the transport section, a paper jam in the paper feed section, a paper tray full, a discharge port closed, a cover open, no ink, a low ink level, and other errors that require maintenance by the user. By storing the recoverable error 603 in the advertisement packet, the MFP 100 can notify the external device owned by the user existing around the MFP 100 that the MFP 100 is in the recoverable error state.

フェイタルエラー604には、MFP100に発生しているエラーの中でユーザによるメンテナンスが難しいエラーを示す値が格納されている。メンテナンスが難しいエラーとは、例えば、サービスセンターに連絡する必要があり、通常のユーザでは復帰させることができないエラーである。具体的には、フェイタルエラーは、例えば、廃インクタンクフル、印刷部高温エラー、電源エラー、その他のメンテナンスが難しいエラーである。MFP100は、アドバタイズパケットにフェイタルエラー604を格納することによって、MFP100の周囲に存在するユーザが所持する外部装置に、MFP100がフェイタルエラー状態である旨を通知することができる。 The fatal error 604 stores a value indicating an error that is difficult for the user to maintain among the errors that have occurred in the MFP 100. An error that is difficult to maintain is, for example, an error that requires contacting the service center and cannot be recovered by a normal user. Specifically, the fatal error is, for example, a waste ink tank full, a high temperature printing unit error, a power supply error, or other error that is difficult to maintain. By storing the fatal error 604 in the advertisement packet, the MFP 100 can notify the external device owned by the user existing around the MFP 100 that the MFP 100 is in the fatal error state.

なお、図5及び図6に示す構成は、一例であり、MFP100は、図5及び図6に示す内容以外に、任意のデータをアドバタイズパケットに格納してブロードキャストすることもできる。例えば、アドバタイズパケットに格納しきれない情報を、次のアドバタイズパケットでブロードキャストすることを表すフラグや、MFP100のケーパビリティ情報、アドバタイズパケットの種別の情報等を格納しても良い。 The configuration shown in FIGS. 5 and 6 is an example, and the MFP 100 can store arbitrary data in an advertisement packet and broadcast it in addition to the contents shown in FIGS. 5 and 6. For example, a flag indicating that the information that cannot be stored in the advertisement packet may be broadcast in the next advertisement packet, the capability information of the MFP 100, the information of the type of the advertisement packet, and the like may be stored.

図10は、携帯端末30とMFP100とが、ハンドオーバーによってジョブの送受信を行う場合のシーケンスである。ハンドオーバーとは、通信を行うそれぞれの装置が、まず近距離通信方式によって高速通信方式による通信を行うための接続情報をやり取りした後、高速通信方式に切り替えてデータの送受信を行う技術である。本実施形態では、近距離通信方式としてBLE通信による通信方式を、高速通信方式としてWi−Fi通信による通信方式を用いている。BLE通信の通信速度は、Wi−Fi通信と比較して低速である。そのため、BLE通信では装置間の認証やWi−Fi通信のための接続情報のやり取り等を行い、通信速度の速いWi−Fi通信で容量の多いデータ(ここではジョブ)の転送を行うことで、効率的なデータ転送を図ることができる。なお、ハンドオーバーにおいて利用される通信方式は、上述の形態に限定されず、近距離通信方式及び高速通信方式として種々の通信方式が利用されて良い。例えば、NFC通信やWi−Fi Aware通信にてWi−Fi通信のための接続情報をやり取りし、その後Wi−Fi通信にてデータのやり取りを行うような構成としても良い。 FIG. 10 is a sequence in which the mobile terminal 30 and the MFP 100 transmit and receive jobs by handover. Handover is a technology in which each device that performs communication first exchanges connection information for performing communication by the high-speed communication method by the short-range communication method, and then switches to the high-speed communication method to send and receive data. In this embodiment, a communication method by BLE communication is used as a short-range communication method, and a communication method by Wi-Fi communication is used as a high-speed communication method. The communication speed of BLE communication is lower than that of Wi-Fi communication. Therefore, in BLE communication, authentication between devices and connection information for Wi-Fi communication are performed, and in Wi-Fi communication with high communication speed, a large amount of data (job in this case) is transferred. Efficient data transfer can be achieved. The communication method used in the handover is not limited to the above-mentioned form, and various communication methods may be used as the short-range communication method and the high-speed communication method. For example, the configuration may be such that connection information for Wi-Fi communication is exchanged by NFC communication or Wi-Fi Aware communication, and then data is exchanged by Wi-Fi communication.

なお、この処理シーケンスが示すMFP100の処理は、CPU302が、ROM303又はMFP100が備えるHDD(不図示)に記憶されている制御プログラムをRAM304にロードし、その制御プログラムを実行することで実現される。また、この処理シーケンスが示す携帯端末30の処理は、CPU902が、ROM903又は携帯端末30が備えるHDD(不図示)に記憶されている制御プログラムをRAM904にロードし、その制御プログラムを実行することで実現される。 The processing of the MFP 100 indicated by this processing sequence is realized by the CPU 302 loading the control program stored in the HDD (not shown) included in the ROM 303 or the MFP 100 into the RAM 304 and executing the control program. Further, the processing of the mobile terminal 30 indicated by this processing sequence is performed by the CPU 902 loading the control program stored in the ROM 903 or the HDD (not shown) included in the mobile terminal 30 into the RAM 904 and executing the control program. It will be realized.

以下の説明において、MFP100は、所定の間隔でアドバタイズパケットを送信するアドバタイザであるものとする。また、携帯端末30は、周辺にあるアドバタイザから送信されるアドバタイズパケットを待ち受けるイニシエータであるものとする。まず、BLEユニット316は、アドバタイズパケットの送信を行う(S1001〜S1003)。携帯端末30は、BLEユニット911がBLEユニット316から送信されたアドバタイズパケットを受信することで、MFP100の存在を認識することができる。 In the following description, it is assumed that the MFP 100 is an advertiser that transmits advertisement packets at predetermined intervals. Further, it is assumed that the mobile terminal 30 is an initiator that waits for an advertisement packet transmitted from an advertiser in the vicinity. First, the BLE unit 316 transmits the advertisement packet (S1001 to S1003). The mobile terminal 30 can recognize the existence of the MFP 100 by receiving the advertisement packet transmitted from the BLE unit 316 by the BLE unit 911.

携帯端末30は、MFP100を認識し、MFP100と接続することを決定したら、接続要求情報をMFP100に送信する。具体的には、BLEユニット911が、BLEによるネットワーク接続を確立する接続イベントに遷移するための要求であるCONNECT_REQを送信する(S1004)。BLEユニット316がCONNECT_REQを受信すると、携帯端末30及びMFP100は、接続イベントに遷移する準備をする。具体的には、BLEユニット911及びBLEユニット316が、それぞれメインボード901及びメインボード301にBLE通信のための接続処理が完了した旨を通知する。その後、携帯端末30及びMFP100はそれぞれイニシエータとアドバタイザからマスタとスレーブに遷移し、マスタである携帯端末30とスレーブであるMFP100は、BLE通信のための接続(BLE接続)を確立する。なお、BLE規格では、マスタは、スレーブと「1:多」のスター型のトポロジーを形成することができる。携帯端末30とMFP100は、BLE接続を確立したら、以後、BLE通信方式によってデータ通信を行うことができる。 When the mobile terminal 30 recognizes the MFP 100 and decides to connect to the MFP 100, the mobile terminal 30 transmits the connection request information to the MFP 100. Specifically, the BLE unit 911 transmits CONNECT_RET, which is a request for transitioning to a connection event for establishing a network connection by BLE (S1004). When the BLE unit 316 receives the CONNECT_RET, the mobile terminal 30 and the MFP 100 prepare to transition to the connection event. Specifically, the BLE unit 911 and the BLE unit 316 notify the main board 901 and the main board 301, respectively, that the connection process for BLE communication has been completed. After that, the mobile terminal 30 and the MFP 100 transition from the initiator and the advertiser to the master and the slave, respectively, and the master mobile terminal 30 and the slave MFP 100 establish a connection (BLE connection) for BLE communication. In the BLE standard, the master can form a "1: many" star-shaped topology with the slave. After establishing the BLE connection, the mobile terminal 30 and the MFP 100 can perform data communication by the BLE communication method.

その後、S1005では、BLEユニット911は、BLEユニット316に対して、MFP100が利用可能な通信プロトコルの情報を要求する。 After that, in S1005, the BLE unit 911 requests the BLE unit 316 for information on the communication protocol that can be used by the MFP 100.

この要求には携帯端末30が利用可能な通信プロトコルの情報が含まれており、BLEユニット316は、この要求を受信することで、携帯端末30がWi−Fi等の通信方式を利用可能であることを認識することができる。BLEユニット316は、S1006において、S1005で受け取った要求に対して、自身の利用可能な通信プロトコルの情報を応答する。これによって互いの装置は、BLE以外の互いの利用可能な通信プロトコルを把握することができる。 This request includes information on a communication protocol that can be used by the mobile terminal 30, and the BLE unit 316 can use a communication method such as Wi-Fi by receiving this request. You can recognize that. In S1006, the BLE unit 316 responds to the request received in S1005 with information on its available communication protocol. This allows each device to keep track of each other's available communication protocols other than BLE.

ここで、BLE以外の互いの利用可能な通信プロトコルを把握することにより、装置間の通信をWi−Fi通信に切り替えることが携帯端末30によって決定されたとする。なお、このとき、通信方式の切り替えを行うか否かはMFP100が決定しても良い。通信方式の切り替えが決定された場合、S1007およびS1008にて、それぞれの装置は、通信相手を特定するアドレスの情報やSSIDの情報等の、Wi−Fiで通信を行うために必要な通信情報を交換する。その後S1009にて、BLEユニット911は、装置間の通信方式をBLE通信からWi−Fi通信へと切り替える要求(通信切り替え要求)を送信する。BLEユニット316は、切り替えの要求を受信すると、S1010にて応答を行う。 Here, it is assumed that the mobile terminal 30 decides to switch the communication between the devices to Wi-Fi communication by grasping each other's available communication protocols other than BLE. At this time, the MFP 100 may decide whether or not to switch the communication method. When it is decided to switch the communication method, in S1007 and S1008, each device provides communication information necessary for Wi-Fi communication, such as address information for identifying a communication partner and SSID information. Exchange. After that, in S1009, the BLE unit 911 transmits a request (communication switching request) for switching the communication method between the devices from BLE communication to Wi-Fi communication. When the BLE unit 316 receives the request for switching, the BLE unit 316 responds in S1010.

切り替えの要求と応答が正しく行われたら、S1011では、携帯端末30は、MFP100との通信に利用する通信部をBLEユニット911からWLANユニット913へ切り替える。さらに、S1012では、MFP100は、携帯端末30との通信に利用する通信部をBLEユニット316からWLANユニット318へ切り替える。切り替えを行った後、S1013にて、BLEユニット911は解放要求を送信する。解放要求を受け取ったBLEユニット316は、S1014にて解放応答を送信し、装置間のBLE接続を終了する。装置間のBLE接続が終了すると、携帯端末30とMFP100はそれぞれイニシエータとアドバタイザに戻り、BLEユニット316は、アドバタイズパケットの送信を再開する。 If the request and response for switching are correctly performed, in S1011 the mobile terminal 30 switches the communication unit used for communication with the MFP 100 from the BLE unit 911 to the WLAN unit 913. Further, in S1012, the MFP 100 switches the communication unit used for communication with the mobile terminal 30 from the BLE unit 316 to the WLAN unit 318. After switching, the BLE unit 911 transmits a release request in S1013. Upon receiving the release request, the BLE unit 316 transmits a release response in S1014 and terminates the BLE connection between the devices. When the BLE connection between the devices is completed, the mobile terminal 30 and the MFP 100 return to the initiator and the advertiser, respectively, and the BLE unit 316 resumes the transmission of the advertisement packet.

その後、それぞれの装置は、S1007およびS1008で交換したWi−Fi通信を行うために必要な情報を利用し、Wi−Fi通信を行う。まずS1015では、WLANユニット913は、MFP100がジョブの取得が可能かどうかWLANユニット318に確認をする。ここでは、例えば、MFP100に転送しようとする画像を一時保存するための空き容量の情報などが確認される。WLANユニット318は、確認の要求を受け取った後、S1016にて確認に対する応答を送信する。 After that, each device uses the information necessary for performing the Wi-Fi communication exchanged in S1007 and S1008 to perform the Wi-Fi communication. First, in S1015, the WLAN unit 913 confirms with the WLAN unit 318 whether or not the MFP 100 can acquire the job. Here, for example, information on the free space for temporarily storing the image to be transferred to the MFP 100 is confirmed. After receiving the confirmation request, the WLAN unit 318 transmits a response to the confirmation in S1016.

正しい応答が得られ、MFP100がジョブの取得が可能であると判断した場合、S1017にて、WLANユニット318は、ジョブを要求する。その後、ジョブの要求を受けたWLANユニット913は、S1018にて携帯端末30に存在する画像データ等を含むジョブをWLANユニット318に対して送信する。なお、このとき送信するジョブの選択は、例えば、BLE接続が確立する前やBLE接続が確立した後、Wi−Fi接続が確立した後等のタイミングで行われる。また、送信されるジョブは、印刷ジョブに限らず、例えば、MFP100にスキャンを指示するためのスキャンジョブや携帯端末30がMFP100の状態の情報を取得するためのジョブ等であっても良い。また、例えばMFP100の設定の変更等、MFP100に対する各種操作を実行するためのコマンド等であっても良い。なお、携帯端末30は、ジョブの送信が完了した場合、MFP100とのWi−Fi接続を切断して、ハンドオーバー直前のネットワーク状態に戻る。具体的には、例えば携帯端末30は、ハンドオーバーを実行する前に、3GやLTE等の移動体通信網やルーター等のアクセスポイントに接続していた場合は、当該移動体通信網やアクセスポイントへの接続を再度確立する。そのため、携帯端末30は、ハンドオーバーを実行する前に、ハンドオーバー直前のネットワーク状態の情報及び、当該ネットワーク情報を確立するために必要な通信情報等を保持しておく。 If a correct response is obtained and the MFP 100 determines that the job can be acquired, the WLAN unit 318 requests the job in S1017. After that, the WLAN unit 913 that receives the job request transmits the job including the image data and the like existing in the mobile terminal 30 to the WLAN unit 318 in S1018. The job to be transmitted at this time is selected, for example, before the BLE connection is established, after the BLE connection is established, or after the Wi-Fi connection is established. Further, the job to be transmitted is not limited to a print job, and may be, for example, a scan job for instructing the MFP 100 to scan, a job for the mobile terminal 30 to acquire information on the state of the MFP 100, or the like. Further, it may be a command or the like for executing various operations on the MFP 100, such as changing the setting of the MFP 100. When the transmission of the job is completed, the mobile terminal 30 disconnects the Wi-Fi connection with the MFP 100 and returns to the network state immediately before the handover. Specifically, for example, if the mobile terminal 30 is connected to a mobile communication network such as 3G or LTE or an access point such as a router before executing the handover, the mobile communication network or access point Reestablish the connection to. Therefore, the mobile terminal 30 holds information on the network state immediately before the handover, communication information necessary for establishing the network information, and the like before executing the handover.

このように、ハンドオーバー技術を用いることで、ユーザビリティの高い通信方式(近距離通信方式)によって、高速通信方式で通信するための接続情報をやり取りし、その後、高速通信方式によって、容量の大きいデータのやり取りを高速で行うことができる。 In this way, by using the handover technology, connection information for communication by the high-speed communication method is exchanged by a communication method (short-range communication method) with high usability, and then, a large amount of data is exchanged by the high-speed communication method. Can be exchanged at high speed.

なお、通常、ハンドオーバーによってBLE通信からWi−Fi通信へ通信方式の切り替えが行われた場合、BLEユニット316は、アドバタイズパケットの送信を再開するため、携帯端末30以外の外部装置とハンドオーバーが実行可能な状態となる。 Normally, when the communication method is switched from BLE communication to Wi-Fi communication by handover, the BLE unit 316 resumes the transmission of the advertisement packet, so that the handover is performed with an external device other than the mobile terminal 30. It is ready for execution.

このとき、携帯端末30が、例えば、送信するジョブの選択や生成等、データ通信のための準備を行っていたり、データ量の大きいジョブを送信したりしていることで、未だWi−Fi通信によるジョブの送信を完了させていない場合がある。このような場合において、携帯端末30以外の外部装置がハンドオーバーによりMFP100とのWi−Fi通信を実行すると、携帯端末30が先にハンドオーバーを実行したにも関わらず、他の外部装置の送信したジョブの受信が先に完了される場合がある。MFP100は、受信を完了したジョブ順に処理を開始するため、上述のような場合において、ジョブの処理順の追い越しが発生する可能性がある。そのため、本実施形態では、MFP100は、ハンドオーバーによって、携帯端末30等の外部装置とWi−Fi接続している場合には、ジョブの処理順の追い越しを抑制するための制御を実行する。なお、ジョブの処理順の追い越しを抑制するための制御として、具体的には、MFP100は、後述のアドバタイズモードを変更してBLEにおけるアドバタイズを停止する制御を実行する。すなわち、外部装置とWi−Fi接続している場合には、Wi−Fi接続している外部装置以外の外部装置とハンドオーバーを実行できない状態にする。 At this time, the mobile terminal 30 is preparing for data communication such as selection and generation of a job to be transmitted, or is transmitting a job having a large amount of data, so that Wi-Fi communication is still performed. Job transmission may not be completed by. In such a case, when an external device other than the mobile terminal 30 executes Wi-Fi communication with the MFP 100 by handover, the transmission of the other external device is performed even though the mobile terminal 30 has executed the handover first. The reception of the completed job may be completed first. Since the MFP 100 starts processing in the order of jobs that have completed reception, overtaking of the processing order of jobs may occur in the above cases. Therefore, in the present embodiment, when the MFP 100 is Wi-Fi connected to an external device such as a mobile terminal 30 by handover, the MFP 100 executes control for suppressing overtaking of the job processing order. As a control for suppressing overtaking of the job processing order, specifically, the MFP 100 executes a control for stopping the advertisement in BLE by changing the advertisement mode described later. That is, when the external device is connected to Wi-Fi, the handover cannot be executed with the external device other than the external device connected to Wi-Fi.

本実施形態におけるアドバタイズモードについて説明する。アドバタイズモードとは、アドバタイズの方法や送信するアドバタイズパケットの内容を規定するためのモードである。本実施形態では、MFP100は、アドバタイズモードとして、通常モードと接続不可モードの2つのモードで動作可能であるものとする。 The advertisement mode in this embodiment will be described. The advertisement mode is a mode for defining the advertising method and the content of the advertisement packet to be transmitted. In the present embodiment, it is assumed that the MFP 100 can operate in two modes, a normal mode and a non-connectable mode, as an advertisement mode.

通常モードは、ハンドオーバーにより外部装置とWi−Fi接続していない通常の状態においてMFP100に設定されるモードである。MFP100は、通常モードとして動作している場合、図8(a)に示すように、送信処理と受信処理の双方を実行する。また、このとき送信するアドバタイズパケットにおいて、接続情報504には、検索を可能とすることを示す検索情報が格納される。このような形態とすることで、MFP100は、アドバタイズパケットをブロードキャストして外部装置に自身の存在を認識させることができる。さらに、MFP100は、外部装置から接続要求情報を受信して外部装置と接続し、BLE通信を行うことができる。なお、通常モードには、送信先を指定してアドバタイズパケットの送信を行うモードと、送信先を指定せずにアドバタイズパケットの送信を行うモードとがある。本実施形態においては、通常モードにおいて、どちらのモードが利用されても良い。なお、アドバタイズパケットは、3つの異なるプロパティ(コネクタビリティ、スキャナビリティ、ディレクタビリティ)にしたがって分類される。具体的には、アドバタイズパケットは、ADV_IND、ADV_DIRECT_IND、ADV_NONCONN_IND及びADV_SCAN_INDの4つの種別に分類される。このうち、コネクタビリティ(接続性)において、接続可能の属性を有している種別は、ADV_IND、ADV_DIRECT_INDの2つである。本実施形態において、MFP100は、通常モードにおいて外部装置と接続可能であるため、ADV_IND又はADV_DIRECT_INDの種別のアドバタイズパケットを送信する。 The normal mode is a mode set in the MFP 100 in a normal state in which the Wi-Fi connection with the external device is not made by handover. When the MFP 100 is operating in the normal mode, it executes both the transmission process and the reception process as shown in FIG. 8A. Further, in the advertisement packet transmitted at this time, the connection information 504 stores search information indicating that the search is possible. With such a form, the MFP 100 can broadcast the advertisement packet to make the external device recognize its existence. Further, the MFP 100 can receive the connection request information from the external device, connect to the external device, and perform BLE communication. The normal mode includes a mode in which an advertisement packet is transmitted by designating a destination and a mode in which an advertisement packet is transmitted without specifying a destination. In the present embodiment, either mode may be used in the normal mode. Advertisement packets are classified according to three different properties (connectivity, scannerability, and directability). Specifically, the advertisement packet is classified into four types: ADV_IND, ADV_DIRECT_IND, ADV_NONCONN_IND and ADV_SCAN_IND. Of these, in terms of connectivity, there are two types that have a connectable attribute: ADV_IND and ADV_DIRECT_IND. In the present embodiment, since the MFP 100 can be connected to the external device in the normal mode, it transmits an advertisement packet of the type of ADV_IND or ADV_DIRECT_IND.

接続不可モードは、ハンドオーバーにより外部装置とWi−Fi接続している場合にMFP100に設定されるモードである。本実施形態では、MFP100は、接続不可モードとして動作している場合、図8(c)に示すように、送信処理と受信処理の双方を実行しない。すなわち、MFP100は、接続不可モードになると、アドバタイズを停止する。MFP100は、アドバタイズを停止すると、接続要求情報を受信することがなくなるため、外部装置とのBLE接続を確立することがなくなる。そのため、MFP100は、接続不可モードである場合には、接続不可モードになる前からWi−Fi通信を実行している外部装置以外の装置と、BLE通信を介したハンドオーバーによってWi−Fi通信を実行することがなくなる。 The non-connectable mode is a mode set in the MFP 100 when a Wi-Fi connection is made with an external device by handover. In the present embodiment, when the MFP 100 is operating in the non-connectable mode, it does not execute both the transmission process and the reception process as shown in FIG. 8 (c). That is, the MFP 100 stops advertising when it enters the non-connectable mode. When the advertisement is stopped, the MFP 100 does not receive the connection request information, so that the BLE connection with the external device is not established. Therefore, when the MFP100 is in the non-connectable mode, the MFP 100 performs Wi-Fi communication with a device other than the external device that has been executing Wi-Fi communication before the non-connectable mode by handover via BLE communication. No more to do.

なお、ジョブの処理順の追い越しを抑制するための制御を実行する条件は上述の形態に限定されない。例えば、Wi−Fi接続している外部装置からのデータ受信が完了していない場合や、Wi−Fi接続している外部装置から受信したジョブの処理が完了していない場合に、当該制御を実行しても良い。なお、ジョブの処理順の追い越しを抑制するための制御も、上述の制御に限定されない。例えば、BLEを経由せず、直接Wi−Fi接続が行われることによりジョブの追い越しが発生することを抑制するために、既にWi−Fi接続している外部装置以外の外部装置とのWi−Fi接続自体を実行しないように制御しても良い。 The conditions for executing the control for suppressing the overtaking of the job processing order are not limited to the above-described form. For example, when the data reception from the external device connected to Wi-Fi is not completed, or when the processing of the job received from the external device connected to Wi-Fi is not completed, the control is executed. You may. The control for suppressing the overtaking of the job processing order is not limited to the above-mentioned control. For example, in order to suppress job overtaking due to direct Wi-Fi connection without going through BLE, Wi-Fi with an external device other than the external device already connected to Wi-Fi. You may control not to execute the connection itself.

図11は、本実施形態においてMFP100が実行する、アドバタイズモードを変更する処理を示すフローチャートである。なお、このフローチャートが示す処理は、CPU302が、ROM303又はMFP100が備えるHDD(不図示)に記憶されている制御プログラムをRAM304にロードし、その制御プログラムを実行することで実現される。なお、このフローチャートが示す処理は、MFP100本体の電源がオンされた場合やBLEユニット316の電源がオンされた場合等、アドバタイズが開始される場合に開始されるものとする。 FIG. 11 is a flowchart showing a process of changing the advertisement mode executed by the MFP 100 in the present embodiment. The process shown in this flowchart is realized by the CPU 302 loading the control program stored in the HDD (not shown) included in the ROM 303 or the MFP 100 into the RAM 304 and executing the control program. The process shown in this flowchart is assumed to be started when the advertisement is started, such as when the power of the MFP 100 main body is turned on or when the power of the BLE unit 316 is turned on.

まず、S1101において、CPU302は、アドバタイズパケットをブロードキャストするための準備をする。具体的には、例えば、CPU302は、図5のアドバタイズパケットを作成するために必要なデータをRAM304等のメモリから取得する。 First, in S1101, the CPU 302 prepares to broadcast the advertisement packet. Specifically, for example, the CPU 302 acquires the data necessary for creating the advertisement packet of FIG. 5 from a memory such as the RAM 304.

次にS1102において、CPU302は、BLEユニット316にアドバタイズパケットのブロードキャストを開始させる。このとき、MFP100は、通常モードであるため、図8(a)に示すように、送信処理と受信処理の双方を実行する。 Next, in S1102, the CPU 302 causes the BLE unit 316 to start broadcasting the advertisement packet. At this time, since the MFP 100 is in the normal mode, both the transmission process and the reception process are executed as shown in FIG. 8A.

次にS1103において、CPU302は、BLEユニット316がCONNECT_REQを受信したか否かを判定する。CPU302は、BLEユニット316がCONNECT_REQを受信したと判定した場合、S1104にて、CONNECT_REQを発行した外部装置とのハンドオーバーを実行する。具体的には、CPU302は、MFP100と当該外部装置とのBLE接続を確立して通信情報のやり取りを行った後、MFP100と当該外部装置とのWi−Fi接続を確立する。なお、ハンドオーバーの方法は、図10で説明したとおりである。なおこのとき、前述したように、BLEユニット316は、MFP100と当該外部装置とのBLE接続が確立された場合は一旦アドバタイズを停止するが、MFP100と当該外部装置とのBLE接続が解除されるとアドバタイズを再開しようとする。また、CPU302は、BLEユニット316がCONNECT_REQを受信していないと判定した場合、BLEユニット316がCONNECT_REQを受信するまで1103の判定をくり返す。 Next, in S1103, the CPU 302 determines whether or not the BLE unit 316 has received the CONNECT_RET. When the CPU 302 determines that the BLE unit 316 has received the CONNECT_RET, the CPU 302 executes a handover with the external device that issued the CONNECT_RET in S1104. Specifically, the CPU 302 establishes a BLE connection between the MFP 100 and the external device, exchanges communication information, and then establishes a Wi-Fi connection between the MFP 100 and the external device. The method of handover is as described with reference to FIG. At this time, as described above, the BLE unit 316 temporarily stops advertising when the BLE connection between the MFP 100 and the external device is established, but when the BLE connection between the MFP 100 and the external device is released, the BLE unit 316 temporarily stops advertising. Attempts to resume advertising. Further, when the CPU 302 determines that the BLE unit 316 has not received the CONNECT_RET, the CPU 302 repeats the determination of 1103 until the BLE unit 316 receives the CONNECT_RET.

S1104にてMFP100と外部装置とのWi−Fi接続が確立されると、上述のモード変更条件が満たされた状態となる。そのため、S1105において、CPU302は、MFP100を接続不可モードに移行させ、BLEユニット316がアドバタイズを停止するよう制御する。具体的には、CPU302は、BLEユニット316が送信処理と受信処理とを実行しないように制御することで、外部装置とのBLE接続が行われないように制御する。このような形態とすることで、MFP100は、BLE通信を介したハンドオーバーが実行されないように制御することができ、結果として、ジョブの処理順の追い越しが発生することを抑制することができる。 When the Wi-Fi connection between the MFP 100 and the external device is established in S1104, the above-mentioned mode change condition is satisfied. Therefore, in S1105, the CPU 302 shifts the MFP 100 to the non-connectable mode, and controls the BLE unit 316 to stop advertising. Specifically, the CPU 302 controls the BLE unit 316 so as not to execute the transmission process and the receive process so that the BLE connection with the external device is not performed. With such a form, the MFP 100 can control so that the handover via the BLE communication is not executed, and as a result, it is possible to suppress the overtaking of the job processing order.

次にS1106において、CPU302は、モード変更条件が満たされなくなったか否かを判定し、MFP100を通常モードに移行させるか否かを判定する。CPU302は、具体的には、外部装置とのWi−Fi接続が切断されたか否かを判定する。又は、CPU302は、外部装置からのデータ受信が完了したか否かや、外部装置から受信したジョブの処理が完了したか否かを判定する。なお、このとき、CPU302は、それぞれのモード変更条件が全て、又はいずれかの組み合わせで満たされなくなった場合に、モード変更条件が満たされなくなったと判定しても良い。また、S1106の判定においていずれのモード変更条件に関する判定を行うのかをユーザが任意に設定可能な構成としても良い。CPU302は、モード変更条件が満たされなくなったと判定した場合、接続不可モードを解除してMFP100を通常モードに移行させ、S1102にて、通常モードにおけるアドバタイズを再開する。また、CPU302は、モード変更条件が満たされていると判定した場合、S1107の処理を行う。 Next, in S1106, the CPU 302 determines whether or not the mode change condition is no longer satisfied, and determines whether or not to shift the MFP 100 to the normal mode. Specifically, the CPU 302 determines whether or not the Wi-Fi connection with the external device has been disconnected. Alternatively, the CPU 302 determines whether or not the data reception from the external device is completed and whether or not the processing of the job received from the external device is completed. At this time, the CPU 302 may determine that the mode change condition is no longer satisfied when all or any combination of the mode change conditions is not satisfied. Further, the user may arbitrarily set which mode change condition is to be determined in the determination of S1106. When the CPU 302 determines that the mode change condition is no longer satisfied, it cancels the non-connectable mode, shifts the MFP 100 to the normal mode, and resumes advertising in the normal mode in S1102. Further, when the CPU 302 determines that the mode change condition is satisfied, the CPU 302 performs the process of S1107.

S1107において、CPU302は、タイムアウト判定を行う。具体的には、CPU302は、S1105でMFP100を接続不可モードに移行させてから経過した時間が、所定の閾値を超えたか否かを判定する。なお、タイムアウト判定に利用される所定の閾値は、ユーザが任意に設定しても良いし、着荷時に予め設定されている構成としても良い。CPU302は、接続不可モードに移行させてから経過した時間が所定の閾値を超えていないと判定した場合は、S1106の処理を再度行う。また、CPU302は、接続不可モードに移行させてから経過した時間が所定の閾値を超えたと判定した場合は、接続不可モードを解除してMFP100を通常モードに移行させ、S1102にて、通常モードにおけるアドバタイズを再開する。例えば、通信エラーやジョブエラー等が生じたことでジョブの送受信やジョブの処理が中断されてしまった場合にも、タイムアウト判定によって、MFP100は、ジョブの受信や処理が完了するのを待つことなく、通常モードへ復帰することができる。 In S1107, the CPU 302 performs a time-out determination. Specifically, the CPU 302 determines whether or not the time elapsed after shifting the MFP 100 to the non-connectable mode in S1105 exceeds a predetermined threshold value. The predetermined threshold value used for the time-out determination may be arbitrarily set by the user, or may be set in advance at the time of arrival. When the CPU 302 determines that the time elapsed after shifting to the non-connectable mode does not exceed a predetermined threshold value, the CPU 302 performs the process of S1106 again. Further, when the CPU 302 determines that the time elapsed since the transition to the non-connectable mode exceeds a predetermined threshold value, the CPU 302 cancels the non-connectable mode and shifts the MFP 100 to the normal mode, and in S1102, in the normal mode. Resume advertising. For example, even if job transmission / reception or job processing is interrupted due to a communication error or job error, the MFP100 does not wait for the job reception or processing to be completed by the timeout determination. , Can return to normal mode.

このような形態とすることで、MFP100は、外部装置との接続状態や通信状態に応じて、BLEユニット316のアドバタイズモードを切り替えることができる。 With such a form, the MFP 100 can switch the advertising mode of the BLE unit 316 according to the connection state and the communication state with the external device.

BLE規格において、BLEユニット316は、BLE接続を確立している場合、アドバタイズを停止し、BLE接続を解除した場合、アドバタイズを再開する。そのため、通常であれば、ハンドオーバーにより装置間の接続がBLE接続からWi−Fi接続に切り替わった場合、BLEユニット316は、アドバタイズを再開する。しかしながら、本実施形態では、BLE接続が解除されても、装置間でWi−Fi接続が確立されている状態であれば、BLEユニット316は、アドバタイズを再開せず、ハンドオーバーを実行できないようにする。このような形態とすることで、ある外部装置が先にハンドオーバーしたにも関わらず、後にハンドオーバーした外部装置がジョブを先に送信してしまって、ぞ部の処理の追い越しが発生することを抑制することができる。 In the BLE standard, the BLE unit 316 stops advertising when the BLE connection is established, and restarts the advertisement when the BLE connection is released. Therefore, normally, when the connection between the devices is switched from the BLE connection to the Wi-Fi connection by the handover, the BLE unit 316 resumes the advertisement. However, in the present embodiment, even if the BLE connection is released, if the Wi-Fi connection is established between the devices, the BLE unit 316 does not restart the advertisement and cannot execute the handover. do. With such a form, even though a certain external device hands over first, the external device handed over later sends the job first, and the processing of the peripheral part is overtaken. Can be suppressed.

(第2実施形態)
第1実施形態では、接続不可モードである場合に、BLEのアドバタイズにおいて送信処理と受信処理の双方を実行しない例を説明した。本実施形態では、接続不可モードである場合に、第1実施形態と異なる処理を実行する例を説明する。
なお、以下の説明において、送信処理と受信処理の双方を実行しない接続不可モードを第1接続不可モード、第1接続不可モードと異なる接続不可モードを第2接続不可モードという。
(Second Embodiment)
In the first embodiment, an example in which both the transmission process and the reception process are not executed in the advertisement of BLE in the non-connectable mode has been described. In this embodiment, an example of executing a process different from that of the first embodiment in the non-connectable mode will be described.
In the following description, the non-connectable mode in which both the transmission process and the receive process are not executed is referred to as a first non-connectable mode, and a non-connectable mode different from the first non-connectable mode is referred to as a second non-connectable mode.

本実施形態の通信システムの構成は第1実施形態と同様であるため、説明を省略する。また、本実施形態におけるモード変更条件も、第1実施形態と同様であるため、説明を省略する。 Since the configuration of the communication system of the present embodiment is the same as that of the first embodiment, the description thereof will be omitted. Further, since the mode change conditions in the present embodiment are the same as those in the first embodiment, the description thereof will be omitted.

本実施形態において、MFP100は、モード変更条件が満たされた場合には、第2接続不可モードとして動作する。第2接続不可モードとは、BLEユニット316が受信処理を実行せず、且つ送信処理において、MFP100がジョブの受信を抑制している状態である旨を通知するための情報を格納したアドバタイズパケットを送信するモードである。すなわち、MFP100は、第2接続不可モードである場合、図8(b)に示すようなアドバタイズを実行する。 In the present embodiment, the MFP 100 operates as a second non-connectable mode when the mode change condition is satisfied. The second non-connectable mode is an advertisement packet containing information for notifying that the BLE unit 316 does not execute the reception process and the MFP 100 is suppressing the reception of the job in the transmission process. This is the transmission mode. That is, when the MFP 100 is in the second non-connectable mode, the MFP 100 executes the advertisement as shown in FIG. 8 (b).

本実施形態では、「ハンドオーバーの実行を制御している状態」とは、上述のモード変更条件が満たされた状態である。具体的には、例えば、「MFP100が外部装置とWi−Fi接続している状態」や「MFP100がWi−Fi接続している外部装置からのデータ受信を完了していない状態」である。そのため、MFP100は、第2接続不可モードである場合には当該状態であることを通知するための情報を格納する。なお、本実施形態においては、当該状態であることを通知するための情報として、アドバタイズモード情報506等が利用される。なお、ペイロード502に、当該状態であることを通知するための新たな領域を設けても良い。 In the present embodiment, the "state in which the execution of the handover is controlled" is a state in which the above-mentioned mode change condition is satisfied. Specifically, for example, "a state in which the MFP 100 is connected to an external device by Wi-Fi" or "a state in which the MFP 100 has not completed receiving data from an external device connected to Wi-Fi". Therefore, the MFP 100 stores information for notifying that the second connection is not possible mode. In the present embodiment, the advertisement mode information 506 and the like are used as the information for notifying the state. The payload 502 may be provided with a new area for notifying that the state is in effect.

そして、MFP100は、それらの情報を格納したアドバタイズパケットを受信した外部装置に、例えば図13(a)のようなMFP100の通信状態を示す通知画面を表示させ、ユーザにMFP100がジョブの受信を抑制している状態である旨を通知する。なお、当該状態を通知するために、MFP100は、図13(b)のようにアドバタイズ時のMFP100のアドバタイズモードを通知する画面を外部装置に表示させても良い。また、MFP100は、図13(c)、(d)のようにアドバタイズモードが変更された原因を通知する画面を外部装置に表示させても良い。 Then, the MFP 100 causes the external device that has received the advertisement packet storing the information to display a notification screen showing the communication status of the MFP 100 as shown in FIG. 13A, for example, and the MFP 100 suppresses the reception of the job by the user. Notify that it is in a state of being. In order to notify the state, the MFP 100 may display a screen for notifying the advertising mode of the MFP 100 at the time of advertising on the external device as shown in FIG. 13 (b). Further, the MFP 100 may display a screen notifying the cause of the change in the advertising mode on the external device as shown in FIGS. 13 (c) and 13 (d).

このように、MFP100は、第2接続不可モードにおいては、アドバタイズパケットの送信は実行するが、接続要求情報の受信は実行しないことで外部装置とのBLE接続の確立は行われないようにする。そのため、MFP100は、第2接続不可モードにおいては、コネクタビリティにおいて接続不可の属性を有しているADV_NONCONN_IND又はADV_SCAN_INDの種別のアドバタイズパケットを送信する。なお、第2接続不可モードにおいて送信するアドバタイズパケットには、接続情報を付加しなくても良いし、接続要求情報を返さないように外部装置に伝えるための情報を付加しても良い。 As described above, the MFP 100 transmits the advertisement packet in the second non-connectable mode, but does not receive the connection request information so that the BLE connection with the external device is not established. Therefore, in the second non-connectable mode, the MFP 100 transmits an advertisement packet of the type of ADV_NONCONN_IND or ADV_SCAN_IND having the non-connectable attribute in the connectability. It is not necessary to add the connection information to the advertisement packet transmitted in the second non-connectable mode, or information for transmitting to the external device so as not to return the connection request information may be added.

本実施形態においてMFP100が実行する、アドバタイズモードを変更する処理を、図12を用いて説明する。なお、このフローチャートが示す処理は、CPU302が、ROM303又はMFP100が備えるHDD(不図示)に記憶されている制御プログラムをRAM304にロードし、その制御プログラムを実行することで実現される。なお、このフローチャートが示す処理は、MFP100本体の電源がオンされた場合やBLEユニット316の電源がオンされた場合等、アドバタイズが開始される場合に開始されるものとする。 The process of changing the advertisement mode executed by the MFP 100 in the present embodiment will be described with reference to FIG. The process shown in this flowchart is realized by the CPU 302 loading the control program stored in the HDD (not shown) included in the ROM 303 or the MFP 100 into the RAM 304 and executing the control program. The process shown in this flowchart is assumed to be started when the advertisement is started, such as when the power of the MFP 100 main body is turned on or when the power of the BLE unit 316 is turned on.

S1201〜S1204、S1206、S1207の処理については、S1101〜S1104、S1106、S1107の処理と同様のため説明を省略する。 The processing of S1201 to S1204, S1206, and S1207 is the same as the processing of S1101 to S1104, S1106, and S1107, and thus the description thereof will be omitted.

CPU302は、S1205において、MFP100を第2接続不可モードに移行させる。具体的には、CPU302は、BLEユニット316による受信処理を終了させる。さらに、CPU302は、BLEユニット316による送信処理において、MFP100がハンドオーバーの実行を抑制している状態であることを通知するための情報を格納してアドバタイズパケットをブロードキャストするように制御する。 The CPU 302 shifts the MFP 100 to the second non-connectable mode in S1205. Specifically, the CPU 302 ends the reception process by the BLE unit 316. Further, the CPU 302 controls to broadcast the advertisement packet by storing the information for notifying that the MFP 100 is in the state of suppressing the execution of the handover in the transmission process by the BLE unit 316.

このような形態とすることで、MFP100は、アドバタイズパケットを受信する外部装置を所持するユーザに、MFP100の状態を通知することができる。そして、ユーザに他の通信装置を利用するように促したり、なぜ外部装置とMFP100とでハンドオーバーを実行できないかを理解させることができる。さらに、MFP100は、受信処理を省略することで、接続要求情報を受け付けなくしてハンドオーバーが実行されることを抑制することができると共に、消費電力を削減することができる。 With such a form, the MFP 100 can notify the user who has the external device that receives the advertisement packet of the status of the MFP 100. Then, the user can be urged to use another communication device, and the external device and the MFP 100 can understand why the handover cannot be performed. Further, by omitting the reception process, the MFP 100 can suppress the handover from being executed without accepting the connection request information, and can reduce the power consumption.

なお、MFP100の状態を通知するための情報を送信するための通信方式はBLEに限らず、例えば、Wi−Fi等他の通信方式によって、MFP100の状態を通知するための情報を送信しても良い。 The communication method for transmitting the information for notifying the status of the MFP 100 is not limited to BLE, and for example, even if the information for notifying the status of the MFP 100 is transmitted by another communication method such as Wi-Fi. good.

また、MFP100は、モード変更条件が満たされた場合に、第1接続不可モードと、第2接続不可モードとのいずれで動作するか、任意に設定可能な形態であっても良い。 Further, the MFP 100 may be in a form in which it can be arbitrarily set whether to operate in the first non-connectable mode or the second non-connectable mode when the mode change condition is satisfied.

(その他の実施形態)
上述の実施形態の効果を実現できれば、上述の実施形態のフローチャートの処理の順番を入れ替えても良いし、その全ての処理を実行しなくても良いし、処理の内容を変更しても良い。
(Other embodiments)
If the effect of the above-described embodiment can be realized, the order of the processes of the flowchart of the above-described embodiment may be changed, all the processes may not be executed, or the contents of the processes may be changed.

上述したように、ハンドオーバーに利用する近距離通信方式は、BLEに限定されず、NFCやWi−Fi Aware等が利用されても良い。なお、例えば、近距離通信方式としてNFCが用いられる場合、ジョブの処理の追い越しを抑制するための制御として、NFC通信部のメモリー内に保持される通信情報を削除したり、NFC通信部の電源をOFFにしたりする等の制御が実行される。このようにすることで、NFCに保持される通信情報が外部装置に読み取られることがなくなり、外部装置に通信情報が提供されなくなる。 As described above, the short-range communication method used for handover is not limited to BLE, and NFC, Wi-Fi Area, or the like may be used. For example, when NFC is used as the short-range communication method, the communication information held in the memory of the NFC communication unit may be deleted or the power supply of the NFC communication unit may be used as a control for suppressing overtaking of job processing. Controls such as turning off are executed. By doing so, the communication information held in the NFC is not read by the external device, and the communication information is not provided to the external device.

上述の実施形態においては、通信装置が外部装置にBLEのアドバタイズパケットを送信する際に実行される処理について記載したが、通信装置の存在を外部装置に通知するためにBLEのアドバタイズパケットとは異なる情報が用いられても良い。例えば、Wi−Fi機能に基づく情報の通知によって通信装置が外部装置に、通信装置の存在を通知しても良い。そして、通信装置から発行されるWi−Fi機能に基づく情報内に、上述の実施形態と同様の情報が含まれていても良い。 In the above-described embodiment, the process executed when the communication device transmits the advertisement packet of BLE to the external device has been described, but it is different from the advertisement packet of BLE in order to notify the external device of the existence of the communication device. Information may be used. For example, the communication device may notify the external device of the existence of the communication device by notifying the information based on the Wi-Fi function. Then, the information based on the Wi-Fi function issued from the communication device may include the same information as that of the above-described embodiment.

上述の実施形態においては、ハンドオーバーによって、高速通信方式による接続を行う形態を説明したが、通信装置は、ハンドオーバーを利用しないで高速通信方式による接続を行うこともできる。この場合、例えば、通信装置は、自身のアクセスポイントを有効にして、有効にしたアクセスポイントの情報を周囲にブロードキャストする。そして、ブロードキャストされたアクセスポイントの情報が外部装置によって取得された後、当該アクセスポイントを利用するためのパスワードの入力や認証処理が行われて、高速通信方式による接続が確立される。本実施形態においては、ハンドオーバーによる高速通信方式の接続でなく、ハンドオーバーによらない高速通信方式の接続が確立されている場合も、ジョブの処理順の追い越しを抑制するための制御を実行して良い。 In the above-described embodiment, the mode of connecting by the high-speed communication method by the handover has been described, but the communication device can also connect by the high-speed communication method without using the handover. In this case, for example, the communication device enables its own access point and broadcasts the information of the enabled access point to the surroundings. Then, after the broadcasted access point information is acquired by the external device, the password for using the access point is input and the authentication process is performed to establish the connection by the high-speed communication method. In the present embodiment, even when a high-speed communication method connection that does not depend on the handover is established instead of a high-speed communication method connection by handover, control for suppressing overtaking of the job processing order is executed. It's okay.

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

100 MFP
30 携帯端末
316 BLEユニット
100 MFP
30 Mobile terminal 316 BLE unit

本発明の目的は、第1無線通信方式による接続及び第1無線通信方式より通信速度が速い第2無線通信方式による接続を確立可能な通信装置が第2無線通信方式による接続を確立している状態において、第1無線通信方式に関する通信装置の挙動が適切に制御されるようにすることにある。An object of the present invention is that a communication device capable of establishing a connection by a first wireless communication method and a connection by a second wireless communication method having a faster communication speed than the first wireless communication method establishes a connection by the second wireless communication method. The purpose is to appropriately control the behavior of the communication device with respect to the first wireless communication method in the state.

そこで、上記目的を達成するために、本発明の通信装置は、
第1無線通信方式による第1無線接続及び前記第1無線通信方式より通信速度が速い第2無線通信方式による第2無線接続を確立可能な通信装置であって、
前記第1無線接続を確立可能な所定の状態での動作を前記通信装置に開始させる第1通信手段と、
前記所定の状態での動作が前記通信装置によって開始された後、前記第1無線接続を確立する第1確立手段と、
前記第1無線接続が前記通信装置によって確立されている状態で、前記第2無線接続を確立するための所定の処理を実行する実行手段と、
前記所定の処理が前記通信装置によって実行された場合、前記第2無線接続を確立する第2確立手段と、
前記第2無線接続が前記通信装置によって確立されている状態において、前記第2無線接続が確立される前に確立されていた前記第1無線接続が終了されているように、前記第2無線接続が切断された後の前記通信装置に対するユーザ操作に基づくことなく前記通信装置を制御する制御手段と、
を有することを特徴とする
Therefore, in order to achieve the above object, the communication device of the present invention is used.
A communication device capable of establishing a first wireless connection by a first wireless communication method and a second wireless connection by a second wireless communication method having a faster communication speed than the first wireless communication method.
A first communication means for causing the communication device to start an operation in a predetermined state in which the first wireless connection can be established.
After the operation in the predetermined state is started by the communication device, the first establishment means for establishing the first wireless connection and the first establishment means.
An execution means for executing a predetermined process for establishing the second wireless connection while the first wireless connection is established by the communication device.
When the predetermined process is executed by the communication device, the second establishment means for establishing the second wireless connection and the second establishment means.
In a state where the second wireless connection is established by the communication device, the second wireless connection is terminated so that the first wireless connection established before the second wireless connection is established is terminated. A control means for controlling the communication device without being based on a user operation on the communication device after the communication device is disconnected.
It is characterized by having .

本発明によれば、第1無線通信方式による接続及び第1無線通信方式より通信速度が速い第2無線通信方式による接続を確立可能な通信装置が第2無線通信方式による接続を確立している状態において、第1無線通信方式に関する通信装置の挙動が適切に制御されるようにすることができる。 According to the present invention, a communication device capable of establishing a connection by the first wireless communication method and a connection by the second wireless communication method having a faster communication speed than the first wireless communication method establishes the connection by the second wireless communication method. In the state, the behavior of the communication device with respect to the first wireless communication method can be appropriately controlled.

Claims (35)

第1無線通信方式による通信におけるスレーブ装置として動作し、前記第1無線通信方式による通信装置と前記通信装置の外部の装置との間の無線接続及び前記第1無線通信方式より通信速度が速い第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立可能な前記通信装置であって、
前記第1無線通信方式に基づく信号を送信可能な状態であり、前記信号を受信した、前記通信装置の外部の装置から送信される接続要求情報を前記通信装置が受信した場合に、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立可能な状態である所定の状態での動作を前記通信装置に開始させる第1通信手段と、
前記所定の状態での動作が前記通信装置によって開始された後、前記接続要求情報に基づいて、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立する第1確立手段と、
前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が前記通信装置によって確立されている状態で、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立するための所定の処理を実行する実行手段と、
前記所定の処理が前記通信装置によって実行された場合、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立する第2確立手段と、
前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が前記通信装置によって確立されている状態において、前記通信装置による前記所定の状態での動作が停止されていることにより、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を新たに確立しない状態で前記通信装置が動作しており、且つ前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が確立される前に確立されていた、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が終了されているように前記通信装置を制御する制御手段と、
を有することを特徴とする通信装置。
It operates as a slave device in communication by the first wireless communication method, and has a wireless connection between the communication device by the first wireless communication method and an external device of the communication device, and a communication speed faster than that of the first wireless communication method. 2 The communication device capable of establishing a wireless connection between the communication device and a device outside the communication device by a wireless communication method.
When the communication device is in a state where a signal based on the first wireless communication method can be transmitted and the communication device receives connection request information transmitted from a device outside the communication device that has received the signal, the first. A first communication means for causing the communication device to start an operation in a predetermined state in which a wireless connection between the communication device and an external device of the communication device can be established by a wireless communication method.
After the operation in the predetermined state is started by the communication device, a wireless connection between the communication device and an external device of the communication device by the first wireless communication method is performed based on the connection request information. The first means of establishment and
In a state where a wireless connection between the communication device according to the first wireless communication method and an external device of the communication device is established by the communication device, the communication device and the communication device according to the second wireless communication method are established. An execution means that performs a predetermined process for establishing a wireless connection with an external device of
When the predetermined process is executed by the communication device, a second establishment means for establishing a wireless connection between the communication device and an external device of the communication device according to the second wireless communication method, and
In a state where a wireless connection between the communication device and an external device of the communication device by the second wireless communication method is established by the communication device, the operation of the communication device in the predetermined state is stopped. As a result, the communication device is operating in a state where a wireless connection between the communication device according to the first wireless communication method and an external device of the communication device is not newly established, and the second radio is used. The communication device according to the first wireless communication method and the device outside the communication device, which were established before the wireless connection between the communication device according to the communication method and the device outside the communication device was established. A control means that controls the communication device so that the wireless connection between the two is terminated.
A communication device characterized by having.
前記所定の状態は、前記第1無線通信方式に基づく信号を、前記通信装置の周囲に存在する、前記通信装置の外部の装置に対しブロードキャストする状態であることを特徴とする請求項1に記載の通信装置。 The predetermined state is the state according to claim 1, wherein a signal based on the first wireless communication method is broadcast to a device outside the communication device existing around the communication device. Communication device. 前記所定の状態は、Bluetooth Low Energy(登録商標)に基づくアドバタイズパケットを送信可能な状態であることを特徴とする請求項1又は2に記載の通信装置。 The communication device according to claim 1 or 2, wherein the predetermined state is a state in which an advertisement packet based on Bluetooth Low Energy (registered trademark) can be transmitted. 前記第1無線通信方式に基づく信号は、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立するための接続情報を含み、
前記送信された前記接続情報が、前記通信装置の外部の装置に受信された場合、前記接続要求情報が前記通信装置の外部の装置から送信され、
前記接続要求情報が受信された場合、前記通信装置は、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立することを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。
The signal based on the first wireless communication method includes connection information for establishing a wireless connection between the communication device according to the first wireless communication method and a device outside the communication device.
When the transmitted connection information is received by a device outside the communication device, the connection request information is transmitted from the device outside the communication device.
1. When the connection request information is received, the communication device establishes a wireless connection between the communication device and a device outside the communication device according to the first wireless communication method. The communication device according to any one of 3 to 3.
前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が切断されたことにより、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が前記通信装置によって確立されていない状態において、前記所定の状態での動作を再度実行しているように前記通信装置を制御する装置制御手段を更に有することを特徴とする請求項1乃至4のいずれか1項に記載の通信装置。 Due to the disconnection of the wireless connection between the communication device according to the second wireless communication method and the device outside the communication device, the communication device according to the second wireless communication method and the device outside the communication device A claim comprising further device control means for controlling the communication device so that the operation in the predetermined state is performed again in a state where the wireless connection between the two is not established by the communication device. Item 2. The communication device according to any one of Items 1 to 4. 前記所定の状態での動作を再度実行しているように前記通信装置が、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が切断されたことに基づいて制御されることを特徴とする請求項5に記載の通信装置。 The communication device is disconnected from the communication device by the second wireless communication method and an external device of the communication device so that the operation in the predetermined state is executed again. The communication device according to claim 5, wherein the communication device is controlled based on the above. 前記所定の状態での動作を再度実行しているように前記通信装置が、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が切断された後の前記通信装置に対するユーザ操作に基づくことなく制御されることを特徴とする請求項5又は6に記載の通信装置。 After the communication device disconnects the wireless connection between the communication device and an external device of the communication device by the second wireless communication method so that the operation in the predetermined state is executed again. The communication device according to claim 5 or 6, wherein the communication device is controlled without being based on a user operation. 前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が前記通信装置によって確立されている状態において、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が確立される前に確立されていた前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が終了されているように、前記通信装置が、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が前記通信装置によって確立されたことに基づいて制御されることを特徴とする請求項1乃至7のいずれか1項に記載の通信装置。 In a state where a wireless connection between the communication device according to the second wireless communication method and an external device of the communication device is established by the communication device, the communication device and the communication device according to the second wireless communication method are established. It seems that the wireless connection between the communication device and the external device of the communication device by the first wireless communication method, which was established before the wireless connection with the external device of the communication device is established, is terminated. In addition, the communication device is controlled based on the establishment of a wireless connection between the communication device and an external device of the communication device by the second wireless communication method. The communication device according to any one of claims 1 to 7. 前記所定の処理は、前記第2無線通信方式に基づいて通信を行うための通信情報に関する前記通信装置の外部の装置との通信を、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続によって実行する処理であることを特徴とする請求項1乃至8のいずれか1項に記載の通信装置。 In the predetermined process, communication with an external device of the communication device regarding communication information for performing communication based on the second wireless communication method is performed by the communication device and the communication device according to the first wireless communication method. The communication device according to any one of claims 1 to 8, wherein the process is executed by wireless connection with an external device. 前記第2無線通信方式に基づいて通信を行うための通信情報に関する前記通信装置の外部の装置との通信を、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続によって実行することなく、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立することが可能であることを特徴とする請求項1乃至9のいずれか1項に記載の通信装置。 Communication with an external device of the communication device regarding communication information for performing communication based on the second wireless communication method is performed between the communication device according to the first wireless communication method and an external device of the communication device. 1 to 1, wherein it is possible to establish a wireless connection between the communication device and an external device of the communication device by the second wireless communication method without executing by the wireless connection of the above. The communication device according to any one of 9. 前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続によって、前記通信装置の外部の装置とのデータ通信を実行する通信手段をさらに有し、
前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続による前記通信装置の外部の装置との前記データ通信において、画像データが通信されることを特徴とする請求項1乃至10のいずれか1項に記載の通信装置。
Further having a communication means for executing data communication with an external device of the communication device by a wireless connection between the communication device and an external device of the communication device by the second wireless communication method.
Image data is communicated in the data communication with an external device of the communication device by a wireless connection between the communication device and an external device of the communication device by the second wireless communication method. The communication device according to any one of claims 1 to 10.
前記通信装置による前記所定の状態での動作が停止されており、且つ前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が確立される前に確立されていた、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が終了されているように前記通信装置が制御されている状態において、前記通信装置の状態を示す画面を前記通信装置の外部の装置に表示させるための表示制御手段をさらに有することを特徴とする請求項1乃至11のいずれか1項に記載の通信装置。 The operation of the communication device in the predetermined state is stopped, and the operation is established before the wireless connection between the communication device and the device outside the communication device by the second wireless communication method is established. The state of the communication device in a state where the communication device is controlled so that the wireless connection between the communication device by the first wireless communication method and an external device of the communication device is terminated. The communication device according to any one of claims 1 to 11, further comprising a display control means for displaying a screen indicating the above on a device external to the communication device. 前記第1無線通信方式は、Bluetooth(登録商標)であることを特徴とする請求項1乃至12のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 12, wherein the first wireless communication method is Bluetooth (registered trademark). 前記第2無線通信方式は、Wi−Fi(登録商標)であることを特徴とする請求項1乃至13のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 13, wherein the second wireless communication method is Wi-Fi (registered trademark). 前記通信装置は、プリンタであることを特徴とする請求項1乃至14のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 14, wherein the communication device is a printer. 前記通信装置は、デジタルカメラであることを特徴とする請求項1乃至14のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 14, wherein the communication device is a digital camera. 前記通信装置は、音楽再生デバイスであることを特徴とする請求項1乃至14のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 14, wherein the communication device is a music playback device. 第1無線通信方式による通信におけるスレーブ装置として動作し、前記第1無線通信方式による通信装置と前記通信装置の外部の装置との間の無線接続及び前記第1無線通信方式より通信速度が速い第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立可能な前記通信装置によって実行される制御方法であって、
前記第1無線通信方式に基づく信号を送信可能な状態であり、前記信号を受信した、前記通信装置の外部の装置から送信される接続要求情報を前記通信装置が受信した場合に、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立可能な状態である所定の状態での動作を前記通信装置に開始させる第1通信ステップと、
前記所定の状態での動作が前記通信装置によって開始された後、前記接続要求情報に基づいて、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立する第1確立ステップと、
前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が前記通信装置によって確立されている状態で、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立するための所定の処理を実行する実行ステップと、
前記所定の処理が前記通信装置によって実行された場合、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立する第2確立ステップと、
前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が前記通信装置によって確立されている状態において、前記通信装置による前記所定の状態での動作が停止されていることにより、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を新たに確立しない状態で前記通信装置が動作しており、且つ前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が確立される前に確立されていた、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が終了されているように前記通信装置を制御する制御ステップと、
を有することを特徴とする制御方法。
It operates as a slave device in communication by the first wireless communication method, and has a wireless connection between the communication device by the first wireless communication method and an external device of the communication device, and a communication speed faster than that of the first wireless communication method. 2 A control method executed by the communication device capable of establishing a wireless connection between the communication device and a device outside the communication device by a wireless communication method.
When the communication device is in a state where a signal based on the first wireless communication method can be transmitted and the communication device receives connection request information transmitted from a device outside the communication device that has received the signal, the first. A first communication step of causing the communication device to start an operation in a predetermined state in which a wireless connection between the communication device and an external device of the communication device can be established by a wireless communication method.
After the operation in the predetermined state is started by the communication device, a wireless connection between the communication device and an external device of the communication device by the first wireless communication method is performed based on the connection request information. The first establishment step to establish and
In a state where a wireless connection between the communication device according to the first wireless communication method and an external device of the communication device is established by the communication device, the communication device and the communication device according to the second wireless communication method are established. An execution step that executes a predetermined process for establishing a wireless connection with an external device of
When the predetermined process is executed by the communication device, a second establishment step of establishing a wireless connection between the communication device and an external device of the communication device according to the second wireless communication method, and
In a state where a wireless connection between the communication device and an external device of the communication device by the second wireless communication method is established by the communication device, the operation of the communication device in the predetermined state is stopped. As a result, the communication device is operating in a state where a wireless connection between the communication device according to the first wireless communication method and an external device of the communication device is not newly established, and the second radio is used. The communication device according to the first wireless communication method and the device outside the communication device, which were established before the wireless connection between the communication device according to the communication method and the device outside the communication device was established. A control step that controls the communication device so that the wireless connection between them is terminated.
A control method characterized by having.
前記所定の状態は、前記第1無線通信方式に基づく信号を、前記通信装置の周囲に存在する、前記通信装置の外部の装置に対しブロードキャストする状態であることを特徴とする請求項18に記載の制御方法。 18. The predetermined state is the state in which a signal based on the first wireless communication method is broadcast to a device outside the communication device existing around the communication device, according to claim 18. Control method. 前記所定の状態は、Bluetooth Low Energy(登録商標)に基づくアドバタイズパケットを送信可能な状態であることを特徴とする請求項18又は19に記載の制御方法。 The control method according to claim 18 or 19, wherein the predetermined state is a state in which an advertisement packet based on Bluetooth Low Energy (registered trademark) can be transmitted. 前記第1無線通信方式に基づく信号は、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立するための接続情報を含み、
前記送信された前記接続情報が、前記通信装置の外部の装置に受信された場合、前記接続要求情報が前記通信装置の外部の装置から送信され、
前記接続要求情報が受信された場合、前記通信装置は、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立することを特徴とする請求項18乃至20のいずれか1項に記載の制御方法。
The signal based on the first wireless communication method includes connection information for establishing a wireless connection between the communication device according to the first wireless communication method and a device outside the communication device.
When the transmitted connection information is received by a device outside the communication device, the connection request information is transmitted from the device outside the communication device.
18. When the connection request information is received, the communication device establishes a wireless connection between the communication device and a device outside the communication device according to the first wireless communication method. The control method according to any one of 20 to 20.
前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が切断されたことにより、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が前記通信装置によって確立されていない状態において、前記所定の状態での動作を再度実行しているように前記通信装置を制御する装置制御ステップを更に有することを特徴とする請求項18乃至21のいずれか1項に記載の制御方法。 Due to the disconnection of the wireless connection between the communication device according to the second wireless communication method and the device outside the communication device, the communication device according to the second wireless communication method and the device outside the communication device The claim is characterized by further comprising a device control step that controls the communication device so that the operation in the predetermined state is performed again in a state where the wireless connection between the two is not established by the communication device. Item 2. The control method according to any one of Items 18 to 21. 前記装置制御ステップは、前記所定の状態での動作を再度実行しているように、前記通信装置を、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が切断されたことに基づいて制御するステップであることを特徴とする請求項22に記載の制御方法。 The device control step wirelessly connects the communication device between the communication device and an external device of the communication device according to the second wireless communication method so that the operation in the predetermined state is executed again. 22. The control method according to claim 22, wherein the step is to control based on the disconnection. 前記所定の状態での動作を再度実行しているように前記通信装置が、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が切断された後の前記通信装置に対するユーザ操作に基づくことなく制御されることを特徴とする請求項22又は23に記載の制御方法。 After the communication device disconnects the wireless connection between the communication device and an external device of the communication device by the second wireless communication method so that the operation in the predetermined state is executed again. The control method according to claim 22 or 23, wherein the communication device is controlled without being based on a user operation. 前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が前記通信装置によって確立されている状態において、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が確立される前に確立されていた前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が終了されているように、前記通信装置が、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が前記通信装置によって確立されたことに基づいて制御されることを特徴とする請求項18乃至24のいずれか1項に記載の制御方法。 In a state where a wireless connection between the communication device according to the second wireless communication method and an external device of the communication device is established by the communication device, the communication device and the communication device according to the second wireless communication method are established. It seems that the wireless connection between the communication device and the external device of the communication device by the first wireless communication method, which was established before the wireless connection with the external device of the communication device is established, is terminated. In addition, the communication device is controlled based on the establishment of a wireless connection between the communication device and an external device of the communication device by the second wireless communication method. The control method according to any one of claims 18 to 24. 前記所定の処理は、前記第2無線通信方式に基づいて通信を行うための通信情報に関する前記通信装置の外部の装置との通信を、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続によって実行する処理であることを特徴とする請求項18乃至25のいずれか1項に記載の制御方法。 In the predetermined process, communication with an external device of the communication device regarding communication information for performing communication based on the second wireless communication method is performed by the communication device and the communication device according to the first wireless communication method. The control method according to any one of claims 18 to 25, wherein the process is executed by wireless connection with an external device. 前記通信装置は、前記第2無線通信方式に基づいて通信を行うための通信情報に関する前記通信装置の外部の装置との通信を、前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続によって実行することなく、前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続を確立することが可能であることを特徴とする請求項18乃至26のいずれか1項に記載の制御方法。 The communication device communicates with a device outside the communication device regarding communication information for performing communication based on the second wireless communication method, and the communication device and the outside of the communication device according to the first wireless communication method. It is possible to establish a wireless connection between the communication device and an external device of the communication device by the second wireless communication method without executing by the wireless connection with the device of the above. The control method according to any one of claims 18 to 26. 前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続によって、前記通信装置の外部の装置とのデータ通信を実行する通信ステップをさらに有し、
前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続による前記通信装置の外部の装置との前記データ通信において、画像データが通信されることを特徴とする請求項18乃至27のいずれか1項に記載の制御方法。
Further having a communication step of executing data communication with an external device of the communication device by a wireless connection between the communication device and an external device of the communication device by the second wireless communication method.
The image data is communicated in the data communication between the communication device by the second wireless communication method and the device outside the communication device by the wireless connection between the communication device and the device outside the communication device. The control method according to any one of claims 18 to 27.
前記通信装置による前記所定の状態での動作が停止されており、且つ前記第2無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が確立される前に確立されていた前記第1無線通信方式による前記通信装置と前記通信装置の外部の装置との間の無線接続が終了されているように前記通信装置が制御されている状態において、前記通信装置の状態を示す画面を前記通信装置の外部の装置に表示させるための表示制御ステップをさらに有することを特徴とする請求項18乃至28のいずれか1項に記載の制御方法。 The operation of the communication device in the predetermined state is stopped, and the operation is established before the wireless connection between the communication device and the device outside the communication device by the second wireless communication method is established. In a state where the communication device is controlled so that the wireless connection between the communication device and the device outside the communication device according to the first wireless communication method has been terminated, the state of the communication device is changed. The control method according to any one of claims 18 to 28, further comprising a display control step for displaying the screen to be shown on a device external to the communication device. 前記第1無線通信方式は、Bluetooth(登録商標)であることを特徴とする請求項18乃至29のいずれか1項に記載の制御方法。 The control method according to any one of claims 18 to 29, wherein the first wireless communication method is Bluetooth (registered trademark). 前記第2無線通信方式は、Wi−Fi(登録商標)であることを特徴とする請求項18乃至30のいずれか1項に記載の制御方法。 The control method according to any one of claims 18 to 30, wherein the second wireless communication method is Wi-Fi (registered trademark). 前記通信装置は、プリンタであることを特徴とする請求項18乃至31のいずれか1項に記載の制御方法。 The control method according to any one of claims 18 to 31, wherein the communication device is a printer. 前記通信装置は、デジタルカメラであることを特徴とする請求項18乃至31のいずれか1項に記載の制御方法。 The control method according to any one of claims 18 to 31, wherein the communication device is a digital camera. 前記通信装置は、音楽再生デバイスであることを特徴とする請求項18乃至31のいずれか1項に記載の制御方法。 The control method according to any one of claims 18 to 31, wherein the communication device is a music playback device. 請求項1乃至17のいずれか1項に記載の通信装置の各手段として、コンピュータを動作させるためのプログラム。
A program for operating a computer as each means of the communication device according to any one of claims 1 to 17.
JP2021078374A 2019-05-22 2021-05-06 Communication device, control method and program Active JP7342059B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021078374A JP7342059B2 (en) 2019-05-22 2021-05-06 Communication device, control method and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019096198A JP6882371B2 (en) 2019-05-22 2019-05-22 Communication equipment, control methods and programs
JP2021078374A JP7342059B2 (en) 2019-05-22 2021-05-06 Communication device, control method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2019096198A Division JP6882371B2 (en) 2019-05-22 2019-05-22 Communication equipment, control methods and programs

Publications (3)

Publication Number Publication Date
JP2021119707A true JP2021119707A (en) 2021-08-12
JP2021119707A5 JP2021119707A5 (en) 2022-06-06
JP7342059B2 JP7342059B2 (en) 2023-09-11

Family

ID=68167432

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019096198A Active JP6882371B2 (en) 2019-05-22 2019-05-22 Communication equipment, control methods and programs
JP2021078374A Active JP7342059B2 (en) 2019-05-22 2021-05-06 Communication device, control method and program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2019096198A Active JP6882371B2 (en) 2019-05-22 2019-05-22 Communication equipment, control methods and programs

Country Status (1)

Country Link
JP (2) JP6882371B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007166538A (en) * 2005-12-16 2007-06-28 Canon Inc Communication equipment, its control method, and communication system
JP2014090238A (en) * 2012-10-29 2014-05-15 Brother Ind Ltd Image processing system, image processing device, and information processing device
JP2015073231A (en) * 2013-10-03 2015-04-16 キヤノン株式会社 Communication device, communication method and program
JP2015179924A (en) * 2014-03-19 2015-10-08 カシオ計算機株式会社 Radio communication device, radio communication system, radio communication method, program, slave and master
JP2016025578A (en) * 2014-07-23 2016-02-08 キヤノン株式会社 Communication device, and method of controlling communication device
JP2017143389A (en) * 2016-02-09 2017-08-17 キヤノン株式会社 Communication device, control method, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4916391B2 (en) * 2007-06-22 2012-04-11 パナソニック株式会社 Wireless communication apparatus, wireless communication method and program
US9363010B2 (en) * 2012-12-03 2016-06-07 Samsung Electronics Co., Ltd. Mobile terminal and method of controlling function of the mobile terminal
JP2015012383A (en) * 2013-06-27 2015-01-19 ブラザー工業株式会社 Radio communication device, portable communication terminal, radio communication method and radio communication program
WO2015186916A1 (en) * 2014-06-05 2015-12-10 삼성전자 주식회사 Image reading apparatus and image reading method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007166538A (en) * 2005-12-16 2007-06-28 Canon Inc Communication equipment, its control method, and communication system
JP2014090238A (en) * 2012-10-29 2014-05-15 Brother Ind Ltd Image processing system, image processing device, and information processing device
JP2015073231A (en) * 2013-10-03 2015-04-16 キヤノン株式会社 Communication device, communication method and program
JP2015179924A (en) * 2014-03-19 2015-10-08 カシオ計算機株式会社 Radio communication device, radio communication system, radio communication method, program, slave and master
JP2016025578A (en) * 2014-07-23 2016-02-08 キヤノン株式会社 Communication device, and method of controlling communication device
JP2017143389A (en) * 2016-02-09 2017-08-17 キヤノン株式会社 Communication device, control method, and program

Also Published As

Publication number Publication date
JP7342059B2 (en) 2023-09-11
JP2019176491A (en) 2019-10-10
JP6882371B2 (en) 2021-06-02

Similar Documents

Publication Publication Date Title
JP6532414B2 (en) Communication apparatus, control method and program
JP6650004B2 (en) Communication system, program, and communication method
JP6570260B2 (en) Image processing apparatus, program, and system
JP6745628B2 (en) Information processing apparatus, control method, and program
JP6216149B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP6525771B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD, AND PROGRAM
JP6333032B2 (en) Communication method, communication terminal, and program
EP3247168B1 (en) Communication apparatus, control method for the same, and program
CN107277743B (en) Communication system, communication device, and control method
JP2017022655A (en) Information transmitter, control method, and program
WO2020137164A1 (en) Communication device, method of controlling same, and program
JP6882371B2 (en) Communication equipment, control methods and programs
US10372388B2 (en) Communication system, communication device, and control method
JP6635744B2 (en) Image processing apparatus, control method for image processing apparatus, and program
JP6849886B2 (en) Image processing equipment and programs
JP6302169B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP2016136680A (en) Image processing system, image processor, control method, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210604

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210604

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220525

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220830

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230421

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230830

R151 Written notification of patent or utility model registration

Ref document number: 7342059

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151