JP6443932B2 - SSID and password changing system, charger, SSID and password changing method and control program - Google Patents

SSID and password changing system, charger, SSID and password changing method and control program Download PDF

Info

Publication number
JP6443932B2
JP6443932B2 JP2015187693A JP2015187693A JP6443932B2 JP 6443932 B2 JP6443932 B2 JP 6443932B2 JP 2015187693 A JP2015187693 A JP 2015187693A JP 2015187693 A JP2015187693 A JP 2015187693A JP 6443932 B2 JP6443932 B2 JP 6443932B2
Authority
JP
Japan
Prior art keywords
ssid
password
usb
communication
index
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
JP2015187693A
Other languages
Japanese (ja)
Other versions
JP2017062655A (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.)
NEC Platforms Ltd
Original Assignee
NEC Platforms 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 NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2015187693A priority Critical patent/JP6443932B2/en
Publication of JP2017062655A publication Critical patent/JP2017062655A/en
Application granted granted Critical
Publication of JP6443932B2 publication Critical patent/JP6443932B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、Wi-Fi通信に使用するSSID及びパスワードを変更する、SSID及びパスワード変更システム、充電器、SSID及びパスワード変更方法及び制御プログラムに関する。   The present invention relates to an SSID and password change system, a charger, an SSID and password change method, and a control program for changing an SSID and password used for Wi-Fi communication.

Wi-Fi(Wireless Fidelity)通信などの無線通信において、ネットワークに接続する際に必要な接続パラメータの設定を自動で行う技術が知られている。   In wireless communication such as Wi-Fi (Wireless Fidelity) communication, a technique for automatically setting connection parameters necessary for connecting to a network is known.

特許文献1には、アクセスポイントから発信されるビーコン(beacon)からSSID(Service Set IDentification)コードを検索し、検索したSSIDコードが記憶されたネットワーク接続情報ファイルにある場合にネットワーク接続情報ファイルの内容をパーソナルコンピュータのレジストリに設定値として書き込むことでネットワーク接続に必要なネットワーク接続情報の設定を行う技術が記載されている。SSIDとは、Wi-Fiの通信規格で定められているアクセスポイントの識別子である。   In Patent Document 1, a SSID (Service Set IDentification) code is searched from a beacon transmitted from an access point, and the content of the network connection information file is found when the searched SSID code is in the stored network connection information file. Describes a technique for setting network connection information necessary for network connection by writing as a setting value in a registry of a personal computer. The SSID is an identifier of an access point defined by the Wi-Fi communication standard.

特開2003-204335号公報JP 2003-204335 A

特許文献1に記載の技術を用いることで、Wi-Fi通信において、ユーザはパラメータを自ら入力することなく容易にネットワークに接続することができる。Wi-Fi通信では、アクセスポインと新規接続を行う場合、SSIDによってアクセスポイントを識別し、暗号化キーやパスワード(以下、一括してパスワードと呼ぶ)でログイン無線接続する必要がある。しかしながら、SSIDやパスワードの変更は自動で行われないため、ユーザがSSIDやパスワードの変更を行わない限りSSIDやパスワードは変更されず、第三者からのパスワード解析攻撃などに対して弱いという問題がある。また、SSID及びパスワードを変更する際には、第三者にSSID及びパスワードを傍受され難くする配慮が必要である。   By using the technique described in Patent Document 1, in Wi-Fi communication, a user can easily connect to a network without inputting parameters himself. In Wi-Fi communication, when a new connection is made with an access point, it is necessary to identify the access point based on the SSID and connect to the login wirelessly using an encryption key or a password (hereinafter collectively referred to as a password). However, since the SSID and password are not automatically changed, the SSID and password are not changed unless the user changes the SSID and password, and there is a problem that the SSID and password are vulnerable to a password analysis attack from a third party. is there. In addition, when changing the SSID and password, it is necessary to consider that it is difficult for a third party to intercept the SSID and password.

本発明は、以上の背景に鑑みなされたものであり、ユーザの負担なくセキュリティー性の高い、Wi-Fi通信のSSID及びパスワード変更システム、充電器、SSID及びパスワード変更方法及び制御プログラムを提供することを目的とする。   The present invention has been made in view of the above background, and provides a high-security Wi-Fi communication SSID and password change system, charger, SSID and password change method, and control program without burden on the user. With the goal.

本発明は、Wi-Fi通信に使用するSSID及びパスワードを変更するSSIDパスワード変更システムであって、USB接続が可能な携帯通信端末と、前記携帯通信端末とWi-Fi通信しUSB接続が可能なモバイルルータと、USB接続端子を有しUSB接続された前記携帯通信端末及び前記モバイルルータを充電する充電器と、を備え、前記充電器は、新たにSSID及びパスワードを生成するSSIDパスワード生成部を有し、前記充電器が、USB接続された前記携帯通信端末及び前記モバイルルータに新たに生成したSSID及びパスワードをUSB通信によって送信し、前記携帯通信端末及び前記モバイルルータにおいて当該新たに生成したSSID及びパスワードをWi-Fi通信に使用するSSID及びパスワードに設定するものである。   The present invention is an SSID password change system for changing an SSID and a password used for Wi-Fi communication, and is capable of USB connection and a portable communication terminal capable of USB connection and Wi-Fi communication with the portable communication terminal. A mobile router; a USB communication terminal having a USB connection terminal; and a charger for charging the mobile router; and the charger includes an SSID password generation unit for newly generating an SSID and a password. And the charger transmits the newly generated SSID and password to the portable communication terminal and the mobile router that are connected via USB via USB communication, and the newly generated SSID is transmitted to the portable communication terminal and the mobile router. And password set to SSID and password used for Wi-Fi communication Is shall.

また、本発明は、USB接続端子を備え、USB接続が可能な携帯通信端末及び前記携帯通信端末とWi-Fi通信しUSB接続が可能なモバイルルータを充電する充電器であって、前記携帯通信端末及び前記モバイルルータとのUSB通信の制御を行うUSB通信制御部と、Wi-Fi通信に使用するSSID及びパスワードを新たに生成するSSIDパスワード生成部と、を備え、前記携帯通信端末及び前記モバイルルータの少なくとも一方の機器が前記USB接続端子に接続された際に、前記USB通信制御部が、当該接続された機器に生成したSSID及びパスワードをUSB通信によって送信するものである。   Further, the present invention is a portable communication terminal having a USB connection terminal and capable of USB connection, and a charger for charging a mobile router capable of USB connection through Wi-Fi communication with the portable communication terminal, wherein the portable communication terminal A USB communication control unit that controls USB communication with a terminal and the mobile router; and an SSID password generation unit that newly generates an SSID and a password used for Wi-Fi communication, the mobile communication terminal and the mobile When at least one device of the router is connected to the USB connection terminal, the USB communication control unit transmits the generated SSID and password to the connected device by USB communication.

さらに、本発明は、USB接続が可能な携帯通信端末と、前記携帯通信端末とWi-Fi通信しUSB接続が可能なモバイルルータと、のSSID及びパスワードの変更に、USB接続端子を有しUSB接続された前記携帯通信端末及び前記モバイルルータを充電するとともに新たなSSID及びパスワードを生成することが可能な充電器を用いるSSIDパスワード変更方法であって、前記充電器において、新たにSSID及びパスワードを生成するステップと、前記充電器において、USB接続された前記携帯通信端末及び前記モバイルルータに新たに生成したSSID及びパスワードをUSB通信によって送信するステップと、前記携帯通信端末及び前記モバイルルータにおいて、当該新たに生成したSSID及びパスワードをWi-Fi通信に使用するSSID及びパスワードに設定するステップと、を備えるものである。   Furthermore, the present invention has a USB connection terminal for changing the SSID and password of a portable communication terminal capable of USB connection and a mobile router capable of USB connection through Wi-Fi communication with the portable communication terminal. A method for changing an SSID password using a charger capable of charging the connected mobile communication terminal and the mobile router and generating a new SSID and password, wherein the SSID and password are newly set in the charger. In the charger, in the charger, the step of transmitting the newly generated SSID and password to the mobile communication terminal and the mobile router connected via USB by USB communication, and in the mobile communication terminal and the mobile router, Wi-F with newly generated SSID and password And setting the SSID and the password used for communication, but with a.

さらに、本発明は、USB接続が可能な携帯通信端末と、前記携帯通信端末とWi-Fi通信しUSB接続が可能なモバイルルータと、USB接続端子を有しUSB接続された前記携帯通信端末及び前記モバイルルータを充電するとともに新たなSSID及びパスワードを生成することが可能な充電器と、を備え、Wi-Fi通信に使用するSSID及びパスワードを変更するSSIDパスワード変更システムの制御プログラムであって、前記充電器において、新たにSSID及びパスワードを生成するステップと、前記充電器において、USB接続された前記携帯通信端末及び前記モバイルルータに新たに生成したSSID及びパスワードをUSB通信によって送信するステップと、前記携帯通信端末及び前記モバイルルータにおいて、当該新たに生成したSSID及びパスワードをWi-Fi通信に使用するSSID及びパスワードに設定するステップと、をコンピュータに実行させるものである。   Furthermore, the present invention provides a portable communication terminal capable of USB connection, a mobile router capable of Wi-Fi communication with the portable communication terminal and capable of USB connection, the portable communication terminal having a USB connection terminal and connected by USB, and A control program for an SSID password change system for changing the SSID and password used for Wi-Fi communication, comprising a charger capable of charging the mobile router and generating a new SSID and password, A step of newly generating an SSID and a password in the charger; and a step of transmitting the newly generated SSID and password to the portable communication terminal and the mobile router that are USB-connected in the charger by USB communication; In the mobile communication terminal and the mobile router, the And setting the SSID and the password using the valley generated SSID and the password to a Wi-Fi communication, is intended to execute on a computer.

本発明によれば、ユーザの負担なくセキュリティー性の高い、Wi-Fi通信のSSID及びパスワード変更システムを提供できる。   According to the present invention, it is possible to provide an SSID and password change system for Wi-Fi communication that has high security without a burden on the user.

本発明の概要について説明する図である。It is a figure explaining the outline | summary of this invention. 本実施の形態にかかるSSIDパスワード変更システムにおけるUSB充電器の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the USB charger in the SSID password change system concerning this Embodiment. 本実施の形態にかかるSSIDパスワード変更システムにおけるモバイルルータの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the mobile router in the SSID password change system concerning this Embodiment. 本実施の形態にかかるSSIDパスワード変更システムにおけるスマートフォン/タブレットの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the smart phone / tablet in the SSID password change system concerning this Embodiment. USB充電器のUSB通信/充電切替部及びUSB通信/充電切替部においてSDPとDCPとで電源の種別を切り替えする処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which switches the classification of a power supply by SDP and DCP in the USB communication / charge switching part and USB communication / charge switching part of a USB charger. モバイルルータのUSB通信/充電切替部においてSDPとDCPとで電源の種別を切り替えする処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which switches the classification of a power supply by SDP and DCP in the USB communication / charge switching part of a mobile router. SSID及びパスワード変更システムにおいてSSID及びパスワードを変更する処理の流れを示すフローチャートである(モバイルルータ側の処理)。It is a flowchart which shows the flow of the process which changes SSID and a password in a SSID and password change system (process on the mobile router side). SSID及びパスワード変更システムにおいてSSID及びパスワードを変更する処理の流れを示すフローチャートである(スマートフォン/タブレット側の処理)。It is a flowchart which shows the flow of the process which changes SSID and a password in a SSID and password change system (process on the smart phone / tablet side). SSID及びパスワード変更システムにおいてSSID及びパスワードを変更する処理の流れを示すフローチャートである(モバイルルータとスマートフォン/タブレットとのやり取り)。It is a flowchart which shows the flow of the process which changes SSID and a password in a SSID and password change system (exchange between a mobile router and a smart phone / tablet). モバイルルータにおいて、充電器から送信されてきたUSB送信データの内容を格納する処理の流れを示すフローチャートである。6 is a flowchart showing a flow of processing for storing contents of USB transmission data transmitted from a charger in a mobile router. スマートフォン/タブレットにおいて、充電器から送信されてきたUSB送信テキストファイルの内容を格納する処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which stores the content of the USB transmission text file transmitted from the charger in a smart phone / tablet. モバイルルータとスマートフォン/タブレットとのそれぞれにおける、使用index格納部、Wi-Fi_初期SSIDパスワード格納部及びWi-Fi_No.n_index新SSIDパスワード格納部(n=1〜5)の入力状況の一例(格納部入力状況例1)を示す図である。The usage index storage unit, the Wi-Fi_initial SSID password storage unit, and the Wi-Fi_No. It is a figure which shows an example (storage part input condition example 1) of the input condition of a n_index new SSID password storage part (n = 1-5). USB充電器とモバイルルータとの間のUSB通信におけるUSB送信データのフォーマットの一例を示す図である。It is a figure which shows an example of the format of the USB transmission data in USB communication between a USB charger and a mobile router. USB充電器とスマートフォン/タブレットとの間のUSB通信におけるUSB送信テキストファイルのフォーマットの一例を示す図である。It is a figure which shows an example of the format of the USB transmission text file in USB communication between a USB charger and a smart phone / tablet. モバイルルータ及びスマートフォン/タブレットの使用index格納部、Wi-Fi_初期SSIDパスワード格納部及びWi-Fi_No.n_index新SSIDパスワード格納部(n=1〜5)の入力状況の一例(格納部入力状況例2)を示す図である。Mobile router and smartphone / tablet use index storage, Wi-Fi_initial SSID password storage, and Wi-Fi_No. It is a figure which shows an example (storage part input condition example 2) of the input condition of a n_index new SSID password storage part (n = 1-5).

[本発明の特徴]
本発明の実施の形態の説明に先立って、本発明の特徴についてその概要をまず説明する。
[Features of the present invention]
Prior to the description of the embodiments of the present invention, an outline of the features of the present invention will be described first.

図1は、本発明の概要について説明する図である。図1に示すように、本発明にかかる、Wi-Fi通信に使用するSSID及びパスワードを変更するSSIDパスワード変更システム500は、携帯通信端末510と、モバイルルータ520と、充電器530と、を備えている。   FIG. 1 is a diagram for explaining the outline of the present invention. As shown in FIG. 1, an SSID password changing system 500 for changing an SSID and a password used for Wi-Fi communication according to the present invention includes a mobile communication terminal 510, a mobile router 520, and a charger 530. ing.

携帯通信端末510は、USB(Universal Serial Bus)接続が可能である。モバイルルータ520は、携帯通信端末510とWi-Fi通信し、USB接続が可能である。充電器530は、USB接続端子531を有しUSB接続された携帯通信端末510及びモバイルルータ520を充電する。また、充電器530は、新たにSSID及びパスワードを生成するSSIDパスワード生成部532を有する。   The portable communication terminal 510 is capable of USB (Universal Serial Bus) connection. The mobile router 520 performs Wi-Fi communication with the mobile communication terminal 510 and can be connected by USB. The charger 530 has a USB connection terminal 531 and charges the portable communication terminal 510 and the mobile router 520 connected by USB. In addition, the charger 530 includes an SSID password generation unit 532 that newly generates an SSID and a password.

充電器530が、USB接続された携帯通信端末510及びモバイルルータ520に新たに生成したSSID及びパスワードをUSB通信によって送信し、携帯通信端末510及びモバイルルータ520において当該新たに生成したSSID及びパスワードをWi-Fi通信に使用するSSID及びパスワードに設定する。   The charger 530 transmits the newly generated SSID and password to the USB-connected mobile communication terminal 510 and the mobile router 520 by USB communication, and the mobile communication terminal 510 and the mobile router 520 transmit the newly generated SSID and password. Set to SSID and password used for Wi-Fi communication.

これにより、ユーザの負担なくセキュリティー性の高い、Wi-Fi通信のSSID及びパスワード変更システムを提供できる。   Accordingly, it is possible to provide a Wi-Fi communication SSID and password change system with high security without burden on the user.

[実施の形態]
以下、図面を参照して本発明の実施の形態について説明する。
まず、本実施の形態にかかる、Wi-Fi通信のSSID及びパスワード変更システム400の構成について説明する。SSID及びパスワード変更システム400は、USB充電器100と、モバイルルータ200と、スマートフォン/タブレット300と、を有する。USB充電器100とモバイルルータ200とはUSB接続することが可能である。また、USB充電器100とスマートフォン/タブレット300とはUSB接続することが可能である。スマートフォン/タブレット300は、携帯通信端末であり、スマートフォンやタブレットの他、Wi-Fi通信が可能でありUSB接続を介して充電されることが可能なノートPC、ゲーム機器、オーディオ機器なども含まれる。なお、USBは、2つの信号ライン(D+とD−)と、電源ライン(Vbus)と、グランドライン(GND)と、の4本のラインを有する。Vbusには、GNDを基準とする5Vの電圧が印加される。
[Embodiment]
Embodiments of the present invention will be described below with reference to the drawings.
First, the configuration of the SSID and password change system 400 for Wi-Fi communication according to the present embodiment will be described. The SSID and password change system 400 includes a USB charger 100, a mobile router 200, and a smartphone / tablet 300. The USB charger 100 and the mobile router 200 can be connected by USB. The USB charger 100 and the smartphone / tablet 300 can be connected by USB. The smartphone / tablet 300 is a mobile communication terminal, and includes a notebook PC, a game device, an audio device, and the like that can be charged via a USB connection in addition to a smartphone or a tablet. . The USB has four lines including two signal lines (D + and D−), a power supply line (Vbus), and a ground line (GND). A voltage of 5 V with reference to GND is applied to Vbus.

図2は、USB充電器100の概略構成を示すブロック図である。図2に示すように、USB充電器100は、タイマー部1と、Wi-Fi_index新SSIDパスワード生成部2と、テキストファイル生成部3と、USB通信制御部104と、USB通信/充電切替部4およびUSB通信/充電切替部5と、5Vレギュレータ6と、交流直流変換回路7と、100Vプラグ8と、USBプラグ9と、USBプラグ10と、USB充電器全体制御部80と、を備えている。   FIG. 2 is a block diagram illustrating a schematic configuration of the USB charger 100. As shown in FIG. 2, the USB charger 100 includes a timer unit 1, a Wi-Fi_index new SSID password generation unit 2, a text file generation unit 3, a USB communication control unit 104, and a USB communication / charge switching unit 4. And a USB communication / charge switching unit 5, a 5V regulator 6, an AC / DC converter circuit 7, a 100V plug 8, a USB plug 9, a USB plug 10, and a USB charger overall control unit 80. .

タイマー部1は、一定時間経過するとパルスを発生させる。Wi-Fi_index新SSIDパスワード生成部2は、タイマー部1からパルス信号が来た場合にインデックス(index)をカウントアップさせWi-Fi通信のSSID及びパスワードを新たに生成する。   The timer unit 1 generates a pulse when a certain time elapses. The Wi-Fi_index new SSID password generation unit 2 counts up an index (index) when a pulse signal is received from the timer unit 1, and newly generates an SSID and password for Wi-Fi communication.

テキストファイル生成部3は、Wi-Fi_index新SSIDパスワード生成部2で生成されたindex、SSID及びパスワードからなるUSB送信データからテキストファイル(USBテキストファイル)を生成する。USB通信制御部104は、USBホスト機能を持ち、モバイルルータ200とのUSB通信及びスマートフォン/タブレット300とのUSB通信を制御する。スマートフォン/タブレットでは、一般的にUSB通信においてテキストファイルや画像ファイルでのやり取りしかサポートしていない。このようなスマートフォン/タブレットでも、Wi-Fi_index新SSIDパスワード生成部2で生成されたindex、SSID及びパスワードからなるUSB送信データをテキストファイル生成部3によりUSB送信テキストファイルに変換することで、SSID及びパスワードのやり取りをUSB通信で行うことができる。   The text file generation unit 3 generates a text file (USB text file) from the USB transmission data including the index, SSID, and password generated by the Wi-Fi_index new SSID password generation unit 2. The USB communication control unit 104 has a USB host function, and controls USB communication with the mobile router 200 and USB communication with the smartphone / tablet 300. Smartphones / tablets generally support only text file and image file exchange in USB communication. Even in such a smartphone / tablet, by converting the USB transmission data including the index, the SSID and the password generated by the Wi-Fi_index new SSID password generation unit 2 into the USB transmission text file by the text file generation unit 3, the SSID and Password exchange can be performed via USB communication.

USB通信/充電切替部4およびUSB通信/充電切替部5は、SDP(Standard Downstream Port)とDCP(Dedicated Charging Port)とで電源の種別を切り替えすることにより、USB通信と1.5A充電とを切り替える。USB通信/充電切替部4およびUSB通信/充電切替部5は、モバイルルータやスマートフォン/タブレットなどのUSBデバイスを接続すると、まず、USBに5V電圧を印加してUSB通信制御部104を介してUSB通信を開始する。そして、USB通信が完了すると一旦、USBへの5V電圧の印加を停止し、USBのD+とD−とを短絡させる。2秒経過した後、モバイルルータやスマートフォン/タブレットの充電のため、再びUSBに5V電圧を印加する。なお、USB通信/充電切替部4およびUSB通信/充電切替部5において、SDPとDCPとで電源の種別を切り替えする処理の流れについては後述する。   The USB communication / charge switching unit 4 and the USB communication / charge switching unit 5 switch the type of power supply between SDP (Standard Downstream Port) and DCP (Dedicated Charging Port), thereby enabling USB communication and 1.5A charging. Switch. When a USB device such as a mobile router or a smartphone / tablet is connected to the USB communication / charge switching unit 4 and the USB communication / charge switching unit 5, first, a 5V voltage is applied to the USB and the USB communication control unit 104 is connected via the USB communication control unit 104. Start communication. When the USB communication is completed, the application of the 5V voltage to the USB is once stopped, and the D + and D− of the USB are short-circuited. After 2 seconds, 5V voltage is applied to the USB again to charge the mobile router and smartphone / tablet. The flow of processing for switching the type of power supply between SDP and DCP in USB communication / charge switching unit 4 and USB communication / charge switching unit 5 will be described later.

5Vレギュレータ6は、USB充電器100の全体に電力を供給するとともに、USBの5Vラインに所定の電流を供給する。交流直流変換回路7は、100Vの交流電流を5Vの直流電流に変換し5Vレギュレータ6に送る。100Vプラグ8は、家庭用コンセントに差し込んでコンセントから交流直流変換回路7に100Vを供給する。USBプラグ9は、USB通信/充電切替部4からUSBを接続する。USBプラグ10は、USB対応機器を接続するためのプラグで、2つの信号端子(D+とD−)と、電源端子(Vbus)と、グランド端子(GND)と、を有し、USB通信/充電切替部5に接続されている。USB充電器全体制御部80は、USB充電器100の動作の全般について制御する。   The 5V regulator 6 supplies power to the entire USB charger 100 and supplies a predetermined current to the USB 5V line. The AC / DC conversion circuit 7 converts an AC current of 100V into a DC current of 5V and sends it to the 5V regulator 6. The 100V plug 8 is inserted into a household outlet and supplies 100V to the AC / DC converter circuit 7 from the outlet. The USB plug 9 connects the USB from the USB communication / charge switching unit 4. The USB plug 10 is a plug for connecting a USB compatible device, has two signal terminals (D + and D−), a power supply terminal (Vbus), and a ground terminal (GND), and is used for USB communication / charging. It is connected to the switching unit 5. The USB charger overall control unit 80 controls the overall operation of the USB charger 100.

図3は、モバイルルータ200の概略構成を示すブロック図である。モバイルルータ200は、USBコネクタ11と、充電池12と、充電回路部13と、5V印加判定回路14と、USB通信/充電切替部15と、モバイルルータUSB_ID格納部16と、USB通信制御部17と、不揮発メモリ18と、制御プログラム19と、Wi-Fi初期SSIDパスワード格納部20と、使用index格納部26と、Wi-Fiアンテナ27と、Wi-Fi送受信部28と、Wi-Fi制御部29と、移動通信アンテナ30と、移動通信送受信部31と、移動通信制御部32と、SSIDパスワード切替制御部81と、を備えている。   FIG. 3 is a block diagram illustrating a schematic configuration of the mobile router 200. The mobile router 200 includes a USB connector 11, a rechargeable battery 12, a charging circuit unit 13, a 5V application determination circuit 14, a USB communication / charge switching unit 15, a mobile router USB_ID storage unit 16, and a USB communication control unit 17. A nonvolatile memory 18, a control program 19, a Wi-Fi initial SSID password storage unit 20, a use index storage unit 26, a Wi-Fi antenna 27, a Wi-Fi transmission / reception unit 28, and a Wi-Fi control unit. 29, a mobile communication antenna 30, a mobile communication transmitting / receiving unit 31, a mobile communication control unit 32, and an SSID password switching control unit 81.

また、モバイルルータ200は、第1格納部としての、Wi-Fi_No.1_index新SSIDパスワード格納部21、Wi-Fi_No.2_index新SSIDパスワード格納部22、Wi-Fi_No.3_index新SSIDパスワード格納部23、Wi-Fi_No.4_index新SSIDパスワード格納部24及びWi-Fi_No.5_index新SSIDパスワード格納部25(以下、「Wi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25」または、「モバイルルータ200のWi-Fi_No.n_index新SSIDパスワード格納部(n=1〜5)」の様に記載する)を備えている。   In addition, the mobile router 200 has a Wi-Fi_No. 1_index new SSID password storage unit 21, Wi-Fi_No. 2_index new SSID password storage unit 22, Wi-Fi_No. 3_index new SSID password storage unit 23, Wi-Fi_No. 4_index new SSID password storage unit 24 and Wi-Fi_No. 5_index new SSID password storage unit 25 (hereinafter referred to as “Wi-Fi_No.1_index new SSID password storage unit 21 to Wi-Fi_No.5_index new SSID password storage unit 25” or “Wi-Fi_No.n_index new SSID password of mobile router 200”. A storage unit (described as n = 1 to 5) ”is provided.

USBコネクタ11は、USB充電器100のUSBプラグ9と接続するための端子である。充電池12は、モバイルルータ全体に電力を供給することが可能で、充電回路部13によって電流が供給され充電される。充電回路部13は、USBコネクタ11を介して充電器100から5V電圧が供給され充電池12の充電を行う。5V印加判定回路14は、USBコネクタ11を介して充電器100から5V電圧が印加されたか否かを判定する。   The USB connector 11 is a terminal for connecting to the USB plug 9 of the USB charger 100. The rechargeable battery 12 can supply power to the entire mobile router, and is charged by being supplied with current by the charging circuit unit 13. The charging circuit unit 13 is supplied with 5V voltage from the charger 100 via the USB connector 11 and charges the rechargeable battery 12. The 5V application determination circuit 14 determines whether a 5V voltage is applied from the charger 100 via the USB connector 11.

USB通信/充電切替部15は、USBのデータラインであるD+とD−とが短絡しているか否かを判定するD+/D−短絡判定回路とUSB通信のためのUSB通信回路とを有する。USB通信/充電切替部15は、D+/D−短絡判定回路によりUSBのデータラインであるD+とD−とが、短絡しているか否かを判断し、USB通信と1.5A充電とを切り替える。   The USB communication / charge switching unit 15 includes a D + / D− short-circuit determination circuit that determines whether or not D + and D−, which are USB data lines, are short-circuited, and a USB communication circuit for USB communication. The USB communication / charge switching unit 15 determines whether or not the USB data lines D + and D− are short-circuited by the D + / D− short-circuit determination circuit, and switches between USB communication and 1.5A charging. .

モバイルルータUSB_ID格納部16は、USBコネクタ11を介してUSB通信によりUSB充電器100に通知するモバイルルータ200のUSB_IDを格納する。USB通信制御部17は、USB充電器のUSB通信制御部104とUSB通信する。不揮発メモリ18は、モバイルルータ内のプログラム、データを保存する。制御プログラム19は、不揮発メモリ内に格納されWi-Fi、USBや移動通信の制御を行う。   The mobile router USB_ID storage unit 16 stores the USB_ID of the mobile router 200 that notifies the USB charger 100 by USB communication via the USB connector 11. The USB communication control unit 17 performs USB communication with the USB communication control unit 104 of the USB charger. The nonvolatile memory 18 stores programs and data in the mobile router. The control program 19 is stored in a nonvolatile memory and controls Wi-Fi, USB, and mobile communication.

Wi-Fi初期SSIDパスワード格納部20は、Wi-Fi通信時に使用されるSSIDとパスワードの初期値が格納されている。Wi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25は、Wi-Fi通信時に使用されるSSID及びパスワード(既に定義済みのものまたはWi-Fi_index新SSIDパスワード生成部2が新たに生成したユニークなもの)をindexと対応付けて格納する。   The Wi-Fi initial SSID password storage unit 20 stores initial values of SSIDs and passwords used during Wi-Fi communication. Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. The 5_index new SSID password storage unit 25 associates the SSID and password used during Wi-Fi communication (already defined or unique one newly generated by the Wi-Fi_index new SSID password generation unit 2) with the index. Store.

また、充電器100から送信されてきたUSB送信データのindex、SSID及びパスワードは、Wi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25のいずれかに格納される。なお、当該格納する処理の詳細については後述する。   Also, the index, SSID, and password of the USB transmission data transmitted from the charger 100 are Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. 5_index stored in one of the new SSID password storage units 25. Details of the storing process will be described later.

使用index格納部26は、Wi-Fi通信において使用しているSSID及びパスワードに対応するindexを記録する。Wi-Fiアンテナ27は、Wi-Fi通信の電波を送受信する。Wi-Fi送受信部28は、Wi-Fiアンテナ27に信号を送受信する。   The used index storage unit 26 records an index corresponding to the SSID and password used in Wi-Fi communication. The Wi-Fi antenna 27 transmits and receives Wi-Fi communication radio waves. The Wi-Fi transmission / reception unit 28 transmits / receives a signal to / from the Wi-Fi antenna 27.

Wi-Fi制御部29は、Wi-Fi初期SSIDパスワード格納部20およびWi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25のいずれかに格納されたSSID及びパスワードを利用してWi-Fi通信を行う。移動通信アンテナ30は、インターネットに接続可能な基地局82の移動通信の電波を送受信する。移動通信送受信部31は、移動通信アンテナ30に信号を送受信することができる。移動通信制御部32は、移動通信送受信部31で移動通信を行う。SSIDパスワード切替制御部81は、SSID及びパスワードの切り替えを制御する。なお、SSIDパスワード切替制御部81による、具体的なSSID及びパスワードの切り替え処理の詳細については後述する。   The Wi-Fi control unit 29 includes the Wi-Fi initial SSID password storage unit 20 and the Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. Wi-Fi communication is performed using the SSID and password stored in any of the 5_index new SSID password storage unit 25. The mobile communication antenna 30 transmits and receives radio waves for mobile communication of a base station 82 that can be connected to the Internet. The mobile communication transmitting / receiving unit 31 can transmit and receive signals to and from the mobile communication antenna 30. The mobile communication control unit 32 performs mobile communication at the mobile communication transmission / reception unit 31. The SSID password switching control unit 81 controls switching of the SSID and password. Details of a specific SSID and password switching process by the SSID password switching control unit 81 will be described later.

図4は、スマートフォン/タブレット300の概略構成を示すブロック図である。図4に示すように、スマートフォン/タブレット300は、USBコネクタ33と、充電回路部34と、5V印加判定回路35と、USB通信/充電切替部36と、充電池37と、スマートフォン/タブレットUSB_ID格納部38と、USB通信制御部39と、不揮発メモリ40と、制御プログラム41と、使用index格納部42と、Wi-Fi初期SSIDパスワード格納部43と、Wi-Fiアンテナ49と、Wi-Fi送受信部50と、Wi-Fi制御部51と、テキスト格納部52と、を備えている。   FIG. 4 is a block diagram illustrating a schematic configuration of the smartphone / tablet 300. As shown in FIG. 4, the smartphone / tablet 300 includes a USB connector 33, a charging circuit unit 34, a 5V application determination circuit 35, a USB communication / charge switching unit 36, a rechargeable battery 37, and a smartphone / tablet USB_ID storage. Unit 38, USB communication control unit 39, nonvolatile memory 40, control program 41, used index storage unit 42, Wi-Fi initial SSID password storage unit 43, Wi-Fi antenna 49, and Wi-Fi transmission / reception Unit 50, Wi-Fi control unit 51, and text storage unit 52.

また、スマートフォン/タブレット300は、第2格納部である、Wi-Fi_No.1_index新SSIDパスワード格納部44、Wi-Fi_No.2_index新SSIDパスワード格納部45、Wi-Fi_No.3_index新SSIDパスワード格納部46、Wi-Fi_No.4_index新SSIDパスワード格納部47及びWi-Fi_No.5_index新SSIDパスワード格納部48(以下、「Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48」または、「スマートフォン/タブレット300のWi-Fi_No.n_index新SSIDパスワード格納部(n=1〜5)」の様に記載する)を備えている。   In addition, the smartphone / tablet 300 includes a Wi-Fi_No. 1_index new SSID password storage unit 44, Wi-Fi_No. 2_index new SSID password storage unit 45, Wi-Fi_No. 3_index new SSID password storage unit 46, Wi-Fi_No. 4_index new SSID password storage 47 and Wi-Fi_No. 5_index new SSID password storage unit 48 (hereinafter referred to as “Wi-Fi_No.1_index new SSID password storage unit 44 to Wi-Fi_No.5_index new SSID password storage unit 48” or “Wi-Fi_No.n_index new SSID of smartphone / tablet 300”. A password storage unit (described as “n = 1 to 5”).

USBコネクタ33は、USBプラグ10と接続することが可能である。充電池37は、モバイルルータ全体に電力を供給することが可能で、充電回路部34によって電流が供給され充電される。充電回路部34は、USBコネクタ33を介して充電器100から5V電圧が供給され充電池37の充電を行う。5V印加判定回路35は、USBコネクタ33を介して充電器100から5V電圧が印加されたか否か判定する。   The USB connector 33 can be connected to the USB plug 10. The rechargeable battery 37 can supply power to the entire mobile router, and is charged by being supplied with current by the charging circuit unit 34. The charging circuit unit 34 is supplied with 5V voltage from the charger 100 via the USB connector 33 and charges the rechargeable battery 37. The 5V application determination circuit 35 determines whether a 5V voltage is applied from the charger 100 via the USB connector 33.

USB通信/充電切替部36は、USBのデータラインであるD+とD−とが短絡しているか否かを判定するD+/D−短絡判定回路とUSB通信のためのUSB通信回路とを有する。USB通信/充電切替部36は、D+/D−短絡判定回路によりUSBのデータラインであるD+とD−とが、短絡しているか否かを判断し、USB通信と1.5A充電とを切り替える。   The USB communication / charge switching unit 36 includes a D + / D− short-circuit determination circuit that determines whether or not D + and D−, which are USB data lines, are short-circuited, and a USB communication circuit for USB communication. The USB communication / charge switching unit 36 determines whether or not the USB data lines D + and D− are short-circuited by the D + / D− short-circuit determination circuit, and switches between USB communication and 1.5A charging. .

スマートフォン/タブレットUSB_ID格納部38は、USBコネクタ33を介してUSB通信によりUSB充電器100に通知するモバイルルータのUSB_IDを格納する。USB通信制御部39は、USB充電器のUSB通信制御部104とUSB通信する。不揮発メモリ40は、スマートフォン/タブレット内のプログラム、データを保存する。制御プログラム41は、不揮発メモリ内に格納されWi-Fi、USBや移動通信の制御を行う。   The smartphone / tablet USB_ID storage unit 38 stores the USB_ID of the mobile router that notifies the USB charger 100 by USB communication via the USB connector 33. The USB communication control unit 39 performs USB communication with the USB communication control unit 104 of the USB charger. The nonvolatile memory 40 stores programs and data in the smartphone / tablet. The control program 41 is stored in the non-volatile memory and controls Wi-Fi, USB, and mobile communication.

Wi-Fi初期SSIDパスワード格納部43は、Wi-Fi通信時に使用されるSSIDとパスワードの初期値が格納されている。Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48は、第2格納部に相当し、Wi-Fi通信時に使用されるSSID及びパスワード(既に定義済みのものまたはWi-Fi_index新SSIDパスワード生成部2が新たに生成したユニークなもの)をindexと対応付けて格納する。   The Wi-Fi initial SSID password storage unit 43 stores an initial SSID and password used during Wi-Fi communication. Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. The 5_index new SSID password storage unit 48 corresponds to the second storage unit, and is used for Wi-Fi communication. SSID and password (one already defined or unique generated by the Wi-Fi_index new SSID password generation unit 2) Stored in association with the index.

また、充電器100から送信されてきたUSB送信テキストファイルのindex、SSID及びパスワードは、Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48のいずれかに格納される。なお、当該格納する処理の詳細については後述する。   Also, the index, SSID, and password of the USB transmission text file transmitted from the charger 100 are Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. 5_index stored in one of the new SSID password storage units 48. Details of the storing process will be described later.

使用index格納部42は、Wi-Fi通信において使用しているSSID及びパスワードに対応するindexを記録する。Wi-Fiアンテナ49は、Wi-Fiの電波を送受信する。Wi-Fi送受信部50は、Wi-Fiアンテナ49に信号を送受信する。   The used index storage unit 42 records an index corresponding to the SSID and password used in Wi-Fi communication. The Wi-Fi antenna 49 transmits and receives Wi-Fi radio waves. The Wi-Fi transmission / reception unit 50 transmits / receives a signal to / from the Wi-Fi antenna 49.

Wi-Fi制御部51は、Wi-Fi初期SSIDパスワード格納部43およびWi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48のいずれかを利用してWi-Fi通信を行う。テキスト格納部52は、USB充電器100から送信されたテキストファイルを格納する。   The Wi-Fi control unit 51 includes a Wi-Fi initial SSID password storage unit 43 and a Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. Wi-Fi communication is performed using any of the 5_index new SSID password storage unit 48. The text storage unit 52 stores the text file transmitted from the USB charger 100.

USBを用いた充電を規定するための仕様であるUSB BC1.1では、CDP(Charging Downstream Port)、SDP(Standard Downstream Port)、及びDCP(Dedicated Charging Port)の3種類の電源の種別が定義されている。電源の種別がCDPの場合、充電とともにUSB通信を行うことも可能であり、最大充電電流は1.5Aである。電源の種別がSDPの場合、充電とともにUSB通信を行うことも可能であるが、最大充電電流は0.5Aである。電源の種別がDCPの場合、USB通信はできないが、最大充電電流は1.5Aである。なお、DCPは、USBのデータラインであるD+とD−とが短絡されているか否かによって識別される。USB充電器100は、USB通信/充電切替部4及びUSB通信/充電切替部5によりSDPとDCPとで電源の種別を切り替えすることができる。   USB BC1.1, which is a specification for regulating charging using USB, defines three types of power sources: CDP (Charging Downstream Port), SDP (Standard Downstream Port), and DCP (Dedicated Charging Port). ing. When the power supply type is CDP, USB communication can be performed together with charging, and the maximum charging current is 1.5A. When the power supply type is SDP, USB communication can be performed along with charging, but the maximum charging current is 0.5A. When the power supply type is DCP, USB communication is not possible, but the maximum charging current is 1.5A. The DCP is identified by whether or not the USB data lines D + and D− are short-circuited. The USB charger 100 can switch the type of power supply between SDP and DCP by the USB communication / charge switching unit 4 and the USB communication / charge switching unit 5.

USB通信/充電切替部4及びUSB通信/充電切替部5においてSDPとDCPとで電源の種別を切り替えする処理の流れについて以下で説明する。
図5は、USB通信/充電切替部4及びUSB通信/充電切替部5においてSDPとDCPとで電源の種別を切り替えする処理の流れを示すフローチャートである。なお、以下の説明において図2、図3及び図4を適宜参照する。図5に示すように、まず、USB充電方式をSDPに設定し、通信回路に接続する(ステップS1)。
The flow of processing for switching the power source type between SDP and DCP in the USB communication / charge switching unit 4 and the USB communication / charge switching unit 5 will be described below.
FIG. 5 is a flowchart showing a flow of processing for switching the type of power source between SDP and DCP in the USB communication / charge switching unit 4 and the USB communication / charge switching unit 5. In the following description, FIGS. 2, 3 and 4 will be referred to as appropriate. As shown in FIG. 5, first, the USB charging method is set to SDP and connected to the communication circuit (step S1).

ステップS1に続き、USBに5V電圧の印加を行い(ステップS2)、USBデバイスの接続を監視する(ステップS3)。USBデバイスが接続されたら通信設定を実施し(ステップS4)、USB通信を実施する(ステップS5)。USB通信が完了したら(ステップS6)、5V印加を停止する(ステップS7)。   Following step S1, a 5V voltage is applied to the USB (step S2), and the connection of the USB device is monitored (step S3). When the USB device is connected, communication setting is performed (step S4), and USB communication is performed (step S5). When the USB communication is completed (step S6), 5V application is stopped (step S7).

ステップS7に続き、USB充電方式をDCPに設定し、USBのデータラインであるD+とD−とを短絡する(ステップS8)。次に、5V電圧の印加を行い(ステップS9)、10分間待機する(ステップS10)。ステップS10で10分間経過した後、5V電圧の印加を停止し(ステップS11)、処理をステップS1に戻す。ステップS1からステップS11の処理を繰り返す。   Following step S7, the USB charging method is set to DCP, and the USB data lines D + and D- are short-circuited (step S8). Next, 5V voltage is applied (step S9), and it waits for 10 minutes (step S10). After 10 minutes have passed in step S10, the application of 5V voltage is stopped (step S11), and the process returns to step S1. The processing from step S1 to step S11 is repeated.

スマートフォン/タブレットには、SDPとDCPをサポートしても、CDPをサポートしていない機器も多く存在する。そのようなスマートフォン/タブレットでも、充電器100がUSB通信/充電切替部4及びUSB通信/充電切替部5を備えることにより、充電中にSSID及びパスワードのやり取りに必要なUSB通信を行うことができるとともに、USB通信が完了した後、充電電流を1.5Aに切り替えることで充電に要する時間を短縮することができる。   Many smartphones / tablets support SDP and DCP but do not support CDP. Even in such a smartphone / tablet, the charger 100 includes the USB communication / charge switching unit 4 and the USB communication / charge switching unit 5, so that USB communication necessary for exchange of the SSID and password can be performed during charging. At the same time, after the USB communication is completed, the time required for charging can be shortened by switching the charging current to 1.5 A.

モバイルルータ200のUSB通信/充電切替部15及びスマートフォン/タブレット300のUSB通信/充電切替部36においてSDPとDCPとで電源の種別を切り替えする処理の流れについて以下で説明する。なお、USB通信/充電切替部15とUSB通信/充電切替部36とは処理の流れが同じであるので、USB通信/充電切替部15について説明する。
図6は、USB通信/充電切替部15においてSDPとDCPとで電源の種別を切り替えする処理の流れを示すフローチャートである。なお、以下の説明において図2、図3及び図4を適宜参照する。図6に示すように、まず、5V印加判定回路14により5V電圧が検出されるのを監視し(ステップS13)、5V電圧が検出されたらUSB通信/充電切替部15のD+/D−ショート判定回路によりUSBコネクタ11に接続されたUSBデバイス(ここでは充電器100)がDCPとSDPのいずれであるかを判定する(ステップS14)。ステップS14でUSBデバイスがSDPであると判定された場合、USB通信/充電切替部15が充電回路部13の充電電流を0.5Aに設定し(ステップS15)、USB通信/充電切替部15をUSB通信回路で動作させてUSB通信を実施する(ステップS16)。USB通信が完了し(ステップS17)、5V印加判定回路14により5V電圧が検出されなくなったら(ステップS18)、ステップS13に処理を戻す。
The flow of processing for switching the power source type between SDP and DCP in the USB communication / charge switching unit 15 of the mobile router 200 and the USB communication / charge switching unit 36 of the smartphone / tablet 300 will be described below. The USB communication / charge switching unit 15 and the USB communication / charge switching unit 36 have the same processing flow, and therefore the USB communication / charge switching unit 15 will be described.
FIG. 6 is a flowchart showing a flow of processing for switching the type of power source between SDP and DCP in the USB communication / charge switching unit 15. In the following description, FIGS. 2, 3 and 4 will be referred to as appropriate. As shown in FIG. 6, first, it is monitored that the 5V voltage is detected by the 5V application determination circuit 14 (step S13), and when the 5V voltage is detected, the D + / D-short determination of the USB communication / charge switching unit 15 is performed. It is determined whether the USB device (the charger 100 in this case) connected to the USB connector 11 by a circuit is DCP or SDP (step S14). If it is determined in step S14 that the USB device is SDP, the USB communication / charge switching unit 15 sets the charging current of the charging circuit unit 13 to 0.5 A (step S15), and the USB communication / charge switching unit 15 is turned on. The USB communication is performed by operating the USB communication circuit (step S16). When the USB communication is completed (step S17) and the 5V voltage is not detected by the 5V application determination circuit 14 (step S18), the process returns to step S13.

ステップS14でUSBデバイスがDCPであると判定された場合、USB通信/充電切替部15が充電回路部13の充電電流を1.5Aに設定し(ステップS19)、5V印加判定回路14により5V電圧が検出されなくなったら(ステップS18)、ステップS13に処理を戻す。   If it is determined in step S14 that the USB device is DCP, the USB communication / charge switching unit 15 sets the charging current of the charging circuit unit 13 to 1.5 A (step S19), and the 5V application determination circuit 14 sets the 5V voltage. Is no longer detected (step S18), the process returns to step S13.

なお、上述したUSB通信/充電切替部15におけるUSB通信と充電との切り替えする処理の流れの説明において、USB通信/充電切替部15をUSB通信/充電切替部36に、5V印加判定回路14を5V印加判定回路35に、USBコネクタ11をUSBコネクタ33に、充電回路部13を充電回路部34に置き換えればUSB通信/充電切替部36においてSDPとDCPとで電源の種別を切り替えする処理の流れとなる。   In the description of the flow of processing for switching between USB communication and charging in the USB communication / charge switching unit 15 described above, the USB communication / charge switching unit 15 is replaced with the USB communication / charge switching unit 36, and the 5V application determination circuit 14 is replaced with If the USB connector 11 is replaced with the USB connector 33 and the charging circuit unit 13 is replaced with the charging circuit unit 34 in the 5V application determination circuit 35, the USB communication / charge switching unit 36 switches the power source type between SDP and DCP. It becomes.

次に、Wi-Fi通信のSSID及びパスワード変更システム400においてSSID及びパスワードを変更する動作について以下で説明する。なお、以下の説明において図2、図3及び図4を適宜参照する。
ユーザがUSB充電器100の100Vプラグ8を100Vコンセントに接続すると、USB充電器100の各ブロックには交流直流変換回路7及び5Vレギュレータ6を経由して電源が供給される。USB充電器100の各ブロックに電源が供給された直後、Wi-Fi_index新SSIDパスワード生成部2において、indexがカウントアップされ、Wi-Fi通信のためのユニークなSSID及びパスワードが生成される。
Next, an operation for changing the SSID and password in the SSID and password change system 400 for Wi-Fi communication will be described below. In the following description, FIGS. 2, 3 and 4 will be referred to as appropriate.
When the user connects the 100V plug 8 of the USB charger 100 to a 100V outlet, power is supplied to each block of the USB charger 100 via the AC / DC converter circuit 7 and the 5V regulator 6. Immediately after power is supplied to each block of the USB charger 100, the Wi-Fi_index new SSID password generation unit 2 increments the index and generates a unique SSID and password for Wi-Fi communication.

タイマー部1は一定時間(例えば、24時間)経過するごとにパルス信号を発生させる。このパルス信号がWi-Fi_index新SSIDパスワード生成部2に伝達されると、Wi-Fi_index新SSIDパスワード生成部2では、index値を1カウントアップさせ、Wi-Fi通信のためのユニークなSSID及びパスワードを生成する。上記パスワードの具体的な生成方法は、例えば、パスワードの初期値がabspftuaだった場合、パスワードのすべての文字をABC順の次の文字に変え、bctqguxbとする。また、SSIDもパスワードと同様の方法で生成される。   The timer unit 1 generates a pulse signal every time a fixed time (for example, 24 hours) elapses. When this pulse signal is transmitted to the Wi-Fi_index new SSID password generation unit 2, the Wi-Fi_index new SSID password generation unit 2 increments the index value by 1, and a unique SSID and password for Wi-Fi communication. Is generated. For example, when the initial value of the password is abspftua, all the characters of the password are changed to the next character in the ABC order to be bctqguxb. The SSID is also generated in the same way as the password.

Wi-Fi_index新SSIDパスワード生成部2で生成されたindex、SSID及びパスワードは、USB充電器100のUSB通信制御部104により、USB通信によってモバイルルータ200及びスマートフォン/タブレット300へと送信される。スマートフォン/タブレット300に送信する場合、Wi-Fi_index新SSIDパスワード生成部2で生成されたindex、SSID及びパスワードからなるUSB送信データを、テキストファイル生成部3においてテキスト形式のファイル(USB送信テキストファイル)に変換してから送信する。   The index, SSID, and password generated by the Wi-Fi_index new SSID password generation unit 2 are transmitted to the mobile router 200 and the smartphone / tablet 300 by USB communication by the USB communication control unit 104 of the USB charger 100. When transmitting to the smartphone / tablet 300, USB transmission data composed of the index, SSID and password generated by the Wi-Fi_index new SSID password generation unit 2 is converted into a text file (USB transmission text file) in the text file generation unit 3. Send it after converting to.

例えば、Wi-Fi_index新SSIDパスワード生成部2において、index=2、SSID=bctqguxb、パスワード=edfgs458ifgtが生成されたとする。このときにモバイルルータ200のUSBコネクタ11がUSB充電器100のUSBプラグ9に接続されると、USB充電器100のUSB通信/充電切替部4は、5V電圧を印加するとともに、USB通信回路側で動作する。モバイルルータ200の5V印加判定回路14では、充電器100による5V電圧の印加を検出する。また、USB通信/充電切替部15のD+/D−ショート判定回路では、USBのデータラインであるD+とD−とが短絡されていないと判定する。これにより、USB通信を開始する。   For example, it is assumed that the Wi-Fi_index new SSID password generation unit 2 generates index = 2, SSID = bctqguxb, and password = edfgs458458gt. At this time, when the USB connector 11 of the mobile router 200 is connected to the USB plug 9 of the USB charger 100, the USB communication / charge switching unit 4 of the USB charger 100 applies 5V voltage and the USB communication circuit side Works with. The 5V application determination circuit 14 of the mobile router 200 detects application of 5V voltage by the charger 100. The D + / D− short determination circuit of the USB communication / charge switching unit 15 determines that the USB data lines D + and D− are not short-circuited. Thereby, USB communication is started.

USB通信を開始した後、モバイルルータ200のUSB_ID格納部16に格納されたUSB_IDの値をUSB充電器100に通知する。これにより、充電器100では、USB接続されているのがモバイルルータ200であることを認識できる。モバイルルータ200では、USB通信にて充電器100から送信されてきたindex、SSID及びパスワードは、Wi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25のうちのいずれかに格納される。この送信されてきたindex、SSID及びパスワードは、モバイルルータ200のWi-Fi_No.n_index新SSIDパスワード格納部(n=1〜5)のうち、何も入力されていないものがあれば、その中でnの数字が最も小さいものに格納される。また、この送信されてきたindex、SSID及びパスワードは、モバイルルータ200のWi-Fi_No.n_index新SSIDパスワード格納部(n=1〜5)のうち、何も入力されていないものがなければ、使用index格納部26でindexが使用されていないもの中で格納されているindexの値が最も小さいものに格納(上書き)される。例えば、モバイルルータ200のWi-Fi_No.n_index新SSIDパスワード格納部(n=1〜5)のいずれにも入力がされていなければ、充電器100から送信されてきたindex、SSID及びパスワードはWi-Fi_No.1_index新SSIDパスワード格納部21に格納される。   After starting the USB communication, the USB charger 100 is notified of the value of the USB_ID stored in the USB_ID storage unit 16 of the mobile router 200. Thereby, the charger 100 can recognize that the mobile router 200 is connected by USB. In the mobile router 200, the index, the SSID, and the password transmitted from the charger 100 by USB communication are the Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. 5_index stored in one of the new SSID password storage units 25. The transmitted index, SSID, and password are stored in the Wi-Fi_No. Among the n_index new SSID password storage units (n = 1 to 5), if there is anything that has not been input, it is stored in the smallest number of n. Also, the transmitted index, SSID and password are stored in the Wi-Fi_No. If there is no n_index new SSID password storage unit (n = 1 to 5) for which nothing is input, the value of the index stored in the used index storage unit 26 in which no index is used is Stored (overwritten) in the smallest one. For example, the Wi-Fi_No. If there is no input in any of the n_index new SSID password storage units (n = 1 to 5), the index, SSID and password transmitted from the charger 100 will be Wi-Fi_No. 1_index is stored in the new SSID password storage unit 21.

必要なUSB通信が完了すると、USB通信/充電切替部4は、5V電圧の印加を一旦停止し、USBのデータラインであるD+とD−を短絡させ、再度5V電圧を印加する。モバイルルータ200の5V印加判定回路14において5V電圧の印加が検出され、かつ、USB通信/充電切替部15のD+/D−ショート判定回路においてUSBのデータラインであるD+とD−とが短絡していると判断された後、充電回路部13が1.5A充電を開始する。   When the necessary USB communication is completed, the USB communication / charge switching unit 4 temporarily stops the application of the 5V voltage, short-circuits the USB data lines D + and D−, and applies the 5V voltage again. Application of 5V voltage is detected in the 5V application determination circuit 14 of the mobile router 200, and D + and D− which are USB data lines are short-circuited in the D + / D− short determination circuit of the USB communication / charge switching unit 15. After it is determined that the charging circuit unit 13 is charging, the charging circuit unit 13 starts 1.5 A charging.

USB充電器100のUSBプラグ10にスマートフォン/タブレット300のUSBコネクタ33を接続すると、USB充電器100では、USB通信/充電切替部5が5V電圧を印加するとともにUSB通信回路側で動作する。スマートフォン/タブレット300の5V印加判定回路35では、充電器100による5V電圧の印加を検出し、USB通信/充電切替部36のD+/D−ショート判定回路によりUSBのデータラインであるD+とD−とが短絡していないことを判定し、USB通信を開始する。   When the USB connector 33 of the smartphone / tablet 300 is connected to the USB plug 10 of the USB charger 100, in the USB charger 100, the USB communication / charge switching unit 5 applies 5V voltage and operates on the USB communication circuit side. The 5V application determination circuit 35 of the smartphone / tablet 300 detects the application of the 5V voltage by the charger 100, and the D + / D− short determination circuit of the USB communication / charge switching unit 36 detects the USB data lines D + and D−. Are not short-circuited, and USB communication is started.

USB通信の開始後、スマートフォン/タブレット300のUSB_ID格納部38に格納されたUSB_IDの値をUSB充電器100に通知する。これにより、充電器100では、USB接続されているのがスマートフォン/タブレット300であることを認識できる。スマートフォン/タブレット300では、USB通信にて充電器100から送信されてきたindex、SSID及びパスワードを有するテキストファイルは、テキスト格納部52に格納される。このテキストファイルからindex、SSID及びパスワードが抽出され、Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48のうちのいずれかに格納される。抽出されたindex、SSID及びパスワードは、スマートフォン/タブレット300のWi-Fi_No.n_index新SSIDパスワード格納部(n=1〜5)のうち、何も入力されていないものがあれば、その中で格納されているindexの値が最も小さいものにindex、SSID及びパスワードが格納される。また、抽出されたindex、SSID及びパスワードは、スマートフォン/タブレット300のWi-Fi_No.n_index新SSIDパスワード格納部(n=1〜5)のうち、何も入力されていないものがなければ、使用index格納部42でindexが使用されていないもの中でnの数字が最も小さいものに格納(上書き)される。例えば、スマートフォン/タブレット300のWi-Fi_No.n_index新SSIDパスワード格納部(n=1〜5)のいずれにも入力がされていなければ、Wi-Fi_No.1_index新SSIDパスワード格納部44に格納される。   After the start of USB communication, the USB charger 100 is notified of the value of USB_ID stored in the USB_ID storage unit 38 of the smartphone / tablet 300. Thereby, the charger 100 can recognize that the USB connection is the smartphone / tablet 300. In the smartphone / tablet 300, a text file having an index, an SSID, and a password transmitted from the charger 100 through USB communication is stored in the text storage unit 52. Index, SSID, and password are extracted from this text file, and Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. 5_index is stored in one of the new SSID password storage units 48. The extracted index, SSID, and password are stored in the Wi-Fi_No. If there is an n_index new SSID password storage unit (n = 1 to 5) where nothing is input, the index, SSID and password are stored in the one with the smallest index value stored therein. The The extracted index, SSID, and password are stored in the Wi-Fi_No. If there is no n_index new SSID password storage unit (n = 1 to 5) that has not been input, the used index storage unit 42 has the smallest n number among those in which no index is used. Stored (overwritten). For example, the Wi-Fi_No. If no entry is made in any of the n_index new SSID password storage units (n = 1 to 5), Wi-Fi_No. 1_index is stored in the new SSID password storage unit 44.

必要なUSB通信が完了すると、USB通信/充電切替部5は、5V電圧の印加を一旦停止し、USBのデータラインであるD+とD−を短絡させ、再度5V電圧を印加する。モバイルルータ200の5V印加判定回路35において5V電圧の印加が検出され、かつ、USB通信/充電切替部36のD+/D−ショート判定回路においてUSBのデータラインであるD+とD−とが短絡していると判断された後、充電回路部34が1.5A充電を開始する。   When the necessary USB communication is completed, the USB communication / charge switching unit 5 temporarily stops the application of the 5V voltage, short-circuits the USB data lines D + and D−, and applies the 5V voltage again. Application of 5V voltage is detected in the 5V application determination circuit 35 of the mobile router 200, and D + and D− which are USB data lines are short-circuited in the D + / D− short determination circuit of the USB communication / charge switching unit 36. After it is determined that the charging circuit unit 34 is charging, the charging circuit unit 34 starts 1.5A charging.

モバイルルータ200のWi-Fi初期SSIDパスワード格納部20と、スマートフォン/タブレット300のWi-Fi初期SSIDパスワード格納部43と、はあらかじめSSID及びパスワードが一致している。このため、モバイルルータ200において、使用index格納部26にindexの値が入力されていない場合には、モバイルルータ200ではWi-Fi初期SSIDパスワード格納部20に格納されたSSID及びパスワードを使用し、スマートフォン/タブレット300ではWi-Fi初期SSIDパスワード格納部43を使用してWi-Fi通信を行う。また、スマートフォン/タブレット300においても、Wi-Fi初期SSIDパスワード格納部43を使用してWi-Fi通信を行う。   The Wi-Fi initial SSID password storage unit 20 of the mobile router 200 and the Wi-Fi initial SSID password storage unit 43 of the smartphone / tablet 300 have the same SSID and password. Therefore, in the mobile router 200, when the index value is not input to the use index storage unit 26, the mobile router 200 uses the SSID and password stored in the Wi-Fi initial SSID password storage unit 20, The smartphone / tablet 300 performs Wi-Fi communication by using the Wi-Fi initial SSID password storage unit 43. The smartphone / tablet 300 also performs Wi-Fi communication using the Wi-Fi initial SSID password storage unit 43.

Wi-Fi通信において、モバイルルータ200はスマートフォン/タブレット300に対して、スマートフォン/タブレット300のWi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48に格納されているindexの問い合わせを行う。この問い合わせに対し、スマートフォン/タブレット300は、Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48に格納されているindexをWi-Fi通信によってモバイルルータ200に通知する。なお、Wi-Fi通信を介して通知するのはindexのみなので、第三者によりSSID及びパスワードが傍受される危険性は極めて低い。   In Wi-Fi communication, the mobile router 200 is connected to the smartphone / tablet 300 with respect to the Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. 5_index Inquires about the index stored in the new SSID password storage unit 48. In response to this inquiry, the smartphone / tablet 300 uses Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. 5_index The mobile router 200 is notified of the index stored in the new SSID password storage unit 48 by Wi-Fi communication. In addition, since only the index is notified through Wi-Fi communication, the risk that an SSID and a password are intercepted by a third party is extremely low.

例えば、Wi-Fi_index新SSIDパスワード生成部2で新たに生成したindex=2、SSID=bctqguxb、パスワード=edfgs458ifgtが、スマートフォン/タブレット300のWi-Fi_No.1_index新SSIDパスワード格納部44に格納されているとする。また、Wi-Fi_No.2_index新SSIDパスワード格納部45〜Wi-Fi_No.5_index新SSIDパスワード格納部48には何も入力されていないとする。Wi-Fi通信において、スマートフォン/タブレット300はモバイルルータ200に対し、index=2を通知する。   For example, index = 2 newly generated by the Wi-Fi_index new SSID password generation unit 2, SSID = bctqguxb, and password = eddfs458ifgt are Wi-Fi_No. It is assumed that 1_index is stored in the new SSID password storage unit 44. In addition, Wi-Fi_No. 2_index new SSID password storage unit 45 to Wi-Fi_No. Assume that nothing is entered in the 5_index new SSID password storage unit 48. In Wi-Fi communication, the smartphone / tablet 300 notifies the mobile router 200 of index = 2.

モバイルルータ200において、スマートフォン/タブレット300から通知されたindexと、Wi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25内に格納されたindexと、を照合する。例えば、Wi-Fi_index新SSIDパスワード生成部2で新たに生成したindex=2、SSID=bctqguxb、パスワード=edfgs458ifgtが、モバイルルータ200のWi-Fi_No.1_index新SSIDパスワード格納部21にも格納されているとする。スマートフォン/タブレット300から通知されたindex(=2)と、モバイルルータ200のWi-Fi_No.1_index新SSIDパスワード格納部21に格納されたindex(=2)とは一致するので、モバイルルータ200からスマートフォン/タブレット300に対し、index=2のSSID及びパスワードに切り替えするコマンドを送信する。   In the mobile router 200, the index notified from the smartphone / tablet 300 and the Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. 5_index The index stored in the new SSID password storage unit 25 is collated. For example, index = 2 newly generated by the Wi-Fi_index new SSID password generation unit 2, SSID = bctqguxb, password = edfgs 458ifgt is the Wi-Fi_No. It is assumed that 1_index is also stored in the new SSID password storage unit 21. The index (= 2) notified from the smartphone / tablet 300 and the Wi-Fi_No. 1_index Since it matches the index (= 2) stored in the new SSID password storage unit 21, the mobile router 200 transmits a command for switching to the SSID and password of index = 2 to the smartphone / tablet 300.

このコマンドを受信したスマートフォン/タブレット300は、切り替え承諾のレスポンスをモバイルルータ200に送信する。そして、スマートフォン/タブレット300は、Wi-Fi通信に使用するSSID及びパスワードを、index=2に対応する、SSID(=bctqguxb)及びパスワード(=edfgs458ifgt)に切り替える。モバイルルータ200は、スマートフォン/タブレット300からの切り替え承諾のレスポンスを受信した後、Wi-Fi通信に使用するSSID及びパスワードを、index=2に対応する、SSID(=bctqguxb)及びパスワード(=edfgs458ifgt)に切り替える。   The smartphone / tablet 300 that has received this command transmits a response of switching consent to the mobile router 200. Then, the smartphone / tablet 300 switches the SSID and password used for Wi-Fi communication to an SSID (= bctqguxb) and a password (= edfgs458458gt) corresponding to index = 2. After the mobile router 200 receives the switching approval response from the smartphone / tablet 300, the SSID and password used for Wi-Fi communication are set to SSID (= bctqguxb) and password (= edfgs458fgt) corresponding to index = 2. Switch to.

以上より、ユーザは、意図的にSSID及びパスワードを変更することなく、日常的な充電作業により定期的にSSID及びパスワードを変更することができる。また、充電器100とモバイルルータ200との間、及び充電器100とスマートフォン/タブレット300との間におけるSSID及びパスワードのやりとりは有線通信のみで行うため、SSID及びパスワードの変更の際に第三者にSSID及びパスワードを傍受され難い。これにより、ユーザの負担なくセキュリティー性の高い、Wi-Fi通信のSSID及びパスワード変更システムを提供できる。   As described above, the user can periodically change the SSID and password by daily charging work without intentionally changing the SSID and password. In addition, since the exchange of the SSID and password between the charger 100 and the mobile router 200 and between the charger 100 and the smartphone / tablet 300 is performed only by wired communication, a third party is required when changing the SSID and password. It is difficult to intercept SSID and password. Accordingly, it is possible to provide a Wi-Fi communication SSID and password change system with high security without burden on the user.

Wi-Fi通信のSSID及びパスワード変更システム400においてSSID及びパスワードを変更する処理の流れについて以下で説明する。
図7、図8及び図9は、SSID及びパスワード変更システム400においてSSID及びパスワードを変更する処理の流れを示すフローチャートである。図7は、モバイルルータ200側における処理フローを示す。図8は、スマートフォン/タブレット300側における処理フローを示す。図9は、モバイルルータ200とスマートフォン/タブレット300とのやり取りについての処理フローを示す。なお、以下の説明において図2、図3及び図4を適宜参照する。
A flow of processing for changing the SSID and password in the SSID and password change system 400 of Wi-Fi communication will be described below.
7, 8, and 9 are flowcharts showing the flow of processing for changing the SSID and password in the SSID and password change system 400. FIG. 7 shows a processing flow on the mobile router 200 side. FIG. 8 shows a processing flow on the smartphone / tablet 300 side. FIG. 9 shows a processing flow for the exchange between the mobile router 200 and the smartphone / tablet 300. In the following description, FIGS. 2, 3 and 4 will be referred to as appropriate.

モバイルルータ200側における処理フローについて、図7に示すように、まず使用index格納部26にindexが格納されているか否かを判断する(ステップS101)。ステップS101で使用index格納部26にindexが格納されていれば、Wi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25のいずれかに格納されたSSID及びパスワードのうちで使用index格納部26に格納されているindexに対応するSSID及びパスワードを抽出し、当該SSID及びパスワードを使用してWi-Fi通信を動作させ(ステップS102)、スマートフォン/タブレット300とWi-Fi通信を開始する(ステップS105)。   Regarding the processing flow on the mobile router 200 side, as shown in FIG. 7, it is first determined whether or not an index is stored in the used index storage unit 26 (step S101). If the index is stored in the used index storage unit 26 in step S101, the Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. 5_index Extracts the SSID and password corresponding to the index stored in the used index storage unit 26 from the SSID and password stored in the new SSID password storage unit 25, and uses the SSID and password to perform Wi -Fi communication is operated (step S102), and Wi-Fi communication is started with the smartphone / tablet 300 (step S105).

ステップS101で使用index格納部26にindexが格納されていなければ、Wi-Fi初期SSIDパスワード格納部20に格納されたSSID及びパスワード使用してWi-Fi通信を動作させ(ステップS103)、使用index格納部26に初期値(index=1)を格納し(ステップS104)、スマートフォン/タブレット300とWi-Fi通信を開始する(ステップS105)。   If no index is stored in the used index storage unit 26 in step S101, Wi-Fi communication is operated using the SSID and password stored in the Wi-Fi initial SSID password storage unit 20 (step S103), and the used index is stored. The initial value (index = 1) is stored in the storage unit 26 (step S104), and Wi-Fi communication with the smartphone / tablet 300 is started (step S105).

ステップS105に続き、SSIDパスワード切替制御部81が、スマートフォン/タブレット300のWi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48に格納されているindexを問い合わせする、index問い合わせコマンドを送信する(ステップS106)。   Subsequent to step S105, the SSID password switching control unit 81 determines whether the Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. 5_index An index inquiry command for inquiring about the index stored in the new SSID password storage unit 48 is transmitted (step S106).

ステップS106に続き、SSIDパスワード切替制御部81が、スマートフォン/タブレット300からのレスポンスを受信したか監視する(ステップ107)。なお、当該レスポンスは、Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48にindexが、格納されている場合はindexの値、格納されていない場合はその旨の通知である。   Following step S106, the SSID password switching control unit 81 monitors whether a response from the smartphone / tablet 300 has been received (step 107). Note that the response is Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. 5_index When the index is stored in the new SSID password storage unit 48, the value of the index is stored, and when it is not stored, this is a notification to that effect.

ステップS107に続き、SSIDパスワード切替制御部81が、Wi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25に格納されたindexとスマートフォン/タブレット300から通知されたindexとの照合を行い(ステップS108)、Wi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25に格納されたindexの中に、スマートフォン/タブレット300から通知されたindexと一致するものがあるか否かを判断する(ステップS109)。   Subsequent to step S107, the SSID password switching control unit 81 performs Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. 5_index The index stored in the new SSID password storage unit 25 is collated with the index notified from the smartphone / tablet 300 (step S108), and Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. It is determined whether or not any index stored in the 5_index new SSID password storage unit 25 matches the index notified from the smartphone / tablet 300 (step S109).

ステップS109で一致するindexがあると判断された場合、一致するindexのうち値が最も大きいもの(ここではindex=Bとする)を抽出する(ステップS110)。ステップS109で一致するindexがないと判断された場合、スマートフォン/タブレット300に、Wi-Fiに使用するSSID及びパスワードの設定を切替せず処理を終了する旨のコマンドを送信し(ステップS115)、Wi-Fi通信に使用するSSID及びパスワードの設定を切り替えず処理を終了する。   If it is determined in step S109 that there is a matching index, the matching index having the largest value (here, index = B) is extracted (step S110). If it is determined in step S109 that there is no matching index, a command is sent to the smartphone / tablet 300 to end the process without switching the SSID and password settings used for Wi-Fi (step S115). The process ends without switching the setting of the SSID and password used for Wi-Fi communication.

ステップS110に続き、抽出したindexが使用index格納部26に格納されたindex(ここではindex=Aとする)より大きいか否かを判断する(ステップS111)。スマートフォン/タブレット300にSSID及びパスワード切ステップS111で抽出したindexが使用index格納部26に格納されたindexより大きい(B>A)と判断された場合、SSID及びパスワード切替コマンドを送信する(ステップS112)。SSID及びパスワード切替コマンドは、具体的には、Wi-Fi通信で使用するSSID及びパスワードの設定を、ステップS111で抽出したindex(index=B)に対応するSSID及びパスワードに切り替えするよう指示するものである。   Following step S110, it is determined whether the extracted index is larger than the index stored in the used index storage unit 26 (here, index = A) (step S111). If it is determined that the index extracted in step S111 for SSID and password cut to the smartphone / tablet 300 is larger than the index stored in the used index storage unit 26 (B> A), an SSID and password switching command is transmitted (step S112). ). Specifically, the SSID and password switching command instructs to switch the setting of the SSID and password used in Wi-Fi communication to the SSID and password corresponding to the index (index = B) extracted in step S111. It is.

ステップS111で抽出したindexが使用index格納部26に格納されたindexより大きくない(B≦A)と判断された場合、スマートフォン/タブレット300に、Wi-Fiに使用するSSID及びパスワードの設定を切替せず処理を終了する旨のコマンドを送信し(ステップS115)、Wi-Fi通信に使用するSSID及びパスワードの設定を切り替えず処理を終了する。   When it is determined that the index extracted in step S111 is not larger than the index stored in the used index storage unit 26 (B ≦ A), the setting of the SSID and password used for Wi-Fi is switched to the smartphone / tablet 300. A command to end the process is transmitted (step S115), and the process ends without switching the setting of the SSID and password used for Wi-Fi communication.

ステップS112に続き、SSIDパスワード切替制御部81が、スマートフォン/タブレット300からSSID及びパスワードに切り替えすることを承認する承認レスポンスを受信したら、抽出したindexに対応するSSID及びパスワードに切り替えする(ステップS113)。ステップS113に続き、使用index格納部26に、ステップS110で抽出したindexを格納し(ステップS114)、処理を終了する。   Subsequent to step S112, when the SSID password switching control unit 81 receives an approval response to approve switching from the smartphone / tablet 300 to the SSID and password, the SSID password switching control unit 81 switches to the SSID and password corresponding to the extracted index (step S113). . Subsequent to step S113, the index extracted in step S110 is stored in the used index storage unit 26 (step S114), and the process ends.

スマートフォン/タブレット300側における処理フローについて、図8に示すように、まず使用index格納部42にindexが格納されているか否かを判断する(ステップS201)。ステップS201で使用index格納部42にindexが格納されていれば、Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48のいずれかに格納されたSSID及びパスワードのうちで使用index格納部42に格納されているindexに対応するSSID及びパスワードを抽出し、当該SSID及びパスワードを使用してWi-Fi通信を動作させ(ステップS202)、モバイルルータ200とWi-Fi通信を開始する(ステップS205)。   Regarding the processing flow on the smartphone / tablet 300 side, as shown in FIG. 8, it is first determined whether or not an index is stored in the used index storage unit 42 (step S201). If the index is stored in the used index storage unit 42 in step S201, the Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. 5_index Extracts the SSID and password corresponding to the index stored in the used index storage unit 42 from the SSID and password stored in the new SSID password storage unit 48, and uses the SSID and password to perform Wi -Fi communication is operated (step S202), and Wi-Fi communication is started with the mobile router 200 (step S205).

ステップS201で使用index格納部42にindexが格納されていなければ、Wi-Fi初期SSIDパスワード格納部43に格納されたSSID及びパスワード使用してWi-Fi通信を動作させ(ステップS203)、使用index格納部43に初期値(index=1)を格納し(ステップS204)、モバイルルータ200とWi-Fi通信を開始する(ステップS205)。   If the index is not stored in the used index storage unit 42 in step S201, Wi-Fi communication is operated using the SSID and password stored in the Wi-Fi initial SSID password storage unit 43 (step S203), and the used index is stored. The initial value (index = 1) is stored in the storage unit 43 (step S204), and Wi-Fi communication with the mobile router 200 is started (step S205).

ステップS205に続き、モバイルルータ200から、Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48に格納されているindexの問い合わせを受けたか監視する(ステップS206)。ステップS206で問い合わせを受けた場合、モバイルルータ200にレスポンスを送信する(ステップS207)。上述したように、当該レスポンスは、Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48にindexが、格納されている場合はindexの値、格納されていない場合はその旨の通知である。   Subsequent to step S205, the mobile router 200 transmits Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. 5_index Whether or not an inquiry about the index stored in the new SSID password storage unit 48 has been received is monitored (step S206). When an inquiry is received in step S206, a response is transmitted to the mobile router 200 (step S207). As described above, the response includes Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. 5_index When the index is stored in the new SSID password storage unit 48, the value of the index is stored, and when it is not stored, this is a notification to that effect.

ステップS207に続き、SSID及びパスワード切替コマンドを受信したか監視する(ステップS208)。ステップS208でSSID及びパスワード切替コマンドを受信した場合、モバイルルータ200に承認レスポンスを送信し(ステップS209)、SSID及びパスワード切替コマンドにより指示されたindexに対応するSSID及びパスワードに切り替えする(ステップS210)。ステップS210に続き、使用index格納部42にSSID及びパスワード切替コマンドにより指示されたindexを格納し(ステップS211)、処理を終了する。   Following step S207, it is monitored whether an SSID and password switching command has been received (step S208). When the SSID and password switching command is received in step S208, an approval response is transmitted to the mobile router 200 (step S209), and the SSID and password corresponding to the index specified by the SSID and password switching command are switched (step S210). . Subsequent to step S210, the index specified by the SSID and password switching command is stored in the used index storage unit 42 (step S211), and the process is terminated.

ステップS208でSSID及びパスワード切替コマンドを受信しない場合、モバイルルータ200からWi-Fiに使用するSSID及びパスワードの設定を切替せず処理を終了する旨のコマンドを受信したか監視する(ステップS212)。ステップS212でモバイルルータ200からWi-Fiに使用するSSID及びパスワードの設定を切替せず処理を終了する旨のコマンドを受信した場合、Wi-Fi通信に使用するSSID及びパスワードの設定を切り替えず処理を終了する。ステップS212でモバイルルータ200からWi-Fiに使用するSSID及びパスワードの設定を切替せず処理を終了する旨のコマンドを受信しなかった場合、処理をステップS208に戻す。   If the SSID and password switching command is not received in step S208, it is monitored whether or not a command for ending the processing without switching the SSID and password setting used for Wi-Fi from the mobile router 200 is received (step S212). If the mobile router 200 receives a command to end the process without switching the SSID and password used for Wi-Fi from the mobile router 200, the process is performed without switching the setting of the SSID and password used for Wi-Fi communication. Exit. If it is determined in step S212 that the command to end the process is not received from the mobile router 200 without switching the setting of the SSID and password used for Wi-Fi, the process returns to step S208.

モバイルルータ200とスマートフォン/タブレット300とのやり取りの処理フローについて、図9に示すように、まず、モバイルルータ200からスマートフォン/タブレット300に対しindex問い合わせコマンドを送信する(ステップS301)。なお、ステップS301の処理は図7のステップS106の処理に相当する。続いて、スマートフォン/タブレット300からモバイルルータ200に対しレスポンスを送信する(ステップS302)。なお、ステップS302の処理は、図8のステップS207の処理に相当する。   Regarding the processing flow of the exchange between the mobile router 200 and the smartphone / tablet 300, first, as shown in FIG. 9, an index inquiry command is transmitted from the mobile router 200 to the smartphone / tablet 300 (step S301). Note that the processing in step S301 corresponds to the processing in step S106 in FIG. Subsequently, a response is transmitted from the smartphone / tablet 300 to the mobile router 200 (step S302). Note that the processing in step S302 corresponds to the processing in step S207 in FIG.

ステップS302に続き、モバイルルータ200からスマートフォン/タブレット300に対しSSID及びパスワード切替コマンドを送信する(ステップS303)。なお、ステップS303の処理は、図7のステップS112の処理に相当する。続いて、スマートフォン/タブレット300からモバイルルータ200に対し承認レスポンスを送信する(ステップS304)。なお、ステップS304の処理は、図8のステップS209の処理に相当する。以上より、モバイルルータ200及びスマートフォン/タブレット300における、Wi-Fi通信に使用するSSID及びパスワードの設定の切り替えが完了する。   Subsequent to step S302, the mobile router 200 transmits an SSID and password switching command to the smartphone / tablet 300 (step S303). Note that the processing in step S303 corresponds to the processing in step S112 in FIG. Subsequently, an approval response is transmitted from the smartphone / tablet 300 to the mobile router 200 (step S304). Note that the processing in step S304 corresponds to the processing in step S209 in FIG. As described above, the switching of the setting of the SSID and password used for Wi-Fi communication in the mobile router 200 and the smartphone / tablet 300 is completed.

図10は、モバイルルータ200において、充電器100から送信されてきたUSB送信データの内容を格納する処理の流れを示すフローチャートである。図10に示すように、まず、USB送信データのindexと使用index格納部26のindexとが一致しているか否かを判断する(ステップS401)。ステップS401で一致していないと判断された場合、Wi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25内のデータを更新せず処理を終了する。   FIG. 10 is a flowchart showing a flow of processing for storing the content of USB transmission data transmitted from the charger 100 in the mobile router 200. As shown in FIG. 10, first, it is determined whether or not the index of the USB transmission data matches the index of the used index storage unit 26 (step S401). If it is determined in step S401 that they do not match, Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. 5_index The process ends without updating the data in the new SSID password storage unit 25.

ステップS401で一致していると判断された場合、USB送信データのindexとモバイルルータ200のWi-Fi_No.n新ssid_index格納部(n=1〜5)に格納されたindexのいずれとが一致している否か判断する(ステップS402)。ステップS402で一致していないと判断された場合、Wi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25内のデータを更新せず処理を終了する。   If it is determined in step S401 that the IDs match, the index of the USB transmission data matches any of the indexes stored in the Wi-Fi_No.n new ssid_index storage unit (n = 1 to 5) of the mobile router 200. It is determined whether or not (step S402). If it is determined in step S402 that they do not match, Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. 5_index The process ends without updating the data in the new SSID password storage unit 25.

ステップS402で一致していないと判断された場合、Wi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25のいずれにも入力されているか否か判断する(ステップS403)。ステップS403でWi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25のいずれにも入力されていると判断された場合、Wi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25のうち、格納されているindexの値が最も小さいものにUSB送信データのindex、SSID、パスワードを上書きし(ステップS404)、処理を終了する。   If it is determined in step S402 that they do not match, Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. It is determined whether it has been input to any of the 5_index new SSID password storage units 25 (step S403). In step S403, Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. 5_index If it is determined that the new SSID password storage unit 25 has input the Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. Of the 5_index new SSID password storage unit 25, the one with the smallest stored index value is overwritten with the index, SSID, and password of the USB transmission data (step S404), and the process ends.

ステップS403でWi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25のうちで入力されていないものがあると判断された場合、Wi-Fi_No.1_index新SSIDパスワード格納部21〜Wi-Fi_No.5_index新SSIDパスワード格納部25の中の入力がされていないもののうち、nの値が最も小さいものにUSB送信データのindex、SSID、パスワードを書き込み(ステップS405)、処理を終了する。   In step S403, Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. 5_index If it is determined that there is a new SSID password storage unit 25 that has not been entered, the Wi-Fi_No. 1_index new SSID password storage unit 21 to Wi-Fi_No. The index, SSID, and password of the USB transmission data are written in the 5_index new SSID password storage unit 25 that has not been input and the value of n is the smallest (step S405), and the process ends.

図11は、スマートフォン/タブレット300において、充電器100から送信されてきたUSB送信テキストファイルの内容を格納する処理の流れを示すフローチャートである。当該処理は図10に示した処理と基本的に同じである。図11に示すように、まず、USB送信テキストファイルのindexと使用index格納部42のindexとが一致しているか否かを判断する(ステップS501)。ステップS501で一致していないと判断された場合、Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48内のデータを更新せず処理を終了する。   FIG. 11 is a flowchart showing the flow of processing for storing the content of the USB transmission text file transmitted from the charger 100 in the smartphone / tablet 300. This process is basically the same as the process shown in FIG. As shown in FIG. 11, first, it is determined whether or not the index of the USB transmission text file matches the index of the used index storage unit 42 (step S501). If it is determined in step S501 that they do not match, Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. 5_index The process ends without updating the data in the new SSID password storage unit 48.

ステップS501で一致していると判断された場合、USB送信テキストファイルのindexとWi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48に格納されたindexのいずれとが一致している否か判断する(ステップS502)。ステップS502で一致していないと判断された場合、Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48内のデータを更新せず処理を終了する。   If it is determined in step S501 that they match, the USB transmission text file index and Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. It is determined whether any of the indexes stored in the 5_index new SSID password storage unit 48 matches (step S502). If it is determined in step S502 that they do not match, Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. 5_index The process ends without updating the data in the new SSID password storage unit 48.

ステップS502で一致していないと判断された場合、Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48のいずれにも入力されているか否か判断する(ステップS503)。ステップS503でWi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48のいずれにも入力されていると判断された場合、Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48のうち、格納されているindexの値が最も小さいものにUSB送信テキストファイルのindex、SSID、パスワードを上書きし(ステップS504)、処理を終了する。   If it is determined in step S502 that they do not match, Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. It is determined whether or not it has been input to any of the 5_index new SSID password storage units 48 (step S503). In step S503, Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. 5_index If it is determined that the new SSID password storage unit 48 has input the Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. Of the 5_index new SSID password storage unit 48, the one with the smallest stored index value is overwritten with the index, SSID, and password of the USB transmission text file (step S504), and the process ends.

ステップS503でWi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48のうちで入力されていないものがあると判断された場合、Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.5_index新SSIDパスワード格納部48の中の入力がされていないもののうち、nの値が最も小さいものにUSB送信テキストファイルのindex、SSID、パスワードを書き込み(ステップS505)、処理を終了する。   In step S503, Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. 5_index If it is determined that there is a new SSID password storage unit 48 that has not been input, the Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. The index, SSID, and password of the USB transmission text file are written in the 5_index new SSID password storage unit 48 that has not been input, and the value of n is the smallest (step S505), and the process is terminated.

図12は、モバイルルータ200とスマートフォン/タブレット300とのそれぞれにおける、使用index格納部、Wi-Fi_初期SSIDパスワード格納部及びWi-Fi_No.n_index新SSIDパスワード格納部(n=1〜5)の入力状況の一例(格納部入力状況例1)を示す図である。図12に示すように、モバイルルータ200の使用index格納部26にはindex=3が格納されている。また、Wi-Fi初期SSIDパスワード格納部20には、SSID=AAA、パスワード=BBBが、Wi-Fi_No.1_index新SSIDパスワード格納部21には、index=3,SSID=CCC、パスワード=DDDが、Wi-Fi_No.2_index新SSIDパスワード格納部22には、index=7、SSID=EEE、パスワード=FFFが、それぞれ格納されている。なお、Wi-Fi_No.3_index新SSIDパスワード格納部23〜Wi-Fi_No.5_index新SSIDパスワード格納部25には、何も入力されていない。   12 shows a usage index storage unit, a Wi-Fi_initial SSID password storage unit, and a Wi-Fi_No. It is a figure which shows an example (storage part input condition example 1) of the input condition of a n_index new SSID password storage part (n = 1-5). As shown in FIG. 12, index = 3 is stored in the used index storage unit 26 of the mobile router 200. In the Wi-Fi initial SSID password storage unit 20, SSID = AAA and password = BBB are stored in the Wi-Fi_No. 1_index new SSID password storage unit 21 includes index = 3, SSID = CCC, password = DDD, Wi-Fi_No. The 2_index new SSID password storage unit 22 stores index = 7, SSID = EEE, and password = FFF. Note that Wi-Fi_No. 3_index new SSID password storage unit 23 to Wi-Fi_No. Nothing is entered in the 5_index new SSID password storage unit 25.

スマートフォン/タブレット300の使用index格納部42には、index=3が格納されている。また、Wi-Fi初期SSID_indexパスワード格納部20にはSSID=AAA、パスワード=BBBが、Wi-Fi_No.1_index新SSIDパスワード格納部44には、index=3、SSID=CCC、パスワード=DDD、Wi-Fi_No.2_index新SSIDパスワード格納部45には、index=5、SSID=GGG、パスワード=HHHが、Wi-Fi_No.3_index新SSIDパスワード格納部46には、index=7、SSID=EEE、パスワード=FFFが、それぞれ格納されている。なお、Wi-Fi_No.4〜5_index新SSIDパスワード格納部47〜48には、何も入力されていない。   The use index storage unit 42 of the smartphone / tablet 300 stores index = 3. The Wi-Fi initial SSID_index password storage unit 20 includes SSID = AAA, password = BBB, and Wi-Fi_No. 1_index new SSID password storage unit 44 includes index = 3, SSID = CCC, password = DDD, Wi-Fi_No. 2_index new SSID password storage unit 45 includes index = 5, SSID = GGG, password = HHH, Wi-Fi_No. The 3_index new SSID password storage unit 46 stores index = 7, SSID = EEE, and password = FFF. Note that Wi-Fi_No. Nothing is entered in the 4-5_index new SSID password storage units 47-48.

図13は、USB充電器100とモバイルルータ200との間のUSB通信におけるUSB送信データのフォーマットの一例を示す図である。図13に示すように、USB送信データの内容は、index=8、SSID=bctqguxb、パスワード=edfgs458ifgtである。   FIG. 13 is a diagram illustrating an example of a format of USB transmission data in USB communication between the USB charger 100 and the mobile router 200. As shown in FIG. 13, the contents of the USB transmission data are index = 8, SSID = bctqguxb, and password = edfgs458458gt.

図14は、USB充電器100とスマートフォン/タブレット300との間のUSB通信におけるUSB送信テキストファイルのフォーマットの一例を示す図である。図14に示すUSB送信テキストファイルは、テキストファイル生成部3(図2参照)により、図13に示すUSB送信データをテキスト形式のファイルに変換したものである。図14に示すように、USB送信テキストファイルの内容は、上記USB送信データと同じで、index=8、SSID=bctqguxb、パスワード=edfgs458ifgtである。   FIG. 14 is a diagram illustrating an example of a format of a USB transmission text file in USB communication between the USB charger 100 and the smartphone / tablet 300. The USB transmission text file shown in FIG. 14 is obtained by converting the USB transmission data shown in FIG. 13 into a text format file by the text file generation unit 3 (see FIG. 2). As shown in FIG. 14, the content of the USB transmission text file is the same as the USB transmission data, index = 8, SSID = bctqguxb, and password = edfgs458458gt.

図15は、モバイルルータ200及びスマートフォン/タブレット300の使用index格納部、Wi-Fi_初期SSIDパスワード格納部及びWi-Fi_No.n_index新SSIDパスワード格納部(n=1〜5)の入力状況の一例(格納部入力状況例2)を示す図である。具体的には、図12に示した格納部入力状況例2から、モバイルルータ200が図12に示すUSB送信データを、スマートフォン/タブレット300が図14に示すUSB送信テキストファイルを、それぞれ受信した後における入力状況を示す。   15 shows a usage index storage unit, a Wi-Fi_initial SSID password storage unit, and a Wi-Fi_No. It is a figure which shows an example (storage part input condition example 2) of the input condition of a n_index new SSID password storage part (n = 1-5). Specifically, from the storage unit input situation example 2 shown in FIG. 12, after the mobile router 200 receives the USB transmission data shown in FIG. 12, and the smartphone / tablet 300 receives the USB transmission text file shown in FIG. Indicates the input status at.

図15に示すように、モバイルルータ200の使用index格納部26には、index=3が格納されている。USB送信データ(図13参照)のindex(=8)は使用index格納部26に格納されたindex(=3)より大きい。また、Wi-Fi_No.1_index新SSIDパスワード格納部21、Wi-Fi_No.2_index新SSIDパスワード格納部22には既に入力がされており、Wi-Fi_No.3_index新SSIDパスワード格納部23〜Wi-Fi_No.5_index新SSIDパスワード格納部25には何も入力されていない。従って、充電器100より送信されたUSB送信データのindex、SSID及びパスワードを、モバイルルータ200のWi-Fi_No.n_index新SSIDパスワード格納部(n=1〜5)の中で何も入力されていないもの(n=3〜5)のうち、nの値が最も小さいもの(n=3)に格納する。これにより、Wi-Fi_No.3_index新SSIDパスワード格納部23には、index=8、SSID=bctqguxb、パスワード=edfgs458ifgtが格納される。   As shown in FIG. 15, index = 3 is stored in the used index storage unit 26 of the mobile router 200. The index (= 8) of the USB transmission data (see FIG. 13) is larger than the index (= 3) stored in the used index storage unit 26. In addition, Wi-Fi_No. 1_index new SSID password storage unit 21, Wi-Fi_No. 2_index New SSID password storage unit 22 has already been input, and Wi-Fi_No. 3_index new SSID password storage unit 23 to Wi-Fi_No. Nothing is entered in the 5_index new SSID password storage unit 25. Accordingly, the index, SSID and password of the USB transmission data transmitted from the charger 100 are used as the Wi-Fi_No. Of n_index new SSID password storage units (n = 1 to 5), nothing is input (n = 3 to 5), and the n is stored in the smallest value (n = 3). As a result, Wi-Fi_No. The 3_index new SSID password storage unit 23 stores index = 8, SSID = bctqguxb, and password = edfgs458458gt.

スマートフォン/タブレット300の使用index格納部42には、index=3が格納されている。USB送信テキストファイル(図14参照)のindex(=8)は使用index格納部42に格納されたindex(=3)より大きい。また、Wi-Fi_No.1_index新SSIDパスワード格納部44〜Wi-Fi_No.3_index新SSIDパスワード格納部46には既に入力がされており、Wi-Fi_No.4_index新SSIDパスワード格納部47、Wi-Fi_No.5_index新SSIDパスワード格納部48には何も入力されていない。従って、充電器100より送信されたUSB送信テキストファイルのindex、SSID及びパスワードを、スマートフォン/タブレット300のWi-Fi_No.n_index新SSIDパスワード格納部(n=1〜5)の中で何も入力されていないもの(n=4、5)のうち、nの値が最も小さいもの(n=4)に格納する。これにより、Wi-Fi_No.4_index新SSIDパスワード格納部47には、index=8、SSID=bctqguxb、パスワード=edfgs458ifgtが、それぞれ格納される。   The use index storage unit 42 of the smartphone / tablet 300 stores index = 3. The index (= 8) of the USB transmission text file (see FIG. 14) is larger than the index (= 3) stored in the used index storage unit 42. In addition, Wi-Fi_No. 1_index new SSID password storage unit 44 to Wi-Fi_No. 3_index new SSID password storage unit 46 has already been input, and Wi-Fi_No. 4_index new SSID password storage 47, Wi-Fi_No. Nothing is entered in the 5_index new SSID password storage unit 48. Therefore, the index, SSID, and password of the USB transmission text file transmitted from the charger 100 are used as the Wi-Fi_No. The n_index new SSID password storage unit (n = 1 to 5) stores nothing (n = 4, 5) in which nothing is entered (n = 4). As a result, Wi-Fi_No. In the 4_index new SSID password storage unit 47, index = 8, SSID = bctqguxb, and password = edfgs458458 are stored.

以上より、ユーザは、意図的にSSID及びパスワードを変更することなく、日常的な充電作業により定期的にSSID及びパスワードを変更することができる。また、充電器100とモバイルルータ200との間、及び充電器100とスマートフォン/タブレット300との間におけるSSID及びパスワードのやりとりは有線通信のみで行うため、SSID及びパスワードの変更の際に第三者にSSID及びパスワードを傍受され難い。これにより、ユーザの負担なくセキュリティー性の高い、Wi-Fi通信のSSID及びパスワード変更システムを提供できる。   As described above, the user can periodically change the SSID and password by daily charging work without intentionally changing the SSID and password. In addition, since the exchange of the SSID and password between the charger 100 and the mobile router 200 and between the charger 100 and the smartphone / tablet 300 is performed only by wired communication, a third party is required when changing the SSID and password. It is difficult to intercept SSID and password. Accordingly, it is possible to provide a Wi-Fi communication SSID and password change system with high security without burden on the user.

上述の実施の形態では、本発明をハードウェアの構成として説明したが、本発明は、これに限定されるものではない。本発明は、各処理を、CPU(Central Processing Unit)にコンピュータプログラムを実行させることにより実現することも可能である。   In the above-described embodiments, the present invention has been described as a hardware configuration, but the present invention is not limited to this. The present invention can also be realized by causing a CPU (Central Processing Unit) to execute a computer program for each process.

上述の例において、プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD−ROM(Read Only Memory)、CD−R、CD−R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(Random Access Memory)を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。   In the above example, the program can be stored and provided to a computer using various types of non-transitory computer readable media. Non-transitory computer readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (for example, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (for example, magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W, semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory), and various types of temporary programs. Computer-readable media may be provided to a computer by way of example, such as electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.

なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。例えば、上記実施の形態では、USB充電器はUSBプラグを複数有する(上記実施の形態では2つ)が、USB充電器のUSBプラグを1つのみとすることもできる。この様にすると、USB充電器の構成を簡略化しコストを低減できる。ただし、モバイルルータとスマートフォン/タブレットとを繋ぎ替える必要がある分、ユーザの負担は増加する。   Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention. For example, in the above embodiment, the USB charger has a plurality of USB plugs (two in the above embodiment), but the USB charger may have only one USB plug. In this way, the configuration of the USB charger can be simplified and the cost can be reduced. However, the burden on the user increases because the mobile router and the smartphone / tablet need to be switched.

また、上記実施の形態では、USB充電器においてUSBプラグを2つ設けているが、3つ以上設けてもよい。この様な構成とすることで、複数のスマートフォン/タブレットに対し同一のSSID及びパスワードを設定することができる。   In the above embodiment, two USB plugs are provided in the USB charger, but three or more USB plugs may be provided. By setting it as such a structure, the same SSID and password can be set with respect to several smart phone / tablet.

本発明と関連して、上記実施の形態にかかるWi-Fi通信のSSID及びパスワード変更システムにおいて、USB充電器をQi規格などによるワイヤレス給電(充電)器に置き換えることも考えられる。このワイヤレス給電器はモバイルルータ及びスマートフォン/タブレットとの通信をNFC/TransferJet/赤外線通信などの近距離無線転送で行うこと以外は上記実施の形態におけるUSB充電器と同じである。この様な構成とすることで、ケーブルを接続する手間を省くことができるので、よりユーザの負担を軽減できる。ただし、USB充電器を用いた構成に対しセキュリティー性は低下する。ワイヤレス給電器とモバイルルータとの間、及びワイヤレス給電器とスマートフォン/タブレットとの間でのSSID及びパスワードのやり取りを極近距離での無線通信に限るようにすれば、SSID及びパスワードを第三者に傍受される危険性を比較的低くすることができる。   In connection with the present invention, in the Wi-Fi communication SSID and password change system according to the above-described embodiment, it is also conceivable to replace the USB charger with a wireless power supply (charger) according to the Qi standard. This wireless power feeder is the same as the USB charger in the above embodiment except that communication with the mobile router and the smartphone / tablet is performed by short-range wireless transfer such as NFC / TransferJet / infrared communication. By adopting such a configuration, it is possible to save the trouble of connecting the cable, so that the burden on the user can be further reduced. However, the security is reduced with respect to the configuration using the USB charger. If the SSID and password exchange between the wireless power feeder and the mobile router and between the wireless power feeder and the smartphone / tablet are limited to wireless communication at a very short distance, the SSID and password are transferred to a third party. The risk of interception is relatively low.

さらに、上記実施の形態にかかるUSB充電器をPLC(Power Line Communication)規格により通信させることで、離れた位置の100V電源に接続された複数のUSB充電器間においてSSID及びパスワードのやり取りをすることが可能になる。   Furthermore, by communicating the USB charger according to the above embodiment according to the PLC (Power Line Communication) standard, the SSID and the password can be exchanged between a plurality of USB chargers connected to a 100 V power source at a remote location. Is possible.

500 SSIDパスワード変更システム
510 携帯通信端末
520 モバイルルータ
530 充電器
531 USB接続端子
532 SSIDパスワード生成部
500 SSID Password Change System 510 Mobile Communication Terminal 520 Mobile Router 530 Battery Charger 531 USB Connection Terminal 532 SSID Password Generation Unit

Claims (10)

Wi-Fi通信に使用するSSID及びパスワードを変更するSSIDパスワード変更システムであって、
USB接続が可能な携帯通信端末と、
前記携帯通信端末とWi-Fi通信しUSB接続が可能なモバイルルータと、
USB接続端子を有しUSB接続された前記携帯通信端末及び前記モバイルルータを充電する充電器と、を備え、
前記充電器は、新たにSSID及びパスワードを生成するSSIDパスワード生成部を有し、
前記充電器が、USB接続された前記携帯通信端末及び前記モバイルルータに新たに生成したSSID及びパスワードをUSB通信によって送信し、前記携帯通信端末及び前記モバイルルータにおいて当該新たに生成したSSID及びパスワードをWi-Fi通信に使用するSSID及びパスワードに設定するSSIDパスワード変更システム。
An SSID password change system for changing an SSID and a password used for Wi-Fi communication,
A portable communication terminal capable of USB connection;
A mobile router capable of USB connection through Wi-Fi communication with the mobile communication terminal;
A battery charger having a USB connection terminal and charging the mobile router and the mobile router connected via USB;
The charger has a SSID password generation unit that newly generates an SSID and a password,
The charger transmits the newly generated SSID and password to the mobile communication terminal and the mobile router connected via USB by USB communication, and the newly generated SSID and password are transmitted to the mobile communication terminal and the mobile router. An SSID password change system that is set to an SSID and password used for Wi-Fi communication.
前記充電器は、前記USB接続端子を複数有する請求項1に記載のSSIDパスワード変更システム。   The SSID password change system according to claim 1, wherein the charger has a plurality of the USB connection terminals. 前記充電器は、USB通信を行うUSB通信回路と、USBのデータラインであるD+とD−とを短絡する短絡回路と、前記USB通信回路と前記短絡回路との切り替えを行う切り替え部と、を有し、
前記切り替え部が、新たにSSID及びパスワードを前記携帯通信端末及び前記モバイルルータに送信した後に前記USB通信回路から前記短絡回路に切り替える請求項1または2のいずれかに記載のSSIDパスワード変更システム。
The charger includes a USB communication circuit that performs USB communication, a short circuit that short-circuits USB data lines D + and D-, and a switching unit that switches between the USB communication circuit and the short circuit. Have
3. The SSID password change system according to claim 1, wherein the switching unit switches the USB communication circuit to the short circuit after newly transmitting an SSID and a password to the mobile communication terminal and the mobile router. 4.
前記SSIDパスワード生成部は、新たに生成したSSID及びパスワードとともに対応するインデックスを生成し、
前記充電器が、USB接続された前記携帯通信端末及び前記モバイルルータに新たに生成したSSID及びパスワードと対応するインデックスとをUSB通信によって送信し、
前記携帯通信端末は、前記充電器から受信したSSID及びパスワードと対応するインデックスとを格納する第1格納部を有し、
前記モバイルルータは、前記充電器から受信したSSID及びパスワードと対応するインデックスとを格納する第2格納部とSSID及びパスワードの切り替えを制御するSSIDパスワード切替制御部とを有し、
前記モバイルルータが、Wi-Fi通信によって前記携帯通信端末に対し前記第1格納部に格納されたインデックスを問い合わせすることにより前記第1格納部に格納されたインデックスと前記第2格納部に格納されたインデックスとで一致するものがあるか照合を行い、
前記モバイルルータに格納されたインデックスと前記携帯通信端末に格納されたインデックスとで一致するものがある場合は、前記SSIDパスワード切替制御部が、一致するインデックスのうちの1つに対応するSSID及びパスワードをWi-Fi通信に使用するSSID及びパスワードに設定するとともに、Wi-Fi通信により、前記携帯通信端末に対し、当該一致するインデックスのうちの1つを通知するとともに、当該一致するインデックスに対応するSSID及びパスワードをWi-Fi通信に使用するSSID及びパスワードに設定するよう指示する請求項1乃至3のいずれか一項に記載のSSIDパスワード変更システム。
The SSID password generation unit generates a corresponding index together with the newly generated SSID and password,
The charger transmits the newly generated SSID and password corresponding to the USB-connected mobile communication terminal and the mobile router via USB communication,
The mobile communication terminal has a first storage unit that stores an SSID received from the charger and an index corresponding to a password,
The mobile router has a second storage unit that stores the SSID and password received from the charger and a corresponding index, and an SSID password switching control unit that controls switching of the SSID and password,
The mobile router makes an inquiry about the index stored in the first storage unit to the mobile communication terminal by Wi-Fi communication, and stores the index stored in the first storage unit and the second storage unit. Check whether there is a match with the index,
If there is a match between the index stored in the mobile router and the index stored in the mobile communication terminal, the SSID password switching control unit, the SSID and password corresponding to one of the matching indexes Is set to the SSID and password used for Wi-Fi communication, and the mobile communication terminal is notified of one of the matching indexes by Wi-Fi communication, and corresponds to the matching index. The SSID password change system according to any one of claims 1 to 3, which instructs to set the SSID and password to the SSID and password used for Wi-Fi communication.
USB接続端子を備え、USB接続が可能な携帯通信端末及び前記携帯通信端末とWi-Fi通信しUSB接続が可能なモバイルルータを充電する充電器であって、
前記携帯通信端末及び前記モバイルルータとのUSB通信の制御を行うUSB通信制御部と、
Wi-Fi通信に使用するSSID及びパスワードを新たに生成するSSIDパスワード生成部と、を備え、
前記携帯通信端末及び前記モバイルルータが前記USB接続端子に接続された際に、前記USB通信制御部が、当該接続された機器に生成したSSID及びパスワードをUSB通信によって送信する充電器。
A battery charger comprising a USB connection terminal, a USB communication terminal capable of USB connection, and a charger for charging a mobile router capable of USB connection through Wi-Fi communication with the mobile communication terminal,
A USB communication control unit for controlling USB communication with the mobile communication terminal and the mobile router;
An SSID password generation unit for newly generating an SSID and a password used for Wi-Fi communication,
Wherein when the mobile communication terminal and the mobile router is connected to the USB connection terminal, a charger the USB communication control unit transmits the connected SSID and password generated in the device by USB communication.
前記USB接続端子を複数備える請求項5に記載の充電器。   The charger according to claim 5, comprising a plurality of the USB connection terminals. USB通信を行うUSB通信回路と、
USBのデータラインであるD+とD−とを短絡する短絡回路と前記USB通信回路と前記短絡回路との切り替えを行う切り替え部と、をさらに有し、
前記切り替え部が、新たにSSID及びパスワードを前記携帯通信端末及び前記モバイルルータに送信した後に前記USB通信回路から前記短絡回路に切り替える請求項5または6のいずれかに記載の充電器。
A USB communication circuit for performing USB communication;
A short circuit that short-circuits D + and D−, which are USB data lines, and a switching unit that switches between the USB communication circuit and the short circuit,
The charger according to claim 5 or 6, wherein the switching unit switches from the USB communication circuit to the short circuit after newly transmitting an SSID and a password to the mobile communication terminal and the mobile router.
USB接続が可能な携帯通信端末と、前記携帯通信端末とWi-Fi通信しUSB接続が可能なモバイルルータと、のSSID及びパスワードの変更に、USB接続端子を有しUSB接続された前記携帯通信端末及び前記モバイルルータを充電するとともに新たなSSID及びパスワードを生成することが可能な充電器を用いるSSIDパスワード変更方法であって、
前記充電器において、新たにSSID及びパスワードを生成するステップと、
前記充電器において、USB接続された前記携帯通信端末及び前記モバイルルータに新たに生成したSSID及びパスワードをUSB通信によって送信するステップと、
前記携帯通信端末及び前記モバイルルータにおいて、当該新たに生成したSSID及びパスワードをWi-Fi通信に使用するSSID及びパスワードに設定するステップと、
を備えるSSIDパスワード変更方法。
The mobile communication having a USB connection terminal and USB connection for changing the SSID and password of a mobile communication terminal capable of USB connection and a mobile router capable of Wi-Fi communication with the mobile communication terminal and capable of USB connection A SSID password changing method using a charger capable of charging a terminal and the mobile router and generating a new SSID and password,
In the charger, generating a new SSID and password;
In the charger, transmitting the newly generated SSID and password to the mobile communication terminal and the mobile router connected via USB by USB communication;
In the mobile communication terminal and the mobile router, setting the newly generated SSID and password to the SSID and password used for Wi-Fi communication;
SSID password changing method comprising:
前記充電器は、USB通信を行うUSB通信回路と、USBのデータラインであるD+とD−とを短絡する短絡回路と、前記USB通信回路と前記短絡回路との切り替えを行う切り替え部をさらに有し、
前記切り替え部が、新たにSSID及びパスワードを前記携帯通信端末及び前記モバイルルータに送信した後に前記USB通信回路から前記短絡回路に切り替えるステップをさらに備える請求項8に記載のSSIDパスワード変更方法。
The charger further includes a USB communication circuit that performs USB communication, a short circuit that short-circuits USB data lines D + and D−, and a switching unit that switches between the USB communication circuit and the short circuit. And
The SSID password changing method according to claim 8, further comprising the step of switching the USB communication circuit to the short circuit after the switching unit newly transmits an SSID and a password to the mobile communication terminal and the mobile router.
SB接続端子を有しUSB接続された携帯通信端末及びモバイルルータを充電するとともに新たなSSID及びパスワードを生成することが可能な充電器の制御プログラムであって、
前記充電器において、新たにSSID及びパスワードを生成するステップと、
前記充電器において、USB接続された前記携帯通信端末及び前記モバイルルータに新たに生成したSSID及びパスワードをUSB通信によって送信するステップと、を前記充電器のコンピュータに実行させる、制御プログラム。

A new SSID and the charger control program capable of generating a password with charging a USB-connected mobile communication terminal及Beauty Mobile router has a U SB connection terminals,
In the charger, generating a new SSID and password;
A control program for causing the computer of the charger to execute the step of transmitting the newly generated SSID and password to the portable communication terminal and the mobile router connected to the USB by USB communication in the charger.

JP2015187693A 2015-09-25 2015-09-25 SSID and password changing system, charger, SSID and password changing method and control program Active JP6443932B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015187693A JP6443932B2 (en) 2015-09-25 2015-09-25 SSID and password changing system, charger, SSID and password changing method and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015187693A JP6443932B2 (en) 2015-09-25 2015-09-25 SSID and password changing system, charger, SSID and password changing method and control program

Publications (2)

Publication Number Publication Date
JP2017062655A JP2017062655A (en) 2017-03-30
JP6443932B2 true JP6443932B2 (en) 2018-12-26

Family

ID=58430136

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015187693A Active JP6443932B2 (en) 2015-09-25 2015-09-25 SSID and password changing system, charger, SSID and password changing method and control program

Country Status (1)

Country Link
JP (1) JP6443932B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6687257B2 (en) * 2018-03-02 2020-04-22 Necプラットフォームズ株式会社 Power supply device, power supply system, power supply device control method, and power supply device control program
JP7290476B2 (en) * 2019-05-30 2023-06-13 京セラ株式会社 Communication terminals, chargers, and programs

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006135874A (en) * 2004-11-09 2006-05-25 Matsushita Electric Ind Co Ltd Communication control information setting system for wireless portable terminal
JP2008021075A (en) * 2006-07-12 2008-01-31 Nippon Telegr & Teleph Corp <Ntt> Authentication system and authentication method in wireless lan, authentication server, and authentication program
JP2012044477A (en) * 2010-08-19 2012-03-01 Eaccess Ltd Communication system and mobile router
JP2014099776A (en) * 2012-11-15 2014-05-29 I-O Data Device Inc Encryption information automatic update system
JP5986026B2 (en) * 2013-03-21 2016-09-06 ルネサスエレクトロニクス株式会社 Host device, host device control method, and semiconductor device

Also Published As

Publication number Publication date
JP2017062655A (en) 2017-03-30

Similar Documents

Publication Publication Date Title
US11569666B2 (en) Quick charging method, power adapter and mobile terminal
CN108429325B (en) Wireless power transmitter and control method thereof
EP2929613B1 (en) Apparatus and methods for utilizing a wireless charger in a wireless docking environment
US9735835B2 (en) Power transfer architecture with charging history
EP2782210B1 (en) Wireless power transmitting unit, wireless power receiving unit, and control methods thereof
WO2016179817A1 (en) Quick charging method, power adapter and mobile terminal
US10326291B2 (en) Quick charging method, power adapter and mobile terminal
US9060288B2 (en) Configuring wireless devices for a wireless infrastructure network
CN108429364B (en) Mobile terminal, charging device and charging method thereof
JP2013162651A (en) Electronic apparatus
EP3206280A1 (en) System and method for wireless charging of devices
CN105652712A (en) Household appliances control system and control method
KR20170123074A (en) Wireless Power Transmitter, Wireless Power Service Server, and Computer Program Capable of Controlling Operation of Wireless Power Transmitter/Receiver
JP6443932B2 (en) SSID and password changing system, charger, SSID and password changing method and control program
CN103402011A (en) Bluetooth device matching method, Bluetooth device and mobile terminal
WO2019023874A1 (en) Battery charging control method, charging device, user terminal device and system
US20160156387A1 (en) Method and system for wireless power and data transmission
KR101884753B1 (en) Application for managing charging circuit and system using the same
CN112119566A (en) Power supply method, device, system and storage medium
CN204408586U (en) A kind of data storage device and bluetooth earphone
CN105634036A (en) Wireless charging authentication system of mobile terminal
JP6851010B2 (en) Charging device, communication system
CN112072804A (en) Wireless charging remote control method and system
KR20190090277A (en) System for processing information
JP2016208160A (en) Information processing apparatus, connection processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170929

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171010

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171226

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180703

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180829

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181122

R150 Certificate of patent or registration of utility model

Ref document number: 6443932

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150