Electronic device and method for configuring IP address

By dynamically adjusting wake-up intervals based on IP address lifetime, the device maintains stable connections and reduces power consumption by ensuring timely receipt of DTIM information for IPv6 address extension in stateless configuration.

WO2025263757A1PCT designated stage Publication Date: 2025-12-26SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2025/004055
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-09-25
Filing Date
2025-03-28
Publication Date
2025-12-26

AI Technical Summary

Technical Problem

Electronic devices using stateless IPv6 address configuration methods face issues with IPv6 address expiration due to failure in receiving router advertisement messages, leading to disrupted connections and increased power consumption when frequently waking up to receive beacon frames.

Method used

The electronic device adjusts its wake-up period to receive beacon frames based on the remaining lifetime of the IP address, reducing the interval when necessary to ensure timely receipt of DTIM information for IP address extension, thereby maintaining connectivity while minimizing power usage.

Benefits of technology

This approach ensures stable network connections by extending IP addresses and reduces power consumption by optimizing wake-up times, balancing connection stability and energy efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025004055_26122025_PF_FP_ABST
    Figure KR2025004055_26122025_PF_FP_ABST
Patent Text Reader

Abstract

An electronic device according to an embodiment may comprise a wireless communication module. The electronic device may comprise at least one processor including processing circuitry. The electronic device may comprise a memory storing instructions. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to receive, from an external electronic device through the wireless communication module, a beacon frame including delivery traffic indication message (DTIM) information about configuration of an IP address. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to generate, on the basis of the DTIM information, an IP address usable during a lifetime for maintaining a connection between the electronic device and the external electronic device. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to, on the basis of the remaining time of the lifetime of the IP address being less than a first threshold value, reduce a wake-up period, during which the wireless communication module wakes up to receive a beacon frame, from a first time interval to a second time interval. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to, on the basis of the electronic device being in a sleep state, wake up the wireless communication module according to the wake-up period to receive a beacon frame at a next time point from the external electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

How to set up electronic devices and IP addresses

[0001] Various embodiments of the present invention relate to an electronic device and a method for setting an IP address.

[0002] As the number of network subscribers increased, the IPv6 address system was developed to address the depletion and shortcomings of the IPv4 (Internet Protocol Version 4) address system. Because the IPv6 address system offers a larger number of addresses than the 32-bit IPv4 address system, it can accommodate a greater number of subscribers.

[0003] There are two main types of IPv6 address configuration methods: stateful address configuration and stateless address configuration.

[0004] Stateful address configuration can be a method of setting IPv6 addresses and other configuration information according to the dynamic host configuration protocol (DHCP). Stateless address configuration can be a method of generating IPv6 addresses on the terminal itself using messages transmitted over the network (e.g., router advertisement messages (RA messages) and / or router solicitation messages (RS messages)) without a server (e.g., a DHCP server).

[0005] Electronic devices can reduce power consumption by waking up periodically rather than receiving all beacon frames from the AP while in a sleep state. However, in the case of electronic devices using a stateless address configuration method, failure to receive RA messages can lead to IPv6 address expiration.

[0006] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above is applicable as prior art related to the present disclosure.

[0007] According to one embodiment, an electronic device may include a wireless communication module. The electronic device may include at least one processor including processing circuitry. The electronic device may include a memory storing instructions. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to receive, through the wireless communication module, a beacon frame including delivery traffic indication message (DTIM) information regarding the setting of an IP address from an external electronic device. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to generate, based on the DTIM information, an IP address that is available for a lifetime for maintaining a connection between the electronic device and the external electronic device. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to reduce a wake-up period, during which the wireless communication module wakes up to receive a beacon frame, from a first time interval to a second time interval, based on a remaining time of the lifetime of the IP address being less than a first threshold value. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to wake up the wireless communication module according to the wake-up period to receive a next time point beacon frame from the external electronic device, based on the electronic device being in a sleep state.

[0008] According to one embodiment, an operating method of an electronic device may include receiving a beacon frame including DTIM information regarding setting of an IP address from an external electronic device through a wireless communication module. The operating method may include generating an IP address that is available for a lifetime for maintaining a connection between the electronic device and the external electronic device based on the DTIM information. The operating method may include reducing a wake-up period, during which the wireless communication module wakes up to receive a beacon frame, from a first time interval to a second time interval, based on a remaining time of the lifetime being less than a first threshold value. The operating method may include waking up the wireless communication module according to the wake-up period to receive a beacon frame at a next time point from the external electronic device based on the electronic device being in a sleep state.

[0009] FIG. 1 illustrates an example of a wireless LAN system according to various embodiments.

[0010] FIG. 2 illustrates another example of a wireless LAN system according to various embodiments.

[0011] FIG. 3 is a diagram for explaining link setup operations according to various embodiments.

[0012] Figure 4 is a schematic block diagram of the STA and AP illustrated in Figure 3.

[0013] FIG. 5 is a diagram for explaining a power management operation of an STA according to one embodiment.

[0014] FIGS. 6 to 8 are drawings for explaining in detail the operation of an STA that receives a TIM according to one embodiment.

[0015] FIG. 9 is a diagram illustrating a beacon frame transmitted from an AP according to one embodiment.

[0016] Fig. 10 is an example of a flowchart of a method for setting an IP address according to one embodiment.

[0017] Fig. 11 is a drawing for explaining in detail an IP address setting method according to one embodiment.

[0018] FIG. 12 is a block diagram of an electronic device within a network environment according to one embodiment.

[0019] Hereinafter, embodiments will be described in detail with reference to the attached drawings. In the description with reference to the attached drawings, identical components are assigned the same reference numerals regardless of the drawing numbers, and redundant descriptions thereof will be omitted.

[0020]

[0021] FIG. 1 illustrates an example of a wireless LAN system according to various embodiments.

[0022] Referring to FIG. 1, according to various embodiments, a wireless LAN system (10) may represent an infrastructure mode in which an access point (AP) exists in the structure of a wireless LAN (WLAN) of the Institute of Electrical and Electronic Engineers (IEEE) 802.11. The wireless LAN system (10) may include one or more basic service sets (BSS) (e.g., BSS1, BSS2). A BSS (BSS1, BSS2) may mean a set of APs and STAs (stations) (e.g., electronic devices (1201), (1202), or (1204) of FIG. 12) that can successfully synchronize and communicate with each other. BSS1 may include AP1 and STA1, and BSS2 may include two or more STA2s and STA3s that can be coupled to one AP2.

[0023] According to various embodiments, a wireless LAN system (10) may include at least one STA (STA1 to STA3), an AP (AP1, AP2) providing a distribution service, and a distribution system (100) connecting a plurality of APs (AP1, AP2). The distribution system (100) may connect a plurality of BSSs (BSS1, BSS2) to implement an extended service set (ESS). The ESS may be used as a term indicating a network formed by connecting one or more APs (AP1, AP2) through the distribution system (100). The APs (AP1, AP2) included in one ESS may have the same SSID (service set identification).

[0024] According to various embodiments, STAs (STA1 to STA3) may be any functional medium including a medium access control (MAC) and a physical layer interface for a wireless medium that complies with the IEEE 802.11 standard. STAs (STA1 to STA3) may be used to mean both APs and non-AP STAs. STAs (STA1 to STA3) may also be referred to by various names, such as electronic devices, mobile terminals, wireless devices, wireless transmit / receive units (WTRUs), user equipment (UEs), mobile stations (MSs), mobile subscriber units, or simply users.

[0025]

[0026] FIG. 2 illustrates another example of a wireless LAN system according to various embodiments.

[0027] Referring to FIG. 2, according to various embodiments, the wireless LAN system (20) may represent an ad-hoc mode in which, unlike the wireless LAN system (10) of FIG. 1, communication is performed by establishing a network between STAs (STA1 to STA3) without an AP in the structure of a wireless LAN (WLAN) of IEEE 802.11. The wireless LAN system (20) may include a BSS operating in an ad-hoc mode, i.e., an independent basic service set (IBSS).

[0028] In various embodiments, the IBSS may not have a centralized management entity (CME) because it does not include APs. In the IBSS, STAs may be managed in a distributed manner. In the IBSS, all STAs may be mobile, and access to a distributed system (e.g., the distributed system (100) of FIG. 1) is not permitted, thereby forming a self-contained network (or integrated network).

[0029]

[0030] FIG. 3 is a diagram for explaining link setup operations according to various embodiments.

[0031] Referring to FIG. 3, according to various embodiments, a link setup operation may be performed between devices (e.g., STA (301), AP (401)) to communicate with each other. For link setup, a network may be discovered, authentication may be performed, an association may be established, and a security configuration operation may be performed. The link setup operation may be a session initiation operation or a session setup operation. In addition, the link setup operation's discovery, authentication, association, and security configuration operations may be collectively referred to as an association operation.

[0032] According to various embodiments, the network discovery operation may include operations 310 and 320. In operation 310, the STA (301) (e.g., the electronic device (1201), the electronic device (1202), or the electronic device (1204) of FIG. 12) may transmit a probe request frame to search for an AP and wait for a response thereto. The STA (301) may perform a scanning operation to access a network to find a network to which it can join. The scanning operation may include an active scanning operation and a passive scanning operation. In operation 320, the AP (401) may transmit a probe response frame to the STA (301) that transmitted the probe request frame in response to the probe request frame.

[0033] According to various embodiments, after the STA (301) discovers a network, an authentication operation including operations 330 and 340 may be performed. In operation 330, the STA (301) may transmit an authentication request frame to the AP (401). In operation 340, the AP (401) may determine whether to allow authentication for the STA (301) based on information included in the authentication request frame. The AP (401) may provide the result of the authentication process to the STA (301) through an authentication response frame. The authentication frame used for the authentication request / response may correspond to a management frame.

[0034] According to various embodiments, the authentication frame may include information about an authentication algorithm number, an authentication transaction sequence number, a status code, a challenge text, a robust security network (RSN), or a finite cyclic group.

[0035] According to various embodiments, after STA (301) is successfully authenticated, an association operation including operations 350 and 360 may be performed. In operation 350, STA (301) may transmit an association request frame to AP (401). In operation 360, AP (401) may transmit an association response frame to STA (301) in response to the association request frame.

[0036] According to various embodiments, the association request frame and / or the association response frame may include information related to various capabilities. For example, the association request frame may include information related to various capabilities, a beacon listen interval, a service set identifier (SSID), supported rates, supported channels, RSN, mobility domain, supported operating classes, a traffic indication map broadcast request, and / or information about interworking service capabilities. For example, the association response frame may include information related to various capabilities, status codes, association ID (AID), supported rates, enhanced distributed channel access (EDCA) parameter sets, received channel power indicator (RCPI), received signal to noise indicator (RSNI), mobility domains, timeout interval (association comeback time), overlapping BSS scan parameters, TIM broadcast response, and / or QoS maps.

[0037] According to various embodiments, after the STA (301) is successfully associated with the network, a security setup operation including operations 370 and 380 may be performed. The security setup operation may be performed via a robust security network association (RSNA) request / response. For example, the security setup operation may include an operation of setting up a private key via a four-way handshaking via an extensible authentication protocol over LAN (EAPOL) frame. The security setup operation may also be performed according to a security method not defined in the IEEE 802.11 standard.

[0038] According to various embodiments, a security session is established between STA (301) and AP (401) according to a security setup operation, and STA (301) and AP (401) can perform secure data communication.

[0039]

[0040] Figure 4 is a schematic block diagram of the STA and AP illustrated in Figure 3.

[0041] Referring to FIG. 4, an electronic device (305) (e.g., STA (301) of FIG. 3) may include a wireless communication module (440), a processor (450), and a memory (460). The wireless communication module (440) may be configured to transmit and receive wireless signals. The wireless communication module (440) may be a Wi-Fi chipset. The wireless communication module (440) may support multiple bands of 2.4 GHz, 5 GHz, and / or 6 GHz. The processor (450) may be operatively connected to the wireless communication module (440). The memory (460) may be electrically connected to the processor (450) and store one or more instructions executable by the processor (450). The electronic device (305) may correspond to the electronic device described in FIG. 12 (e.g., the electronic device (1201) of FIG. 12). Therefore, the description overlapping with the part to be described with reference to Fig. 12 is omitted. The operation performed by the electronic device (305) may include the operation performed by the wireless communication module (440) and the operation performed by the processor (450) through the wireless communication module (440).

[0042] According to one embodiment, the memory (460) may include one or more memories. The instructions stored in the memory (460) may be stored in a single memory. The instructions stored in the memory (460) may be divided and stored in a plurality of memories. The instructions stored in the memory (460) may be executed by the processor (450) to cause the electronic device (305) to perform and / or control the operation of the electronic device (e.g., STA (301)) described with reference to FIGS. 1 to 3 and the operation of the electronic device (305) described with reference to FIGS. 5 to 11.

[0043] According to one embodiment, the processor (450) may be implemented as a circuit (e.g., a processing circuit) such as a system on chip (SoC) or an integrated circuit (IC). The processor (450) may include one or more processors. For example, the processor (450) may include a combination of one or more processors such as a CPU, a GPU, an MPU, an AP, and a CP. The CP may be internal to the wireless communication module (440) or external to the wireless communication module (440). Instructions stored in the memory (460) may be executed by one processor to cause the electronic device (305) to perform and / or control the operation of the electronic device (e.g., the STA (301)) described with reference to FIGS. 1 to 3 and the operation of the electronic device (305) described with reference to FIGS. 5 to 12. Instructions stored in the memory (460) may be executed by a plurality of processors to cause the electronic device (305) to perform and / or control the operation of the electronic device (e.g., STA (301)) described with reference to FIGS. 1 to 3 and the operation of the electronic device (305) described with reference to FIGS. 5 to 11.

[0044] According to one embodiment, an electronic device (405) (e.g., AP (401) of FIG. 3) may include a wireless communication module (410), a processor (420), and a memory (430). The wireless communication module (410) may be configured to transmit and receive wireless signals. The wireless communication module (410) may be a Wi-Fi chipset. The wireless communication module (410) may support multiple bands of 2.4 GHz, 5 GHz, and / or 6 GHz. The processor (420) may be operatively connected to the wireless communication module (410). The memory (430) may be electrically connected to the processor (420) and store one or more instructions executable by the processor (420).

[0045]

[0046] FIG. 5 is a diagram for explaining a power management operation of an STA according to one embodiment.

[0047] Referring to FIG. 5, according to one embodiment, an AP (510) (e.g., AP (401) of FIG. 3 and / or electronic device (405) of FIG. 4) may transmit a beacon frame to STAs (520 and 530) within a BSS (e.g., STA (301) of FIG. 3 and / or electronic device (305) of FIG. 4) at regular intervals (511, 512, 513, 514, 515, 516). The STA (520) may receive the beacon frame from the AP (510) through a wireless communication module (e.g., wireless communication module (440) of FIG. 4) included in the STA (520).

[0048] According to one embodiment, a beacon frame may include a TIM element (traffic indication map element). The TIM element includes information indicating that the AP (510) has buffered traffic for its associated STAs (520 and 530) and will transmit frames. The TIM element may include TIM information used to indicate unicast frames and DTIM (delivery traffic indication map) information used to indicate multicast or broadcast frames. The TIM information may mean information for notifying connected STAs (520 and 530) that the AP (510) is buffering unicast frames to be transmitted when transmitting a beacon frame. DTIM information may be information for notifying connected STAs (520 and 530) that the AP (510) is buffering a multicast frame (or broadcast frame) (e.g., including information regarding IP address settings) to be transmitted when transmitting a beacon frame from the AP (510). The configuration of the TIM element will be described in detail with reference to FIG. 9.

[0049] According to one embodiment, an STA (e.g., STA1 (520) and / or STA2 (530)) may generate an IP address (e.g., an IPv6 address) for maintaining a connection with the AP (510) based on messages exchanged with the AP (510). Hereinafter, a method for STA1 (520) to generate an IP address using a stateless address configuration method will be described in detail.

[0050] According to one embodiment, when setting of an IP address is required, STA1 (520) may obtain the link-local address of AP (510) using a neighbor discovery mechanism. When STA1 (520) obtains the link-local address of AP (510), STA1 (520) may transmit an RS message (router solicitation message) to AP (510). The RS message may include identification information of STA1 (520). The RS message may be a message transmitted by STA1 (520) to AP (510) to request an update of a routing table, and may be a message transmitted to find out the location of AP (510) on the network. When AP (510) receives the RS message, it may transmit the prefix of the entire IP address and the lifetime of the IP address to STA1 (520) through an RA message (router advertisement message). The RA message may be a message related to the generation of an IP address. The RA message may be a message that the AP (510) informs STA1 (520) of its presence and routing information on the network in response to an RS message (or periodically transmitted from the AP (510) to STA1 (520)). The RA message is transmitted through a multicast frame, and STA1 (520) can obtain the RA message through a beacon frame containing DTIM information. STA1 (520) can generate an IP address for connecting to the AP (510) by combining the prefix of the obtained IP address and the interface identifier. The generated IP address may be available only during the lifetime of the IP address set by the AP (510). STA1 (520) may need to extend the IP address in order to maintain the connection with the AP (510). STA1 (520) can extend the IP address by receiving DTIM information from the AP (510).If STA1 (520) does not receive DITM information from AP (510) during the lifetime of the IP address, the connection with AP (510) may be terminated.

[0051] According to one embodiment, the AP (510) may transmit a beacon frame containing DTIM information according to a set DTIM cycle (e.g., set by the AP (510)). For example, if the DTIM cycle is set to 3, the AP (510) may transmit DTIM information once every three beacon frames.

[0052] According to one embodiment, STA1 (520) and STA2 (530) may be STAs operating in a power save (PS) mode. STA1 (520) and STA2 (530) may be configured to receive DTIM information transmitted by the AP (510) by switching from a sleep state to an awake state (or a non-sleep state) at a wakeup interval (or wakeup period) of a predetermined cycle (e.g., a cycle in which a wireless communication module included in STA1 (520) and / or a wireless communication module included in STA2 (530) wakes up to receive a beacon frame from the AP (510). STA1 (520) and / or STA2 (530) may determine the wakeup period based on the DTIM cycle set by the AP (510). For example, when the DTIM period is set to 3 by the AP (510), STA1 (520) can set the wake-up period to 3, which is the same as the DTIM period. However, the present invention is not limited thereto, and STA1 (520) can set the wake-up period to a multiple of the DTIM period (e.g., a multiple of 3) (e.g., 6, 9, 12) through a linear method (e.g., n (e.g., n is a natural number greater than or equal to 1) times). In addition, STA1 (520) can set the wake-up period to a multiple of the DTIM period through a non-linear method (e.g., a log function and / or an exponential function).

[0053] According to one embodiment, the setting operation of the wake-up cycle may be performed by the processor of STA1 (520), and the processor of STA1 (520) may transmit the set wake-up cycle to a wireless communication module (e.g., a Wi-Fi chipset) of STA1 (520). The wireless communication module of STA1 (520) may wake up according to the wake-up cycle and receive a beacon frame from the AP (510).

[0054] If STA1 (520) receives DTIM information transmitted by AP (510), the IP address can be extended, but if STA1 (520) does not receive DTIM information transmitted by AP (510), the IP address may expire. For example, if the wake-up cycle of STA1 (520) is increased, the power consumption of STA1 (520) may be reduced, but the IP address may expire because DTIM information may not be received from AP (510). On the other hand, if the wake-up cycle of STA1 (520) is decreased, the possibility of receiving DTIM information from AP (510) increases, but the power consumption of STA1 (520) may increase. That is, considering the stability of the connection with the AP (510) and the power consumption of the STA1 (520), it may be important to set the wake-up cycle for the wireless communication module of the STA1 (520) to wake up to receive a beacon frame from the AP (510).

[0055] For convenience of explanation, in the following description, each STA (e.g., STA1 (520) and / or STA2 (530)) can calculate the time point at which to transition to an awake state based on its own local clock, and in the example of FIG. 5, it is assumed that the clock of the STA (e.g., STA1 (520) and / or STA2 (530)) matches the clock of the AP (510).

[0056] According to one embodiment, a predetermined wake-up interval may be set so that STA1 (520) can transition to an awake state at each beacon interval and receive a TIM element. Accordingly, STA1 (520) can transition to an awake state (521) when AP (510) first transmits a beacon frame (511). STA1 (520) can receive the beacon frame and acquire a TIM element. If the acquired TIM element indicates that there is a frame to be transmitted to STA1 (520), STA1 (520) can transmit a PS-Poll (Power Save-Poll) frame requesting frame transmission to AP (510) (521a). AP (510) can transmit a frame to STA1 (520) in response to the PS-Poll frame (531). STA1 (520) that has completed frame reception can return to sleep mode and operate.

[0057] According to one embodiment, when AP (510) transmits a beacon frame for the second time, since the medium is busy, such as when another device is accessing the medium, AP (510) may not transmit the beacon frame at the exact beacon interval but may transmit it at a delayed time (512). In this case, STA1 (520) switches its operation mode to the awake state according to the beacon interval, but may not receive the delayed transmitted beacon frame and may switch back to the sleep state (522).

[0058] According to one embodiment, when AP (510) transmits a beacon frame for the third time, the beacon frame may include a TIM element set to DTIM. However, since the medium is occupied (busy medium), AP (510) may delay transmission of the beacon frame (513). STA1 (520) operates by switching to an awake state according to the beacon interval, and may obtain DTIM information through the beacon frame transmitted by AP (510). If the DTIM information acquired by STA1 (520) indicates that there is no frame to be transmitted to STA1 (520) and that there is a frame for another STA (e.g., STA2 (530)), STA1 (520) may confirm that there is no frame to be received, and may switch back to a sleep state and operate. After transmitting the beacon frame, AP (510) may transmit a frame to STA2 (530) (532).

[0059] According to one embodiment, AP (510) may transmit a beacon frame for the fourth time (514). However, since STA1 (520) was not able to obtain information that there is buffered traffic for itself through the reception of TIM elements twice in the past, the wake-up interval for receiving the TIM element may be adjusted. Alternatively, if the beacon frame transmitted by AP (510) includes signaling information for adjusting the wake-up interval value of STA1 (520), the wake-up interval value of STA1 (520) may be adjusted. In this example, STA1 (220) may be configured to switch the operating state from switching the operating state for receiving the TIM element every beacon interval to waking up once every three beacon intervals. Therefore, STA1 (220) cannot acquire the corresponding TIM element because it remains in a sleep state at the time when AP (210) transmits the fourth beacon frame (514) and the fifth beacon frame (515).

[0060] According to one embodiment, when the AP (510) transmits the beacon frame for the sixth time (516), STA1 (520) may switch to the awake state and operate and obtain the TIM element included in the beacon frame (524). Since the TIM element is a DTIM indicating the presence of a broadcast frame, STA1 (520) may receive the broadcast frame transmitted by the AP (510) without transmitting a PS-Poll frame to the AP (510) (534). Meanwhile, the wake-up interval set for STA2 (530) may be set to a longer period than that of STA1 (520). Therefore, STA2 (530) may switch to the awake state and receive the TIM element at the time point (515) when the AP (510) transmits the beacon frame for the fifth time (541). STA2 (530) may know that there is a frame to be transmitted to it through the TIM element and may transmit a PS-Poll frame to AP (510) to request frame transmission (541a). AP (510) may transmit a frame to STA2 (530) in response to the PS-Poll frame (533).

[0061] For power saving mode operation as in Fig. 5, the TIM element may include TIM information indicating whether a frame to be transmitted to an STA (e.g., STA1 (520) and / or STA2 (530)) exists, or DTIM information indicating whether a broadcast / multicast frame exists. The DTIM information may be implemented through field settings of the TIM element.

[0062]

[0063] FIGS. 6 to 8 are drawings for explaining in detail the operation of an STA that receives a TIM according to one embodiment.

[0064] Referring to FIG. 6, according to one embodiment, an STA (e.g., STA (301) of FIG. 3, electronic device (305) of FIG. 4, STA1 (520) of FIG. 5, and / or STA2 (530)) may transition from a sleep state to an awake state to receive a beacon frame including a TIM element from an AP (e.g., AP (401) of FIG. 3, electronic device (405) of FIG. 4, AP (510) of FIG. 5) and interpret the received TIM element to determine that there is buffered traffic to be transmitted to itself. After contending with other STAs for medium access for transmitting a PS-Poll frame, the STA (301) may transmit a PS-Poll frame to request the AP (401) to transmit a data frame. The AP (401) that receives the PS-Poll frame transmitted by the STA (301) may transmit the frame to the STA (301). STA (301) may receive a data frame and transmit an acknowledgment (ACK) frame to AP (401). Thereafter, STA (301) may transition back to a sleep state.

[0065] According to one embodiment, the AP (401) may operate in an immediate response manner in which it transmits a data frame after a predetermined time (e.g., a short inter-frame space (SIFS)) after receiving a PS-Poll frame from the STA (301). On the other hand, if the AP (401) does not prepare a data frame to be transmitted to the STA (301) within the SIFS time after receiving the PS-Poll frame, it may operate in a deferred response manner, which will be described with reference to FIG. 7.

[0066] Referring to FIG. 7, according to one embodiment, an operation in which an STA (e.g., STA (301) of FIG. 3, electronic device (305) of FIG. 4, STA1 (520) of FIG. 5, and / or STA2 (530)) transitions from a sleep state to an awake state, receives a TIM element from an AP (e.g., AP (401) of FIG. 3, electronic device (405) of FIG. 4, AP (510) of FIG. 5) and transmits a PS-Poll frame to the AP (401) through contention may be substantially the same as the example of FIG. 6. If the AP (401) does not prepare a data frame during SIFS even after receiving the PS-Poll frame, it may transmit an ACK frame to the STA (301) instead of transmitting the data frame. If the AP (401) prepares a data frame after transmitting the ACK frame, it may perform contending and then transmit the data frame to the STA (301). STA (301) may transmit an ACK frame indicating that it has successfully received a data frame to AP (401) and transition to a sleep state.

[0067] Referring to FIG. 8, according to one embodiment, an AP (e.g., AP (401) of FIG. 3, electronic device (405) of FIG. 4, AP (510) of FIG. 5) may transmit a beacon frame including DTIM information to an STA (e.g., STA (301) of FIG. 3, electronic device (305) of FIG. 4, STA1 (520) of FIG. 5, and / or STA2 (530)). The STA (301) may transition from a sleep state to an awake state to receive the beacon frame including DTIM information from the AP (401). The STA (301) may know that a multicast / broadcast frame will be transmitted through the received DTIM information. After transmitting the beacon frame including DTIM information, the AP (401) may transmit data (i.e., a multicast / broadcast frame) directly without transmitting and receiving a PS-Poll frame. After receiving a beacon frame containing DTIM information, STA (301) can continue to receive data while maintaining an awake state, and after data reception is complete, transition back to a sleep state. At this time, STA (301) can extend (or generate) an IP address through a stateless address setting method based on the DTIM information. The stateless address setting method has been described in detail with reference to FIG. 5, and thus a detailed description thereof will be omitted herein.

[0068] Referring to FIGS. 5 to 8, a method for exchanging messages between an AP (401) and a STA (301) according to a DTIM cycle (or DTIM interval) (e.g., a cycle for including DTIM information in a beacon frame when the AP (401) transmits a beacon frame to the STA (301)) and a wake-up cycle (or wake-up interval) (e.g., a cycle for the STA (301) to wake up to receive a beacon frame from the AP (401)) is described in detail. For example, the AP (401) may transmit a beacon frame including DTIM information to the STA (301) every third beacon frame based on the DTIM cycle (e.g., 3). The STA (301) may set the wake-up cycle to a multiple of the DTIM cycle. The wake-up cycle of the STA (301) may be set to a multiple of the DTIM cycle (e.g., 2). In this case, the STA (301) can wake up every 6th beacon frame and receive a beacon frame from the AP (401). At this time, depending on the transmission delay problem of the beacon frame (e.g., the problem that the AP (401) cannot transmit the beacon frame at the exact beacon interval when the medium is occupied but transmits it at a delayed time), the DTIM information may not be included in the beacon frame transmitted when the STA (301) wakes up. As a result, a problem may occur in which the STA (301) does not receive the DTIM information until the IP address expires. Therefore, a method of variably setting the wake-up cycle of the STA (301) may be required so that the beacon frame including the DTIM information can be received from the AP (401) before the IP address of the STA (301) expires. This will be described in detail with reference to FIGS. 10 and 11 below.

[0069]

[0070] FIG. 9 is a diagram illustrating a beacon frame transmitted from an AP according to one embodiment.

[0071] Referring to FIG. 9, according to one embodiment, a beacon frame (910) may be a beacon frame transmitted by an AP (e.g., AP (401) of FIG. 3, electronic device (405) of FIG. 4, AP (510) of FIG. 5) to an electronic device (e.g., STA (301) of FIG. 3, electronic device (305) of FIG. 4, STA1 (520) of FIG. 5, and / or STA2 (530)) in an IEEE 802.11 system.

[0072] According to one embodiment, a beacon frame (910) may be implemented with an 802.11 MAC header and a frame body (930). The frame body may include essential fields and optional fields (950), and a TIM element may be implemented within the optional fields (950). Hereinafter, the essential fields will be briefly described, and the optional fields (950) will be described in detail.

[0073] According to one embodiment, the required fields may include a timestamp, a beacon interval (or beacon period), capability information, and a service set identifier (SSID). The timestamp may be a field for synchronization between stations within a BSS. The beacon interval may be a field regarding the transmission period of a beacon frame transmitted from an AP (401) to an STA (301). The capability information may be a field regarding information regarding a specific capability required for an STA (301) that wishes to participate in the corresponding BSS. The SSID may be a field regarding the name of a service provider of a single jurisdiction area (extended service set, ESS) that groups multiple APs.

[0074] According to one embodiment, the TIM element may be used to inform the STA (301) wirelessly connected to the AP (401) of buffering information of beacon frames to be transmitted by the AP (401). The TIM element may include TIM information regarding buffering information of unicast frames and / or DTIM information regarding buffering information of multicast frames (or broadcast frames).

[0075] According to one embodiment, a TIM element may be implemented in an option field (950). The TIM element may include an Element ID, a Length, a DTIM Count, a DTIM Period, a Bitmap Control, and a Partial Virtual Bitmap. The Element ID may be a field indicating that an element included in the current beacon frame is a TIM element. The DTIM Count may be a field regarding whether the current beacon frame includes DTIM information and / or the number of beacon frames remaining until the next beacon frame including DTIM information if the current beacon frame does not include DTIM information. The DTIM Period may be a field regarding a period for transmitting a beacon frame including DTIM information. The Bitmap Control may be a field indicating whether broadcast and / or multicast frames are buffered. The partial virtual bitmap may be a field indicating the AID of specific wireless terminals (e.g., STA (301)) that indicate the presence of buffered data (e.g., each bit indexed by the AID corresponds to a specific STA within the BSS). The buffered data (e.g., unicast frames, broadcast frames, and / or multicast frames) may be aligned with DTIM information and / or TIM information and implemented in the options field (950).

[0076] According to one embodiment, the STA (301) may receive a beacon frame including a TIM element from the AP (401) and obtain buffered frames. For example, the AP (401) may transmit a beacon frame including a TIM element at every beacon interval. According to a DTIM cycle (e.g., a DTIM cycle set in the option field (950)), the TIM element may include DTIM information (e.g., information regarding whether a multicast frame indicated by a bitmap control in the option field (950) is buffered). The STA (301) may receive a beacon frame including DTIM information and obtain a multicast frame based on the DTIM information. When the STA (301) receives a beacon frame including DTIM information, the STA (301) may know that a multicast frame is being buffered. Through this, the STA (301) may confirm that a multicast frame will be transmitted together with the DTIM information.

[0077] In one embodiment, the RA message may be transmitted via a multicast frame. The RA message is a message regarding IP address configuration and may include prefix information for the entire IP address and the IP address lifetime (e.g., may be transmitted together with the prefix information in the options field of the RA message).

[0078] According to one embodiment, the STA (301) may need to receive an RA message to generate and / or extend an IP address. To this end, the STA (301) may need to receive a beacon frame including DTIM information from the AP (401) and acquire a multicast frame including an RA message based on the DTIM information. If the wireless communication module of the STA (301) wakes up when the AP (401) transmits a beacon frame including DTIM information according to the DTIM cycle, the STA (301) can check the DTIM information and extend the IP address through the RA message. However, if the wireless communication module of the STA (301) does not wake up when the AP (401) transmits a beacon frame including DTIM information according to the DTIM cycle, the STA (301) cannot extend the IP address. Therefore, it may be important to set the wake-up cycle of the wireless communication module so that the STA (301) receives a beacon frame containing DTIM information before the IP address expires.

[0079]

[0080] Fig. 10 is an example of a flowchart of a method for setting an IP address according to one embodiment.

[0081] Referring to FIG. 10, according to one embodiment, operations 1010 to 1070 may be performed sequentially, but are not necessarily performed sequentially. For example, the order of each operation (1010 to 1070) may be changed, and at least two operations may be performed in parallel.

[0082] In operation 1010, an electronic device (e.g., STA (301) of FIG. 3, electronic device (305) of FIG. 4, STA1 (520) of FIG. 5, and / or STA2 (530)) may receive a beacon frame including DTIM information regarding setting of an IP address from an external electronic device (e.g., AP (401) of FIG. 3, electronic device (405) of FIG. 4, and / or AP (510) of FIG. 5) via a wireless communication module (e.g., wireless communication module (440) of FIG. 4). The external electronic device (405) may transmit a beacon frame including the DTIM information according to a DTIM cycle. For example, when the DTIM cycle is set to 3, the external electronic device (405) may include DTIM information in every third beacon frame and transmit it to the electronic device (305).

[0083] In operation 1030, the electronic device (305) may generate an IP address based on the DTIM information. The IP address is associated with a network formed between the electronic device (301) and the external electronic device (405) and may be available for a lifetime to maintain a connection between the electronic device (301) and the external electronic device (405). For example, the lifetime of the IP address may be set by the external electronic device (405). If the lifetime of the IP address is set to 1800 seconds, the electronic device (305) may be connected to the external electronic device (405) through the IP address for 1800 seconds unless the IP address is extended.

[0084] In operation 1050, the electronic device (305) may reduce the wake-up cycle for waking up the wireless communication module (440) to receive a beacon frame from a first time interval to a second time interval based on the remaining time of the lifetime being less than a first threshold value. The second time interval may be a shorter interval than the first time interval.

[0085] According to one embodiment, the electronic device (305) may operate in a sleep state and in a PS mode. The electronic device (305) may skip beacon frames transmitted from an external electronic device (405) in the sleep state and receive beacon frames from the external electronic device (405) by waking up the wireless communication module (440) only at a specific time. At this time, the time at which the wireless communication module (440) wakes up may be determined according to a wake-up cycle.

[0086] According to one embodiment, the wake-up period may be set to a multiple of the DTIM period. If the wake-up period is not set to a multiple of the DTIM period, it may not be guaranteed that the beacon frame received when the wireless communication module (440) wakes up includes DTIM information. For example, if the DTIM period is 3 and the wake-up period is 5, the DTIM information is included in the 3rd, 6th, and 9th beacon frames, but the electronic device (305) wakes up at the 5th, 10th, and 15th beacon frames and cannot receive the DTIM information. Therefore, the wake-up period may be set to a multiple of the DITM period by default.

[0087] According to one embodiment, even if the wake-up cycle is set to a multiple of the DTIM cycle, the electronic device (305) may not receive DTIM information due to a delay in transmitting a beacon frame of the external electronic device (405). In this case, if the electronic device (305) does not receive the DTIM information before the lifetime of the IP address expires, a problem may occur in which the connection between the electronic device (305) and the external electronic device (405) is terminated.

[0088] According to one embodiment, the electronic device (305) can variably set the wake-up cycle according to the remaining time of the IP address lifetime. For example, the electronic device (305) can decrease the wake-up cycle as the remaining time is less, thereby increasing the probability of receiving a beacon frame including DTIM information. In a stateless address setting method, since the electronic device (305) receives DTIM information (e.g., including an RA message) from an external electronic device (405) to set and / or extend an IP address, it may be necessary to variably set the wake-up cycle of the electronic device (305) according to the remaining time of the lifetime. When setting and / or extending an IP address through a stateful address setting method, the electronic device (305) can transmit a DHCP (dynamic host configuration protocol) request message to the external electronic device (405) to set and / or extend the IP address. Accordingly, in the case of a stateful address setting method, it may be necessary to variably set the cycle at which the electronic device (305) transmits a DHCP request message based on the remaining time of the IP address's lifetime.

[0089] According to one embodiment, the electronic device (305) may reduce the wake-up cycle from a first time interval to a second time interval when the remaining time of the IP address's lifetime is less than a specific threshold value. The specific threshold value is a value that serves as a reference for changing the wake-up cycle, and the electronic device (305) may set a plurality of threshold values ​​(e.g., a first threshold value and / or a second threshold value) as the remaining time of the lifetime gradually decreases over time. The electronic device (305) may set the threshold values ​​in descending order. For example, the electronic device (305) may set a first threshold value and set a second threshold value to a value smaller than the first threshold value. Although the above example describes a method of setting two threshold values, the electronic device (305) may also set a third threshold value after setting the second threshold value, and the number of threshold values ​​to be set is not limited.

[0090] According to one embodiment, the electronic device (305) may compare the remaining time of the lifetime with a threshold value. The electronic device (305) may compare the remaining time with the threshold value in real time, and if the remaining time is less than the threshold value, the electronic device (305) may reduce the wake-up cycle to a time interval (e.g., a second time interval) that is smaller than a previous time interval (e.g., a first time interval). For example, the electronic device (305) may initially set the wake-up cycle to the first time interval if the remaining time is greater than the first threshold value. If the remaining time becomes less than or equal to the first threshold value over time, the electronic device (305) may reduce the wake-up cycle from the first time interval to a second time interval (e.g., a shorter interval than the first time interval). Even if the electronic device (305) reduces the wake-up cycle to the second time interval, it may not be able to obtain (e.g., receive) DTIM information from the external electronic device (405). The electronic device (305) may compare the remaining time of the lifetime with a second threshold value (e.g., a value smaller than the first threshold value). If the remaining time of the lifetime is greater than the second threshold value, the electronic device (305) may maintain the wake-up cycle at a second time interval. If the remaining time of the lifetime is less than the second threshold value, the electronic device (305) may reduce the wake-up cycle to a third time interval (e.g., a shorter interval than the second time interval). In this way, the electronic device (305) may repeatedly perform the operations of setting a threshold value, comparing the remaining time of the lifetime with the threshold value, and reducing the wake-up cycle to a shorter time interval until it receives DTIM information from the external electronic device (405) to extend the lifetime of the IP address. During the repeatedly performed process, the threshold value and / or the time interval may be set to a smaller value and / or a shorter interval over time.

[0091] In operation 1070, the electronic device (305) may wake up the wireless communication module (440) according to a wake-up cycle based on the electronic device (305) being in a sleep state. The electronic device (305) may wake up the wireless communication module (440) in the sleep state to receive a beacon frame of the next time from the external electronic device (405). If the beacon frame of the next time received includes DTIM information, the electronic device (305) may extend the lifetime of the IP address based on the DTIM information. For example, the electronic device (305) may extend the lifetime of the IP address based on an RA message included in the DTIM information.

[0092] Below, a specific method for variably setting the wake-up cycle according to the remaining time of the IP address's lifetime is described in detail with reference to FIG. 11.

[0093]

[0094] Fig. 11 is a drawing for explaining in detail an IP address setting method according to one embodiment.

[0095] Referring to FIG. 11, according to one embodiment, operations 1110 to 1160 may be performed sequentially, but are not necessarily performed sequentially. For example, the order of each operation (1110 to 1160) may be changed, and at least two operations may be performed in parallel.

[0096] In operation 1110, an electronic device (e.g., STA (301) of FIG. 3, electronic device (305) of FIG. 4, STA1 (520) of FIG. 5, and / or STA2 (530)) may generate an IP address to form a network with an external electronic device (e.g., AP (401) of FIG. 3, electronic device (405) of FIG. 4, and / or AP (510) of FIG. 5). The electronic device (305) may generate the IP address through a stateless address configuration method. For example, the electronic device (305) may obtain a link local address of the external electronic device (405) and transmit an RS message to the external electronic device (405). The RS message may include identification information of the electronic device (305). When an RS message is received, the external electronic device (405) can transmit the prefix of the entire IP address and the lifetime value of the IP address to the electronic device (305) through an RA message. The RA message is transmitted through a multicast frame, and the electronic device (305) can obtain the RA message through a beacon frame including DTIM information through a wireless communication module (e.g., the wireless communication module (440) of FIG. 4). The electronic device (305) can combine the prefix of the obtained entire IP address and an interface identifier to generate an IP address for connection with the external electronic device (405).

[0097] In operation 1120, the electronic device (305) may set the IP address lifetime. The electronic device (305) may set the IP address lifetime based on the IP address lifetime value acquired from the external electronic device (405) in operation 1110. The IP address lifetime value may be set differently depending on the external electronic devices. For example, if the IP address lifetime value is set to 1800 seconds, the electronic device (305) may set an IP address that is available for 1800 seconds.

[0098] In operation 1130, the electronic device (305) may set a threshold value and a wake-up cycle. The threshold value may be a reference value for variably setting the wake-up cycle according to the remaining time of the lifetime. A plurality of threshold values ​​may also be set. The wake-up cycle is set according to the threshold value, and may be set to a smaller value as the threshold value decreases. That is, the electronic device (305) may reduce the wake-up cycle as the remaining time of the lifetime decreases, thereby increasing the probability of receiving a beacon frame including DTIM information from the external electronic device (405). For example, the lifetime may be set to 1800 seconds by the external electronic device (405). The electronic device (305) may set the threshold value to 1200 seconds (e.g., a first threshold value) and 600 seconds (e.g., a second threshold value). The electronic device (305) may set the wake-up cycle to a multiple of 5 times the DTIM cycle (e.g., the first time interval) when the remaining time of the lifetime is 1200 to 1800 seconds (e.g., when the remaining time of the lifetime is greater than the first threshold). The electronic device (305) may reduce the wake-up cycle from a multiple of 5 times the DTIM cycle to a multiple of 3 times the DTIM cycle (e.g., the second time interval) when the remaining time of the lifetime is 600 to 1200 seconds (e.g., when the remaining time of the lifetime is less than or equal to 1200 seconds). The electronic device (305) may set the wake-up cycle to a multiple of 1 times the DTIM cycle (e.g., the third time interval) when the remaining time of the lifetime is 600 seconds or less. However, the above example is only an example for implementing the present invention, and the threshold value and the wake-up cycle according to the threshold value may be set differently. For example, the wake-up cycle can be set not only in a linear manner but also in a non-linear manner.

[0099] According to one embodiment, the electronic device (305) may set the wake-up cycle to a larger number (e.g., 5 times) among multiples of the DTIM cycle when setting the initial IP address, but may also set it to a smaller number (e.g., 1 times) among multiples of the DTIM cycle depending on the latency of the application (or service) running on the electronic device (305).

[0100] According to one embodiment, the threshold value and the wake-up cycle may be determined based on the operating state of the electronic device (305) and the network state. The wake-up cycle may be set to be small when the electronic device (305) frequently performs communication-related operations or when the network including the electronic device (305) is congested (e.g., when there are many external electronic devices performing communications around the electronic device (305) (e.g., other external electronic devices connected to the external electronic device (405)).

[0101] According to one embodiment, since the lifetime and DTIM cycle may have different values ​​depending on the network, it may be difficult to determine the optimized values ​​of the wake-up cycle and / or the threshold value in advance. Accordingly, the wake-up cycle and / or the threshold value may be implemented to be set in real time through learning of the On-device AI installed in the electronic device (305). In the learning of the On-device AI, the status information of the electronic device (305) and the network status information may be used. The status information of the electronic device (305) may include information about the battery, temperature, processor status, network quality (e.g., reception power, number of missing RA messages, or frequency of disconnection with the external electronic device (405)) of the electronic device (305). The processor status may include information about the state of the processor of the electronic device (305) (e.g., throttle state and / or sleep state) and / or the properties of the application executed by the processor.

[0102] In one embodiment, when a high throughput application (e.g., video streaming or a game) is running, the latency is high, so the electronic device (305) can be set or trained to set the wake-up period to a smaller multiple of the DTIM period (e.g., 1x).

[0103] According to one embodiment, the electronic device (305) can adjust the wake-up cycle based on the number of times the RA message is missed or the frequency of disconnection with the external electronic device (405). The electronic device (305) can share information about the adjusted wake-up cycle with other external electronic devices (e.g., the external electronic device (405) and / or an external electronic device included in the same network as the electronic device (305)) to collect data. Based on the shared data (e.g., unique information such as the model ID of the network equipment (e.g., AP)), the lifetime and DTIM optimization settings included in the RA message can be learned.

[0104] According to one embodiment, the electronic device (305) may not only train a model through on-device AI, but may also receive or transmit a learned model (e.g., a model trained to optimally determine a wake-up cycle and / or threshold value). The electronic device (305) may dynamically adjust an optimized wake-up cycle as a result of the transmitted learned model. The electronic device (305) may perform fine tuning of the learned model according to the state (or situation) of the electronic device (305). The electronic device (305) may share a DTIM cycle suitable for a specific AP with other electronic devices in the vicinity (e.g., other electronic devices supporting the same service as the electronic device (305). The electronic device (305) may also transmit the shared data (e.g., a DTIM cycle suitable for a specific AP) to other electronic devices in the vicinity. The electronic device (305) may share data via Wi-Fi action frames and / or beacon frames, or via other low-power communication protocols (e.g., Bluetooth low energy (BLE)).

[0105] At operation 1140, the electronic device (305) can determine whether the IP address's lifetime has expired. If the IP address's lifetime has already expired, the electronic device (305) can terminate the operation because the IP address can no longer be used. If the IP address's lifetime has not expired, the electronic device (305) can perform operation 1150.

[0106] In operation 1150, the electronic device (305) may compare the remaining time of the lifetime with a threshold value (e.g., set in operation 1130). The electronic device (305) may compare the remaining time of the lifetime with the threshold value in real time over time. If the remaining time of the lifetime is less than or equal to the threshold value, the electronic device (305) may perform operation 1130 to reduce the wake-up cycle. If the remaining time of the lifetime is greater than the threshold value, the electronic device (305) may perform operation 1160. For example, if the lifetime is set to 1800 seconds, the electronic device (305) may set the threshold values ​​to 1200 seconds (e.g., a first threshold value) and 600 seconds (e.g., a second threshold value). The electronic device (305) may compare whether the remaining time of the lifetime is greater than or less than 1200 seconds. The electronic device (305) may set the wake-up cycle to a multiple of 5 times the DTIM cycle (e.g., a first time interval) when the remaining time of the lifetime is 1200 to 1800 seconds (e.g., when the remaining time of the lifetime is greater than a first threshold). The electronic device (305) may reduce the wake-up cycle from a multiple of 5 times the DTIM cycle to a multiple of 3 times the DTIM cycle (e.g., a second time interval) through operation 1130 when the remaining time of the lifetime is 600 to 1200 seconds (e.g., when the remaining time of the lifetime is less than or equal to 1200 seconds). The electronic device (305) may compare the remaining time of the lifetime with 600 seconds. The electronic device (305) may maintain the wake-up cycle from a multiple to a multiple of 3 times the DTIM cycle when the remaining time of the lifetime is greater than 600 seconds but is 600 to 1200 seconds. The electronic device (305) may set the wake-up cycle to a multiple of the DTIM cycle (e.g., the third time interval) through operation 1130 when the remaining time of the lifetime is 600 seconds or less.However, the above example is only an example for implementing the present invention, and the threshold value and the wake-up cycle according to it may be set differently.

[0107] In operation 1160, the electronic device (305) can maintain a wake-up cycle. The electronic device (305) can wake up from a sleep state according to an existing wake-up cycle. For example, if the remaining time is 1700 seconds, the electronic device (305) can wake up according to a wake-up cycle set according to a threshold value (e.g., 1800 seconds) (e.g., 5 times the DTIM cycle).

[0108] According to one embodiment, when the electronic device (305) receives a beacon frame including DTIM information through wake-up, the lifetime of the IP address may be extended. However, when the electronic device (305) does not receive a beacon frame including DTIM information through wake-up, the remaining lifetime of the IP address may gradually decrease over time. If the lifetime of the IP address is extended, the electronic device (305) may perform operation 1130 again. If the lifetime of the IP address is not extended, the electronic device (305) may continue to perform operation 1150. For example, if the lifetime of the IP address is not extended, the electronic device (305) may compare the remaining lifetime of the IP address with a threshold value in real time, and if it is less than the threshold value, the wake-up cycle may be reduced through operation 1130. If the electronic device (305) receives a beacon frame containing DTIM information by reducing the wake-up cycle, the IP address can be extended based on the received DITM information.

[0109] According to one embodiment, the electronic device (305) can receive the RA message not only directly from the external electronic device (405), but also through a relay device (e.g., a proxy). For example, the relay device can share a media access control address (MAC) with the electronic device (305) and the external electronic device (405). By sharing the MAC address, the relay device can receive the RA message transmitted from the external electronic device (405) on behalf of the electronic device (305). The relay device can transmit the received RA message to the electronic device (305).

[0110]

[0111] FIG. 12 is a block diagram of an electronic device within a network environment according to one embodiment.

[0112] FIG. 12 is a block diagram of an electronic device (1201) within a network environment (1200), according to various embodiments. Referring to FIG. 12, in a network environment (1200), an electronic device (1201) (e.g., STA (301) of FIG. 3, electronic device (305) of FIG. 4, STA1 (520) of FIG. 5, and / or STA2 (530)) communicates with an electronic device (1202) (e.g., STA (301) of FIG. 3, electronic device (305) of FIG. 4, STA1 (520) of FIG. 5, and / or STA2 (530)) through a first network (1298) (e.g., a short-range wireless communication network), or with an electronic device (1204) (e.g., STA (301) of FIG. 3, electronic device (305) of FIG. 4, STA1 (520) of FIG. 5, and / or STA2 (530)) through a second network (1299) (e.g., a long-range wireless communication network). It can communicate with at least one of the servers (1208). According to one embodiment, the electronic device (1201) can communicate with the electronic device (1204) through the server (1208). According to one embodiment, the electronic device (1201) can include a processor (1220), a memory (1230), an input module (1250), an audio output module (1255), a display module (1260), an audio module (1270), a sensor module (1276), an interface (1277), a connection terminal (1278), a haptic module (1279), a camera module (1280), a power management module (1288), a battery (1289), a communication module (1290), a subscriber identification module (1296), or an antenna module (1297). In some embodiments, the electronic device (1201) may omit at least one of these components (e.g., the connection terminal (1278)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (1276), the camera module (1280), or the antenna module (1297)) may be integrated into a single component (e.g., the display module (1260)).

[0113] The processor (1220) may control at least one other component (e.g., hardware or software component) of the electronic device (1201) connected to the processor (1220) by executing, for example, software (e.g., program (1240)), and may perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (1220) may store commands or data received from other components (e.g., sensor module (1276) or communication module (1290)) in volatile memory (1232), process the commands or data stored in volatile memory (1232), and store result data in non-volatile memory (1234).

[0114] According to one embodiment, the processor (1220) may be implemented as a circuit (e.g., a processing circuit) such as a system on chip (SoC) or an integrated circuit (IC). The processor (1220) may include one or more processors. For example, the processor (1220) may include a combination of one or more processors such as a CPU, a GPU, an MPU, an AP, and a CP.

[0115] According to one embodiment, the processor (1220) may include a main processor (1221) (e.g., a central processing unit or an application processor) or an auxiliary processor (1223) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (1221). For example, when the electronic device (1201) includes the main processor (1221) and the auxiliary processor (1223), the auxiliary processor (1223) may be configured to use less power than the main processor (1221) or to be specialized for a given function. The auxiliary processor (1223) may be implemented separately from the main processor (1221) or as a part thereof.

[0116] The auxiliary processor (1223) may control at least a portion of functions or states associated with at least one component (e.g., a display module (1260), a sensor module (1276), or a communication module (1290)) of the electronic device (1201), for example, on behalf of the main processor (1221) while the main processor (1221) is in an inactive (e.g., sleep) state, or together with the main processor (1221) while the main processor (1221) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (1223) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (1280) or a communication module (1290)). In one embodiment, the auxiliary processor (1223) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (1201) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (1208)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.

[0117] The memory (1230) can store various data used by at least one component (e.g., processor (1220) or sensor module (1276)) of the electronic device (1201). The data can include, for example, software (e.g., program (1240)) and input data or output data for commands related thereto.

[0118] According to one embodiment, the memory (1230) may include one or more memories. The instructions stored in the memory (1230) may be stored in a single memory. The instructions stored in the memory (1230) may be divided and stored in a plurality of memories. The instructions stored in the memory (1230) may be individually or collectively executed by the processor (1220) to cause the electronic device (1201) (e.g., the STA (301) of FIG. 1, the electronic device (305) of FIG. 4) to perform and / or control the IP address setting method described with reference to FIGS. 1 to 11. The instructions stored in the memory (1230) may be individually or collectively executed by a plurality of processors to cause the electronic device (1201) (e.g., the STA (301) of FIG. 1, the electronic device (305) of FIG. 4) to perform and / or control the IP address setting method described with reference to FIGS. 1 to 11. According to one embodiment, the memory (1230) may include volatile memory (1232) or non-volatile memory (1234).

[0119] The program (1240) may be stored as software in memory (1230) and may include, for example, an operating system (1242), middleware (1244), or an application (1246).

[0120] The input module (1250) can receive commands or data to be used in a component of the electronic device (1201) (e.g., a processor (1220)) from an external source (e.g., a user) of the electronic device (1201). The input module (1250) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0121] The audio output module (1255) can output audio signals to the outside of the electronic device (1201). The audio output module (1255) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.

[0122] The display module (1260) can visually provide information to an external party (e.g., a user) of the electronic device (1201). The display module (1260) may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling the device. In one embodiment, the display module (1260) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.

[0123] The audio module (1270) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (1270) can acquire sound through the input module (1250), output sound through the sound output module (1255), or an external electronic device (e.g., electronic device (1202)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (1201).

[0124] The sensor module (1276) can detect the operating status (e.g., power or temperature) of the electronic device (1201) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (1276) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0125] The interface (1277) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (1201) with an external electronic device (e.g., the electronic device (1202)). In one embodiment, the interface (1277) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0126] The connection terminal (1278) may include a connector through which the electronic device (1201) may be physically connected to an external electronic device (e.g., the electronic device (1202)). In one embodiment, the connection terminal (1278) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0127] The haptic module (1279) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. In one embodiment, the haptic module (1279) may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

[0128] The camera module (1280) can capture still images and videos. According to one embodiment, the camera module (1280) may include one or more lenses, image sensors, image signal processors, or flashes.

[0129] The power management module (1288) can manage the power supplied to the electronic device (1201). According to one embodiment, the power management module (1288) can be implemented as at least a part of, for example, a power management integrated circuit (PMIC).

[0130] A battery (1289) may power at least one component of the electronic device (1201). In one embodiment, the battery (1289) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0131] The communication module (1290) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (1201) and an external electronic device (e.g., electronic device (1202), electronic device (1204), or server (1208)), and the performance of communication through the established communication channel. The communication module (1290) may operate independently from the processor (1220) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (1290) may include a wireless communication module (1292) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (1294) (e.g., a local area network (LAN) communication module, or a power line communication module). Any of these communication modules may communicate with an external electronic device (1204) via a first network (1298) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (1299) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (1292) may use subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (1296) to verify or authenticate the electronic device (1201) within a communication network such as the first network (1298) or the second network (1299).

[0132] The wireless communication module (1292) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (1292) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (1292) may support various technologies for securing performance in high-frequency bands, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (1292) may support various requirements specified in the electronic device (1201), an external electronic device (e.g., the electronic device (1204)), or a network system (e.g., the second network (1299)). According to one embodiment, the wireless communication module (1292) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.

[0133] The antenna module (1297) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (1297) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (1297) may include a plurality of antennas (e.g., 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 (1298) or the second network (1299), may be selected from the plurality of antennas, for example, by the communication module (1290). A signal or power may be transmitted or received between the communication module (1290) and an external electronic device via the selected at least one antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (1297). According to various embodiments, the antenna module (1297) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band.

[0134] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).

[0135] According to one embodiment, commands or data may be transmitted or received between the electronic device (1201) and an external electronic device (1204) via a server (1208) connected to a second network (1299). Each of the external electronic devices (1202 or 1204) may be the same or a different type of device as the electronic device (1201). According to one embodiment, all or part of the operations executed in the electronic device (1201) may be executed in one or more of the external electronic devices (1202, 1204, or 1208). For example, when the electronic device (1201) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (1201) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (1201). The electronic device (1201) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (1201) may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device (1204) may include an Internet of Things (IoT) device. The server (1208) may be an intelligent server utilizing machine learning and / or a neural network.According to one embodiment, an external electronic device (1204) or server (1208) may be included within the second network (1299). The electronic device (1201) may be applied to intelligent services (e.g., smart homes, smart cities, smart cars, or healthcare) based on 5G communication technology and IoT-related technology.

[0136]

[0137] According to one embodiment, an electronic device (e.g., STA (301) of FIG. 3, electronic device (305) of FIG. 4, STA1 (520), STA2 (530) of FIG. 5, and / or electronic device (1201) of FIG. 12) may include a wireless communication module (e.g., wireless communication module (440) of FIG. 4 and / or communication module (1290) of FIG. 12). The electronic device (301, 305, 520, 530, 1201) may include at least one processor (e.g., processor (450) of FIG. 4 and / or processor (1220) of FIG. 12) including processing circuitry. The electronic device (301, 305, 520, 530, 1201) may include a memory (e.g., memory (460) of FIG. 4 and / or memory (1230) of FIG. 12) that stores instructions. When the instructions are individually or collectively executed by the at least one processor (450, 1220), the electronic device (301, 305, 520, 530, 1201) may receive a beacon frame including DTIM (delivery traffic indication message) information regarding setting of an IP address from an external electronic device (e.g., AP (401) of FIG. 3, electronic device (405) of FIG. 4, and / or AP (510) of FIG. 5) through the wireless communication module (440, 1290). The above instructions, when individually or collectively executed by the at least one processor (450, 1220), may cause the electronic device (301, 305, 520, 530, 1201) to generate an IP address available for a lifetime for maintaining a connection between the electronic device (301, 305, 520, 530, 1201) and the external electronic device (401, 405, 510) based on the DTIM information.The above instructions, when individually or collectively executed by the at least one processor (450, 1220), may cause the electronic device (301, 305, 520, 530, 1201) to reduce a wake-up period during which the wireless communication module (440, 1290) wakes up to receive a beacon frame from a first time interval to a second time interval based on the remaining time of the lifetime of the IP address being less than a first threshold value. The above instructions, when individually or collectively executed by the at least one processor (450, 1220), may cause the electronic device (301, 305, 520, 530, 1201) to wake up the wireless communication module (440, 1290) according to the wake-up cycle to receive a next time beacon frame from the external electronic device (401, 405, 510) based on the electronic device (301, 305, 520, 530, 1201) being in a sleep state.

[0138] According to one embodiment, the beacon frame including the DTIM information may be transmitted based on a DTIM cycle set by the external electronic device (401, 405, 510). The wake-up cycle may be set to a multiple of the DTIM cycle.

[0139] According to one embodiment, the wake-up period may be set to a multiple of the DTIM period through either a linear method or a non-linear method.

[0140] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor (450, 1220), may cause the electronic device (301, 305, 520, 530, 1201) to set the first threshold value as a reference for changing the wake-up cycle. The instructions, when individually or collectively executed by the at least one processor (450, 1220), may cause the electronic device (301, 305, 520, 530, 1201) to compare the remaining time of the lifetime with the first threshold value.

[0141] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor (450, 1220), may cause the electronic device (301, 305, 520, 530, 1201) to set the wake-up period to the first time interval based on the remaining time of the lifetime being greater than the first threshold value.

[0142] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor (450, 1220), may cause the electronic device (301, 305, 520, 530, 1201) to receive the next time point beacon frame from the external electronic device (401, 405, 510) via the wireless communication module (440, 1290). The instructions, when individually or collectively executed by the at least one processor (450, 1220), may cause the electronic device (301, 305, 520, 530, 1201) to extend the lifetime of the IP address based on whether the DTIM information is included in the next time point beacon frame.

[0143] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor (450, 1220), may cause the electronic device (301, 305, 520, 530, 1201) to extend the lifetime of the IP address based on the DTIM information, if the DTIM information is included in the beacon frame of the next time point. The instructions, when individually or collectively executed by the at least one processor (450, 1220), may cause the electronic device (301, 305, 520, 530, 1201) to reduce the wake-up cycle from the second time interval to a third time interval, if the DTIM information is not included in the beacon frame of the next time point, based on the remaining time of the lifetime of the IP address being less than a second threshold value.

[0144] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor (450, 1220), may cause the electronic device (301, 305, 520, 530, 1201) to set the second threshold value to a value less than the first threshold value. The instructions, when individually or collectively executed by the at least one processor (450, 1220), may cause the electronic device (301, 305, 520, 530, 1201) to maintain the wake-up cycle at the second time interval if the remaining time of the lifetime is greater than the second threshold value. The above instructions, when individually or collectively executed by the at least one processor (450, 1220), may cause the electronic device (301, 305, 520, 530, 1201) to reduce the wake-up cycle to the third time interval when the remaining time of the lifetime is less than the second threshold value.

[0145] According to one embodiment, the DTIM information may include a router advertisement message (RA message) related to the generation of the IP address.

[0146] According to one embodiment, the RA message may be generated based on an RS message (router solicitation message) transmitted from the electronic device (301, 305, 520, 530, 1201) to the external electronic device (401, 405, 510). The RS message may include identification information of the electronic device (301, 305, 520, 530, 1201).

[0147] According to one embodiment, a method of operating an electronic device (e.g., STA (301) of FIG. 3, electronic device (305) of FIG. 4, STA1 (520) of FIG. 5, STA2 (530) of FIG. 5, and / or electronic device (1201) of FIG. 12) may include an operation of receiving a beacon frame including DTIM information regarding setting of an IP address from an external electronic device (e.g., AP (401) of FIG. 3, electronic device (405) of FIG. 4, and / or AP (510) of FIG. 5) through a wireless communication module (e.g., wireless communication module (440) of FIG. 4 and / or communication module (1290) of FIG. 12). The above operating method may include an operation of generating an IP address that is available for a lifetime for maintaining a connection between the electronic device (301, 305, 520, 530, 1201) and the external electronic device (401, 405, 510) based on the DTIM information. The above operating method may include an operation of reducing a wake-up period during which the wireless communication module (440, 1290) wakes up to receive a beacon frame from a first time interval to a second time interval based on the remaining time of the lifetime of the IP address being less than a first threshold value. The above operating method may include an operation of waking up the wireless communication module (440, 1290) according to the wake-up cycle to receive a beacon frame of the next time from the external electronic device (401, 405, 510) based on the electronic device (301, 305, 520, 530, 1201) being in a sleep state.

[0148] According to one embodiment, the beacon frame including the DTIM information may be transmitted based on a DTIM cycle set by the external electronic device (401, 405, 510). The wake-up cycle may be set to a multiple of the DTIM cycle.

[0149] According to one embodiment, the wake-up period may be set to a multiple of the DTIM period through either a linear method or a non-linear method.

[0150] In one embodiment, the operation of reducing the wake-up period from a first time interval to a second time interval may include an operation of setting the first threshold value, which serves as a reference for changing the wake-up period. The operation of reducing the wake-up period from the first time interval to a second time interval may include an operation of comparing the remaining time of the lifetime with the first threshold value.

[0151] According to one embodiment, the operation of comparing the remaining time of the lifetime with the first threshold value may include an operation of setting the wake-up period to the first time interval based on the remaining time of the lifetime being greater than the first threshold value.

[0152] According to one embodiment, the operating method may include an operation of receiving the beacon frame of the next time point from the external electronic device (401, 405, 510) through the wireless communication module (440, 1290). The operating method may include an operation of extending the lifetime of the IP address based on whether the DTIM information is included in the beacon frame of the next time point.

[0153] According to one embodiment, the operation of extending the lifetime of the IP address may include an operation of extending the lifetime of the IP address based on DTIM information when the beacon frame of the next time point includes the DTIM information. The operation of extending the lifetime of the IP address may include an operation of reducing the wake-up cycle from the second time interval to a third time interval based on the remaining time of the lifetime of the IP address being less than a second threshold value when the beacon frame of the next time point does not include the DTIM information.

[0154] According to one embodiment, the operation of reducing the wake-up period from the second time interval to the third time interval may include setting the second threshold to a value smaller than the first threshold. The operation of reducing the wake-up period from the second time interval to the third time interval may include maintaining the wake-up period at the second time interval when the remaining time of the lifetime is greater than the second threshold. The operation of reducing the wake-up period from the second time interval to the third time interval may include reducing the wake-up period to the third time interval when the remaining time of the lifetime is less than the second threshold.

[0155] According to one embodiment, the DTIM information may include a router advertisement message (RA message) related to the generation of the IP address.

[0156] According to one embodiment, the RA message may be generated based on an RS message (router solicitation message) transmitted from the electronic device (301, 305, 520, 530, 1201) to the external electronic device (401, 405, 510). The RS message may include identification information of the electronic device (301, 305, 520, 530, 1201).

[0157]

[0158] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.

[0159] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

[0160] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0161] Various embodiments of the present document may be implemented as software (e.g., a program (1740)) including one or more instructions stored in a storage medium (e.g., an internal memory (1736) or an external memory (1738)) readable by a machine (e.g., an electronic device (1701)). For example, a processor (e.g., a processor (1720)) of the machine (e.g., an electronic device (1701)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.

[0162] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0163] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

Claims

1. In electronic devices (301, 305, 520, 530, 1201), Wireless communication module (440, 1290); At least one processor (450, 1220) comprising processing circuitry; and Memory for storing instructions (460, 1230) Including, The above instructions, when individually or collectively executed by the at least one processor (450, 1220), cause the electronic device (301, 305, 520, 530, 1201) to: Receive a beacon frame containing DTIM (delivery traffic indication message) information regarding the setting of an IP address from an external electronic device (401, 405, 510) through the wireless communication module (440, 1290), Based on the above DTIM information, an IP address that is available for a lifetime to maintain a connection between the electronic device (301, 305, 520, 530, 1201) and the external electronic device (401, 405, 510) is generated, Based on the remaining time of the lifetime of the IP address being less than the first threshold value, the wake-up period for which the wireless communication module (440, 1290) wakes up to receive a beacon frame is reduced from the first time interval to the second time interval, An electronic device (301, 305, 520, 530, 1201) that wakes up the wireless communication module (440, 1290) according to the wake-up cycle to receive a beacon frame of the next time from the external electronic device (401, 405, 510) based on the electronic device (301, 305, 520, 530, 1201) being in a sleep state.

2. In paragraph 1, The beacon frame containing the above DTIM information, It is transmitted based on the DTIM cycle set by the external electronic device (401, 405, 510). The above wake-up cycle is, An electronic device (301, 305, 520, 530, 1201) which is set to a multiple of the above DTIM cycle.

3. In either of paragraphs 1 and 2, The above wake-up cycle is, An electronic device (301, 305, 520, 530, 1201) which is set to a multiple of the DTIM cycle by either a linear method or a non-linear method.

4. In any one of paragraphs 1 to 3, The above instructions, when individually or collectively executed by the at least one processor (450, 1220), cause the electronic device (301, 305, 520, 530, 1201) to: Setting the first threshold value as a criterion for changing the wake-up cycle; An electronic device (301, 305, 520, 530, 1201) for comparing the remaining time of the above lifetime with the above first threshold value.

5. In any one of paragraphs 1 to 4, The above instructions, when individually or collectively executed by the at least one processor (450, 1220), cause the electronic device (301, 305, 520, 530, 1201) to: An electronic device (301, 305, 520, 530, 1201) that sets the wake-up cycle to the first time interval based on the remaining time of the lifetime being greater than the first threshold value.

6. In any one of paragraphs 1 to 5, The above instructions, when individually or collectively executed by the at least one processor (450, 1220), cause the electronic device (301, 305, 520, 530, 1201) to: Receive the beacon frame of the next time from the external electronic device (401, 405, 510) through the wireless communication module (440, 1290), An electronic device (301, 305, 520, 530, 1201) that extends the lifetime of the IP address based on whether the DTIM information is included in the beacon frame at the next point in time.

7. In any one of paragraphs 1 to 6, The above instructions, when individually or collectively executed by the at least one processor (450, 1220), cause the electronic device (301, 305, 520, 530, 1201) to: If the DTIM information is included in the beacon frame of the next point in time, the lifetime of the IP address is extended based on the DTIM information, An electronic device (301, 305, 520, 530, 1201) that reduces the wake-up cycle from the second time interval to a third time interval based on the remaining time of the lifetime of the IP address being less than a second threshold value when the DTIM information is not included in the beacon frame of the next time point.

8. In any one of paragraphs 1 to 7, The above instructions, when individually or collectively executed by the at least one processor (450, 1220), cause the electronic device (301, 305, 520, 530, 1201) to: Set the second threshold value to a value smaller than the first threshold value, If the remaining time of the above lifetime is greater than the second threshold value, the wake-up cycle is maintained at the second time interval, An electronic device (301, 305, 520, 530, 1201) that reduces the wake-up cycle to the third time interval when the remaining time of the above lifetime is less than the second threshold value.

9. In any one of paragraphs 1 to 8, The above DTIM information is, RA message (router advertisement message) related to the creation of the above IP address Electronic device (301, 305, 520, 530, 1201) including.

10. In any one of paragraphs 1 to 9, The above RA message is, It is generated based on the RS message (router solicitation message) transmitted from the electronic device (301, 305, 520, 530, 1201) to the external electronic device (401, 405, 510), The above RS message is, Identification information of the above electronic devices (301, 305, 520, 530, 1201) Electronic device (301, 305, 520, 530, 1201) including.

11. In the operating method of an electronic device (301, 305, 520, 530, 1201), An operation of receiving a beacon frame containing DTIM information regarding the setting of an IP address from an external electronic device (401, 405, 510) through a wireless communication module (440, 1290); An operation of generating an IP address available for a lifetime to maintain a connection between the electronic device (301, 305, 520, 530, 1201) and the external electronic device (401, 405, 510) based on the DTIM information; An operation of reducing a wake-up period for the wireless communication module (440, 1290) to wake up to receive a beacon frame from a first time interval to a second time interval based on the remaining time of the lifetime of the IP address being less than a first threshold value; and An operation of waking up the wireless communication module (440, 1290) according to the wake-up cycle to receive a beacon frame of the next time from the external electronic device (401, 405, 510) based on the electronic device (301, 305, 520, 530, 1201) being in a sleep state. A method of operation, comprising:

12. In paragraph 11, The beacon frame containing the above DTIM information, It is transmitted based on the DTIM cycle set by the external electronic device (401, 405, 510). The above wake-up cycle is, An operating method, wherein the time is set to a multiple of the above DTIM cycle.

13. In any one of paragraphs 11 and 12, The above wake-up cycle is, An operating method, wherein the DTIM period is set to a multiple of the above by any one of a linear method and a non-linear method.

14. In any one of paragraphs 11 to 13, The operation of reducing the wake-up cycle from the first time interval to the second time interval is: An operation of setting the first threshold value as a reference for changing the wake-up cycle; and An operation of comparing the remaining time of the above lifetime with the above first threshold value. A method of operation, comprising:

15. In any one of paragraphs 11 to 14, The operation of comparing the remaining time of the above lifetime with the above first threshold value is: An operation of setting the wake-up cycle to the first time interval based on the remaining time of the lifetime being greater than the first threshold value. A method of operation, comprising:

Citation Information

Patent Citations

  • Method, device, and system for operating a health functional food ordering and manufacturing platform to meet customer-customized quantities using an artificial intelligence model

    KR102776525B1

  • Method and apparatus for power management in WLAN

    US20100189021A1

  • System and method for conserving power for a wireless device while maintaining a connection to a network

    US20180049128A1

  • IPV6 stateless address auto-configuration

    US20200314059A1

  • KR20190054435A