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 PDFInfo
- 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
Links
Images
Abstract
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).
しかしながら、情報処理装置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.
以下、本発明を実施するための最良の形態について図面を用いて説明する。なお、以下の実施の形態は特許請求の範囲に係る発明を限定するものでなく、また実施の形態で説明されている特徴の組み合わせの全てが発明の解決手段に必須のものとは限らない。 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
尚、本実施の形態では情報処理装置として複合機である印刷装置100を例示しているが、DHCPサーバとしてDHCPクライアントにIPアドレスの配布を行う情報処理装置であればこれに限定されるわけではなく、例えば、スキャナ機能を備えないプリンタやファクシミリ装置であってもよい。
In the present embodiment, the
また、本実施の形態では外部端末として携帯端末110及び他の携帯端末140を例示しているが、印刷装置100とDHCPクライアントとして無線通信できる装置であればこれに限定されるわけでなく、例えばPCであってもよい。
Further, although the
次に、印刷装置100の構成を説明する。
Next, the configuration of the
図2は、図1の印刷装置100のハードウェア構成図である。
FIG. 2 is a hardware configuration diagram of the
図2において、CPU202はROM204が記憶している制御プログラムを読み出して、DHCPサーバ機能をはじめとする、印刷装置100の動作を制御するための様々な処理を実行する。ROM204は、制御プログラムを記憶している。RAM203は、CPU202の主メモリ、ワークエリア等の一時記憶領域として用いられる。HDD212は、印刷データやスキャン画像等の様々なデータを記憶する。
In FIG. 2, the
なお、印刷装置100の場合、1つのCPU202が後述するフローチャートに示す各処理を実行するものとするが、他の態様であっても構わない。例えば、複数のCPUが協働して後述するフローチャートに示す各処理を実行するようにすることもできる。
Note that in the case of the
プリンタ207は、携帯端末110や他の携帯端末140から受信した印刷データやスキャナ209によって生成されたスキャン画像等に基づいて、シートに印刷する印刷処理を実行する。スキャナ209は、原稿を読み取ってスキャン画像(読取画像データ)を生成する。スキャナ209によって生成されたスキャン画像は、プリンタ207によって印刷されたり、HDD212に記憶されたりする。尚、本実施の形態では携帯端末110から受信したデータのデータ処理として印刷処理を例示したが、本願発明のデータ処理はこれに限定されるわけでなく、例えば、携帯端末110から受信したデータを不図示のFAX送受信部にから外部のファクシミリ装置にFAX送信する処理であってもよい。
The
操作部211は、タッチパネル機能を有する液晶表示部やキーボードを備え、後述する各種画面を表示する。ユーザは、操作部211を介して印刷装置100に対して指示や情報を入力することができる。
The
無線LAN I/F201は、携帯端末110や他の携帯端末140等の外部装置との間でWi−Fi Directに基づく無線通信を実行する。
The wireless LAN I /
次に印刷装置100において印刷装置100とIP層レベルで接続する外部装置の数がDHCPの最大接続数(第1の接続数)に達した場合に実行される処理を説明する。
Next, a process executed when the number of external devices connected to the
図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
尚、図3のフローチャートに示す各ステップは、CPU202がROM204等のメモリに格納された制御プログラムをRAM203に展開して実行することによって処理される。
Each step shown in the flowchart of FIG. 3 is processed by the
印刷装置100の電源がONとなった後(ステップS300)、CPU202が携帯端末110からWi−Fi Directの接続要求を受信したと判定した場合(ステップS301でYES)、ステップS302に進む。この接続要求は携帯端末110側でユーザがSSID等を入力することによりおこなわれる。
After the power of the
ステップS302において、CPU202は、印刷装置100と無線リンク層レベルで接続する外部装置の数が無線リンク層レベルの最大接続数(前記無線リンク層レベルで接続可能な外部装置の数:第2の接続数)に達しているかどうかを判定する。尚、この無線リンク層レベルの最大接続数は本実施の形態においては印刷装置100内の無線チップやファームが固有の値を決定しているため、変更することができない。
In step S302, the
無線のリンク層レベルの最大接続数に達していると判定した場合(ステップ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
一方、無線リンク層レベルの最大接続数に達していないと判定した場合(ステップ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
ステップS306において、CPU202はDHCPの最大接続数(印刷装置100とIP層レベルで接続可能な外部装置の数:第1の接続数)に達しているかどうかを判定する。
In step S306, the
ここで、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
かかる構成とすることで、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
この管理は、より具体的には、無線のリンク層レベルでの最大接続数を通常のネットワーク使用においてはステップ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
図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
一方、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
尚、携帯端末110は、かかる場合に一定回数IPアドレス配布要求を再試行(リトライ)し、再接続を試みるような構成であってもよい。しかし、再試行中であっても、上記IPアドレス配布要求をした後、携帯端末110においてユーザが印刷指示をするとUIにおいて「印刷NG」等のエラー通知が速やかに表示される。よって、ステップS303での接続拒否の場合と違って、エラー通知の表示の遅れによるユーザへのストレスは生じない。また、かかるエラー通知の表示後も、無線リンク層の接続は維持されているので、ユーザが再度時間をおいて携帯端末110から印刷装置100に対しIPアドレス配布要求を行うことにした場合であっても、ステップS303での接続拒否の場合と違ってWi−Fi Directの接続要求に必要なSSID等の再入力の必要はないので、操作の手間を簡略化できる。
Note that the
尚、本実施の形態では、ステップS308において、CPU202はIPアドレス配布要求を拒否したが、IPアドレス配布要求を無視して何も応答しないようDHCPサーバ機能を制御してもよい。かかる制御は、ステップS306で最大接続数に達していると判定した場合、DHCPサーバ機能は動作させているが上記IPアドレス配布要求に対しDHCPサーバ機能に何らの応答も行わせないという方法等により行われる。
Although the
このように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
しかし、再試行中であっても、上記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
上記ステップS308の処理後、CPU202は、他の携帯端末140とのWi−Fi Direct通信が終了し、接続台数に空きが出たと判定した場合(ステップS309でYES)、携帯端末110にDHCPサーバ機能でIPアドレスを配布し、IP層での接続も可能な状態とした後(ステップS307)、本処理を終了する。
After the processing of step S308, when the
一方、接続台数に空きが出ないまま(ステップ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
本実施の形態によれば、携帯端末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
図5は、本発明の第1の実施形態にかかる印刷装置100から携帯端末100にIPアドレスを配布する場合のシーケンス図である。
FIG. 5 is a sequence diagram when an IP address is distributed from the
まずユーザが携帯端末110側で無線接続準備操作を行うと(ステップS501)、携帯端末110が印刷装置100に接続要求を行う(ステップS502)。この要求に応じて印刷装置100が接続OKの応答を行うと(ステップS503)、印刷装置100と携帯端末110の間の無線リンク層での接続が完了する。
First, when the user performs a wireless connection preparation operation on the
その後、ステップ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
その後、携帯端末110が、ステップS509で配布されたIPアドレスを用いて印刷装置100とのIP層レベルでの接続を確立した後、印刷処理要求が携帯端末110から印刷装置100に送信されると、印刷装置100はこの印刷処理要求に応じた印刷処理を行なう(ステップS510)。
After that, after the
以上の説明の通り、本実施形態によれば、印刷装置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
(第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
従って、第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
図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
図3と同様、図6のフローチャートに示す各ステップも、CPU202がROM204等のメモリに格納された制御プログラムをRAM203に展開して実行することによって処理される。
Similar to FIG. 3, each step shown in the flowchart of FIG. 6 is processed by the
印刷装置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
次に、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
以上の説明の通り、本実施形態によれば、印刷装置100のCPU202は、まず携帯端末110との間で無線リンク層での接続を行う。次に、あらかじめ設定されたDHCPの最大接続数に達しているか否かに応じて、DHCPサーバ機能の停止、再開を決定する。これにより、携帯端末110側にいるユーザは1度だけの無線接続準備操作で済み、操作の負荷を軽減することができる。また、無線リンク層レベルで携帯端末110と印刷装置100の接続が完了した後は、ユーザは携帯端末110と印刷装置100の間で自動的にIP層レベルでの接続が行われるまで待つだけでよいため、ユーザビリティ性も向上できる。
As described above, according to the present embodiment, the
(その他の実施形態)
本発明は、上述の実施形態の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
202 CPU
203 RAM
204 ROM
207
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.
前記実行手段は、前記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.
無線リンク層レベルで前記情報処理装置との接続を確立して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層レベルで前記情報処理装置に接続した外部装置から、前記無線ネットワークを介して印刷データを受信した場合に、前記受信した印刷データに基づき前記印刷手段にシートに画像を印刷する印刷処理を実行させることを特徴とする請求項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.
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)
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 |
-
2019
- 2019-12-25 JP JP2019234703A patent/JP6862532B2/en active Active
Patent Citations (7)
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 |