JP6869314B2 - Communication equipment and its control method and program - Google Patents

Communication equipment and its control method and program Download PDF

Info

Publication number
JP6869314B2
JP6869314B2 JP2019210607A JP2019210607A JP6869314B2 JP 6869314 B2 JP6869314 B2 JP 6869314B2 JP 2019210607 A JP2019210607 A JP 2019210607A JP 2019210607 A JP2019210607 A JP 2019210607A JP 6869314 B2 JP6869314 B2 JP 6869314B2
Authority
JP
Japan
Prior art keywords
communication
wireless communication
communication device
wireless
communication method
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
JP2019210607A
Other languages
Japanese (ja)
Other versions
JP2020043595A (en
Inventor
岩内 伸之
伸之 岩内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2019210607A priority Critical patent/JP6869314B2/en
Publication of JP2020043595A publication Critical patent/JP2020043595A/en
Priority to JP2021058511A priority patent/JP7146009B2/en
Application granted granted Critical
Publication of JP6869314B2 publication Critical patent/JP6869314B2/en
Priority to JP2022149543A priority patent/JP2022177196A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Description

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

近年、プリンタと、デジタルカメラや携帯電話等の外部装置との間で無線通信を行い、プリンタが外部装置から画像を受信し印刷することが可能となっている。この際、プリンタと外部装置とが、当初はNFC(Near Field Communication)をはじめとする近距離無線通信によって互いに通信相手を特定する。その後、近距離無線通信とは別の、より高速な無線通信によって、プリンタが外部装置から印刷対象の画像ファイルを受信することも知られている。 In recent years, wireless communication has been performed between a printer and an external device such as a digital camera or a mobile phone, and the printer can receive and print an image from the external device. At this time, the printer and the external device initially identify each other by short-range wireless communication such as NFC (Near Field Communication). After that, it is also known that the printer receives an image file to be printed from an external device by a higher-speed wireless communication different from the short-range wireless communication.

また、プリンタは有線LANと無線LANといった複数のインタフェースが搭載されており、ユーザーはどちらかのインタフェースを使って、印刷を行うことができる。従来のプリンタでは、複数のインタフェースを有していても、いずれか一方のインタフェースでのみを用いて通信を行うのが一般的である。 In addition, the printer is equipped with a plurality of interfaces such as a wired LAN and a wireless LAN, and the user can print using either interface. Even if a conventional printer has a plurality of interfaces, it is common to communicate using only one of the interfaces.

また、近年ではNFCを利用して、端末装置と外部装置を共通のアクセスポイントに接続させインターネットの接続が切断されないようにする方法が提案されている(特許文献1)。 Further, in recent years, a method has been proposed in which an NFC is used to connect a terminal device and an external device to a common access point so that the Internet connection is not disconnected (Patent Document 1).

特開2011−182449号公報Japanese Unexamined Patent Publication No. 2011-182449

しかしながら、特許文献1には、端末と装置の両者が同一ネットワーク上にあり、接続可能な場合はよいが、そうでない場合には容易には端末の処理要求(例えば印刷)を行うことができないという問題がある。 However, Patent Document 1 states that it is good if both the terminal and the device are on the same network and can be connected, but if not, the processing request (for example, printing) of the terminal cannot be easily performed. There's a problem.

本発明は上記の課題に鑑みなされたものであり、簡便な操作で、処理装置が有する複数のネットワーク接続手段のうち、利用しているネットワークを特定し、端末装置から処理装置に向けて処理要求を送信できる技術を提供しようとするものである。 The present invention has been made in view of the above problems, and by a simple operation, a network to be used is specified among a plurality of network connection means possessed by the processing device, and a processing request is made from the terminal device to the processing device. It is intended to provide a technology that can transmit.

この課題を解決するため、例えば本発明の通信装置は以下の構成を備える。すなわち、
有線通信方式に基づく有線通信、第1無線通信方式に基づく第1無線通信および第2無線通信方式に基づく第2無線通信を実行可能な通信装置であって、
前記通信装置の表示部を用いて前記有線通信方式を有効化することが指示されたことに基づいて前記有線通信方式を有効化して前記第無線通信方式を有効化せず、前記通信装置の表示部を用いて前記第無線通信方式を有効化することが指示されたことに基づいて前記第無線通信方式を有効化して前記有線通信方式を有効化しない制御手段と、
前記通信装置と通信相手装置の間で前記第2無線通信が実行され、かつ、前記通信装置の前記第1無線通信方式が有効化されており、かつ、前記通信相手装置が接続しているネットワークに前記通信装置が前記第1無線通信方式によって接続している場合、前記第2無線通信を実行した前記通信相手装置から前記ネットワークを介して印刷データを受信し、
前記通信装置と前記通信相手装置の間で前記第2無線通信が実行され、かつ、前記通信装置の前記第1無線通信方式が有効化されておらず、かつ、前記通信相手装置が接続しているネットワークに前記通信装置が前記第1無線通信方式によって接続していない場合、前記通信装置が通信制御処理を実行することで確立された前記通信相手装置と前記通信装置間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信手段と、
前記印刷データに基づいて印刷処理を実行する印刷制御手段を備える。
In order to solve this problem, for example, the communication device of the present invention has the following configuration. That is,
A communication device capable of executing wired communication based on a wired communication method, first wireless communication based on a first wireless communication method, and second wireless communication based on a second wireless communication method.
Based on the instruction to enable the wired communication method using the display unit of the communication device, the wired communication method is enabled and the first wireless communication method is not enabled. A control means that enables the first wireless communication method and does not enable the wired communication method based on the instruction to enable the first wireless communication method using the display unit.
A network in which the second wireless communication is executed between the communication device and the communication partner device, the first wireless communication method of the communication device is enabled, and the communication partner device is connected. When the communication device is connected by the first wireless communication method, print data is received from the communication partner device that executed the second wireless communication via the network.
The second wireless communication is executed between the communication device and the communication partner device, the first wireless communication method of the communication device is not enabled, and the communication partner device is connected. When the communication device is not connected to the existing network by the first wireless communication method, the communication device is established by executing the communication control process via the direct connection between the communication partner device and the communication device. A receiving means for receiving print data from the communication partner device , and
A print control means for executing a print process based on the print data is provided.

また、本発明の通信装置の制御方法は以下の構成を有する。すなわち、
有線通信方式に基づく有線通信、第1無線通信方式に基づく第1無線通信および第2無線通信方式に基づく第2無線通信を実行可能な通信装置の制御方法であって、
前記通信装置の表示部を用いて前記有線通信方式を有効化することが指示されたことに基づいて前記有線通信方式を有効化して前記第無線通信方式を有効化せず、前記通信装置の表示部を用いて前記第無線通信方式を有効化することが指示されたことに基づいて前記第無線通信方式を有効化して前記有線通信方式を有効化しない制御工程と、
前記通信装置と通信相手装置の間で前記第2無線通信が実行され、かつ、前記通信装置の前記第1無線通信方式が有効化されており、かつ、前記通信相手装置が接続しているネットワークに前記通信装置が前記第1無線通信方式によって接続している場合、前記第2無線通信を実行した前記通信相手装置から前記ネットワークを介して印刷データを受信し、
前記通信装置と前記通信相手装置の間で前記第2無線通信が実行され、かつ、前記通信装置の前記第1無線通信方式が有効化されておらず、かつ、前記通信相手装置が接続しているネットワークに前記通信装置が前記第1無線通信方式によって接続していない場合、前記通信装置が通信制御処理を実行することで確立された前記通信相手装置と前記通信装置間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信工程と、
前記印刷データに基づいて印刷処理を実行する印刷制御工程を備える。
Further, the control method of the communication device of the present invention has the following configurations. That is,
It is a control method of a communication device capable of executing wired communication based on a wired communication method, first wireless communication based on a first wireless communication method, and second wireless communication based on a second wireless communication method.
Based on the instruction to enable the wired communication method using the display unit of the communication device, the wired communication method is enabled and the first wireless communication method is not enabled. A control step of enabling the first wireless communication method and not enabling the wired communication method based on the instruction to enable the first wireless communication method using the display unit.
A network in which the second wireless communication is executed between the communication device and the communication partner device, the first wireless communication method of the communication device is enabled, and the communication partner device is connected. When the communication device is connected by the first wireless communication method, print data is received from the communication partner device that executed the second wireless communication via the network.
The second wireless communication is executed between the communication device and the communication partner device, the first wireless communication method of the communication device is not enabled, and the communication partner device is connected. When the communication device is not connected to the existing network by the first wireless communication method, the communication device is established by executing the communication control process via the direct connection between the communication partner device and the communication device. A receiving process for receiving print data from the communication partner device , and
A print control step for executing a print process based on the print data is provided.

本発明によれば、端末装置を処理装置に近づけるという簡単な操作で、処理装置が有する複数のネットワーク接続手段のうち、利用しているネットワークを特定し、端末装置から処理装置に向けて処理要求を送信できるようになる。 According to the present invention, a network to be used is specified among a plurality of network connection means possessed by the processing device by a simple operation of bringing the terminal device closer to the processing device, and a processing request is made from the terminal device to the processing device. Will be able to send.

実施形態における印刷システムの構成を示す図。The figure which shows the structure of the printing system in embodiment. 端末装置の外観を表す図。The figure which shows the appearance of a terminal device. 印刷装置の外観を表す図。The figure which shows the appearance of a printing apparatus. 端末装置の構成を示すブロック図。The block diagram which shows the structure of the terminal apparatus. 印刷装置の構成を示すブロック図。The block diagram which shows the structure of the printing apparatus. NFCユニットの構成を表したブロック図。The block diagram which showed the structure of an NFC unit. NFCユニットに保存されているNDEFデータ構造を示す図。The figure which shows the NDEF data structure stored in an NFC unit. 端末装置の処理を示すフローチャート。A flowchart showing the processing of the terminal device. 印刷装置の処理を示すフローチャート。The flowchart which shows the processing of a printing apparatus. 第2の実施形態における端末装置の処理を示すフローチャート。The flowchart which shows the processing of the terminal apparatus in 2nd Embodiment. 第4の実施形態における印刷訴追の処理を示すフローチャート。The flowchart which shows the process of the print prosecution in 4th Embodiment.

以下に、図面を参照しながら、本発明の実施形態を例示的に詳しく説明する。但し、本実施形態に記載されている構成要素の相対配置、表示画面等は、特に、特定的な記載がない限りは、この発明の範囲をそれらのみに限定する趣旨のものではない。 Hereinafter, embodiments of the present invention will be described in detail exemplarily with reference to the drawings. However, the relative arrangement of the components, the display screen, and the like described in the present embodiment are not intended to limit the scope of the present invention to those, unless otherwise specified.

<システム構成>
図1は実施形態におけるネットワーク処理システムの構成を示す図である。このシステムは、ネットワーク100を中心に、そのネットワーク100に接続可能な携帯型の端末装置200及び、端末装置200からの依頼要求を受けて処理を行う処理装置としての印刷装置300で構成される。通信装置としても機能する端末装置200は、通信速度(又は通信可能範囲)が異なる少なくとも2種類以上の無線通信部を有する。端末装置200は、PDA(Personal Digital Assistant)等の個人情報端末、スマートフォンや携帯電話、デジタルカメラ等、印刷対象となるファイルを扱える装置であればその種類は問わない。
<System configuration>
FIG. 1 is a diagram showing a configuration of a network processing system according to an embodiment. This system is composed of a portable terminal device 200 that can be connected to the network 100, and a printing device 300 as a processing device that performs processing in response to a request from the terminal device 200, centering on the network 100. The terminal device 200, which also functions as a communication device, has at least two or more types of wireless communication units having different communication speeds (or communication range). The terminal device 200 may be of any type as long as it can handle files to be printed, such as personal information terminals such as PDAs (Personal Digital Assistants), smartphones, mobile phones, and digital cameras.

通信装置としても機能する印刷装置300は、原稿台に載置された原稿を光学的に読み取る読取機能と、インクジェットプリンタ等の印刷エンジンを用いて印刷を行う印刷機能を有しており、その他、FAX機能や電話機能を有していても良い。 The printing device 300, which also functions as a communication device, has a reading function for optically reading a document placed on a platen and a printing function for printing using a printing engine such as an inkjet printer. It may have a FAX function and a telephone function.

ネットワーク100と印刷装置300は、有線LANもしくは無線LANで接続されている。ネットワーク100と端末装置200は無線LANで接続されている。端末装置200と印刷装置300は近距離無線通信による通信が実行可能である。また、端末装置200と印刷装置300は共に無線LANの機能を有するため、相互認証をすることによってピアツーピア(以後、P2P)の通信が可能となる。 The network 100 and the printing device 300 are connected by a wired LAN or a wireless LAN. The network 100 and the terminal device 200 are connected by a wireless LAN. The terminal device 200 and the printing device 300 can execute communication by short-range wireless communication. Further, since both the terminal device 200 and the printing device 300 have a wireless LAN function, peer-to-peer (hereinafter, P2P) communication is possible by performing mutual authentication.

図2は端末装置200の外観を示す図である。本実施形態では、スマートフォンを例にしている。スマートフォンとは、携帯電話の機能の他に、カメラや、ネットブラウザ、メール機能等を搭載した多機能型の携帯電話のことである。 FIG. 2 is a diagram showing the appearance of the terminal device 200. In this embodiment, a smartphone is taken as an example. A smartphone is a multifunctional mobile phone equipped with a camera, an internet browser, an email function, etc. in addition to the functions of the mobile phone.

NFC(Near Field Communication)ユニット201は、近距離無線通信を行うユニットである。実際にNFCユニット201を相手デバイスのNFCユニット(実施形態では、印刷装置300のNFCユニット)に所定距離(10cm程度)以内に近づけることで通信を行うことができる。 The NFC (Near Field Communication) unit 201 is a unit that performs short-range wireless communication. Communication can be performed by actually bringing the NFC unit 201 closer to the NFC unit of the other device (in the embodiment, the NFC unit of the printing device 300) within a predetermined distance (about 10 cm).

無線LANユニット202は、NFC通信よりも高速な無線LANで通信を行うためのユニットであり、端末装置200内に配置されている。表示部203は、例えば、LCD方式の表示機構を備えるディスプレイである。操作部204は、タッチパネル方式の操作機構を備えており、ユーザーの押下情報を検知する。代表的な操作方法には、表示部203がボタンアイコンやソフトウェアキーボードの表示を行い、ユーザーが操作部204を押下することによってボタンが押下されたイベントを発行することである。電源キー205は、電源のオン及びオフをする際に用いる。 The wireless LAN unit 202 is a unit for performing communication on a wireless LAN faster than NFC communication, and is arranged in the terminal device 200. The display unit 203 is, for example, a display including an LCD type display mechanism. The operation unit 204 is provided with a touch panel type operation mechanism, and detects user's pressing information. A typical operation method is that the display unit 203 displays a button icon or a software keyboard, and when the user presses the operation unit 204, an event in which the button is pressed is issued. The power key 205 is used to turn the power on and off.

図3は印刷装置300の外観を示す図である。本実施形態では、読取機能(スキャナ)を有するMulti Function Printer(MFP)を例にしている。図3(a)において、原稿台301はガラス状の透明な台であり、原稿を載せてスキャナで読み取る時に使用する。原稿蓋302は、スキャナで読取を行う際に読取光が外部に漏れないようにするための蓋である。印刷用紙挿入口303は、様々なサイズの用紙をセットする挿入口である。印刷用紙挿入口303にセットされた用紙は一枚ずつ印刷部に搬送され、印刷を行って印刷用紙排出口304から排出される。 FIG. 3 is a diagram showing the appearance of the printing apparatus 300. In this embodiment, a Multifunction Printer (MFP) having a reading function (scanner) is taken as an example. In FIG. 3A, the document base 301 is a glass-like transparent table, which is used when a document is placed and read by a scanner. The document lid 302 is a lid for preventing the scanning light from leaking to the outside when scanning with a scanner. The printing paper insertion slot 303 is an insertion slot for loading various sizes of paper. The paper set in the printing paper insertion slot 303 is conveyed to the printing unit one by one, printing is performed, and the paper is ejected from the printing paper ejection port 304.

図3(b)は、原稿蓋302の上面図である。原稿蓋302の上部には操作表示部305及びNFCユニット306が配置されている。NFCユニット306は、近距離無線通信を行うためのユニットであり、実際に、端末装置200を印刷装置300に近接させる場所である。NFCユニット306から所定距離(約10cm)が接触の有効距離である。無線LANアンテナ307は、無線LANで通信するためのアンテナが埋め込まれている。 FIG. 3B is a top view of the document lid 302. The operation display unit 305 and the NFC unit 306 are arranged on the upper part of the document lid 302. The NFC unit 306 is a unit for performing short-range wireless communication, and is actually a place where the terminal device 200 is brought close to the printing device 300. A predetermined distance (about 10 cm) from the NFC unit 306 is an effective contact distance. The wireless LAN antenna 307 has an embedded antenna for communicating with the wireless LAN.

尚、近距離無線通信とは、NFCに代表される、通信範囲が、比較的小さい所定範囲(例えば、1メートル〜数センチ)となる無線通信を意味する。 The short-range wireless communication means wireless communication in which the communication range is a relatively small predetermined range (for example, 1 meter to several centimeters) represented by NFC.

図4は端末装置200のブロック構成図である。端末装置200は、装置全体の制御を行うメインボード210、無線LANユニット202、NFCユニット201、回線接続ユニット206、表示部203及び操作部204を有する。ここで、無線LANユニット202、NFCユニット201、回線接続ユニット206及び優先LANユニット309はいずれも、端末装置200の通信部として機能する。 FIG. 4 is a block configuration diagram of the terminal device 200. The terminal device 200 includes a main board 210 that controls the entire device, a wireless LAN unit 202, an NFC unit 201, a line connection unit 206, a display unit 203, and an operation unit 204. Here, the wireless LAN unit 202, the NFC unit 201, the line connection unit 206, and the priority LAN unit 309 all function as communication units of the terminal device 200.

メインボード210に配置されるマイクロプロセッサ形態のCPU211は、内部バス212を介し、接続されているROM形態のプログラムメモリ213に格納されている制御プログラムと、RAM形態のデータメモリ214の内容に従って処理を実行する。 The microprocessor-type CPU 211 arranged on the main board 210 performs processing according to the contents of the control program stored in the connected ROM-type program memory 213 and the RAM-type data memory 214 via the internal bus 212. Execute.

CPU211は、無線LAN制御回路215を介して無線LANユニット202を制御することで、他の通信端末装置と無線LAN102による通信を行う。CPU211は、NFC制御回路216を介してNFCユニット201を制御することによって、他のNFC端末とのNFC101による接続を検知したり、他のNFC端末との間でデータの送受信を行うことができる。CPU211は、回線制御回路217を介して回線接続ユニット206を制御することで、携帯電話回線網105に接続し、通話やデータ送受信を行うことができる。 The CPU 211 controls the wireless LAN unit 202 via the wireless LAN control circuit 215 to communicate with other communication terminal devices by the wireless LAN 102. By controlling the NFC unit 201 via the NFC control circuit 216, the CPU 211 can detect a connection with another NFC terminal by the NFC 101 and can transmit / receive data to / from another NFC terminal. By controlling the line connection unit 206 via the line control circuit 217, the CPU 211 can connect to the mobile phone line network 105 and perform a call or data transmission / reception.

CPU211は、操作部制御回路218を制御することによって操作部204を介してのユーザからの指示を受け取ったり、表示部203に各種メニューや画像などの表示を行ったりするが可能である。CPU211は、カメラ部219を制御して画像を撮影することができ、撮影した画像をデータメモリ214中の画像メモリ220に格納する。また、撮影した画像以外にも、携帯電話回線網105、無線LAN102、あるいはNFC101を通じて外部から取得した画像を画像メモリ220に格納したり、逆に外部に送信することも可能である。 By controlling the operation unit control circuit 218, the CPU 211 can receive an instruction from the user via the operation unit 204, and can display various menus, images, and the like on the display unit 203. The CPU 211 can control the camera unit 219 to capture an image, and stores the captured image in the image memory 220 in the data memory 214. In addition to the captured image, an image acquired from the outside through the mobile phone line network 105, the wireless LAN 102, or the NFC 101 can be stored in the image memory 220, or conversely transmitted to the outside.

不揮発性メモリ221は、フラッシュメモリ等のメモリで構成され、電源をオフされた後でも保存しておきたいデータを格納する。例えば、電話帳データや、各種通信接続情報や過去に接続したデバイス情報等の他、保存しておきたい画像データ、あるいは端末装置200に各種機能を実現するアプリケーションソフトウェア等のプログラムが格納される。 The non-volatile memory 221 is composed of a memory such as a flash memory, and stores data to be stored even after the power is turned off. For example, in addition to telephone directory data, various communication connection information, device information connected in the past, and the like, image data to be saved, or a program such as application software that realizes various functions is stored in the terminal device 200.

図5は印刷装置300の構成を示すブロック図である。印刷装置300は、装置全体の制御を行うメインボード310、回線接続ユニット322、無線LANユニット308、NFCユニット306、有線LANユニット309、及び、操作パネル305を有する。ここで、回線接続ユニット322、無線LANユニット308、NFCユニット306及び優先LANユニット309は、印刷装置300の通信部として機能する。なお、無線LANはNFCユニットよりも高速で、有線LANは更に高速な通信が行える。 FIG. 5 is a block diagram showing the configuration of the printing apparatus 300. The printing device 300 includes a main board 310 that controls the entire device, a line connection unit 322, a wireless LAN unit 308, an NFC unit 306, a wired LAN unit 309, and an operation panel 305. Here, the line connection unit 322, the wireless LAN unit 308, the NFC unit 306, and the priority LAN unit 309 function as a communication unit of the printing device 300. The wireless LAN is faster than the NFC unit, and the wired LAN can perform even faster communication.

メインボード310に配置されるマイクロプロセッサ形態のCPU311は、内部バス312を介して接続されているROM形態のプログラムメモリ313に格納されている制御プログラムと、RAM形態のデータメモリ314の内容とに従って処理を実行する。 The microprocessor-type CPU 311 arranged on the main board 310 processes according to the control program stored in the ROM-type program memory 313 connected via the internal bus 312 and the contents of the RAM-type data memory 314. To execute.

CPU311は、スキャナ部315を制御して原稿を読み取り、データメモリ314中の画像メモリ316に格納する。また、CPU311は、印刷部317を制御してデータメモリ314中の画像メモリ316の画像を記録媒体に印刷することができる。 The CPU 311 controls the scanner unit 315 to read the document and store it in the image memory 316 in the data memory 314. Further, the CPU 311 can control the printing unit 317 to print the image of the image memory 316 in the data memory 314 on the recording medium.

CPU311は、無線LAN制御回路318を通じて無線LANユニット308を制御することで、他の通信端末装置と無線LAN102による通信を行う。また、CPU311は、有線LAN制御回路329を通じて優先LANユニット309を制御することで、他の通信端末装置と優先LAN102による通信を行う。また、CPU311は、NFC制御回路319を介してNFCユニット306を制御することによって、他のNFC端末とのNFC101による接続を検知したり、他のNFC端末との間でデータの送受信を行うことができる。CPU311は、回線制御回路321を介して回線接続ユニット322を制御することで、電話回線網323に接続し、FAX送受信やデータ送受信を行うことができる。 The CPU 311 controls the wireless LAN unit 308 through the wireless LAN control circuit 318 to communicate with other communication terminal devices by the wireless LAN 102. Further, the CPU 311 controls the priority LAN unit 309 through the wired LAN control circuit 329 to communicate with other communication terminal devices by the priority LAN 102. Further, the CPU 311 can detect a connection with another NFC terminal by the NFC 101 or transmit / receive data to / from another NFC terminal by controlling the NFC unit 306 via the NFC control circuit 319. it can. By controlling the line connection unit 322 via the line control circuit 321, the CPU 311 can connect to the telephone line network 323 and perform fax transmission / reception and data transmission / reception.

CPU311は、操作部制御回路320を制御することによって操作パネル305に印刷装置300の状態の表示や機能選択メニューの表示を行ったり、ユーザーからの操作を受け付けることが可能である。このため、操作パネル305は、各種スイッチやボタンをはじめ、タッチパネル付きディスプレイで構成される。 By controlling the operation unit control circuit 320, the CPU 311 can display the status of the printing device 300, display the function selection menu, and accept operations from the user on the operation panel 305. Therefore, the operation panel 305 is composed of a display with a touch panel, including various switches and buttons.

図6は端末装置200におけるNFCユニット201あるいは、印刷装置300におけるNFCユニット306で使用されているNFCユニット600の詳細を示すブロック図である。 FIG. 6 is a block diagram showing details of the NFC unit 201 in the terminal device 200 or the NFC unit 600 used in the NFC unit 306 in the printing device 300.

NFCユニット600による近距離無線通信(NFC通信)では、通信時にRF(Radio Frequency)フィールドを出力して通信を開始する装置をイニシエータと呼ぶ。また、イニシエータの発する命令に応答し、イニシエータとの通信を行う装置をターゲットと呼ぶ。そして、NFCユニットの通信モードには、パッシブモードとアクティブモードが存在する。 In short-range wireless communication (NFC communication) by the NFC unit 600, a device that outputs an RF (Radio Frequency) field during communication and starts communication is called an initiator. A device that responds to an instruction issued by an initiator and communicates with the initiator is called a target. The communication mode of the NFC unit includes a passive mode and an active mode.

パッシブモードでは、ターゲットは、イニシエータの命令に対し、負荷変調を行うことで応答する。そのため、ターゲットには電力の供給が不要である。一方、アクティブモードでは、ターゲットは、イニシエータの命令に対し、ターゲット自らが発するRFフィールドによって応答する。そのため、ターゲットに電力の供給が必要となる。アクティブモードはパッシブモードと比較して通信速度を高速にできるという特徴もある。 In passive mode, the target responds to the initiator's instructions by performing load modulation. Therefore, the target does not need to be supplied with power. On the other hand, in the active mode, the target responds to the initiator's command by the RF field issued by the target itself. Therefore, it is necessary to supply power to the target. The active mode also has the feature that the communication speed can be increased compared to the passive mode.

図6の説明に戻る。NFCユニット内には、NFCコントローラ部601、アンテナ部602、RF部603、送受信制御部604、NFCメモリ605、電源606、及びデバイス接続部607が存在する。アンテナ部602は、他のNFCデバイスから電波やキャリアを受信したり、他のNFCデバイスに電波やキャリアを送信したりする。RF部603は、アナログ信号をデジタル信号に変復調する機能を備えている。RF部603は、シンセサイザを備えていて、バンド、チャネルの周波数を識別し、周波数割り当てデータによるバンド、チャネルの制御をしている。 Returning to the description of FIG. The NFC unit includes an NFC controller unit 601, an antenna unit 602, an RF unit 603, a transmission / reception control unit 604, an NFC memory 605, a power supply 606, and a device connection unit 607. The antenna unit 602 receives radio waves and carriers from other NFC devices, and transmits radio waves and carriers to other NFC devices. The RF unit 603 has a function of converting and demodulating an analog signal into a digital signal. The RF unit 603 includes a synthesizer, identifies the frequency of the band and the channel, and controls the band and the channel by the frequency allocation data.

尚、NFCメモリ605は、読み書き可能な不揮発性メモリで構成される。そして、電源606からの電力が供給されていない状態でも、パッシブモードで誘導起電力が生成されている限り、NFCメモリ605に記憶されているデータを読み書きすることができる。このNFCメモリ605へのデータの読み書きを含むデータの記憶制御は、NFCコントローラ部601によって実現される。なお、電源606からの電力が供給されていない状態とは、端末装置200の電池が無くなった状態、印刷装置300へ電源が供給されていない状態を指す。 The NFC memory 605 is composed of a readable and writable non-volatile memory. Then, even when the power from the power supply 606 is not supplied, the data stored in the NFC memory 605 can be read and written as long as the induced electromotive force is generated in the passive mode. Data storage control including reading and writing of data to the NFC memory 605 is realized by the NFC controller unit 601. The state in which the power supply from the power supply 606 is not supplied means a state in which the battery of the terminal device 200 is exhausted and a state in which power is not supplied to the printing device 300.

送受信制御部604は、送受信フレームの組み立て及び分解、プリアンブル付加及び検出、フレーム識別等、送受信に関する制御を行う。送受信制御部604は、NFCメモリ605の制御も行い、各種データやプログラムを読み書きする。アクティブモードとして動作する場合、電源606を介して電力の供給を受ける。そして、デバイス接続部607を通じてデバイス(端末装置200のCPU211や、印刷装置300のCPU311)と通信を行ったり、アンテナ部602を介して送受信されるキャリアにより、通信可能な範囲にある他のNFCデバイスと通信する。パッシブモードとして動作する場合、アンテナ部602を介して他のNFCデバイスからキャリアを受信して、電磁誘導により他のNFCデバイスから電力の供給を受け、キャリアの変調により当該他のNFCデバイスとの間で通信を行ってデータを送受信する。以下では、端末装置200(のNFCユニット201)と印刷装置300の(NFCユニット306)を近づける操作のことを、「NFCタッチ操作」と記すものとする。 The transmission / reception control unit 604 controls transmission / reception such as assembly / disassembly of transmission / reception frames, preamble addition / detection, and frame identification. The transmission / reception control unit 604 also controls the NFC memory 605 to read / write various data and programs. When operating in active mode, it receives power via the power supply 606. Then, another NFC device within a communicable range is communicated with the device (CPU 211 of the terminal device 200 or CPU 311 of the printing device 300) through the device connection unit 607, or is transmitted / received via the antenna unit 602. Communicate with. When operating in the passive mode, a carrier is received from another NFC device via the antenna unit 602, power is supplied from the other NFC device by electromagnetic induction, and the carrier is modulated between the carrier and the other NFC device. Communicate with to send and receive data. In the following, the operation of bringing the terminal device 200 (NFC unit 201) and the printing device 300 (NFC unit 306) close to each other will be referred to as "NFC touch operation".

[第1の実施形態]
本第1の実施形態では、ユーザが端末装置200を操作して印刷対象の画像を選択した後、印刷を行う印刷装置300に対してNFCタッチ操作を行うことで、選択した画像を印刷装置300で印刷するというユースケースについて説明する。
[First Embodiment]
In the first embodiment, the user operates the terminal device 200 to select an image to be printed, and then performs an NFC touch operation on the printing device 300 to print, thereby printing the selected image on the printing device 300. The use case of printing with is explained.

図8は、端末装置200で、指定した画像を印刷装置300で印刷する際の処理を示すフローチャートである。なお、本願では、端末装置200において実行されるフローチャートは、端末装置200のCPU211がフローチャートに関係するプログラムを読み出して実行することで実現される。 FIG. 8 is a flowchart showing a process when the terminal device 200 prints the designated image on the printing device 300. In the present application, the flowchart executed in the terminal device 200 is realized by the CPU 211 of the terminal device 200 reading and executing a program related to the flowchart.

まず、ユーザは、操作部204からの操作に応じて、画像メモリ220に格納された画像データを選択する。ここで、選択される画像データは単数、複数は問わない。 First, the user selects the image data stored in the image memory 220 in response to the operation from the operation unit 204. Here, the selected image data may be singular or plural.

ユーザは、画像が選択状態の端末装置200を、処理の依頼対象である印刷装置300のNFCユニット306に近づける操作(NFCタッチ操作)を行う。この結果、端末装置200と印刷装置300がNFC通信モードに移行する。なお、NFC通信モードへの移行は、例えば印刷装置300の操作パネルにおいてユーザーが設定することで実現されても良いし、NFCタッチ操作によって自動的に実現されても良い。 The user performs an operation (NFC touch operation) to bring the terminal device 200 in which the image is selected closer to the NFC unit 306 of the printing device 300 to which the processing is requested. As a result, the terminal device 200 and the printing device 300 shift to the NFC communication mode. The transition to the NFC communication mode may be realized by the user setting on the operation panel of the printing apparatus 300, for example, or may be automatically realized by the NFC touch operation.

ステップS802で、端末装置200が、印刷装置300のNFCユニット306から、そのNFCユニット306内のNFCメモリ605にあるNDEFメッセージを受信する。 In step S802, the terminal device 200 receives the NDEF message in the NFC memory 605 in the NFC unit 306 from the NFC unit 306 of the printing device 300.

図7を用いてNFCユニットに保存されているNDEFデータ構造を説明する。NDEFデータとして、ヘッダ部分を構成する第1のNDEFの「Record1」には、NDEFメッセージが何であるかを示すRecordTypeが格納される。具体的は、ハンドオーバー要求用のメッセージであることを示す“Hq(HandoverRequest)”、又は要求への返答メッセージであることを示す”Hs(HandoverSelect)”等がRecord Type内に記入されている。なお、NDEFデータは、近距離無線通信によって通信相手装置に送信されるため近距離無線通信情報と呼ばれることもある。 The NDEF data structure stored in the NFC unit will be described with reference to FIG. 7. As NDEF data, "Record1" of the first NDEF constituting the header portion stores a RecordType indicating what the NDEF message is. Specifically, "Hq (HandoverRequest)" indicating that the message is for a handover request, "Hs (HandoverSelect)" indicating that the message is a response message to the request, and the like are entered in the Record Type. Since the NDEF data is transmitted to the communication partner device by short-range wireless communication, it is sometimes called short-range wireless communication information.

「Record2」は、このパケットがAサービス設定情報であることを示す内容が含まれるRecordTypeと詳細ネットワーク設定情報が含まれるPayload部で構成される。ネットワーク情報には各通信方式に関するパラメータが格納されている。具体的には、印刷装置300が持つ2つのネットワークインターフェースユニット(もしくはネットワークインターフェースカード:NIC)のうち第1のユニットの第1のMACアドレスと、第2のユニットの第2のMACアドレス情報がネットワーク情報に格納される。例えば、有線LAN用のMACアドレスと無線LAN用のMACアドレスがネットワーク情報に格納されている。これにより、端末装置200は印刷装置300が持つ物理インタフェースであるMACアドレス情報をNDEFメッセージから取得することが可能となる。なお、本願では、印刷装置300が有するネットワークインターフェースユニットの個数が2つの例を示しているが、1以上であればよく、この数に特に制限はない。 "Record2" is composed of a RecordType including contents indicating that this packet is A service setting information and a Payload part including detailed network setting information. Parameters related to each communication method are stored in the network information. Specifically, the first MAC address of the first unit and the second MAC address information of the second unit of the two network interface units (or network interface card: NIC) of the printing device 300 are used as a network. Stored in information. For example, the MAC address for the wired LAN and the MAC address for the wireless LAN are stored in the network information. As a result, the terminal device 200 can acquire the MAC address information, which is the physical interface of the printing device 300, from the NDEF message. In this application, the number of network interface units included in the printing apparatus 300 is shown as two examples, but the number may be one or more, and the number is not particularly limited.

さらにPayload部には、ピアツーピア接続情報(以下、「ピアツーピア」を単にP2Pと略す)が格納される。具体的には、WiFiダイレクト等のP2P接続のために必要なSSID、暗号方式、認証方式、ネットワークキー等の情報が格納されている。 Further, peer-to-peer connection information (hereinafter, "peer-to-peer" is simply abbreviated as P2P) is stored in the Payload unit. Specifically, information such as SSID, encryption method, authentication method, network key and the like necessary for P2P connection such as WiFi direct is stored.

一般に、端末装置200と印刷装置300が同一アクセスポイントに接続してない場合、データ通信を行うことができない。これを回避するため、端末装置200は印刷装置300のNDEFメッセージから取得したP2P情報を用いて、端末装置200側の無線ネットワーク設定を変更する。このようにすることで、端末装置200と印刷装置300とで、ピアツーピア通信が確立し、データ通信を行うことができる。 Generally, when the terminal device 200 and the printing device 300 are not connected to the same access point, data communication cannot be performed. In order to avoid this, the terminal device 200 changes the wireless network setting on the terminal device 200 side by using the P2P information acquired from the NDEF message of the printing device 300. By doing so, peer-to-peer communication can be established between the terminal device 200 and the printing device 300, and data communication can be performed.

端末装置200は、NDEFメッセージを受信後、ステップS803で、端末装置200からのデータ受信待ちへのモード移行コマンドを印刷装置300に発行したかを判断する。発行したか否かの情報は、端末装置200のデータメモリ214に記憶しておく。モード移行コマンドを発行していない場合、ステップS804で、NDEFメッセージの第1のMACアドレスが端末装置200と同一ネットワーク上に存在するかを確認(探索)する。第1のMACアドレスが同一ネットワーク上に存在する場合、端末装置200は印刷装置300のIPアドレスを認識することができる(ステップS805)。例えば、IPアドレスを認識するために、ICMPやMulticastDNS等を用いる。そして、ステップS806で、端末装置200は印刷装置300に対して、データ受信待ちへのモード移行コマンドを発行する。 After receiving the NDEF message, the terminal device 200 determines in step S803 whether the mode shift command for waiting for data reception from the terminal device 200 has been issued to the printing device 300. Information on whether or not it has been issued is stored in the data memory 214 of the terminal device 200. When the mode transition command is not issued, in step S804, it is confirmed (searched) whether the first MAC address of the NDEF message exists on the same network as the terminal device 200. When the first MAC address exists on the same network, the terminal device 200 can recognize the IP address of the printing device 300 (step S805). For example, in order to recognize an IP address, ICMP, Multicast DNS, or the like is used. Then, in step S806, the terminal device 200 issues a mode shift command to the printing device 300 to wait for data reception.

また、第1のMACアドレスがネットワーク上で検出できない場合、端末装置200は、ステップS810で第2のMACアドレスが端末装置200と同一ネットワーク上に存在するかを確認する。そこで検出できない場合、端末装置200は、ステップS811で印刷装置300のNFCユニット201から取得したNDEFメッセージに格納されているP2P情報を参照し、端末装置200の通信モードがP2P情報の無線LAN設定と同じかを判定する。判定の一例としては、端末装置200は、印刷装置300が備えるアクセスポイントのSSIDと端末装置200に設定されているSSIDとを比較し、同じか否かを判定する。 If the first MAC address cannot be detected on the network, the terminal device 200 confirms in step S810 whether the second MAC address exists on the same network as the terminal device 200. If it cannot be detected there, the terminal device 200 refers to the P2P information stored in the NDEF message acquired from the NFC unit 201 of the printing device 300 in step S811, and the communication mode of the terminal device 200 is set to the wireless LAN setting of the P2P information. Determine if they are the same. As an example of the determination, the terminal device 200 compares the SSID of the access point included in the printing device 300 with the SSID set in the terminal device 200, and determines whether or not they are the same.

端末装置200の通信モードがP2P情報と一致しない場合、端末装置200は、印刷装置300の通信モードに合わせて、端末装置200の通信モードを変更する(ステップS812)。例えば、端末装置200は、印刷装置300のSSIDを設定する。 When the communication mode of the terminal device 200 does not match the P2P information, the terminal device 200 changes the communication mode of the terminal device 200 according to the communication mode of the printing device 300 (step S812). For example, the terminal device 200 sets the SSID of the printing device 300.

このように、印刷装置300が複数のインタフェースを備える状況で、いずれかひとつのインタフェース情報しか返さない場合、装置を検出できないおそれがある。例えば、有線LANが有効状態であるにも関わらず、無線LANのMACアドレスがNDEFメッセージに格納されていた場合、端末装置200は無線LANのMACアドレスをネットワーク上から探索することとなる。結果的に、端末装置200と印刷装置300が同一ネットワーク上にあったとしても、NFCでタッチした印刷装置300を探索できない。しかしながら、上記処理を行うことで適切に端末装置200と印刷装置300の接続を確立することが可能となる。 As described above, in a situation where the printing device 300 includes a plurality of interfaces, if only one of the interface information is returned, the device may not be detected. For example, if the MAC address of the wireless LAN is stored in the NDEF message even though the wired LAN is enabled, the terminal device 200 searches for the MAC address of the wireless LAN from the network. As a result, even if the terminal device 200 and the printing device 300 are on the same network, the printing device 300 touched by the NFC cannot be searched. However, by performing the above processing, it is possible to appropriately establish the connection between the terminal device 200 and the printing device 300.

ステップS806では、端末装置200は、端末装置からのデータ受信待ちへのモード移行コマンドを印刷装置300に対して発行する。コマンド発行後、ステップS807で、端末装置200は、ユーザーが選択した画像データを印刷装置300が印刷できる形式に変換して、無線LANユニット202を介して印刷装置300に印刷データとして送信する。なお、端末装置200が印刷装置300に無線LANで印刷データを送信するからと言って、印刷装置300が端末装置200から無線LANを介して印刷データを受信するとは限らない。アクセスポイントと接続されている有線LANを介して受信することも起こり得るからである。 In step S806, the terminal device 200 issues a mode shift command to the printing device 300 to wait for data reception from the terminal device. After issuing the command, in step S807, the terminal device 200 converts the image data selected by the user into a format that can be printed by the printing device 300, and transmits the image data to the printing device 300 via the wireless LAN unit 202 as print data. Note that just because the terminal device 200 transmits the print data to the printing device 300 via the wireless LAN does not mean that the printing device 300 receives the print data from the terminal device 200 via the wireless LAN. This is because reception may occur via a wired LAN connected to the access point.

そして、すべての印字データ送信完了後、ステップS808で、端末装置200は、続けて印刷データを送信するかの判定を行う。この判定は、ユーザー操作でもよいし、一定時間操作がないことを判断してもよい。印刷を終了する際、ステップS809で、端末装置200は印刷装置300に対して、データ受信待ちのモードを解除するコマンドを発行する。この結果、端末装置200と印刷装置300の接続は解除される。 Then, after all the print data transmission is completed, in step S808, the terminal device 200 determines whether to continuously transmit the print data. This determination may be a user operation or may be determined that there is no operation for a certain period of time. At the end of printing, in step S809, the terminal device 200 issues a command to the printing device 300 to release the data reception waiting mode. As a result, the connection between the terminal device 200 and the printing device 300 is released.

次に、図9のフローチャートを用いて、印刷装置300が端末装置200から受信した画像を印刷する際の処理を説明する。なお、本願では、印刷装置300において実行されるフローチャートは、印刷装置300のCPU311がフローチャートに関係するプログラムを読み出して実行することで実現される。 Next, the process when the printing device 300 prints the image received from the terminal device 200 will be described with reference to the flowchart of FIG. In the present application, the flowchart executed by the printing apparatus 300 is realized by the CPU 311 of the printing apparatus 300 reading and executing a program related to the flowchart.

まず、ユーザが端末装置200(のNFCユニット201)を、印刷装置300(のNFCユニット306)に近づける操作を行う。この結果、双方のNFCユニットによるNFC通信が開始され、ステップS902で、印刷装置300は、印刷装置のNFCユニット306内のNFCメモリに格納されているNDEFメッセージを端末装置200に転送する。 First, the user performs an operation of bringing the terminal device 200 (NFC unit 201) closer to the printing device 300 (NFC unit 306). As a result, NFC communication by both NFC units is started, and in step S902, the printing device 300 transfers the NDEF message stored in the NFC memory in the NFC unit 306 of the printing device to the terminal device 200.

NDEFメッセージが端末装置200へ転送されると、ステップS903で、印刷装置300は、すでに端末装置200からのデータ受信待ちへのモード移行コマンドを受信しているかを判定する。 When the NDEF message is transferred to the terminal device 200, in step S903, the printing device 300 determines whether or not the mode shift command for waiting for data reception from the terminal device 200 has already been received.

モード移行コマンドを受信していなければ、ステップS904で、印刷装置300は端末装置200からIPプロトコルレベルのリクエストがあるかを判断する。IPプロトコルレベルのリクエストがある場合、すでに端末装置200と印刷装置300は同一ネットワーク上に存在することが確定できるので、印刷装置300は端末装置200から発行されるデータ受信待ちへのモード移行コマンドの受信待ちとなる。 If the mode transition command has not been received, in step S904, the printing device 300 determines whether there is an IP protocol level request from the terminal device 200. When there is an IP protocol level request, it can be determined that the terminal device 200 and the printing device 300 already exist on the same network, so that the printing device 300 is a mode transition command for waiting for data reception issued from the terminal device 200. Waiting for reception.

その後、ステップS905で印刷装置300が端末装置200からのモード移行コマンドを受信する。また、ステップS904でIPプロトコルレベルの通信がないと判断した場合、印刷装置300は、ステップS910で現在の印刷装置300の通信モードをデータメモリ314に記憶(待避)する。そして、印刷装置300は、ステップS911で印刷装置300の通信モードをP2Pモードの通信モードに変更する。その後、端末装置200が、S812の処理を実行することで、印刷装置300が端末装置200と同一ネットワークで接続可能となる。例えば、印刷装置300が、外部のアクセスポイントを用いて通信を行う通信モードで動作している場合、S911によりアクセスポイントを用いて通信を行う通信モードからP2Pモードに通信モードを変更する。 After that, in step S905, the printing device 300 receives the mode transition command from the terminal device 200. If it is determined in step S904 that there is no IP protocol level communication, the printing device 300 stores (saves) the current communication mode of the printing device 300 in the data memory 314 in step S910. Then, the printing device 300 changes the communication mode of the printing device 300 to the communication mode of the P2P mode in step S911. After that, the terminal device 200 executes the process of S812, so that the printing device 300 can be connected to the terminal device 200 on the same network. For example, when the printing device 300 is operating in a communication mode in which communication is performed using an external access point, the communication mode is changed from the communication mode in which communication is performed using the access point to the P2P mode in S911.

ネットワークが確立した後、ステップS907で、印刷装置300は、端末装置200から印字データを受信し、印刷を行う。但し、ネットワークが確立した場合でも、ステップS906で、端末装置200からデータが一定時間送られてこない場合、ステップS909で印刷の通信モードを元に戻す。 After the network is established, in step S907, the printing device 300 receives the print data from the terminal device 200 and prints. However, even if the network is established, if data is not sent from the terminal device 200 for a certain period of time in step S906, the print communication mode is restored in step S909.

印刷後、ステップS908で、印刷装置300は端末装置200からデータ受信待ちへのモード解除待ちのコマンドを受信したかを判断する。解除コマンドを受信した場合、ステップS909で印刷の通信モードを変更していれば、NFCを使った印刷を行う直前の通信モード(つまり、S910いて記憶した通信モード)に戻す。 After printing, in step S908, the printing device 300 determines whether or not a command for waiting for mode release from the terminal device 200 to wait for data reception has been received. When the release command is received, if the print communication mode is changed in step S909, the process returns to the communication mode immediately before printing using NFC (that is, the communication mode stored in S910).

具体的な通信モードを戻す例は以下の通りである。例えば、印刷装置300の無線LANが無効の場合、ステップS910で無線LAN無効状態を記憶し、P2Pモードで印刷を実行し、印刷終了後、無線LAN状態を切断して処理を終了する。つまり、印刷装置300の通信モードが無線LAN無効状態へと変更される。また、印刷装置300の無線LANが有効で、端末装置と同じネットワーク上に場合、通信モードはそのままで印刷処理を行い、印刷終了後ステップS909では、通信モードはそのままの状態を保持する。 An example of returning a specific communication mode is as follows. For example, when the wireless LAN of the printing device 300 is invalid, the wireless LAN invalid state is stored in step S910, printing is executed in the P2P mode, and after the printing is completed, the wireless LAN state is disconnected and the process is completed. That is, the communication mode of the printing device 300 is changed to the wireless LAN invalid state. Further, when the wireless LAN of the printing device 300 is valid and is on the same network as the terminal device, the printing process is performed with the communication mode as it is, and in step S909 after the printing is completed, the communication mode is maintained as it is.

また、印刷装置300の第1、第2のインタフェースのいずれか、もしくは両方が有効状態で、それらが端末装置と同じネットワーク上にない場合、ステップS911で第1、第2のインタフェース状態を記憶する。そして、P2Pモードで印刷を実行し、印刷終了後、第1、第2のインタフェース状態を元に戻して処理を終了する。 If either or both of the first and second interfaces of the printing device 300 are enabled and they are not on the same network as the terminal device, the first and second interface states are stored in step S911. .. Then, printing is executed in the P2P mode, and after the printing is completed, the first and second interface states are restored and the processing is completed.

このように、本実施形態では、ユーザが現在の通信モードを切り替えなくても、端末装置200のNFCタッチ操作によって最適な通信方法が自動的に選択される。ステップS908で一定時間、端末装置200からモード解除待ちのコマンドが送られてこない場合、ステップS912で時間経過をみることで、モード解除待ちのコマンドが一定時間送られてこない場合、通信モードを直前の通信モードに戻すことを可能にする。 As described above, in the present embodiment, the optimum communication method is automatically selected by the NFC touch operation of the terminal device 200 without the user switching the current communication mode. If the command waiting for mode release is not sent from the terminal device 200 for a certain period of time in step S908, and if the command waiting for mode release is not sent for a certain period of time by checking the passage of time in step S912, the communication mode is immediately before. Allows you to return to the communication mode of.

一定時間を計測するためにタイマを用いることになるが、タイマの開始トリガとして、印刷終了後をトリガにしてもよいし、タイマが開始されても、一定時間を経過する前に次の印刷処理が実行されることで、タイマをクリアしてもよい。これ以外にも、操作パネル305での本体操作によって、通信モードを終了させてもよい。こうすることで、ユーザが通信モードを意識することなく、印刷を実行することが可能となる。 A timer will be used to measure a certain period of time, but the timer may be started after the end of printing, or even if the timer is started, the next printing process is performed before the certain time elapses. May be cleared by executing. In addition to this, the communication mode may be terminated by operating the main body on the operation panel 305. By doing so, the user can execute printing without being aware of the communication mode.

[第2の実施形態]
本第2の実施形態でも、ユーザが端末装置200を操作して印刷対象の画像を選択した後、印刷を行うユースケースについて説明する。
[Second Embodiment]
Also in the second embodiment, a use case in which the user operates the terminal device 200 to select an image to be printed and then prints the image will be described.

なお、第1の実施形態との差異は、NFCタッチ操作によって取得するインタフェース情報に有効なMACアドレスを示す情報が含まれる点である。以下、ユーザーが、端末装置200を印刷装置300に対してNFCタッチ操作を行う。そして、端末装置200が、現在有効になっているインタフェース情報を取得し、有効なインタフェースのMACアドレスを使って、選択した画像を印刷装置300で印刷するというユースケースについて説明する。例えば、端末装置200は、有線のMACアドレスと無線のMACアドレスの内、NFCタッチ操作によって現在印刷装置300において有効なMACアドレスを示す情報を取得できる。 The difference from the first embodiment is that the interface information acquired by the NFC touch operation includes information indicating a valid MAC address. Hereinafter, the user performs an NFC touch operation on the printing device 300 with the terminal device 200. Then, a use case in which the terminal device 200 acquires the currently valid interface information and prints the selected image on the printing device 300 using the MAC address of the valid interface will be described. For example, the terminal device 200 can acquire information indicating a MAC address currently valid in the printing device 300 by NFC touch operation among the wired MAC address and the wireless MAC address.

まず、ユーザは、操作部204からの操作に応じて、画像データを選択する。ここで、画像データは複数選択しても良い。 First, the user selects image data according to the operation from the operation unit 204. Here, a plurality of image data may be selected.

ユーザは端末装置200(のNFCユニット201)を印刷装置300(のNFCユニット306)に近づけるNFCタッチ操作を行う。 The user performs an NFC touch operation to bring the terminal device 200 (NFC unit 201) closer to the printing device 300 (NFC unit 306).

この結果、ステップS1002で、端末装置200が印刷装置300のNFCユニット306内のNFCメモリ605にあるNDEFメッセージを受信する。 As a result, in step S1002, the terminal device 200 receives the NDEF message in the NFC memory 605 in the NFC unit 306 of the printing device 300.

端末装置200はNDEFメッセージを受信後、ステップS1003で、端末装置200から印刷装置300へ、データ受信待ちへのモード移行コマンドを発行したかを判断する。発行したか否かの情報は、端末装置200のデータメモリ214に記憶しておく。モード移行コマンドを発行していない場合、ステップS1004で、端末装置200は、NDEFメッセージから取得した現在有効な状態のインタフェース情報を取得する。例えば、端末装置200が、NDEFメッセージに含まれる複数のMACアドレスの内、有効なMACアドレス情報を示す情報を取得することで、S1004を実現できる。ちなみに、有効な状態とは、印刷装置300がネットワーク接続を確立して、IPアドレスが取得可能な状態を指す。 After receiving the NDEF message, the terminal device 200 determines in step S1003 whether or not the mode shift command for waiting for data reception has been issued from the terminal device 200 to the printing device 300. Information on whether or not it has been issued is stored in the data memory 214 of the terminal device 200. When the mode transition command is not issued, in step S1004, the terminal device 200 acquires the interface information in the currently valid state acquired from the NDEF message. For example, S1004 can be realized by the terminal device 200 acquiring information indicating valid MAC address information among a plurality of MAC addresses included in the NDEF message. Incidentally, the valid state refers to a state in which the printing device 300 establishes a network connection and can acquire an IP address.

ステップS1005で、端末装置200は、NDEFメッセージに記述されている、有効状態であるインタフェースのMACアドレスが端末装置200と同一ネットワーク上に存在するかを確認する。ステップS1006でMACアドレスが同一ネットワーク上に存在する場合、端末装置200は印刷装置300のIPアドレスを認識することができる。IPアドレスを検出できない場合、端末装置200は、ステップS1011−1012を行う。なお、S1011−S1012の処理はS811−S812と同じであるため詳細な説明は省略する。また、S1007−S1010の処理は、S806−S809と同じであるため詳細な説明は省略する。 In step S1005, the terminal device 200 confirms whether the MAC address of the interface in the valid state described in the NDEF message exists on the same network as the terminal device 200. When the MAC address exists on the same network in step S1006, the terminal device 200 can recognize the IP address of the printing device 300. If the IP address cannot be detected, the terminal device 200 performs step S1011-1012. Since the processing of S1011-S1012 is the same as that of S811-S812, detailed description thereof will be omitted. Further, since the processing of S1007-S1010 is the same as that of S806-S809, detailed description thereof will be omitted.

本実施形態により、例えば、複数のMACアドレスを用いてブロードキャストにてデバイス探索を行う場合、無効化されているインタフェースのMACアドレスを使ったデバイス探索を防止できる。そのため、本実施形態は、ネットワーク通信負荷を軽減できる。 According to this embodiment, for example, when a device search is performed by broadcasting using a plurality of MAC addresses, it is possible to prevent a device search using the MAC address of the disabled interface. Therefore, this embodiment can reduce the network communication load.

[第3の実施形態]
上記の第1の実施形態において、NDEFメッセージに記憶された第1のインタフェースのMACアドレスと第2のインタフェースのMACアドレスを順番に参照する形態を説明した。第1のインタフェースと第2のインタフェースに優先順位を設けて、どちらを優先的に接続するか判断するための情報をNDEFメッセージに格納させてもよい。端末装置200は読み取ったNDEFメッセージの優先順位をもとに取得したMACアドレスが同一ネットワーク上に存在するかを検出してもよい。
[Third Embodiment]
In the first embodiment described above, a mode in which the MAC address of the first interface and the MAC address of the second interface stored in the NDEF message are referred to in order has been described. The first interface and the second interface may be prioritized, and information for determining which one should be preferentially connected may be stored in the NDEF message. The terminal device 200 may detect whether the acquired MAC address exists on the same network based on the priority of the read NDEF message.

また、実施形態では端末装置200と通信する処理装置は印刷装置(MFP)300として説明したが、処理要求に応える装置であれば特に印刷装置に限定されない。例えば、ネットワークスキャナであても良いし、ネットワークストレージであっても構わない。 Further, in the embodiment, the processing device that communicates with the terminal device 200 has been described as the printing device (MFP) 300, but the device is not particularly limited as long as it is a device that responds to the processing request. For example, it may be a network scanner or a network storage.

[第4の実施形態]
本実施形態では、印刷装置300が、有効なインタフェースに応じてNDEFの情報を書き換える処理について図11を用いて説明する。
[Fourth Embodiment]
In the present embodiment, the process of rewriting the NDEF information according to the effective interface by the printing apparatus 300 will be described with reference to FIG.

印刷装置300は、操作パネル305を用いてユーザーから有効化されるべきインタフェースの選択指示を受け付けたか否かを判定する(S1101)。例えば、印刷装置300は、有線LANと無線LANの内、いずれか一方を有効化する指示を受け付ける。なお、印刷装置300と通信可能な端末装置200が有効化するインタフェースを選択するための選択指示を発行しても良い。その他、印刷装置300と通信可能な情報処理装置が有効化するインタフェースを選択するための指示を発行しても良い。 The printing device 300 determines whether or not the operation panel 305 has received an interface selection instruction to be activated from the user (S1101). For example, the printing device 300 receives an instruction to enable either a wired LAN or a wireless LAN. A selection instruction for selecting an interface enabled by the terminal device 200 capable of communicating with the printing device 300 may be issued. In addition, an instruction for selecting an interface enabled by an information processing device capable of communicating with the printing device 300 may be issued.

S1101において指示を受け付けたと判定された場合、印刷装置300は、ユーザーの指示により有効化されたインタフェースに対応するMACアドレスをNFCユニット600のNFCメモリ605のNDEF内に記述する(S1102)。図7では、印刷装置300が持つ2つのネットワークインターフェースユニット(もしくはNIC)のうち第1のユニットの第1のMACアドレスと、第2のユニットの第2のMACアドレスがネットワーク情報に格納されると記載した。しかしながら、本実施形態では、印刷装置300が、有効化されたインタフェースに対応するMACアドレスのみを図7のネットワーク情報に書き込む。例えば、上記指示によって有線LANが有効化された場合、有線LANのMACアドレスのみが図7のネットワーク情報に記述される。一方、有効化されるインタフェースが有線LANから無線LANに変更された場合、印刷装置300は、図7のネットワーク情報を有線LANのMACアドレスから無線LANのMACアドレスに書き換える。 When it is determined that the instruction has been received in S1101, the printing apparatus 300 describes the MAC address corresponding to the interface enabled by the user's instruction in the NDEF of the NFC memory 605 of the NFC unit 600 (S1102). In FIG. 7, when the first MAC address of the first unit and the second MAC address of the second unit of the two network interface units (or NICs) of the printing device 300 are stored in the network information. Described. However, in this embodiment, the printing device 300 writes only the MAC address corresponding to the enabled interface to the network information of FIG. For example, when the wired LAN is enabled by the above instruction, only the MAC address of the wired LAN is described in the network information of FIG. 7. On the other hand, when the enabled interface is changed from the wired LAN to the wireless LAN, the printing device 300 rewrites the network information in FIG. 7 from the MAC address of the wired LAN to the MAC address of the wireless LAN.

印刷装置300は、NFCタッチ操作を受け付けたか判定する(S1103)。ここでNFCタッチ操作を受け付けたと判定した場合、S902以降の処理へと進む。一方、NFCタッチ操作を受け付けていない場合、S1101へと処理が戻る。なお、S902以降の処理は、図9と同じであるため詳細な記述は省略する。 The printing device 300 determines whether or not the NFC touch operation has been accepted (S1103). If it is determined that the NFC touch operation has been accepted, the process proceeds to S902 and subsequent processes. On the other hand, if the NFC touch operation is not accepted, the process returns to S1101. Since the processing after S902 is the same as that in FIG. 9, detailed description will be omitted.

以上の処理により、端末装置200は、印刷装置300において有効化されているインタフェースのMACアドレスを取得できるため、適切に印刷装置300と接続することが可能となる。 By the above processing, the terminal device 200 can acquire the MAC address of the interface activated in the printing device 300, so that it can be appropriately connected to the printing device 300.

(その他の実施例)
なお、本願では、近距離無線通信の一例としてNFCを用いて説明したが、別の通信方法として、例えばブルートゥース(登録商標)を用いても構わない。また、本願では印刷装置を用いて説明したが、印刷装置とは別の装置としてデジタルカメラや音楽プレイヤーなどを用いても構わない。
(Other Examples)
Although NFC has been described as an example of short-range wireless communication in the present application, Bluetooth (registered trademark) may be used as another communication method. Further, although the description has been made using a printing device in the present application, a digital camera, a music player, or the like may be used as a device different from the printing device.

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

100…ネットワーク、200…端末装置、300…印刷装置 100 ... network, 200 ... terminal device, 300 ... printing device

Claims (30)

有線通信方式に基づく有線通信、第1無線通信方式に基づく第1無線通信および第2無線通信方式に基づく第2無線通信を実行可能な通信装置であって、
前記通信装置の表示部を用いて前記有線通信方式を有効化することが指示されたことに基づいて前記有線通信方式を有効化して前記第無線通信方式を有効化せず、前記通信装置の表示部を用いて前記第無線通信方式を有効化することが指示されたことに基づいて前記第無線通信方式を有効化して前記有線通信方式を有効化しない制御手段と、
前記通信装置と通信相手装置の間で前記第2無線通信が実行され、かつ、前記通信装置の前記第1無線通信方式が有効化されており、かつ、前記通信相手装置が接続しているネットワークに前記通信装置が前記第1無線通信方式によって接続している場合、前記第2無線通信を実行した前記通信相手装置から前記ネットワークを介して印刷データを受信し、
前記通信装置と前記通信相手装置の間で前記第2無線通信が実行され、かつ、前記通信装置の前記第1無線通信方式が有効化されておらず、かつ、前記通信相手装置が接続しているネットワークに前記通信装置が前記第1無線通信方式によって接続していない場合、前記通信装置が通信制御処理を実行することで確立された前記通信相手装置と前記通信装置間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信手段と、
前記印刷データに基づいて印刷処理を実行する印刷制御手段
を備えることを特徴とする通信装置。
A communication device capable of executing wired communication based on a wired communication method, first wireless communication based on a first wireless communication method, and second wireless communication based on a second wireless communication method.
Based on the instruction to enable the wired communication method using the display unit of the communication device, the wired communication method is enabled and the first wireless communication method is not enabled. A control means that enables the first wireless communication method and does not enable the wired communication method based on the instruction to enable the first wireless communication method using the display unit.
A network in which the second wireless communication is executed between the communication device and the communication partner device, the first wireless communication method of the communication device is enabled, and the communication partner device is connected. When the communication device is connected by the first wireless communication method, print data is received from the communication partner device that executed the second wireless communication via the network.
The second wireless communication is executed between the communication device and the communication partner device, the first wireless communication method of the communication device is not enabled, and the communication partner device is connected. When the communication device is not connected to the existing network by the first wireless communication method, the communication device is established by executing the communication control process via the direct connection between the communication partner device and the communication device. A receiving means for receiving print data from the communication partner device , and
A communication device including a print control means for executing a print process based on the print data.
前記第2無線通信方式は、Near Field Communication(NFC)であることを特徴とする請求項1に記載の通信装置。 The communication device according to claim 1, wherein the second wireless communication method is Near Field Communication (NFC). 前記第2無線通信方式は、ブルートゥース(登録商標)であることを特徴とする請求項1に記載の通信装置。 The communication device according to claim 1, wherein the second wireless communication method is Bluetooth (registered trademark). 前記印刷制御手段はインクジェット方式により印刷処理を実行することを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 3, wherein the print control means executes a print process by an inkjet method. 前記ダイレクト接続はWiFiダイレクトであることを特徴とする請求項1乃至のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 4 , wherein the direct connection is WiFi direct. 前記第2無線通信方式によりMACアドレスが前記通信相手装置に送信されることを特徴とする請求項1乃至のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 5 , wherein the MAC address is transmitted to the communication partner device by the second wireless communication method. 前記通信制御処理を実行することで確立された前記通信相手装置と前記通信装置間のダイレクト接続は、前記受信された印刷データに基づく印刷処理の終了後に切断されることを特徴とする請求項1乃至のいずれか1項に記載の通信装置。 1. The direct connection between the communication partner device and the communication device established by executing the communication control process is disconnected after the print process based on the received print data is completed. The communication device according to any one of 6 to 6. 前記表示部はタッチパネルであることを特徴とする請求項1乃至のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 7 , wherein the display unit is a touch panel. 前記第1無線通信方式の通信速度は、前記第2無線通信方式の通信速度よりも速いことを特徴とする請求項1乃至のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 8 , wherein the communication speed of the first wireless communication method is faster than the communication speed of the second wireless communication method. 前記通信装置のSSIDが前記通信相手装置において設定されることにより前記ダイレクト接続が確立されることを特徴とする請求項1乃至9のいずれか1項に記載の通信装置。The communication device according to any one of claims 1 to 9, wherein the direct connection is established by setting the SSID of the communication device in the communication partner device. 有線通信方式に基づく有線通信、第1無線通信方式に基づく第1無線通信および第2無線通信方式に基づく第2無線通信を実行可能な通信装置の制御方法であって、
前記通信装置の表示部を用いて前記有線通信方式を有効化することが指示されたことに基づいて前記有線通信方式を有効化して前記第無線通信方式を有効化せず、前記通信装置の表示部を用いて前記第無線通信方式を有効化することが指示されたことに基づいて前記第無線通信方式を有効化して前記有線通信方式を有効化しない制御工程と、
前記通信装置と通信相手装置の間で前記第2無線通信が実行され、かつ、前記通信装置の前記第1無線通信方式が有効化されており、かつ、前記通信相手装置が接続しているネットワークに前記通信装置が前記第1無線通信方式によって接続している場合、前記第2無線通信を実行した前記通信相手装置から前記ネットワークを介して印刷データを受信し、
前記通信装置と前記通信相手装置の間で前記第2無線通信が実行され、かつ、前記通信装置の前記第1無線通信方式が有効化されておらず、かつ、前記通信相手装置が接続しているネットワークに前記通信装置が前記第1無線通信方式によって接続していない場合、前記通信装置が通信制御処理を実行することで確立された前記通信相手装置と前記通信装置間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信工程と、
前記印刷データに基づいて印刷処理を実行する印刷制御工程
を備えることを特徴とする通信装置の制御方法。
It is a control method of a communication device capable of executing wired communication based on a wired communication method, first wireless communication based on a first wireless communication method, and second wireless communication based on a second wireless communication method.
Based on the instruction to enable the wired communication method using the display unit of the communication device, the wired communication method is enabled and the first wireless communication method is not enabled. A control step of enabling the first wireless communication method and not enabling the wired communication method based on the instruction to enable the first wireless communication method using the display unit.
A network in which the second wireless communication is executed between the communication device and the communication partner device, the first wireless communication method of the communication device is enabled, and the communication partner device is connected. When the communication device is connected by the first wireless communication method, print data is received from the communication partner device that executed the second wireless communication via the network.
The second wireless communication is executed between the communication device and the communication partner device, the first wireless communication method of the communication device is not enabled, and the communication partner device is connected. When the communication device is not connected to the existing network by the first wireless communication method, the communication device is established by executing the communication control process via the direct connection between the communication partner device and the communication device. A receiving process for receiving print data from the communication partner device , and
A method for controlling a communication device, which comprises a print control step for executing a print process based on the print data.
前記第2無線通信方式は、Near Field Communication(NFC)であることを特徴とする請求項11に記載の通信装置の制御方法。 The method for controlling a communication device according to claim 11, wherein the second wireless communication method is Near Field Communication (NFC). 前記第2無線通信方式は、ブルートゥース(登録商標)であることを特徴とする請求項11に記載の通信装置の制御方法。 The method for controlling a communication device according to claim 11, wherein the second wireless communication method is Bluetooth (registered trademark). 前記印刷制御工程はインクジェット方式により印刷処理を実行することを特徴とする請求項11乃至13のいずれか1項に記載の通信装置の制御方法。 The method for controlling a communication device according to any one of claims 11 to 13, wherein the print control step executes a print process by an inkjet method. 前記ダイレクト接続はWiFiダイレクトであることを特徴とする請求項11乃至14のいずれか1項に記載の通信装置の制御方法。 The method for controlling a communication device according to any one of claims 11 to 14 , wherein the direct connection is WiFi direct. 前記第2無線通信方式によりMACアドレスが前記通信相手装置に送信されることを特徴とする請求項11乃至15のいずれか1項に記載の通信装置の制御方法。 The method for controlling a communication device according to any one of claims 11 to 15 , wherein the MAC address is transmitted to the communication partner device by the second wireless communication method. 前記通信制御処理を実行することで確立された前記通信相手装置と前記通信装置間のダイレクト接続は、前記受信された印刷データに基づく印刷処理の終了後に切断されることを特徴とする請求項11乃至16のいずれか1項に記載の通信装置の制御方法。 11. The direct connection between the communication partner device and the communication device established by executing the communication control process is disconnected after the print process based on the received print data is completed. 16. The method for controlling a communication device according to any one of 16. 前記表示部はタッチパネルであることを特徴とする請求項11乃至17のいずれか1項に記載の通信装置の制御方法。 The method for controlling a communication device according to any one of claims 11 to 17 , wherein the display unit is a touch panel. 前記第1無線通信方式の通信速度は、前記第2無線通信方式の通信速度よりも速いことを特徴とする請求項11乃至18のいずれか1項に記載の通信装置の制御方法。 The control method for a communication device according to any one of claims 11 to 18 , wherein the communication speed of the first wireless communication method is faster than the communication speed of the second wireless communication method. 前記通信装置のSSIDが前記通信相手装置において設定されることにより前記ダイレクト接続が確立されることを特徴とする請求項11乃至19のいずれか1項に記載の通信装置の制御方法。The method for controlling a communication device according to any one of claims 11 to 19, wherein the direct connection is established by setting the SSID of the communication device in the communication partner device. 有線通信方式に基づく有線通信、第1無線通信方式に基づく第1無線通信および第2無線通信方式に基づく第2無線通信を実行可能な通信装置のコンピュータが読み込み実行するプログラムであって、前記コンピュータに、
前記通信装置の表示部を用いて前記有線通信方式を有効化することが指示されたことに基づいて前記有線通信方式を有効化して前記第無線通信方式を有効化せず、前記通信装置の表示部を用いて前記第無線通信方式を有効化することが指示されたことに基づいて前記第無線通信方式を有効化して前記有線通信方式を有効化しない制御工程と、
前記通信装置と通信相手装置の間で前記第2無線通信が実行され、かつ、前記通信装置の前記第1無線通信方式が有効化されており、かつ、前記通信相手装置が接続しているネットワークに前記通信装置が前記第1無線通信方式によって接続している場合、前記第2無線通信を実行した前記通信相手装置から前記ネットワークを介して印刷データを受信し、
前記通信装置と前記通信相手装置の間で前記第2無線通信が実行され、かつ、前記通信装置の前記第1無線通信方式が有効化されておらず、かつ、前記通信相手装置が接続しているネットワークに前記通信装置が前記第1無線通信方式によって接続していない場合、前記通信装置が通信制御処理を実行することで確立された前記通信相手装置と前記通信装置間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信工程と、
前記印刷データに基づいて印刷処理を実行する印刷制御工程
を実行させるためのプログラム。
A program read and executed by a computer of a communication device capable of executing wired communication based on a wired communication method, first wireless communication based on a first wireless communication method, and second wireless communication based on a second wireless communication method. To,
Based on the instruction to enable the wired communication method using the display unit of the communication device, the wired communication method is enabled and the first wireless communication method is not enabled. A control step of enabling the first wireless communication method and not enabling the wired communication method based on the instruction to enable the first wireless communication method using the display unit.
A network in which the second wireless communication is executed between the communication device and the communication partner device, the first wireless communication method of the communication device is enabled, and the communication partner device is connected. When the communication device is connected by the first wireless communication method, print data is received from the communication partner device that executed the second wireless communication via the network.
The second wireless communication is executed between the communication device and the communication partner device, the first wireless communication method of the communication device is not enabled, and the communication partner device is connected. When the communication device is not connected to the existing network by the first wireless communication method, the communication device is established by executing the communication control process via the direct connection between the communication partner device and the communication device. A receiving process for receiving print data from the communication partner device , and
A program for executing a print control process that executes a print process based on the print data.
前記第2無線通信方式は、Near Field Communication(NFC)であることを特徴とする請求項21に記載のプログラム。 The program according to claim 21, wherein the second wireless communication system is Near Field Communication (NFC). 前記第2無線通信方式は、ブルートゥース(登録商標)であることを特徴とする請求項21に記載のプログラム。 The program according to claim 21, wherein the second wireless communication system is Bluetooth (registered trademark). 前記印刷制御工程はインクジェット方式により印刷処理を実行することを特徴とする請求項21乃至23のいずれか1項に記載のプログラム。 The program according to any one of claims 21 to 23, wherein the print control step executes a print process by an inkjet method. 前記ダイレクト接続はWiFiダイレクトであることを特徴とする請求項21乃至24のいずれか1項に記載のプログラム。 The program according to any one of claims 21 to 24 , wherein the direct connection is WiFi direct. 前記第2無線通信方式によりMACアドレスが前記通信相手装置に送信されることを特徴とする請求項21乃至25のいずれか1項に記載のプログラム。 The program according to any one of claims 21 to 25 , wherein the MAC address is transmitted to the communication partner device by the second wireless communication method. 前記通信制御処理を実行することで確立された前記通信相手装置と前記通信装置間のダイレクト接続は、前記受信された印刷データに基づく印刷処理の終了後に切断されることを特徴とする請求項21乃至26のいずれか1項に記載のプログラム。 21. The direct connection between the communication partner device and the communication device established by executing the communication control process is disconnected after the print process based on the received print data is completed. The program according to any one of 26 to 26. 前記表示部はタッチパネルであることを特徴とする請求項21乃至27のいずれか1項に記載のプログラム。 The program according to any one of claims 21 to 27 , wherein the display unit is a touch panel. 前記第1無線通信方式の通信速度は、前記第2無線通信方式の通信速度よりも速いことを特徴とする請求項21乃至28のいずれか1項に記載のプログラム。 The program according to any one of claims 21 to 28 , wherein the communication speed of the first wireless communication method is faster than the communication speed of the second wireless communication method. 前記通信装置のSSIDが前記通信相手装置において設定されることにより前記ダイレクト接続が確立されることを特徴とする請求項21乃至29のいずれか1項に記載のプログラム。The program according to any one of claims 21 to 29, wherein the direct connection is established by setting the SSID of the communication device in the communication partner device.
JP2019210607A 2019-11-21 2019-11-21 Communication equipment and its control method and program Active JP6869314B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2019210607A JP6869314B2 (en) 2019-11-21 2019-11-21 Communication equipment and its control method and program
JP2021058511A JP7146009B2 (en) 2019-11-21 2021-03-30 Communication device and program
JP2022149543A JP2022177196A (en) 2019-11-21 2022-09-20 Communication device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019210607A JP6869314B2 (en) 2019-11-21 2019-11-21 Communication equipment and its control method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018157499A Division JP6622874B2 (en) 2018-08-24 2018-08-24 Printing apparatus, control method therefor, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2021058511A Division JP7146009B2 (en) 2019-11-21 2021-03-30 Communication device and program

Publications (2)

Publication Number Publication Date
JP2020043595A JP2020043595A (en) 2020-03-19
JP6869314B2 true JP6869314B2 (en) 2021-05-12

Family

ID=69798878

Family Applications (3)

Application Number Title Priority Date Filing Date
JP2019210607A Active JP6869314B2 (en) 2019-11-21 2019-11-21 Communication equipment and its control method and program
JP2021058511A Active JP7146009B2 (en) 2019-11-21 2021-03-30 Communication device and program
JP2022149543A Pending JP2022177196A (en) 2019-11-21 2022-09-20 Communication device and program

Family Applications After (2)

Application Number Title Priority Date Filing Date
JP2021058511A Active JP7146009B2 (en) 2019-11-21 2021-03-30 Communication device and program
JP2022149543A Pending JP2022177196A (en) 2019-11-21 2022-09-20 Communication device and program

Country Status (1)

Country Link
JP (3) JP6869314B2 (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4506856B2 (en) * 2008-03-10 2010-07-21 ソニー株式会社 Communication apparatus and communication method
US8942626B2 (en) * 2010-02-26 2015-01-27 Lg Electronics Inc. Electronic device and method for operating an electronic device
KR101850825B1 (en) * 2011-07-20 2018-05-31 엘지전자 주식회사 Mobile terminal and control method therof
KR102005810B1 (en) * 2011-07-25 2019-10-08 엘지전자 주식회사 Electronic device and method for operating electronic device
JP5941300B2 (en) * 2012-03-05 2016-06-29 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and program
JP5966527B2 (en) * 2012-03-30 2016-08-10 ブラザー工業株式会社 Communication device
JP5929590B2 (en) * 2012-07-27 2016-06-08 ブラザー工業株式会社 Communication device
JP6011247B2 (en) * 2012-10-29 2016-10-19 ブラザー工業株式会社 Image processing system, image processing apparatus, and information processing apparatus
ITTO20121070A1 (en) * 2012-12-13 2014-06-14 Istituto Superiore Mario Boella Sul Le Tecnologie WIRELESS COMMUNICATION SYSTEM WITH SHORT RADIUS INCLUDING A SHORT-COMMUNICATION SENSOR AND A MOBILE TERMINAL WITH IMPROVED FUNCTIONALITY AND RELATIVE METHOD

Also Published As

Publication number Publication date
JP2020043595A (en) 2020-03-19
JP7146009B2 (en) 2022-10-03
JP2022177196A (en) 2022-11-30
JP2021119664A (en) 2021-08-12

Similar Documents

Publication Publication Date Title
JP6401523B2 (en) COMMUNICATION DEVICE, TERMINAL DEVICE, ITS CONTROL METHOD AND PROGRAM, AND NETWORK PROCESSING SYSTEM
EP2637092B1 (en) Information processing apparatus, control method of information processing apparatus, and program thereof
CN108377458B (en) Wireless communication device, control method thereof, and recording medium
KR20180039026A (en) Communication apparatus, control method, and storage medium
KR101774289B1 (en) Communication apparatus, control method of communication apparatus, communication system, and program
JP2017085447A (en) Wireless network connectable terminal device and program
KR102162568B1 (en) Communication apparatus, control method for the same, and recording medium
JP2015032037A (en) Network system, mobile terminal, information processing device, and control method
JP7302050B2 (en) Communication device, control method and program
JP6869314B2 (en) Communication equipment and its control method and program
JP6622874B2 (en) Printing apparatus, control method therefor, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201009

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201208

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210413

R151 Written notification of patent or utility model registration

Ref document number: 6869314

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151