JP5158041B2 - Terminal device and system - Google Patents

Terminal device and system Download PDF

Info

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
Application number
JP2009200489A
Other languages
Japanese (ja)
Other versions
JP2011055116A (en
Inventor
勇 北川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2009200489A priority Critical patent/JP5158041B2/en
Publication of JP2011055116A publication Critical patent/JP2011055116A/en
Application granted granted Critical
Publication of JP5158041B2 publication Critical patent/JP5158041B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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 Internet radio 20. Specifically, the PC 10 and the Internet radio 20 are directly connected in the ad hoc mode. A technique for transmitting the SSID and WEP key used by the PC 10 for wireless communication with the wireless LAN access point router 30 from the PC 10 to the Internet radio 20 and setting the transmitted SSID and WEP key in the Internet radio 20. Is described.

特開2005−142792JP 2005-142792 A

しかしながら、上述した特許文献1に記載されている技術は、既に、PC10が無線LANアクセスポイントルータ30と無線通信可能に設定されていることが前提となる技術である。よって、PC10と、インターネットラジオ20との各々に、無線LANアクセスポイントルータ30を介して無線通信可能なインフラストラクチャーモードの通信設定を行うことはできない。   However, the technique described in Patent Document 1 described above is a technique based on the premise that the PC 10 is already set to be able to perform wireless communication with the wireless LAN access point router 30. Therefore, the infrastructure mode communication setting that enables wireless communication via the wireless LAN access point router 30 cannot be performed for each of the PC 10 and the Internet radio 20.

また、上述した特許文献1は、PC10からインターネットラジオ20にSSIDおよびWEP鍵を送信した後は、インターネットラジオ20における通信設定が成功したか否かに拘らず、PC10は、当初設定されていたインフラストラクチャーモードに再設定される。よっって、インターネットラジオ20の設定が失敗した場合には、PC10とインターネットラジオ20との間で無線通信ができなくなるという問題点があった。   Further, in Patent Document 1 described above, after the SSID and the WEP key are transmitted from the PC 10 to the Internet radio 20, regardless of whether the communication setting in the Internet radio 20 has succeeded, the PC 10 has the infrastructure that was initially set. Reset to Structure mode. Therefore, when the setting of the Internet radio 20 fails, there is a problem that wireless communication cannot be performed between the PC 10 and the Internet radio 20.

本発明は、上述した問題点を解決するためになされたものであり、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 claim 1, when the communication setting is reset by the resetting means, the terminal device connected to the same network Then, it is instructed to return identification information that can identify the terminal device. Then, it is determined whether the returned identification information matches the identification information stored in the storage means. If it is determined that the identification information matches, the predetermined identification information is sent via one access point in the infrastructure mode. The informing means informs that wireless communication with the terminal device is possible. On the other hand, when it is determined that they do not match, the notifying means notifies that it is not possible to perform wireless communication with a predetermined terminal device via one access point in the infrastructure mode. Therefore, the user can recognize whether or not wireless communication can be performed in the infrastructure mode between the terminal device and the predetermined terminal device.

請求項記載の端末装置によれば、請求項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.

請求項記載のシステムによれば、請求項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.

(a)は、本発明の第1の実施形態におけるMFPと、BOXと、APとの外観構成を示した斜視図である。FIG. 3A is a perspective view illustrating an external configuration of an MFP, a BOX, and an AP according to the first embodiment of the present invention. MFPと、BOXと、APとの電気的構成を示すブロック図である。It is a block diagram which shows the electrical structure of MFP, BOX, and AP. MFPの無線LAN簡単設定処理を示すフローチャートである。6 is a flowchart showing a simple wireless LAN setting process of the MFP. MFPの設定変更処理を示すフローチャートである。5 is a flowchart illustrating MFP setting change processing. BOXの要求実行処理を示すフローチャートである。It is a flowchart which shows the request | requirement execution process of BOX. 第2の実施形態におけるMFPの無線LAN簡単設定処理を示すフローチャートである。10 is a flowchart illustrating wireless LAN simple setting processing of an MFP according to the second embodiment. MFPのMFP設定変更処理を示すフローチャートである。5 is a flowchart showing MFP setting change processing of an MFP. MFPのBOX設定変更処理を示すフローチャートである。6 is a flowchart showing BOX setting change processing of the MFP. 第2の実施形態におけるBOXの要求実行処理を示すフローチャートである。It is a flowchart which shows the request | requirement execution process of the BOX in 2nd Embodiment.

以下、本発明の好ましい第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 MFP 1 and the BOX 31 are configured to be able to perform data communication by the wireless LAN system wireless communication 200, and are configured to be able to perform data communication between the MFP 1 and the BOX 31 directly or via the AP 51. The wireless LAN system is a communication system defined by, for example, the IEEE 802.11a / b / g standard.

無線LAN方式の無線通信200には、通信モードとして、アドホックモード(以下「Adモード」と称す)と、インフラストラクチャーモード(以下「Infモード」と称す)との2つのモードが設けられ、何れか一方のモードで通信が行われる。Adモードは、MFP1とBOX31との間で直接通信を行うモードであり、Infモードは、MFP1とBOX31とがAP51を介して通信を行うモードである。   The wireless LAN 200 wireless communication 200 is provided with two communication modes, an ad hoc mode (hereinafter referred to as “Ad mode”) and an infrastructure mode (hereinafter referred to as “Inf mode”). Communication is performed in one mode. The Ad mode is a mode in which direct communication is performed between the MFP 1 and the BOX 31, and the Inf mode is a mode in which the MFP 1 and the BOX 31 communicate with each other via the AP 51.

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 MFP 1 and the BOX 31 automatically execute the special data communication between the own apparatuses 1 and 31 and the AP 51 and automatically set the setting items related to the wireless LAN of the own apparatuses 1 and 31 so that the communication with the AP 51 is possible in the Inf mode. Wireless LAN easy setting function (see FIG. 2). The wireless LAN easy setting function is, for example, an Air Station One-Touch Secure System (hereinafter referred to as “AOSS (registered trademark)”) function or a Wi-Fi Protected Setup (registered trademark) (hereinafter referred to as “WPS”). ) Function etc.

AP51は、AP51に設けられているAP簡単設定ボタン51aが押下されると、MFP1またはBOX31との間で特別なデータ通信を開始する機能を有している。   The AP 51 has a function of starting special data communication with the MFP 1 or the BOX 31 when the AP easy setting button 51 a provided on the AP 51 is pressed.

第1の実施形態は、ユーザがMFP1だけを操作すれば、MFP1およびBOX31のそれぞれに、自装置1,31が有する無線LAN簡単設定機能を実行させることができるという形態である。その結果、MFP1およびBOX31を、同一のAP51を介して互いにデータ通信可能な状態にできる。   In the first embodiment, if the user operates only the MFP 1, each of the MFP 1 and the BOX 31 can execute the wireless LAN simple setting function of the own apparatuses 1 and 31. As a result, the MFP 1 and the BOX 31 can be in a state in which data communication can be performed with each other via the same AP 51.

なお、MFP1およびBOX31が共にAdモードで互いにデータ通信可能な状態ならば、MFP1およびBOX31を同一のAP51に接続することができ、MFP1およびBOX31が共にInfモードでAP51を介して互いにデータ通信可能な状態ならば、MFP1およびBOX31の接続先となるAP51を変更できる(接続中のAP51とは別のAP51に接続できる)。   If both MFP 1 and BOX 31 can communicate with each other in Ad mode, MFP 1 and BOX 31 can be connected to the same AP 51, and both MFP 1 and BOX 31 can communicate with each other via AP 51 in Inf mode. If so, the AP 51 to which the MFP 1 and the BOX 31 are connected can be changed (can be connected to a different AP 51 from the connected AP 51).

MFP1には、主に、下部にプリンタ19、上部にスキャナ20、正面上部に操作パネル6が設けられている。プリンタ19はインクジェット方式のプリンタ、スキャナ20はフラットベッドスキャナとして構成されている。   The MFP 1 is mainly provided with a printer 19 at the bottom, a scanner 20 at the top, and an operation panel 6 at the top front. The printer 19 is configured as an ink jet printer, and the scanner 20 is configured as a flat bed scanner.

操作パネル6には、操作キー17、LCD18が主に設けられている。操作キー17には、MFP簡単設定ボタン17aが設けられており、MFP簡単設定ボタン17aが押下されると、後述する無線LAN簡単設定処理(図3参照)の実行が開始される。   The operation panel 6 is mainly provided with operation keys 17 and an LCD 18. The operation key 17 is provided with an MFP easy setting button 17a. When the MFP easy setting button 17a is pressed, execution of a wireless LAN easy setting process (see FIG. 3) described later is started.

BOX31は、主に、電話回線網100を使用する通信の制御を行うものであり、電話回線網100に接続されている。BOX31には、主に、操作キー38、LCD39が設けられている。AP51は、無線LAN方式の無線通信200によりデータ通信が可能に構成された既知の中継装置である。   The BOX 31 mainly controls communication using the telephone line network 100 and is connected to the telephone line network 100. The BOX 31 is mainly provided with operation keys 38 and an LCD 39. The AP 51 is a known relay device configured to be able to perform data communication by the wireless LAN wireless communication 200.

図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 MFP 1, the BOX 31, and the AP 51. The MFP 1 mainly includes a CPU 11, ROM 12, RAM 13, flash memory 14, wireless LAN communication control circuit 15, operation keys 17, LCD 18, printer 19, and scanner 20.

CPU11、ROM12、RAM13、フラッシュメモリ14は、バスライン21を介して互いに接続されている。また、無線LAN通信制御回路15、操作キー17、LCD18、プリンタ19、スキャナ20、バスライン21は、入出力ポート22を介して互いに接続されている。   The CPU 11, ROM 12, RAM 13, and flash memory 14 are connected to one another via a bus line 21. The wireless LAN communication control circuit 15, the operation key 17, the LCD 18, the printer 19, the scanner 20, and the bus line 21 are connected to each other via the input / output port 22.

CPU11は、ROM12等に記憶される固定値やプログラム或いは、無線LAN通信制御回路15を介して送受信される各種信号に従って、各機能の制御や、入出力ポート22と接続された各部を制御するものである。   The CPU 11 controls each function and controls each unit connected to the input / output port 22 according to fixed values or programs stored in the ROM 12 or the like or various signals transmitted / received via the wireless LAN communication control circuit 15. It is.

ROM12は、MFP1で実行される制御プログラムなどを格納した書換不能なメモリであり、後述する図3に示す無線LAN簡単設定処理、図4に示す設定変更処理を実行する各プログラムが格納されている。RAM13は、書換可能な揮発性のメモリである。フラッシュメモリ14は、書換可能な不揮発性のメモリであり、識別情報メモリ14aと、旧ネットワーク設定メモリ14bと、新ネットワーク設定メモリ14cとが割当てられている。   The ROM 12 is a non-rewritable memory that stores a control program executed by the MFP 1, and stores programs for executing a wireless LAN simple setting process shown in FIG. 3 and a setting changing process shown in FIG. . The RAM 13 is a rewritable volatile memory. The flash memory 14 is a rewritable nonvolatile memory, and is assigned an identification information memory 14a, an old network setting memory 14b, and a new network setting memory 14c.

この識別情報メモリ14aには、ネットワーク上においてBOX31を識別可能な識別情報が記憶されており、本実施形態では、MACアドレス(Media Access Control address)が格納されている。   The identification information memory 14a stores identification information that can identify the BOX 31 on the network. In this embodiment, a MAC address (Media Access Control address) is stored.

旧ネットワーク設定メモリ14bは、無線LAN簡単設定機能を使用して、InfモードでAP51とデータ通信可能となるように、自装置(MFP1)の無線LANに関する設定項目を自動的に設定(変更)する場合に、設定変更前の無線LANに関する設定内容を記憶するためのメモリである。   The old network setting memory 14b automatically sets (changes) the setting items related to the wireless LAN of the own apparatus (MFP 1) so that data communication with the AP 51 is possible in the Inf mode using the wireless LAN simple setting function. In this case, it is a memory for storing setting contents related to the wireless LAN before the setting is changed.

新ネットワーク設定メモリ14cは、無線LAN簡単設定機能を使用して、自装置1の無線LANに関する設定項目を自動的に設定(変更)した場合に、設定変更後の新たな無線LANに関する設定内容を記憶するためのメモリである。   The new network setting memory 14c stores the setting contents related to the new wireless LAN after the setting change when the wireless LAN simple setting function is used to automatically set (change) the setting items related to the wireless LAN of the own device 1. It is a memory for storing.

無線LAN通信制御回路15は、(無線LAN方式の)無線通信200によるデータ通信の各種制御を行うものであり、無線LAN簡単設定機能(例えば、AOSS(登録商標)機能やWPS機能など)15aと、無線LAN用アンテナ16とを有している。この無線LAN通信制御回路15は、他の通信装置(例えば、BOX31や、AP51など)との間で無線通信200を行いながら、各種のデータを構成するデジタル信号を送受信するものである。   The wireless LAN communication control circuit 15 performs various controls of data communication by the wireless communication 200 (of the wireless LAN system), and includes a wireless LAN easy setting function (for example, an AOSS (registered trademark) function, a WPS function, etc.) 15a And a wireless LAN antenna 16. The wireless LAN communication control circuit 15 transmits and receives digital signals constituting various data while performing wireless communication 200 with other communication devices (for example, BOX 31 and AP 51).

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 BOX 31 mainly includes a CPU 32, a ROM 33, a RAM 34, a flash memory 35, a wireless LAN communication control circuit 36, an operation key 38, an LCD 39, a modem 40, and an NCU 41. The CPU 32, ROM 33, RAM 34, and flash memory 35 are connected to each other via a bus line 42. The wireless LAN communication control circuit 36, the operation key 38, the LCD 39, the modem 40, the NCU 41, and the bus line 42 are connected to each other via the input / output port 43.

CPU32は、上述したMFP1のCPU11と同様に構成されているので、その説明を省略する。以下同様に、RAM34はRAM13と、操作キー38は操作キー17と、LCD39はLCD18と、各々同様に構成されているので、その説明を省略する。   Since the CPU 32 is configured in the same manner as the CPU 11 of the MFP 1 described above, the description thereof is omitted. Similarly, the RAM 34 has the same configuration as the RAM 13, the operation key 38 has the operation key 17, and the LCD 39 has the same configuration as the LCD 18. Therefore, the description thereof will be omitted.

ROM33は、BOX31で実行される制御プログラムなどを格納した書換不能なメモリであり、後述する図5の要求実行処理を実行するプログラムが格納されている。フラッシュメモリ35は、書換可能な不揮発性のメモリであり、旧ネットワーク設定メモリ35aと、新ネットワーク設定メモリ35bとが設けられている。   The ROM 33 is a non-rewritable memory storing a control program executed by the BOX 31 and stores a program for executing a request execution process of FIG. The flash memory 35 is a rewritable nonvolatile memory, and is provided with an old network setting memory 35a and a new network setting memory 35b.

旧ネットワーク設定メモリ35aは、上述した旧ネットワーク設定メモリ14bと同様に構成されており、新ネットワーク設定メモリ35bは、上述した新ネットワーク設定メモリ14cと同様に構成されているので、各々の説明を省略する。   The old network setting memory 35a is configured in the same manner as the above-described old network setting memory 14b, and the new network setting memory 35b is configured in the same manner as the above-described new network setting memory 14c. To do.

無線LAN通信制御回路36は、上述したMFP1の無線LAN通信制御回路15と同様に構成されている。モデム40は、ファクシミリ機能によって送信する原稿データを、電話回線網100に伝送可能な信号に変調してNCU41を介して送信したり、電話回線網100からNCU41を介して入力された信号を受信し、原稿データへ復調するものである。   The wireless LAN communication control circuit 36 is configured similarly to the wireless LAN communication control circuit 15 of the MFP 1 described above. The modem 40 modulates the original data to be transmitted by the facsimile function into a signal that can be transmitted to the telephone network 100 and transmits it via the NCU 41 or receives a signal input from the telephone network 100 via the NCU 41. The data is demodulated into document data.

次に、図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 CPU 11 of the MFP 1 will be described with reference to FIGS. In the following description, it is assumed that both the MFP 1 and the BOX 31 are capable of data communication with each other in the Ad mode. The wireless LAN simple setting process is a process executed when the MFP simple setting button 17a of the MFP 1 is pressed. As shown in FIG. 3, in the wireless LAN simple setting process, first, a setting change process is executed (S1).

ここで、図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 CPU 11 of the MFP 1 will be described with reference to FIG. As shown in FIG. 4, in this setting change process, first, in order to confirm the existence of the BOX 31 on the network to which the MFP 1 is connected, the MAC address is obtained by SNMP (Simple Network Management Protocol). Specifically, an SNMP packet for requesting notification of a MAC address is generated, and the SNMP packet is transmitted to a terminal device existing on the network (S21). 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 identification information memory 14a (S22).

その結果、一致しないと判定した場合には(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 BOX 31 does not exist, and the process proceeds to S29. On the other hand, when it is determined that they match (S22: Yes), it is assumed that the BOX 31 exists, and a “wireless LAN simple setting function execution start request” is transmitted to the BOX 31 (S23). It is determined whether a predetermined time (timeout time) has elapsed since the “execution start request” was transmitted (S24).

既定時間が経過していない場合には(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 BOX 31 has been received. (S25). On the other hand, when the predetermined time (timeout time) has elapsed in the process of S24 (S24: Yes), the process proceeds to S29.

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 LCD 18. Press the AP simple setting button and wait for a while. Is displayed (S26).

次に、BOX31から送信されてきた「実行開始要求の応答」を受信してから、既定時間(タイムアウト時間)が経過したかを判定し(S27)、既定時間が経過していない場合には(S27:No)、BOX31から送信されてくる「設定(変更)が完了したことを示す設定完了通知」を受信したかを判定する(S28)。一方、S27の処理において、既定時間(タイムアウト時間)が経過した場合には(S27:Yes)、S29の処理へ移行する。   Next, after receiving the “execution start request response” transmitted from the BOX 31, it is determined whether a predetermined time (timeout time) has elapsed (S27). S27: No), it is determined whether the “setting completion notification indicating that the setting (change) has been completed” transmitted from the BOX 31 has been received (S28). On the other hand, in the process of S27, when the predetermined time (timeout time) has elapsed (S27: Yes), the process proceeds to S29.

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 BOX 31 has not been completed normally, for example, the LCD 18 displays “The wireless LAN simple setting function of BOX could not be used” (S29). The process proceeds to S42. In the process of S28, when the “setting completion notification” has not been received (S28: No), the process returns to S27, and the processes of S27 and S28 are repeated.

一方、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 LCD 18 displays “Start MFP setting. Please press the AP simple setting button again and wait for a while” (S31), and display the various settings related to the current wireless LAN in the old network of the flash memory 14. Store in the setting memory 14b (S32).

次に、MFP1が有する無線LAN簡単設定機能を実行する(S33)。MFP1において、無線LAN簡単設定機能が実行開始されると、MFP1とAP51との間で特別なデータ通信が実行され、InfモードでAP51とデータ通信可能となるように、自装置1の無線LANに関する設定項目が自動的に設定(変更)される。   Next, the wireless LAN simple setting function of the MFP 1 is executed (S33). When the MFP 1 starts executing the wireless LAN simple setting function, special data communication is executed between the MFP 1 and the AP 51, and the wireless LAN of the own apparatus 1 is related to the data communication with the AP 51 in the Inf mode. Setting items are automatically set (changed).

次に、MFP1の無線LAN簡単設定機能を実行してから、規定時間(タイムアウト時間)が経過したかを判定し(S34)、規定時間が経過した場合には(S34:Yes)、例えば、LCD18に「MFPの無線LAN簡単設定機能を使用できませんでした。」と表示して(S36)、S42の処理へ移行する。   Next, after executing the wireless LAN easy setting function of the MFP 1, it is determined whether or not a specified time (timeout time) has elapsed (S34). If the specified time has elapsed (S34: Yes), for example, the LCD 18 Displays “The wireless LAN easy setting function of the MFP could not be used” (S36), and the process proceeds to S42.

一方、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 MFP 1 has been completed (S35). If the setting of the wireless LAN of the MFP 1 has not been completed (S35: No), the process returns to S34, and the processes of S34 and S35 are repeated. When the setting of the wireless LAN of the MFP 1 is completed in the process of S35 (S35: Yes), various setting contents regarding the set new wireless LAN are stored in the new network setting memory 14c (S37). The various settings related to the wireless LAN are temporarily returned to the contents of the old network setting memory 14b (S38).

即ち、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 BOX 31 in the Ad mode. Then, a “switch instruction to Inf mode” is transmitted to the BOX 31 (S39), and it is determined whether or not a specified time (timeout time) has elapsed since the “switch instruction to Inf mode” is transmitted to the BOX 31 (S40). ).

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 BOX 31 has been received (S41), and “switch execution notification”. Is not received (S41: No), the process returns to the process of S40, and the processes of S40 and S41 are repeated.

一方、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 MFP 1 are returned to the contents of the new network setting memory 14c (S43). That is, it returns to a state where data communication with the AP 51 is possible in the Inf mode. And this setting change process is complete | finished.

以上の図4に示す設定変更処理により、MFP1とBOX31との両方が、InfモードでAP51とデータ通信可能であると確認できた場合に限り、MFP1とBOX31との通信設定を共に、AP51を介して互いにデータ通信可能な状態に変更できる。即ち、MFP1とBOX31との一方が、InfモードでAP51とデータ通信不可能な場合には、MFP1とBOX31との通信設定は共に変更されないので、MFP1とBOX31とがデータ通信不可能な状態になることを抑制できる。   Only when it is confirmed that both MFP 1 and BOX 31 are capable of data communication with AP 51 in the Inf mode by the setting change process shown in FIG. 4, both the communication settings of MFP 1 and BOX 31 are set via AP 51. So that they can communicate with each other. That is, when one of MFP 1 and BOX 31 cannot perform data communication with AP 51 in the Inf mode, both the communication settings of MFP 1 and BOX 31 are not changed, so that MFP 1 and BOX 31 cannot perform data communication. This can be suppressed.

ここで、図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 MFP 1 and the BOX 31 have been completed normally (S2). If the setting of one of the MFP 1 and the BOX 31 is not normally completed (S2: No), the wireless LAN simple setting process is terminated. On the other hand, when the settings of the MFP 1 and the BOX 31 are both completed normally (S2: Yes), an SNMP packet requesting notification of the MAC address is generated, and the SNMP packet is transmitted to a terminal device existing on the network. (S3).

そして、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 identification information memory 14a (S4). If it is determined that they match (S4: Yes) ), For example, the message “Communication with BOX is possible. MFP and BOX settings have been completed normally” is displayed on the LCD 18 (S5), and the wireless LAN simple setting process is terminated. The user can confirm whether the wireless LAN simple setting process has been normally executed in the MFP 1 by checking the LCD 18.

一方、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 easy setting button 17a of the MFP 1 is pressed, the MFP 1 and the BOX 31 can each execute the wireless LAN simple setting function. Therefore, even if the user operates the MFP 1 and the BOX 31 and does not execute the wireless LAN simple setting function of each device 1, 31, if the user operates the MFP 1, the wireless LAN simple setting of each device 1, 31 is performed. Since each function can be executed, it is easy to use. Further, it is possible to cause the LCD 18 to display a result as to whether the MFP 1 and the BOX 31 have been changed to a state in which data communication can be performed with each other via the AP 51 in the Inf mode.

また、MFP1は多機能を有する装置であり、BOX31は、主に、電話回線網100を使用する通信の制御を行う装置であるので、BOX31よりもMFP1の方が筐体(図1参照)もLCDの表示領域も大きい構成となる。本実施形態では、ユーザは、MFP1のLCD18を見ながらBOX31を操作するという構成なので、BOX31のLCD39を見ながらBOX31を直接操作する場合よりも、より多くの情報を一度にLCD18に表示させることができる。よって、BOX31の設定状態や、設定の進行状況をより詳細に表示させることができ、ユーザの使い勝手を良くできる。   Further, since the MFP 1 is a multi-function device, and the BOX 31 is a device that mainly controls communication using the telephone line network 100, the MFP 1 also has a housing (see FIG. 1) than the BOX 31. The display area of the LCD is also large. In the present embodiment, since the user operates the BOX 31 while looking at the LCD 18 of the MFP 1, more information can be displayed on the LCD 18 at a time than when the BOX 31 is directly operated while looking at the LCD 39 of the BOX 31. it can. Therefore, the setting state of the BOX 31 and the progress of the setting can be displayed in more detail, and user convenience can be improved.

次に、図5を参照して、BOX31のCPU32により実行される要求実行処理について説明する。なお、MFP1およびBOX31は共にAdモードで互いにデータ通信可能な状態であるものとして説明する。要求実行処理は、BOX31の主電源が投入されてから主電源が遮断されるまで繰り返し実行される処理である。   Next, a request execution process executed by the CPU 32 of the BOX 31 will be described with reference to FIG. In the following description, it is assumed that both the MFP 1 and the BOX 31 are capable of data communication with each other in the Ad mode. The request execution process is a process that is repeatedly executed after the main power supply of the BOX 31 is turned on until the main power supply is shut off.

図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 MFP 1 has been received (S51). If the “SNMP packet” is received (S51: Yes). ), “MAC address” is transmitted to the MFP 1 (S52). On the other hand, if the “SNMP packet” has not been received (S51: No), the process proceeds to S53.

次に、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 MFP 1 has been received (S53). When the “execution start request for the wireless LAN simple setting function” has not been received (S53: No), the process returns to S51, and the processes of S51 to S53 are repeated.

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 BOX 31 is executed (S56), and it is determined whether the specified time (timeout time) has elapsed since the wireless LAN simple setting function was executed (S57).

BOX31において、無線LAN簡単設定機能が実行されると、AP51との間で特別なデータ通信が実行され、InfモードでAP51とデータ通信可能となるように、自装置31の無線LANに関する設定項目が自動的に設定(変更)される。なお、設定が完了した後は、BOX31はInfモードとなり、AP51とデータ通信可能な状態になる一方、MFP1とはデータ通信が不可能な状態になる。   In the BOX 31, when the wireless LAN simple setting function is executed, special data communication is executed with the AP 51, and setting items related to the wireless LAN of the own device 31 are set so that data communication with the AP 51 is possible in the Inf mode. Set (change) automatically. After the setting is completed, the BOX 31 is in the Inf mode, and is in a state where data communication with the AP 51 is possible, but data communication with the MFP 1 is impossible.

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 BOX 31 is not normally executed, so the process proceeds to S66. On the other hand, in the process of S57, when the specified time (timeout time) has not elapsed (S57: No), it is determined whether the setting of the wireless LAN of the BOX 31 is completed (S58). If the setting of the wireless LAN of the BOX 31 is not completed (S58: No), the process returns to S57, and the processes of S57 and S58 are repeated.

S58の処理において、BOX31の無線LANの設定が終了した場合には(S58:Yes)、設定された新たな無線LANに関する各種設定内容を、新ネットワーク設定メモリ35bに記憶する(S59)。   In the process of S58, when the setting of the wireless LAN of the BOX 31 is completed (S58: Yes), various setting contents regarding the set new wireless LAN are stored in the new network setting memory 35b (S59).

次に、MFP1に設定完了を通知するために、BOX31の無線LANに関する各種設定内容を、一旦、旧ネットワーク設定メモリ35aの内容に戻す(S60)。即ち、AdモードでMFP1と直接データ通信可能な状態に戻す。そして、MFP1へ「設定完了通知」を送信し(S61)、MFP1へ「設定完了通知」を送信してから、規定時間(タイムアウト時間)が経過したかを判定する(S62)。   Next, in order to notify the MFP 1 of the completion of setting, various setting contents regarding the wireless LAN of the BOX 31 are once returned to the contents of the old network setting memory 35a (S60). That is, it returns to the state in which direct data communication with the MFP 1 is possible in the Ad mode. Then, a “setting completion notification” is transmitted to the MFP 1 (S61), and it is determined whether a specified time (timeout time) has elapsed since the “setting completion notification” is transmitted to the MFP 1 (S62).

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 MFP 1 has been received (S63), and the “setting completion notification response” is displayed. If not received (S63: No), the process returns to the process of S62, and the processes of S62 and S63 are repeated.

一方、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 MFP 1 It is determined whether or not (S64). If the predetermined time has elapsed (S64: Yes), the process proceeds to S66. In the process of S66, various setting contents regarding the wireless LAN of the BOX 31 are returned to the contents of the old network setting memory 35a (S66). Then, it returns to the process of S51 and repeats each process of S51-S66.

一方、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 MFP 1 has been received (S65). If the “inf mode switching instruction” has not been received (S65: No), the process returns to S64, and the processes of S64 and S65 are repeated.

一方、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 BOX 31 are made. The contents are returned to the contents of the new network setting memory 35b (S68). That is, it returns to a state where data communication with the AP 51 is possible in the Inf mode. And it returns to the process of S51 and repeats each process of S51-S68.

以上の図5に示す要求実行処理により、MFP1から送信されてくる「無線LAN簡単設定機能の実行開始要求」を受信した場合に、BOX31が有する無線LAN簡単設定機能を実行開始して、BOX31の無線LANに関する各種設定内容を、AP51とデータ通信可能な状態に設定(変更)できる。   When the “request for starting execution of the wireless LAN simple setting function” transmitted from the MFP 1 is received by the request execution process shown in FIG. 5, the execution of the wireless LAN simple setting function of the BOX 31 is started, and the BOX 31 Various settings related to the wireless LAN can be set (changed) so that data communication with the AP 51 is possible.

また、無線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 MFP 1. A “setting completion notification” can be sent to indicate completion. When performing data communication in the Inf mode, both the MFP 1 and the BOX 31 perform data communication via the AP 51. Therefore, when there is a malfunction (communication failure or the like) in the AP 51, the MFP 1 and the BOX 31 Data communication may not be performed normally. However, since data communication is performed in the Ad mode, even if a defect occurs in the AP 51, it is not affected. Therefore, the MFP 1 can accurately detect whether the setting of the BOX 31 has been changed normally.

次に、本発明の第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 MFP 1 stores programs for executing a wireless LAN simple setting process shown in FIG. 6 to be described later, an MFP setting changing process shown in FIG. 7, and a BOX setting changing process shown in FIG. 8, and a ROM 33 (not shown) of the BOX 31. ) Stores a program for executing a request execution process of FIG. 9 to be described later.

次に、図6〜図8を参照して、第2の実施形態におけるMFP1のCPU11により実行される無線LAN簡単設定処理について説明する。なお、MFP1およびBOX31は共にAdモードで互いにデータ通信可能な状態であるものとして説明する。   Next, a simple wireless LAN setting process executed by the CPU 11 of the MFP 1 according to the second embodiment will be described with reference to FIGS. In the following description, it is assumed that both the MFP 1 and the BOX 31 are capable of data communication with each other in the Ad mode.

この処理は、MFP1のMFP簡単設定ボタン17aが押下された場合に実行される。なお、上述した第1の実施形態と同一の処理を実行するステップについては、同一の符号を付してその説明を省略する。   This process is executed when the MFP easy setting button 17a of the MFP 1 is pressed. In addition, about the step which performs the process same as 1st Embodiment mentioned above, the same code | symbol is attached | subjected and the description is abbreviate | omitted.

図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 CPU 11 of the MFP 1 will be described with reference to FIG. As shown in FIG. 7, in this MFP setting change process, first, various setting contents regarding the current wireless LAN are stored in the old network setting memory 14b (S91). Next, for example, “MFP setting starts. Please wait for a while by pressing the AP simple setting button” is displayed on the LCD 18 (S92), and the wireless LAN simple setting function of the MFP 1 is executed (S93). .

MFP1において、無線LAN簡単設定機能が実行開始されると、MFP1とAP51との間で特別なデータ通信が実行され、InfモードでAP51とデータ通信可能となるように、自装置の無線LANに関する設定項目が自動的に設定(変更)される。   When the MFP 1 starts executing the wireless LAN simple setting function, special data communication is executed between the MFP 1 and the AP 51, and the setting related to the wireless LAN of the own device is enabled so that data communication with the AP 51 is possible in the Inf mode. The item is set (changed) automatically.

次に、MFP1の無線LAN簡単設定機能を実行してから、規定時間(タイムアウト時間)が経過したかを判定し(S94)、規定時間が経過した場合には(S94:Yes)、例えば、LCD18に「MFPの無線LAN簡単設定機能を使用できませんでした。MFPおよびBOXの設定を中止します。」と表示して(S96)、S98の処理へ移行する。   Next, after executing the wireless LAN easy setting function of the MFP 1, it is determined whether or not a specified time (timeout time) has elapsed (S94). If the specified time has elapsed (S94: Yes), for example, the LCD 18 Displays “MFP wireless LAN easy setting function could not be used. MFP and BOX settings are cancelled.” (S96), and the process proceeds to S98.

一方、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 MFP 1 has been completed (S95). If the setting of the wireless LAN of the MFP 1 is not completed (S95: No), the process returns to S94, and the processes of S94 and S95 are repeated.

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 MFP 1 is completed (S95: Yes), various setting contents relating to the set new wireless LAN are stored in the new network setting memory 14c (S97), and S98. Move on to processing. In the process of S98, various setting contents related to the wireless LAN of the MFP 1 are returned to the contents of the old network setting memory 14b (S98). That is, it returns to the state in which direct data communication with the BOX 31 is possible in the Ad mode. Then, the MFP setting change process is terminated.

ここで、図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 MFP 1 has been completed normally (S82). If the setting of the MFP 1 has not ended normally (S82: No), the wireless LAN simple setting process ends.

S82の処理において、MFP1の設定が正常に終了した場合には(S82:Yes)、BOX設定変更処理を実行する(S83)。ここで、図8を参照して、MFP1のCPU11により実行されるBOX設定変更処理(S83)について説明する。   In the process of S82, when the setting of the MFP 1 is normally completed (S82: Yes), a BOX setting change process is executed (S83). Here, the BOX setting change process (S83) executed by the CPU 11 of the MFP 1 will be described with reference to FIG.

図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 identification information memory 14a (S22: No), the BOX 31 does not exist. Then, the process proceeds to S108.

一方、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 BOX 31 is present and, for example, the LCD 18 displays “BOX setting starts. Please wait for a while” (S101). Then, a “communication setting change start request” is transmitted to the BOX 31 (S102). Next, it is determined whether a specified time (timeout time) has elapsed since the “communication setting change start request” is transmitted to the BOX 31 (S103). In the process of S103, when the predetermined time has elapsed (S103: Yes), the process proceeds to S108. On the other hand, when the predetermined time has not elapsed (S103: No), it is determined whether or not the “response to change start request indicating that the communication setting change start request has been received” transmitted from the BOX 31 has been received. (S104) If the “change start request response” has not been received (S104: No), the process returns to S103, and the processes of S103 and S104 are repeated.

一方、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 network setting memory 14c. Is encrypted and transmitted to the BOX 31 (S105).

例えば、データを暗号化して送信しても良いし、暗号化方式の無線通信200を行っても良い。無線通信200の暗号化方式には、例えば、WEPや、TKIPや、AESなどがある。暗号化してデータを送信することで、AP51に対して不正なアクセスが行われたり、不正にデータが閲覧、操作(改ざん)が行われるのを防止できる。   For example, data may be encrypted and transmitted, or encryption wireless communication 200 may be performed. Examples of the encryption method of the wireless communication 200 include WEP, TKIP, and AES. By encrypting and transmitting data, it is possible to prevent unauthorized access to the AP 51 and unauthorized browsing and manipulation (falsification) of data.

また、暗号化してBOX31へ送信するデータには、例えば、MFP1がAP51との間でデータ通信するための設定内容と、MFP1がTCP/IPを使用するための設定内容とが含まれている。AP51との間でデータ通信するための設定内容としては、例えば、通信モード、認証タイプ、暗号化モード、暗号化キーの種別、パスワード(暗号化キー)の設定内容などが該当する。なお、これらの各設定項目の設定内容(パラメータ)は、上述したS93(図7参照)の処理によって、各設定項目ごとに一つずつパラメータが自動的に設定される。   The data that is encrypted and transmitted to the BOX 31 includes, for example, setting contents for the MFP 1 to perform data communication with the AP 51 and setting contents for the MFP 1 to use TCP / IP. The setting contents for data communication with the AP 51 include, for example, the communication mode, authentication type, encryption mode, encryption key type, password (encryption key) setting contents, and the like. Note that the setting contents (parameters) of these setting items are automatically set for each setting item by the processing of S93 (see FIG. 7) described above.

より具体的には、通信モードは、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 MFP 1 and the BOX 31 is set as a parameter.

また、暗号化モードは、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 BOX 31 is completed. It is determined whether or not “notification” has been received (S107). If “notification of completion of change” has not been received (S107: No), the processing returns to S106, and each processing of S106 and S107 is repeated.

一方、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 BOX 31, the process proceeds to S108. In the process of S108, for example, the message “The network setting of the BOX could not be changed. The setting of the MFP and the BOX is canceled” is displayed on the LCD 18 (S108), and the setting change process is terminated.

以上の図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 MFP 1 and the BOX 31 are capable of data communication with the AP 51 in the Inf mode, both the communication settings of the MFP 1 and the BOX 31 are changed. To enable communication with each other. Therefore, it is possible to prevent the MFP 1 and the BOX 31 from entering a state where data communication is impossible.

ここで、図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 BOX 31 has been completed normally (S84). When the setting of the BOX 31 is not normally completed (S84: No), the wireless LAN simple setting process is terminated. On the other hand, in the process of S84, when the setting of the BOX 31 is normally completed (S84: Yes), the processes of S3 to S6 (see FIG. 3) are executed, and the wireless LAN simple setting process is terminated.

次に、図9を参照して、BOX31のCPU32により実行される要求実行処理について説明する。なお、MFP1およびBOX31は共にAdモードで互いにデータ通信可能な状態であるものとして説明する。   Next, the request execution process executed by the CPU 32 of the BOX 31 will be described with reference to FIG. In the following description, it is assumed that both the MFP 1 and the BOX 31 are capable of data communication with each other in the Ad mode.

この処理は、BOX31の主電源が投入されてから主電源が遮断されるまで繰り返し実行される処理である。なお、上述した第1の実施形態と同一の処理を実行するステップについては、同一の符号を付してその説明を省略する。   This process is a process that is repeatedly executed after the main power supply of the BOX 31 is turned on until the main power supply is shut off. In addition, about the step which performs the process same as 1st Embodiment mentioned above, the same code | symbol is attached | subjected and the description is abbreviate | omitted.

図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 MFP 1 has been received (S121). If the “communication setting change start request” has not been received (S121: No), the process returns to S51, and the processes of S51 to S121 are repeated.

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 MFP 1 has been received. Is determined (S125). If “data of various setting contents of the wireless LAN” has not been received (S125: No), the process returns to the process of S124, and the processes of S124 and S125 are repeated.

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 BOX 31 are set in the contents of the new network setting memory 35b (S127). If the various settings of the wireless LAN included in the received data are correct, the BOX 31 is set (changed) to a state in which data communication with the AP 51 is possible in the Inf mode by the process of S127.

次に、AP51との間で無線通信200が可能かを判定し(S128)、AP51との間で無線通信200ができない場合には(S128:No)、BOX31の無線LANに関する各種設定内容を、旧ネットワーク設定メモリ35aの内容に戻す(S129)。即ち、AdモードでMFP1と直接データ通信可能な状態に戻す。そして、S51の処理に戻り、S51〜S129の各処理を繰り返す。   Next, it is determined whether or not the wireless communication 200 can be performed with the AP 51 (S128). If the wireless communication 200 cannot be performed with the AP 51 (S128: No), various setting contents regarding the wireless LAN of the BOX 31 are The contents of the old network setting memory 35a are restored (S129). That is, it returns to the state in which direct data communication with the MFP 1 is possible in the Ad mode. And it returns to the process of S51 and repeats each process of S51-S129.

一方、S128の処理において、AP51との間で無線通信200が可能な場合には(S128:Yes)、MFP1に通信設定の変更完了を通知するために、BOX31の無線LANに関する各種設定内容を、一旦、旧ネットワーク設定メモリ35aの内容に戻す(S130)。即ち、AdモードでMFP1と直接データ通信可能な状態に戻す。   On the other hand, when the wireless communication 200 is possible with the AP 51 in the process of S128 (S128: Yes), in order to notify the MFP 1 of the completion of the change of the communication setting, various setting contents regarding the wireless LAN of the BOX 31 are The contents of the old network setting memory 35a are once restored (S130). That is, it returns to the state in which direct data communication with the MFP 1 is possible in the Ad mode.

ここで、MFP1は暗号化によるデータ通信している状態なので、暗号化によるデータ通信によりMFP1へ「変更完了通知」を送信する(S131)。そして、MFP1へ「変更完了通知」を送信してから、規定時間(タイムアウト時間)が経過したかを判定する(S132)。既定時間を経過した場合には(S132:Yes)、S51の処理に戻り、S51〜S132の各処理を繰り返す。   Here, since the MFP 1 is in the state of data communication by encryption, the “change completion notification” is transmitted to the MFP 1 by data communication by encryption (S131). Then, it is determined whether a specified time (timeout time) has elapsed since the “change completion notification” was transmitted to the MFP 1 (S132). If the predetermined time has elapsed (S132: Yes), the process returns to S51, and the processes of S51 to S132 are repeated.

一方、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 MFP 1 has not been received (S65: No), the process returns to the process of S132, and the processes of S132 and S65 are repeated. On the other hand, in the process of S65, when a “switch instruction to Inf mode” is received (S65: Yes), the processes of S67 and S68 are executed. And it returns to the process of S51 and repeats each process of S51-S68.

以上の図9に示す要求実行処理により、MFP1から送信されてくる「無線LANの各種設定内容のデータ」を受信した場合に、その受信データに基づいて、BOX31の無線LANに関する各種設定を、AP51とデータ通信可能な状態に設定(変更)できる。   When “data of various wireless LAN setting contents” transmitted from the MFP 1 is received by the request execution process shown in FIG. 9, various settings related to the wireless LAN of the BOX 31 are set based on the received data. Can be set (changed) so that data communication is possible.

以上説明した通り、第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 MFP 1 is caused to execute the wireless LAN simple setting function, and data related to various setting items of the wireless LAN obtained by the execution is transmitted from the MFP 1 to the BOX 31. The BOX 31 sets (changes) various setting items related to the wireless LAN of the BOX 31 based on the received data. Therefore, the user simply presses the AP easy setting button 51a of the AP 51 once, and the MFP 1 and the BOX 31 are set. Various setting items related to the wireless LAN can be set.

以上、実施形態に基づき本発明を説明したが、本発明は上述した実施形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変更が可能であることは容易に推察できるものである。   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 MFP 1, the MFP 1 stores the current communication setting, performs a new communication setting by the wireless LAN simple setting function, and sets a new communication setting in the BOX 31 with the current communication setting. To do. On the other hand, the BOX 31 that has received the instruction stores the current communication setting, performs a new communication setting by the wireless LAN simple setting function, notifies the MFP 1 of the completion of the setting with the current communication setting, and the MFP 1 It may be configured such that the new communication setting is completed on the condition that the notification is received, and the new communication setting is completed on the condition that the BOX 31 is notified of the completion. Also in this case, similarly to the case of the first embodiment, the MFP 1 and the BOX 31 can be set to perform communication settings enabling wireless communication in the infrastructure mode.

例えば、BOX31に無線LANに関する設定項目を自動的に設定させ、その後、MFP1に無線LANに関する設定項目を自動的に設定させるように構成しても良い。   For example, the BOX 31 may be configured to automatically set the setting items related to the wireless LAN, and then the MFP 1 may be configured to automatically set the setting items related to the wireless LAN.

また、MFP1の代わりに、BOX31を操作すれば、MFP1とBOX31との無線LANに関する設定項目を各々自動的に設定させることができるように構成しても良い。   In addition, if the BOX 31 is operated instead of the MFP 1, the setting items related to the wireless LAN between the MFP 1 and the BOX 31 may be automatically set.

また、BOX31の無線LAN簡単設定機能を実行させて、BOX31に無線LANに関する設定項目を自動的に設定させ、その設定項目のデータをBOX31からMFP1へ送信し、そのデータに基づいてMFP1に無線LANに関する設定項目を設定させるように構成しても良い。   Also, the wireless LAN easy setting function of the BOX 31 is executed, the setting items related to the wireless LAN are automatically set in the BOX 31, data of the setting items is transmitted from the BOX 31 to the MFP 1, and the wireless LAN is transmitted to the MFP 1 based on the data. You may comprise so that the setting item regarding may be set.

また、MFP1とBOX31との一方が、無線LANに関する設定項目の設定(変更)を正常に終了できなかったら、MFP1とBOX31とを共に、無線LANに関する設定項目の設定を設定変更前の状態に戻すように構成しても良い。即ち、MFP1とBOX31とを共に、Adモードに戻して、互いに直接データ通信可能な状態にする。このように構成すれば、MFP1とBOX31とを常にデータ通信可能に維持できる。   If one of the MFP 1 and the BOX 31 cannot normally finish setting (changing) the setting item related to the wireless LAN, both the MFP 1 and the BOX 31 return the setting item setting related to the wireless LAN to the state before the setting change. You may comprise as follows. That is, both the MFP 1 and the BOX 31 are returned to the Ad mode so that direct data communication with each other is possible. With this configuration, the MFP 1 and the BOX 31 can always be maintained so that data communication is possible.

また、無線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 BOX 31 of the present embodiment is configured to be capable of data communication by the wireless LAN type wireless communication 200, but may further be provided with a function of a cordless telephone base unit.

尚、7のS91が請求項の保存手段、図7のS93が請求項1,4の第1設定手段、図7のS98が請求項1,4の変更手段、図8のS102が請求項1,4の要求手段、図8のS105が請求項1,4の送信手段、図8のS107が請求項の完了通知受信手段、図8のS43が請求項1,4の再設定手段、図7のS92が請求項の報知制御手段、図8のS21が請求項1,4の返信指示手段、図8のS22が請求項1,4の判断手段、図9のS121が請求項の要求受信手段、図9のS123が請求項の保存手段、図9のS126が請求項の受信手段,図9のS127が請求項の第2設定手段、図9のS130が請求項の変更手段、図9のS131が請求項の完了通知送信手段、図9のS68が請求項の再設定手段の一例に相当する。 Incidentally, S91 is storage means according to claim 1 in FIG. 7, S93 is the first setting means of claim 1, 4 in FIG. 7, S98 is changing means according to claim 1, 4 in FIG. 7, the S102 of FIG. 8 according request means of claim 1, 4, S105 transmission means of claim 1, 4 in FIG. 8, S107 is complete notification receiving unit according to claim 1 in FIG. 8, S43 is re-setting means of claim 1, 4 in FIG. 8 , S92 is notification control unit according to claim 3, S21 reply indicating means according to claim 1 and 4 in FIG. 8, S22 is judging means according to claim 1 and 4 of Figure 8 in FIG. 7, S121 is claim 9 4 of request receiving means, S123 is storage means according to claim 4 in FIG. 9, S126 receiving means according to claim 4 in FIG. 9, the second setting means S127 is according to claim 4 in FIG. 9, claims S130 of FIG. 9 4. change means, S131 is complete notification transmission unit according to claim 4 in FIG. 9, resetting means S68 is according to claim 4 in FIG. 9 It corresponds to an example.

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:
情報を報知する報知手段と、An informing means for informing the information;
前記再設定手段によって通信設定の再設定が行われた場合、同一ネットワークに接続されている端末装置に対して、その端末装置を識別可能な識別情報を返信することを指示する第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の端末装置と、第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の端末装置に返信する返信手段と、
を備えていることを特徴とするシステム。
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:
JP2009200489A 2009-08-31 2009-08-31 Terminal device and system Active JP5158041B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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