JP7608805B2 - COMMUNICATION DEVICE, COMPUTER PROGRAM FOR A COMMUNICATION DEVICE, AND METHOD PERFORMED BY A COMMUNICATION DEVICE - Patent application - Google Patents
COMMUNICATION DEVICE, COMPUTER PROGRAM FOR A COMMUNICATION DEVICE, AND METHOD PERFORMED BY A COMMUNICATION DEVICE - Patent application Download PDFInfo
- Publication number
- JP7608805B2 JP7608805B2 JP2020202033A JP2020202033A JP7608805B2 JP 7608805 B2 JP7608805 B2 JP 7608805B2 JP 2020202033 A JP2020202033 A JP 2020202033A JP 2020202033 A JP2020202033 A JP 2020202033A JP 7608805 B2 JP7608805 B2 JP 7608805B2
- Authority
- JP
- Japan
- Prior art keywords
- port number
- state
- specific
- communication device
- permitted
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims description 144
- 238000000034 method Methods 0.000 title claims description 135
- 238000004590 computer program Methods 0.000 title claims description 8
- 230000008569 process Effects 0.000 claims description 128
- 230000008859 change Effects 0.000 claims description 68
- 230000004044 response Effects 0.000 claims description 62
- 238000012545 processing Methods 0.000 claims description 25
- 230000006870 function Effects 0.000 claims description 7
- 238000012423 maintenance Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000007639 printing Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 108010025037 T140 peptide Proteins 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Communication Control (AREA)
Description
本明細書が開示する技術は、端末装置から受信される要求に応じた処理を実行する通信装置に関する。 The technology disclosed in this specification relates to a communication device that executes processing in response to a request received from a terminal device.
特許文献1には、複合機が開示されている。複合機は、サーバから、複合機が利用可能な複数個のポート番号のそれぞれについて、当該ポート番号が安全であるのか危険であるのかを示す情報を受信する。複合機は、危険なポート番号が存在する場合に、その旨を示す警告情報を通知する。 Patent Document 1 discloses a multifunction device. The multifunction device receives information from a server indicating whether each of a number of port numbers available to the multifunction device is safe or dangerous. If any port numbers are dangerous, the multifunction device notifies the user of warning information indicating this fact.
上記の特許文献1には、複合機が利用可能な各ポート番号の有効及び無効を切り替えることについて、何ら開示されていない。ここで、ポート番号の有効とは、当該ポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されている状態であり、ポート番号の無効とは、当該ポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されていない状態である。本明細書では、ユーザがポート番号の有効及び無効を容易に切り替えることができる技術を開示する。 The above-mentioned Patent Document 1 does not disclose anything about switching between valid and invalid port numbers available to the multifunction device. Here, an valid port number refers to a state in which execution of a process in response to a request that includes that port number as a destination port number is permitted, and an invalid port number refers to a state in which execution of a process in response to a request that includes that port number as a destination port number is not permitted. This specification discloses a technology that allows a user to easily switch between valid and invalid port numbers.
本明細書によって開示される通信装置は、端末装置から、特定のポート番号を宛先ポート番号として含む特定の要求を受信する受信部と、前記特定のポート番号に対する前記通信装置の状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されている許可状態である場合に、前記特定の要求に応じた特定の処理を実行する処理実行部と、前記特定のポート番号に対する前記通信装置の前記状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されていない不許可状態である場合に、前記特定の処理の実行が許可されないことを示す通知情報を外部に通知する通知部と、前記通知に応じて、ユーザから変更指示が取得される場合に、前記特定のポート番号に対する前記通信装置の前記状態を前記不許可状態から前記許可状態に変更する第1の変更部と、を備えてもよい。前記処理実行部は、さらに、前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更された後に、前記端末装置から前記特定の要求が再び受信される場合に、前記特定の処理を実行してもよい。 The communication device disclosed in this specification may include a receiving unit that receives a specific request including a specific port number as a destination port number from a terminal device, a processing execution unit that executes a specific process in response to the specific request when the state of the communication device for the specific port number is a permitted state in which execution of a process in response to a request including the corresponding port number as a destination port number is permitted, a notification unit that notifies an external device of notification information indicating that execution of the specific process is not permitted when the state of the communication device for the specific port number is a prohibited state in which execution of a process in response to a request including the corresponding port number as a destination port number is not permitted, and a first change unit that changes the state of the communication device for the specific port number from the prohibited state to the permitted state when a change instruction is obtained from a user in response to the notification. The processing execution unit may further execute the specific process when the specific request is received again from the terminal device after the state of the communication device for the specific port number is changed from the prohibited state to the permitted state.
上記の構成によると、通信装置は、特定の要求に含まれる特定のポート番号に対する通信装置の状態が不許可状態である場合に、通知情報を通知する。このため、ユーザは、特定の処理の実行が許可されないことを容易に知ることができる。そして、通信装置は、上記の通知に応じて、ユーザから変更指示を取得する場合に、特定のポート番号に対する通信装置の状態を不許可状態から許可状態に変更する。即ち、通信装置は、特定のポート番号を無効から有効に切り替える。従って、ユーザは、特定のポート番号を無効から有効に容易に切り替えることができる。 According to the above configuration, the communication device notifies notification information when the state of the communication device for a specific port number included in a specific request is a disallowed state. This allows the user to easily know that execution of a specific process is not permitted. Then, in response to the above notification, when the communication device obtains a change instruction from the user, it changes the state of the communication device for the specific port number from a disallowed state to a permitted state. That is, the communication device switches the specific port number from disabled to enabled. This allows the user to easily switch the specific port number from disabled to enabled.
上記の通信装置のためのコンピュータプログラム、当該コンピュータプログラムを記憶するコンピュータ可読記録媒体、及び、通信装置によって実行される方法も新規で有用である。 The computer program for the above-mentioned communication device, the computer-readable recording medium storing the computer program, and the method executed by the communication device are also novel and useful.
(第1実施例)
(通信システムの構成;図1)
図1に示されるように、通信システム2は、プリンタ10と、複数個の端末100,200と、を備える。プリンタ10及び各端末100,200は、LAN(Local Area Networkの略)に接続されており、LANを介して相互に通信可能である。
(First embodiment)
(Communication system configuration; Figure 1)
1, the communication system 2 includes a
(プリンタ10の構成)
プリンタ10は、印刷機能を実行可能な周辺装置(例えば端末100の周辺装置)である。変形例では、プリンタ10は、印刷機能に加えて、スキャン機能、FAX機能等を実行可能な多機能機であってもよい。プリンタ10は、ウェブサーバとして機能することもできる。プリンタ10は、プリンタを識別する情報であるシリアル番号SNを有する。プリンタ10は、操作部12と表示部14と通信インターフェース16と印刷実行部18と制御部30とを備える。各部12~30は、バス線(符号省略)に接続されている。以下では、インターフェースのことを「I/F」と記載する。
(Configuration of Printer 10)
The
操作部12は、複数のキーを備える。ユーザは、操作部12を操作することによって、様々な指示をプリンタ10に入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。通信I/F16は、LANに接続されている。印刷実行部18は、インクジェット方式、レーザ方式等の印刷機構を備える。
The
制御部30は、CPU32とメモリ34とを備える。CPU32は、メモリ34に格納されているプログラム36に従って、様々な処理を実行する。メモリ34は、揮発性メモリ、不揮発性メモリ等によって構成される。メモリ34は、設定テーブル38を記憶する。
The
設定テーブル38は、プリンタ10が利用可能な複数個のポート番号のそれぞれについて、当該ポート番号を含む要求に応じた処理の実行が許可されているのか否かを示すテーブルである。具合的には、設定テーブル38は、IPアドレスと、ポート番号と、プロトコルと、状態と、期間と、を対応付けて記憶する。IPアドレスは、特定の装置(例えば端末100)のIPアドレス(例えばIP1)と、任意の装置のIPアドレスを意味するAnyと、のどちらかである。なお、設定テーブル38内のIPアドレスの1個の項目として、複数個の特定のIPアドレスが記憶されていてもよい。この場合、複数個のIPアドレスが列挙されていてもよいし、IPアドレスの範囲(即ちネットワークアドレス)が記憶されていてもよい。ポート番号は、プリンタ10によって実行される通信に利用されるポート番号である。プロトコルは、対応するポート番号が利用されるプロトコルを示す。例えば、図1の例では、HTTPS(Hypertext Transfer Protocol Secureの略)が利用される通信では、ポート番号PN1が利用される。状態は、対応するポート番号が有効であることを示す「許可」と、対応するポート番号が無効であることを示す「不許可」と、のどちらかである。ここで、ポート番号の有効とは、当該ポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されていることを意味する。ポート番号の無効とは、当該ポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されていないことを意味する。期間は、対応するポート番号が時間の制限なく有効(即ち状態「許可」)で維持されるべきことを示す「永続」と、対応するポート番号が有効で維持されるべき残り時間を示す時間情報と、のどちらかである。詳しくは後述するが、プリンタ10は、設定テーブル38に記憶されているポート番号を含む要求を受信する場合に、当該要求に応じた処理、又は、通知画面SC1の表示を実行することができる。
The setting table 38 is a table indicating whether or not the execution of a process corresponding to a request including a port number is permitted for each of a plurality of port numbers available to the
プリンタ10の出荷段階において、設定テーブル38は、以下の情報を予め記憶している。即ち、設定テーブル38は、全てのポート番号のそれぞれについて、IPアドレスAnyと当該ポート番号とプロトコルとを対応付けて記憶している。設定テーブル38は、3個のポート番号PN1~PN3のそれぞれについて、当該ポート番号に対応付けて状態「許可」と期間「永続」とを記憶する。設定テーブル38は、3個のポート番号PN1~PN3以外の2個のポート番号PN4、PN5のそれぞれについて、当該ポート番号に対応付けて状態「不許可」を記憶している。ここで、状態「許可」に対応する各ポート番号PN1~PN3は、他のポート番号と比べて、比較的に高いセキュリティを有するプロトコルによって利用されるポート番号である。従って、プリンタ10は、初期状態において、比較的に高いセキュリティを有するプロトコルに従った要求を受信する場合に、当該要求に応じた処理を実行することができる。なお、本実施例では、設定テーブル38は、上記の5個のポート番号を記憶するが、変形例では、設定テーブル38は、上記の5個以外のポート番号を記憶していてもよい。
At the time of shipment of the
(端末100,200の構成)
端末100,200は、スマートフォン、PDA、タブレットPC等の可搬型の端末装置である。変形例では、端末100,200は、据置型のPC、ノートPC等であってもよい。端末100には、IPアドレスIP1が割り当てられており、端末200には、IPアドレスIP2が割り当てられている。
(Configuration of
The
(各デバイス10,100,200によって実行される処理:図2~図4)
続いて、図2~図4を参照して、各デバイスによって実行される処理について説明する。なお、以下では、理解の容易化のために、各デバイスのCPU(例えばCPU32等)が実行する動作を、CPUを主体として記載せずに、各デバイス(例えばプリンタ10)を主体として記載する。
(Processing Executed by Each
Next, the processes executed by each device will be described with reference to Figures 2 to 4. Note that, in the following, for ease of understanding, the operations executed by the CPU of each device (such as CPU 32) will be described with the focus on each device (such as printer 10) rather than the CPU.
(ケースA;図2)
図2を参照して、ケースAについて説明する。端末100は、T5において、ユーザから、プリンタ10のウェブサーバにアクセスするためのアクセス指示を取得する。この場合、端末100は、T10において、アクセス要求をプリンタ10に送信する。本ケースでは、アクセス要求は、HTTPSに従ったコマンドである。アクセス要求は、アクセス要求の送信元(即ち端末100)のIPアドレスIP1を含むとともに、宛先ポート番号としてHTTPSに対応するポート番号PN1を含む。
(Case A; Figure 2)
Case A will be described with reference to Fig. 2. At T5, the terminal 100 acquires an access instruction from the user to access the web server of the
プリンタ10は、T10において、通信I/F16を介して、端末100からアクセス要求を受信すると、T11において、当該アクセス要求に応じた処理の実行が許可されているのか否かを判断する。具体的には、プリンタ10は、設定テーブル38から、受信済みのアクセス要求に含まれるポート番号PN1に対応付けられているIPアドレス「Any」及び状態「許可」を特定する(図1参照)。この場合、プリンタ10は、T11において、アクセス要求に応じた処理(即ちトップ画面データの送信)の実行が許可されていると判断し、T12において、通信I/F16を介して、トップ画面データを端末100に送信する。このように、プリンタ10は、状態「許可」に対応するポート番号を含む要求を受信する場合に、当該要求に応じた処理を実行することができる。
When the
端末100は、T12において、プリンタ10からトップ画面データを受信すると、T14において、トップ画面SC0を表示する。トップ画面SC0は、例えば、プリンタ10のステータス(例えばIdle)と、プリンタ100の各種設定を変更するための各ボタンと、を含む。
When the terminal 100 receives the top screen data from the
その後、端末100は、T20において、ユーザから検索指示を取得する。検索指示は、トップ画面SC0内のボタンが選択されることによって取得されるものではなく、端末100にインストールされている検索アプリケーション(図1では図示省略)が起動されることに応じて取得される。検索アプリケーションは、端末100の周囲に存在するプリンタを検索するためのアプリケーションである。端末100は、T20において、ユーザから検索指示を取得すると、T22において、検索要求をブロードキャストによってLANに送信する。検索要求は、端末100の周囲に存在するプリンタを検索するためのコマンドである。本ケースでは、検索要求は、SNMPv1(Simple Network Management Protocol version 1)に従ったコマンドである。検索要求は、送信元の端末100のIPアドレスIP1を含むとともに、宛先ポート番号としてSNMPv1に対応するポート番号PN4を含む。
Then, in T20, the terminal 100 acquires a search instruction from the user. The search instruction is not acquired by selecting a button in the top screen SC0, but by starting a search application (not shown in FIG. 1) installed in the
プリンタ10は、T22において、通信I/F16を介して、検索要求を端末100から受信すると、T23において、検索要求に応じた処理の実行が許可されているのか否かを判断する。具体的には、プリンタ10は、設定テーブル38から、受信済みの検索要求に含まれるポート番号PN4に対応付けられているIPアドレス「Any」及び状態「不許可」を特定する。この場合、プリンタ10は、T23において、検索要求に応じた処理(即ち検索応答の送信)の実行が許可されていないと判断し、検索応答を送信することなく、T24において、通知画面SC1を表示部14に表示する。
When the
通知画面SC1は、検索要求に含まれるIPアドレスIP1と、検索要求に含まれるポート番号PN4と、ポート番号PN4に対応するプロトコルであるSNMPv1と、を含む。通知画面SC1は、さらに、メッセージ「上記の通信をブロックしました」を含む。当該メッセージは、ポート番号PN4を宛先ポート番号として含む要求が受信されたことを示すメッセージであるとともに、検索要求に応じた処理の実行が許可されないことを示すメッセージである。従って、ユーザは、無効なポート番号を含む要求がプリンタ10によって受信されたことを知ることができる。通知画面SC1は、さらに、要求が再び受信される際に、当該要求に応じた処理の実行を許可するのか否かをユーザに問い合わせるためのメッセージを含む。
The notification screen SC1 includes the IP address IP1 included in the search request, the port number PN4 included in the search request, and SNMPv1, which is the protocol corresponding to the port number PN4. The notification screen SC1 also includes the message "The above communication has been blocked." This message indicates that a request including the port number PN4 as the destination port number has been received, and indicates that execution of processing in response to the search request is not permitted. Thus, the user can know that a request including an invalid port number has been received by the
通知画面SC1は、さらに、時間の制限なく要求に応じた処理の実行を許可させることを指示するためのボタン「永続許可」と、所定時間のみ要求に応じた処理の実行を許可させることを指示するためのボタン「一時許可」と、を含む。このため、ユーザは、ポート番号SN4を有効にする場合に、ボタン「永続許可」及び「一時許可」のうちの一方を適宜選択することができる。通知画面SC1は、さらに、要求に応じた処理の実行を許可させないことを指示するためのボタン「許可しない」と、後述の設定画面を表示させるためのボタン「設定」と、を含む。 The notification screen SC1 further includes a "permanent permission" button for instructing that the execution of the requested process is permitted without time restrictions, and a "temporary permission" button for instructing that the execution of the requested process is permitted for a specified period of time only. Therefore, when enabling port number SN4, the user can appropriately select one of the "permanent permission" and "temporary permission" buttons. The notification screen SC1 further includes a "do not permit" button for instructing that the execution of the requested process is not permitted, and a "settings" button for displaying the settings screen described below.
プリンタ10は、T26において、ユーザから通知画面SC1内のボタン「永続許可」の選択を受け付けると、T28において、設定テーブル38を更新する。具体的には、プリンタ10は、ポート番号PN4に対応する情報を以下のように変更する。即ち、プリンタ10は、IPアドレスを「Any」から「IP1」に変更し、状態を「不許可」から「許可」に変更し、期間を「永続」に変更する。このように、ユーザは、通知画面SC1の表示に応じて、プリンタ10を操作することによって、ポート番号PN4を無効から有効に切り替えることができる。
When the
T30において、端末100は、検索結果画面SC2を表示する。本ケースでは、端末100は、プリンタ10を含むいずれのプリンタからも検索応答を受信しない。この結果、端末100は、端末100の周囲にプリンタが見つからなかったことを示すメッセージを含む検索結果画面SC2を表示する。
At T30, the terminal 100 displays the search result screen SC2. In this case, the terminal 100 does not receive a search response from any printer, including the
その後、端末100は、T40において、ユーザから検索指示を再度取得し、T42において、検索要求をブロードキャストによってLANに送信する。 Then, at T40, the terminal 100 again receives a search instruction from the user, and at T42, it broadcasts a search request to the LAN.
プリンタ10は、T42において、通信I/F16を介して、端末100から検索要求を受信すると、T43において、検索要求に応じた処理の実行が許可されているのか否かを判断する。具体的には、プリンタ10は、受信済みの検索要求に含まれるポート番号PN4に対応付けられているIPアドレスIP1及び状態「許可」を特定する(T28参照)。このために、プリンタ10は、T43において、検索要求に応じた処理(即ち検索応答の送信)の実行が許可されている判断し、T44において、通信I/F16を介して、検索応答を端末100に送信する。検索応答は、プリンタ10のシリアル番号SNを含む。
When the
端末100は、T44において、プリンタ10から検索応答を受信すると、T50において、検索応答に含まれるシリアル番号SNを含む検索結果画面SC3を表示する。
When the terminal 100 receives the search response from the
なお、仮に、T26において、通知画面SC1内のボタン「許可しない」が選択されると、プリンタ10は、設定テーブル38を更新せず、ポート番号PN4に対応する状態を「不許可」に維持する。このように、プリンタ10は、ユーザからの指示に応じて、ポート番号PN4を有効化するのか、ポート番号PN4の無効を維持するのか、を切り替えることができる。
If, for example, the "Do not allow" button in the notification screen SC1 is selected at T26, the
(ケースB;図3)
続いて、図3を参照して、ケースBを説明する。ケースBでも、図2のT5~T24と同様の処理が実行される。プリンタ10は、T126において、ユーザから通知画面SC1内のボタン「一時許可」の選択を受け付けると、T128において、設定テーブル38を更新する。具体的には、プリンタ10は、ポート番号PN4に対応するIPアドレスを「Any」から「IP1」に変更し、状態を「不許可」から「許可」に変更し、期間を「残り30分」に変更する。このように、本実施例では、ボタン「一時許可」が選択されると、ポート番号が30分間に亘って有効化される。変形例では、ポート番号が有効化される時間は、30分未満であってもよいし30分以上であってもよい。別の変形例では、ポート番号が有効化される時間は、ユーザによって指定されてもよい。
(Case B; Figure 3)
Next, referring to FIG. 3, case B will be described. In case B, the same processes as those in T5 to T24 in FIG. 2 are executed. When the
T128の処理が実行された後に、図2のT30~T50と同様の処理が実行される。即ち、プリンタ10は、T128が実行されてから例えば5分経過した後に、端末100から検索要求を再び送信すると、受信済みの検索要求に含まれるポート番号PN4に対応付けられているIPアドレス「IP1」、状態「許可」、及び、期間「残り25分」を特定する。この場合、プリンタ10は、検索要求に含まれるIPアドレスIP1が特定済みのIPアドレスIP1に一致すると判断し、さらに、状態が「許可」であるので、検索要求に応じた処理(即ち検索応答の送信)を実行する。
After the process of T128 is executed, processes similar to T30 to T50 in FIG. 2 are executed. That is, when the
その後、端末100は、T130において、ユーザからスキャン指示を取得すると、T132において、スキャン要求をプリンタ10に送信する。スキャン要求は、送信元の端末100のIPアドレスIP1を含むと共に、宛先ポート番号としてポート番号PN6を含む。
Then, when the terminal 100 receives a scan instruction from the user in T130, it sends a scan request to the
プリンタ10は、T132において、通信I/F16を介して、端末100からスキャン要求を受信すると、T130のスキャン要求に含まれるポート番号PN6が設定テーブル38に記憶されていないと判断する。この場合、プリンタ10は、スキャン要求に応じた処理を実行せず、かつ、通知画面SC1を表示しない。
When the
このように、プリンタ10は、設定テーブル38に記憶されていないポート番号を含む要求を受信する場合、当該要求に応じた処理を実行せず、かつ、通知画面SC1を表示しない。設定テーブル38に記憶されていないポート番号は、プリンタ10が通常利用しないようなポートに対応するポート番号である可能性が高い。仮に、このようなポート番号を含む要求を受信し、通知画面SC1が表示された後に、当該要求に応じた処理の実行が許可されるとしても、プリンタ10は、当該要求に応じた処理を実行できない。このため、このようなポート番号を含む要求を受信する場合に、通知画面SC1を表示することは無駄な処理である。従って、プリンタ10が通常利用しないようなポートに対応するポート番号を含む要求を受信する場合に、通知画面SC1を表示するという無駄な処理を実行することを抑制できる。
In this way, when the
その後、端末100とは異なる端末200は、T140において、ユーザから検索指示を取得すると、T142において、検索要求をブロードキャストによってLANに送信する。検索要求は、送信元の端末200のIPアドレスIP2を含むとともに、宛先ポート番号としてSNMPv1に対応するポート番号PN4を含む。
After that, when terminal 200, which is different from terminal 100, receives a search instruction from the user at T140, it broadcasts a search request to the LAN at T142. The search request includes the IP address IP2 of
プリンタ10は、T142において、通信I/F16を介して、端末200から検索要求を受信すると、T143において、検索要求に応じた処理の実行が許可されているのか否かを判断する。以下では、T128が実行されてから10分経過した後に、端末200からプリンタ10に検索要求が送信される例を説明する。プリンタ10は、受信済みの検索要求に含まれるポート番号PN4に対応付けられているIPアドレス「IP1」、状態「許可」、及び、期間「残り20分」を特定する。この場合、プリンタ10は、検索要求に含まれるIPアドレスIP2が特定済みのIPアドレスIP1に一致しないと判断し、T143において、検索要求に応じた処理(即ち検索応答の送信)の実行が許可されていないと判断する。このように、プリンタ10は、ポート番号PN4を宛先ポート番号として含む検索要求を受信する場合に、当該検索要求の送信元の端末に応じて、検索応答を送信するのか否かを切り替えることができる。
When the
T144の処理は、通知画面SC1(図2のT24参照)に含まれるIPアドレスがIP2である点を除いて、図2のT24の処理と同様である。プリンタ10は、T146において、ユーザから通知画面SC1内のボタン「許可しない」の選択を受け付ける。この場合、プリンタ10は、設定テーブル38を更新しない。T150の処理は、当該処理が端末200によって実行される点を除いて、図2のT30の処理と同様である。
The process of T144 is similar to the process of T24 in FIG. 2, except that the IP address included in the notification screen SC1 (see T24 in FIG. 2) is IP2. In T146, the
その後、T128が実行されてから30分が経過すると、プリンタ10は、T152において、設定テーブル38を更新する。具体的には、プリンタ10は、ポート番号PN4に対応するIPアドレスを「IP1」から「Any」に変更し、状態を「許可」から「不許可」に変更する。これにより、プリンタ10のセキュリティを高めることができる。
After that, when 30 minutes have passed since T128 was executed, the
(ケースC;図4)
続いて、図4を参照して、ケースCを説明する。ケースCでも、図2のT5~T24と同様の処理が実行される。プリンタ10は、T226において、ユーザから通知画面SC1内のボタン「設定」の選択を受け付けると、T228において、設定画面SC4を表示部14に表示する。設定画面SC4は、IPアドレス及びポート番号の指定をユーザに促すメッセージと、IPアドレス入力欄と、ポート番号入力欄と、ボタン「永続許可」と、ボタン「一時許可」と、ボタン「キャンセル」と、を含む。設定画面SC4が表示される段階では、IPアドレス入力欄、ポート番号入力欄には、それぞれ、受信済みの検索要求(図4で引用する図2のT22参照)に含まれるIPアドレスIP1、ポート番号PN4が記述されている。
(Case C; Figure 4)
Next, case C will be described with reference to FIG. 4. In case C, the same processes as those in T5 to T24 in FIG. 2 are executed. When the
プリンタ10は、T230において、ユーザからポート番号PN4とは異なるポート番号SN5の入力を受け付けた後に、ボタン「永続許可」の選択を受け付ける。T232の処理は、ポート番号PN5に対応する情報が変更される点を除いて、図2のT28の処理と同様である。このように、ユーザは、受信済みの要求に含まれるポート番号PN4とは異なるポート番号PN5を無効から有効に容易に切り替えることができる。
In T230, the
T240の処理は、図2のT30の処理と同様である。その後、端末100は、T250において、ユーザから検索指示を取得する。ここで、端末100は、ユーザから、検索アプリケーションが検索に利用するプロトコルをSNMPv1からSNMPv2に変更するための指示を受け付ける。この場合、端末100は、T252において、SNMPv2に従った検索要求をブロードキャストによってLANに送信する。検索要求は、送信元の端末100のIPアドレスIP1を含むとともに、宛先ポート番号としてSNMPv2に対応するポート番号PN5を含む。T253~T260の処理は、判断の対象となるポート番号がPN5である点を除いて、図2のT43~T50の処理と同様である。
The process of T240 is the same as the process of T30 in FIG. 2. Then, in T250, the terminal 100 acquires a search instruction from the user. Here, the terminal 100 accepts an instruction from the user to change the protocol used by the search application for searches from SNMPv1 to SNMPv2. In this case, in T252, the terminal 100 broadcasts a search request conforming to SNMPv2 to the LAN. The search request includes the IP address IP1 of the
(第1実施例の効果)
上記の構成によると、プリンタ10は、検索要求に含まれるポート番号PN4に対応する状態が「不許可」である場合(図2のT23)に、通知画面SC1を表示する(T24)。このため、ユーザは、当該通知画面SC1を見ることによって、検索要求に応じた処理(即ち検索応答の送信)の実行が許可されないことを容易に知ることができる。そして、プリンタ10は、通知画面SC1の表示に応じて、ユーザからボタン「永続許可」を選択する指示を取得する場合(T26)に、ポート番号PN4に対応する状態を「不許可」から「許可」に変更する。即ち、プリンタ10は、ポート番号PN4を無効から有効に切り替える。従って、ユーザは、ポート番号PN4を無効から有効に容易に切り替えることができる。
(Effects of the First Embodiment)
According to the above configuration, when the status corresponding to the port number PN4 included in the search request is "not permitted" (T23 in FIG. 2), the
(対応関係)
プリンタ10、端末100、端末200が、それぞれ、「通信装置」、「端末装置」、「異なる端末装置」の一例である。IPアドレスIP1、IPアドレスIP2が、それぞれ、「特定の識別情報」、「異なる識別情報」の一例である。ポート番号PN4、ポート番号PN5が、それぞれ、「特定のポート番号」、「異なるポート番号」の一例である。ボタン「永続許可」の選択を受け付けたことを示す情報、ボタン「一時許可」の選択を受け付けたことを示す情報が、それぞれ、「第1の情報」、「第2の情報」の一例である。図3のT146においてボタン「許可しない」の選択を受け付けることが、「維持指示」が取得されることの一例である。設定テーブル38の状態が「状態情報」の一例であり、状態「許可」、状態「不許可」が、それぞれ、「許可情報」、「不許可情報」の一例である。ポート番号PN1~PN3、ポート番号PN4及びPN5が、それぞれ、「第1種のポート番号」、「第2種のポート番号」の一例である。
(Correspondence)
The
図2のT10の処理、T22の処理、T42の処理、図3のT132の処理、T142の処理、及び図4のT252の処理が、「受信部」によって実行される処理の一例である。図2のT11の処理、T23の処理、T43の処理、図3のT143の処理、及び図4のT253の処理が、「判断部」によって実行される処理の一例である。図2のT12の処理、T44の処理、図4のT254の処理が、それぞれ、「処理実行部」によって実行される処理の一例である。図2のT24の処理が、「通知部」によって実行される処理の一例である。図2のT28の処理、図3のT128の処理、及び図4のT232の処理が、「第1の変更部」によって実行される処理の一例である。図3のT152の処理が、「第2の変更部」によって実行される処理の一例である。 The processes T10, T22, and T42 in FIG. 2, the processes T132 and T142 in FIG. 3, and the process T252 in FIG. 4 are examples of processes executed by a "receiving unit". The processes T11, T23, and T43 in FIG. 2, the processes T143 in FIG. 3, and the process T253 in FIG. 4 are examples of processes executed by a "determining unit". The processes T12, T44, and T254 in FIG. 2 are examples of processes executed by a "processing execution unit". The process T24 in FIG. 2 is an example of a process executed by a "notification unit". The processes T28 in FIG. 2, T128 in FIG. 3, and the process T232 in FIG. 4 are examples of processes executed by a "first change unit". The process T152 in FIG. 3 is an example of a process executed by a "second change unit".
(第2実施例)
第2実施例は、プリンタ10が、通知画面SC1を表示することに代えて、通知メールEMを送信する点が、第1実施例とは異なる。プリンタ10は、通知先メールアドレスMAをメモリ34に記憶している(図1参照)。通知先メールアドレスMAは、ユーザによってプリンタ10に予め設定される。
Second Example
The second embodiment differs from the first embodiment in that the
(ケースD;図5)
図5を参照して、第2実施例のケースDを説明する。ケースDでも、図2のT5~T23と同様の処理が実行される。その後、プリンタ10は、図5のT323において、通信I/F16を介して、通知メールEMを端末100に送信する。通知メールEMは、送信先メールアドレスとして通知先メールアドレスMAを含む。
(Case D; Figure 5)
Case D of the second embodiment will be described with reference to Fig. 5. In case D, the same processes as T5 to T23 in Fig. 2 are executed. After that, in T323 in Fig. 5, the
端末100は、T323において、プリンタ10から通知メールEMを受信する。その後、端末100は、T324において、ユーザからメール表示操作(例えば、メーラの起動及び通知メールEMの選択)を受け付けることに応じて、T325において、通知メールEMを表示する。通知メールEMの本文は、検索要求(図5で引用する図2のT22)に含まれるIPアドレスIP1と、検索要求に含まれるポート番号PN4と、ポート番号PN4に対応するプロトコルSNMPv1と、を含む。本文は、さらに、通知画面SC1(図2のT24参照)と同様の各メッセージと、IPアドレス入力欄と、ポート番号入力欄と、ボタン「永続許可」と、ボタン「一時許可」と、ボタン「許可しない」と、を含む。なお、通知メールEMが表示される段階では、IPアドレス入力欄、ポート番号入力欄には、それぞれ、IPアドレスIP1、ポート番号PN4が記述されている。
In T323, the terminal 100 receives the notification mail EM from the
端末100は、T326において、ユーザから、通知メールEM内のボタン「永続許可」の選択を受け付けると、T327において、変更指示をプリンタ10に送信する。変更指示は設定テーブル38の変更をプリンタ10に指示するコマンドである。変更指示は、送信元の端末100のIPアドレスIP1を含む。変更指示は、SMNPv3に従ったコマンドである。従って、変更指示は、ポート番号PN3を宛先ポート番号として含む。変更指示は、さらに、変更情報を含む。変更情報は、通知メールEM内に入力された端末100のIPアドレスIP1と、通知メールEM内に入力されたポート番号PN4と、ボタン「永続許可」が選択されたことを示す情報と、を含む。
When the terminal 100 accepts the selection of the "Permanent Allow" button in the notification email EM from the user in T326, it sends a change instruction to the
プリンタ10は、T327において、通信I/F16を介して、変更指示を端末100から受信すると、T328において、変更指示に応じた処理の実行が許可されているのか否かを判断する。具体的には、プリンタ10は、設定テーブル38から、受信済みの変更指示に含まれるポート番号PN3に対応付けられているIPアドレス「Any」及び状態「許可」を特定する(図1参照)。この場合、プリンタ10は、T328において、変更指示に応じた処理(即ち設定テーブル38の更新)の実行が許可されていると判断し、T329において、設定テーブル38を更新する。T329の具体的な処理は、図2のT28の処理と同様である。その後の処理は、図2のT30~T50の処理と同様である。
When the
(第2実施例の効果)
このように、本実施例では、プリンタ10は、要求に応じた処理の実行が許可されていないと判断する場合(図5で引用する図2のT23)に、通知メールEMを端末100送信する(T323)。ユーザは、通知メールEMを受信した端末100を利用することによって、設定テーブル38を更新することができる。即ち、ユーザは、プリンタ10を操作しなくてもポート番号を無効から有効に切り替えることができる。このため、ユーザの利便性が向上する。
(Effects of the Second Example)
Thus, in this embodiment, when the
(対応関係)
端末100が、「外部装置」の一例である。通知メールEMが、「通知情報を含む電子メール」の一例である。図5のT323の処理、T327の処理、T328の処理が、それぞれ、「通知部」、「受信部」、「判断部」によって実行される処理の一例である。T329の処理が、「処理実行部」及び「第1の変更部」によって実行される処理の一例である。
(Correspondence)
The terminal 100 is an example of an "external device." The notification email EM is an example of an "email including notification information." The processes of T323, T327, and T328 in Fig. 5 are examples of processes executed by a "notification unit," a "reception unit," and a "determination unit," respectively. The process of T329 is an example of a process executed by a "process execution unit" and a "first change unit."
以上、本明細書が開示する技術の具体例を詳細に説明したが、これらは例示に過ぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。 Specific examples of the technology disclosed in this specification 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 variations of the specific examples given above. Modifications of the above examples are listed below.
(変形例1)プリンタ10は、設定テーブル38に代えて、許可リストをメモリ34に記憶してもよい。許可リストはポート番号を含む。この場合、プリンタ10は、許可リストに含まれるポート番号を含む要求を受信する場合に、当該要求に応じた処理を実行し、許可リストに含まれないポート番号を含む要求を受信する場合に、当該要求に応じた処理を実行せず、通知画面SC1を表示してもよい。即ち、本変形例では、許可リストに含まれるポート番号が有効であり、許可リストに含まれないポート番号が無効である。本変形例では、「判断部」を省略可能である。また、別の変形例では、プリンタ10は、設定テーブル38に代えて、不許可リストをメモリ34に記憶してもよい。不許可リストは、ポート番号を含む。この場合、プリンタ10は、不許可リストに含まれないポート番号を含む要求を受信する場合に、当該要求に応じた処理を実行し、不許可リストに含まれるポート番号を含む要求を受信する場合に、当該要求に応じた処理を実行せず、通知画面SC1を表示してもよい。即ち、本変形例では、不許可リストに含まれないポート番号が有効であり、不許可リストに含まれるポート番号が無効である。本変形例では、「判断部」を省略可能である。一般的に言うと、「メモリ」は、「ポート番号」と「状態情報」とを対応付けて記憶しなくてもよい。
(Variation 1) The
(変形例2)プリンタ10は、設定テーブル38に記憶されていないポート番号を含む要求を受信する場合(図3のT132)に、通知画面SC1を表示してもよい。
(Variation 2) When the
(変形例3)図2のT24で表示される通知画面SC1は、ボタン「許可しない」を含まなくてもよい。また、図5のT325で表示される通知メールEMは、ボタン「許可しない」を含まなくてもよい。一般的に言うと、「通信装置」は、ユーザから維持指示を取得しなくてもよい。 (Variation 3) The notification screen SC1 displayed in T24 of FIG. 2 may not include the "Do not allow" button. Also, the notification email EM displayed in T325 of FIG. 5 may not include the "Do not allow" button. Generally speaking, the "communication device" does not need to obtain a maintenance instruction from the user.
(変形例4)設定テーブル38は、期間の欄を有していなくてもよい。この場合、図2のT24で表示される通知画面SC1は、2個のボタン「永続許可」及び「一時許可」に代えて、1個のボタン「許可」のみを含んでもよい。プリンタ10は、図2の26において、ボタン「許可」が選択されることに応じて、ポート番号PN4に対応する情報を以下のように変更してもよい。即ち、プリンタ10は、IPアドレスを「Any」から「IP1」に変更し、状態を「不許可」から「許可」に変更する。ここで、状態「許可」は、上記の実施例の永続許可を意味してもよい。本変形例では、「第2の変更部」を省略可能である。また、別の変形例では、状態「許可」は、上記の実施例の一時許可を意味してもよい。
(Variation 4) The setting table 38 may not have a period column. In this case, the notification screen SC1 displayed at T24 in FIG. 2 may include only one button "Allow" instead of the two buttons "Permanent Allow" and "Temporary Allow". In response to the button "Allow" being selected at 26 in FIG. 2, the
(変形例5)設定テーブル38は、IPアドレスの欄を有していなくてもよい。この場合、ポート番号に対応する状態「許可」は、いずれのIPアドレスについても当該ポート番号が有効であることを意味し、ポート番号に対応する状態「不許可」は、いずれのIPアドレスについても当該ポート番号が無効であることを意味する。 (Variation 5) The setting table 38 does not need to have a column for IP addresses. In this case, the "Allowed" status corresponding to a port number means that the port number is valid for any IP address, and the "Not Allowed" status corresponding to a port number means that the port number is invalid for any IP address.
(変形例6)上記の各実施例では、通知画面SC1の表示(図2のT24)と、通知メールEMの送信(図5のT323)と、のいずれか一方がプリンタ10によって実行された。これに代えて、プリンタ10は、通知画面SC1の表示と、通知メールEMの送信と、の双方を実行してもよい。本変形例では、通知画面SC1の表示及び通知メールEMの送信が、「通知部」によって実行される処理の一例である。
(Variation 6) In each of the above embodiments, either the display of the notification screen SC1 (T24 in FIG. 2) or the transmission of the notification email EM (T323 in FIG. 5) was executed by the
(変形例7)上記の実施例では、通知メールEMが端末100を送信先として送信されたが(図5のT323)、これに代えて、通知メールEMは、端末100とは異なる装置(例えば管理者端末)を送信先として送信されてもよい。本変形例では、当該異なる装置が、「外部装置」の一例である。 (Variation 7) In the above embodiment, the notification email EM was sent to the terminal 100 (T323 in FIG. 5), but instead, the notification email EM may be sent to a device other than the terminal 100 (e.g., an administrator terminal) as the destination. In this variation, the other device is an example of an "external device."
(変形例8)通知画面SC1は、ボタン「設定」を含まなくてもよい。また、通知メールEMは、IPアドレス及びポート番号の指定をユーザに促すメッセージと、IPアドレス入力欄と、ポート番号入力欄と、を含まなくてもよい。これらの変形例では、プリンタ10は、設定テーブル38に含まれる情報のうち、受信した要求に含まれるポート番号に対応する情報のみを変更することができる。一般的に言うと、「通信装置」は、特定のポート番号とは異なるポート番号の指定を含む変更指示を取得しなくてもよい。
(Variation 8) The notification screen SC1 does not have to include the "Settings" button. Furthermore, the notification email EM does not have to include a message prompting the user to specify an IP address and port number, an IP address input field, and a port number input field. In these variations, the
(変形例9)図4のT228の設定画面SC4において、ユーザは、特定のIPアドレスを指定可能であるのみならず、任意のIPアドレスを意味する「Any」を指定可能であってもよい。同様に、設定画面SC4において、ユーザは、特定のポート番号を指定可能であるのみならず、任意のポート番号を意味する「Any」を指定可能であってもよい。同様に、図5のT325の通知メールEMにおいて、ユーザは、任意のIPアドレスを意味する「Any」及び任意のポート番号を意味する「Any」を指定可能であってもよい。 (Variation 9) In the setting screen SC4 of T228 in FIG. 4, the user may not only be able to specify a specific IP address, but may also be able to specify "Any", which means any IP address. Similarly, in the setting screen SC4, the user may not only be able to specify a specific port number, but may also be able to specify "Any", which means any port number. Similarly, in the notification email EM of T325 in FIG. 5, the user may be able to specify "Any", which means any IP address, and "Any", which means any port number.
(変形例10)プリンタ10は、出荷段階において、状態「許可」が対応付けて記憶されているポート番号を記憶していなくてもよい。本変形例では「第1種のポート番号」は存在しない。別の変形例では、プリンタ10は、出荷段階において、状態「不許可」が対応付けて記憶されているポート番号を記憶していなくてもよい。本変形例では「第2種のポート番号」は存在しない。
(Variation 10) At the time of shipment, the
(変形例11)図2のT24で表示される通知画面SC1は、メッセージ「通信をブロックしました」と各種ボタンとを含み、検索要求に含まれるポート番号PN4を含まなくてもよい。即ち、通知画面SC1は、状態「不許可」に対応付けられているポート番号を宛先ポート番号として含む要求が受信されたことを示すメッセージを含まなくてもよい。 (Variation 11) The notification screen SC1 displayed at T24 in FIG. 2 includes the message "Communication has been blocked" and various buttons, and does not need to include the port number PN4 included in the search request. In other words, the notification screen SC1 does not need to include a message indicating that a request has been received that includes, as a destination port number, a port number associated with the status "not permitted."
(変形例12)上記の各実施例では、図2~図5の各処理がソフトウェア(例えばプログラム36)によって実現されるが、これらの各処理のうちの少なくとも1つが論理回路等のハードウェアによって実現されてもよい。 (Variation 12) In each of the above embodiments, the processes in Figures 2 to 5 are implemented by software (e.g., program 36), but at least one of these processes may be implemented by hardware such as a logic circuit.
本明細書または図面に説明した技術要素は、単独で、あるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成し得るものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。
以下の項目は、出願時の特許請求の範囲に記載の要素である。
(項目1)
通信装置であって、
端末装置から、特定のポート番号を宛先ポート番号として含む特定の要求を受信する受信部と、
前記特定のポート番号に対する前記通信装置の状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されている許可状態である場合に、前記特定の要求に応じた特定の処理を実行する処理実行部と、
前記特定のポート番号に対する前記通信装置の前記状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されていない不許可状態である場合に、前記特定の処理の実行が許可されないことを示す通知情報を外部に通知する通知部と、
前記通知に応じて、ユーザから変更指示が取得される場合に、前記特定のポート番号に対する前記通信装置の前記状態を前記不許可状態から前記許可状態に変更する第1の変更部と、
を備え、
前記処理実行部は、さらに、前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更された後に、前記端末装置から前記特定の要求が再び受信される場合に、前記特定の処理を実行する、通信装置。
(項目2)
前記通信装置は、さらに、
複数個のポート番号のそれぞれについて、当該ポート番号と状態情報とを対応付けて記憶するメモリであって、前記状態情報は、前記通信装置の前記状態が前記許可状態であることを示す許可情報と、前記通信装置の前記状態が前記不許可状態であることを示す不許可情報と、のどちらかである、前記メモリと、
前記端末装置から前記特定の要求が受信される場合に、前記特定のポート番号に対応付けられている前記状態情報が前記許可情報であるのか前記不許可情報であるのかを判断する判断部と、
を備え、
前記処理実行部は、前記特定のポート番号に対応付けられている前記状態情報が前記許可情報であると判断される場合に、前記特定の処理を実行し、
前記通知部は、前記特定のポート番号に対応付けられている前記状態情報が前記不許可情報であると判断される場合に、前記通知情報を外部に通知し、
前記第1の変更部は、前記特定のポート番号に対応付けられている前記状態情報を前記不許可情報から前記許可情報に変更する、項目1に記載の通信装置。
(項目3)
前記特定のポート番号が前記メモリに記憶されていない場合に、前記通知情報は通知されない、項目2に記載の通信装置。
(項目4)
前記通知に応じて、ユーザから維持指示が取得される場合に、前記特定のポート番号に対する前記通信装置の前記状態は、前記不許可状態に維持される、項目1~3のいずれか一項に記載の通信装置。
(項目5)
前記変更指示は、前記特定のポート番号に対する前記通信装置の前記状態を時間の制限なく前記許可状態に維持すべきことを示す第1の情報と、前記特定のポート番号に対する前記通信装置の前記状態を所定時間のみ前記許可状態に維持すべきことを示す第2の情報と、のいずれか一方を含み、
前記通信装置は、さらに、
前記第2の情報を含む前記変更指示が取得されることによって前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更され、かつ、前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更されてから前記所定時間が経過する場合に、前記特定のポート番号に対する前記通信装置の前記状態を前記許可状態から前記不許可状態に変更する第2の変更部であって、前記第1の情報を含む前記変更指示が取得されることによって前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更される場合に、前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更されてから前記所定時間が経過しても、前記特定のポート番号に対する前記通信装置の前記状態は前記許可状態から前記不許可状態に変更されない、前記第2の変更部を備える、項目1~4のいずれか一項に記載の通信装置。
(項目6)
前記通信装置は、さらに、メモリを備え、
前記特定の要求は、さらに、前記端末装置を識別する特定の識別情報を含み、
前記第1の変更部は、前記変更指示が取得される場合に、前記特定のポート番号に対する前記通信装置の前記状態を前記不許可状態から前記許可状態に変更するとともに、前記特定の識別情報を前記メモリに記憶し、
前記処理実行部は、さらに、前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更され、かつ、前記特定の識別情報が前記メモリに記憶された後に、前記端末装置から、前記特定のポート番号を宛先ポート番号として含む前記特定の要求であって、前記メモリに記憶済みの前記特定の識別情報を含む前記特定の要求が再び受信される場合に、前記特定の処理を実行し、
前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更され、かつ、前記特定の識別情報が前記メモリに記憶された後に、前記端末装置とは異なる端末装置から、前記特定のポート番号を宛先ポート番号として含む要求であって、前記特定の識別情報とは異なる識別情報を含む前記要求が受信される場合に、前記特定の処理は実行されない、項目1~5のいずれか一項に記載の通信装置。
(項目7)
前記通信装置は、さらに、表示部と操作部とを備え、
前記通知部は、前記通知情報を前記表示部に表示させることによって、前記通知情報を外部に通知し、
前記第1の変更部は、前記通知情報が前記表示部に表示された後に、前記操作部を介して前記変更指示を取得する、項目1~6のいずれか一項に記載の通信装置。
(項目8)
前記通信装置は、さらに、通知先メールアドレスを記憶するメモリを備え、
前記通知部は、前記メモリに記憶済みの前記通知先メールアドレスを宛先として前記通知情報を含む電子メールを送信することによって、前記通知情報を外部に通知し、
前記第1の変更部は、前記電子メールが送信された後に、前記通知メールを受信した外部装置から前記変更指示を受信する、項目1~7のいずれか一項に記載の通信装置。
(項目9)
前記第1の変更部は、
前記通知に応じて、ユーザから前記特定のポート番号の指定を含む前記変更指示が取得される場合に、前記特定のポート番号に対する前記通信装置の前記状態を前記不許可状態から前記許可状態に変更し、
前記通知に応じて、ユーザから前記特定のポート番号とは異なるポート番号の指定を含む前記変更指示が取得される場合に、前記異なるポート番号に対する前記通信装置の前記状態を前記不許可状態から前記許可状態に変更する、項目1~8のいずれか一項に記載の通信装置。
(項目10)
前記通信装置の出荷段階において、
前記複数個のポート番号のうちの1個以上の第1種のポート番号のそれぞれについて、当該第1種のポート番号に対する前記通信装置の前記状態は前記許可状態であり、
前記複数個のポート番号のうちの前記1個以上の第1種のポート番号とは異なる1個以上の第2種のポート番号のそれぞれについて、当該第2種のポート番号対する前記通信装置の前記状態は前記不許可状態である、項目1~9のいずれか一項に記載の通信装置。
(項目11)
前記通知情報は、前記通信装置の前記状態が前記不許可状態であるポート番号を宛先ポート番号として含む要求が受信されたことを示す情報を含む、項目1~10のいずれか一項に記載の通信装置。
(項目12)
通信装置のためのコンピュータプログラムであって、
前記コンピュータプログラムは、前記通信装置のコンピュータを、以下の各部、即ち、
端末装置から、特定のポート番号を宛先ポート番号として含む特定の要求を受信する受信部と、
前記特定のポート番号に対する前記通信装置の状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されている許可状態である場合に、前記特定の要求に応じた特定の処理を実行する処理実行部と、
前記特定のポート番号に対する前記通信装置の前記状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されていない不許可状態である場合に、前記特定の処理の実行が許可されないことを示す通知情報を外部に通知する通知部と、
前記通知に応じて、ユーザから変更指示が取得される場合に、前記特定のポート番号に対する前記通信装置の前記状態を前記不許可状態から前記許可状態に変更する第1の変更部と、
として機能させ、
前記処理実行部は、さらに、前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更された後に、前記端末装置から前記特定の要求が再び受信される場合に、前記特定の処理を実行する、コンピュータプログラム。
(項目13)
通信装置によって実行される方法であって、
前記方法は、
端末装置から、特定のポート番号を宛先ポート番号として含む特定の要求を受信する受信工程と、
前記特定のポート番号に対する前記通信装置の状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されている許可状態である場合に、前記特定の要求に応じた特定の処理を実行する処理実行工程と、
前記特定のポート番号に対する前記通信装置の前記状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されていない不許可状態である場合に、前記特定の処理の実行が許可されないことを示す通知情報を外部に通知する通知工程と、
前記通知に応じて、ユーザから変更指示が取得される場合に、前記特定のポート番号に対する前記通信装置の前記状態を前記不許可状態から前記許可状態に変更する第1の変更工程と、
を備え、
前記処理実行工程は、さらに、前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更された後に、前記端末装置から前記特定の要求が再び受信される場合に、前記特定の処理を実行する、方法。
The technical elements described in this specification or drawings have technical utility either alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technologies illustrated in this specification or drawings can achieve multiple objectives simultaneously, and achieving one of these objectives is itself technically useful.
The following items are elements of the claims as filed:
(Item 1)
A communication device, comprising:
a receiving unit that receives a specific request including a specific port number as a destination port number from a terminal device;
a process execution unit that executes a specific process in response to a specific request when a state of the communication device with respect to the specific port number is a permitted state in which execution of a process in response to a request including the corresponding port number as a destination port number is permitted;
a notification unit that notifies an external device of notification information indicating that execution of the specific process is not permitted when the state of the communication device with respect to the specific port number is a disallowed state in which execution of a process according to a request including the corresponding port number as a destination port number is not permitted;
a first change unit that changes the state of the communication device with respect to the specific port number from the unauthorized state to the authorized state when a change instruction is obtained from a user in response to the notification;
Equipped with
The processing execution unit further executes the specific processing when the specific request is received again from the terminal device after the state of the communication device for the specific port number is changed from the disallowed state to the allowed state.
(Item 2)
The communication device further comprises:
a memory that stores, for each of a plurality of port numbers, a port number and state information in association with each other, the state information being either permission information indicating that the state of the communication device is the permission state or non-permission information indicating that the state of the communication device is the non-permission state;
a determination unit that, when the specific request is received from the terminal device, determines whether the status information associated with the specific port number is the permission information or the non-permission information;
Equipped with
the process execution unit executes the specific process when it is determined that the state information associated with the specific port number is the permission information;
the notification unit notifies an external device of the notification information when the status information associated with the specific port number is determined to be the non-permission information;
2. The communication device according to claim 1, wherein the first change unit changes the status information associated with the specific port number from the non-permission information to the permission information.
(Item 3)
3. The communication device according to item 2, wherein if the specific port number is not stored in the memory, the notification information is not notified.
(Item 4)
The communication device according to any one of items 1 to 3, wherein, when a maintenance instruction is obtained from a user in response to the notification, the state of the communication device for the specific port number is maintained in the unauthorized state.
(Item 5)
the change instruction includes either first information indicating that the state of the communication device for the specific port number should be maintained in the permitted state without time limit, or second information indicating that the state of the communication device for the specific port number should be maintained in the permitted state only for a predetermined time,
The communication device further comprises:
The communication device according to any one of items 1 to 4, further comprising: a second change unit that changes the state of the communication device for the specific port number from the permitted state to the disallowed state when the change instruction including the second information is acquired to change the state of the communication device for the specific port number from the unpermitted state to the permitted state and when the predetermined time has elapsed since the state of the communication device for the specific port number was changed from the unpermitted state to the permitted state, wherein when the change instruction including the first information is acquired to change the state of the communication device for the specific port number from the unpermitted state to the permitted state, even if the predetermined time has elapsed since the state of the communication device for the specific port number was changed from the unpermitted state to the permitted state, the second change unit does not change the state of the communication device for the specific port number from the permitted state to the disallowed state.
(Item 6)
The communication device further comprises a memory;
The specific request further includes specific identification information for identifying the terminal device;
the first change unit, when the change instruction is acquired, changes the state of the communication device for the specific port number from the unauthorized state to the authorized state, and stores the specific identification information in the memory;
the process execution unit further executes the specific process when the specific request including the specific port number as a destination port number and including the specific identification information stored in the memory is received again from the terminal device after the state of the communication device for the specific port number is changed from the unpermitted state to the permitted state and the specific identification information is stored in the memory;
The communication device described in any one of items 1 to 5, wherein after the state of the communication device for the specific port number is changed from the disallowed state to the allowed state and the specific identification information is stored in the memory, when a request including the specific port number as a destination port number is received from a terminal device other than the terminal device, the request including identification information different from the specific identification information, the specific processing is not executed.
(Item 7)
The communication device further includes a display unit and an operation unit.
The notification unit notifies the notification information to an outside by displaying the notification information on the display unit;
7. The communication device according to any one of claims 1 to 6, wherein the first change unit acquires the change instruction via the operation unit after the notification information is displayed on the display unit.
(Item 8)
The communication device further includes a memory for storing a notification destination email address,
the notification unit notifies an external party of the notification information by sending an e-mail including the notification information to the notification destination e-mail address stored in the memory;
8. The communication device according to any one of claims 1 to 7, wherein the first change unit receives the change instruction from an external device that received the notification email after the email is sent.
(Item 9)
The first change unit is
when the change instruction including the designation of the specific port number is obtained from a user in response to the notification, the state of the communication device with respect to the specific port number is changed from the unpermitted state to the permitted state;
The communication device according to any one of items 1 to 8, wherein when a change instruction including a specification of a port number different from the specific port number is obtained from a user in response to the notification, the state of the communication device for the different port number is changed from the unauthorized state to the authorized state.
(Item 10)
At the shipping stage of the communication device,
for each of one or more first-type port numbers among the plurality of port numbers, the state of the communication device for the first-type port number is the permitted state;
The communication device according to any one of items 1 to 9, wherein for each of one or more second type port numbers different from the one or more first type port numbers among the plurality of port numbers, the state of the communication device for the second type port number is the unauthorized state.
(Item 11)
The communication device according to any one of items 1 to 10, wherein the notification information includes information indicating that a request including, as a destination port number, a port number in which the status of the communication device is in the unauthorized state has been received.
(Item 12)
A computer program for a communication device, comprising:
The computer program controls the computer of the communication device to include the following units:
a receiving unit that receives a specific request including a specific port number as a destination port number from a terminal device;
a process execution unit that executes a specific process in response to a specific request when a state of the communication device with respect to the specific port number is a permitted state in which execution of a process in response to a request including the corresponding port number as a destination port number is permitted;
a notification unit that notifies an external device of notification information indicating that execution of the specific process is not permitted when the state of the communication device with respect to the specific port number is a disallowed state in which execution of a process according to a request including the corresponding port number as a destination port number is not permitted;
a first change unit that changes the state of the communication device with respect to the specific port number from the unauthorized state to the authorized state when a change instruction is obtained from a user in response to the notification;
Function as a
The processing execution unit further executes the specific processing when the specific request is received again from the terminal device after the state of the communication device for the specific port number is changed from the disallowed state to the allowed state.
(Item 13)
1. A method performed by a communication device, comprising:
The method comprises:
a receiving step of receiving a specific request including the specific port number as a destination port number from a terminal device;
a process execution step of executing a specific process in response to the specific request when the state of the communication device with respect to the specific port number is a permitted state in which execution of a process in response to a request including the corresponding port number as a destination port number is permitted;
a notification step of notifying an external device of notification information indicating that execution of the specific process is not permitted when the state of the communication device for the specific port number is a disallowed state in which execution of a process in response to a request including the corresponding port number as a destination port number is not permitted;
a first change step of changing the state of the communication device for the specific port number from the unauthorized state to the authorized state when a change instruction is obtained from a user in response to the notification;
Equipped with
The processing execution step further includes executing the specific processing when the specific request is received again from the terminal device after the state of the communication device for the specific port number is changed from the disallowed state to the allowed state.
2:通信システム、10:プリンタ、12:操作部、14:表示部、16:通信I/F、18:印刷実行部、30:制御部、32:CPU、34:メモリ、36:プログラム、38:設定テーブル、100,200:端末 2: Communication system, 10: Printer, 12: Operation unit, 14: Display unit, 16: Communication I/F, 18: Print execution unit, 30: Control unit, 32: CPU, 34: Memory, 36: Program, 38: Setting table, 100, 200: Terminal
Claims (12)
メモリと、
端末装置から、特定のポート番号を宛先ポート番号として含むとともに、前記端末装置を識別する特定の識別情報を含む特定の要求を受信する受信部と、
前記特定のポート番号に対する前記通信装置の状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されている許可状態である場合に、前記特定の要求に応じた特定の処理を実行する処理実行部と、
前記特定のポート番号に対する前記通信装置の前記状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されていない不許可状態である場合に、前記特定の処理の実行が許可されないことを示す通知情報を外部に通知する通知部と、
前記通知に応じて、ユーザから変更指示が取得される場合に、前記特定のポート番号に対する前記通信装置の前記状態を前記不許可状態から前記許可状態に変更するとともに、前記特定の識別情報を前記メモリに記憶する第1の変更部と、
を備え、
前記処理実行部は、さらに、前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更され、かつ、前記特定の識別情報が前記メモリに記憶された後に、前記端末装置から、前記特定のポート番号を宛先ポート番号として含む前記特定の要求であって、前記メモリに記憶済みの前記特定の識別情報を含む前記特定の要求が再び受信される場合に、前記特定の処理を実行し、
前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更され、かつ、前記特定の識別情報が前記メモリに記憶された後に、前記端末装置とは異なる端末装置から、前記特定のポート番号を宛先ポート番号として含む要求であって、前記特定の識別情報とは異なる識別情報を含む前記要求が受信される場合に、前記特定の処理は実行されない、
通信装置。 A communication device, comprising:
Memory,
a receiving unit for receiving a specific request from a terminal device, the specific request including a specific port number as a destination port number and specific identification information for identifying the terminal device ;
a process execution unit that executes a specific process in response to a specific request when a state of the communication device with respect to the specific port number is a permitted state in which execution of a process in response to a request including the corresponding port number as a destination port number is permitted;
a notification unit that notifies an external device of notification information indicating that execution of the specific process is not permitted when the state of the communication device with respect to the specific port number is a disallowed state in which execution of a process according to a request including the corresponding port number as a destination port number is not permitted;
a first change unit that changes the state of the communication device for the specific port number from the unauthorized state to the authorized state when a change instruction is obtained from a user in response to the notification , and stores the specific identification information in the memory ;
Equipped with
the process execution unit further executes the specific process when the specific request including the specific port number as a destination port number and including the specific identification information stored in the memory is received again from the terminal device after the state of the communication device for the specific port number is changed from the unpermitted state to the permitted state and the specific identification information is stored in the memory ;
when a request including the specific port number as a destination port number is received from a terminal device different from the terminal device after the state of the communication device for the specific port number is changed from the unpermitted state to the permitted state and the specific identification information is stored in the memory, the specific process is not executed.
Communications equipment.
端末装置から、特定のポート番号を宛先ポート番号として含む特定の要求を受信する受信部と、
前記特定のポート番号に対する前記通信装置の状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されている許可状態である場合に、前記特定の要求に応じた特定の処理を実行する処理実行部と、
前記特定のポート番号に対する前記通信装置の前記状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されていない不許可状態である場合に、前記特定の処理の実行が許可されないことを示す通知情報を外部に通知する通知部と、
前記通知に応じて、ユーザから前記特定のポート番号の指定を含む変更指示が取得される場合に、前記特定のポート番号に対する前記通信装置の前記状態を前記不許可状態から前記許可状態に変更する第1の変更部であって、前記通知に応じて、ユーザから前記特定のポート番号とは異なるポート番号の指定を含む前記変更指示が取得される場合に、前記異なるポート番号に対する前記通信装置の前記状態を前記不許可状態から前記許可状態に変更する、前記第1の変更部と、
を備え、
前記処理実行部は、さらに、前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更された後に、前記端末装置から前記特定の要求が再び受信される場合に、前記特定の処理を実行する、通信装置。 1. A communication device, comprising:
a receiving unit that receives a specific request including a specific port number as a destination port number from a terminal device;
a process execution unit that executes a specific process in response to a specific request when a state of the communication device with respect to the specific port number is a permitted state in which execution of a process in response to a request including the corresponding port number as a destination port number is permitted;
a notification unit that notifies an external device of notification information indicating that execution of the specific process is not permitted when the state of the communication device with respect to the specific port number is a disallowed state in which execution of a process according to a request including the corresponding port number as a destination port number is not permitted;
a first change unit that changes the state of the communication device for the specific port number from the unpermitted state to the permitted state when a change instruction including a designation of the specific port number is obtained from a user in response to the notification, the first change unit changing the state of the communication device for the different port number from the unpermitted state to the permitted state when the change instruction including a designation of a port number different from the specific port number is obtained from a user in response to the notification;
Equipped with
The processing execution unit further executes the specific processing when the specific request is received again from the terminal device after the state of the communication device for the specific port number is changed from the disallowed state to the allowed state.
複数個のポート番号のそれぞれについて、当該ポート番号と状態情報とを対応付けて記憶するメモリであって、前記状態情報は、前記通信装置の前記状態が前記許可状態であることを示す許可情報と、前記通信装置の前記状態が前記不許可状態であることを示す不許可情報と、のどちらかである、前記メモリと、
前記端末装置から前記特定の要求が受信される場合に、前記特定のポート番号に対応付けられている前記状態情報が前記許可情報であるのか前記不許可情報であるのかを判断する判断部と、
を備え、
前記処理実行部は、前記特定のポート番号に対応付けられている前記状態情報が前記許可情報であると判断される場合に、前記特定の処理を実行し、
前記通知部は、前記特定のポート番号に対応付けられている前記状態情報が前記不許可情報であると判断される場合に、前記通知情報を外部に通知し、
前記第1の変更部は、前記特定のポート番号に対応付けられている前記状態情報を前記不許可情報から前記許可情報に変更する、請求項1又は2に記載の通信装置。 The communication device further comprises:
a memory that stores, for each of a plurality of port numbers, a port number and state information in association with each other, the state information being either permission information indicating that the state of the communication device is the permission state or non-permission information indicating that the state of the communication device is the non-permission state;
a determination unit that, when the specific request is received from the terminal device, determines whether the status information associated with the specific port number is the permission information or the non-permission information;
Equipped with
the process execution unit executes the specific process when it is determined that the state information associated with the specific port number is the permission information;
the notification unit notifies an external device of the notification information when the status information associated with the specific port number is determined to be the non-permission information;
The communication device according to claim 1 , wherein the first change unit changes the state information associated with the specific port number from the non-permission information to the permission information.
前記通信装置は、さらに、
前記第2の情報を含む前記変更指示が取得されることによって前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更され、かつ、前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更されてから前記所定時間が経過する場合に、前記特定のポート番号に対する前記通信装置の前記状態を前記許可状態から前記不許可状態に変更する第2の変更部であって、前記第1の情報を含む前記変更指示が取得されることによって前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更される場合に、前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更されてから前記所定時間が経過しても、前記特定のポート番号に対する前記通信装置の前記状態は前記許可状態から前記不許可状態に変更されない、前記第2の変更部を備える、請求項1~5のいずれか一項に記載の通信装置。 the change instruction includes either first information indicating that the state of the communication device for the specific port number should be maintained in the permitted state without time limit, or second information indicating that the state of the communication device for the specific port number should be maintained in the permitted state only for a predetermined time,
The communication device further comprises:
The communication device according to any one of claims 1 to 5, further comprising: a second change unit that changes the state of the communication device for the specific port number from the permitted state to the disallowed state when the change instruction including the second information is obtained so that the state of the communication device for the specific port number is changed from the unpermitted state to the permitted state and the predetermined time has elapsed since the state of the communication device for the specific port number was changed from the unpermitted state to the permitted state, wherein when the change instruction including the first information is obtained so that the state of the communication device for the specific port number is changed from the unpermitted state to the permitted state, the state of the communication device for the specific port number is not changed from the permitted state to the disallowed state even if the predetermined time has elapsed since the state of the communication device for the specific port number was changed from the unpermitted state to the permitted state.
前記通知部は、前記通知情報を前記表示部に表示させることによって、前記通知情報を外部に通知し、
前記第1の変更部は、前記通知情報が前記表示部に表示された後に、前記操作部を介して前記変更指示を取得する、請求項1~6のいずれか一項に記載の通信装置。 The communication device further includes a display unit and an operation unit.
The notification unit notifies the notification information to an outside by displaying the notification information on the display unit;
The communication device according to claim 1 , wherein the first change unit acquires the change instruction via the operation unit after the notification information is displayed on the display unit.
前記通知部は、前記メモリに記憶済みの前記通知先メールアドレスを宛先として前記通知情報を含む電子メールを送信することによって、前記通知情報を外部に通知し、
前記第1の変更部は、前記電子メールが送信された後に、前記電子メールを受信した外部装置から前記変更指示を受信する、請求項1~7のいずれか一項に記載の通信装置。 The communication device further includes a memory for storing a notification destination email address,
the notification unit notifies an external party of the notification information by sending an e-mail including the notification information to the notification destination e-mail address stored in the memory;
The communication device according to claim 1, wherein the first change unit receives the change instruction from an external device that received the email after the email is sent.
複数個のポート番号のうちの1個以上の第1種のポート番号のそれぞれについて、当該第1種のポート番号に対する前記通信装置の前記状態は前記許可状態であり、
前記複数個のポート番号のうちの前記1個以上の第1種のポート番号とは異なる1個以上の第2種のポート番号のそれぞれについて、当該第2種のポート番号対する前記通信装置の前記状態は前記不許可状態である、請求項1~8のいずれか一項に記載の通信装置。 At the shipping stage of the communication device ,
for each of one or more first-type port numbers among a plurality of port numbers, the state of the communication device for the first-type port number is the permitted state;
The communication device according to any one of claims 1 to 8, wherein for each of one or more second type port numbers among the plurality of port numbers that are different from the one or more first type port numbers, the state of the communication device for the second type port number is the unauthorized state.
前記通信装置は、
メモリと、
コンピュータと、
を備え、
前記コンピュータプログラムは、前記コンピュータを、以下の各部、即ち、
端末装置から、特定のポート番号を宛先ポート番号として含むとともに、前記端末装置を識別する特定の識別情報を含む特定の要求を受信する受信部と、
前記特定のポート番号に対する前記通信装置の状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されている許可状態である場合に、前記特定の要求に応じた特定の処理を実行する処理実行部と、
前記特定のポート番号に対する前記通信装置の前記状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されていない不許可状態である場合に、前記特定の処理の実行が許可されないことを示す通知情報を外部に通知する通知部と、
前記通知に応じて、ユーザから変更指示が取得される場合に、前記特定のポート番号に対する前記通信装置の前記状態を前記不許可状態から前記許可状態に変更するとともに、前記特定の識別情報を前記メモリに記憶する第1の変更部と、
として機能させ、
前記処理実行部は、さらに、前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更され、かつ、前記特定の識別情報が前記メモリに記憶された後に、前記端末装置から、前記特定のポート番号を宛先ポート番号として含む前記特定の要求であって、前記メモリに記憶済みの前記特定の識別情報を含む前記特定の要求が再び受信される場合に、前記特定の処理を実行し、
前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更され、かつ、前記特定の識別情報が前記メモリに記憶された後に、前記端末装置とは異なる端末装置から、前記特定のポート番号を宛先ポート番号として含む要求であって、前記特定の識別情報とは異なる識別情報を含む前記要求が受信される場合に、前記特定の処理は実行されない、
コンピュータプログラム。 A computer program for a communication device, comprising:
The communication device includes:
Memory,
A computer,
Equipped with
The computer program causes the computer to operate in the following manner:
a receiving unit for receiving a specific request from a terminal device, the specific request including a specific port number as a destination port number and specific identification information for identifying the terminal device ;
a process execution unit that executes a specific process in response to a specific request when a state of the communication device with respect to the specific port number is a permitted state in which execution of a process in response to a request including the corresponding port number as a destination port number is permitted;
a notification unit that notifies an external device of notification information indicating that execution of the specific process is not permitted when the state of the communication device with respect to the specific port number is a disallowed state in which execution of a process according to a request including the corresponding port number as a destination port number is not permitted;
a first change unit that changes the state of the communication device for the specific port number from the unauthorized state to the authorized state when a change instruction is obtained from a user in response to the notification , and stores the specific identification information in the memory ;
Function as a
the process execution unit further executes the specific process when the specific request including the specific port number as a destination port number and including the specific identification information stored in the memory is received again from the terminal device after the state of the communication device for the specific port number is changed from the unpermitted state to the permitted state and the specific identification information is stored in the memory ;
when a request including the specific port number as a destination port number is received from a terminal device different from the terminal device after the state of the communication device for the specific port number is changed from the unpermitted state to the permitted state and the specific identification information is stored in the memory, the specific process is not executed.
Computer program.
前記通信装置は、メモリを備え、
前記方法は、
端末装置から、特定のポート番号を宛先ポート番号として含むとともに、前記端末装置を識別する特定の識別情報を含む特定の要求を受信する受信工程と、
前記特定のポート番号に対する前記通信装置の状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されている許可状態である場合に、前記特定の要求に応じた特定の処理を実行する処理実行工程と、
前記特定のポート番号に対する前記通信装置の前記状態が、対応するポート番号を宛先ポート番号として含む要求に応じた処理の実行が許可されていない不許可状態である場合に、前記特定の処理の実行が許可されないことを示す通知情報を外部に通知する通知工程と、
前記通知に応じて、ユーザから変更指示が取得される場合に、前記特定のポート番号に対する前記通信装置の前記状態を前記不許可状態から前記許可状態に変更するとともに、前記特定の識別情報を前記メモリに記憶する第1の変更工程と、
を備え、
前記処理実行工程は、さらに、前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更され、かつ、前記特定の識別情報が前記メモリに記憶された後に、前記端末装置から、前記特定のポート番号を宛先ポート番号として含む前記特定の要求であって、前記メモリに記憶済みの前記特定の識別情報を含む前記特定の要求が再び受信される場合に、前記特定の処理を実行し、
前記特定のポート番号に対する前記通信装置の前記状態が前記不許可状態から前記許可状態に変更され、かつ、前記特定の識別情報が前記メモリに記憶された後に、前記端末装置とは異なる端末装置から、前記特定のポート番号を宛先ポート番号として含む要求であって、前記特定の識別情報とは異なる識別情報を含む前記要求が受信される場合に、前記特定の処理は実行されない、
方法。
1. A method performed by a communication device, comprising:
the communication device comprises a memory;
The method comprises:
a receiving step of receiving a specific request from a terminal device, the specific request including a specific port number as a destination port number and specific identification information for identifying the terminal device ;
a process execution step of executing a specific process in response to the specific request when the state of the communication device with respect to the specific port number is a permitted state in which execution of a process in response to a request including the corresponding port number as a destination port number is permitted;
a notification step of notifying an external device of notification information indicating that execution of the specific process is not permitted when the state of the communication device for the specific port number is a disallowed state in which execution of a process in response to a request including the corresponding port number as a destination port number is not permitted;
a first change step of changing the state of the communication device for the specific port number from the unauthorized state to the authorized state when a change instruction is obtained from a user in response to the notification , and storing the specific identification information in the memory ;
Equipped with
The process execution step further includes executing the specific process when the specific request including the specific port number as a destination port number and the specific identification information already stored in the memory is received again from the terminal device after the state of the communication device for the specific port number is changed from the unpermitted state to the permitted state and the specific identification information is stored in the memory ;
when a request including the specific port number as a destination port number is received from a terminal device different from the terminal device after the state of the communication device for the specific port number is changed from the unpermitted state to the permitted state and the specific identification information is stored in the memory, the specific process is not executed.
method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020202033A JP7608805B2 (en) | 2020-12-04 | 2020-12-04 | COMMUNICATION DEVICE, COMPUTER PROGRAM FOR A COMMUNICATION DEVICE, AND METHOD PERFORMED BY A COMMUNICATION DEVICE - Patent application |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020202033A JP7608805B2 (en) | 2020-12-04 | 2020-12-04 | COMMUNICATION DEVICE, COMPUTER PROGRAM FOR A COMMUNICATION DEVICE, AND METHOD PERFORMED BY A COMMUNICATION DEVICE - Patent application |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022089557A JP2022089557A (en) | 2022-06-16 |
| JP7608805B2 true JP7608805B2 (en) | 2025-01-07 |
Family
ID=81989039
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020202033A Active JP7608805B2 (en) | 2020-12-04 | 2020-12-04 | COMMUNICATION DEVICE, COMPUTER PROGRAM FOR A COMMUNICATION DEVICE, AND METHOD PERFORMED BY A COMMUNICATION DEVICE - Patent application |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7608805B2 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002108729A (en) | 2000-09-29 | 2002-04-12 | Toshiba Corp | Computer readable storage medium storing network connection device and firewall control program applied to the network connection device |
| JP2004302538A (en) | 2003-03-28 | 2004-10-28 | Meiji Univ | Network security system and network security management method |
| JP2005250965A (en) | 2004-03-05 | 2005-09-15 | Fuji Xerox Co Ltd | Information processing apparatus |
| JP2006020266A (en) | 2004-06-03 | 2006-01-19 | Ricoh Co Ltd | Communication method, communication permission server, printing method |
| JP2008059115A (en) | 2006-08-30 | 2008-03-13 | Brother Ind Ltd | Information processing device |
| JP2017219904A (en) | 2016-06-03 | 2017-12-14 | キヤノン株式会社 | Network device, control method therefor, and program |
-
2020
- 2020-12-04 JP JP2020202033A patent/JP7608805B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002108729A (en) | 2000-09-29 | 2002-04-12 | Toshiba Corp | Computer readable storage medium storing network connection device and firewall control program applied to the network connection device |
| JP2004302538A (en) | 2003-03-28 | 2004-10-28 | Meiji Univ | Network security system and network security management method |
| JP2005250965A (en) | 2004-03-05 | 2005-09-15 | Fuji Xerox Co Ltd | Information processing apparatus |
| JP2006020266A (en) | 2004-06-03 | 2006-01-19 | Ricoh Co Ltd | Communication method, communication permission server, printing method |
| JP2008059115A (en) | 2006-08-30 | 2008-03-13 | Brother Ind Ltd | Information processing device |
| JP2017219904A (en) | 2016-06-03 | 2017-12-14 | キヤノン株式会社 | Network device, control method therefor, and program |
Non-Patent Citations (1)
| Title |
|---|
| MAGNIA2100Ri/Anti-Hacker ユーザーズガイド A1版 ,東芝ソリューション株式会社,2003年10月01日,第A1版,P. 6.29-6.30 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022089557A (en) | 2022-06-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6891718B2 (en) | Communication device | |
| JP4914469B2 (en) | Authentication system, multifunction device, and authentication server | |
| US9117165B2 (en) | Image processing system and image processing apparatus for sending image data | |
| JP7139868B2 (en) | Scanner and computer program for scanner | |
| JP7452198B2 (en) | Function execution device and computer program for the function execution device | |
| US20170109508A1 (en) | Information processing apparatus, information processing system, and authentication method | |
| US10742840B2 (en) | Communication device, non-transitory computer-readable recording medium storing computer-readable instructions for communication device, and method executed by communication device | |
| JP7608805B2 (en) | COMMUNICATION DEVICE, COMPUTER PROGRAM FOR A COMMUNICATION DEVICE, AND METHOD PERFORMED BY A COMMUNICATION DEVICE - Patent application | |
| JP6996378B2 (en) | Information processing equipment and programs | |
| JP6828637B2 (en) | Image processing device | |
| JP7676757B2 (en) | COMMUNICATION DEVICE, COMPUTER PROGRAM FOR A COMMUNICATION DEVICE, AND METHOD PERFORMED BY A COMMUNICATION DEVICE - Patent application | |
| JP2018073115A (en) | Relay device, relay device program, and information processing system | |
| JP7180471B2 (en) | Computer program for terminal device and terminal device | |
| JP2025140751A (en) | Communication device and computer program for communication device | |
| JP4432944B2 (en) | Information processing device | |
| JP2016206998A (en) | Information processing apparatus and image forming apparatus | |
| JP7613204B2 (en) | COMMUNICATION DEVICE, COMPUTER PROGRAM FOR A COMMUNICATION DEVICE, AND METHOD PERFORMED BY A COMMUNICATION DEVICE - Patent application | |
| JP7528516B2 (en) | SERVER, COMPUTER PROGRAM FOR SERVER, COMMUNICATION DEVICE, AND COMMUNICATION SYSTEM | |
| US12206662B2 (en) | Non-transitory computer-readable recording medium storing computer-readable instructions for server, server, and method executed by server | |
| JP7683337B2 (en) | Image Processing Device | |
| JP4661175B2 (en) | Image processing apparatus, search display method, and search display program | |
| JP2019185154A (en) | Information processing device and program | |
| JP2019040370A (en) | Terminal device and computer program therefor | |
| JP2024018411A (en) | Computer program for terminal device and terminal device | |
| JP2024158280A (en) | Function performing device, computer program for a function performing device and method for controlling a function performing device - Patents.com |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231017 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240626 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240709 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240826 |
|
| 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: 20241119 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241202 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7608805 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |