JP6476748B2 - Device control apparatus, device control method and program - Google Patents

Device control apparatus, device control method and program Download PDF

Info

Publication number
JP6476748B2
JP6476748B2 JP2014220044A JP2014220044A JP6476748B2 JP 6476748 B2 JP6476748 B2 JP 6476748B2 JP 2014220044 A JP2014220044 A JP 2014220044A JP 2014220044 A JP2014220044 A JP 2014220044A JP 6476748 B2 JP6476748 B2 JP 6476748B2
Authority
JP
Japan
Prior art keywords
wireless communication
information
unit
printer
relay station
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014220044A
Other languages
Japanese (ja)
Other versions
JP2016086384A (en
Inventor
直樹 小島
直樹 小島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2014220044A priority Critical patent/JP6476748B2/en
Publication of JP2016086384A publication Critical patent/JP2016086384A/en
Application granted granted Critical
Publication of JP6476748B2 publication Critical patent/JP6476748B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、ユーザーが携帯可能な携帯端末等の携帯機器に備えられ、プリンター等のデバイスと通信してデバイスを制御するデバイス制御装置、デバイス制御方法及びプログラムに関する。   The present invention relates to a device control apparatus, a device control method, and a program that are provided in a portable device such as a portable terminal that can be carried by a user and that control the device by communicating with a device such as a printer.

近年、スマートフォン等といった携帯機器とプリンター等のデバイスとの間で高速無線通信によるデータ送受信が行われている。特許文献1に示される情報処理システムは、携帯機器と複合機との間でNFC(Near Field Communication)と呼ばれる近距離無線通信を行って接続を確立した後に、ブルートゥース(Bluetooth(登録商標))規格の高速無線通信に切り替えて印刷用データを送受信して印刷を行っている。近距離無線通信は、ユーザーが複合機の所定の接触位置に携帯機器を接触させ、複合機のNFC通信部に携帯機器のNFC通信部を近付けることにより行われる。   In recent years, data transmission / reception by high-speed wireless communication is performed between a mobile device such as a smartphone and a device such as a printer. An information processing system disclosed in Patent Document 1 establishes a connection by performing short-range wireless communication called NFC (Near Field Communication) between a portable device and a multifunction peripheral, and then establishes a Bluetooth (registered trademark) standard. The high-speed wireless communication is switched to send / receive printing data to perform printing. Short-range wireless communication is performed when a user brings a portable device into contact with a predetermined contact position of the multifunction peripheral and brings the NFC communication portion of the portable device closer to the NFC communication portion of the multifunction peripheral.

特開2009−135865号JP 2009-135865 A

ところで、高速無線通信として、上述のブルートゥース規格やWi-Fi規格が知られている。これらの通信規格には、アクセスポイント(中継局の一例)を介して端末間を通信接続する第1無線通信方式(例えばインフラストラクチャー通信方式)と、端末間を直接通信接続する第2無線通信方式(例えばアドホック通信方式)とを含む複数種の通信方式が用意された通信規格も知られている。   By the way, the above-mentioned Bluetooth standard and Wi-Fi standard are known as high-speed wireless communication. These communication standards include a first wireless communication method (for example, an infrastructure communication method) for communication connection between terminals via an access point (an example of a relay station) and a second wireless communication method for direct communication connection between terminals. There is also known a communication standard in which a plurality of types of communication methods including (for example, an ad hoc communication method) are prepared.

例えば携帯機器に備えられたデバイス制御装置とデバイスとの双方に、NFC等の近距離無線通信部と、第1無線通信方式の第1無線通信部と、第2無線通信方式の第2無線通信部とが設けられている場合がある。   For example, the short-range wireless communication unit such as NFC, the first wireless communication unit of the first wireless communication method, and the second wireless communication of the second wireless communication method are provided in both the device control apparatus and the device provided in the portable device. May be provided.

例えば携帯機器がプリンター等のデバイスと第1無線通信で接続されているときに、NFC部による近距離無線通信の接続が確立された場合、第2無線通信部による通信の接続処理が行われることで、第1無線通信から第2無線通信への切り替えや、第2無線通信の接続の追加が行われる。これらいずれの場合も、デバイス制御装置とデバイスとの間で双方の第2無線通信部の接続処理がロス時間となり、その分、デバイス制御装置が第2無線通信でデバイスを制御する制御の開始までに要する待ち時間が相対的に長くなるという課題がある。なお、デバイスは、複合機やプリンター等の印刷装置に限らず、スキャナー装置など他の電子機器であっても、近距離無線通信部と第1及び第2無線通信部とを有する構成であれば、概ね同様の課題がある。   For example, when a mobile device is connected to a device such as a printer through first wireless communication, if a short-range wireless communication connection is established by the NFC unit, communication connection processing by the second wireless communication unit is performed. Thus, switching from the first wireless communication to the second wireless communication or addition of the connection of the second wireless communication is performed. In any of these cases, the connection processing of both the second wireless communication units between the device control device and the device results in a loss time, and until that time, the device control device starts control for controlling the device by the second wireless communication. There is a problem that the waiting time required for the process becomes relatively long. Note that the device is not limited to a printing apparatus such as a multifunction peripheral or a printer, but may be another electronic device such as a scanner device as long as it has a short-range wireless communication unit and first and second wireless communication units. There are generally similar issues.

本発明の目的は、近距離無線通信の後に行われる無線通信の接続処理の実施頻度を低減し、近距離無線通信の接続が確立されてから、デバイスの制御が開始されるまでの平均所要時間を短縮できるデバイス制御装置、デバイス制御方法及びプログラムを提供することにある。   An object of the present invention is to reduce the frequency of connection processing for wireless communication performed after short-range wireless communication, and to calculate the average required time from the establishment of a short-range wireless communication connection to the start of device control Is to provide a device control apparatus, a device control method, and a program.

以下、上記課題を解決するための手段及びその作用効果について記載する。
上記課題を解決するデバイス制御装置は、無線通信によりデバイスを制御するデバイス制御装置であって、デバイスとの近距離無線通信を行う近距離無線通信部と、中継局に接続し、前記中継局を介してデバイスと第1無線通信を行う第1無線通信部と、デバイスと直接接続して第2無線通信を行う第2無線通信部と、第1無線通信部及び第2無線通信部を制御する制御部と、を備え、前記近距離無線通信部は、近距離無線通信によるデバイスとの接続が確立した場合に、デバイスが接続中の中継局を特定可能な第1の情報をデバイスから受信し、前記制御部は、前記第1無線通信部が接続可能な中継局を特定可能な第2の情報と前記第1の情報とに基づいて、第1無線通信と第2無線通信との切替制御を行う。
Hereinafter, means for solving the above-described problems and the effects thereof will be described.
A device control apparatus that solves the above problem is a device control apparatus that controls a device by wireless communication, and is connected to a short-range wireless communication unit that performs short-range wireless communication with the device, a relay station, and the relay station A first wireless communication unit that performs first wireless communication with the device, a second wireless communication unit that directly connects to the device and performs second wireless communication, and controls the first wireless communication unit and the second wireless communication unit And a short-range wireless communication unit that receives, from the device, first information that allows the device to identify a relay station to which the device is connected when the connection to the device by short-range wireless communication is established. The control unit performs switching control between the first radio communication and the second radio communication based on the second information that can identify a relay station to which the first radio communication unit can be connected and the first information. I do.

この構成によれば、デバイス制御装置は、近距離無線通信部がデバイスと近距離無線通信の接続が確立した場合に、デバイスが接続中の中継局を特定可能な第1の情報をデバイスから受信する。制御部は、第1無線通信部が接続可能な中継局を特定可能な第2の情報と第1の情報とに基づいて、第1無線通信と第2無線通信との切替制御を行う。よって、第1無線通信から第2無線通信への切替えが生じない条件では、近距離無線通信部の接続が確立してから、無線通信を介したデバイス制御の開始までの所要時間が、第2無線通信部による通信の接続が必要な条件の場合に比べ短くなる。したがって、近距離無線通信の後に行われる無線通信の接続処理の実施頻度を低減し、近距離無線通信の接続が確立されてから、デバイスの制御が開始されるまでの平均所要時間を短縮することができる。   According to this configuration, when the short-range wireless communication unit establishes a short-range wireless communication connection with the device, the device control apparatus receives, from the device, first information that can identify the relay station to which the device is connected. To do. The control unit performs switching control between the first wireless communication and the second wireless communication based on the second information and the first information that can identify the relay station to which the first wireless communication unit can be connected. Therefore, under the condition that the switching from the first wireless communication to the second wireless communication does not occur, the time required from the establishment of the short-range wireless communication unit to the start of device control via the wireless communication is the second This is shorter than in the case where the communication connection by the wireless communication unit is necessary. Therefore, the frequency of connection processing for wireless communication performed after short-range wireless communication is reduced, and the average required time from the establishment of the short-range wireless communication connection to the start of device control is shortened. Can do.

上記デバイス制御装置では、前記制御部は、前記第1の情報及び前記第2の情報に基づいて、前記デバイスと同じ中継局に接続されていれば、第1無線通信で前記中継局を介して前記デバイスと通信し、一方、前記デバイスと同じ中継局に接続されていなければ、第2無線通信でデバイスと通信することが好ましい。   In the device control apparatus, if the control unit is connected to the same relay station as the device based on the first information and the second information, the control unit performs first wireless communication via the relay station. It is preferable to communicate with the device through the second wireless communication unless it communicates with the device and is connected to the same relay station as the device.

この構成によれば、制御部は、第1の情報及び前記第2の情報に基づいて、デバイスと同じ中継局に接続されていれば、第1無線通信で中継局を介してデバイスと通信する。一方、デバイスと同じ中継局に接続されていなければ、第2無線通信でデバイスと通信する。よって、デバイスと同じ中継局に接続されていたときに、第1無線通信から第2無線通信への切替えが条件付きで不要なので、通信の切替えによるロスを低減できる。   According to this configuration, if the control unit is connected to the same relay station as the device based on the first information and the second information, the control unit communicates with the device via the relay station in the first wireless communication. . On the other hand, if it is not connected to the same relay station as the device, it communicates with the device by the second wireless communication. Therefore, when connected to the same relay station as the device, switching from the first wireless communication to the second wireless communication is not required under certain conditions, so that loss due to communication switching can be reduced.

上記デバイス制御装置では、前記近距離無線通信で前記デバイスのIPアドレスを取得し、前記デバイスと同じ中継局に接続されている場合は、前記IPアドレスで特定されるデバイスと第1無線通信で通信することが好ましい。   The device control apparatus acquires the IP address of the device through the short-range wireless communication, and communicates with the device specified by the IP address through the first wireless communication when connected to the same relay station as the device. It is preferable to do.

この構成によれば、近距離無線通信でデバイスのIPアドレスが取得される。デバイスと同じ中継局に接続されている場合は、IPアドレスで特定されるデバイスと第1無線通信で通信する。よって、デバイス制御装置がデバイスと同じ中継局に接続されている場合は、適切なデバイスと通信してそのデバイスを制御することができる。   According to this configuration, the IP address of the device is acquired by short-range wireless communication. When connected to the same relay station as the device, it communicates with the device specified by the IP address by the first wireless communication. Therefore, when the device control apparatus is connected to the same relay station as the device, the device can be controlled by communicating with an appropriate device.

上記デバイス制御装置では、前記第1の情報は、中継局との無線通信の接続に用いられる無線設定情報であり、前記第2の情報は、中継局との通信の接続に用いられるデバイス設定情報であり、前記制御部は、前記無線設定情報と前記デバイス設定情報とが一致した場合、第1無線通信で中継局を介してデバイスと通信し、一方、前記無線設定情報と前記デバイス設定情報とが不一致の場合、第2無線通信でデバイスと無線通信することが好ましい。   In the device control apparatus, the first information is wireless setting information used for wireless communication connection with the relay station, and the second information is device setting information used for communication connection with the relay station. When the wireless setting information and the device setting information match, the control unit communicates with the device via a relay station in the first wireless communication, while the wireless setting information and the device setting information If they do not match, it is preferable to perform wireless communication with the device by the second wireless communication.

この構成によれば、無線設定情報とデバイス設定情報とが一致した場合、第1無線通信で中継局を介してデバイスと通信する。このとき、第1無線通信から第2無線通信への切替えが不要になる。一方、無線設定情報とデバイス設定情報とが不一致の場合、第2無線通信でデバイスと無線通信する。   According to this configuration, when the wireless setting information matches the device setting information, the first wireless communication communicates with the device via the relay station. At this time, switching from the first wireless communication to the second wireless communication becomes unnecessary. On the other hand, if the wireless setting information and the device setting information do not match, wireless communication is performed with the device by the second wireless communication.

上記デバイス制御装置では、前記無線設定情報は、中継局に接続するための第1識別情報を含み、前記近距離無線通信で、デバイスが中継局に接続するための第2識別情報及びデバイスに第2無線通信で接続するための第3識別情報を取得し、前記制御部は、前記第1識別情報と第2識別情報とが同じであれば、前記第1識別情報を用いて中継局に接続することで当該中継局を介して第1無線通信でデバイスと通信し、前記第1識別情報と第2識別情報とが同じでない場合は、前記第3識別情報を用いてデバイスと第2無線通信で接続することが好ましい。   In the device control apparatus, the wireless setting information includes first identification information for connecting to a relay station, and second identification information and a device for connecting the device to the relay station in the short-range wireless communication. If the first identification information and the second identification information are the same, the control unit connects to the relay station using the first identification information. If the first identification information and the second identification information are not the same, the device communicates with the device using the third identification information. It is preferable to connect with.

この構成によれば、制御部は、第1識別情報と第2識別情報とが同じであれば、第1識別情報を用いて中継局に接続することで中継局を介して第1無線通信でデバイスと通信する。一方、制御部は、第1識別情報と第2識別情報とが同じでなければ、第3識別情報を用いて第2無線通信でデバイスと接続し、第2無線通信でデバイスと通信する。よって、第1識別情報と第2識別情報とに基づいて第1無線通信を介してデバイスと通信可能状態にあるかどうかを適切に判断し、第1無線通信と第2無線通信との切替えを適切に行うことができる。   According to this configuration, when the first identification information and the second identification information are the same, the control unit uses the first identification information to connect to the relay station to perform the first wireless communication via the relay station. Communicate with the device. On the other hand, if the first identification information and the second identification information are not the same, the control unit uses the third identification information to connect to the device through the second wireless communication and communicate with the device through the second wireless communication. Therefore, based on the first identification information and the second identification information, it is appropriately determined whether or not communication with the device is possible via the first wireless communication, and switching between the first wireless communication and the second wireless communication is performed. Can be done appropriately.

上記デバイス制御装置では、前記無線設定情報と前記デバイス設定情報とが同じである場合で、第1無線通信でデバイスとの無線通信が失敗したとき、第2無線通信でデバイスと無線通信することが好ましい。   In the device control apparatus, when the wireless setting information and the device setting information are the same, and wireless communication with the device fails in the first wireless communication, wireless communication with the device is performed in the second wireless communication. preferable.

この構成によれば、無線設定情報とデバイス設定情報とが同じであったため、第1無線通信でデバイスとの無線通信を試みて失敗したときは、第2無線通信でデバイスと無線通信する。よって、デバイス制御装置は、第1無線通信が失敗しても、第2無線通信でデバイスと通信することができる。   According to this configuration, since the wireless setting information and the device setting information are the same, when the wireless communication with the device fails in the first wireless communication, the wireless communication with the device is performed in the second wireless communication. Therefore, even if the first wireless communication fails, the device control apparatus can communicate with the device by the second wireless communication.

上記デバイス制御装置では、前記制御部は、前記デバイスの前記第2無線通信部が追加の接続が可能であるか否かを示す追加接続可否情報を前記デバイスから近距離無線通信で取得し、追加接続可否情報に基づき第2無線通信の追加接続が不可の場合、第1無線通信でデバイスと通信することが好ましい。   In the device control apparatus, the control unit acquires additional connection availability information indicating whether or not the second wireless communication unit of the device is capable of additional connection through short-range wireless communication from the device, and adds When the additional connection of the second wireless communication is not possible based on the connection availability information, it is preferable to communicate with the device by the first wireless communication.

この構成によれば、デバイスから近距離無線通信で取得した追加接続可否情報に基づいて、第2無線通信の追加接続が不可の場合、第1無線通信でデバイスと通信する。よって、デバイス側の第2無線通信部の接続可能上限数を理由に第2無線通信でデバイスと接続できない場合でも、デバイスと第1無線通信で接続できる。   According to this configuration, when the additional connection of the second wireless communication is impossible based on the additional connection availability information acquired from the device by the short-range wireless communication, the first wireless communication communicates with the device. Therefore, even when it is not possible to connect to the device by the second wireless communication because of the upper limit of connectable numbers of the second wireless communication unit on the device side, the device can be connected by the first wireless communication.

上記課題を解決するデバイス制御方法は、デバイス制御装置が無線通信によりデバイスを制御するデバイス制御方法であって、デバイス制御装置を備えた携帯機器は、近距離無線通信部と、前記近距離無線通信部よりも通信範囲の広い第1無線通信部及び第2無線通信部とを備え、前記近距離無線通信部がデバイスとの通信の接続を確立した場合に、前記デバイスが接続中の中継局を特定可能な第1の情報をデバイスから受信する近距離無線通信ステップと、携帯機器が接続中の中継局を特定可能な第2の情報をメモリーから読み出して前記第1の情報と前記第2の情報とに基づいて、中継局を介してデバイスと通信する前記第1無線通信部による第1無線通信とデバイスと直接接続される前記第2無線通信部による第2無線通信との切替制御を行う制御ステップと、を備えた。この方法によれば、上記デバイス制御装置と同様の作用効果を得ることができる。   A device control method for solving the above problem is a device control method in which a device control apparatus controls a device by wireless communication, and a portable device including the device control apparatus includes a short-range wireless communication unit and the short-range wireless communication. A first wireless communication unit and a second wireless communication unit having a communication range wider than the communication unit, and when the short-range wireless communication unit establishes a connection for communication with the device, the relay station to which the device is connected A short-range wireless communication step of receiving first identifiable information from the device; and second information that can identify a relay station to which the portable device is connected is read from a memory, and the first information and the second information Based on the information, switching control between the first wireless communication by the first wireless communication unit communicating with the device via the relay station and the second wireless communication by the second wireless communication unit directly connected to the device is performed. And a control step of performing. According to this method, the same effect as that of the device control apparatus can be obtained.

上記課題を解決するプログラムは、無線通信によりデバイスを制御するデバイス制御を携帯機器内のコンピューターに実行させるためのプログラムであって、携帯機器は、近距離無線通信部と、前記近距離無線通信部よりも通信範囲の広い第1無線通信部及び第2無線通信部とを備え、コンピューターに、近距離無線通信部がデバイスとの通信の接続が確立した場合に、前記デバイスが接続中の中継局を特定可能な第1の情報をデバイスから受信する近距離無線通信ステップと、携帯機器が接続中の中継局を特定可能な第2の情報をメモリーから読み出して前記第1の情報と前記第2の情報とに基づいて、中継局を介してデバイスと通信する前記第1無線通信部による第1無線通信とデバイスと直接接続される前記第2無線通信部による第2無線通信との切替制御を行う制御ステップとを実行させる。このプログラムによれば、上記デバイス制御装置と同様の作用効果を得ることができる。   A program for solving the above-described problem is a program for causing a computer in a portable device to execute device control for controlling a device by wireless communication, and the portable device includes a short-range wireless communication unit and the short-range wireless communication unit. A relay station to which the device is connected when the short-range wireless communication unit establishes a communication connection with the device, and the first wireless communication unit and the second wireless communication unit have a wider communication range. A short-range wireless communication step of receiving first information that can identify the device from the device, and reading out second information that can identify the relay station to which the mobile device is connected from the memory to read the first information and the second information Based on the information of the first wireless communication by the first wireless communication unit communicating with the device via the relay station and the second by the second wireless communication unit directly connected to the device. To execute a control step of performing switching control of the communications. According to this program, the same operational effects as those of the device control apparatus can be obtained.

一実施形態における画像形成システムを示す模式図。1 is a schematic diagram illustrating an image forming system according to an embodiment. FIG. 画像形成システムの電気的構成を示すブロック図。1 is a block diagram showing an electrical configuration of an image forming system. (a),(b)は携帯機器から接続中の無線LANを経由して第1無線通信で印刷用データをプリンターへ送信する例を示す模式図。(A), (b) is a schematic diagram which shows the example which transmits the data for printing to a printer by 1st wireless communication via the wireless LAN currently connected from a portable apparatus. (a),(b)は携帯機器から第2無線通信で印刷用データをプリンターへ送信する例を示す模式図。(A), (b) is a schematic diagram which shows the example which transmits the data for printing to a printer by 2nd wireless communication from a portable apparatus. (a),(b)は携帯機器が第2無線通信から第1無線通信へ切り替えて印刷用データをプリンターへ送信する例を示す模式図。(A), (b) is a schematic diagram which shows the example which a portable apparatus switches from 2nd wireless communication to 1st wireless communication, and transmits the data for printing to a printer. デバイス制御ルーチンを示すフローチャート。The flowchart which shows a device control routine. 携帯機器から接続中の無線LANを経由して第1無線通信で印刷用データをプリンターへ送信する例を示すシーケンス図。The sequence diagram which shows the example which transmits the data for printing to a printer by 1st wireless communication via the wireless LAN currently connected from a portable apparatus. 携帯機器から第2無線通信で印刷用データをプリンターへ送信する例を示すシーケンス図。The sequence diagram which shows the example which transmits the data for printing to a printer by 2nd wireless communication from a portable apparatus. 携帯機器が第1無線通信から第2無線通信へ切り替えて印刷用データをプリンターへ送信する例を示すシーケンス図。FIG. 6 is a sequence diagram illustrating an example in which the mobile device switches from the first wireless communication to the second wireless communication and transmits print data to the printer. プリンターへの第2無線通信での追加接続が不可能である場合の処理の一部を示すシーケンス図。The sequence diagram which shows a part of process when the additional connection by the 2nd wireless communication to a printer is impossible. 第2無線通信での追加接続が不可能である場合に携帯機器に表示される表示画面の一例を示す模式図。The schematic diagram which shows an example of the display screen displayed on a portable apparatus when the additional connection by 2nd wireless communication is impossible.

以下、デバイス制御装置が携帯端末に備えられた構成である一実施形態を、図面を参照して説明する。
図1に示すように、携帯機器11に備えられたデバイス制御装置20は、デバイスの一例としてのプリンター30と共に、デバイス制御システムの一例としての画像形成システム10を構成する。すなわち、画像形成システム10は、携帯機器11に備えられたデバイス制御装置20と、デバイス制御装置20が携帯機器11の通信機能を使って送信した印刷用データを受信して用紙等の媒体に印刷を施すプリンター30とを備えている。携帯機器11としては、スマートフォン、携帯電話、タブレットPC、携帯情報端末(PDA(Personal Digital Assistants))等の携帯端末などを挙げることができる。なお、携帯型であれば、タブレット型パーソナルコンピューター、ノート型パーソナルコンピューター等を用いてもよい。さらに、携帯機器11は、デバイスとの間でデータの送受信が可能な携帯型音楽再生装置や携帯型動画再生装置などであってもよい。
Hereinafter, an embodiment in which a device control apparatus is provided in a mobile terminal will be described with reference to the drawings.
As shown in FIG. 1, the device control apparatus 20 provided in the portable device 11 constitutes an image forming system 10 as an example of a device control system together with a printer 30 as an example of a device. In other words, the image forming system 10 receives the device control device 20 provided in the mobile device 11 and the print data transmitted by the device control device 20 using the communication function of the mobile device 11 and prints it on a medium such as paper. And a printer 30 for performing the above. Examples of the mobile device 11 include mobile terminals such as smart phones, mobile phones, tablet PCs, and personal digital assistants (PDA (Personal Digital Assistants)). Note that a tablet personal computer, a notebook personal computer, or the like may be used as long as it is portable. Furthermore, the portable device 11 may be a portable music playback device or a portable video playback device that can send and receive data to and from the device.

携帯機器11は中継局の一例としてのアクセスポイント50を介して無線LANに接続される。ユーザーは、不図示のサーバーから有料又は無料でプログラムPRを含むコンテンツを、インターネット等のネットワークを通じて予めダウンロードする。そのため、携帯機器11のメモリー25(図2参照)にはプログラムPRが予め記憶されている。そして、携帯機器11内でこのプログラムPRを実行する制御部の一例としてのコンピューター23(図2参照)によりデバイス制御装置20が構成される。   The mobile device 11 is connected to a wireless LAN via an access point 50 as an example of a relay station. The user downloads in advance a content including the program PR from a server (not shown) through a network such as the Internet. Therefore, the program PR is stored in advance in the memory 25 (see FIG. 2) of the mobile device 11. And the device control apparatus 20 is comprised by the computer 23 (refer FIG. 2) as an example of the control part which performs this program PR in the portable apparatus 11. FIG.

図1に示すように、携帯機器11は操作部12及び表示部13を備えている。表示部13はその画面をタッチ操作すれば各種の指示や入力が可能なタッチパネル機能を有する。そのため、操作部12は、携帯機器11の筐体11Aの前面に操作可能に設けられた操作スイッチ12Aと表示部13のタッチパネル機能とにより構成される。表示部13には、印刷対象の画像を印刷前に確認するプレビュー画像や各種のメッセージが表示される。印刷の指示は、ユーザーが操作部12の操作(例えばタッチパネル操作)により行われる。   As shown in FIG. 1, the mobile device 11 includes an operation unit 12 and a display unit 13. The display unit 13 has a touch panel function that allows various instructions and inputs by touching the screen. Therefore, the operation unit 12 includes an operation switch 12 </ b> A provided on the front surface of the housing 11 </ b> A of the portable device 11 so as to be operable and a touch panel function of the display unit 13. The display unit 13 displays a preview image for confirming an image to be printed before printing and various messages. The printing instruction is performed by the user operating the operation unit 12 (for example, touch panel operation).

本実施形態の携帯機器11には、筐体11Aの表面に近距離無線通信部の一例としてのNFC(Near Field Communication)通信部15(以下、単に「NFC部15」という。)が設けられている。また、本例のプリンター30には、NFC通信部35(以下、単に「NFC部35」という。)が設けられている。本例では、NFC部15,35は共にNFCタグからなる。NFC部35は、例えばプリンター30における携帯機器11を接触させる操作がし易い位置に設けられている。携帯機器11のNFC部15をプリンター30のNFC部35にタッチさせるなど近距離無線通信の通信範囲内に接近させると、NFC部15,35間の通信の接続が確立される。そして、NFC部35に記憶された第1の情報がNFC部15,35間の近距離無線通信でプリンター30から携帯機器11内のデバイス制御装置20に送信される。   The portable device 11 of the present embodiment is provided with an NFC (Near Field Communication) communication unit 15 (hereinafter simply referred to as “NFC unit 15”) as an example of a short-range wireless communication unit on the surface of the housing 11A. Yes. Further, the printer 30 of this example is provided with an NFC communication unit 35 (hereinafter simply referred to as “NFC unit 35”). In this example, the NFC units 15 and 35 are both NFC tags. The NFC unit 35 is provided, for example, at a position where the operation for bringing the portable device 11 in the printer 30 into contact is easy. When the NFC unit 15 of the portable device 11 is brought close to the communication range of the short-range wireless communication such as touching the NFC unit 35 of the printer 30, a communication connection between the NFC units 15 and 35 is established. Then, the first information stored in the NFC unit 35 is transmitted from the printer 30 to the device control device 20 in the portable device 11 by short-range wireless communication between the NFC units 15 and 35.

プリンター30は、例えば複合機であり、印刷、コピー、スキャン及びファクシミリ(以下、「FAX」という。)の各機能を備えている。プリンター30は、媒体の一例としての用紙Pに印刷する印刷部31及び原稿の画像を読み取るスキャン部32を備えている。また、プリンター30の筐体30Aの前部には、操作パネル33が設けられている。操作パネル33には、複数の操作スイッチからなる操作部33A及び表示部33Bが設けられている。また、筐体30Aの下部には、用紙Pを複数枚収容可能なカセット34が、筐体30Aに対して着脱可能な状態で装着されている。なお、印刷部31による印刷方式は、例えばインクジェット方式、ドットインパクト方式、レーザー方式及び感熱方式などを挙げることができる。   The printer 30 is, for example, a multifunction machine, and has functions of printing, copying, scanning, and facsimile (hereinafter referred to as “FAX”). The printer 30 includes a printing unit 31 that prints on a sheet P as an example of a medium, and a scanning unit 32 that reads an image of a document. An operation panel 33 is provided at the front of the housing 30 </ b> A of the printer 30. The operation panel 33 is provided with an operation unit 33A and a display unit 33B including a plurality of operation switches. In addition, a cassette 34 that can store a plurality of sheets of paper P is attached to the lower portion of the housing 30A so as to be detachable from the housing 30A. Note that examples of the printing method by the printing unit 31 include an inkjet method, a dot impact method, a laser method, and a thermal method.

携帯機器11は、アクセスポイント50に無線で接続してLAN(Local Area Network)等のネットワークに接続可能な第1無線通信部16と、プリンター30とピアツーピア(P2P)接続して無線通信が可能な第2無線通信部17とを備えている。また、プリンター30は、アクセスポイント50に無線で接続してLAN等のネットワークに接続可能な第1無線通信部36と、携帯機器11の第2無線通信部17とP2P接続してデバイス制御装置20と無線通信が可能な第2無線通信部37とを備えている。第2無線通信部37はアクセスポイント機能を有するので、携帯機器11のデバイス制御装置20は第2無線通信部17,37間の直接通信を介してプリンター30と通信することができる。本例では、第1無線通信部16による第1無線通信方式としてWi-Fi通信方式を採用し、第2無線通信部17による第2無線通信方式としてWi-Fi Direct通信方式を採用する。   The mobile device 11 can wirelessly communicate with the first wireless communication unit 16 that can be connected to the access point 50 wirelessly and connected to a network such as a LAN (Local Area Network) and the printer 30 with a peer-to-peer (P2P) connection. A second wireless communication unit 17. In addition, the printer 30 is connected to the access point 50 wirelessly and can be connected to a network such as a LAN, and the second wireless communication unit 17 of the mobile device 11 is P2P connected to the device control apparatus 20. And a second wireless communication unit 37 capable of wireless communication. Since the second wireless communication unit 37 has an access point function, the device control apparatus 20 of the mobile device 11 can communicate with the printer 30 via direct communication between the second wireless communication units 17 and 37. In this example, the Wi-Fi communication method is adopted as the first wireless communication method by the first wireless communication unit 16, and the Wi-Fi Direct communication method is adopted as the second wireless communication method by the second wireless communication unit 17.

例えばユーザーが携帯機器11のNFC部15をプリンター30のNFC部35に接近させると(例えばタッチ操作すると)、デバイス制御装置20はプリンター30から第2の情報の一例としてのデバイス設定情報SDを取得する。次にデバイス制御装置20は、デバイス設定情報SDとメモリー25に記憶された第1の情報の一例としての無線設定情報ID(いずれも図2参照)とに基づいて、第1無線通信部16によりアクセスポイント50に接続する第1無線通信と、第2無線通信部17,37を介してプリンター30と直接通信する第2無線通信とを切替制御する。そして、デバイス制御装置20は、アクセスポイント50が接続されたLANを介した第1無線通信(Wi-Fi通信)で、又は第2無線通信部17,37間の直接通信を介した第2無線通信(Wi-Fi Direct通信)で、携帯機器11からプリンター30へ印刷用データを送信する。   For example, when the user brings the NFC unit 15 of the portable device 11 close to the NFC unit 35 of the printer 30 (for example, when a touch operation is performed), the device control apparatus 20 acquires device setting information SD as an example of second information from the printer 30. To do. Next, the device controller 20 uses the first wireless communication unit 16 based on the device setting information SD and the wireless setting information ID (see FIG. 2) as an example of the first information stored in the memory 25. Switching control is performed between the first wireless communication connected to the access point 50 and the second wireless communication directly communicating with the printer 30 via the second wireless communication units 17 and 37. Then, the device control apparatus 20 uses the first wireless communication (Wi-Fi communication) via the LAN to which the access point 50 is connected or the second wireless communication via the direct communication between the second wireless communication units 17 and 37. Data for printing is transmitted from the portable device 11 to the printer 30 by communication (Wi-Fi Direct communication).

プリンター30は、印刷用データを受信すると、カセット34内に収容された用紙Pを筐体30A内の搬送経路上へ搬送し、その搬送の途中で用紙Pに印刷用データに基づく印刷を施し、印刷された用紙Pを排紙口30Bから排出部39(スタッカー)上に排出する。   When the printer 30 receives the printing data, the printer 30 transports the paper P stored in the cassette 34 onto a transport path in the housing 30A, and performs printing based on the printing data on the paper P in the middle of the transport. The printed paper P is discharged from the paper discharge port 30B onto the discharge unit 39 (stacker).

次に、デバイス制御装置20、デバイス制御方法、及び、デバイス制御用のプログラムPRの詳細を説明する。図2は、プリンター30(デバイスの一例)と、デバイス制御装置20を備える携帯機器11を含む画像形成システム10の構成例を模式的に示している。   Next, details of the device control apparatus 20, the device control method, and the device control program PR will be described. FIG. 2 schematically illustrates a configuration example of the image forming system 10 including the printer 30 (an example of a device) and the portable device 11 including the device control apparatus 20.

図2に示す携帯機器11は、NFC部(近距離無線通信部)15、第1無線通信部16、第2無線通信部17、コントローラー21、操作部12、表示部13、音声出力部18、音声入力部19、カメラ22等を備えている。   2 includes an NFC unit (near field communication unit) 15, a first wireless communication unit 16, a second wireless communication unit 17, a controller 21, an operation unit 12, a display unit 13, an audio output unit 18, A voice input unit 19 and a camera 22 are provided.

NFC部15は、プリンター30とNFC方式の近距離無線通信を行うNFCリーダーであり、IC、ループアンテナ及び通信回路を備えている。携帯機器11の筐体11Aには、プリンター30に携帯機器11を接近(例えばタッチ)させるための接触部15Aが設けられている。NFC部15は、携帯機器11の筐体11A内における接触部15Aの近傍に配置されている。NFC部15は、NFCタグに接近すると該NFCタグから情報をNFC方式により無線で受信する。なお、NFCリーダーは、ICにデータを書き込む機能を有するNFCリーダー/ライターでもよい。   The NFC unit 15 is an NFC reader that performs NFC short-range wireless communication with the printer 30 and includes an IC, a loop antenna, and a communication circuit. The housing 11 </ b> A of the mobile device 11 is provided with a contact portion 15 </ b> A for making the mobile device 11 approach (for example, touch) the printer 30. The NFC unit 15 is disposed in the vicinity of the contact unit 15 </ b> A in the housing 11 </ b> A of the mobile device 11. When the NFC unit 15 approaches the NFC tag, the NFC unit 15 wirelessly receives information from the NFC tag using the NFC method. The NFC reader may be an NFC reader / writer having a function of writing data to the IC.

第1無線通信部16は、プリンター30と近距離無線通信とは異なる第1無線通信を行う通信インターフェイスである。第1無線通信としてWi-Fi(Wireless Fidelity)方式の無線通信を行う場合、第1無線通信部16には無線LANインターフェイスを用いることができる。この場合、第1無線通信部16は、中継局の一例としてのアクセスポイント50(中継装置)を介して、プリンター30と第1無線通信(インフラストラクチャー通信)で接続を行う。なお、アクセスポイント50は、アクセスポイント機能付きの無線LANルーター又は無線アクセスポイント装置により構成される。   The first wireless communication unit 16 is a communication interface that performs first wireless communication different from the short-range wireless communication with the printer 30. When performing Wi-Fi (Wireless Fidelity) wireless communication as the first wireless communication, a wireless LAN interface can be used for the first wireless communication unit 16. In this case, the first wireless communication unit 16 connects to the printer 30 by the first wireless communication (infrastructure communication) via an access point 50 (relay device) as an example of a relay station. The access point 50 is configured by a wireless LAN router or a wireless access point device with an access point function.

第2無線通信部17は、プリンター30と近距離無線通信とは異なる第2無線通信を行う通信インターフェイスである。第2無線通信としてWi-Fi(Wireless Fidelity)Direct方式の無線通信を行う場合、第2無線通信部17には無線LANインターフェイスを用いることができる。プリンター30は、携帯機器11側の第2無線通信部17が直接接続することが可能なアクセスポイント機能(アドホック通信機能)を有する第2無線通信部37を備える。すなわち、プリンター30側の第2無線通信部37は、第2無線通信部17とピアツーピア接続可能なアクセスポイント機能を有するプリンターアクセスポイント37A(以下、「プリンターAP」という。)を備えている。このため、第2無線通信部17は、アクセスポイント50等の他の中継局を介することなく、プリンター30の第2無線通信部37と直接接続することが可能である。   The second wireless communication unit 17 is a communication interface that performs second wireless communication different from the short-range wireless communication with the printer 30. When performing wireless communication of the Wi-Fi (Wireless Fidelity) Direct method as the second wireless communication, a wireless LAN interface can be used for the second wireless communication unit 17. The printer 30 includes a second wireless communication unit 37 having an access point function (ad hoc communication function) that can be directly connected to the second wireless communication unit 17 on the portable device 11 side. That is, the second wireless communication unit 37 on the printer 30 side includes a printer access point 37 </ b> A (hereinafter referred to as “printer AP”) having an access point function capable of peer-to-peer connection with the second wireless communication unit 17. For this reason, the second wireless communication unit 17 can be directly connected to the second wireless communication unit 37 of the printer 30 without going through another relay station such as the access point 50.

コントローラー21は、コンピューター23を備える。コンピューター23は、CPU24及びメモリー25等を備えている。CPU24は、携帯機器11における情報処理や制御を中心的に行う。メモリー25は、例えば、ROM、RAM及びフラッシュメモリーといった不揮発性メモリーを含む。メモリー25には、デバイス制御用のプログラムPR、不図示のアプリケーションプログラム、無線設定情報ID、パスワード、印刷対象の画像のデータ等が格納される。携帯機器11にプログラムPRがインストールされることにより、携帯機器11内にデバイス制御装置20が構築される。アプリケーションプログラムは、携帯機器11にインストールされることにより、携帯機器11に各種の機能を付加する。アプリケーションプログラムには、例えば画像表示ソフト、画像作成ソフト、文書表示ソフト及び文書作成ソフトなどの画像や文書の印刷機能を有するアプリケーションが少なくとも1つ含まれる。   The controller 21 includes a computer 23. The computer 23 includes a CPU 24, a memory 25, and the like. The CPU 24 mainly performs information processing and control in the mobile device 11. The memory 25 includes, for example, a nonvolatile memory such as a ROM, a RAM, and a flash memory. The memory 25 stores a device control program PR, an application program (not shown), wireless setting information ID, a password, image data to be printed, and the like. By installing the program PR in the mobile device 11, the device control apparatus 20 is constructed in the mobile device 11. The application program is installed in the mobile device 11 to add various functions to the mobile device 11. The application program includes at least one application having an image and document printing function such as image display software, image creation software, document display software, and document creation software.

無線設定情報IDには、第1無線通信部16がアクセスポイント50に接続する際に必要な第1識別情報の一例であってかつアクセスポイント50を介して接続される無線LANを特定可能な無線LAN識別情報L1が含まれる。また、無線設定情報IDには、プリンター30の第2無線通信部37内のプリンターAP37Aに接続する際に必要な識別情報やパスワードを含むプリンターAP識別情報ADが含まれる。無線LAN識別情報L1には、携帯機器11を有するユーザーが、接続を許可されたアクセスポイント50への接続の際に必要な第1識別情報の一例としてのSSID(Service Set Identifier)とBSSID(Basic Service Set Identifier)とのうち少なくとも一方、及びデフォルトゲートウェイ等が含まれる。   The wireless setting information ID is an example of first identification information necessary when the first wireless communication unit 16 connects to the access point 50 and is a wireless that can identify a wireless LAN connected via the access point 50. LAN identification information L1 is included. Further, the wireless setting information ID includes printer AP identification information AD including identification information and a password necessary for connecting to the printer AP 37A in the second wireless communication unit 37 of the printer 30. The wireless LAN identification information L1 includes an SSID (Service Set Identifier) and BSSID (Basic ID) as an example of first identification information necessary when the user having the mobile device 11 connects to the access point 50 permitted to connect. Service set identifier), a default gateway, and the like.

操作部12は、操作スイッチ12A(図1参照)及び表示部13の画面で構成されるタッチパネル等を含んでいる。表示部13は、液晶表示パネル等からなる。ユーザーによる操作を操作部12で受け付け、携帯機器11の動作状態や各種設定画面等を表示部13に表示する。なお、操作部12を、タッチパネルを含まず、複数のキー等を用いて構成することも可能である。   The operation unit 12 includes an operation switch 12 </ b> A (see FIG. 1) and a touch panel configured with a screen of the display unit 13. The display unit 13 includes a liquid crystal display panel or the like. The operation by the user is received by the operation unit 12, and the operation state of the mobile device 11 and various setting screens are displayed on the display unit 13. Note that the operation unit 12 may be configured using a plurality of keys or the like without including a touch panel.

音声出力部18は、電話回線等からの音声信号に従って音声を発生させる。音声出力部18には、例えば、汎用のスピーカーを用いることができる。音声入力部19は、ユーザー等からの音声を音声信号に変換する。音声入力部19には、例えば、汎用のマイクロフォンを用いることができる。カメラ22は、レンズを含む光学系、エリアイメージセンサー、画像処理回路等を備え、撮影した画像のデジタルデータを生成する。   The voice output unit 18 generates voice according to a voice signal from a telephone line or the like. For the audio output unit 18, for example, a general-purpose speaker can be used. The voice input unit 19 converts voice from a user or the like into a voice signal. For the voice input unit 19, for example, a general-purpose microphone can be used. The camera 22 includes an optical system including a lens, an area image sensor, an image processing circuit, and the like, and generates digital data of a photographed image.

デバイス制御用のプログラムPRは、不図示のアプリケーションプログラムによる呼び出し処理により起動させることも可能である。例えば、アプリケーションプログラムを起動させている状態で印刷したい表示部13上の画像を選択操作し、さらに印刷の実行を指示する操作すると、デバイス制御用のプログラムPRを起動させる呼び出し処理が行われる。その後、画面に携帯機器11のNFC部15をプリンター30のNFC部35へのタッチを促す旨が表示される。この状態で、プリンター30からデバイス設定情報を取得するために携帯機器11をプリンター30に接触させる。プリンター30のNFC部35は、ICにデータを書き込む機能を有するNFCリーダー/ライターにより構成され、コンピューター43によるデータの書き替えが可能な記憶部35Bを備えている。   The device control program PR can also be activated by calling processing by an application program (not shown). For example, when an operation for selecting an image on the display unit 13 to be printed in the state where the application program is activated and further instructing execution of printing, a calling process for activating the device control program PR is performed. Thereafter, a message is displayed on the screen to prompt the NFC unit 15 of the portable device 11 to touch the NFC unit 35 of the printer 30. In this state, the mobile device 11 is brought into contact with the printer 30 in order to acquire device setting information from the printer 30. The NFC unit 35 of the printer 30 includes an NFC reader / writer having a function of writing data to the IC, and includes a storage unit 35B that can be rewritten by the computer 43.

図2に示すように、携帯機器11のコンピューター23は、プログラムPRを実行することで、コンピューター23内に構築される部分として、通信切替制御部26、判定部27及び表示処理部28などを有する。   As shown in FIG. 2, the computer 23 of the mobile device 11 includes a communication switching control unit 26, a determination unit 27, a display processing unit 28, and the like as parts built in the computer 23 by executing the program PR. .

通信切替制御部26は、第1無線通信部16と第2無線通信部17との間で無線通信を行う一方を切り替える制御を行う。本例では、第1無線通信部16と第2無線通信部17は一方のみ有効になる構成であるため、一方が通信接続中であるときに他方を通信接続させるときには先に通信接続中であった一方の接続を遮断する。なお、第1無線通信部16と第2無線通信部17の両方が同時に通信接続可能な構成とすることもできる。   The communication switching control unit 26 performs control for switching one of the wireless communication between the first wireless communication unit 16 and the second wireless communication unit 17. In this example, since only one of the first wireless communication unit 16 and the second wireless communication unit 17 is valid, when one is in communication connection, the other is in communication connection first. Disconnect one of the connections. In addition, it can also be set as the structure in which both the 1st radio | wireless communication part 16 and the 2nd radio | wireless communication part 17 can be connected for communication simultaneously.

判定部27は、デバイス制御(本例では印刷制御)を行うためにデバイスの一例であるプリンター30と通信を確立するうえで必要な各種の判定を行う。
表示処理部28は、表示部13に印刷開始前にプリンター30と通信を確立するうえで必要な各種のメッセージを表示させる表示処理を行う。
The determination unit 27 performs various determinations necessary for establishing communication with the printer 30 that is an example of a device in order to perform device control (print control in this example).
The display processing unit 28 performs display processing for displaying various messages necessary for establishing communication with the printer 30 on the display unit 13 before starting printing.

メモリー25には、図6にフローチャートで示されるデバイス制御ルーチンのプログラムPR及び無線設定情報IDが記憶されている。この無線設定情報IDには、携帯機器11が接続を許可されている無線LAN上のアクセスポイント50に接続するために使用される識別情報を含む無線LAN識別情報L1と、プリンター30側の第2無線通信部37に内蔵されたプリンターAP37Aに接続するために使用されるプリンターAP識別情報ADとが含まれる。無線LAN識別情報L1は、プリンター30と同じ無線LANに接続されているか否かを判断するためにも用いられる。   The memory 25 stores a device control routine program PR and wireless setting information ID shown in the flowchart of FIG. The wireless setting information ID includes wireless LAN identification information L1 including identification information used for connection to the access point 50 on the wireless LAN to which the portable device 11 is permitted to connect, and second information on the printer 30 side. Printer AP identification information AD used to connect to the printer AP 37A built in the wireless communication unit 37 is included. The wireless LAN identification information L1 is also used to determine whether or not it is connected to the same wireless LAN as the printer 30.

一方、図2に示すプリンター30は、印刷部31、スキャン部32、NFC部35(近距離無線通信部)、第1無線通信部36、第2無線通信部37、コントローラー41、操作部33A、表示部33B、等を備える複合機である。本技術のデバイスとして画像形成装置の一種である印刷装置を適用する場合、プリンター30は、複合機以外にも、スキャン部の無いプリンター等でもよい。   On the other hand, the printer 30 shown in FIG. 2 includes a printing unit 31, a scanning unit 32, an NFC unit 35 (near field communication unit), a first wireless communication unit 36, a second wireless communication unit 37, a controller 41, an operation unit 33A, This is a multi-function device including a display unit 33B and the like. When a printing apparatus, which is a kind of image forming apparatus, is applied as a device of the present technology, the printer 30 may be a printer without a scanning unit in addition to the multifunction peripheral.

NFC部35は、携帯機器11とNFC方式の近距離無線通信を行うNFCタグであり、情報を記憶したIC(集積回路)、ループアンテナ、及び、通信回路を備えている。NFC方式の近距離無線通信のデータ転送速度は、例えば100〜400kbps程度である。プリンター30の筐体30A(例えばプリンター30の前面)には、携帯機器11を接触(タッチ)させるための接触部35Aが設けられている。NFC部35は、接触部35Aの裏側に配置されている。図1に示すNFC部35は、デバイス設定情報SDが読み出し可能に記憶されており、携帯機器11のNFC部15が接触部15Aに接近するとデバイス設定情報SDをNFC方式により無線送信する。なお、デバイス設定情報SDには、プリンター30が接続しているアクセスポイント50を識別しうる情報と、プリンター30のIPアドレスを含む。ここで、アクセスポイント50を識別しうる情報には、後述するプリンター30がアクセスポイント50への接続の際に必要な第2識別情報の一例としてのSSID、BSSIDでもよいし、MACアドレス(Media Access Control Address)でもよい。なお、BSSIDには、通常、MACアドレスが用いられるが、それ以外の情報を用いてもよい。   The NFC unit 35 is an NFC tag that performs NFC short-range wireless communication with the mobile device 11, and includes an IC (integrated circuit) that stores information, a loop antenna, and a communication circuit. The data transfer rate of NFC near field communication is, for example, about 100 to 400 kbps. A contact portion 35A for contacting (touching) the mobile device 11 is provided on the housing 30A of the printer 30 (for example, the front surface of the printer 30). The NFC part 35 is disposed on the back side of the contact part 35A. The NFC unit 35 shown in FIG. 1 stores the device setting information SD so as to be readable. When the NFC unit 15 of the mobile device 11 approaches the contact unit 15A, the device setting information SD is wirelessly transmitted by the NFC method. The device setting information SD includes information that can identify the access point 50 to which the printer 30 is connected and the IP address of the printer 30. Here, the information that can identify the access point 50 may be an SSID or BSSID as an example of second identification information required when the printer 30 described later is connected to the access point 50, or a MAC address (Media Access Control Address). Note that a MAC address is usually used for the BSSID, but other information may be used.

第1無線通信部36は、携帯機器11と近距離無線通信とは異なる第1無線通信を行う通信インターフェイスである。本例では、第1無線通信は、Wi-Fi方式の無線通信であり、第1無線通信部36には無線LANインターフェイスを用いることができる。Wi-Fi方式の無線通信は、NFC方式の近距離無線通信よりも通信範囲が広く、且つ、NFC方式の近距離無線通信よりも通信速度が速い。そこで、接近した携帯機器11へNFC方式の近距離無線通信によりデバイス設定情報SDを送り、デバイス設定情報SDに含まれるIPアドレスにより、送信先のプリンター30を特定し、Wi-Fi方式の無線通信により印刷用データ等の大量のデータを送受信することにしている。なお、Wi-Fi方式の無線通信を使用すると、SSID,BSSID及びデフォルトゲートウェイがデバイス設定情報SDとなる。   The first wireless communication unit 36 is a communication interface that performs first wireless communication different from the short-range wireless communication with the mobile device 11. In this example, the first wireless communication is Wi-Fi wireless communication, and a wireless LAN interface can be used for the first wireless communication unit 36. Wi-Fi wireless communication has a wider communication range than NFC short-range wireless communication, and has a higher communication speed than NFC short-range wireless communication. Therefore, the device setting information SD is sent to the mobile device 11 that has approached by NFC short-range wireless communication, the destination printer 30 is specified by the IP address included in the device setting information SD, and Wi-Fi wireless communication is performed. Therefore, a large amount of data such as print data is transmitted and received. If Wi-Fi wireless communication is used, the SSID, BSSID, and default gateway become the device setting information SD.

第2無線通信部37は、携帯機器11と近距離無線通信とは異なる第2無線通信を行う通信インターフェイスである。第2無線通信としてWi-Fi Direct方式の無線通信を行う場合、第2無線通信部37には無線LANインターフェイスを用いることができる。Wi-Fi Direct方式の無線通信は、NFC方式の近距離無線通信よりも通信範囲が広く、且つ、NFC方式の近距離無線通信よりも通信速度が速い。そこで、接近した携帯機器11へNFC方式の近距離無線通信により、プリンター30が接続しているアクセスポイント50を識別するアクセスポイント識別情報と、印刷用データの送信先であるプリンター30を特定するプリンター30のIPアドレスを含むデバイス設定情報SDを送信したうえ、携帯機器11からプリンター30へWi-Fi Direct方式の無線通信により印刷用データ等の大量のデータを送受信することにしている。なお、Wi-Fi Direct方式の無線通信を使用する場合、デバイス設定情報SDにはプリンターAP37Aへの接続に使用する第3識別情報の一例であるSSIDが含まれる。   The second wireless communication unit 37 is a communication interface that performs second wireless communication different from the short-range wireless communication with the mobile device 11. When performing Wi-Fi Direct wireless communication as the second wireless communication, the second wireless communication unit 37 can use a wireless LAN interface. Wi-Fi Direct wireless communication has a wider communication range than NFC short-range wireless communication, and has a higher communication speed than NFC short-range wireless communication. Therefore, the access point identification information for identifying the access point 50 to which the printer 30 is connected and the printer 30 that is the transmission destination of the printing data are transmitted to the mobile device 11 that is in close proximity by NFC short-range wireless communication. The device setting information SD including 30 IP addresses is transmitted, and a large amount of data such as printing data is transmitted from the portable device 11 to the printer 30 by Wi-Fi Direct wireless communication. When using Wi-Fi Direct wireless communication, the device setting information SD includes an SSID that is an example of third identification information used for connection to the printer AP 37A.

コントローラー41は、コンピューター43を備える。コンピューター43は、CPU44(Central Processing Unit)、ASIC45、メモリー46等を備える。CPU44は、プリンター30における情報処理や制御を中心的に行う。メモリー46は、例えば、ROM(Read Only Memory)、RAM(Random Access Memory)及びフラッシュメモリーといった不揮発性メモリーを含む。メモリー46には、不図示の制御プログラムの他、プリンター30が現在接続しているLANのアクセスポイント50を識別可能なLAN識別情報と、プリンター30のIPアドレスとを含むデバイス設定情報SD等が格納される。   The controller 41 includes a computer 43. The computer 43 includes a CPU 44 (Central Processing Unit), an ASIC 45, a memory 46, and the like. The CPU 44 mainly performs information processing and control in the printer 30. The memory 46 includes, for example, a nonvolatile memory such as a ROM (Read Only Memory), a RAM (Random Access Memory), and a flash memory. In addition to a control program (not shown), the memory 46 stores LAN identification information that can identify the access point 50 of the LAN to which the printer 30 is currently connected, and device setting information SD that includes the IP address of the printer 30. Is done.

操作部33Aは、液晶表示パネル等の画面に触れて操作するタッチパネル、及び、複数のキー等を備え、ユーザーによる操作を受け付ける。操作部33Aとして液晶表示パネルに重ねられるタッチパネルを用いると、ユーザーによる表示画面への接触操作を受け付けることができる。また、表示部33Bは、メニュー画面や、プリンター30の動作状態や各種設定画面等を表示する。   The operation unit 33A includes a touch panel that is operated by touching a screen such as a liquid crystal display panel, and a plurality of keys, and receives an operation by a user. When a touch panel overlaid on the liquid crystal display panel is used as the operation unit 33A, a contact operation on the display screen by the user can be received. The display unit 33B displays a menu screen, the operating state of the printer 30, various setting screens, and the like.

印刷部31は、用紙Pに画像を印刷する。例えば、プリンター30が携帯機器11から印刷用データPDを受信すると、印刷部31は、印刷用データに従って用紙P上に印刷用データに基づく文書や画像等を形成する。印刷部31には、インクジェット方式の印刷装置、電子写真方式の印刷装置等を用いることができる。   The printing unit 31 prints an image on the paper P. For example, when the printer 30 receives the printing data PD from the portable device 11, the printing unit 31 forms a document, an image, or the like based on the printing data on the paper P according to the printing data. As the printing unit 31, an ink jet printing apparatus, an electrophotographic printing apparatus, or the like can be used.

スキャン部32は、例えば、光源からの光を原稿に当てて原稿の画像を読み取る。スキャン部32には、原稿台ガラスと原稿カバーとの間に原稿を配置するフラットベット式のスキャナー、原稿送り装置付きのスキャナー等を用いることができる。   For example, the scanning unit 32 applies light from a light source to the document and reads an image of the document. As the scanning unit 32, a flatbed scanner that places a document between a platen glass and a document cover, a scanner with a document feeder, or the like can be used.

一方、プリンター30のコンピューター43は、プログラムを実行することで構築される機能部分として、第2無線通信部37に追加接続が可能であるか否かを判定する判定部47を備えている。プリンターAP37Aには同時接続数の上限(N個(但し、Nは自然数))が設定されている。判定部47は、プリンターAP37Aに接続された無線通信機器(本例ではWi-Fiクライアント)との接続数Mが上限(N個)に達していなければ、追加接続可能と判定し、一方、上限(N個)に達している場合、追加接続不可と判定する。そして、コンピューター43は、追加接続可能と判定された場合、追加接続可能の旨の追加接続可否情報をNFC部35の記憶部35Bに書き込み、追加接続不可能と判定された場合は、追加接続不可の旨の追加接続可否情報をNFC部35の記憶部35Bに書き込む。   On the other hand, the computer 43 of the printer 30 includes a determination unit 47 that determines whether or not additional connection to the second wireless communication unit 37 is possible as a functional part constructed by executing a program. An upper limit (N (where N is a natural number)) of the number of simultaneous connections is set for the printer AP 37A. If the number M of connections with the wireless communication device (in this example, Wi-Fi client) connected to the printer AP 37A has not reached the upper limit (N), the determination unit 47 determines that additional connection is possible. When (N) is reached, it is determined that additional connection is not possible. If it is determined that additional connection is possible, the computer 43 writes additional connection permission information indicating that additional connection is possible in the storage unit 35B of the NFC unit 35. If it is determined that additional connection is not possible, additional connection is not possible. Is written in the storage unit 35B of the NFC unit 35.

ASIC45は、印刷用データを印刷部31が印刷制御に使用可能な印刷データに変換する処理などを行う。コンピューター43は、メモリー46に記憶された不図示の制御プログラム(例えばファームウェア用プログラム)を実行することにより、操作系、印刷系等の各種制御を司る。特に本実施形態のメモリー46の不揮発性領域には、デバイス設定情報SDが記憶されている。デバイス設定情報SDには、プリンター30が現在接続中のLANを特定するLAN識別情報L2及びプリンター30のIPアドレスPAが含まれている。LAN識別情報L2には、プリンター30が第1無線通信部36で接続中のアクセスポイント50に接続する際に使用したSSID,BSSIDの他、デフォルトゲートウェイが含まれる。IPアドレスPAは、携帯機器11がアクセスポイント50を介して接続されたネットワーク(本例ではLAN)上で通信相手のプリンター30の位置を特定する識別情報(アドレス)である。また、メモリー46を構成するRAMには、印刷用データ及びCPU44の演算結果などが一時的に記憶される。   The ASIC 45 performs processing for converting the print data into print data that the printing unit 31 can use for print control. The computer 43 controls various operations such as an operation system and a printing system by executing a control program (for example, a firmware program) (not shown) stored in the memory 46. In particular, device setting information SD is stored in the nonvolatile area of the memory 46 of the present embodiment. The device setting information SD includes LAN identification information L2 that identifies the LAN to which the printer 30 is currently connected and the IP address PA of the printer 30. The LAN identification information L2 includes a default gateway in addition to the SSID and BSSID used when the printer 30 is connected to the access point 50 being connected by the first wireless communication unit 36. The IP address PA is identification information (address) that specifies the position of the printer 30 of the communication partner on the network (LAN in this example) to which the mobile device 11 is connected via the access point 50. Further, the RAM constituting the memory 46 temporarily stores print data, the calculation result of the CPU 44, and the like.

図3(a)に示すように、携帯機器11のデバイス制御装置20はアクセスポイント50に第1無線通信部で接続されている。無線設定情報ID中の無線LAN識別情報SSID,BSSID及びデフォルトゲートウェイが一致したときには、デバイス制御装置20とプリンター30とは同じアクセスポイント50に接続されており、同じLANに参加していることになる。この場合、図3(b)に示すように、デバイス制御装置20は、印刷用データをアクセスポイント50に接続されたLANを経由してプリンター30に送信する。   As shown in FIG. 3A, the device control apparatus 20 of the mobile device 11 is connected to the access point 50 through the first wireless communication unit. When the wireless LAN identification information SSID, BSSID and default gateway in the wireless setting information ID match, the device control device 20 and the printer 30 are connected to the same access point 50 and participate in the same LAN. . In this case, as illustrated in FIG. 3B, the device control apparatus 20 transmits the print data to the printer 30 via the LAN connected to the access point 50.

図4(a)に示すように、携帯機器11のデバイス制御装置20が接続されているアクセスポイント50Aが、プリンター30が接続されているアクセスポイント50Bと異なっている。すなわち、デバイス制御装置20は、プリンター30が接続されているアクセスポイント50Bと異なるアクセスポイント50Aに接続されている。この場合、デバイス制御装置20はプリンター30が接続されているLANと異なるLANに接続されている。このため、デバイス制御装置20から第1無線通信でプリンター30へデータを送信することはできない。この場合、図4(b)に示すように、デバイス制御装置20は、Wi-Fi方式の第1無線通信からWi-Fi Direct方式の第2無線通信へ切り替えることでプリンター30に直接接続し、第2無線通信を介して印刷用データをプリンター30に送信する。   As shown in FIG. 4A, the access point 50A to which the device control apparatus 20 of the mobile device 11 is connected is different from the access point 50B to which the printer 30 is connected. That is, the device control apparatus 20 is connected to an access point 50A different from the access point 50B to which the printer 30 is connected. In this case, the device control apparatus 20 is connected to a LAN different from the LAN to which the printer 30 is connected. For this reason, data cannot be transmitted from the device control apparatus 20 to the printer 30 by the first wireless communication. In this case, as shown in FIG. 4B, the device control apparatus 20 directly connects to the printer 30 by switching from the Wi-Fi first wireless communication to the Wi-Fi Direct second wireless communication, The print data is transmitted to the printer 30 via the second wireless communication.

また、図4(b)に示すように、携帯機器11のデバイス制御装置20が第2無線通信でプリンター30と接続し、印刷用データを第2無線通信でプリンター30に送信したものの、図5(a)に示すように、その受信応答がプリンター30からなく、データ送信に失敗したとする。この場合、図5(b)に示すように、デバイス制御装置20はプリンター30が接続中のアクセスポイント50Bに接続し、デバイス制御装置20から第1無線通信でプリンター30へ印刷用データを送信する。   Further, as shown in FIG. 4B, the device control apparatus 20 of the mobile device 11 is connected to the printer 30 by the second wireless communication, and the printing data is transmitted to the printer 30 by the second wireless communication. As shown in (a), it is assumed that the reception response is not from the printer 30 and data transmission has failed. In this case, as shown in FIG. 5B, the device control apparatus 20 connects to the access point 50B to which the printer 30 is connected, and transmits print data from the device control apparatus 20 to the printer 30 through the first wireless communication. .

次に、携帯機器11に備えられたデバイス制御装置20の作用を説明する。
以下、図6〜図10を参照して、コンピューター23がプログラムPRを実行して行うデバイス制御について説明する。
Next, the operation of the device control apparatus 20 provided in the mobile device 11 will be described.
Hereinafter, device control performed by the computer 23 executing the program PR will be described with reference to FIGS.

ユーザーは携帯機器11を操作して、アプリケーションプログラムを起動し、表示部13に表示された印刷対象の画像又は文書を印刷する操作を行うと、コンピューター23はプログラムPRを起動させる。プログラムPRの起動によってコンピューター23は、携帯機器11の表示部13に印刷条件設定画面(図示せず)を表示させる。ユーザーは携帯機器11を操作して印刷条件を設定し、その設定後に印刷の実行を指示する。これらの一連の操作は、ユーザーが例えば表示部13上の印刷設定画面(図示せず)の該当部分をタッチすることで操作部12により行われる。印刷実行を指示すると、表示部13には携帯機器11とプリンター30のNFC部15,35同士のタッチを促す旨のメッセージが表示される。ユーザーはメッセージに従って、携帯機器11をプリンター30に近づけ、両者のNFC部15,35を接近(タッチ)させる。このとき、両者のNFC部15,35が近距離無線通信可能な距離まで近づけられればよく、必ずしも接触させる必要はない。なお、ユーザーが携帯機器11のNFC部15をプリンター30のNFC部35に接近させた状態で、携帯機器11を操作して印刷の実行を指示してもよい。   When the user operates the portable device 11 to start an application program and performs an operation of printing an image or document to be printed displayed on the display unit 13, the computer 23 starts the program PR. The computer 23 causes the display unit 13 of the mobile device 11 to display a printing condition setting screen (not shown) by starting the program PR. The user operates the portable device 11 to set printing conditions, and instructs the execution of printing after the setting. These series of operations are performed by the operation unit 12 when the user touches a corresponding portion of a print setting screen (not shown) on the display unit 13, for example. When printing execution is instructed, the display unit 13 displays a message that prompts the mobile device 11 and the NFC units 15 and 35 of the printer 30 to touch each other. In accordance with the message, the user brings the portable device 11 closer to the printer 30 and causes both NFC units 15 and 35 to approach (touch). At this time, the NFC units 15 and 35 of both need only be brought close to a distance where short-range wireless communication is possible, and it is not always necessary to contact them. Note that the user may instruct execution of printing by operating the mobile device 11 with the NFC unit 15 of the mobile device 11 approaching the NFC unit 35 of the printer 30.

デバイス制御装置20のコンピューター23は、操作部12から印刷実行の指示を受け付けると、図6に示すデバイス制御ルーチンを実行する。なお、デバイス制御装置20のコンピューター23は、図6にフローチャートで示されるプログラムPRを実行し、プリンター30と通信して印刷用データを送信することで、プリンター30を制御する。図7〜図10には、携帯機器11がプリンター30と通信を行って、プリンター30を制御する際のシーケンス図が示される。   When the computer 23 of the device control apparatus 20 receives a print execution instruction from the operation unit 12, the computer 23 executes a device control routine shown in FIG. The computer 23 of the device control apparatus 20 controls the printer 30 by executing the program PR shown in the flowchart of FIG. 6 and communicating with the printer 30 to transmit print data. 7 to 10 show sequence diagrams when the mobile device 11 communicates with the printer 30 to control the printer 30. FIG.

以下、図6を参照してデバイス制御ルーチンについて、図7〜図10に示されたデバイス制御における携帯機器11とプリンター30間の通信のやり取り等を参照しつつ説明する。   Hereinafter, the device control routine will be described with reference to FIG. 6 with reference to the exchange of communication between the portable device 11 and the printer 30 in the device control shown in FIGS.

まずステップS11では、NFC部15,35間の近距離無線通信でデバイス設定情報SDを取得する。すなわち、携帯機器11のコンピューター23は、デバイス(本例ではプリンター30)が接続中のネットワーク(本例ではLAN)を特定可能な第2識別情報の一例であるLAN識別情報L2、プリンター30のIPアドレス、プリンター30の第2無線通信部37に追加接続可否情報などを含む情報(データ)を近距離無線通信により受信する。LAN識別情報L2には、LAN上のアクセスポイント50に接続するときに識別情報として使用されるSSID及びBSSIDの他、デフォルトゲートウェイ等を含んでいる。なお、このステップS11の処理が、近距離無線通信ステップの一例に相当する。   First, in step S11, device setting information SD is acquired by short-range wireless communication between the NFC units 15 and 35. That is, the computer 23 of the mobile device 11 includes the LAN identification information L2 that is an example of second identification information that can identify the network (LAN in this example) to which the device (printer 30 in this example) is connected, and the IP of the printer 30. The information (data) including the address and the information on whether or not to allow additional connection to the second wireless communication unit 37 of the printer 30 is received by short-range wireless communication. The LAN identification information L2 includes a default gateway and the like in addition to the SSID and BSSID used as identification information when connecting to the access point 50 on the LAN. Note that the processing in step S11 corresponds to an example of a short-range wireless communication step.

ステップS12では、携帯機器11の無線設定情報とプリンターのデバイス設定情報とが一致するか(同じであるか)否かを判断する。つまり、同じ中継局(アクセスポイント50又はルーター)に繋がっているか否か、すなわち同一のネットワーク(LAN)に参加しているか否かを判断する。携帯機器11とプリンター30とが同一の中継局に接続されており、無線設定情報IDとデバイス設定情報SDとが一致した場合はステップS13に進み、一方、無線設定情報IDとデバイス設定情報SDとが不一致である場合はステップS15に進む。ここで、無線設定情報IDとデバイス設定情報SDとを比較する際の比較対象は、両設定情報ID,SD中の無線LAN識別情報L1とLAN識別情報L2である。つまり、両設定情報ID,SD中のSSID,BSSID,デフォルトゲートウェイを互いに比較し、これらの3つが双方で全て一致すれば、無線設定情報IDとデバイス設定情報SDとが一致する(同じである)と判断する。なお、少なくともBSSIDが一致すれば無線設定情報IDとデバイス設定情報SDとが一致すると判断してもよい。これは、BSSIDは一意に決まる値であるのに対して、SSIDやデフォルトゲートウェイは異なるLAN間で同じ値が設定されている可能性のありうる値であるからである。   In step S12, it is determined whether the wireless setting information of the mobile device 11 and the device setting information of the printer match (is the same). That is, it is determined whether or not they are connected to the same relay station (access point 50 or router), that is, whether or not they are participating in the same network (LAN). If the mobile device 11 and the printer 30 are connected to the same relay station and the wireless setting information ID and the device setting information SD match, the process proceeds to step S13, while the wireless setting information ID and the device setting information SD If they do not match, the process proceeds to step S15. Here, the comparison targets when comparing the wireless setting information ID and the device setting information SD are both the setting information ID, the wireless LAN identification information L1 and the LAN identification information L2 in the SD. That is, both setting information IDs, SSIDs in the SD, BSSID, and default gateway are compared with each other, and if these three all match, the wireless setting information ID and the device setting information SD match (same). Judge. If at least the BSSID matches, the wireless setting information ID and the device setting information SD may be determined to match. This is because BSSID is a value that is uniquely determined, whereas SSID and default gateway are values that may have the same value set between different LANs.

ステップS13では、先に取得したIPアドレス宛に印刷用データを第1無線通信で送信する。詳しくは、本例では第1無線通信の一例であるWi-Fi方式の無線通信でLANを経由して、先に取得したIPアドレス宛に印刷用データを送信する。   In step S13, the print data is transmitted to the previously acquired IP address by the first wireless communication. Specifically, in this example, print data is transmitted to the previously acquired IP address via the LAN by Wi-Fi wireless communication, which is an example of first wireless communication.

ステップS14では、通信は成功したか否かを判断する。ここで、ステップS13で、携帯機器11のコンピューター23が、先に取得したIPアドレス宛に送信した印刷用データを、IPアドレス先のプリンター30が印刷用データを受信すると、その受信の旨を携帯機器11へ応答する(図7参照)。携帯機器11のコンピューター23は、その応答を受信すると、プリンター30との通信(印刷用データの送信)が成功したと判断し、一方、印刷用データの送信時点から一定時間経過しても応答の受信がなければ、プリンター30との通信(印刷データの送信)が失敗したものと判断する。コンピューター23は、通信が成功すれば当該ルーチンを終了し、一方、通信が失敗すればステップS15に進む。   In step S14, it is determined whether or not the communication is successful. Here, in step S13, when the computer 23 of the portable device 11 receives the print data transmitted to the previously acquired IP address, and the printer 30 of the IP address destination receives the print data, the fact that the data has been received is carried by the mobile device. It responds to the device 11 (see FIG. 7). When the computer 23 of the portable device 11 receives the response, the computer 23 determines that the communication with the printer 30 (transmission of print data) has succeeded. If there is no reception, it is determined that communication (print data transmission) with the printer 30 has failed. If the communication is successful, the computer 23 ends the routine. If the communication fails, the computer 23 proceeds to step S15.

次のステップS15では、追加接続可否判定を行う。先に取得した追加接続可否情報に基づいて第2無線通信の一例であるWi-Fi Direct方式でプリンター30への無線通信接続が可能であるか否かを判定する。ここで、プリンター30の第2無線通信部37は、Wi-Fi Direct方式の無線通信を行うため、デバイス内蔵型のアクセスポイント機能部であるプリンターAP37Aを備えている。プリンターAP37Aには、同時にN個(但し、Nは自然数)までの無線通信機器(本例ではWi-Fiクライアント)と接続可能である。プリンター30のコンピューター43は、プリンターAP37Aに接続されている無線通信機器の数M(但し、MはN以下の自然数)を管理する。そして、コンピューター43は、その数Mがまだ上限のN個に達していなければ(M<N)、追加接続可能の旨の追加接続可否情報をNFC部35の記憶部35Bに書き込み、その数Mが既に上限のN個に達していれば(M=N)、追加接続不可の旨の追加接続可否情報をNFC部35の記憶部35Bに書き込む(図7のS101)。そして、携帯機器11のコンピューター23は、ステップS11で取得した追加接続可否情報に基づき、第2無線通信部37に追加接続が可能であれば(S15で肯定否定判定)、ステップS16に進む。一方、第2無線通信部37にWi-Fi Direct通信方式での追加接続が不可能であれば(S15で否定判定)、ステップS19に進む。   In the next step S15, it is determined whether or not additional connection is possible. It is determined whether wireless communication connection to the printer 30 is possible using the Wi-Fi Direct method, which is an example of second wireless communication, based on the additional connection permission information acquired previously. Here, the second wireless communication unit 37 of the printer 30 includes a printer AP 37A that is a device built-in access point function unit in order to perform Wi-Fi Direct wireless communication. Up to N (where N is a natural number) wireless communication devices (in this example, Wi-Fi clients) can be connected to the printer AP 37A at the same time. The computer 43 of the printer 30 manages the number M of wireless communication devices connected to the printer AP 37A (where M is a natural number equal to or less than N). If the number M has not yet reached the upper limit of N (M <N), the computer 43 writes additional connection availability information indicating that additional connection is possible in the storage unit 35B of the NFC unit 35, and the number M Has already reached the upper limit of N (M = N), additional connection availability information indicating that additional connection is not possible is written in the storage unit 35B of the NFC unit 35 (S101 in FIG. 7). Then, if the computer 23 of the portable device 11 can make an additional connection to the second wireless communication unit 37 based on the additional connection availability information acquired in Step S11 (Yes determination in S15), the process proceeds to Step S16. On the other hand, if an additional connection using the Wi-Fi Direct communication method is impossible with the second wireless communication unit 37 (No in S15), the process proceeds to step S19.

ステップS16では、プリンター30と第2無線通信で接続する。すなわち、デバイス制御装置20のコンピューター23は、プリンター30と、第2無線通信の一例であるWi-Fi Direct方式の無線通信を行う。詳しくは、デバイス制御装置20のコンピューター23内のメモリー25には、予めプリンター30に内蔵されたプリンターAP37AのSSID及びパスワード、あるいはMACアドレスから所定の規則に従ってプリンターAP37AのSSID及びパスワードを生成可能な生成プログラムが記憶されている。コンピューター23はプリンターAP37AのSSID及びパスワードを用いて、プリンターAP37Aに接続して、プリンター30とWi-Fi Direct方式の無線通信接続を確立する。   In step S16, the printer 30 is connected by the second wireless communication. That is, the computer 23 of the device control apparatus 20 performs wireless communication with the printer 30 using the Wi-Fi Direct method, which is an example of second wireless communication. Specifically, in the memory 25 in the computer 23 of the device control device 20, the SSID and password of the printer AP 37A built in the printer 30 in advance, or the generation capable of generating the SSID and password of the printer AP 37A according to a predetermined rule from the MAC address The program is stored. The computer 23 connects to the printer AP 37A using the SSID and password of the printer AP 37A, and establishes a Wi-Fi Direct wireless communication connection with the printer 30.

ステップS17では、印刷用データを送信する。すなわち、デバイス制御装置20のコンピューター23は、第2無線通信(一例としてWi-Fi Direct通信方式)で印刷用データをプリンター30に送信する。   In step S17, print data is transmitted. That is, the computer 23 of the device control apparatus 20 transmits the print data to the printer 30 by the second wireless communication (for example, the Wi-Fi Direct communication method).

ステップS18では、通信は成功したか否かを判断する。ここで、デバイス制御装置20のコンピューター23が、第2無線通信で送信した印刷用データを受信したプリンター30は、その受信の旨を携帯機器11へ応答する(図7参照)。デバイス制御装置20のコンピューター23は、その応答を受信すると、プリンター30との通信(印刷用データの送信)が成功したと判断し、一方、データ送信時点から一定時間待っても応答を受信しなければ、プリンター30との通信が失敗したと判断する。そして、通信が成功すれば当該ルーチンを終了し、一方、通信が失敗すればステップS19に進む。   In step S18, it is determined whether the communication is successful. Here, the printer 30 that has received the print data transmitted by the computer 23 of the device control apparatus 20 through the second wireless communication responds to the portable device 11 that the data has been received (see FIG. 7). When the computer 23 of the device control apparatus 20 receives the response, the computer 23 determines that the communication with the printer 30 (transmission of print data) has succeeded. In this case, it is determined that communication with the printer 30 has failed. If the communication is successful, the routine is terminated. If the communication fails, the process proceeds to step S19.

ステップS19では、第1無線通信の接続先をプリンターが接続中のLANに切替え可能であるか否かを判断する。例えば携帯機器11のユーザーは、接続が許可されたアクセスポイント50のSSID等をメモリー25に記憶しており、それ以外の許可されていないアクセスポイントへの接続はできない。プリンターが接続中のアクセスポイント50のSSID等と、メモリー25に記憶された自身が許可されているアクセスポイントのSSID等とを比較し、一致すれば接続先のLANの切替えが可能と判断し、不一致であれば接続先のLANの切替えが不可能と判断する。切替え可能であればステップS20に進み、切替え不可能であればステップS22に進む。   In step S19, it is determined whether or not the connection destination of the first wireless communication can be switched to the LAN to which the printer is connected. For example, the user of the portable device 11 stores the SSID and the like of the access point 50 permitted to be connected in the memory 25 and cannot connect to other unauthorized access points. The SSID etc. of the access point 50 to which the printer is connected is compared with the SSID etc. of the access point permitted by itself stored in the memory 25. If they match, it is determined that the connection destination LAN can be switched, If they do not match, it is determined that the connection destination LAN cannot be switched. If switching is possible, the process proceeds to step S20, and if switching is not possible, the process proceeds to step S22.

ステップS20では、第1無線通信の接続先をプリンターが接続中のLANに切り替える。
ステップS21では、印刷用データを送信する。すなわち、デバイス制御装置20のコンピューター23は、アクセスポイント50を介して同じ無線LAN上のプリンター30へ第1無線通信で印刷データを送信する。
In step S20, the connection destination of the first wireless communication is switched to the LAN to which the printer is connected.
In step S21, print data is transmitted. That is, the computer 23 of the device control apparatus 20 transmits the print data by the first wireless communication to the printer 30 on the same wireless LAN via the access point 50.

ステップS22では、追加接続不可の旨を表示する。例えばデバイス制御装置20のコンピューター23は、図11に示す追加接続不可の旨のメッセージM1を含む画面G1を表示部13に表示させる。   In step S22, a message indicating that additional connection is not possible is displayed. For example, the computer 23 of the device control apparatus 20 causes the display unit 13 to display a screen G1 including a message M1 indicating that additional connection is not possible, as shown in FIG.

図7は、無線設定情報IDとデバイス設定情報SDとが一致する場合を説明する。
ユーザーが印刷実行指示の後、携帯機器11をプリンター30に近づけ、NFC部15,35をタッチすると、デバイスの一例であるプリンター30では、コンピューター43が追加接続可否判定を行い(ステップS101)、NFC部35の記憶部35Bに書き込む。この結果、NFC部15,35のタッチによる近距離無線通信で、デバイス設定情報SD及び追加接続可否情報が、プリンター30から携帯機器11に送信される。なお、追加接続可否判定(S101)は、第2無線通信部37に接続数の増減がある度に、コンピューター43がNFC部35の記憶部35Bに追加接続可否情報を逐次書き込む構成としてもよい。
FIG. 7 illustrates a case where the wireless setting information ID matches the device setting information SD.
After the print execution instruction, the user brings the portable device 11 close to the printer 30 and touches the NFC units 15 and 35. In the printer 30 as an example of the device, the computer 43 determines whether or not additional connection is possible (step S101). The data is written in the storage unit 35B of the unit 35. As a result, the device setting information SD and the additional connection availability information are transmitted from the printer 30 to the portable device 11 by short-range wireless communication by touching the NFC units 15 and 35. Note that the additional connection permission determination (S101) may be configured such that the computer 43 sequentially writes additional connection permission information in the storage unit 35B of the NFC unit 35 every time the number of connections in the second wireless communication unit 37 increases or decreases.

デバイス制御装置20は無線設定情報ID(特にLAN識別情報L1)とデバイス設定情報SD(特にLAN識別情報L2)とが一致するか否かを判断する(S13)。例えば図3(a)に示すように、携帯機器11のデバイス制御装置20が、プリンター30が接続されているものと同じアクセスポイント50に接続されている場合、無線設定情報IDとデバイス設定情報SDとが一致する。図3(a)に示す例のように、判定の結果、無線設定情報IDとデバイス設定情報SDとが一致する場合は、アクセスポイント50を経由した第1無線通信でIPアドレス宛に印刷用データを送信する(図3(b)参照)。そして、プリンター30から受信応答があれば、デバイス制御装置20は通信成否判定を行う(S14)。通信成否判定結果が成功であればデバイス制御処理を終了する。プリンター30は、デバイス制御装置20から受信した印刷用データに基づき画像等の印刷を実行する(ステップS102)。   The device control apparatus 20 determines whether or not the wireless setting information ID (particularly the LAN identification information L1) matches the device setting information SD (particularly the LAN identification information L2) (S13). For example, as shown in FIG. 3A, when the device control apparatus 20 of the mobile device 11 is connected to the same access point 50 as that to which the printer 30 is connected, the wireless setting information ID and the device setting information SD are displayed. Matches. If the wireless setting information ID matches the device setting information SD as a result of the determination as in the example illustrated in FIG. 3A, the print data addressed to the IP address by the first wireless communication via the access point 50. Is transmitted (see FIG. 3B). If there is a reception response from the printer 30, the device control apparatus 20 performs a communication success / failure determination (S <b> 14). If the communication success / failure determination result is successful, the device control process is terminated. The printer 30 executes printing of an image or the like based on the print data received from the device control apparatus 20 (step S102).

図8は、無線設定情報IDとデバイス設定情報SDとが不一致である場合を説明する。
ステップS13で、デバイス制御装置20は無線設定情報ID(特にLAN識別情報L1)とデバイス設定情報SD(特にLAN識別情報L2)とが一致するか否かを判断する。例えば図4(a)に示すように、携帯機器11のデバイス制御装置20が、プリンター30が接続されているアクセスポイント50Bと異なるアクセスポイント50Aに接続されている場合、無線設定情報IDとデバイス設定情報SDとが不一致となる。
FIG. 8 illustrates a case where the wireless setting information ID and the device setting information SD do not match.
In step S13, the device control apparatus 20 determines whether or not the wireless setting information ID (particularly the LAN identification information L1) matches the device setting information SD (particularly the LAN identification information L2). For example, as shown in FIG. 4A, when the device control apparatus 20 of the mobile device 11 is connected to an access point 50A different from the access point 50B to which the printer 30 is connected, the wireless setting information ID and the device setting Information SD does not match.

図8に示すように、不一致の場合、デバイス制御装置20は、第2無線通信部17にプリンター30との第2無線通信の接続処理を行わせる。デバイス制御装置20はプリンター30の第2無線通信部37から第2無線通信の接続が確立された旨の通知を受信すると、印刷用データを第2無線通信でプリンター30に送信する。受信応答を受信して通信成否判定(S18)で通信が成功すれば、プリンター30ではデバイス制御装置20から受信した印刷用データに基づき画像等の印刷を実行する(S102)。   As illustrated in FIG. 8, in the case of a mismatch, the device control apparatus 20 causes the second wireless communication unit 17 to perform connection processing for second wireless communication with the printer 30. When the device control apparatus 20 receives a notification that the connection of the second wireless communication is established from the second wireless communication unit 37 of the printer 30, the device control apparatus 20 transmits the print data to the printer 30 by the second wireless communication. If the reception response is received and the communication is successful in the communication success / failure determination (S18), the printer 30 prints an image or the like based on the print data received from the device control apparatus 20 (S102).

図9は、無線設定情報IDとデバイス設定情報SDとが一致して第1無線通信で印刷用データを送信したものの、そのデータ送信が失敗した場合を説明する。
ステップS13で、デバイス制御装置20は無線設定情報ID(特にLAN識別情報L1)とデバイス設定情報SD(特にLAN識別情報L2)とが一致するか否かを判断する。例えば図3(a)に示すように、携帯機器11のデバイス制御装置20が、プリンター30が接続されているものと同じアクセスポイント50に接続されている場合、無線設定情報IDとデバイス設定情報SDとが一致する。この場合、第1無線通信でアクセスポイント50を経由してIPアドレス宛に印刷用データを送信する。しかし、図9に示すように、プリンター30から受信応答がなく、通信成否判定(S14)の結果が失敗であれば、デバイス制御装置20は、第2無線通信部17にプリンター30との第2無線通信の接続処理を行わせる。デバイス制御装置20はプリンター30の第2無線通信部37から第2無線通信が接続された旨の接続確立通知を受信する。この結果、図4(b)に示すように、デバイス制御装置20とプリンターとの間で第2無線通信の接続が確立され、デバイス制御装置20は第2無線通信で印刷用データをプリンター30に送信する。その後、図9に示すように、受信応答を受信して通信成否判定(S18)で成功であれば、プリンター30ではデバイス制御装置20から受信した印刷用データに基づき画像等の印刷を実行する(S102)。
FIG. 9 illustrates a case where the wireless setting information ID and the device setting information SD match and print data is transmitted by the first wireless communication, but the data transmission fails.
In step S13, the device control apparatus 20 determines whether or not the wireless setting information ID (particularly the LAN identification information L1) matches the device setting information SD (particularly the LAN identification information L2). For example, as shown in FIG. 3A, when the device control apparatus 20 of the mobile device 11 is connected to the same access point 50 as that to which the printer 30 is connected, the wireless setting information ID and the device setting information SD are displayed. Matches. In this case, print data is transmitted to the IP address via the access point 50 in the first wireless communication. However, as shown in FIG. 9, if there is no reception response from the printer 30 and the result of the communication success / failure determination (S14) is a failure, the device control apparatus 20 sends a second communication with the printer 30 to the second wireless communication unit 17. A wireless communication connection process is performed. The device control apparatus 20 receives a connection establishment notification indicating that the second wireless communication is connected from the second wireless communication unit 37 of the printer 30. As a result, as shown in FIG. 4B, the connection of the second wireless communication is established between the device control apparatus 20 and the printer, and the device control apparatus 20 sends the print data to the printer 30 through the second wireless communication. Send. Thereafter, as shown in FIG. 9, if the reception response is received and the communication success / failure determination (S18) is successful, the printer 30 executes printing of an image or the like based on the print data received from the device control apparatus 20 ( S102).

図10は、無線設定情報IDとデバイス設定情報SDとが不一致であり、第2無線通信の追加接続不可である場合を説明する。
ユーザーが印刷実行指示の後、携帯機器11をプリンター30に近づけ、NFC部15,35の1回目のタッチで取得したデバイス設定情報SD等を用いて、ステップS13で、デバイス制御装置20は無線設定情報ID(特にLAN識別情報L1)とデバイス設定情報SD(特にLAN識別情報L2)とが一致するか否かを判断する。
FIG. 10 illustrates a case where the wireless setting information ID and the device setting information SD are inconsistent and additional connection of the second wireless communication is not possible.
After the user issues a print execution instruction, the device controller 20 moves the mobile device 11 closer to the printer 30 and uses the device setting information SD acquired by the first touch of the NFC units 15 and 35 in step S13. It is determined whether or not the information ID (particularly the LAN identification information L1) matches the device setting information SD (particularly the LAN identification information L2).

例えば図4(a)に示すように、携帯機器11のデバイス制御装置20が、プリンター30が接続されているアクセスポイント50Bと異なるアクセスポイント50Aに接続されている場合、無線設定情報IDとデバイス設定情報SDとが不一致となる。また、追加接続可否判定(図6のS15)の結果、追加接続不可能であり(S15で否定判定)、かつ第1無線通信の接続先をプリンター30が接続中のLANに切替え可能か否かを判断する判断し(図6のS19)、その切替えができない場合、携帯機器11の表示部13に追加接続不可の旨を表示する(S22)。例えば図11に示すように、表示部13には、第2無線通信の追加接続ができない旨のメッセージM1及び少し待ってからNFC部を再度タッチさせる旨のメッセージM2が表示される。   For example, as shown in FIG. 4A, when the device control apparatus 20 of the mobile device 11 is connected to an access point 50A different from the access point 50B to which the printer 30 is connected, the wireless setting information ID and the device setting Information SD does not match. Further, as a result of the determination of whether or not additional connection is possible (S15 in FIG. 6), whether or not additional connection is possible (No determination in S15), and whether or not the connection destination of the first wireless communication can be switched to the LAN to which the printer 30 is connected. (S19 in FIG. 6), and when the switching is not possible, the display unit 13 of the portable device 11 displays that the additional connection is not possible (S22). For example, as shown in FIG. 11, the display unit 13 displays a message M1 indicating that the additional connection of the second wireless communication cannot be performed and a message M2 indicating that the NFC unit is to be touched again after waiting for a while.

ユーザーはメッセージM2に従って少し待った後、携帯機器11をプリンター30に近づけ、NFC部15,35の2回目のタッチを行う。この2回目のタッチでデバイス設定情報SD等を取得する。以下、1回目のタッチのときと同様に、無線設定情報IDとデバイス設定情報SDとが一致するか否かの判定(S13)、判定結果が不一致の場合に、第2無線通信の追加接続可能か否かの判定(S15)、第1無線通信の接続先をプリンター30が接続中のLANに切替え可能か否かの判定(S19)及び追加接続不可の旨の表示(S22)を行う。そして、各ステップS13,S15,S19の判定のうち1つでも肯定判定となると、その接続が可能となった接続を行ってプリンター30に印刷用データを送信する。   The user waits for a while according to the message M2, and then brings the mobile device 11 close to the printer 30 and touches the NFC units 15 and 35 for the second time. The device setting information SD or the like is acquired by the second touch. Thereafter, as in the case of the first touch, it is determined whether or not the wireless setting information ID and the device setting information SD match (S13), and if the determination result does not match, the second wireless communication can be additionally connected. Whether or not the connection destination of the first wireless communication can be switched to the LAN to which the printer 30 is connected (S19), and a display indicating that additional connection is not possible is performed (S22). If even one of the determinations in steps S13, S15, and S19 is affirmative, a connection that enables the connection is made and print data is transmitted to the printer 30.

例えば、ステップS15で、第2無線通信の追加接続が可能になると、デバイス制御装置20は、第2無線通信部17にプリンター30との第2無線通信の接続処理を行わせる。デバイス制御装置20はプリンター30の第2無線通信部37から第2無線通信が接続された旨の接続確立通知を受信する(図8、図9参照)。この結果、図4(b)に示すように、デバイス制御装置20とプリンターとの間で第2無線通信の接続が確立され、デバイス制御装置20は第2無線通信で印刷用データをプリンター30に送信する。   For example, when the additional connection of the second wireless communication is enabled in step S15, the device control apparatus 20 causes the second wireless communication unit 17 to perform the second wireless communication connection process with the printer 30. The device control apparatus 20 receives a connection establishment notification indicating that the second wireless communication is connected from the second wireless communication unit 37 of the printer 30 (see FIGS. 8 and 9). As a result, as shown in FIG. 4B, the connection of the second wireless communication is established between the device control apparatus 20 and the printer, and the device control apparatus 20 sends the print data to the printer 30 through the second wireless communication. Send.

以上詳述した本実施形態によれば、以下に示す効果を得ることができる。
(1)デバイス制御装置20は、プリンター30とNFC部15,35間の接続が確立した場合に、プリンター30が接続中のアクセスポイント50を特定可能な無線設定情報ID(第1の情報の一例)をプリンター30から受信する。そして、コンピューター23は、メモリー25から読み出した第1無線通信部16が接続可能なアクセスポイント50を特定可能なデバイス設定情報SD(第2の情報の一例)と無線設定情報IDとに基づいて、第1無線通信と第2無線通信との切替制御を行う。よって、第1無線通信から第2無線通信への切替えが生じない条件では、NFC部15,35の接続が確立してから、無線通信を介したプリンター30の制御の開始までの所要時間が、第2無線通信部による通信の接続が必要な条件の場合に比べ短くなる。したがって、近距離無線通信の後に行われる無線通信の接続処理の実施頻度を低減し、近距離無線通信の接続が確立されてから、プリンター30の制御が開始されるまでの平均所要時間を短縮することができる。
According to the embodiment described in detail above, the following effects can be obtained.
(1) When the connection between the printer 30 and the NFC units 15 and 35 is established, the device control apparatus 20 has a wireless setting information ID (an example of first information) that can identify the access point 50 to which the printer 30 is connected. ) Is received from the printer 30. Based on the device setting information SD (an example of second information) and the wireless setting information ID that can identify the access point 50 to which the first wireless communication unit 16 can be connected, read from the memory 25, Switching control between the first wireless communication and the second wireless communication is performed. Therefore, on the condition that switching from the first wireless communication to the second wireless communication does not occur, the time required from the establishment of the connection of the NFC units 15 and 35 to the start of control of the printer 30 via the wireless communication is This is shorter than in the case where the communication connection by the second wireless communication unit is necessary. Accordingly, the frequency of connection processing for wireless communication performed after short-range wireless communication is reduced, and the average time required for starting control of the printer 30 after the connection for short-range wireless communication is established is shortened. be able to.

(2)コンピューター23は、無線設定情報ID及びデバイス設定情報SDに基づいて、プリンター30と同じアクセスポイント50に接続されていれば、アクセスポイント50を介した第1無線通信でプリンター30と通信する。一方、プリンター30と同じアクセスポイント50に接続されていなければ、第2無線通信の接続処理を行ってプリンター30と第2無線通信で通信する。よって、プリンター30と同じアクセスポイント50に接続されていた条件では、第1無線通信から第2無線通信への切替えが不要なので、通信の切替えによるロスを低減できる。つまり、既に接続中の第1無線通信で印刷用データを送信するので、第2無線通信の接続処理が不要となり、NFC部15,35間の通信が確立してから、プリンター30で印刷が開始されるまでの待ち時間を相対的に短く済ますことができる。   (2) If the computer 23 is connected to the same access point 50 as the printer 30 based on the wireless setting information ID and the device setting information SD, the computer 23 communicates with the printer 30 through the first wireless communication via the access point 50. . On the other hand, if it is not connected to the same access point 50 as the printer 30, the second wireless communication connection process is performed to communicate with the printer 30 by the second wireless communication. Therefore, under the condition that the printer 30 is connected to the same access point 50, it is not necessary to switch from the first wireless communication to the second wireless communication, so that loss due to communication switching can be reduced. That is, since the printing data is transmitted by the already connected first wireless communication, the connection processing of the second wireless communication becomes unnecessary, and the printer 30 starts printing after the communication between the NFC units 15 and 35 is established. The waiting time until it is done can be made relatively short.

(3)コンピューター23は、無線設定情報IDとデバイス設定情報SDとが一致した場合、第1無線通信でアクセスポイント50を介してプリンター30と通信し、一方、無線設定情報IDとデバイス設定情報SDとが不一致の場合、第2無線通信でプリンター30と無線通信する。前者の場合、第1無線通信から第2無線通信への切替えが不要になる。   (3) When the wireless setting information ID matches the device setting information SD, the computer 23 communicates with the printer 30 via the access point 50 in the first wireless communication, while the wireless setting information ID and the device setting information SD. Does not match, wireless communication with the printer 30 is performed by the second wireless communication. In the former case, switching from the first wireless communication to the second wireless communication becomes unnecessary.

(4)近距離無線通信でプリンター30のIPアドレスを取得し、プリンター30と同じアクセスポイント50に接続されている場合は、IPアドレスで特定されるプリンター30と第1無線通信で通信する。よって、デバイス制御装置20がプリンター30と同じアクセスポイント50に接続されている場合は、適切な通信相手のプリンター30に印刷用データを送信してそのプリンター30を印刷制御することができる。   (4) When the IP address of the printer 30 is acquired by short-range wireless communication and is connected to the same access point 50 as the printer 30, communication is performed by the first wireless communication with the printer 30 specified by the IP address. Therefore, when the device control apparatus 20 is connected to the same access point 50 as the printer 30, it is possible to send print data to an appropriate communication partner printer 30 to control printing of the printer 30.

(5)第1の情報がアクセスポイント50への接続に用いる第1識別情報を含み、第2の情報がデバイスのアクセスポイント50への接続に用いる第2識別情報を含む。コンピューター23は、第1識別情報と第2識別情報とが同じであれば、第1識別情報を用いてアクセスポイント50に接続することで、このアクセスポイント50を介して第1無線通信でプリンター30と通信する。一方、第1識別情報と第2識別情報とが同じでない場合は、第3識別情報を用いてプリンター30と第2無線通信で接続することで、第2無線通信でプリンター30と通信する。よって、第1識別情報と第2識別情報とに基づいて第1無線通信を介してプリンター30と通信可能状態にあるかどうかを適切に判断し、第1無線通信と第2無線通信とのうち印刷用データをプリンター30へ送信する通信経路を適切に選択することができる。   (5) The first information includes first identification information used for connection to the access point 50, and the second information includes second identification information used for connection to the access point 50 of the device. If the first identification information and the second identification information are the same, the computer 23 connects to the access point 50 using the first identification information, and the printer 30 performs the first wireless communication via the access point 50. Communicate with. On the other hand, if the first identification information and the second identification information are not the same, the printer 30 communicates with the printer 30 by the second wireless communication by connecting to the printer 30 by the second wireless communication using the third identification information. Therefore, based on the first identification information and the second identification information, it is appropriately determined whether or not the printer 30 is communicable with the printer 30 via the first wireless communication. Among the first wireless communication and the second wireless communication, A communication path for transmitting print data to the printer 30 can be appropriately selected.

(6)第1識別情報は、携帯機器11のユーザーが接続を許可されたアクセスポイントへの接続に用いる識別情報(SSID又はBSSID)であり、第2識別情報は、プリンター30が接続中のアクセスポイント50への接続に用いる識別情報(SSID又はBSSID)である。よって、アクセスポイント50への接続に用いる識別情報を用いるので、アクセスポイント50への接続に必要な情報以外の他の情報をメモリー25に別途記憶させる必要がない。   (6) The first identification information is identification information (SSID or BSSID) used for connection to the access point to which the user of the mobile device 11 is permitted to connect, and the second identification information is the access that the printer 30 is connected to. This is identification information (SSID or BSSID) used for connection to the point 50. Therefore, since the identification information used for connection to the access point 50 is used, it is not necessary to separately store other information other than information necessary for connection to the access point 50 in the memory 25.

(7)デバイス制御装置20は、無線設定情報IDとデバイス設定情報SDとが同じであっため、第1無線通信でプリンター30と通信を行ったところ、その通信が失敗したとき、第2無線通信でプリンター30と無線通信する。よって、デバイス制御装置20は、第1無線通信が失敗しても、第2無線通信でプリンター30と通信して印刷用データを送信することで、プリンター30を印刷制御することができる。   (7) When the device control apparatus 20 communicates with the printer 30 by the first wireless communication because the wireless setting information ID and the device setting information SD are the same, when the communication fails, the second wireless communication Wireless communication with the printer 30. Therefore, even if the first wireless communication fails, the device control apparatus 20 can control the printing of the printer 30 by communicating with the printer 30 through the second wireless communication and transmitting the printing data.

(8)コンピューター23は、プリンター30の第2無線通信部37が追加の接続が可能であるか否かを示す追加接続可否情報を近距離無線通信でプリンター30から取得し、追加接続可否情報に基づき第2無線通信の追加接続が不可の場合、第1無線通信でプリンター30と通信する。よって、プリンター30側の第2無線通信部37の接続可能上限数を理由に第2無線通信でのデバイスとの接続を確立できない場合でも、プリンター30と第1無線通信で接続できる。   (8) The computer 23 acquires additional connection availability information indicating whether or not the second wireless communication unit 37 of the printer 30 can perform additional connection from the printer 30 by short-range wireless communication, and uses the additional connection availability information as the additional connection availability information. If the additional connection of the second wireless communication is not possible, the printer 30 communicates with the printer 30 by the first wireless communication. Therefore, even when the connection with the device by the second wireless communication cannot be established because of the upper limit number of connectable second wireless communication units 37 on the printer 30 side, the printer 30 can be connected by the first wireless communication.

(9)デバイス制御装置20は、近距離無線通信ステップ(S11)及び制御ステップ(S12,S13,S16,S17等)を含むプログラムPRをメモリー25に備える。よって、第1無線通信から第2無線通信への切替えが生じない条件では、NFC部15,35の接続が確立してから、無線通信を介したデバイス制御の開始までの待ち時間を、第2無線通信部による通信の接続が必要な条件の場合に比べ、短縮することができる。   (9) The device control apparatus 20 includes in the memory 25 a program PR including a short-range wireless communication step (S11) and a control step (S12, S13, S16, S17, etc.). Therefore, under the condition that the switching from the first wireless communication to the second wireless communication does not occur, the waiting time from the establishment of the connection of the NFC units 15 and 35 to the start of device control via the wireless communication is set to the second This can be shortened compared to the case where communication connection by the wireless communication unit is necessary.

(10)例えばプリンター30が第1無線通信部16と第2無線通信部17を同時接続できず、切り替えて使う構成(例えばWi-FiとWi-Fi Directの排他制御)の場合、ある携帯機器11のNFC部15のタッチによってWi-Fi Directに切り替えている間、Wi-Fi経由で他の端末からはプリンター30を見つけることができない。この場合、他の端末は、ジョブを送信できないことも起こりうる。しかし、本実施形態では、携帯機器11とプリンター30とのNFC部15,35のタッチによって取得した無線設定情報IDに基づいて、携帯機器11が第1無線通信でLAN経由でプリンター30と接続されている場合は、第2無線通信に切り替えることはしない。よって、他の端末からプリンター30を見つけることができ、他の端末からプリンター30へ印刷用データを送信することができる。   (10) For example, in the case where the printer 30 cannot connect the first wireless communication unit 16 and the second wireless communication unit 17 at the same time and is used by switching (for example, exclusive control of Wi-Fi and Wi-Fi Direct), a certain portable device While switching to Wi-Fi Direct by touching the 11 NFC unit 15, the printer 30 cannot be found from other terminals via Wi-Fi. In this case, other terminals may not be able to transmit jobs. However, in the present embodiment, based on the wireless setting information ID acquired by touching the NFC units 15 and 35 between the mobile device 11 and the printer 30, the mobile device 11 is connected to the printer 30 via the LAN through the first wireless communication. If so, the second wireless communication is not switched. Therefore, the printer 30 can be found from another terminal, and print data can be transmitted from the other terminal to the printer 30.

なお、上記実施形態は以下のような形態に変更することもできる。
・第1の情報は、デバイスが接続中の中継局を特定可能な情報であれば足りる。デバイスが中継局に接続中のときにその接続中の中継局を特定可能な識別情報等であってもよいし、予めデバイスの近距離無線通信部に記憶されたデバイスが接続可能な中継局を特定可能な識別情報等であってもよい。前者の場合、デバイスが中継局から取得した識別情報を近距離無線通信部に書き込んでもよい。また、後者の場合、デバイスが中継局と接続中であることを確認していなくても、接続中であることを推定できる中継局の識別情報等であればよい。なお、第1の情報は、中継局への接続に用いる識別情報に限定されず、中継局を特定できれば、中継局への接続には使用されない他の識別情報等でもよい。
In addition, the said embodiment can also be changed into the following forms.
The first information may be information that can identify the relay station to which the device is connected. It may be identification information that can identify the connected relay station when the device is connected to the relay station, or a relay station that can be connected to the device stored in advance in the short-range wireless communication unit of the device. It may be identification information that can be specified. In the former case, the identification information acquired from the relay station by the device may be written in the short-range wireless communication unit. In the latter case, the identification information of the relay station that can be estimated to be connected may be used even if it is not confirmed that the device is connected to the relay station. The first information is not limited to the identification information used for connection to the relay station, and may be other identification information that is not used for connection to the relay station as long as the relay station can be specified.

・第2の情報は、中継局への接続に用いる識別情報でなくてもよい。中継局を特定できれば、その接続に用いられない中継局の他の識別情報でもよい。
・デバイス制御装置20が接続可能な中継局と、デバイスが接続可能な中継局とが異なってもよい。例えば1つのアクセスポイントとそのアクセスポイントの電波内にいる配下の無線LAN端末で構成されるネットワークであるBSS(Basic Service Set)が複数存在し、複数のBSSで構成される無線LANであるESS(Extended Service Set)が共通であればよい。例えば異なる2つの中継局が共通のLANに接続されており、このLANを介してデバイスとデバイス制御装置20とが第1無線通信で通信可能な構成であれば、デバイス制御装置20がデバイスを制御することができる。
The second information may not be identification information used for connection to the relay station. If the relay station can be specified, other identification information of the relay station that is not used for the connection may be used.
The relay station to which the device control apparatus 20 can be connected may be different from the relay station to which the device can be connected. For example, there are a plurality of BSSs (Basic Service Sets) which are networks composed of a single access point and subordinate wireless LAN terminals within the radio waves of the access point, and an ESS (Wireless LAN composed of a plurality of BSSs). Extended Service Set) may be common. For example, if two different relay stations are connected to a common LAN and the device and the device controller 20 can communicate with each other via the first wireless communication via the LAN, the device controller 20 controls the device. can do.

・無線設定情報とデバイス設定情報のうち、携帯機器11とデバイス(例えばプリンター30)とが同じLANに接続中であることを判定するために用いる情報は、BSSID、SSID及びデフォルトゲートウェイのうち少なくとも1つであればよい。例えば少なくともBSSIDを含むことが望ましい。これは、通常、MACアドレスが用いられるBSSIDは世界で一意な情報だからである。例えばBSSIDだけでもよい。また、SSID及びデフォルトゲートウェイの情報からもLANを特定できるので、SSIDのみとしたり、デフォルトゲートウェイのみとしたりしてもよい。BSSIDを含まずSSID及びデフォルトゲートウェイのうち少なくとも一方からなる情報でも、近くに同一識別名のネットワークのアクセスポイントが設置されていない限り、間違えることはない。   Of the wireless setting information and device setting information, information used to determine that the mobile device 11 and the device (for example, the printer 30) are connected to the same LAN is at least one of BSSID, SSID, and default gateway It only has to be one. For example, it is desirable to include at least BSSID. This is because the BSSID in which the MAC address is normally used is information unique in the world. For example, only BSSID may be used. Further, since the LAN can be specified from the SSID and default gateway information, only the SSID or only the default gateway may be used. Information including at least one of the SSID and the default gateway that does not include the BSSID is not mistaken as long as there is no network access point with the same identification name nearby.

・第1無線通信部は、ブルートゥース(Bluetooth(登録商標))規格の無線通信方式でもよい。また、第2無線通信部は、ブルートゥース規格の通信方式でもよく、例えばブルートゥース・アドホック通信方式を使用できる。また、第1無線通信部と第2無線通信部との組み合わせは適宜に設定できる。例えば第1無線通信部をブルートゥース通信方式、第2無線通信部をブルートゥース直接通信方式としたり、第1無線通信部をブルートゥース通信方式、第2無線通信部をWi-Fi Direct(Wi-Fi・アドホック通信方式)としたり、第1無線通信部をWi-Fi通信方式、第2無線通信部をブルートゥース・アドホック通信方式としたりする。   The first wireless communication unit may be a Bluetooth (registered trademark) standard wireless communication system. Further, the second wireless communication unit may be a Bluetooth standard communication method, for example, a Bluetooth ad hoc communication method. Moreover, the combination of a 1st radio | wireless communication part and a 2nd radio | wireless communication part can be set suitably. For example, the first wireless communication unit is a Bluetooth communication method, the second wireless communication unit is a Bluetooth direct communication method, the first wireless communication unit is a Bluetooth communication method, and the second wireless communication unit is Wi-Fi Direct (Wi-Fi ad hoc). Communication method), the first wireless communication unit is a Wi-Fi communication method, and the second wireless communication unit is a Bluetooth ad hoc communication method.

・第1無線通信部が複数種備えられていてもよい。例えばWi-FiとBluetoothとの2種類の第1無線通信部を備えていてもよい。
・近距離無線通信部は、NFCタグ等のNFC部に限定されず、例えばフェリカ(登録商標)でもよい。近距離無線通信部は、第1無線通信部及び第2無線通信部よりも通信範囲が狭い通信方式であって、ユーザーが携帯機器の第1無線通信部を、デバイス側の近距離無線通信部に通信範囲内に接近させた状態で携帯機器を持って操作する程度の通信範囲のものであれば、NFCやフェリカに限定されない。例えばIrDA(Infrared Data Association)など他の近距離無線通信規格であってもよい。
A plurality of first wireless communication units may be provided. For example, two types of first wireless communication units of Wi-Fi and Bluetooth may be provided.
The short-range wireless communication unit is not limited to an NFC unit such as an NFC tag, and may be Felica (registered trademark), for example. The short-range wireless communication unit is a communication method having a communication range narrower than that of the first wireless communication unit and the second wireless communication unit, and the user uses the first wireless communication unit of the mobile device as a short-range wireless communication unit on the device side. As long as the communication range is such that the portable device is operated while being brought close to the communication range, the present invention is not limited to NFC or Felica. For example, other near field communication standards such as IrDA (Infrared Data Association) may be used.

・第2無線通信部の通信方式は、BluetoothDirectでもよいし、LTE Directでもよい。
・デバイスのIPアドレスが、予め携帯機器11のメモリー25に記憶されていてもよい。例えばユーザーが携帯機器11から印刷する際に使用するプリンターが予め決まっていれば、目的とするプリンターへ印刷用データを送信できる。
The communication method of the second wireless communication unit may be Bluetooth Direct or LTE Direct.
The device IP address may be stored in advance in the memory 25 of the mobile device 11. For example, if the printer to be used when the user prints from the portable device 11 is determined in advance, the printing data can be transmitted to the target printer.

・デバイス制御装置20を構成する各機能部は、プログラムを実行するコンピューター23によりソフトウェアで実現したり、IC回路等の電子回路によりハードウェアで実現したり、ソフトウェアとハードウェアとの協働により実現したりしてもよい。   Each functional unit constituting the device control apparatus 20 is realized by software by a computer 23 that executes a program, by hardware by an electronic circuit such as an IC circuit, or by cooperation of software and hardware. You may do it.

・デバイスは、プリンター(印刷装置)に限らず、複合機、スキャナー装置であってもよい。さらにデバイスは、外部の中継局を介して無線通信接続が可能な第1無線通信部と、中継局機能を内蔵して携帯機器と直接(P2P)の無線通信接続が可能な第2無線通信部とを備える限り、デジタルカメラ、デジタルビデオカメラ、プロジェクター、デジタルフォトフレーム、オーディオ機器、テレビジョン等であってもよい。この場合、携帯機器11とデバイスとの接続後に、携帯機器からデバイスへデータを送信するのではなく、デバイスから携帯機器へデータを送信してもよい。また、携帯機器とデバイスとの間でデータを送受信する構成でもよい。   The device is not limited to a printer (printing device), but may be a multifunction device or a scanner device. The device further includes a first wireless communication unit capable of wireless communication connection via an external relay station, and a second wireless communication unit capable of direct (P2P) wireless communication connection with a portable device incorporating a relay station function. And a digital camera, a digital video camera, a projector, a digital photo frame, an audio device, a television, or the like. In this case, after connecting the mobile device 11 and the device, the data may be transmitted from the device to the mobile device instead of transmitting the data from the mobile device to the device. Moreover, the structure which transmits / receives data between a portable apparatus and a device may be sufficient.

10…デバイス制御システムの一例としての画像形成システム、11…携帯機器、12…操作部、13…表示部、15…近距離無線通信部の一例であるNFC部(携帯機器側)、16…第1無線通信部、17…第2無線通信部、20…デバイス制御装置、23…制御部の一例としてのコンピューター(デバイス制御装置側)、25…メモリー(携帯機器側)、26…通信切替制御部、27…判定部、28…表示処理部、30…デバイスの一例であるプリンター、35…NFC部(デバイス側)、36…第1無線通信部、37…第2無線通信部、37A…プリンターAP、43…コンピューター(デバイス側)、46…メモリー(デバイス側)、50,50A,50B…中継局の一例としてのアクセスポイント、ID…第1の情報の一例としての無線設定情報、SD…第2の情報の一例としてのデバイス設定情報、PR…プログラム、PA…IPアドレス。   DESCRIPTION OF SYMBOLS 10 ... Image forming system as an example of a device control system, 11 ... Portable apparatus, 12 ... Operation part, 13 ... Display part, 15 ... NFC part (portable apparatus side) which is an example of a near field communication part, 16 ... 1st DESCRIPTION OF SYMBOLS 1 Wireless communication part, 17 ... 2nd wireless communication part, 20 ... Device control apparatus, 23 ... Computer (device control apparatus side) as an example of a control part, 25 ... Memory (mobile device side), 26 ... Communication switching control part , 27 ... determination unit, 28 ... display processing unit, 30 ... printer as an example of device, 35 ... NFC unit (device side), 36 ... first wireless communication unit, 37 ... second wireless communication unit, 37A ... printer AP 43: Computer (device side) 46: Memory (device side) 50, 50A, 50B: Access point as an example of relay station, ID: As an example of first information Wireless setting information, SD ... device configuration information as an example of the second information, PR ... program, PA ... IP address.

Claims (8)

無線通信によりデバイスを制御するデバイス制御装置であって、
デバイスとの近距離無線通信を行う近距離無線通信部と、
中継局に接続し、前記中継局を介してデバイスと第1無線通信を行う第1無線通信部と、
デバイスと直接接続して第2無線通信を行う第2無線通信部と、
第1無線通信部及び第2無線通信部を制御する制御部と、を備え、
前記近距離無線通信部は、近距離無線通信によるデバイスとの接続が確立した場合に、デバイスが接続中の中継局を特定可能な第の情報をデバイスから受信し、
前記制御部は、前記第1無線通信部が接続可能な中継局を特定可能な第の情報と前記第の情報とに基づいて、第1無線通信と第2無線通信との切替制御を行い、
前記制御部は、前記デバイスが有する、同時接続数の上限が設定されたアクセスポイントに追加の接続が可能であるか否かを示す追加接続可否情報を前記デバイスから近距離無線通信で取得し、追加接続可否情報に基づき第2無線通信の追加接続が不可の場合、第1無線通信でデバイスと通信する、デバイス制御装置。
A device control apparatus for controlling a device by wireless communication,
A near field communication unit that performs near field communication with the device;
A first wireless communication unit that connects to a relay station and performs first wireless communication with the device via the relay station;
A second wireless communication unit that directly connects to the device and performs second wireless communication;
A control unit that controls the first wireless communication unit and the second wireless communication unit,
When the short-range wireless communication unit establishes a connection with the device by short-range wireless communication, the short-range wireless communication unit receives, from the device, second information that allows the device to identify the connected relay station,
The control unit performs switching control between the first wireless communication and the second wireless communication based on the first information and the second information that can identify a relay station to which the first wireless communication unit can be connected. There line,
The control unit acquires additional connection availability information indicating whether or not additional connection is possible to an access point with an upper limit on the number of simultaneous connections that the device has, from the device by short-range wireless communication, A device control apparatus that communicates with a device through first wireless communication when additional connection of the second wireless communication is not possible based on additional connection availability information .
前記制御部は、前記第1の情報及び前記第2の情報に基づいて、前記デバイスと同じ中継局に接続されていれば、第1無線通信で前記中継局を介して前記デバイスと通信し、一方、前記デバイスと同じ中継局に接続されていなければ、第2無線通信でデバイスと通信する請求項1に記載のデバイス制御装置。   If the control unit is connected to the same relay station as the device based on the first information and the second information, the control unit communicates with the device via the relay station in a first wireless communication, On the other hand, if not connected to the same relay station as the device, the device control apparatus according to claim 1, wherein the device control device communicates with the device through second wireless communication. 前記近距離無線通信で前記デバイスのIPアドレスを取得し、前記デバイスと同じ中継局に接続されている場合は、前記IPアドレスで特定されるデバイスと第1無線通信で通信する、ことを特徴とする請求項1又は2に記載のデバイス制御装置。   An IP address of the device is acquired by the short-range wireless communication, and when the device is connected to the same relay station as the device, it communicates with the device specified by the IP address by the first wireless communication. The device control apparatus according to claim 1 or 2. 前記第1の情報は、中継局との無線通信の接続に用いられる無線設定情報であり、前記第2の情報は、中継局との通信の接続に用いられるデバイス設定情報であり、
前記制御部は、前記無線設定情報と前記デバイス設定情報とが一致した場合、第1無線通信で中継局を介してデバイスと通信し、一方、前記無線設定情報と前記デバイス設定情報とが不一致の場合、第2無線通信でデバイスと無線通信する、ことを特徴とする請求項1乃至3のいずれか一項に記載のデバイス制御装置。
The first information is wireless setting information used for wireless communication connection with a relay station, and the second information is device setting information used for communication connection with a relay station,
When the wireless setting information and the device setting information match, the control unit communicates with the device via a relay station in the first wireless communication, while the wireless setting information and the device setting information do not match. In this case, the device control apparatus according to any one of claims 1 to 3, wherein wireless communication with the device is performed by second wireless communication.
前記無線設定情報は、中継局に接続するための第1識別情報を含み、
前記近距離無線通信で、デバイスが中継局に接続するための第2識別情報及びデバイスに第2無線通信で接続するための第3識別情報を取得し、
前記制御部は、前記第1識別情報と第2識別情報とが同じであれば、前記第1識別情報を用いて中継局に接続することで当該中継局を介して第1無線通信でデバイスと通信し、
前記第1識別情報と第2識別情報とが同じでない場合は、前記第3識別情報を用いてデバイスと第2無線通信で接続する、ことを特徴とする請求項4に記載のデバイス制御装置。
The wireless setting information includes first identification information for connecting to a relay station,
In the short-range wireless communication, obtaining second identification information for the device to connect to the relay station and third identification information for connecting to the device by the second wireless communication,
If the first identification information and the second identification information are the same, the control unit uses the first identification information to connect to the relay station by using the first identification information to communicate with the device through the relay station. Communicate
5. The device control apparatus according to claim 4, wherein, when the first identification information and the second identification information are not the same, the device is connected to the device by the second wireless communication using the third identification information.
前記無線設定情報と前記デバイス設定情報とが同じである場合で、第1無線通信でデバイスとの無線通信が失敗したとき、第2無線通信でデバイスと無線通信する、ことを特徴とする請求項5に記載のデバイス制御装置。   The wireless setting information and the device setting information are the same, and when wireless communication with the device fails in the first wireless communication, wireless communication with the device is performed in the second wireless communication. 6. The device control apparatus according to 5. デバイス制御装置が無線通信によりデバイスを制御するデバイス制御方法であって、
デバイス制御装置を備えた携帯機器は、近距離無線通信部と、前記近距離無線通信部よりも通信範囲の広い第1無線通信部及び第2無線通信部とを備え、
前記近距離無線通信部がデバイスとの通信の接続を確立した場合に、前記デバイスが接続中の中継局を特定可能な第の情報をデバイスから受信する近距離無線通信ステップと、
携帯機器が接続中の中継局を特定可能な第の情報をメモリーから読み出して前記第1の情報と前記第2の情報とに基づいて、中継局を介してデバイスと通信する前記第1無線通信部による第1無線通信とデバイスと直接接続される前記第2無線通信部による第2無線通信との切替制御を行う制御ステップと、
前記デバイスが有する、同時接続数の上限の設定されたアクセスポイントに追加の接続が可能であるか否かを示す追加接続可否情報を前記デバイスから近距離無線通信で取得し、追加接続可否情報に基づき第2無線通信の追加接続が不可の場合、第1無線通信でデバイスと通信するステップと、を備えたことを特徴とするデバイス制御方法。
A device control method in which a device control apparatus controls a device by wireless communication,
A portable device including a device control device includes a short-range wireless communication unit, and a first wireless communication unit and a second wireless communication unit having a communication range wider than the short-range wireless communication unit,
A short-range wireless communication step of receiving, from the device, second information capable of specifying a relay station to which the device is connected when the short-range wireless communication unit establishes a communication connection with the device;
The first wireless that reads from the memory first information that can identify the relay station to which the mobile device is connected, and communicates with the device via the relay station based on the first information and the second information A control step of performing switching control between the first wireless communication by the communication unit and the second wireless communication by the second wireless communication unit directly connected to the device;
Additional connection availability information indicating whether or not additional connection is possible to an access point with an upper limit on the number of simultaneous connections that the device has is acquired from the device by short-range wireless communication, and is added to the additional connection availability information And a step of communicating with the device by the first wireless communication when additional connection of the second wireless communication is not possible .
無線通信によりデバイスを制御するデバイス制御を携帯機器内のコンピューターに実行させるためのプログラムであって、
携帯機器は、近距離無線通信部と、前記近距離無線通信部よりも通信範囲の広い第1無線通信部及び第2無線通信部とを備え、
コンピューターに、
近距離無線通信部がデバイスとの通信の接続が確立した場合に、前記デバイスが接続中の中継局を特定可能な第の情報をデバイスから受信する近距離無線通信ステップと、
携帯機器が接続中の中継局を特定可能な第情報をメモリーから読み出して前記第1の情報と前記第2の情報とに基づいて、中継局を介してデバイスと通信する前記第1無線通信部による第1無線通信とデバイスと直接接続される前記第2無線通信部による第2無線通信との切替制御を行う制御ステップと、
前記デバイスが有する、同時接続数の上限の設定されたアクセスポイントに追加の接続が可能であるか否かを示す追加接続可否情報を前記デバイスから近距離無線通信で取得し、追加接続可否情報に基づき第2無線通信の追加接続が不可の場合、第1無線通信でデバイスと通信するステップと、
を実行させるためのプログラム。
A program for causing a computer in a mobile device to execute device control for controlling a device by wireless communication,
The portable device includes a short-range wireless communication unit, a first wireless communication unit and a second wireless communication unit having a communication range wider than the short-range wireless communication unit,
On the computer,
A short-range wireless communication step of receiving, from the device, second information capable of specifying a relay station to which the device is connected when the short-range wireless communication unit establishes a communication connection with the device;
The first wireless communication that reads from the memory first information that can identify the relay station to which the portable device is connected, and communicates with the device via the relay station based on the first information and the second information A control step of performing switching control between the first wireless communication by the unit and the second wireless communication by the second wireless communication unit directly connected to the device;
Additional connection availability information indicating whether or not additional connection is possible to an access point with an upper limit on the number of simultaneous connections that the device has is acquired from the device by short-range wireless communication, and is added to the additional connection availability information If additional connection of the second wireless communication is not possible based on the step of communicating with the device in the first wireless communication;
A program for running
JP2014220044A 2014-10-29 2014-10-29 Device control apparatus, device control method and program Active JP6476748B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014220044A JP6476748B2 (en) 2014-10-29 2014-10-29 Device control apparatus, device control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014220044A JP6476748B2 (en) 2014-10-29 2014-10-29 Device control apparatus, device control method and program

Publications (2)

Publication Number Publication Date
JP2016086384A JP2016086384A (en) 2016-05-19
JP6476748B2 true JP6476748B2 (en) 2019-03-06

Family

ID=55973410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014220044A Active JP6476748B2 (en) 2014-10-29 2014-10-29 Device control apparatus, device control method and program

Country Status (1)

Country Link
JP (1) JP6476748B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6482406B2 (en) * 2015-06-23 2019-03-13 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2018005711A (en) * 2016-07-06 2018-01-11 京セラドキュメントソリューションズ株式会社 Settlement system, settlement device, and settlement program
JP6938994B2 (en) * 2017-03-21 2021-09-22 富士フイルムビジネスイノベーション株式会社 Wireless network equipment, image forming equipment, wireless network systems and programs
JP6702916B2 (en) * 2017-07-04 2020-06-03 キヤノン株式会社 Communication device, external device, communication device control method, external device control method, and program
JP6932586B2 (en) * 2017-09-14 2021-09-08 キヤノン株式会社 Information processing equipment, its control method, and programs
JP7027769B2 (en) * 2017-09-29 2022-03-02 ブラザー工業株式会社 Computer program for communication equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5994627B2 (en) * 2012-12-26 2016-09-21 ブラザー工業株式会社 Information processing program, information processing apparatus, and information processing apparatus control method
JP5962564B2 (en) * 2013-03-28 2016-08-03 ブラザー工業株式会社 Communication control program and communication device

Also Published As

Publication number Publication date
JP2016086384A (en) 2016-05-19

Similar Documents

Publication Publication Date Title
US11356836B2 (en) Communicating apparatus, communication method, and storage medium storing program
US10270685B2 (en) Communication apparatus, control method therefor, and computer-readable storage medium
JP6476748B2 (en) Device control apparatus, device control method and program
US9164712B2 (en) Function executing device
US9712954B2 (en) Communication device and non-transitory computer-readable recording medium
JP6801375B2 (en) Wireless communication device, its control method and control program
JP6350073B2 (en) Device control apparatus, device control method, and device control program
JP5838988B2 (en) Communication program and communication device
US9692934B2 (en) Communicating apparatus, communication method, and storage medium storing program
US9021145B2 (en) Function executing apparatus, non-transitory storage medium storing instructions executable by the function executing apparatus, and method of controlling the function executing apparatus
JP2016167793A (en) Communication device, system, and program
US11296749B2 (en) Communication system, communication apparatus, method of controlling the same, and storage medium
US20200174731A1 (en) Non-transitory computer-readable recording medium storing computer-readable instructions for establishing wireless connection between terminal device and communication device
JP2016206940A (en) Information processor and control thereof, and program
JP2023112032A (en) Communication device, control method, and program
JP6098582B2 (en) Linkage system, linkage method
JP2016186774A (en) Method of searching for image forming apparatus, portable terminal, and program
JP6197587B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND PROGRAM
CN116647839A (en) Communication apparatus and control method thereof
US10708447B2 (en) Image forming apparatus sharing connection information with a terminal device
US10306455B2 (en) Communication apparatus, communication method, and non-transitory computer-readable storage medium
JP2014072587A (en) Program of image data processing device and image data processing device
JP6484357B2 (en) Communication apparatus and program
US10630783B2 (en) Terminal management apparatus, terminal management system, and non-transitory computer readable medium
JP2017163489A (en) Communication equipment, method, system, and program

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20160623

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170824

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180619

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180731

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20180905

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20181107

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190121

R150 Certificate of patent or registration of utility model

Ref document number: 6476748

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150