JP2020074532A - Information processing unit, control method and program for information processing unit, and storage medium - Google Patents

Information processing unit, control method and program for information processing unit, and storage medium Download PDF

Info

Publication number
JP2020074532A
JP2020074532A JP2019234703A JP2019234703A JP2020074532A JP 2020074532 A JP2020074532 A JP 2020074532A JP 2019234703 A JP2019234703 A JP 2019234703A JP 2019234703 A JP2019234703 A JP 2019234703A JP 2020074532 A JP2020074532 A JP 2020074532A
Authority
JP
Japan
Prior art keywords
information processing
connections
layer level
address
external device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019234703A
Other languages
Japanese (ja)
Other versions
JP6862532B2 (en
Inventor
井上 剛
Takeshi Inoue
剛 井上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2019234703A priority Critical patent/JP6862532B2/en
Publication of JP2020074532A publication Critical patent/JP2020074532A/en
Application granted granted Critical
Publication of JP6862532B2 publication Critical patent/JP6862532B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide an information processing unit capable of simplifying the time and effort of operation without the need of reconnection operation performed irregularly by a user.SOLUTION: In an information processing unit, after connection with a portable terminal 110 at a wireless link layer level has been established, it is determined whether or not the number of external devices connected at an IP layer level reaches the maximum connection number of a DHCP when there is an IP address distribution request from the portable terminal 110. As the results of the determination, when the number reaches the maximum connection number of a DHCP, a DHCP server function is controlled so as not to distribute an IP address to the portable terminal 110, and when the number does not reach the maximum connection number of a DHCP, a connection with the portable terminal 110 at an IP layer level is allowed to be established by controlling the DHCP server function so as to distribute the IP address to the portable terminal 110.SELECTED DRAWING: Figure 3

Description

本発明は、情報処理装置、情報処理装置の制御方法及びプログラム、並びに記憶媒体に関し、特に、モバイル端末との間で直接無線通信を行う情報処理装置、情報処理装置の制御方法及びプログラム、並びに記憶媒体に関する。   The present invention relates to an information processing apparatus, an information processing apparatus control method and program, and a storage medium, and more particularly, to an information processing apparatus that directly performs wireless communication with a mobile terminal, an information processing apparatus control method, program, and storage. Regarding the medium.

複合機やプリンタ等の情報処理装置において、無線LAN機能を備えるものが増えている。かかる情報処理装置は、アクセスポイントを介してPCやモバイル端末等の外部装置から印刷データを受信し、その受信した印刷データに基づいて印刷処理を実行する。   Among information processing apparatuses such as multifunction peripherals and printers, those having a wireless LAN function are increasing. Such an information processing device receives print data from an external device such as a PC or a mobile terminal via an access point, and executes print processing based on the received print data.

また、かかる情報処理装置の中には、アクセスポイントを介さずに外部装置との間で直接無線通信を行うものも存在する。例えば特許文献1では、Wi−Fi Directを用いてモバイル端末との間で直接無線通信を行う情報処理装置が開示されている。   Further, among such information processing devices, there are those that directly perform wireless communication with an external device without using an access point. For example, Patent Document 1 discloses an information processing apparatus that directly wirelessly communicates with a mobile terminal using Wi-Fi Direct.

このように直接無線通信を行う場合、接続できる端末数を制限することが一般的である。無制限に接続を許可すると情報処理装置のメモリ不足やパフォーマンス低下という問題が発生するためである。このような問題の発生を防ぐべく、情報処理装置の中には、外部装置の最大接続台数を所定の値として定義しておくことで、それ以上の外部装置の接続を行わないように制御するものが知られている(例えば、特許文献2参照)。   When performing direct wireless communication in this way, it is common to limit the number of terminals that can be connected. This is because if the connection is permitted indefinitely, there will be problems such as insufficient memory and reduced performance of the information processing device. In order to prevent such a problem from occurring, the maximum number of connected external devices is defined as a predetermined value in the information processing device, and control is performed so that no more external devices are connected. The thing is known (for example, refer patent document 2).

情報処理装置がモバイル端末とWi−Fi Direct通信をする場合、従来は、図7のようなシーケンスで接続を確立する。   When the information processing apparatus performs Wi-Fi Direct communication with a mobile terminal, conventionally, a connection is established in the sequence shown in FIG.

まずユーザはモバイル端末710上で手動でSSIDやKEYを入力したり、NFCタッチによるハンドオーバー操作を実行したりする無線接続準備操作を行う(ステップS701)。かかる操作があると、モバイル端末710は情報処理装置700に対して接続要求を行うことにより、無線のリンク層レベルで接続を確立する(ステップS702,S703)。次に、モバイル端末710は、情報処理装置700に対してIPアドレス要求を行うことにより、情報処理装置700からIPアドレスが配布されると、IP層レベルで接続を確立し印刷処理が出来る状態にする(ステップS704,705)。   First, the user manually inputs a SSID or KEY on the mobile terminal 710, or performs a wireless connection preparation operation such as executing a handover operation by NFC touch (step S701). When such an operation is performed, the mobile terminal 710 makes a connection request to the information processing device 700 to establish a connection at the wireless link layer level (steps S702, S703). Next, the mobile terminal 710 makes an IP address request to the information processing apparatus 700, and when the IP address is distributed from the information processing apparatus 700, the mobile terminal 710 establishes a connection at the IP layer level and is ready for print processing. (Steps S704 and 705).

特開2013−205982号公報JP, 2013-205982, A 特開2003−101551号公報JP, 2003-101551, A

しかしながら、情報処理装置700に接続されている外部装置が上記最大接続台数に達している場合がある。かかる場合、モバイル端末710からステップS702の接続要求を受信した場合、情報処理装置700はその接続要求に対して、無線リンク層レベルで接続を拒否する旨の接続結果をモバイル端末710に送信する(ステップS703)。   However, the maximum number of external devices connected to the information processing device 700 may be reached. In such a case, when the connection request of step S702 is received from the mobile terminal 710, the information processing apparatus 700 transmits a connection result indicating that the connection is rejected at the wireless link layer level to the mobile terminal 710 in response to the connection request ( Step S703).

かかる接続結果が送信された後にモバイル端末710から情報処理装置700への接続を再度試みる場合、ステップS701の手動入力やハンドオーバー操作等の無線接続準備操作をはじめからやり直さないといけないため、ユーザの手間が煩雑になっていた。   If the mobile terminal 710 tries to connect to the information processing apparatus 700 again after the connection result is transmitted, the wireless connection preparation operation such as the manual input and the handover operation in step S701 must be performed again from the beginning. The trouble was complicated.

また、ユーザにとってはその後いつ情報処理装置700の最大接続数に空きが出たか(空き状態となったか)わからないため、不定期にステップS701の無線接続準備操作の再試行(リトライ)をしなければならない。さらには、かかる無線接続準備操作の再試行の結果、情報処理装置700がまだ空き状態でなければ、ユーザの操作が無駄になるという問題があった。   Further, since the user does not know when the maximum number of connections of the information processing apparatus 700 has become available (whether it is in an empty state) thereafter, the wireless connection preparation operation in step S701 must be retried (retry) irregularly. I won't. Further, as a result of the retry of the wireless connection preparation operation, the user's operation becomes useless unless the information processing device 700 is in the idle state.

本発明は、ユーザが不定期に再接続操作を行う必要がなく操作の手間を簡略化できる情報処理装置、情報処理装置の制御方法及びプログラム、並びに記憶媒体を提供することを目的とする。   It is an object of the present invention to provide an information processing apparatus, a control method of the information processing apparatus and a program, and a storage medium that can simplify the labor of the operation without requiring the user to perform the reconnection operation irregularly.

本発明の第1の実施の形態に係る情報処理装置は、外部装置との間で無線ネットワークを構築し無線通信を行う情報処理装置であって、無線リンク層レベルで前記情報処理装置との接続を確立してIPアドレス配布要求を行った第1の外部装置と前記情報処理装置とがIP層レベルでの無線通信を行えるよう、前記第1の外部装置にIPアドレスを配布する配布手段と、設定画面を介して入力された数値に基づいて、前記IP層レベルで接続可能な外部装置の数を示す第1の接続数を設定する設定手段と、前記IP層レベルで前記情報処理装置と接続している外部装置の数が、前記第1の接続数に達しているか否かを判定する判定手段と、前記判定手段による判定の結果、前記第1の接続数に達していた場合、前記第1の外部装置に前記IPアドレスを配布しないよう前記配布手段を制御し、前記判定手段による判定の結果、前記第1の接続数に達していない場合、前記第1の外部装置に前記IPアドレスを配布するよう前記配布手段を制御する制御手段と、を有することを特徴とする。   The information processing apparatus according to the first embodiment of the present invention is an information processing apparatus that establishes a wireless network with an external apparatus to perform wireless communication, and is connected to the information processing apparatus at a wireless link layer level. And a distribution unit that distributes an IP address to the first external device so that the first external device that has made a request for IP address distribution and the information processing device can perform wireless communication at the IP layer level, Setting means for setting a first number of connections, which indicates the number of external devices connectable at the IP layer level, based on a numerical value input through a setting screen, and connection with the information processing device at the IP layer level If the number of external devices that are operating has reached the first number of connections, and if the number of external devices has reached the first number of connections as a result of the determination by the determination means, IP to one external device The distribution unit is controlled so as not to distribute the dress, and the distribution unit is arranged to distribute the IP address to the first external device when the result of the judgment by the judgment unit is that the first number of connections has not been reached. And a control means for controlling.

本発明の第2の実施の形態に係る情報処理装置は、外部装置との間で無線ネットワークを構築し無線通信を行う情報処理装置であって、無線リンク層レベルで前記情報処理装置との接続を確立してIPアドレス配布要求を行った第1の外部装置と前記情報処理装置とがIP層レベルでの無線通信を行えるよう、前記第1の外部装置にIPアドレスを配布する配布手段と、設定画面を介したユーザ操作に従って、前記IP層レベルで接続可能な外部装置の数を示す第1の接続数を設定する設定手段と、前記IP層レベルで前記情報処理装置と接続している外部装置の数が、前記第1の接続数に達しているか否かを判定する判定手段と、前記判定手段による判定の結果、前記第1の接続数に達していた場合、前記第1の外部装置に前記IPアドレスを配布しないよう前記配布手段を制御し、前記判定手段による判定の結果、前記第1の接続数に達していない場合、前記第1の外部装置に前記IPアドレスを配布するよう前記配布手段を制御する制御手段と、を有し、前記設定手段は、前記設定画面を介したユーザ操作に従って、1以上の数値である第1の数値及び前記第1の数値より値が大きい第2の数値を含む複数の数値の中からいずれか1つの数値を、前記第1の接続数として設定することを特徴とする。   An information processing apparatus according to a second embodiment of the present invention is an information processing apparatus that establishes a wireless network with an external apparatus and performs wireless communication, and connects with the information processing apparatus at a wireless link layer level. And a distribution unit that distributes an IP address to the first external device so that the first external device that has made a request for IP address distribution and the information processing device can perform wireless communication at the IP layer level, Setting means for setting a first number of connections, which indicates the number of external devices connectable at the IP layer level, according to a user operation via a setting screen, and an external device connected to the information processing device at the IP layer level. If the number of devices has reached the first number of connections, the determining means determines whether the number of devices has reached the first number of connections, and if the number of devices has reached the first number of connections, the first external device To the IP address The distribution means so as not to distribute the IP address, and the distribution means is controlled to distribute the IP address to the first external device if the number of connections is not reached as a result of the judgment by the judgment means. The setting means includes a first numerical value that is one or more numerical values and a second numerical value that is greater than the first numerical value according to a user operation via the setting screen. One of the plurality of numerical values is set as the first number of connections.

本発明によれば、ユーザが不定期に再接続操作を行う必要がなく操作の手間を簡略化できる。   ADVANTAGE OF THE INVENTION According to this invention, a user does not need to perform a reconnection operation | movement irregularly, and can simplify operation time and effort.

本発明の第1の実施形態に係る情報処理装置としての印刷装置を含むネットワークの構成を示す図である。It is a figure which shows the structure of the network containing the printing device as an information processing apparatus which concerns on the 1st Embodiment of this invention. 図1の印刷装置のハードウェア構成図である。It is a hardware block diagram of the printing apparatus of FIG. 本発明の第1の実施形態にかかる、印刷装置とIP層レベルで接続する外部装置の数がDHCPの最大接続数に達した場合における処理の手順を示すフローチャートである。6 is a flowchart showing a procedure of processing according to the first embodiment of the present invention when the number of external devices connected to the printing device at the IP layer level reaches the maximum number of connections of DHCP. 本発明の第1の実施形態においてDHCPの最大接続数を設定する設定画面を示す図である。It is a figure which shows the setting screen which sets the maximum number of connections of DHCP in the 1st Embodiment of this invention. 本発明の第1の実施形態にかかる印刷装置から携帯端末100にIPアドレスを配布する場合のシーケンス図である。FIG. 6 is a sequence diagram when an IP address is distributed from the printing apparatus according to the first embodiment of the present invention to the mobile terminal 100. 本発明の第2の実施形態にかかる、印刷装置とIP層レベルで接続する外部装置の数がDHCPの最大接続数に達した場合における処理の手順を示すフローチャートである。6 is a flowchart showing a procedure of processing according to the second embodiment of the present invention when the number of external devices connected to the printing device at the IP layer level reaches the maximum number of connections of DHCP. 従来技術の接続シーケンスを示す図である。It is a figure which shows the connection sequence of a prior art.

以下、本発明を実施するための最良の形態について図面を用いて説明する。なお、以下の実施の形態は特許請求の範囲に係る発明を限定するものでなく、また実施の形態で説明されている特徴の組み合わせの全てが発明の解決手段に必須のものとは限らない。   Hereinafter, the best mode for carrying out the present invention will be described with reference to the drawings. It should be noted that the following embodiments do not limit the invention according to the claims, and all combinations of the features described in the embodiments are not necessarily essential to the solution means of the invention.

(第1の実施形態)
まず、本実施例におけるネットワーク構成を説明する。
(First embodiment)
First, the network configuration in this embodiment will be described.

図1は、本発明の第1の実施形態に係る情報処理装置としての印刷装置を含むネットワークの構成を示す図である。   FIG. 1 is a diagram showing a configuration of a network including a printing apparatus as an information processing apparatus according to the first embodiment of the present invention.

図1において、印刷装置100は、外部装置である携帯端末110及び他の携帯端末140とWi−Fi Direct通信を行う複合機である。印刷装置100がWi−Fi Direct通信のサーバとなり、接続要求の受け付けやDHCPサーバ機能によりIPアドレスの配布を行う。携帯端末110及び他の携帯端末140はWi−Fi Direct通信のクライアントとなり、接続要求の送信やDHCPクライアントとなって配布されたIPアドレスを自端末に設定し動作する。   In FIG. 1, the printing apparatus 100 is a multifunction peripheral that performs Wi-Fi Direct communication with a mobile terminal 110 that is an external device and another mobile terminal 140. The printing apparatus 100 serves as a server for Wi-Fi Direct communication, accepts a connection request, and distributes an IP address by the DHCP server function. The mobile terminal 110 and the other mobile terminal 140 serve as clients of Wi-Fi Direct communication, transmit connection requests, and serve as DHCP clients to set the distributed IP addresses to their own terminals and operate.

尚、本実施の形態では情報処理装置として複合機である印刷装置100を例示しているが、DHCPサーバとしてDHCPクライアントにIPアドレスの配布を行う情報処理装置であればこれに限定されるわけではなく、例えば、スキャナ機能を備えないプリンタやファクシミリ装置であってもよい。   In the present embodiment, the printing apparatus 100, which is a multi-function peripheral, is illustrated as the information processing apparatus, but the present invention is not limited to this as long as it is an information processing apparatus that distributes an IP address to a DHCP client as a DHCP server. Instead, for example, it may be a printer or a facsimile device that does not have a scanner function.

また、本実施の形態では外部端末として携帯端末110及び他の携帯端末140を例示しているが、印刷装置100とDHCPクライアントとして無線通信できる装置であればこれに限定されるわけでなく、例えばPCであってもよい。   Further, although the mobile terminal 110 and the other mobile terminal 140 are illustrated as the external terminals in the present embodiment, the invention is not limited to this as long as it is a device capable of wirelessly communicating with the printing apparatus 100 as a DHCP client. It may be a PC.

次に、印刷装置100の構成を説明する。   Next, the configuration of the printing apparatus 100 will be described.

図2は、図1の印刷装置100のハードウェア構成図である。   FIG. 2 is a hardware configuration diagram of the printing apparatus 100 of FIG.

図2において、CPU202はROM204が記憶している制御プログラムを読み出して、DHCPサーバ機能をはじめとする、印刷装置100の動作を制御するための様々な処理を実行する。ROM204は、制御プログラムを記憶している。RAM203は、CPU202の主メモリ、ワークエリア等の一時記憶領域として用いられる。HDD212は、印刷データやスキャン画像等の様々なデータを記憶する。   In FIG. 2, the CPU 202 reads the control program stored in the ROM 204 and executes various processes such as a DHCP server function for controlling the operation of the printing apparatus 100. The ROM 204 stores a control program. The RAM 203 is used as a main memory of the CPU 202 and a temporary storage area such as a work area. The HDD 212 stores various data such as print data and scan images.

なお、印刷装置100の場合、1つのCPU202が後述するフローチャートに示す各処理を実行するものとするが、他の態様であっても構わない。例えば、複数のCPUが協働して後述するフローチャートに示す各処理を実行するようにすることもできる。   Note that in the case of the printing apparatus 100, one CPU 202 executes each process shown in a flowchart described later, but other modes may be used. For example, a plurality of CPUs may cooperate with each other to execute each process shown in a flowchart described later.

プリンタ207は、携帯端末110や他の携帯端末140から受信した印刷データやスキャナ209によって生成されたスキャン画像等に基づいて、シートに印刷する印刷処理を実行する。スキャナ209は、原稿を読み取ってスキャン画像(読取画像データ)を生成する。スキャナ209によって生成されたスキャン画像は、プリンタ207によって印刷されたり、HDD212に記憶されたりする。尚、本実施の形態では携帯端末110から受信したデータのデータ処理として印刷処理を例示したが、本願発明のデータ処理はこれに限定されるわけでなく、例えば、携帯端末110から受信したデータを不図示のFAX送受信部にから外部のファクシミリ装置にFAX送信する処理であってもよい。   The printer 207 executes print processing for printing on a sheet based on print data received from the mobile terminal 110 or another mobile terminal 140, a scan image generated by the scanner 209, and the like. The scanner 209 reads a document and generates a scan image (read image data). The scan image generated by the scanner 209 is printed by the printer 207 or stored in the HDD 212. Incidentally, in the present embodiment, the print processing is exemplified as the data processing of the data received from the mobile terminal 110, but the data processing of the present invention is not limited to this, and for example, the data received from the mobile terminal 110 can be processed. It may be a process of performing FAX transmission from an FAX transmission / reception unit (not shown) to an external facsimile device.

操作部211は、タッチパネル機能を有する液晶表示部やキーボードを備え、後述する各種画面を表示する。ユーザは、操作部211を介して印刷装置100に対して指示や情報を入力することができる。   The operation unit 211 includes a liquid crystal display unit having a touch panel function and a keyboard, and displays various screens described below. The user can input instructions and information to the printing apparatus 100 via the operation unit 211.

無線LAN I/F201は、携帯端末110や他の携帯端末140等の外部装置との間でWi−Fi Directに基づく無線通信を実行する。   The wireless LAN I / F 201 executes wireless communication based on Wi-Fi Direct with an external device such as the mobile terminal 110 or another mobile terminal 140.

次に印刷装置100において印刷装置100とIP層レベルで接続する外部装置の数がDHCPの最大接続数(第1の接続数)に達した場合に実行される処理を説明する。   Next, a process executed when the number of external devices connected to the printing device 100 at the IP layer level in the printing device 100 reaches the maximum number of connections (first connection number) of DHCP will be described.

図3は、本発明の第1の実施形態にかかる、印刷装置100とIP層レベルで接続する外部装置の数がDHCPの最大接続数に達した場合における処理の手順を示すフローチャートである。   FIG. 3 is a flow chart showing a procedure of processing according to the first embodiment of the present invention when the number of external devices connected to the printing apparatus 100 at the IP layer level reaches the maximum number of connections of DHCP.

尚、図3のフローチャートに示す各ステップは、CPU202がROM204等のメモリに格納された制御プログラムをRAM203に展開して実行することによって処理される。   Each step shown in the flowchart of FIG. 3 is processed by the CPU 202 loading a control program stored in a memory such as the ROM 204 into the RAM 203 and executing the control program.

印刷装置100の電源がONとなった後(ステップS300)、CPU202が携帯端末110からWi−Fi Directの接続要求を受信したと判定した場合(ステップS301でYES)、ステップS302に進む。この接続要求は携帯端末110側でユーザがSSID等を入力することによりおこなわれる。   After the power of the printing apparatus 100 is turned on (step S300), when the CPU 202 determines that the Wi-Fi Direct connection request is received from the mobile terminal 110 (YES in step S301), the process proceeds to step S302. This connection request is made by the user inputting the SSID or the like on the mobile terminal 110 side.

ステップS302において、CPU202は、印刷装置100と無線リンク層レベルで接続する外部装置の数が無線リンク層レベルの最大接続数(前記無線リンク層レベルで接続可能な外部装置の数:第2の接続数)に達しているかどうかを判定する。尚、この無線リンク層レベルの最大接続数は本実施の形態においては印刷装置100内の無線チップやファームが固有の値を決定しているため、変更することができない。   In step S302, the CPU 202 determines that the number of external devices connected to the printing apparatus 100 at the wireless link layer level is the maximum number of connections at the wireless link layer level (the number of external devices connectable at the wireless link layer level: the second connection). Number) is reached. It should be noted that the maximum number of connections at the wireless link layer level cannot be changed in this embodiment because the wireless chip or the firmware in the printing apparatus 100 determines a unique value.

無線のリンク層レベルの最大接続数に達していると判定した場合(ステップS302でYES)、CPU202は携帯端末110に接続拒否の応答を送信し(ステップS303)、本処理を終了する。この場合、携帯端末110は、そのUIに「印刷装置との接続ができませんでした」等のエラー通知を表示すると共に、Wi−Fi Directの接続要求のため携帯端末110側でユーザが行ったSSID等の入力をリセットする。したがって、このエラー通知後、ユーザは携帯端末110からWi−Fi Directの接続要求を再度行う場合は、SSID等を再入力する必要がある。尚、携帯端末110はステップS303において接続拒否の応答を受信した場合速やかにエラー通知を表示したが、上記エラー通知を表示することなくWi−Fi Directの接続要求を一定回数リトライするような構成であってもよい。この場合、ユーザはそのリトライの際に携帯端末110側でSSID等を再入力する必要はないが、その一定回数のリトライの間も無線のリンク層レベルでの空きが生じない場合は、リトライがタイムアウトした後に上記エラー通知が表示される。   When it is determined that the maximum number of wireless link layer connections has been reached (YES in step S302), the CPU 202 transmits a connection refusal response to the mobile terminal 110 (step S303), and ends this processing. In this case, the mobile terminal 110 displays an error notification such as “Failed to connect to the printing device” on the UI, and the SSID that the user has made on the mobile terminal 110 side for the Wi-Fi Direct connection request. Reset the input such as. Therefore, after the error notification, when the user makes a Wi-Fi Direct connection request again from the mobile terminal 110, the user needs to re-enter the SSID and the like. Although the mobile terminal 110 promptly displays the error notification when it receives the connection refusal response in step S303, the mobile terminal 110 retries the Wi-Fi Direct connection request a certain number of times without displaying the error notification. It may be. In this case, the user does not need to re-input the SSID and the like on the side of the mobile terminal 110 at the time of the retry, but if there is no vacancy at the wireless link layer level during the certain number of retries, the retry is performed. The above error notification is displayed after a timeout.

一方、無線リンク層レベルの最大接続数に達していないと判定した場合(ステップS302でNO)、CPU202は携帯端末110に接続許可の応答を送信し、無線リンク層での接続を確立する(ステップS304)。かかる無線リンク層での接続確立後、携帯端末110は印刷装置100に対してDHCPでIPアドレス配布を要求してくるため、ステップS305において、CPU202はIPアドレス配布要求を受信したかどうかを判定する。CPU202がIPアドレス配布要求を受信したと判定した場合(ステップS305でYES)、ステップS306に進む。   On the other hand, if it is determined that the maximum number of connections at the wireless link layer level has not been reached (NO in step S302), the CPU 202 sends a connection permission response to the mobile terminal 110 and establishes a connection at the wireless link layer (step). S304). After the connection is established in the wireless link layer, the mobile terminal 110 requests the printing apparatus 100 to distribute the IP address by DHCP. Therefore, in step S305, the CPU 202 determines whether the IP address distribution request is received. .. When the CPU 202 determines that the IP address distribution request is received (YES in step S305), the process proceeds to step S306.

ステップS306において、CPU202はDHCPの最大接続数(印刷装置100とIP層レベルで接続可能な外部装置の数:第1の接続数)に達しているかどうかを判定する。   In step S306, the CPU 202 determines whether the maximum number of DHCP connections (the number of external devices that can be connected to the printing apparatus 100 at the IP layer level: the first number of connections) has been reached.

ここで、DHCPの最大接続数は図4の設定画面(入力手段)401上で図1のネットワークを管理するシステム管理者のユーザ操作により入力された数値が設定される。   Here, as the maximum number of connections of DHCP, a numerical value input by the user operation of the system administrator who manages the network of FIG. 1 on the setting screen (input means) 401 of FIG. 4 is set.

但し、システム管理者が設定画面401上で入力した数値が無線リンク層の最大接続数より大きい値である場合、CPU202は操作部211の液晶表示部に、設定画面401上の数値を無線リンク層レベルの最大接続数以下とするよう促すエラー通知を表示させる。ここで、設定画面401上の数値が無線リンク層の最大接続数より大きいか否かの判別は、具体的には以下のように行われる。まず、システム管理者が設定画面401上に任意の数値を入力したとき、CPU202は、印刷装置100内の無線チップ(不図示)のドライバに能力情報を問合せる。この問合せにより、CPU202は無線リンク層での最大接続数の値を入手し、その入手した値と設定画面401上の数値を比較することによりこの判別を行う。   However, when the numerical value input by the system administrator on the setting screen 401 is larger than the maximum number of connections of the wireless link layer, the CPU 202 displays the numerical value on the setting screen 401 on the liquid crystal display unit of the operation unit 211. Display an error notification that encourages you to keep the number of connections below the level. Here, the determination as to whether or not the numerical value on the setting screen 401 is larger than the maximum number of wireless link layer connections is specifically performed as follows. First, when the system administrator inputs an arbitrary numerical value on the setting screen 401, the CPU 202 inquires a driver of a wireless chip (not shown) in the printing apparatus 100 about capability information. By this inquiry, the CPU 202 obtains the value of the maximum number of connections in the wireless link layer, and makes this determination by comparing the obtained value with the numerical value on the setting screen 401.

かかる構成とすることで、DHCPの最大接続数を無線リンク層の最大接続数以下の値に確実に設定し、外部装置の最大接続数を、固定値であって変更できない無線リンク層レベルの最大接続数ではなく、設定画面401上でシステム管理者が可変に設定できるIP層レベルの最大接続数で管理する。これにより、図1のネットワークを管理するシステム管理者のユーザビリティを向上させることができる。   With such a configuration, the maximum number of connections of DHCP can be reliably set to a value less than or equal to the maximum number of connections of the wireless link layer, and the maximum number of connections of external devices is a fixed value and cannot be changed at the maximum level of the wireless link layer. The number of connections is not the number of connections, but the maximum number of connections at the IP layer level that can be variably set by the system administrator on the setting screen 401. As a result, the usability of the system administrator who manages the network of FIG. 1 can be improved.

この管理は、より具体的には、無線のリンク層レベルでの最大接続数を通常のネットワーク使用においてはステップS302でYesとならない固定値に設定し、上述のユーザ設定されたDHCPの最大接続数で印刷装置100が接続できる外部装置の数を実質的に制限して行われる。   More specifically, this management sets the maximum number of connections at the wireless link layer level to a fixed value that does not result in Yes in step S302 in normal network use, and sets the maximum number of connections for DHCP set by the user described above. The number of external devices that can be connected to the printing apparatus 100 is substantially limited.

図3に戻り、DHCPの最大接続数に達していないと判定した場合(ステップS306でNO)、CPU202は携帯端末110にDHCPサーバ機能でIPアドレスを配布し、IP層レベルでの携帯端末110との接続を可能な状態とした後(ステップS307)、本処理を終了する。   Returning to FIG. 3, when it is determined that the maximum number of connections of DHCP has not been reached (NO in step S306), the CPU 202 distributes the IP address to the mobile terminal 110 by the DHCP server function, and the mobile terminal 110 at the IP layer level. After making the connection possible (step S307), this processing ends.

一方、DHCPの最大接続数に達していると判定した場合(ステップS306でYES)、CPU202はIPアドレス配布要求を拒否するようDHCPサーバ機能を制御する(ステップS308)。かかる場合、携帯端末110は速やかにそのUIに「印刷装置との接続ができませんでした」等のエラー通知を表示する。   On the other hand, if it is determined that the maximum number of DHCP connections has been reached (YES in step S306), the CPU 202 controls the DHCP server function so as to reject the IP address distribution request (step S308). In such a case, the mobile terminal 110 promptly displays an error notification such as "Could not connect to the printing device" on the UI.

尚、携帯端末110は、かかる場合に一定回数IPアドレス配布要求を再試行(リトライ)し、再接続を試みるような構成であってもよい。しかし、再試行中であっても、上記IPアドレス配布要求をした後、携帯端末110においてユーザが印刷指示をするとUIにおいて「印刷NG」等のエラー通知が速やかに表示される。よって、ステップS303での接続拒否の場合と違って、エラー通知の表示の遅れによるユーザへのストレスは生じない。また、かかるエラー通知の表示後も、無線リンク層の接続は維持されているので、ユーザが再度時間をおいて携帯端末110から印刷装置100に対しIPアドレス配布要求を行うことにした場合であっても、ステップS303での接続拒否の場合と違ってWi−Fi Directの接続要求に必要なSSID等の再入力の必要はないので、操作の手間を簡略化できる。   Note that the mobile terminal 110 may be configured to retry the IP address distribution request a certain number of times in such a case, and try to reconnect. However, even during the retry, when the user issues a print instruction on the mobile terminal 110 after making the IP address distribution request, an error notification such as “Print NG” is promptly displayed on the UI. Therefore, unlike the case of the connection refusal in step S303, the user is not stressed due to the delay in displaying the error notification. Further, since the connection of the wireless link layer is maintained even after the display of the error notification, the user decides to make an IP address distribution request from the portable terminal 110 to the printing apparatus 100 again after a while. However, unlike the case of the connection refusal in step S303, it is not necessary to re-input the SSID and the like necessary for the Wi-Fi Direct connection request, and therefore the operation labor can be simplified.

尚、本実施の形態では、ステップS308において、CPU202はIPアドレス配布要求を拒否したが、IPアドレス配布要求を無視して何も応答しないようDHCPサーバ機能を制御してもよい。かかる制御は、ステップS306で最大接続数に達していると判定した場合、DHCPサーバ機能は動作させているが上記IPアドレス配布要求に対しDHCPサーバ機能に何らの応答も行わせないという方法等により行われる。   Although the CPU 202 rejects the IP address distribution request in step S308 in the present embodiment, the DHCP server function may be controlled so that the IP address distribution request is ignored and no response is made. In such control, if it is determined in step S306 that the maximum number of connections has been reached, the DHCP server function is operating, but the DHCP server function does not respond to the IP address distribution request. Done.

このようにIPアドレス配布要求を無視して何も応答しないようDHCPサーバ機能を制御した場合、携帯端末110は、一定回数IPアドレス配布要求を再試行し、再接続を試みる。   In this way, when the DHCP server function is controlled so as to ignore the IP address distribution request and not respond to anything, the mobile terminal 110 retries the IP address distribution request a fixed number of times and tries reconnection.

しかし、再試行中であっても、上記IPアドレス配布要求をした後、携帯端末110においてユーザが印刷指示をするとUIにおいて「印刷NG」等のエラー通知が速やかに表示される。よって、ステップS303での接続拒否の場合と違って、再試行がタイムアウトするまでエラー通知の表示が遅れることによるユーザへのストレスは生じない。また、かかるエラー通知の表示後も、無線リンク層の接続は維持されているので、ユーザが再度時間をおいて携帯端末110から印刷装置100に対しIPアドレス配布要求を行うことにした場合であっても、ステップS303での接続拒否の場合と違ってWi−Fi Directの接続要求に必要なSSID等の再入力の必要はないので、操作の手間を簡略化できる。   However, even during the retry, when the user issues a print instruction on the mobile terminal 110 after making the IP address distribution request, an error notification such as “Print NG” is promptly displayed on the UI. Therefore, unlike the case of the connection refusal in step S303, the stress on the user due to the delay of the display of the error notification until the retry times out does not occur. Further, since the connection of the wireless link layer is maintained even after the display of the error notification, the user decides to make an IP address distribution request from the portable terminal 110 to the printing apparatus 100 again after a while. However, unlike the case of the connection refusal in step S303, it is not necessary to re-input the SSID and the like necessary for the Wi-Fi Direct connection request, and therefore the operation labor can be simplified.

上記ステップS308の処理後、CPU202は、他の携帯端末140とのWi−Fi Direct通信が終了し、接続台数に空きが出たと判定した場合(ステップS309でYES)、携帯端末110にDHCPサーバ機能でIPアドレスを配布し、IP層での接続も可能な状態とした後(ステップS307)、本処理を終了する。   After the processing of step S308, when the CPU 202 determines that the Wi-Fi Direct communication with the other mobile terminal 140 is finished and the number of connected devices becomes available (YES in step S309), the CPU 202 functions as the mobile terminal 110. In step S307, the IP address is distributed, and the connection in the IP layer is made possible (step S307), and then the present process ends.

一方、接続台数に空きが出ないまま(ステップS309でNO)、携帯端末110側で無線接続が切断される場合がある。例えば、携帯端末110によるIPアドレス配布要求の再試行がタイムアウトとなった場合や、上記「印刷NG」等のエラー通知に基づき、携帯端末110側でユーザが明示的にIPアドレス配布要求をキャンセルした場合である。この場合、CPU202はこの無線リンク層の切断を検知し(ステップS310)、本処理を終了する。   On the other hand, there may be a case where the wireless connection is disconnected on the side of the mobile terminal 110 while the number of connected devices remains empty (NO in step S309). For example, when the retry of the IP address distribution request by the mobile terminal 110 has timed out, or the user explicitly cancels the IP address distribution request on the mobile terminal 110 side based on the error notification such as the above “print NG”. This is the case. In this case, the CPU 202 detects the disconnection of the wireless link layer (step S310) and ends this processing.

本実施の形態によれば、携帯端末110からのIPアドレス配布要求受信時に、DHCPの最大接続数に達している場合、携帯端末110へのIPアドレスの配布を拒否し、DHCPの最大接続数に達していない場合携帯端末110にIPアドレスを配布する。これにより、IPアドレスを多数の外部装置と接続することによる印刷装置100のメモリ不足やパフォーマンス低下という問題を発生させることなく、且つユーザが不定期に再接続操作を行う必要がなく操作の手間を簡略化できる。また、エラー通知の遅さによるユーザのストレスを軽減することもできる。   According to the present embodiment, when the maximum number of DHCP connections is reached when the IP address distribution request is received from mobile terminal 110, the distribution of the IP address to mobile terminal 110 is rejected, and the maximum number of DHCP connections is reached. If it has not reached, the IP address is distributed to the mobile terminal 110. As a result, the problem of memory shortage and performance degradation of the printing apparatus 100 due to connection of the IP address to a large number of external devices does not occur, and the user does not need to perform reconnection operation irregularly, which saves time and effort. Can be simplified. Further, it is possible to reduce the stress on the user due to the delay of error notification.

図5は、本発明の第1の実施形態にかかる印刷装置100から携帯端末100にIPアドレスを配布する場合のシーケンス図である。   FIG. 5 is a sequence diagram when an IP address is distributed from the printing apparatus 100 according to the first embodiment of the present invention to the mobile terminal 100.

まずユーザが携帯端末110側で無線接続準備操作を行うと(ステップS501)、携帯端末110が印刷装置100に接続要求を行う(ステップS502)。この要求に応じて印刷装置100が接続OKの応答を行うと(ステップS503)、印刷装置100と携帯端末110の間の無線リンク層での接続が完了する。   First, when the user performs a wireless connection preparation operation on the mobile terminal 110 side (step S501), the mobile terminal 110 makes a connection request to the printing apparatus 100 (step S502). When the printing apparatus 100 responds to the connection in response to this request (step S503), the connection between the printing apparatus 100 and the mobile terminal 110 in the wireless link layer is completed.

その後、ステップS504において、携帯端末110はDHCPによるIPアドレス配布要求を印刷装置100に送信する。しかし、図5に示す実施例においては、このIPアドレス配布要求があった時点において印刷装置100と接続する外部装置はDHCPの最大接続数に達している。よって、CPU202は、このIPアドレス配布要求を拒否して、IPアドレス配布を実施しない(ステップS505)。携帯端末110は、ステップS506以降において、定期的にIPアドレス配布要求を印刷装置100に再送する。かかる定期的なIPアドレス配布要求の再送中に、印刷装置100で行われているWi−Fi Direct通信接続に空きが発生すると(ステップS508)、CPU202はDHCPサーバ機能によりIPアドレスの配布を携帯端末110に対して行う(ステップS509)。   After that, in step S504, the mobile terminal 110 transmits a DHCP IP address distribution request to the printing apparatus 100. However, in the embodiment shown in FIG. 5, the number of external devices connected to the printing apparatus 100 reaches the maximum number of DHCP connections at the time when this IP address distribution request is made. Therefore, the CPU 202 rejects the IP address distribution request and does not carry out the IP address distribution (step S505). The mobile terminal 110 periodically retransmits the IP address distribution request to the printing apparatus 100 after step S506. When a vacancy occurs in the Wi-Fi Direct communication connection made in the printing apparatus 100 during the periodic retransmission of the IP address distribution request (step S508), the CPU 202 distributes the IP address by the DHCP server function to the mobile terminal. This is performed for 110 (step S509).

その後、携帯端末110が、ステップS509で配布されたIPアドレスを用いて印刷装置100とのIP層レベルでの接続を確立した後、印刷処理要求が携帯端末110から印刷装置100に送信されると、印刷装置100はこの印刷処理要求に応じた印刷処理を行なう(ステップS510)。   After that, after the mobile terminal 110 establishes a connection at the IP layer level with the printing apparatus 100 using the IP address distributed in step S509, a print processing request is transmitted from the mobile terminal 110 to the printing apparatus 100. The printing apparatus 100 performs the print processing according to the print processing request (step S510).

以上の説明の通り、本実施形態によれば、印刷装置100のCPU202は、まず、携帯端末110との間で無線リンク層での接続を行う。次に、携帯端末110からIPアドレス配布要求があったとき、印刷装置100に接続されている外部装置がDHCPの最大接続数に達しているか否かに応じて、CPU202はDHCPサーバ機能によるIPアドレスを携帯端末110に配布するかどうかを決定する。これにより、IPアドレス配布要求を再送する場合でも、携帯端末110側にいるユーザは1度だけ無線接続準備操作をすれば済むため、操作の負荷を軽減することができる。すなわち、無線リンク層レベルで携帯端末110と印刷装置100の接続が完了した後は、ユーザは携帯端末110と印刷装置100の間で自動的にIP層レベルでの接続が行われるまで待つだけでよいため、ユーザビリティ性を向上できる。   As described above, according to the present embodiment, the CPU 202 of the printing apparatus 100 first makes a connection with the mobile terminal 110 on the wireless link layer. Next, when an IP address distribution request is issued from the mobile terminal 110, the CPU 202 determines whether or not the external device connected to the printing device 100 has reached the maximum number of DHCP connections and the IP address by the DHCP server function. Is distributed to the mobile terminal 110. As a result, even when the IP address distribution request is retransmitted, the user on the side of the mobile terminal 110 only needs to perform the wireless connection preparation operation once, so that the operation load can be reduced. That is, after the connection between the mobile terminal 110 and the printing apparatus 100 is completed at the wireless link layer level, the user only has to wait until the connection between the mobile terminal 110 and the printing apparatus 100 is automatically performed at the IP layer level. Since it is good, usability can be improved.

(第2の実施形態)
上記説明した第1の実施形態においては、携帯端末110からのIPアドレス配布要求の送信時に印刷装置100においてDHCPの最大接続数に達していた場合、CPU202はIPアドレス配布要求を拒否又は無視するようDHCPサーバ機能を制御した。これに対し、第2の実施形態では、携帯端末110との無線リンク層での接続が確立した時に印刷装置100においてDHCPの最大接続数に達していた場合、CPU202DHCPサーバ機能を停止する。これにより、結果としてCPU202は、その後携帯端末110から送信されたIPアドレス配布要求に対し何らの応答も行わせないようDHCPサーバ機能を制御する。
(Second embodiment)
In the first embodiment described above, the CPU 202 rejects or ignores the IP address distribution request when the maximum number of DHCP connections has been reached in the printing apparatus 100 when the IP address distribution request is transmitted from the mobile terminal 110. Controlled the DHCP server function. On the other hand, in the second embodiment, the CPU 202 DHCP server function is stopped if the maximum number of DHCP connections is reached in the printing apparatus 100 when the connection with the mobile terminal 110 in the wireless link layer is established. As a result, the CPU 202 controls the DHCP server function so that no response is made to the IP address distribution request transmitted from the mobile terminal 110 thereafter.

従って、第2の実施の形態にかかる情報処理装置としての印刷装置のハードウェア構成は、印刷装置100と基本的に同一である。同様に、上記印刷装置との間でWi−Fi Direct通信を行う外部装置としての携帯端末及び他の携帯端末のハードウェア構成は、それぞれ携帯端末110及び他の携帯端末140と基本的に同一である。よって、上記印刷装置、携帯端末、及び他の携帯端末に関して、印刷装置100、携帯端末110、及び他の携帯端末140と同一の構成には同一の符号を付し重複した説明は省略する。   Therefore, the hardware configuration of the printing apparatus as the information processing apparatus according to the second embodiment is basically the same as that of the printing apparatus 100. Similarly, the hardware configurations of the mobile terminal and other mobile terminals as external devices that perform Wi-Fi Direct communication with the printing apparatus are basically the same as those of the mobile terminal 110 and the other mobile terminal 140, respectively. is there. Therefore, regarding the printing apparatus, the mobile terminal, and the other mobile terminal, the same configurations as those of the printing apparatus 100, the mobile terminal 110, and the other mobile terminal 140 are denoted by the same reference numerals, and the duplicated description will be omitted.

図6は、本発明の第2の実施形態にかかる、印刷装置100とIP層レベルで接続する外部装置の数がDHCPの最大接続数に達した場合における処理の手順を示すフローチャートである。   FIG. 6 is a flowchart showing a procedure of processing according to the second embodiment of the present invention when the number of external devices connected to the printing apparatus 100 at the IP layer level reaches the maximum number of connections of DHCP.

図3と同様、図6のフローチャートに示す各ステップも、CPU202がROM204等のメモリに格納された制御プログラムをRAM203に展開して実行することによって処理される。   Similar to FIG. 3, each step shown in the flowchart of FIG. 6 is processed by the CPU 202 loading the control program stored in the memory such as the ROM 204 into the RAM 203 and executing the control program.

印刷装置100の電源がONとなった後(ステップS600)、ステップS601においてCPU202は携帯端末110とWi−Fi Direct通信の接続を完了(無線リンク層での接続を確立)したかどうかを判断する。接続を完了したと判断した場合(ステップS601でYES)、ステップS602に進み、CPU202は印刷装置100においてDHCPの最大接続数に達しているか否かを判断する。DHCPの最大接続数に達していると判断した場合(ステップS602でYES)、ステップS603に進み、CPU202はDHCPサーバ機能を停止する。これにより、このDHCPサーバ機能の停止期間中は、携帯端末110からDHCPによるIPアドレス配布要求が印刷装置100に送信されても、このIPアドレス配布要求に対する応答は行わない。すなわち、CPU202は、結果として、ステップS603の処理後に携帯端末110から送信されたIPアドレス配布要求に対して何らの応答も行わせないようDHCPサーバ機能を制御することができ、DHCPの最大接続数以内となるように印刷装置100に接続する外部装置の接続台数を管理することができる。   After the power of the printing apparatus 100 is turned on (step S600), the CPU 202 determines in step S601 whether the connection of the mobile terminal 110 and the Wi-Fi Direct communication is completed (the connection in the wireless link layer is established). .. When it is determined that the connection is completed (YES in step S601), the process proceeds to step S602, and the CPU 202 determines whether or not the maximum number of DHCP connections has been reached in the printing apparatus 100. When it is determined that the maximum number of DHCP connections has been reached (YES in step S602), the process proceeds to step S603, and the CPU 202 stops the DHCP server function. As a result, during the period in which the DHCP server function is stopped, even if the mobile terminal 110 sends a DHCP IP address distribution request to the printing apparatus 100, no response is sent to the IP address distribution request. That is, as a result, the CPU 202 can control the DHCP server function so as not to make any response to the IP address distribution request transmitted from the mobile terminal 110 after the process of step S603, and the maximum number of DHCP connections. It is possible to manage the number of external devices connected to the printing apparatus 100 so that the number of external devices is within the range.

次に、CPU202は、印刷装置100で行われているWi−Fi Direct通信接続に空きが発生するまで接続台数の監視を継続し、Wi−Fi Direct通信接続に空きが発生したと判断したときに(ステップS604でYES)、CPU202はDHCPサーバ機能を再開する(ステップS605)。このように、CPU202は、印刷装置100においてDHCPの最大接続数に達している場合はDHCPサーバ機能を停止し、Wi−Fi Direct通信接続に空きが出たらDHCPサーバ機能を再開するので、DHCPの最大接続数を適切に制御できる。   Next, when the CPU 202 determines that the Wi-Fi Direct communication connection is available, the CPU 202 continues to monitor the number of connected devices until an available Wi-Fi Direct communication connection is available. (YES in step S604), the CPU 202 restarts the DHCP server function (step S605). As described above, the CPU 202 stops the DHCP server function when the maximum number of DHCP connections has been reached in the printing apparatus 100, and restarts the DHCP server function when a Wi-Fi Direct communication connection becomes available. The maximum number of connections can be controlled appropriately.

以上の説明の通り、本実施形態によれば、印刷装置100のCPU202は、まず携帯端末110との間で無線リンク層での接続を行う。次に、あらかじめ設定されたDHCPの最大接続数に達しているか否かに応じて、DHCPサーバ機能の停止、再開を決定する。これにより、携帯端末110側にいるユーザは1度だけの無線接続準備操作で済み、操作の負荷を軽減することができる。また、無線リンク層レベルで携帯端末110と印刷装置100の接続が完了した後は、ユーザは携帯端末110と印刷装置100の間で自動的にIP層レベルでの接続が行われるまで待つだけでよいため、ユーザビリティ性も向上できる。   As described above, according to the present embodiment, the CPU 202 of the printing apparatus 100 first makes a connection with the mobile terminal 110 on the wireless link layer. Next, stop or restart of the DHCP server function is determined according to whether or not the preset maximum number of DHCP connections has been reached. As a result, the user on the side of the mobile terminal 110 only needs to perform the wireless connection preparation operation once, and the operation load can be reduced. Further, after the connection between the mobile terminal 110 and the printing apparatus 100 is completed at the wireless link layer level, the user only has to wait until the connection at the IP layer level is automatically made between the mobile terminal 110 and the printing apparatus 100. Since it is good, usability can also be improved.

(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program. It can also be realized by the processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

100 印刷装置
110 携帯端末
201 無線LAN I/F
202 CPU
203 RAM
204 ROM
207 プリンタ
209 スキャナ
211 操作部
212 HDD
100 printing device 110 mobile terminal 201 wireless LAN I / F
202 CPU
203 RAM
204 ROM
207 printer 209 scanner 211 operation unit 212 HDD

Claims (16)

外部装置との間で無線ネットワークを構築し無線通信を行う情報処理装置であって、
無線リンク層レベルで前記情報処理装置との接続を確立してIPアドレス配布要求を行った第1の外部装置と前記情報処理装置とがIP層レベルでの無線通信を行えるよう、前記第1の外部装置にIPアドレスを配布する配布手段と、
設定画面を介して入力された数値に基づいて、前記IP層レベルで接続可能な外部装置の数を示す第1の接続数を設定する設定手段と、
前記IP層レベルで前記情報処理装置と接続している外部装置の数が、前記第1の接続数に達しているか否かを判定する判定手段と、
前記判定手段による判定の結果、前記第1の接続数に達していた場合、前記第1の外部装置に前記IPアドレスを配布しないよう前記配布手段を制御し、前記判定手段による判定の結果、前記第1の接続数に達していない場合、前記第1の外部装置に前記IPアドレスを配布するよう前記配布手段を制御する制御手段と、
を有することを特徴とする情報処理装置。
An information processing device that establishes a wireless network with an external device to perform wireless communication,
The first external device, which has established a connection with the information processing device at the wireless link layer level and has made an IP address distribution request, and the information processing device can perform wireless communication at the IP layer level. Distribution means for distributing an IP address to an external device,
Setting means for setting a first number of connections, which indicates the number of external devices connectable at the IP layer level, based on a numerical value input via a setting screen;
Determination means for determining whether or not the number of external devices connected to the information processing device at the IP layer level has reached the first number of connections;
As a result of the judgment by the judgment means, if the first number of connections has been reached, the distribution means is controlled so as not to distribute the IP address to the first external device, and the judgment result by the judgment means Control means for controlling the distributing means so as to distribute the IP address to the first external device when the first number of connections has not been reached;
An information processing device comprising:
外部装置との間で無線ネットワークを構築し無線通信を行う情報処理装置であって、
無線リンク層レベルで前記情報処理装置との接続を確立してIPアドレス配布要求を行った第1の外部装置と前記情報処理装置とがIP層レベルでの無線通信を行えるよう、前記第1の外部装置にIPアドレスを配布する配布手段と、
設定画面を介したユーザ操作に従って、前記IP層レベルで接続可能な外部装置の数を示す第1の接続数を設定する設定手段と、
前記IP層レベルで前記情報処理装置と接続している外部装置の数が、前記第1の接続数に達しているか否かを判定する判定手段と、
前記判定手段による判定の結果、前記第1の接続数に達していた場合、前記第1の外部装置に前記IPアドレスを配布しないよう前記配布手段を制御し、前記判定手段による判定の結果、前記第1の接続数に達していない場合、前記第1の外部装置に前記IPアドレスを配布するよう前記配布手段を制御する制御手段と、を有し、
前記設定手段は、前記設定画面を介したユーザ操作に従って、1以上の数値である第1の数値及び前記第1の数値より値が大きい第2の数値を含む複数の数値の中からいずれか1つの数値を、前記第1の接続数として設定することを特徴とする情報処理装置。
An information processing device that establishes a wireless network with an external device to perform wireless communication,
The first external device, which has established a connection with the information processing device at the wireless link layer level and has made an IP address distribution request, and the information processing device can perform wireless communication at the IP layer level. Distribution means for distributing an IP address to an external device,
Setting means for setting a first number of connections indicating the number of external devices connectable at the IP layer level according to a user operation via a setting screen;
Determination means for determining whether or not the number of external devices connected to the information processing device at the IP layer level has reached the first number of connections;
As a result of the judgment by the judgment means, when the first number of connections has been reached, the distribution means is controlled so as not to distribute the IP address to the first external device, and the judgment result by the judgment means Control means for controlling the distribution means so as to distribute the IP address to the first external device when the first number of connections has not been reached,
Any one of a plurality of numerical values including a first numerical value that is one or more numerical values and a second numerical value that is greater than the first numerical value, according to a user operation via the setting screen, An information processing device, wherein one numerical value is set as the first number of connections.
前記判定手段は、前記第1の外部装置との前記無線リンク層レベルでの接続確立後、前記第1の外部装置からIPアドレス配布要求を受信した時に、前記判定を行うことを特徴とする請求項1又は2に記載の情報処理装置。   The determination means may perform the determination when an IP address distribution request is received from the first external device after establishing a connection with the first external device at the wireless link layer level. The information processing device according to item 1 or 2. 前記IP層レベルで前記情報処理装置に接続した外部装置から、前記無線ネットワークを介してデータを受信し、当該受信したデータに基づき出力処理を実行する実行手段を更に有することを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。   The apparatus further comprises execution means for receiving data from an external device connected to the information processing device at the IP layer level via the wireless network and executing an output process based on the received data. The information processing apparatus according to any one of 1 to 3. 印刷手段を更に有し、
前記実行手段は、前記IP層レベルで前記情報処理装置に接続した外部装置から、前記無線ネットワークを介して印刷データを受信した場合に、前記受信した印刷データに基づきシートに画像を印刷する印刷処理を実行することを特徴とする請求項4に記載の情報処理装置。
Further having a printing means,
When the execution unit receives print data from the external device connected to the information processing device at the IP layer level via the wireless network, the print process prints an image on a sheet based on the received print data. The information processing apparatus according to claim 4, wherein the information processing apparatus executes.
読取手段を更に有し、
前記実行手段は、前記IP層レベルで前記情報処理装置に接続した外部装置から、前記無線ネットワークを介してデータ送信に関する情報を受信した場合に、当該受信したデータ送信に関わるデータに基づき、ファクシミリを送信する出力処理を実行することを特徴とする請求項4に記載の情報処理装置。
Further having a reading means,
When the execution unit receives information regarding data transmission from the external device connected to the information processing device at the IP layer level via the wireless network, the execution unit performs facsimile transmission based on the received data regarding data transmission. The information processing apparatus according to claim 4, which executes an output process of transmitting.
前記実行手段は、前記無線ネットワークを介してデータを受信した場合に、前記受信したデータを前記無線ネットワークとは異なる通信インタフェースを経由して外部に送信する出力処理を実行することを特徴とする請求項4に記載の情報処理装置。   The execution means, when receiving data via the wireless network, executes an output process of transmitting the received data to the outside via a communication interface different from the wireless network. Item 4. The information processing device according to item 4. 前記制御手段は、前記判定手段による判定の結果、前記第1の接続数に達していた場合、前記IPアドレス配布要求を拒否することを特徴とする請求項1乃至7のいずれか1項に記載の情報処理装置。   8. The control unit rejects the IP address distribution request when the number of connections reaches the first number of connections as a result of the determination made by the determination unit. Information processing equipment. 前記制御手段は、前記判定手段による判定の結果、前記第1の接続数に達していた場合、前記IPアドレス配布要求を無視することを特徴とする請求項1乃至7のいずれか1項に記載の情報処理装置。   8. The control unit ignores the IP address distribution request when the number of connections reaches the first number of connections as a result of the determination made by the determination unit. Information processing equipment. 外部装置との間で無線ネットワークを構築して無線通信を行う情報処理装置の制御方法であって、
無線リンク層レベルで前記情報処理装置との接続を確立してIPアドレス配布要求を行った第1の外部装置と前記情報処理装置とがIP層レベルでの直接無線通信を行えるよう、前記第1の外部装置にIPアドレスを配布する配布工程と、
設定画面を介して入力された数値に基づいて、前記IP層レベルで接続可能な外部装置の数を示す第1の接続数を設定する設定工程と、
前記IP層レベルで前記情報処理装置と接続している外部装置の数が、前記第1の接続数に達しているか否かを判定する判定工程と、
前記判定工程における判定の結果、前記第1の接続数に達していた場合、前記第1の外部装置に前記IPアドレスを配布しないよう前記配布工程を制御し、前記判定工程における判定の結果、前記第1の接続数に達していない場合、前記第1の外部装置に前記IPアドレスを配布するよう前記配布工程を制御する制御工程と、
を有することを特徴とする制御方法。
A method for controlling an information processing device that establishes a wireless network with an external device to perform wireless communication,
The first external device, which has established a connection with the information processing device at the wireless link layer level and has made an IP address distribution request, and the information processing device can perform direct wireless communication at the IP layer level. Distribution step of distributing the IP address to the external device of
A setting step of setting a first number of connections indicating the number of external devices connectable at the IP layer level, based on a numerical value input via a setting screen;
A determining step of determining whether or not the number of external devices connected to the information processing device at the IP layer level has reached the first number of connections;
As a result of the judgment in the judgment step, when the first number of connections has been reached, the distribution step is controlled so as not to distribute the IP address to the first external device, and the judgment result in the judgment step is A control step of controlling the distribution step so as to distribute the IP address to the first external device when the first connection number has not been reached;
A control method comprising:
外部装置との間で無線ネットワークを構築して無線通信を行う情報処理装置の制御方法であって、
無線リンク層レベルで前記情報処理装置との接続を確立してIPアドレス配布要求を行った第1の外部装置と前記情報処理装置とがIP層レベルでの直接無線通信を行えるよう、前記第1の外部装置にIPアドレスを配布する配布工程と、
設定画面を介したユーザ操作に従って、前記IP層レベルで接続可能な外部装置の数を示す第1の接続数を設定する設定工程と、
前記IP層レベルで前記情報処理装置と接続している外部装置の数が、前記第1の接続数に達しているか否かを判定する判定工程と、
前記判定工程における判定の結果、前記第1の接続数に達していた場合、前記第1の外部装置に前記IPアドレスを配布しないよう前記配布工程を制御し、前記判定工程における判定の結果、前記第1の接続数に達していない場合、前記第1の外部装置に前記IPアドレスを配布するよう前記配布工程を制御する制御工程と、
を有し、
前記設定工程では、前記設定画面を介したユーザ操作に従って、1以上の数値である第1の数値及び前記第1の数値より値が大きい第2の数値を含む複数の数値の中からいずれか1つの数値を前記第1の接続数として設定することを特徴とする制御方法。
A method for controlling an information processing device that establishes a wireless network with an external device to perform wireless communication,
The first external device, which has established a connection with the information processing device at the wireless link layer level and has made an IP address distribution request, and the information processing device can perform direct wireless communication at the IP layer level. Distribution step of distributing the IP address to the external device of
A setting step of setting a first number of connections indicating the number of external devices connectable at the IP layer level according to a user operation via a setting screen;
A determination step of determining whether or not the number of external devices connected to the information processing device at the IP layer level has reached the first number of connections;
As a result of the judgment in the judgment step, if the first number of connections has been reached, the distribution step is controlled so as not to distribute the IP address to the first external device, and the judgment result in the judgment step A control step of controlling the distribution step so as to distribute the IP address to the first external device when the first number of connections has not been reached;
Have
In the setting step, any one of a plurality of numerical values including a first numerical value that is one or more numerical values and a second numerical value that is larger than the first numerical value is selected according to a user operation via the setting screen. A control method, wherein one numerical value is set as the first number of connections.
前記IP層レベルで前記情報処理装置に接続した外部装置から、前記無線ネットワークを介してデータを受信し、当該受信したデータに基づき出力処理を実行する実行工程を更に有することを特徴とする請求項11に記載の制御方法。   The method further comprises an execution step of receiving data from an external device connected to the information processing device at the IP layer level via the wireless network, and executing an output process based on the received data. 11. The control method according to item 11. 前記情報処理装置は印刷手段を有するプリンタであり、
前記実行工程では、前記IP層レベルで前記情報処理装置に接続した外部装置から、前記無線ネットワークを介して印刷データを受信した場合に、前記受信した印刷データに基づき前記印刷手段にシートに画像を印刷する印刷処理を実行させることを特徴とする請求項12に記載の制御方法。
The information processing apparatus is a printer having a printing unit,
In the executing step, when print data is received from an external device connected to the information processing device at the IP layer level via the wireless network, an image is printed on a sheet by the printing unit based on the received print data. The control method according to claim 12, wherein a printing process for printing is executed.
前記情報処理装置はファクシミリインタフェースを有する画像処理装置であり、
前記実行工程では、前記無線ネットワークを介してデータ送信に関する情報を受信した場合に、当該受信したデータ送信に関わるデータに基づき、前記ファクシミリインタフェースを介してファクシミリを送信する出力処理を実行することを特徴とする請求項12に記載の制御方法。
The information processing apparatus is an image processing apparatus having a facsimile interface,
In the executing step, when the information related to the data transmission is received via the wireless network, an output process of transmitting a facsimile via the facsimile interface is executed based on the received data related to the data transmission. The control method according to claim 12.
前記実行工程では、前記無線ネットワークを介してデータを受信した場合に、前記受信したデータを前記無線ネットワークとは異なる通信インタフェースを経由して外部に送信する出力処理を実行することを特徴とする請求項12に記載の制御方法。   In the execution step, when data is received via the wireless network, an output process of transmitting the received data to the outside via a communication interface different from the wireless network is executed. Item 13. The control method according to Item 12. 請求項11乃至15のいずれか1項に記載の情報処理装置の制御方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the control method of the information processing device according to any one of claims 11 to 15.
JP2019234703A 2019-12-25 2019-12-25 Information processing equipment, control methods and programs for information processing equipment, and storage media Active JP6862532B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019234703A JP6862532B2 (en) 2019-12-25 2019-12-25 Information processing equipment, control methods and programs for information processing equipment, and storage media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019234703A JP6862532B2 (en) 2019-12-25 2019-12-25 Information processing equipment, control methods and programs for information processing equipment, and storage media

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015163748A Division JP6643006B2 (en) 2015-08-21 2015-08-21 Information processing apparatus, control method and program for information processing apparatus, and storage medium

Publications (2)

Publication Number Publication Date
JP2020074532A true JP2020074532A (en) 2020-05-14
JP6862532B2 JP6862532B2 (en) 2021-04-21

Family

ID=70610297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019234703A Active JP6862532B2 (en) 2019-12-25 2019-12-25 Information processing equipment, control methods and programs for information processing equipment, and storage media

Country Status (1)

Country Link
JP (1) JP6862532B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000059387A (en) * 1998-08-10 2000-02-25 Fujitsu Ltd Dhcp server device
JP2001036550A (en) * 1999-07-16 2001-02-09 Nec Eng Ltd Automatic address assigning system
JP2007174543A (en) * 2005-12-26 2007-07-05 Nec Infrontia Corp Wireless lan system and control method
JP2007215194A (en) * 2006-02-09 2007-08-23 Ricoh Co Ltd Method, computer readable medium and radio controller for using wireless device to control wireless network device
US20100296441A1 (en) * 2006-02-22 2010-11-25 Elad Barkan Wireless internet system and method
JP2013157942A (en) * 2012-01-31 2013-08-15 Brother Ind Ltd Communication apparatus
JP2013162323A (en) * 2012-02-03 2013-08-19 Canon Inc Radio communication device and its control method, and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000059387A (en) * 1998-08-10 2000-02-25 Fujitsu Ltd Dhcp server device
JP2001036550A (en) * 1999-07-16 2001-02-09 Nec Eng Ltd Automatic address assigning system
JP2007174543A (en) * 2005-12-26 2007-07-05 Nec Infrontia Corp Wireless lan system and control method
JP2007215194A (en) * 2006-02-09 2007-08-23 Ricoh Co Ltd Method, computer readable medium and radio controller for using wireless device to control wireless network device
US20100296441A1 (en) * 2006-02-22 2010-11-25 Elad Barkan Wireless internet system and method
JP2013157942A (en) * 2012-01-31 2013-08-15 Brother Ind Ltd Communication apparatus
JP2013162323A (en) * 2012-02-03 2013-08-19 Canon Inc Radio communication device and its control method, and program

Also Published As

Publication number Publication date
JP6862532B2 (en) 2021-04-21

Similar Documents

Publication Publication Date Title
JP5954142B2 (en) Image processing system, image processing apparatus, and information processing apparatus
US10158560B2 (en) Communication apparatus, control method therefor, and computer-readable storage medium
JP6643006B2 (en) Information processing apparatus, control method and program for information processing apparatus, and storage medium
JP6222950B2 (en) Printing apparatus, control method thereof, and program
JP4582203B2 (en) Image forming apparatus, communication control method and communication control program in the same
JP6103997B2 (en) Printing apparatus, control method therefor, and program
JP2014179927A (en) Communication device and method of controlling the same, communication system, and program
KR101840090B1 (en) Information processing apparatus, control method for controlling the same, and program
US20120140267A1 (en) Scanning apparatus, mobile apparatus, and scan job performing method thereof
US10624139B2 (en) Communication device and storage medium suitable for connection to wireless LAN (local area network)
JP6862532B2 (en) Information processing equipment, control methods and programs for information processing equipment, and storage media
JP2018153962A (en) Information processing device, control method and program
JP2017173872A (en) Information processing apparatus, image formation apparatus, and information processing program
JP2016009994A (en) Information processing device, information processing device communication method, and program
JP7383432B2 (en) Communication device, communication device control method, and program
JP6634057B2 (en) Communication device, control method thereof, and program
KR20190007393A (en) Printing apparatus, method for controlling the same, and computer program
US10966273B2 (en) Connection management apparatus and non-transitory computer readable medium
JP2018032928A (en) Device with radio communication function and program executed by the same
CN108024388B (en) Communication apparatus and storage medium
JP2017085236A (en) Communication device, information processing method, and program
JP2009177367A (en) Image forming apparatus, information processing method, and program
JP6326161B2 (en) Printing apparatus, control method therefor, and program
JP2023165196A (en) Information processing system, information processing apparatus, information processing method, and program
JP2020155895A (en) Information processing system and information processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191225

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210331

R151 Written notification of patent or utility model registration

Ref document number: 6862532

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151