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

Communication device, control method, and program Download PDF

Info

Publication number
JP2019176491A
JP2019176491A JP2019096198A JP2019096198A JP2019176491A JP 2019176491 A JP2019176491 A JP 2019176491A JP 2019096198 A JP2019096198 A JP 2019096198A JP 2019096198 A JP2019096198 A JP 2019096198A JP 2019176491 A JP2019176491 A JP 2019176491A
Authority
JP
Japan
Prior art keywords
communication
external device
information
unit
mfp
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
JP2019096198A
Other languages
Japanese (ja)
Other versions
JP6882371B2 (en
JP2019176491A5 (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 JP2019096198A priority Critical patent/JP6882371B2/en
Publication of JP2019176491A publication Critical patent/JP2019176491A/en
Publication of JP2019176491A5 publication Critical patent/JP2019176491A5/ja
Priority to JP2021078374A priority patent/JP7342059B2/en
Application granted granted Critical
Publication of JP6882371B2 publication Critical patent/JP6882371B2/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 capable of suppressing decrease in communication speed of an external device due to handover, when connected with the external device, and to provide a control method and a program.SOLUTION: A communication device (MFP 100) communicable with an external device (portable terminal 30) by a first communication system, and a second communication system different from the first communication system has: first communication means for providing the external device with communication information, for communicating by the second communication system, by the first communication system; second communication means for connection with the external device by the second communication system, after the communication information is provided to the external device by the first communication means; and control means for controlling so that the communication information is not provided to any external device by the first communication means, when the second communication means is connected with the external device.SELECTED DRAWING: Figure 10

Description

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

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

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

特開2015−11590号公報Japanese Patent Laying-Open No. 2015-11590

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

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

そこで、上記目的を達成するために、本発明の通信装置は、
第1通信方式と、前記第1通信方式と異なる第2通信方式によって、外部装置と通信可能である通信装置であって、
前記第2通信方式によって通信を行うための通信情報を、前記第1通信方式によって前記外部装置に提供する第1通信手段と、
前記通信情報が前記第1通信手段によって前記外部装置に提供された後に前記第2通信方式によって前記外部装置と接続する第2通信手段と、
前記第2通信手段が前記外部装置と接続としている場合、いずれの外部装置にも、前記第1通信手段によって前記通信情報が提供されないように制御する制御手段と、を有することを特徴とする。
Therefore, in order to achieve the above object, the communication device of the present invention provides:
A communication device capable of communicating with an external device by a first communication method and a second communication method different from the first communication method,
First communication means for providing communication information for performing communication by the second communication method to the external device by the first communication method;
Second communication means for connecting to the external device by the second communication method after the communication information is provided to the external device by the first communication means;
When the second communication means is connected to the external device, it has control means for controlling any of the external devices so that the communication information is not provided by the first communication means.

本発明によれば、外部装置と接続している場合に、ハンドオーバーが行われることによって当該外部装置の通信速度が低下してしまうことを抑制することができる。   ADVANTAGE OF THE INVENTION According to this invention, when connecting with an external device, it can suppress that the communication speed of the said external device falls by performing a handover.

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

以下に図面を参照して、本発明の好適な実施形態を例示的に説明する。ただし、本発明については、その趣旨を逸脱しない範囲で、当業者の通常の知識に基づいて、以下に記載する実施形態に対して適宜変更、改良が加えられたものについても本発明の範囲に入ることが理解されるべきである。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, exemplary embodiments of the invention will be described with reference to the drawings. However, the present invention is also within the scope of the present invention, as long as it does not depart from the spirit of the present invention, and based on the ordinary knowledge of those skilled in the art, the embodiments described below are appropriately modified and improved. 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 apparatus to which the present invention is applied will be described. The communication device is a device that can receive a job from an external device. In the present embodiment, an inkjet type MFP (MFP) is exemplified as the communication device. The MFP is a device having a plurality of functions such as printing, scanner, copying, and faxing. The communication device may be, for example, a copying machine, a facsimile machine, a scanner, a personal computer (PC), a smart phone, 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 ink jet method, and may be an electrophotographic method, for example. 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 a handover described later. In the present embodiment, a mobile terminal capable of Bluetooth (registered trademark) Low Energy (hereinafter, BLE) communication, which is one of short-range wireless communication standards, is illustrated as an external device. The external device may be, for example, a PC, a smartphone, a tablet terminal, a PDA (Personal Digital Assistant), a camera, or the like.

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

MFP100は、本発明を適用した通信装置である。MFP100は、BLE通信におけるスレーブ装置として動作する。また、MFP100は、特定の端末とネットワーク接続をすること無く、MFP100の周囲に存在する不特定の外部装置に対してアドバタイズパケットを送信する(ブロードキャストする)ことができる。   MFP 100 is a communication apparatus to which the present invention is applied. MFP 100 operates as a slave device in BLE communication. Further, the MFP 100 can transmit (broadcast) an advertisement packet to unspecified external devices 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 portable terminal 30 is an external device in the present embodiment. The portable terminal 30 operates as a master device in BLE communication. When the mobile terminal 30 is located inside the packet arrival area 20 that is the arrival range of the advertisement packet transmitted by the MFP 100, the mobile terminal 30 can receive the advertisement packet transmitted from the MFP 100. In addition, the portable terminal 30 can receive an advertisement packet from a plurality of communication devices when it exists in the packet arrival area of the plurality of communication devices. In addition, 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 view showing the appearance of the MFP 100. 2A is a perspective view of the MFP 100, and FIG. 2B is a top view of the MFP 100. FIG.

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

記録媒体挿入口203は、様々なサイズの記録媒体を保持するために使用される。記録媒体挿入口203にセットされた記録媒体は、後述する記録部314に一枚ずつ搬送され、携帯端末30等から送信される印刷ジョブに応じた印刷が行われて記録媒体排出口204から排出される。また、MFP100は、記録媒体の別の供給手段として、カセット205とカセット206とを備えている。あらかじめカセット205又はカセット206に印刷ジョブに対応した記録媒体をセットしておくことで、MFP100は、印刷毎に記録媒体の供給を受けることなく印刷を開始することができる。なお、MFP100は、記録媒体として、紙やOHPシート、ラベル、フィルム等を利用可能である。   The recording medium insertion port 203 is used for holding recording media of various sizes. The recording medium set in the recording medium insertion port 203 is conveyed one by one to a recording unit 314 to be described later, printed according to a print job transmitted from the portable terminal 30 or the like, and discharged from the recording medium discharge port 204. Is done. Further, the MFP 100 includes a cassette 205 and a cassette 206 as another supply unit of 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. Note that 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 disposed on the document cover 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 to perform 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 to perform Wi-Fi (Wireless Fidelity) (registered trademark) communication.

なお、上述の各構成が配置される位置は、図2に示す位置に限定されず、他の位置であっても良い。   In addition, the position where each above-mentioned structure is arrange | positioned is not limited to the position shown in FIG. 2, Other positions may be sufficient.

図3はMFP100の概略構成を示すブロック図である。   FIG. 3 is a block diagram illustrating 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 performs main control of the apparatus, 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, a 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 referred to as 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 management of the embedded OS stored in the ROM 303. The RAM 304 is configured by a memory such as SRAM (static RAM) and 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 the like, and various work buffer areas Is provided. These data may be stored not in the RAM 304 but in other storage areas such as the ROM 303 and the nonvolatile memory 305.

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

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

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

データ変換部307は、受信したジョブに含まれる画像データに対し、画像処理制御部(不図示)を介して、スムージング処理や記録濃度補正処理、色補正等の各種画像処理を行う。これらの処理を実行することで、データ変換部307は、印刷対象の画像データを高精細な印刷データに変換し、変換した印刷データを記録部314に出力する。   The data conversion unit 307 performs various types of image processing such as smoothing processing, recording density correction processing, and color correction on the image data included in the received job via an 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 a document using a CIS image sensor (contact image sensor) or the like. The reading control unit 308 performs high-definition image data by performing various types of 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は、画像データに対し、符号復号化処理や拡大縮小処理等の各種処理を行う。
An operation unit 309 and a 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 a code decoding process and an enlargement / reduction process on the image data.

給紙部313は、印刷のための記録媒体を保持し、記録制御部315からの制御によって記録部314に対して記録媒体を供給する。なお、給紙部313は、記録媒体挿入口203、カセット205及びカセット206に対応している。   The paper supply 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 part of the recording medium insertion port 203, the cassette 205, and the cassette 206 is used for paper feeding. The recording control unit 315 also serves to update information in the RAM 304 by periodically reading 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 apparatus such as in use, during sleep, and when an error occurs, and information such as the remaining amount of the ink tank.

記録部314は、データ変換部307から出力された印刷データや印刷ジョブに含まれる印刷設定情報に基づき、インク等の記録剤によって記録媒体上に画像を形成する画像形成処理(印刷処理)を実行する。   The recording unit 314 executes image forming processing (printing processing) 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. To 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 that is used for both classic Bluetooth (registered trademark) communication and BLE communication. The BLE unit 316 is responsible for functions such as sending advertisement packets, receiving connection request information, and data communication with external devices that have established a BLE connection (such as providing information for communication using jobs and other communication methods). . The BLE unit 316 establishes a BLE connection with another BLE unit by transmitting / receiving an advertisement packet and connection request information described later. 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 has functions such as connection information transmission processing and authentication processing for establishing a Wi-Fi connection, and reception of a job from an external apparatus that has established a Wi-Fi connection. The WLAN unit 318 is connected to the system bus 320 via a 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等の他の外部装置からジョブを受け付ける。   Note that the MFP 100 may include a communication unit other than the BLE unit 316 and the WLAN unit 318. Communication may be performed directly by wireless communication, or may be performed via an access point outside MFP 100 installed on the network. Examples of the communication method include NFC (Near Field Communication; ISO / IEC IS 18092) and Wi-Fi Aware. Further, not limited to wireless communication, the MFP 100 may perform wired communication using a wired LAN or the like. The MFP 100 receives a job from another external device such as the mobile terminal 30 via a network using these communication methods.

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

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

携帯端末30は、装置のメインの制御を行うメインボード901と、Bluetooth(登録商標)通信及びBLE通信を行うBLEユニット911、Wi−Fi通信を行うWLANユニット913を有する。   The portable terminal 30 includes a main board 901 that performs main control of the apparatus, 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 management of the embedded OS stored in the ROM 903. The RAM 904 is configured by a memory such as an SRAM, stores program control variables, setting values registered by the user, management data of the portable terminal 30, and the like, and is provided with various work buffer areas. Note that these setting information data may be stored not in the RAM 904 but in other storage areas such as the ROM 903 and the nonvolatile memory 905.

不揮発性メモリ905は、フラッシュメモリ等のメモリで構成され、電源がオフされた時でも保持していたいデータを格納する。具体的には、不揮発性メモリ905には、ネットワークに接続するためのパスワードや認証情報等のネットワーク情報、MACアドレスやSSID等の過去に接続した通信装置のリストといった携帯端末30の設定情報などが記憶される。なお、これらの設定情報データは、不揮発性メモリ905でなく、ROM903やRAM904等の他の記憶領域に保存されても良い。また、ROM303や不揮発性メモリ905に保存された設定情報をCPU902がRAM904に展開することで、設定情報を利用した処理を行っても良い。   The nonvolatile memory 905 is configured by a memory such as a flash memory, and stores data that the user wants to retain even when the power is turned off. Specifically, the nonvolatile memory 905 includes 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 addresses and SSIDs, and the like. Remembered. Note that these setting information data may be stored not in the nonvolatile memory 905 but in other storage areas such as the ROM 903 and the RAM 904. Further, the setting information stored in the ROM 303 or the non-volatile memory 905 may be processed in the RAM 904 by the CPU 902 to perform processing using the setting information.

画像メモリ906は、DRAM等のメモリで構成され、BLEユニット911やWLANユニット913等を介して受信した画像データや、符号復号化処理部910で処理した画像データ等の各種データを格納する。   The image memory 906 is configured by 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 image data processed by the code decoding processing unit 910.

なお、携帯端末30のメモリ構成は、この形態に限定されるものではなく、用途や目的に応じて、その数や特性、記憶容量等を適宜変更することができる。例えば、画像メモリ906とRAM904を共有させてもよい。また、画像メモリ906は、DRAM等で構成されているが、これに限定されず、HDDや不揮発性メモリ等で構成されていても良い。   Note that 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 changed as appropriate 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 configured by a DRAM or the like, but is not limited thereto, and may be configured by an HDD, a nonvolatile memory, or the like.

データ変換部907は、ページ記述言語(PDL)等のデータの生成や、画像データに対する色変換、画像変換などのデータ変換を行う。   The data conversion unit 907 generates data such as 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 receive various inputs to the mobile terminal 30 and display various information regarding the mobile terminal 30.

符号復号化処理部910は、画像データに対し、符号復号化処理や拡大縮小処理等の各種処理を行う。   The code decoding processing unit 910 performs various processes such as a code decoding process and an enlargement / reduction process 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. Note that 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 reception of advertisement packets, transmission of connection request information, and data communication with a device that has established a BLE connection. 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 compliant with the Wi-Fi standard. The WLAN unit 913 has functions such as scan 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. 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等が挙げられる。また、無線ではなく、有線によって通信しても良い。   Note that the mobile terminal 30 may include a communication unit other than the BLE unit 911 and the WLAN unit 913. In addition, the mobile terminal 30 may include a plurality of communication units and be communicable 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 portable terminal 30 installed on the network. Examples of the communication method include NFC and Wi-Fi Aware. Further, communication may be performed 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 / receiving data transmitted / 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 includes a RAM and a flash memory. The wireless communication circuit 404 includes a wireless communication chip, a crystal resonator, an inductance, a capacitor, and the like. The wireless communication circuit 404 is configured to control a physical layer (PHY) in BLE, and performs data communication after advertisement and BLE connection, which will be described later, by modulating and demodulating analog signals, changing digital symbols, and the like. The operation switch 405 is a switch for turning on / off the power supplied to the BLE unit 316. The battery 406 is a button battery or the like. The main body power source 402 is a power source that operates by 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 more efficiently supply power from the battery 406. The BLE unit 316 has two power sources, a battery 406 and a main power source 402, so that the power supply from the main board 301 is stopped because the MFP 100 is turned off or the MFP 100 is shifted to the power saving mode. In this case, BLE communication can be performed. In addition, the BLE unit 316 is equipped with a nonvolatile memory 401 and moves information sent from the main board 301 to the nonvolatile memory 401, so that it can communicate with other devices even in a state where it cannot communicate with the main board 301. Can communicate. The BLE unit 911 also has the same configuration as the BLE unit 316.

図7を用いて、BLEにおけるアドバタイズパケットの送信及び接続要求情報の受信の処理について説明する。本実施形態では、MFP100がスレーブ機器として動作するため、BLEユニット316が上記処理を行うものとする。   With reference to FIG. 7, the process of transmitting an advertisement packet and receiving connection request information in BLE will be described. 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 performs communication by dividing the 2.4 GHz frequency band into 40 channels (0 to 39 ch). Of these, the BLE unit 316 uses the 37th to 39th channels for sending advertisement packets and receiving connection request information, and uses the 0th to 36th channels for data communication after BLE connection. In FIG. 7, the vertical axis indicates the power consumption of the BLE unit 316 and the horizontal axis indicates time, and the power consumption when an advertisement packet is transmitted using one channel is shown for each process. Tx705 indicates the total power consumption in the transmission process that is a process of broadcasting the advertisement packet, and Rx706 indicates the total power consumption in the reception process that is a process for enabling the receiver for receiving the connection request information. . A transmission power 702 indicates instantaneous power consumption due to transmission processing. Received power 703 indicates instantaneous power consumption by the reception process. A microcomputer operating power 701 indicates instantaneous power consumption when the microcomputer 403 is operating. The reason why the microcomputer 403 is operating before and after Tx 705 and Rx 706 is that the microcomputer 403 needs to be activated in advance in order to execute or stop the transmission / reception process. Further, when the advertisement packet is transmitted through a plurality of channels, the power consumption is increased by the number of channels through which the advertisement packet is transmitted. While the microcomputer 403 is not operating and the BLE unit 316 is in the power saving state, the sleep power 704 is the instantaneous power consumption of the BLE unit 316. As described above, the BLE unit 316 performs transmission processing using a predetermined channel and then performs reception processing for a certain time using the same channel, thereby waiting for connection request information to be transmitted from the external device. .

また、BLEユニット316は、図8(a)に示すように、アドバタイズパケットの送信処理と受信処理を、チャネル別に3回繰り返した後、マイコン403の動作を停止させ一定時間省電力状態になる。以下、所定のチャネルによるアドバタイズパケットの送信処理と受信処理の組み合わせをアドバタイズと言う。また、所定のチャネルによってアドバタイズパケットを送信する時間間隔をアドバタイズ間隔という。なお、1回目のアドバタイズを行ってから省電力状態になるまでに繰り返すアドバタイズの回数は、3回以下であれば任意に変更可能である。   Further, as shown in FIG. 8A, the BLE unit 316 repeats the advertising packet transmission processing and 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, a combination of an advertisement packet transmission process and a reception process using a predetermined channel is referred to as advertisement. In addition, a time interval for transmitting an advertisement packet through a predetermined channel is referred to as an 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 three or less.

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

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

ペイロード502の詳細を説明する。デバイス名503にはMFP100を識別するための識別情報が格納されている。識別情報は、例えば、BLEによって規定された文字列やMFP100のシリアルナンバー、MACアドレス等の情報であり、MFP100を一意に特定するための情報である。   Details of the payload 502 will be described. The device name 503 stores identification information for identifying the MFP 100. 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. Note that the information for performing BLE connection specifically corresponds to protocol data defined by BLE. An external device such as the portable 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の検索を可能とするか不可とするかを示しても良い。   At this time, the MFP 100 and the external device can establish a connection other than BLE. For example, by setting connection information to a WLAN unit (not shown) included in the MFP 100 as information for connecting to the MFP 100, an external device that has received the advertisement packet can connect to the MFP 100 via WLAN. . The connection information 504 may store search information that is information indicating whether or not the MFP 100 can be searched by an external device. The external device that has received the advertisement packet storing the search information that cannot be searched can notify the user of the state of the MFP 100, for example, but can establish a connection with the MFP 100 or list the MFP 100 as a connection candidate device. I can't up. That is, in this case, MFP 100 can transmit information unilaterally to the external device. The search information may indicate whether the MFP 100 can be searched or not by a flag.

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

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

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

エラー情報507の詳細を、図6を用いて説明する。エラー情報507として、ジョブ状況の情報(以下、ジョブ状況601)、ジョブエラーの情報(以下、ジョブエラー602)、リカバブルエラーの情報(以下、リカバブルエラー603)、フェイタルエラーの情報(以下、フェイタルエラー604)とがある。なお、ジョブエラー、リカバブルエラー及びフェイタルエラーとは、MFP100に起こり得るエラーが分類されたものである。MFP100が、それらのエラーのうちいずれかのエラー状態となっている場合に、当該エラー状態を示す情報がエラー情報507に格納される。   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), recoverable error information (hereinafter, recoverable error 603), and fatal error information (hereinafter, referred to as “error status”). Fatal error 604). Note that job errors, recoverable errors, and fatal errors are classified into errors that can occur in the MFP 100. When the MFP 100 is in any one of those errors, information indicating the error state is stored in the error information 507.

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

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

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

リカバブルエラー603には、MFP100に発生しているエラーの中でユーザによるMFP100のメンテナンスが必要なエラーを示す値が格納されている。リカバブルエラー603には、ジョブエラー602と同様にビット毎にエラーを示す値が割り当てられている。なお、リカバブルエラーは、例えば、搬送部紙ジャム、給紙部紙ジャム、用紙トレーフル、排出口クローズ、カバーオープン、インク無し、インク残量少、その他のユーザによるメンテナンスが必要なエラーである。MFP100は、アドバタイズパケットにリカバブルエラー603を格納することによって、MFP100の周囲に存在するユーザが所持する外部装置に、MFP100がリカバブルエラー状態である旨を通知することができる。   The recoverable error 603 stores a value indicating an error in the MFP 100 that requires maintenance of the MFP 100 by the user. As with the job error 602, the recoverable error 603 is assigned a value indicating an error for each bit. The recoverable error is, for example, an error that requires maintenance by the user, such as a conveyance section paper jam, a paper feed section paper jam, a paper tray full, a discharge port closed, a cover open, no ink, a low ink remaining amount, and the like. By storing the recoverable error 603 in the advertisement packet, the MFP 100 can notify the external device possessed by the user 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 errors occurring in the MFP 100. An error that is difficult to maintain is, for example, an error that requires contact with a service center and cannot be restored by a normal user. Specifically, the fatal error is, for example, a waste ink tank full, a printing unit high temperature error, a power supply error, and other errors that are 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 around the MFP 100 that the MFP 100 is in the fatal error state.

なお、図5及び図6に示す構成は、一例であり、MFP100は、図5及び図6に示す内容以外に、任意のデータをアドバタイズパケットに格納してブロードキャストすることもできる。例えば、アドバタイズパケットに格納しきれない情報を、次のアドバタイズパケットでブロードキャストすることを表すフラグや、MFP100のケーパビリティ情報、アドバタイズパケットの種別の情報等を格納しても良い。   The configurations shown in FIGS. 5 and 6 are examples, and the MFP 100 can store and broadcast arbitrary data in the advertisement packet in addition to the contents shown in FIGS. 5 and 6. For example, a flag indicating that information that cannot be stored in the advertisement packet is broadcast in the next advertisement packet, capability information of the MFP 100, information on the type of 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 the case where the portable terminal 30 and the MFP 100 transmit and receive jobs by handover. Handover is a technique in which each device that performs communication first exchanges connection information for performing communication by a high-speed communication method by a short-range communication method, and then switches to the high-speed communication method to transmit and receive data. In this embodiment, a communication method using BLE communication is used as a short-range communication method, and a communication method using Wi-Fi communication is used as a high-speed communication method. The communication speed of BLE communication is low compared with Wi-Fi communication. Therefore, in BLE communication, authentication of devices, exchange of connection information for Wi-Fi communication, etc. are performed, and transfer of large capacity data (here, jobs) by Wi-Fi communication with high communication speed, Efficient data transfer can be achieved. Note that the communication method used in the handover is not limited to the above-described form, and various communication methods may be used as the short-range communication method and the high-speed communication method. For example, a configuration may be adopted in which connection information for Wi-Fi communication is exchanged by NFC communication or Wi-Fi Aware communication, and then data exchange is performed by Wi-Fi communication.

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

以下の説明において、MFP100は、所定の間隔でアドバタイズパケットを送信するアドバタイザであるものとする。また、携帯端末30は、周辺にあるアドバタイザから送信されるアドバタイズパケットを待ち受けるイニシエータであるものとする。まず、BLEユニット316は、アドバタイズパケットの送信を行う(S1001〜S1003)。携帯端末30は、BLEユニット911がBLEユニット316から送信されたアドバタイズパケットを受信することで、MFP100の存在を認識することができる。   In the following description, MFP 100 is assumed to be an advertiser that transmits an advertisement packet at a predetermined interval. 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 an advertisement packet (S1001 to S1003). The portable terminal 30 can recognize the presence of the MFP 100 when the BLE unit 911 receives the advertisement packet transmitted from the BLE unit 316.

携帯端末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 portable terminal 30 recognizes MFP 100 and determines to connect to MFP 100, portable terminal 30 transmits connection request information to MFP 100. Specifically, the BLE unit 911 transmits CONNECT_REQ that is a request for transition to a connection event for establishing a network connection by BLE (S1004). When the BLE unit 316 receives CONNECT_REQ, the portable terminal 30 and the MFP 100 prepare for transition to a connection event. Specifically, the BLE unit 911 and the BLE unit 316 notify the main board 901 and the main board 301 that connection processing for BLE communication has been completed, respectively. Thereafter, the portable terminal 30 and the MFP 100 transition from the initiator and the advertiser to the master and the slave, respectively, and the portable terminal 30 that is the master and the MFP 100 that is the slave establish a connection for BLE communication (BLE connection). In the BLE standard, a master can form a “1: many” star topology with a slave. After establishing the BLE connection, the portable terminal 30 and the MFP 100 can perform data communication by the BLE communication method thereafter.

その後、S1005では、BLEユニット911は、BLEユニット316に対して、MFP100が利用可能な通信プロトコルの情報を要求する。   In step S <b> 1005, the BLE unit 911 requests the BLE unit 316 for information on communication protocols 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 the request. I can recognize that. In step S1006, the BLE unit 316 responds to the request received in step S1005 with information on its available communication protocol. Thereby, each other's devices can grasp 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 portable terminal 30 determines to switch communication between apparatuses to Wi-Fi communication by grasping each other's usable communication protocols other than BLE. At this time, MFP 100 may determine whether or not to switch the communication method. When the switching of the communication method is determined, in S1007 and S1008, each device receives communication information necessary for performing communication by Wi-Fi, such as address information for identifying a communication partner and SSID information. Exchange. Thereafter, in S1009, the BLE unit 911 transmits a request (communication switching request) for switching the communication method between the apparatuses from BLE communication to Wi-Fi communication. When receiving the switching request, 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 switching request and response are correctly performed, in S1011, the portable terminal 30 switches the communication unit used for communication with the MFP 100 from the BLE unit 911 to the WLAN unit 913. In step S1012, the MFP 100 switches the communication unit used for communication with the portable terminal 30 from the BLE unit 316 to the WLAN unit 318. After switching, the BLE unit 911 transmits a release request in S1013. The BLE unit 316 that has received the release request transmits a release response in S1014, and ends 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にて確認に対する応答を送信する。   Thereafter, each device performs Wi-Fi communication by using information necessary for performing Wi-Fi communication exchanged in S1007 and S1008. First, in step S1015, the WLAN unit 913 checks with the WLAN unit 318 whether the MFP 100 can acquire a job. Here, for example, information on free space for temporarily storing an image to be transferred to 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 a job in S1017. Thereafter, the WLAN unit 913 that has received the request for the job transmits a job including image data and the like existing in the portable terminal 30 to the WLAN unit 318 in S1018. Note that the job to be transmitted at this time is selected, for example, at a timing before the BLE connection is established, after the BLE connection is established, or after the Wi-Fi connection is established. 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 portable terminal 30 to acquire information on the state of the MFP 100, or the like. Further, for example, a command for executing various operations on the MFP 100 such as changing the setting of the MFP 100 may be used. When the job transmission 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, when the mobile terminal 30 is connected to an access point such as a 3G or LTE mobile communication network or a router before executing the handover, the mobile communication network or access point Reestablish connection to. For this reason, 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 technique, the connection information for communication by the high-speed communication method is exchanged by the communication method with high usability (short-distance communication method), and then the large-capacity data is obtained 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 with an external device other than the mobile terminal 30 is performed. It is ready to run.

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

本実施形態におけるアドバタイズモードについて説明する。アドバタイズモードとは、アドバタイズの方法や送信するアドバタイズパケットの内容を規定するためのモードである。本実施形態では、MFP100は、アドバタイズモードとして、通常モードと接続不可モードの2つのモードで動作可能であるものとする。   The advertisement mode in this embodiment will be described. The advertisement mode is a mode for defining the advertisement method and the content of the advertisement packet to be transmitted. In the present embodiment, it is assumed that MFP 100 can operate in two modes, the normal mode and the connection impossible mode, as the 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 that is set in the MFP 100 in a normal state in which no Wi-Fi connection is established with an external device due to handover. When operating in the normal mode, the MFP 100 executes both transmission processing and reception processing as shown in FIG. In the advertisement packet transmitted at this time, the connection information 504 stores search information indicating that the search is possible. By adopting such a form, MFP 100 can broadcast an advertisement packet to make an external device recognize its own presence. Further, MFP 100 can receive connection request information from an external device, connect to the external device, and perform BLE communication. Note that the normal mode includes a mode in which an advertisement packet is transmitted by designating a transmission destination and a mode in which an advertisement packet is transmitted without designating a transmission destination. In the present embodiment, either mode may be used in the normal mode. The advertisement packet is classified according to three different properties (connectability, scanability, and directability). Specifically, the advertisement packet is classified into four types of ADV_IND, ADV_DIRECT_IND, ADV_NONCONN_IND, and ADV_SCAN_IND. Among these, in the connectability (connectivity), there are two types having the connectable attribute, ADV_IND and ADV_DIRECT_IND. In the present embodiment, since the MFP 100 can be connected to an external device in the normal mode, the MFP 100 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 connection disabling mode is a mode set in the MFP 100 when a Wi-Fi connection is established with an external device by a handover. In the present embodiment, when the MFP 100 is operating in the connection disable mode, as shown in FIG. 8C, the MFP 100 does not execute both transmission processing and reception processing. That is, when MFP 100 enters the connection disable mode, it stops advertising. When the MFP 100 stops advertising, the MFP 100 does not receive connection request information, and thus does not establish a BLE connection with an external device. Therefore, when the MFP 100 is in the connection disable mode, the MFP 100 performs Wi-Fi communication with a device other than the external device that has performed Wi-Fi communication before entering the connection disable mode by handover via BLE communication. It will never run.

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

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

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

次にS1102において、CPU302は、BLEユニット316にアドバタイズパケットのブロードキャストを開始させる。このとき、MFP100は、通常モードであるため、図8(a)に示すように、送信処理と受信処理の双方を実行する。   In step S1102, the CPU 302 causes the BLE unit 316 to start broadcasting an 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.

次に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の判定をくり返す。   In step S <b> 1103, the CPU 302 determines whether the BLE unit 316 has received CONNECT_REQ. When determining that the BLE unit 316 has received the CONNECT_REQ, the CPU 302 executes a handover with the external device that has issued the CONNECT_REQ in S1104. Specifically, CPU 302 establishes a BLE connection between MFP 100 and the external device and exchanges communication information, and then establishes a Wi-Fi connection between MFP 100 and the external device. Note that the handover method is as described with reference to FIG. At this time, as described above, the BLE unit 316 once stops the advertisement 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. Try to resume advertising. When the CPU 302 determines that the BLE unit 316 has not received CONNECT_REQ, the CPU 302 repeats the determination of 1103 until the BLE unit 316 receives CONNECT_REQ.

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

次にS1106において、CPU302は、モード変更条件が満たされなくなったか否かを判定し、MFP100を通常モードに移行させるか否かを判定する。CPU302は、具体的には、外部装置とのWi−Fi接続が切断されたか否かを判定する。又は、CPU302は、外部装置からのデータ受信が完了したか否かや、外部装置から受信したジョブの処理が完了したか否かを判定する。なお、このとき、CPU302は、それぞれのモード変更条件が全て、又はいずれかの組み合わせで満たされなくなった場合に、モード変更条件が満たされなくなったと判定しても良い。また、S1106の判定においていずれのモード変更条件に関する判定を行うのかをユーザが任意に設定可能な構成としても良い。CPU302は、モード変更条件が満たされなくなったと判定した場合、接続不可モードを解除してMFP100を通常モードに移行させ、S1102にて、通常モードにおけるアドバタイズを再開する。また、CPU302は、モード変更条件が満たされていると判定した場合、S1107の処理を行う。   In step S <b> 1106, the CPU 302 determines whether the mode change condition is no longer satisfied, and determines whether the MFP 100 is shifted to the normal mode. Specifically, the CPU 302 determines whether or not the Wi-Fi connection with the external device is disconnected. Alternatively, the CPU 302 determines whether or not data reception from the external device has been completed, and whether or not processing of a job received from the external device has been completed. At this time, the CPU 302 may determine that the mode change condition is not satisfied when each mode change condition is not satisfied in all or any combination. Further, it may be configured such that the user can arbitrarily set which mode change condition is to be determined in the determination of S1106. If the CPU 302 determines that the mode change condition is no longer satisfied, the CPU 302 cancels the connection disable mode and shifts the MFP 100 to the normal mode, and resumes the advertisement in the normal mode in S1102. If 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 step S1107, the CPU 302 performs timeout determination. Specifically, CPU 302 determines whether or not the time that has elapsed since MFP 100 was shifted to the connection disable mode in S1105 has exceeded a predetermined threshold. Note that the predetermined threshold used for the timeout determination may be arbitrarily set by the user, or may be set in advance at the time of arrival. If the CPU 302 determines that the time elapsed since the transition to the connection impossible mode has not exceeded the predetermined threshold, the CPU 302 performs the process of S1106 again. If the CPU 302 determines that the time elapsed since the transition to the connection disabled mode has exceeded a predetermined threshold, the CPU 302 cancels the connection disabled mode and shifts the MFP 100 to the normal mode. In S1102, the CPU 302 switches to the normal mode. Resume advertising. For example, even when a job transmission / reception or job processing is interrupted due to a communication error or a job error, the MFP 100 does not wait for job reception or processing to be completed by the timeout determination. , Can return to normal mode.

このような形態とすることで、MFP100は、外部装置との接続状態や通信状態に応じて、BLEユニット316のアドバタイズモードを切り替えることができる。   By adopting such a form, the MFP 100 can switch the advertisement mode of the BLE unit 316 according to the connection state and 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 a BLE connection is established, and resumes advertising 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 this embodiment, even if the BLE connection is released, if the Wi-Fi connection is established between the devices, the BLE unit 316 does not resume the advertisement and cannot execute the handover. To do. By adopting such a configuration, even though an external device has been handed over first, the external device that was handed over later sends the job first, and overtaking of the processing of each part occurs. 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 BLE advertisement in the connection disabled mode has been described. In the present embodiment, an example will be described in which processing different from that of the first embodiment is executed in the connection disabled mode.
In the following description, a connection impossible mode in which both transmission processing and reception processing are not executed is referred to as a first connection disabled mode, and a connection disabled mode different from the first connection disabled mode is referred to as a second connection disabled mode.

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

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

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

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

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

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

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

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

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

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

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

(その他の実施形態)
上述の実施形態の効果を実現できれば、上述の実施形態のフローチャートの処理の順番を入れ替えても良いし、その全ての処理を実行しなくても良いし、処理の内容を変更しても良い。
(Other embodiments)
As long as the effects of the above-described embodiment can be realized, the processing order of the flowcharts of the above-described embodiment may be changed, all of the processing may not be executed, or the processing content 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 Aware, or the like may be used. For example, when NFC is used as a short-range communication method, the communication information held in the memory of the NFC communication unit is deleted or the power of the NFC communication unit is controlled as control for suppressing overtaking of job processing. The control such as turning OFF is 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 processing executed when the communication device transmits the BLE advertisement packet to the external device has been described. However, it differs from the BLE advertisement packet in order to notify the external device of the presence of the communication device. Information may be used. For example, the communication device may notify the external device of the presence of the communication device by notification of information based on the Wi-Fi function. And the information similar to the above-mentioned embodiment may be contained in the information based on the Wi-Fi function issued from a communication apparatus.

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

上述の実施形態は、上述の実施形態の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 apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus execute the program This process can be realized. The above-described embodiments 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無線通信方式による第1無線接続及び前記第1無線通信方式より通信速度が速い第2無線通信方式による第2無線接続を確立可能な通信装置であって、
前記第1無線通信方式に基づく信号を送信可能、及び前記信号を受信した外部装置から送信される接続要求情報を受信可能な所定の状態での動作を前記通信装置に開始させる第1通信手段と、
前記所定の状態での動作が前記通信装置によって開始された後、前記接続要求情報に基づいて前記第1無線接続を前記通信装置に確立させる第1確立手段と、
前記第1無線接続を前記通信装置が確立している状態で、前記第2無線接続を前記通信装置に確立させるための処理を実行する実行手段と、
前記第2無線接続を前記通信装置に新たに確立させるための処理が実行された場合、前記第2無線接続を前記通信装置に確立させる第2確立手段と、
前記第2無線接続を前記通信装置が確立している状態において、前記所定の状態での動作を停止しているように前記通信装置を制御し、且つ前記第2無線接続を前記通信装置が確立している状態において、前記第2無線接続が確立される前に確立されていた前記第1無線接続が終了されているように前記通信装置を制御する制御手段と、
を有することを特徴とする
Therefore, in order to achieve the above object, the communication device of the present invention provides:
Operates as a slave device in communication by the first wireless communication method, and can establish a first wireless connection by the first wireless communication method and a second wireless connection by the second wireless communication method having a higher communication speed than the first wireless communication method. Communication device,
First communication means capable of transmitting a signal based on the first wireless communication method and causing the communication apparatus to start an operation in a predetermined state capable of receiving connection request information transmitted from an external apparatus that has received the signal; ,
First establishing means for causing the communication device to establish the first wireless connection based on the connection request information after an operation in the predetermined state is started by the communication device;
Execution means for executing processing for establishing the communication device with the second wireless connection in a state where the communication device has established the first wireless connection;
A second establishing means for establishing the second wireless connection in the communication device when processing for newly establishing the second wireless connection in the communication device is performed;
In a state where the second wireless connection is established by the communication device, the communication device is controlled so that the operation in the predetermined state is stopped, and the second wireless connection is established by the communication device. Control means for controlling the communication device so that the first wireless connection established before the second wireless connection is established in a state in which the second wireless connection is established;
It is characterized by having .

Claims (14)

第1通信方式と、前記第1通信方式と異なる第2通信方式によって、外部装置と通信可能である通信装置であって、
前記第2通信方式によって通信を行うための通信情報を、前記第1通信方式によって前記外部装置に提供する第1通信手段と、
前記通信情報が前記第1通信手段によって前記外部装置に提供された後に前記第2通信方式によって前記外部装置と接続する第2通信手段と、
前記第2通信手段が前記外部装置と接続としている場合、いずれの外部装置にも、前記第1通信手段によって前記通信情報が提供されないように制御する制御手段と、を有することを特徴とする通信装置。
A communication device capable of communicating with an external device by a first communication method and a second communication method different from the first communication method,
First communication means for providing communication information for performing communication by the second communication method to the external device by the first communication method;
Second communication means for connecting to the external device by the second communication method after the communication information is provided to the external device by the first communication means;
When the second communication means is connected to the external device, the external communication device includes control means for controlling the external communication device so that the communication information is not provided to the external communication device. apparatus.
前記第2通信手段は、前記通信情報が前記第1通信手段によって前記外部装置に提供されることなくても、前記第2通信方式によって前記外部装置と接続可能であることを特徴とする請求項1に記載の通信装置。   The second communication unit can be connected to the external device by the second communication method without the communication information being provided to the external device by the first communication unit. The communication apparatus according to 1. さらに、前記通信装置の周囲に存在する外部装置に対し、接続情報をブロードキャストするブロードキャスト手段を有し、
前記第1通信手段は、前記ブロードキャスト手段がブロードキャストした接続情報が、前記外部装置に受信された場合、前記第1通信方式によって前記外部装置との接続を確立し、前記通信情報の通信を行うことが可能となり、
前記第2通信手段が前記外部装置と接続としている場合、前記制御手段は、前記ブロードキャスト手段が前記接続情報のブロードキャストを停止するように制御することで、いずれの外部装置にも、前記第1通信手段によって前記通信情報が提供されないように制御することを特徴とする請求項1又は請求項2に記載の通信装置。
Furthermore, it has broadcast means for broadcasting connection information to external devices existing around the communication device,
When the connection information broadcast by the broadcast unit is received by the external device, the first communication unit establishes a connection with the external device by the first communication method and performs communication of the communication information. Is possible,
When the second communication means is connected to the external device, the control means controls the broadcast means to stop broadcasting the connection information, so that any external device can receive the first communication. The communication apparatus according to claim 1, wherein the communication information is controlled not to be provided by a unit.
さらに、前記通信装置の周囲に存在する外部装置に対し、接続情報をブロードキャストするブロードキャスト手段を有し、
前記第1通信手段は、前記ブロードキャスト手段がブロードキャストした接続情報が、前記外部装置に受信された場合、前記第1通信方式によって前記外部装置との接続を確立し、前記通信情報の通信を行うことが可能となり、
前記ブロードキャスト手段は、前記第2通信手段が外部装置と接続している場合、前記前記通信装置の通信状態を通知するための情報を含む情報をブロードキャストすることを特徴とする請求項1又は請求項2に記載の通信装置。
Furthermore, it has broadcast means for broadcasting connection information to external devices existing around the communication device,
When the connection information broadcast by the broadcast unit is received by the external device, the first communication unit establishes a connection with the external device by the first communication method and performs communication of the communication information. Is possible,
The said broadcast means broadcasts the information containing the information for notifying the communication state of the said communication apparatus, when the said 2nd communication means is connected with the external apparatus. 2. The communication device according to 2.
前記第1通信手段は、前記外部装置に、前記通信情報を送信し、
前記第2通信手段が前記外部装置と接続としている場合、前記制御手段は、前記外部装置に前記通信情報を送信しないように制御することで、いずれの外部装置にも、前記第1通信手段によって前記通信情報が提供されないように制御することを特徴とする請求項1乃至請求項4のいずれか1項に記載の通信装置。
The first communication means transmits the communication information to the external device,
When the second communication unit is connected to the external device, the control unit controls the external device not to transmit the communication information, so that any external device can be connected to the external device by the first communication unit. The communication apparatus according to claim 1, wherein the communication information is controlled so as not to be provided.
前記第2通信手段が前記外部装置から受信したジョブを処理する処理手段を更に有し、前記第2通信手段により外部装置から受信したジョブの処理を前記処理手段が完了していない場合、前記制御手段は、いずれの外部装置にも、前記第1通信手段によって前記通信情報が提供されないように制御する請求項5に記載の通信装置。   If the second communication means further includes processing means for processing a job received from the external device, and the processing means has not completed processing of the job received from the external device by the second communication means, the control 6. The communication apparatus according to claim 5, wherein the means controls so that the communication information is not provided to any external apparatus by the first communication means. 前記第1通信手段は、前記外部装置が読み取り可能な前記通信情報を保持し、
前記第2通信手段が前記外部装置と接続としている場合、前記制御手段は、前記第1通信手段が前記通信情報を保持しないように制御することで、いずれの外部装置にも、前記第1通信手段によって前記通信情報が提供されないように制御することを特徴とする請求項1又は請求項2に記載の通信装置。
The first communication means holds the communication information readable by the external device,
When the second communication unit is connected to the external device, the control unit controls the first communication unit so that the first communication unit does not hold the communication information. The communication apparatus according to claim 1, wherein the communication information is controlled not to be provided by a unit.
前記第1通信手段は、Bluetooth(登録商標) Low Energyの通信方式によって外部装置と通信することを特徴とする請求項1乃至請求項6のいずれか1項に記載の通信装置。   The communication device according to claim 1, wherein the first communication unit communicates with an external device by a Bluetooth (registered trademark) Low Energy communication method. 前記第2通信手段は、Wi−Fi(登録商標)の通信方式によって外部装置と通信することを特徴とする請求項1乃至請求項8のいずれか1項に記載の通信装置。   The communication apparatus according to claim 1, wherein the second communication unit communicates with an external apparatus by a Wi-Fi (registered trademark) communication method. 前記第1通信手段は、Near Field Communicationの通信方式によって外部装置と通信することを特徴とする請求項7に記載の通信装置。   8. The communication apparatus according to claim 7, wherein the first communication unit communicates with an external apparatus using a Near Field Communication communication method. 前記第2通信手段が前記外部装置から受信したジョブを処理する処理手段を更に有し、前記処理手段が処理するジョブは、前記通信装置に印刷を実行させる印刷ジョブ又は前記通信装置にスキャンを実行させるスキャンジョブであり、
前記処理手段は、前記第2通信手段が受信したジョブに応じて、印刷処理又はスキャン処理を実行することを特徴とする請求項1乃至請求項10のいずれか1項に記載の通信装置。
The second communication unit further includes a processing unit that processes a job received from the external device, and the job processed by the processing unit executes a print job that causes the communication device to execute printing or scans the communication device. A scan job
11. The communication apparatus according to claim 1, wherein the processing unit performs a printing process or a scanning process in accordance with a job received by the second communication unit.
前記第2通信手段は、前記第1通信手段によって提供された前記通信情報に基づいて前記外部装置が前記通信装置に送信する通信切り替え要求を受け付け、前記通信切り替え要求を受け付けた場合に、前記第2通信方式によって前記外部装置と接続することを特徴とする請求項1乃至請求項11のいずれか1項に記載の通信装置。   The second communication unit accepts a communication switching request transmitted from the external device to the communication device based on the communication information provided by the first communication unit, and receives the communication switching request. The communication apparatus according to claim 1, wherein the communication apparatus is connected to the external apparatus by a two-communication method. 第1通信方式と、前記第1通信方式と異なる第2通信方式によって、外部装置と通信可能である通信装置の制御方法であって、
前記第2通信方式によって通信を行うための通信情報を、前記第1通信方式によって前記外部装置に提供する第1通信ステップと、
前記通信情報が前記第1通信手段によって前記外部装置に提供された後に前記第2通信方式によって前記外部装置と接続する第2通信ステップと、
前記第2通信方式によって前記外部装置と接続としている場合、いずれの外部装置にも、前記第1通信方式によって前記通信情報が提供されないように制御する制御手段と、を有することを特徴とする通信装置。
A communication device control method capable of communicating with an external device by a first communication method and a second communication method different from the first communication method,
A first communication step of providing communication information for performing communication by the second communication method to the external device by the first communication method;
A second communication step of connecting to the external device by the second communication method after the communication information is provided to the external device by the first communication means;
And a control unit configured to control the external communication apparatus so that the communication information is not provided to the external apparatus when the external communication apparatus is connected to the external apparatus using the second communication system. apparatus.
請求項1乃至請求項12のいずれか一項に記載の通信装置の各手段をコンピュータにより実現することを特徴とするプログラム。
A program for realizing each means of the communication device according to any one of claims 1 to 12 by a computer.
JP2019096198A 2019-05-22 2019-05-22 Communication equipment, control methods and programs Active JP6882371B2 (en)

Priority Applications (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

Applications Claiming Priority (1)

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

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016023072A Division JP6532414B2 (en) 2016-02-09 2016-02-09 Communication apparatus, control method and program

Related Child Applications (1)

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

Publications (3)

Publication Number Publication Date
JP2019176491A true JP2019176491A (en) 2019-10-10
JP2019176491A5 JP2019176491A5 (en) 2019-12-05
JP6882371B2 JP6882371B2 (en) 2021-06-02

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 After (1)

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

Country Status (1)

Country Link
JP (2) JP6882371B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009005195A (en) * 2007-06-22 2009-01-08 Panasonic Corp Radio communication apparatus, radio communication method and program
JP2014110637A (en) * 2012-12-03 2014-06-12 Samsung Electronics Co Ltd Mobile terminal and method of controlling function of mobile terminal
JP2015012383A (en) * 2013-06-27 2015-01-19 ブラザー工業株式会社 Radio communication device, portable communication terminal, radio communication method and radio communication program
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
WO2015186916A1 (en) * 2014-06-05 2015-12-10 삼성전자 주식회사 Image reading apparatus and image reading method
JP2016025578A (en) * 2014-07-23 2016-02-08 キヤノン株式会社 Communication device, and method of controlling communication device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4702944B2 (en) * 2005-12-16 2011-06-15 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND COMMUNICATION SYSTEM
JP6011247B2 (en) * 2012-10-29 2016-10-19 ブラザー工業株式会社 Image processing system, image processing apparatus, and information processing apparatus
JP6532414B2 (en) * 2016-02-09 2019-06-19 キヤノン株式会社 Communication apparatus, control method and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009005195A (en) * 2007-06-22 2009-01-08 Panasonic Corp Radio communication apparatus, radio communication method and program
JP2014110637A (en) * 2012-12-03 2014-06-12 Samsung Electronics Co Ltd Mobile terminal and method of controlling function of mobile terminal
JP2015012383A (en) * 2013-06-27 2015-01-19 ブラザー工業株式会社 Radio communication device, portable communication terminal, radio communication method and radio communication program
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
WO2015186916A1 (en) * 2014-06-05 2015-12-10 삼성전자 주식회사 Image reading apparatus and image reading method
JP2016025578A (en) * 2014-07-23 2016-02-08 キヤノン株式会社 Communication device, and method of controlling communication device

Also Published As

Publication number Publication date
JP7342059B2 (en) 2023-09-11
JP6882371B2 (en) 2021-06-02
JP2021119707A (en) 2021-08-12

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
JP5941300B2 (en) Information processing apparatus, 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
EP3328034B1 (en) Information processing apparatus, storage medium, and control method
CN107277743B (en) Communication system, communication device, and control method
JP6477109B2 (en) Image processing system and image forming apparatus
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
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
JP7016839B2 (en) Communication equipment, control methods and programs
JP2022051785A (en) Communication device, control method, and program
CN117135770A (en) Communication apparatus, control method, and storage medium
CN117135722A (en) Communication apparatus, control method, and storage medium
CN117135766A (en) Communication apparatus, control method, and storage medium
JP2016136680A (en) Image processing system, image processor, control method, and program
JPH10224255A (en) Radio communication system and radio communication terminal equipment

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190619

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190619

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191018

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200901

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201030

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210506

R151 Written notification of patent or utility model registration

Ref document number: 6882371

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151