COMMUNICATION DEVICE, CONTROL METHOD, AND PROGRAM

By determining the necessity of a password ID through Beacon or Probe Response frames, the communication device adjusts the input screen, addressing user confusion and improving the convenience of wireless network connections in WPA3 environments.

JP7562354B2Active Publication Date: 2024-10-07CANON KK
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020162161
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-09-28
Publication Date
2024-10-07
Estimated Expiration
2040-09-28

AI Technical Summary

Technical Problem

STA users are unsure whether a password ID is required for connecting to a wireless network due to the ambiguity in the use of new and conventional password authentication methods in WPA3, leading to confusion and inconvenience.

Method used

A communication device determines the necessity of a password ID based on information from Beacon or Probe Response frames, adjusting the input screen accordingly to display or hide the password ID field, ensuring users input the necessary parameters.

Benefits of technology

This approach allows users to easily identify and input the required connection information, enhancing convenience by clarifying the need for a password ID, thus streamlining the wireless network connection process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007562354000002
    Figure 0007562354000002
  • Figure 0007562354000003
    Figure 0007562354000003
  • Figure 0007562354000004
    Figure 0007562354000004
Patent Text Reader

Abstract

To improve convenience by facilitating identification if a different identifier than an SSID and password is required for connecing to a wireless network.SOLUTION: A communication device 103 determines whether to use an identifier different from an SSID and password to connect with a communication device 102 on the basis of any of a Beacon, Probe Response, or SAE Commit received from the communication device 102, does not display a screen for entering the identifier when it is determined that the identifier is not used for connection with the communication device 102, and controls a display unit to show a screen for inputting the identifier when it is determined that the identifier is used for connection with the communication device 102.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to setting connection information for a wireless network. [Background technology]

[0002] In the Wi-Fi Protected Access3 (WPA3) currently being formulated by the Wi-Fi Alliance, a new password authentication method for WLAN connections is being considered. WLAN is an abbreviation for Wireless Local Area Network. In conventional WLAN, to connect to an access point (AP) that creates a wireless network, a station (STA) needs to input the SSID (Service Set Identifier), which is an identifier for the AP, and the corresponding password. In the new password authentication method being considered, in addition to the conventional SSID and password, a password ID (Identifier) ​​linked to the password is used to enable connection to the access point. In this case, the user needs to select the SSID corresponding to the wireless network to which the STA is to be connected, and then input the password ID in addition to the password to connect to the wireless network. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2010-136308 A Summary of the Invention [Problem to be solved by the invention]

[0004] In WPA3, not only the new password authentication using a password and a password ID, but also the conventional password authentication using only a password is available. However, since the user of the STA does not know whether the AP uses the new password authentication method or not, he or she does not know whether a password ID is required to connect to the wireless network or not.

[0005] Patent Document 1 discloses a communication device that displays available encryption and authentication methods according to an input password, but it is not possible to determine from the password whether a password ID is required.

[0006] In view of the above, an object of the present invention is to improve convenience by making it possible to easily identify whether an identifier other than an SSID and a password is required when connecting to a wireless network. [Means for solving the problem]

[0007] In order to achieve the above object, the communication device of the present invention has a determination means for determining whether to use an identifier other than the SSID (Service Set Identifier) ​​of the wireless network and a password of the wireless network when connecting to another communication device that establishes a wireless network, based on any one of a Beacon, a Probe Response, and an SAE Commit received from the other communication device, and a display control means for controlling a display unit to not display a screen for inputting the identifier when the determination means determines that the identifier will not be used when connecting to the other communication device, and to display a screen for inputting the identifier when the determination means determines that the identifier will be used when connecting to the other communication device. Effect of the Invention

[0008] According to the present invention, it becomes possible to easily identify whether an identifier different from an SSID and a password is required when connecting to a wireless network, thereby improving convenience. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a diagram showing a configuration of a network to which a communication device 103 belongs. [Diagram 2] FIG. 1 is a diagram illustrating a functional configuration of a communication device 103. [Diagram 3] FIG. 2 shows a hardware configuration of a communication device 103. [Figure 4] 13 is a flowchart showing a process executed when the communication device 103 displays a screen for inputting information required for connection with the communication device 102. [Diagram 5] 11 is a flowchart showing a process executed when the communication device 103 executes a connection process with the communication device 102. [Figure 6] 13 is another flowchart showing the processing executed when communication device 103 displays a screen for inputting information required for connection with communication device 102 and executes connection processing. [Figure 7] 11 is a sequence diagram showing an example of a process executed when the communication device 103 displays a screen for inputting information required for connection with the communication device 102. FIG. [Figure 8] 13 is a sequence diagram showing another example of the processing executed when the communication device 103 displays a screen for inputting information required for connection with the communication device 102. FIG. [Figure 9] 1 is a diagram showing an example of a graphical user interface displayed by a communication device 103. FIG. [Figure 10] FIG. 13 is a diagram showing another example of a graphical user interface displayed by the communication device 103. [Figure 11] FIG. 13 is a diagram showing another example of a graphical user interface displayed by the communication device 103. [Figure 12] FIG. 13 is a diagram showing another example of a graphical user interface displayed by the communication device 103. [Figure 13] FIG. 13 is a diagram showing another example of a graphical user interface displayed by the communication device 103. [Figure 14]10A and 10B are diagrams illustrating an example of a frame format of a Beacon frame or a Probe Response frame received by the communication device 103. [Figure 15] 1 is a diagram showing an example of a frame format of an RSNE (Robust Security Network Element) with which communication device 103 communicates. [Figure 16] 13 is a diagram showing an example of a frame format of an Extended Capabilities element communicated by a communication device 103. FIG. [Figure 17] 13 is a diagram showing an example of a frame format of a Password Identifier element communicated by a communication device 103. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. Note that the configurations shown in the following embodiments are merely examples, and the present invention is not limited to the illustrated configurations.

[0011] <Embodiment 1> 1 shows the configuration of a network in which a communication device 103 according to this embodiment participates. A communication device 102 is a communication device that operates as an access point (AP) that has a role of constructing a wireless network 101. Also, a communication device 103 is a communication device that operates as a station (STA) that has a role of participating in the wireless network constructed by the AP.

[0012] Each communication device is capable of performing wireless communication in accordance with the IEEE 802.11 series standard established by the Institute of Electrical and Electronics Engineers (IEEE). The IEEE 802.11 series standard refers to at least one of the IEEE 802.11a / b / g / n / ac / ax / be standards.

[0013] Each communication device may be compatible with other communication standards such as Bluetooth (registered trademark), NFC, UWB, Zigbee, MBOA, etc., in addition to the IEEE802.11 series standard. UWB stands for Ultra Wide Band, and MBOA stands for Multi Band OFDM Alliance. OFDM stands for Orthogonal Frequency Division Multiplexing. NFC stands for Near Field Communication. UWB includes wireless USB, wireless 1394, Winet, etc. Also, the communication device may be compatible with a communication standard for wired communication such as wired LAN.

[0014] The communication device 102 and the communication device 103 can execute a wireless communication encryption method and authentication method that conforms to Wi-Fi Protected Access (WPA) 3 established by the Wi-Fi Alliance. In addition to WPA3, each communication device may also support its legacy standards, WPA and WPA2.

[0015] In WPA3, in addition to the conventional method of using an SSID and a password as communication parameters for connecting to an AP, a method of using an SSID, a password, and a password ID (Identifier) ​​as communication parameters can be used. Whether or not a password ID is required for connecting to an AP is determined by the settings on the AP side. In an AP compatible with WPA3, the password ID can be set as required, optional, or not required. For an AP with a password ID set as optional, it is possible to connect with or without using the password ID. Since the user of the STA does not know how the password ID is set on the AP side, he or she does not know whether a password ID is required for connecting to the AP. When attempting to connect to such an AP, for example, if the password ID can always be input on the input screen, the user of the STA may think that the password ID is required even if the password ID is set to optional or not required on the AP side. Alternatively, for example, if the input of the password ID is displayed as optional on the input screen of the communication parameters on the STA side, the user of the STA may think that the password ID is not required even if the password ID is set to required on the AP side. Therefore, the communication device 103 according to this embodiment can display an input screen for appropriate communication parameters based on the settings regarding the password ID on the AP side, thereby enabling the user to easily recognize the communication parameters that need to be input.

[0016] Specific examples of the communication device 102 include, but are not limited to, a wireless LAN router and a PC. The communication device 102 may be any communication device capable of performing wireless communication with other communication devices in accordance with the IEEE802.11ax standard. Specific examples of the communication device 103 include, but are not limited to, a camera, a tablet, a smartphone, a PC, a mobile phone, a video camera, and the like. The communication device 103 may be any communication device capable of performing wireless communication with other communication devices in accordance with the IEEE802.11ax standard. The network in FIG. 1 is a network configured with one AP and one STA, but the number of APs and STAs is not limited to this.

[0017] 2 shows the functional configuration of the communication device 103. The communication device 103 has a wireless LAN control unit 201, a display screen generation unit 202, a user input analysis unit 203, a UI control unit 204, and a storage unit 205. Note that UI is an abbreviation for user interface.

[0018] The wireless LAN control unit 201 includes hardware for transmitting and receiving wireless signals to and from other communication devices, and a program for controlling the hardware. The wireless LAN control unit 201 executes control of wireless communication in accordance with the IEEE802.11 series standard. Note that, although the communication device 103 has one wireless LAN control unit 201 in FIG. 2, the communication device 103 may have two or more wireless LAN control units.

[0019] The UI control unit 204 is configured to include hardware related to a user interface such as a touch panel or buttons for accepting user operations on the communication device 103, and a program for operating them. The UI control unit 204's program sends the contents of an input from the user obtained from an input unit 304 shown in Fig. 3 to a user input analysis unit 203 described below. In addition, the UI control unit 204 sends an image generated by a display screen generation unit 202 described below to an output unit 305 shown in Fig. 3. The UI control unit 204 also has a function for presenting information such as audio output to the user.

[0020] A user input analysis unit 203 receives information obtained by the UI control unit 204 and analyzes the contents of instructions given by the user. Specifically, the user input analysis unit 203 analyzes information related to the control executed by the wireless LAN control unit 201 and information related to the screen generated by the display screen generation unit 202. The information related to the display screen is transmitted to the display screen generation unit 202.

[0021] The display screen generation unit 202 generates contents to be displayed as a UI from information received from the user input generation unit 203 and information in the storage unit 205, and sends the contents to the UI control unit 204. The screen generated by the display screen generation unit 202 can change depending on the user input or the passage of time.

[0022] The storage unit 205 is configured to include programs that control the programs operated by the communication device 103 and the ROM and RAM that store data.

[0023] 3 shows a hardware configuration of the communication device 103 according to the present embodiment. The communication device 103 includes a storage unit 301, a control unit 302, a function unit 303, an input unit 304, an output unit 305, a communication unit 306, and an antenna 307.

[0024] The storage unit 301 is composed of one or more memories such as a ROM and a RAM, and stores various information such as computer programs for performing various operations described below and communication parameters for wireless communication. ROM stands for Read Only Memory, and RAM stands for Random Access Memory. As the storage unit 201, in addition to memories such as ROM and RAM, storage media such as flexible disks, hard disks, optical disks, magneto-optical disks, CD-ROMs, CD-Rs, magnetic tapes, non-volatile memory cards, and DVDs may be used. Furthermore, the storage unit 301 may include multiple memories.

[0025] The control unit 302 is configured with one or more processors such as a CPU or MPU, and controls the entire AP 102 by executing a computer program stored in the storage unit 301. The control unit 302 may control the entire communication device 103 in cooperation with the computer program stored in the storage unit 301 and an OS (Operating System). The control unit 302 also generates data and signals (radio frames) to be transmitted in communication with other communication devices. The CPU stands for Central Processing Unit, and the MPU stands for Micro Processing Unit. The control unit 302 may also include multiple processors such as multi-core processors, and the entire communication device 103 may be controlled by the multiple processors.

[0026] Furthermore, the control unit 302 controls the functional unit 303 to execute predetermined processes such as wireless communication, imaging, printing, projection, etc. The functional unit 303 is hardware that enables the communication device 103 to execute predetermined processes.

[0027] The input unit 304 receives various operations from the user. The output unit 305 performs various outputs to the user via a display unit such as a monitor screen or a speaker. Here, the output by the output unit 305 may be a display on a display unit such as a monitor screen, a voice output by a speaker, a vibration output, or the like. Note that both the input unit 304 and the output unit 305 may be realized by one module, such as a touch panel. Also, the input unit 304 and the output unit 305 may be integrated with the communication device 103, or may be separate.

[0028] The communication unit 306 controls wireless communication conforming to the IEEE802.11 series standard. The communication unit 306 may also control wired communication such as a wired LAN. The communication unit 306 controls the antenna 307 to transmit and receive signals for wireless communication generated by the control unit 302. The communication device 103 may have a plurality of communication units 306. If the communication device 103 supports the NFC standard, Bluetooth standard, and the like in addition to the IEEE802.11 series standard, it may control wireless communication conforming to these communication standards. If the communication device 103 can perform wireless communication conforming to a plurality of communication standards, it may have a configuration having a communication unit and an antenna corresponding to each communication standard separately. The communication device 103 communicates data such as image data, document data, and video data with the communication device 102 via the communication unit 306. The antenna 307 may be configured as a separate unit from the communication unit 306, or may be configured as a single module together with the communication unit 306.

[0029] The antenna 307 is an antenna capable of communication in compliance with the IEEE802.11 series standard. In this embodiment, the communication device 103 has one antenna, but may have a different antenna for each frequency band. In addition, when the communication device 103 has a plurality of antennas, it may have a communication unit 306 corresponding to each antenna.

[0030] The communication device 102 has the same hardware configuration as the communication device 103 .

[0031] 4 shows a sequence diagram of the process executed when the communication device 103 displays a screen for inputting information required for connecting to the communication device 102. The communication device 103 starts the process of this sequence when the user instructs the communication device 103 to search for an AP to connect to. Alternatively, the communication device 103 may start the process of this sequence at predetermined time intervals, or may start the process of this sequence in response to the start of a predetermined application.

[0032] The communication device 103 executes a scan to search for an AP (S401). There are two types of scanning methods. The first is a passive scan in which the communication device 103 waits for a Beacon frame or a Probe Response frame transmitted from an AP. In this case, the communication device 103 does not transmit a signal, so that the scan can be executed with less power than the other scan methods described below. In addition, this method is used for scanning in a frequency band in which the communication device 103 cannot transmit a search signal, such as a DFS (Dynamic Frequency Selection) channel. When the communication device 103 receives a Beacon frame or a Probe Response frame, it displays the AP that is the sender of the received frame as the detected AP as the scan result in S402 described below.

[0033] The second is an active scan in which the communication device 103 transmits a Probe Request frame and waits for a Probe Response frame, which is a response from the AP. With this method, even if the AP is operating as a stealth SSID that transmits Beacon frames without including information about the AP itself, the AP in question can be detected. When the communication device 103 receives the Probe Response frame, it displays the transmitting AP as the detected AP as the scan result in S402, which will be described later. Note that even when an active scan is being performed, the transmitting AP can be detected when a Beacon frame is received.

[0034] The communication device 103 may perform scanning using only one of the methods, or may perform scanning using both methods. Also, the communication device 103 executes scanning until a predetermined time has elapsed since the start of this sequence. Alternatively, the communication device 103 may continue scanning until a predetermined number of APs are detected, or until a user instructs the end of scanning.

[0035] After executing the scan, the communication device 103 displays the results on the display unit (S402). An example of the screen displayed by the communication device 103 at this time is shown in Fig. 9(a). The communication device 103 displays a list of the SSIDs of the APs detected in S401. Note that the output of the scan results is not limited to this, and may be output as audio or by printing, etc.

[0036] Next, the communication device 103 determines whether the user has selected an AP (communication device 102) from the scan results (S403). Specifically, the communication device 103 determines whether the user has selected the SSID of the desired AP from the list of scan results displayed in S402. The user's selection may be made by touching the touch screen or by voice input. The communication device 103 may display the SSID of the AP selected by the user in a frame or change the background color around the SSID.

[0037] The communication device 103 determines whether the AP selected by the user supports WPA3 (S404). Specifically, the communication device 103 makes the determination based on information included in a Beacon frame or a Probe Response frame received from the AP selected by the user.

[0038] Fig. 14 shows an example of a frame format of a Beacon frame or a Probe Response frame received by the communication device 103. The frame format shown in Fig. 14 includes a Frame Control field 1401, a Duration field 1402, an A1 field 1403, and an A2 field 1404. The frame format shown in Fig. 14 further includes a Frame Body field 1405 and a Frame Check Sequence (FCS) field 1406. The Frame Body field 1405 also includes a Robust Security Network Element (RSNE) subfield 1407 and an Extended Capabilities element (ECE) subfield 1408. The communication device 103 generates and transmits the frames in order from the Frame Control field 1401, which is the leftmost field of the frame format shown in Fig. 14. At least one of the fields and subfields shown in Fig. 14 may be omitted.

[0039] The determination in S404 in Fig. 4 is made based on the information included in the RSNE subfield 1406. An example of the frame format of the RSNE subfield is shown in Fig. 15. The RSNE subfield includes information indicating the communication encryption method and group key encryption method, the type of security, etc. used by the communication device that transmits this subfield.

[0040] The RSNE subfield includes an Element ID field 1501, a Length field 1502, a Version field 1503, and a Group Data Cipher Suite field 1504. The RSNE subfield further includes a Pairwise Cipher Suite Count field 1505, and a Pairwise Cipher Suite List field 1506. The RSNE subfield additionally includes an AKM Suite Count field 1507 and an AKM Suite List field 1508. A communication device that transmits the RSNE subfield generates and transmits the fields in order from the Element ID field 1501 at the left end of the frame format shown in Fig. 15. At least one of the fields shown in Fig. 15 may be omitted.

[0041] An Element ID field 1501 contains the value 48, which indicates that this subfield is an RSNE subfield.

[0042] Table 1 shows combinations of values ​​(Suite type) included in the AKM Suite List field 1508, types of authentication methods indicated by the values, and hash functions. Note that the correspondence between the values, types of authentication methods, and hash functions shown in Table 1 is an example, and is not limited to this.

[0043] [Table 1]

[0044] When the AKM Suite List field 1508 includes Suite Type=8 or 9, the RSNE subfield indicates that the transmitting device supports WPA3. Therefore, when the AKM Suite List field 1508 received from the selected AP includes a value of 8 or 9, the communication device 103 determines Yes in S404 of FIG. 4, and when a different value is included, the communication device 103 determines No.

[0045] Note that the Suite Type indicating compatibility with WPA3 is not limited to 8 or 9, and for example, the value 21, which is reserved in Table 1, may indicate compatibility with WPA3. In this case, for example, Suite Type=21 may correspond to SAE authentication type and SHA-384 hash function. In such a case, the communication device 103 determines Yes in S404 of FIG. 4 even when Suite Type=21.

[0046] In this embodiment, in S404, it is determined whether the selected AP supports WPA3, but in addition to this, or instead, it may be determined whether it supports a standard (such as WPA4) formulated by the Wi-Fi Alliance after WPA3. In this case, if the Suite Type is 21 or a number after, it is determined that it complies with a standard such as WPA4 formulated by the Wi-Fi Alliance after WPA3.

[0047] When the communication device 103 judges No in S404 of FIG. 4, it displays a screen for inputting a password on the display unit (S411). When the selected AP does not support WPA3, the AP does not use a password ID as a communication parameter, so the communication device 103 displays an input screen for inputting only a password, without inputting a password ID, as information required for connection. An example of an input screen displayed by the communication device 103 in this case is shown in FIG. 9(b). The UI shown in FIG. 9(b) does not have an input field for the password ID, and only the input field for the password is displayed as an input field. Note that this is not limited to this, and the communication device 103 may display the input field for the password ID in a grayed-out state. Alternatively, the communication device 103 may display an input field for the password ID, but when the user inputs something into the input field for the password ID, an error may be notified to prevent the user from inputting something.

[0048] On the other hand, if the communication device 103 judges Yes in S404 in Fig. 4, it judges whether the Beacon frame or the Probe Response frame received from the selected AP includes the ECE subfield 1408 (S406). If the corresponding subfield is included, the communication device 103 judges Yes in this step and performs the process of S407. On the other hand, if the corresponding subfield is not included, the communication device 103 judges No in this step and performs the process of S413.

[0049] If the answer is Yes in S406, the communication device 103 checks various information included in the ECE subfield. An example of a frame format of the ECE subfield is shown in Fig. 16. This subfield includes an Element ID field 1601, a Length field 1602, and an Extended Capabilities field 1603.

[0050] An Element ID field 1601 includes a value of 127 indicating that this subfield is an ECE subfield. An Extended Capabilities field 1603 includes an SAE Password Identifiers In Use subfield 1604. Furthermore, the Extended Capabilities field 1603 includes an SAE Password Identifiers Used Exclusively subfield 1606. A transmitting device for an ECE subfield generates and transmits the fields in order from the Element ID field 1601 at the left end of the frame format shown in FIG. 16. At least one of the fields and subfields shown in FIG. 16 may be omitted.

[0051] If the result of S406 in FIG. 4 is Yes, the communication device 103 determines whether the received ECE subfield includes the SAE Password Identifiers In Use subfield 1604 shown in FIG. 16 (S407). Whether the SAE Password Identifiers In Use subfield 1604 is included can be determined based on the length of the ECE subfield. If the ECE subfield is equal to or longer than a predetermined length, the communication device 103 determines that the SAE Password Identifiers In Use subfield 1604 is included. On the other hand, if the length of the ECE subfield is less than the predetermined length, the communication device 103 determines that the SAE Password Identifiers In Use subfield 1604 is not included. If the ECE subfield includes the corresponding subfield, the communication device 103 determines that the result is Yes and performs the process of S408. On the other hand, if the ECE subfield does not include the corresponding subfield, the communication device 103 determines that the result is No and performs the process of S413.

[0052] The communication device 103 determines whether the SAE Password Identifiers In Use subfield 1604 indicates On (S408). The SAE Password Identifiers In Use subfield 1604 includes information indicating whether the transmitting device of the subfield uses a password ID. Specifically, it indicates whether one or more passwords among the passwords used by the transmitting device use a password ID. When one or more passwords are passwords that use a password ID, the value of this subfield is 1. On the other hand, when the transmitting device does not set a password ID for a password used when accessing the network, the value of this subfield is 0. Also, when the password itself used when accessing the network is not set by the transmitting device, the value of this subfield is 0. Also, when the transmitting device does not set a password ID for any password, the value of this subfield is 0. When the SAE Password Identifiers In Use subfield 1604 includes a value of 1, the communication device 103 determines Yes in this step and performs processing of S409. On the other hand, if the SAE Password Identifiers In Use subfield 1604 contains a value of 0, the communication interface t103 judges No in this step and performs the process of S411.

[0053] Next, the communication device 103 determines whether the received ECE subfield includes the SAE Password Identifiers Used Exclusively subfield 1606 shown in Fig. 16 (S409). If the ECE subfield includes the corresponding subfield, the communication device 103 determines Yes and performs processing of S410. On the other hand, if the ECE subfield does not include the corresponding subfield, the communication device 103 determines No and performs processing of S413.

[0054] Next, the communication device 103 determines whether the SAE Password Identifiers Used Exclusively subfield 1606 is On (S410). The SAE Password Identifiers Used Exclusively subfield 1606 includes information indicating whether all passwords set by the transmitting device in the subfield use a password ID. If all passwords set by the transmitting device use a password ID, the value included in this subfield is 1. In other cases, that is, if at least one password does not use a password ID, the value included in this subfield is 0. If the value included in the SAE Password Identifiers Used Exclusively subfield 1606 is 1, the communication device 103 determines Yes in this step and performs processing of S412. On the other hand, if the value included in the SAE Password Identifiers Used Exclusively subfield 1606 is 0, the communication device 103 determines No in this step and performs processing of S413.

[0055] The communication device 103 displays an input screen on the display unit where both the password and the password ID can be input (S412). In this case, an example of the screen displayed by the communication device 103 is shown in (b) of FIG. 10. Note that (a) of FIG. 10 is the same as (a) of FIG. 9. In the UI shown in (b) of FIG. 10, both an input field for the password ID and an input field for the password are displayed as input fields. By looking at the UI in which the input field for the password ID is displayed, the user can easily recognize that not only the password but also the password ID is required to connect to the selected AP. Note that the communication device 103 can gray out the "connect" button on this screen until the user inputs both the password and the password ID, and switch to display the "connect" button so that it can be pressed when both are input. This allows the user to more clearly recognize that the password ID is required to connect to the selected AP.

[0056] If the results of S406, S407, S409, and S410 are determined to be No, the communication device 103 transmits an SAE Commit in which an obviously incorrect password is set to the AP selected by the user (S413). An obviously incorrect password is, for example, a password whose password length is 0. The communication device 103 does not set a password ID in the SAE Commit transmitted in this step.

[0057] Alternatively, if the determinations in S406, S407, S409, and S410 are No, the communication device 103 may perform the process of S411.

[0058] Next, the communication device 103 receives an SAE Commit from the selected AP as a response to the transmitted SAE Commit (S414).

[0059] The communication device 103 determines whether the Status Code included in the received SAE Commit indicates Success (S415). If the Status Code indicates Success, the communication device 103 determines Yes in this step and performs processing of S416. On the other hand, if the Status Code is not Success, the communication device 103 determines No in this step and performs processing of S417. Note that the Status Code is not Success when, for example, the Status Code is UNKNOWN PASSWORD IDENTIFIER, REFUSED, or REFUSED_REASON_UNSPECIFIED.

[0060] If the communication apparatus 103 does not receive an SAE Commit from the other apparatus within a predetermined time period after transmitting the SAE Commit in S413, the communication apparatus 103 skips S414 and S415 and performs the process of S417.

[0061] If the communication device 103 judges Yes in S415, it displays a screen as an input screen for prompting the user to input a password and also prompting the user to input a password ID as an option (S416). If the communication device 103 judges Yes in S415, that is, if the Status Code is Success, it is indicated that the passwords set by the selected AP include those that do not require a password ID. However, there is a possibility that some passwords may include those for which a password ID is set. Therefore, the communication device 103 displays a screen on the display unit that displays a password ID that can be input as an option. An example of a screen displayed by the communication device 103 in this case is shown in (b) of FIG. 11. Note that (a) of FIG. 11 is the same as (a) of FIG. 9. As shown in (b) of FIG. 11, the communication device 103 displays the option of "Enter password ID" to allow the user to easily recognize that input of a password ID is not mandatory but is optional.

[0062] Fig. 12 shows an example of a screen displayed by the communication device 103 when the option "Enter password ID" is selected in Fig. 11(b). As shown in Fig. 12, this screen displays a password ID input field and a password input field. Note that the communication device 103 may gray out the "Connect" button on this screen until the user inputs both the password and password ID, and may switch to displaying the "Connect" button as pressable once both have been input.

[0063] Alternatively, the communication device 103 may display a screen as shown in (b) of Fig. 13 in S416. (a) of Fig. 13 is similar to (a) of Fig. 9. (b) of Fig. 13 displays, in addition to a password input field, an option of "Advanced Options" for transitioning to a screen for configuring settings related to connection with the selected AP. The user can input a password ID on the screen transitioned to by selecting "Advanced Options". Also, on the transition screen, in addition to the password ID, an encryption method, a frequency band to be used, and the like may be set.

[0064] If the result of S415 is No, the communication device 103 displays an input screen on the display unit that allows the user to input both the password and the password ID (S417). The process of this step is the same as that of S412.

[0065] The communication device 103 may execute the process of S416 instead of S413. That is, the communication device 103 may display a password entry screen instead of sending an SAE Commit, and may display the password ID as being optionally enterable. Alternatively, the communication device 103 may execute the process of S411 instead of S416. That is, the communication device 103 may display an entry screen for only entering a password instead of sending an SAE Commit.

[0066] As described above and shown in Fig. 4, the communication device 103, which is an STA, determines whether a password ID is required to connect to a selected AP based on information contained in a Beacon frame or a Probe Response frame received from the selected AP. Then, the communication device 103 displays an appropriate input screen based on the determination result, so that the user can easily recognize whether a password ID is required to connect to the selected AP. This allows the user of the STA to easily set the necessary communication parameters when connecting to the selected AP.

[0067] 5 shows a flowchart of the process executed when the communication device 103 executes a connection process with the communication device 102. The trigger for starting the process in FIG. 5 is the same as in FIG.

[0068] The communication device 103 performs the process shown in the flowchart of Fig. 4, and selects a screen to display based on a Beacon frame or a Probe Response frame received from an AP (communication device 102) to which it is attempting to connect. S520 to S524 in Fig. 5 correspond to the process in the flowchart of Fig. 4. In particular, S522 corresponds to S411 in Fig. 4, S523 corresponds to S412 and S417 in Fig. 4, and S524 corresponds to S416 in Fig. 4.

[0069] When the communication device 103 displays an input screen on the display unit that does not have a password ID input field but has a password input field, it determines whether the user has input a password (S501). This determination is made based on whether the user has input one or more letters, numbers, or symbols in the password input field. Alternatively, it may be made based on whether at least one of letters, numbers, or symbols that is equal to or greater than the number of characters set by default in the communication device 103 has been input. If the user has not input a password, the communication device 103 determines No in this step and performs the process of S501 again. On the other hand, if the user has input a password, the communication device 103 determines Yes in this step and performs the process of S505.

[0070] When the communication device 103 displays an input screen having an input field for a password ID and an input field for a password on the display unit, it determines whether the user has input a password (S502). The process of this step is performed in the same manner as in S501. If the result of this step is No, the communication device 103 performs the process of S502 again. If the result of this step is Yes, the communication device 103 performs the process of S503.

[0071] The communication device 103 determines whether the user has entered a password ID (S503). The determination in this step is the same as in the case of the password shown in S501. If the determination in this step is No, the communication device 103 performs the process of S503 again. If the determination in this step is Yes, the communication device 103 performs the process of S505. Note that the order of the processes of S502 and S503 may be reversed.

[0072] When the communication device 103 displays an input screen that allows input of a password ID as an option and has a password input field, the communication device 103 determines whether the user has input a password (S504). The process of this step is the same as S501. If the result of this step is No, the communication device 103 performs the process of S504 again. If the result of this step is Yes, the communication device 103 performs the process of S505.

[0073] The communication device 103 switches the "connect" button displayed on the display unit to a pressable state (S505). The communication device 103 displays the "connect" button in a state where it cannot be pressed until the user inputs information necessary for connecting to the AP, and switches the button to a pressable state after the information has been input, thereby preventing the user from attempting to connect before the required information has been input. Note that the communication device 103 omits this step when displaying the "connect" button in a pressable state regardless of the input state of information necessary for connection.

[0074] The communication device 103 determines whether the "Cancel" button displayed on the display unit has been pressed (S506). The "Cancel" button is a button for canceling the connection to the AP, and is a button displayed on the input screen displayed in S522 to S524. If the "Cancel" button has been pressed, the communication device 103 determines "Yes" in this step and performs the process of S520. Alternatively, if the determination is "Yes" in this step, the communication device 103 may return to S402 in FIG. 4, or may end the process of this flowchart. If the "Cancel" button has not been pressed, the communication device 103 determines "No" in this step and performs the process of S507. The communication device 103 may perform the determination of S506 in parallel with the processes of S520 to S524 and S501 to S505.

[0075] The communication device 103 determines whether the "connect" button has been pressed (S507). If the "connect" button has been pressed by the user, the communication device 103 determines "Yes" in this step and performs processing of S508. On the other hand, if the "connect" button has not been pressed, the communication device 103 determines "No" in this step and performs processing of S506.

[0076] Next, the communication device 103 determines whether the AP to be connected supports WPA3 (S508). The determination in this step is the same as S404 in Fig. 4. Alternatively, the communication device 103 may perform the determination in this step by referring to the determination result in S404 in Fig. 4. If the determination in this step is Yes, the communication device 103 performs the process of S511. If the determination in this step is No, the communication device 103 performs the process of S509.

[0077] The communication device 103 transmits an Authentication Request to the AP (S509). Next, the communication device 103 receives an Authentication Response from the AP (S510). If the communication device 103 does not receive an Authentication Response within a predetermined time after performing the process of S509, the communication device 103 may notify an error and end the process of this flow. Alternatively, the communication device 103 may notify an error and display the screen displayed when attempting to connect to the AP that transmitted the Authentication Request in S509 among S522 to S524. After performing the process of S510, the communication device 103 performs the process of S515.

[0078] If the AP supports WPA3, the communication device 103 transmits an SAE Commit to the AP (S511). If a password ID is entered on the input screen displayed in S523 or S524, the SAE Commit transmitted in this step contains, as information, the value of the password ID itself or a value calculated based on the password ID.

[0079] An example of the frame format of a Password Identifier element including a password ID or its hash value is shown in Fig. 17. The SAE Commit has the same frame format as in Fig. 14, and the element in Fig. 17 is included in Frame Body field 1405. The Password Identifier element includes an Element ID field 1701, a Length field 1702, an Element ID Extension field 1703, and an Identifier field 1704. The communication device 103 generates and transmits the fields in order from the Element ID field 1701 at the left end of the frame format shown in Fig. 17. At least one field of the frame format shown in Fig. 17 may be omitted.

[0080] An Element ID field 1701 contains the value 255 as information indicating that it is a Password Identifier element. An Identifier field 1704 contains the raw value of the password ID entered via the input screen, or a hash value calculated based on the entered password ID, or a decryptable encrypted value.

[0081] Next, the communication device 103 receives an SAE Commit from the AP (S512). The SAE Commit is a type of authentication frame. If the communication device 103 does not receive an SAE Commit within a predetermined time period after performing the process of S511, the communication device 103 may notify an error and end the process of this flow. Alternatively, the communication device 103 may notify an error and display the screen that was displayed when attempting to connect to the AP that transmitted the SAE Commit in S511 among the steps S522 to S524.

[0082] The communication device 103 transmits an SAE Confirm to the AP (S513). Next, the communication device 103 receives an SAE Confirm from the AP (S514). The SAE Confirm is a type of authentication frame. If the communication device 103 does not receive an SAE Confirm within a predetermined time after performing the process of S513, the communication device 103 may notify an error and end the process of this flow. Alternatively, the communication device 103 may notify an error and display the screen displayed when attempting to connect to the AP that transmitted the SAE Confirm in S513 among the steps S522 to S524. After performing the process of S514, the communication device 103 performs the process of S515.

[0083] The communication device 103 transmits an Association Request to the AP (S515). The communication device 103 receives an Association Response from the AP (S516). If the communication device 103 does not receive an Association Response before a predetermined time has elapsed since performing the process of S515, the communication device 103 may notify an error and end the process of this flow. Alternatively, the communication device 103 may notify an error and display the screen that was displayed when attempting to connect to the AP that transmitted the Association Request in S515 among the steps S522 to S524.

[0084] Next, the communication device 103 performs a 4-way handshake with the AP based on the PMK (Pairwise Master Key) generated in the previous processing with the AP (S517). By performing the processing of this step, a connection between the communication device 103 and the AP (communication device 102) is established, and encrypted communication is started.

[0085] By performing the above-described processing shown in FIG. 5, a connection between the communication device 102 and the communication device 103 is established.

[0086] FIG. 7 shows a sequence relating to the display screen of the communication device 103 when the process of S413 in FIG. 4 is performed in this embodiment.

[0087] First, the communication device 103 displays the scan result (S701). Specifically, a screen such as that shown in FIG. 10(a) is displayed. Next, the communication device 103 detects that an SSID has been selected by the user (S702). In this sequence, it is assumed that the result of the process in FIG. 4 is determined to be No in any of the processes of S406, S407, S409, and S410. The communication device 103 transmits an SAE Commit with a password of 0 characters to the communication device 102 (S703). In response to this, the communication device 103 transmits an SAE Commit with a Status Code set to the communication device 103 (S704). The communication device 103 checks the Status Code of the received SAE Commit (S705). Here, it is assumed that the Status Code is not Success. The communication device 103 displays an input screen having input fields for a password and a password ID (S706). Specifically, it displays a screen shown in FIG. 10(b).

[0088] As described above, in this embodiment, the communication device 103 displays an input screen for appropriate communication parameters based on information contained in a Beacon frame or a Probe Response frame received from an AP. This allows the user to easily recognize information required for connecting to the selected AP, and in particular, allows the user to easily recognize whether or not input of a password ID is required.

[0089] <Embodiment 2> In the first embodiment, before a user instructs a connection to an AP, it is determined whether a password ID is necessary, and the communication device 103 displays an appropriate communication parameter input screen. In this embodiment, after a user instructs a connection to an AP, it is determined whether a password ID is necessary, and an appropriate screen is displayed. In the second embodiment, only the points different from the first embodiment will be described.

[0090] The configuration of the network in which the communication device 103 participates is the same as that in Fig. 1. The functional configuration and hardware configuration of the communication device 103 are the same as those in Figs. 2 and 3, respectively.

[0091] 6 shows another flowchart illustrating the process executed when communication device 103 displays a screen for inputting information required for connecting to communication device 102 and executes connection processing. The trigger for starting the process in FIG. 6 is the same as in FIG. 4.

[0092] The processes of S601 to S603 in Fig. 6 are the same as those of S401 to S403 in Fig. 4. If the communication device 103 determines Yes in S603, the communication device 103 displays an input screen on which a password can be input (S604). Specifically, the communication device 103 displays a screen as shown in Fig. 9(b). Alternatively, the communication device 103 may display a screen as shown in Fig. 10(b) and gray out the password ID input field so that it cannot be input.

[0093] Next, the communication device 103 determines whether the user has entered a password (S605). If the password has not been entered, the communication device 103 determines No in this step and performs the process of S605 again. On the other hand, if the password has been entered, the communication device 103 determines Yes in this step and performs the process of S606.

[0094] The processes in S606 to S608 are similar to those in S505 to S507 in FIG.

[0095] Next, the communication device 103 determines whether the selected AP supports WPA3 (S609). The determination method in this step is the same as S404 in Fig. 4. If the AP supports WPA3, the communication device 103 determines Yes in this step and performs processing in S612. On the other hand, if the AP does not support WPA3, the communication device 103 determines No in this step and performs processing in S610.

[0096] The processes in S610 to S613 are similar to those in S509 to S512 in FIG.

[0097] The communication device 103 determines whether the Status Code included in the received SAE Commit is Success (S614). If the Status Code is Success, the communication device 103 determines Yes in this step and performs processing of S615. On the other hand, if the Status Code is not Success, the communication device 103 determines No in this step and performs processing of S620.

[0098] Next, the communication device 103 determines whether the Status Code included in the received SAE Commit is UNKNOWN PASSWORD IDENTIFIER (S620). If the Status Code is not UNKNOWN PASSWORD IDENTIFIER, the communication device 103 determines No in this step and ends the processing of this flow. On the other hand, if the Status Code is UNKNOWN PASSWORD IDENTIFIER, the communication device 103 determines Yes in this step and performs the processing of S621.

[0099] If the Status Code is UNKNOWN PASSWORD IDENTIFIER, a password ID is required to connect to the AP, so the communication device 103 displays a password ID input screen (S621). The communication device 103 displays a screen having input fields for both a password and a password ID, as shown in FIG. 12. In this case, the password entered in S605 may be displayed as having been entered. Alternatively, the communication device 103 may display an input screen having only an input field for a password ID.

[0100] The communication device 102 determines whether the cancel button has been pressed by the user (S622). If the cancel button has been pressed, the communication device 103 determines "Yes" in this step and performs the process of S602. On the other hand, if the cancel button has not been pressed, the communication device 103 determines "No" in this step and performs the process of S623.

[0101] The process of S623 is the same as S503 in Fig. 5. If the result of this step is Yes, the communication device 103 performs the process of S612. The SAE Commit sent at this time includes information based on the password ID entered in S623.

[0102] On the other hand, if the result of S614 is No, the communication device 103 performs the process of S615. The processes of S615 to S619 are the same as those of S513 to S517 in FIG.

[0103] 6, the communication device 103 first prompts the user to enter only the password, and then displays a password ID entry screen as necessary. This allows the user to easily recognize when a password ID is required.

[0104] FIG. 8 shows a sequence diagram for carrying out the process of S621 in FIG. 6 in this embodiment.

[0105] First, the communication device 103 displays the scan result (S801). Specifically, the communication device 103 displays a screen such as that shown in FIG. 10(a). Next, the communication device 103 detects that an SSID has been selected by the user (S802). The communication device 103 displays an input screen having a password input field (S803). Specifically, the communication device 103 displays a screen such as that shown in FIG. 9(b). Alternatively, the communication device 103 may display a screen such as that shown in FIG. 10(b) and gray out the password ID input field so that it cannot be input. The communication device 103 accepts a connection instruction from the user (S804). Specifically, the communication device 103 accepts pressing of a "connect" button from the user.

[0106] Next, the communication device 103 transmits an SAE Commit (S805), and receives an SAE Commit from the communication device 102 as a response thereto (S806). The communication device 103 checks the Status Code included in the received SAE Commit (S807). Here, it is assumed that the Status Code is UNKNOWN_PASSWORD_IDENTIFIER. The communication device 103 displays a screen for inputting a password ID (S808). When the password ID is input, the communication device 103 transmits an SAE Commit again to the communication device 102 (S809), and receives an SAE Commit as a response thereto (S810).

[0107] As described above, in this embodiment, if a password ID is required after attempting to connect to an AP, a password ID input screen is displayed.

[0108] The communication device 103 may be a communication device capable of executing only one of the processes of the first embodiment and the second embodiment, or may be a communication device capable of executing both. If both are executable, the communication device 103 can switch between the processes of the first embodiment and the processes of the second embodiment in response to a user instruction. Alternatively, without being limited to this, either one of the processes may be executed depending on the application being executed.

[0109] Unlike the first and second embodiments, the communication device 103 may first have the user input both the password and the password ID, and then attempt to connect to the AP. If the password ID is not required, the connection will fail, and an input screen having only a password input field may then be displayed to the user.

[0110] At least a part or all of the flowcharts of the communication device 103 shown in Figures 4 to 6 may be realized by hardware. When realizing by hardware, for example, a specific compiler may be used to generate a dedicated circuit on an FPGA from a computer program for realizing each step, and this may be used. FPGA is an abbreviation for Field Programmable Gate Array. Also, a gate array circuit may be formed in the same manner as an FPGA, and realized as hardware. Also, it may be realized by an ASIC (Application Specific Integrated Circuit).

[0111] The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions. [Explanation of symbols]

[0112] 101 Network 102 Access Points 103 Station

Claims

1. 1. A communication device, comprising: a determination means for determining whether to use an identifier different from an SSID (Service Set Identifier) ​​of the wireless network and a password of the wireless network for connection with another communication device that establishes a wireless network, based on any one of a beacon, a probe response, and an SAE commit received from the other communication device; a display control means for controlling a display unit so as not to display a screen for inputting the identifier when the determination means determines that the identifier will not be used in connection with the other communication device, and so as to display a screen for inputting the identifier when the determination means determines that the identifier will be used in connection with the other communication device; A communication device comprising:

2. The communication device according to claim 1, characterized in that, when the determination means determines that some of the multiple passwords used by the other communication device use the identifier, the display control means controls the display unit to display a screen for inputting the identifier as an option.

3. The communication device according to claim 1 or 2, characterized in that the display control means controls the display unit to display a screen having an input field for entering the password and no input field for entering the identifier when it is determined that the identifier will not be used to connect to the other communication device, and to display a screen having an input field for entering the password and an input field for entering the identifier when it is determined that the identifier will be used to connect to the other communication device.

4. The communication device according to claim 1 or 2, characterized in that, when it is determined that the identifier will not be used to connect to the other communication device, the display control means controls the display unit to display a screen having an input field for entering the password and in which the input field for entering the identifier is grayed out, and when it is determined that the identifier will be used to connect to the other communication device, the display control means controls the display unit to display a screen having an input field for entering the password and an input field for entering the identifier.

5. The communication device according to any one of claims 1 to 4, characterized in that the determination means determines to use the identifier if information included in a beacon or a probe response indicates that the other communication device will use the identifier, and determines not to use the identifier if information included in the beacon or a probe response does not indicate that the other communication device will use the identifier.

6. 6. The communication device according to claim 5, wherein the determination means makes the determination based on SAE Password Identifiers In Use included in a beacon or a probe response.

7. A receiving means for receiving an input of the password; a transmitting means for transmitting an SAE Commit to the other communication device by using the password accepted by the accepting means; The SAE Commit communication method further includes:

2. The communication device according to claim 1, wherein the determining means determines whether to use the identifier for connection with the other communication device based on a status code included in the response received by the receiving means.

8. 8. The communication device according to claim 7, wherein the determination means determines to use the identifier for connecting to the other communication device based on a Status Code included in the response being UNKNOWN_PASSWORD_IDENTIFIER, and determines not to use the identifier for connecting to the other communication device based on a Status Code included in the response being Success.

9. 9. The communication device according to claim 1, wherein the identifier is a password ID that complies with WPA3 (Wi-Fi Protected Access3).

10. 10. The communication device according to claim 1, wherein the display unit is provided on the communication device.

11. A method for controlling a communication device, comprising: a determination step of determining whether to use an identifier different from an SSID (Service Set Identifier) ​​of the wireless network and a password of the wireless network for connection with another communication device that establishes a wireless network, based on any one of a beacon, a probe response, and an SAE commit received from the other communication device; a display control step of controlling a display unit so as not to display a screen for inputting the identifier when it is determined in the determination step that the identifier will not be used for connecting to the other communication device, and so as to display a screen for inputting the identifier when it is determined in the determination step that the identifier will be used for connecting to the other communication device; A control method comprising the steps of:

12. A program for causing a computer to function as each of the means of the communication device according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Control device for radio communication apparatus

    JP2010136308A

  • Wireless docking / undocking with fine time measurement

    JP2017516380A

  • Communication method and communication device

    JP2019012945A

  • Method and apparatus for setting up wireless LAN of device

    US20090271709A1