JP2016143167A - Communication equipment - Google Patents

Communication equipment Download PDF

Info

Publication number
JP2016143167A
JP2016143167A JP2015017411A JP2015017411A JP2016143167A JP 2016143167 A JP2016143167 A JP 2016143167A JP 2015017411 A JP2015017411 A JP 2015017411A JP 2015017411 A JP2015017411 A JP 2015017411A JP 2016143167 A JP2016143167 A JP 2016143167A
Authority
JP
Japan
Prior art keywords
communication
external device
communication device
authentication
wireless connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015017411A
Other languages
Japanese (ja)
Other versions
JP6458512B2 (en
Inventor
柴田 寛
Hiroshi Shibata
寛 柴田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2015017411A priority Critical patent/JP6458512B2/en
Publication of JP2016143167A publication Critical patent/JP2016143167A/en
Application granted granted Critical
Publication of JP6458512B2 publication Critical patent/JP6458512B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technique capable of executing proper processing considering security of communication equipment and convenience of a user of external equipment in accordance with the situation of the communication equipment when the communication equipment receives a radio connection request from the external equipment.SOLUTION: When receiving a Probe Req. signal from terminal equipment 70 (T212), a printer PR determines that a radio connection refusal flag 40 indicates ON, a high security condition is satisfied and the terminal equipment 70 is not registered equipment. The printer PR does not establish radio connection with the terminal equipment 70 (T214).SELECTED DRAWING: Figure 9

Description

本明細書では、外部機器との無線接続を確立可能な通信機器を開示する。   The present specification discloses a communication device capable of establishing a wireless connection with an external device.

特許文献1には、多機能機と、ネットワークに所属する外部装置と、が開示されている。多機能機は、外部装置との接続を確立して上記のネットワークに所属した後に、上記のネットワークを利用して、外部装置から、多機能機の機能実行のためのパケットを受信する。多機能機は、上記のネットワークの種類(即ち、有線ネットワーク、Local Area Network、Personal Area Network)に応じて、受信済みのパケットによって示される機能を実行するのか否かを判断する。   Patent Document 1 discloses a multi-function device and an external device belonging to a network. The multi-function device establishes a connection with the external device and belongs to the network, and then receives a packet for executing the function of the multi-function device from the external device using the network. The multi-function device determines whether or not to execute the function indicated by the received packet according to the type of network (that is, wired network, Local Area Network, Personal Area Network).

特開2011−054135号公報JP 2011-054135 A 特開2006−094004号公報JP 2006-094004 A

特許文献1の技術では、ネットワークの種類のみに応じて、機能が制限される。これにより、多機能機のセキュリティが維持され得る。しかしながら、ネットワークの種類のみに応じて機能が制限されてしまうために、多機能機の利用が許可されてもよい状況でも、多機能機の利用が許可されない場合があった。このため、多機能機のセキュリティを維持しつつ、外部機器のユーザの利便性を満たすための手法が要望されていた。本明細書では、通信機器が、外部機器から無線接続要求を受信する場合に、通信機器の状況に応じて、通信機器のセキュリティと外部機器のユーザの利便性とが考慮された適切な処理を実行し得る技術を提供する。   In the technique of Patent Document 1, the function is limited only according to the type of network. Thereby, the security of the multi-function device can be maintained. However, since the function is limited only in accordance with the type of network, the use of the multi-function device may not be permitted even in a situation where the use of the multi-function device may be permitted. Therefore, there has been a demand for a method for satisfying the convenience of the user of the external device while maintaining the security of the multi-function device. In this specification, when a communication device receives a wireless connection request from an external device, an appropriate process that considers the security of the communication device and the convenience of the user of the external device is performed according to the status of the communication device. Provide technology that can be implemented.

本明細書によって開示される通信機器は、要求受信部と、第1の決定部と、所定処理実行部と、を備える。要求受信部は、外部機器から無線接続要求を受信する。第1の決定部は、外部機器から無線接続要求が受信される場合に、通信機器と外部機器との間の無線接続を利用した特定の通信処理の実行を外部機器に許容するのか否かを決定する。所定処理実行部は、決定の結果に応じた所定処理を実行する。第1の決定部は、予め決められている高セキュリティ条件が満たされない状況では、無線接続要求に含まれる機器識別情報が通信機器のメモリに記憶されているか否かに関わらず、特定の通信処理の実行を外部機器に許容することを決定し、高セキュリティ条件が満たされており、かつ、機器識別情報がメモリに記憶されている状況では、特定の通信処理の実行を外部機器に許容することを決定し、高セキュリティ条件が満たされており、かつ、機器識別情報がメモリに記憶されていない状況では、特定の通信処理の実行を外部機器に許容しないことを決定する。高セキュリティ条件は、(1)通信機器が、通信機器とは異なる認証サーバを備えるネットワークに所属していること、(2)通信機器が、通信機器とは異なるプロキシサーバを備えるネットワークに所属していること、(3)通信機器が、通信機器とは異なるIPアドレス割当サーバを備えるネットワークに所属しており、かつ、通信機器が、IPアドレス割当サーバから、ネットワークに所定のサーバが所属していることに関係する所属関係情報を受信済みであること、及び、(4)前記通信機器が、前記通信機器の各ユーザに対応する各機能情報に従って、前記各ユーザが利用可能な前記通信機器の機能を制限すべき状況であること、のうちの少なくとも1個の条件を含む。   The communication device disclosed in the present specification includes a request reception unit, a first determination unit, and a predetermined process execution unit. The request receiving unit receives a wireless connection request from an external device. The first determination unit determines whether or not to allow the external device to execute a specific communication process using the wireless connection between the communication device and the external device when a wireless connection request is received from the external device. decide. The predetermined process execution unit executes a predetermined process according to the determination result. In a situation where the predetermined high security condition is not satisfied, the first determination unit performs a specific communication process regardless of whether the device identification information included in the wireless connection request is stored in the memory of the communication device. In the situation where high security conditions are satisfied and the device identification information is stored in the memory, the external device must be allowed to execute a specific communication process. In a situation where the high security condition is satisfied and the device identification information is not stored in the memory, it is determined that the external device is not allowed to execute the specific communication process. The high security condition is that (1) the communication device belongs to a network having an authentication server different from the communication device, and (2) the communication device belongs to a network having a proxy server different from the communication device. (3) The communication device belongs to a network including an IP address assignment server different from the communication device, and the communication device belongs to the network from the IP address assignment server. And (4) the function of the communication device that can be used by each user according to each function information corresponding to each user of the communication device. Including at least one of the following conditions.

上記の構成によると、通信機器は、外部機器から無線接続要求を受信する場合に、特定の通信処理の実行を外部機器に許容するのか否かを決定する。具体的には、通信機器は、高セキュリティ条件が満たされない状況、即ち、通信機器のセキュリティを維持する必要性が低い状況では、機器識別情報が通信機器のメモリに記憶されているか否かに関わらず、特定の通信処理の実行を外部機器に許容することを決定する。通信機器のセキュリティを維持する必要性が低いために、外部機器による上記の特定の通信処理の実行を制限する必要がない。そのため、外部機器のユーザの利便性を向上させ得る。一方、通信機器は、高セキュリティ条件が満たされる状況、即ち、通信機器のセキュリティを維持する必要性が高い状況では、外部機器の機器識別情報がメモリに記憶されているか否かに応じて、特定の通信処理の実行を外部機器に許容するのか否かを決定する。具体的には、通信機器は、外部機器の機器識別情報がメモリに記憶されている状況、即ち、外部機器が高い信頼性を有する機器である状況では、特定の通信処理の実行を外部機器に許容する。これにより、通信機器のセキュリティを維持しつつ、外部機器のユーザの利便性を向上させ得る。また、通信機器は、外部機器の機器識別情報がメモリに記憶されていない状況、即ち、外部機器が高い信頼性を有する機器であるのか否かが不明である状況では、特定の通信処理の実行を外部機器に許容しない。これにより、通信機器のセキュリティを維持することができる。   According to the above configuration, when receiving a wireless connection request from an external device, the communication device determines whether to allow the external device to execute a specific communication process. Specifically, in a situation where the high security condition is not satisfied, that is, in a situation where the necessity of maintaining the security of the communication equipment is low, the communication equipment is involved in whether or not the equipment identification information is stored in the memory of the communication equipment. First, it is determined that the external device is allowed to execute a specific communication process. Since the necessity of maintaining the security of the communication device is low, it is not necessary to limit the execution of the specific communication process by the external device. Therefore, the convenience of the user of the external device can be improved. On the other hand, in situations where high security conditions are met, that is, in situations where it is highly necessary to maintain the security of the communication device, the communication device is identified depending on whether the device identification information of the external device is stored in the memory. It is determined whether or not the external device is allowed to execute the communication process. Specifically, in a situation where the device identification information of the external device is stored in the memory, that is, in a situation where the external device is a highly reliable device, execution of a specific communication process is made to the external device. Allow. This can improve the convenience of the user of the external device while maintaining the security of the communication device. The communication device executes a specific communication process in a situation where the device identification information of the external device is not stored in the memory, that is, whether or not the external device is a highly reliable device. Is not allowed to external equipment. Thereby, the security of the communication device can be maintained.

上記の通信機器を実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを記憶するコンピュータ読取可能記録媒体も、新規で有用である。また、上記の通信機器と外部機器とを備える通信システムも、新規で有用である。   A control method, a computer program, and a computer-readable recording medium storing the computer program for realizing the communication device are also novel and useful. A communication system including the communication device and the external device is also new and useful.

通信システムの構成を示す。1 shows a configuration of a communication system. 無線接続処理のフローチャートを示す。The flowchart of a wireless connection process is shown. 機能制御処理のフローチャートを示す。The flowchart of a function control process is shown. 様々な状況に応じたプリンタの動作を示す。The operation of the printer according to various situations is shown. 様々な状況に応じたプリンタの動作を示す。The operation of the printer according to various situations is shown. 通知処理のフローチャートを示す。The flowchart of a notification process is shown. 高セキュリティ条件が満たされないケースAのシーケンス図を示す。The sequence diagram of case A where the high security condition is not satisfied is shown. 端末機器の認証が失敗するケースBのシーケンス図を示す。The sequence diagram of case B where authentication of a terminal device fails is shown. 未登録機器との無線接続が確立されないケースCのシーケンス図を示す。The sequence diagram of case C in which the wireless connection with an unregistered apparatus is not established is shown. 端末機器の認証が成功するケースDのシーケンス図を示す。The sequence diagram of case D in which authentication of a terminal device is successful is shown. 通知画面が表示されるケースEのシーケンス図を示す。A sequence diagram of case E in which a notification screen is displayed is shown.

(実施例)
(システム構成;図1)
図1には、有線ネットワークが示されている。以下では、「ネットワーク」のことを「NW」と呼ぶことがある。有線NWは、端末機器90を備える。有線NWは、さらに、認証サーバ100、プロキシサーバ110、NetBIOS Nameサーバ120、SNTP(Simple Network Time Protocolの略)サーバ130、及び、DHCP(Dynamic Host Configuration Protocolの略)サーバ140のうちの少なくとも1個を備え得る。プリンタPRは、有線NWに所属し得る。また、プリンタPRは、複数個の端末機器70,80のそれぞれとの無線接続を確立し得る。
(Example)
(System configuration: Fig. 1)
FIG. 1 shows a wired network. Hereinafter, the “network” may be referred to as “NW”. The wired NW includes a terminal device 90. The wired network further includes at least one of the authentication server 100, the proxy server 110, the NetBIOS Name server 120, the SNTP (abbreviation of Simple Network Time Protocol) server 130, and the DHCP (abbreviation of Dynamic Host Configuration Protocol) server 140. Can be provided. The printer PR can belong to the wired NW. Further, the printer PR can establish a wireless connection with each of the plurality of terminal devices 70 and 80.

(認証サーバ100の構成)
認証サーバ100は、機器(例えばプリンタPR)の認証を実行するためのサーバである。認証サーバ100において認証が成功した機器のみが、認証サーバ100を備える有線NWに所属することができる。換言すると、認証サーバ100を備える有線NWの管理者は、比較的に高いセキュリティ意識を有するといえる。
(Configuration of authentication server 100)
The authentication server 100 is a server for executing authentication of a device (for example, a printer PR). Only devices that have been successfully authenticated in the authentication server 100 can belong to a wired NW including the authentication server 100. In other words, it can be said that the manager of the wired NW provided with the authentication server 100 has a relatively high security awareness.

認証サーバ100を備える有線NWの管理者は、対象機器のための認証情報(即ちユーザIDとパスワード)を認証サーバ100に登録する。そして、対象機器のユーザ(上記の管理者でもよいし他の者でもよい)は、対象機器の有線I/Fに有線ケーブル4を接続し、次いで、認証情報を対象機器に入力する。この場合、対象機器は、有線I/F20を介して認証情報を認証サーバ100に送信して、対象機器の認証を認証サーバ100に実行させる。認証サーバ100は、対象機器から受信された認証情報に一致する認証情報が認証サーバ100に登録されている場合に、認証が成功したことを示す成功通知を対象機器に送信する。この場合、対象機器は、認証サーバ100を備える有線NWに所属することができる。   The administrator of the wired NW provided with the authentication server 100 registers authentication information (ie, user ID and password) for the target device in the authentication server 100. Then, the user of the target device (which may be the above-mentioned administrator or another person) connects the wired cable 4 to the wired I / F of the target device, and then inputs authentication information to the target device. In this case, the target device transmits authentication information to the authentication server 100 via the wired I / F 20 and causes the authentication server 100 to execute authentication of the target device. When the authentication information that matches the authentication information received from the target device is registered in the authentication server 100, the authentication server 100 transmits a success notification indicating that the authentication is successful to the target device. In this case, the target device can belong to a wired NW including the authentication server 100.

(プロキシサーバ110の構成)
プロキシサーバ110は、有線NWに所属する対象機器と、有線NWの外部に存在する機器(例えばインターネット上の機器)と、の間の通信を中継する中継サーバである。例えば、プロキシサーバ110は、有線NWに所属する対象機器から有線NWの外部に存在する機器にパケットが送信されるべき際に、当該パケット内の送信元識別情報(例えば対象機器のIPアドレス等)をプロキシサーバ110の識別情報に変更して、当該パケットを有線NWの外部に送信する。これより、有線NWの外部においてパケット内の送信元識別情報が参照されても、対象機器を特定するのが困難であり、この結果、対象機器が有線NWの外部から不正にアクセスされるのを抑制することができる。換言すると、プロキシサーバ110を備える有線NWの管理者は、比較的に高いセキュリティ意識を有するといえる。
(Configuration of proxy server 110)
The proxy server 110 is a relay server that relays communication between a target device belonging to the wired NW and a device (for example, a device on the Internet) existing outside the wired NW. For example, when a packet is to be transmitted from a target device belonging to a wired NW to a device existing outside the wired NW, the proxy server 110 transmits source identification information (for example, an IP address of the target device) in the packet To the identification information of the proxy server 110, and the packet is transmitted outside the wired NW. As a result, even if the source identification information in the packet is referenced outside the wired NW, it is difficult to specify the target device, and as a result, the target device is illegally accessed from outside the wired NW. Can be suppressed. In other words, it can be said that the manager of the wired NW provided with the proxy server 110 has a relatively high security awareness.

(NetBIOS Nameサーバ120の構成)
NetBIOS Nameサーバ120は、名前解決のために利用されるNetBIOS Nameを割り当てるためのサーバである。具体的には、NetBIOS Nameサーバ120は、有線NWに所属する各機器にNetBIOS Nameを割り当てる。NetBIOS Nameサーバ120を備える有線NWは、多数の機器が所属する比較的に大規模な有線NWである可能性が高い。比較的に大規模な有線NWの管理者は、通常、高いセキュリティ意識を有する。
(Configuration of NetBIOS Name server 120)
The NetBIOS Name server 120 is a server for assigning a NetBIOS Name used for name resolution. Specifically, the NetBIOS Name server 120 assigns a NetBIOS Name to each device belonging to the wired NW. The wired NW provided with the NetBIOS Name server 120 is likely to be a relatively large-scale wired NW to which many devices belong. An administrator of a relatively large wired NW usually has a high security awareness.

(SNTPサーバ130の構成)
SNTPサーバ130は、時刻を管理するためのサーバである。具体的には、SNTPサーバ130は、有線NWに所属する各機器から時刻問合信号を受信して、現在の時刻を示す時刻情報を各機器に送信する。これにより、各機器は、時刻情報によって示される時刻を利用することができる。即ち、SNTPサーバ130は、各機器で利用される時刻を同期させることができる。SNTPサーバ130を備える有線NWでは、各機器で正確な時刻が利用されるべき比較的に高いセキュリティを有する認証方式を採用可能である。また、当該有線NWでは、正確な時刻を利用してアクセスログを記録することができるので、当該有線NW内の通信を適切に監視することができる。従って、SNTPサーバ130を備える有線NWでは、セキュリティが比較的高く維持されている可能性が高い。換言すると、SNTPサーバ130を備える有線NWの管理者は、比較的に高いセキュリティ意識を有するといえる。
(Configuration of SNTP server 130)
The SNTP server 130 is a server for managing time. Specifically, the SNTP server 130 receives a time inquiry signal from each device belonging to the wired NW, and transmits time information indicating the current time to each device. Thus, each device can use the time indicated by the time information. That is, the SNTP server 130 can synchronize the time used by each device. In the wired NW provided with the SNTP server 130, it is possible to adopt an authentication method having a relatively high security in which accurate time should be used in each device. Also, since the wired NW can record an access log using an accurate time, communication within the wired NW can be appropriately monitored. Therefore, in the wired NW provided with the SNTP server 130, there is a high possibility that the security is maintained relatively high. In other words, it can be said that the manager of the wired NW provided with the SNTP server 130 has a relatively high security awareness.

(DHCPサーバ140の構成)
DHCPサーバ140は、有線NWに所属する各機器にIPアドレスを割り当てるためのサーバである。各機器は、IPアドレス以外にも、DHCPサーバ140から様々な情報を受信し得る。例えば、NetBIOS Nameサーバ120とDHCPサーバ140とを備える有線NWに所属している各機器は、DHCPサーバ140から、NetBIOS Nameサーバ120に関係する関係情報(即ちNetBIOS Nameサーバ120を識別する識別情報等)を受信し得る。換言すると、DHCPサーバ140から当該関係情報が受信されることは、有線NWがNetBIOS Nameサーバ120を備えることを意味する。
(Configuration of DHCP server 140)
The DHCP server 140 is a server for assigning an IP address to each device belonging to the wired NW. Each device can receive various information from the DHCP server 140 in addition to the IP address. For example, each device belonging to the wired network provided with the NetBIOS Name server 120 and the DHCP server 140 receives from the DHCP server 140 related information related to the NetBIOS Name server 120 (that is, identification information for identifying the NetBIOS Name server 120, etc.) ). In other words, receiving the relevant information from the DHCP server 140 means that the wired NW includes the NetBIOS Name server 120.

また、例えば、SNTPサーバ130とDHCPサーバ140とを備える有線NWに所属している各機器は、DHCPサーバ140から、SNTPサーバ130に関係する関係情報(即ちSNTPサーバ130を識別する識別情報等)を受信し得る。換言すると、DHCPサーバ140から当該関係情報が受信されることは、有線NWがSNTPサーバ130を備えることを意味する。   In addition, for example, each device belonging to a wired network provided with the SNTP server 130 and the DHCP server 140 is related information related to the SNTP server 130 from the DHCP server 140 (that is, identification information for identifying the SNTP server 130, etc.). Can receive. In other words, receiving the relevant information from the DHCP server 140 means that the wired NW includes the SNTP server 130.

また、例えば、プロキシサーバ110とDHCPサーバ140とを備える有線NWに所属している各機器は、DHCPサーバ140から、WPAD(Web Proxy Auto-Discovery Protocolの略)情報を受信し得る。WPAD情報は、プロキシ設定を自動化するためのプロトコルに関係する情報である。DHCPサーバ140からWPAD情報が受信されることは、有線NWがプロキシサーバ110を備えることを意味する。   Further, for example, each device belonging to a wired NW including the proxy server 110 and the DHCP server 140 can receive WPAD (abbreviation of Web Proxy Auto-Discovery Protocol) information from the DHCP server 140. The WPAD information is information related to a protocol for automating proxy settings. The reception of WPAD information from the DHCP server 140 means that the wired NW includes the proxy server 110.

(プリンタPRの構成)
プリンタPRは、印刷機能を実行可能な周辺機器(即ち端末機器70,80,90等の周辺機器)である。プリンタPRは、操作部12と、表示部14と、印刷実行部16と、有線インターフェース20と、無線インターフェース22と、制御部30と、を備える。以下では、インターフェースのことを「I/F」と記載する。
(Configuration of printer PR)
The printer PR is a peripheral device (that is, a peripheral device such as the terminal devices 70, 80, and 90) that can execute the printing function. The printer PR includes an operation unit 12, a display unit 14, a print execution unit 16, a wired interface 20, a wireless interface 22, and a control unit 30. Hereinafter, the interface is described as “I / F”.

操作部12は、複数のキーによって構成される。ユーザは、操作部12を操作することによって、様々な指示をプリンタPRに入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。印刷実行部16は、インクジェット方式、レーザ方式等の印刷機構である。有線I/F20は、有線通信を実行するためのI/Fである。有線I/F20には、有線ケーブル4が接続され得る。   The operation unit 12 includes a plurality of keys. The user can input various instructions to the printer PR by operating the operation unit 12. The display unit 14 is a display for displaying various information. The print execution unit 16 is a printing mechanism such as an inkjet method or a laser method. The wired I / F 20 is an I / F for executing wired communication. A wired cable 4 can be connected to the wired I / F 20.

無線I/F22は、Wi−Fi Allianceによって策定されたWFD(Wi-Fi Directの略)方式に従った無線通信を実行するためのI/Fである。プリンタPRは、プリンタPRがWFD方式の無線NWに所属している場合に、無線NWを利用して、無線I/F22を介して、無線通信を実行することができる。WFD方式の無線NWは、G/O(Group Ownerの略)状態で動作する機器(以下では「G/O機器」と呼ぶ)によって形成される。G/O機器は、複数個の機器のそれぞれとの無線接続を確立することによって、Client状態で動作する各機器(以下では「CL機器」と呼ぶ)を無線NWに参加させることができる。一方、CL機器は、通常、G/O機器との無線接続を確立している状態を維持しながら、他の機器との無線接続を確立することができない。WFD方式の詳細は、Wi−Fi Allianceによって作成された「Wi−Fi Peer−to−Peer(P2P) Technical Specification Version1.1」に記述されている。また、米国特許出願公開第2013/0260683号公報にも、WFD方式の詳細が開示されており、当該文献を参照して引用する。   The wireless I / F 22 is an I / F for executing wireless communication in accordance with a WFD (abbreviation of Wi-Fi Direct) method formulated by Wi-Fi Alliance. The printer PR can perform wireless communication via the wireless I / F 22 using the wireless NW when the printer PR belongs to the WFD wireless NW. A WFD wireless NW is formed by a device (hereinafter referred to as a “G / O device”) that operates in a G / O (abbreviation of Group Owner) state. By establishing a wireless connection with each of a plurality of devices, the G / O device can cause each device operating in the client state (hereinafter referred to as a “CL device”) to participate in the wireless NW. On the other hand, the CL device cannot normally establish a wireless connection with another device while maintaining a state where the wireless connection with the G / O device is established. Details of the WFD method are described in “Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.1” created by Wi-Fi Alliance. Details of the WFD method are also disclosed in US Patent Application Publication No. 2013/0260683, which is cited with reference to this document.

制御部30は、CPU32と、メモリ34と、を備える。CPU32は、メモリ34に記憶されているプログラム36に従って、様々な処理を実行するプロセッサである。メモリ34は、RAM、ROM等によって構成される。メモリ34は、プログラム36の他に、さらに、登録機器リスト38と、無線接続拒否フラグ40と、認証サーバフラグ41aと、プロキシサーバフラグ42aと、関係情報フラグ44aと、SFLフラグ(Secure Function Lockの略)45aと、SFLテーブル45bと、を記憶する。メモリ34は、さらに、認証サーバ情報41bと、プロキシサーバ情報42bと、関係情報44bと、を記憶し得る。   The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 is a processor that executes various processes according to the program 36 stored in the memory 34. The memory 34 includes a RAM, a ROM, and the like. In addition to the program 36, the memory 34 further includes a registered device list 38, a wireless connection rejection flag 40, an authentication server flag 41a, a proxy server flag 42a, a relationship information flag 44a, an SFL flag (Secure Function Lock). (Omitted) 45a and SFL table 45b are stored. The memory 34 can further store authentication server information 41b, proxy server information 42b, and relationship information 44b.

登録機器リスト38には、端末機器(例えば、端末機器70,80等)のデバイス名が登録される。プリンタPRの管理者は、端末機器のデバイス名をプリンタPRに入力することによって、当該端末機器のデバイス名を登録機器リスト38に登録させることができる。例えば、管理者は、プリンタPRとの通信を実行させるべき端末機器を登録機器リスト38に登録させることができる。このために、登録機器リスト38に登録されている端末機器は、信頼性が高い機器である。以下では、登録機器リスト38に登録されている機器、登録されていない機器を、それぞれ、「登録機器」、「未登録機器」と呼ぶ。一般的に言うと、登録機器は、信頼性が高い機器であり、未登録機器は、信頼性が低い機器である。なお、変形例では、端末機器のデバイス名に代えて、端末機器のMACアドレスが登録機器リスト38に登録されていてもよい。一般的に言うと、端末機器を識別するための情報が登録機器リスト38に登録されればよい。   In the registered device list 38, device names of terminal devices (for example, terminal devices 70 and 80) are registered. The administrator of the printer PR can register the device name of the terminal device in the registered device list 38 by inputting the device name of the terminal device to the printer PR. For example, the administrator can register in the registered device list 38 a terminal device that is to execute communication with the printer PR. For this reason, the terminal device registered in the registered device list 38 is a highly reliable device. Hereinafter, devices registered in the registered device list 38 and devices not registered are referred to as “registered device” and “unregistered device”, respectively. Generally speaking, a registered device is a device with high reliability, and an unregistered device is a device with low reliability. In the modification, the MAC address of the terminal device may be registered in the registered device list 38 instead of the device name of the terminal device. Generally speaking, information for identifying a terminal device may be registered in the registered device list 38.

無線接続拒否フラグ40は、プリンタPRの管理者によって「ON」又は「OFF」に設定されるフラグである。無線接続拒否フラグ40が「ON」を示す状況では、プリンタPRと端末機器との間の無線接続の確立が制限され得る。無線接続拒否フラグ40が「OFF」を示す状況では、当該無線接続の確立が制限されない。   The wireless connection rejection flag 40 is a flag that is set to “ON” or “OFF” by the administrator of the printer PR. In a situation where the wireless connection rejection flag 40 indicates “ON”, establishment of a wireless connection between the printer PR and the terminal device may be restricted. In a situation where the wireless connection rejection flag 40 indicates “OFF”, establishment of the wireless connection is not restricted.

認証サーバフラグ41aは、認証サーバ情報41bがメモリ34に記憶されている場合に「ON」を示し、認証サーバ情報41bがメモリ34に記憶されていない場合に「OFF」を示す。認証サーバ情報41bは、認証サーバ100を識別する識別情報と、認証サーバ100を備えるネットワークを利用するための認証情報と、を含む。認証サーバ情報41bは、プリンタPRが認証サーバ100を備える有線NWに所属している場合に、メモリ34に記憶され得る。具体的には、CPU32は、プリンタPRの認証を認証サーバ100に実行させて、認証サーバ100から成功通知を受信する場合に、認証サーバ情報41bをメモリ34に記憶させ、認証サーバフラグ41aを「OFF」から「ON」に変更する。一方、CPU32は、プリンタPRの認証を認証サーバ100に実行させて、認証サーバ100から失敗通知を受信する場合に、認証サーバ情報41bをメモリ34に記憶させず、認証サーバフラグ41aを「OFF」に維持する。   The authentication server flag 41 a indicates “ON” when the authentication server information 41 b is stored in the memory 34, and indicates “OFF” when the authentication server information 41 b is not stored in the memory 34. The authentication server information 41b includes identification information for identifying the authentication server 100 and authentication information for using the network including the authentication server 100. The authentication server information 41b can be stored in the memory 34 when the printer PR belongs to a wired NW including the authentication server 100. Specifically, when the authentication server 100 executes authentication of the printer PR and receives a success notification from the authentication server 100, the CPU 32 stores the authentication server information 41 b in the memory 34 and sets the authentication server flag 41 a to “ Change from "OFF" to "ON". On the other hand, when the CPU 32 causes the authentication server 100 to perform authentication of the printer PR and receives a failure notification from the authentication server 100, the CPU 32 does not store the authentication server information 41 b in the memory 34 and sets the authentication server flag 41 a to “OFF”. To maintain.

上述したように、認証サーバ100を備える有線NWの管理者は、比較的に高いセキュリティ意識を有するといえる。従って、認証サーバフラグ41aが「ON」を示す場合、即ち、プリンタPRが認証サーバ100を備える有線NWに所属している場合には、プリンタPRのセキュリティを維持する必要性が高いといえる。   As described above, it can be said that the manager of the wired NW provided with the authentication server 100 has a relatively high security awareness. Therefore, when the authentication server flag 41a indicates “ON”, that is, when the printer PR belongs to a wired NW including the authentication server 100, it can be said that there is a high need to maintain the security of the printer PR.

プロキシサーバフラグ42aは、プロキシサーバ情報42bがメモリ34に記憶されている場合に「ON」を示し、プロキシサーバ情報42bがメモリ34に記憶されていない場合に「OFF」を示す。プロキシサーバ情報42bは、プロキシサーバ110を識別する識別情報を含む。プロキシサーバ情報42bは、プリンタPRがプロキシサーバ110を備える有線NWに所属している場合に、メモリ34に記憶され得る。具体的には、CPU32は、プリンタPRの管理者によってプロキシサーバ情報42bがメモリ34に記憶される場合には、プロキシサーバフラグ42aを「OFF」から「ON」に変更する。   The proxy server flag 42 a indicates “ON” when the proxy server information 42 b is stored in the memory 34, and indicates “OFF” when the proxy server information 42 b is not stored in the memory 34. The proxy server information 42b includes identification information for identifying the proxy server 110. The proxy server information 42b can be stored in the memory 34 when the printer PR belongs to a wired NW including the proxy server 110. Specifically, when the proxy server information 42b is stored in the memory 34 by the administrator of the printer PR, the CPU 32 changes the proxy server flag 42a from “OFF” to “ON”.

上述したように、プロキシサーバ110を備える有線NWの管理者は、比較的に高いセキュリティ意識を有するといえる。従って、プロキシサーバフラグ42aが「ON」を示す場合、即ち、プリンタPRがプロキシサーバ110を備える有線NWに所属している場合には、プリンタPRのセキュリティを維持する必要性が高いといえる。   As described above, it can be said that the manager of the wired NW provided with the proxy server 110 has a relatively high security awareness. Therefore, when the proxy server flag 42a indicates “ON”, that is, when the printer PR belongs to a wired NW including the proxy server 110, it can be said that there is a high need to maintain the security of the printer PR.

関係情報フラグ44aは、関係情報44bがメモリ34に記憶されている場合に「ON」を示し、関係情報44bがメモリ34に記憶されていない場合に「OFF」を示す。関係情報44bは、NetBIOS Nameサーバ120に関係する情報、SNTPサーバ130に関係する情報、及び、プロキシサーバ110に関係するWPAD情報のうちの少なくとも1個を含み得る。プリンタPRが所属している有線NWがサーバ110,120,130のうちの少なくとも1個を備え、さらに、当該有線NWがDHCPサーバ140を備える場合に、関係情報44bがDHCPサーバ140から受信され得る。この場合、CPU32は、関係情報44bをメモリ34に記憶させ、関係情報フラグ44aを「OFF」から「ON」に変更する。   The relationship information flag 44 a indicates “ON” when the relationship information 44 b is stored in the memory 34, and indicates “OFF” when the relationship information 44 b is not stored in the memory 34. The relationship information 44b may include at least one of information related to the NetBIOS Name server 120, information related to the SNTP server 130, and WPAD information related to the proxy server 110. When the wired NW to which the printer PR belongs includes at least one of the servers 110, 120, and 130, and the wired NW includes the DHCP server 140, the relationship information 44b can be received from the DHCP server 140. . In this case, the CPU 32 stores the relationship information 44b in the memory 34, and changes the relationship information flag 44a from “OFF” to “ON”.

上述したように、プロキシサーバ110、NetBIOS Nameサーバ120、及び、SNTPサーバ130のうちの少なくとも1個を備える有線NWの管理者は、比較的に高いセキュリティ意識を有するといえる。従って、関係情報フラグ44aが「ON」を示す場合、即ち、プリンタPRがサーバ110,120,130のうちの少なくとも1個を備える有線NWに所属している場合には、プリンタPRのセキュリティを維持する必要性が高いといえる。   As described above, it can be said that the manager of the wired NW including at least one of the proxy server 110, the NetBIOS Name server 120, and the SNTP server 130 has a relatively high security awareness. Therefore, when the relationship information flag 44a indicates “ON”, that is, when the printer PR belongs to a wired NW including at least one of the servers 110, 120, and 130, the security of the printer PR is maintained. It can be said that the necessity to do is high.

SFLフラグ45aは、SFLテーブル45bに1個以上のSFL情報が登録されている場合に「ON」を示し、SFLテーブル45bに1個のSFL情報も登録されていない場合に「OFF」を示す。SFL情報は、プリンタPRの各ユーザについて、当該ユーザのユーザ名と、当該ユーザのパスワードと、当該ユーザで利用可能な機能(例えば印刷機能)を示す機能情報と、が関連付けられた情報である。例えば、プリンタPRの管理者は、操作部12を操作して、各ユーザのための各SFL情報をSFLテーブル45bに登録する。SFLテーブル45bにSFL情報が登録されている状況では、プリンタPRのセキュリティが維持されている。換言すると、プリンタPRの管理者は、比較的に高いセキュリティ意識を有するといえる。即ち、SFLフラグ45aが「ON」を示す場合には、プリンタPRのセキュリティを維持する必要性が高いといえる。なお、変形例では、SFLテーブル45bは、プリンタPRに記憶されていなくてもよく、例えば、有線NWに所属しているサーバに記憶されていてもよい。   The SFL flag 45a indicates “ON” when one or more pieces of SFL information are registered in the SFL table 45b, and indicates “OFF” when one piece of SFL information is not registered in the SFL table 45b. The SFL information is information in which, for each user of the printer PR, a user name of the user, a password of the user, and function information indicating a function (for example, a printing function) that can be used by the user are associated. For example, the administrator of the printer PR operates the operation unit 12 to register each SFL information for each user in the SFL table 45b. In a situation where SFL information is registered in the SFL table 45b, the security of the printer PR is maintained. In other words, it can be said that the administrator of the printer PR has a relatively high security awareness. That is, when the SFL flag 45a indicates “ON”, it can be said that it is highly necessary to maintain the security of the printer PR. In the modification, the SFL table 45b may not be stored in the printer PR, and may be stored in a server belonging to the wired NW, for example.

(端末機器70〜90の構成)
端末機器70〜90は、例えば、携帯電話、スマートフォン、ノートPC、タブレットPC等の可搬型の機器であってもよいし、デスクトップPC、テレビ等の据置型の機器であってもよい。端末機器70及び80のそれぞれは、プリンタPRと同様に、WFD方式をサポートしている。
(Configuration of terminal devices 70 to 90)
The terminal devices 70 to 90 may be portable devices such as mobile phones, smartphones, notebook PCs, and tablet PCs, and may be stationary devices such as desktop PCs and televisions. Each of the terminal devices 70 and 80 supports the WFD method, like the printer PR.

(無線接続処理;図2)
続いて、図2を参照して、プリンタPRのCPU32が実行する無線接続処理の内容について説明する。無線接続処理は、プリンタPRの動作状態がデバイス状態又はG/O状態である状況で実行される。デバイス状態は、G/O状態及びCL状態とは異なり、プリンタPRが無線NWに所属していない状態である。プリンタPRの動作状態がG/O状態である状況では、プリンタPRのみが無線NWに所属しているか、プリンタPRと1個以上のCL状態の端末機器とが無線NWに所属している。なお、プリンタPRの動作状態がCL状態である状況では、プリンタPRは、端末機器との無線接続を確立することができない。このために、図2の無線接続処理では、プリンタPRの動作状態がデバイス状態又はG/O状態である状況が対象になっている。
(Wireless connection processing; Fig. 2)
Next, the contents of the wireless connection process executed by the CPU 32 of the printer PR will be described with reference to FIG. The wireless connection process is executed in a situation where the operation state of the printer PR is the device state or the G / O state. Unlike the G / O state and the CL state, the device state is a state where the printer PR does not belong to the wireless NW. In the situation where the operation state of the printer PR is the G / O state, only the printer PR belongs to the wireless NW, or the printer PR and one or more terminal devices in the CL state belong to the wireless NW. In the situation where the operation state of the printer PR is the CL state, the printer PR cannot establish a wireless connection with the terminal device. For this reason, the wireless connection process in FIG. 2 is intended for situations where the operation state of the printer PR is the device state or the G / O state.

S10では、CPU32は、無線I/F22を介して、端末機器(例えば、端末機器70,80等)から、端末機器のデバイス名を含むProbe Request信号を受信することを監視する。Probe Request信号は、端末機器において、端末機器との無線接続を確立すべき対象である機器を検索するためのサーチ操作がユーザによって実行される場合に、端末機器から送信される信号である。CPU32は、無線I/F22を介して、端末機器からProbe Request信号を受信する場合(S10でYES)に、S11に進む。なお、以下では、Requestのことを「Req.」と記載する。また、図2等で説明するプリンタPRと端末機器との間で実行される全ての通信は、無線I/F22を介して実行されるので、「無線I/F22を介して」という説明を省略する。   In S <b> 10, the CPU 32 monitors reception of a Probe Request signal including the device name of the terminal device from the terminal device (for example, the terminal device 70 or 80) via the wireless I / F 22. The Probe Request signal is a signal transmitted from the terminal device when a search operation for searching for a device that is a target for establishing a wireless connection with the terminal device is executed by the user. When the CPU 32 receives a Probe Request signal from the terminal device via the wireless I / F 22 (YES in S10), the CPU 32 proceeds to S11. In the following, Request is described as “Req.”. In addition, since all communication executed between the printer PR and the terminal device described in FIG. 2 and the like is executed via the wireless I / F 22, the description “through the wireless I / F 22” is omitted. To do.

S11では、CPU32は、メモリ34内の無線接続拒否フラグ40が「ON」を示すのか否かを判断する。CPU32は、無線接続拒否フラグ40が「ON」を示す場合に(S11でYES)、S12に進み、無線接続拒否フラグ40が「OFF」を示す場合に(S11でNO)、S12,S14をスキップしてS16に進む。この場合、CPU32は、後述の高セキュリティ条件が満たされているのか否かに関わらず、かつ、端末機器が登録機器であるのか否かに関わらず、端末機器との無線接続を確立する(後述のS22,S28)。   In S <b> 11, the CPU 32 determines whether or not the wireless connection rejection flag 40 in the memory 34 indicates “ON”. When the wireless connection rejection flag 40 indicates “ON” (YES in S11), the CPU 32 proceeds to S12, and when the wireless connection rejection flag 40 indicates “OFF” (NO in S11), skips S12 and S14. Then, the process proceeds to S16. In this case, the CPU 32 establishes a wireless connection with the terminal device regardless of whether a high security condition described later is satisfied and whether the terminal device is a registered device (described later). S22, S28).

S12では、CPU32は、高セキュリティ条件が満たされているのか否かを判断する。高セキュリティ条件は、プリンタPRのセキュリティを維持する必要性が高いのか否かを判断するための条件である。高セキュリティ条件が満たされている場合には、プリンタPRのセキュリティを維持する必要性が高く、高セキュリティ条件が満たされていない場合には、プリンタPRのセキュリティを維持する必要性が低い。高セキュリティ条件は、以下の第1〜第4の条件を含む。より具体的には、CPU32は、第1〜4の条件の少なくとも1個が満たされている場合には、高セキュリティ条件が満たされていると判断し、第1〜第4の条件のいずれも満たされていない場合には、高セキュリティ条件が満たされていないと判断する。   In S12, the CPU 32 determines whether or not the high security condition is satisfied. The high security condition is a condition for determining whether or not it is highly necessary to maintain the security of the printer PR. When the high security condition is satisfied, it is highly necessary to maintain the security of the printer PR, and when the high security condition is not satisfied, the need to maintain the security of the printer PR is low. The high security condition includes the following first to fourth conditions. More specifically, the CPU 32 determines that the high security condition is satisfied when at least one of the first to fourth conditions is satisfied, and any of the first to fourth conditions is satisfied. If it is not satisfied, it is determined that the high security condition is not satisfied.

第1の条件は、プリンタPRが認証サーバ100を備えるネットワークに所属していることである。CPU32は、認証サーバフラグ41aが「ON」を示す場合には、第1の条件が満たされていると判断し、認証サーバフラグ41aが「OFF」を示す場合には、第1の条件が満たされていないと判断する。   The first condition is that the printer PR belongs to a network including the authentication server 100. The CPU 32 determines that the first condition is satisfied when the authentication server flag 41a indicates “ON”, and the first condition is satisfied when the authentication server flag 41a indicates “OFF”. Judge that it is not.

第2の条件は、プリンタPRがプロキシサーバ110を備えるネットワークに所属していることである。CPU32は、プロキシサーバフラグ42aが「ON」を示す場合には、第2の条件が満たされていると判断し、プロキシサーバフラグ42aが「OFF」を示す場合には、第2の条件が満たされていないと判断する。   The second condition is that the printer PR belongs to a network including the proxy server 110. The CPU 32 determines that the second condition is satisfied when the proxy server flag 42a indicates “ON”, and satisfies the second condition when the proxy server flag 42a indicates “OFF”. Judge that it is not.

第3の条件は、プリンタPRが、DHCPサーバ140を備えるネットワークに所属しており、かつ、DHCPサーバ140から関係情報44bを受信済みであることである。CPU32は、関係情報フラグ44aが「ON」を示す場合には、第3の条件が満たされていると判断し、関係情報フラグ44aが「OFF」を示す場合には、第3の条件が満たされていないと判断する。   The third condition is that the printer PR belongs to the network including the DHCP server 140 and the relation information 44b has been received from the DHCP server 140. The CPU 32 determines that the third condition is satisfied when the relationship information flag 44a indicates “ON”, and satisfies the third condition when the relationship information flag 44a indicates “OFF”. Judge that it is not.

第4の条件は、SFL情報がSFLテーブル45bに登録されていることである。CPU32は、1個以上のSFL情報がSFLテーブル45bに登録されている場合には、第4の条件が満たされていると判断し、1個のSFL情報もSFLテーブル45bに登録されていない場合には、第4の条件が満たされていないと判断する。   The fourth condition is that the SFL information is registered in the SFL table 45b. When one or more pieces of SFL information are registered in the SFL table 45b, the CPU 32 determines that the fourth condition is satisfied, and when one piece of SFL information is not registered in the SFL table 45b. Is determined not to satisfy the fourth condition.

CPU32は、第1〜第4条件の少なくとも1個が満たされていると判断する場合(S12でYES)に、S14に進む。一方、CPU32は、第1〜4条件のいずれも満たされていないと判断する場合(S12でNO)に、S14をスキップしてS16に進む。この場合、CPU32は、端末機器が登録機器であるのか否かに関わらず、端末機器との無線接続を確立する(後述のS22,S28)。即ち、CPU32は、プリンタPRのセキュリティを維持する必要性が低い場合には、端末機器が未登録機器であっても(即ち端末機器の信頼性が低くても)、端末機器との無線接続を確立して、端末機器との無線通信を実行する。これにより、端末機器のユーザの利便性を向上させ得る。   If the CPU 32 determines that at least one of the first to fourth conditions is satisfied (YES in S12), the CPU 32 proceeds to S14. On the other hand, if the CPU 32 determines that none of the first to fourth conditions is satisfied (NO in S12), it skips S14 and proceeds to S16. In this case, the CPU 32 establishes a wireless connection with the terminal device regardless of whether the terminal device is a registered device (S22 and S28 described later). In other words, when the necessity of maintaining the security of the printer PR is low, the CPU 32 establishes a wireless connection with the terminal device even if the terminal device is an unregistered device (that is, the reliability of the terminal device is low). Establish and execute wireless communication with the terminal device. Thereby, the convenience of the user of a terminal device can be improved.

S14では、CPU32は、S10のProbe Req.信号の送信元である端末機器が登録機器であるのか否かを判断する。具体的には、CPU32は、S10のProbe Req.信号に含まれるデバイス名に一致するデバイス名が、登録機器リスト38に登録されている場合(S14でYES)に、S16に進む。この場合、CPU32は、端末機器との無線接続を確立する(後述のS22,S28)。即ち、CPU32は、プリンタPRのセキュリティを維持する必要性が高い場合において、端末機器が登録機器であれば(即ち端末機器の信頼性が高ければ)、端末機器との無線接続を確立し、端末機器との無線通信を実行する。これにより、プリンタPRのセキュリティを維持しつつ、端末機器のユーザの利便性を向上させ得る。一方、CPU32は、S10のProbe Req.信号に含まれるデバイス名に一致するデバイス名が、登録機器リスト38に登録されていない場合(S14でNO)に、以降の処理を実行せずにS10に戻る。この場合、CPU32は、端末機器との無線接続を確立しない。即ち、CPU32は、プリンタPRのセキュリティを維持する必要性が高い場合において、端末機器が未登録機器であれば(即ち端末機器の信頼性が低ければ)、端末機器との無線接続を確立しない。これにより、CPU32は、プリンタPRのセキュリティを維持することができる。   In S14, the CPU 32 determines whether or not the terminal device that is the transmission source of the Probe Req. Signal in S10 is a registered device. Specifically, if the device name that matches the device name included in the Probe Req. Signal in S10 is registered in the registered device list 38 (YES in S14), the CPU 32 proceeds to S16. In this case, the CPU 32 establishes a wireless connection with the terminal device (S22 and S28 described later). That is, when the necessity of maintaining the security of the printer PR is high, if the terminal device is a registered device (that is, if the reliability of the terminal device is high), the CPU 32 establishes a wireless connection with the terminal device, and Perform wireless communication with the device. Thereby, the convenience of the user of the terminal device can be improved while maintaining the security of the printer PR. On the other hand, if the device name that matches the device name included in the Probe Req. Signal in S10 is not registered in the registered device list 38 (NO in S14), the CPU 32 does not execute the subsequent processing and proceeds to S10. Return. In this case, the CPU 32 does not establish a wireless connection with the terminal device. In other words, when the necessity of maintaining the security of the printer PR is high, the CPU 32 does not establish a wireless connection with the terminal device if the terminal device is an unregistered device (that is, if the reliability of the terminal device is low). Thereby, the CPU 32 can maintain the security of the printer PR.

S16では、CPU32は、プリンタPRがデバイス機器であるのか否かを判断する。CPU32は、プリンタPRがデバイス機器である場合(S16でYES)に、S18に進み、プリンタPRがG/O機器である場合(S16でNO)に、S24に進む。   In S16, the CPU 32 determines whether or not the printer PR is a device device. The CPU 32 proceeds to S18 when the printer PR is a device device (YES in S16), and proceeds to S24 when the printer PR is a G / O device (NO in S16).

CPU32は、S18において、プリンタPRのデバイス名を含むProbe Response信号を端末機器に送信し、S20において、G/O Negotiation Req.信号を端末機器から受信する。なお、以下では、Response、Negotiationのことを、それぞれ、「Res.」、「Nego.」と記載する。   In S18, the CPU 32 transmits a Probe Response signal including the device name of the printer PR to the terminal device. In S20, the CPU 32 receives a G / O Negotiation Req. Signal from the terminal device. In the following, Response and Negotiation are referred to as “Res.” And “Nego.”, Respectively.

S21では、CPU32は、G/O Nego.を端末機器と実行する。CPU32は、G/O Nego.の結果として、プリンタPRの動作状態を、デバイス状態からG/O状態又はCL状態に移行させる。CPU32は、プリンタPRの動作状態がG/O状態に移行する場合、即ち、プリンタPRが無線NWを形成する場合には、さらに、当該無線NWで利用される無線プロファイルを準備して、無線プロファイルをメモリ34に記憶させる。無線プロファイルは、無線NWを識別する識別子であるSSIDと、認証及び暗号化のために利用される情報と、を含む。なお、端末機器も、G/O Nego.の結果として、デバイス状態からCL状態又はG/O状態に移行する。端末機器は、G/O状態に移行する場合には、無線プロファイルを準備して記憶する。   In S21, the CPU 32 executes G / O Nego. As a terminal device. As a result of G / O Nego., The CPU 32 shifts the operation state of the printer PR from the device state to the G / O state or the CL state. When the operation state of the printer PR shifts to the G / O state, that is, when the printer PR forms a wireless NW, the CPU 32 further prepares a wireless profile used in the wireless NW, Is stored in the memory 34. The wireless profile includes an SSID that is an identifier for identifying a wireless NW, and information used for authentication and encryption. The terminal device also shifts from the device state to the CL state or the G / O state as a result of G / O Nego. The terminal device prepares and stores a wireless profile when shifting to the G / O state.

S22では、CPU32は、端末機器との無線接続を確立する。プリンタPRがG/O機器である場合には、S22の過程で、CPU32は、S21で準備された無線プロファイルを端末機器に送信する。一方、プリンタPRがCL機器である場合には、S22の過程で、CPU32は、端末機器によって準備された無線プロファイルを端末機器から受信して、無線プロファイルをメモリ34に記憶させる。S22が実行されると、プリンタPRと端末機器とが所属する無線NWが形成される。例えば、CPU32は、形成済みの無線NWを利用して、端末機器からデータ(例えば印刷対象の画像を表わすデータ)を受信することができる。換言すると、CPU32は、データをプリンタPRに送信する処理の実行を端末機器に許容する。また、例えば、CPU32は、形成済みの無線NWを利用して、ファイルを端末機器に送信することができる。換言すると、CPU32は、プリンタPRからデータを受信する処理の実行を端末機器に許容する。S22が終了すると、S30に進む。   In S22, the CPU 32 establishes a wireless connection with the terminal device. When the printer PR is a G / O device, in the process of S22, the CPU 32 transmits the wireless profile prepared in S21 to the terminal device. On the other hand, when the printer PR is a CL device, in the process of S22, the CPU 32 receives the wireless profile prepared by the terminal device from the terminal device and stores the wireless profile in the memory 34. When S22 is executed, a wireless NW to which the printer PR and the terminal device belong is formed. For example, the CPU 32 can receive data (for example, data representing an image to be printed) from the terminal device using the formed wireless NW. In other words, the CPU 32 allows the terminal device to execute a process of transmitting data to the printer PR. Further, for example, the CPU 32 can transmit a file to the terminal device using the formed wireless NW. In other words, the CPU 32 allows the terminal device to execute processing for receiving data from the printer PR. When S22 ends, the process proceeds to S30.

上述したように、プリンタPRがG/O機器である状況では、CPU32によって準備された無線プロファイルがメモリ34に記憶されている。そして、CPU32は、プリンタPRがG/O機器であると判断する場合(S16でNO)には、S24において、無線プロファイル内のSSID(以下では「プリンタPRのSSID」と呼ぶ)を含むProbe Res.信号を端末機器に送信する。   As described above, in the situation where the printer PR is a G / O device, the wireless profile prepared by the CPU 32 is stored in the memory 34. If the CPU 32 determines that the printer PR is a G / O device (NO in S16), in S24, Probe Res including the SSID in the wireless profile (hereinafter referred to as “the SSID of the printer PR”). Send the signal to the terminal device.

CPU32は、S26において、Provision Discovery Req.信号を端末機器から受信し、S28において、端末機器との無線接続を確立する。プリンタPRがG/O機器であるので(S16でNO)、S28の過程で、CPU32は、メモリ34内の無線プロファイルを端末機器に送信する。これにより、CPU32は、端末機器との無線接続を確立して、プリンタPRがG/O機器として動作する無線NWに端末機器を参加させることができる。この結果、S22の場合と同様に、CPU32は、データをプリンタPRに送信する処理の実行と、プリンタPRからデータを受信する処理の実行と、を端末機器に許容する。S28が終了すると、S30に進む。   The CPU 32 receives the Provision Discovery Req. Signal from the terminal device in S26, and establishes a wireless connection with the terminal device in S28. Since the printer PR is a G / O device (NO in S16), the CPU 32 transmits the wireless profile in the memory 34 to the terminal device in the process of S28. Thereby, the CPU 32 can establish a wireless connection with the terminal device and allow the terminal device to participate in the wireless NW in which the printer PR operates as a G / O device. As a result, as in the case of S22, the CPU 32 allows the terminal device to execute the process of transmitting data to the printer PR and the process of receiving data from the printer PR. When S28 ends, the process proceeds to S30.

S30は、S12と同様である。S32では、CPU32は、無線NWで利用されるべき通信プロトコルとして、比較的に高いセキュリティを有する高セキュリティプロトコルを決定する。高セキュリティプロトコルは、SNMPv3(Simple Network Management Protocol version 3の略)、HTTPS(Hypertext Transfer Protocol Secureの略)、SSH(Secure Shellの略)、及び、SFTP(SSH File Transfer Protocol)を含む。SNMPは、ネットワークに所属する機器を監視及び制御するための通信に利用されるプロトコルである。SNMPv3では、通信内容の認証及び暗号化に関する機能が、SNMPv1(又はv2)よりも強化されている。従って、SNMPv3は、SNMPv1(又はv2)よりも高いセキュリティを有する。HTTPSは、暗号化に関する技術であるSSL(Secure Sockets Layer)がHTTP(Hypertext Transfer Protocolの略)に導入されたプロトコルである。従って、HTTPSは、HTTPよりも高いセキュリティを有する。SSHは、ネットワークに所属している機器を遠隔操作するためのプロトコルであり、暗号化を利用するプロトコルである。従って、SSHは、比較的に高いセキュリティを有する。SFTPは、SSHを利用して、ネットワーク内でファイルを転送するためのプロトコルである。従って、SFTPは、比較的に高いセキュリティを有する。このように、CPU32は、プリンタPRのセキュリティを維持する必要性が高い場合(即ちS30でYES)に、比較的に高いセキュリティを有する通信プロトコルを利用して、無線通信を実行することができる。これにより、プリンタPRのセキュリティを向上させ得る。   S30 is the same as S12. In S32, the CPU 32 determines a high security protocol having a relatively high security as a communication protocol to be used in the wireless NW. The high security protocols include SNMPv3 (abbreviation of Simple Network Management Protocol version 3), HTTPS (abbreviation of Hypertext Transfer Protocol Secure), SSH (abbreviation of Secure Shell), and SFTP (SSH File Transfer Protocol). SNMP is a protocol used for communication for monitoring and controlling devices belonging to a network. In SNMPv3, functions related to authentication and encryption of communication contents are strengthened compared to SNMPv1 (or v2). Therefore, SNMPv3 has higher security than SNMPv1 (or v2). HTTPS is a protocol in which SSL (Secure Sockets Layer), which is a technology related to encryption, is introduced to HTTP (abbreviation of Hypertext Transfer Protocol). Therefore, HTTPS has higher security than HTTP. SSH is a protocol for remotely operating devices belonging to a network, and is a protocol that uses encryption. Therefore, SSH has a relatively high security. SFTP is a protocol for transferring files in a network using SSH. Therefore, SFTP has a relatively high security. As described above, when it is highly necessary to maintain the security of the printer PR (that is, YES in S30), the CPU 32 can execute wireless communication using a communication protocol having relatively high security. Thereby, the security of the printer PR can be improved.

なお、変形例では、CPU32は、S32において、さらに、以下の処理を実行してもよい。即ち、CPU32は、プリンタPRの設定を、プッシュボタン方式及びPINコード方式を利用可能な設定から、プッシュボタン方式を利用不可能であり、かつ、PINコード方式のみを利用可能な設定に変更する。また、CPU32は、SFLテーブル45bに登録されているSFL情報を利用するための設定が「OFF」を示す場合に、当該設定を「ON」に変更する。また、CPU32は、プリンタPRにログインするためのパスワード等を設定すべきことをユーザに促すためのメッセージを表示部14に表示させる。また、CPU32は、無線接続拒否フラグ40が「OFF」を示す場合に、無線接続拒否フラグ40を「ON」に変更する。CPU32は、上記の各処理を実行することによって、プリンタPRのセキュリティを向上させ得る。   In the modification, the CPU 32 may further execute the following process in S32. That is, the CPU 32 changes the setting of the printer PR from a setting that can use the push button method and the PIN code method to a setting that cannot use the push button method and can use only the PIN code method. Further, when the setting for using the SFL information registered in the SFL table 45b indicates “OFF”, the CPU 32 changes the setting to “ON”. Further, the CPU 32 causes the display unit 14 to display a message for prompting the user to set a password or the like for logging in to the printer PR. Further, when the wireless connection rejection flag 40 indicates “OFF”, the CPU 32 changes the wireless connection rejection flag 40 to “ON”. The CPU 32 can improve the security of the printer PR by executing the above processes.

S34では、CPU32は、無線NWで利用されるべき通信プロトコルとして、比較的に低いセキュリティを有する低セキュリティプロトコルを決定する。低セキュリティプロトコルは、SNMPv1(又はv2)、HTTP、Telnet(Teletype networkの略)、FTP(File Transfer Protocolの略)、及び、TFTP(Trivial File Transfer Protocolの略)を含む。Telnetは、SSHと同様に、ネットワークに所属している機器を遠隔操作するためのプロトコルであるが、暗号化が利用されない。このために、Telnetは、SSHよりも低いセキュリティを有する。FTP及びTFTPは、SFTPと同様に、ネットワーク内でファイルを転送するためのプロトコルであるが、SSHが利用されない。このために、FTP及びTFTPは、SFTPよりも低いセキュリティを有する。プリンタPRが高セキュリティプロトコルを利用するためには、ユーザによって様々な設定がプリンタPRに実行される必要があり、当該設定のためのユーザの負荷が高い。これに対し、プリンタPRが低セキュリティプロトコルを利用するためには、設定のためのユーザの負荷が低く、ユーザの利便性が高い。このように、CPU32は、プリンタPRのセキュリティを維持する必要性が低い場合(即ちS30でNO)に、低セキュリティプロトコルを利用することを決定して、ユーザの利便性を向上させる。   In S34, the CPU 32 determines a low security protocol having a relatively low security as a communication protocol to be used in the wireless NW. Low security protocols include SNMPv1 (or v2), HTTP, Telnet (abbreviation of Teletype network), FTP (abbreviation of File Transfer Protocol), and TFTP (abbreviation of Trivial File Transfer Protocol). Telnet, like SSH, is a protocol for remotely operating devices belonging to a network, but encryption is not used. For this reason, Telnet has a lower security than SSH. FTP and TFTP, like SFTP, are protocols for transferring files within a network, but SSH is not used. For this reason, FTP and TFTP have lower security than SFTP. In order for the printer PR to use the high security protocol, various settings need to be performed on the printer PR by the user, and the load on the user for the setting is high. On the other hand, in order for the printer PR to use the low security protocol, the load on the user for setting is low, and the convenience for the user is high. As described above, when the necessity of maintaining the security of the printer PR is low (that is, NO in S30), the CPU 32 determines to use the low security protocol, and improves the convenience for the user.

(機能制御処理;図3)
続いて、図3を参照して、プリンタPRのCPU32が実行する機能制御処理の内容について説明する。機能制御処理は、端末機器との無線接続が確立されること(図2のS22,S28参照)をトリガとして実行される処理であり、ルーティング機能及びCL中継機能を「ON」又は「OFF」に設定することを決定するための処理である。ルーティング機能は、プリンタPRが有線NWに所属する機器と端末機器との間の通信を中継する機能である。ルーティング機能の「ON」又は「OFF」は、プリンタPRとの無線接続が確立された端末機器毎に設定される。即ち、例えば、プリンタPRが2個の端末機器との無線接続を確立している状況では、一方の端末機器のためのルーティング機能が「ON」に設定され、他方の端末機器のためのルーティング機能が「OFF」に設定され得る。CL中継機能は、プリンタPRがG/O機器であり、かつ、プリンタPRが2個以上のCL機器との無線接続を確立している場合に、プリンタPRが2個以上のCL機器の間の無線通信を中継する機能である。CL中継機能は、端末機器毎に設定されず、プリンタPRとの無線接続が確立された全ての端末機器に対して共通に設定される。なお、プリンタPRがCL機器である場合、又は、プリンタPRがG/O機器であり、かつ、プリンタPRが1個のCL機器のみとの無線接続を確立している場合には、仮に、CL中継機能が「ON」に設定されたとしても、プリンタPRは、CL中継機能を実行することができない。
(Function control processing; FIG. 3)
Next, the function control process executed by the CPU 32 of the printer PR will be described with reference to FIG. The function control process is a process executed when a wireless connection with a terminal device is established (see S22 and S28 in FIG. 2), and the routing function and the CL relay function are set to “ON” or “OFF”. This is a process for determining to set. The routing function is a function in which the printer PR relays communication between a device belonging to the wired NW and the terminal device. The routing function “ON” or “OFF” is set for each terminal device for which a wireless connection with the printer PR is established. That is, for example, in a situation where the printer PR establishes wireless connection with two terminal devices, the routing function for one terminal device is set to “ON” and the routing function for the other terminal device is set. May be set to “OFF”. The CL relay function is used when the printer PR is a G / O device and the printer PR establishes a wireless connection with two or more CL devices. This function relays wireless communication. The CL relay function is not set for each terminal device, but is set in common for all terminal devices that have established a wireless connection with the printer PR. If the printer PR is a CL device, or if the printer PR is a G / O device and the printer PR has established a wireless connection with only one CL device, the CL Even if the relay function is set to “ON”, the printer PR cannot execute the CL relay function.

図4及び図5には、プリンタPRの状況に応じたルーティング機能及びCL中継機能の設定が示されている。以下の図3の機能制御処理の説明では、図4及び図5を適宜参照する。図3のS110は、図2のS12と同様である。S112では、CPU32は、プリンタPRが、認証サーバ100を備える有線NWに所属しているのか否かを判断する。CPU32は、認証サーバフラグ41aが「ON」を示す場合に、S112でYESと判断し、S116に進む。一方、CPU32は、認証サーバフラグ41aが「OFF」を示す場合に、S112でNOと判断し、S114に進む。   4 and 5 show the settings of the routing function and the CL relay function according to the status of the printer PR. In the following description of the function control processing of FIG. 3, FIGS. 4 and 5 are referred to as appropriate. S110 in FIG. 3 is the same as S12 in FIG. In S <b> 112, the CPU 32 determines whether the printer PR belongs to a wired NW provided with the authentication server 100. When the authentication server flag 41a indicates “ON”, the CPU 32 determines YES in S112, and proceeds to S116. On the other hand, when the authentication server flag 41a indicates “OFF”, the CPU 32 determines NO in S112, and proceeds to S114.

S112でNOと判断される場合では、認証サーバ100が端末機器の認証を実行することはなく、端末機器の信頼性が確実に保証されているとは言えない。このために、S114では、CPU32は、端末機器のためのルーティング機能を「OFF」に設定すると共に、CL中継機能を「OFF」に設定する。これにより、プリンタPRが有線NWに所属している場合には、有線NWのセキュリティを維持することができ、2個以上のCL機器が無線NWに所属している場合には、無線NWのセキュリティを維持することができる。S114の処理は、図4の(d)、(f)、図5の(p)、(q)、(r)、(s)に対応する。S114が終了すると、図3の処理が終了する。   When NO is determined in S112, the authentication server 100 does not execute authentication of the terminal device, and it cannot be said that the reliability of the terminal device is reliably guaranteed. For this reason, in S114, the CPU 32 sets the routing function for the terminal device to “OFF” and sets the CL relay function to “OFF”. Thereby, when the printer PR belongs to the wired NW, the security of the wired NW can be maintained, and when two or more CL devices belong to the wireless NW, the security of the wireless NW is maintained. Can be maintained. The process of S114 corresponds to (d), (f) in FIG. 4 and (p), (q), (r), (s) in FIG. When S114 ends, the process of FIG. 3 ends.

S116では、CPU32は、端末機器から認証情報を受信することを監視する。プリンタPRが認証サーバ100を備える有線NWに所属する場合には、端末機器のユーザは、端末機器の認証情報(即ちユーザIDとパスワード)を端末機器に入力する。この場合、CPU32は、端末機器から認証情報を受信して(S116でYES)に、S118に進む。   In S116, the CPU 32 monitors reception of authentication information from the terminal device. When the printer PR belongs to a wired NW provided with the authentication server 100, the user of the terminal device inputs authentication information (that is, user ID and password) of the terminal device to the terminal device. In this case, the CPU 32 receives the authentication information from the terminal device (YES in S116), and proceeds to S118.

S118では、CPU32は、有線NWを利用して、有線I/F20を介して、受信済みの認証情報を認証サーバ100に送信する。これにより、CPU32は、端末機器の認証を認証サーバ100に実行させる。例えば、有線NWの管理者は、端末機器のための認証情報を認証サーバ100に予め登録する。認証サーバ100は、プリンタPRから受信された認証情報が認証サーバ100に登録されている場合には、成功通知をプリンタPRに送信し、プリンタPRから受信された認証情報が認証サーバ100に登録されていない場合には、失敗通知をプリンタPRに送信する。   In S118, the CPU 32 transmits the received authentication information to the authentication server 100 via the wired I / F 20 using the wired NW. Thereby, the CPU 32 causes the authentication server 100 to execute authentication of the terminal device. For example, the manager of the wired NW registers authentication information for the terminal device in the authentication server 100 in advance. When the authentication information received from the printer PR is registered in the authentication server 100, the authentication server 100 transmits a success notification to the printer PR, and the authentication information received from the printer PR is registered in the authentication server 100. If not, a failure notification is transmitted to the printer PR.

S120では、CPU32は、有線NWを利用して、有線I/F20を介して、認証サーバ100から成功通知を受信するのか否かを判断する。CPU32は、認証サーバ100から成功通知を受信する場合(S120でYES)に、S122に進む。一方、CPU32は、認証サーバ100から失敗通知を受信する場合(S120でNO)に、S121に進む。   In S120, the CPU 32 determines whether to receive a success notification from the authentication server 100 via the wired I / F 20 using the wired NW. When the CPU 32 receives a success notification from the authentication server 100 (YES in S120), the CPU 32 proceeds to S122. On the other hand, when the CPU 32 receives a failure notification from the authentication server 100 (NO in S120), the CPU 32 proceeds to S121.

S120でNOと判断される場合では、認証サーバ100での端末機器の認証が失敗しているので、端末機器の信頼性が確実に保証されているとはいえない。このために、S121では、CPU32は、端末機器のためのルーティング機能を「OFF」に設定すると共に、CL中継機能を「OFF」に設定する。これにより、プリンタPRが所属している有線NW(即ち認証サーバ100を備える有線NW)のセキュリティを維持することができ、2個以上のCL機器が無線NWに所属している場合には、無線NWのセキュリティを維持することができる。S121の処理は、図4の(b)、図5の(m)、(o)に対応する。S121が終了すると、図3の処理が終了する。   When NO is determined in S120, since the authentication of the terminal device in the authentication server 100 has failed, it cannot be said that the reliability of the terminal device is reliably guaranteed. For this reason, in S121, the CPU 32 sets the routing function for the terminal device to “OFF” and sets the CL relay function to “OFF”. Thereby, the security of the wired NW to which the printer PR belongs (that is, the wired NW provided with the authentication server 100) can be maintained, and when two or more CL devices belong to the wireless NW, the wireless NW security can be maintained. The process of S121 corresponds to (b) in FIG. 4, (m), and (o) in FIG. When S121 ends, the process of FIG. 3 ends.

一方、S120でYESと判断される場合には、認証サーバ100での端末機器の認証が成功しているので、端末機器の信頼性が保証されている。このために、S122では、CPU32は、端末機器のためのルーティング機能を「ON」に設定する。これにより、CPU32は、端末機器と、有線NWに所属する機器と、の間の通信を中継することができる。   On the other hand, if YES is determined in S120, since the authentication of the terminal device by the authentication server 100 is successful, the reliability of the terminal device is guaranteed. For this reason, in S122, the CPU 32 sets the routing function for the terminal device to “ON”. Thereby, the CPU 32 can relay communication between the terminal device and the device belonging to the wired NW.

次いで、S124では、CPU32は、プリンタPRがG/O機器であり、かつ、プリンタPRとの無線接続を確立している全てのCL機器の認証が成功しているのか否かを判断する。CPU32は、プリンタPRとの無線接続を確立している全てのCL機器についてS120でYESと判断済みである場合には、S124でYESと判断し、S127において、CL中継機能を「ON」に設定する。即ち、全てのCL機器の信頼性が保証されているので、2個以上のCL機器の間の無線通信の実行を制限する必要がない。このために、CPU32は、2個以上のCL機器の間の無線通信を中継する。この結果、各CL機器のユーザの利便性を向上させ得る。S127が終了すると、図3の処理が終了する。   Next, in S124, the CPU 32 determines whether or not the printer PR is a G / O device and all the CL devices that have established a wireless connection with the printer PR have been successfully authenticated. If all the CL devices that have established a wireless connection with the printer PR have already determined YES in S120, the CPU 32 determines YES in S124, and sets the CL relay function to “ON” in S127. To do. That is, since the reliability of all the CL devices is guaranteed, it is not necessary to limit the execution of wireless communication between two or more CL devices. For this purpose, the CPU 32 relays wireless communication between two or more CL devices. As a result, the convenience of the user of each CL device can be improved. When S127 ends, the process of FIG. 3 ends.

一方、CPU32は、プリンタPRとの無線接続を確立している少なくとも1個のCL機器についてS120でNOと判断済みである場合には、S124でNOと判断し、S128において、CL中継機能を「OFF」に設定する。即ち、全てのCL機器の信頼性が保証されていないので、2個以上のCL機器の間の無線通信の実行を制限する。この結果、無線NWのセキュリティを維持することができる。S122、S127、及び、S128の処理は、図4の(a)、図5の(l)、(n)に対応する。S127が終了すると、図3の処理が終了する。   On the other hand, if the CPU 32 has determined NO in S120 for at least one CL device that has established a wireless connection with the printer PR, the CPU 32 determines NO in S124, and sets the CL relay function to “ Set to “OFF”. That is, since the reliability of all CL devices is not guaranteed, the execution of wireless communication between two or more CL devices is restricted. As a result, the security of the wireless NW can be maintained. The processes of S122, S127, and S128 correspond to (a) of FIG. 4, (l), and (n) of FIG. When S127 ends, the process of FIG. 3 ends.

続いて、高セキュリティ条件が満たされていないと判断される場合(S110でNO)について説明する。S130では、CPU32は、CL中継機能を「ON」に設定して、2個以上のCL機器の間の無線通信の実行を制限しない。高セキュリティ条件が満たされていない場合(S110でNO)には、プリンタPRの管理者のセキュリティの意識がそれほど高くないことが予想される。従って、CL中継機能が「ON」に設定されることに起因して無線NWのセキュリティが低下し得るが、プリンタPRの管理者のセキュリティポリシーに背く結果になる可能性が低い。CL中継機能が「ON」に設定されるので、各CL機器のユーザの利便性を向上させ得る。   Next, a case where it is determined that the high security condition is not satisfied (NO in S110) will be described. In S <b> 130, the CPU 32 sets the CL relay function to “ON” and does not restrict the execution of wireless communication between two or more CL devices. If the high security condition is not satisfied (NO in S110), it is expected that the security awareness of the administrator of the printer PR is not so high. Therefore, although the security of the wireless NW may be reduced due to the CL relay function being set to “ON”, there is a low possibility that the result will be contrary to the security policy of the administrator of the printer PR. Since the CL relay function is set to “ON”, the convenience of the user of each CL device can be improved.

次いで、S132では、CPU32は、プリンタPRが有線NWに所属しているのか否かを判断する。CPU32は、有線ケーブル4が有線I/F20に接続されている状態(即ちリンクアップ状態)である場合に、S132でYESと判断し、S134において、端末機器のためのルーティング機能を「ON」に設定する。従って、ルーティング機能が「ON」に設定されることに起因して有線NWのセキュリティが低下し得るが、プリンタPRの管理者のセキュリティポリシーに背く結果になる可能性が低い。ルーティング機能が「ON」に設定されるので、端末機器のユーザの利便性を向上させ得る。S130及びS134の処理は、図4の(h)、(i)図5の(t)、(u)に対応する。S134が終了すると、図3の処理が終了する。   Next, in S132, the CPU 32 determines whether or not the printer PR belongs to the wired NW. When the wired cable 4 is connected to the wired I / F 20 (that is, the link-up state), the CPU 32 determines YES in S132, and turns on the routing function for the terminal device in S134. Set. Therefore, although the security of the wired NW can be reduced due to the routing function being set to “ON”, the possibility of disobeying the security policy of the administrator of the printer PR is low. Since the routing function is set to “ON”, the convenience of the user of the terminal device can be improved. The processes in S130 and S134 correspond to (h) and (i) in FIG. 4 and (t) and (u) in FIG. When S134 ends, the process of FIG. 3 ends.

一方、CPU32は、有線ケーブル4が有線I/F20に接続されていない状態(即ちリンクダウン状態)である場合に、S132でNOと判断し、S136において、端末機器のためのルーティング機能を「OFF」に設定する。プリンタPRが有線NWに所属していないために、ルーティング機能を「ON」に設定する必要がないからである。S130及びS136の処理は、図4の(j)、(k)図5の(v)、(w)に対応する。S136が終了すると、図3の処理が終了する。   On the other hand, when the wired cable 4 is not connected to the wired I / F 20 (that is, in the link-down state), the CPU 32 determines NO in S132, and turns off the routing function for the terminal device in S136. To "". This is because it is not necessary to set the routing function to “ON” because the printer PR does not belong to the wired NW. The processes of S130 and S136 correspond to (j) and (k) in FIG. 4 and (v) and (w) in FIG. When S136 ends, the process of FIG. 3 ends.

なお、図4の(c)、(e)、(g)では、端末機器との無線接続が確立されないので、図3の無線接続処理が実行されない。このために、図4の(c)、(e)、(g)では、ルーティング機能及びCL中継機能が設定されない。   In (c), (e), and (g) of FIG. 4, the wireless connection process of FIG. 3 is not executed because the wireless connection with the terminal device is not established. For this reason, the routing function and the CL relay function are not set in (c), (e), and (g) of FIG.

(通知処理;図6)
続いて、図6を参照して、プリンタPRのCPU32が実行する通知処理の内容について説明する。通知処理は、未登録機器のデバイス名を登録機器リスト38に登録させることをユーザに促すための処理である。通知処理は、端末機器との無線接続が確立されること(図2のS22,S28参照)をトリガとして実行される。
(Notification processing; FIG. 6)
Next, the contents of the notification process executed by the CPU 32 of the printer PR will be described with reference to FIG. The notification process is a process for prompting the user to register the device name of the unregistered device in the registered device list 38. The notification process is executed with the establishment of a wireless connection with the terminal device (see S22 and S28 in FIG. 2) as a trigger.

S210は、図3のS112と同様である。CPU32は、プリンタPRが認証サーバ100を備える有線NWに所属していると判断する場合(S210でYES)に、S216に進み、プリンタPRが認証サーバ100を備える有線NWに所属していないと判断する場合(S210でNO)に、以降の処理を実行せずに図6の処理を終了する。   S210 is the same as S112 of FIG. When the CPU 32 determines that the printer PR belongs to the wired NW including the authentication server 100 (YES in S210), the CPU 32 proceeds to S216 and determines that the printer PR does not belong to the wired NW including the authentication server 100. If so (NO in S210), the process of FIG. 6 is terminated without executing the subsequent processes.

プリンタPRが認証サーバ100を備える有線NWに所属している状況(S210でYES)では、上述したように、図3のS112でYESと判断されて、S116〜S120が実行される。図3のS120でYESと判断される場合には、図4のS216において、CPU32は、認証サーバ100から成功通知を受信したと判断し(S216でYES)、S218に進む。一方、図3のS120でNOと判断される場合には、図4のS216において、CPU32は、認証サーバ100から失敗通知を受信したと判断し(S216でNO)、以降の処理を実行せずに図6の処理を終了する。   In the situation where the printer PR belongs to the wired NW including the authentication server 100 (YES in S210), as described above, YES is determined in S112 of FIG. 3, and S116 to S120 are executed. If YES is determined in S120 of FIG. 3, in S216 of FIG. 4, the CPU 32 determines that a success notification has been received from the authentication server 100 (YES in S216), and proceeds to S218. On the other hand, if NO is determined in S120 of FIG. 3, in S216 of FIG. 4, the CPU 32 determines that a failure notification has been received from the authentication server 100 (NO in S216), and does not execute the subsequent processing. Then, the process of FIG.

S218では、CPU32は、無線接続拒否フラグ40が「OFF」を示すのか否かを判断する。CPU32は、無線接続拒否フラグ40が「OFF」を示す場合(S218でYES)に、S220に進み、無線接続拒否フラグ40が「ON」を示す場合(S218でNO)に、以降の処理を実行せずに図6の処理を終了する。   In S218, the CPU 32 determines whether or not the wireless connection rejection flag 40 indicates “OFF”. When the wireless connection refusal flag 40 indicates “OFF” (YES in S218), the CPU 32 proceeds to S220, and when the wireless connection refusal flag 40 indicates “ON” (NO in S218), the CPU 32 executes the subsequent processing. The process of FIG.

S220では、CPU32は、端末機器が未登録機器であるのか否かを判断する。CPU32は、図2のS10のProbe Req.信号に含まれるデバイス名に一致するデバイス名が、登録機器リスト38に登録されていない場合(S220でYES)に、S222に進む。一方、CPU32は、図2のS10のProbe Req.信号に含まれるデバイス名に一致するデバイス名が、登録機器リスト38に登録されている場合(S220でNO)に、以降の処理を実行せずに図6の処理を終了する。   In S220, the CPU 32 determines whether the terminal device is an unregistered device. If the device name that matches the device name included in the Probe Req. Signal in S10 of FIG. 2 is not registered in the registered device list 38 (YES in S220), the CPU 32 proceeds to S222. On the other hand, when the device name that matches the device name included in the Probe Req. Signal in S10 of FIG. 2 is registered in the registered device list 38 (NO in S220), the CPU 32 does not execute the subsequent processing. Then, the process of FIG.

S222では、CPU32は、端末機器のデバイス名を登録機器リスト38に登録することを促すメッセージを含む通知画面を表示部14に表示させる。ユーザは、通知画面を見ることによって、端末機器のデバイス名を登録機器リスト38に登録すべきことを知ることができ、そのための操作を実行し得る。即ち、未登録機器である端末機器が登録機器に変更され得る。S222が終了すると、図6の処理が終了する。   In S222, the CPU 32 causes the display unit 14 to display a notification screen including a message that prompts the user to register the device name of the terminal device in the registered device list 38. By viewing the notification screen, the user can know that the device name of the terminal device should be registered in the registered device list 38, and can execute an operation for that purpose. That is, a terminal device that is an unregistered device can be changed to a registered device. When S222 ends, the process of FIG. 6 ends.

上記の通知処理では、認証サーバ100での端末機器の認証が成功しているので(S216でYES)、端末機器の信頼性が保証されている。それにも関わらず、端末機器が登録機器リスト38に登録されていないので(S220でYES)、端末機器のデバイス名を登録機器リスト38に登録することをユーザに促す(S222)。これにより、未登録機器である端末機器が登録機器に変更され得る。従って、この後、無線接続拒否フラグ40が「OFF」から「ON」に変更され、さらに、端末機器との無線接続が一旦切断されて当該無線接続が再び確立されるべき際に、端末機器との無線接続を適切に確立することができる(図2のS11でYES、S12でYES、S14でYES)。   In the above notification process, since the authentication of the terminal device with the authentication server 100 is successful (YES in S216), the reliability of the terminal device is guaranteed. Nevertheless, since the terminal device is not registered in the registered device list 38 (YES in S220), the user is prompted to register the device name of the terminal device in the registered device list 38 (S222). Thereby, a terminal device which is an unregistered device can be changed to a registered device. Therefore, after this, when the wireless connection rejection flag 40 is changed from “OFF” to “ON”, and when the wireless connection with the terminal device is once disconnected and the wireless connection should be reestablished, Can be appropriately established (YES in S11 of FIG. 2, YES in S12, YES in S14).

(具体的なケース;図7〜図11)
続いて、図7〜図11を参照して、図2、図3、及び、図6のフローチャートに従って実現される具体的なケースA〜Eの内容を説明する。
(Specific cases: FIGS. 7 to 11)
Next, specific contents of cases A to E realized according to the flowcharts of FIGS. 2, 3, and 6 will be described with reference to FIGS. 7 to 11.

(ケースA;図7)
本ケースでは、プリンタPRは、端末機器90を備える有線NWに所属している。また、G/O機器として動作するプリンタPRと、CL機器として動作する端末機器80と、が所属する無線NWが形成されている。無線接続拒否フラグ40が「ON」を示す。有線NWは、各サーバ100〜140を備えていない(即ち、認証サーバフラグ41a、プロキシサーバフラグ42a、及び、関係情報フラグ44aは、「OFF」を示す)。SFLフラグ45aは、「OFF」を示す。従って、高セキュリティ条件が満たされていない。端末機器70は、未登録機器であり、端末機器80は、登録機器である。
(Case A; FIG. 7)
In this case, the printer PR belongs to a wired NW that includes the terminal device 90. Further, a wireless NW to which a printer PR that operates as a G / O device and a terminal device 80 that operates as a CL device belongs is formed. The wireless connection rejection flag 40 indicates “ON”. The wired NW does not include the servers 100 to 140 (that is, the authentication server flag 41a, the proxy server flag 42a, and the relationship information flag 44a indicate “OFF”). The SFL flag 45a indicates “OFF”. Therefore, the high security condition is not satisfied. The terminal device 70 is an unregistered device, and the terminal device 80 is a registered device.

T10では、ユーザは、端末機器70にサーチ操作を実行する。この場合、プリンタPRは、T12において、端末機器70からProbe Req.信号を受信する(図2のS10でYES)。プリンタPRは、無線接続拒否フラグ40が「ON」を示していると判断し(S11でYES)、高セキュリティ条件が満たされていないと判断し(S12でNO)、プリンタPRがG/O機器であると判断する(S16でNO)。T14では、プリンタPRは、無線NWのSSID「AAA」を含むProbe Res.信号を端末機器70に送信する(S24)。   In T <b> 10, the user performs a search operation on the terminal device 70. In this case, the printer PR receives a Probe Req. Signal from the terminal device 70 at T12 (YES in S10 of FIG. 2). The printer PR determines that the wireless connection refusal flag 40 indicates “ON” (YES in S11), determines that the high security condition is not satisfied (NO in S12), and the printer PR is the G / O device. (NO in S16). In T14, the printer PR transmits a Probe Res. Signal including the SSID “AAA” of the wireless NW to the terminal device 70 (S24).

T16では、端末機器70は、プリンタPRから受信されたSSID「AAA」を含む選択画面を表示する。T18では、ユーザは、選択画面からSSID「AAA」を選択する操作を端末機器70に実行する。   In T16, the terminal device 70 displays a selection screen including the SSID “AAA” received from the printer PR. At T <b> 18, the user performs an operation on the terminal device 70 for selecting the SSID “AAA” from the selection screen.

プリンタPRは、T20において、端末機器70からProvision Discovery Req.信号を受信し(S26)、T22において、CL状態で動作する端末機器70との無線接続を確立する(S28)。これにより、プリンタPRは、無線NWを利用した無線通信の実行を端末機器70に許容することができる。   The printer PR receives the Provision Discovery Req. Signal from the terminal device 70 at T20 (S26), and establishes a wireless connection with the terminal device 70 operating in the CL state at T22 (S28). Accordingly, the printer PR can allow the terminal device 70 to execute wireless communication using the wireless NW.

T23では、プリンタPRは、高セキュリティ条件が満たされていないと判断し(図3のS110でNO)、CL中継機能を「ON」に設定する(S130)。さらに、プリンタPRは、プリンタPRが有線NWに所属していると判断し(S132でYES)、端末機器70のためのルーティング機能を「ON」に設定する(S134)。   In T23, the printer PR determines that the high security condition is not satisfied (NO in S110 of FIG. 3), and sets the CL relay function to “ON” (S130). Further, the printer PR determines that the printer PR belongs to the wired NW (YES in S132), and sets the routing function for the terminal device 70 to “ON” (S134).

ルーティング機能が「ON」に設定されるので、プリンタPRは、T24において、無線NWを利用して、端末機器90が送信先として指定されているファイルを端末機器70から受信して、T26において、有線NWを利用して、当該ファイルを端末機器90に送信することができる。また、CL中継機能が「ON」に設定されるので、プリンタPRは、T28において、無線NWを利用して、端末機器80が送信先として指定されているファイルを端末機器70から受信して、T30において、無線NWを利用して、当該ファイルを端末機器80に送信することができる。   Since the routing function is set to “ON”, the printer PR uses the wireless NW at T24 to receive the file designated by the terminal device 90 as the transmission destination from the terminal device 70, and at T26. The file can be transmitted to the terminal device 90 using a wired NW. In addition, since the CL relay function is set to “ON”, the printer PR uses the wireless NW to receive the file designated as the transmission destination from the terminal device 70 in T28, At T30, the file can be transmitted to the terminal device 80 using the wireless NW.

(ケースAの効果)
ケースAによると、プリンタPRは、高セキュリティ条件が満たされていないことに起因してプリンタPRのセキュリティを維持する必要性が低い状況において、未登録機器である端末機器70との無線接続を確立して、無線NWを利用した無線通信の実行を端末機器70に許容する。これにより、端末機器70のユーザの利便性を向上させることができる。
(Effect of Case A)
According to Case A, the printer PR establishes a wireless connection with the terminal device 70 which is an unregistered device in a situation where it is less necessary to maintain the security of the printer PR due to the high security conditions not being satisfied. Thus, the terminal device 70 is allowed to execute wireless communication using the wireless NW. Thereby, the convenience of the user of the terminal device 70 can be improved.

また、プリンタPRは、ルーティング機能を「ON」に設定すると共に、CL中継機能を「ON」に設定する(T23)。これにより、プリンタPRは、端末機器70と端末機器90との間の通信を中継する(T24,T26)と共に、2個のCL機器である端末機器70,80の間の無線通信を中継する(T28,T30)。これにより、端末機器70のユーザの利便性を向上させることができる。   Further, the printer PR sets the routing function to “ON” and sets the CL relay function to “ON” (T23). Accordingly, the printer PR relays communication between the terminal device 70 and the terminal device 90 (T24, T26) and also relays wireless communication between the terminal devices 70 and 80, which are two CL devices ( T28, T30). Thereby, the convenience of the user of the terminal device 70 can be improved.

(ケースB;図8)
本ケースでは、プリンタPRは、端末機器90と認証サーバ100とを備える有線NWに所属している(即ち認証サーバフラグ41aが「ON」を示す)。また、G/O機器として動作するプリンタPRと、CL機器として動作する端末機器80と、が所属する無線NWが形成されている。無線接続拒否フラグ40が「ON」を示す。プリンタPRが認証サーバ100を備える有線NWに所属しているので、高セキュリティ条件が満たされている。端末機器70,80は、登録機器である。
(Case B; Fig. 8)
In this case, the printer PR belongs to a wired NW including the terminal device 90 and the authentication server 100 (that is, the authentication server flag 41a indicates “ON”). Further, a wireless NW to which a printer PR that operates as a G / O device and a terminal device 80 that operates as a CL device belongs is formed. The wireless connection rejection flag 40 indicates “ON”. Since the printer PR belongs to the wired NW provided with the authentication server 100, the high security condition is satisfied. The terminal devices 70 and 80 are registered devices.

T110,T112は、図7のT10,T12と同様である。プリンタPRは、無線接続拒否フラグ40が「ON」を示すと判断し(図2のS11でYES)、高セキュリティ条件が満たされていると判断し(S12でYES)、端末機器70が登録機器であると判断し(S14でYES)、プリンタPRがG/O機器であると判断する(S16でNO)。T114では、プリンタPRは、SSID「AAA」を含むProbe Res.信号を端末機器70に送信する(S24)。T116〜T122は、図7のT16〜T22と同様である。T124では、ユーザは、端末機器70に認証情報を入力する。   T110 and T112 are the same as T10 and T12 of FIG. The printer PR determines that the wireless connection rejection flag 40 indicates “ON” (YES in S11 of FIG. 2), determines that the high security condition is satisfied (YES in S12), and the terminal device 70 is the registered device. (YES in S14), it is determined that the printer PR is a G / O device (NO in S16). In T114, the printer PR transmits a Probe Res. Signal including the SSID “AAA” to the terminal device 70 (S24). T116 to T122 are the same as T16 to T22 of FIG. At T <b> 124, the user inputs authentication information to the terminal device 70.

プリンタPRは、T126において、端末機器70から認証情報を受信して(図3のS116でYES)、T128において、有線NWを利用して、認証情報を認証サーバ100に送信する(S118)。T130では、認証サーバ100において、認証情報を利用した端末機器70の認証が失敗する。   The printer PR receives the authentication information from the terminal device 70 at T126 (YES in S116 of FIG. 3), and transmits the authentication information to the authentication server 100 using the wired NW at T128 (S118). At T130, the authentication server 100 fails to authenticate the terminal device 70 using the authentication information.

プリンタPRは、T132において、有線NWを利用して、認証サーバ100から失敗通知を受信する(図3のS120でNO)。このために、プリンタPRは、端末機器70のためのルーティング機能を「OFF」に設定すると共に、CL中継機能を「OFF」に設定する(S121)。   In T132, the printer PR uses the wired NW to receive a failure notification from the authentication server 100 (NO in S120 of FIG. 3). For this purpose, the printer PR sets the routing function for the terminal device 70 to “OFF” and also sets the CL relay function to “OFF” (S121).

ルーティング機能が「OFF」に設定されるので、プリンタPRは、T134において、無線NWを利用して、端末機器90が送信先として指定されているファイルを端末機器70から受信しても、T136において、有線NWを利用して、当該ファイルを端末機器90に送信しない。また、CL中継機能が「OFF」に設定されるので、プリンタPRは、T138において、無線NWを利用して、端末機器80が送信先として指定されているファイルを端末機器70から受信しても、T140において、無線NWを利用して、当該ファイルを端末機器80に送信しない。   Since the routing function is set to “OFF”, even if the printer PR receives the file designated as the transmission destination by the terminal device 90 from the terminal device 70 using the wireless NW at T134, the printer PR at T136. The file is not transmitted to the terminal device 90 using the wired NW. Further, since the CL relay function is set to “OFF”, the printer PR uses the wireless NW at T138 even if the terminal device 80 receives the file designated as the transmission destination from the terminal device 70. In T140, the wireless NW is not used to transmit the file to the terminal device 80.

(ケースBの効果)
ケースBによると、プリンタPRは、高セキュリティ条件が満たされていることに起因してプリンタPRのセキュリティを維持する必要性が高い場合に、比較的に高い信頼性を有する登録機器である端末機器70との無線接続を確立して、無線NWを利用した無線通信の実行を端末機器70に許容する。これにより、プリンタPRのセキュリティを維持しつつ、端末機器70のユーザの利便性を向上させることができる。
(Effect of Case B)
According to Case B, the printer PR is a terminal device that is a registered device having relatively high reliability when it is highly necessary to maintain the security of the printer PR due to the high security conditions being satisfied. 70 is established, and the terminal device 70 is allowed to execute wireless communication using the wireless NW. Thereby, the convenience of the user of the terminal device 70 can be improved while maintaining the security of the printer PR.

上述したように、端末機器70が登録機器であるので、端末機器70の信頼性が比較的に高いが、認証サーバ100での端末機器70の認証が失敗するので(T132)、端末機器70の信頼性が確実に保証されているとはいえない。このために、プリンタPRは、ルーティング機能を「OFF」に設定すると共に、CL中継機能を「OFF」に設定する(T133)。これにより、プリンタPRは、有線NW及び無線NWのセキュリティを維持することができる。   As described above, since the terminal device 70 is a registered device, the reliability of the terminal device 70 is relatively high, but the authentication of the terminal device 70 with the authentication server 100 fails (T132). Reliability cannot be guaranteed. Therefore, the printer PR sets the routing function to “OFF” and sets the CL relay function to “OFF” (T133). Thereby, the printer PR can maintain the security of the wired NW and the wireless NW.

(ケースC;図9)
本ケースでは、プリンタPRは、端末機器90とプロキシサーバ110とを備える有線NWに所属している(即ちプロキシサーバフラグ42aが「ON」を示す)。また、G/O機器として動作するプリンタPRと、CL機器として動作する端末機器80と、が所属する無線NWが形成されている。無線接続拒否フラグ40が「ON」を示す。プリンタPRがプロキシサーバ110を備える有線NWに所属しているので、高セキュリティ条件が満たされている。端末機器70は、未登録機器であり、端末機器80は、登録機器である。
(Case C; FIG. 9)
In this case, the printer PR belongs to a wired NW including the terminal device 90 and the proxy server 110 (that is, the proxy server flag 42a indicates “ON”). Further, a wireless NW to which a printer PR that operates as a G / O device and a terminal device 80 that operates as a CL device belongs is formed. The wireless connection rejection flag 40 indicates “ON”. Since the printer PR belongs to the wired NW provided with the proxy server 110, the high security condition is satisfied. The terminal device 70 is an unregistered device, and the terminal device 80 is a registered device.

T210,T212は、図7のT10,T12と同様である。プリンタPRは、無線接続拒否フラグ40が「ON」を示すと判断し(図2のS11でYES)、高セキュリティ条件が満たされていると判断し(S12でYES)、端末機器70が登録機器ではないと判断する(S14でNO)。このために、T214では、プリンタPRは、Probe Res.信号を端末機器70に送信しない。この結果、プリンタPRは、端末機器70との無線接続を確立しない。   T210 and T212 are the same as T10 and T12 of FIG. The printer PR determines that the wireless connection rejection flag 40 indicates “ON” (YES in S11 of FIG. 2), determines that the high security condition is satisfied (YES in S12), and the terminal device 70 is the registered device. It is determined that it is not (NO in S14). For this reason, in T214, the printer PR does not transmit the Probe Res. Signal to the terminal device 70. As a result, the printer PR does not establish a wireless connection with the terminal device 70.

(ケースCの効果)
ケースCによると、プリンタPRは、高セキュリティ条件が満たされていることに起因してプリンタPRのセキュリティを維持する必要性が高い場合に、比較的に低い信頼性を有する未登録機器である端末機器70との無線接続を確立しない。これにより、プリンタPRは、有線NWのセキュリティとプリンタPRのセキュリティとを維持することができる。
(Effect of Case C)
According to Case C, the printer PR is a terminal that is an unregistered device having relatively low reliability when it is highly necessary to maintain the security of the printer PR due to the high security condition being satisfied. A wireless connection with the device 70 is not established. Accordingly, the printer PR can maintain the security of the wired NW and the security of the printer PR.

(ケースD;図10)
本ケースの初期状態は、図8のケースBと同様である。T310〜T328は、図8のT110〜T128と同様である。T330では、認証サーバ100において、端末機器70の認証が成功する。
(Case D; FIG. 10)
The initial state of this case is the same as Case B in FIG. T310 to T328 are the same as T110 to T128 of FIG. In T330, the authentication of the terminal device 70 is successful in the authentication server 100.

プリンタPRは、T332において、有線NWを利用して、認証サーバ100から成功通知を受信し(図3のS120でYES)、T333において、端末機器70のためのルーティング機能を「ON」に設定する(S122)。また、プリンタPRは、各端末機器70,80の認証が成功済みであるので(図3のS124でYES)、CL中継機能を「ON」に設定する(S127)。   The printer PR receives the success notification from the authentication server 100 using the wired NW at T332 (YES in S120 of FIG. 3), and sets the routing function for the terminal device 70 to “ON” at T333. (S122). Further, since the printer PR has successfully authenticated the terminal devices 70 and 80 (YES in S124 in FIG. 3), the CL relay function is set to “ON” (S127).

ルーティング機能が「ON」に設定されるので、プリンタPRは、T334及びT336において、端末機器70から端末機器90へのファイルの送信を中継する。また、CL中継機能が「ON」に設定されるので、T338及びT340において、プリンタPRは、端末機器70から端末機器80へのファイルの送信を中継する。   Since the routing function is set to “ON”, the printer PR relays file transmission from the terminal device 70 to the terminal device 90 at T334 and T336. Since the CL relay function is set to “ON”, the printer PR relays the transmission of the file from the terminal device 70 to the terminal device 80 at T338 and T340.

(ケースDの効果)
ケースDによると、プリンタPRは、高セキュリティ条件が満たされていることに起因してプリンタPRのセキュリティを維持する必要性が高い場合に、比較的に高い信頼性を有する登録機器である端末機器70との無線接続を確立して、無線NWを利用した無線通信の実行を端末機器70に許容する。これにより、プリンタPRのセキュリティを維持しつつ、端末機器70のユーザの利便性を向上させることができる。
(Effect of Case D)
According to Case D, the printer PR is a terminal device that is a registered device having relatively high reliability when it is highly necessary to maintain the security of the printer PR due to the high security conditions being satisfied. 70 is established, and the terminal device 70 is allowed to execute wireless communication using the wireless NW. Thereby, the convenience of the user of the terminal device 70 can be improved while maintaining the security of the printer PR.

また、認証サーバ100での端末機器70の認証が成功するので、端末機器70の信頼性が保証されている。このために、プリンタPRは、端末機器70と端末機器90との間の通信を中継する(T334,T336)と共に、2個のCL機器である端末機器70,80の間の無線通信を中継する(T338,T340)。これにより、端末機器70のユーザの利便性を向上させることができる。   Further, since the authentication of the terminal device 70 with the authentication server 100 is successful, the reliability of the terminal device 70 is guaranteed. For this purpose, the printer PR relays communication between the terminal device 70 and the terminal device 90 (T334, T336) and relays wireless communication between the terminal devices 70 and 80, which are two CL devices. (T338, T340). Thereby, the convenience of the user of the terminal device 70 can be improved.

(ケースE;図11)
本ケースの初期状態は、無線接続拒否フラグがOFFである点と、端末機器70が未登録機器である点と、を除いて、図10のケースDと同様である。T410〜T433は、図10のT310〜T333と同様である。ただし、図10のケースDとは異なり、プリンタPRは、無線接続拒否フラグがOFFであると判断した後に(図2のS11でNO)、T414の処理を実行する。T434では、プリンタPRは、端末機器70のデバイス名を登録機器リスト38に登録することを促すメッセージを含む通知画面を表示する(図6のS222)。T436〜T442は、図10のT334〜T340と同様である。
(Case E; FIG. 11)
The initial state of this case is the same as Case D in FIG. 10 except that the wireless connection rejection flag is OFF and the terminal device 70 is an unregistered device. T410 to T433 are the same as T310 to T333 in FIG. However, unlike the case D in FIG. 10, the printer PR executes the process of T414 after determining that the wireless connection rejection flag is OFF (NO in S11 in FIG. 2). In T434, the printer PR displays a notification screen including a message prompting to register the device name of the terminal device 70 in the registered device list 38 (S222 in FIG. 6). T436 to T442 are the same as T334 to T340 in FIG.

(ケースEの効果)
認証サーバ100での端末機器70の認証が成功しているので(T432)、端末機器70の信頼性が保証されている。それにも関わらず、端末機器70が登録機器リスト38に登録されていないので、端末機器70のデバイス名を登録機器リスト38に登録することをユーザに促す(T434)。これにより、未登録機器である端末機器70が登録機器に変更され得る。従って、この後、無線接続拒否フラグ40が「OFF」から「ON」に変更され、さらに、端末機器70との無線接続(T422)が一旦切断されて当該無線接続が再び確立されるべき際に、端末機器70との無線接続を適切に確立することができる。
(Effect of Case E)
Since the authentication of the terminal device 70 with the authentication server 100 is successful (T432), the reliability of the terminal device 70 is guaranteed. Nevertheless, since the terminal device 70 is not registered in the registered device list 38, the user is prompted to register the device name of the terminal device 70 in the registered device list 38 (T434). Thereby, the terminal device 70 which is an unregistered device can be changed to a registered device. Therefore, after that, the wireless connection rejection flag 40 is changed from “OFF” to “ON”, and when the wireless connection (T422) with the terminal device 70 is once disconnected and the wireless connection should be established again. The wireless connection with the terminal device 70 can be appropriately established.

(対応関係)
プリンタPR、端末機器70、DHCPサーバ140が、それぞれ、「通信機器」、「外部機器」、「IPアドレス割当サーバ」の一例である。プロキシサーバ110、NetBIOS Nameサーバ120、及び、SNTPサーバ130が、「所定のサーバ」の一例である。G/O機器、CL機器が、それぞれ、「親局」、「子局」の一例である。
(Correspondence)
The printer PR, the terminal device 70, and the DHCP server 140 are examples of “communication device”, “external device”, and “IP address assignment server”, respectively. The proxy server 110, the NetBIOS Name server 120, and the SNTP server 130 are examples of “predetermined servers”. The G / O device and the CL device are examples of “master station” and “slave station”, respectively.

図7〜図11の有線NWが、「特定のネットワーク」の一例である。デバイス名、SFL情報が、それぞれ、「機器識別情報」、「機能情報」の一例である。図2のS10のProbe Req.信号が、「無線接続要求」の一例である。無線接続拒否フラグ40が「ON」を示す状態、「OFF」を示す状態が、それぞれ、「第1の動作モード」、「第2の動作モード」の一例である。低セキュリティプロトコル、高セキュリティプロトコルが、「第1の通信プロトコル」、「第2の通信プロトコル」の一例である。図7のT24,T28、図8のT134,T138、図10のT334,T338、図11のT436,T440において、端末機器70がファイルを送信する処理が、「特定の通信処理」の一例である。図2のS18〜S28の処理が、「所定処理」及び「接続処理」の一例である。   The wired NW in FIGS. 7 to 11 is an example of a “specific network”. The device name and SFL information are examples of “device identification information” and “function information”, respectively. The Probe Req. Signal in S10 of FIG. 2 is an example of a “wireless connection request”. The state in which the wireless connection rejection flag 40 indicates “ON” and the state in which “OFF” are indicated are examples of the “first operation mode” and the “second operation mode”, respectively. The low security protocol and the high security protocol are examples of the “first communication protocol” and the “second communication protocol”. The process in which the terminal device 70 transmits a file at T24 and T28 in FIG. 7, T134 and T138 in FIG. 8, T334 and T338 in FIG. 10, and T436 and T440 in FIG. 11 is an example of “specific communication process”. . The processes of S18 to S28 in FIG. 2 are examples of “predetermined process” and “connection process”.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。   Specific examples of the present invention have been described in detail above, but these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above. The modifications of the above embodiment are listed below.

(変形例1)プリンタPRは、無線I/F22とは異なる無線I/Fを備えていてもよい。この場合、プリンタPRは、当該異なる無線I/Fを利用してアクセスポイントとの無線接続を確立して、当該アクセスポイントを備える無線ネットワークに所属してもよい。無線ネットワークは、さらに、各サーバ100〜140を備えていてもよい。一般的に言うと、「特定ネットワーク」は、有線ネットワークであってもよいし、無線ネットワークであってもよい。 (Modification 1) The printer PR may include a wireless I / F different from the wireless I / F 22. In this case, the printer PR may establish a wireless connection with the access point using the different wireless I / F and belong to a wireless network including the access point. The wireless network may further include the servers 100 to 140. Generally speaking, the “specific network” may be a wired network or a wireless network.

(変形例2)上記の実施例では、プリンタPRは、図2のS21において、G/O Nego.を実行して、プリンタPRの動作状態を、デバイス状態からG/O状態又はCL状態に移行させる。これに代えて、プリンタPRは、G/O Nego.を実行せずに、自発的にG/O状態に移行して、プリンタPRがG/O機器(即ち「親局」の一例)として動作する無線ネットワークを形成してもよい。その後、プリンタPRは、端末機器との無線接続を確立して、端末機器を子局として無線ネットワークに参加させてもよい。また、プリンタPRは、G/O Nego.を実行せずに、いわゆるSoftAPを起動させて、プリンタPRがアクセスポイント(即ち「親局」の一例)として動作する無線ネットワークを形成してもよい。その後、プリンタPRは、端末機器との無線接続を確立して、端末機器を子局として無線ネットワークに参加させてもよい。即ち、「無線ネットワーク」は、G/O Nego.が実行されて形成されるネットワークであってもよいし、G/O Nego.が実行されずに形成されるネットワークであってもよい。 (Modification 2) In the above embodiment, the printer PR executes G / O Nego. In S21 of FIG. 2 to shift the operation state of the printer PR from the device state to the G / O state or the CL state. Let Instead, the printer PR spontaneously shifts to the G / O state without executing G / O Nego., And the printer PR operates as a G / O device (that is, an example of “master station”). A wireless network may be formed. Thereafter, the printer PR may establish a wireless connection with the terminal device and allow the terminal device to participate in the wireless network as a slave station. Further, the printer PR may activate a so-called Soft AP without executing G / O Nego. To form a wireless network in which the printer PR operates as an access point (ie, an example of a “parent station”). Thereafter, the printer PR may establish a wireless connection with the terminal device and allow the terminal device to participate in the wireless network as a slave station. That is, the “wireless network” may be a network formed by executing G / O Nego. Or a network formed without executing G / O Nego.

(変形例3)上記の実施例では、高セキュリティ条件は、第1〜第4の条件を含むが、変形例では、第1〜4の条件のうちの1個以上の条件を含んでいればよい。例えば、変形例の一態様では、プリンタPRは、第1及び第2の条件の少なくとも1個が満たされている場合に、高セキュリティ条件が満たされていると判断し、第1及び第2の条件のいずれも満たされていない場合に、高セキュリティ条件が満たされていないと判断してもよい。 (Modification 3) In the above embodiment, the high security condition includes the first to fourth conditions. However, in the modification, the high security condition includes one or more of the first to fourth conditions. Good. For example, in one aspect of the modification, the printer PR determines that the high security condition is satisfied when at least one of the first and second conditions is satisfied, and the first and second conditions are satisfied. If none of the conditions is satisfied, it may be determined that the high security condition is not satisfied.

(変形例4)上記の実施例では、プリンタPRは、高セキュリティ条件が満たされている場合(図2のS12でYES)に、端末機器が登録機器であるのか否かに応じて、端末機器との無線接続を確立するのか否かを変える。これに代えて、プリンタPRは、高セキュリティ条件が満たされている場合(S12でYES)に、端末機器が登録機器であるのか否かに関わらず、端末機器との無線接続を確立してもよい。そして、プリンタPRは、端末機器が登録機器である場合には、無線NWで利用されるべき通信プロトコルとして、低セキュリティプロトコルを決定し、端末機器が未登録機器である場合には、無線NWで利用されるべき通信プロトコルとして、高セキュリティプロトコルを決定してもよい。即ち、プリンタPRは、端末機器が登録機器である場合には、低セキュリティプロトコルを利用した無線通信の実行を端末機器に許容し、端末機器が未登録機器である場合には、低セキュリティプロトコルを利用した無線通信の実行を端末機器に許容しなくてもよい。 (Modification 4) In the above embodiment, the printer PR determines whether the terminal device is a registered device or not when the high security condition is satisfied (YES in S12 of FIG. 2). Whether to establish a wireless connection with. Instead, when the high security condition is satisfied (YES in S12), the printer PR may establish a wireless connection with the terminal device regardless of whether or not the terminal device is a registered device. Good. The printer PR determines a low security protocol as a communication protocol to be used in the wireless NW when the terminal device is a registered device, and uses the wireless NW when the terminal device is an unregistered device. A high security protocol may be determined as a communication protocol to be used. That is, the printer PR allows the terminal device to execute wireless communication using the low security protocol when the terminal device is a registered device, and sets the low security protocol when the terminal device is an unregistered device. It is not necessary to allow the terminal device to execute the used wireless communication.

本変形例では、低セキュリティプロトコルを利用した無線通信を実行する処理が、「特定の通信処理」の一例である。低セキュリティプロトコルを決定する処理が、「所定処理」の一例である。一般的に言うと、「所定処理」は、「接続処理」でなくてもよい。   In the present modification, the process of executing the wireless communication using the low security protocol is an example of “specific communication process”. The process for determining the low security protocol is an example of the “predetermined process”. Generally speaking, the “predetermined process” may not be the “connection process”.

(変形例5)上記の実施例では、プリンタPRは、ルーティング機能を「ON」に設定する場合がある(図3のS134等)。変形例では、プリンタPRは、どのような状況でも、ルーティング機能を「OFF」に設定してもよい。本変形例では、プリンタPRは、有線NWのセキュリティをより高く維持することができる。即ち、「第1の中継部」は省略可能である。 (Modification 5) In the above embodiment, the printer PR may set the routing function to “ON” (S134 in FIG. 3 and the like). In the modification, the printer PR may set the routing function to “OFF” in any situation. In this modification, the printer PR can maintain the security of the wired NW higher. That is, the “first relay unit” can be omitted.

(変形例6)上記の実施例では、プリンタPRは、CL中継機能を「ON」に設定する場合がある(図3のS127等)。変形例では、プリンタPRは、どのような状況でも、CL中継機能を「OFF」に設定してもよい。本変形例では、プリンタPRは、無線NWのセキュリティをより高く維持することができる。即ち、「第2の中継部」は省略可能である。 (Modification 6) In the above-described embodiment, the printer PR may set the CL relay function to “ON” (S127 in FIG. 3 and the like). In the modification, the printer PR may set the CL relay function to “OFF” in any situation. In this modification, the printer PR can maintain the security of the wireless NW higher. That is, the “second relay unit” can be omitted.

(変形例7)上記の実施例では、無線接続拒否フラグ40がメモリ34に記憶されているが、変形例では、記憶されていなくてもよい。本変形例では、プリンタPRは、図2のS11の処理を実行せず、S12に進んでもよく、図6の通知処理を実行しなくてもよい。即ち、「モード設定部」及び「表示制御部」は省略可能である。 (Modification 7) In the above embodiment, the wireless connection rejection flag 40 is stored in the memory 34. However, in the modification, it may not be stored. In the present modification, the printer PR does not execute the process of S11 in FIG. 2, may proceed to S12, and may not execute the notification process of FIG. That is, the “mode setting unit” and the “display control unit” can be omitted.

(変形例8)上記の実施例では、プリンタPRは、図2のS30〜S34において、高セキュリティ条件が満たされているのか否かに応じて、高セキュリティプロトコル又は低セキュリティプロトコルを決定する。変形例では、プリンタPRは、高セキュリティ条件が満たされているのか否かに関わらず、高セキュリティプロトコルを決定してもよい。この場合、プリンタPRは、無線NWを利用して、セキュリティが高い通信プロトコルを利用した無線通信を実行することができる。別の変形例では、プリンタPRは、高セキュリティ条件が満たされているのか否かに関わらず、低セキュリティプロトコルを決定してもよい。この場合、プリンタPRは、無線NWを利用して、利便性が高いプロトコルを利用した無線通信を実行することができる。即ち、「第2の決定部」は省略可能である。 (Modification 8) In the above embodiment, the printer PR determines the high security protocol or the low security protocol in S30 to S34 of FIG. 2 depending on whether or not the high security condition is satisfied. In the modification, the printer PR may determine the high security protocol regardless of whether the high security condition is satisfied. In this case, the printer PR can execute wireless communication using a communication protocol with high security by using the wireless NW. In another variation, the printer PR may determine a low security protocol regardless of whether high security conditions are met. In this case, the printer PR can execute wireless communication using a highly convenient protocol using the wireless NW. That is, the “second determining unit” can be omitted.

(変形例9)「通信機器」は、プリンタPRに限られず、例えば、スキャナ、多機能機、PC、サーバ、携帯端末(携帯電話、スマートフォン、PDA等)等であってもよい。即ち、「通信機器」は、ネットワークに所属可能であり、かつ、他の機器との無線接続を確立可能なあらゆる機器を含む。 (Modification 9) The “communication device” is not limited to the printer PR, and may be, for example, a scanner, a multi-function device, a PC, a server, a mobile terminal (such as a mobile phone, a smartphone, or a PDA). That is, the “communication device” includes any device that can belong to a network and can establish a wireless connection with another device.

(変形例10)上記の各実施例では、プリンタPRのCPU32がプログラム(即ちソフトウェア)を実行することによって、図2、図3、図6の各処理が実現される。これに代えて、図2、図3、図6の各処理のうちの少なくとも1つの処理は、論理回路等のハードウェアによって実現されてもよい。 (Modification 10) In each of the above embodiments, the CPU 32 of the printer PR executes the program (that is, software), thereby realizing the processes shown in FIGS. 2, 3, and 6. Instead of this, at least one of the processes of FIGS. 2, 3, and 6 may be realized by hardware such as a logic circuit.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。   The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology illustrated in the present specification or the drawings achieves a plurality of objects at the same time, and has technical utility by achieving one of the objects.

4:有線ケーブル、12:操作部、14:表示部、16:印刷実行部、20:有線インターフェース、22:無線インターフェース、30:制御部、32:CPU、34:メモリ、36:プログラム、38:登録機器リスト、40:無線接続拒否フラグ、41a:認証サーバフラグ、41b:認証サーバ情報、42a:プロキシサーバフラグ、42b:プロキシサーバ情報、44a:関係情報フラグ、44b:関係情報、45a:SFLフラグ、45b:SFLテーブル、70,80,90:端末機器、100:認証サーバ、100:認証サーバ、110:プロキシサーバ、120:NetBIOS Nameサーバ、130:SNTPサーバ、140:DHCPサーバ、PR:プリンタ   4: wired cable, 12: operation unit, 14: display unit, 16: print execution unit, 20: wired interface, 22: wireless interface, 30: control unit, 32: CPU, 34: memory, 36: program, 38: Registered device list, 40: wireless connection rejection flag, 41a: authentication server flag, 41b: authentication server information, 42a: proxy server flag, 42b: proxy server information, 44a: relationship information flag, 44b: relationship information, 45a: SFL flag 45b: SFL table, 70, 80, 90: terminal device, 100: authentication server, 100: authentication server, 110: proxy server, 120: NetBIOS Name server, 130: SNTP server, 140: DHCP server, PR: printer

Claims (10)

通信機器であって、
外部機器から無線接続要求を受信する要求受信部と、
前記外部機器から前記無線接続要求が受信される場合に、前記通信機器と前記外部機器との間の無線接続を利用した特定の通信処理の実行を前記外部機器に許容するのか否かを決定する第1の決定部と、
前記決定の結果に応じた所定処理を実行する所定処理実行部と、を備え、
前記第1の決定部は、
予め決められている高セキュリティ条件が満たされない状況では、前記無線接続要求に含まれる機器識別情報が前記通信機器のメモリに記憶されているか否かに関わらず、前記特定の通信処理の実行を前記外部機器に許容することを決定し、
前記高セキュリティ条件が満たされており、かつ、前記機器識別情報が前記メモリに記憶されている状況では、前記特定の通信処理の実行を前記外部機器に許容することを決定し、
前記高セキュリティ条件が満たされており、かつ、前記機器識別情報が前記メモリに記憶されていない状況では、前記特定の通信処理の実行を前記外部機器に許容しないことを決定し、
前記高セキュリティ条件は、
(1)前記通信機器が、前記通信機器とは異なる認証サーバを備えるネットワークに所属していること、
(2)前記通信機器が、前記通信機器とは異なるプロキシサーバを備えるネットワークに所属していること、
(3)前記通信機器が、前記通信機器とは異なるIPアドレス割当サーバを備えるネットワークに所属しており、かつ、前記通信機器が、前記IPアドレス割当サーバから、前記ネットワークに所定のサーバが所属していることに関係する所属関係情報を受信済みであること、及び、
(4)前記通信機器が、前記通信機器の各ユーザに対応する各機能情報に従って、前記各ユーザが利用可能な前記通信機器の機能を制限すべき状況であること、
のうちの少なくとも1個の条件を含む、通信機器。
Communication equipment,
A request receiver for receiving a wireless connection request from an external device;
When the wireless connection request is received from the external device, it is determined whether or not the external device is allowed to execute a specific communication process using a wireless connection between the communication device and the external device. A first determining unit;
A predetermined process execution unit that executes a predetermined process according to the result of the determination,
The first determination unit includes:
In a situation where a predetermined high security condition is not satisfied, the specific communication process is executed regardless of whether the device identification information included in the wireless connection request is stored in the memory of the communication device. Decide to allow external equipment,
In a situation where the high security condition is satisfied and the device identification information is stored in the memory, it is determined to allow the external device to execute the specific communication process,
In a situation where the high security condition is satisfied and the device identification information is not stored in the memory, it is determined that the external device is not allowed to execute the specific communication process,
The high security condition is:
(1) The communication device belongs to a network including an authentication server different from the communication device,
(2) the communication device belongs to a network including a proxy server different from the communication device;
(3) The communication device belongs to a network including an IP address assignment server different from the communication device, and the communication device belongs to the network from the IP address assignment server. Have received affiliation information related to
(4) The communication device is in a situation where the functions of the communication device that can be used by each user should be restricted according to each function information corresponding to each user of the communication device.
A communication device including at least one of the conditions.
前記所定処理実行部は、
前記特定の通信処理の実行を前記外部機器に許容することが決定される場合に、前記外部機器との前記無線接続を確立するための接続処理である前記所定処理を実行し、
前記特定の通信処理の実行を前記外部機器に許容しないことが決定される場合に、前記接続処理である前記所定処理を実行しない、請求項1に記載の通信機器。
The predetermined process execution unit includes:
When it is determined that the external device is allowed to execute the specific communication process, the predetermined process that is a connection process for establishing the wireless connection with the external device is executed.
The communication device according to claim 1, wherein when it is determined that the external device is not allowed to execute the specific communication process, the predetermined process that is the connection process is not executed.
前記通信機器は、さらに、
前記通信機器が特定ネットワークに所属している状態で前記外部機器から前記無線接続要求が受信され、かつ、前記高セキュリティ条件が満たされない状況で、前記外部機器との前記無線接続が確立される場合に、前記特定ネットワークに所属している特定機器と、前記外部機器と、の間の通信を中継し、
前記通信機器が前記特定ネットワークに所属している状態で前記外部機器から前記無線接続要求が受信され、かつ、前記高セキュリティ条件が満たされる状況で、前記外部機器との前記無線接続が確立される場合に、前記特定機器と前記外部機器との間の通信を中継しない第1の中継部を備える、請求項2に記載の通信機器。
The communication device further includes:
When the wireless connection is established with the external device in a situation where the wireless connection request is received from the external device while the communication device belongs to a specific network and the high security condition is not satisfied. Relay the communication between the specific device belonging to the specific network and the external device,
The wireless connection with the external device is established in a situation where the wireless connection request is received from the external device while the communication device belongs to the specific network and the high security condition is satisfied. The communication device according to claim 2, further comprising a first relay unit that does not relay communication between the specific device and the external device.
前記通信機器は、さらに、
前記通信機器が前記認証サーバを備える前記特定ネットワークに所属している状態で前記外部機器から認証情報が受信される場合に、前記特定ネットワークを利用して、前記認証情報を前記認証サーバに送信する認証情報送信部と、
前記認証サーバにおいて、前記認証情報を利用した前記外部機器の認証が成功する場合に、前記特定ネットワークを利用して、前記認証サーバから成功通知を受信し、
前記認証サーバにおいて、前記認証情報を利用した前記外部機器の認証が成功しない場合に、前記特定ネットワークを利用して、前記認証サーバから前記成功通知を受信しない成功通知受信部と、を備え、
前記第1の中継部は、
前記通信機器が前記認証サーバを備える前記特定ネットワークに所属していることに起因して前記高セキュリティ条件が満たされる状況で、前記外部機器との前記無線接続が確立され、かつ、前記成功通知が受信される場合に、前記特定機器と前記外部機器との間の通信を中継し、
前記通信機器が前記認証サーバを備える前記特定ネットワークに所属していることに起因して前記高セキュリティ条件が満たされる状況で、前記外部機器との前記無線接続が確立され、かつ、前記成功通知が受信されない場合に、前記特定機器と前記外部機器との間の通信を中継しない、請求項3に記載の通信機器。
The communication device further includes:
When authentication information is received from the external device in a state where the communication device belongs to the specific network including the authentication server, the authentication information is transmitted to the authentication server using the specific network. An authentication information transmission unit;
In the authentication server, when the authentication of the external device using the authentication information is successful, the success notification is received from the authentication server using the specific network,
In the authentication server, when the authentication of the external device using the authentication information does not succeed, a success notification receiving unit that does not receive the success notification from the authentication server using the specific network, and
The first relay unit is
In a situation where the high security condition is satisfied due to the communication device belonging to the specific network including the authentication server, the wireless connection with the external device is established, and the success notification is received When received, relay communication between the specific device and the external device,
In a situation where the high security condition is satisfied due to the communication device belonging to the specific network including the authentication server, the wireless connection with the external device is established, and the success notification is received The communication device according to claim 3, wherein communication between the specific device and the external device is not relayed when not received.
前記通信機器は、さらに、
前記通信機器が前記認証サーバを備える特定ネットワークに所属している状態で前記外部機器から認証情報が受信される場合に、前記特定ネットワークを利用して、前記認証情報を前記認証サーバに送信する認証情報送信部と、
前記認証サーバにおいて、前記認証情報を利用した前記外部機器の認証が成功する場合に、前記特定ネットワークを利用して、前記認証サーバから成功通知を受信し、
前記認証サーバにおいて、前記認証情報を利用した前記外部機器の認証が成功しない場合に、前記特定ネットワークを利用して、前記認証サーバから前記成功通知を受信しない成功通知受信部と、
前記外部機器との前記無線接続が確立されることに応じて前記通信機器が親局として動作すると共に前記外部機器が子局として動作する無線ネットワークが構築され、かつ、前記認証サーバから前記成功通知が受信される場合に、前記無線ネットワークの子局として動作する2個以上の子局機器の間の無線通信を中継し、
前記外部機器との前記無線接続が確立されることに応じて前記通信機器が前記親局として動作すると共に前記外部機器が前記子局として動作する前記無線ネットワークが構築され、かつ、前記認証サーバから前記成功通知が受信されない場合に、前記2個以上の子局機器の間の無線通信を中継しない第2の中継部と、
を備える、請求項2から4のいずれか一項に記載の通信機器。
The communication device further includes:
Authentication for transmitting the authentication information to the authentication server using the specific network when authentication information is received from the external device in a state where the communication device belongs to the specific network including the authentication server An information transmitter;
In the authentication server, when the authentication of the external device using the authentication information is successful, the success notification is received from the authentication server using the specific network,
In the authentication server, when the authentication of the external device using the authentication information is not successful, the success notification receiving unit that does not receive the success notification from the authentication server using the specific network;
In response to establishment of the wireless connection with the external device, a wireless network is constructed in which the communication device operates as a master station and the external device operates as a slave station, and the success notification is sent from the authentication server. Is received, relays wireless communication between two or more slave station devices operating as slave stations of the wireless network,
The wireless network is constructed in which the communication device operates as the master station and the external device operates as the slave station in response to establishment of the wireless connection with the external device, and from the authentication server A second relay unit that does not relay wireless communication between the two or more slave station devices when the success notification is not received;
The communication apparatus according to any one of claims 2 to 4, further comprising:
前記通信機器は、さらに、
前記通信機器の動作モードとして、第1の動作モードと、前記第1の動作モードとは異なる第2の動作モードと、のうちの一方を設定するモード設定部を備え、
前記第1の決定部は、
前記第1の動作モードが設定されている状態で、前記外部機器から前記無線接続要求が受信される場合に、前記高セキュリティ条件と前記機器識別情報とに基づいて、前記特定の通信処理の実行を前記外部機器に許容するのか否かを決定し、
前記第2の動作モードが設定されている状態で、前記外部機器から前記無線接続要求が受信される場合に、前記高セキュリティ条件が満たされるのか否かに関わらず、かつ、前記機器識別情報が前記メモリに記憶されているのか否かに関わらず、前記特定の通信処理の実行を前記外部機器に許容することを決定する、請求項2から5のいずれか一項に記載の通信機器。
The communication device further includes:
As an operation mode of the communication device, a mode setting unit that sets one of a first operation mode and a second operation mode different from the first operation mode,
The first determination unit includes:
Execution of the specific communication process based on the high security condition and the device identification information when the wireless connection request is received from the external device while the first operation mode is set Whether or not to allow the external device,
When the wireless connection request is received from the external device in the state where the second operation mode is set, whether the high security condition is satisfied or not, and the device identification information is The communication device according to any one of claims 2 to 5, wherein it is determined that the external device is allowed to execute the specific communication process regardless of whether or not the information is stored in the memory.
前記通信機器は、さらに、
前記通信機器が前記認証サーバを備える特定ネットワークに所属している状態で前記外部機器から認証情報が受信される場合に、前記特定ネットワークを利用して、前記認証情報を前記認証サーバに送信する認証情報送信部と、
前記認証サーバにおいて、前記認証情報を利用した前記外部機器の認証が成功する場合に、前記特定ネットワークを利用して、前記認証サーバから成功通知を受信し、
前記認証サーバにおいて、前記認証情報を利用した前記外部機器の認証が成功しない場合に、前記特定ネットワークを利用して、前記認証サーバから前記成功通知を受信しない成功通知受信部と、
前記第2の動作モードが設定されており、かつ、前記機器識別情報が前記メモリに記憶されていない状況で、前記認証サーバから前記成功通知が受信される場合に、前記機器識別情報を前記メモリに記憶させることを促すメッセージを前記通信機器の表示部に表示させ、
前記第2の動作モードが設定されており、かつ、前記機器識別情報が前記メモリに記憶されている状況で、前記認証サーバから前記成功通知が受信される場合に、前記メッセージを前記表示部に表示させない表示制御部と、
を備える、請求項6に記載の通信機器。
The communication device further includes:
Authentication for transmitting the authentication information to the authentication server using the specific network when authentication information is received from the external device in a state where the communication device belongs to the specific network including the authentication server An information transmitter;
In the authentication server, when the authentication of the external device using the authentication information is successful, the success notification is received from the authentication server using the specific network,
In the authentication server, when the authentication of the external device using the authentication information is not successful, the success notification receiving unit that does not receive the success notification from the authentication server using the specific network;
When the second operation mode is set and the device identification information is not stored in the memory and the success notification is received from the authentication server, the device identification information is stored in the memory. A message prompting the user to store the message on the display unit of the communication device,
When the second operation mode is set and the device identification information is stored in the memory and the success notification is received from the authentication server, the message is displayed on the display unit. A display controller not to display,
The communication device according to claim 6, comprising:
前記通信機器は、さらに、
前記高セキュリティ条件が満たされていない状況で、前記外部機器との前記無線接続が確立される場合に、前記外部機器との通信で利用されるべき通信プロトコルとして、第1の通信プロトコルを決定し、
前記高セキュリティ条件が満たされており、かつ、前記機器識別情報が前記メモリに記憶されている状況で、前記外部機器との前記無線接続が確立される場合に、前記外部機器との通信で利用されるべき通信プロトコルとして、前記第1の通信プロトコルよりもセキュリティが高い第2の通信プロトコルを決定する第2の決定部を備える、請求項2から7のいずれか一項に記載の通信機器。
The communication device further includes:
A first communication protocol is determined as a communication protocol to be used for communication with the external device when the wireless connection with the external device is established in a situation where the high security condition is not satisfied. ,
Used in communication with the external device when the wireless connection with the external device is established in a situation where the high security condition is satisfied and the device identification information is stored in the memory The communication device according to any one of claims 2 to 7, further comprising a second determination unit that determines a second communication protocol having higher security than the first communication protocol as a communication protocol to be performed.
前記第1の決定部は、
前記外部機器から前記無線接続要求が受信される場合に、前記高セキュリティ条件が満たされているのか否かを判断する条件判断部と、
前記高セキュリティ条件が満たされていると判断される場合に、前記機器識別情報が前記メモリに記憶されているのか否かを判断する情報判断部と、
を備え、
前記第1の決定部は、
前記高セキュリティ条件が満たされないと判断される場合に、前記特定の通信処理の実行を前記外部機器に許容することを決定し、
前記高セキュリティ条件が満たされると判断され、かつ、前記機器識別情報が前記メモリに記憶されていると判断される場合に、前記特定の通信処理の実行を前記外部機器に許容することを決定し、
前記高セキュリティ条件が満たされると判断され、かつ、前記機器識別情報が前記メモリに記憶されていないと判断される場合に、前記特定の通信処理の実行を前記外部機器に許容しないことを決定する、請求項1から8のいずれか一項に記載の通信機器。
The first determination unit includes:
A condition determination unit that determines whether or not the high security condition is satisfied when the wireless connection request is received from the external device;
An information determining unit that determines whether the device identification information is stored in the memory when it is determined that the high security condition is satisfied;
With
The first determination unit includes:
When it is determined that the high security condition is not satisfied, it is determined to allow the external device to execute the specific communication process;
When it is determined that the high security condition is satisfied and it is determined that the device identification information is stored in the memory, it is determined to allow the external device to execute the specific communication process. ,
When it is determined that the high security condition is satisfied and it is determined that the device identification information is not stored in the memory, it is determined that the external device is not allowed to execute the specific communication process. The communication device according to any one of claims 1 to 8.
通信機器のためのコンピュータプログラムであって、
前記通信機器に搭載されるコンピュータに、以下の各処理、即ち、
前記外部機器から無線接続要求を受信する要求受信処理と、
前記外部機器から前記無線接続要求が受信される場合に、前記通信機器と前記外部機器との間の無線接続を利用した特定の通信処理の実行を前記外部機器に許容するのか否かを決定する第1の決定処理と、
前記決定の結果に応じた所定処理と、を実行させ、
前記第1の決定処理では、
予め決められている高セキュリティ条件が満たされない状況では、前記無線接続要求に含まれる機器識別情報が前記通信機器のメモリに記憶されているか否かに関わらず、前記特定の通信処理の実行を前記外部機器に許容することを決定し、
前記高セキュリティ条件が満たされており、かつ、前記機器識別情報が前記メモリに記憶されている状況では、前記特定の通信処理の実行を前記外部機器に許容することを決定し、
前記高セキュリティ条件が満たされており、かつ、前記機器識別情報が前記メモリに記憶されていない状況では、前記特定の通信処理の実行を前記外部機器に許容しないことを決定し、
前記高セキュリティ条件は、
(1)前記通信機器が、前記通信機器とは異なる認証サーバを備えるネットワークに所属していること、
(2)前記通信機器が、前記通信機器とは異なるプロキシサーバを備えるネットワークに所属していること、
(3)前記通信機器が、前記通信機器とは異なるIPアドレス割当サーバを備えるネットワークに所属しており、かつ、前記通信機器が、前記IPアドレス割当サーバから、前記ネットワークに所定のサーバが所属していることに関係する所属関係情報を受信済みであること、及び、
(4)前記通信機器が、前記通信機器の各ユーザに対応する各機能情報に従って、前記各ユーザが利用可能な前記通信機器の機能を制限すべき状況であること、
のうちの少なくとも1個の条件を含む、コンピュータプログラム。
A computer program for a communication device,
In the computer mounted on the communication device, each of the following processes:
A request reception process for receiving a wireless connection request from the external device;
When the wireless connection request is received from the external device, it is determined whether or not the external device is allowed to execute a specific communication process using a wireless connection between the communication device and the external device. A first determination process;
A predetermined process according to the result of the determination, and
In the first determination process,
In a situation where a predetermined high security condition is not satisfied, the specific communication process is executed regardless of whether the device identification information included in the wireless connection request is stored in the memory of the communication device. Decide to allow external equipment,
In a situation where the high security condition is satisfied and the device identification information is stored in the memory, it is determined to allow the external device to execute the specific communication process,
In a situation where the high security condition is satisfied and the device identification information is not stored in the memory, it is determined that the external device is not allowed to execute the specific communication process,
The high security condition is:
(1) The communication device belongs to a network including an authentication server different from the communication device,
(2) the communication device belongs to a network including a proxy server different from the communication device;
(3) The communication device belongs to a network including an IP address assignment server different from the communication device, and the communication device belongs to the network from the IP address assignment server. Have received affiliation information related to
(4) The communication device is in a situation where the functions of the communication device that can be used by each user should be restricted according to each function information corresponding to each user of the communication device.
A computer program comprising at least one of the conditions.
JP2015017411A 2015-01-30 2015-01-30 Communication equipment Active JP6458512B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015017411A JP6458512B2 (en) 2015-01-30 2015-01-30 Communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015017411A JP6458512B2 (en) 2015-01-30 2015-01-30 Communication equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2018243571A Division JP6680345B2 (en) 2018-12-26 2018-12-26 Communication equipment

Publications (2)

Publication Number Publication Date
JP2016143167A true JP2016143167A (en) 2016-08-08
JP6458512B2 JP6458512B2 (en) 2019-01-30

Family

ID=56568654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015017411A Active JP6458512B2 (en) 2015-01-30 2015-01-30 Communication equipment

Country Status (1)

Country Link
JP (1) JP6458512B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019103107A (en) * 2017-12-08 2019-06-24 ブラザー工業株式会社 Communication device
JP2019127016A (en) * 2018-01-26 2019-08-01 キヤノン株式会社 Information processing apparatus, control method therefor, and program
JP2022043146A (en) * 2018-01-26 2022-03-15 キヤノン株式会社 Information processor and control method for the same, and program
JP7494683B2 (en) 2020-09-28 2024-06-04 ブラザー工業株式会社 COMMUNICATION DEVICE AND COMPUTER PROGRAM FOR THE COMMUNICATION DEVICE

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090103124A1 (en) * 2005-08-31 2009-04-23 Canon Kabushiki Kaisha Image forming apparatus, mobile device, and control method therefor
JP2010263561A (en) * 2009-05-11 2010-11-18 Nec Corp Small base station, radio terminal, radio communication system, connection management method, connection method, program and record medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090103124A1 (en) * 2005-08-31 2009-04-23 Canon Kabushiki Kaisha Image forming apparatus, mobile device, and control method therefor
JP2010263561A (en) * 2009-05-11 2010-11-18 Nec Corp Small base station, radio terminal, radio communication system, connection management method, connection method, program and record medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019103107A (en) * 2017-12-08 2019-06-24 ブラザー工業株式会社 Communication device
JP2019127016A (en) * 2018-01-26 2019-08-01 キヤノン株式会社 Information processing apparatus, control method therefor, and program
JP6993890B2 (en) 2018-01-26 2022-01-14 キヤノン株式会社 Information processing equipment, its control method, and programs
JP2022043146A (en) * 2018-01-26 2022-03-15 キヤノン株式会社 Information processor and control method for the same, and program
JP7191189B2 (en) 2018-01-26 2022-12-16 キヤノン株式会社 Information processing device, its control method, and program
JP7381701B2 (en) 2018-01-26 2023-11-15 キヤノン株式会社 Information processing device, printing device, their control method, and program
JP7494683B2 (en) 2020-09-28 2024-06-04 ブラザー工業株式会社 COMMUNICATION DEVICE AND COMPUTER PROGRAM FOR THE COMMUNICATION DEVICE

Also Published As

Publication number Publication date
JP6458512B2 (en) 2019-01-30

Similar Documents

Publication Publication Date Title
JP6026668B2 (en) System and method for performing multi-band service discovery
JP6406092B2 (en) Communication equipment
JP5736987B2 (en) Wireless communication device
JP5673436B2 (en) Wireless communication device
JP5754254B2 (en) Wireless communication device
JP6248515B2 (en) Wireless communication device
JP6421673B2 (en) Communication equipment
JP2019525518A (en) Method for establishing a network cluster between networked devices
JP2016005069A (en) Communication device
JP7459663B2 (en) Computer programs and communication devices for terminal devices
JP6458512B2 (en) Communication equipment
JP2020044663A (en) Printer and computer program for terminal device
EP3979071B1 (en) Method, user equipment, and application server for downloading application
JP6477258B2 (en) Terminal device and function execution device
JP5915314B2 (en) Communication device
JP6680345B2 (en) Communication equipment
JP6387748B2 (en) Communication equipment
JP6398750B2 (en) Communication equipment
JP2016036190A (en) Communication device
JP6269752B2 (en) Communication device
JP2020088712A (en) Communication device and control method thereof
JP2019207479A (en) Computer program for communication device, and communication device
JP2018038084A (en) Radio communication apparatus
JP7156461B2 (en) communication equipment
JP6544468B2 (en) Wireless communication device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171128

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180620

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180717

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180911

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181210

R150 Certificate of patent or registration of utility model

Ref document number: 6458512

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150