[go: up one dir, main page]

JP5056622B2 - Computer program for installing in a communication device an application that causes the function execution device to execute the function - Google Patents

Computer program for installing in a communication device an application that causes the function execution device to execute the function Download PDF

Info

Publication number
JP5056622B2
JP5056622B2 JP2008171117A JP2008171117A JP5056622B2 JP 5056622 B2 JP5056622 B2 JP 5056622B2 JP 2008171117 A JP2008171117 A JP 2008171117A JP 2008171117 A JP2008171117 A JP 2008171117A JP 5056622 B2 JP5056622 B2 JP 5056622B2
Authority
JP
Japan
Prior art keywords
function
port number
port
application
user
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.)
Expired - Fee Related
Application number
JP2008171117A
Other languages
Japanese (ja)
Other versions
JP2010009505A (en
Inventor
智美 白木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2008171117A priority Critical patent/JP5056622B2/en
Publication of JP2010009505A publication Critical patent/JP2010009505A/en
Application granted granted Critical
Publication of JP5056622B2 publication Critical patent/JP5056622B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Computer And Data Communications (AREA)

Description

本発明は、機能実行装置に機能を実行させるアプリケーションを通信装置にインストールするためのコンピュータプログラムに関する。また、機能実行装置と通信装置とを備える機能実行システムに関する。なお、本明細書の「機能実行装置」という用語は、最も広義に解釈されるべきものであり、機能を実行することができるあらゆる装置を含む概念である。「機能実行装置」の一例として、プリンタ、多機能機、サーバ、PC等を挙げることができる。また、本明細書の「通信装置」という用語は、最も広義に解釈されるべきものであり、機能実行装置に通信可能に接続されるあらゆる装置を含む概念である。「通信装置」の一例として、サーバ、PC等を挙げることができる。   The present invention relates to a computer program for installing, in a communication device, an application that causes a function execution device to execute a function. The present invention also relates to a function execution system including a function execution device and a communication device. Note that the term “function execution device” in this specification is to be interpreted in the broadest sense, and is a concept including all devices capable of executing a function. Examples of the “function execution device” include a printer, a multi-function device, a server, and a PC. Further, the term “communication device” in the present specification should be interpreted in the broadest sense, and is a concept including any device that is communicably connected to the function execution device. Examples of the “communication device” include a server and a PC.

機能実行装置に機能を実行させるアプリケーションを通信装置にインストールすることが広く行なわれている。例えば、下記の特許文献1には、プリンタに通信可能に接続されるPCにプリンタドライバアプリケーションをインストールすることが開示されている。PCは、プリンタドライバアプリケーションを起動することによって、印刷機能実行指示をプリンタに送信することができる。プリンタは、PCから送信された印刷機能実行指示に従って、印刷機能を実行することができる。   An application that causes a function execution device to execute a function is widely installed in a communication device. For example, Patent Document 1 below discloses that a printer driver application is installed in a PC communicably connected to a printer. The PC can send a print function execution instruction to the printer by activating the printer driver application. The printer can execute the printing function according to the printing function execution instruction transmitted from the PC.

特開2005−33779号公報JP 2005-33779 A

複数の機能を実行することが可能である機能実行装置が存在する。例えば、プリンタの中には、印刷機能のみならず、外部からの指示に応じて自身のステータス情報を送信するステータス情報送信機能や、外部からの指示に応じて設定を変更する設定変更機能等を実行することが可能であるものが存在する。これらの様々な機能を機能実行装置に実行させるためには、それらの機能に対応する複数のアプリケーションを通信装置にインストールする必要がある。   There exists a function execution device capable of executing a plurality of functions. For example, some printers have not only a printing function, but also a status information transmission function for transmitting own status information in response to an external instruction, a setting change function for changing settings in response to an external instruction, etc. There is something that can be done. In order for the function execution device to execute these various functions, it is necessary to install a plurality of applications corresponding to these functions in the communication device.

例えば、TCP/IPの場合、65535個のポート番号を利用して通信することができる。外部からの機能実行指示に応じて複数の機能を実行する機能実行装置では、個々の機能に対してポート番号が設定されている。通信装置にインストールされるアプリケーションは、そのアプリケーションに対応する機能に対して設定されているポート番号を含む機能実行指示を送信する。機能実行装置は、機能実行指示に含まれるポート番号が設定されている機能を実行する。ポート番号を含む機能実行指示を通信することによって、機能実行装置は、いずれの機能を実行すればよいのかを特定することができる。   For example, in the case of TCP / IP, communication can be performed using 65535 port numbers. In a function execution device that executes a plurality of functions in response to a function execution instruction from the outside, a port number is set for each function. The application installed in the communication device transmits a function execution instruction including a port number set for the function corresponding to the application. The function execution device executes a function for which a port number included in the function execution instruction is set. By communicating a function execution instruction including a port number, the function execution device can specify which function should be executed.

機能実行装置では、複数のポート番号のそれぞれをオープン状態とクローズ状態のいずれの状態に設定することができる。機能実行装置は、クローズ状態のポート番号を含む機能実行指示が受信された場合、その機能実行指示に従って機能を実行しない。従って、外部からの機能実行指示に従って機能実行装置が機能を実行するためには、その機能に対して設定されているポート番号をオープン状態にしておく必要がある。しかしながら、オープン状態のポート番号が存在すると、そのポート番号を使用して不正なアクセスが行なわれる可能性がある。必要なポート番号のみをオープン状態に設定し、不要なポート番号をクローズ状態に設定することが好ましい。   In the function execution device, each of the plurality of port numbers can be set to either an open state or a closed state. When a function execution instruction including a closed port number is received, the function execution apparatus does not execute the function according to the function execution instruction. Therefore, in order for the function execution device to execute a function in accordance with a function execution instruction from the outside, it is necessary to keep the port number set for the function open. However, if there is an open port number, there is a possibility that unauthorized access will be performed using that port number. It is preferable that only necessary port numbers are set in an open state and unnecessary port numbers are set in a closed state.

本明細書では、不要なポート番号をクローズすることによって機能実行装置のセキュリティを高めることができる技術を提供する。   The present specification provides a technique that can increase the security of a function execution device by closing unnecessary port numbers.

本発明は、複数のアプリケーションに対応する複数の機能を実行することが可能であり、前記複数の機能のそれぞれに対してポート番号が設定されており、かつ、外部からの機能実行指示に含まれるポート番号が設定されている機能を実行するという各特性を持つ機能実行装置に通信可能に接続される通信装置に、前記複数のアプリケーションをインストールするためのコンピュータプログラムであり、通信装置に搭載されるコンピュータに、以下の処理、即ち、前記複数の機能の中から1つ以上の機能をユーザが選択することを許容する選択許容処理と、ユーザによって選択された機能に対応するアプリケーションをインストールするインストール処理と、前記複数の機能に対して設定されている複数のポート番号のうち、ユーザによって選択された機能に対して設定されている選択ポート番号以外のポート番号である非選択ポート番号を特定するポート特定処理と、前記ポート特定処理で特定された前記非選択ポート番号をクローズすることを指示するポートクローズ指示を機能実行装置に送信するポート設定指示送信処理とを実行させ、前記複数のアプリケーションのそれぞれは、当該アプリケーションに対応する機能に対して設定されているポート番号を含む機能実行指示を機能実行装置に送信するためのアプリケーションである。
本発明は、複数のアプリケーションに対応する複数の機能を実行することが可能であり、前記複数の機能のそれぞれに対してポート番号が設定されており、かつ、外部からの機能実行指示に含まれるポート番号が設定されている機能を実行するという各特性を持つ機能実行装置に通信可能に接続される通信装置に、前記複数のアプリケーションをインストールするためのコンピュータプログラムであり、通信装置に搭載されるコンピュータに、以下の処理、即ち、前記複数のアプリケーションの中から1つ以上のアプリケーションをユーザが選択することを許容する選択許容処理と、ユーザによって選択されたアプリケーションをインストールするインストール処理と、前記複数の機能に対して設定されている複数のポート番号のうち、ユーザによって選択されたアプリケーションに対応する機能に対して設定されている選択ポート番号以外のポート番号である非選択ポート番号を特定するポート特定処理と、前記ポート特定処理で特定された前記非選択ポート番号をクローズすることを指示するポートクローズ指示を機能実行装置に送信するポート設定指示送信処理とを実行させ、前記複数のアプリケーションのそれぞれは、当該アプリケーションに対応する機能に対して設定されているポート番号を含む機能実行指示を機能実行装置に送信するためのアプリケーションである。
本明細書の一つの形態では、機能実行装置に通信可能に接続される通信装置に複数のアプリケーションをインストールするためのコンピュータプログラムを開示する。コンピュータプログラムは、メディアに記憶されているものであってもよいし、インターネット等の外部ネットワークからダウンロードされるものであってもよい。機能実行装置は、複数のアプリケーションに対応する複数の機能を実行することが可能であり、上記の複数の機能のそれぞれに対してポート番号が設定されており、かつ、外部からの機能実行指示に含まれるポート番号が設定されている機能を実行するという各特性を持っている。上記の「複数のアプリケーションに対応する複数の機能」は、個々のアプリケーションに対して1つの機能が存在することのみを意味するのではない。1つのアプリケーションに対応する複数の機能が存在してもよいし、2以上のアプリケーションに対応する1つの機能が存在してもよい。また、1つの機能に対して1つのポート番号のみが設定されていてもよいし、1つの機能に対して2つ以上のポート番号が設定されていてもよい。なお、「機能」という用語は、「サービス」と言い換えることができる。
The present invention can execute a plurality of functions corresponding to a plurality of applications, a port number is set for each of the plurality of functions, and is included in a function execution instruction from the outside. A computer program for installing the plurality of applications in a communication device that is communicably connected to a function execution device having a characteristic of executing a function for which a port number is set, and is installed in the communication device In the computer, the following process, that is, a selection permission process that allows a user to select one or more functions from the plurality of functions, and an installation process that installs an application corresponding to the function selected by the user And among the plurality of port numbers set for the plurality of functions, A port specifying process for specifying a non-selected port number that is a port number other than the selected port number set for the selected function, and closing the non-selected port number specified in the port specifying process. A port setting instruction transmission process for transmitting a port closing instruction to be transmitted to the function execution apparatus, and each of the plurality of applications includes a function execution instruction including a port number set for a function corresponding to the application Is an application for transmitting to the function execution device.
The present invention can execute a plurality of functions corresponding to a plurality of applications, a port number is set for each of the plurality of functions, and is included in a function execution instruction from the outside. A computer program for installing the plurality of applications in a communication device that is communicably connected to a function execution device having a characteristic of executing a function for which a port number is set, and is installed in the communication device In the computer, the following process, that is, a selection permission process that allows a user to select one or more applications from among the plurality of applications, an installation process that installs an application selected by the user, and the plurality of processes Of the multiple port numbers set for the A port specifying process for specifying a non-selected port number that is a port number other than the selected port number set for the function corresponding to the application selected by the application, and the non-selected port number specified by the port specifying process Port setting instruction transmission processing for transmitting a port close instruction to close the function to the function execution device, and each of the plurality of applications has a port number set for the function corresponding to the application. Is an application for transmitting a function execution instruction including a message to the function execution device.
In one form of the present specification, a computer program for installing a plurality of applications in a communication device that is communicably connected to a function execution device is disclosed. The computer program may be stored in a medium, or may be downloaded from an external network such as the Internet. The function execution device can execute a plurality of functions corresponding to a plurality of applications, a port number is set for each of the plurality of functions, and a function execution instruction is received from the outside. Each feature has the function of executing the function for which the included port number is set. The above-mentioned “plurality of functions corresponding to a plurality of applications” does not only mean that one function exists for each application. A plurality of functions corresponding to one application may exist, and one function corresponding to two or more applications may exist. Further, only one port number may be set for one function, or two or more port numbers may be set for one function. Note that the term “function” can be restated as “service”.

なお、上記の複数のアプリケーションのそれぞれは、そのアプリケーションに対応する機能に対して設定されているポート番号を含む機能実行指示を機能実行装置に送信する。機能実行装置は、機能実行指示に含まれるポート番号に対して設定されている機能を実行する。本明細書では、機能に対してポート番号が設定されており、そのポート番号を含む機能実行指示を送信するアプリケーションが存在する関係のことを、「アプリケーションに対応する機能」と表現している。「アプリケーションに対応する機能」という用語は、「アプリケーションに従って実行される機能」と言い換えることもできる。   Each of the plurality of applications transmits a function execution instruction including a port number set for a function corresponding to the application to the function execution apparatus. The function execution device executes a function set for the port number included in the function execution instruction. In this specification, a port number is set for a function, and a relationship in which an application that transmits a function execution instruction including the port number exists is expressed as “function corresponding to the application”. The term “function corresponding to an application” can be rephrased as “function executed according to an application”.

上記のコンピュータプログラムは、通信装置に搭載されるコンピュータに、選択許容処理とインストール処理とポートクローズ指示送信処理とを実行させる。選択許容処理は、上記の複数の機能の中から1つ以上の機能をユーザが選択することを許容する。インストール処理は、ユーザによって選択された機能に対応するアプリケーションをインストールする。ポートクローズ指示送信処理は、ユーザによって選択された機能に対して設定されていないポート番号をクローズすることを指示するポートクローズ指示を機能実行装置に送信する。なお、上記の各処理の順序は特に限定されない。例えば、インストール処理がポートクローズ指示送信処理より先に実行されてもよいし、ポートクローズ指示送信処理がインストール処理より先に実行されてもよい(同時に実行されてもよい)。例えば、インストール処理を実行した後にポートクローズ指示送信処理を実行すると、インストールに失敗したり、ユーザがインストール処理の途中でキャンセル指示を行った場合でも、インストールされたアプリケーションと機器の状態との整合性が得られる。   The computer program causes a computer mounted on the communication device to execute a selection permission process, an installation process, and a port close instruction transmission process. The selection permission process allows the user to select one or more functions from the plurality of functions. In the installation process, an application corresponding to the function selected by the user is installed. In the port close instruction transmission process, a port close instruction for instructing to close a port number not set for the function selected by the user is transmitted to the function execution apparatus. In addition, the order of each said process is not specifically limited. For example, the installation process may be executed prior to the port close instruction transmission process, or the port close instruction transmission process may be executed prior to the installation process (may be executed simultaneously). For example, if the port close instruction transmission process is executed after the installation process is executed, even if the installation fails or the user issues a cancel instruction during the installation process, the consistency between the installed application and the device status Is obtained.

機能実行装置が機能F1と機能F2と機能F3を実行することが可能であり、機能F1に対してポート番号P1が設定されており、機能F2に対してポート番号P2が設定されており、機能F3に対してポート番号P3が設定されている場合を例にして、上記のコンピュータプログラムの作用を説明する。しかも、この例では、機能F1に対応するアプリケーションA1と、機能F2に対応するアプリケーションA2と、機能F3に対応するアプリケーションA3が存在するものとする。通信装置のユーザは、3つの機能F1,F2,F3の中から任意の機能を選択することができる。ユーザによって選択された機能がF1とF2である場合(F3が選択されなかった場合)、通信装置には、少なくとも2つのアプリケーションA1,A2がインストールされる(アプリケーションA3はインストールされてもよいし、インストールされなくてもよい)。さらに、この場合、ポート番号P3をクローズすることを指示するポートクローズ指示が機能実行装置に送信される。この結果、機能実行装置は、ポート番号P3をクローズする。ユーザによって選択された機能F1,F2に対して設定されていないポート番号P3をクローズすることができる。即ち、ユーザによって選択されなかったために機能実行装置で実行されないと考えられる機能F3に対して設定されているポート番号P3をクローズすることができる。このために、機能実行装置のセキュリティを高めることができる。   The function execution device can execute the function F1, the function F2, and the function F3, the port number P1 is set for the function F1, and the port number P2 is set for the function F2. The operation of the above computer program will be described by taking the case where the port number P3 is set for F3 as an example. In addition, in this example, it is assumed that there is an application A1 corresponding to the function F1, an application A2 corresponding to the function F2, and an application A3 corresponding to the function F3. The user of the communication device can select an arbitrary function from the three functions F1, F2, and F3. When the functions selected by the user are F1 and F2 (when F3 is not selected), at least two applications A1 and A2 are installed in the communication device (the application A3 may be installed, Need not be installed). Further, in this case, a port close instruction for instructing to close the port number P3 is transmitted to the function execution apparatus. As a result, the function execution device closes the port number P3. The port number P3 not set for the functions F1 and F2 selected by the user can be closed. That is, it is possible to close the port number P3 set for the function F3 considered not to be executed by the function execution device because it has not been selected by the user. For this reason, the security of the function execution device can be increased.

なお、上記の例の場合、ポートクローズ指示は、ポート番号P3のみをクローズすることを指示するものであってもよいし、ポート番号P1,P2以外の全てのポート番号をクローズすることを指示するものであってもよい。また、機能実行装置が上記の複数のアプリケーションのいずれにも対応しない機能を実行することが可能であり、その機能に対してポート番号P4が設定されている場合、ポートクローズ指示は、ポート番号P1,P2,P4以外の全てのポート番号をクローズすることを指示するものであってもよい。   In the case of the above example, the port close instruction may instruct to close only the port number P3, or instruct to close all the port numbers other than the port numbers P1 and P2. It may be a thing. When the function execution device can execute a function that does not correspond to any of the plurality of applications, and the port number P4 is set for the function, the port close instruction is sent to the port number P1. , P2, and P4 may be instructed to close all port numbers.

また、例えば、機能実行装置が初期状態において全てのポート番号をクローズしている場合、上記のポートクローズ指示は、ユーザによって選択された機能F1,F2に対して設定されているポート番号P1,P2をオープンすることを指示するものであってもよい。この場合、ポート番号P1,P2がオープンされ、ユーザによって選択された機能F1,F2に対して設定されていないポート番号P3はクローズ状態が維持される。この場合も、上記のポートクローズ指示を送信することに等しい。   For example, when the function execution device closes all the port numbers in the initial state, the port close instruction described above is the port numbers P1, P2 set for the functions F1, F2 selected by the user. May be instructed to open. In this case, the port numbers P1 and P2 are opened, and the port number P3 not set for the functions F1 and F2 selected by the user is kept closed. This case is also equivalent to transmitting the above port close instruction.

上記のコンピュータプログラムは、コンピュータにユーザ識別情報問合せ処理とユーザ識別情報設定処理とをさらに実行させてもよい。ユーザ識別情報問合せ処理は、ユーザ識別情報が機能実行装置に設定されているのか否かを機能実行装置に問い合わせる。ユーザ識別情報設定処理は、ユーザ識別情報が機能実行装置に設定されていないことを条件として、ユーザ識別情報を機能実行装置に送信することによって当該ユーザ識別情報を機能実行装置に設定する。この場合、コンピュータプログラムは、機能実行装置に設定されているユーザ識別情報に対応するユーザに対しては、選択許容処理において上記の複数の機能の全ての中から1つ以上の機能を選択することを許容し、インストール処理とポートクローズ指示送信処理とを上記のコンピュータに実行させてもよい。   The computer program may cause the computer to further execute a user identification information inquiry process and a user identification information setting process. The user identification information inquiry process inquires of the function execution device whether or not the user identification information is set in the function execution device. The user identification information setting process sets the user identification information in the function execution device by transmitting the user identification information to the function execution device on condition that the user identification information is not set in the function execution device. In this case, for the user corresponding to the user identification information set in the function execution device, the computer program selects one or more functions from all of the plurality of functions in the selection permission process. And the installation process and the port close instruction transmission process may be executed by the computer.

上記の構成によると、機能実行装置に設定されているユーザ識別情報に対応するユーザは、全ての機能の中から任意の機能を選択することができる。このユーザによって選択された機能に対して設定されていないポート番号が機能実行装置でクローズされる。   According to said structure, the user corresponding to the user identification information set to the function execution apparatus can select arbitrary functions from all the functions. The port number not set for the function selected by the user is closed by the function execution device.

なお、「機能実行装置に設定されているユーザ識別情報に対応するユーザ」であるのか否かを判断するための手法を以下に例示しておく。以下に例示された手法以外が利用されてもよい。
(1)通信装置にユーザ識別情報を入力することをユーザに許容する。ユーザ識別情報を通信装置から機能実行装置に送信する。機能実行装置は、自身に設定されているユーザ識別情報と通信装置から送信されたユーザ識別情報が一致するのか否かを判断する。機能実行装置は、両者が一致するのか否かを示す情報を通信装置に送信する。この手法では、ユーザ識別情報の認証が機能実行装置で行なわれる。
(2)通信装置にユーザ識別情報を入力することをユーザに許容する。機能実行装置は、自身に設定されているユーザ識別情報を通信装置に送信する。通信装置は、通信装置に入力されたユーザ識別情報と機能実行装置から送信されたユーザ識別情報とが一致するのか否かを判断する。この手法では、ユーザ識別情報の認証が通信装置で行なわれる。
(3)なお、ユーザ識別情報は、1種類の情報であってもよいし、複数種類の情報の組合せであってもよい。例えば、ユーザ識別情報は、ユーザIDとパスワードの組合せであってもよい。
A method for determining whether or not the user is “a user corresponding to the user identification information set in the function execution apparatus” will be exemplified below. Methods other than those exemplified below may be used.
(1) The user is allowed to input user identification information to the communication device. User identification information is transmitted from the communication device to the function execution device. The function execution device determines whether or not the user identification information set in itself matches the user identification information transmitted from the communication device. The function execution device transmits information indicating whether or not the two match each other to the communication device. In this method, authentication of user identification information is performed by a function execution device.
(2) The user is allowed to input user identification information to the communication device. The function execution device transmits user identification information set to itself to the communication device. The communication apparatus determines whether the user identification information input to the communication apparatus matches the user identification information transmitted from the function execution apparatus. In this method, authentication of user identification information is performed by a communication device.
(3) The user identification information may be one type of information or a combination of a plurality of types of information. For example, the user identification information may be a combination of a user ID and a password.

また、上記のコンピュータプログラムは、コンピュータにポート確認処理をさらに実行させてもよい。ポート確認処理は、機能実行装置においてオープンされているポート番号に関する情報及び/又はクローズされているポート番号に関する情報を確認する。この場合、コンピュータプログラムは、機能実行装置に設定されているユーザ識別情報に対応しないユーザに対しては、選択許容処理においてポート確認処理で確認されたオープンされているポート番号に対応する機能の中から1つ以上の機能を選択することを許容し、インストール処理をコンピュータに実行させてもよい。この場合、ポートクローズ指示送信処理をコンピュータに実行させなくてもよい。   Further, the computer program may cause the computer to further execute a port confirmation process. The port confirmation process confirms information related to an open port number and / or information related to a closed port number in the function execution apparatus. In this case, the computer program, for a user who does not correspond to the user identification information set in the function execution device, is a function corresponding to the opened port number confirmed in the port confirmation process in the selection permission process. One or more functions may be selected from and the installation process may be executed by the computer. In this case, the computer does not have to execute the port close instruction transmission process.

上記の構成によると、機能実行装置に設定されているユーザ識別情報に対応するユーザをいわゆる管理者として扱うことができるようになる。即ち、管理者のみが全ての機能の中から任意の機能を選択することができ、管理者によって選択された機能に対して設定されていないポート番号をクローズすることができる。管理者以外のユーザは、管理者によって選択された機能の中からしか機能を選択することができない。管理者の選択に従って機能実行装置でクローズされているポート番号が、管理者以外のユーザによってオープンされないので、管理者の意図しないポートがオープンになることを防ぐことができる。   According to said structure, the user corresponding to the user identification information set to the function execution apparatus can be handled as what is called an administrator. That is, only the administrator can select an arbitrary function from all functions, and can close a port number that is not set for the function selected by the administrator. A user other than the administrator can select a function only from the functions selected by the administrator. Since the port number closed by the function execution device according to the administrator's selection is not opened by a user other than the administrator, it is possible to prevent the port not intended by the administrator from being opened.

上記のコンピュータプログラムは、コンピュータに指示問合せ処理をさらに実行させてもよい。指示問合せ処理は、ポートクローズ指示が機能実行装置に過去に送信されたのか否かを機能実行装置に問い合わせる。この場合、コンピュータプログラムは、ポートクローズ指示が機能実行装置に過去に送信されていないことを条件として、選択許容処理と、インストール処理と、ポートクローズ指示送信処理とをコンピュータに実行させてもよい。また、コンピュータプログラムは、ポートクローズ指示が機能実行装置に過去に送信されていることを条件として、選択許容処理と、インストール処理と、ユーザによって選択された機能に対して設定されているポート番号をオープンすることを指示するポートオープン指示を機能実行装置に送信するポートオープン指示送信処理とをコンピュータに実行させてもよい。   The computer program may cause the computer to further execute an instruction inquiry process. The instruction inquiry process inquires of the function execution apparatus whether or not a port close instruction has been transmitted to the function execution apparatus in the past. In this case, the computer program may cause the computer to execute the selection permission process, the installation process, and the port close instruction transmission process on the condition that the port close instruction has not been transmitted to the function execution apparatus in the past. Further, the computer program sets the port number set for the selection permission process, the installation process, and the function selected by the user on the condition that the port close instruction has been transmitted to the function execution apparatus in the past. You may make a computer perform the port open instruction | indication transmission process which transmits the port open instruction | indication which instruct | indicates opening to a function execution apparatus.

上記の構成によると、ユーザは、他のユーザの選択に従って過去にクローズされたポート番号が存在している場合であっても、そのポート番号が設定されている機能を選択し、そのポート番号をオープンさせることができる。   According to the above configuration, even when there is a port number that has been closed in the past according to the selection of another user, the user selects the function for which the port number is set, and sets the port number. Can be opened.

なお、上記のポートオープン指示送信処理の具体的な手法を以下に例示しておく。以下に例示された手法以外が利用されてもよい。
(1)通信装置(コンピュータ)は、選択許容処理でユーザによって選択された機能に対応するポート番号(以下では「ユーザ選択ポート番号」と呼ぶ)がオープンされているのか否かを機能実行装置に問い合わせる。この結果、通信装置は、ユーザ選択ポート番号の中でクローズされているポート番号がわかる。ポートオープン指示送信処理では、ユーザ選択ポート番号の中でクローズされているポート番号をオープンすることを指示する。
(2)通信装置(コンピュータ)は、各ポート番号の現在の状態(オープン状態又はクローズ状態)を機能実行装置に問い合わせる。この結果、通信装置は、オープンされているポート番号とクローズされているポート番号がわかり、ユーザ選択ポート番号の中でクローズされているポート番号がわかる。ポートオープン指示送信処理では、ユーザ選択ポート番号の中でクローズされているポート番号をオープンすることを指示する。
(3)通信装置(コンピュータ)は、上記の(1)と(2)のいずれの問い合わせも行なわない。ポートオープン指示送信処理では、ユーザ選択ポート番号をオープンすることを指示する。機能実行装置は、通信装置から送信されたユーザ選択ポート番号の中にクローズされているポート番号が含まれている場合は、そのポート番号をオープンする。
A specific method of the port open instruction transmission process is exemplified below. Methods other than those exemplified below may be used.
(1) The communication device (computer) determines whether the port number corresponding to the function selected by the user in the selection permission process (hereinafter referred to as “user-selected port number”) is open. Inquire. As a result, the communication apparatus knows the closed port number among the user-selected port numbers. In the port open instruction transmission process, an instruction is given to open a closed port number among user-selected port numbers.
(2) The communication device (computer) inquires the function execution device about the current state (open state or closed state) of each port number. As a result, the communication device knows the opened port number and the closed port number, and knows the closed port number among the user-selected port numbers. In the port open instruction transmission process, an instruction is given to open a closed port number among user-selected port numbers.
(3) The communication device (computer) does not make any inquiry of (1) and (2) above. In the port open instruction transmission process, an instruction to open the user-selected port number is given. If the closed port number is included in the user-selected port number transmitted from the communication device, the function execution device opens the port number.

なお、上記の技術では、選択許容処理において、複数の機能の中から1つ以上の機能をユーザが選択することを許容する。これは、「複数のアプリケーションの中から1つ以上のアプリケーションをユーザが選択することを許容する」と言い換えることもできる。この場合、インストール処理では、ユーザによって選択されたアプリケーションをインストールする(ユーザによって選択されなかったアプリケーションは、インストールしてもよいし、インストールしなくてもよい)。ポートクローズ指示送信処理では、ユーザによって選択されたアプリケーションに対応する機能に対して設定されていないポート番号をクローズすることを指示するポートクローズ指示を機能実行装置に送信する。上記の例の場合、ユーザによって選択されたアプリケーションA1,A2に対応する機能F1,F2に対して設定されていないポート番号P3をクローズすることを指示するポートクローズ指示を機能実行装置に送信する。この構成でも、機能実行装置のセキュリティを高めることができる。   In the above technique, in the selection permission process, the user is allowed to select one or more functions from a plurality of functions. This can be paraphrased as “allowing the user to select one or more applications from a plurality of applications”. In this case, in the installation process, an application selected by the user is installed (applications not selected by the user may be installed or not installed). In the port close instruction transmission process, a port close instruction for instructing to close a port number not set for the function corresponding to the application selected by the user is transmitted to the function execution apparatus. In the case of the above example, a port close instruction for instructing to close the port number P3 not set for the functions F1 and F2 corresponding to the applications A1 and A2 selected by the user is transmitted to the function execution apparatus. Even with this configuration, the security of the function execution device can be increased.

なお、ユーザがアプリケーションを選択する構成では、コンピュータプログラムは、コンピュータにポート番号特定処理をさらに実行させてもよい。ポート番号特定処理では、複数のアプリケーションのそれぞれについて、当該アプリケーションと、当該アプリケーションに対応する機能に対して設定されているポート番号とが関連づけられているポート番号リストから、ユーザによって選択されたアプリケーションに関連づけられていないポート番号を特定する。この場合、ポートクローズ指示送信処理では、ポート番号特定処理によって特定されたポート番号をクローズすることを指示するポートクローズ指示を機能実行装置に送信してもよい。   In the configuration in which the user selects an application, the computer program may cause the computer to further execute a port number specifying process. In the port number specifying process, for each of a plurality of applications, the application selected by the user from the port number list in which the application and the port number set for the function corresponding to the application are associated. Identify unrelated port numbers. In this case, in the port close instruction transmission process, a port close instruction for instructing to close the port number specified by the port number specifying process may be transmitted to the function execution device.

本発明は、複数のアプリケーションに対応する複数の機能を実行することが可能であり、前記複数の機能のそれぞれに対してポート番号が設定されており、かつ、外部からの機能実行指示に含まれるポート番号が設定されている機能を実行するという各特性を持つ機能実行装置と、その機能実行装置に通信可能に接続される通信装置とを備える機能実行システムであり、通信装置は、記複数の機能の中から1つ以上の機能をユーザが選択することを許容する選択許容手段と、ユーザによって選択された機能に対応するアプリケーションをインストールするインストール手段と、ユーザによって選択された機能に関する選択機能情報及び/又はユーザによって選択されなかった機能に関する非選択機能情報を機能実行装置に送信する機能情報送信手段とを有し、前記複数のアプリケーションのそれぞれは、当該アプリケーションに対応する機能に対して設定されているポート番号を含む機能実行指示を機能実行装置に送信するためのアプリケーションであり、機能実行装置は、通信装置のユーザによって選択された機能に対応するアプリケーションが前記通信装置にインストールされる際に、通信装置から送信された選択機能情報及び/又は非選択機能情報を受信する機能情報受信手段と、機能情報受信手段によって受信された選択機能情報及び/又は非選択機能情報に従って、前記複数の機能に対して設定されている複数のポート番号のうち、ユーザによって選択された機能に対して設定されている選択ポート番号以外のポート番号である非選択ポート番号を特定するポート特定手段と、ポート特定手段によって特定された前記非選択ポート番号をクローズするポートクローズ手段とを有する。
本発明は、複数のアプリケーションに対応する複数の機能を実行することが可能であり、前記複数の機能のそれぞれに対してポート番号が設定されており、かつ、外部からの機能実行指示に含まれるポート番号が設定されている機能を実行するという各特性を持つ機能実行装置と、その機能実行装置に通信可能に接続される通信装置とを備える機能実行システムであり、通信装置は、前記複数のアプリケーションの中から1つ以上のアプリケーションをユーザが選択することを許容する選択許容手段と、ユーザによって選択されたアプリケーションをインストールするインストール手段と、ユーザによって選択されたアプリケーションに関する選択アプリケーション情報及び/又はユーザによって選択されなかったアプリケーションに関する非選択アプリケーション情報を機能実行装置に送信するアプリケーション情報送信手段とを有し、前記複数のアプリケーションのそれぞれは、当該アプリケーションに対応する機能に対して設定されているポート番号を含む機能実行指示を機能実行装置に送信するためのアプリケーションであり、機能実行装置は、ユーザによって選択された機能に対応するアプリケーションが前記通信装置にインストールされる際に、通信装置から送信された選択アプリケーション情報及び/又は非選択アプリケーション情報を受信するアプリケーション情報受信手段と、アプリケーション情報受信手段によって受信された選択アプリケーション情報及び/又は非選択アプリケーション情報に従って、前記複数の機能に対して設定されている複数のポート番号のうち、ユーザによって選択されたアプリケーションに対応する機能に対して設定されている選択ポート番号以外のポート番号である非選択ポート番号を特定するポート特定手段と、ポート特定手段によって特定された前記非選択ポート番号をクローズするポートクローズ手段とを有する。
本明細書によって開示される一つの形態の技術は、機能実行装置と通信装置とを備えるシステムとして表現することもできる。通信装置は、選択許容手段とインストール手段と機能情報送信手段とを有する。選択許容手段は、複数の機能の中から1つ以上の機能をユーザが選択することを許容する。インストール手段は、ユーザによって選択された機能に対応するアプリケーションをインストールする。機能情報送信手段は、ユーザによって選択された機能に関する選択機能情報及び/又はユーザによって選択されなかった機能に関する非選択機能情報を機能実行装置に送信する。機能実行装置は、機能情報受信手段とポートクローズ手段とを有する。機能情報受信手段は、通信装置から送信された選択機能情報及び/又は非選択機能情報を受信する。ポートクローズ手段は、機能情報受信手段によって受信された選択機能情報及び/又は非選択機能情報に従って、ユーザによって選択された機能に対応しないポート番号をクローズする。
The present invention can execute a plurality of functions corresponding to a plurality of applications, a port number is set for each of the plurality of functions, and is included in a function execution instruction from the outside. A function execution system comprising a function execution device having each characteristic of executing a function for which a port number is set, and a communication device connected to the function execution device in a communicable manner. Selection permitting means for allowing the user to select one or more functions from among functions, installation means for installing an application corresponding to the function selected by the user, and selected function information regarding the function selected by the user And / or non-selected function information related to a function not selected by the user is transmitted to the function execution device. Each of the plurality of applications is an application for transmitting a function execution instruction including a port number set for a function corresponding to the application to the function execution device. A function information receiving means for receiving selected function information and / or non-selected function information transmitted from the communication device when an application corresponding to the function selected by the user of the communication device is installed in the communication device; In accordance with the selected function information and / or the non-selected function information received by the function information receiving means, the function is set for the function selected by the user among the plurality of port numbers set for the plurality of functions. Port identification method that identifies unselected port numbers that are port numbers other than the selected port number When, and a port close means for closing the non-selected port number identified by the port identification means.
The present invention can execute a plurality of functions corresponding to a plurality of applications, a port number is set for each of the plurality of functions, and is included in a function execution instruction from the outside. A function execution system comprising a function execution device having each characteristic of executing a function for which a port number is set, and a communication device connected to the function execution device in a communicable manner. Selection permitting means for allowing a user to select one or more applications from among applications, installation means for installing an application selected by the user, selected application information and / or user regarding the application selected by the user About applications not selected by Application information transmitting means for transmitting the selected application information to the function execution device, and each of the plurality of applications executes a function execution instruction including a port number set for a function corresponding to the application The function execution device is an application for transmitting to the device, and the function execution device selects and / or deselects the selected application information transmitted from the communication device when an application corresponding to the function selected by the user is installed in the communication device. A plurality of port numbers set for the plurality of functions according to application information receiving means for receiving application information and selected application information and / or non-selected application information received by the application information receiving means. Of these, the port specifying means for specifying a non-selected port number that is a port number other than the selected port number set for the function corresponding to the application selected by the user, and the non-selected port specified by the port specifying means. And a port closing means for closing the selected port number.
One form of technology disclosed in this specification can also be expressed as a system including a function execution device and a communication device. The communication apparatus includes a selection permission unit, an installation unit, and a function information transmission unit. The selection permission unit allows the user to select one or more functions from a plurality of functions. The installation unit installs an application corresponding to the function selected by the user. The function information transmitting means transmits the selected function information regarding the function selected by the user and / or the non-selected function information regarding the function not selected by the user to the function execution device. The function execution device includes function information receiving means and port closing means. The function information receiving unit receives the selected function information and / or the non-selected function information transmitted from the communication device. The port closing means closes the port number not corresponding to the function selected by the user according to the selected function information and / or the non-selected function information received by the function information receiving means.

上記の構成によると、ユーザによって選択されなかったために機能実行装置で実行されないと考えられる機能に対して設定されているポート番号をクローズすることができる。このために、機能実行装置のセキュリティを高めることができる。   According to said structure, the port number set with respect to the function considered not to be performed by the function execution apparatus since it was not selected by the user can be closed. For this reason, the security of the function execution device can be increased.

なお、上記のシステムにおいても、「複数の機能の中から1つ以上の機能をユーザが選択することを許容する」を、「複数のアプリケーションの中から1つ以上のアプリケーションをユーザが選択することを許容する」と言い換えることができる。   In the above system as well, “the user selects one or more functions from a plurality of functions” and “the user selects one or more applications from a plurality of applications”. Can be paraphrased.

また、上記のシステムを構成するための機能実行装置の単体も新規な技術である。この機能実行装置を利用すると、上記のシステムを構築することができる。   A single function execution device for configuring the above system is also a new technology. By using this function execution device, the above system can be constructed.

ここでは、以下の実施例に記載の技術の特徴の一部をまとめておく。
(形態1)1つのポート番号に1つの機能が対応していてもよい。1つの機能に対応するアプリケーションと2つ以上の機能に対応するアプリケーションとの両方が存在していてもよい。
Here, some of the features of the techniques described in the following embodiments are summarized.
(Mode 1) One function may correspond to one port number. There may be both an application corresponding to one function and an application corresponding to two or more functions.

(形態2)コンピュータプログラムは、通信装置に搭載されるコンピュータに、ネットワークに接続されている機能実行装置を検索する処理を実行させてもよい。ネットワークに接続されている機能実行装置が存在することを条件として、選択許容処理が実行されてもよい。 (Mode 2) The computer program may cause a computer mounted on the communication device to execute processing for searching for a function execution device connected to the network. The selection permission process may be executed on condition that there is a function execution device connected to the network.

(形態3)ユーザ識別情報が機能実行装置に設定されていないことを条件として、コンピュータプログラムは、通信装置に搭載されるコンピュータに、ユーザ識別情報を機能実行装置に設定するのか否かをユーザが選択することを許容する処理を実行させてもよい。ユーザによって肯定的な選択が行なわれた場合、ユーザ識別情報をユーザが入力することを許容し、入力されたユーザ識別情報を機能実行装置に送信してもよい。なお、ユーザ識別情報は、ユーザによって入力された情報であってもよいし、通信装置に予め設定されている情報(例えば通信装置に設定されているID等)であってもよい。 (Mode 3) On condition that the user identification information is not set in the function execution device, the computer program sets whether the user identification information is set in the function execution device in the computer mounted on the communication device. You may perform the process which permits selection. When a positive selection is made by the user, the user identification information may be allowed to be input by the user, and the input user identification information may be transmitted to the function execution device. Note that the user identification information may be information input by the user, or may be information set in advance in the communication device (for example, an ID set in the communication device).

(形態4)ユーザ識別情報が機能実行装置に設定されていることを条件として、コンピュータプログラムは、通信装置に搭載されるコンピュータに、ユーザ識別情報の認証を行なうのか否かをユーザが選択することを許容する処理を実行させてもよい。ユーザによって肯定的な選択が行なわれた場合、ユーザ識別情報をユーザが入力することを許容し、入力されたユーザ識別情報を機能実行装置に送信してもよい。機能実行装置は、通信装置から送信されたユーザ識別情報の認証を実行し、認証結果を通信装置に送信してもよい。肯定的な認証結果が得られたことを条件として、全ての機能(もしくはアプリケーション)の中から1つ以上の機能(もしくはアプリケーション)を選択することをユーザに許容してもよい。否定的な認証結果が得られたことを条件として、機能実行装置においてオープンされているポート番号に対応する機能(もしくはアプリケーション)の中から1つ以上の機能(もしくはアプリケーション)を選択することをユーザに許容してもよい。 (Mode 4) On the condition that the user identification information is set in the function execution device, the computer program selects whether or not to authenticate the user identification information to the computer mounted on the communication device. You may perform the process which accept | permits. When a positive selection is made by the user, the user identification information may be allowed to be input by the user, and the input user identification information may be transmitted to the function execution device. The function execution device may execute authentication of the user identification information transmitted from the communication device and transmit an authentication result to the communication device. The user may be allowed to select one or more functions (or applications) from all functions (or applications) on the condition that a positive authentication result is obtained. The user must select one or more functions (or applications) from the functions (or applications) corresponding to the open port number in the function execution device on the condition that a negative authentication result is obtained. May be acceptable.

(第1実施例)
図面を参照して実施例を説明する。図1は、本実施例の多機能機システム2を示す。多機能機システム2は、PC10と多機能機40を有する。PC10と多機能機40は通信可能に接続されている。なお、図1では1つの多機能機40しか示されていないが、複数の多機能機が存在していてもよい。
(First embodiment)
Embodiments will be described with reference to the drawings. FIG. 1 shows a multi-function device system 2 of this embodiment. The multi-function device system 2 includes a PC 10 and a multi-function device 40. The PC 10 and the multi-function device 40 are communicably connected. Although only one multi-function device 40 is shown in FIG. 1, a plurality of multi-function devices may exist.

(PCの構成)
PC10は、操作部12と表示部14とメディア収容部16と記憶部20と制御部28とネットワークインターフェイス30等を有する。操作部12は、マウスやキーボード等によって構成される。ユーザは、操作部12を操作することによって様々な指示や情報をPC10に入力することができる。表示部14は、様々な情報を表示することができる。
(PC configuration)
The PC 10 includes an operation unit 12, a display unit 14, a media storage unit 16, a storage unit 20, a control unit 28, a network interface 30, and the like. The operation unit 12 includes a mouse, a keyboard, and the like. The user can input various instructions and information to the PC 10 by operating the operation unit 12. The display unit 14 can display various information.

メディア収容部16は、CDやDVD等のメディア18を収容することができる。メディア18に記憶されている情報(プログラム等)は、メディア収容部16に搭載されているメディア読取部(図示省略)によって読み取られる。本実施例のメディア18は、複数のアプリケーションをPC10にインストールするために利用される。   The media storage unit 16 can store media 18 such as CDs and DVDs. Information (such as a program) stored in the medium 18 is read by a medium reading unit (not shown) mounted on the medium storage unit 16. The medium 18 of this embodiment is used for installing a plurality of applications on the PC 10.

図2は、メディア18に記憶されているプログラムを模式的に示す。メディア18は、複数のアプリケーション70〜78を記憶している。各アプリケーション70〜78は、多機能機40に様々な機能を実行させるためのアプリケーションである。具体的に言うと、PCプリントアプリケーション70は、多機能機40に印刷指示を送信するためのアプリケーションである。多機能機40は、印刷指示に従って印刷機能を実行する。スキャンアプリケーション72は、多機能機40にスキャン指示を送信するためのアプリケーションである。多機能機40は、スキャン指示に従ってスキャン機能を実行する。ステータスチェックアプリケーション74は、多機能機40にステータスチェック指示を送信するためのアプリケーションである。多機能機40は、ステータスチェック指示に従って、自身のステータス情報を取得し、取得されたステータス情報を送信するステータスチェック機能を実行する。   FIG. 2 schematically shows programs stored in the medium 18. The medium 18 stores a plurality of applications 70 to 78. Each of the applications 70 to 78 is an application for causing the multi-function device 40 to execute various functions. Specifically, the PC print application 70 is an application for transmitting a print instruction to the multi-function device 40. The multi-function device 40 executes a print function in accordance with a print instruction. The scan application 72 is an application for transmitting a scan instruction to the multi-function device 40. The multi-function device 40 executes the scan function according to the scan instruction. The status check application 74 is an application for transmitting a status check instruction to the multi-function device 40. The multi-function device 40 acquires its own status information according to the status check instruction, and executes a status check function that transmits the acquired status information.

パネル操作アプリケーション76は、多機能機40にパネル操作指示を送信するためのアプリケーションである。詳しくは後述するが、多機能機40は、操作パネル42(図1参照)を有する。ユーザが操作パネル42を操作すると、多機能機40は、ユーザの指示に従って処理(例えば所定の情報を表示する処理や設定情報(印刷解像度、スキャン解像度等)を変更する処理)を実行する。上記のパネル操作指示は、操作パネル42を遠隔操作するための指示である。即ち、多機能機40は、パネル操作指示を受信すると、操作パネル42が操作された場合と同様の処理を行なう。以下では、パネル操作指示に従って多機能機40が実行する機能のことを「パネル操作機能」と呼ぶ。即ち、多機能機40は、パネル操作指示に従ってパネル操作機能を実行する。   The panel operation application 76 is an application for transmitting a panel operation instruction to the multi-function device 40. As will be described in detail later, the multi-function device 40 has an operation panel 42 (see FIG. 1). When the user operates the operation panel 42, the multi-function device 40 executes processing (for example, processing for displaying predetermined information and processing for changing setting information (printing resolution, scanning resolution, etc.)) according to the user's instruction. The panel operation instruction is an instruction for remotely operating the operation panel 42. That is, when the multi-function device 40 receives a panel operation instruction, the multi-function device 40 performs the same processing as when the operation panel 42 is operated. Hereinafter, the function executed by the multi-function device 40 in accordance with the panel operation instruction is referred to as a “panel operation function”. That is, the multi-function device 40 executes the panel operation function in accordance with the panel operation instruction.

多機能機管理アプリケーション78は、多機能機40に様々な管理指示を送信するためのアプリケーションである。本実施例の管理指示は、SNMP(Simple Network Management Protocol)を利用して送信される管理指示と、ファームアップデート指示とを含んでいる。SNMPを利用して送信される管理指示は、多機能機40から情報を取得するための指示(GETコマンド)と、多機能機40の設定情報を変更するための指示(SETコマンド)とを含んでいる。多機能機40は、GETコマンドに従って、情報を取得し、取得された情報を送信する機能を実行する。多機能機40は、SETコマンドに従って、自身の設定情報を変更する機能を実行する。以下では、SNMPを利用して送信される管理指示に従って多機能機40が実行する機能のことを「SNMP機能」と呼ぶ。即ち、多機能機40は、SNMPを利用して送信される管理指示に従ってSNMP機能を実行する。また、多機能機40は、ファームアップデート指示に従って、インターネット上の所定のアドレスから自身のプログラムをアップデートするためのプログラムをダウンロードするファームアップデート機能を実行する。   The multi-function device management application 78 is an application for transmitting various management instructions to the multi-function device 40. The management instruction according to the present embodiment includes a management instruction transmitted using SNMP (Simple Network Management Protocol) and a firmware update instruction. The management instruction transmitted using SNMP includes an instruction for acquiring information from the multi-function device 40 (GET command) and an instruction for changing the setting information of the multi-function device 40 (SET command). It is out. The multi-function device 40 acquires information according to the GET command and executes a function of transmitting the acquired information. The multi-function device 40 executes a function of changing its own setting information in accordance with the SET command. Hereinafter, a function executed by the multi-function device 40 in accordance with a management instruction transmitted using SNMP is referred to as an “SNMP function”. That is, the multi-function device 40 executes the SNMP function in accordance with a management instruction transmitted using SNMP. Further, the multi-function device 40 executes a firmware update function for downloading a program for updating its own program from a predetermined address on the Internet in accordance with the firmware update instruction.

本実施例では、各アプリケーション70〜78を利用して送信される指示に従って多機能機40が様々な機能を実行する。以下では、アプリケーションと、そのアプリケーションを利用して送信される指示に従って多機能機40が実行する機能との関係のことを「アプリケーションに対応する機能」と表現する。例えば、PCプリントアプリケーション70はPCプリント機能に対応しており、ステータスチェックアプリケーション74はステータスチェック機能に対応している。また、上述したように、多機能機管理アプリケーション78を利用して送信される管理指示に従って、多機能機40は、複数の機能(SNMP機能とファームアップデート機能)を実行する。従って、多機能機管理アプリケーション78は、SNMP機能に対応しているとともに、ファームアップデート機能に対応している。   In the present embodiment, the multi-function device 40 executes various functions in accordance with instructions transmitted using the applications 70 to 78. Hereinafter, a relationship between an application and a function executed by the multi-function device 40 in accordance with an instruction transmitted using the application is expressed as “function corresponding to the application”. For example, the PC print application 70 corresponds to the PC print function, and the status check application 74 corresponds to the status check function. As described above, the multi-function device 40 executes a plurality of functions (SNMP function and firmware update function) in accordance with the management instruction transmitted using the multi-function device management application 78. Therefore, the multi-function device management application 78 supports the SNMP function and the firmware update function.

詳しくは後述するが、多機能機40は、複数の機能のそれぞれに対してポート番号が設定されている。各アプリケーション70〜78は、そのアプリケーションに対応する機能に対して設定されているポート番号を含む指示を多機能機40に送信する。例えば、多機能機40では、印刷機能に対してポート番号「515」が設定されている。従って、PCプリントアプリケーション70は、ポート番号「515」を含む印刷指示を多機能機40に送信する。また、例えば、スキャン機能に対してポート番号「20XXX」が設定されている。従って、スキャンアプリケーション72は、ポート番号「20XXX」を含むスキャン指示を多機能機40に送信する。多機能機40の他の機能のそれぞれに対してもポート番号が設定されている。例えば、ステータスチェック機能に対してポート番号「161」が設定されており、パネル操作機能に対してポート番号「22XXX」が設定されている。なお、SNMP機能に対しては、ステータスチェック機能と同じポート番号「161」が設定されている。また、ファームアップデート機能に対してポート番号「23XXX」が設定されている。PC10から多機能機40に送信される様々な指示にポート番号が含まれるために、多機能機40は、受信された指示に含まれるポート番号に基づいて、いずれの機能を実行するのかを特定することができる。   As will be described in detail later, the multi-function device 40 has a port number set for each of a plurality of functions. Each application 70 to 78 transmits an instruction including a port number set for a function corresponding to the application to the multi-function device 40. For example, in the multi-function device 40, the port number “515” is set for the print function. Accordingly, the PC print application 70 transmits a print instruction including the port number “515” to the multi-function device 40. For example, the port number “20XXX” is set for the scan function. Accordingly, the scan application 72 transmits a scan instruction including the port number “20XXX” to the multi-function device 40. A port number is set for each of the other functions of the multi-function device 40. For example, the port number “161” is set for the status check function, and the port number “22XXX” is set for the panel operation function. For the SNMP function, the same port number “161” as that for the status check function is set. A port number “23XXX” is set for the firmware update function. Since various instructions transmitted from the PC 10 to the multi-function device 40 include a port number, the multi-function device 40 specifies which function is to be executed based on the port number included in the received instruction. can do.

メディア18は、上記の各アプリケーション70〜78をPC10にインストールするためのプログラム80やその他のプログラム84を記憶している。プログラム80に従ってPC10が実行する処理の内容は、後で詳しく説明する。プログラム80は、ポート番号リスト82を含んでいる。ポート番号リスト82は、複数の組合せ情報90〜98を含んでいる。各組合せ情報90〜98は、アプリケーションを特定するアプリケーション特定情報100と、そのアプリケーションによって送信される指示に含まれるべきポート番号102とが対応づけられた情報である。例えば、組合せ情報90では、PCプリントアプリケーション70を特定するアプリケーション特定情報「PCPrint」と、そのアプリケーション70によって送信される印刷指示に含まれるべきポート番号「515」とが対応づけられている。なお、他の組合せ情報92〜98において、「NetScan」はスキャンアプリケーション72に対応しており、「StatusChecker」は、ステータスチェックアプリケーション74に対応しており、「RemPanel」はパネル操作アプリケーション76に対応しており、「MFPAdm」は多機能機管理アプリケーション78に対応している。上述したように、多機能機管理アプリケーション78は、SNMP機能とファームアップデート機能の2つの機能に対応している。このために、組合せ情報98では、「MFPAdm」に対応づけて2つのポート番号「161」と「23XXX」が記述されている。   The medium 18 stores a program 80 for installing each of the applications 70 to 78 in the PC 10 and other programs 84. Details of processing executed by the PC 10 according to the program 80 will be described in detail later. The program 80 includes a port number list 82. The port number list 82 includes a plurality of combination information 90 to 98. Each combination information 90 to 98 is information in which application specifying information 100 that specifies an application and a port number 102 to be included in an instruction transmitted by the application are associated with each other. For example, in the combination information 90, application specifying information “PCPrint” specifying the PC print application 70 is associated with a port number “515” to be included in the print instruction transmitted by the application 70. In the other combination information 92 to 98, “NetScan” corresponds to the scan application 72, “StatusChecker” corresponds to the status check application 74, and “RemPanel” corresponds to the panel operation application 76. “MFPAdm” corresponds to the multi-function device management application 78. As described above, the multi-function device management application 78 supports two functions, the SNMP function and the firmware update function. Therefore, in the combination information 98, two port numbers “161” and “23XXX” are described in association with “MFPAdm”.

図1に示される記憶部20は、ハードディスク22、ROM24、RAM26等を有する。ハードディスク22は、様々な情報を記憶することができる。ハードディスク22は、例えば、メディア18からインストールされたアプリケーション70〜78を記憶することができる。ROM24は、制御部28によって実行される様々なプログラムを記憶している。ROM24は、例えば、メディア18に記憶されているプログラム80を処理するためのプログラムを記憶している。RAM26は、制御部28が処理を実行する過程で生成されるデータ等を記憶することができる。ネットワークインターフェイス30は、LAN回線66に接続されている。LAN回線66は、多機能機40に接続されている。PC10は、ネットワークインターフェイス30とLAN回線66を介して、多機能機40と通信することができる。   The storage unit 20 illustrated in FIG. 1 includes a hard disk 22, a ROM 24, a RAM 26, and the like. The hard disk 22 can store various information. The hard disk 22 can store, for example, applications 70 to 78 installed from the medium 18. The ROM 24 stores various programs executed by the control unit 28. For example, the ROM 24 stores a program for processing the program 80 stored in the medium 18. The RAM 26 can store data and the like generated in the process in which the control unit 28 executes processing. The network interface 30 is connected to the LAN line 66. The LAN line 66 is connected to the multi-function device 40. The PC 10 can communicate with the multi-function device 40 via the network interface 30 and the LAN line 66.

(多機能機の構成)
多機能機40は、操作パネル42と表示部44と印刷部46とスキャナ部48と記憶部50と制御部62とネットワークインターフェイス64等を有する。操作パネル42は、複数のキーを有する。ユーザは、操作パネル42を操作することによって様々な指示や情報を多機能機40に入力することができる。上述したように、操作パネル42を遠隔操作するためのパネル操作アプリケーション76(図2参照)が存在する。PC10においてパネル操作アプリケーション76を利用すれば、ユーザが操作パネル42を操作しなくても、操作パネル42が操作された場合と同様の処理(パネル操作機能)を多機能機40に実行させることができる。表示部44は、様々な情報を表示することができる。
(Configuration of multi-function device)
The multi-function device 40 includes an operation panel 42, a display unit 44, a printing unit 46, a scanner unit 48, a storage unit 50, a control unit 62, a network interface 64, and the like. The operation panel 42 has a plurality of keys. The user can input various instructions and information to the multi-function device 40 by operating the operation panel 42. As described above, the panel operation application 76 (see FIG. 2) for remotely operating the operation panel 42 exists. If the panel operation application 76 is used in the PC 10, the multi-function device 40 can execute the same processing (panel operation function) as when the operation panel 42 is operated without the user operating the operation panel 42. it can. The display unit 44 can display various information.

印刷部46は、例えば、インクジェットタイプ又はレーザータイプの印刷機構によって構成される。上記のPCプリントアプリケーション70(図2参照)を利用して送信された印刷指示が多機能機40によって受信されると、後述する制御部62は、印刷部46を駆動する。これにより、印刷部46は、印刷指示に基づいて印刷媒体に印刷する。スキャナ部48は、図示省略の原稿載置台に載置された原稿をスキャンして画像データを生成する。上記のスキャンアプリケーション72(図2参照)を利用して送信されたスキャン指示が多機能機40によって受信されると、制御部62は、スキャナ部48を駆動する。これにより、スキャナ部48は、スキャン指示に基づいて原稿をスキャンする。   The printing unit 46 is configured by, for example, an ink jet type or laser type printing mechanism. When a print instruction transmitted using the PC print application 70 (see FIG. 2) is received by the multi-function device 40, the control unit 62 described later drives the printing unit 46. Thereby, the printing unit 46 prints on the print medium based on the print instruction. The scanner unit 48 generates image data by scanning a document placed on a document placing table (not shown). When the multi-function device 40 receives a scan instruction transmitted using the scan application 72 (see FIG. 2), the control unit 62 drives the scanner unit 48. Thereby, the scanner unit 48 scans the document based on the scan instruction.

記憶部50は、プログラム記憶領域52とその他の記憶領域54を有する。プログラム記憶領域52は、制御部62によって実行されるべきプログラムを記憶している。プログラム記憶領域52に記憶されているプログラムの中には、PC10のような外部装置からの指示に応じて処理を実行するための指示対応プログラムが含まれている。上述したように、多機能機40は、印刷機能、スキャン機能、ステータスチェック機能、パネル操作機能、SNMP機能、及び、ファームアップデート機能を実行する。これらの複数の機能のそれぞれに対してポート番号が設定されている。上記の指示対応プログラムは、外部装置からの指示を受信すると、その指示に含まれるポート番号が設定されている機能を制御部62に実行させる。   The storage unit 50 includes a program storage area 52 and other storage areas 54. The program storage area 52 stores a program to be executed by the control unit 62. The programs stored in the program storage area 52 include an instruction corresponding program for executing processing in response to an instruction from an external device such as the PC 10. As described above, the multi-function device 40 executes the print function, scan function, status check function, panel operation function, SNMP function, and firmware update function. Port numbers are set for each of these functions. When receiving the instruction from the external device, the instruction corresponding program causes the control unit 62 to execute the function in which the port number included in the instruction is set.

記憶領域54は、管理者情報56を記憶することができる。管理者情報56がどのような情報であるのかについては、後で説明する。記憶領域54は、他にもインストールフラグ58やポート番号テーブル60等を記憶することができる。インストールフラグ58とポート番号テーブル60は、本実施例で使用される情報ではない。従って、本実施例の記憶領域54は、インストールフラグ58とポート番号テーブル60を記憶することができるように構成されている必要は必ずしもない。   The storage area 54 can store administrator information 56. What information the manager information 56 is will be described later. In addition, the storage area 54 can store an installation flag 58, a port number table 60, and the like. The installation flag 58 and the port number table 60 are not information used in this embodiment. Therefore, the storage area 54 of the present embodiment does not necessarily need to be configured to store the installation flag 58 and the port number table 60.

制御部62は、プログラム記憶領域52に記憶されているプログラムに従って、様々な処理を実行する。制御部62によって実行される処理の内容については、後で詳しく説明する。ネットワークインターフェイス64は、LAN回線66に接続されている。LAN回線66は、PC10に接続されている。多機能機40は、ネットワークインターフェイス64とLAN回線66を介して、PC10と通信することができる。   The control unit 62 executes various processes according to the program stored in the program storage area 52. The contents of the process executed by the control unit 62 will be described in detail later. The network interface 64 is connected to the LAN line 66. The LAN line 66 is connected to the PC 10. The multi-function device 40 can communicate with the PC 10 via the network interface 64 and the LAN line 66.

(メディアのプログラムに従ってPCが実行する処理)
続いて、メディア18のインストール実行プログラム80に従って、PC10の制御部28が実行する処理の内容を説明する。図3及び図4は、この処理のフローチャートを示す。
(Processing executed by the PC according to the media program)
Next, the contents of processing executed by the control unit 28 of the PC 10 according to the installation execution program 80 of the medium 18 will be described. 3 and 4 show a flowchart of this process.

制御部28は、LAN回線66に接続されているデバイス群の中から、アプリケーション70〜78を利用して送信される指示に従って機能を実行するデバイスを検索する(S10)。制御部28は、検索の結果としてデバイスを見つけることができたのか否かを判断する(S12)。具体的に言うと、制御部28は、S10において、所定のコマンドをブロードキャストする。多機能機40は、上記の所定コマンドに対してレスポンスを送信するようにプログラムされている。制御部28は、ブロードキャストに対するレスポンスが受信されると、S12でYESと判断する。複数の多機能機がLAN回線66に接続されている場合、複数のレスポンスが受信される。この場合も、S12でYESと判断される。S12でYESの場合、S14以降の処理を実行する。なお、S14以降の処理は、レスポンスを送信したデバイスの中からユーザが選択した多機能機について実行される。例えば、多機能機40と別の多機能機とがレスポンスを送信した場合、レスポンスを送信した全ての多機能機の機器名を表示し、表示された機器名の中から1台をユーザに選択させる。ユーザが多機能機40に対応する機器名を選択すると、多機能機40についてS14以降の処理が実行される。S12でNOの場合、インストール処理が終了する。   The control unit 28 searches the device group connected to the LAN line 66 for a device that executes the function in accordance with an instruction transmitted using the applications 70 to 78 (S10). The control unit 28 determines whether a device has been found as a result of the search (S12). Specifically, the control unit 28 broadcasts a predetermined command in S10. The multi-function device 40 is programmed to send a response to the predetermined command. When the response to the broadcast is received, the control unit 28 determines YES in S12. When a plurality of multi-function devices are connected to the LAN line 66, a plurality of responses are received. Also in this case, YES is determined in S12. If YES in S12, the processes after S14 are executed. Note that the processing from S14 onward is executed for the multi-function device selected by the user from the devices that sent the response. For example, when the multi-function device 40 and another multi-function device send a response, the device names of all multi-function devices that sent the response are displayed, and one of the displayed device names is selected by the user. Let When the user selects a device name corresponding to the multi-function device 40, the processing after S14 is executed for the multi-function device 40. If NO in S12, the installation process ends.

本実施例では、多機能機40についてS14以降の処理が実行されるものとして、以下の説明を続ける。S14では、制御部28は、多機能機40に通信設定情報が設定されているのか否かを判断する。具体的に言うと、制御部28は、多機能機40にIPアドレスが設定されているのか否かを判断する。ここでNOの場合、制御部28は、多機能機40に設定されるべきIPアドレスを多機能機40に送信する(S16)。例えば、ユーザは、操作部12を操作することによって、多機能機40に設定されるべきIPアドレスをPC10に入力することができる。制御部28は、ユーザによって入力されたIPアドレスを多機能機40に送信する。多機能機40は、PC10から送信されたIPアドレスを受信し、そのIPアドレスを自身のIPアドレスとして設定(記憶)する。S16を終えるとS18に進む。なお、S14でYESの場合、S16をスキップしてS18に進む。   In the present embodiment, the following description will be continued on the assumption that the processing after S14 is executed for the multi-function device 40. In S <b> 14, the control unit 28 determines whether communication setting information is set in the multi-function device 40. Specifically, the control unit 28 determines whether or not an IP address is set for the multi-function device 40. In the case of NO here, the control unit 28 transmits the IP address to be set to the multi-function device 40 to the multi-function device 40 (S16). For example, the user can input an IP address to be set in the multi-function device 40 to the PC 10 by operating the operation unit 12. The control unit 28 transmits the IP address input by the user to the multi-function device 40. The multi-function device 40 receives the IP address transmitted from the PC 10 and sets (stores) the IP address as its own IP address. When S16 ends, the process proceeds to S18. If YES in S14, S16 is skipped and the process proceeds to S18.

S18では、制御部28は、管理者情報リクエストを多機能機40に送信する。多機能機40は、管理者情報リクエストを受信すると、記憶領域54に管理者情報56が記憶されているのか否かを示す所定の情報をPC10に送信するようにプログラムされている。制御部28は、多機能機40からの上記の所定の情報に基づいて、管理者が存在するのか否か(記憶領域54に管理者情報56が記憶されているのか否か)を判断する(S20)。ここでYESの場合、図4のS40に進む。一方において、S20でNOの場合、S22に進む。   In S <b> 18, the control unit 28 transmits an administrator information request to the multi-function device 40. When receiving the administrator information request, the multi-function device 40 is programmed to transmit predetermined information indicating whether or not the administrator information 56 is stored in the storage area 54 to the PC 10. Based on the predetermined information from the multi-function device 40, the control unit 28 determines whether or not an administrator exists (whether or not the administrator information 56 is stored in the storage area 54). S20). In the case of YES here, the process proceeds to S40 in FIG. On the other hand, if NO in S20, the process proceeds to S22.

S22では、制御部28は、選択画面を表示する。この選択画面は、管理者になるのか否かをユーザに問う文字列を含んでいる。ユーザが管理者になることを望む場合、ユーザによって第1の操作が実行される。ユーザが管理者になることを望まない場合、ユーザによって第2の操作が実行される。制御部28は、第1の操作と第2の操作のいずれが実行されたのかを判断する(S24)。ユーザが第1の操作を実行した場合、制御部28は、管理者用インストール処理を実行する(S26)。一方において、ユーザが第2の操作を実行した場合、制御部28は、図4のS50に進み、非管理者用インストール処理を実行する。管理者用インストール処理及び非管理者用インストール処理については、後で詳しく説明する。   In S22, the control unit 28 displays a selection screen. This selection screen includes a character string that asks the user whether or not to become an administrator. If the user wants to become an administrator, the first operation is performed by the user. If the user does not want to become an administrator, a second operation is performed by the user. The control unit 28 determines which of the first operation and the second operation has been executed (S24). When the user performs the first operation, the control unit 28 executes an administrator installation process (S26). On the other hand, when the user performs the second operation, the control unit 28 proceeds to S50 in FIG. 4 and executes non-administrator installation processing. The administrator installation process and the non-administrator installation process will be described in detail later.

図4のS40では、制御部28は、選択画面を表示する。この選択画面は、管理者認証を行なうのか否かをユーザに問う文字列を含んでいる。ユーザが管理者認証を行なうことを望む場合、ユーザによって第3の操作が実行される。ユーザが管理者認証を行なうことを望まない場合、ユーザによって第4の操作が実行される。制御部28は、第3の操作と第4の操作のいずれが実行されたのかを判断する(S42)。ユーザが第3の操作を実行した場合、S44に進む。一方において、ユーザが第4の操作を実行した場合、制御部28は、非管理者用インストール処理を実行する(S50)。   In S40 of FIG. 4, the control unit 28 displays a selection screen. This selection screen includes a character string for asking the user whether or not to perform administrator authentication. If the user desires to perform administrator authentication, a third operation is performed by the user. If the user does not want to perform administrator authentication, a fourth operation is performed by the user. The control unit 28 determines which of the third operation and the fourth operation has been executed (S42). When the user performs the third operation, the process proceeds to S44. On the other hand, when the user performs the fourth operation, the control unit 28 executes non-administrator installation processing (S50).

S44では、制御部28は、管理者認証画面を表示する。この管理者認証画面は、IDを入力するための領域とパスワードを入力するための領域とを含んでいる。ユーザは、ID及びパスワードを入力することができる。制御部28は、ユーザによって入力されたID及びパスワードを多機能機40に送信する(S46)。多機能機40は、S46においてPC10から送信されたID及びパスワードと、自身の記憶領域54に記憶されている管理者情報56のID及びパスワードとを比較し、両者が一致しているのか否かを示す所定の情報をPC10に送信するようにプログラムされている。制御部28は、多機能機40からの上記の所定の情報に基づいて、管理者認証が成功したのか否かを判断する(S48)。ここでYESの場合、図3のS26に進み、制御部28は、管理者用インストール処理を実行する。一方において、S48でNOの場合、S50に進み、制御部28は、非管理者用インストール処理を実行する。   In S44, the control unit 28 displays an administrator authentication screen. This administrator authentication screen includes an area for inputting an ID and an area for inputting a password. The user can input the ID and password. The control unit 28 transmits the ID and password input by the user to the multi-function device 40 (S46). The multi-function device 40 compares the ID and password transmitted from the PC 10 in S46 with the ID and password of the administrator information 56 stored in its own storage area 54, and whether or not they match. Is programmed to transmit predetermined information indicating the above to the PC 10. The control unit 28 determines whether or not the administrator authentication is successful based on the predetermined information from the multi-function device 40 (S48). In the case of YES here, the process proceeds to S26 of FIG. 3, and the control unit 28 executes the manager installation process. On the other hand, if NO in S48, the process proceeds to S50, and the control unit 28 executes non-administrator installation processing.

(管理者用インストール処理)
続いて、図3のS26の管理者用インストール処理の内容について説明する。図5は、管理者用インストール処理のフローチャートを示す。制御部28は、管理者登録画面を表示する(S70)。図6は、管理者登録画面110の一例を示す。管理者登録画面110は、IDを入力するための領域112と、パスワードを入力するための領域114と、連絡先を入力するための領域116とを有する。ユーザは、所望のID及びパスワードを領域112,114に入力することができる。また、ユーザは、自身の連絡先(例えばメールアドレス、電話番号、名前等)を領域116に入力することができる。なお、領域112,114は必須の入力項目であり、領域116は任意の入力項目である。少なくともID及びパスワードがユーザによって入力されると、S72に進む。
(Administrator installation process)
Next, the contents of the manager installation process in S26 of FIG. 3 will be described. FIG. 5 shows a flowchart of the manager installation process. The control unit 28 displays an administrator registration screen (S70). FIG. 6 shows an example of the administrator registration screen 110. The administrator registration screen 110 has an area 112 for inputting an ID, an area 114 for inputting a password, and an area 116 for inputting a contact address. The user can input a desired ID and password in the areas 112 and 114. The user can also input his / her contact information (e.g., email address, telephone number, name, etc.) in area 116. The areas 112 and 114 are indispensable input items, and the area 116 is an arbitrary input item. When at least the ID and password are input by the user, the process proceeds to S72.

S72では、制御部28は、アプリケーション選択画面を表示する。図7は、S72で表示されるアプリケーション選択画面120の一例を示す。アプリケーション選択画面120は、各アプリケーション70〜78の名称を含んでいる。ユーザは、アプリケーション選択画面120に従って、いずれのアプリケーションをPC10にインストールするのかを決定することができる。1つ又は複数のアプリケーションがユーザによって選択されると、S74に進む。   In S72, the control unit 28 displays an application selection screen. FIG. 7 shows an example of the application selection screen 120 displayed in S72. The application selection screen 120 includes the names of the applications 70 to 78. The user can determine which application to install on the PC 10 according to the application selection screen 120. If one or more applications are selected by the user, the process proceeds to S74.

S74では、制御部28は、S72で選択されたアプリケーションをインストールする。具体的に言うと、制御部28は、S72で選択されたアプリケーションをメディア18から読み込み、ハードディスク22に記憶させる。次いで、制御部28は、ポート番号リスト82を読み込む(S76)。制御部28は、ポート番号リスト82に基づいて、必要なポート番号と不要なポート番号を特定する(S78)。具体的に言うと、制御部28は、S72で選択されたアプリケーションに対応するポート番号を必要なポート番号として特定し、S72で選択されたアプリケーションに対応しないポート番号を不要なポート番号として特定する。例えば、PCプリントアプリケーション70と多機能機管理アプリケーション78がS72で選択された場合、制御部28は、ポート番号「515」、「161」、及び「23XXX」を必要なポート番号として特定する(図2の組合せ情報90,98参照)。また、制御部28は、ポート番号「20XXX」及び「22XXX」を不要なポート番号として特定する。   In S74, the control unit 28 installs the application selected in S72. Specifically, the control unit 28 reads the application selected in S 72 from the medium 18 and stores it in the hard disk 22. Next, the control unit 28 reads the port number list 82 (S76). The control unit 28 specifies a necessary port number and an unnecessary port number based on the port number list 82 (S78). Specifically, the control unit 28 specifies a port number corresponding to the application selected in S72 as a necessary port number, and specifies a port number not corresponding to the application selected in S72 as an unnecessary port number. . For example, when the PC print application 70 and the multi-function peripheral management application 78 are selected in S72, the control unit 28 specifies the port numbers “515”, “161”, and “23XXX” as necessary port numbers (FIG. 2 combination information 90, 98). In addition, the control unit 28 identifies the port numbers “20XXX” and “22XXX” as unnecessary port numbers.

次いで、制御部28は、必要なポート番号をオープンするとともに不要なポート番号をクローズすることを指示するリクエストを多機能機40に送信する(S80)。上記の例の場合、ポート番号「515」、「161」、及び「23XXX」をオープンし、ポート番号「20XXX」及び「22XXX」をクローズすることを指示するリクエストを多機能機40に送信する。この結果、多機能機40は、ポート番号「515」、「161」、及び「23XXX」をオープン状態(ON状態と言い換えることができる)にするとともに、ポート番号「20XXX」及び「22XXX」をクローズ状態(OFF状態と言い換えることができる)にする。   Next, the control unit 28 sends a request to the multi-function device 40 to open the necessary port number and instruct to close the unnecessary port number (S80). In the case of the above example, the port numbers “515”, “161”, and “23XXX” are opened, and a request instructing to close the port numbers “20XXX” and “22XXX” is transmitted to the multi-function device 40. As a result, the multi-function device 40 sets the port numbers “515”, “161”, and “23XXX” to an open state (in other words, can be referred to as an ON state), and closes the port numbers “20XXX” and “22XXX”. To a state (which can be called an OFF state).

なお、本実施例では、多機能機40は、初期状態において全てのポート番号がオープンされている。多機能機40は、S80でPC10から送信されたリクエストを受信すると、クローズすることが指示されたポート番号(上記の例では「20XXX」及び「22XXX」)をクローズし、オープンすることが指示されたポート番号(上記の例では「515」、「161」、及び「23XXX」)についてはオープン状態を維持する。なお、多機能機40は、S80でPC10から送信されたリクエストで指示されていない他のポート番号(例えば「24XXXX」等)については、オープン状態を維持してもよいが、セキュリティを向上させるためにはクローズすることが好ましい。この場合、多機能機40は、アプリケーション70〜78とは無関係に使用することが決まっているポート番号については、オープン状態を維持することが好ましい。   In the present embodiment, in the multi-function device 40, all port numbers are open in the initial state. When the multi-function device 40 receives the request transmitted from the PC 10 in S80, the multi-function device 40 is instructed to close and open the port numbers instructed to be closed (in the above example, “20XXX” and “22XXX”). The port numbers (“515”, “161”, and “23XXX” in the above example) remain open. The multi-function device 40 may maintain an open state for other port numbers (for example, “24XXXX”, etc.) not designated by the request transmitted from the PC 10 in S80, but in order to improve security. It is preferable to close. In this case, the multi-function device 40 preferably maintains the open state for the port numbers that are determined to be used regardless of the applications 70 to 78.

続いて、制御部28は、S70で入力された管理者情報を多機能機40に送信する(S82)。S70では、IDとパスワードが必ず入力され、連絡先が任意で入力される。S70でIDとパスワードのみが入力された場合、制御部28は、IDとパスワードのみを多機能機40に送信する。S70でIDとパスワードと連絡先が入力された場合、制御部28は、IDとパスワードと連絡先を多機能機40に送信する。多機能機40は、S82でPC10から送信された管理者情報を受信すると、その管理者情報を記憶領域54に記憶させる(図1の符号56参照)。これにより、多機能機40に管理者情報が設定されることになる。S82を終えると、管理者用インストール処理が終了する。   Subsequently, the control unit 28 transmits the administrator information input in S70 to the multi-function device 40 (S82). In S70, the ID and password are always input, and the contact information is arbitrarily input. When only the ID and password are input in S <b> 70, the control unit 28 transmits only the ID and password to the multi-function device 40. When the ID, password, and contact information are input in S <b> 70, the control unit 28 transmits the ID, password, and contact information to the multi-function device 40. Upon receiving the administrator information transmitted from the PC 10 in S82, the multi-function device 40 stores the administrator information in the storage area 54 (see reference numeral 56 in FIG. 1). As a result, the administrator information is set in the multi-function device 40. When S82 ends, the manager installation process ends.

(非管理者用インストール処理)
続いて、図4のS50の非管理者用インストール処理の内容について説明する。図8は、非管理者用インストール処理のフローチャートを示す。制御部28は、多機能機40の各ポート番号のステータス(オープン状態又はクローズ状態)をチェックする(S100)。具体的に言うと、制御部28は、各ポート番号のステータスを返信するように多機能機40にリクエストを送信する。この結果、多機能機40は、各ポート番号のステータスをPC10に返信する。
(Non-administrator installation process)
Next, the contents of the non-administrator installation process in S50 of FIG. 4 will be described. FIG. 8 shows a flowchart of the non-administrator installation process. The control unit 28 checks the status (open state or closed state) of each port number of the multi-function device 40 (S100). Specifically, the control unit 28 transmits a request to the multi-function device 40 so as to return the status of each port number. As a result, the multi-function device 40 returns the status of each port number to the PC 10.

S100を終えると、制御部28は、ポート番号リスト82を読み込む(S102)。次いで、制御部28は、S100で得られた各ポート番号のステータスと、S102で読み込まれたポート番号リスト82とに基づいて、オープン状態のポート番号に対応するアプリケーション特定情報を特定するとともに、クローズ状態のポート番号に対応するアプリケーション特定情報を特定する(S104)。例えば、上記の図5のS80の処理において、ポート番号「20XXX」及び「22XXX」が多機能機40でクローズされたものとする。この場合、オープン状態のポート番号に対応するアプリケーション特定情報として、ポート番号「515」、「161」、及び「23XXX」に対応する「PCPrint」、「StatusChecker」、及び「MFPAdm」が特定される。また、クローズ状態のポート番号に対応するアプリケーション特定情報として、ポート番号「20XXX」及び「22XXX」に対応する「NetScan」及び「RemPanel」が特定される。   When S100 ends, the control unit 28 reads the port number list 82 (S102). Next, the control unit 28 specifies the application specifying information corresponding to the open port number based on the status of each port number obtained in S100 and the port number list 82 read in S102, and closes it. The application specifying information corresponding to the state port number is specified (S104). For example, it is assumed that the port numbers “20XXX” and “22XXX” are closed by the multi-function device 40 in the processing of S80 of FIG. In this case, “PCPrint”, “StatusChecker”, and “MFPAdm” corresponding to the port numbers “515”, “161”, and “23XXX” are specified as the application specifying information corresponding to the open port number. Further, “NetScan” and “RemPanel” corresponding to the port numbers “20XXX” and “22XXX” are specified as the application specifying information corresponding to the closed port number.

続いて、制御部28は、管理者情報連絡先リクエストを多機能機40に送信する(S106)。多機能機40は、管理者情報連絡先リクエストを受信すると、連絡先が設定されているのか否かを判断する。具体的に言うと、多機能機40は、記憶領域54に記憶されている管理者情報56に連絡先が含まれているのか否かを判断する。多機能機40は、連絡先が設定されている場合、その連絡先をPC10に返信する。一方において、連絡先が設定されていない場合、多機能機40は、連絡先が設定されていないことを示す情報をPC10に返信する。   Subsequently, the control unit 28 transmits an administrator information contact address request to the multi-function device 40 (S106). When receiving the administrator information contact request, the multi-function device 40 determines whether a contact is set. Specifically, the multi-function device 40 determines whether or not the contact information is included in the administrator information 56 stored in the storage area 54. When the contact information is set, the multi-function device 40 returns the contact information to the PC 10. On the other hand, when the contact information is not set, the multi-function device 40 returns information indicating that the contact information is not set to the PC 10.

制御部28は、多機能機40からの返信に基づいて、多機能機40に連絡先が設定されているのか否かを判断する(S108)。ここでYESの場合、制御部28は、所定の画面を表示する(S110)。図9は、S110で表示される画面130の一例を示す。画面130は、利用不可能なアプリケーションの名称と、管理者の連絡先を示す情報とを含んでいる。利用不可能なアプリケーションの名称は、S104においてクローズ状態のポート番号に対応するアプリケーション特定情報として特定された情報である。管理者の連絡先を示す情報は、S106で送信された管理者情報連絡先リクエストに応じて返信された連絡先の情報である。一方において、S108でNOの場合、S110をスキップしてS112に進む。   Based on the reply from the multi-function device 40, the control unit 28 determines whether or not a contact is set in the multi-function device 40 (S108). In the case of YES here, the control unit 28 displays a predetermined screen (S110). FIG. 9 shows an example of the screen 130 displayed in S110. The screen 130 includes the name of the application that cannot be used and information indicating the contact information of the administrator. The name of the application that cannot be used is information specified as application specifying information corresponding to the closed port number in S104. The information indicating the contact information of the administrator is contact information returned in response to the administrator information contact request transmitted in S106. On the other hand, if NO in S108, S110 is skipped and the process proceeds to S112.

S112では、制御部28は、アプリケーション選択画面を表示する(S112)。図10は、S112で表示されるアプリケーション選択画面140の一例を示す。アプリケーション選択画面140は、利用可能なアプリケーションの名称を含んでおり、利用不可能なアプリケーションの名称を含んでいない。利用可能なアプリケーションの名称は、S104においてオープン状態のポート番号に対応するアプリケーション特定情報として特定された情報である。ユーザは、アプリケーション選択画面140に従って、いずれのアプリケーションをPC10にインストールするのかを決定することができる。1つ又は複数のアプリケーションがユーザによって選択されると、制御部28は、S112で選択されたアプリケーションをインストールする(S114)。これにより、非管理者用インストール処理が終了する。なお、非管理者用インストール処理では、S112で選択したアプリケーションに不要なポート番号であっても、管理者用インストール処理によりインストールしたアプリケーションに対応するポート番号のため、そのポート番号をクローズする指示は行わない。   In S112, the control unit 28 displays an application selection screen (S112). FIG. 10 shows an example of the application selection screen 140 displayed in S112. The application selection screen 140 includes names of applications that can be used, and does not include names of applications that cannot be used. The name of the application that can be used is information specified as application specifying information corresponding to the open port number in S104. The user can determine which application to install on the PC 10 according to the application selection screen 140. When one or more applications are selected by the user, the control unit 28 installs the applications selected in S112 (S114). As a result, the non-administrator installation process ends. In the non-administrator installation process, even if the port number is unnecessary for the application selected in S112, the port number corresponding to the application installed by the administrator installation process is an instruction to close the port number. Not performed.

(アプリケーションに従ってPCが実行する処理)
ユーザは、PC10にインストールされたアプリケーション(例えばPCプリントアプリケーション70)を起動させるための操作を実行することができる。アプリケーションが起動された状態において、ユーザは、所定の操作を実行することによって、そのアプリケーションに対応する機能を多機能機40に実行させることができる。具体的に言うと、制御部28は、上記の所定の操作が実行されると、アプリケーションに対応するポート番号を含む指示を多機能機40に送信する。例えば、PCプリントアプリケーション70の場合、ポート番号「515」を含む印刷指示を多機能機40に送信する。多機能機40は、印刷指示に含まれるポート番号「515」に基づいて、印刷機能の実行指示であることを特定することができる。多機能機40は、印刷機能を実行する。
(Processes executed by the PC according to the application)
The user can execute an operation for starting an application (for example, the PC print application 70) installed in the PC 10. In a state where the application is activated, the user can cause the multi-function device 40 to execute a function corresponding to the application by executing a predetermined operation. Specifically, when the predetermined operation is executed, the control unit 28 transmits an instruction including a port number corresponding to the application to the multi-function device 40. For example, in the case of the PC print application 70, a print instruction including the port number “515” is transmitted to the multi-function device 40. The multi-function device 40 can identify the print function execution instruction based on the port number “515” included in the print instruction. The multi-function device 40 executes a printing function.

本実施例の多機能機システム2によると、ユーザによって選択されたアプリケーションのみがPC10にインストールされる。多機能機40では、ユーザによって選択されたアプリケーションに対応するポート番号がオープンされ、ユーザによって選択されたアプリケーションに対応しないポート番号がクローズされる。多機能機40で実行されないポート番号がクローズされるために、多機能機40のセキュリティを高めることができる。   According to the multi-function device system 2 of the present embodiment, only the application selected by the user is installed in the PC 10. In the multi-function device 40, the port number corresponding to the application selected by the user is opened, and the port number not corresponding to the application selected by the user is closed. Since port numbers that are not executed by the multi-function device 40 are closed, the security of the multi-function device 40 can be enhanced.

また、本実施例の多機能機システム2によると、管理者のユーザは、全てのアプリケーションの中から所望のアプリケーションを選択することができる。これに対し、管理者以外のユーザは、オープンされているポート番号に対応するアプリケーションの中からしか選択することができない。管理者の選択に従って多機能機40でクローズされたポート番号が、管理者以外のユーザによってオープンされることが禁止される。   Further, according to the multi-function device system 2 of the present embodiment, the administrator user can select a desired application from all the applications. On the other hand, users other than the administrator can select only from applications corresponding to the opened port numbers. The port number closed by the multi-function device 40 according to the administrator's selection is prohibited from being opened by a user other than the administrator.

(第1実施例の変形例1)
上記の第1実施例では、PC10のユーザ(管理者)は、インストールされるべきアプリケーションを選択する。多機能機40では、ユーザによって選択されたアプリケーションに対応するポート番号がオープンされるとともに、ユーザによって選択されたアプリケーションに対応しないポート番号がクローズされる。これは、次のように換言することができる。即ち、PC10のユーザ(管理者)は、多機能機40に実行させる機能を選択する。多機能機40では、ユーザによって選択された機能に対応するポート番号がオープンされるとともに、ユーザによって選択された機能に対応しないポート番号がクローズされる。このときは、ポート番号リスト82には、機能(例えば、PCプリント機能、スキャン機能、ステータスチェック機能、パネル操作機能、SNMP機能、ファームアップデート機能)とポート番号とがそれぞれ対応づけられている。ユーザによって選択された機能に対応するポート番号をポート番号リスト82から読出し、その機能に必要なポート番号以外のポート番号のクローズ指示を送信する。なお、ユーザはアプリケーションを選択し、そのアプリケーションにより実行される機能を特定し、その機能に対応するポート番号を特定するようにしてもよい。
(Modification 1 of the first embodiment)
In the first embodiment, the user (administrator) of the PC 10 selects an application to be installed. In the multi-function device 40, the port number corresponding to the application selected by the user is opened, and the port number not corresponding to the application selected by the user is closed. This can be paraphrased as follows. That is, the user (administrator) of the PC 10 selects a function to be executed by the multi-function device 40. In the multi-function device 40, the port number corresponding to the function selected by the user is opened, and the port number not corresponding to the function selected by the user is closed. At this time, the port number list 82 is associated with functions (for example, PC print function, scan function, status check function, panel operation function, SNMP function, firmware update function) and port numbers. The port number corresponding to the function selected by the user is read from the port number list 82, and a close instruction for port numbers other than the port numbers necessary for the function is transmitted. The user may select an application, specify a function executed by the application, and specify a port number corresponding to the function.

なお、多機能機管理アプリケーション78は、SNMP機能とファームアップデート機能の両方に対応している。第1実施例において、PC10のユーザ(管理者)がSNMP機能とファームアップデート機能のそれぞれを個別に選択することができるように構成されていてもよい。この場合、図7のアプリケーション選択画面120では、SNMP機能とファームアップデート機能のそれぞれが表示される。即ち、ユーザは、6つの機能の中から任意の機能を選択することができる。例えば、ポート番号「161」に対応するSNMP機能のみが選択された場合、制御部28は、ポート番号「161」をオープンすることを指示するとともに、他のポート番号(「515」、「23XXX」等)をクローズすることを指示するリクエストを多機能機40に送信してもよい。この場合、多機能機管理アプリケーション78を利用してSNMP機能のみを多機能機40に実行させることができる。ただし、ファームアップデート機能に対応する「23XXX」がクローズされるために、ファームアップデート機能を多機能機40に実行させることができない。   The multi-function device management application 78 is compatible with both the SNMP function and the firmware update function. In the first embodiment, the user (administrator) of the PC 10 may be configured to individually select the SNMP function and the firmware update function. In this case, each of the SNMP function and the firmware update function is displayed on the application selection screen 120 in FIG. That is, the user can select an arbitrary function from the six functions. For example, when only the SNMP function corresponding to the port number “161” is selected, the control unit 28 instructs to open the port number “161” and other port numbers (“515”, “23XXX”). Etc.) may be transmitted to the multi-function device 40. In this case, only the SNMP function can be executed by the multi-function device 40 using the multi-function device management application 78. However, since “23XXX” corresponding to the firmware update function is closed, the multi-function device 40 cannot execute the firmware update function.

(第1実施例の変形例2)
図5のS80において、PC10は、不要なポート番号をクローズすることを指示するリクエストを送信しなくてもよい(このような処理を実行するようにインストール実行プログラム80が構成されてもよい)。即ち、図5のS80において、PC10は、必要なポート番号をオープンすることのみを指示するリクエストを送信してもよい。この場合、多機能機40は、必要なポート番号をオープン(即ちオープン状態を維持)し、他の全てのポート番号をクローズしてもよい。
(Modification 2 of the first embodiment)
In S80 of FIG. 5, the PC 10 may not transmit a request for instructing to close unnecessary port numbers (the installation execution program 80 may be configured to execute such processing). That is, in S80 of FIG. 5, the PC 10 may transmit a request instructing only to open a necessary port number. In this case, the multi-function device 40 may open a necessary port number (that is, keep the open state) and close all other port numbers.

(第1実施例の変形例3)
図5のS80において、PC10は、必要なポート番号をクローズすることを指示するリクエストを送信しなくてもよい(このような処理を実行するようにインストール実行プログラム80が構成されてもよい)。即ち、図5のS80において、PC10は、不要なポート番号をクローズすることのみを指示するリクエストを送信してもよい。この場合、多機能機40は、不要なポート番号をクローズし、他の全てのポート番号をオープン(即ちオープン状態を維持)してもよい。
(Modification 3 of the first embodiment)
In S80 of FIG. 5, the PC 10 may not transmit a request for instructing to close a necessary port number (the installation execution program 80 may be configured to execute such processing). That is, in S80 of FIG. 5, the PC 10 may transmit a request instructing only to close unnecessary port numbers. In this case, the multi-function device 40 may close unnecessary port numbers and open all other port numbers (that is, keep the open state).

(第1実施例の変形例4)
多機能機40は、初期状態において全てのポート番号がクローズされていてもよい。この場合、多機能機40は、図5のS80でPC10から送信されたリクエストを受信すると、オープンすることが指示されたポート番号をオープンし、それ以外のポート番号についてはクローズ状態を維持してもよい。
(Modification 4 of the first embodiment)
In the multi-function device 40, all port numbers may be closed in the initial state. In this case, when the multi-function device 40 receives the request transmitted from the PC 10 in S80 of FIG. 5, the multi-function device 40 opens the port number instructed to be opened, and maintains the closed state for other port numbers. Also good.

上記の第1実施例、変形例2、変形例3、及び、変形例4のいずれの手法も、「ユーザによって選択されたアプリケーション(もしくは機能)に対応しないポート番号をクローズすることを指示するリクエストを多機能機40に送信すること」に等しい。   Any of the methods of the first embodiment, the modified example 2, the modified example 3 and the modified example 4 described above is “a request for instructing to close a port number not corresponding to the application (or function) selected by the user”. Is transmitted to the multi-function device 40.

(第1実施例の変形例5)
図8のS100では、PC10は、多機能機40の全てのポート番号のステータスを取得している。これに代えて、図8のS100において、多機能機40においてオープンされているポート番号のみがPC10によって取得されるようにしてもよい。例えば、PC10は、オープンされているポート番号を返信することを指示するリクエストを多機能機40に送信してもよい(このような処理を実行するようにインストール実行プログラム80が構成されてもよい)。また、図8のS100において、多機能機40においてクローズされているポート番号のみがPC10によって取得されるようにしてもよい。例えば、PC10は、クローズされているポート番号を返信することを指示するリクエストを多機能機40に送信してもよい(このような処理を実行するようにインストール実行プログラム80が構成されてもよい)。多機能機40においてオープンされているポート番号とクローズされているポート番号のどちらかがわかれば、PC10は、S104の処理を実行することができる。
(Modification 5 of the first embodiment)
In S100 of FIG. 8, the PC 10 acquires the statuses of all the port numbers of the multi-function device 40. Alternatively, only the port number opened in the multi-function device 40 may be acquired by the PC 10 in S100 of FIG. For example, the PC 10 may send a request to send back the opened port number to the multi-function device 40 (the installation execution program 80 may be configured to execute such processing). ). In S100 of FIG. 8, only the port number closed in the multi-function device 40 may be acquired by the PC 10. For example, the PC 10 may send a request for returning a closed port number to the multi-function device 40 (the installation execution program 80 may be configured to execute such processing). ). If either the opened port number or the closed port number is known in the multi-function device 40, the PC 10 can execute the process of S104.

(第2実施例)
続いて、第2実施例について説明する。本実施例の多機能機40は、インストールフラグ58(図1参照)を記憶することができる。インストールフラグ58は、「0」と「1」のどちらかの値を示すフラグである。初期状態では、インストールフラグ58は「0」に設定されている。なお、本実施例の多機能機40は、管理者情報56やポート番号テーブル60を記憶する必要は必ずしもない。また、本実施例では、メディア18のインストール実行プログラム80が第1実施例と異なる。
(Second embodiment)
Subsequently, a second embodiment will be described. The multi-function device 40 of this embodiment can store an installation flag 58 (see FIG. 1). The installation flag 58 is a flag indicating a value of “0” or “1”. In the initial state, the installation flag 58 is set to “0”. Note that the multi-function device 40 of this embodiment does not necessarily need to store the administrator information 56 and the port number table 60. In this embodiment, the installation execution program 80 for the medium 18 is different from that of the first embodiment.

(メディアのプログラムに従ってPCが実行する処理)
本実施例のインストール実行プログラム80に従って、PC10の制御部28が実行する処理の内容を説明する。図11は、この処理のフローチャートを示す。
(Processing executed by the PC according to the media program)
The contents of processing executed by the control unit 28 of the PC 10 according to the installation execution program 80 of this embodiment will be described. FIG. 11 shows a flowchart of this process.

S210〜S216は、図3のS10〜S16と同様である。S218では、制御部28は、インストールフラグリクエストを多機能機40に送信する。多機能機40は、インストールフラグリクエストを受信すると、記憶領域54のインストールフラグ58の値(「0」又は「1」)をPC10に返信する。制御部28は、多機能機40から返信されたインストールフラグ58の値が「1」であるのか否かを判断する(S220)。ここでNOの場合(即ちインストールフラグ58の値が「0」である場合)、制御部28は、初回インストール処理を実行する(S222)。一方において、S220でYESの場合、制御部28は、2回目以降インストール処理を実行する(S224)。   S210 to S216 are the same as S10 to S16 in FIG. In S <b> 218, the control unit 28 transmits an installation flag request to the multi-function device 40. When receiving the install flag request, the multi-function device 40 returns the value (“0” or “1”) of the install flag 58 in the storage area 54 to the PC 10. The control unit 28 determines whether or not the value of the installation flag 58 returned from the multi-function device 40 is “1” (S220). In the case of NO (that is, when the value of the installation flag 58 is “0”), the control unit 28 executes the initial installation process (S222). On the other hand, in the case of YES in S220, the control unit 28 executes the installation process for the second and subsequent times (S224).

(初回インストール処理)
図12は、初回インストール処理のフローチャートを示す。S240〜S248は、図5のS72〜S80と同様である。S248を行なうことによって、多機能機40では、ユーザによって選択されたアプリケーションに対応しないポート番号をクローズする。これにより、多機能機40のセキュリティが向上する。S248を終えると、制御部28は、インストール済情報を多機能機40に送信する(S250)。多機能機40は、インストール済情報を受信すると、インストールフラグ58を「0」から「1」に変更する。
(Initial installation process)
FIG. 12 shows a flowchart of the initial installation process. S240 to S248 are the same as S72 to S80 in FIG. By performing S248, the multi-function device 40 closes the port number not corresponding to the application selected by the user. Thereby, the security of the multi-function device 40 is improved. When S248 is completed, the control unit 28 transmits the installed information to the multi-function device 40 (S250). Upon receiving the installed information, the multi-function device 40 changes the installation flag 58 from “0” to “1”.

(二回目以降インストール処理)
図13は、二回目以降インストール処理のフローチャートを示す。S270〜S276は、図5のS72〜S78(図12のS240〜S246)と同様である。S270では、ユーザは、全てのアプリケーション70〜78から所望のアプリケーションを選択することができる。なお、S276では、制御部28は、S270でユーザによって選択されたアプリケーションに対応しないポート番号を特定してもよいが、特定しなくてもよい。S276を終えると、制御部28は、多機能機40の各ポート番号のステータス(オープン状態又はクローズ状態)をチェックする(S278)。この処理は、図8のS100と同様である。
(Installation process for the second and subsequent times)
FIG. 13 shows a flowchart of the installation process for the second and subsequent times. S270 to S276 are the same as S72 to S78 in FIG. 5 (S240 to S246 in FIG. 12). In S270, the user can select a desired application from all the applications 70 to 78. In S276, the control unit 28 may specify a port number that does not correspond to the application selected by the user in S270, but may not specify it. When S276 is completed, the control unit 28 checks the status (open state or closed state) of each port number of the multi-function device 40 (S278). This process is the same as S100 of FIG.

続いて、制御部28は、S270でユーザによって選択されたアプリケーションに対応する全てのポート番号がオープン状態であるのか否かを判断する(S280)。S270でユーザによって選択されたアプリケーションに対応するポート番号は、S276で特定されている。そのポート番号がオープン状態であるのか否かについては、S278で得られた情報に基づいて判断される。例えば、S270でユーザによって選択されたアプリケーションがPCプリントアプリケーション70(ポート番号「515」)とスキャンアプリケーション72(ポート番号「20XXX」)であり、S278で得られた情報ではポート番号「515」がオープン状態であるとともにポート番号「20XXX」がクローズ状態である場合、制御部28は、S282でNOと判断する。この場合、制御部28は、S270でユーザによって選択されたアプリケーションに対応するポート番号の中でクローズされているポート番号をオープンすることを指示するリクエストを多機能機40に送信する(S282)。上記の例の場合、制御部28は、ポート番号「20XXX」をオープンすることを指示するリクエストを多機能機40に送信する。多機能機40は、S282でPC10から送信されたリクエストを受信すると、そのリクエストに従ってポート番号をオープンさせる。これにより、2回目以降インストール処理が終了する。なお、S280でYESの場合、制御部28は、S282をスキップして2回目以降インストール処理を終了する。   Subsequently, the control unit 28 determines whether or not all port numbers corresponding to the application selected by the user in S270 are open (S280). The port number corresponding to the application selected by the user in S270 is specified in S276. Whether or not the port number is open is determined based on the information obtained in S278. For example, the applications selected by the user in S270 are the PC print application 70 (port number “515”) and the scan application 72 (port number “20XXX”), and the port number “515” is opened in the information obtained in S278. If the port number “20XXX” is in the closed state, the control unit 28 determines NO in S282. In this case, the control unit 28 transmits to the multi-function device 40 a request for opening a closed port number among the port numbers corresponding to the application selected by the user in S270 (S282). In the case of the above example, the control unit 28 transmits a request instructing to open the port number “20XXX” to the multi-function device 40. When receiving the request transmitted from the PC 10 in S282, the multi-function device 40 opens the port number according to the request. As a result, the second and subsequent installation processes are completed. If YES in S280, the control unit 28 skips S282 and ends the installation process for the second and subsequent times.

本実施例によっても、多機能機40では、ユーザによって選択されたアプリケーションに対応するポート番号がオープンされ、ユーザによって選択されたアプリケーションに対応しないポート番号がクローズされる。多機能機40のセキュリティを高めることができる。また、本実施例によると、ユーザは、別のユーザの選択によってクローズされたポート番号が存在しても、全てのアプリケーション70〜78から所望のアプリケーションを選択することができる。   Also in this embodiment, in the multi-function device 40, the port number corresponding to the application selected by the user is opened, and the port number not corresponding to the application selected by the user is closed. The security of the multi-function device 40 can be increased. Further, according to the present embodiment, the user can select a desired application from all the applications 70 to 78 even if there is a port number closed by another user's selection.

(第2実施例の変形例1)
第2実施例においても、上記の第1実施例の変形例1〜変形例5のいずれの技術も適用することができる。
(Modification 1 of the second embodiment)
Also in the second embodiment, any one of the first to fifth modifications of the first embodiment can be applied.

(第2実施例の変形例2)
図13のS278及びS280を省略してもよい。この場合、制御部28は、S282において、必要なポート番号をオープンすることを指示するリクエストを送信してもよい。多機能機40は、S282でPC10から送信されたリクエストに含まれる必要なポート番号の中でクローズされているポート番号を特定し、特定されたポート番号をオープンしてもよい。
(Modification 2 of the second embodiment)
S278 and S280 in FIG. 13 may be omitted. In this case, the control unit 28 may transmit a request instructing to open a necessary port number in S282. The multi-function device 40 may specify a closed port number among necessary port numbers included in the request transmitted from the PC 10 in S282 and open the specified port number.

(第3実施例)
続いて、第3実施例について説明する。本実施例の多機能機40は、ポート番号テーブル60(図1参照)を記憶することができる。ポート番号テーブル60は、図2のポート番号リスト82と同様の内容である。つまり、アプリケーションとポート番号とがそれぞれ対応づけられている。なお、本実施例の多機能機40は、インストールフラグ58を記憶する必要は必ずしもない。また、本実施例では、メディア18のインストール実行プログラム80が第1実施例と異なる。
(Third embodiment)
Subsequently, a third embodiment will be described. The multi-function device 40 of this embodiment can store a port number table 60 (see FIG. 1). The port number table 60 has the same contents as the port number list 82 in FIG. That is, the application and the port number are associated with each other. Note that the multi-function device 40 of this embodiment does not necessarily need to store the installation flag 58. In this embodiment, the installation execution program 80 for the medium 18 is different from that of the first embodiment.

(メディアのプログラムに従ってPCが実行する処理)
本実施例のインストール実行プログラム80に従って、PC10の制御部28が実行する処理の内容を説明する。図3及び図4の処理は、第1実施例と同様である。ただし、本実施例では、図3のS26で実行される管理者用インストール処理の内容が第1実施例と異なる。
(Processing executed by the PC according to the media program)
The contents of processing executed by the control unit 28 of the PC 10 according to the installation execution program 80 of this embodiment will be described. 3 and 4 are the same as those in the first embodiment. However, in this embodiment, the contents of the administrator installation process executed in S26 of FIG. 3 are different from those in the first embodiment.

(管理者用インストール処理)
図14は、本実施例の管理者用インストール処理のフローチャートを示す。S300〜S304は、図5のS70〜S74と同様である。また、S306は、図5のS82と同様である。S306を終えると、制御部28は、S300でユーザによって選択されたアプリケーションを特定するアプリケーション特定情報を多機能機40に送信する(S308)。例えば、S300においてPCプリントアプリケーション70とスキャンアプリケーション72とがユーザによって選択された場合、制御部28は、「PCPrint」という文字列と「NetScan」という文字列を多機能機40に送信する。
(Administrator installation process)
FIG. 14 shows a flowchart of the administrator installation process of this embodiment. S300 to S304 are the same as S70 to S74 in FIG. Moreover, S306 is the same as S82 of FIG. When S306 ends, the control unit 28 transmits application specifying information for specifying the application selected by the user in S300 to the multi-function device 40 (S308). For example, when the PC print application 70 and the scan application 72 are selected by the user in S300, the control unit 28 transmits a character string “PCPrint” and a character string “NetScan” to the multi-function device 40.

(多機能機が実行する処理)
続いて、多機能機40の制御部62が実行する処理について説明する。図15は、制御部62が実行する処理のフローチャートを示す。なお、図15は、多機能機40が実行する全ての処理を示しているのではなく、多機能機40が実行する一部の処理のみを示している。
(Processes executed by multi-function devices)
Next, processing executed by the control unit 62 of the multi-function device 40 will be described. FIG. 15 shows a flowchart of processing executed by the control unit 62. Note that FIG. 15 does not show all the processes executed by the multi-function device 40, but shows only a part of the processes executed by the multi-function device 40.

制御部62は、図14のS306でPC10から送信される管理者情報を受信することを監視している(S320)。ここでYESの場合、制御部62は、S320で受信された管理者情報(ID及びパスワード(連絡先が含まれることもある))を記憶領域54(図1参照)に記憶する(S322)。一方において、S320でNOの場合、S322をスキップする。   The control unit 62 monitors reception of the administrator information transmitted from the PC 10 in S306 of FIG. 14 (S320). In the case of YES here, the control unit 62 stores the administrator information (ID and password (may include contact information)) received in S320 in the storage area 54 (see FIG. 1) (S322). On the other hand, if NO in S320, S322 is skipped.

制御部62は、図14のS308でPC10から送信されるアプリケーション特定情報を受信することを監視している(S324)。ここでYESの場合、制御部62は、ポート番号テーブル60を読み込む(S326)。次いで、制御部62は、必要なポート番号を特定するとともに不要なポート番号を特定する(S328)。例えば、S324で受信されたアプリケーション特定情報が「PCPrint」という文字列を含んでいる場合、制御部62は、S326で読み込まれたポート番号テーブル60において「PCPrint」に対応づけられているポート番号「515」を必要なポート番号として特定する。さらに、制御部62は、上記のポート番号「515」以外のポート番号(「20XXX」等)を不要なポート番号として特定する。   The control unit 62 monitors reception of the application specifying information transmitted from the PC 10 in S308 of FIG. 14 (S324). In the case of YES here, the control unit 62 reads the port number table 60 (S326). Next, the control unit 62 specifies a necessary port number and an unnecessary port number (S328). For example, when the application specifying information received in S324 includes the character string “PCPrint”, the control unit 62 sets the port number “corresponding to“ PCPrint ”in the port number table 60 read in S326. "515" is identified as the required port number. Further, the control unit 62 specifies a port number (such as “20XXX”) other than the port number “515” as an unnecessary port number.

本実施例の多機能機40は、初期状態において全てのポート番号がオープンされている(ただし全てのポート番号がクローズされていてもよい)。制御部62は、S328で特定された必要なポート番号をオープン状態に維持するとともに、S328で特定された不要なポート番号をクローズする(S330)。これにより、多機能機40の処理が終了する。   In the multi-function device 40 of this embodiment, all port numbers are open in the initial state (however, all port numbers may be closed). The control unit 62 maintains the necessary port number specified in S328 in an open state, and closes the unnecessary port number specified in S328 (S330). Thereby, the process of the multi-function device 40 ends.

本実施例では、不要なポート番号をクローズすることを指示するリクエストがPC10から多機能機40に送信されない。代わりに、アプリケーション特定情報のみがPC10から多機能機40に送信される。多機能機40は、PC10から送信されたアプリケーション特定情報に基づいて、クローズされるべきポート番号を特定し、特定されたポート番号をクローズする。本実施例によっても、ユーザによって選択されたアプリケーションに対応しないポート番号がクローズされる。多機能機40のセキュリティを高めることができる。   In this embodiment, a request for instructing to close unnecessary port numbers is not transmitted from the PC 10 to the multi-function device 40. Instead, only the application specifying information is transmitted from the PC 10 to the multi-function device 40. The multi-function device 40 specifies a port number to be closed based on the application specifying information transmitted from the PC 10, and closes the specified port number. Also in this embodiment, the port number not corresponding to the application selected by the user is closed. The security of the multi-function device 40 can be increased.

(第3実施例の変形例1)
第3実施例では、上記の第1実施例の変形例1のように、ユーザが多機能機40に実行させる機能を選択することができるように構成されてもよい。この場合、図1のポート番号テーブル60と図2のポート番号リスト82では、機能特定情報とポート番号とが対応づけられていてもよい。例えば、PCプリント機能、スキャン機能、ステータスチェック機能、及び、パネル操作機能のそれぞれについては、図2の組合せ情報90〜96に示されるアプリケーション特定情報と同じ文字列を機能特定情報として採用してもよい。また、SNMP機能の機能特定情報として「SNMP」という文字列を採用し、ファームアップデート機能の機能特定情報として「FirmUpdate」という文字列を採用してもよい。本変形例では、図14のS308において、ユーザによって選択された機能の機能特定情報が多機能機40に送信される。多機能機40は、S324で機能特定情報を受信し、その機能特定情報に基づいて必要なポート番号と不要なポート番号を特定する。本変形例によっても、第3実施例と同様の効果を得ることができる。また、多機能機40は、各機能を実現するために、複数の機能それぞれに対してポート番号が設定されているので、この設定内容を用いて、ユーザによって選択された機能に対応するポート番号を特定してもよい。
(Modification 1 of the third embodiment)
The third embodiment may be configured such that the user can select a function to be executed by the multi-function device 40 as in the first modification of the first embodiment. In this case, in the port number table 60 of FIG. 1 and the port number list 82 of FIG. 2, the function specifying information and the port number may be associated with each other. For example, for each of the PC print function, scan function, status check function, and panel operation function, the same character string as the application specific information shown in the combination information 90 to 96 in FIG. 2 may be adopted as the function specific information. Good. Further, the character string “SNMP” may be adopted as the function specifying information of the SNMP function, and the character string “FirmUpdate” may be adopted as the function specifying information of the firmware update function. In the present modification, the function specifying information of the function selected by the user is transmitted to the multi-function device 40 in S308 of FIG. The multi-function device 40 receives the function specifying information in S324, and specifies a necessary port number and an unnecessary port number based on the function specifying information. Also by this modification, the same effect as the third embodiment can be obtained. Further, since the multi-function device 40 has a port number set for each of a plurality of functions in order to realize each function, the port number corresponding to the function selected by the user using this setting content. May be specified.

(第3実施例の変形例2)
図15のS328において、多機能機40は、不要なポート番号を特定しなくてもよい。即ち、図15のS328において、多機能機40は、必要なポート番号のみを特定してもよい。この場合、多機能機40は、必要なポート番号をオープンし、他の全てのポート番号をクローズしてもよい。
(Modification 2 of the third embodiment)
In S328 of FIG. 15, the multi-function device 40 may not specify unnecessary port numbers. That is, in S328 of FIG. 15, the multi-function device 40 may specify only a necessary port number. In this case, the multi-function device 40 may open a necessary port number and close all other port numbers.

(第3実施例の変形例3)
図15のS328において、多機能機40は、必要なポート番号を特定しなくてもよい。即ち、図15のS328において、多機能機40は、不要なポート番号のみを特定してもよい。この場合、多機能機40は、不要なポート番号をクローズし、他の全てのポート番号をオープンしてもよい。
(Modification 3 of the third embodiment)
In S328 of FIG. 15, the multi-function device 40 may not specify a necessary port number. That is, in S328 of FIG. 15, the multi-function device 40 may specify only unnecessary port numbers. In this case, the multi-function device 40 may close unnecessary port numbers and open all other port numbers.

(第3実施例の変形例4)
図14のS308において、PC10は、ユーザによって選択されなかったアプリケーションのアプリケーション特定情報を多機能機40に送信してもよい(このような処理を実行するようにインストール実行プログラム80が構成されてもよい)。また、図14のS308において、PC10は、ユーザによって選択されたアプリケーションのアプリケーション特定情報と、ユーザによって選択されなかったアプリケーションのアプリケーション特定情報とを多機能機40に送信してもよい(このような処理を実行するようにインストール実行プログラム80が構成されてもよい)。本変形例のように構成しても、多機能機40は、必要なポート番号と不要なポート番号を特定することができる。
(Modification 4 of the third embodiment)
In S308 of FIG. 14, the PC 10 may transmit application specifying information of an application not selected by the user to the multi-function device 40 (even if the installation execution program 80 is configured to execute such processing). Good). In S308 of FIG. 14, the PC 10 may transmit the application specifying information of the application selected by the user and the application specifying information of the application not selected by the user to the multi-function device 40 (such as this The installation execution program 80 may be configured to execute the process). Even when configured as in the present modification, the multi-function device 40 can specify a necessary port number and an unnecessary port number.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。例えば、上記のインストール実行プログラム80は、インターネット等の外部ネットワークからPC10にダウンロードされてもよい。また、ポート番号を特定する際に、アプリケーションや機能の文字列に基づきポート番号を特定しているが、これに限らず、例えば、アプリケーションや機能のそれぞれに対し、さらに番号が対応付けられており、その番号とポート番号との対応によりポート番号を特定しても良い。   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. For example, the installation execution program 80 may be downloaded to the PC 10 from an external network such as the Internet. In addition, when specifying the port number, the port number is specified based on the character string of the application or function. However, the present invention is not limited to this, and for example, a number is associated with each application or function. The port number may be specified by the correspondence between the number and the port number.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。   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.

多機能機システムの構成を示す。The configuration of the multi-function device system is shown. メディアの記憶内容の一例を模式的に示す。An example of the storage content of a medium is shown typically. インストール処理のフローチャートを示す。The flowchart of an installation process is shown. 図3の続きのフローチャートを示す。FIG. 4 is a flowchart continued from FIG. 3. FIG. 管理者用インストール処理のフローチャートを示す。The flowchart of the installation process for administrators is shown. 管理者登録画面の一例を示す。An example of an administrator registration screen is shown. アプリケーション選択画面の一例を示す。An example of an application selection screen is shown. 非管理者用インストール処理のフローチャートを示す。The flowchart of the non-administrator installation process is shown. 通知画面の一例を示す。An example of a notification screen is shown. アプリケーション選択画面の一例を示す。An example of an application selection screen is shown. インストール処理のフローチャートを示す(第2実施例)。The flowchart of an installation process is shown (2nd Example). 初回インストール処理のフローチャートを示す。The flowchart of an initial installation process is shown. 二回目以降インストール処理のフローチャートを示す。The flowchart of the installation process after the second time is shown. 管理者用インストール処理のフローチャートを示す(第3実施例)。The flowchart of the installation process for administrators is shown (3rd Example). 多機能機の処理のフローチャートを示す。The flowchart of the process of a multi-function device is shown.

符号の説明Explanation of symbols

2:多機能機システム
10:PC
16:メディア収容部
18:メディア
20:記憶部
28:制御部
40:多機能機
50:記憶部
56:管理者情報
58:インストールフラグ
60:ポート番号テーブル
62:制御部
70〜78:アプリケーション
80:インストール実行プログラム
82:ポート番号リスト
90〜98:組合せ情報
100:アプリケーション特定情報
102:ポート番号
2: Multifunctional system 10: PC
16: Media accommodation unit 18: Media 20: Storage unit 28: Control unit 40: Multi-function device 50: Storage unit 56: Administrator information 58: Installation flag 60: Port number table 62: Control units 70 to 78: Application 80: Installation execution program 82: Port number list 90-98: Combination information 100: Application specifying information 102: Port number

Claims (11)

複数のアプリケーションに対応する複数の機能を実行することが可能であり、前記複数の機能のそれぞれに対してポート番号が設定されており、かつ、外部からの機能実行指示に含まれるポート番号が設定されている機能を実行するという各特性を持つ機能実行装置に通信可能に接続される通信装置に、前記複数のアプリケーションをインストールするためのコンピュータプログラムであり、
通信装置に搭載されるコンピュータに、以下の処理、即ち、
前記複数の機能の中から1つ以上の機能をユーザが選択することを許容する選択許容処理と、
ユーザによって選択された機能に対応するアプリケーションをインストールするインストール処理と、
前記複数の機能に対して設定されている複数のポート番号のうち、ユーザによって選択された機能に対して設定されている選択ポート番号以外のポート番号である非選択ポート番号を特定するポート特定処理と、
前記ポート特定処理で特定された前記非選択ポート番号をクローズすることを指示するポートクローズ指示を機能実行装置に送信するポート設定指示送信処理と
を実行させ、
前記複数のアプリケーションのそれぞれは、当該アプリケーションに対応する機能に対して設定されているポート番号を含む機能実行指示を機能実行装置に送信するためのアプリケーションである
ことを特徴とするコンピュータプログラム。
It is possible to execute a plurality of functions corresponding to a plurality of applications, a port number is set for each of the plurality of functions, and a port number included in a function execution instruction from the outside is set A computer program for installing the plurality of applications in a communication device that is communicably connected to a function execution device having each characteristic of executing the function being performed,
In the computer mounted on the communication device, the following processing, that is,
A selection permission process for allowing a user to select one or more functions from the plurality of functions;
An installation process for installing an application corresponding to the function selected by the user;
Port identification processing for identifying a non-selected port number that is a port number other than the selected port number set for the function selected by the user among the plurality of port numbers set for the plurality of functions. When,
A port setting instruction transmission process for transmitting a port close instruction for instructing to close the non-selected port number specified in the port specifying process to the function execution device; and
Each of the plurality of applications is an application for transmitting a function execution instruction including a port number set for a function corresponding to the application to the function execution device.
前記コンピュータに、以下の処理、即ち、
ユーザ識別情報が機能実行装置に設定されているのか否かを機能実行装置に問い合わせるユーザ識別情報問合せ処理と、
ユーザ識別情報が機能実行装置に設定されていないことを条件として、ユーザ識別情報を機能実行装置に送信することによって当該ユーザ識別情報を機能実行装置に設定するユーザ識別情報設定処理と
をさらに実行させ、
機能実行装置に設定されているユーザ識別情報に対応するユーザに対しては、前記選択許容処理において前記複数の機能の全ての中から1つ以上の機能を選択することを許容し、前記インストール処理と前記ポート特定処理と前記ポート設定指示送信処理とを前記コンピュータに実行させる
ことを特徴とする請求項1のコンピュータプログラム。
The computer has the following processing:
A user identification information inquiry process for inquiring of the function execution device whether or not the user identification information is set in the function execution device;
On the condition that the user identification information is not set in the function execution device, the user identification information setting process for setting the user identification information in the function execution device is further executed by transmitting the user identification information to the function execution device. ,
The user corresponding to the user identification information set in the function execution device is allowed to select one or more functions from all of the plurality of functions in the selection permission process, and the installation process The computer program according to claim 1, wherein the computer executes the port specifying process and the port setting instruction transmission process.
前記コンピュータに、以下の処理、即ち、
機能実行装置においてオープンされているポート番号に関する情報及び/又はクローズされているポート番号に関する情報を確認するポート確認処理
をさらに実行させ、
機能実行装置に設定されているユーザ識別情報に対応しないユーザに対しては、前記選択許容処理においてポート確認処理で確認されたオープンされているポート番号に対応する機能の中から1つ以上の機能を選択することを許容し、前記インストール処理を前記コンピュータに実行させる
ことを特徴とする請求項2のコンピュータプログラム。
The computer has the following processing:
The port execution process for confirming the information on the opened port number and / or the information on the closed port number in the function execution device is further executed.
For users who do not correspond to the user identification information set in the function execution device, one or more functions from among the functions corresponding to the opened port numbers confirmed in the port confirmation process in the selection permission process The computer program according to claim 2, wherein the computer program is allowed to be selected and the installation process is executed by the computer.
前記コンピュータに、以下の処理、即ち、
ポートクローズ指示が機能実行装置に過去に送信されたのか否かを機能実行装置に問い合わせる指示問合せ処理
をさらに実行させ、
ポートクローズ指示が機能実行装置に過去に送信されていないことを条件として、前記選択許容処理と、前記インストール処理と、前記ポート特定処理と、前記ポート設定指示送信処理とを前記コンピュータに実行させ、
ポートクローズ指示が機能実行装置に過去に送信されていることを条件として、前記選択許容処理と、前記インストール処理と、ユーザによって選択された機能に対して設定されているポート番号をオープンすることを指示するポートオープン指示を機能実行装置に送信するポートオープン指示送信処理とを前記コンピュータに実行させる
ことを特徴とする請求項1に記載のコンピュータプログラム。
The computer has the following processing:
Further execute instruction inquiry processing for inquiring of the function execution device whether or not a port close instruction has been transmitted to the function execution device in the past,
On the condition that a port close instruction has not been transmitted to the function execution device in the past, the selection permissible process, the installation process, the port specifying process, and the port setting instruction transmission process are executed by the computer,
On the condition that a port close instruction has been transmitted to the function execution device in the past, the selection permission process, the installation process, and opening the port number set for the function selected by the user The computer program according to claim 1, wherein the computer is caused to execute port open instruction transmission processing for transmitting a port open instruction to instruct the function execution apparatus.
前記ポート特定処理では、さらに、前記複数の機能に対して設定されている前記複数のポート番号のうち、ユーザによって選択された機能に対して設定されている前記選択ポート番号を特定し、In the port specifying process, further, the selected port number set for the function selected by the user among the plurality of port numbers set for the plurality of functions is specified,
前記ポート設定指示送信処理では、さらに、前記ポート特定処理で特定された前記選択ポート番号をオープンすることを指示するポートオープン指示を機能実行装置に送信するIn the port setting instruction transmission process, a port open instruction for instructing to open the selected port number specified in the port specifying process is further transmitted to the function execution device.
ことを特徴とする請求項1から4のいずれか一項に記載のコンピュータプログラム。The computer program according to claim 1, wherein the computer program is a computer program.
複数のアプリケーションに対応する複数の機能を実行することが可能であり、前記複数の機能のそれぞれに対してポート番号が設定されており、かつ、外部からの機能実行指示に含まれるポート番号が設定されている機能を実行するという各特性を持つ機能実行装置に通信可能に接続される通信装置に、前記複数のアプリケーションをインストールするためのコンピュータプログラムであり、
通信装置に搭載されるコンピュータに、以下の処理、即ち、
前記複数のアプリケーションの中から1つ以上のアプリケーションをユーザが選択することを許容する選択許容処理と、
ユーザによって選択されたアプリケーションをインストールするインストール処理と、
前記複数の機能に対して設定されている複数のポート番号のうち、ユーザによって選択されたアプリケーションに対応する機能に対して設定されている選択ポート番号以外のポート番号である非選択ポート番号を特定するポート特定処理と、
前記ポート特定処理で特定された前記非選択ポート番号をクローズすることを指示するポートクローズ指示を機能実行装置に送信するポート設定指示送信処理と
を実行させ、
前記複数のアプリケーションのそれぞれは、当該アプリケーションに対応する機能に対して設定されているポート番号を含む機能実行指示を機能実行装置に送信するためのアプリケーションである
ことを特徴とするコンピュータプログラム。
It is possible to execute a plurality of functions corresponding to a plurality of applications, a port number is set for each of the plurality of functions, and a port number included in a function execution instruction from the outside is set A computer program for installing the plurality of applications in a communication device that is communicably connected to a function execution device having each characteristic of executing the function being performed,
In the computer mounted on the communication device, the following processing, that is,
A selection permission process for allowing a user to select one or more applications from the plurality of applications;
An installation process to install the application selected by the user;
Among the plurality of port numbers set for the plurality of functions, an unselected port number that is a port number other than the selected port number set for the function corresponding to the application selected by the user is specified. Port identification processing to
A port setting instruction transmission process for transmitting a port close instruction for instructing to close the non-selected port number specified in the port specifying process to the function execution device; and
Each of the plurality of applications is an application for transmitting a function execution instruction including a port number set for a function corresponding to the application to the function execution device.
前記ポート特定処理では、前記複数のアプリケーションのそれぞれについて、当該アプリケーションと、当該アプリケーションに対応する機能に対して設定されているポート番号とが関連づけられているポート番号リストから、前記非選択ポート番号を特定する
ことを特徴とする請求項に記載のコンピュータプログラム。
In the port specifying process, for each of the plurality of applications, the non-selected port number is obtained from a port number list in which the application is associated with a port number set for a function corresponding to the application. The computer program according to claim 6 , wherein the computer program is specified.
複数のアプリケーションに対応する複数の機能を実行することが可能であり、前記複数の機能のそれぞれに対してポート番号が設定されており、かつ、外部からの機能実行指示に含まれるポート番号が設定されている機能を実行するという各特性を持つ機能実行装置と、その機能実行装置に通信可能に接続される通信装置とを備える機能実行システムであり、
通信装置は、
記複数の機能の中から1つ以上の機能をユーザが選択することを許容する選択許容手段と、
ユーザによって選択された機能に対応するアプリケーションをインストールするインストール手段と、
ユーザによって選択された機能に関する選択機能情報及び/又はユーザによって選択されなかった機能に関する非選択機能情報を機能実行装置に送信する機能情報送信手段とを有し、
前記複数のアプリケーションのそれぞれは、当該アプリケーションに対応する機能に対して設定されているポート番号を含む機能実行指示を機能実行装置に送信するためのアプリケーションであり、
機能実行装置は、
通信装置のユーザによって選択された機能に対応するアプリケーションが前記通信装置にインストールされる際に、通信装置から送信された選択機能情報及び/又は非選択機能情報を受信する機能情報受信手段と、
機能情報受信手段によって受信された選択機能情報及び/又は非選択機能情報に従って、前記複数の機能に対して設定されている複数のポート番号のうち、ユーザによって選択された機能に対して設定されている選択ポート番号以外のポート番号である非選択ポート番号を特定するポート特定手段と、
ポート特定手段によって特定された前記非選択ポート番号をクローズするポートクローズ手段とを有する
ことを特徴とする機能実行システム。
It is possible to execute a plurality of functions corresponding to a plurality of applications, a port number is set for each of the plurality of functions, and a port number included in a function execution instruction from the outside is set A function execution system comprising a function execution device having each characteristic of executing the function being performed and a communication device connected to the function execution device in a communicable manner,
The communication device
A selection permission means for allowing the user to select one or more functions from the plurality of functions;
An installation means for installing an application corresponding to the function selected by the user;
A function information transmitting means for transmitting to the function execution device selected function information related to a function selected by the user and / or non-selected function information related to a function not selected by the user;
Each of the plurality of applications is an application for transmitting a function execution instruction including a port number set for a function corresponding to the application to the function execution device,
Function execution device
Function information receiving means for receiving selected function information and / or non-selected function information transmitted from the communication device when an application corresponding to the function selected by the user of the communication device is installed in the communication device;
According to the selected function information and / or non-selection function information received by the function information reception unit, among the plurality of port numbers that have been set for the plurality of functions, it is set for the selected function by the user A port identifying means for identifying a non-selected port number that is a port number other than the selected port number;
And a port closing means for closing the non-selected port number specified by the port specifying means .
複数のアプリケーションに対応する複数の機能を実行することが可能であり、前記複数の機能のそれぞれに対してポート番号が設定されており、かつ、外部からの機能実行指示に含まれるポート番号が設定されている機能を実行するという各特性を持つ機能実行装置であり、
前記複数の機能の中から1つ以上の機能をユーザが選択することを許容し、ユーザによって選択された機能に対応するアプリケーションをインストールし、ユーザによって選択された機能に関する選択機能情報及び/又はユーザによって選択されなかった機能に関する非選択機能情報を機能実行装置に送信する通信装置と通信可能に接続されるインターフェイスと、
ユーザによって選択された機能に対応するアプリケーションが前記通信装置にインストールされる際に、インターフェイスによって受信された選択機能情報及び/又は非選択機能情報に従って、前記複数の機能に対して設定されている複数のポート番号のうち、ユーザによって選択された機能に対して設定されている選択ポート番号以外のポート番号である非選択ポート番号を特定するポート特定手段と、
ポート特定手段によって特定された前記非選択ポート番号をクローズするポートクローズ手段とを備え、
前記複数のアプリケーションのそれぞれは、当該アプリケーションに対応する機能に対して設定されているポート番号を含む機能実行指示を機能実行装置に送信するためのアプリケーションである
ことを特徴とする機能実行装置。
It is possible to execute a plurality of functions corresponding to a plurality of applications, a port number is set for each of the plurality of functions, and a port number included in a function execution instruction from the outside is set It is a function execution device that has each characteristic of executing the function being performed,
The user is allowed to select one or more functions from among the plurality of functions, installs an application corresponding to the function selected by the user, and selects function information and / or user related to the function selected by the user. An interface that is communicably connected to a communication device that transmits non-selected function information related to the function not selected by the function execution device;
When an application corresponding to a function selected by a user is installed in the communication device, a plurality of functions set for the plurality of functions according to selected function information and / or non-selected function information received by the interface. of the port number, and the port identifying means for identifying the non-selected port number is a port number other than the selected port number that is set for the selected function by the user,
Port closing means for closing the non-selected port number specified by the port specifying means ,
Each of the plurality of applications is an application for transmitting a function execution instruction including a port number set for a function corresponding to the application to the function execution device.
複数のアプリケーションに対応する複数の機能を実行することが可能であり、前記複数の機能のそれぞれに対してポート番号が設定されており、かつ、外部からの機能実行指示に含まれるポート番号が設定されている機能を実行するという各特性を持つ機能実行装置と、その機能実行装置に通信可能に接続される通信装置とを備える機能実行システムであり、
通信装置は、
前記複数のアプリケーションの中から1つ以上のアプリケーションをユーザが選択することを許容する選択許容手段と、
ユーザによって選択されたアプリケーションをインストールするインストール手段と、
ユーザによって選択されたアプリケーションに関する選択アプリケーション情報及び/又はユーザによって選択されなかったアプリケーションに関する非選択アプリケーション情報を機能実行装置に送信するアプリケーション情報送信手段とを有し、
前記複数のアプリケーションのそれぞれは、当該アプリケーションに対応する機能に対して設定されているポート番号を含む機能実行指示を機能実行装置に送信するためのアプリケーションであり、
機能実行装置は、
ユーザによって選択された機能に対応するアプリケーションが前記通信装置にインストールされる際に、通信装置から送信された選択アプリケーション情報及び/又は非選択アプリケーション情報を受信するアプリケーション情報受信手段と、
アプリケーション情報受信手段によって受信された選択アプリケーション情報及び/又は非選択アプリケーション情報に従って、前記複数の機能に対して設定されている複数のポート番号のうち、ユーザによって選択されたアプリケーションに対応する機能に対して設定されている選択ポート番号以外のポート番号である非選択ポート番号を特定するポート特定手段と、
ポート特定手段によって特定された前記非選択ポート番号をクローズするポートクローズ手段とを有する
ことを特徴とする機能実行システム。
It is possible to execute a plurality of functions corresponding to a plurality of applications, a port number is set for each of the plurality of functions, and a port number included in a function execution instruction from the outside is set A function execution system comprising a function execution device having each characteristic of executing the function being performed and a communication device connected to the function execution device in a communicable manner,
The communication device
A selection permission means for allowing a user to select one or more applications from the plurality of applications;
An installation means for installing the application selected by the user;
Application information transmitting means for transmitting selected application information related to an application selected by the user and / or non-selected application information related to an application not selected by the user to the function execution device;
Each of the plurality of applications is an application for transmitting a function execution instruction including a port number set for a function corresponding to the application to the function execution device,
Function execution device
Application information receiving means for receiving selected application information and / or non-selected application information transmitted from the communication device when an application corresponding to the function selected by the user is installed in the communication device;
For the function corresponding to the application selected by the user among the plurality of port numbers set for the plurality of functions according to the selected application information and / or the non-selected application information received by the application information receiving means. A port identifying means for identifying a non-selected port number that is a port number other than the selected port number set in
And a port closing means for closing the non-selected port number specified by the port specifying means .
複数のアプリケーションに対応する複数の機能を実行することが可能であり、前記複数の機能のそれぞれに対してポート番号が設定されており、かつ、外部からの機能実行指示に含まれるポート番号が設定されている機能を実行するという各特性を持つ機能実行装置であり、
前記複数のアプリケーションの中から1つ以上のアプリケーションをユーザが選択することを許容し、ユーザによって選択されたアプリケーションをインストールし、ユーザによって選択されたアプリケーションに関する選択アプリケーション情報及び/又はユーザによって選択されなかったアプリケーションに関する非選択アプリケーション情報を機能実行装置に送信する通信装置と通信可能に接続されるインターフェイスと、
ユーザによって選択された機能に対応するアプリケーションが前記通信装置にインストールされる際に、インターフェイスによって受信された選択アプリケーション情報及び/又は非選択アプリケーション情報に従って、前記複数の機能に対して設定されている複数のポート番号のうち、ユーザによって選択されたアプリケーションに対応する機能に対して設定されている選択ポート番号以外のポート番号である非選択ポート番号を特定するポート特定手段と、
ポート特定手段によって特定された前記非選択ポート番号をクローズするポートクローズ手段とを備え、
前記複数のアプリケーションのそれぞれは、当該アプリケーションに対応する機能に対して設定されているポート番号を含む機能実行指示を機能実行装置に送信するためのアプリケーションである
ことを特徴とする機能実行装置。
It is possible to execute a plurality of functions corresponding to a plurality of applications, a port number is set for each of the plurality of functions, and a port number included in a function execution instruction from the outside is set It is a function execution device that has each characteristic of executing the function being performed,
Allows the user to select one or more applications from the plurality of applications, installs the application selected by the user, and is not selected by the user for selected application information regarding the application selected by the user An interface that is communicably connected to a communication device that transmits non-selected application information about the selected application to the function execution device;
When the application corresponding to the function selected by the user is installed in the communication device, the plurality of functions set for the plurality of functions according to the selected application information and / or the non-selected application information received by the interface. A port specifying means for specifying a non-selected port number that is a port number other than the selected port number set for the function corresponding to the application selected by the user ,
Port closing means for closing the non-selected port number specified by the port specifying means ,
Each of the plurality of applications is an application for transmitting a function execution instruction including a port number set for a function corresponding to the application to the function execution device.
JP2008171117A 2008-06-30 2008-06-30 Computer program for installing in a communication device an application that causes the function execution device to execute the function Expired - Fee Related JP5056622B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008171117A JP5056622B2 (en) 2008-06-30 2008-06-30 Computer program for installing in a communication device an application that causes the function execution device to execute the function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008171117A JP5056622B2 (en) 2008-06-30 2008-06-30 Computer program for installing in a communication device an application that causes the function execution device to execute the function

Publications (2)

Publication Number Publication Date
JP2010009505A JP2010009505A (en) 2010-01-14
JP5056622B2 true JP5056622B2 (en) 2012-10-24

Family

ID=41589878

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008171117A Expired - Fee Related JP5056622B2 (en) 2008-06-30 2008-06-30 Computer program for installing in a communication device an application that causes the function execution device to execute the function

Country Status (1)

Country Link
JP (1) JP5056622B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6554905B2 (en) * 2015-05-19 2019-08-07 株式会社リコー Information processing apparatus, information processing method, and program
JP6389229B2 (en) * 2016-11-28 2018-09-12 Kddi株式会社 Terminal device, push notification receiving method, and computer program
JP6760448B2 (en) * 2019-07-11 2020-09-23 株式会社リコー Information processing equipment, information processing methods and programs

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006172292A (en) * 2004-12-17 2006-06-29 Ricoh Co Ltd Image processing device and print request processing method
JP4389829B2 (en) * 2005-03-28 2009-12-24 セイコーエプソン株式会社 Client computer, printer driver generation method, printer driver search method
JP2006350652A (en) * 2005-06-15 2006-12-28 Canon Inc Software installation method, information processor to which the metho is applied, and program
JP4462126B2 (en) * 2005-06-15 2010-05-12 富士ゼロックス株式会社 Information processing apparatus and information processing system
JP2006350671A (en) * 2005-06-15 2006-12-28 Konica Minolta Business Technologies Inc Image forming apparatus, information processing apparatus, communication control program and printing control program
JP2007241784A (en) * 2006-03-10 2007-09-20 Brother Ind Ltd Installation program and installation method

Also Published As

Publication number Publication date
JP2010009505A (en) 2010-01-14

Similar Documents

Publication Publication Date Title
US10275188B2 (en) Communication device, non-transitory computer-readable recording medium storing computer-readable instructions for communication device, and method
KR101614387B1 (en) Host apparatus connected to image forming apparatus and setting information management method thereof
JP6656112B2 (en) Printing system, image forming apparatus, printing method, and communication method
JP4981860B2 (en) Multifunction machine, machine-processable job operation method, and medium
JP2014134873A (en) Process performing system, information processing system, and program
JP7559128B2 (en) IMAGE PROCESSING APPARATUS, CONTROL METHOD AND PROGRAM FOR IMAGE PROCESSING APPARATUS
US11483440B2 (en) Function executing device displays approval screens, when executing requests receive from external devices, for executing first and second functions
US9128654B2 (en) Host apparatus connected to image forming apparatus and information management method thereof
JP5817412B2 (en) Image forming system, image forming apparatus, and program
JP5056622B2 (en) Computer program for installing in a communication device an application that causes the function execution device to execute the function
JP2009069873A (en) Network equipment system, network equipment, program, information processing method
US20050228891A1 (en) Parameter processing apparatus and parameter setting method for same
JP2013082147A (en) Image forming system, image forming apparatus, and program
JP2019021054A (en) Image processing system, and image forming apparatus
US10740044B2 (en) Image processing device, non-transitory computer-readable recording medium storing computer-readable instructions for image processing device, and method
JP4650181B2 (en) Image processing apparatus, control method therefor, and computer program
JP6135215B2 (en) Image forming apparatus, network system, method and program
JP6417819B2 (en) Image processing apparatus and program
JP2023072169A (en) Printing system and method
JP4786145B2 (en) Data management system, data operation terminal, image forming apparatus, and data operation program executed by them
JP2022025597A (en) Image processing device, control method, and program
JP2007228088A (en) Data transmission apparatus and control method thereof, program, and storage medium
JP2008177898A (en) Image processor, image processing system, image processor cooperating method, and computer program
JP6488618B2 (en) Terminal device and computer program
JP4358069B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100325

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120313

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120716

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150810

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5056622

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees