JP5158041B2 - Terminal device and system - Google Patents
Terminal device and system Download PDFInfo
- Publication number
- JP5158041B2 JP5158041B2 JP2009200489A JP2009200489A JP5158041B2 JP 5158041 B2 JP5158041 B2 JP 5158041B2 JP 2009200489 A JP2009200489 A JP 2009200489A JP 2009200489 A JP2009200489 A JP 2009200489A JP 5158041 B2 JP5158041 B2 JP 5158041B2
- Authority
- JP
- Japan
- Prior art keywords
- setting
- terminal device
- communication
- mfp
- box
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Description
本発明は、端末装置およびシステムに関するものである。 The present invention relates to a terminal device and a system .
特許文献1には、インターネットラジオ20に、無線LANアクセスポイントルータ30との無線通信を可能とする技術が記載されている。具体的には、PC10とインターネットラジオ20とをアドホックモードで直接的に接続する。そして、PC10が無線LANアクセスポイントルータ30との無線通信に使用しているSSIDおよびWEP鍵を、PC10からインターネットラジオ20に送信し、その送信されたSSIDおよびWEP鍵をインターネットラジオ20に設定する技術が記載されている。
Japanese Patent Application Laid-Open No. 2004-228561 describes a technique that enables wireless communication with the wireless LAN access point router 30 on the
しかしながら、上述した特許文献1に記載されている技術は、既に、PC10が無線LANアクセスポイントルータ30と無線通信可能に設定されていることが前提となる技術である。よって、PC10と、インターネットラジオ20との各々に、無線LANアクセスポイントルータ30を介して無線通信可能なインフラストラクチャーモードの通信設定を行うことはできない。
However, the technique described in
また、上述した特許文献1は、PC10からインターネットラジオ20にSSIDおよびWEP鍵を送信した後は、インターネットラジオ20における通信設定が成功したか否かに拘らず、PC10は、当初設定されていたインフラストラクチャーモードに再設定される。よっって、インターネットラジオ20の設定が失敗した場合には、PC10とインターネットラジオ20との間で無線通信ができなくなるという問題点があった。
Further, in
本発明は、上述した問題点を解決するためになされたものであり、2台の端末装置の各々について、インフラストラクチャーモードで無線通信可能な通信設定を確実に行うことができる端末装置およびシステムを提供することを目的としている。 The present invention has been made in order to solve the above-described problems, and a terminal device and a system capable of reliably performing communication settings capable of wireless communication in an infrastructure mode for each of two terminal devices. It is intended to provide.
この目的を達成するために、本発明の端末装置は、所定の端末装置と直接無線通信可能なアドホックモードと、所定の端末装置とアクセスポイントを介して無線通信可能なインフラストラクチャーモードとの何れか一方の通信モードで、前記所定の端末装置と無線通信可能に接続されるものであって、所定の端末装置と前記インフラストラクチャーモードで通信を行うための通信設定の設定を開始する指示を入力する入力手段と、その入力手段を介して前記指示が入力された場合に、現在の通信設定を保存する保存手段と、その保存手段によって保存したことを条件に、自端末装置について、1のアクセスポイントを介する前記インフラストラクチャーモードでの通信を行うための設定変更を行う第1設定手段と、その第1設定手段による設定変更が所定時間内に完了したかを判断する完了判断手段と、その完了判断手段により、前記第1設定手段による設定変更が所定時間内に完了したと判断された場合、前記第1設定手段によって設定された通信設定から前記保存手段によって保存されている通信設定に変更する変更手段と、その変更手段によって変更された通信設定で前記設定変更を行うように要求する要求手段と、前記所定の端末装置を識別可能な識別情報を記憶する記憶手段と、前記完了判断手段により、前記第1設定手段による設定変更が所定時間内に完了したと判断された場合、同一ネットワークに接続されている端末装置に対して、その端末装置を識別可能な識別情報を返信することを指示する返信指示手段と、その返信指示手段によって前記端末装置から返信される識別情報と、前記記憶手段に記憶されている識別情報とが一致するかを判断する第1判断手段と、その第1判断手段によって一致すると判断され、かつ、要求手段による要求に対する応答を受信したことを条件に、前記第1設定手段によって設定された通信設定の内容を前記所定の端末装置に送信する送信手段と、その送信手段による送信に対して、前記所定の端末装置において、前記1のアクセスポイントを介する前記インフラストラクチャーモードでの通信を行うための設定変更が完了したことを示す完了通知を、前記所定の端末装置から前記アドホックモードで受信する完了通知受信手段と、その完了通知受信手段によって前記完了通知を受信したことを条件に、前記第1設定手段によって設定された通信設定に再設定する再設定手段と、前記完了判断手段により、前記第1設定手段による設定変更が所定時間内に完了しなかったと判断された場合、前記入力手段によって入力された指示に基づき開始された設定を終了する終了手段と、を備えている。 In order to achieve this object, the terminal device of the present invention is one of an ad hoc mode capable of wireless communication directly with a predetermined terminal device and an infrastructure mode capable of wireless communication with the predetermined terminal device via an access point. In one communication mode, connected to the predetermined terminal device so as to be capable of wireless communication, and inputs an instruction to start setting communication settings for communicating with the predetermined terminal device in the infrastructure mode One access point for the terminal device on the condition that the current communication setting is saved by the input means, the saving means for saving the current communication setting when the instruction is input via the input means, and the saving means; a first setting means for setting changes for communicating with the infrastructure mode via, set by the first setting means And completion determining means changes are judged complete within a predetermined time, by the completion determining means, when the setting change by the first setting means is determined to be completed within a predetermined time period, by the first setting means Changing means for changing from the set communication setting to the communication setting saved by the saving means; Request means for requesting the setting change with the communication setting changed by the changing means; and the predetermined terminal A storage device that stores identification information that can identify the device, and a terminal device connected to the same network when the completion determination unit determines that the setting change by the first setting unit has been completed within a predetermined time A reply instruction means for instructing to return identification information that can identify the terminal apparatus, and a reply instruction means for replying from the terminal apparatus. That the identification information, a first determination means for determining whether the identification information stored in the storage unit match, it is determined to match by the first determination means, and receiving a response to the request by the requesting means On the condition, the transmission means for transmitting the contents of the communication setting set by the first setting means to the predetermined terminal device, and the transmission by the transmission means, the predetermined terminal device A completion notification receiving means for receiving, in the ad hoc mode, a completion notification indicating that a setting change for performing communication in the infrastructure mode via the access point is completed, and receiving the completion notification A resetting procedure for resetting the communication setting set by the first setting means on condition that the completion notification is received by the means; And an end means for ending the setting started based on the instruction input by the input means when the completion determining means determines that the setting change by the first setting means has not been completed within a predetermined time. And .
また、本発明のシステムは、第1の端末装置と、第2の端末装置とを含んで構成される通信システムであって、前記第1の端末と前記第2の端末とが直接無線通信可能なアドホックモードと、前記第1の端末と前記第2の端末とがアクセスポイントを介して無線通信可能なインフラストラクチャーモードとの何れか一方の通信モードで、前記第1の端末装置と前記第2の端末装置とが無線通信可能に接続されるものであって、前記第1の端末装置は、所定の端末装置と前記インフラストラクチャーモードで通信を行うための通信設定の設定を開始する指示を入力する入力手段と、その入力手段を介して前記指示が入力された場合に、現在の通信設定を保存する第1保存手段と、その第1保存手段によって保存したことを条件に、自端末装置について、1のアクセスポイントを介する前記インフラストラクチャーモードでの通信を行うための設定変更を行う第1設定手段と、その第1設定手段による設定変更が所定時間内に完了したかを判断する完了判断手段と、その完了判断手段により、前記第1設定手段による設定変更が所定時間内に完了したと判断された場合、前記第1設定手段によって設定された通信設定から前記第1保存手段によって保存されている通信設定に変更する第1変更手段と、その第1変更手段によって変更された通信設定で前記設定変更を行うように要求する要求手段と、前記第2の端末装置を識別可能な識別情報を記憶する第1記憶手段と、前記完了判断手段により、前記第1設定手段による設定変更が所定時間内に完了したと判断された場合、同一ネットワークに接続されている端末装置に対して、その端末装置を識別可能な識別情報を返信することを指示する返信指示手段と、その返信指示手段によって前記端末装置から返信される識別情報と、前記第1記憶手段に記憶されている識別情報とが一致するかを判断する判断手段と、その判断手段によって一致すると判断され、かつ、要求手段による要求に対する応答を受信したことを条件に、前記第1設定手段によって設定された通信設定の内容を前記第2の端末装置に送信する送信手段と、その送信手段による送信に対して、前記第2の端末装置において、前記1のアクセスポイントを介する前記インフラストラクチャーモードでの通信を行うための設定変更が完了したことを示す完了通知を、前記第2の端末装置から前記アドホックモードで受信する完了通知受信手段と、その完了通知受信手段によって前記完了通知を受信したことを条件に、前記第1設定手段によって設定された通信設定に再設定する第1再設定手段と、前記完了判断手段により、前記第1設定手段による設定変更が所定時間内に完了しなかったと判断された場合、前記入力手段によって入力された指示に基づき開始された設定を終了する終了手段と、を備え、前記第2の端末装置は、前記第1の端末装置から、前記要求手段による要求を受信する要求受信手段と、その要求受信手段によって前記要求を受信した場合に、現在の通信設定を保存する第2保存手段と、前記要求受信手段によって前記要求を受信した場合に、当該要求に対する応答を前記第1の端末装置に送信する応答手段と、前記第1の端末装置から、前記送信手段により送信された前記通信設定の内容を受信する受信手段と、その受信手段によって受信した前記通信設定に基づき、自端末装置について、前記インフラストラクチャーモードで、前記1のアクセスポイントを介する通信を行うための設定変更を行う第2設定手段と、その第2設定手段によって設定された通信設定から前記第2保存手段によって保存されている通信設定に変更する第2変更手段と、その第2変更手段によって変更された通信設定で、前記完了通知を前記第1の端末装置に送信する完了通知送信手段と、その完了通知送信手段によって前記完了通知を送信したことを条件に、前記第2設定手段によって設定された通信設定に再設定する第2再設定手段と、自端末装置を識別可能な識別情報を記憶する第2記憶手段と、自端末装置の前記識別情報を返信させる指示を、前記第1の端末装置から受信した場合に、自端末装置の前記識別情報を、前記第1の端末装置に返信する返信手段と、を備えている。 The system of the present invention is a communication system including a first terminal device and a second terminal device, and the first terminal and the second terminal can directly communicate with each other. The first terminal device and the second communication mode in any one of a communication mode of an ad hoc mode and an infrastructure mode in which the first terminal and the second terminal can communicate wirelessly via an access point. The first terminal device inputs an instruction to start setting communication settings for communicating with the predetermined terminal device in the infrastructure mode. input means for, when the instruction is input via the input means, a first storage means for storing current communication settings, on the condition that saved by the first storage means, to the radio terminal device A first setting unit for changing a setting for performing communication in the infrastructure mode via one access point, and a completion determination for determining whether the setting change by the first setting unit is completed within a predetermined time. And the completion determining means, when it is determined that the setting change by the first setting means is completed within a predetermined time, the first storage means saves the communication setting set by the first setting means. First changing means for changing to the current communication setting, request means for requesting the setting change with the communication setting changed by the first changing means, and identification information for identifying the second terminal device If it is determined by the first storage means for storing the information and the completion determination means that the setting change by the first setting means has been completed within a predetermined time, the same network A reply instruction means for instructing a terminal apparatus connected to the terminal to return identification information that can identify the terminal apparatus, identification information returned from the terminal apparatus by the reply instruction means, The determination means for determining whether or not the identification information stored in the first storage means matches, and on the condition that the determination means determines that the identification information matches and the response to the request by the request means has been received. Transmission means for transmitting the contents of the communication settings set by the first setting means to the second terminal device, and the transmission by the transmission means via the first access point in the second terminal device A completion notification indicating that the setting change for performing communication in the infrastructure mode is completed is sent from the second terminal device in the ad hoc mode. A completion notification receiving means for receiving, a first resetting means for resetting the communication setting set by the first setting means on the condition that the completion notification is received by the completion notification receiving means, and the completion determination Means for ending the setting started based on the instruction input by the input means when it is determined by the means that the setting change by the first setting means has not been completed within a predetermined time, and The second terminal device receives a request from the first terminal device by a request receiving unit, and stores the current communication setting when the request is received by the request receiving unit. When the request is received by the storage means, the request receiving means, a response means for transmitting a response to the request to the first terminal apparatus, and the first terminal apparatus And receiving means for receiving the contents of the communication setting transmitted by the transmitting means, and the local terminal device via the first access point in the infrastructure mode based on the communication setting received by the receiving means. Second setting means for changing a setting for performing communication, second changing means for changing the communication setting set by the second setting means to the communication setting saved by the second saving means, and the second setting means 2 on the condition that the completion notification is transmitted to the first terminal device with the communication setting changed by the changing unit, and the completion notification is transmitted by the completion notification transmission unit. A second resetting unit for resetting the communication setting set by the setting unit, and a second storage for storing identification information for identifying the terminal device itself And a reply means for returning the identification information of the terminal device to the first terminal device when an instruction to return the identification information of the terminal device is received from the first terminal device; It has.
請求項5記載の端末装置によれば、入力手段を介してインフラストラクチャーモードへの設定変更を行う指示が入力されると、現在の通信設定が保存され、指示された設定変更が行われる。そして、第1設定手段によって設定された通信設定から保存されている通信設定に変更され、その変更された通信設定で所定の端末装置に前記設定変更を行うように指示する要求がなされる。そして、その要求に対応する応答を条件に、第1設定手段によって設定された通信設定の内容が所定の端末装置に送信され、その送信に対して、アクセスポイントとの通信において、インフラストラクチャーモードへの設定変更が完了したことを示す完了通知を所定の端末装置からアドホックモードで受信したことを条件に、前記第1設定手段によって設定した通信設定に再設定される。よって、所定の端末装置において設定変更が完了せず、自装置における設定変更だけが完了し、所定の端末装置と無線通信ができなくなるのを防止することができる。従って、2台の端末装置について、インフラストラクチャーモードで無線通信可能な通信設定を確実に行うことができるという効果がある。
また、完了判断手段により、第1設定手段による設定変更が所定時間内に完了したと判断された場合、同一ネットワークに接続されている端末装置に、その端末装置を識別可能な識別情報を返信することが指示される。そして、返信される識別情報と、記憶手段に記憶されている識別情報とが一致するかが判断され、一致すると判断された場合に前記要求がなされる。よって、前記要求をする所定の端末装置を、記憶手段に記憶されている識別情報によって特定される端末装置に特定することができる。従って、無線通信可能に接続されている必要がある端末装置を、所定の端末装置とし、その所定の端末装置の識別情報を記憶手段に記憶しておくことで、その所定の端末装置との間で、インフラストラクチャーモードで無線通信可能な通信設定を確実に行うことができるという効果がある。
請求項2記載の端末装置によれば、請求項1に記載の端末装置の奏する効果に加え、再設定手段によって通信設定の再設定が行われた場合、同一ネットワークに接続されている端末装置に、その端末装置を識別可能な識別情報を返信することが指示される。そして、返信される識別情報と、記憶手段に記憶されている識別情報とが一致するかが判断され、一致すると判断された場合には、インフラストラクチャーモードで、1のアクセスポイントを介して所定の端末装置と無線通信できることが、報知手段により報知される。一方、一致しないと判断された場合には、インフラストラクチャーモードで、1のアクセスポイントを介して所定の端末装置と無線通信できないことが、報知手段により報知される。よって、ユーザは、自端末装置と所定の端末装置との間でインフラストラクチャーモードで無線通信を行うことができるか否かを認識できる。
According to the terminal device of the fifth aspect, when an instruction to change the setting to the infrastructure mode is input via the input unit, the current communication setting is saved, and the instructed setting change is performed. Then, the communication setting set by the first setting means is changed to the saved communication setting, and a request is made to instruct a predetermined terminal device to change the setting with the changed communication setting. Then, on the condition of a response corresponding to the request, the contents of the communication settings set by the first setting means are transmitted to a predetermined terminal device, and in response to the transmission, the communication is made to the infrastructure mode in communication with the access point. The communication setting set by the first setting unit is reset on the condition that a completion notification indicating that the setting change is completed is received from the predetermined terminal device in the ad hoc mode. Therefore, it is possible to prevent the setting change in the predetermined terminal device from being completed and only the setting change in the own device from being completed, and wireless communication with the predetermined terminal device from being disabled. Therefore, there is an effect that it is possible to reliably perform communication settings enabling wireless communication in the infrastructure mode for the two terminal devices.
Further, when the completion determining unit determines that the setting change by the first setting unit is completed within a predetermined time, identification information that can identify the terminal device is returned to the terminal device connected to the same network. Is instructed. Then, it is determined whether the returned identification information matches the identification information stored in the storage means, and the request is made when it is determined that they match. Therefore, the predetermined terminal device that makes the request can be specified as the terminal device specified by the identification information stored in the storage unit. Accordingly, a terminal device that needs to be connected so as to be able to perform wireless communication is set as a predetermined terminal device, and the identification information of the predetermined terminal device is stored in the storage unit, so that Thus, there is an effect that the communication setting capable of wireless communication in the infrastructure mode can be surely performed.
According to the terminal device according to claim 2, in addition to the effect of the terminal device according to
請求項3記載の端末装置によれば、請求項1または2に記載の端末装置の奏する効果に加え、任意のアクセスポイントに対して行う操作内容が報知手段を介して報知される。そして、その報知された操作内容に対する操作が行われた場合に、第1設定手段によってインフラストラクチャーモードへの設定変更が行われる。よって、第1設定手段による設定変更を正確に行わせるのに必要な操作をユーザに報知でき、正確に第1設定手段による設定変更を行わせることができるという効果がある。 According to the terminal device of the third aspect , in addition to the effect produced by the terminal device according to the first or second aspect , the operation content to be performed on an arbitrary access point is notified via the notification means. And when operation with respect to the notified operation content is performed, the setting change to infrastructure mode is performed by the 1st setting means. Therefore, it is possible to notify the user of an operation necessary to accurately perform the setting change by the first setting means, and there is an effect that the setting change by the first setting means can be accurately performed.
請求項4記載のシステムによれば、請求項1が奏する効果を奏するとともに、第1の端末装置からインフラストラクチャーモードへの設定変更を行う要求を要求受信手段によって受信すると、現在の通信設定を保存し、要求受信手段による要求に対する応答を条件に、第1の端末装置によって設定された通信設定の内容が受信手段によって受信され、その受信した通信設定の内容により前記インフラストラクチャーモードへの設定変更が第2設定手段によって行われる。そして、第2設定手段により設定された通信設定から保存されている通信設定に変更され、その変更された通信設定で完了通知が第1の端末装置に送信され、その完了通知を送信したことを条件に、第2設定手段によって設定された通信設定に再設定される。よって、要求された設定変更が完了していないにも拘らず、所定の端末装置で設定変更がなされ、所定の端末装置と無線通信ができなくなるのを防止することができる。従って、2台の端末装置について、インフラストラクチャーモードで無線通信可能な通信設定を確実に行うことができるという効果がある。 According to the system of claim 4 , when the request receiving means receives the request for changing the setting to the infrastructure mode from the first terminal device, the current communication setting is saved. Then, on the condition of a response to the request by the request receiving means, the contents of the communication settings set by the first terminal device are received by the receiving means, and the setting change to the infrastructure mode is performed according to the contents of the received communication settings. This is performed by the second setting means. Then, the communication setting set by the second setting means is changed to the saved communication setting, the completion notification is transmitted to the first terminal device with the changed communication setting, and the completion notification is transmitted. The condition is reset to the communication setting set by the second setting means. Therefore, it is possible to prevent the wireless communication with the predetermined terminal device from being disabled due to the change of the setting in the predetermined terminal device even though the requested setting change is not completed. Therefore, there is an effect that it is possible to reliably perform communication settings enabling wireless communication in the infrastructure mode for the two terminal devices.
以下、本発明の好ましい第1の実施形態について、添付図面を参照して説明する。図1は、多機能周辺装置(以下「MFP」と称す)1と、回線制御装置(以下「BOX」と称す)31と、アクセスポイント(以下「AP」と称す)51とを示した外観斜視図である。 Hereinafter, a preferred first embodiment of the present invention will be described with reference to the accompanying drawings. FIG. 1 is an external perspective view showing a multifunction peripheral device (hereinafter referred to as “MFP”) 1, a line control device (hereinafter referred to as “BOX”) 31, and an access point (hereinafter referred to as “AP”) 51. FIG.
MFP1とBOX31とは、無線LAN方式の無線通信200によりデータ通信が可能に構成され、MFP1とBOX31との間で直接又はAP51を介してデータ通信が可能に構成されている。尚、無線LAN方式とは、例えばIEEE802.11a/b/gの規格で定められる通信方式等である。
The
無線LAN方式の無線通信200には、通信モードとして、アドホックモード(以下「Adモード」と称す)と、インフラストラクチャーモード(以下「Infモード」と称す)との2つのモードが設けられ、何れか一方のモードで通信が行われる。Adモードは、MFP1とBOX31との間で直接通信を行うモードであり、Infモードは、MFP1とBOX31とがAP51を介して通信を行うモードである。
The
MFP1とBOX31とは、自装置1,31とAP51との間で特別なデータ通信を実行し、InfモードでAP51と通信可能となるように、自装置1,31の無線LANに関する設定項目を自動的に設定する無線LAN簡単設定機能(図2参照)を有している。なお、無線LAN簡単設定機能とは、例えば、AirStation One−Touch Secure System(以下「AOSS(登録商標)」と称す)機能や、Wi−Fi Protected Setup(登録商標)(以下「WPS」と称す))機能等である。
The
AP51は、AP51に設けられているAP簡単設定ボタン51aが押下されると、MFP1またはBOX31との間で特別なデータ通信を開始する機能を有している。
The
第1の実施形態は、ユーザがMFP1だけを操作すれば、MFP1およびBOX31のそれぞれに、自装置1,31が有する無線LAN簡単設定機能を実行させることができるという形態である。その結果、MFP1およびBOX31を、同一のAP51を介して互いにデータ通信可能な状態にできる。
In the first embodiment, if the user operates only the
なお、MFP1およびBOX31が共にAdモードで互いにデータ通信可能な状態ならば、MFP1およびBOX31を同一のAP51に接続することができ、MFP1およびBOX31が共にInfモードでAP51を介して互いにデータ通信可能な状態ならば、MFP1およびBOX31の接続先となるAP51を変更できる(接続中のAP51とは別のAP51に接続できる)。
If both
MFP1には、主に、下部にプリンタ19、上部にスキャナ20、正面上部に操作パネル6が設けられている。プリンタ19はインクジェット方式のプリンタ、スキャナ20はフラットベッドスキャナとして構成されている。
The
操作パネル6には、操作キー17、LCD18が主に設けられている。操作キー17には、MFP簡単設定ボタン17aが設けられており、MFP簡単設定ボタン17aが押下されると、後述する無線LAN簡単設定処理(図3参照)の実行が開始される。
The operation panel 6 is mainly provided with
BOX31は、主に、電話回線網100を使用する通信の制御を行うものであり、電話回線網100に接続されている。BOX31には、主に、操作キー38、LCD39が設けられている。AP51は、無線LAN方式の無線通信200によりデータ通信が可能に構成された既知の中継装置である。
The
図2は、MFP1と、BOX31と、AP51との電気的構成を示すブロック図である。MFP1は、CPU11、ROM12、RAM13、フラッシュメモリ14、無線LAN通信制御回路15、操作キー17、LCD18、プリンタ19、スキャナ20とを主に有している。
FIG. 2 is a block diagram showing an electrical configuration of the
CPU11、ROM12、RAM13、フラッシュメモリ14は、バスライン21を介して互いに接続されている。また、無線LAN通信制御回路15、操作キー17、LCD18、プリンタ19、スキャナ20、バスライン21は、入出力ポート22を介して互いに接続されている。
The
CPU11は、ROM12等に記憶される固定値やプログラム或いは、無線LAN通信制御回路15を介して送受信される各種信号に従って、各機能の制御や、入出力ポート22と接続された各部を制御するものである。
The
ROM12は、MFP1で実行される制御プログラムなどを格納した書換不能なメモリであり、後述する図3に示す無線LAN簡単設定処理、図4に示す設定変更処理を実行する各プログラムが格納されている。RAM13は、書換可能な揮発性のメモリである。フラッシュメモリ14は、書換可能な不揮発性のメモリであり、識別情報メモリ14aと、旧ネットワーク設定メモリ14bと、新ネットワーク設定メモリ14cとが割当てられている。
The
この識別情報メモリ14aには、ネットワーク上においてBOX31を識別可能な識別情報が記憶されており、本実施形態では、MACアドレス(Media Access Control address)が格納されている。
The
旧ネットワーク設定メモリ14bは、無線LAN簡単設定機能を使用して、InfモードでAP51とデータ通信可能となるように、自装置(MFP1)の無線LANに関する設定項目を自動的に設定(変更)する場合に、設定変更前の無線LANに関する設定内容を記憶するためのメモリである。
The old
新ネットワーク設定メモリ14cは、無線LAN簡単設定機能を使用して、自装置1の無線LANに関する設定項目を自動的に設定(変更)した場合に、設定変更後の新たな無線LANに関する設定内容を記憶するためのメモリである。
The new
無線LAN通信制御回路15は、(無線LAN方式の)無線通信200によるデータ通信の各種制御を行うものであり、無線LAN簡単設定機能(例えば、AOSS(登録商標)機能やWPS機能など)15aと、無線LAN用アンテナ16とを有している。この無線LAN通信制御回路15は、他の通信装置(例えば、BOX31や、AP51など)との間で無線通信200を行いながら、各種のデータを構成するデジタル信号を送受信するものである。
The wireless LAN
BOX31は、CPU32、ROM33、RAM34、フラッシュメモリ35、無線LAN通信制御回路36、操作キー38、LCD39、モデム40、NCU41とを主に有している。CPU32、ROM33、RAM34、フラッシュメモリ35は、バスライン42を介して互いに接続されている。また、無線LAN通信制御回路36、操作キー38、LCD39、モデム40、NCU41、バスライン42は、入出力ポート43を介して互いに接続されている。
The
CPU32は、上述したMFP1のCPU11と同様に構成されているので、その説明を省略する。以下同様に、RAM34はRAM13と、操作キー38は操作キー17と、LCD39はLCD18と、各々同様に構成されているので、その説明を省略する。
Since the
ROM33は、BOX31で実行される制御プログラムなどを格納した書換不能なメモリであり、後述する図5の要求実行処理を実行するプログラムが格納されている。フラッシュメモリ35は、書換可能な不揮発性のメモリであり、旧ネットワーク設定メモリ35aと、新ネットワーク設定メモリ35bとが設けられている。
The
旧ネットワーク設定メモリ35aは、上述した旧ネットワーク設定メモリ14bと同様に構成されており、新ネットワーク設定メモリ35bは、上述した新ネットワーク設定メモリ14cと同様に構成されているので、各々の説明を省略する。
The old network setting memory 35a is configured in the same manner as the above-described old
無線LAN通信制御回路36は、上述したMFP1の無線LAN通信制御回路15と同様に構成されている。モデム40は、ファクシミリ機能によって送信する原稿データを、電話回線網100に伝送可能な信号に変調してNCU41を介して送信したり、電話回線網100からNCU41を介して入力された信号を受信し、原稿データへ復調するものである。
The wireless LAN
次に、図3及び図4を参照して、MFP1のCPU11により実行される無線LAN簡単設定処理について説明する。なお、MFP1およびBOX31は共にAdモードで互いにデータ通信可能な状態であるものとして説明する。無線LAN簡単設定処理は、MFP1のMFP簡単設定ボタン17aが押下された場合に実行される処理である。図3に示すように、この無線LAN簡単設定処理では、まず、設定変更処理を実行する(S1)。
Next, the wireless LAN simple setting process executed by the
ここで、図4を参照して、MFP1のCPU11により実行される設定変更処理(S1)について説明する。図4に示すように、この設定変更処理では、まず、MFP1が接続されているネットワーク上において、BOX31の存在を確認すべく、SNMP(Simple Network Management Protocol)によるMACアドレスの取得を行う。具体的には、MACアドレスの通知を要求するSNMPパケットを生成し、そのSNMPパケットをネットワーク上に存在する端末装置に送信する(S21)。そして、SNMPパケットを受けた端末装置から取得したMACアドレスと、識別情報メモリ14aに記憶されているMACアドレスとが一致するかを判定する(S22)。
Here, the setting change process (S1) executed by the
その結果、一致しないと判定した場合には(S22:No)、BOX31が存在しないとして、S29の処理へ移行する。一方、一致すると判定した場合には(S22:Yes)、BOX31が存在するとして、BOX31へ「無線LAN簡単設定機能の実行開始要求」を送信し(S23)、BOX31へ「無線LAN簡単設定機能の実行開始要求」を送信してから、既定時間(タイムアウト時間)が経過したかを判定する(S24)。
As a result, when it is determined that they do not match (S22: No), it is determined that the
既定時間が経過していない場合には(S24:No)、BOX31から送信されてくる「無線LAN簡単設定機能の実行開始要求を受信したことを示す実行開始要求の応答」を受信したかを判定する(S25)。一方、S24の処理において、既定時間(タイムアウト時間)が経過した場合には(S24:Yes)、S29の処理へ移行する。
If the predetermined time has not elapsed (S24: No), it is determined whether or not an “execution start request response indicating that the wireless LAN easy setting function execution start request has been received” transmitted from the
S25の処理において、「実行開始要求の応答」を受信していない場合には(S25:No)、S24の処理に戻り、S24及びS25の処理を繰り返す。一方、S25の処理において、「実行開始要求の応答」を受信した場合には(S25:Yes)、例えば、LCD18に「BOXの設定を開始します。APの簡単設定ボタンを押して、しばらくお待ち下さい。」と表示する(S26)。
When the “execution start request response” is not received in the process of S25 (S25: No), the process returns to the process of S24, and the processes of S24 and S25 are repeated. On the other hand, when the “execution start request response” is received in the process of S25 (S25: Yes), for example, “Set BOX starts on the
次に、BOX31から送信されてきた「実行開始要求の応答」を受信してから、既定時間(タイムアウト時間)が経過したかを判定し(S27)、既定時間が経過していない場合には(S27:No)、BOX31から送信されてくる「設定(変更)が完了したことを示す設定完了通知」を受信したかを判定する(S28)。一方、S27の処理において、既定時間(タイムアウト時間)が経過した場合には(S27:Yes)、S29の処理へ移行する。
Next, after receiving the “execution start request response” transmitted from the
S29の処理では、BOX31の無線LANに関する設定が正常終了しなかったことを報知するために、例えば、LCD18に「BOXの無線LAN簡単設定機能を使用できませんでした。」と表示し(S29)、S42の処理へ移行する。S28の処理において、「設定完了通知」を受信していない場合には(S28:No)、S27の処理に戻り、S27及びS28の各処理を繰り返す。
In the process of S29, in order to notify that the setting related to the wireless LAN of the
一方、S28の処理において、「設定完了通知」を受信した場合には(S28:Yes)、BOX31へ「設定完了通知を受信したことを示す設定完了通知の応答」を送信し(S30)、例えば、LCD18に「MFPの設定を開始します。もう一度、APの簡単設定ボタンを押して、しばらくお待ち下さい。」と表示し(S31)、現在の無線LANに関する各種設定内容を、フラッシュメモリ14の旧ネットワーク設定メモリ14bに記憶する(S32)。
On the other hand, when the “setting completion notification” is received in the processing of S28 (S28: Yes), a “setting completion notification response indicating that the setting completion notification has been received” is transmitted to the BOX 31 (S30). The
次に、MFP1が有する無線LAN簡単設定機能を実行する(S33)。MFP1において、無線LAN簡単設定機能が実行開始されると、MFP1とAP51との間で特別なデータ通信が実行され、InfモードでAP51とデータ通信可能となるように、自装置1の無線LANに関する設定項目が自動的に設定(変更)される。
Next, the wireless LAN simple setting function of the
次に、MFP1の無線LAN簡単設定機能を実行してから、規定時間(タイムアウト時間)が経過したかを判定し(S34)、規定時間が経過した場合には(S34:Yes)、例えば、LCD18に「MFPの無線LAN簡単設定機能を使用できませんでした。」と表示して(S36)、S42の処理へ移行する。
Next, after executing the wireless LAN easy setting function of the
一方、S34の処理において、規定時間が経過していない場合には(S34:No)、MFP1の無線LANの設定が終了したかを判定する(S35)。MFP1の無線LANの設定が終了していない場合には(S35:No)、S34の処理に戻り、S34及びS35の各処理を繰り返す。S35の処理において、MFP1の無線LANの設定が終了した場合には(S35:Yes)、設定された新たな無線LANに関する各種設定内容を、新ネットワーク設定メモリ14cに記憶して(S37)、MFP1の無線LANに関する各種設定内容を、一旦、旧ネットワーク設定メモリ14bの内容に戻す(S38)。
On the other hand, in the process of S34, if the specified time has not elapsed (S34: No), it is determined whether the setting of the wireless LAN of the
即ち、AdモードでBOX31と直接データ通信可能な状態に戻す。そして、BOX31へ「Infモードへの切替指示」を送信し(S39)、BOX31へ「Infモードへの切替指示」を送信してから、規定時間(タイムアウト時間)が経過したかを判定する(S40)。
That is, it returns to the state in which data communication can be performed directly with the
S40の処理において、既定時間を経過した場合には(S40:Yes)、S42の処理へ移行する。S42の処理では、例えば、LCD18に、「MFPおよびBOXの設定を中止します。」と表示して(S42)、この設定変更処理を終了する。一方、S40の処理において、既定時間を経過していない場合には(S40:No)、BOX31から送信されてくる「切替実行通知」を受信したかを判定し(S41)、「切替実行通知」を受信していない場合には(S41:No)、S40の処理に戻り、S40及びS41の各処理を繰り返す。
In the process of S40, when the predetermined time has elapsed (S40: Yes), the process proceeds to S42. In the process of S42, for example, “MFP and BOX settings are canceled” is displayed on the LCD 18 (S42), and the setting change process is terminated. On the other hand, in the process of S40, if the predetermined time has not elapsed (S40: No), it is determined whether or not the “switch execution notification” transmitted from the
一方、S41の処理において、「切替実行通知」を受信した場合には(S41:Yes)、MFP1の無線LANに関する各種設定内容を、新ネットワーク設定メモリ14cの内容に戻す(S43)。即ち、InfモードでAP51とデータ通信可能な状態に戻す。そして、この設定変更処理を終了する。
On the other hand, when the “switch execution notification” is received in the process of S41 (S41: Yes), the various settings related to the wireless LAN of the
以上の図4に示す設定変更処理により、MFP1とBOX31との両方が、InfモードでAP51とデータ通信可能であると確認できた場合に限り、MFP1とBOX31との通信設定を共に、AP51を介して互いにデータ通信可能な状態に変更できる。即ち、MFP1とBOX31との一方が、InfモードでAP51とデータ通信不可能な場合には、MFP1とBOX31との通信設定は共に変更されないので、MFP1とBOX31とがデータ通信不可能な状態になることを抑制できる。
Only when it is confirmed that both
ここで、図3の説明に戻る。設定変更処理(S1)が終了したら、次に、MFP1とBOX31との設定が共に正常に終了したかを判定する(S2)。MFP1とBOX31との一方の設定が正常に終了しなかった場合には(S2:No)、無線LAN簡単設定処理を終了する。一方、MFP1とBOX31との設定が共に正常に終了した場合には(S2:Yes)、MACアドレスの通知を要求するSNMPパケットを生成し、そのSNMPパケットをネットワーク上に存在する端末装置に送信する(S3)。
Returning to the description of FIG. When the setting change process (S1) is completed, it is next determined whether the settings of both the
そして、SNMPパケットを受けた端末装置から取得したMACアドレスと、識別情報メモリ14aに記憶されているMACアドレスとが一致するかを判定し(S4)、一致すると判定した場合には(S4:Yes)、例えば、LCD18に「BOXと通信可能です。MFPおよびBOXの設定が正常に終了しました。」と表示して(S5)、無線LAN簡単設定処理を終了する。ユーザは、LCD18を確認することで、MFP1において無線LAN簡単設定処理が正常に実行されたかを確認することができる。
Then, it is determined whether the MAC address acquired from the terminal device that has received the SNMP packet matches the MAC address stored in the
一方、S4の処理において、一致しないと判定した場合には(S4:No)、例えば、LCD18に「BOXと通信できません。MFPおよびBOXのネットワーク設定を確認して下さい。」と表示して(S6)、無線LAN簡単設定処理を終了する。 On the other hand, if it is determined in the process of S4 that they do not match (S4: No), for example, “Communication with BOX is not possible. Check network settings of MFP and BOX.” Is displayed on LCD 18 (S6). ) The wireless LAN simple setting process is terminated.
以上の図3に示す無線LAN簡単設定処理により、MFP1のMFP簡単設定ボタン17aが押下された場合に、MFP1とBOX31とに各々れ無線LAN簡単設定機能を実行させることができる。よって、ユーザは、MFP1とBOX31とを各々れ操作して、各装置1,31の無線LAN簡単設定機能を実行しなくても、MFP1を操作すれば、各装置1,31の無線LAN簡単設定機能を各々れ実行できるので、使い勝手が良い。また、MFP1とBOX31とが、InfモードでAP51を介して互いにデータ通信可能な状態に変更できたか否かの結果をLCD18に表示させることができる。
With the wireless LAN simple setting process shown in FIG. 3, when the MFP
また、MFP1は多機能を有する装置であり、BOX31は、主に、電話回線網100を使用する通信の制御を行う装置であるので、BOX31よりもMFP1の方が筐体(図1参照)もLCDの表示領域も大きい構成となる。本実施形態では、ユーザは、MFP1のLCD18を見ながらBOX31を操作するという構成なので、BOX31のLCD39を見ながらBOX31を直接操作する場合よりも、より多くの情報を一度にLCD18に表示させることができる。よって、BOX31の設定状態や、設定の進行状況をより詳細に表示させることができ、ユーザの使い勝手を良くできる。
Further, since the
次に、図5を参照して、BOX31のCPU32により実行される要求実行処理について説明する。なお、MFP1およびBOX31は共にAdモードで互いにデータ通信可能な状態であるものとして説明する。要求実行処理は、BOX31の主電源が投入されてから主電源が遮断されるまで繰り返し実行される処理である。
Next, a request execution process executed by the
図5に示すように、この要求実行処理では、まず、MFP1から送信されてくる「SNMPパケット」を受信したかを判定し(S51)、「SNMPパケット」を受信した場合には(S51:Yes)、MFP1へ「MACアドレス」を送信する(S52)。一方、「SNMPパケット」を受信していない場合には(S51:No)、S53の処理へ移行する。
As shown in FIG. 5, in the request execution process, first, it is determined whether or not the “SNMP packet” transmitted from the
次に、MFP1から送信されてくる「無線LAN簡単設定機能の実行開始要求」を受信したかを判定する(S53)。「無線LAN簡単設定機能の実行開始要求」を受信していない場合には(S53:No)、S51の処理に戻り、S51〜S53の各処理を繰り返す。
Next, it is determined whether or not the “wireless LAN simple setting function execution start request” transmitted from the
S53の処理において、「無線LAN簡単設定機能の実行開始要求」を受信した場合には(S53:Yes)、MFP1へ「実行開始要求の応答」を送信して(S54)、現在の無線LANに関する各種設定内容を、フラッシュメモリ35の旧ネットワーク設定メモリ35aに記憶する(S55)。次に、BOX31が有する無線LAN簡単設定機能を実行し(S56)、その無線LAN簡単設定機能を実行してから、規定時間(タイムアウト時間)が経過したかを判定する(S57)。
In the process of S53, when the “execution start request for the wireless LAN simple setting function” is received (S53: Yes), an “execution start request response” is transmitted to the MFP 1 (S54), and the current wireless LAN is related. Various setting contents are stored in the old network setting memory 35a of the flash memory 35 (S55). Next, the wireless LAN simple setting function of the
BOX31において、無線LAN簡単設定機能が実行されると、AP51との間で特別なデータ通信が実行され、InfモードでAP51とデータ通信可能となるように、自装置31の無線LANに関する設定項目が自動的に設定(変更)される。なお、設定が完了した後は、BOX31はInfモードとなり、AP51とデータ通信可能な状態になる一方、MFP1とはデータ通信が不可能な状態になる。
In the
S57の処理において、規定時間が経過した場合には(S57:Yes)、BOX31の無線LAN簡単設定機能が正常に実行されていない場合なので、S66の処理へ移行する。一方、S57の処理において、規定時間(タイムアウト時間)を経過していない場合には(S57:No)、BOX31の無線LANの設定が終了したかを判定する(S58)。BOX31の無線LANの設定が終了していない場合には(S58:No)、S57の処理に戻り、S57及びS58の各処理を繰り返す。
In the process of S57, when the specified time has elapsed (S57: Yes), the wireless LAN easy setting function of the
S58の処理において、BOX31の無線LANの設定が終了した場合には(S58:Yes)、設定された新たな無線LANに関する各種設定内容を、新ネットワーク設定メモリ35bに記憶する(S59)。
In the process of S58, when the setting of the wireless LAN of the
次に、MFP1に設定完了を通知するために、BOX31の無線LANに関する各種設定内容を、一旦、旧ネットワーク設定メモリ35aの内容に戻す(S60)。即ち、AdモードでMFP1と直接データ通信可能な状態に戻す。そして、MFP1へ「設定完了通知」を送信し(S61)、MFP1へ「設定完了通知」を送信してから、規定時間(タイムアウト時間)が経過したかを判定する(S62)。
Next, in order to notify the
S62の処理において、既定時間を経過した場合には(S62:Yes)、S66の処理へ移行する。一方、既定時間を経過していない場合には(S62:No)、MFP1から送信されてくる「設定完了通知の応答」を受信したかを判定し(S63)、「設定完了通知の応答」を受信していない場合には(S63:No)、S62の処理に戻り、S62及びS63の各処理を繰り返す。
In the process of S62, when the predetermined time has elapsed (S62: Yes), the process proceeds to S66. On the other hand, if the predetermined time has not elapsed (S62: No), it is determined whether the “setting completion notification response” transmitted from the
一方、S63の処理において、「設定完了通知の応答」を受信した場合には(S63:Yes)、MFP1からの「設定完了通知の応答」を受信してから、規定時間(タイムアウト時間)が経過したかを判定する(S64)。既定時間を経過した場合には(S64:Yes)、S66の処理へ移行する。S66の処理では、BOX31の無線LANに関する各種設定内容を、旧ネットワーク設定メモリ35aの内容に戻す(S66)。その後、S51の処理に戻り、S51〜S66の各処理を繰り返す。
On the other hand, if a “setting completion notification response” is received in the processing of S63 (S63: Yes), the specified time (timeout time) has elapsed since the reception of the “setting completion notification response” from the
一方、S64の処理において、既定時間を経過していない場合には(S64:No)、MFP1から送信されてくる「Infモードへの切替指示」を受信したかを判定する(S65)。「Infモードへの切替指示」を受信していない場合には(S65:No)、S64の処理に戻り、S64及びS65の各処理を繰り返す。
On the other hand, if the predetermined time has not elapsed in the processing of S64 (S64: No), it is determined whether or not the “instruction for switching to Inf mode” transmitted from the
一方、S65の処理において、「Infモードへの切替指示」を受信した場合には(S65:Yes)、MFP1へ「切替完了通知」を送信してから(S67)、BOX31の無線LANに関する各種設定内容を、新ネットワーク設定メモリ35bの内容に戻す(S68)。即ち、InfモードでAP51とデータ通信可能な状態に戻す。そして、S51の処理に戻り、S51〜S68の各処理を繰り返す。
On the other hand, if a “switch instruction to Inf mode” is received in the process of S65 (S65: Yes), a “switch completion notification” is transmitted to the MFP 1 (S67), and various settings related to the wireless LAN of the
以上の図5に示す要求実行処理により、MFP1から送信されてくる「無線LAN簡単設定機能の実行開始要求」を受信した場合に、BOX31が有する無線LAN簡単設定機能を実行開始して、BOX31の無線LANに関する各種設定内容を、AP51とデータ通信可能な状態に設定(変更)できる。
When the “request for starting execution of the wireless LAN simple setting function” transmitted from the
また、無線LAN簡単設定機能を実行し、正常に設定が変更された後(例えば、Infモードに変更後)に、一旦、変更前の設定(例えば、Adモード)に戻して、MFP1へ設定が完了したことを示す「設定完了通知」を送信できる。Infモードでデータ通信を行う場合には、MFP1とBOX31とは共に、AP51を介してデータ通信を行うので、AP51に不具合(通信障害など)が生じている場合などには、MFP1とBOX31との間で、データ通信が正常に行えないことがある。しかしながら、Adモードでデータ通信を行うので、AP51に不具合が生じていてもその影響を受けない。従って、MFP1は、BOX31の設定が正常に変更されたかを精度良く検出できる。
Also, after the wireless LAN simple setting function is executed and the setting has been changed normally (for example, after changing to the Inf mode), the setting is temporarily returned to the setting before the change (for example, Ad mode) and the setting is made to the
次に、本発明の第2の実施形態について説明する。第2の実施形態では第1の実施形態と異なる部分についてのみ説明する。MFP1のROM12(不図示)には、後述する図6の無線LAN簡単設定処理、図7のMFP設定変更処理、図8のBOX設定変更処理を実行するプログラムが格納され、BOX31のROM33(不図示)には、後述する図9の要求実行処理を実行するプログラムが格納されている。
Next, a second embodiment of the present invention will be described. In the second embodiment, only the parts different from the first embodiment will be described. The ROM 12 (not shown) of the
次に、図6〜図8を参照して、第2の実施形態におけるMFP1のCPU11により実行される無線LAN簡単設定処理について説明する。なお、MFP1およびBOX31は共にAdモードで互いにデータ通信可能な状態であるものとして説明する。
Next, a simple wireless LAN setting process executed by the
この処理は、MFP1のMFP簡単設定ボタン17aが押下された場合に実行される。なお、上述した第1の実施形態と同一の処理を実行するステップについては、同一の符号を付してその説明を省略する。
This process is executed when the MFP
図6に示すように、この無線LAN簡単設定処理では、まず、MFP設定変更処理を実行する(S81)。ここで、図7を参照して、MFP1のCPU11により実行されるMFP設定変更処理(S81)について説明する。図7に示すように、このMFP設定変更処理では、まず、現在の無線LANに関する各種設定内容を、旧ネットワーク設定メモリ14bに記憶する(S91)。次に、例えば、LCD18に「MFPの設定を開始します。APの簡単設定ボタンを押して、しばらくお待ち下さい。」と表示し(S92)、MFP1が有する無線LAN簡単設定機能を実行する(S93)。
As shown in FIG. 6, in this wireless LAN simple setting process, first, an MFP setting changing process is executed (S81). Here, the MFP setting change process (S81) executed by the
MFP1において、無線LAN簡単設定機能が実行開始されると、MFP1とAP51との間で特別なデータ通信が実行され、InfモードでAP51とデータ通信可能となるように、自装置の無線LANに関する設定項目が自動的に設定(変更)される。
When the
次に、MFP1の無線LAN簡単設定機能を実行してから、規定時間(タイムアウト時間)が経過したかを判定し(S94)、規定時間が経過した場合には(S94:Yes)、例えば、LCD18に「MFPの無線LAN簡単設定機能を使用できませんでした。MFPおよびBOXの設定を中止します。」と表示して(S96)、S98の処理へ移行する。
Next, after executing the wireless LAN easy setting function of the
一方、S94の処理において、規定時間が経過していない場合には(S94:No)、MFP1の無線LANの設定が終了したかを判定する(S95)。MFP1の無線LANの設定が終了していない場合には(S95:No)、S94の処理に戻り、S94及びS95の各処理を繰り返す。
On the other hand, in the process of S94, if the specified time has not elapsed (S94: No), it is determined whether the wireless LAN setting of the
S95の処理において、MFP1の無線LANの設定が終了した場合には(S95:Yes)、設定された新たな無線LANに関する各種設定内容を、新ネットワーク設定メモリ14cに記憶して(S97)、S98の処理へ移行する。S98の処理では、MFP1の無線LANに関する各種設定内容を、旧ネットワーク設定メモリ14bの内容に戻す(S98)。即ち、AdモードでBOX31と直接データ通信可能な状態に戻す。そして、このMFP設定変更処理を終了する。
In the process of S95, when the setting of the wireless LAN of the
ここで、図6の説明に戻る。MFP設定変更処理(S81)が終了したら、次に、MFP1の設定が正常に終了したかを判定する(S82)。MFP1の設定が正常に終了しなかった場合には(S82:No)、無線LAN簡単設定処理を終了する。
Returning to the description of FIG. When the MFP setting change process (S81) is completed, it is next determined whether the setting of the
S82の処理において、MFP1の設定が正常に終了した場合には(S82:Yes)、BOX設定変更処理を実行する(S83)。ここで、図8を参照して、MFP1のCPU11により実行されるBOX設定変更処理(S83)について説明する。
In the process of S82, when the setting of the
図8に示すように、このBOX設定変更処理では、まず、S21およびS22の処理(図4参照)を実行する。S22の処理において、SNMPパケットを受けた端末装置から取得したMACアドレスと、識別情報メモリ14aに記憶されているMACアドレスとが一致しないと判定した場合には(S22:No)、BOX31が存在しないとして、S108の処理へ移行する。
As shown in FIG. 8, in the BOX setting change process, first, the processes of S21 and S22 (see FIG. 4) are executed. In the process of S22, when it is determined that the MAC address acquired from the terminal device that has received the SNMP packet does not match the MAC address stored in the
一方、S22の処理において、一致すると判定した場合には(S22:Yes)、BOX31が存在するとして、例えば、LCD18に「BOXの設定を開始します。しばらくお待ち下さい。」と表示し(S101)、BOX31へ「通信設定の変更開始要求」を送信する(S102)。次に、BOX31へ「通信設定の変更開始要求」を送信してから、規定時間(タイムアウト時間)が経過したかを判定する(S103)。S103の処理において、既定時間を経過した場合には(S103:Yes)、S108の処理へ移行する。一方、既定時間を経過していない場合には(S103:No)、BOX31から送信されてくる「通信設定の変更開始要求を受信したことを示す変更開始要求の応答」を受信したかを判定し(S104)、「変更開始要求の応答」を受信していない場合には(S104:No)、S103の処理に戻り、S103及びS104の各処理を繰り返す。
On the other hand, if it is determined in the process of S22 that they match (S22: Yes), for example, the
一方、S104の処理において、「変更開始要求の応答」を受信した場合には(S104:Yes)、新ネットワーク設定メモリ14cに記憶されている新たに設定(変更)された無線LANの各種設定内容のデータを、暗号化してBOX31へ送信する(S105)。
On the other hand, when the “change start request response” is received in the process of S104 (S104: Yes), the newly set (changed) various settings of the wireless LAN stored in the new
例えば、データを暗号化して送信しても良いし、暗号化方式の無線通信200を行っても良い。無線通信200の暗号化方式には、例えば、WEPや、TKIPや、AESなどがある。暗号化してデータを送信することで、AP51に対して不正なアクセスが行われたり、不正にデータが閲覧、操作(改ざん)が行われるのを防止できる。
For example, data may be encrypted and transmitted, or
また、暗号化してBOX31へ送信するデータには、例えば、MFP1がAP51との間でデータ通信するための設定内容と、MFP1がTCP/IPを使用するための設定内容とが含まれている。AP51との間でデータ通信するための設定内容としては、例えば、通信モード、認証タイプ、暗号化モード、暗号化キーの種別、パスワード(暗号化キー)の設定内容などが該当する。なお、これらの各設定項目の設定内容(パラメータ)は、上述したS93(図7参照)の処理によって、各設定項目ごとに一つずつパラメータが自動的に設定される。
The data that is encrypted and transmitted to the
より具体的には、通信モードは、Adモード、および、Infモードの一方がパラメータとして設定され、認証タイプは、Open Systemと、Shared Keyと、WPA−PSKと、WPA2−PSKとの中で、MFP1とBOX31とが使用可能な最もセキュリティレベルの高いものがパラメータとして設定される。
More specifically, one of the Ad mode and Inf mode is set as a parameter for the communication mode, and the authentication type is Open System, Shared Key, WPA-PSK, and WPA2-PSK. The highest security level that can be used by the
また、暗号化モードは、None(無し)と、WEPと、TKIPと、AESとの中で、認証タイプに応じたものがパラメータとして設定され、暗号化キーの種別は、無しと、WEP Keyと、一時キーとの中で、認証タイプに応じたものがパラメータとして設定される。そして、パスワード(暗号化キー)は、暗号化キーの種別が無しの場合には、何も設定されず、暗号化キーの種別がWEP Key、又は、一時キーの場合には、ユニークなパスワードが設定される。 Also, the encryption mode is set as a parameter according to the authentication type among None (none), WEP, TKIP, and AES, and the encryption key type is none, WEP Key, Among the temporary keys, those corresponding to the authentication type are set as parameters. No password (encryption key) is set when the type of encryption key is none, and a unique password is set when the type of encryption key is WEP Key or a temporary key. Is set.
一方、TCP/IPを使用するための設定内容としては、例えば、IPアドレス取得方法、デフォルトゲートウェイ、WINS設定、WINSサーバ、DNSサーバの設定内容などが該当する。なお、これらの各種設定項目の設定内容(パラメータ)は、上述したS93(図7参照)の処理によって、各設定項目ごとに一つずつパラメータが自動的に設定される場合や、予めユーザなどによって設定(変更)される場合などがある。 On the other hand, the setting content for using TCP / IP corresponds to, for example, the IP address acquisition method, default gateway, WINS setting, WINS server, DNS server setting content, and the like. Note that the setting contents (parameters) of these various setting items are set when parameters are automatically set for each setting item by the above-described processing of S93 (see FIG. 7) or by the user in advance. It may be set (changed).
より具体的には、IPアドレス取得方法は、DHCP、および、AUTO(自動選択)の一方がパラメータとして設定され、デフォルトゲートウェイは、デフォルトゲートウェイとなる通信装置のIPアドレスが設定される。また、WINS設定は、IPアドレスの取得方法がDHCPの場合には、Autoが設定され、IPアドレスの取得方法がAUTOの場合には、Staticが設定される。 More specifically, in the IP address acquisition method, one of DHCP and AUTO (automatic selection) is set as a parameter, and the IP address of the communication device that is the default gateway is set as the default gateway. In the WINS setting, when the IP address acquisition method is DHCP, Auto is set, and when the IP address acquisition method is AUTO, Static is set.
そして、WINSサーバは、WINSサーバのプライマリアドレスと、セカンダリアドレスとが設定され、DNSサーバは、DNSサーバのプライマリアドレスと、セカンダリアドレスとが設定される。 The WINS server is set with the primary address and secondary address of the WINS server, and the DNS server is set with the primary address and secondary address of the DNS server.
次に、BOX31へ暗号化したデータ(即ち、新たに設定(変更)された無線LANに関する設定項目のデータ)を送信してから、規定時間(タイムアウト時間)が経過したかを判定する(S106)。既定時間を経過した場合には(S106:Yes)、S108の処理へ移行する。 Next, it is determined whether the specified time (timeout time) has elapsed since the encrypted data (that is, the data of the setting item relating to the newly set (changed) wireless LAN) is transmitted to the BOX 31 (S106). . If the predetermined time has elapsed (S106: Yes), the process proceeds to S108.
一方、S106の処理において、既定時間を経過していない場合には(S106:No)、BOX31から暗号化され送信されてくる「無線LANに関する設定項目の設定が正常に完了したことを示す変更完了通知」を受信したかを判定し(S107)、「変更完了通知」を受信していない場合には(S107:No)、S106の処理に戻り、S106及びS107の各処理を繰り返す。
On the other hand, in the process of S106, if the predetermined time has not elapsed (S106: No), “change completion indicating that the setting of the setting item related to the wireless LAN has been normally completed” encrypted and transmitted from the
一方、S107の処理において、「変更完了通知」を受信した場合には(S107:Yes)、S39、S40、S41、及びS43の処理(図4参照)を実行して、このBOX設定変更処理を終了する。尚、S40の処理において、BOX31へ「Infモードへの切替指示」を送信してから、規定時間(タイムアウト時間)が経過した場合には(S40:Yes)、S108の処理へ移行する。S108の処理では、例えば、LCD18に、「BOXのネットワーク設定を変更できませんでした。MFPおよびBOXの設定を中止します。」と表示して(S108)、この設定変更処理を終了する。
On the other hand, when the “change completion notification” is received in the process of S107 (S107: Yes), the processes of S39, S40, S41, and S43 (see FIG. 4) are executed to execute this BOX setting change process. finish. In the process of S40, if the specified time (timeout time) has elapsed since the transmission of the “Inf mode switching instruction” to the
以上の図8に示すBOX設定変更処理により、MFP1とBOX31との両方が、InfモードでAP51とデータ通信可能であると確認できた場合に限り、MFP1とBOX31との通信設定を共に、AP51を介して互いにデータ通信可能な状態に変更できる。よって、MFP1とBOX31とがデータ通信不可能な状態になることを抑制できる。
Only when it is confirmed by the BOX setting change process shown in FIG. 8 that both the
ここで、図6の説明に戻る。BOX設定変更処理(S83)が終了したら、次に、BOX31の設定が正常に終了したかを判定する(S84)。BOX31の設定が正常に終了しなかった場合には(S84:No)、無線LAN簡単設定処理を終了する。一方、S84の処理において、BOX31の設定が正常に終了した場合には(S84:Yes)、S3〜S6の処理(図3参照)を実行して、この無線LAN簡単設定処理を終了する。
Returning to the description of FIG. When the BOX setting change process (S83) is completed, it is next determined whether or not the setting of the
次に、図9を参照して、BOX31のCPU32により実行される要求実行処理について説明する。なお、MFP1およびBOX31は共にAdモードで互いにデータ通信可能な状態であるものとして説明する。
Next, the request execution process executed by the
この処理は、BOX31の主電源が投入されてから主電源が遮断されるまで繰り返し実行される処理である。なお、上述した第1の実施形態と同一の処理を実行するステップについては、同一の符号を付してその説明を省略する。
This process is a process that is repeatedly executed after the main power supply of the
図9に示すように、この処理では、まず、S51及びS52の処理を実行する。次に、MFP1から送信されてくる「通信設定の変更開始要求」を受信したかを判定する(S121)。「通信設定の変更開始要求」を受信していない場合には(S121:No)、S51の処理に戻り、S51〜S121の各処理を繰り返す。
As shown in FIG. 9, in this process, first, the processes of S51 and S52 are executed. Next, it is determined whether a “communication setting change start request” transmitted from the
S121の処理において、「通信設定の変更開始要求」を受信した場合には(S121:Yes)、MFP1へ「変更開始要求の応答」を送信して(S122)、現在の無線LANに関する各種設定内容を、旧ネットワーク設定メモリ35aに記憶する(S123)。次に、MFP1へ「変更開始要求の応答」を送信してから、既定時間(タイムアウト時間)が経過したかを判定する(S124)。 In the process of S121, when a “communication setting change start request” is received (S121: Yes), a “change start request response” is transmitted to the MFP 1 (S122), and various settings related to the current wireless LAN are set. Is stored in the old network setting memory 35a (S123). Next, it is determined whether or not a predetermined time (timeout time) has elapsed since the “change start request response” was transmitted to the MFP 1 (S124).
規定時間が経過した場合には(S124:Yes)、S51の処理に戻り、S51〜S124の各処理を繰り返す。一方、S124の処理において、規定時間(タイムアウト時間)を経過していない場合には(S124:No)、MFP1から暗号化され送信されてくる「無線LANの各種設定内容のデータ」を受信したかを判定する(S125)。「無線LANの各種設定内容のデータ」を受信していない場合には(S125:No)、S124の処理に戻り、S124及びS125の各処理を繰り返す。
If the specified time has elapsed (S124: Yes), the process returns to the process of S51, and the processes of S51 to S124 are repeated. On the other hand, in the process of S124, if the specified time (timeout time) has not elapsed (S124: No), whether or not “data of various settings of wireless LAN” transmitted from
S125の処理において、「無線LANの各種設定内容のデータ」を受信した場合には(S125:Yes)、受信したデータを復号化して、その各種設定内容を新ネットワーク設定メモリ35bに記憶する(S126)。そして、BOX31の無線LANに関する各種設定内容を、新ネットワーク設定メモリ35bの内容に設定する(S127)。ここで、受信したデータに含まれている無線LANの各種設定内容が正しければ、S127の処理よって、BOX31は、InfモードでAP51とデータ通信可能な状態に設定(変更)される。
In the process of S125, when “data of various setting contents of wireless LAN” is received (S125: Yes), the received data is decrypted, and the various setting contents are stored in the new network setting memory 35b (S126). ). Then, various setting contents regarding the wireless LAN of the
次に、AP51との間で無線通信200が可能かを判定し(S128)、AP51との間で無線通信200ができない場合には(S128:No)、BOX31の無線LANに関する各種設定内容を、旧ネットワーク設定メモリ35aの内容に戻す(S129)。即ち、AdモードでMFP1と直接データ通信可能な状態に戻す。そして、S51の処理に戻り、S51〜S129の各処理を繰り返す。
Next, it is determined whether or not the
一方、S128の処理において、AP51との間で無線通信200が可能な場合には(S128:Yes)、MFP1に通信設定の変更完了を通知するために、BOX31の無線LANに関する各種設定内容を、一旦、旧ネットワーク設定メモリ35aの内容に戻す(S130)。即ち、AdモードでMFP1と直接データ通信可能な状態に戻す。
On the other hand, when the
ここで、MFP1は暗号化によるデータ通信している状態なので、暗号化によるデータ通信によりMFP1へ「変更完了通知」を送信する(S131)。そして、MFP1へ「変更完了通知」を送信してから、規定時間(タイムアウト時間)が経過したかを判定する(S132)。既定時間を経過した場合には(S132:Yes)、S51の処理に戻り、S51〜S132の各処理を繰り返す。
Here, since the
一方、S132の処理において、既定時間を経過していない場合には(S132:No)、S65の処理(図5参照)を実行する。S65の処理において、MFP1から送信されてくる「Infモードへの切替指示」を受信していない場合には(S65:No)、S132の処理に戻り、S132及びS65の各処理を繰り返す。一方、S65の処理において、「Infモードへの切替指示」を受信した場合には(S65:Yes)、S67及びS68の各処理を実行する。そして、S51の処理に戻り、S51〜S68の各処理を繰り返す。
On the other hand, if the predetermined time has not elapsed in the process of S132 (S132: No), the process of S65 (see FIG. 5) is executed. In the process of S65, when the “instruction for switching to the Inf mode” transmitted from the
以上の図9に示す要求実行処理により、MFP1から送信されてくる「無線LANの各種設定内容のデータ」を受信した場合に、その受信データに基づいて、BOX31の無線LANに関する各種設定を、AP51とデータ通信可能な状態に設定(変更)できる。
When “data of various wireless LAN setting contents” transmitted from the
以上説明した通り、第2の実施形態では、MFP1だけに無線LAN簡単設定機能を実行させており、その実行によって得られた無線LANの各種設定項目に関するデータをMFP1からBOX31へ送信している。そして、BOX31では、その受信したデータに基づいて、BOX31の無線LANに関する各種設定項目を設定(変更)するので、ユーザは、AP51のAP簡単設定ボタン51aを1回押下するだけで、MFP1とBOX31との無線LANに関する各種設定項目を設定できる。
As described above, in the second embodiment, only the
以上、実施形態に基づき本発明を説明したが、本発明は上述した実施形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変更が可能であることは容易に推察できるものである。 Although the present invention has been described based on the embodiments, the present invention is not limited to the above-described embodiments, and various improvements and modifications can be easily made without departing from the spirit of the present invention. Can be inferred.
例えば、MFP1に新たな通信設定の指示があった場合に、MFP1は現在の通信設定を保存し、無線LAN簡単設定機能により新たな通信設定を行い、現在の通信設定でBOX31に新たな通信設定を行うことを指示する。一方、その指示を受けたBOX31は、現在の通信設定を保存し、無線LAN簡単設定機能により新たな通信設定を行い、現在の通信設定でMFP1に設定の完了を通知し、MFP1は、その完了通知を受けたことを条件に、設定が完了した新たな通信設定にし、BOX31は完了を通知したことを条件に、設定が完了した新たな通信設定にするように構成しても良い。この場合にも、第1実施形態の場合と同様にMFP1と、BOX31との各々に、インフラストラクチャーモードで無線通信可能な通信設定を行うことができる。
For example, when a new communication setting instruction is given to the
例えば、BOX31に無線LANに関する設定項目を自動的に設定させ、その後、MFP1に無線LANに関する設定項目を自動的に設定させるように構成しても良い。
For example, the
また、MFP1の代わりに、BOX31を操作すれば、MFP1とBOX31との無線LANに関する設定項目を各々自動的に設定させることができるように構成しても良い。
In addition, if the
また、BOX31の無線LAN簡単設定機能を実行させて、BOX31に無線LANに関する設定項目を自動的に設定させ、その設定項目のデータをBOX31からMFP1へ送信し、そのデータに基づいてMFP1に無線LANに関する設定項目を設定させるように構成しても良い。
Also, the wireless LAN easy setting function of the
また、MFP1とBOX31との一方が、無線LANに関する設定項目の設定(変更)を正常に終了できなかったら、MFP1とBOX31とを共に、無線LANに関する設定項目の設定を設定変更前の状態に戻すように構成しても良い。即ち、MFP1とBOX31とを共に、Adモードに戻して、互いに直接データ通信可能な状態にする。このように構成すれば、MFP1とBOX31とを常にデータ通信可能に維持できる。
If one of the
また、無線LANに関する設定項目の設定(変更)が正常に終了するまで、無線LANに関する設定項目の設定(変更)を繰り返し試みる(実行する)ように構成しても良い。 Further, it may be configured to repeatedly try (execute) setting (changing) of setting items related to the wireless LAN until setting (changing) of setting items related to the wireless LAN is normally completed.
また、通信方式を無線LAN方式に限定するものではなく、他の通信方式の無線通信によりデータ通信可能に構成しても良い。例えば、他の通信方式のとしては、赤外線通信(IrDAなど)や、Bluetoothや、ZigBeeや、UWBなどが該当する。 In addition, the communication method is not limited to the wireless LAN method, and data communication may be performed by wireless communication using another communication method. For example, as other communication methods, infrared communication (such as IrDA), Bluetooth, ZigBee, UWB, and the like are applicable.
また、本実施形態のBOX31は、無線LAN方式の無線通信200によりデータ通信可能に構成されているが、更に、コードレス電話の親機の機能を設けても良い。
Further, the
尚、図7のS91が請求項1の保存手段、図7のS93が請求項1,4の第1設定手段、図7のS98が請求項1,4の変更手段、図8のS102が請求項1,4の要求手段、図8のS105が請求項1,4の送信手段、図8のS107が請求項1の完了通知受信手段、図8のS43が請求項1,4の再設定手段、図7のS92が請求項3の報知制御手段、図8のS21が請求項1,4の返信指示手段、図8のS22が請求項1,4の判断手段、図9のS121が請求項4の要求受信手段、図9のS123が請求項4の保存手段、図9のS126が請求項4の受信手段,図9のS127が請求項4の第2設定手段、図9のS130が請求項4の変更手段、図9のS131が請求項4の完了通知送信手段、図9のS68が請求項4の再設定手段の一例に相当する。
Incidentally, S91 is storage means according to
1 MFP(端末装置の一例)
14a 識別情報メモリ(記憶手段の一例)
17 操作キー(入力手段の一例)
18 LCD(報知手段の一例)
31 BOX(端末装置の一例)
51 AP(アクセスポイントの一例)
1 MFP (an example of a terminal device)
14a Identification information memory (an example of storage means)
17 Operation keys (an example of input means)
18 LCD (an example of notification means)
31 BOX (an example of a terminal device)
51 AP (an example of an access point)
Claims (4)
所定の端末装置と前記インフラストラクチャーモードで通信を行うための通信設定の設定を開始する指示を入力する入力手段と、
その入力手段を介して前記指示が入力された場合に、現在の通信設定を保存する保存手段と、
その保存手段によって保存したことを条件に、自端末装置について、1のアクセスポイントを介する前記インフラストラクチャーモードでの通信を行うための設定変更を行う第1設定手段と、
その第1設定手段による設定変更が所定時間内に完了したかを判断する完了判断手段と、
その完了判断手段により、前記第1設定手段による設定変更が所定時間内に完了したと判断された場合、前記第1設定手段によって設定された通信設定から前記保存手段によって保存されている通信設定に変更する変更手段と、
その変更手段によって変更された通信設定で前記設定変更を行うように要求する要求手段と、
前記所定の端末装置を識別可能な識別情報を記憶する記憶手段と、
前記完了判断手段により、前記第1設定手段による設定変更が所定時間内に完了したと判断された場合、同一ネットワークに接続されている端末装置に対して、その端末装置を識別可能な識別情報を返信することを指示する返信指示手段と、
その返信指示手段によって前記端末装置から返信される識別情報と、前記記憶手段に記憶されている識別情報とが一致するかを判断する第1判断手段と、
その第1判断手段によって一致すると判断され、かつ、要求手段による要求に対する応答を受信したことを条件に、前記第1設定手段によって設定された通信設定の内容を前記所定の端末装置に送信する送信手段と、
その送信手段による送信に対して、前記所定の端末装置において、前記1のアクセスポイントを介する前記インフラストラクチャーモードでの通信を行うための設定変更が完了したことを示す完了通知を、前記所定の端末装置から前記アドホックモードで受信する完了通知受信手段と、
その完了通知受信手段によって前記完了通知を受信したことを条件に、前記第1設定手段によって設定された通信設定に再設定する再設定手段と、
前記完了判断手段により、前記第1設定手段による設定変更が所定時間内に完了しなかったと判断された場合、前記入力手段によって入力された指示に基づき開始された設定を終了する終了手段と、
を備えていることを特徴とする端末装置。 Wireless communication is possible with the predetermined terminal device in either one of the ad hoc mode capable of direct wireless communication with the predetermined terminal device and the infrastructure mode capable of wireless communication with the predetermined terminal device via an access point. In the terminal device connected to
Input means for inputting an instruction to start setting of communication settings for communicating with a predetermined terminal device in the infrastructure mode ;
When the instruction is input through the input unit, a storage unit that stores the current communication setting;
A first setting means for changing a setting for performing communication in the infrastructure mode via one access point with respect to the own terminal device , on the condition that the storage means stores it;
Completion determination means for determining whether the setting change by the first setting means is completed within a predetermined time;
When the completion determining means determines that the setting change by the first setting means has been completed within a predetermined time, the communication setting set by the first setting means is changed to the communication setting saved by the saving means. Change means to change;
Request means for requesting to perform the setting change with the communication setting changed by the changing means;
Storage means for storing identification information capable of identifying the predetermined terminal device;
When the completion determining unit determines that the setting change by the first setting unit is completed within a predetermined time, identification information that can identify the terminal device is provided to a terminal device connected to the same network. A reply instruction means for instructing to reply;
First determination means for determining whether the identification information returned from the terminal device by the reply instruction means matches the identification information stored in the storage means;
Transmission for transmitting the contents of the communication setting set by the first setting means to the predetermined terminal device on condition that the first determination means determines that they match and that a response to the request by the request means has been received. Means,
In response to transmission by the transmission means, a notification of completion indicating that a setting change for performing communication in the infrastructure mode via the one access point is completed in the predetermined terminal device is sent to the predetermined terminal. A completion notification receiving means for receiving from the device in the ad hoc mode;
Resetting means for resetting the communication setting set by the first setting means on the condition that the completion notice is received by the completion notice receiving means;
An end means for ending the setting started based on an instruction input by the input means when the completion determining means determines that the setting change by the first setting means has not been completed within a predetermined time;
A terminal device comprising:
前記再設定手段によって通信設定の再設定が行われた場合、同一ネットワークに接続されている端末装置に対して、その端末装置を識別可能な識別情報を返信することを指示する第2返信指示手段と、When the communication setting is reset by the resetting means, a second reply instruction means for instructing a terminal apparatus connected to the same network to return identification information that can identify the terminal apparatus. When,
その第2返信指示手段によって前記端末装置から返信される識別情報と、前記記憶手段に記憶されている識別情報とが一致するかを判断する第2判断手段と、Second determination means for determining whether the identification information returned from the terminal device by the second reply instruction means matches the identification information stored in the storage means;
前記第2判断手段よって一致すると判断された場合には、前記インフラストラクチャーモードで、前記1のアクセスポイントを介して所定の端末装置と無線通信できることを前記報知手段に報知させる一方で、前記第2判断手段よって一致しないと判断された場合には、前記インフラストラクチャーモードで、前記1のアクセスポイントを介して所定の端末装置と無線通信できないことを前記報知手段に報知させる結果報知制御手段と、If it is determined by the second determination means that the two match, the notification means informs the wireless communication with a predetermined terminal device via the one access point in the infrastructure mode, while the second A result notification control means for notifying the notification means that wireless communication with a predetermined terminal device cannot be performed via the one access point in the infrastructure mode when the determination means determines that they do not match;
を備えていることを特徴とする請求項1記載の端末装置。The terminal device according to claim 1, further comprising:
任意のアクセスポイントに対して行う操作内容を前記報知手段により報知させる報知制御手段と、
を備え、
前記第1設定手段は、前記報知制御手段により報知された前記操作内容の報知に対する操作が行われた場合、前記設定変更を行うことを特徴とする請求項1または2に記載の端末装置。 An informing means for informing the information;
Notification control means for causing the notification means to notify the operation content to be performed on an arbitrary access point;
With
3. The terminal device according to claim 1, wherein the first setting unit performs the setting change when an operation for notification of the operation content notified by the notification control unit is performed.
前記第1の端末装置は、
所定の端末装置と前記インフラストラクチャーモードで通信を行うための通信設定の設定を開始する指示を入力する入力手段と、
その入力手段を介して前記指示が入力された場合に、現在の通信設定を保存する第1保存手段と、
その第1保存手段によって保存したことを条件に、自端末装置について、1のアクセスポイントを介する前記インフラストラクチャーモードでの通信を行うための設定変更を行う第1設定手段と、
その第1設定手段による設定変更が所定時間内に完了したかを判断する完了判断手段と、
その完了判断手段により、前記第1設定手段による設定変更が所定時間内に完了したと判断された場合、前記第1設定手段によって設定された通信設定から前記第1保存手段によって保存されている通信設定に変更する第1変更手段と、
その第1変更手段によって変更された通信設定で前記設定変更を行うように要求する要求手段と、
前記第2の端末装置を識別可能な識別情報を記憶する第1記憶手段と、
前記完了判断手段により、前記第1設定手段による設定変更が所定時間内に完了したと判断された場合、同一ネットワークに接続されている端末装置に対して、その端末装置を識別可能な識別情報を返信することを指示する返信指示手段と、
その返信指示手段によって前記端末装置から返信される識別情報と、前記第1記憶手段に記憶されている識別情報とが一致するかを判断する判断手段と、
その判断手段によって一致すると判断され、かつ、要求手段による要求に対する応答を受信したことを条件に、前記第1設定手段によって設定された通信設定の内容を前記第2の端末装置に送信する送信手段と、
その送信手段による送信に対して、前記第2の端末装置において、前記1のアクセスポイントを介する前記インフラストラクチャーモードでの通信を行うための設定変更が完了したことを示す完了通知を、前記第2の端末装置から前記アドホックモードで受信する完了通知受信手段と、
その完了通知受信手段によって前記完了通知を受信したことを条件に、前記第1設定手段によって設定された通信設定に再設定する第1再設定手段と、
前記完了判断手段により、前記第1設定手段による設定変更が所定時間内に完了しなかったと判断された場合、前記入力手段によって入力された指示に基づき開始された設定を終了する終了手段と、
を備え、
前記第2の端末装置は、
前記第1の端末装置から、前記要求手段による要求を受信する要求受信手段と、
その要求受信手段によって前記要求を受信した場合に、現在の通信設定を保存する第2保存手段と、
前記要求受信手段によって前記要求を受信した場合に、当該要求に対する応答を前記第1の端末装置に送信する応答手段と、
前記第1の端末装置から、前記送信手段により送信された前記通信設定の内容を受信する受信手段と、
その受信手段によって受信した前記通信設定に基づき、自端末装置について、前記インフラストラクチャーモードで、前記1のアクセスポイントを介する通信を行うための設定変更を行う第2設定手段と、
その第2設定手段によって設定された通信設定から前記第2保存手段によって保存されている通信設定に変更する第2変更手段と、
その第2変更手段によって変更された通信設定で、前記完了通知を前記第1の端末装置に送信する完了通知送信手段と、
その完了通知送信手段によって前記完了通知を送信したことを条件に、前記第2設定手段によって設定された通信設定に再設定する第2再設定手段と、
自端末装置を識別可能な識別情報を記憶する第2記憶手段と、
自端末装置の前記識別情報を返信させる指示を、前記第1の端末装置から受信した場合に、自端末装置の前記識別情報を、前記第1の端末装置に返信する返信手段と、
を備えていることを特徴とするシステム。 A communication system including a first terminal device and a second terminal device, wherein the first terminal and the second terminal can directly wirelessly communicate with each other, and the first The first terminal device and the second terminal device can communicate wirelessly in any one of the infrastructure modes in which the terminal and the second terminal can communicate wirelessly via an access point. In the system connected to
The first terminal device is:
Input means for inputting an instruction to start setting of communication settings for communicating with a predetermined terminal device in the infrastructure mode ;
First storage means for storing the current communication setting when the instruction is input via the input means;
A first setting means for changing a setting for performing communication in the infrastructure mode via one access point with respect to the own terminal device on the condition that the first saving means stores the data;
Completion determination means for determining whether the setting change by the first setting means is completed within a predetermined time;
If the completion determining means determines that the setting change by the first setting means has been completed within a predetermined time, the communication stored by the first storage means from the communication setting set by the first setting means. First changing means for changing the setting;
Request means for requesting the setting change with the communication setting changed by the first changing means;
First storage means for storing identification information capable of identifying the second terminal device;
When the completion determining unit determines that the setting change by the first setting unit is completed within a predetermined time, identification information that can identify the terminal device is provided to a terminal device connected to the same network. A reply instruction means for instructing to reply;
Determination means for determining whether the identification information returned from the terminal device by the reply instruction means matches the identification information stored in the first storage means;
Transmission means for transmitting the contents of the communication settings set by the first setting means to the second terminal device on condition that the determination means determines that they match and that a response to the request by the request means has been received. When,
In response to the transmission by the transmission means, the second terminal device sends a completion notification indicating that a setting change for performing communication in the infrastructure mode via the first access point is completed. A completion notification receiving means for receiving in the ad hoc mode from the terminal device;
A first resetting unit for resetting the communication setting set by the first setting unit on the condition that the completion notification is received by the completion notification receiving unit;
An end means for ending the setting started based on an instruction input by the input means when the completion determining means determines that the setting change by the first setting means has not been completed within a predetermined time;
With
The second terminal device is:
Request receiving means for receiving a request by the request means from the first terminal device;
Second storage means for storing current communication settings when the request is received by the request receiving means;
Response means for transmitting a response to the request to the first terminal device when the request is received by the request receiving means;
Receiving means for receiving the content of the communication setting transmitted by the transmitting means from the first terminal device;
Based on the communication settings received by the receiving means, a second setting means for changing settings for performing communication via the first access point in the infrastructure mode for the terminal device;
Second changing means for changing the communication setting set by the second setting means to the communication setting saved by the second saving means;
A completion notification transmitting means for transmitting the completion notification to the first terminal device with the communication setting changed by the second changing means;
A second resetting unit for resetting the communication setting set by the second setting unit on condition that the completion notification is transmitted by the completion notification transmitting unit;
Second storage means for storing identification information capable of identifying the terminal device;
A reply means for returning the identification information of the terminal device to the first terminal device when an instruction to return the identification information of the terminal device is received from the first terminal device;
A system characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009200489A JP5158041B2 (en) | 2009-08-31 | 2009-08-31 | Terminal device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009200489A JP5158041B2 (en) | 2009-08-31 | 2009-08-31 | Terminal device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011055116A JP2011055116A (en) | 2011-03-17 |
JP5158041B2 true JP5158041B2 (en) | 2013-03-06 |
Family
ID=43943707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009200489A Active JP5158041B2 (en) | 2009-08-31 | 2009-08-31 | Terminal device and system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5158041B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013114434A1 (en) * | 2012-01-31 | 2013-08-08 | パナソニック株式会社 | Terminal device, wireless network system, and method of connecting terminal device to access point |
JP6005141B2 (en) * | 2012-04-10 | 2016-10-12 | クラリオン株式会社 | Wireless communication system and terminal device |
JP5980027B2 (en) * | 2012-07-18 | 2016-08-31 | キヤノン株式会社 | COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM |
JP6447297B2 (en) * | 2015-03-26 | 2019-01-09 | 富士通株式会社 | Communication method, information processing apparatus, and program |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3915481B2 (en) * | 2001-11-14 | 2007-05-16 | セイコーエプソン株式会社 | Wireless communication device |
JP2004112225A (en) * | 2002-09-17 | 2004-04-08 | Ricoh Co Ltd | Information communication system |
JP2008035214A (en) * | 2006-07-28 | 2008-02-14 | Fuji Xerox Co Ltd | Radio communication system, radio communication equipment, and radio information setting program |
JP4488015B2 (en) * | 2007-03-12 | 2010-06-23 | ブラザー工業株式会社 | Network system |
-
2009
- 2009-08-31 JP JP2009200489A patent/JP5158041B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2011055116A (en) | 2011-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5251929B2 (en) | Communication apparatus and wireless communication system | |
US7986642B2 (en) | Wireless network system, and wireless device included in the system | |
US7899439B2 (en) | Wireless communication management system which prevents communication when security function is non-operative | |
JP6368989B2 (en) | Communication device | |
US9569632B2 (en) | Information processing apparatus having wireless communication function and method of controlling the apparatus | |
JP5246112B2 (en) | Wireless communication apparatus and computer program | |
US9042940B2 (en) | Technique for executing communication of object data with mobile device | |
JP5838988B2 (en) | Communication program and communication device | |
JP5736987B2 (en) | Wireless communication device | |
JP4844613B2 (en) | Wireless network connection method, wireless communication apparatus, and program | |
JP4844612B2 (en) | Wireless communication apparatus, connection method and program | |
JP6347146B2 (en) | Image recording apparatus, recording system, and program | |
JP4863465B2 (en) | Base station and control method thereof | |
JP6503968B2 (en) | Communication device and computer program for communication device | |
US10462652B2 (en) | Device performing a function depending on connected wireless network | |
KR101388696B1 (en) | Communication apparatus, control method of communication apparatus, and storage medium | |
JP5158041B2 (en) | Terminal device and system | |
US8743398B2 (en) | Using a button provided in an image forming apparatus to start a Wi-Fi protected setup | |
US10278072B2 (en) | Communication device and terminal device | |
JP2011035670A (en) | Communication device and communication system | |
US20180255593A1 (en) | Non-Transitory Computer-Readable Recording Medium Storing Computer-Readable Instructions For Communication Device, Communication Device, and Method Executed By Communication Device | |
JP5246094B2 (en) | Communication apparatus and communication system | |
US20230117870A1 (en) | Communication apparatus and method for controlling same | |
US20230353695A1 (en) | Information processing apparatus, method, and non-transitory computer-readable storage medium storing program | |
US10506130B2 (en) | Communication device and non-transitory computer-readable recording medium storing computer-readable instructions for communication device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110316 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120817 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120828 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121029 |
|
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: 20121113 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121126 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5158041 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151221 Year of fee payment: 3 |