Electronic device, method, and non-transitory computer-readable recording medium for maintaining communication connection

By employing state changes and peripheral latency management, BLE devices maintain communication connections efficiently while minimizing power consumption, addressing the challenge of battery life in devices with limited capacity.

WO2025220835A1PCT designated stage Publication Date: 2025-10-23SAMSUNG ELECTRONICS CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2024/021510
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-05-07
Filing Date
2024-12-30
Publication Date
2025-10-23

AI Technical Summary

Technical Problem

Bluetooth Low Energy (BLE) devices with limited battery capacity face challenges in maintaining communication connections while minimizing power consumption, as frequent activation of the communication circuit can lead to disconnection due to lack of packet reception from the central device.

Method used

The device periodically changes its communication circuit state between inactive and active states to conserve power, using peripheral latency to manage packet reception and transmission, thereby reducing power consumption without disconnecting the communication link.

Benefits of technology

This approach effectively maintains communication connections while significantly reducing power consumption in BLE devices by optimizing packet reception and transmission based on peripheral latency, preventing disconnection and extending battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024021510_23102025_PF_FP_ABST
    Figure KR2024021510_23102025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed is an electronic device. The electronic device may receive a first packet within a first connection event from an external electronic device operating as a central device with respect to the electronic device. In response to the first packet, the electronic device may transmit, to the external electronic device within the first connection event, a second packet including an NESN field having a second value different from a first value of an SN field of the first packet. On the basis that an SN field of a third packet transmitted from the external electronic device corresponds to the second value within a second connection event according to a peripheral latency after receiving the first packet, the electronic device may receive a fourth packet transmitted from the external electronic device within a third connection event according to the peripheral latency. On the basis that the SN field of the third packet corresponds to the first value, the electronic device may receive a packet transmitted from the external electronic device before the third connection event according to the peripheral latency.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device, method, and non-transitory computer-readable recording medium for maintaining a communication connection

[0001] The present disclosure relates to an electronic device, a method, and a non-transitory computer-readable recording medium for maintaining a communication connection.

[0002] Bluetooth (or legacy Bluetooth (or classic Bluetooth)) may refer to a short-range wireless technology standard used for exchanging data between electronic devices. For example, Bluetooth may be used to exchange text information, voice information, and / or audio information through wireless communication between electronic devices.

[0003] Compared to legacy Bluetooth, BLE (Bluetooth Low Energy) offers reduced power consumption and a wider communication range between devices. BLE operates in the ISM (industrial, scientific, and medical) radio band.

[0004] According to an exemplary embodiment, an electronic device is provided. The electronic device may include: at least one processor including communication circuitry and processing circuitry for Bluetooth low energy (BLE); and a memory storing instructions and including one or more storage media. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to receive, through the communication circuitry, a first packet within a first connection event from an external electronic device operating as a central device relative to the electronic device operating as a peripheral device. The first packet may include a sequence number (SN) field having a first value. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to transmit, in response to the first packet, a second packet to the external electronic device within the first connection event, the second packet including a next expected sequence number (NESN) field having a second value different from the first value of the SN field of the first packet. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to receive, within a second connection event according to a peripheral latency after receiving the first packet, a third packet transmitted from the external electronic device. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to identify a value included in the SN field of the third packet.The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to receive a fourth packet transmitted from the external electronic device within a third connection event according to the peripheral latency, based on the SN field of the third packet corresponding to the second value. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to receive a packet transmitted from the external electronic device before the third connection event according to the peripheral latency, based on the SN field of the third packet corresponding to the first value.

[0005] A method according to an exemplary embodiment is disclosed. The method may include receiving, through a communication circuit, a first packet from an external electronic device operating as a central device with respect to the electronic device operating as a peripheral device within a first connection event. The first packet may include a sequence number (SN) field having a first value. The method may include transmitting, in response to the first packet, a second packet to the external electronic device within the first connection event, the second packet including a next expected sequence number (NESN) field having a second value different from the first value of the SN field of the first packet. The method may include receiving, within a second connection event according to a peripheral latency after receiving the first packet, a third packet transmitted from the external electronic device. The method may include identifying a value included in the SN field of the third packet. The method may include an operation of receiving a fourth packet transmitted from the external electronic device within a third connection event according to the peripheral latency based on the SN field of the third packet corresponding to the second value. The method may include an operation of receiving a packet transmitted from the external electronic device before the third connection event according to the peripheral latency based on the SN field of the third packet corresponding to the first value.

[0006] A non-transitory computer-readable storage medium according to an exemplary embodiment is disclosed. The non-transitory computer-readable storage medium may store one or more programs including instructions. The instructions, when individually or collectively executed by at least one processor including a processing circuit of an electronic device including a communication circuit for Bluetooth low energy (BLE), may cause the electronic device to receive, through the communication circuit, a first packet within a first connection event from an external electronic device operating as a central device relative to the electronic device operating as a peripheral device. The first packet may include a sequence number (SN) field having a first value. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to transmit, in response to the first packet, a second packet to the external electronic device within the first connection event, the second packet including a next expected sequence number (NESN) field having a second value different from the first value of the SN field of the first packet. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to receive, within a second connection event according to a peripheral latency after receiving the first packet, a third packet transmitted from the external electronic device. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to identify a value included in the SN field of the third packet.The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to receive a fourth packet transmitted from the external electronic device within a third connection event according to the peripheral latency, based on the SN field of the third packet corresponding to the second value. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to receive a packet transmitted from the external electronic device before the third connection event according to the peripheral latency, based on the SN field of the third packet corresponding to the first value.

[0007] The above and other aspects, features and advantages of specific embodiments of the present disclosure will become more apparent from the detailed description below when considered in conjunction with the accompanying drawings.

[0008] FIG. 1 is a block diagram illustrating an exemplary configuration of a wireless environment including an electronic device and an external electronic device according to various embodiments.

[0009] FIG. 2A is a signal flow diagram illustrating exemplary operations for establishing a communication connection between an electronic device and an external electronic device according to various embodiments.

[0010] FIG. 2b is a signal flow diagram illustrating exemplary operations for establishing a communication connection between an electronic device and an external electronic device according to various embodiments.

[0011] FIG. 3 is a diagram illustrating exemplary screens displayed during a communication connection in an external electronic device according to various embodiments.

[0012] FIG. 4 is a diagram illustrating an example of parameters used for communication connection between an electronic device and an external electronic device according to various embodiments.

[0013] FIG. 5 is a diagram illustrating an example of exchanging packets for updating parameters between an electronic device and an external electronic device according to various embodiments.

[0014] FIG. 6 is a diagram illustrating an example of updated parameters according to various embodiments.

[0015] FIG. 7 is a flowchart illustrating an exemplary method for an electronic device to process an event based on a packet from an external electronic device according to various embodiments.

[0016] FIG. 8A is a diagram illustrating an exemplary operation for an electronic device to identify an event based on a packet from an external electronic device according to various embodiments.

[0017] FIG. 8B is a diagram illustrating an exemplary operation for an electronic device to additionally receive a packet from an external electronic device according to various embodiments.

[0018] FIG. 8c is a diagram illustrating an exemplary operation for an electronic device to additionally receive a packet from an external electronic device according to various embodiments.

[0019] FIG. 8D is a diagram illustrating an exemplary operation for an electronic device to identify an event based on a packet from an external electronic device according to various embodiments.

[0020] FIG. 9 is a flowchart illustrating an exemplary method for an electronic device to process an event based on a packet from an external electronic device according to various embodiments.

[0021] FIG. 10 is a diagram illustrating an exemplary operation for an electronic device to obtain additional data based on a packet from an external electronic device according to various embodiments.

[0022] FIG. 11 is a diagram illustrating an exemplary operation of an electronic device changing a frequency for obtaining additional data based on a packet from an external electronic device according to various embodiments.

[0023] FIG. 12 is a diagram illustrating an exemplary wearable device according to various embodiments.

[0024] FIG. 13 is a cross-sectional view of an exemplary wearable device according to various embodiments.

[0025] FIG. 14 is a block diagram illustrating an exemplary electronic device within a network environment according to various embodiments.

[0026] FIG. 1 is a block diagram illustrating an exemplary configuration of a wireless environment including an electronic device and an external electronic device according to various embodiments.

[0027] In one embodiment, the electronic device (101) within the wireless environment may be referred to as a server device, a peripheral device, a secondary device, or a sub device. In one embodiment, the external electronic device (102) within the wireless environment may include a device such as a smartphone, a laptop computer, a desktop computer, or a tablet PC. In one embodiment, the external electronic device (102) may be referred to as a client device, a central device, a primary device, or a main device.

[0028] Referring to FIG. 1, an electronic device (101) may include a communication circuit (110), a processor (120) (e.g., including a processing circuit), a memory (130), and a battery (140).

[0029] In one embodiment, the communication circuit (110) may be used to support Bluetooth communication (e.g., legacy Bluetooth communication (or classic Bluetooth communication and / or Bluetooth low energy (BLE)) between the electronic device (101) and another electronic device (e.g., external electronic device (102)). For example, the communication circuit (110) may include at least a portion of the communication module (1490) (or wireless communication module (1492)) of FIG. 14, or may correspond to at least a portion of the communication module (1490) (or wireless communication module (1492)) of FIG. 14. For example, the communication circuit (110) may include a communication circuit for Bluetooth. For example, the communication circuit (110) may be used to establish a communication link (150). For example, the communication circuit (110) may be used to transmit a packet to the external electronic device (102) via the communication link (150). For example, The communication circuit (110) may be used to receive packets from an external electronic device (102) via a communication link (150). For example, the communication circuit (110) may be used to further support other communication techniques (e.g., Wi-Fi (wireless fidelity)) that are distinct from the Bluetooth communication technique. For example, the communication circuit (110) may be implemented as a single chip or may be implemented as multiple chips. For example, the communication circuit (110) may be implemented as a single integrated circuit or may be implemented as multiple integrated circuits. For example, the communication circuit (110) may be arranged in a distributed manner within the electronic device (101).

[0030] In one embodiment, the processor (120) may include various processing circuits and may be used to execute operations of the electronic device (101) illustrated in the descriptions of FIGS. 2A, 2B, 7, and / or 9. For example, the processor (120) may include at least a portion of the processor (1420) of FIG. 14 or may correspond to at least a portion of the processor (1420) of FIG. 14. For example, the processor (120) may include one or more processors, including an application processor (AP) and / or a communication processor (CP). For example, the processor (120) may be implemented as a single chip, such as a system on chip (SoC), or may be implemented as multiple chips. For example, the processor (120) may be implemented as a single integrated circuit or may be implemented as multiple integrated circuits. For example, the processor (120) may be distributedly arranged within the electronic device (101). The processor (120) may include various processing circuits and / or multiple processors. For example, as used herein, including in the claims, the term "processor" may include various processing circuits including at least one processor, one or more of which may be configured to collectively and / or individually perform the various functions described herein in a distributed manner. As used herein, when "processor," "at least one processor," and "one or more processors" are described as being configured to perform a number of functions, these terms encompass, for example and without limitation, situations where one processor performs some of the recited functions and other processor(s) perform other of the recited functions, as well as situations where a single processor may perform all of the recited functions.Additionally, at least one processor may comprise a combination of processors that perform various of the mentioned / disclosed functions, for example, in a distributed manner. At least one processor may execute program instructions to perform or achieve various functions.

[0031] In one embodiment, the memory (130) may (at least temporarily) store instructions for executing operations of the electronic device (101) illustrated in the descriptions of FIGS. 2A, 2B, 7, and / or 9. The instructions may be executed by the processor (120). The instructions may be included in one or more programs stored in the memory (130). For example, the memory (130) may include at least a portion of the memory (1430) of FIG. 14 (or at least a portion of the non-volatile memory (1434)) or may correspond to at least a portion of the memory (1430) of FIG. 14 (or at least a portion of the non-volatile memory (1434)). For example, the memory (130) may include a main memory (e.g., a random access memory (RAM), a register for the processor (120), a cache for the processor (120), a register for the communication circuit (110), a buffer (or soft buffer) for the communication circuit (110), and / or an auxiliary memory (e.g., a hard disk drive (HDD), a solid state drive (SSD)) of the electronic device (101) within the electronic device (101). For example, the memory (130) may be implemented as a single chip or may be implemented as multiple chips. For example, the memory (130) may be implemented as a single integrated circuit or may be implemented as multiple integrated circuits. For example, the memory (130) may be arranged in a distributed manner within the electronic device (101).

[0032] In one embodiment, the battery (140) may be a rechargeable secondary battery. In one embodiment, the battery (140) may be integrally disposed within the electronic device (101).

[0033] In one embodiment, the external electronic device (102) may include communication circuitry (110), a processor (120) (e.g., including processing circuitry), memory (130), and a display (145).

[0034] For example, the communication circuit (110) may include at least a portion of the communication module (1490) (or the wireless communication module (1492)) of FIG. 14, or may correspond to at least a portion of the communication module (1490) (or the wireless communication module (1492)) of FIG. 14. For example, the processor (120) may include at least a portion of the processor (1420) of FIG. 14, or may correspond to at least a portion of the processor (1420) of FIG. 14. For example, the memory (130) may include at least a portion of the memory (1430) of FIG. 14 (or at least a portion of the non-volatile memory (1434)) or may correspond to at least a portion of the memory (1430) of FIG. 14 (or at least a portion of the non-volatile memory (1434)). For example, the display (145) may include at least a portion of the display module (1460) of FIG. 14 or may correspond to at least a portion of the display module (1460) of FIG. 14.

[0035] In one embodiment, the size of the electronic device (101) may be relatively small compared to the size of the external electronic device (102). For example, the space that can be allocated for the battery (140) within the electronic device (101) may be relatively small. For example, due to such space constraints, the battery (140) included in the electronic device (101) may have a relatively small capacity. For example, since the battery (140) of the electronic device (101) has a relatively small capacity, a method for reducing power consumption within the electronic device (101) may be required.

[0036] Accordingly, the electronic device (101) can periodically change the state of the communication circuit (110) between an inactive state and an active state so as to receive only some of the packets from the external electronic device (102).

[0037] However, since the external electronic device (102) does not receive packets from the electronic device (101) while the communication circuit (110) of the electronic device (101) is activated, the connection between the electronic device (101) and the external electronic device (102) may be disconnected. Therefore, a method may be required to reduce power consumption within the electronic device (101) while preventing or preventing the communication connection between the electronic device (101) and the external electronic device (102) from being disconnected.

[0038] FIG. 2A is a signal flow diagram illustrating exemplary operations for establishing a communication connection between an electronic device and an external electronic device according to various embodiments. FIG. 2B is a signal flow diagram illustrating exemplary operations for establishing a communication connection between an electronic device and an external electronic device according to various embodiments. FIG. 3 is a diagram illustrating exemplary screens displayed during a communication connection in an external electronic device according to various embodiments. FIG. 4 is a diagram illustrating an example of parameters used for a communication connection between an electronic device and an external electronic device according to various embodiments.

[0039] For the description of FIGS. 2a, 2b, 3 and 4 (which may be referred to as FIGS. 2a to 4), reference may be made to the electronic device (101) and external electronic device (102) described in FIG. 1.

[0040] Referring to FIG. 2A, in operation 210, the electronic device (101) may transmit an advertisement packet (or an extended advertisement packet (e.g., ADV_EXT_IND)) to an external electronic device (102) via the communication circuit (110). For example, the electronic device (101) may transmit the extended advertisement packet to the external electronic device (102) via a primary advertisement channel. For example, the extended advertisement packet may include channel and offset information of a packet to be transmitted in operation 220. However, the present disclosure is not limited thereto.

[0041] In operation 220, the electronic device (101) may transmit an advertisement packet (or an auxiliary advertisement packet (e.g., AUX_ADV_IND)) to an external electronic device (102) via the communication circuit (110). For example, the electronic device (101) may transmit an auxiliary advertisement packet to the external electronic device (102) via a secondary advertisement channel.

[0042] In one embodiment, the electronic device (101) can transmit advertising packets (e.g., extended advertising packets and / or supplementary advertising packets) in a multicast or broadcast manner. The advertising packets may be packets for transmitting information related to connection or account (e.g., pairing) to surrounding electronic devices using wireless communication (e.g., Bluetooth low energy (BLE, or LE) communication). According to an embodiment, the electronic device (101) can transmit advertising packets based on a specific event (or, a specified condition). For example, the electronic device (101) can transmit advertising packets based on recognizing that a state of a door of a device (e.g., a cradle) that is available for charging a battery (140) of the electronic device (101) changes from a closed state to an open state while the electronic device (101) is stored therein. For example, the electronic device (101) may transmit an advertising packet based on the state in which power is obtained from the device while the electronic device (101) is placed on the device, which is available for charging the battery (140) of the electronic device (101). However, the present disclosure is not limited thereto. For example, the electronic device (101) may transmit an advertising packet based on at least one of a specified time period, a user input, or a case in which power for charging the battery (140) is supplied from an external source. For example, the electronic device (101) may transmit an advertising packet based on the absence (or release) of a communication link with an external electronic device (102) and / or the recognition that the electronic device (101) has changed from a state in which it is worn by the user to a state in which it is not worn by the user. However, the present disclosure is not limited thereto. For example, the electronic device (101) may transmit an advertising packet while the electronic device (101) is worn by the user.

[0043] In one embodiment, an advertising packet (e.g., an extended advertising packet and / or a supplementary advertising packet) may include at least one of identification information of the electronic device (101) (hereinafter, device identification information), account information of the user (hereinafter, user account information), information regarding whether the electronic device is currently paired with another device (hereinafter, current pairing information), a list of previously paired devices (hereinafter, pairing list), information regarding devices that can be paired simultaneously (hereinafter, simultaneous pairing information), information regarding transmission power, detection area, and / or remaining power of the battery (140) (hereinafter, battery status information).

[0044] In one embodiment, the external electronic device (102) may, in response to receiving an advertising packet (e.g., an extended advertising packet and / or a supplemental advertising packet), display information about the electronic device (101) via the display (145). For example, referring to state (301) of FIG. 3, the external electronic device (102) may display a user interface (UI) (310) (e.g., a pop-up screen) that includes a type of the electronic device (101) (e.g., Galaxy Ring) (or device identification information) and / or a visual object (e.g., a ring image) (315) representing the electronic device (101). For example, referring to state (303) of FIG. 3, the external electronic device (102) may display a UI (330) that includes a type of the electronic device (101), a visual object (335) representing the electronic device (101), and / or an object inquiring about whether to connect (e.g., Dismiss, Connect). For example, referring to state (305) of FIG. 3, the external electronic device (102) may display a UI (350) including a type of the electronic device (101), a visual object (355) representing the electronic device (101), and / or a visual object (357) representing the charging status of the external electronic device (102). However, the present disclosure is not limited thereto. For example, the external electronic device (102) may indicate whether the electronic device (101) and the external electronic device (102) have been paired before based on current pairing information. For example, the external electronic device (102) may indicate whether the electronic device (101) is a device of a user of the external electronic device (102) based on user account information.

[0045] In operation 230, the external electronic device (102) may transmit a connection request packet (e.g., AUX_CONNECT_REQ) to the electronic device (101) via the communication circuit (115). For example, the external electronic device (102) may transmit the connection request packet to the electronic device (101) via a secondary advertising channel. For example, the external electronic device (102) may transmit the connection request packet to the electronic device (101) in response to determining to establish a communication connection with the electronic device (101).

[0046] In operation 240, the electronic device (101) may transmit a connection response packet (e.g., AUX_CONNECT_RSP) to the external electronic device (102) via the communication circuit (110). For example, the electronic device (101) may transmit the connection response packet to the external electronic device (102) via a secondary advertising channel. For example, in response to determining to establish a communication connection with the external electronic device (102), the electronic device (101) may transmit the connection response packet to the external electronic device (102).

[0047] In operation 250, as the electronic device (101) and the external electronic device (102) exchange connection request packets and connection response packets with each other, a communication connection (e.g., communication link (150) of FIG. 1) can be established between the electronic device (101) and the external electronic device (102).

[0048] In one embodiment, an electronic device (101) and an external electronic device (102) connected via a communication link (150) can perform designated roles. For example, the electronic device (101) can perform the role of a peripheral device, and the external electronic device (102) can perform the role of a central device.

[0049] Through operations 261, 263, 265, and 267, the electronic device (101) and the external electronic device (102) can transmit and receive packets. For example, the packets can be data packets or control packets. The electronic device (101) and the external electronic device (102) can transmit and receive packets based on connection parameters. For example, the connection parameters can be set based on an initiating protocol data unit (PDU). For example, the initiating PDU can be CONNECT_IND or AUX_CONNECT_REQ. For example, referring to FIG. 4, LLData included in the initiating PDU (or CONNECT_IND) may include information about window size (1 byte) (1.25 ms) (400), window offset (2 bytes) (12.5 ms) (410), connection event interval (2 bytes) (30 ms) (420), peripheral latency (2 bytes) (0) (430), and connection timeout (2 bytes) (5 s) (440). The connection event interval (or connection interval) may indicate a length of time from a starting point (or anchor point) of a connection event. For example, the connection event interval may have a value that is a multiple of 1.25 milliseconds in a range of 7.5 milliseconds to 4 seconds. The window offset may indicate a starting point (or instant) from which packets can be transmitted via the first connection event using new connection parameters based on a current previous connection event interval. The window size may be a length of time from the window offset from which packets can be transmitted via the first connection event using new connection parameters. The peripheral latency may indicate the number of connection events of an external electronic device (102) (or a central device) that the electronic device (101) (or a peripheral device) does not listen to.For example, the electronic device (101) (or the peripheral device) not listening for a connection event may include not receiving a packet transmitted by the external electronic device (102) (or the central device) through the connection event. For example, the electronic device (101) (or the peripheral device) not listening for a connection event may include not opening a receive window during a connection event in which the external electronic device (102) (or the central device) transmits a packet (or during a window size within the connection event). For example, the electronic device (101) (or the peripheral device) not listening for a connection event may include disabling the communication circuit (110) during a connection event in which the external electronic device (102) (or the central device) transmits a packet (or during a window size within the connection event). For example, disabling the communication circuit (110) may include the electronic device (101) not supplying power to an antenna of the communication circuit (110). For example, disabling the communication circuit (110) may include the electronic device (101) turning off the communication circuit (110). For example, disabling the communication circuit (110) may include the electronic device (101) operating the communication circuit (110) at low power. However, the present disclosure is not limited thereto. In one embodiment, the connection timeout may be a time for determining whether to release the communication link (150). For example, the external electronic device (102) may release the communication link (150) if it does not receive a packet from the electronic device (101) during the connection timeout.

[0050] In one embodiment, the electronic device (101) may request an update of connection parameters. For example, the electronic device (101) may request an update of connection parameters by transmitting a packet of a specified format (e.g., LL_CONNECTION_PARAM_REQ) to the external electronic device (102) for requesting an update of connection parameters. For example, the external electronic device (102) may, in response to the request for an update of connection parameters, approve or reject the update request. For example, the external electronic device (102) may approve the update request through a packet of a specified format (e.g., LL_CONNECTION_UPDATE_IND). For example, the external electronic device (102) may reject the update request through a packet of a specified format (e.g., LL_REJECT_EXT_IND PDU).

[0051] Referring to FIG. 2B, in operation 270, the electronic device (101) may transmit an advertising packet (or an advertising packet (e.g., ADV_IND, ADV_DIRECT_IND)) to the external electronic device (102) through the communication circuit (110). For example, the electronic device (101) may transmit an extended packet to the external electronic device (102) through a primary advertising channel. In one embodiment, the advertising packet may be a packet for transmitting information related to a connection or account (e.g., pairing) to surrounding electronic devices using wireless communication (e.g., Bluetooth low energy (BLE, or LE) communication). According to an embodiment, the electronic device (101) may transmit the advertising packet based on a specific event (or a specified condition). In one embodiment, the advertising packet may include at least one of device identification information, user account information, current pairing information, pairing list, simultaneous pairing information, transmission power, detection area, and / or battery status information of the electronic device (101).

[0052] In one embodiment, the external electronic device (102) may, in response to receiving an advertising packet, display information about the electronic device (101) via the display (145).

[0053] In operation 280, the external electronic device (102) may transmit an initiating PDU (e.g., CONNECT_IND) to initiate a connection to the electronic device (101) via the communication circuit (115). For example, the external electronic device (102) may transmit the initiating PDU to the electronic device (101) via the primary advertising channel. For example, the external electronic device (102) may transmit the initiating PDU to the electronic device (101) in response to determining to establish a communication connection with the electronic device (101).

[0054] In operation 250, as the external electronic device (102) transmits a packet to the electronic device (101) to initiate a connection, a communication connection (e.g., communication link (150) of FIG. 1) may be established between the electronic device (101) and the external electronic device (102). In one embodiment, the electronic device (101) and the external electronic device (102) connected via the communication link (150) may perform designated roles. For example, the electronic device (101) may perform the role of a peripheral device, and the external electronic device (102) may perform the role of a central device.

[0055] Through actions 261, 263, 265, and 267, the electronic device (101) and the external electronic device (102) can transmit and receive packets.

[0056] In one embodiment, the electronic device (101) may request an update of connection parameters through operations 261, 263, 265, and 267. For example, the electronic device (101) may request an update of connection parameters by transmitting a packet of a specified format (e.g., LL_CONNECTION_PARAM_REQ) for requesting an update of connection parameters to the external electronic device (102). For example, the external electronic device (102) may, in response to the request for an update of connection parameters, approve or reject the update request. For example, the external electronic device (102) may approve the update request through a packet of a specified format (e.g., LL_CONNECTION_UPDATE_IND). For example, the external electronic device (102) may reject the update request through a packet of a specified format (e.g., LL_REJECT_EXT_IND PDU).

[0057] Hereinafter, with reference to FIGS. 5 and 6, the operation of transmitting and receiving packets through updated connection parameters between an electronic device (101) and an external electronic device (102) will be described in more detail.

[0058] FIG. 5 is a diagram illustrating an example of exchanging packets for updating parameters between an electronic device and an external electronic device according to various embodiments. FIG. 6 is a diagram illustrating an example of updated parameters according to various embodiments.

[0059] For the description of FIGS. 5 and 6, reference may be made to the electronic device (101) and external electronic device (102) described in FIG. 1. For the description of FIGS. 5 and 6, reference may be made to FIGS. 2A to 4. The situations of FIGS. 5 and 6 may be performed after operation 250 of FIG. 2A or 2B (or at least after operation 263).

[0060] Referring to FIG. 5, an external electronic device (102) can transmit a packet (511) from an anchor point (P1). An electronic device (101) can receive a packet (511) from an anchor point (P1).

[0061] The electronic device (101) may transmit a packet (e.g., LL_CONNECTION_PARAM_REQ) (515) of a specified format to request an update of connection parameters after a specified time (e.g., T_IFS (time inter frame space)) (e.g., 150 microseconds) after receiving the packet (511). The external electronic device (102) may receive the packet (515). For example, the packet (515) may be a request to change the window offset, connection event interval, peripheral latency, and connection timeout of the connection parameters to 38.75 milliseconds, 42.5 milliseconds, 23, and 8.16 seconds, respectively.

[0062] An external electronic device (102) can transmit a packet (521) from an anchor point (P2). An electronic device (101) can receive a packet (521) from an anchor point (P2). For example, the packet (521) can be a packet (e.g., LL_CONNECTION_UPDATE_IND) in a format specified for approving an update request. After receiving the packet (521), the electronic device (101) can transmit a packet (525) in a format specified after a specified time (e.g., T_IFS (time inter frame space)) (e.g., 150 microseconds).

[0063] For example, referring to FIG. 6, a packet of a specified format (e.g., LL_CONNECTION_UPDATE_IND) may indicate that the window size (1.25 milliseconds) (600), window offset (38.75 milliseconds) (610), connection event interval (42.5 milliseconds) (620), peripheral latency (1) (630), and connection timeout (8.16 seconds) (640) of the connection parameters are changed. A packet of a specified format (e.g., LL_CONNECTION_UPDATE_IND) may include information (e.g., instant) indicating an event counter to which the updated connection parameters are applied.

[0064] For example, if the connection parameters being updated are initiated after five connection events, the external electronic device (102) may not transmit packets to the electronic device (101) at anchor points (e.g., P3 to P6).

[0065] For example, an external electronic device (102) can transmit a packet (571) at an anchor point (P7). An electronic device (101) can receive a packet (571) at an anchor point (P7). The electronic device (101) can transmit a packet (575) after a specified time (e.g., T_IFS) after receiving the packet (571). An external electronic device (102) can receive the packet (575).

[0066] For example, the external electronic device (102) may transmit a packet (581) at the anchor point (P8). The electronic device (101) may not receive the packet (581) at the anchor point (P8) depending on the peripheral latency. For example, the electronic device (101) may turn off (or deactivate) (or power down) the communication circuit (110) during a connection event within a connection interval corresponding to the anchor point (P8). For example, deactivating the communication circuit (110) may include the electronic device (101) not supplying power to the antenna of the communication circuit (110). For example, deactivating the communication circuit (110) may include the electronic device (101) not listening for packets. For example, deactivating the communication circuit (110) may include the electronic device (101) not opening a window (e.g., a receiving window) to receive packets.

[0067] For example, an external electronic device (102) can transmit a packet (591) at an anchor point (P9). An electronic device (101) can receive a packet (591) at an anchor point (P9). The electronic device (101) can transmit a packet (595) after a specified time (e.g., T_IFS) after receiving the packet (591). An external electronic device (102) can receive the packet (595).

[0068] For example, the electronic device (101) may not receive a packet transmitted from an external electronic device (102) at the next anchor point of the anchor point (P9) depending on the peripheral latency. For example, the electronic device (101) may turn off (or deactivate) (or power-save) the communication circuit (110) during a connection event within a connection interval corresponding to the next anchor point of the anchor point (P9).

[0069] As described above, the electronic device (101) can periodically change the state of the communication circuit (110) between an inactive state and an active state so as to receive only some of the packets from the external electronic device (102).

[0070] However, if the external electronic device (102) does not receive a packet from the electronic device (101) during a connection timeout while the communication circuit (110) of the electronic device (101) is activated, the connection between the electronic device (101) and the external electronic device (102) may be disconnected. Hereinafter, an operation of the electronic device (101) to prevent or suppress the disconnection of the communication connection between the electronic device (101) and the external electronic device (102) while reducing power consumption within the electronic device (101) may be described in more detail.

[0071] FIG. 7 is a flowchart illustrating an exemplary method for an electronic device to process an event based on a packet from an external electronic device according to various embodiments.

[0072] For the description of FIG. 7, reference may be made to the electronic device (101) and external electronic device (102) described in FIG. 1. For the description of FIG. 7, reference may be made to FIGS. 2A to 6. The operations of FIG. 7 may be performed after the anchor point (P7) of FIG. 5. However, the present disclosure is not limited thereto.

[0073] Referring to FIG. 7, in operation 710, the electronic device (101) may receive a packet according to peripheral latency. For example, the peripheral latency may not be 0.

[0074] For example, a packet may have a format similar to that shown in Table 1 below.

[0075] Preamble Access Address Payload CRC Constant Tone Extension

[0076] In Table 1, the preamble field (hereinafter, “preamble”) has a length of 1 byte (e.g., in the case of LE 1M PHY) or 2 bytes (e.g., in the case of LE 2M PHY) and may be used for frequency synchronization, symbol timing prediction, and / or automatic gain control learning of a receiving device (e.g., electronic device (101)). The access address field (hereinafter, “access address”) has a length of 4 bytes and may indicate a physical channel for exchanging data between a receiving device (e.g., electronic device (101)) and an external electronic device (102). For example, the payload may be transmitted on the physical channel. For example, when a packet is transmitted on a data physical channel, the payload field may be referred to as a data physical channel protocol data unit (PDU). For example, the payload (or data physical channel PDU) may have a format as shown in Table 2 below. The CRC (cyclic redundancy check) field (hereinafter referred to as CRC) has a length of 3 bytes and can be used for error checking of the payload (or data physical channel PDU). The constant tone extension (CTE) field (hereinafter referred to as CTE) can be a series of continuously modulated, unwhitened 1s. Depending on the embodiment, the constant tone extension may be excluded from the packet.

[0077] Payload HeaderPayloadMIC

[0078] In Table 2, the payload header field (hereinafter, “payload header”) may have a length of 2 or 3 bytes and a format as shown in Table 3 below. The payload field (hereinafter, “payload”) in Table 2 may have a length of 0 to 251 bytes and may be an LL data PDU or an LL control PDU. The MIC (message integrity check) field (hereinafter, “MIC”) may have a length of 4 bytes. Depending on the embodiment, the MIC may be omitted.

[0079] LL IDNESNSNMCDCPRFULengthCTEInfo

[0080] In Table 3, the LL (link layer) ID (identification) field can have a length of 2 bits. For example, if the LL ID is 0b00, the payload in Table 2 can represent unspecified data (e.g., RFU (reserved for future use)). For example, if the LL ID is 0b01, the payload in Table 2 can be understood as an LL data PDU and can represent a continuous piece of an L2CAP message (or fragmented data) or an empty PDU. For example, if the LL ID is 0b10, the payload in Table 2 can be understood as an LL data PDU and can represent the start of an L2CAP message or the completion of an L2CAP message. For example, if the LL ID is 0b11, the payload in Table 2 can be understood as an LL control PDU. The NESN (next expected sequence number) field has a length of 1 bit and can indicate the value of the SN (sequence number) of a packet containing new data to be transmitted next. The SN (sequence number) field has a length of 1 bit and can indicate whether the packet contains a new PDU or the last PDU. For example, the SN can be used to identify a packet transmitted by the link layer of the communication link (150). For example, a packet containing a new PDU can have a different SN value than a packet containing the last PDU. For example, a packet having the same SN value as a packet containing the last PDU can be a retransmission packet. The MD (more data) field has a length of 1 bit and can indicate whether additional data is transmitted within a connection event. The CP (CTEInfo present) field can indicate whether the payload header has a CTEInfo field.The Length field can indicate the length of the payload and MIC in Table 2. The CTEInfo field can indicate information about the constant tone extension.

[0081] In operation 720, the electronic device (101) may determine whether an event is identified. For example, the event may be an event indicating whether the external electronic device (102) has received a packet that the electronic device (101) previously transmitted to the external electronic device (102). For example, the previously transmitted packet may be a packet that the electronic device (101) transmitted to the external electronic device (102) during a connection event within a previous connection interval according to a peripheral latency. For example, the current connection interval may be a connection interval that includes a connection event in which the electronic device (101) receives a packet from the external electronic device (102) according to operation 710 or operation 730. For example, in a situation in which the event is not identified and the peripheral latency is 1, the previously transmitted packet may be a packet transmitted in a connection event within a connection interval that is two connections prior to the current connection interval. For example, in a situation where an event is identified, the previously transmitted packet may be a packet transmitted during a connection event within a connection interval immediately preceding the current connection interval or a connection event within the current connection interval. However, the present disclosure is not limited thereto. For example, the previously transmitted packet may represent a packet transmitted by the electronic device (101) to the external electronic device (102) during a connection event within a connection interval immediately preceding the current connection interval. The immediately preceding connection interval may be a connection interval between the previous connection interval and the current connection interval according to peripheral latency. For example, the previously transmitted packet may be a packet received during a connection event within the current connection interval. However, the present disclosure is not limited thereto.

[0082] For example, the event may be an event for determining whether the electronic device (101) will additionally receive a packet transmitted from the external electronic device (102). For example, the event may be an event for determining whether the electronic device (101) will transmit a packet indicating a response to the external electronic device (102) in response to the additionally received packet. For example, the event may be an event for determining whether the electronic device (101) activates the communication circuit (110) to be deactivated according to the peripheral latency. For example, the event may be an event for determining whether the electronic device (101) activates the communication circuit (110) during a connection event within a connection interval to be deactivated according to the peripheral latency. For example, the deactivation of the communication circuit (110) according to the peripheral latency may include the deactivation of the communication circuit (110) during connection events that the electronic device (101) does not listen to according to the peripheral latency. For example, disabling the communication circuit (110) may include that the electronic device (101) does not supply power to the antenna of the communication circuit (110). For example, disabling the communication circuit (110) may include that the electronic device (101) does not open a window for receiving packets (e.g., a receiving window).

[0083] In one embodiment, the electronic device (101) can determine whether an event is identified based on a packet from an external electronic device (102) received during a connection event within a current connection interval. For example, the electronic device (101) can determine whether an event is identified based on information indicated by a packet from the external electronic device (102).

[0084] For example, the electronic device (101) may determine whether an event is identified based on examining the payload header of a packet of the external electronic device (102). For example, the electronic device (101) may determine that an event is identified based on identifying an error in the payload header of a packet of the external electronic device (102).

[0085] For example, the electronic device (101) may determine that an event has been identified based on a mismatch between information indicated by the LL ID of the payload header of the packet of the external electronic device (102) and data indicated by the payload in Table 2. For example, the electronic device (101) may determine that an error has been identified in the payload header if the LL ID of the payload header indicates 0b00. For example, the electronic device (101) may determine that an error has been identified in the payload header if the LL ID of the payload header indicates 0b01, but the payload in Table 2, where the LL ID of the previously received packet is 0b10, does not indicate the start of an L2CAP message. For example, the electronic device (101) may determine that an error has been identified in the payload header if the LL ID of the payload header indicates 0b10, but the length of the payload in Table 2 is 0 (or, if the Length field indicates the length of the payload as 0). For example, the electronic device (101) may determine that an error has been identified in the payload header if the LL ID of the payload header indicates 0b11, but the payload in Table 2 does not have a control opcode and / or a parameter.

[0086] For example, the electronic device (101) can determine whether an event is identified based on information indicated by the NESN and information indicated by the SN of the payload header of a packet of the external electronic device (102). For example, the electronic device (101) can determine whether an event is identified based on information indicated by the NESN and information indicated by the SN of the payload header of a packet whose payload length is 0 in Table 2. For example, the electronic device (101) can determine whether an event is identified based on information indicated by the NESN and information indicated by the SN of the payload header of a normally received packet. For example, a normally received packet may refer to a packet that has passed the inspection of the packet's payload header and the CRC inspection.

[0087] For example, the electronic device (101) may determine that an event has been identified based on a difference between a value indicated by an NESN of a packet previously transmitted by the electronic device (101) to an external electronic device (102) and a value indicated by an SN of a packet received by the electronic device (101) during a connection event within a current connection interval. For example, the previously transmitted packet may indicate a packet transmitted by the electronic device (101) to the external electronic device (102) prior to receiving a packet received during a connection event within the current connection interval.

[0088] For example, the electronic device (101) may determine that an event has been identified based on the fact that the value indicated by the SN of a packet previously transmitted by the electronic device (101) to the external electronic device (102) is the same as the value indicated by the NESN of a packet received by the electronic device (101) during a connection event within the current connection interval.

[0089] In one embodiment, based on determining that the event is identified (yes in operation 720), the electronic device (101) may perform operation 730. In one embodiment, based on determining that the event is not identified (no in operation 720), the electronic device (101) may perform operation 710.

[0090] In operation 730, the electronic device (101) may additionally receive a packet. For example, receiving the additional packet may include activating the communication circuit (110) so that the electronic device (101) may additionally receive the packet. For example, receiving the additional packet may include opening a window for reception (or a reception window) during a connection event in which the external electronic device (102) transmits a packet (or during a window size within a connection event) so that the electronic device (101) may additionally receive the packet. For example, receiving the additional packet may include listening for a connection event so that the electronic device (101) may additionally receive the packet. For example, activating the communication circuit (110) may include supplying power to an antenna of the communication circuit (110). For example, activating the communication circuit (110) may include operating the communication circuit (110) at normal power, but the present disclosure is not limited thereto.

[0091] For example, receiving an additional packet may include opening a window (or receiving window) for reception in a specified number of (consecutive) connection events, in order for the electronic device (101) to receive additional packets. For example, the specified number of connection events for receiving additional packets may be determined based on a reception error rate (or success rate) of the communication link (150), as described with reference to FIG. 10 below. For example, the specified number of connection events for receiving additional packets may be determined based on an open count value of the communication link (150), as described with reference to FIG. 10 below. Here, the open count value may have a value between 1 and the peripheral latency. Depending on the embodiment, the open count value may be set by the electronic device (101) and / or the external electronic device (102).

[0092] For example, receiving an additional packet may indicate that the electronic device (101) receives a packet from an external electronic device (102) by activating the communication circuit (110) that would otherwise be deactivated based on a peripheral latency. For example, receiving an additional packet may indicate that the electronic device (101) receives a packet from an external electronic device (102) by activating the communication circuit (110) during a connection event within a connection interval that would otherwise be deactivated based on a peripheral latency. For example, receiving an additional packet may indicate that the electronic device (101) receives a packet from an external electronic device (102) by keeping the communication circuit (110) activated during a connection event within a current connection interval. For example, receiving an additional packet may indicate that the electronic device (101) receives a packet from an external electronic device (102) by activating the communication circuit (110) during at least some of the connection events during which the communication circuit (110) would otherwise be deactivated based on a peripheral latency. For example, receiving an additional packet may indicate receiving a packet from an external electronic device (102) by activating the communication circuit (110) during at least some of the connection events that the electronic device (101) is not listening for, depending on the peripheral latency. In some embodiments, activating the communication circuit (110) during a connection event within a connection interval to be deactivated may include disabling (or ignoring) the peripheral latency.

[0093] For example, the electronic device (101) may activate the communication circuit (110) during a connection event within the next connection interval. For example, the electronic device (101) may activate the communication circuit (110) for at least a window size (or during a reception window) based on an anchor point of the next connection interval.

[0094] For example, the electronic device (101) may additionally receive packets from the external electronic device (102) while the communication circuit (110) is activated. In one embodiment, the electronic device (101) may, in response to receiving additional packets from the external electronic device (102), transmit a packet with increased transmission power to be transmitted to the external electronic device (102). In one embodiment, the electronic device (101) may transmit a packet with gradually increased transmission power to be transmitted to the external electronic device (102). For example, as the number of connection events (or number of connection events) in which the external electronic device (102) does not receive packets to be transmitted by the electronic device (101) increases, the electronic device (101) may gradually increase the transmission power of packets to be transmitted to the external electronic device (102).

[0095] For example, the electronic device (101) may perform operation 720 again based on additionally received packets. For example, the electronic device (101) may perform operation 720 again based on additionally received packets during a specified number of connection events.

[0096] For example, the electronic device (101) may re-enable peripheral latency based on the last connection event among the specified number of connection events after additionally receiving packets during the specified number of connection events. Re-enable peripheral latency may include not receiving packets transmitted from the external electronic device (102) during connection events according to the peripheral latency following the last connection event. Re-enable peripheral latency may include receiving packets transmitted from the external electronic device (102) after connection events according to the peripheral latency following the last connection event. However, the present disclosure is not limited thereto. For example, the electronic device (101) may re-enable peripheral latency based on one connection event among the specified number of connection events, based on determining that the external electronic device (102) has normally received a packet transmitted by the electronic device (101).

[0097] As described above, the electronic device (101) activates and deactivates the communication circuit (110) according to the peripheral latency, and activates the communication circuit (110) even during a time period during which it should be deactivated based on the determination that the external electronic device (102) has not received the packet of the electronic device (101), thereby expanding the opportunity to transmit the packet of the electronic device (101) to the external electronic device (102) before the connection timeout.

[0098] FIG. 8A is a diagram illustrating an exemplary operation for an electronic device to identify an event based on a packet from an external electronic device according to various embodiments.

[0099] For the description of FIG. 8A, reference may be made to the electronic device (101) and external electronic device (102) described in FIG. 1. For the description of FIG. 8A, reference may be made to FIGS. 2A to 7. The situations of FIG. 8A may be performed after the anchor point (P7) of FIG. 5. However, the present disclosure is not limited thereto.

[0100] Referring to FIG. 8A, an external electronic device (102) may transmit a packet (801) at an anchor point (PN). For example, the SN of the packet (801) may represent 1. The electronic device (101) may receive the packet (801) at the anchor point (PN). The electronic device (101) may transmit a packet (805) after a specified time (e.g., T_IFS) after receiving the packet (801). For example, the electronic device (101) may determine the value of the NESN to indicate whether the packet (801) was normally received based on normal reception of the packet (801). For example, the electronic device (101) may determine the value of the NESN to represent a value that adds 1 to the value of the SN represented by the packet (801) (or a value different from the value of the SN) based on normal reception of the packet (801). For example, the NESN of packet (805) may represent 0. During a connection event within a connection interval starting from the anchor point (PN), the external electronic device (102) may not receive a packet indicating a response to packet (801).

[0101] For example, the external electronic device (102) may transmit a packet (811) at the next anchor point (PN+1). For example, the external electronic device (102) may transmit a packet (811) having an SN of 1 (or a retransmission packet (811) of the packet (801)) based on not receiving a packet indicating a response to the packet (801). For example, the electronic device (101) may deactivate the communication circuit (110) during a connection event within a connection interval starting from the anchor point (PN) according to a peripheral latency (e.g., 1). For example, the electronic device (101) may not receive a packet from the external electronic device (102) during a connection event within a connection interval starting from the anchor point (PN) according to a peripheral latency (e.g., 1). During a connection event within a connection interval starting from the anchor point (PN+1), the external electronic device (102) may not receive a packet indicating a response to the packet (811).

[0102] For example, the external electronic device (102) may transmit a packet (821) at the next anchor point (PN+2). For example, the external electronic device (102) may transmit a packet (811) having an SN of 1 based on not receiving a packet indicating a response to the packet (811).

[0103] For example, the electronic device (101) can receive a packet (821) at an anchor point (PN+2).

[0104] In one embodiment, the electronic device (101) may transmit a packet (825) a specified time (e.g., T_IFS) after receiving the packet (821). For example, the electronic device (101) may transmit the packet (825) with NESN (i.e., 0) set to the external electronic device (102) to indicate that the packet (821) is received at the anchor point (PN+2).

[0105] For example, the electronic device (101) can determine that the external electronic device (102) has not received the packet (805) previously transmitted by the electronic device (101) to the external electronic device (102) based on the difference between the NESN (i.e., 0) of the previously transmitted packet (805) and the SN (i.e., 1) of the currently received packet (821). For example, the electronic device (101) can determine that an event has been identified based on the difference between the NESN (i.e., 0) of the previously transmitted packet (805) and the SN (i.e., 1) of the currently received packet (821).

[0106] In one embodiment, based on determining that an event is identified, the electronic device (101) may determine to receive an additional packet. In one embodiment, based on determining that an event is identified, the electronic device (101) may determine to activate the communication circuit (110) that is to be deactivated according to the peripheral latency. For example, receiving an additional packet may indicate that the electronic device (101) activates the communication circuit (110) that is to be deactivated during the anchor point (PN+3) according to the peripheral latency to receive a packet (831) to be transmitted from the external electronic device (102). For example, deactivating the communication circuit (110) according to the peripheral latency may include deactivating the communication circuit (110) during connection events that the electronic device (101) does not listen to according to the peripheral latency. For example, activating a communication circuit (110) that is to be disabled based on peripheral latency may include activating the communication circuit (110) during at least some of the connection events during which the communication circuit (110) is to be disabled based on peripheral latency. For example, activating a communication circuit (110) that is to be disabled based on peripheral latency may include deactivating (or ignoring) the peripheral latency.

[0107] For example, during a connection event within a connection interval starting from anchor point (PN+2), the external electronic device (102) can determine which packet (831) to transmit at the next anchor point (PN+3) based on whether it receives a packet (825) indicating a response to packet (821).

[0108] For example, the external electronic device (102) may determine the SN of the packet (831) to be transmitted at the next anchor point (PN+3) as 0 based on receiving a packet (825) indicating a response to the packet (821). For example, the external electronic device (102) may determine the SN of the packet (831) to be transmitted at the next anchor point (PN+3) as 1 based on not receiving a packet (825) indicating a response to the packet (821).

[0109] Hereinafter, with reference to FIG. 8b, situations in which an external electronic device (102) does not receive a packet (825) indicating a response to a packet (821) can be described.

[0110] FIG. 8B is a diagram illustrating an exemplary operation for an electronic device to additionally receive a packet from an external electronic device according to various embodiments.

[0111] For the description of FIG. 8B, reference may be made to the electronic device (101) and external electronic device (102) described in FIG. 1. For the description of FIG. 8B, reference may be made to FIGS. 2A to 7. The situations of FIG. 8B may be performed after the anchor point (P7) of FIG. 5. However, the present disclosure is not limited thereto.

[0112] Referring to FIG. 8B, for example, the external electronic device (102) may transmit a packet (831) at the next anchor point (PN+3). For example, the external electronic device (102) may transmit a packet (831) having an SN of 1 based on not receiving a packet (825) indicating a response to the packet (821).

[0113] For example, the electronic device (101) may activate a communication circuit (110) that is to be deactivated according to the peripheral latency at the anchor point (PN+3). For example, the electronic device (101) may activate a communication circuit (110) that is to be deactivated according to the peripheral latency during a connection event within a connection interval starting from the anchor point (PN+3).

[0114] For example, the electronic device (101) may receive a packet (831) via the activated communication circuit (110). The electronic device (101) may transmit a packet (835) after a specified time (e.g., T_IFS) after receiving the packet (831). For example, the electronic device (101) may transmit the packet (835) with the NESN (i.e., 0) set to the external electronic device (102) to indicate that the packet (831) is received at the anchor point (PN+3).

[0115] For example, the electronic device (101) can determine that the external electronic device (102) did not receive the packet (825) that the electronic device (101) previously transmitted to the external electronic device (102) based on the difference between the NESN (i.e., 0) of the previously transmitted packet (825) and the SN (i.e., 1) of the currently received packet (831). For example, the electronic device (101) can determine that an event has been identified based on the difference between the NESN (i.e., 0) of the previously transmitted packet (825) and the SN (i.e., 1) of the currently received packet (831).

[0116] In one embodiment, based on the determination that an event is identified, the electronic device (101) may determine to receive an additional packet. In one embodiment, the electronic device (101) may activate the communication circuit (110) that is to be deactivated during the anchor point (PN+4) according to the peripheral latency to receive the packet (841) to be transmitted from the external electronic device (102).

[0117] Similarly, during a connection event within a connection interval starting from anchor point (PN+3), the external electronic device (102) can determine which packet (841) to transmit at the next anchor point (PN+4) based on whether it receives a packet (835) indicating a response to packet (831). Accordingly, depending on the value of the SN indicated by the packet (841) and the value indicated by the NESN of the previously transmitted packet (835), it can be determined whether the electronic device (101) activates the communication circuit (110) during the next anchor point (PN+5). Additionally, the electronic device (101) transmits a packet (845) indicating receipt of the packet (841) to the external electronic device (102), and depending on whether the external electronic device (102) receives the packet (845), whether the electronic device (101) activates the communication circuit (110) during the next anchor point (PN+5) may vary.

[0118] Hereinafter, with reference to FIG. 8c, situations in which an external electronic device (102) receives a packet (825) indicating a response to a packet (821) can be described.

[0119] FIG. 8c is a diagram illustrating an exemplary operation for an electronic device to additionally receive a packet from an external electronic device according to various embodiments.

[0120] For the description of FIG. 8C, reference may be made to the electronic device (101) and external electronic device (102) described in FIG. 1. For the description of FIG. 8C, reference may be made to FIGS. 2A to 7. The situations in FIG. 8C may be performed after the anchor point (P7) in FIG. 5. However, the present disclosure is not limited thereto.

[0121] Referring to FIGS. 8A and 8C, for example, the external electronic device (102) may transmit a packet (831) at the next anchor point (PN+3). For example, the external electronic device (102) may transmit a packet (831) having an SN of 0 based on receiving a packet (825) indicating a response to the packet (821).

[0122] For example, the electronic device (101) may activate a communication circuit (110) that is to be deactivated according to the peripheral latency at the anchor point (PN+3). For example, the electronic device (101) may activate a communication circuit (110) that is to be deactivated according to the peripheral latency during a connection event within a connection interval starting from the anchor point (PN+3).

[0123] For example, the electronic device (101) may receive a packet (831) via the activated communication circuit (110). The electronic device (101) may transmit a packet (835) after a specified time (e.g., T_IFS) after receiving the packet (831). For example, the electronic device (101) may transmit the packet (835) with the NESN (i.e., 1) set to the external electronic device (102) to indicate that the packet (831) is received at the anchor point (PN+3).

[0124] For example, the electronic device (101) can determine that the external electronic device (102) has received the packet (825) previously transmitted by the electronic device (101) to the external electronic device (102) based on the fact that the NESN (i.e., 0) of the previously transmitted packet (825) and the SN (i.e., 0) of the currently received packet (831) are identical. For example, the electronic device (101) can determine that the event is not identified based on the fact that the NESN (i.e., 0) of the previously transmitted packet (825) and the SN (i.e., 0) of the currently received packet (831) are identical.

[0125] In one embodiment, based on determining that the event is not identified, the electronic device (101) may determine to receive a packet according to the peripheral latency based on the anchor point (PN+3) of the current connection event. In one embodiment, based on determining that the event is not identified, the electronic device (101) may re-enable the disabled peripheral latency based on the anchor point (PN+3) of the current connection event. For example, receiving a packet according to the peripheral latency may include determining the anchor point (PN+3) of the current connection event as the reference anchor point (830). For example, the electronic device (101) may not receive a packet transmitted from the external electronic device (102) during connection events according to the peripheral latency among connection events following the connection event starting from the reference anchor point (830). For example, receiving a packet according to the peripheral latency may include receiving a packet at a connection event for which the electronic device (101) is to listen according to the peripheral latency among connection events after the reference anchor point (830). Re-enabling the peripheral latency based on the reference anchor point (830) may include disabling the communication circuit (110) during a number of connection intervals according to the peripheral latency among connection intervals following a connection interval starting from the reference anchor point (830).

[0126] For example, based on the reference anchor point (830), the electronic device (101) may not receive a packet (841) from the external electronic device (102) during a number of connection intervals according to the peripheral latency starting from the anchor point (PN+4) following the anchor point (PN+3). For example, the value of the SN of the packet (841) may vary depending on whether the external electronic device (102) receives a packet (835) indicating a response. For example, the SN of the packet (841) may be different from the SN of the packet (831) upon receiving the packet (835). For example, the SN of the packet (841) may be the same as the SN of the packet (831) upon not receiving the packet (835).

[0127] For example, the external electronic device (102) can transmit a packet (851) at the next anchor point (PN+1) of the anchor point (PN+4). For example, the external electronic device (102) can transmit a packet (851) having the same SN as the SN of the packet (841) based on not receiving a packet indicating a response to the packet (841).

[0128] For example, the electronic device (101) may receive a packet (851) at an anchor point (PN+5). The electronic device (101) may transmit a packet (855) after a specified time (e.g., T_IFS) after receiving the packet (851). For example, the electronic device (101) may transmit a packet (855) with a NESN set to an external electronic device (102) to indicate that the packet (851) has been received at an anchor point (PN+5).

[0129] For example, the electronic device (101) can determine whether the external electronic device (102) has received the packet (835) that the electronic device (101) previously transmitted to the external electronic device (102) based on comparing the NESN of the previously transmitted packet (835) with the SN of the currently received packet (851). For example, the electronic device (101) can determine that the external electronic device (102) has not received the previously transmitted packet (835) based on the fact that the NESN of the previously transmitted packet (835) and the SN of the currently received packet (851) are different from each other. For example, the electronic device (101) can determine that the external electronic device (102) has received the previously transmitted packet (835) based on the fact that the NESN of the previously transmitted packet (835) and the SN of the currently received packet (851) are the same.

[0130] For example, the electronic device (101) may disable the communication circuit (110) during a connection event within a connection interval starting from the next anchor point (PN+5) based on the external electronic device (102) receiving a previously transmitted packet (835) according to the peripheral latency. For example, the electronic device (101) may enable the communication circuit (110) during a connection event within a connection interval starting from the next anchor point (PN+5) that would otherwise be disabled based on the external electronic device (102) not receiving a previously transmitted packet (835).

[0131] FIG. 8D is a diagram illustrating an exemplary operation for an electronic device to identify an event based on a packet from an external electronic device according to various embodiments.

[0132] For the description of FIG. 8d, reference may be made to the electronic device (101) and external electronic device (102) described in FIG. 1. For the description of FIG. 8d, reference may be made to FIGS. 2a to 7. The situations of FIG. 8d may be performed after the anchor point (P7) of FIG. 5. However, the present disclosure is not limited thereto.

[0133] The situations in FIG. 8d may represent situations in which the electronic device (101) determines whether the external electronic device (102) has received a packet previously transmitted by the electronic device (101) to the external electronic device (102) by comparing the value indicated by the SN of the packet previously transmitted by the electronic device (101) to the external electronic device (102) with the value indicated by the NESN of the packet received by the electronic device (101) during the current connection interval.

[0134] Referring to FIG. 8D, an external electronic device (102) may transmit a packet (801) from an anchor point (PN). For example, the NESN of the packet (801) may represent 1. The electronic device (101) may receive the packet (801) from the anchor point (PN). The electronic device (101) may transmit a packet (805) after a specified time (e.g., T_IFS) after receiving the packet (801). For example, the SN of the packet (805) may represent 1. During a connection event within a connection interval starting from the anchor point (PN), the external electronic device (102) may not receive a packet indicating a response to the packet (801).

[0135] For example, the external electronic device (102) may transmit a packet (811) at the next anchor point (PN+1). For example, the external electronic device (102) may transmit a packet (811) in which the NESN indicates 1 based on not receiving a packet indicating a response to the packet (801). For example, the electronic device (101) may disable the communication circuit (110) during a connection event within a connection interval starting from the anchor point (PN) according to a peripheral latency (e.g., 1). For example, the electronic device (101) may not receive a packet from the external electronic device (102) during a connection event within a connection interval starting from the anchor point (PN) according to a peripheral latency (e.g., 1). During a connection event within a connection interval starting from the anchor point (PN+1), the external electronic device (102) may not receive a packet indicating a response to the packet (811).

[0136] For example, the external electronic device (102) may transmit a packet (821) at the next anchor point (PN+2). For example, the external electronic device (102) may transmit a packet (811) in which the NESN indicates 1 based on not receiving a packet indicating a response to the packet (811).

[0137] For example, the electronic device (101) may receive a packet (821) at an anchor point (PN+2). The electronic device (101) may transmit a packet (825) after a specified time (e.g., T_IFS) after receiving the packet (821).

[0138] For example, the electronic device (101) can determine that the external electronic device (102) has not received the packet (805) that the electronic device (101) previously transmitted to the external electronic device (102) based on the fact that the SN (i.e., 1) of the previously transmitted packet (805) and the NESN (i.e., 1) of the currently received packet (821) are identical. For example, the electronic device (101) can determine that an event has been identified based on the fact that the SN (i.e., 1) of the previously transmitted packet (805) and the NESN (i.e., 1) of the currently received packet (821) are identical.

[0139] In one embodiment, based on determining that an event is identified, the electronic device (101) may determine to receive an additional packet. In one embodiment, based on determining that an event is identified, the electronic device (101) may determine to activate a communication circuit (110) that is to be deactivated according to a peripheral latency. For example, receiving an additional packet may indicate that the electronic device (101) activates a communication circuit (110) that is to be deactivated during an anchor point (PN+3) according to a peripheral latency to receive a packet (831) to be transmitted from an external electronic device (102).

[0140] For example, during a connection event within a connection interval starting from anchor point (PN+2), the external electronic device (102) can determine which packet (831) to transmit at the next anchor point (PN+3) based on whether it receives a packet (825) indicating a response to packet (821).

[0141] For example, the external electronic device (102) may determine the NESN of the packet (831) to be transmitted at the next anchor point (PN+3) to be 0 based on receiving a packet (825) indicating a response to the packet (821). For example, the external electronic device (102) may determine the NESN of the packet (831) to be transmitted at the next anchor point (PN+3) to be 1 based on not receiving a packet (825) indicating a response to the packet (821).

[0142] For example, the electronic device (101) may receive a packet (831) at an anchor point (PN+3). The electronic device (101) may transmit a packet (835) after a specified time (e.g., T_IFS) after receiving the packet (831).

[0143] For example, the electronic device (101) can determine whether the external electronic device (102) has received the packet (825) that the electronic device (101) previously transmitted to the external electronic device (102) based on comparing the SN of the previously transmitted packet (825) with the NESN of the currently received packet (831). For example, the electronic device (101) can determine that the external electronic device (102) has received the previously transmitted packet (825) based on the fact that the SN of the previously transmitted packet (825) and the NESN of the currently received packet (831) are different from each other. For example, the electronic device (101) can determine that the external electronic device (102) has not received the previously transmitted packet (825) based on the fact that the SN of the previously transmitted packet (825) and the NESN of the currently received packet (831) are the same.

[0144] For example, the electronic device (101) may disable the communication circuit (110) during a connection event within a connection interval starting from the next anchor point (PN+4) based on the external electronic device (102) receiving a previously transmitted packet (825). For example, the electronic device (101) may enable the communication circuit (110) during a connection event within a connection interval starting from the next anchor point (PN+4) that would otherwise be disabled based on the external electronic device (102) not receiving a previously transmitted packet (825).

[0145] FIG. 9 is a flowchart illustrating an exemplary method for an electronic device to process an event based on a packet from an external electronic device according to various embodiments.

[0146] For the description of FIG. 9, reference may be made to the electronic device (101) and external electronic device (102) described in FIG. 1. For the description of FIG. 9, reference may be made to FIGS. 2A to 8D. The operations of FIG. 9 may be performed after the anchor point (P7) of FIG. 5. However, the present disclosure is not limited thereto.

[0147] Referring to FIG. 9, in operation 910, the electronic device (101) may receive a packet according to peripheral latency. For example, the peripheral latency may not be 0. In one embodiment, operation 910 may correspond to operation 710 of FIG. 7.

[0148] In operation 920, the electronic device (101) may determine whether an event is identified. In one embodiment, operation 920 may correspond to operation 720 of FIG. 7.

[0149] For example, the event may be an event indicating whether the external electronic device (102) has received a packet that the electronic device (101) previously transmitted to the external electronic device (102). For example, the previously transmitted packet may be a packet that the electronic device (101) transmitted to the external electronic device (102) during a connection event within a previous connection interval according to a peripheral latency. For example, the previously transmitted packet may be a packet that the electronic device (101) transmitted to the external electronic device (102) in response to a packet that the external electronic device (102) transmitted to the electronic device (101) during a connection event within a current connection interval according to a peripheral latency. For example, the current connection event may be a connection interval during which the electronic device (101) receives a packet from the external electronic device (102) according to operation 910 or operation 940 of FIG. 9.

[0150] For example, the event may be an event for determining whether the electronic device (101) will additionally receive a packet transmitted from an external electronic device (102). For example, the event may be an event for determining whether the electronic device (101) will additionally receive a packet by extending the length of a current connection event to the external electronic device (102). For example, the event may be an event for determining whether the electronic device (101) will transmit a packet indicating a response to the additionally received packet to the external electronic device (102).

[0151] In one embodiment, the electronic device (101) can determine whether an event is identified based on a packet from an external electronic device (102) received during a connection event within a current connection interval. For example, the electronic device (101) can determine whether an event is identified based on information indicated by a packet from the external electronic device (102).

[0152] In one embodiment, based on determining that the event is identified (yes in operation 920), the electronic device (101) may perform operation 940. In one embodiment, based on determining that the event is not identified (no in operation 920), the electronic device (101) may perform operation 930.

[0153] In operation 930, the electronic device (101) may set MD to 0. For example, the electronic device (101) may set the value of MD of the payload header of a packet to be transmitted to the external electronic device (102) to 0. For example, the electronic device (101) may set the value of MD to 0 so that the external electronic device (102) does not transmit additional packets during the current connection event. For example, the electronic device (101) may set the value of MD to 0 so that the length of the current connection event is not extended.

[0154] In one embodiment, the electronic device (101) may transmit a packet with MD equal to 0 to the external electronic device (102). In one embodiment, the external electronic device (102) may not extend the length of the current connection event based on receiving the packet with MD equal to 0. For example, the external electronic device (102) may not transmit a packet to the electronic device (101) within the current connection event based on receiving the packet with MD equal to 0. For example, the external electronic device (102) may transmit a packet to the electronic device (101) in a connection interval following the current connection interval based on receiving the packet with MD equal to 0. Thereafter, the electronic device (101) may receive a packet according to the peripheral latency among the packets transmitted by the external electronic device (102) in the connection events within the connection intervals.

[0155] In operation 940, the electronic device (101) may set MD to 1. For example, the electronic device (101) may set the value of MD of the payload header of a packet to be transmitted to the external electronic device (102) to 1. For example, the electronic device (101) may set the value of MD to 1 so that the external electronic device (102) transmits an additional packet during the current connection event. For example, the electronic device (101) may set the value of MD to 1 so that the length of the current connection event is extended.

[0156] In one embodiment, the electronic device (101) may transmit a packet with an MD of 1 to the external electronic device (102). For example, the electronic device (101) may request the external electronic device (102) to extend the length of the current connection event (within the current connection interval) by setting the MD of the packet to be transmitted to the external electronic device (102) to 1.

[0157] In operation 950, the electronic device (101) may additionally receive a packet. In one embodiment, operation 950 may correspond to operation 730 of FIG. 7.

[0158] For example, receiving an additional packet may indicate that the electronic device (101) has activated the communication circuit (110) to receive a packet from an external electronic device (102) within a connection event that extends within the current connection interval.

[0159] For example, the electronic device (101) may keep the communication circuit (110) activated during an extended connection event within the current connection interval based on setting the MD of a packet to be transmitted to the external electronic device (102) to 1. For example, the electronic device (101) may keep the communication circuit (110) activated until a time period during which an additional packet is to be transmitted during an extended connection event within the current connection interval based on the external electronic device (102) receiving at least a packet having an MD of 1 based on setting the MD of a packet to be transmitted to the external electronic device (102) to 1.

[0160] For example, the electronic device (101) may determine that an event is released (or unidentified) based on whether the external electronic device (102) transmits additional packets during a connection event within the current connection interval. For example, the electronic device (101) may determine that an event is maintained (or identified) based on whether the external electronic device (102) does not transmit additional packets during the current connection interval.

[0161] For example, based on the external electronic device (102) transmitting additional packets during the current connection interval, the electronic device (101) may disable the communication circuit (110) during the connection interval to be disabled according to the peripheral latency.

[0162] For example, based on the external electronic device (102) not transmitting additional packets during the current connection interval, the electronic device (101) may activate the communication circuit (110) during the connection interval that would otherwise be disabled according to the peripheral latency.

[0163] As described above, the electronic device (101) can expand the opportunity to transmit packets of the electronic device (101) to the external electronic device (102) in the current connection event without waiting for the next connection event. In addition, the electronic device (101) can expand the opportunity to transmit packets of the electronic device (101) to the external electronic device (102) before the connection timeout by activating the communication circuit (110) even during a time period during which it should be inactive based on the failure to receive additional packets from the external electronic device (102) in the current connection event.

[0164] In FIG. 9, the electronic device (101) is shown as setting the MD to 1 according to an event, but this is merely an example. According to an embodiment, the electronic device (101) can always set the MD of a packet transmitted to an external electronic device (102) to 1 during a time period in which peripheral latency is applied.

[0165] According to an embodiment, the electronic device (101) may set the MD of some packets among the packets that are always transmitted to the external electronic device (102) to 1. For example, some packets may be packets selected according to a specified period. For example, some packets may be packets that are transmitted to the external electronic device (102) at some connection intervals selected according to a specified period among connection intervals according to peripheral latency.

[0166] FIG. 10 is a diagram illustrating an exemplary operation for an electronic device to obtain additional data based on a packet from an external electronic device according to various embodiments.

[0167] For the description of FIG. 10, reference may be made to the electronic device (101) and external electronic device (102) described in FIG. 1. For the description of FIG. 10, reference may be made to FIGS. 2A to 9. The situations of FIG. 10 may be performed after the anchor point (P7) of FIG. 5. However, the present disclosure is not limited thereto.

[0168] Referring to FIG. 10, an external electronic device (102) may transmit a packet (1001) from an anchor point (PN). The electronic device (101) may receive the packet (1001) from the anchor point (PN). The electronic device (101) may transmit a packet (1005) after a specified time (e.g., T_IFS) after receiving the packet (1001). For example, the MD of the packet (1005) may represent 0. During a connection event within a connection interval starting from the anchor point (PN), the external electronic device (102) may not receive a packet indicating a response to the packet (1001).

[0169] For example, the electronic device (101) can receive a packet (1021) transmitted from an anchor point (PN+2) according to the peripheral latency.

[0170] For example, the electronic device (101) can determine whether an event is identified based on a packet (1021) of the external electronic device (102) received during the current connection interval. For example, the electronic device (101) can determine whether the external electronic device (102) has received the packet (1005) based on information indicated by the packet (1021) of the external electronic device (102).

[0171] For example, the electronic device (101) can determine whether the external electronic device (102) has received the packet (1005) based on comparing the NESN of the previously transmitted packet (1005) with the SN of the currently received packet (1021). For example, the external electronic device (102) can determine whether the packet (1005) has been received based on comparing the SN of the previously transmitted packet (1005) with the NESN of the currently received packet (1021). For example, the external electronic device (102) can determine whether the packet (1005) has been received based on verifying an error in the payload header of the currently received packet (1021).

[0172] For example, the electronic device (101) may set the MD of the packet (1025) to 1 to cause the external electronic device (102) to transmit an additional packet (1028) during a connection event within the current connection interval, based on the determination that an event is identified based on the packet (1021).

[0173] For example, the electronic device (101) can transmit a packet (1025) with an MD of 1 to an external electronic device (102).

[0174] For example, the external electronic device (102) may receive a packet (1025) indicating a response to the packet (1021). For example, the external electronic device (102) may transmit an additional packet (1028) within a connection event within a connection interval starting from the current anchor point (PN+2) based on receiving the packet (1025) with MD equal to 1.

[0175] For example, the electronic device (101) may keep the communication circuit (110) active during the current connection interval (e.g., the connection interval according to the anchor point (PN+2)) based on transmitting a packet (1025) with an MD of 1. For example, the electronic device (101) may deactivate the communication circuit (110) during the connection interval (e.g., the connection interval according to the anchor point (PN+3)) to be deactivated according to the peripheral latency based on receiving a packet (1028) while the communication circuit (110) is active. Accordingly, the electronic device (101) may receive a packet (1041) transmitted at the next anchor point (PN+4) according to the peripheral latency. The electronic device (101) may transmit a packet (1045) with an MD of 0 to the external electronic device (102) at the next anchor point (PN+4) according to the peripheral latency. In this case, the external electronic device (102) can receive the packet (1045).

[0176] In some embodiments, the external electronic device (102) may not receive a packet (1025) indicating a response to the packet (1021). For example, the external electronic device (102) may not transmit an additional packet (1028) within a connection event within a connection interval starting from the current anchor point (PN+2) based on not receiving a packet (1025) with an MD of 1.

[0177] For example, the electronic device (101) may keep the communication circuit (110) active during the current connection interval (e.g., connection interval according to anchor point (PN+2)) based on transmitting a packet (1025) with MD equal to 1. For example, the electronic device (101) may not receive the packet (1028) because it does not transmit an additional packet (1028). In this case, the electronic device (101) may determine that the external electronic device (102) did not receive the packet (1025). Accordingly, the electronic device (101) may activate the communication circuit (110) during the connection interval (e.g., connection interval according to anchor point (PN+3)) that would otherwise be inactive based on peripheral latency.

[0178] FIG. 11 is a diagram illustrating an exemplary operation of an electronic device changing a frequency for obtaining additional data based on a packet from an external electronic device according to various embodiments.

[0179] For the description of FIG. 11, reference may be made to the electronic device (101) and external electronic device (102) described in FIG. 1. For the description of FIG. 11, reference may be made to FIGS. 2A to 10. The situations of FIG. 11 may be performed after the anchor point (P7) of FIG. 5. However, the present disclosure is not limited thereto.

[0180] Referring to FIG. 11, the peripheral latency may be 3. For example, the electronic device (101) may receive packets from an external electronic device (102) in some connection intervals (1101, 1109, 1117, 1127) among the connection intervals (1101 to 1131).

[0181] For example, the electronic device (101) may identify, based on a packet transmitted in a connection interval (1101), that the external electronic device (102) did not receive the packet transmitted by the electronic device (101) in a connection interval prior to the connection interval (1101) according to the peripheral latency. Thereafter, in all intervals (1103 to 1131), it may be assumed that the external electronic device (102) did not receive the packet transmitted by the electronic device (101).

[0182] For example, if the electronic device (101) identifies that an external electronic device (102) has not received a packet transmitted by the electronic device (101), the electronic device (101) may determine the frequency of activation of the communication circuit (110) by taking into account the connection timeout point (1140).

[0183] For example, the electronic device (101) can identify the reception error rate (or success rate) of the communication link (150) (while utilizing peripheral latency). The reception error rate can be calculated based on error conditions. For example, the reception error rate can be calculated based on an exponential moving average (EMA). For example, the reception error rate can be calculated based on the following mathematical expression 1.

[0184]

[0185] In Equation 1, EMA(t) may represent a reception error rate at time t (or a connection event at time t). value(t) may be a value indicating whether an error occurred at time t (or a connection event at time t). For example, if there is an error at time t (or a connection event at time t), value(t) may be 0. For example, if there is no error at time t (or a connection event at time t), value(t) may be 1. w may be a weight. For example, w may be 0.25. In one embodiment, EMA(t-1) may represent a reception error rate at time t-1 (or a connection event at time t-1).

[0186] For example, error situations may include situations in which it is difficult to open a receiving window at an anchor point. For example, error situations may include situations in which an event (e.g., an event described with reference to FIG. 7) occurs. For example, error situations may include situations in which a mismatch occurs in a payload header of a packet. For example, error situations may include situations in which a SN mismatch occurs in a packet (e.g., a mismatch between a NESN and a SN). For example, a mismatch between a NESN and a SN may include situations in which the NESN of a packet previously transmitted by the electronic device (101) is different from the SN of a packet currently transmitted by the external electronic device (102). For example, a mismatch between a NESN and a SN may include situations in which the SN of a packet previously transmitted by the electronic device (101) is the same as the NESN of a packet currently transmitted by the external electronic device (102). However, the present disclosure is not limited thereto.

[0187] For example, if the electronic device (101) identifies that the external electronic device (102) has not received a packet transmitted by the electronic device (101), the electronic device (101) may activate the communication circuit (110) based on the additional number of opens identified based on the reception error rate. For example, the electronic device (101) may activate the communication circuit (110) based on the additional number of opens identified based on comparing the reception error rate with reference values. For example, the communication circuit (110) may be activated (or the reception window may be opened) in a number of connection events based on the reception error rate being equal to or greater than a first reference value (e.g., 0.3). For example, the communication circuit (110) may be activated (or the reception window may be opened) in b number of connection events based on the reception error rate being equal to or greater than a second reference value (e.g., 0.5). For example, the communication circuit (110) may be activated (or the reception window may be opened) in c connection events based on the reception error rate being greater than or equal to a third reference value (e.g., 0.7). In one embodiment, a (e.g., 1) may be less than b (e.g., 2), and b may be less than c (e.g., 3).

[0188] For example, the electronic device (101) may activate the communication circuit (110) based on an open count value. Here, the open count value may have a value between 1 and the peripheral latency. Depending on the embodiment, the open count value may be set by the electronic device (101) and / or an external electronic device (102).

[0189] For example, the electronic device (101) may disable (or ignore) peripheral latency during connection events determined based on the number of additional opens (or open count value). For example, the electronic device (101) may enable peripheral latency in connection events subsequent to connection events determined based on the number of additional opens (or open count value).

[0190] For example, the electronic device (101) may activate the communication circuit (110) in m connection intervals among the connection intervals (1103, 1105, 1107) that are determined to be deactivated. For example, the electronic device (101) may deactivate the communication circuit (110) in the remaining connection intervals excluding m among the connection intervals (1103, 1105, 1107) that are determined to be deactivated.

[0191] For example, the electronic device (101) may activate the communication circuit (110) in more (e.g., more than m) connection intervals that are adjacent to the connection timeout point (1140) than in the connection intervals (1109, 1111, 1113, 1115) that are adjacent to the connection timeout point (1140) than in the connection intervals (1103, 1105, 1107). For example, the electronic device (101) may activate the communication circuit (110) in more connection intervals that are adjacent to the connection timeout point (1140) than in the connection intervals (1117, 1119, 1121, 1123) that are adjacent to the connection timeout point (1140) than in the connection intervals (1109, 1111, 1113, 1115). For example, the electronic device (101) may activate the communication circuit (110) in more connection intervals (1125, 1127, 1129, 1131) adjacent to the connection timeout point (1140) than in connection intervals (1117, 1119, 1121, 1123).

[0192] For example, if the external electronic device (102) does not receive a packet from the electronic device (101) in the connection interval (1131), it may determine that the communication link (150) is released. Accordingly, the external electronic device (102) may not transmit a packet to the electronic device (101) in the connection interval (1133).

[0193] As described above, the electronic device (101) can determine a connection interval at which to activate the communication circuit (110) among the connection intervals, taking into account the connection timeout point (1140). In addition, the electronic device (101) can activate the communication circuit (110) in more connection intervals as the connection timeout point (1140) approaches. Accordingly, the electronic device (101) can gradually expand the opportunity to transmit packets of the electronic device (101) to the external electronic device (102) before the connection timeout.

[0194] FIG. 12 is a diagram illustrating an exemplary wearable device according to various embodiments. FIG. 13 is a cross-sectional view of an exemplary wearable device according to various embodiments.

[0195] Referring to FIGS. 12 and 13, a wearable device (1201) according to an embodiment (e.g., the electronic device (101) of FIG. 1 and the electronic device (1402) of FIG. 14) may be configured to be wearable by a user. For example, the wearable device (1201) may have a ring shape provided with a hole (15) through which a user may insert a body (or a part of a body) (1200) (e.g., a finger). However, the present disclosure is not limited thereto, and the wearable device (1201) may have various shapes corresponding to a body in order to be worn on a user's body.

[0196] In one embodiment, the wearable device (1201) may include a housing (10).

[0197] Referring to FIG. 1, the housing (10) may form an exterior of a wearable device (1201). For example, the housing (10) may form or define a first surface (10A), a second surface (10B), and a third surface (10C). When a user wears the wearable device (1201), the first surface (10A) may surround the user's body so as to face the user's body (1200). The first surface (10A) may at least partially contact the user's body (1200). For example, the first region (31), the second region (32), and the third region (33) formed in the first surface (10A) may contact the user's body (1200). The first region (31), the second region (32), and the third region (33) may be spaced apart from each other. The first region (31) may be positioned between the second region (32) and the third region (33). The second surface (10B) may be spaced apart from the first surface (10A) and may face in an opposite direction to the first surface (10A). The third surface (10C) may surround a space between the first surface (10A) and the second surface (10B). For example, the third surface (10C) may extend from an edge of the first surface (10A) to an edge of the second surface (10B). The housing (10) may be formed with a hole (15) defined by the first surface (10A) to accommodate a user's body (1200). The first surface (10A) may be referred to as an inner surface and the second surface (10B) may be referred to as an outer surface.

[0198] In one embodiment, at least a portion of the first surface (10A) of the housing (10) may be formed by an insulating member. For example, the insulating member may form at least a first region (31), a second region (32), and a third region (33) of the first surface (10A). For example, the insulating member may form the first region (31), the second region (32), and the third region (33), and may also form a portion of the first surface (10A) extending from the first region (31), the second region (32), and the third region (33). The first to third regions (31, 32, 33) may be referred to as first to third sensing regions, first to third pattern regions, first to third Fresnel pattern regions, or first to third light-collecting regions, respectively.

[0199] In one embodiment, the second side (10B) and the third side (10C) of the housing (10) may be formed by a frame, but are not limited thereto. For example, the second side (10B) and / or the third side (10C) may be formed by a frame and an insulating member together.

[0200] In one embodiment, the frame of the housing (10) may be formed of metal and / or plastic. The frame and the insulating member may be coupled to each other. For example, the insulating member and the frame may be combined through a process such as insert injection. For example, the insulating member coupled to the frame may be formed by injecting molten resin into a mold in which the frame is placed, but is not limited thereto. The insulating member may include, but is not limited to, a resin such as epoxy.

[0201] Referring to FIG. 13, a wearable device (1201) may include at least one light-emitting unit (e.g., including a light-emitting circuit) (22, 24, 26) and at least one light-receiving unit (e.g., including a light-receiving circuit) (23, 25, 27). In one embodiment, the wearable device (1201) may include a substrate (28). In one embodiment, a wearable device (1201) may include a processor (e.g., including processing circuitry) (1320), a controller (e.g., including circuitry) (1325), a memory (1330), a temperature sensor (1370), a motion sensor (1373), a pressure sensor (1375), an external temperature sensor (1377), a lens (1379), a battery (1380), a power management module (e.g., including power management circuitry) (1383), a charging interface (e.g., including charging circuitry) (1385), communication circuitry (1390), and an antenna (1397).

[0202] In one embodiment, the substrate (28) may comprise a flexible printed circuit board or a rigid-flex printed circuit board. In one embodiment, the substrate (28) may be at least partially bendable. For example, the substrate (28) may comprise a bent portion to correspond to the curvature of the first surface (10A) having a ring shape.

[0203] In one embodiment, the communication circuit (1390) may correspond to the communication circuit (110) of FIG. 1. In one embodiment, the processor (1320) may correspond to the processor (120) of FIG. 1. In one embodiment, the memory (1330) may correspond to the memory (130) of FIG. 1. In one embodiment, the battery (1380) may correspond to the battery (140) of FIG. 1.

[0204] In one embodiment, at least one light emitter (22, 24, 26) and at least one light receiver (23, 25, 27) may also be referred to as a photoplethysmography (PPG) sensor. However, the present disclosure is not limited thereto. In one embodiment, at least one light emitter (22, 24, 26) and at least one light receiver (23, 25, 27) may also be referred to as a proximity sensor.

[0205] In one embodiment, at least one light emitting unit (22, 24, 26) and at least one light receiving unit (23, 25, 27) may be disposed on a substrate (28). For example, at least one light emitting unit (22, 24, 26) may be disposed on the substrate (28) so as to face the first surface (10A). For example, at least one light receiving unit (23, 25, 27) may be disposed on the substrate (28) so as to face the first surface (10A).

[0206] In one embodiment, the light emitting portion (22) and the light receiving portion (23) can face the first region (31) of the insulating member. The light emitting portion (22) and the light receiving portion (23) can be aligned with the first region (31) of the insulating member. The light emitting portion (22) and the light receiving portion (23) can overlap the first region (31). In one embodiment, the light emitting portion (24) and the light receiving portion (25) can face the second region (32) of the insulating member. The light emitting portion (24) and the light receiving portion (25) can be aligned with the second region (32) of the insulating member. The light emitting portion (24) and the light receiving portion (25) can overlap the second region (32). In one embodiment, the light emitting portion (26) and the light receiving portion (27) can face the third region (33) of the insulating member. The light emitting portion (26) and the light receiving portion (27) can be aligned to the third region (33) of the insulating member. The light emitting portion (26) and the light receiving portion (27) can overlap the third region (33).

[0207] In one embodiment, at least one light emitting unit (22, 24, 26) may be configured to emit light toward a user's body (1200). In one embodiment, at least one light emitting unit (22, 24, 26) may be configured to emit light toward a user's body (1200) under the control of a controller (1325). Light emitted from at least one light emitting unit (22, 24, 26) may be transmitted to the user's body (1200) through an insulating member. For example, light emitted from light emitting unit (22) may be transmitted to the user's body (1200) through a first region (31). For example, light emitted from light emitting unit (24) may be transmitted to the user's body (1200) through a second region (32). For example, light emitted from the light emitting portion (26) can be transmitted to the user's body (1200) through the third region (33). Light from at least one light emitting portion (22, 24, 26) can be reflected onto the user's body (1200). The light reflected onto the user's body (1200) can pass through the insulating member and reach at least one light-receiving portion (23, 25, 27). The light reflected onto the user's body (1200) can reach at least one light-receiving portion (23, 25, 27) through at least one region (31, 32, 33). At least one light-receiving portion (23, 25, 27) can receive light incident from the outside through the insulating member. In one embodiment, at least one light-receiving unit (23, 25, 27) may be configured to receive light from the user's body (1200) under the control of the controller (1325). However, the present disclosure is not limited thereto. For example, light from at least one light-emitting unit (22, 24, 26) may transmit (or pass through) the user's body (1200). Light transmitted (or passed through) the user's body (1200) may reach at least one light-receiving unit (23, 25, 27) through at least one region (31, 32, 33).

[0208] In one embodiment, the motion sensor (1373) may include an acceleration sensor and / or a gyro sensor. For example, the motion sensor (1373) may be a three-axis sensor (e.g., an acceleration sensor). For example, the motion sensor (1373) may be a six-axis sensor (e.g., an acceleration sensor and a gyro sensor).

[0209] In one embodiment, the pressure sensor (1375) may be positioned on the substrate (28) so as to face the first surface (10A). In one embodiment, the pressure sensor (1375) may measure a pressure value applied to at least a portion of the first surface (10A).

[0210] In one embodiment, an external temperature sensor (1377) may be disposed on the substrate (28) so as to face the second surface (10B). The external temperature sensor (1377) may measure the temperature of a temperature measurement target based on infrared rays emitted by the temperature measurement target. In one embodiment, a lens (1379) may be provided to transmit infrared rays so that the infrared rays emitted by the temperature measurement target can be received by the external temperature sensor (1377). The lens (1379) may be disposed so as to face the second surface (10B).

[0211] In one embodiment, the processor (1320) may include various processing circuits (e.g., referred to as the processor (120)) and may acquire the user's biometric information using a sensor module. The processor (1320) may detect the user's biometric information based on light emitted from at least one light emitting unit (22, 24, 26) and light received from at least one light receiving unit (23, 25, 27). For example, the biometric information may include, but is not limited to, information on heart rate and / or saturation of percutaneous oxygen (SpO2). For example, the biometric information may include information on arterial stiffness, blood pressure, or arterial age. Here, the heart rate may represent the number of heartbeats per unit time. The oxygen saturation may represent the ratio of the amount of hemoglobin combined with oxygen in the blood to the total amount of hemoglobin. Vascular stiffness can indicate the degree of hardening of blood vessels. Blood pressure can indicate the pressure exerted on blood vessel walls by blood pumped from the heart as it flows through the vessels. Vascular age, a physiological indicator of vascular aging, can be related to vascular stiffness. Biometric data can include information on stress, blood sugar, and / or irregular heart rhythm notification (IHRN).

[0212] FIG. 14 is a block diagram illustrating an exemplary electronic device (1401) within a network environment (1400), according to various embodiments.

[0213] Referring to FIG. 14, in a network environment (1400), an electronic device (1401) may communicate with an electronic device (1402) via a first network (1498) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (1404) or a server (1408) via a second network (1499) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (1401) may communicate with the electronic device (1404) via the server (1408). According to one embodiment, the electronic device (1401) may include a processor (1420), a memory (1430), an input module (1450), an audio output module (1455), a display module (1460), an audio module (1470), a sensor module (1476), an interface (1477), a connection terminal (1478), a haptic module (1479), a camera module (1480), a power management module (1488), a battery (1489), a communication module (1490), a subscriber identification module (1496), or an antenna module (1497). In various embodiments, the electronic device (1401) may omit at least one of these components (e.g., the connection terminal (1478)), or may have one or more other components added. In various embodiments, some of these components (e.g., sensor module (1476), camera module (1480), or antenna module (1497)) may be integrated into one component (e.g., display module (1460)).

[0214] The processor (1420) may include various processing circuits and / or multiple processors. For example, as used herein, including in the claims, the term "processor" may include various processing circuits including at least one processor, one or more of which may be configured to collectively and / or individually perform the various functions described herein in a distributed manner. As used herein, when "processor," "at least one processor," and "one or more processors" are described as being configured to perform a number of functions, these terms encompass, for example and without limitation, situations where one processor performs some of the recited functions and other processor(s) perform other of the recited functions, as well as situations where a single processor may perform all of the recited functions. Furthermore, at least one processor may include a combination of processors that perform the various recited / disclosed functions, e.g., in a distributed manner. At least one processor may execute program instructions to perform or achieve the various functions. The processor (1420) may, for example, execute software (e.g., a program (1440)) to control at least one other component (e.g., a hardware or software component) of the electronic device (1401) connected to the processor (1420) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (1420) may store commands or data received from other components (e.g., a sensor module (1476) or a communication module (1490)) in a volatile memory (1432), process the commands or data stored in the volatile memory (1432), and store result data in a non-volatile memory (1434).According to one embodiment, the processor (1420) may include a main processor (1421) (e.g., a central processing unit or an application processor) or an auxiliary processor (1423) (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 (1421). For example, when the electronic device (1401) includes the main processor (1421) and the auxiliary processor (1423), the auxiliary processor (1423) may be configured to use less power than the main processor (1421) or to be specialized for a given function. The auxiliary processor (1423) may be implemented separately from the main processor (1421) or as a part thereof.

[0215] The auxiliary processor (1423) may control at least a portion of functions or states associated with at least one component (e.g., the display module (1460), the sensor module (1476), or the communication module (1490)) of the electronic device (1401), for example, on behalf of the main processor (1421) while the main processor (1421) is in an inactive (e.g., sleep) state, or together with the main processor (1421) while the main processor (1421) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (1423) (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 (1480) or a communication module (1490)). In one embodiment, the auxiliary processor (1423) (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 (1401) where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (1408)). 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.

[0216] The memory (1430) can store various data used by at least one component (e.g., the processor (1420) or the sensor module (1476)) of the electronic device (1401). The data can include, for example, software (e.g., the program (1440)) and input data or output data for commands related thereto. The memory (1430) can include volatile memory (1432) or non-volatile memory (1434).

[0217] The program (1440) may be stored as software in memory (1430) and may include, for example, an operating system (1442), middleware (1444), or an application (1446).

[0218] The input module (1450) can receive commands or data to be used in a component of the electronic device (1401) (e.g., a processor (1420)) from an external source (e.g., a user) of the electronic device (1401). The input module (1450) 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).

[0219] The audio output module (1455) can output audio signals to the outside of the electronic device (1401). The audio output module (1455) 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.

[0220] The display module (1460) can visually provide information to an external party (e.g., a user) of the electronic device (1401). The display module (1460) 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 (1460) 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.

[0221] The audio module (1470) can convert sound into an electrical signal, or vice versa. According to one embodiment, the audio module (1470) can acquire sound through the input module (1450), output sound through the sound output module (1455), or an external electronic device (e.g., electronic device (1402)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (1401).

[0222] The sensor module (1476) can detect the operating status (e.g., power or temperature) of the electronic device (1401) 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 (1476) 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.

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

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

[0225] The haptic module (1479) 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 (1479) may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

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

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

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

[0229] The communication module (1490) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (1401) and an external electronic device (e.g., electronic device (1402), electronic device (1404), or server (1408)), and the performance of communication through the established communication channel. The communication module (1490) may operate independently from the processor (1420) (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 (1490) may include a wireless communication module (1492) (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 (1494) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, a corresponding communication module can communicate with an external electronic device (1404) via a first network (1498) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (1499) (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 local area network or a wide area network)). These various types of communication modules can 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 (1492) can verify or authenticate the electronic device (1401) within a communication network such as the first network (1498) or the second network (1499) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (1496).

[0230] The wireless communication module (1492) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimizing terminal power and connecting multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency communications (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (1492) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (1492) 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 (1492) may support various requirements specified in the electronic device (1401), an external electronic device (e.g., the electronic device (1404)), or a network system (e.g., the second network (1499)). According to one embodiment, the wireless communication module (1492) can support a peak data rate (e.g., 20 Gbps or more) for eMBB implementation, a loss coverage (e.g., 664 dB or less) for mMTC implementation, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL) each, or 6 ms or less for round trip) for URLLC implementation.

[0231] The antenna module (1497) 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 (1497) may include an antenna including a radiator including a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (1497) 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 (1498) or the second network (1499), may be selected from the plurality of antennas by, for example, the communication module (1490). A signal or power may be transmitted or received between the communication module (1490) and the external electronic device via the at least one selected 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 (1497).

[0232] According to various embodiments, the antenna module (1497) 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.

[0233] 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)).

[0234] According to one embodiment, commands or data may be transmitted or received between the electronic device (1401) and an external electronic device (1404) via a server (1408) connected to a second network (1499). Each of the external electronic devices (1402 or 1404) may be the same or a different type of device as the electronic device (1401). According to one embodiment, all or part of the operations executed in the electronic device (1401) may be executed in one or more of the external electronic devices (1402, 1404, or 1408). For example, when the electronic device (1401) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (1401) 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 (1401). The electronic device (1401) 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 (1401) may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In one embodiment, the external electronic device (1404) may include an Internet of Things (IoT) device. The server (1408) may be an intelligent server utilizing machine learning and / or a neural network.According to one embodiment, an external electronic device (1404) or server (1408) may be included within the second network (1499). The electronic device (1401) 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.

[0235] An electronic device according to an exemplary embodiment as described above may include a communication circuit configured for BLE (Bluetooth low energy), at least one processor including a processing circuit; and a memory storing instructions and including one or more storage media. The at least one processor may be configured to execute the instructions, and the electronic device may receive a first packet within a first connection event from an external electronic device operating as a central device with respect to the electronic device operating as a peripheral device through the communication circuit, the first packet may include an SN (sequence number) field having a first value, and in response to the first packet, transmit a second packet, within the first connection event, to the external electronic device, including a NESN (next expected sequence number) field having a second value different from the first value of the SN field of the first packet, and receive a third packet transmitted from the external electronic device within a second connection event according to a peripheral latency after receiving the first packet, and identify a value included in the SN field of the third packet, and based on the SN field of the third packet corresponding to the second value, the peripheral A fourth packet transmitted from the external electronic device can be received within a third connection event according to latency, and based on the SN field of the third packet corresponding to the first value, a packet transmitted from the external electronic device can be caused to be received before the third connection event according to the peripheral latency.

[0236] The strength of a packet transmitted from the electronic device to the external electronic device within one or more connection events after the second connection event and before the third connection event may be set to be stronger than the strength of the second packet.

[0237] The at least one processor may be configured to cause the electronic device to receive the packet transmitted from the external electronic device before the third connection event, based on the third packet being an empty protocol data unit (PDU), based on the SN field of the third packet corresponding to the first value.

[0238] The at least one processor may be configured to cause the electronic device to set a value of an MD (more data) field of a packet transmitted to the external electronic device to 1 within the second connection event based on the SN field of the third packet corresponding to the first value.

[0239] The at least one processor may be configured to cause the electronic device to set a value of an MD field of a packet transmitted to the external electronic device to 1 within one or more connection events between the second connection event and the third connection event, based on the SN field of the third packet corresponding to the first value.

[0240] The at least one processor may be configured to cause the electronic device to set the MD value of a packet to be transmitted to the external electronic device to 1 within a connection event determined according to a specified period among connection events according to the peripheral latency.

[0241] The at least one processor may be configured to cause the electronic device to receive a packet transmitted from the external electronic device within a specified number of consecutive connection events based on the SN field of the third packet corresponding to the first value. The specified number may increase as the second connection event approaches a connection timeout.

[0242] The at least one processor may be configured to cause the electronic device to stop receiving a packet transmitted from the external electronic device within one or more connection events prior to a next connection event based on the peripheral latency relative to the connection event in which the packet was transmitted, based on the SN field of the packet transmitted from the external electronic device corresponding to the second value before the third connection event.

[0243] The at least one processor may be configured to cause the electronic device to transmit, through the communication circuit, a packet requesting use of the peripheral latency to the external electronic device within a connection event, and to cause the external electronic device to receive, in response to an acknowledgment of the request, a packet within the connection event according to the peripheral latency.

[0244] The at least one processor may be configured to cause the electronic device to deactivate the communication circuitry within one or more connection events after the second connection event and before the third connection event based on the SN field of the third packet corresponding to the second value, and to activate the communication circuitry to receive the packet transmitted from the external electronic device within at least one of the one or more connection events based on the SN field of the third packet corresponding to the first value.

[0245] An electronic device according to an exemplary embodiment as described above may include a communication circuit configured for BLE (Bluetooth low energy), at least one processor including a processing circuit; and a memory storing instructions and including one or more storage media. The at least one processor may be configured to execute instructions, wherein the electronic device may receive, through the communication circuitry, a first packet within a first connection event from an external electronic device operating as a central device with respect to the electronic device operating as a peripheral device, the first packet including a link layer identification (LL ID) field, and may identify a value of the LL ID field included in the packet obtained within the first connection event, and may receive a second packet transmitted from the external electronic device within a second connection event according to the peripheral latency based on the value of the LL ID field satisfying a first condition, and may cause the electronic device to receive a packet transmitted from the external electronic device before a third connection event according to the peripheral latency based on the value of the LL ID field satisfying a second condition.

[0246] The at least one processor may cause the electronic device to determine that the value of the LL ID field satisfies the second condition based on the LL ID being 0b00, that the LL ID is 0b01 and that the first packet does not contain fragmented data, that the value of the LL ID field satisfies the second condition, that the LL ID is 0b10 and that the first packet does not contain a payload, and that the value of the LL ID field satisfies the second condition based on the LL ID being 0b11 and that the first packet does not contain a control opcode or a control parameter.

[0247] An electronic device according to an exemplary embodiment as described above may include a communication circuit configured for BLE (Bluetooth low energy), at least one processor including a processing circuit; and a memory storing instructions and including one or more storage media. The at least one processor may be configured to execute instructions, wherein the electronic device may receive, through the communication circuit, a first packet within a first connection event from an external electronic device operating as a central device with respect to the electronic device operating as a peripheral device, the first packet including a next expected sequence number (NESN) field having a first value, and in response to the first packet, transmit, to the external electronic device within the first connection event, a second packet including a sequence number (SN) field having a first value equal to the first value of the NESN field of the first packet, and receive, after receiving the first packet, a third packet transmitted from the external electronic device within a second connection event according to a peripheral latency, and identify a value included in the NESN field of the third packet, and based on the NESN field of the third packet corresponding to a second value different from the first value, A fourth packet transmitted from the external electronic device can be received within a third connection event according to the peripheral latency, and based on the NESN field of the third packet corresponding to the first value, the fourth packet can be configured to cause the reception of a packet transmitted from the external electronic device before the third connection event according to the peripheral latency.

[0248] The method according to the exemplary embodiment described above can be performed in an electronic device including a communication circuit configured for BLE (Bluetooth low energy). The method may include an operation of receiving, through the communication circuit, a first packet within a first connection event from an external electronic device operating as a central device with respect to the electronic device operating as a peripheral device, the first packet including a sequence number (SN) field having a first value, and an operation of transmitting, in response to the first packet, a second packet including a next expected sequence number (NESN) field having a second value different from the first value of the SN field of the first packet, to the external electronic device within the first connection event, and an operation of receiving, after receiving the first packet, a third packet transmitted from the external electronic device within a second connection event according to a peripheral latency, and an operation of identifying a value included in the SN field of the third packet, and based on the SN field of the third packet corresponding to the second value, transmitting the external electronic device within the third connection event according to the peripheral latency. The method may include an action of receiving a fourth packet transmitted from the device, and based on the SN field of the third packet corresponding to the first value, an action of receiving a packet transmitted from the external electronic device before the third connection event according to the peripheral latency.

[0249] The method may include an operation of receiving the packet transmitted from the external electronic device before the third connection event, based on the SN field of the third packet corresponding to the first value, and based on the third packet being an empty protocol data unit (PDU).

[0250] The method may include an operation of setting a value of an MD (more data) field of a packet transmitted to the external electronic device to 1 within the second connection event based on the SN field of the third packet corresponding to the first value.

[0251] As described above, a non-transitory computer readable storage medium may include one or more programs including instructions. The instructions, individually or collectively, at least one processor of an electronic device including a communication circuit configured for BLE (Bluetooth low energy) can receive, through the communication circuit, a first packet within a first connection event from an external electronic device operating as a central device with respect to the electronic device operating as a peripheral device, the first packet including a sequence number (SN) field having a first value, and in response to the first packet, transmit, to the external electronic device, within the first connection event, a second packet including a next expected sequence number (NESN) field having a second value different from the first value of the SN field of the first packet, and receive, within a second connection event according to a peripheral latency after receiving the first packet, a third packet transmitted from the external electronic device, and identify a value included in the SN field of the third packet, and identify the Based on the SN field corresponding to the second value, a fourth packet transmitted from the external electronic device can be received within a third connection event according to the peripheral latency, and based on the SN field of the third packet corresponding to the first value, a packet transmitted from the external electronic device can be received before the third connection event according to the peripheral latency.

[0252] An electronic device according to an exemplary embodiment as described above may include a communication circuit configured for BLE (Bluetooth low energy), at least one processor including a processing circuit; and a memory storing instructions and including one or more storage media. The at least one processor may be configured to execute instructions, wherein the electronic device may receive a first packet within a first connection event from an external electronic device operating as a central device with respect to the electronic device operating as a peripheral device through the communication circuit, and, in response to the first packet, transmit, to the external electronic device within the first connection event, a second packet including a next expected sequence number (NESN) having a second value different from a first value of a sequence number (SN) of the first packet, and may identify a second connection event for receiving a third packet to be transmitted from the external electronic device after reception of the first packet, based on peripheral latency, and, based on receiving the third packet including the SN having the first value within the second connection event from the external electronic device, a third packet to be transmitted from the external electronic device after reception of the third packet, based on the peripheral latency Prior to a connection event, the communication circuit may be configured to activate the communication circuit to receive a packet transmitted from the external electronic device.

[0253] The strength of a packet transmitted from the electronic device to the external electronic device within one or more connection events after the second connection event and before the third connection event may be set to be stronger than the strength of a packet transmitted from the electronic device to the external electronic device within the first connection event.

[0254] The at least one processor may be configured to cause the electronic device to activate the communication circuit within one or more connection events prior to the third connection event based on the third packet transmitted from the external electronic device to the electronic device being an empty protocol data unit (PDU).

[0255] The at least one processor may be configured to cause the electronic device to set a value of MD (more data) of at least one packet among packets transmitted to the external electronic device to 1 within a connection event identified according to the peripheral latency.

[0256] The at least one processor may be configured to cause the electronic device to set the MD value of a packet transmitted to the external electronic device to 1 within one or more connection events between the second connection event and the third connection event.

[0257] The at least one processor may be configured to cause the electronic device to set the MD value of a packet to be transmitted to the external electronic device to 1 within a connection event determined according to a designated period among the first connection event, the second connection event, or the third connection event.

[0258] The at least one processor may be configured to cause the electronic device to activate the communication circuit such that a rate at which the electronic device activates the communication circuit in connection events other than the first connection event, the second connection event, and the third connection event according to a peripheral latency increases as the connection timeout approaches.

[0259] The above electronic device may be a wearable device worn by a user.

[0260] The above electronic device may be a wearable device worn on a user's finger.

[0261] The electronic device may include a rechargeable battery. Activating the communication circuit may include providing power from the battery to the communication circuit.

[0262] Activating the communication circuit may include turning on the communication circuit.

[0263] The at least one processor may be configured to cause the electronic device to transmit a response to the packet to the external electronic device based on receiving the packet from the external electronic device during one or more connection events after the second connection event and before the third connection event.

[0264] The at least one processor may be configured to cause the electronic device to deactivate the communication circuitry within one or more connection events following the one connection event for receiving another packet from the external electronic device based on: a value of an SN of a packet from the external electronic device being equal to a value of the NESN during one of the one or more connection events prior to the third connection event; and based on the peripheral latency relative to the one connection event.

[0265] The at least one processor may be configured to cause the electronic device to transmit, through the communication circuitry, a packet requesting use of the peripheral latency, to the external electronic device within a connection event, and in response to the external electronic device's approval of the request: to activate the communication circuitry to receive a packet in a connection event identified according to the peripheral latency, and to deactivate the communication circuitry in a connection event other than a connection event identified according to the peripheral latency.

[0266] The at least one processor may be configured to cause the electronic device to deactivate the communication circuit during one or more connection events between an end time of the second connection event and a start time of the third connection event, based on the value of the SN of the third packet being equal to the value of the NESN of the second packet.

[0267] An electronic device according to an exemplary embodiment as described above may include a communication circuit configured for BLE (Bluetooth low energy), at least one processor including a processing circuit; and a memory storing instructions and including one or more storage media. The at least one processor may be configured to cause the electronic device to receive a packet within a first connection event from an external electronic device operating as a central device with respect to the electronic device operating as a peripheral device through the communication circuit, and to determine whether to activate the communication circuit within one or more connection events to be deactivated according to a peripheral latency between a second connection event and a third connection event based on a value of a link layer (LL) identification (ID) included in the packet obtained within the first connection event.

[0268] The at least one processor may be configured to cause the electronic device to determine to activate the communication circuitry within one or more connection events based on the LL ID being 0b00, to determine to activate the communication circuitry within one or more connection events based on the LL ID being 0b01 and there being no fragmented data, to determine to activate the communication circuitry within one or more connection events based on the LL ID being 0b10 and there being no payload in the packet, and to determine to activate the communication circuitry within one or more connection events based on the LL ID being 0b11 and there being no control opcode or control parameter in the packet.

[0269] An electronic device according to an exemplary embodiment as described above may include a communication circuit configured for BLE (Bluetooth low energy), at least one processor including a processing circuit; and a memory storing instructions and including one or more storage media. The at least one processor may be configured to execute instructions, wherein the electronic device may receive, through the communication circuit, a first packet within a first connection event from an external electronic device operating as a central device with respect to the electronic device operating as a peripheral device, and, in response to the first packet, transmit, to the external electronic device, within the first connection event, a second packet including a sequence number (SN) having a first value equal to a first value of a next expected sequence number (NESN) of the first packet, and may identify, based on a peripheral latency, a second connection event for receiving a third packet to be transmitted from the external electronic device after transmission of the first packet, and, based on receiving, from the external electronic device, the third packet including a NESN having the first value within the second connection event, receive, based on the peripheral latency, a fourth packet to be transmitted from the external electronic device after transmission of the third packet. Prior to the third connection event, the communication circuit may be configured to activate to receive a packet transmitted from the external electronic device.

[0270] The method according to the exemplary embodiment described above can be performed in an electronic device including a communication circuit configured for BLE (Bluetooth low energy). The method comprises: receiving a first packet within a first connection event from an external electronic device operating as a central device with respect to the electronic device operating as a peripheral device through the communication circuit; transmitting, in response to the first packet, a second packet including a next expected sequence number (NESN) having a second value different from a first value of a sequence number (SN) of the first packet, to the external electronic device within the first connection event; identifying a second connection event for receiving a third packet to be transmitted from the external electronic device after transmission of the first packet, based on peripheral latency; activating the communication circuit to receive a packet transmitted from the external electronic device before a third connection event for receiving a fourth packet to be transmitted from the external electronic device after transmission of the third packet, based on receiving the third packet including the SN having the first value within the second connection event from the external electronic device, based on the peripheral latency May include actions.

[0271] In an exemplary embodiment, the strength of a packet transmitted from the electronic device to the external electronic device within one or more connection events after the second connection event and before the third connection event may be set to be stronger than the strength of a packet transmitted from the electronic device to the external electronic device within the first connection event.

[0272] As described above, the method may include activating the communication circuit within one or more connection events prior to the third connection event based on the third packet transmitted from the external electronic device to the electronic device being an empty protocol data unit (PDU).

[0273] As described above, the method may include an operation of setting the value of MD (more data) of at least one packet among packets transmitted to the external electronic device to 1 within a connection event identified according to the peripheral latency.

[0274] As described above, a non-transitory computer readable storage medium may include one or more programs including instructions. The instructions, individually or collectively, at least one processor of an electronic device including a communication circuit for BLE (Bluetooth low energy) can cause the electronic device to receive, through the communication circuit, a first packet within a first connection event from an external electronic device operating as a central device with respect to the electronic device operating as a peripheral device, and, in response to the first packet, transmit, within the first connection event, to the external electronic device, a second packet including a next expected sequence number (NESN) having a second value different from a first value of a sequence number (SN) of the first packet, and identify, based on a peripheral latency, a second connection event for receiving a third packet to be transmitted from the external electronic device after transmission of the first packet, and, based on receiving the third packet including the SN having the first value within the second connection event from the external electronic device, transmit, within the second connection event, a second packet to be transmitted from the external electronic device after transmission of the third packet. The fourth packet may be configured to cause the communication circuit to activate to receive a packet transmitted from the external electronic device prior to the third connection event for receiving the fourth packet according to the peripheral latency.

[0275] As described above, the electronic device may include a communication circuit configured for BLE (Bluetooth low energy), at least one processor including a processing circuit, and a memory storing instructions and including one or more storage media. The at least one processor may be configured to execute instructions, wherein the electronic device may be configured to receive, through the communication circuitry, a third packet including a sequence number (SN) from an external electronic device operating as a central device with respect to the electronic device operating as a peripheral device, within a first connection event, based on a peripheral latency, and may activate the communication circuitry within one or more connection events between the first connection event and the third connection event based on identifying that a value of the SN included in the first packet is different from a value of a next expected sequence number (NESN) included in a second packet transmitted from the external electronic device within a second connection event prior to the first connection event, and may be configured to cause the communication circuitry to be deactivated within the one or more connection events based on identifying that the value of the SN is equal to the value of the NESN. The second connection event may be a connection event preceding the first connection event identified based on the peripheral latency. The third connection event may be a connection event following the first connection event identified based on the peripheral latency.

[0276] The at least one processor may control the communication circuitry to transmit a second packet within a first connection event to an external electronic device operating as a central device with respect to the electronic device operating as a peripheral device through the communication circuitry, and may deactivate the communication circuitry within one or more connection events following the first connection event according to a peripheral latency, and may identify a second connection event following the one or more connection events as a connection event for receiving a packet following the first packet from the external electronic device according to the peripheral latency, and may activate the communication circuitry to receive a third packet transmitted from the electronic device within the second connection event based on the identification, and may receive a packet including a next expected sequence number (NESN) that is the same as the NESN based on identifying that a sequence number (SN) in the third packet received from the electronic device through the activated communication circuitry is different from a next expected sequence number (NESN) in the second packet. Depending on the latency, the communication circuit may be configured to activate within one or more other connection events following the second connection event. The one or more other connection events may be one or more connection events preceding a third connection event and following the second connection event for receiving a packet transmitted from the electronic device, depending on the peripheral latency.

[0277] The at least one processor may be configured to cause the electronic device to transmit a second packet to an external electronic device operating as a central device with respect to the electronic device operating as a peripheral device through the communication circuitry within a first connection event, and to deactivate the communication circuitry during one or more connection events prior to a second connection event according to the peripheral latency following the first connection event, and to activate the communication circuitry within the second connection event to receive a third packet from the external electronic device, and to control the communication circuitry to receive a fourth packet from the external electronic device within one or more connection events between an end time of the second connection event and a start time of a third connection event, based on a difference in a value of a sequence number (SN) of the third packet from a value of a next expected sequence number (NESN) of the second packet. The third connection event may be a connection event according to the peripheral latency following the second connection event.

[0278] Electronic devices according to 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, home appliances, and the like. Electronic devices according to embodiments of this document are not limited to the aforementioned devices.

[0279] 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.

[0280] The term "module" used in various embodiments of this document may include a unit implemented by hardware, software, firmware, or any combination thereof, 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).

[0281] Various embodiments of the present document may be implemented as software (e.g., a program (1440)) including one or more instructions stored in a storage medium (e.g., an internal memory (1436) or an external memory (1438)) readable by a machine (e.g., an electronic device (1401)). For example, a processor (e.g., a processor (1420)) of the machine (e.g., an electronic device (1401)) 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, a 'non-transitory' storage medium is a tangible device, may 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.

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

[0283] 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.

[0284] While the present disclosure has been described and illustrated with reference to various exemplary embodiments, it will be understood that the various exemplary embodiments are illustrative and not limiting. Those skilled in the art will further appreciate that various changes in form and detail may be made without departing from the true spirit and full scope of the present disclosure, including the appended claims and their equivalents. Furthermore, it will be understood that any of the embodiment(s) described herein may be used in conjunction with any other embodiment(s) described herein.

Claims

1. In an electronic device (101), A communication circuit (110) configured for BLE (Bluetooth low energy), At least one processor (120) comprising a processing circuit; and A memory (130) storing instructions and including one or more storage media, wherein the instructions, when individually or collectively executed by the at least one processor, the electronic device, Through the above communication circuit, a first packet (801) is received within a first connection event from an external electronic device (102) operating as a central device with respect to the electronic device operating as a peripheral device, wherein the first packet includes an SN (sequence number) field having a first value, In response to the first packet, a second packet (805) including a next expected sequence number (NESN) field having a second value different from the first value of the SN field of the first packet is transmitted to the external electronic device within the first connection event, After receiving the first packet, within a second connection event according to peripheral latency, a third packet (821) transmitted from the external electronic device is received, Identify the value contained in the SN field of the third packet, Based on the SN field of the third packet corresponding to the second value, a fourth packet transmitted from the external electronic device is received within a third connection event according to the peripheral latency, Based on the SN field of the third packet corresponding to the first value, causing a packet transmitted from the external electronic device to be received before the third connection event according to the peripheral latency. Electronic devices.

2. In claim 1, The strength of a packet transmitted from the electronic device to the external electronic device within one or more connection events after the second connection event and before the third connection event is set to be stronger than the strength of the second packet. Electronic devices.

3. In claim 1, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Based on the SN field of the third packet corresponding to the first value, and based on the third packet being an empty PDU (protocol data unit), causing the packet transmitted from the external electronic device to be received before the third connection event. Electronic devices.

4. In claim 1, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Based on the SN field of the third packet corresponding to the first value, causing the value of the MD (more data) field of the packet transmitted to the external electronic device to be set to 1 within the second connection event. Electronic devices.

5. In claim 4, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Causing the value of the MD field of a packet transmitted to the external electronic device to be set to 1 within one or more connection events between the second connection event and the third connection event, based on the SN field of the third packet corresponding to the first value. Electronic devices.

6. In claim 1, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Causing the MD field of a packet transmitted to the external electronic device to be set to 1 within a connection event determined according to a specified cycle among connection events according to the above peripheral latency. Electronic devices.

7. In claim 1, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Causing to receive a packet transmitted from the external electronic device within a specified number of consecutive connection events based on the SN field of the third packet corresponding to the first value, The above specified number increases as the second connection event approaches the connection timeout. Electronic devices.

8. In claim 1, The above electronic device is a wearable device worn by the user. Electronic devices.

9. In claim 1, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: During one or more connection events after the second connection event and before the third connection event, based on receiving a packet (831) from the external electronic device, causing the external electronic device to transmit a response (835) to the packet. Electronic devices.

10. In claim 1, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Based on the SN field of the packet transmitted from the external electronic device before the third connection event corresponding to the second value, Causing to stop receiving packets transmitted from the external electronic device within one or more connection events prior to the next connection event according to the peripheral latency based on the connection event in which the packet was transmitted. Electronic devices.

11. In claim 1, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Through the above communication circuit, a packet requesting the use of the peripheral latency is transmitted to the external electronic device within a connection event, In response to the external electronic device's approval of the request, causing a packet to be received in a connection event according to the peripheral latency, Electronic devices.

12. In claim 1, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Based on the SN field of the third packet corresponding to the second value, disabling the communication circuit within one or more connection events after the second connection event and before the third connection event, Causing the communication circuit to activate to receive the packet transmitted from the external electronic device within at least one connection event among one or more connection events based on the SN field of the third packet corresponding to the first value; Electronic devices.

13. In the electronic device (101), Communication circuit (110) for BLE (Bluetooth low energy), At least one processor (120) comprising a processing circuit; and A memory (130) storing instructions and including one or more storage media, wherein the instructions, when individually or collectively executed by the at least one processor, the electronic device, Through the above communication circuit, a first packet (801) is received within a first connection event from an external electronic device (102) operating as a central device with respect to the electronic device operating as a peripheral device, wherein the first packet includes an LL ID (link layer identification) field, Identify the value of the LL ID field included in the packet obtained within the first connection event, Based on the above value of the LL ID field satisfying the first condition, receiving a second packet transmitted from the external electronic device within a second connection event according to the peripheral latency, Based on the above value of the LL ID field satisfying the second condition, causing a packet transmitted from the external electronic device to be received before the third connection event according to the peripheral latency. Electronic devices.

14. In claim 13, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Based on the above LL ID being 0b00, it is determined that the value of the above LL ID field satisfies the second condition, Based on the above LL ID being 0b01 and the absence of fragmented data in the first packet, it is determined that the value of the LL ID field satisfies the second condition, Based on the above LL ID being 0b10 and the first packet having no payload, it is determined that the value of the LL ID field satisfies the second condition, or Causing the value of the LL ID field to be determined to satisfy the second condition based on the fact that the LL ID is 0b11 and there is no control opcode or control parameter in the first packet, Electronic devices.

15. In the electronic device (101), Communication circuit (110) for BLE (Bluetooth low energy), At least one processor (120) comprising a processing circuit; and A memory (130) storing instructions and including one or more storage media, wherein the instructions, when individually or collectively executed by the at least one processor, the electronic device, Through the above communication circuit, a first packet (801) is received within a first connection event from an external electronic device (102) operating as a central device with respect to the electronic device operating as a peripheral device, wherein the first packet includes a NESN (next expected sequence number) field having a first value, In response to the first packet, a second packet (805) including a SN (sequence number) field having a first value equal to the first value of the NESN field of the first packet is transmitted to the external electronic device within the first connection event, After receiving the first packet, a third packet (821) transmitted from the external electronic device is received within a second connection event according to peripheral latency, Identify the value contained in the NESN field of the third packet, Receive a fourth packet transmitted from the external electronic device within a third connection event according to the peripheral latency based on the NESN field of the third packet corresponding to a second value different from the first value; Based on the NESN field of the third packet corresponding to the first value, causing a packet transmitted from the external electronic device to be received before the third connection event according to the peripheral latency. Electronic devices.

Citation Information

Patent Citations

  • Method and device for adjusting data transmission rate in wireless communication system

    KR1020160114671A

  • Safe stop assist system and method when driver is drowsy

    KR1020230127386A

  • Apparatus and method for location estimating of user equipment using multiple accuracy requirement in wireless communication systems

    KR1020240163863A