WO2023017984A1 - 전자 장치 및 pmk 사용 방법 - Google Patents
전자 장치 및 pmk 사용 방법 Download PDFInfo
- Publication number
- WO2023017984A1 WO2023017984A1 PCT/KR2022/008100 KR2022008100W WO2023017984A1 WO 2023017984 A1 WO2023017984 A1 WO 2023017984A1 KR 2022008100 W KR2022008100 W KR 2022008100W WO 2023017984 A1 WO2023017984 A1 WO 2023017984A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- pmk
- electronic device
- sta
- pmksa
- processor
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
- H04W12/069—Authentication using certificates or pre-shared keys
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W12/041—Key generation or derivation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/60—Context-dependent security
- H04W12/61—Time-dependent
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Definitions
- Various embodiments of the present invention relate to electronic devices and methods of using PMKs.
- Wireless fidelity is a wireless local area network (WLAN) technology that enables access to the Internet in a 2.4 GHz, 5 GHz, or 60 GHz frequency band.
- Wi-Fi protected access is a standards-based security solution from the Wi-Fi Alliance that addresses WLAN vulnerabilities. WPA can provide enhanced data protection and access control for WLAN systems. WPA addresses all known wired equivalent privacy (WEP) vulnerabilities in IEEE 802.11 security implementations and can provide an out-of-the-box security solution for WLANs in both corporate and small office and home office environments.
- WEP wired equivalent privacy
- WPA2 and WPA3 are protocols for exchanging encryption keys between an access point (AP) and a station (STA), and are recommended by the Wi-Fi Alliance.
- WPA3 is the newest Wi-Fi security protocol, which may offer new features to improve the cybersecurity of private networks.
- WPA3 can further improve common Wi-Fi encryption by replacing the WPA2-pre-shared key (PSK) authentication method with simultaneous authentication of equals (SAE).
- PSK WPA2-pre-shared key
- SAE simultaneous authentication of equals
- SAE can be a protocol designed to robustly and securely identify peer devices to each other.
- the STA When a STA first connects to an AP whose security type is set to WPA3-SAE, the STA performs an SAE authentication operation to generate a PMK (pairwise master key), puts the PMK in PMKSA (PMK security association), and stores it. can Subsequently, if the STA has a previously stored PMKSA when reconnecting to the AP and/or roaming, the STA may perform a connection operation after the SAE authentication operation using the PMK stored in the PMKSA without performing the SAE authentication operation.
- the STA may reuse the PMKSA if the PMKSA exists and the lifetime of the PMK stored in the PMKSA is 0 or more. Even if the lifetime of the PMK is several seconds remaining, the STA reuses the corresponding PMKSA, but after several seconds, the corresponding PMKSA expires and cannot be used. Accordingly, a technique capable of using the PMK more efficiently may be required.
- Various embodiments may provide a technique for using a PMK based on user usage information for wireless communication.
- An electronic device includes one or more wireless communication modules configured to transmit and receive wireless signals, one or more processors operatively connected to the wireless communication modules, and electrically connected to the processors and executed by the processors. and a memory for storing possible instructions, and when the instructions are executed by the processor, the processor, when attempting to connect to an access point (AP) through the wireless communication module, creates the AP when connecting to the AP. Confirms the existence of a pairwise master key security association (PMKSA) for, and if the PMKSA exists, the lifetime of the PMK stored in the PMKSA and the margin time that can guarantee the use of the PMK By comparing the PMK, it is possible to determine whether to reuse the PMK.
- PMKSA pairwise master key security association
- An electronic device includes one or more wireless communication modules configured to transmit and receive wireless signals, one or more processors operatively connected to the wireless communication modules, and electrically connected to the processors and executed by the processors.
- a memory for storing possible instructions, and when the instructions are executed by the processor, the processor generates a pairwise master key (PMK) when connected to an access point (AP) through the wireless communication module, and the AP Creates a PMK security association (PMKSA) for, adjusts a default value of the lifetime of the PMK based on user usage information for wireless communication supported by the AP, and adjusts the lifetime value of the PMK. may be stored in the PMKSA.
- PMK pairwise master key
- AP access point
- PMKSA PMK security association
- An operating method of an electronic device includes checking the existence of a pairwise master key security association (PMKSA) for the AP created when the electronic device attempts to connect to an access point (AP). and determining whether to reuse the PMK by comparing the lifetime of the PMK stored in the PMKSA and a margin time at which the use of the PMK can be guaranteed when the PMKSA exists.
- PMKSA pairwise master key security association
- AP access point
- Various embodiments can reduce the frequency of wireless communication disconnection and minimize inconvenience to the user by efficiently using the PMK based on the user's usage information for wireless communication.
- FIG. 1 shows an example of a WLAN system according to various embodiments.
- FIG. 2 shows another example of a WLAN system according to various embodiments.
- FIG. 3 is a diagram for explaining an example of a link setup operation according to various embodiments.
- FIG. 4 is a diagram for explaining another example of a link setup operation according to various embodiments.
- FIG. 5 is a diagram for explaining an example of a method of using a PMK according to various embodiments.
- FIG. 6 is a diagram for explaining another example of a method of using a PMK according to various embodiments.
- FIG. 7 is a diagram for explaining another example of a method of using a PMK according to various embodiments.
- FIG. 8 is a diagram for explaining another example of a method of using a PMK according to various embodiments.
- 9A, 9B, and 9C are diagrams for explaining examples of setting a margin time according to various embodiments.
- FIG. 10 is a diagram for explaining an example of adjusting a default value of a lifetime of a PMK according to various embodiments.
- 11 is a diagram for explaining an example of an operating method of an STA according to various embodiments.
- FIG. 12 is a diagram for explaining another example of a method of operating an STA according to various embodiments.
- FIG. 13 is a block diagram of an electronic device in a network environment, according to various embodiments.
- FIG. 1 shows an example of a WLAN system according to various embodiments.
- a wireless LAN system 10 is configured in an infrastructure mode in which an access point (AP) exists in a structure of an IEEE (institute of electrical and electronic engineers) 802.11 wireless LAN (WLAN). infrastructure mode).
- the WLAN system 10 may include one or more basic service sets (BSSs) (eg, BSS1 and BSS2).
- BSS BSS1, BSS2
- STAs stations
- BSS1 includes a single AP (eg AP1) and a single STA (eg STA1)
- BSS2 may include two or more STAs (eg STA2 and STA3) that can be joined to one AP (eg AP2).
- the wireless LAN system 10 connects at least one STA (STA1 to STA3), APs (AP1 and AP2) providing distribution services, and a plurality of APs (AP1 and AP2). It may include a distribution system (100) for making.
- the distributed system 100 may implement an extended service set (ESS) by connecting a plurality of BSSs (BSS1 and BSS2).
- ESS may be used as a term indicating one network formed by connecting one or more APs (AP1, AP2) through the distributed system 100.
- APs (AP1, AP2) included in one ESS may have the same service set identification (SSID).
- the STAs are any functional medium including a medium access control (MAC) conforming to the IEEE 802.11 standard and a physical layer interface for a wireless medium.
- MAC medium access control
- STAs (STA1 to STA3) are electronic devices, mobile terminals, wireless devices, wireless transmit/receive units (WTRUs), user equipments (UEs) ), a mobile station (MS), a mobile subscriber unit, or simply a user.
- WTRUs wireless transmit/receive units
- UEs user equipments
- MS mobile station
- MS mobile subscriber unit
- FIG. 2 shows another example of a WLAN system according to various embodiments.
- a wireless LAN system 20 may indicate an ad-hoc mode for performing communication.
- the WLAN system 20 may include a BSS operating in an ad-hoc mode, that is, an independent basic service set (IBSS) (BSS).
- IBSS independent basic service set
- the IBSS since the IBSS does not include an AP, there may be no centralized management entity.
- STAs can be managed in a distributed manner.
- all STAs can be made up of mobile STAs, and access to a distributed system (eg, distributed system 100 in FIG. 1) is not allowed, so a self-contained network (or self-contained network) can be achieved. .
- FIG. 3 is a diagram for explaining an example of a link setup operation according to various embodiments.
- a link setup operation may be performed between devices (eg, an STA 301 and an AP 401 ) to communicate with each other.
- devices eg, an STA 301 and an AP 401
- network discovery, authentication, association establishment, and security configuration operations may be performed.
- the link setup operation may be a session initiation operation or a session setup operation.
- operations of discovery, authentication, association, and security setting of a link setup operation may be collectively referred to as an association operation.
- the network discovery operation may include operations 310 and 320 .
- the STA 301 eg, the electronic device 1301, the electronic device 1302, or the electronic device 1304 of FIG. 13
- the STA 301 may perform a scanning operation to access a network to find a network that can participate.
- the scanning operation may include an active scanning operation and a passive scanning operation.
- the AP 401 may transmit a probe response frame as a response to the probe request frame to the STA 301 that has transmitted the probe request frame.
- an authentication operation including operations 330 and 340 may be performed.
- the STA 301 may transmit an authentication request frame to the AP 401.
- the AP 401 may determine whether to allow authentication of the corresponding STA 301 based on information included in the authentication request frame.
- the AP 401 may provide the result of authentication processing to the STA 301 through an authentication response frame.
- An authentication frame used for authentication request/response may correspond to a management frame.
- the authentication frame includes an authentication algorithm number, an authentication transaction sequence number, a status code, a challenge text, a robust security network (RSN), Information on a finite cyclic group and the like may be included.
- RSN robust security network
- an association operation including operations 350 and 360 may be performed.
- the STA 301 may transmit an association request frame to the AP 401.
- the AP 401 may transmit an association response frame to the STA 301 in response to the association request frame.
- the association request frame and/or the association response frame may include information related to various capabilities.
- the connection request frame includes information related to various capabilities, beacon listen interval, service set identifier (SSID), supported rates, supported channels, RSN, mobility domain , supported operating classes, TIM broadcast request (Traffic Indication Map Broadcast request), and/or information on interworking service capabilities.
- an association response frame may include information related to various capabilities, a status code, an Association ID (AID), an assisted rate, an Enhanced Distributed Channel Access (EDCA) parameter set, a Received Channel Power Indicator (RCPI), and Received Signal to Noise (RSNI). indicator), mobility domain, timeout interval (association comeback time), overlapping BSS scan parameter, TIM broadcast response, and/or QoS map.
- AID Association ID
- EDCA Enhanced Distributed Channel Access
- RCPI Received Channel Power Indicator
- RSNI Received Signal to Noise
- a security setup operation including operations 370 and 380 may be performed.
- the security setup operation may be performed through a robust security network association (RSNA) request/response.
- RSNA robust security network association
- the security setup operation may include an operation of private key setup through 4-way handshaking through an extensible authentication protocol over LAN (EAPOL) frame.
- EAPOL extensible authentication protocol over LAN
- the security setup operation may be performed according to a security scheme not defined in the IEEE 802.11 standard.
- a secure session is established between the STA 301 and the AP 401 according to a secure setup operation, and the STA 301 and the AP 401 may perform secure data communication.
- FIG. 4 is a diagram for explaining another example of a link setup operation according to various embodiments.
- a link setup operation including a simultaneous authentication of equals (SAE) protocol is performed between devices (eg, STA 301 and AP 401) to communicate with each other It can be.
- SAE simultaneous authentication of equals
- an SAE authentication operation may be performed according to the SAE protocol.
- the network discovery operation may include operation 410 and operation 420 .
- the STA 301 eg, the electronic device 1301, the electronic device 1302, or the electronic device 1304 of FIG. 13
- the STA 301 may perform a scanning operation to access a network to find a network that can participate.
- the scanning operation may include an active scanning operation and a passive scanning operation.
- the AP 401 may transmit a probe response frame as a response to the probe request frame to the STA 301 that has transmitted the probe request frame.
- an authentication operation including operations 430 to 460 may be performed according to the SAE protocol.
- the SAE protocol may include an exchange operation of two messages (eg, an authentication commit message and an authentication confirm message).
- the authentication promise message is an encryption key when each device (301, 401) performs a password (e.g., authentication and/or key exchange conforming to the IEEE802.11 standard), which is a WPA3 standard password. ) to be guessed only once, and the authentication confirmation message can be used to prove that the password guess was correct.
- An authentication frame may be used to perform message exchange according to the SAE protocol.
- the STA 301 transmits an authentication request frame to the AP 401, and in operation 440, the AP 401 sends an authentication request frame to the STA 301. frame) can be transmitted.
- the authentication request frame may include an authentication promise message including commit scalar and COMMIT-ELEMENT.
- Each device e.g. STA 301, AP 401 uses a secret element (password element) and two secret values (e.g. rand, mask) to commit-scalar and COMMIT-ELEMENT can be calculated.
- the commit-scalar and COMMIT-ELEMENT can be calculated using Equations 1 and 2.
- each device may generate a PWE and two secret values (eg, rand and mask) before starting an SAE protocol message exchange.
- a PWE may be generated for a corresponding group (eg, an elliptic curve cryptography (ECC) group or a finite field cryptography (FFC) group).
- ECC elliptic curve cryptography
- FFC finite field cryptography
- Each device eg, the STA 301 and the AP 401 may generate a PWE using elliptic curve cryptography.
- a password and/or a password identifier may be further used for generating the PWE.
- each device may generate a secret value (eg, rand) and a temporary secret value (eg, mask).
- the secret value (rand) and the temporary secret value (mask) may be generated such that 1 ⁇ rand ⁇ r, 1 ⁇ mask ⁇ r, and (rand + mask) mod r greater than 1.
- r may be an order (eg, prime order) of the group.
- the secret value (rand) and the temporary secret value (mask) may be random numbers generated from quality random numbers drawn from a uniform distribution generator. These values (eg rand, mask) may not be reused in unique protocol implementations.
- the temporary secret value (mask) may be deleted when the authentication promise message is transmitted.
- the STA 301 may transmit an authentication response frame including an authentication confirmation message to the AP 401 in response to the authentication request frame.
- the AP 401 may transmit an authentication response frame including an authentication confirmation message to the STA 301 in response to the authentication request frame.
- Each device eg, the STA 301 and the AP 401 may generate a pairwise master key (PMK) when an authentication request frame is received. Before generating the PMK, each device (eg, the STA 301 and the AP 401) may perform validation of commit-scalar and COMMIT-ELEMENT included in the authentication promise message.
- PMK pairwise master key
- Each device may generate a PMK upon successful completion of validation of commit-scalar and COMMIT-ELEMENT.
- the commit-scalar and COMMIT-ELEMENT received by each device are peer-commit-scalar and PEER-COMMIT-ELEMENT, and the PMK generation operation is described. do.
- each device may calculate a shared secret element (eg, K).
- the shared secret element (K) may be derived using the peer-commit-scalar, PEER-COMMIT-ELEMENT, and secret value (rand) included in the received authentication promise message.
- the shared secret factor (K) can be calculated using equation (3).
- Each device may calculate a secret value (eg, k) from the calculated K.
- Each device may calculate a keyseed using the calculated secret value k.
- Keyseed can be calculated using Equation 5.
- ⁇ 0>32 may indicate that it is composed of 32 octets of value 0.
- Each of the devices 301 and 401 may calculate a hash value using ⁇ 0>32 and the secret value k as variables.
- Each device may calculate kck_and_pmk using a keyseed.
- kck_and_pmk can be calculated using Equation 6.
- KDF-Hash-512() is a key derivation function
- the string "SAE KCK and PMK" may be a string for identifying the purpose of a key derived by the key derivation function.
- Each device may calculate a key confirmation key (KCK) and PMK from kck_and_pmk.
- KCK can be calculated using Equation 7
- PMK can be calculated using Equation 8.
- the calculation result of KCK and PMK may be 256 bits.
- KCK may be calculated as 0 bits to 255 bits (eg, the first 256 bits) of kck_and_pmk
- PMK may be calculated as 511 bits (eg, the next 256 bits) from 256 bits of kck_and_pmk.
- each device may generate an authentication confirmation message and transmit an authentication response frame including the authentication confirmation message.
- the authentication confirmation message may include confirm.
- Each device eg, the STA 301 and the AP 401 may generate a confirm using Equation 9.
- send-confirm, commit-scalar, and COMMIT-ELEMENT may be calculated by a device (eg, STA 301 or AP 401) receiving the authentication request frame.
- send-confirm and commit-scalar may be calculated using a secret value (rand) and a temporary secret value (mask) determined by a device receiving the authentication request frame (e.g., STA 301 or AP 401).
- send-confirm may be a value of a counter used in SAE as a replay prevention counter.
- CN() may be a function that calculates a hash value as a confirmation function.
- each device may authenticate each device (eg, STA 301 or AP 401) in response to an authentication response frame.
- each device eg, STA 301 or AP 401 receives the authentication response frame, it may calculate KCK and perform authentication using Equation 10.
- Each device eg, STA 301 and AP 401) may authenticate each other by comparing cofirm and verifier. For example, each device (eg, the STA 301 and the AP 401) may accept authentication for each other when the cofirm and the verifier match.
- the STA 301 may accept authentication of the AP 401 and set the PMK lifetime to a default value (eg, dot11RSNAConfigPMKLifetime).
- each device may generate a PMK and generate a PMK identifier (PMKID).
- PMKID may be defined as in Equation 11.
- Each device may create (eg, configure) a PMK security association (PMKSA).
- PMKSA may be generated and stored for each peer performing communication.
- the PMKSA contains the PMK, PMKID, PMK lifetime, authenticator MAC address (e.g. peer MAC address), authentication and key management protocols, FILS Cache ID, and network configuration context (e.g. SSID). ) can store information such as Since the lifetime of the PMK is set to a default value, the lifetime of the PMKSA may also be set to the default value of the lifetime of the PMK. When the lifetime of the PMK becomes '0' and the PMK expires, the PMKSA may expire.
- an association operation including operations 470 and 480 may be performed.
- the STA 301 may transmit an association request frame to the AP 401.
- the AP 401 may transmit an association response frame to the STA 301 in response to the association request frame.
- the association request frame and/or the association response frame may include information related to various capabilities.
- the connection request frame includes information related to various capabilities, beacon listen interval, service set identifier (SSID), supported rates, supported channels, RSN, mobility domain , supported operating classes, TIM broadcast request (Traffic Indication Map Broadcast request), and/or information on interworking service capabilities.
- an association response frame may include information related to various capabilities, a status code, an Association ID (AID), an assisted rate, an Enhanced Distributed Channel Access (EDCA) parameter set, a Received Channel Power Indicator (RCPI), and Received Signal to Noise (RSNI). indicator), mobility domain, timeout interval (association comeback time), overlapping BSS scan parameter, TIM broadcast response, and/or QoS map.
- AID Association ID
- EDCA Enhanced Distributed Channel Access
- RCPI Received Channel Power Indicator
- RSNI Received Signal to Noise
- a security setup operation including operations 493 and 495 may be performed.
- the security setup operation may be performed based on the PMK generated according to the SAE protocol in operations 430 to 460 .
- the security setup operation may be performed through a robust security network association (RSNA) request/response.
- RSNA robust security network association
- the security setup operation may include an operation of private key setup through 4-way handshaking through an extensible authentication protocol over LAN (EAPOL) frame.
- EAPOL extensible authentication protocol over LAN
- the security setup operation may be performed according to a security scheme not defined in the IEEE 802.11 standard.
- a secure session is established between the STA 301 and the AP 401 according to a secure setup operation, and the STA 301 and the AP 401 may perform secure data communication.
- FIG. 5 is a diagram for explaining an example of a method of using a PMK according to various embodiments.
- the STA 301 may perform a PMK caching operation for reusing the PMK generated according to the SAE protocol when connected to the AP 401 (eg, the first connection).
- the lifetime of the PMK is set to a default value, and since the PMK does not expire during the set default value, it can be used when reconnecting and/or reroaming (eg, second connection) to the AP 401 .
- the first connection may mean a connection when the STA 301 generates a PMK according to the SAE protocol when connecting to the AP 401, and the second connection may mean a connection after the first connection.
- a PMK caching operation for reusing the PMK will be described.
- the STA 301 may generate a PMK according to the SAE protocol upon connection to the AP 401, put the PMK in the PMKSA for the AP 401, and store the PMK. Since the lifetime of the PMK is set to a default value, the lifetime of the PMKSA may also be set to the default value of the lifetime of the PMK. For example, when the lifetime of the PMK becomes '0' and the PMK expires, the PMKSA may expire. In operation 510, the AP 401 may also generate a PMK according to the SAE protocol, put the PMK into the PMKSA for the STA 301, and store the PMK.
- the STA 301 may perform open authentication (eg, 802.11 Authentication Open) after confirming that the PMKSA for the AP 401 exists.
- open authentication eg, 802.11 Authentication Open
- the STA 301 disconnects after being connected to the AP 401 and tries to reconnect, or roams to another AP and then tries to roam to the AP 401 again, the AP created when connected to the AP 401 It is possible to check whether PMKSA exists for (401) (eg, whether PMK exists).
- PMKSA eg, whether PMK exists.
- FIG. 5 for convenience of description, it is assumed that the PMK generated when the STA 301 connects to the AP 401 exists in the STA 301 and the AP 401 .
- the AP 401 may also perform open authentication (eg, 802.11 Authentication Open) like the STA 301.
- open authentication eg, 802.11 Authentication Open
- the STA 301 may transmit an association request frame including the PMKID to the AP 401 after performing open authentication.
- the PMKID may be the one stored in the PMKSA for the AP 401.
- the AP 401 may receive the association request frame and determine whether it has a PMKSA for the STA 301 using the PMKID included in the association request frame.
- the AP 401 may transmit an association response frame to the STA 301 after confirming that the PMKSA for the STA 301 exists.
- a security setup operation (eg, operations 493 and 495 of FIG. 4) may be performed based on the PMK stored in the PMKSA.
- private key setup may proceed by performing 4-way handshaking based on the PMK stored in the PMKSA.
- the STA 301 performs PMKSA for the AP 401 without performing an SAE authentication operation (eg, operations 430 to 460 of FIG. 4 ) when reconnecting and/or reroaming with the AP 401 .
- Connection to the AP 401 may be performed by using (eg, reused) the PMK stored in . Since the SAE authentication operation is omitted, the amount of packets exchanged between the STA 301 and the AP 401 for the SAE authentication operation is reduced, and the arithmetic operation included in the SAE authentication operation is also omitted. Accordingly, the STA 301 and the AP The load of 401 can be significantly reduced.
- FIG. 6 is a diagram for explaining another example of a method of using a PMK according to various embodiments.
- FIG. 6 may be for explaining a PMK caching operation for reusing the PMK described in FIG. 5 in more detail.
- the STA 301 has already been connected to the AP 401 (eg, first connection).
- the STA 301 disconnects after being connected to the AP 401 and attempts reconnection (eg, a second connection) or roams to another AP and then roams to the AP 401 again (eg, a second connection). second connection).
- the STA 301 may check whether a PMKSA for the AP 401 created upon connection to the AP 401 exists (eg, whether a PMK exists).
- the STA 301 may check whether the lifetime of the PMK stored in the PMKSA is greater than '0' when the PMKSA for the AP 401 exists.
- the STA 301 may perform open authentication (eg, 802.11 Authentication Open) by reusing the corresponding PMKSA when the lifetime of the PMK is greater than '0'.
- the STA 301 may perform a connection to the AP 401 without performing an SAE authentication operation (eg, operations 430 to 460 of FIG. 4 ).
- the connection performing operation for the AP 401 may include operations 520 to 560 described in FIG. 5 .
- the STA 301 may perform an SAE authentication operation without reusing the PMKSA when the PMKSA for the AP 401 does not exist or the lifetime of the PMK is '0'.
- the STA 301 may connect to the AP 401 by performing an SAE authentication operation for generating a new PMK.
- the connection performing operation for the AP 401 may include operations 430 to 495 described in FIG. 4 .
- the STA 301 has a PMKSA for the AP 401 to be connected to when reconnecting or roaming to the AP 401 as shown in FIG. 5, and if the lifetime of the PMK stored in the PMKSA is 0 or more You can reuse that PMK. In this case, the STA 301 uses the PMK even if the remaining lifetime of the PMK is, for example, 5 seconds, and if the corresponding PMK expires 5 seconds after connection and becomes unusable
- the STA (301) may perform an SAE authentication operation to generate a new PMK to perform a connection to the AP (401).
- FIG. 7 is a diagram for explaining another example of a method of using a PMK according to various embodiments.
- the STA 301 performs an SAE authentication operation (eg, operation 430 to operation 460 of FIG. 4 ) upon reconnection and/or reroaming with respect to the AP 401.
- Connection to the AP 401 may be performed by using (eg, reused) the PMK stored in the PMKSA for the AP 401 .
- the STA 301 may reuse the corresponding PMK when the lifetime of the PMK remains longer than the margin time, unlike in FIG. 6 .
- the STA 301 disconnects after being connected to the AP 401 and attempts reconnection (eg, a second connection) or roams to another AP and then roams to the AP 401 again (eg, a second connection). second connection).
- the STA 301 may check whether or not the PMKSA for the AP 401 created upon connection to the AP 401 exists.
- the STA 301 checks whether the PMK is reused by comparing the lifetime of the PMK stored in the PMKSA with the margin time when the PMKSA for the AP 401 exists and checking whether the lifetime of the PMK is greater than the margin time. can decide
- the AP 401 may also generate a PMK according to the SAE protocol.
- the margin time may be a time during which the STA 301 is connected to the AP 401 without the PMK expiring and the use of the PMK can be guaranteed.
- the margin time may be determined (eg, set) based on usage information of a user (eg, a user of the STA 301) for wireless communication (eg, Wi-Fi) supported by the AP 401.
- the user's usage information may include one or more of the user's Wi-Fi connection time and Wi-Fi usage pattern.
- the user's Wi-Fi connection time includes the connection duration of the STA 301 to the AP 401
- the Wi-Fi usage pattern includes the usage time pattern of the STA 301 to the AP 401 can include
- the STA 301 may perform open authentication (eg, 802.11 Authentication Open) by reusing the corresponding PMKSA when the lifetime of the PMK is greater than the margin time.
- the STA 301 may perform a connection to the AP 401 without performing an SAE authentication operation (eg, operations 430 to 460 of FIG. 4 ).
- the connection performing operation for the AP 401 may include operations 520 to 560 described in FIG. 5 .
- the STA 301 may perform an SAE authentication operation without reusing the PMKSA when the PMKSA for the AP 401 does not exist or the lifetime of the PMK stored in the PMKSA is smaller than the margin time.
- the STA 310 may connect to the AP 401 by performing an SAE authentication operation for generating a new PMK.
- the connection performing operation for the AP 401 may include operations 430 to 495 described in FIG. 4 .
- the STA 301 may generate PMK according to the SAE protocol, and the AP 401 may also generate PMK according to the SAE protocol.
- a single value may be used for the margin time for the STA 301 .
- the margin time may be determined and used for each device, user, SSID, and/or basic SSID (BSSID).
- BSSID basic SSID
- the STA 301 may dynamically change the margin time based on user usage information (eg, latest usage information).
- the user's usage information may be substantially the same as the usage information described in operation 730 .
- the STA 301 reuses the PMK if there is a PMKSA for the AP 401 to be connected to the AP 401 when reconnecting or roaming, and the lifetime of the PMK stored in the PMKSA is greater than or equal to the margin time. can do. Since the PMK stored in the PMKSA does not expire during the margin time, the STA 301 may not disconnect from the AP 401 during the margin time in using the corresponding PMK. Thus, by more efficiently using the PMK stored by the STA 301, inconvenience to the user can be minimized by reducing the frequency of disconnection.
- FIG. 8 is a diagram for explaining another example of a method of using a PMK according to various embodiments.
- the STA 301 generates a PMK according to the SAE protocol when connecting to the AP 401 (eg, the first connection), and then the PMK expires while connecting to the AP 401. It is possible to adjust and utilize the default value of PMK lifetime so that it does not occur.
- the STA 301 may perform communication by setting the lifetime of the PMK to an adjusted value so that the PMK does not expire during one connection to the AP 401 .
- the STA 301 may generate a PMK according to the SAE protocol when connecting to the AP 401 (eg, first connection).
- the AP 401 may also generate a PMK according to the SAE protocol.
- the STA 301 may put the PMK into the PMKSA for the AP 401 and store it.
- the AP 401 may also put the PMK into the PMKSA for the STA 301 and store it.
- the STA (301) does not set the lifetime of the PMK as a default value, and the AP (401) supports the wireless communication (eg, Wi-Fi) user (eg, the user of the STA (301)) for usage information You can adjust the default values based on that.
- the STA 301 may set the PMK lifetime to an adjusted value.
- the user's usage information may include one or more of the user's Wi-Fi connection time and Wi-Fi usage pattern.
- the user's Wi-Fi connection time includes the connection duration of the STA 301 to the AP 401
- the Wi-Fi usage pattern includes the usage time pattern of the STA 301 to the AP 401 can include
- the STA 301 and the AP 401 may communicate with each other after performing an association operation and a security setup operation.
- the STA 301 whenever the STA 301 generates a PMK (eg, a new PMK) according to the SAE protocol when connecting to the AP 401, the user's usage information (eg, the latest usage information) Based on this, the default value for the lifetime of the PMK can be dynamically set (eg, changed).
- a PMK eg, a new PMK
- the user's usage information eg, the latest usage information
- 9A is a diagram for explaining an example of setting a margin time according to various embodiments.
- a connection duration of a user (eg, a user of the STA 301 ) to the AP 401 may be used as user usage information for setting a margin time.
- Data about the duration of the user's connection to the AP 401 is obtained, and the obtained data may be used to set a margin time.
- the margin time can be determined as 5.2 hours.
- the STA 301 When the margin time is set in this way, the STA 301 newly creates a PMK and communicates with the AP 401 with 1 hour remaining in the lifetime of the PMK, so in the cases 911, 912, 914, and 915 You can use Wi-Fi without disconnection.
- the STA 301 may dynamically determine a margin time based on data on a connection duration time of a user (eg, a user of the STA 301) to the AP 401.
- 9B is a diagram for explaining another example of setting a margin time according to various embodiments.
- a usage time pattern for the AP 401 of a user may be used as user usage information for setting a margin time.
- Usage time data for the user's AP 401 is acquired by month, by date, and/or by day of the week, and the acquired data can be used to identify the user's usage pattern and set margin time.
- the usage time data may be utilized to determine the timing of checking the lifetime of the PMK using the margin time. For example, if usage time data for the user's AP 401 is obtained in 5 cases (921 to 925), the user connects to the AP 401 generally between 8 and 9 o'clock and disconnects in the middle.
- the last cutoff time can be identified as 17:00. Accordingly, the margin time may be determined to be 10 hours, and the STA 301 may operate in a manner in which the corresponding margin time is checked only when the STA 301 first connects to the AP 401.
- 9C is a diagram for explaining another example of setting a margin time according to various embodiments.
- the STA 301 may dynamically manage margin time based on user usage information (eg, latest usage information).
- user usage information eg, latest usage information.
- the STA 301 holds data (930 to 934) for five connection durations with respect to the AP 401, and from the held data (930 to 934) After determining the time that can cover 80% of the connection duration as 5 hours, the time added by 0.2 hours (eg 5.2 hours) can be determined as the margin time.
- the STA 301 obtains data (935 to 939) on the duration of five new connections to the AP 401, and obtains After determining the time that can cover 80% of the connection duration from one data (935 to 939) as 4 hours, it can be set by changing the time added by 0.2 hours (eg 4.2 hours) to the margin time. According to an embodiment, the STA 301 may periodically update user usage information (eg, connection duration and/or usage time pattern).
- user usage information eg, connection duration and/or usage time pattern
- FIG. 10 is a diagram for explaining an example of adjusting a default value of a lifetime of a PMK according to various embodiments.
- a connection duration of a user (eg, a user of the STA 301 ) to the AP 401 may be used as user usage information for adjusting a default value of a lifetime of a PMK.
- Data on the duration of the user's connection to the AP 401 is obtained by month, by day, and/or by day of the week, and the STA 301 uses the obtained data to obtain PMK during one connection to the AP 401.
- the lifetime of the PMK for the AP 401 is an adjusted value (eg, 4.5 time) can be determined.
- the method of setting the margin time described with reference to FIGS. 9A to 9C may be substantially equally applied to the method of adjusting the default value of the PMK lifetime.
- 11 is a diagram for explaining an example of an operating method of an STA according to various embodiments.
- the STA 301 may check the existence of the PMKSA for the AP 401 created when connecting to the AP 401 when attempting to connect to the AP 401.
- the STA 301 may determine whether to reuse the PMK by comparing the lifetime of the PMK stored in the PMKSA with a margin time for guaranteeing use of the PMK. For example, the STA 301 may perform connection to the AP 401 by reusing the PMK when the lifetime of the PMK is greater than the margin time. The STA 301 may perform an operation to acquire a new PMK when it is determined not to reuse the PMK or the PMK does not exist. An operation for acquiring a new PMK may be an SAE authentication operation.
- FIG. 12 is a diagram for explaining another example of a method of operating an STA according to various embodiments.
- the STA 301 may generate a PMK upon connecting to the AP 401.
- the STA 301 may generate a PMKSA for the AP 401.
- the STA 301 adjusts the default value of the lifetime of the PMK based on the user's usage information for wireless communication supported by the AP 401, and transmits the adjusted value for the lifetime of the PMK to the PMKSA. can be saved
- an electronic device 1301 in a network environment 1300, communicates with an electronic device 1302 through a first network 1398 (eg, a short-distance wireless communication network). (eg: STA 301 of FIG. 4) communicates with, or through a second network 1399 (eg, a long-distance wireless communication network) electronic device 1304 (eg, STA 301 of FIG. 4) or server (1308).
- the electronic device 1301 may communicate with the electronic device 1304 through the server 1308 .
- the electronic device 1301 includes a processor 1320, a memory 1330, an input module 1350, an audio output module 1355, a display module 1360, an audio module 1370, a sensor module ( 1376), interface 1377, connection terminal 1378, haptic module 1379, camera module 1380, power management module 1388, battery 1389, communication module 1390, subscriber identification module 1396 , or an antenna module 1397.
- a processor 1320 e.g, a memory 1330, an input module 1350, an audio output module 1355, a display module 1360, an audio module 1370, a sensor module ( 1376), interface 1377, connection terminal 1378, haptic module 1379, camera module 1380, power management module 1388, battery 1389, communication module 1390, subscriber identification module 1396 , or an antenna module 1397.
- at least one of these components eg, the connection terminal 1378) may be omitted or one or more other components may be added.
- some of these components eg, sensor module 1376,
- the processor 1320 for example, executes software (eg, the program 1340) to cause at least one other component (eg, hardware or software component) of the electronic device 1301 connected to the processor 1320. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 1320 transfers instructions or data received from other components (e.g., sensor module 1376 or communication module 1390) to volatile memory 1332. , processing commands or data stored in the volatile memory 1332 , and storing resultant data in the non-volatile memory 1334 .
- software eg, the program 1340
- the processor 1320 transfers instructions or data received from other components (e.g., sensor module 1376 or communication module 1390) to volatile memory 1332. , processing commands or data stored in the volatile memory 1332 , and storing resultant data in the non-volatile memory 1334 .
- the processor 1320 may include a main processor 1321 (eg, a central processing unit or an application processor) or a secondary processor 1323 (eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor).
- a main processor 1321 eg, a central processing unit or an application processor
- a secondary processor 1323 eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor.
- NPU neural network processing unit
- NPU neural processing unit
- image signal processor sensor hub processor
- communication processor e.g., a communication processor.
- the auxiliary processor 1323 may use less power than the main processor 1321 or be set to be specialized for a designated function.
- the auxiliary processor 1323 may be implemented separately from or as part of the main processor 1321 .
- the secondary processor 1323 may, for example, take the place of the main processor 1321 while the main processor 1321 is inactive (eg, sleep) or when the main processor 1321 is active (eg, running an application). ) state, together with the main processor 1321, at least one of the components of the electronic device 1301 (eg, the display module 1360, the sensor module 1376, or the communication module 1390) It is possible to control at least some of the related functions or states.
- the auxiliary processor 1323 eg, image signal processor or communication processor
- may be implemented as part of other functionally related components eg, camera module 1380 or communication module 1390). there is.
- the auxiliary processor 1323 may include a hardware structure specialized for processing an artificial intelligence model.
- AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 1301 itself where the artificial intelligence model is executed, or may be performed through a separate server (eg, the server 1308).
- the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited.
- the artificial intelligence model may include a plurality of artificial neural network layers.
- Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples.
- the artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.
- the memory 1330 may store various data used by at least one component (eg, the processor 1320 or the sensor module 1376) of the electronic device 1301 .
- the data may include, for example, input data or output data for software (eg, the program 1340) and commands related thereto.
- the memory 1330 may include a volatile memory 1332 or a non-volatile memory 1334 .
- the program 1340 may be stored as software in the memory 1330 and may include, for example, an operating system 1342 , middleware 1344 , or an application 1346 .
- the input module 1350 may receive a command or data to be used by a component (eg, the processor 1320) of the electronic device 1301 from an outside of the electronic device 1301 (eg, a user).
- the input module 1350 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
- the sound output module 1355 may output sound signals to the outside of the electronic device 1301 .
- the sound output module 1355 may include, for example, a speaker or a receiver.
- the speaker can be used for general purposes such as multimedia playback or recording playback.
- a receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
- the display module 1360 can visually provide information to the outside of the electronic device 1301 (eg, a user).
- the display module 1360 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device.
- the display module 1360 may include a touch sensor configured to detect a touch or a pressure sensor configured to measure the intensity of force generated by the touch.
- the audio module 1370 may convert sound into an electrical signal or vice versa. According to one embodiment, the audio module 1370 acquires sound through the input module 1350, the sound output module 1355, or an external electronic device connected directly or wirelessly to the electronic device 1301 (eg: Sound may be output through the electronic device 1302 (eg, a speaker or a headphone).
- the audio module 1370 acquires sound through the input module 1350, the sound output module 1355, or an external electronic device connected directly or wirelessly to the electronic device 1301 (eg: Sound may be output through the electronic device 1302 (eg, a speaker or a headphone).
- the sensor module 1376 detects an operating state (eg, power or temperature) of the electronic device 1301 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do.
- the sensor module 1376 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.
- the interface 1377 may support one or more specified protocols that may be used to directly or wirelessly connect the electronic device 1301 to an external electronic device (eg, the electronic device 1302).
- the interface 1377 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
- HDMI high definition multimedia interface
- USB universal serial bus
- SD card interface Secure Digital Card
- connection terminal 1378 may include a connector through which the electronic device 1301 may be physically connected to an external electronic device (eg, the electronic device 1302).
- the connection terminal 1378 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
- the haptic module 1379 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses.
- the haptic module 1379 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
- the camera module 1380 may capture still images and moving images. According to one embodiment, the camera module 1380 may include one or more lenses, image sensors, image signal processors, or flashes.
- the power management module 1388 may manage power supplied to the electronic device 1301 .
- the power management module 1388 may be implemented as at least part of a power management integrated circuit (PMIC), for example.
- PMIC power management integrated circuit
- the battery 1389 may supply power to at least one component of the electronic device 1301 .
- the battery 1389 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
- the communication module 1390 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 1301 and an external electronic device (eg, the electronic device 1302, the electronic device 1304, or the server 1308). Establishment and communication through the established communication channel may be supported.
- the communication module 1390 may include one or more communication processors that operate independently of the processor 1320 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
- the communication module 1390 may be a wireless communication module 1392 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 1394 (eg, a : a local area network (LAN) communication module or a power line communication module).
- a wireless communication module 1392 eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
- GNSS global navigation satellite system
- wired communication module 1394 eg, a : a local area network (LAN) communication module or a power line communication module.
- the corresponding communication module is a first network 1398 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 1399 (eg, legacy It may communicate with the external electronic device 1304 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, a LAN or a WAN).
- a first network 1398 eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)
- a second network 1399 eg, legacy It may communicate with the external electronic device 1304 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, a LAN or a WAN).
- a computer network eg,
- the wireless communication module 1392 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 1396 within a communication network such as the first network 1398 or the second network 1399.
- subscriber information eg, International Mobile Subscriber Identifier (IMSI)
- IMSI International Mobile Subscriber Identifier
- the electronic device 1301 may be identified or authenticated.
- the wireless communication module 1392 may support a 5G network after a 4G network and a next-generation communication technology, such as NR access technology (new radio access technology).
- NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)).
- eMBB enhanced mobile broadband
- mMTC massive machine type communications
- URLLC ultra-reliable and low latency
- -latency communications can be supported.
- the wireless communication module 1392 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
- the wireless communication module 1392 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported.
- the wireless communication module 1392 may support various requirements defined for the electronic device 1301, an external electronic device (eg, the electronic device 1304), or a network system (eg, the second network 1399).
- the wireless communication module 1392 may include a peak data rate (eg, 20 Gbps or more) for eMBB realization, a loss coverage (eg, 164 dB or less) for mMTC realization, or a U-plane latency (eg, URLLC realization).
- a peak data rate eg, 20 Gbps or more
- a loss coverage eg, 164 dB or less
- a U-plane latency eg, URLLC realization.
- DL downlink
- UL uplink
- the antenna module 1397 may transmit or receive signals or power to the outside (eg, an external electronic device).
- the antenna module 1397 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB).
- the antenna module 1397 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 1398 or the second network 1399 is selected from the plurality of antennas by, for example, the communication module 1390. can be chosen A signal or power may be transmitted or received between the communication module 1390 and an external electronic device through the selected at least one antenna.
- other components eg, a radio frequency integrated circuit (RFIC) may be additionally formed as a part of the antenna module 1397 in addition to the radiator.
- RFIC radio frequency integrated circuit
- the antenna module 1397 may form a mmWave antenna module.
- the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
- peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
- signal e.g. commands or data
- commands or data may be transmitted or received between the electronic device 1301 and the external electronic device 1304 through the server 1308 connected to the second network 1399 .
- Each of the external electronic devices 1302 or 1304 may be the same as or different from the electronic device 1301 .
- all or part of operations executed in the electronic device 1301 may be executed in one or more external electronic devices among the external electronic devices 1302 , 1304 , or 1308 .
- the electronic device 1301 when the electronic device 1301 needs to perform a certain function or service automatically or in response to a request from a user or other device, the electronic device 1301 instead of executing the function or service by itself.
- one or more external electronic devices may be requested to perform the function or at least part of the service.
- One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 1301 .
- the electronic device 1301 may provide the result as at least part of a response to the request as it is or additionally processed.
- cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology may be used.
- the electronic device 1301 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
- the external electronic device 1304 may include an internet of things (IoT) device.
- Server 1308 may be an intelligent server using machine learning and/or neural networks.
- the external electronic device 1304 or server 1308 may be included in the second network 1399 .
- the electronic device 1301 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
- Electronic devices may be devices of various types.
- the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance.
- a portable communication device eg, a smart phone
- a computer device e.g., a smart phone
- a portable multimedia device e.g., a portable medical device
- a camera e.g., a portable medical device
- a camera e.g., a portable medical device
- a camera e.g., a portable medical device
- a camera e.g., a camera
- a wearable device e.g., a smart bracelet
- first, second, or first or secondary may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited.
- a (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.”
- the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
- module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits.
- a module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions.
- the module may be implemented in the form of an application-specific integrated circuit (ASIC).
- ASIC application-specific integrated circuit
- a storage medium eg, internal memory 1336 or external memory 1338, readable by a machine (eg, electronic device 1301). It may be implemented as software (eg, the program 1340) including them.
- a processor eg, processor 1320 of a device (eg, electronic device 1301) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked.
- the one or more instructions may include code generated by a compiler or code executable by an interpreter.
- the device-readable storage medium may be provided in the form of a non-transitory storage medium.
- the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
- a signal e.g. electromagnetic wave
- the method according to various embodiments disclosed in this document may be included and provided in a computer program product.
- Computer program products may be traded between sellers and buyers as commodities.
- a computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play StoreTM) or on two user devices (e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
- a device-readable storage medium e.g. compact disc read only memory (CD-ROM)
- an application store e.g. Play StoreTM
- two user devices e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
- at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.
- each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is.
- one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added.
- a plurality of components eg modules or programs
- the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. .
- the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.
- An electronic device (eg, the STA 301 of FIG. 4 or the electronic device 1301 of FIG. 13 ) according to various embodiments includes one or more wireless communication modules (eg, the wireless communication module 1392 of FIG. 13 ) configured to transmit and receive wireless signals. )), one or more processors operatively connected to the wireless communication module (eg, the processor 1320 of FIG. 13), and a memory electrically connected to the processor and storing instructions executable by the processor. (eg, the memory 1330 of FIG. 13), and when the instructions are executed by the processor, the processor, through the wireless communication module, access point (AP) (eg, AP 401 of FIG.
- AP access point
- the margin time may be set based on user usage information for wireless communication supported by the AP.
- the usage information may include one or more of a connection duration and a usage time pattern for the AP.
- the processor reuses the PMK to perform connection to the AP (eg, operation 740 of FIG. 7 ), and the lifetime of the PMK
- an operation for acquiring a new PMK may be performed (eg, operation 750 of FIG. 7 ).
- the operation for acquiring the new PMK may be a simultaneous authentication of equals (SAE) authentication operation (eg, operation 430 to operation 460 of FIG. 4 ).
- SAE simultaneous authentication of equals
- the processor may dynamically change the margin time based on user usage information for wireless communication supported by the AP.
- the margin time may be determined and used for each device, user, service set identifier (SSID), and basic service set identifier (BSSID).
- SSID service set identifier
- BSSID basic service set identifier
- the processor may periodically update the user's use information.
- An electronic device (eg, the STA 301 of FIG. 4 or the electronic device 1301 of FIG. 13 ) according to various embodiments includes one or more wireless communication modules (eg, the wireless communication module 1392 of FIG. 13 ) configured to transmit and receive wireless signals. )), one or more processors operatively connected to the wireless communication module (eg, the processor 1320 of FIG. 13), and a memory electrically connected to the processor and storing instructions executable by the processor. (eg, the memory 1330 of FIG. 13), and when the instructions are executed by the processor, the processor, through the wireless communication module, access point (AP)) (eg, AP 401 of FIG. 4) )), a pairwise master key (PMK) is generated (eg, operation 1210 of FIG.
- AP access point
- PMK pairwise master key
- PMKSA PMK security association
- a default value of the lifetime of the PMK may be adjusted based on user use information for supported wireless communication (eg, operation 1230 of FIG. 12 ), and the adjusted value for the lifetime of the PMK may be stored in the PMKSA. Yes (eg, operation 1240 of FIG. 12).
- the processor may generate the PMK by performing a simultaneous authentication of equals (SAE) authentication operation (eg, operation 430 to operation 460 of FIG. 4 ).
- SAE simultaneous authentication of equals
- the usage information may include one or more of a connection duration and a usage time pattern for the AP.
- the processor may dynamically change a default lifetime value of the new PMK based on usage information of the user whenever a new PMK is generated upon connection to the AP.
- the processor may periodically update the user's use information.
- An operating method of an electronic device includes an access point (AP) (eg, the AP 401 of FIG. 4 ). ), an operation of checking the existence of a pairwise master key security association (PMKSA) for the AP created when connecting to the AP (eg, operation 1110 of FIG. 11) when connecting to the AP, and when the PMKSA exists
- An operation of determining whether to reuse the PMK by comparing the lifetime of the PMK stored in the PMKSA with a margin time at which the use of the PMK can be guaranteed eg, operation 1120 of FIG. 11). can do.
- the margin time may be set based on user usage information for wireless communication supported by the AP.
- the usage information may include one or more of a connection duration and a usage time pattern for the AP.
- the method may include an operation of reusing the PMK and performing a connection to the AP when the lifetime of the PMK is greater than the margin time (eg, operation 740 of FIG. 7 ) or the lifetime of the PMK.
- an operation for acquiring a new PMK eg, operation 750 of FIG. 7 ) may be further included.
- the operation for acquiring the new PMK may be a simultaneous authentication of equals (SAE) authentication operation (eg, operation 430 to operation 460 of FIG. 4 ).
- SAE simultaneous authentication of equals
- the method may further include dynamically changing the margin time based on user usage information for wireless communication supported by the AP.
- the margin time may be determined and used for each device, user, service set identifier (SSID), and basic service set identifier (BSSID).
- SSID service set identifier
- BSSID basic service set identifier
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
Claims (15)
- 전자 장치에 있어서,무선 신호를 송수신하도록 구성된 하나 이상의 무선 통신 모듈;인스트럭션들을 저장하는 메모리; 및상기 무선 통신 모듈 및 상기 메모리와 작동적으로(operatively) 연결된 하나 이상의 프로세서를 포함하고,상기 프로세서에 의해 상기 인스트럭션들이 실행될 때, 상기 프로세서는,AP(access point)에 대한 연결 시도에 기초하여 상기 AP에 대한 상기 전자 장치의 이전 연결(previous connection)에 기초하여 생성된 상기 AP에 대한 PMKSA(pairwise master key security association)의 존재를 확인하고,상기 PMKSA가 존재한다는 확인에 기초하여 상기 PMKSA에 저장된 PMK의 라이프타임(lifetime)과 상기 PMK의 사용을 보장받을 수 있는 마진 타임(margin time)을 비교함으로써 상기 PMK의 재사용 여부를 결정하는, 전자 장치.
- 제1항에 있어서,상기 마진 타임은,상기 AP가 지원하는 무선 통신에 대한 사용자의 사용 정보에 기초하여 설정되는 것인, 전자 장치.
- 제2항에 있어서,상기 사용 정보는,상기 AP에 대한 연결 지속 시간 및 사용 시간 패턴 중 하나 이상을 포함하는, 전자 장치.
- 제3항에 있어서,상기 새로운 PMK를 획득하기 위한 동작은 SAE(simultaneous authentication of equals) 인증 동작인 것인, 전자 장치.
- 제1항에 있어서,상기 프로세서는,상기 PMK의 라이프타임이 상기 마진 타임보다 큰 경우에 기초하여 상기 PMK를 재사용하여 상기 AP에 대해 연결을 수행하고,상기 PMK의 라이프타임이 상기 마진 타임보다 크지 않거나 상기 PMK가 존재하지 않는 경우에 기초하여 새로운 PMK를 획득하기 위한 동작을 수행하는, 전자 장치.
- 제1항에 있어서,상기 프로세서는,상기 AP가 지원하는 무선 통신에 대한 사용자의 사용 정보에 기초하여 상기 마진 타임을 동적으로 변경하는, 전자 장치.
- 제6항에 있어서,상기 프로세서는,주기적으로 상기 사용자의 사용 정보를 업데이트하는, 전자 장치.
- 제1항에 있어서,상기 마진 타임은,장치, 사용자, SSID(service set identifier), BSSID(basic service set identifier) 별로 결정되어 사용되는 것인, 전자 장치.
- 전자 장치에 있어서,무선 신호를 송수신하도록 구성된 하나 이상의 무선 통신 모듈;인스트럭션들을 저장하는 메모리를 포함하고,상기 무선 통신 모듈 및 상기 메모리와 작동적으로(operatively) 연결된 하나 이상의 프로세서;상기 프로세서에 의해 상기 인스트럭션들이 실행될 때, 상기 프로세서는,AP(access point)에 대한 연결에 기초하여 PMK(pairwise master key)를 생성하고,상기 AP에 대한 PMKSA(PMK security association)를 생성하고,상기 AP가 지원하는 무선 통신에 대한 사용 정보에 기초하여 상기 PMK의 라이프타임의 디폴트 값을 조정하고,상기 PMK의 라이프타임에 대해 조정된 값을 상기 PMKSA에 저장하는, 전자 장치.
- 제9항에 있어서,상기 프로세서는,SAE(simultaneous authentication of equals) 인증 동작을 수행하여 상기 PMK를 생성하는, 전자 장치.
- 제9항에 있어서,상기 사용 정보는,상기 AP에 대한 연결 지속 시간 및 사용 시간 패턴 중 하나 이상을 포함하는, 전자 장치.
- 제9항에 있어서,상기 프로세서는,상기 AP에 대한 연결에 기초하여 새로운 PMK를 생성할 때마다 상기 사용 정보에 기초하여 상기 새로운 PMK의 라이프타임의 디폴트 값을 동적으로 변경하는, 전자 장치.
- 제9항에 있어서,상기 프로세서는,주기적으로 상기 사용자의 사용 정보를 업데이트하는, 전자 장치.
- 전자 장치의 동작 방법에 있어서,상기 전자 장치의 AP(access point)에 연결 시도에 기초하여 상기 AP에 대한 상기 전자 장치의 이전 연결(previous connection)에 기초하여 생성된 상기 AP에 대한 PMKSA(pairwise master key security association)의 존재를 확인하는 동작; 및상기 PMKSA가 존재한다는 확인에 기초하여 상기 PMKSA에 저장된 PMK의 라이프타임(lifetime)과 상기 PMK의 사용을 보장받을 수 있는 마진 타임(margin time)을 비교함으로써 상기 PMK의 재사용 여부를 결정하는 동작을 포함하는, 전자 장치의 동작 방법.
- 제14항에 있어서,상기 마진 타임은,상기 AP가 지원하는 무선 통신에 대한 사용 정보에 기초하여 설정되는 것인, 전자 장치의 동작 방법.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP22855986.0A EP4336882A4 (en) | 2021-08-09 | 2022-06-09 | ELECTRONIC DEVICE AND METHOD FOR USING PMK |
| CN202280053398.8A CN117837184A (zh) | 2021-08-09 | 2022-06-09 | 电子装置和使用pmk的方法 |
| US17/863,085 US12273449B2 (en) | 2021-08-09 | 2022-07-12 | Electronic device and method of using pairwise master key |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR10-2021-0104383 | 2021-08-09 | ||
| KR1020210104383A KR20230022517A (ko) | 2021-08-09 | 2021-08-09 | 전자 장치 및 pmk 사용 방법 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US17/863,085 Continuation US12273449B2 (en) | 2021-08-09 | 2022-07-12 | Electronic device and method of using pairwise master key |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023017984A1 true WO2023017984A1 (ko) | 2023-02-16 |
Family
ID=85200023
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/KR2022/008100 Ceased WO2023017984A1 (ko) | 2021-08-09 | 2022-06-09 | 전자 장치 및 pmk 사용 방법 |
Country Status (2)
| Country | Link |
|---|---|
| KR (1) | KR20230022517A (ko) |
| WO (1) | WO2023017984A1 (ko) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110010539A1 (en) * | 2009-07-13 | 2011-01-13 | Research In Motion Limited | Methods And Apparatus For Maintaining Secure Connections In A Wireless Communication Network |
| US20140050320A1 (en) * | 2012-08-15 | 2014-02-20 | Interdigital Patent Holdings, Inc. | Enhancements to enable fast security setup |
| US20170019785A1 (en) * | 2009-06-24 | 2017-01-19 | Marvell World Trade Ltd. | System and method for establishing security in network devices capable of operating in multiple frequency bands |
| US20200236543A1 (en) * | 2016-03-09 | 2020-07-23 | Qualcomm Incorporated | Wwan-wlan aggregation security |
| US20200267541A1 (en) * | 2019-05-06 | 2020-08-20 | Po-Kai Huang | Security for multi-link operation |
-
2021
- 2021-08-09 KR KR1020210104383A patent/KR20230022517A/ko active Pending
-
2022
- 2022-06-09 WO PCT/KR2022/008100 patent/WO2023017984A1/ko not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170019785A1 (en) * | 2009-06-24 | 2017-01-19 | Marvell World Trade Ltd. | System and method for establishing security in network devices capable of operating in multiple frequency bands |
| US20110010539A1 (en) * | 2009-07-13 | 2011-01-13 | Research In Motion Limited | Methods And Apparatus For Maintaining Secure Connections In A Wireless Communication Network |
| US20140050320A1 (en) * | 2012-08-15 | 2014-02-20 | Interdigital Patent Holdings, Inc. | Enhancements to enable fast security setup |
| US20200236543A1 (en) * | 2016-03-09 | 2020-07-23 | Qualcomm Incorporated | Wwan-wlan aggregation security |
| US20200267541A1 (en) * | 2019-05-06 | 2020-08-20 | Po-Kai Huang | Security for multi-link operation |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4336882A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| KR20230022517A (ko) | 2023-02-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2022158637A1 (ko) | 무선통신 시스템에서 액세스 포인트의 정보를 제공하는 전자 장치 및 그 방법 | |
| WO2022220584A1 (ko) | 전자 장치 및 전자 장치에서 외부 전자 장치의 클라우드 온보딩을 수행하는 방법 | |
| WO2022158731A1 (ko) | 데이터 패스를 셋업하는 전자 장치 및 그 동작 방법 | |
| WO2022225195A1 (ko) | 무선 네트워크에서 장치 프로비져닝을 위한 전자 장치 및 그 동작 방법 | |
| WO2022220436A1 (ko) | 네트워크 억세스 동작을 수행하는 전자 장치 및 그 동작 방법 | |
| WO2022186482A1 (ko) | 공유 암호 키 갱신을 수행하는 방법 및 이를 지원하는 전자 장치 | |
| WO2022164179A1 (ko) | 전자 장치 및 전자 장치에서 와이파이 기반 로밍 방법 | |
| WO2022092707A1 (ko) | 복수의 가입자 식별 모듈을 포함하는 사용자 단말 | |
| WO2022145725A1 (ko) | 복수의 가입자 식별 모듈을 포함하는 전자 장치 및 그의 동작 방법 | |
| WO2023017984A1 (ko) | 전자 장치 및 pmk 사용 방법 | |
| WO2024025155A1 (ko) | 채널 측정을 위한 전자 장치 및 그의 동작 방법 | |
| WO2024106808A1 (ko) | 무선 통신을 수행하기 위한 전자 장치 및 그의 동작 방법 | |
| WO2024096530A1 (ko) | Nan 통신의 클러스터들을 병합하기 위한 전자 장치 및 그 동작 방법 | |
| WO2023136430A1 (ko) | 전자 장치 및 로밍 방법 | |
| WO2023210952A1 (ko) | Aka를 통한 상호 tls 인증 시스템 및 장치 | |
| WO2023167452A1 (ko) | 복수의 가입자 식별 모듈들을 포함하는 전자 장치 및 그의 동작 방법 | |
| WO2022177229A2 (ko) | 전자 장치 및 복수 심을 지원하는 전자 장치에서 통신 네트워크에 등록하는 방법 | |
| WO2022154310A1 (ko) | 전자 장치 및 전자 장치에서 블루투스 통신 기반의 송신 파워 제어 방법 | |
| WO2022231154A1 (ko) | 애드버타이즈먼트를 이용한 위치결정 방법 및 이를 위한 전자 장치 | |
| WO2023017950A1 (ko) | Ss/pbch 블록 및 데이터의 수신 간격에 기반하여 통신 회로를 제어하는 전자 장치 및 전자 장치의 동작 방법 | |
| WO2022196898A1 (ko) | 통신의 품질을 측정하는 전자 장치 및 전자 장치의 동작 방법 | |
| WO2021256747A1 (ko) | 페어링된 장치 정보에 기반한 통신 방법 및 이를 위한 전자 장치 | |
| WO2026071502A1 (ko) | 무선랜 통신을 위한 전자 장치 및 그의 동작 방법 | |
| WO2022097905A1 (ko) | 와이파이 기반의 복수의 통신 방식을 지원하는 전자 장치 및 이의 제어 방법 | |
| WO2022265202A1 (ko) | 통화 기능을 제공하기 위한 전자 장치 및 그의 동작 방법 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22855986 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2022855986 Country of ref document: EP Ref document number: 22855986.0 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2022855986 Country of ref document: EP Effective date: 20231204 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202347086663 Country of ref document: IN |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202280053398.8 Country of ref document: CN |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |








