JP2018182513A - Communication device and communication setting method - Google Patents

Communication device and communication setting method Download PDF

Info

Publication number
JP2018182513A
JP2018182513A JP2017078944A JP2017078944A JP2018182513A JP 2018182513 A JP2018182513 A JP 2018182513A JP 2017078944 A JP2017078944 A JP 2017078944A JP 2017078944 A JP2017078944 A JP 2017078944A JP 2018182513 A JP2018182513 A JP 2018182513A
Authority
JP
Japan
Prior art keywords
setting
communication
mode
unit
request
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.)
Pending
Application number
JP2017078944A
Other languages
Japanese (ja)
Inventor
直之 樋原
Naoyuki Hihara
直之 樋原
聡司 峯澤
Satoshi Minesawa
聡司 峯澤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2017078944A priority Critical patent/JP2018182513A/en
Publication of JP2018182513A publication Critical patent/JP2018182513A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a communication device that can realize a reduction of a work load of a user and shortening time required for work.SOLUTION: A master unit 1 being a communication device comprises: a storage unit 15 that stores a first communication setting information 15A required to operate in a normal mode and a second communication setting information 15B required to operate in a setting mode; and an operation reception unit 12 that receives operation from a user, and performs a process for setting the first communication setting information 15A between itself and other communication device of a request source during operation in the setting mode, every time when a request for setting the first communication setting information 15A is received from other communication device, starts the operation in the setting mode when the operation reception unit 12 receives the operation to request the start of the setting mode, and finishes the operation in the setting mode when the operation reception unit 12 receives the operation to request an end of the setting mode, or when constant time has elapsed since the operation in the setting mode is started.SELECTED DRAWING: Figure 2

Description

本発明は、無線通信システムを構成する通信装置および通信設定方法に関する。   The present invention relates to a communication apparatus and a communication setting method that constitute a wireless communication system.

無線LAN(Local Area Network)システムにおいて、端末である子機は、自端末の周囲に存在するアクセスポイントである親機を探索し、探索した親機から取得した情報を設定して親機に接続する。この設定は接続設定と呼ばれる。Wi−Fi(登録商標)対応の親機と子機とが接続設定を行う場合、一般的にはWPS(登録商標)(Wi-Fi Protected Setup)に従った手順で親機と子機とが必要な情報を交換して接続設定を行う(例えば、特許文献1参照)。また、WPSとは異なる手順で接続設定を行うことが可能な親機および子機も存在する。   In a wireless LAN (Local Area Network) system, a handset as a terminal searches for a parent, which is an access point present around its own terminal, sets information acquired from the found parent, and connects to the parent. Do. This setting is called connection setting. When a Wi-Fi (registered trademark) -compatible master unit and a slave unit perform connection settings, generally, the master unit and the slave unit follow the procedure according to WPS (registered trademark) (Wi-Fi Protected Setup). Necessary information is exchanged to perform connection setting (see, for example, Patent Document 1). There are also masters and slaves that can perform connection settings in a procedure different from WPS.

特開2014−236326号公報JP, 2014-236326, A

WPSをはじめとした上記従来の手順に従う場合、親機は、動作の開始を指示する操作を使用者から受け付けると接続設定動作を開始し、1台の子機との間で接続設定が完了すると、接続設定動作を終了して通常の動作に戻る。そのため、接続設定が必要な子機が複数存在する場合、使用者は、1台の子機の設定が終了するごとに親機の操作を再度行う必要があり、使用者の作業負荷が大きくなるという問題があった。また、全ての子機の接続設定が完了するまでの所要時間が長くなるという問題があった。   When following the above-mentioned conventional procedure including WPS, the parent machine starts the connection setting operation when accepting the operation instructing the start of the operation from the user, and when the connection setting with one child machine is completed End the connection setting operation and return to the normal operation. Therefore, when there are a plurality of handsets that require connection settings, the user needs to perform the operation of the base unit again each time the setting of one handset is completed, which increases the workload of the user. There was a problem that. In addition, there is a problem that the time required to complete the connection setting of all the slaves becomes long.

本発明は、上記に鑑みてなされたものであって、使用者の作業負荷の軽減および作業の所要時間の短縮化を実現することが可能な通信装置を得ることを目的とする。   The present invention has been made in view of the above, and it is an object of the present invention to provide a communication device capable of realizing reduction of a user's work load and shortening of the time required for work.

上述した課題を解決し、目的を達成するために、本発明にかかる通信装置は、通常モードで動作するために必要な第1の通信設定情報および設定モードで動作するために必要な第2の通信設定情報を保持する記憶部と、使用者からの操作を受け付ける操作受付部とを備える。通信装置は、設定モードでの動作中は、第1の通信設定情報の設定の要求を他の通信装置から受けるごとに、要求元の他の通信装置との間で第1の通信設定情報を設定するための処理を実行する。また、通信装置は、操作受付部が設定モードの開始を要求する操作を受け付けた場合に設定モードでの動作を開始し、操作受付部が設定モードの終了を要求する操作を受け付けた場合、または、設定モードでの動作を開始してから一定時間が経過した場合に、設定モードでの動作を終了する。   In order to solve the problems described above and to achieve the object, the communication device according to the present invention comprises first communication setting information necessary for operating in the normal mode and a second necessary for operating in the setting mode. A storage unit that holds communication setting information, and an operation reception unit that receives an operation from a user. While operating in the setting mode, the communication device transmits the first communication setting information to another communication device as a request source every time a request for setting the first communication setting information is received from the other communication device. Execute processing for setting. Further, the communication apparatus starts the operation in the setting mode when the operation receiving unit receives the operation requesting the start of the setting mode, and the operation receiving unit receives the operation requesting the end of the setting mode, or The operation in the setting mode is ended when a predetermined time has elapsed since the operation in the setting mode was started.

本発明によれば、使用者の作業負荷の軽減および作業の所要時間の短縮化を実現できる、という効果を奏する。   According to the present invention, it is possible to realize the reduction of the work load of the user and the shortening of the time required for the work.

実施の形態にかかる通信装置を含んで構成された無線通信システムの一例を示す図The figure which shows an example of the radio | wireless communications system comprised including the communication apparatus concerning embodiment. 親機の構成例を示す図Diagram showing a configuration example of the parent machine 子機の構成例を示す図Diagram showing configuration example of slave unit 子機が親機に接続するシーケンスの一例を示す図Diagram showing an example of a sequence in which a slave unit connects to a master unit 親機が実行する動作の一例を示すフローチャートFlow chart showing an example of the operation executed by the parent machine 親機を実現するハードウェアの構成例を示す図Diagram showing an example of hardware configuration that realizes the parent machine

以下に、本発明の実施の形態にかかる通信装置および通信設定方法を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Hereinafter, a communication apparatus and a communication setting method according to an embodiment of the present invention will be described in detail based on the drawings. The present invention is not limited by the embodiment.

実施の形態.
図1は、本発明の実施の形態にかかる通信装置を含んで構成された無線通信システムの一例を示す図である。図1に示した無線通信システムは、親機1と複数の子機2とを含んで構成される。親機1が本発明にかかる通信装置である。親機1にとって、子機2は他の通信装置に該当する。
Embodiment.
FIG. 1 is a diagram showing an example of a wireless communication system configured to include the communication device according to the embodiment of the present invention. The wireless communication system shown in FIG. 1 is configured to include a base unit 1 and a plurality of handsets 2. The parent device 1 is a communication device according to the present invention. For base unit 1, handset 2 corresponds to another communication device.

親機1は、無線LANシステムのアクセスポイントである。親機1は、後述する設定モードでの動作を実行して必要な情報の交換が完了している子機2から接続の要求を受けた場合、要求元の子機2との通信を開始する。子機2は、無線LANへの接続機能を有する機器であり、パーソナルコンピュータ、タブレット端末およびスマートフォンといった機器が該当するが、これらの機器に子機2を限定するものではない。また、図1に示した本実施の形態にかかる無線通信システムはHEMS(Home Energy Management System)を実現するために用いることができる。本実施の形態にかかる無線通信システムを使用してHEMSを実現する場合、親機1は、無線LANシステムのアクセスポイントとして動作する機能を備えたHEMSコントローラである。子機2は、無線LANシステムのクライアントとして動作する機能を備えた家電機器、または、家電機器をネットワークに接続するためのHEMSアダプタである。   The parent device 1 is an access point of a wireless LAN system. When the base unit 1 receives a connection request from the slave unit 2 which has executed the operation in the setting mode to be described later and exchange of necessary information is completed, communication with the slave unit 2 of the request source is started. . The handset 2 is a device having a function of connecting to a wireless LAN, and devices such as a personal computer, a tablet terminal and a smartphone correspond, but the handset 2 is not limited to these devices. Further, the wireless communication system according to the present embodiment shown in FIG. 1 can be used to realize a home energy management system (HEMS). When the HEMS is realized using the wireless communication system according to the present embodiment, the base unit 1 is a HEMS controller having a function of operating as an access point of the wireless LAN system. The handset 2 is a home appliance having a function of operating as a client of the wireless LAN system, or an HEMS adapter for connecting the home appliance to a network.

図2は、図1に示した親機1の構成例を示す図である。親機1は、制御部11、操作受付部12、モード切替部13、子機情報データベース(DB:Data Base)14、記憶部15および無線通信部16を備える。   FIG. 2 is a view showing an example of the configuration of the base unit 1 shown in FIG. The base unit 1 includes a control unit 11, an operation receiving unit 12, a mode switching unit 13, a child device information database (DB: Data Base) 14, a storage unit 15, and a wireless communication unit 16.

制御部11は、親機1を構成する各部を制御するとともに、子機2と無線通信を行うために必要な情報を子機2との間で送受信する。操作受付部12は、親機1に対する操作を使用者から受け付ける。モード切替部13は、予め決められた条件を満たした場合に親機1の動作モードを切り替える。予め決められた条件としては、特定の操作が行われたことを検出した場合、ある動作を開始してから一定時間が経過した場合などが該当する。子機情報DB14は、親機1への接続を許可する子機2の情報を保持する。   The control unit 11 controls each unit constituting the master unit 1, and transmits and receives information necessary for performing wireless communication with the slave unit 2 with the slave unit 2. The operation accepting unit 12 accepts an operation on the parent device 1 from the user. The mode switching unit 13 switches the operation mode of the base unit 1 when a predetermined condition is satisfied. The conditions determined in advance include, for example, a case where it is detected that a specific operation has been performed, and a case where a predetermined time has elapsed since a certain operation was started. The child device information DB 14 holds information of the child device 2 that permits connection to the parent device 1.

記憶部15は、第1の通信設定情報15Aおよび第2の通信設定情報15Bを保持する。第1の通信設定情報15Aは、親機1が通常動作での通信を行うために必要な通信設定情報である。通信設定情報は、ネットワークID(Identification)、パスワードおよび使用するチャネルといった情報を含んで構成される。パスワードは子機の接続を許可するか否かを判定する際に使用する。第2の通信設定情報15Bは、親機1が設定動作での通信を行うために必要な通信設定情報である。第2の通信設定情報15Bには、第1の通信設定情報15Aに含まれる情報と同じ種類の情報が含まれる。なお、無線LANにおいてはESSID(Extended Service Set ID)がネットワークIDに該当する。そのため、以下の説明ではESSIDを使用する。   The storage unit 15 holds the first communication setting information 15A and the second communication setting information 15B. The first communication setting information 15A is communication setting information necessary for the parent device 1 to perform communication in the normal operation. The communication setting information includes information such as a network ID (Identification), a password, and a channel to be used. The password is used to determine whether or not to permit connection of the slave unit. The second communication setting information 15B is communication setting information necessary for the parent device 1 to perform communication in the setting operation. The second communication setting information 15B includes the same type of information as the information included in the first communication setting information 15A. In the wireless LAN, ESSID (Extended Service Set ID) corresponds to the network ID. Therefore, the ESSID is used in the following description.

無線通信部16は、子機2との間で無線信号を送受信して無線通信を行う。無線通信部16は、第1の通信設定情報15Aに従って行う通常動作での無線通信と、第2の通信設定情報15Bに従って行う設定動作での無線通信と、を並行して実施可能とする。通常動作での無線通信と設定動作での無線通信とでは異なるESSIDを使用する。   The wireless communication unit 16 performs wireless communication by transmitting and receiving wireless signals to and from the handset 2. The wireless communication unit 16 enables the wireless communication in the normal operation performed in accordance with the first communication setting information 15A and the wireless communication in the setting operation performed in accordance with the second communication setting information 15B in parallel. Different ESSIDs are used for wireless communication in normal operation and wireless communication in setting operation.

図3は、図1に示した子機2の構成例を示す図である。子機2は、制御部21、表示部22、操作受付部23、通信設定切替部24、記憶部25および無線通信部26を備える。   FIG. 3 is a view showing an example of the configuration of the slave unit 2 shown in FIG. The slave unit 2 includes a control unit 21, a display unit 22, an operation reception unit 23, a communication setting switching unit 24, a storage unit 25, and a wireless communication unit 26.

制御部21は、子機2を構成する各部を制御するとともに、親機1と無線通信を行うために必要な情報を親機1との間で送受信する。表示部22は、子機2の動作状態および動作結果、子機2と親機1との接続状態、使用者から受け付けた操作の内容、子機2が保持している情報の内容などを表示して使用者に通知する。操作受付部23は、子機2に対する操作を使用者から受け付ける。通信設定切替部24は、子機2が通常モードで動作する場合の通信設定と設定モードで動作する場合の通信設定とを切り替える。   The control unit 21 controls each unit constituting the handset 2, and transmits and receives information necessary for wireless communication with the base unit 1 with the base unit 1. The display unit 22 displays the operation state and the operation result of the handset 2, the connection state between the handset 2 and the base unit 1, the content of the operation accepted from the user, the content of the information held by the handset 2, and the like. And notify the user. The operation accepting unit 23 accepts an operation on the handset 2 from the user. The communication setting switching unit 24 switches between communication setting when the handset 2 operates in the normal mode and communication setting when the handset 2 operates in the setting mode.

記憶部25は、第1の通信設定情報25Aおよび第2の通信設定情報25Bを含む。第1の通信設定情報25Aは、子機2が通常動作での通信を行うために必要な通信設定情報である。第1の通信設定情報25Aは、上述した親機1の記憶部15が保持する第1の通信設定情報15Aと同様の情報である。第2の通信設定情報25Bは、子機2が設定動作での通信を行うために必要な通信設定情報である。第2の通信設定情報25Bは、上述した親機1の記憶部15が保持する第2の通信設定情報15Bと同様の情報である。記憶部25は、初期状態では第1の通信設定情報25Aを保持しておらず、子機2が親機1との間で設定動作を実行して親機1から通信設定情報を取得すると、これを第1の通信設定情報25Aとして保持する。記憶部25が第1の通信設定情報25Aを保持した状態になると、子機2は親機1との間で通常動作での通信が可能となる。記憶部25は、第2の通信設定情報25Bを予め保持しているものとする。すなわち、子機2は、初期状態から設定モードでの通信が可能な状態であるものとする。   The storage unit 25 includes first communication setting information 25A and second communication setting information 25B. The first communication setting information 25A is communication setting information necessary for the handset 2 to perform communication in the normal operation. The first communication setting information 25A is the same information as the first communication setting information 15A held by the storage unit 15 of the above-described base unit 1. The second communication setting information 25B is communication setting information necessary for the slave 2 to perform communication in the setting operation. The second communication setting information 25B is the same information as the second communication setting information 15B held by the storage unit 15 of the above-described base unit 1. In an initial state, the storage unit 25 does not hold the first communication setting information 25A, and when the handset 2 executes the setting operation with the base unit 1 and acquires the communication setting information from the base unit 1, This is held as the first communication setting information 25A. When the storage unit 25 holds the first communication setting information 25A, the handset 2 can communicate with the base unit 1 in the normal operation. It is assumed that the storage unit 25 holds in advance the second communication setting information 25B. That is, it is assumed that the slave unit 2 is in a state in which communication can be performed in the setting mode from the initial state.

無線通信部26は、親機1との間で無線信号を送受信して無線通信を行う。無線通信部26は、通常動作での無線通信および設定動作での無線通信のいずれか一方を実施する。   The wireless communication unit 26 performs wireless communication by transmitting and receiving a wireless signal to and from the base unit 1. The wireless communication unit 26 implements either one of wireless communication in the normal operation and wireless communication in the setting operation.

つづいて、本実施の形態にかかる親機1に子機2が接続する動作について、図4を用いて説明する。図4は、子機2が親機1に接続するシーケンスの一例を示す図である。図4に示した子機2は、動作の開始時点では、図4に示した親機1と通常動作での通信を行うために必要な通信設定情報の取得が済んでいないものとする。すなわち、図4に示した子機2は、動作の開始時点では第1の通信設定情報25Aを保持していないものとする。   Subsequently, an operation of connecting the slave 2 to the master 1 according to the present embodiment will be described with reference to FIG. FIG. 4 is a diagram showing an example of a sequence in which the slave unit 2 connects to the master unit 1. It is assumed that, at the start of the operation, the handset 2 shown in FIG. 4 has not acquired the communication setting information necessary for performing communication with the base unit 1 shown in FIG. 4 in the normal operation. That is, it is assumed that handset 2 shown in FIG. 4 does not hold first communication setting information 25A at the start of operation.

親機1は、使用者からスイッチ操作などによる設定開始要求を受け付けると第2の通信設定を有効にして設定モードでの動作を開始する(ステップS1)。第2の通信設定を有効にするとは、第2の通信設定情報15Bを使用した無線通信を有効にすることを意味する。なお、親機1は、設定開始要求を受け付ける前から通常モードでの動作を行っており、設定開始要求を受け付けた後も通常モードでの動作を継続する。すなわち、親機1は、設定開始要求を受け付けると、通常モードでの動作および設定モードでの動作を並行して行う。通常モードとは、第1の通信設定情報15Aを使用した無線通信が可能な動作モード、設定モードとは、第2の通信設定情報15Bを使用した無線通信が可能な動作モードである。設定モードでの無線通信では、通常モードでの無線通信とは異なるESSIDを使用する。同様に、子機2は、使用者からスイッチ操作などによる設定開始要求を受け付けると第2の通信設定を有効にして設定モードでの動作を開始する(ステップS2)。親機1が保持している第2の通信設定情報15Bに含まれるESSIDと、子機2が保持している第2の通信設定情報25Bに含まれるESSIDとは、同じであるものとする。設定モードにおいて、親機1は、第2の通信設定情報15Bに含まれるESSIDを使用し、子機2は、第2の通信設定情報25Bに含まれるESSIDを使用する。   When the base unit 1 receives a setting start request from the user by switch operation or the like, the base unit 1 validates the second communication setting and starts operation in the setting mode (step S1). To enable the second communication setting means to enable the wireless communication using the second communication setting information 15B. The base unit 1 performs the operation in the normal mode before receiving the setting start request, and continues the operation in the normal mode even after receiving the setting start request. That is, upon receiving the setting start request, base unit 1 performs the operation in the normal mode and the operation in the setting mode in parallel. The normal mode is an operation mode in which wireless communication using the first communication setting information 15A is possible, and the setting mode is an operation mode in which wireless communication using the second communication setting information 15B is possible. The wireless communication in the setting mode uses an ESSID different from the wireless communication in the normal mode. Similarly, when receiving the setting start request from the user by the switch operation or the like, the slave unit 2 validates the second communication setting and starts the operation in the setting mode (step S2). It is assumed that the ESSID included in the second communication setting information 15B held by the master unit 1 and the ESSID included in the second communication setting information 25B held by the slave unit 2 are the same. In the setting mode, the base unit 1 uses the ESSID included in the second communication setting information 15B, and the handset 2 uses the ESSID included in the second communication setting information 25B.

親機1および子機2が設定モードでの動作を開始すると、ステップS3に示した一連のシーケンスを子機2および親機1が実行し、親機1から子機2に対して第1の通信設定情報が通知される。ステップS3に示したシーケンスでは、まず、子機2が親機1に向けて探索要求を送信する。このとき、子機2は、第2の通信設定情報25Bに含まれるESSIDを探索要求に含ませる。探索要求を受信した親機1は探索応答を子機2に向けて送信する。子機2は、探索応答を受信すると、次に、接続要求を親機1に向けて送信する。このとき、子機2は、第2の通信設定情報25Bに含まれるパスワードを接続要求に含ませてもよい。接続要求にパスワードを含ませる必要があるか否かは、接続要求の送信先の親機1の設定に依存する。接続要求を受信した親機1は、接続を許可するか否かを判断し、接続を許可する場合には、その旨を示す接続応答を子機2に向けて送信する。親機1は、受信した接続要求にパスワードが含まれている場合、パスワードに基づいて、接続を許可するか否かを判断する。子機2は、接続の許可を示す接続応答を受信すると、設定情報要求を親機1に向けて送信し、これを受信した親機1は、記憶部15で保持している第1の通信設定情報15Aを子機2に向けて送信する。また、親機1は、接続を許可した子機2の情報を子機情報DB14に登録する。子機2の情報としては、子機2の識別情報が該当する。親機1は、子機2ごとに異なるパスワードを割り当てる場合には、子機2の識別情報とパスワードとを対応付けたものを、子機2の情報として子機情報DB14に登録する。なお、子機情報DB14に登録する情報はこれらの情報に限定されない。   When base unit 1 and base unit 2 start operation in the setting mode, base unit 2 and base unit 1 execute the series of sequences shown in step S3. Communication setting information is notified. In the sequence shown in step S3, first, the slave unit 2 transmits a search request to the master unit 1. At this time, the handset 2 includes the ESSID included in the second communication setting information 25B in the search request. The parent device 1 having received the search request transmits the search response to the child device 2. Upon receiving the search response, the slave 2 then transmits a connection request to the master 1. At this time, the handset 2 may include the password included in the second communication setting information 25B in the connection request. Whether it is necessary to include a password in the connection request depends on the setting of the master 1 of the transmission destination of the connection request. The base unit 1 having received the connection request determines whether or not to permit the connection, and in the case of permitting the connection, transmits a connection response indicating that effect to the handset 2. If the received connection request includes a password, base unit 1 determines whether to permit connection based on the password. Upon receipt of the connection response indicating permission of connection, handset 2 transmits a setting information request to base unit 1, and base unit 1 having received this transmits the first communication held in storage unit 15 The setting information 15A is sent to the handset 2. Further, base unit 1 registers information of handset 2 for which connection is permitted in handset information DB 14. The identification information of the slave 2 corresponds to the information of the slave 2. When a different password is assigned to each handset 2, base unit 1 registers the association of the identification information of the handset 2 with the password in handset unit information DB 14 as information on handset 2. The information registered in the slave device information DB 14 is not limited to these pieces of information.

子機2は、親機1から第1の通信設定情報15Aを受信すると、これを記憶部25に保存する(ステップS4)。これにより、子機2の記憶部25が第1の通信設定情報25Aを保持した状態となり、通常モードでの動作が可能となる。子機2は、次に、第1の通信設定に切り替え(ステップS5)、第1の通信設定に従った動作を開始する。第1の通信設定に従った動作とは、第1の通信設定情報25Aを使用した無線通信を行う通常モードでの動作である。子機2は、第1の通信設定への切り替えが終わると、第1の通信設定での動作を開始し、ステップS6に示した一連のシーケンスを親機1との間で実行して親機1に接続する。ステップS6に示したシーケンスでは、上述したステップS3のシーケンスと同様に、子機2は、探索要求を送信し、探索応答を受信すると、接続要求を送信する。このとき、子機2は、第1の通信設定情報25Aに含まれるESSIDを探索要求に含ませる。また、子機2は、第1の通信設定情報25Aに含まれるパスワードを接続要求に含ませる。子機2は、接続の許可を示す接続応答を受信すると設定が完了となり(ステップS7)、設定完了を使用者に通知する(ステップS8)。子機2は、例えば、表示部22を用いて、設定完了の通知を使用者に行う。   The slave unit 2 stores the first communication setting information 15A from the master unit 1 in the storage unit 25 (step S4). As a result, the storage unit 25 of the handset 2 holds the first communication setting information 25A, and the operation in the normal mode becomes possible. Next, handset 2 switches to the first communication setting (step S5), and starts an operation according to the first communication setting. The operation according to the first communication setting is an operation in the normal mode in which wireless communication using the first communication setting information 25A is performed. When the switching to the first communication setting is completed, the slave unit 2 starts the operation in the first communication setting and executes the series of sequences shown in step S6 with the master unit 1 to execute the master unit Connect to 1. In the sequence shown in step S6, as in the sequence of step S3 described above, handset 2 transmits a search request, and upon receiving a search response, transmits a connection request. At this time, the handset 2 includes the ESSID included in the first communication setting information 25A in the search request. The handset 2 also includes the password included in the first communication setting information 25A in the connection request. When receiving the connection response indicating permission of connection, the mobile unit 2 completes the setting (step S7), and notifies the user of the setting completion (step S8). The slave unit 2 notifies the user of the setting completion using, for example, the display unit 22.

一方、親機1は、ステップS3に示した一連の処理が完了して図4に示した子機2の接続設定が完了したとしても、設定モードでの動作を継続する。すなわち、親機1は、ステップS3において第1の通信設定情報を子機2へ送信した後、他の子機からの要求待ちを開始する(ステップS9)。他の子機からの要求とは、ステップS3に示した探索要求であり、探索要求は第1の通信設定情報の設定の要求に相当する。その後、親機1は、設定モードで動作中の他の子機から探索要求を受信した場合、ステップS3に示した探索応答の送信処理およびこれに続く処理を実行し、他の子機に対して第1の通信設定情報を送信する。このように、親機1は、設定モードでの動作中は、第1の通信設定情報の設定の要求を子機2から受けるごとに、要求元の子機2に対して第1の通信設定情報を設定するための処理を実行する。   On the other hand, even if master device 1 completes the series of processes shown in step S3 and connection setting of slave device 2 shown in FIG. 4 is completed, operation in the setting mode is continued. That is, after transmitting the first communication setting information to handset 2 in step S3, base unit 1 starts waiting for requests from other handsets (step S9). The request from the other child device is the search request shown in step S3, and the search request corresponds to a request for setting the first communication setting information. After that, when base unit 1 receives a search request from another slave operating in the setting mode, base unit 1 executes the process of transmitting the search response shown in step S3 and the subsequent processing, and for other slaves. And transmits the first communication setting information. As described above, while the base unit 1 is operating in the setting mode, each time a request for setting of the first communication setting information is received from the handset 2, the first communication setting for the handset 2 of the request source is performed. Execute processing to set information.

親機1は、設定モードの終了を指示する設定終了要求を使用者から受け付けるか、または、設定モードでの動作を開始してから予め決められた一定時間が経過すると(ステップS10)、設定モードでの動作を終了し(ステップS11)、通常モードでの動作のみを行う状態に戻る。   Master device 1 accepts a setting termination request for instructing the termination of the setting mode from the user, or when a predetermined time which has been determined in advance after starting the operation in the setting mode (step S10), the setting mode The operation in step S11 ends (step S11), and the operation returns to the state in which only the normal mode operation is performed.

なお、子機2は、上記のステップS6のシーケンスにおいて探索応答または接続応答が受信できないなどの理由から親機1への接続が失敗した場合には、設定失敗を表示し、未設定状態に戻るようにしてもよい。このようにすることで、複数の子機2の連続的な設定が可能な状態で、さらに、ある子機2について通常動作モードで使用する第1の通信設定情報を使用した通信が可能であることを確認したうえで、子機2の通信設定を完了することができる。   If the connection to the base unit 1 fails because the search response or the connection response can not be received in the above-described sequence of step S6, handset 2 displays setting failure and returns to the unset state. You may do so. In this way, communication can be performed using the first communication setting information used in the normal operation mode for a certain child device 2 in a state where continuous setting of a plurality of child devices 2 is possible. After confirming that, the communication setting of handset 2 can be completed.

図5は、親機1が実行する動作の一例を示すフローチャートである。図5に示したフローチャートは、図4に示したシーケンスに対応している。   FIG. 5 is a flowchart showing an example of an operation performed by the parent device 1. The flowchart shown in FIG. 5 corresponds to the sequence shown in FIG.

親機1は、使用者から第1の要求である設定開始要求を受け付けたか否かを繰り返し確認しており(ステップS21:No)、設定開始要求を受け付けた場合(ステップS21:Yes)、第2の通信設定を有効にして、設定モードでの動作を開始する(ステップS22)。すなわち、親機1は、設定モードでの動作の開始を要求する操作を操作受付部12が使用者から受け付けると、モード切替部13が、通常モードでの動作に加えて設定モードでの動作を行うモードに切り替え、設定モードでの動作を開始する。   The base unit 1 repeatedly checks whether or not the setting start request, which is the first request, is received from the user (step S21: No), and when the setting start request is received (step S21: Yes), The communication setting of 2 is made effective, and the operation in the setting mode is started (step S22). That is, when operation accepting unit 12 receives an operation requesting start of operation in the setting mode from the user, in base unit 1, mode switching unit 13 performs the operation in the setting mode in addition to the operation in the normal mode. Switch to the running mode and start the operation in the setting mode.

親機1は、次に、設定モードでの通信開始の要求を子機2から受信した否かを確認し(ステップS23)、通信開始の要求を受信した場合、すなわち、図4に示したステップS3の探索要求を受信した場合(ステップS23:Yes)、子機2との間で通信設定動作を実施する(ステップS24)。通信設定動作とは、図4のステップS3に示した探索応答の受信から第1の通信設定情報の送信までの処理である。設定モードでの通信開始の要求は、通信設定情報の設定の要求ともいえる。探索応答を示すメッセージ、接続応答を示すメッセージおよび第1の通信設定情報を含んだメッセージの生成は制御部11が行い、制御部11は、生成した各メッセージを、無線通信部16を介して子機2へ送信する。   Next, base unit 1 confirms whether a request for starting communication in the setting mode has been received from handset 2 (step S23), and when the request for starting communication is received, that is, the steps shown in FIG. 4 When the search request of S3 is received (step S23: Yes), the communication setting operation is performed with the slave 2 (step S24). The communication setting operation is processing from the reception of the search response shown in step S3 of FIG. 4 to the transmission of the first communication setting information. The request to start communication in the setting mode can be said to be a request to set communication setting information. The control unit 11 generates a message indicating a search response, a message indicating a connection response, and a message including the first communication setting information, and the control unit 11 transmits each of the generated messages to the child via the wireless communication unit 16. Send to Machine 2

親機1は、設定モードでの通信開始の要求を受信していない場合(ステップS23:No)、または、ステップS24に示した動作が終了した後、使用者から第2の要求である設定終了要求を受け付けたか否かを確認する(ステップS25)。設定終了要求を受け付けていない場合(ステップS25:No)、親機1は、設定モードでの動作を開始してから一定時間が経過したか否かを確認する(ステップS26)。一定時間が経過していない場合(ステップS26:No)、親機1は、ステップS23に戻って動作を継続する。設定終了要求を受け付けた場合(ステップS25:Yes)、または、設定モードでの動作を開始してから一定時間が経過した場合(ステップS26:Yes)、親機1は、設定モードでの動作を終了し(ステップS27)、ステップS21に戻って動作を継続する。ステップS23〜S26に示した各処理は制御部11が行い、ステップS27では、モード切替部13が設定モードでの動作を終了させる。ステップS25に示した設定終了要求は操作受付部12が受け付ける。   If the base unit 1 has not received a request to start communication in the setting mode (step S23: No), or after the operation shown in step S24 ends, the setting end being the second request from the user is completed It is checked whether a request has been accepted (step S25). If the setting termination request has not been received (step S25: No), the base unit 1 checks whether or not a predetermined time has elapsed since the start of the operation in the setting mode (step S26). If the predetermined time has not elapsed (step S26: No), the base unit 1 returns to step S23 and continues the operation. If a setting end request has been received (step S25: Yes), or if a predetermined time has elapsed since the start of the operation in the setting mode (step S26: Yes), the base unit 1 performs the operation in the setting mode. The process ends (step S27), and returns to step S21 to continue the operation. The control unit 11 performs each process shown in steps S23 to S26, and the mode switching unit 13 ends the operation in the setting mode in step S27. The operation accepting unit 12 receives the setting end request shown in step S25.

このように、本実施の形態にかかる親機1は、設定モードでの動作を開始した後、1台の子機2との間で設定動作が完了しても設定モードでの動作を終了することなく継続し、他の子機2からの要求を受けた場合には他の子機との間で設定動作を実行する。また、設定モードでの動作中も通常モードでの動作を継続し、通常モードで動作中の子機2と通信を行う。また、親機1は、設定モードでの動作を開始してから予め決められた一定時間が経過するか、動作終了の指示を使用者から受け付けると、設定モードでの動作を終了する。これにより、子機2の設定を連続して行う必要がある場合に、親機1に設定モードを開始させる操作を設定対象の子機2ごとに行う必要が無くなり、使用者の作業負荷を軽減できるとともに、作業の所要時間を短縮化できる。また、親機1は、設定モードでの動作中も通常モードでの動作を行うため、設定動作が完了して通常モードで動作中の子機2は、親機1が設定モードでの動作を開始した後も、親機1に接続した状態を維持して無線通信を継続できる。また、親機1は、使用者から要求された場合に設定モードでの動作を終了するため、設定モードが有効な期間は特定の時間に限定され、セキュアに接続設定を行うことができる。   As described above, after the base unit 1 according to the present embodiment starts the operation in the setting mode, the operation in the setting mode ends even if the setting operation with one slave unit 2 is completed. If there is a request from another handset 2, the setting operation is performed with the other handset. In addition, the operation in the normal mode is continued even during the operation in the setting mode, and communication is performed with the slave 2 operating in the normal mode. In addition, base device 1 ends the operation in the setting mode when a predetermined time which has been determined in advance after starting the operation in the setting mode or when an instruction to end the operation is received from the user. As a result, when setting of the handset 2 needs to be performed continuously, there is no need to perform an operation to start the setting mode on the base unit 1 for each handset 2 to be set, thereby reducing the workload of the user. As well as being able to reduce the time required for work. In addition, since base unit 1 operates in the normal mode even while operating in the setting mode, the setting operation is completed and handset 2 operating in the normal mode operates with base unit 1 operating in the setting mode. Even after the start, wireless communication can be continued while maintaining the state of being connected to the parent device 1. Further, since the base unit 1 ends the operation in the setting mode when requested by the user, the period in which the setting mode is valid is limited to a specific time, and connection can be set securely.

上述した親機1は、図6に示した構成のハードウェア、具体的にはプロセッサ101、メモリ102、入力装置103、送信器104および受信器105により実現することができる。   The above-described base unit 1 can be realized by the hardware having the configuration shown in FIG. 6, specifically, the processor 101, the memory 102, the input device 103, the transmitter 104, and the receiver 105.

プロセッサ101は、CPU(Central Processing Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサ、DSP(Digital Signal Processor)ともいう)である。メモリ102は、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリー、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read Only Memory)等の、不揮発性または揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、DVD(Digital Versatile Disk)等が該当する。   The processor 101 is a central processing unit (CPU) (also referred to as a central processing unit, processing unit, arithmetic unit, microprocessor, microcomputer, processor, or DSP (digital signal processor)). The memory 102 is, for example, non-volatile or volatile, such as random access memory (RAM), read only memory (ROM), flash memory, erasable programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM). Semiconductor memory, magnetic disk, flexible disk, optical disk, compact disk, mini disk, DVD (Digital Versatile Disk), etc. correspond.

入力装置103は、使用者が親機1に対して設定モードでの動作の開始を指示するための操作を含む各種操作を受け付けるための装置であり、ボタン、スイッチなどが該当する。送信器104は無線信号を送信する送信器であり、受信器105は無線信号を受信する受信器である。   The input device 103 is a device for receiving various operations including an operation for the user to instruct the parent device 1 to start the operation in the setting mode, and corresponds to a button, a switch, or the like. The transmitter 104 is a transmitter that transmits a wireless signal, and the receiver 105 is a receiver that receives a wireless signal.

親機1の制御部11およびモード切替部13は、プロセッサ101およびメモリ102により実現される。具体的には、親機1の制御部11およびモード切替部13のそれぞれが実行する処理が記述されたプログラムをメモリ102が保持し、このプログラムをプロセッサ101が読み出して実行することにより、制御部11およびモード切替部13が実現される。親機1の操作受付部12は、入力装置103により実現され、子機情報DB14および記憶部15はメモリ102により実現される。無線通信部16は、送信器104および受信器105により実現される。なお、制御部11およびモード切替部13の両方、または一方を専用のハードウェアとしての処理回路で実現してもよい。この場合、処理回路は、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)、またはこれらを組み合わせたものである。   Control unit 11 and mode switching unit 13 of base unit 1 are realized by processor 101 and memory 102. Specifically, the memory 102 holds a program in which a process executed by each of the control unit 11 and the mode switching unit 13 of the parent device 1 is stored, and the processor 101 reads out and executes the program to control the control unit. 11 and the mode switching unit 13 are realized. The operation accepting unit 12 of the master unit 1 is realized by the input device 103, and the slave unit information DB 14 and the storage unit 15 are realized by the memory 102. The wireless communication unit 16 is realized by the transmitter 104 and the receiver 105. Note that both or one of the control unit 11 and the mode switching unit 13 may be realized by a processing circuit as dedicated hardware. In this case, the processing circuit is a single circuit, a complex circuit, a programmed processor, a parallel programmed processor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or a combination thereof.

なお、子機2についても親機1と同様のハードウェアで実現することができる。ただし、子機2の場合、図6に示したプロセッサ101、メモリ102、入力装置103、送信器104および受信器105に加えて、表示部22を実現するための表示装置が必要となる。   The slave unit 2 can also be realized by the same hardware as the master unit 1. However, in the case of the slave 2, in addition to the processor 101, the memory 102, the input device 103, the transmitter 104, and the receiver 105 shown in FIG. 6, a display device for realizing the display unit 22 is required.

以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。   The configuration shown in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and one of the configurations is possible within the scope of the present invention. Parts can be omitted or changed.

1 親機、2 子機、11,21 制御部、12,23 操作受付部、14 子機情報データベース、15,25 記憶部、15A 第1の通信設定情報、15B 第2の通信設定情報、16,26 無線通信部。   1 master unit, 2 slave units, 11, 21 control unit, 12, 23 operation reception unit, 14 slave unit information database, 15, 25 storage unit, 15A first communication setting information, 15B second communication setting information, 16 , 26 Wireless communication unit.

Claims (4)

無線通信システムを構成する通信装置であって、
通常モードで動作するために必要な第1の通信設定情報および設定モードで動作するために必要な第2の通信設定情報を保持する記憶部と、
使用者からの操作を受け付ける操作受付部と
を備え、
前記設定モードでの動作中は、前記第1の通信設定情報の設定の要求を他の通信装置から受けるごとに、要求元の他の通信装置との間で前記第1の通信設定情報を設定するための処理を実行し、
前記操作受付部が前記設定モードの開始を要求する操作を受け付けた場合に前記設定モードでの動作を開始し、前記操作受付部が前記設定モードの終了を要求する操作を受け付けた場合、または、前記設定モードでの動作を開始してから一定時間が経過した場合に、前記設定モードでの動作を終了する、通信装置。
A communication apparatus constituting a wireless communication system,
A storage unit configured to hold first communication setting information necessary for operating in the normal mode and second communication setting information necessary for operating in the setting mode;
And an operation receiving unit for receiving an operation from the user,
While operating in the setting mode, each time a request for setting of the first communication setting information is received from another communication device, the first communication setting information is set with the other communication device of the request source. Execute the process to
When the operation receiving unit receives an operation requesting the start of the setting mode, the operation in the setting mode is started, and the operation receiving unit receives the operation requesting the end of the setting mode, or A communication apparatus, which ends the operation in the setting mode when a predetermined time has elapsed since the operation in the setting mode is started.
前記通常モードで動作中に前記設定モードでの動作を開始した場合も前記通常モードでの動作を継続する、請求項1に記載の通信装置。   The communication device according to claim 1, wherein the operation in the normal mode is continued also when the operation in the setting mode is started during the operation in the normal mode. 無線LANシステムの親機である請求項1または2に記載の通信装置。   The communication apparatus according to claim 1, which is a master of a wireless LAN system. 無線通信システムを構成する通信装置が、自装置との通信で使用する通信設定情報を他の通信装置に対して設定する場合の通信設定方法であって、
使用者から第1の要求を受け付けた場合に前記設定を行うための設定モードを開始するステップと、
前記設定モードで動作している間は、前記通信設定情報の設定の要求を他の通信装置から受けるごとに、要求元の他の通信装置との間で前記通信設定情報を設定するための処理を実行するステップと、
使用者から第2の要求を受け付けた場合、または、前記設定モードを開始してから一定時間が経過した場合に、前記設定モードを終了するステップと、
を含む通信設定方法。
A communication setting method in the case where a communication apparatus configuring a wireless communication system sets communication setting information used in communication with the apparatus itself to another communication apparatus,
Starting a setting mode for performing the setting when receiving a first request from a user;
While operating in the setting mode, a process for setting the communication setting information with another communication device as a request source each time a request for setting the communication setting information is received from the other communication device Step of performing
Terminating the setting mode when receiving a second request from the user or when a predetermined time has elapsed since the setting mode was started;
Communication setting method including.
JP2017078944A 2017-04-12 2017-04-12 Communication device and communication setting method Pending JP2018182513A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017078944A JP2018182513A (en) 2017-04-12 2017-04-12 Communication device and communication setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017078944A JP2018182513A (en) 2017-04-12 2017-04-12 Communication device and communication setting method

Publications (1)

Publication Number Publication Date
JP2018182513A true JP2018182513A (en) 2018-11-15

Family

ID=64277126

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017078944A Pending JP2018182513A (en) 2017-04-12 2017-04-12 Communication device and communication setting method

Country Status (1)

Country Link
JP (1) JP2018182513A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006086945A (en) * 2004-09-17 2006-03-30 Matsushita Electric Ind Co Ltd Communication system and program
JP2008236531A (en) * 2007-03-22 2008-10-02 Sharp Corp Electric appliance network system
JP2010504055A (en) * 2006-09-18 2010-02-04 マーベル インターナショナル リミテッド Ad hoc network construction between many devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006086945A (en) * 2004-09-17 2006-03-30 Matsushita Electric Ind Co Ltd Communication system and program
JP2010504055A (en) * 2006-09-18 2010-02-04 マーベル インターナショナル リミテッド Ad hoc network construction between many devices
JP2008236531A (en) * 2007-03-22 2008-10-02 Sharp Corp Electric appliance network system

Similar Documents

Publication Publication Date Title
JP6989226B2 (en) Methods, devices, and systems for establishing sessions
US9137851B2 (en) Wireless communication device for performing different wireless communications
RU2437240C2 (en) Method to establish communication parameters, device that provides communication, method to control device that provides communication and programme
JP6335629B2 (en) Communication apparatus, control method, and program
US20210068068A1 (en) Home appliance and mobile terminal having application for registering the home appliance to server
KR20140144880A (en) Method and apparatus for registering wireless device in wireless communication system
JP7200312B2 (en) Method and terminal device for establishing a hotspot connection
CN103974376A (en) Network connection assisting system and method
JP6866191B2 (en) Communication equipment, communication control methods and programs
KR20160137919A (en) Method and apparatus for providing information
JP2017060065A (en) Communication device, control method of the same, and program
JP7164627B2 (en) Device for wireless communication handover
EP3232732B1 (en) Communication device, communication device control method, and program
JP6473228B2 (en) Wireless communication terminal, wireless communication system, wireless communication method, and program
JP2017143389A5 (en)
JP2019506020A (en) Electronic device, electronic device communication method, and mobile terminal communication method
US10841783B2 (en) Method and apparatus for data communication using bluetooth low energy
CN104918296A (en) Network connection assistance system and method
WO2022095850A1 (en) Method and apparatus for establishing policy association, and terminal and network-side device
JP2016171505A (en) Wireless communication device, wireless communication system, and program
JP2021002793A (en) Communication system and communication method
JP6261577B2 (en) Wireless communication apparatus, wireless communication method, and wireless communication control program
JP2020057866A (en) Application program, mobile terminal, and communication device
JP2018182513A (en) Communication device and communication setting method
KR20190001565A (en) Printing apparatus, control method of the same, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201201

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20210525