Electronic device, method, and non-transitory computer-readable storage medium for broadcasting in wireless environment
By employing BLE-enabled electronic devices with advanced packet management and transmission optimization, the system effectively handles concurrent audio services over BLE networks, addressing the challenges of resource conflicts and audio quality.
Patent Information
- Application Number
- PCT/KR2024/008667
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-20
- Filing Date
- 2024-06-24
- Publication Date
- 2025-04-03
AI Technical Summary
Existing wireless communication systems face challenges in efficiently managing audio services over Bluetooth Low Energy (BLE) networks, particularly in balancing the quality of first and second audio services during concurrent operations.
The implementation of electronic devices equipped with a communication circuit for BLE, which includes a processor that manages the broadcasting of packets within Broadcast Isochronous Stream (BIS) events. The processor detects events for second audio services, adjusts the number of packets broadcast for first audio services, and optimizes transmission power and packet size to ensure seamless audio delivery.
This solution enables efficient coexistence of first and second audio services by dynamically adjusting communication methods, thereby maintaining audio quality and reducing resource conflicts within BLE networks.
Smart Images

Figure KR2024008667_03042025_PF_FP_ABST
Abstract
Description
Electronic device, method, and non-transitory computer-readable storage medium for broadcasting in a wireless environment
[0001] The following descriptions relate to electronic devices, methods, and non-transitory computer-readable storage media for broadcasting in a wireless environment.
[0002] Compared to legacy Bluetooth® (or classic Bluetooth), BLE (Bluetooth® low energy) offers reduced power consumption and a wider communication range between connected devices. BLE can be provided on the ISM (industrial, scientific, and medical) radio band.
[0003] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above-described matters constitute prior art related to the present disclosure.
[0004] An electronic device is provided. The electronic device may include a memory configured to store instructions. The electronic device may include a communication circuit for Bluetooth low energy (BLE). The electronic device may include a processor. The processor may be configured to execute the instructions to cause the electronic device to detect an event for a second audio service provided by transmitting a packet to an external electronic device via a communication link between the electronic device and the external electronic device using the communication circuit while providing a first audio service by broadcasting a packet N times (N is a natural number greater than 1) within a single (a) broadcast isochronous stream (BIS) event using the communication circuit. The processor may be configured to execute the instructions to cause the electronic device to broadcast a packet M times (M is a natural number greater than 1 and less than N) within a single (a) BIS event using the communication circuit while providing the second audio service using the communication circuit based on the detection.
[0005] An electronic device is provided. The electronic device may include a memory configured to store instructions. The electronic device may include a communication circuit for BLE. The electronic device may include a processor. The processor may be configured to execute the instructions to cause the electronic device to detect an event for a second audio service provided by transmitting a packet to an external electronic device through a communication link between the external electronic device and the electronic device using the communication circuit while providing a first audio service via a BIS using the communication circuit. The processor may be configured to execute the instructions to cause the electronic device to stop broadcasting a packet through a portion of the BIS event for the first audio service that overlaps with time resources for the second audio service while providing the second audio service based on the detection, and to broadcast a packet through another portion of the BIS event for the first audio service that does not overlap with the time resources for the second audio service.
[0006] An electronic device is provided. The electronic device may include a memory configured to store instructions. The electronic device may include a communication circuit for BLE. The electronic device may include a processor. The processor may be configured to execute the instructions to cause the electronic device to detect an event for a second audio service provided by transmitting a packet to an external electronic device through a communication link between the external electronic device and the electronic device using the communication circuit while providing a first audio service through a BIS using the communication circuit. The processor may be configured to execute the instructions to cause the electronic device, in response to the detection, to change the number of times a packet is broadcast within one BIS event for the first audio service from N times (where N is a natural number greater than 1) to M times (where M is a natural number greater than 1 and less than N).
[0007] A method is provided. The method can be executed in an electronic device having a communication circuit for BLE (Bluetooth low energy). The method can include detecting an event for a second audio service provided by transmitting a packet to an external electronic device through a communication link between the electronic device and the external electronic device by using the communication circuit while providing a first audio service by broadcasting a packet N times (N is a natural number greater than 1) within one (a) BIS (broadcast isochronous stream) event using the communication circuit. The method can include broadcasting a packet M times (M is a natural number greater than 1 and less than N) within one (a) BIS event using the communication circuit while providing the second audio service using the communication circuit based on the detection.
[0008] A method is provided. The method can be executed in an electronic device having a communication circuit for BLE. The method can include detecting an event for a second audio service provided by transmitting a packet to an external electronic device through a communication link between the external electronic device and the electronic device using the communication circuit while providing a first audio service through a BIS using the communication circuit. The method can include stopping broadcasting a packet through a portion of the BIS event for the first audio service that overlaps with time resources for the second audio service while providing the second audio service based on the detection, and broadcasting a packet through another portion of the BIS event for the first audio service that does not overlap with the time resources for the second audio service.
[0009] A method is provided. The method can be executed in an electronic device having a communication circuit for BLE. The method can include an operation of detecting an event for a second audio service provided by transmitting a packet to an external electronic device through a communication link between the electronic device and the external electronic device using the communication circuit while providing a first audio service through a BIS using the communication circuit. The method can include an operation of changing, in response to the detection, an operation of changing a number of times a packet is broadcast within one BIS event for the first audio service from N times (where N is a natural number greater than 1) to M times (where M is a natural number greater than 1 and less than N).
[0010] A non-transitory computer-readable storage medium is provided. The non-transitory computer-readable storage medium may store one or more programs. The one or more programs may include instructions that, when executed by an electronic device having a communication circuit for BLE (Bluetooth low energy), cause the electronic device to detect an event for a second audio service provided by transmitting a packet to an external electronic device via a communication link between the electronic device and the external electronic device using the communication circuit while providing a first audio service by broadcasting a packet N times (N is a natural number greater than 1) within one (a) BIS (broadcast isochronous stream) event using the communication circuit. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to broadcast a packet M times (M is a natural number greater than 1 and less than N) within one (a) BIS event using the communication circuit while providing the second audio service based on the detection.
[0011] A non-transitory computer-readable storage medium is provided. The non-transitory computer-readable storage medium may store one or more programs. The one or more programs may include instructions that, when executed by an electronic device having a communication circuit for BLE, cause the electronic device to detect an event for a second audio service provided by transmitting a packet to an external electronic device through a communication link between the electronic device and the external electronic device using the communication circuit while providing a first audio service via a BIS using the communication circuit. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to stop broadcasting a packet through a portion of the BIS event for the first audio service that overlaps with time resources for the second audio service while providing the second audio service based on the detection, and to broadcast a packet through another portion of the BIS event for the first audio service that does not overlap with the time resources for the second audio service.
[0012] A non-transitory computer-readable storage medium is provided. The non-transitory computer-readable storage medium may store one or more programs. The one or more programs may include instructions that, when executed by an electronic device having a communication circuit for BLE, cause the electronic device to detect an event for a second audio service provided by transmitting a packet to an external electronic device through a communication link between the electronic device and the external electronic device using the communication circuit while providing a first audio service via a BIS using the communication circuit. The one or more programs may include instructions that, when executed by the electronic device, cause the electronic device to, in response to the detection, change the number of times a packet is broadcast within one BIS event for the first audio service from N times (where N is a natural number greater than 1) to M times (where M is a natural number greater than 1 and less than N).
[0013] FIG. 1 illustrates an example of a wireless environment including an electronic device, a first external electronic device, and a second external electronic device.
[0014] Figure 2 is a simplified block diagram of an exemplary electronic device.
[0015] Figure 3 is a simplified block diagram of an exemplary first external electronic device.
[0016] FIG. 4 is a flowchart illustrating a method executed within an electronic device to change a communication method for a first audio service based on detection of an event for a second audio service.
[0017] FIG. 5 is a flowchart illustrating a method executed within an electronic device to change the number of times packets are broadcast within one (a) broadcast isochronous stream (BIS) event for a first audio service based on detection of an event for a second audio service.
[0018] FIG. 6 illustrates an example of changing the number of times a packet is broadcast within one (a) BIS event for a first audio service based on the detection of an event for a second audio service.
[0019] FIG. 7 is a flowchart illustrating a method executed within an electronic device to adjust the transmit power of a packet broadcast via a BIS event for a first audio service while providing a second audio service based on detection of an event for the second audio service.
[0020] FIGS. 8 and 9 illustrate examples of adjusting the transmission power of packets broadcast via a BIS event for a first audio service while providing a second audio service based on detection of an event for the second audio service.
[0021] FIG. 10 is a flowchart illustrating a method executed within an electronic device to adjust the size of a packet broadcast via a BIS event for a first audio service while providing a second audio service based on detection of an event for the second audio service.
[0022] FIG. 11 is a flowchart illustrating a method executed within an electronic device to determine whether a second audio service can be provided together with a first audio service.
[0023] FIG. 12 is a flowchart illustrating a method executed within a first external electronic device to process packets broadcasted via a BIS event for a first audio service from an electronic device while providing a second audio service.
[0024] FIG. 13 is a flowchart illustrating a method executed within an electronic device to restore a broadcast method for a first audio service upon terminating provision of a second audio service.
[0025] FIG. 14 is a block diagram of an electronic device within a network environment according to various embodiments.
[0026] FIG. 1 illustrates an example of a wireless environment including an electronic device, a first external electronic device, and a second external electronic device.
[0027] Referring to FIG. 1, a wireless environment (100) may include an electronic device (111), a first external electronic device (101), and a second external electronic device (102). As a non-limiting example, the wireless environment (100) may further include a third external electronic device (103) and a fourth external electronic device (104).
[0028] An electronic device (111) within a wireless environment (100) can provide audio services in conjunction with a first external electronic device (101) (and / or a second external electronic device (102)). For example, the electronic device (111) can be an audio source device.
[0029] The electronic device (111) can provide a first audio service in conjunction with a first external electronic device (101) (and / or a second external electronic device (102)). The first audio service can be provided via a broadcast isochronous stream (BIS). For example, the electronic device (111) can broadcast a packet for outputting audio for the first audio service (e.g., to perform or provide the first audio service). For example, the packet can be broadcast via (or within) a broadcast isochronous group (BIG) event (or a BIS event included within a BIG event). For example, the BIG event can include one or more BIS events. For example, the one or more BIS events can include (or comprise) a BIS event for the first external electronic device (101) and a BIS event for the second external electronic device (102). For example, each of the one or more BIS events may include one or more sub-events (e.g., each BIS event includes or comprises one or more sub-events).
[0030] For example, the electronic device (111) may provide a second audio service in conjunction with a first external electronic device (101) (and / or a second external electronic device (102)). Unlike the first audio service, the second audio service may be provided via a communication link.
[0031] For example, unlike the first audio service, the second audio service may be provided through a communication link (131) between the electronic device (111) and the first external electronic device (101). For example, the communication link (131) may include an asynchronous connectionless link (ACL), which is a control data link. As a non-limiting example, the communication link (131) may be used for a connected isochronous stream (CIS). As a non-limiting example, the communication link (131) may include a synchronous connection-oriented (SCO) link. As a non-limiting example, the communication link (131) may include an enhanced SCO (eSCO) link. For example, the communication link (131) may include an ACL, a CIS link, an SCO link, and / or an eSCO link.
[0032] For example, unlike the first audio service, the second audio service may be provided via a communication link (133) between the electronic device (111) and the second external electronic device (102). For example, the communication link (133) may include an ACL. As a non-limiting example, the communication link (133) may be used for CIS. As a non-limiting example, the communication link (133) may include an SCO link. As a non-limiting example, the communication link (133) may include an eSCO link.
[0033] A first external electronic device (101) within a wireless environment (100) can provide audio services in conjunction with an electronic device (111) (and / or a second external electronic device (102)). For example, the first external electronic device (101) can be an audio sink device.
[0034] For example, the first external electronic device (101) may be configured to output audio. For example, the first external electronic device (101) may be configured to output audio based on a packet broadcast from the electronic device (111) for the first audio service. For example, the first external electronic device (101) may be configured to output audio based on a packet received from the electronic device (111) via the communication link (131) for the second audio service.
[0035] For example, the first external electronic device (101) may be configured to acquire audio. For example, the first external electronic device (101) may acquire audio based on a request received from the electronic device (111) via the communication link (131). For example, the first external electronic device (101) may transmit data regarding the acquired audio to the electronic device (111) via the communication link (131).
[0036] A second external electronic device (102) within a wireless environment (100) can provide audio services in conjunction with an electronic device (111) and a first external electronic device (101). For example, the second external electronic device (102) can be an audio sync device.
[0037] For example, the second external electronic device (102) may be configured to output audio. For example, the second external electronic device (102) may be configured to output audio based on a packet broadcast from the electronic device (111) for the first audio service. For example, the second external electronic device (102) may be configured to output audio based on a packet received from the electronic device (111) via the communication link (133) for the second audio service.
[0038] For example, the second external electronic device (102) may be configured to acquire audio. For example, the second external electronic device (102) may acquire audio based on a request received from the electronic device (111) via the communication link (133). For example, the second external electronic device (102) may transmit data regarding the acquired audio to the electronic device (111) via the communication link (133).
[0039] For example, the second external electronic device (102) may be a device paired (or connected) with the first external electronic device (101). As a non-limiting example, the first external electronic device (101) may be worn on the user's right ear and the second external electronic device (102) may be worn on the user's left ear. That is, as an example, the first external electronic device (101) and the second external electronic device (102) may be right and left (wireless) earphones. As a non-limiting example, the first external electronic device (101) paired with the second external electronic device (102) may indicate that the first external electronic device (101) and the second external electronic device (102) are configured as a set to provide an audio service. As a non-limiting example, a first external electronic device (101) paired with a second external electronic device (102) may indicate that the first external electronic device (101) and the second external electronic device (102) are connected via a communication link (132). As a non-limiting example, a first external electronic device (101) paired with a second external electronic device (102) may indicate that the first external electronic device (101) and the second external electronic device (102) are used for stereophonic sound. For example, audio output through a speaker of the first external electronic device (101) may correspond to audio output through a speaker of the second external electronic device (102) (e.g., right and left audio streams). For example, audio acquired through a microphone of the first external electronic device (101) may correspond to audio acquired through a microphone of the second external electronic device (102).
[0040] For example, the electronic device (111) can broadcast a packet for the BIS for the first audio service.
[0041] For example, the electronic device (111) may execute one or more advertisements (141) to provide information for access to the packet for the BIS broadcasted for the first audio service. For example, the one or more advertisements (141) may provide information for access to a periodic advertisement (142), as represented by arrows (151). For example, the one or more advertisements (141) may include advertising a first packet (e.g., an ADV_EXT_IND packet) on each of the primary advertising channels (e.g., Ch. 37, Ch. 38, and Ch. 39). For example, the first packet may indicate that additional information (or data) (or packet) is provided via another (or additional) advertisement (e.g., an extended advertisement). For example, the first packet may indicate a second packet (e.g., an AUX_ADV_IND packet) (or an extended advertisement packet). For example, one or more advertisements (141) may include advertising the second packet that is advertised on at least some of the secondary advertising channels and represents a periodic advertisement (142).
[0042] For example, the electronic device (111) may execute a periodic advertisement (142) to provide information for accessing the packet for the BIS broadcasted for the first audio service. For example, the periodic advertisement (142) may provide information for accessing the packet for the BIS broadcasted for the first audio service from the electronic device (111), as indicated by an arrow (152). For example, the periodic advertisement (142) may indicate resources for broadcasting (143) the packet for the BIS, as indicated by an arrow (152). For example, the periodic advertisement (142) may include advertising a third packet. For example, the third packet may include information about an interval of the periodic advertisement (142), information about an offset of transmission according to the periodic advertisement (142), information about a channel map of the periodic advertisement (142), information about an ACL, information about an initial value of a cyclic redundancy check (CRC), information about a counter of an event of the periodic advertisement (142) (e.g., PeriodicEventCounter), and information (or advertisement data) about a BIG scheduled (or generated) (or acquired) by the electronic device (111) (e.g., including multiple instances for the BIS from the electronic device (111).
[0043] For example, since the electronic device (111) is a connection auxiliary device for the first external electronic device (101) and the second external electronic device (102), the electronic device (111) may transmit information about a periodic advertisement (142) (e.g., LL(logical link)_PERIODIC_SYNC_IND) to the first external electronic device (101) via the communication link (131) to assist synchronization with the BIS for the first audio service. For example, the information about the periodic advertisement (142) may indicate an interval of the periodic advertisement (142), a hopping sequence of the periodic advertisement (142), and / or an access address for synchronization with the BIS from the electronic device (111). As a non-limiting example, the electronic device (111) can transmit the information about the periodic advertisement (142) to the second external electronic device (102) via the communication link (133). As a non-limiting example, the information about the periodic advertisement (142) can be transmitted to the first external electronic device (101) among the first external electronic device (101) and the second external electronic device (102), and the information about the periodic advertisement (142) transmitted to the first external electronic device (101) can be transmitted from the first external electronic device (101) to the second external electronic device (102) via the communication link (132).
[0044] For example, the first external electronic device (101) may use the information about the periodic advertisement (142) received from the electronic device (111) to synchronize with the BIS for the first audio service, as indicated by arrow (161). The synchronization of the first external electronic device (101) with the BIS may indicate that the first external electronic device (101) receives at least a portion of the packets broadcast from the electronic device (111) for the first audio service. The synchronization of the first external electronic device (101) with the BIS may indicate that the first external electronic device (101) receives at least a portion of the packets broadcast via a BIS event for the first external electronic device (101) that is included in a BIG event for the first audio service. For example, synchronization of the first external electronic device (101) with the BIS may indicate that the first external electronic device (101) receives a packet broadcasted through the BIS from the electronic device (111) for the first audio service at least once within six ISO intervals (or six consecutive ISO intervals).
[0045] For example, the first external electronic device (101) can provide the first audio service by receiving the packet broadcast from the electronic device (111) for the first audio service and outputting audio using the packet (e.g., based on the repaired packet).
[0046] For example, the second external electronic device (102) may use the information about the periodic advertisement (142) received from the electronic device (111) to synchronize with the BIS for the first audio service, as indicated by arrow (162). The second external electronic device (102) synchronizing with the BIS may indicate that the second external electronic device (102) receives at least a portion of the packets broadcast from the electronic device (111) for the first audio service. The second external electronic device (102) synchronizing with the BIS may indicate that the second external electronic device (102) receives at least a portion of the packets broadcast via a BIS event for the second external electronic device (102) that is included within a BIG event for the first audio service. For example, synchronization of the second external electronic device (102) with the BIS may indicate that the second external electronic device (102) receives a packet broadcasted through the BIS from the electronic device (111) for the first audio service at least once within six ISO intervals.
[0047] For example, the second external electronic device (102) may receive the packet broadcast from the electronic device (111) for the first audio service and output audio using the received packet (e.g., based on the received packet) to provide the first audio service.
[0048] For example, the first audio service may be further provided through the third external electronic device (103) and the fourth external electronic device (104). For example, the packet broadcast from the electronic device (111) for the first audio service may be received by the third external electronic device (103) and the fourth external electronic device (104). For example, a connection auxiliary device (not shown in FIG. 1) of the third external electronic device (103) and the fourth external electronic device (104) may obtain information (e.g., LL_PERIODIC_SYNC_IND) about a periodic advertisement (142) executed by the electronic device (111) through one or more advertisements (141) executed by the electronic device (111). For example, the connection auxiliary devices of the third external electronic device (103) and the fourth external electronic device (104) can transmit the acquired information to the third external electronic device (103) through a communication link with the third external electronic device (103). For example, the connection auxiliary devices of the third external electronic device (103) and the fourth external electronic device (104) can transmit the acquired information to the fourth external electronic device (104) through a communication link with the fourth external electronic device (104).
[0049] For example, the third external electronic device (103) may use the information about the periodic advertisement (142) received from the connection assistants of the third external electronic device (103) and the fourth external electronic device (104) to synchronize with the BIS for the first audio service, as indicated by arrow (163). The synchronization of the third external electronic device (103) with the BIS may indicate that the third external electronic device (103) receives at least a portion of the packets broadcast from the electronic device (111) for the first audio service. The synchronization of the third external electronic device (103) with the BIS may indicate that the first external electronic device (103) receives at least a portion of the packets broadcast via a BIS event for the third external electronic device (103) that is included in a BIG event for the first audio service. For example, synchronization of the third external electronic device (103) with the BIS may indicate that the third external electronic device (103) receives a packet broadcasted through the BIS from the electronic device (111) for the first audio service at least once within six ISO intervals.
[0050] For example, the third external electronic device (103) can provide the first audio service by receiving the packet broadcast from the electronic device (111) for the first audio service and outputting audio using the packet.
[0051] For example, the fourth external electronic device (104) may use the information about the periodic advertisement (142) received from the connection assistant of the third external electronic device (103) and the fourth external electronic device (104) to synchronize to the BIS for the first audio service, as indicated by arrow (164). The fourth external electronic device (104) synchronizing to the BIS may indicate that the fourth external electronic device (104) receives at least a portion of the packets broadcast from the electronic device (111) for the first audio service. The fourth external electronic device (104) synchronizing to the BIS may indicate that the fourth external electronic device (104) receives at least a portion of the packets broadcast via a BIS event for the fourth external electronic device (104) that is included in a BIG event for the first audio service. For example, synchronization of the fourth external electronic device (104) with the BIS may indicate that the fourth external electronic device (104) receives a packet broadcasted through the BIS from the electronic device (111) for the first audio service at least once within six ISO intervals.
[0052] For example, the fourth external electronic device (104) can provide the first audio service by receiving the packet broadcast from the electronic device (111) for the first audio service and outputting audio using the packet.
[0053] For example, the electronic device (111) can transmit a packet through a communication link for the second audio service.
[0054] For example, the electronic device (111) can transmit a packet to the first external electronic device (101) via the communication link (131). For example, the packet can be used to output audio according to the second audio service. For example, the first external electronic device (101) can provide the second audio service by outputting audio using the packet. For example, the packet can be used to obtain audio according to the second audio service through the first external electronic device (101). For example, the first external electronic device (101) can provide the second audio service by transmitting another packet including information about the audio obtained in response to the packet to the electronic device (111) via the communication link (131).
[0055] For example, the electronic device (111) can transmit a packet to the second external electronic device (102) via the communication link (133). For example, the packet can be used to output audio according to the second audio service. For example, the second external electronic device (102) can provide the second audio service by outputting audio using the packet. For example, the packet can be used to obtain audio according to the second audio service through the second external electronic device (102). For example, the second external electronic device (102) can provide the second audio service by transmitting another packet including information about the audio obtained in response to the packet to the electronic device (111) via the communication link (133).
[0056] For example, while providing the first audio service, an event for the second audio service may occur. As a non-limiting example, the event may be detecting (or identifying) (or receiving) within the electronic device (111) a user input indicating an incoming call or acceptance of an incoming call.
[0057] As a non-limiting example, providing the second audio service while providing the first audio service may reduce the quality of the second audio service. For example, maintaining the state of the first audio service at the state of the first audio service before starting the second audio service while providing the second audio service may reduce the quality of the second audio service. For example, the electronic device (111) may change the state of the first audio service for the quality of the second audio service.
[0058] Meanwhile, as a non-limiting example, the first audio service may be resumed after the second audio service has been terminated. The electronic device (111) may not (completely) terminate the first audio service in response to the event in order to reduce the time consumed to resume the first audio service after the termination of the second audio service. As a non-limiting example, the electronic device (111) may, in response to the event, reduce the time resources used for the first audio service instead of (completely) terminating the first audio service for the sake of the quality of the second audio service. That is, the first audio service may be maintained even if it uses fewer (time) resources while providing the second audio service (or while providing the second audio service). For example, the amount of time resources used for the first audio service while the second audio service is being provided may be less than the amount of time resources used for the first audio service before the start of the second audio service. As a non-limiting example, the electronic device (111) may, in response to the event, allocate only the time resources required to maintain synchronization with the BIS for the first audio service. For example, the electronic device may allocate only the resources required to maintain synchronization with the BIS for the first audio service (e.g., for synchronization without the first audio output). Components of the electronic device (111) for reducing the time resources consumed for the first audio service while the second audio service is provided are exemplified in the description of FIG. 2.
[0059] Figure 2 is a simplified block diagram of an exemplary electronic device.
[0060] Referring to FIG. 2, the electronic device (111) may include a processor (201), a memory (202), and a communication circuit (203).
[0061] The processor (201) may include at least a portion of the processor (1420) of FIG. 14 or correspond to at least a portion of the processor (1420) of FIG. 14. The processor (201) may be configured to control the communication circuit (203). The processor (201) may be configured to execute instructions stored in the memory (202) to cause the electronic device (111) to perform at least a portion of the operations illustrated in the description of FIG. 1. For example, the processor (201) may control the communication circuit (203) by executing the instructions stored in the memory (202).
[0062] The memory (202) may be configured to store the instructions. For example, the instructions may be included in one or more programs. For example, the memory (202) may include non-volatile memory. For example, the memory (202) may include at least a portion of the memory (1430) of FIG. 14 (e.g., non-volatile memory (1434)) or may correspond to at least a portion of the memory (1430) of FIG. 14.
[0063] The communication circuit (203) may support legacy Bluetooth and / or BLE (Bluetooth low energy). For example, the communication circuit (203) may be used for communication with an external electronic device (e.g., a first external electronic device (101) and / or a second external electronic device (102)). For example, the communication circuit (203) may be used for the first audio service. For example, the communication circuit (203) may be used for the second audio service.
[0064] The electronic device (111) illustrated in the description of FIG. 2 can execute at least some of the operations illustrated in the description of FIGS. 4 to 11 and FIG. 13. For example, the operations illustrated in the description of FIGS. 4 to 11 and FIG. 13 can be caused by (or within) the electronic device (111) under the control of the processor (201). For example, the first external electronic device (101) can include components for executing operations related to operations caused by the electronic device (111) and at least some of the operations illustrated in the description of FIG. 12. The components are illustrated in the description of FIG. 3.
[0065] Figure 3 is a simplified block diagram of an exemplary first external electronic device.
[0066] Referring to FIG. 3, the first external electronic device (101) may include at least a portion of the electronic device (1402) of FIG. 14 or correspond to at least a portion of the electronic device (1402) of FIG. 14. The first external electronic device (101) may include a processor (301), a communication circuit (302), and a speaker (303). The first external electronic device (101) may further include a microphone (304).
[0067] The processor (301) may be configured to control the communication circuit (302), the speaker (303), and the microphone (304). The processor (301) may be configured to execute instructions stored in a memory (not shown in FIG. 3) to cause the first external electronic device (101) to perform at least some of the operations illustrated in the description of FIG. 1. The processor (301) may be configured to execute instructions stored in the memory to cause the first external electronic device (101) to perform operations for the first audio service. The processor (301) may be configured to execute instructions stored in the memory to cause the first external electronic device (101) to perform operations for the second audio service. For example, the memory may include a non-volatile memory.
[0068] The communication circuit (302) may support legacy Bluetooth and / or BLE (Bluetooth low energy). For example, the communication circuit (302) may be used for communication with the electronic device (111). For example, the communication circuit (302) may be used for the first audio service. For example, the communication circuit (302) may be used for the second audio service.
[0069] The speaker (303) may be configured to output audio. For example, the speaker (303) may output audio provided from the electronic device (111). For example, the speaker (303) may be used for the first audio service. For example, the speaker (303) may be used for the second audio service.
[0070] The microphone (304) may be configured to capture audio generated around the first external electronic device (101). For example, the microphone (304) may be used to capture audio to be provided to the electronic device (111). For example, the microphone (304) may be used for the second audio service.
[0071] FIG. 4 is a flowchart illustrating a method executed within an electronic device to change a communication method for a first audio service based on detection of an event for a second audio service.
[0072] Referring to FIG. 4, at operation 410, the processor (201) of the electronic device (111) may provide the first audio service via the BIS, as exemplified in the descriptions above (e.g., in one or more of the examples described above with reference to FIGS. 1 to 3). For example, the processor (201) may cause the electronic device (111) to perform one or more advertisements (141). For example, the processor (201) may cause the electronic device (111) to perform periodic advertisements (142). For example, the processor (201) may cause the electronic device (111) to broadcast (143) a packet for the first audio service. For example, the packet broadcast for the first audio service at operation 410 may include audio data obtained from a software application used (or executed) to provide the first audio service. As a non-limiting example, the packet broadcast at operation 410 for the first audio service may be partially different from the packet broadcast (or broadcasts) from the electronic device (111) for the first audio service while providing the second audio service. For example, the packet broadcast at operation 410 for the first audio service before providing the second audio service may be partially different from the packet broadcast at operation 440 for the first audio service while providing the second audio service.For example, the packet broadcast at operation 410 for the first audio service before providing the second audio service may include the audio data obtained from the software application, unlike the packet broadcast at operation 440 for the first audio service while providing the second audio service (e.g., the packet broadcast within operation 440 for the first audio service while providing the second audio service does not include the audio data). As a non-limiting example, the packet broadcast at operation 410 may include the audio data, whereas the packet broadcast at operation 440 may not include the audio data.
[0073] For example, the processor (301) of the first external electronic device (101) may provide the first audio service by receiving the packet broadcast from the electronic device (111) in operation 410 and outputting audio (e.g., to at least one external device) using the received packet. For example, the second external electronic device (102) may provide the first audio service by receiving the packet broadcast from the electronic device (111) in operation 410 and outputting audio using the received packet. For example, the third external electronic device (103) may provide the first audio service by receiving the packet broadcast from the electronic device (111) in operation 410 and outputting audio using the received packet. For example, the fourth external electronic device (104) may provide the first audio service by receiving the packet broadcast from the electronic device (111) in operation 410 and outputting audio using the received packet.
[0074] In operation 420, the processor (201) may detect, identify, confirm, or receive an event for the second audio service while providing the first audio service. For example, the processor (201) may detect the event by detecting a user input indicating acceptance of an incoming call to the electronic device (111). For example, the processor (201) may detect the event by receiving an incoming call to the electronic device (111) from another electronic device. For example, the processor (201) may detect the event by detecting a user input indicating music playback. However, the present invention is not limited thereto.
[0075] In operation 430, the processor (201) may provide the second audio service according to (e.g., based on) the event (e.g., the detected event). For example, if the communication link (131) between the electronic device (111) and the first external electronic device (101) is established for the second audio service before detecting the event, the processor (201) may provide the second audio service by transmitting a packet to the first external electronic device (101) through the communication link (131) for the second audio service. For example, if a communication link (131) between the electronic device (111) and the first external electronic device (101) is not established for the second audio service before detecting the event, the processor (201) may provide the second audio service by establishing a communication link (131) with the first external electronic device (101) in response to the event and transmitting a packet to the first external electronic device (101) through the communication link (131) established in response to the event.
[0076] For example, the packet transmitted to the first external electronic device (101) in operation 430 may include audio data. For example, the processor (301) of the first external electronic device (101) may receive the packet transmitted from the electronic device (111) in operation 430 and output audio using the received packet, thereby providing the second audio service. For example, the processor (301) may output audio by rendering the audio data within the packet.
[0077] At operation 440, the processor (201) may change the communication method for the first audio service while providing the second audio service (e.g., while transmitting packet(s) for the second audio service over the communication link while providing the second audio service). For example, the processor may change the communication method for the first audio service while (or while) providing the second audio service. As exemplified in the description of FIG. 1, maintaining the communication method for the first audio service while providing the second audio service as the communication method for the first audio service before providing the second audio service may reduce the quality of the second audio service, and therefore, the processor (201) may change the communication method for the first audio service while providing the second audio service (e.g., while providing, whilst, or during, providing).
[0078] For example, the modified communication method can be implemented in various ways. For example, the processor (201) can reduce the resources consumed for the first audio service in order to secure resources for transmitting packets through the communication link (131) for the second audio service. For example, the processor (201) can reduce the number of times packets are broadcast within one (a) BIS event (e.g., a BIS event for the first external electronic device (101)) (or BIG event) for the first audio service while providing the second audio service, according to the modified communication method. This operation is exemplified in the descriptions of FIGS. 5 and 6 .
[0079] FIG. 5 is a flowchart illustrating a method executed within an electronic device to change the number of times packets are broadcast within one (a) broadcast isochronous stream (BIS) event for a first audio service based on detection of an event for a second audio service.
[0080] FIG. 6 illustrates an example of changing the number of times a packet is broadcast within one (a) BIS event for a first audio service based on the detection of an event for a second audio service.
[0081] Referring to FIG. 5, in operation 510, the processor (201) of the electronic device (111) may provide the second audio service according to the event. For example, operation 510 may correspond to operation 430 of FIG. 4.
[0082] In operation 520, the processor (201) may change the number of times a packet is broadcast within one (a) BIS event for the first audio service from N times (N is a natural number greater than 1) to M times (M is a natural number greater than or equal to 1 and less than N) while providing the second audio service. For example, the processor (201) may change the communication method for the first audio service while providing the second audio service by reducing the number of times a packet is broadcast within one BIS event for the first audio service. For example, the change may be applied to a plurality of BIS events (or all BIS events) scheduled (or generated) (or acquired) for the first audio service while providing the second audio service. For example, the number of times a packet is broadcast within each of the plurality of BIS events may be M times. In another example, the number of times a packet is broadcast within each of the plurality of BIS events may vary depending on a priority of each of the plurality of BIS events. For example, if the priority of a first BIS event among the plurality of BIS events is higher than the priority of a second BIS event among the plurality of BIS events, the number of times a packet is broadcast within the first BIS event may be M times, and the number of times a packet is broadcast within the second BIS event may be O times (O is a natural number greater than or equal to 1 and less than M).
[0083] For example, referring to FIG. 6, one (a) BIG event (e.g., BIG event (603)) for the first audio service may include two BIS events (e.g., a first BIS event (601) and a second BIS event (602). The first BIS event (601) may include six (e.g., NSE=6) sub-events, and the second BIS event (602) may include six (e.g., NSE=6) sub-events. As a non-limiting example, the first BIS event (601) and the second BIS event (602) may have an interleaved arrangement, as illustrated in FIG. 6. As a non-limiting example, the first BIS event (601) and the second BIS event (602) may have a sequential arrangement, unlike the illustration in FIG. 6.
[0084] For example, the processor (201) may broadcast a packet (611) through each of the sub-events within one BIS event (e.g., the first BIS event (601)) within one BIG event (e.g., the BIG event (603)) for the first audio service, prior to detection (620) of the event for the second audio service, and may broadcast a packet (612) through each of the sub-events within another BIS event (e.g., the second BIS event (602)) within one BIG event (e.g., the BIG event (603)). For example, packet (611) may be broadcast N times (e.g., N=6) through one BIS event (e.g., first BIS event (601)) from electronic device (111) before detection (620) of the event, and packet (612) may be broadcast N times (e.g., N=6) through another BIS event (e.g., second BIS event (602)) from electronic device (111) before detection (620) of the event.
[0085] For example, the processor (201) may perform detection (620) of the event for the second audio service while providing the first audio service by broadcasting the packet (611) N times through one BIS event (e.g., the first BIS event (601)) and broadcasting the packet (612) N times through another BIS event (e.g., the second BIS event (602)).
[0086] For example, the processor (201) may allocate or schedule time resources for the second audio service in response to (or based on) detection of an event (620). For example, the processor (201) may allocate or schedule time intervals (631), time intervals (632), time intervals (633), time intervals (634), and time intervals (635) as time intervals for transmitting packets (613) for the second audio service.
[0087] For example, the processor (201) can provide the second audio service from the timing (630). For example, the processor (201) can transmit a packet (613) within (or through) a time interval (631) for the second audio service, transmit a packet (613) within (or through) a time interval (632) for the second audio service, transmit a packet (613) within (or through) a time interval (633) for the second audio service, transmit a packet (613) within (or through) a time interval (634) for the second audio service, and transmit a packet (613) within (or through) a time interval (635) for the second audio service.
[0088] For example, the processor (201) may broadcast a packet for the first audio service through (or within) a part of one BIS event (or one BIG event) for the first audio service that does not overlap with time resources (e.g., time interval (631), time interval (632), time interval (633), time interval (634), and time interval (635)) allocated (or scheduled) for the second audio service while providing the second audio service based on detection (620) of the event. For example, the processor (201) may, while providing the second audio service based on detection (620) of the event, terminate, stop, refrain from, or bypass broadcasting packets for the first audio service through another part of one BIS event (or one BIG event) for the first audio service that overlaps with time resources (e.g., time interval (631), time interval (632), time interval (633), time interval (634), and time interval (635)) allocated (or scheduled) for the second audio service.
[0089] For example, the processor (201) may, while providing the second audio service from timing (630), broadcast a packet (614) through a part of sub-events within one BIS event (e.g., a third BIS event (604)) within one BIG event (e.g., a BIG event (606)) for the first audio service, and broadcast a packet (615) through a part of sub-events within another BIS event (e.g., a fourth BIS event (605)) within one BIG event (e.g., a BIG event (606)). For example, the NSE of the third BIS event (604) may be 6, which is the same as the NSE of the first BIS event (601), and the NSE of the fourth BIS event (605) may be 6, which is the same as the NSE of the second BIS event (602). For example, packet (614) may be broadcast M times (e.g., M=1) via one BIS event (e.g., the third BIS event (604)) from electronic device (111) while providing the second audio service, and packet (615) may be broadcast M times (e.g., M=1) via another BIS event (e.g., the fourth BIS event (605)) from electronic device (111) while providing the second audio service. For example, packet (614) may correspond to packet (611) or may be partially different from packet (611). For example, packet (615) may correspond to packet (612) or may be partially different from packet (612). Packet (614) that is partially different from packet (611) will be exemplified within the description of FIG. 10.
[0090] Referring back to FIG. 5, the processor (201) may broadcast a packet M times within a single BIS event while the second audio service is provided. As a non-limiting example, M may be determined based on the state of the wireless environment. As a non-limiting example, when the state of the wireless environment is relatively good, M may be determined as 3, and when the state of the wireless environment is relatively bad, M may be determined as 1. As a non-limiting example, M may adaptively change based on changes in the state of the wireless environment. For example, the processor (201) may broadcast a packet M times within a single BIS event while providing the second audio service so that one or more external electronic devices (e.g., the first external electronic device (101), the second external electronic device (102), the third external electronic device (103), and / or the fourth external electronic device (104)) maintain synchronization with the BIS for the first audio service. For example, the processor (201) can enhance the quality of the second audio service by broadcasting a packet M times within one BIS event while providing the second audio service, and increase the response speed for resuming the first audio service upon termination of the second audio service.
[0091] Referring again to FIG. 4, the processor (201) can reduce the time resources consumed for advertisements executed for the first audio service according to the changed communication method while providing the second audio service.
[0092] For example, the processor (201) may perform periodic advertisements (142) indicating the BIS for the first audio service according to a first periodic advertising interval while providing the first audio service prior to detecting the event. For example, the processor (201) may perform periodic advertisements (142) according to a second periodic advertising interval that is longer than the first periodic advertising interval while providing the second audio service upon detecting the event. For example, the number of advertisements (e.g., one or more advertisements (141) and periodic advertisements (142)) performed by the electronic device (111) within a unit time interval while providing the second audio service may be less than the number of advertisements (e.g., one or more advertisements (141) and periodic advertisements (142)) performed by the electronic device (111) within the unit time interval before providing the second audio service.
[0093] For example, the processor (201) may adjust the transmission power of packets broadcast for the first audio service according to the changed communication method while providing the second audio service. For example, the transmission power of packets broadcast for the first audio service while providing the second audio service may be higher than the transmission power of packets broadcast for the first audio service before the start of the second audio service. This operation is exemplified in the descriptions of FIGS. 7 to 9.
[0094] FIG. 7 is a flowchart illustrating a method executed within an electronic device to adjust the transmit power of a packet broadcast via a BIS event for a first audio service while providing a second audio service based on detection of an event for the second audio service.
[0095] FIGS. 8 and 9 illustrate examples of adjusting the transmission power of packets broadcast via a BIS event for a first audio service while providing a second audio service based on detection of an event for the second audio service.
[0096] Referring to FIG. 7, in operation 710, the processor (201) of the electronic device (111) may change the number of times a packet is broadcast within one (a) BIS event for the first audio service from N times to M times while providing the second audio service. For example, operation 710 may correspond to operation 520 of FIG. 5.
[0097] In operation 720, the processor (201) may adjust (or set) the transmission power of packets broadcast while providing the second audio service (e.g., broadcasts for the first audio service). For example, the transmission power of packets broadcast while providing the second audio service for the first audio service may be higher than the transmission power of packets broadcast before providing the second audio service, according to the adjustment (or setting). For example, since reducing the number of times packets are broadcast within one BIS event for the first audio service while providing the second audio service may cause a decrease in reception rate, the processor (201) may perform the adjustment.
[0098] Referring to FIG. 8, the processor (201) may broadcast a packet (611) with a transmission power (801) through each of the sub-events within one BIS event (e.g., the first BIS event (601)) within one BIG event (e.g., the BIG event (603)) for the first audio service, prior to detection (620) of the event for the second audio service, and may broadcast a packet (612) with a transmission power (801) through each of the sub-events within another BIS event (e.g., the second BIS event (602)) within one BIG event (e.g., the BIG event (603)).
[0099] For example, the processor (201) may perform detection (620) of the event for the second audio service while providing the first audio service by broadcasting the packet (611) N times through one BIS event (e.g., the first BIS event (601)) with the transmission power (801) and broadcasting the packet (612) N times through another BIS event with the transmission power (801).
[0100] For example, the processor (201) may, in response to detection of an event (620), adjust or set the transmission power of a packet broadcast while providing the second audio service to a transmission power (802) higher than the transmission power (801).
[0101] For example, while providing the second audio service, the transmit power (802) of a packet (614) broadcast through some of the sub-events within one BIS event (e.g., the third BIS event (604)) within one BIG event (e.g., the BIG event (606)) for the first audio service may be higher than the transmit power (801) of a packet (611) broadcast through each of the sub-events within one BIS event (e.g., the first BIS event (601)) within one BIG event (e.g., the BIG event (603)) for the first audio service before providing the second audio service. As a non-limiting example, the transmit power (802) of the packet (611) may be the maximum transmit power of the electronic device (111).
[0102] For example, the transmit power (802) of a packet (615) broadcast through some of the sub-events within one BIS event (e.g., the fourth BIS event (605)) within one BIG event (e.g., the BIG event (606)) for the first audio service while providing the second audio service may be higher than the transmit power (801) of a packet (612) broadcast through each of the sub-events within one BIS event (e.g., the second BIS event (602)) within one BIG event (e.g., the BIG event (603)) for the first audio service before providing the second audio service. As a non-limiting example, the transmit power (802) of the packet (615) may be the maximum transmit power of the electronic device (111).
[0103] Referring again to FIG. 7, the processor (201) may adjust or set the transmit power of packets broadcast for the first audio service within some of the six consecutive ISO intervals to a higher transmit power than the transmit power of packets broadcast for the first audio service within other of the six consecutive ISO intervals, so that one or more external electronic devices (or one or more receiving devices) (e.g., the first external electronic device (101), the second external electronic device (102), the third external electronic device (103), and / or the fourth external electronic device (104)) used to provide the first audio service maintain synchronization with the BIS for the first audio service. Although the above descriptions describe an example in which the number of consecutive ISO intervals is six, this is merely exemplary. For example, the number of consecutive ISO intervals may be any natural number different from six.
[0104] Referring to FIG. 9, for example, the processor (201) may broadcast a packet (614) via a BIS event for the first audio service within each of six ISO intervals (e.g., ISO interval (911), ISO interval (912), ISO interval (913), ISO interval (914), ISO interval (915), and ISO interval (916)) while providing the second audio service. For example, the processor (201) may broadcast a packet (615) via a BIS event for the first audio service within each of six ISO intervals (e.g., ISO interval (911), ISO interval (912), ISO interval (913), ISO interval (914), ISO interval (915), and ISO interval (916)) while providing the second audio service.
[0105] For example, the processor (201) may, while providing the second audio service, increase the reception rate of packets broadcast for the first audio service, such as in the state (900), by increasing the transmission power (901) of packets (614) broadcast through a BIS event for the first audio service within a part (e.g., ISO interval (911) and ISO interval (914)) of six ISO intervals (e.g., ISO interval (911), ISO interval (912), ISO interval (913), ISO interval (914), ISO interval (915), and ISO interval (916)), and by increasing the transmission power (901) of packets (614) broadcast through a BIS event for the first audio service within another part (e.g., ISO interval (912), ISO interval (913), ISO interval (914), ISO interval (915), and ISO interval (916)) of six ISO intervals (e.g., ISO interval (911), ISO interval (912), ISO interval (913), ISO interval (914), ISO interval (915), and ISO interval (916)). The transmission power (902) of the packet (614) broadcasted through the electronic device (111) can be adjusted or set higher than that of the packet (614). For example, the transmission power (901) of the packet (614) can correspond to the maximum transmission power of the electronic device (111). For example, the transmission power (902) of the packet (614) can be higher than the transmission power (801) of the packet (611), lower than the transmission power (801) of the packet (611), or equal to the transmission power (801) of the packet (611).
[0106] For example, the processor (201) may, while providing the second audio service, increase the reception rate of packets broadcast for the first audio service, such as in the state (900), by increasing the transmission power (901) of packets (615) broadcast through a BIS event for the first audio service within a part (e.g., ISO interval (911) and ISO interval (914)) of six ISO intervals (e.g., ISO interval (911), ISO interval (912), ISO interval (913), ISO interval (914), ISO interval (915), and ISO interval (916)), and by increasing the transmission power (901) of packets (615) broadcast through a BIS event for the first audio service within another part (e.g., ISO interval (912), ISO interval (913), ISO interval (915), and ISO interval (916)) of six ISO intervals (e.g., ISO interval (911), ISO interval (912), ISO interval (913), ISO interval (914), ISO interval (915), and ISO interval (916)). The transmission power (902) of the packet (615) broadcast through the electronic device (111) can be adjusted or set higher than that of the packet (615). For example, the transmission power (901) of the packet (615) can correspond to the maximum transmission power of the electronic device (111). For example, the transmission power (902) of the packet (615) can be higher than that of the packet (612), lower than that of the packet (612), or equal to that of the packet (612).
[0107] For example, the processor (201) adjusts the transmit power (901) of the packet (614) broadcast through the BIS event for the first audio service within a part (e.g., ISO interval (916)) of six ISO intervals (e.g., ISO interval (911), ISO interval (912), ISO interval (913), ISO interval (914), ISO interval (915), ISO interval (916)) to be higher than the transmit power (902) of the packet (614) broadcast through the BIS event for the first audio service within another part (e.g., ISO interval (911) to ISO interval (915)) of six ISO intervals (e.g., ISO interval (911), ISO interval (912), ISO interval (913), ISO interval (914), ISO interval (915), ISO interval (916)) Can be set. For example, the transmission power (901) of the packet (614) can correspond to the maximum transmission power of the electronic device (111). For example, the transmission power (902) of the packet (614) can be higher than the transmission power (801) of the packet (611), lower than the transmission power (801) of the packet (611), or equal to the transmission power (801) of the packet (611).
[0108] For example, the processor (201) adjusts the transmit power (901) of the packet (615) broadcast through the BIS event for the first audio service within a part (e.g., ISO interval (916)) of six ISO intervals (e.g., ISO interval (911), ISO interval (912), ISO interval (913), ISO interval (914), ISO interval (915), ISO interval (916)) to be higher than the transmit power (902) of the packet (615) broadcast through the BIS event for the first audio service within another part (e.g., ISO interval (911) to ISO interval (915)) of six ISO intervals (e.g., ISO interval (911), ISO interval (912), ISO interval (913), ISO interval (914), ISO interval (915), ISO interval (916)) Can be set. For example, the transmission power (901) of the packet (615) can correspond to the maximum transmission power of the electronic device (111). For example, the transmission power (902) of the packet (615) can be higher than the transmission power (801) of the packet (612), lower than the transmission power (801) of the packet (612), or equal to the transmission power (801) of the packet (612).
[0109] As illustrated in the description of FIGS. 7 to 9, the processor (201) may adjust the transmission power of packets broadcast for the first audio service while providing the second audio service so that one or more external electronic devices (e.g., the first external electronic device (101), the second external electronic device (102), the third external electronic device (103), and / or the fourth external electronic device (104)) maintain synchronization with the BIS from the electronic device (111).
[0110] Referring back to FIG. 4, the processor (201) may adjust the size of a packet (or a payload of a packet) broadcast for the first audio service according to the changed communication method while providing the second audio service. For example, the size of a packet (or a payload of a packet) broadcast for the first audio service while providing the second audio service may be smaller than the size of a packet (or a payload of a packet) broadcast for the first audio service before providing the second audio service. This operation is exemplified in the description of FIG. 10.
[0111] FIG. 10 is a flowchart illustrating a method executed within an electronic device to adjust the size of a packet broadcast via a BIS event for a first audio service while providing a second audio service based on detection of an event for the second audio service.
[0112] Referring to FIG. 10, in operation 1010, the processor (201) may change the number of times a packet is broadcast within one (a) BIS event for the first audio service from N times to M times while providing the second audio service. For example, operation 1010 may correspond to operation 520 of FIG. 5.
[0113] In operation 1020, the processor (201) of the electronic device (111) may adjust the size of packets broadcast for the first audio service while providing the second audio service. For example, since reducing the number of times packets are broadcast within one BIS event for the first audio service while providing the second audio service according to operation 1010 may cause a decrease in reception rate, the processor (201) may perform the adjustment.
[0114] For example, the processor (201) may adjust the size of a packet broadcast for the first audio service while providing the second audio service in order to broadcast a more robust packet. For example, the processor (201) may broadcast a packet having a smaller size than the size of a packet broadcast for the first audio service while providing the first audio service before the event, while providing the second audio service. For example, the processor (201) may reduce the size of the packet because the packet is broadcast to maintain synchronization with the BIS while providing the second audio service. As a non-limiting example, the processor (201) may broadcast an empty packet having a payload length of 0 for the first audio service while providing the second audio service. As a non-limiting example, the size of audio data in a packet broadcast for the first audio service while providing the second audio service based on detecting the event may be smaller than the size of audio data in a packet broadcast for the first audio service before providing the second audio service. As a non-limiting example, the packet broadcast for the first audio service while providing the second audio service based on detecting the event may represent or include data stored (or pre-stored) in one or more external electronic devices (or receiving devices) that provide the first audio service (e.g., the first external electronic device (101), the second external electronic device (102), the third external electronic device (103), and / or the fourth external electronic device (104)).For example, the broadcast packet may include or comprise data corresponding to information (data) stored within a receiving device (e.g., a receiving device such as one or more external devices) to indicate (e.g., to notify or guide) that the first audio service is being interrupted. For example, the data may cause the one or more external electronic devices to output a sound to notify that the first audio service is being interrupted upon reception of the packet. For example, the data of the broadcast packet may include or correspond to pre-stored data (information) that causes the one or more external electronic devices to output a sound (e.g., guidance) to notify that the first audio service is being interrupted. For example, the data may be expressed as in Table 1 below.
[0115] Data sound a (e.g. 0x00) Silence b (e.g. 0x01) Beep 1 c (e.g. 0x02) Beep 2 d (e.g. 0x03) Guide message 1 e (e.g. 0x04) Guide message 2
[0116] For example, the one or more external electronic devices may output a beep sound 1 in response to confirming that the data indicated by the packet broadcast from the electronic device (111) for the first audio service while providing the second audio service is data b. For another example, the one or more external electronic devices may output a guidance message 2 in response to confirming that the data indicated by the packet broadcast from the electronic device (111) for the first audio service while providing the second audio service is data e.
[0117] As a non-limiting example, the first external electronic device (101) and the second external electronic device (102) providing the second audio service may, unlike the third external electronic device (103) and the fourth external electronic device (104) providing the first audio service among the first audio service and the second audio service, refrain from, bypass, block, or skip outputting sound (e.g., guidance indicating that the first audio service is being interrupted) using the packet broadcast from the electronic device (111) for the first audio service while providing the second audio service. For example, the first external electronic device (101) and the second external electronic device (102) providing the second audio service may only use the packet broadcast from the electronic device (111) while providing the second audio service to maintain synchronization from the electronic device (111) to the BIS, and may not use it for outputting sound.
[0118] Referring again to FIG. 4, the processor (201) may determine whether the second audio service can be provided together with the first audio service before determining whether to change the communication method for the first audio service while providing the second audio service. This operation is exemplified in the description of FIG. 11.
[0119] FIG. 11 is a flowchart illustrating a method executed within an electronic device to determine whether a second audio service can be provided together with a first audio service.
[0120] Referring to FIG. 11, in operation 1110, the processor (201) of the electronic device (111) may detect the event for the second audio service while providing the first audio service. For example, operation 1110 may correspond to operation 420 of FIG. 4.
[0121] In operation 1120, the processor (201) may determine, identify, verify, or analyze, based on the detection, whether the second audio service is provided together with the first audio service. As a non-limiting example, the processor (201) may execute operation 1120 to determine whether audio for the first audio service can be output while outputting audio for the second audio service.
[0122] For example, the processor (201) may execute operation 1130 based on determining that the second audio service is provided together with the first audio service, and may execute operation 1140 based on determining that the second audio service is not provided together with the first audio service.
[0123] For example, the processor (201) may, in response to the detection, verify or identify the quality of a communication link (e.g., communication link (131) and / or communication link (133)) used for the second audio service. As a non-limiting example, the processor (201) may verify the quality of the communication link (131) by verifying the quality of communication with the first external electronic device (101) executed via the communication link (131) before the detection. For example, the processor (201) may determine not to provide the second audio service together with the first audio service based on the quality of the communication link (131) being lower than a reference quality. For example, the processor (201) may determine to provide the second audio service together with the first audio service based on the quality of the communication link (131) being higher than or equal to the reference quality.
[0124] For example, the processor (201) may, in response to the detection, determine or identify the sound quality output according to the second audio service. For example, the processor (201) may determine to provide the second audio service together with the first audio service based on the sound quality being lower than a reference sound quality. For example, the processor (201) may determine not to provide the second audio service together with the first audio service based on the sound quality being higher than or equal to the reference sound quality.
[0125] For example, the processor (201), in response to the detection, may allocate resources to be used for the second audio service before resources to be used for the first audio service while providing the second audio service. For example, the processor (201) may check the amount of resources available (or remaining resources) within the electronic device (111) after allocating the resources to be used for the second audio service. For example, the processor (201) may determine to provide the second audio service together with the first audio service based on confirming that the confirmed amount is greater than or equal to the amount of resources required for the first audio service. For example, the processor (201) may determine not to provide the second audio service together with the first audio service based on confirming that the confirmed amount is less than the amount of resources required for the first audio service.
[0126] In operation 1130, the processor (201) can provide the first audio service while providing the second audio service by maintaining a communication method for the first audio service based on determining that the second audio service is provided together with the first audio service.
[0127] Providing the first audio service while providing the second audio service may be performed differently depending on whether the external electronic device providing the first audio service provides the second audio service. For example, a third external electronic device (103) that does not provide the second audio service may, while providing the second audio service, use a packet received from the electronic device (111) according to operation 1130 for the first audio service to maintain the state of the first audio service as the state of the first audio service before the second audio service is provided. For example, a first external electronic device (101) that provides the second audio service may, while providing the second audio service, ignore a packet received from the electronic device (111) according to operation 1130 for the first audio service for the second audio service. This operation is exemplified in the description of FIG. 12.
[0128] FIG. 12 is a flowchart illustrating a method executed within a first external electronic device to process packets broadcasted via a BIS event for a first audio service from an electronic device while providing a second audio service.
[0129] Referring to FIG. 12, in operation 1210, the processor (301) of the first external electronic device (101) may provide the first audio service by receiving a packet broadcast from the electronic device (111) according to operation 410. For example, the processor (301) may provide the first audio service by outputting audio using the packet broadcast according to operation 410.
[0130] In operation 1220, the processor (301) may receive a packet for the first audio service and a packet for the second audio service while the electronic device (111) provides the second audio service together with the first audio service according to operation 1130. For example, the packet for the first audio service may be received from the electronic device (111) without using the communication link (131), and the packet for the second audio service may be received from the electronic device (111) via the communication link (131).
[0131] At operation 1230, the processor (301) may ignore the packet for the first audio service. For example, ignoring the packet for the first audio service may indicate that the packet for the first audio service is not to be used for audio output. For example, the processor (301) may use the packet for the first audio service to maintain synchronization from the electronic device (111) to the BIS in order to provide the second audio service according to operation 1240, and may not use the packet for the first audio service for audio output. As a non-limiting example, ignoring the packet for the first audio service may be executed based on a request (or control command) received from the electronic device (111) via the communication link (131).
[0132] In operation 1240, the processor (301) may output audio using the packet for the second audio service. For example, the processor (301) may output audio by rendering audio data within the packet for the second audio service.
[0133] Although FIG. 12 illustrates that operation 1240 is executed after operation 1230 is executed, this is merely exemplary. For example, operation 1230 may be executed while operation 1240 is being executed. In another example, operation 1230 may be executed after operation 1240 is executed.
[0134] Referring again to FIG. 11, at operation 1140, the processor (201) may change a communication method for the first audio service while providing the second audio service based on determining that the second audio service is to be provided together with the first audio service. For example, operation 1140 of FIG. 11 may correspond to operation 440 of FIG. 4. For example, operation 1140 of FIG. 11 may include at least some of the operations illustrated in the descriptions of FIGS. 5 through 10.
[0135] For example, the electronic device (111) may restore the communication method for the first audio service upon terminating provision of the second audio service. This operation is exemplified in the description of FIG. 13.
[0136] FIG. 13 is a flowchart illustrating a method executed within an electronic device to restore a broadcast method for a first audio service upon terminating provision of a second audio service.
[0137] Referring to FIG. 13, in operation 1310, the processor (201) of the electronic device (111) may terminate providing the second audio service. As a non-limiting example, the processor (201) may terminate providing the second audio service upon termination of an incoming call. As a non-limiting example, the processor (201) may terminate providing the second audio service upon user input indicating termination of music playback.
[0138] At operation 1320, the processor (201) may restore the communication method for the first audio service to the communication method for the first audio service that was performed before executing operation 420 based on terminating the provision of the second audio service. For example, the processor (201) may restore the communication method for the first audio service as an operation for resuming outputting audio according to the first audio service (e.g., outputting audio obtained from a software application used for the first audio service) based on terminating the provision of the second audio service. For example, the processor (201) may resume broadcasting packets N times within one (a) BIS event for the first audio service in response to terminating the provision of the second audio service.
[0139] The operations illustrated in the descriptions of FIGS. 1 to 11 and FIG. 13 may also be caused by the electronic device (1401) illustrated in the description of FIG. 14.
[0140] FIG. 14 is a block diagram of an electronic device (1401) within a network environment (1400) according to various embodiments. Referring to FIG. 14 , in the network environment (1400), the electronic device (1401) may communicate with the electronic device (1402) via a first network (1498) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (1404) or the 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 some 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 some embodiments, some of these components (e.g., sensor module (1476), camera module (1480), or antenna module (1497)) may be integrated into a single component (e.g., display module (1460)).
[0141] 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.
[0142] 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.
[0143] 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).
[0144] 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).
[0145] 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).
[0146] 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.
[0147] 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.
[0148] 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).
[0149] 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.
[0150] 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.
[0151] 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).
[0152] 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.
[0153] 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.
[0154] 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).
[0155] 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.
[0156] 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). Any of these communication modules may 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 may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (1492) may use subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (1496) to verify or authenticate the electronic device (1401) within a communication network such as the first network (1498) or the second network (1499).
[0157] 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) may support a peak data rate (e.g., 20 Gbps or more) for eMBB implementation, a loss coverage (e.g., 164 dB or less) for mMTC implementation, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC implementation.
[0158] 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 formed of 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 selected at least one antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (1497).
[0159] 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.
[0160] 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)).
[0161] 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 another 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.
[0162] As described above (e.g., in the first example), an electronic device (e.g., electronic device (111)) may include a memory (e.g., memory (202)) that stores instructions and includes one or more storage media, a communication circuit (e.g., communication circuit (203)) for BLE (Bluetooth low energy), and at least one processor (e.g., processor (201)) that includes a processing circuit. The instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to detect an event for a second audio service provided by transmitting a packet to an external electronic device (e.g., a first external electronic device (101)) through a communication link (e.g., a communication link (131)) between the electronic device and the first electronic device while providing a first audio service by broadcasting a packet N times (N is a natural number greater than 1) within one (a) BIS (broadcast isochronous stream) event using the communication circuit, and based on the detection, cause the electronic device to broadcast a packet M times (M is a natural number greater than or equal to 1 and less than N) within one (a) BIS event using the communication circuit.
[0163] For example (e.g., in the second example according to the first example), the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to broadcast a packet M times within one BIS event while providing the second audio service, such that one or more external electronic devices remain synchronized with the BIS for the first audio service.
[0164] For example (e.g., in the third example according to the first or second example), the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to resume broadcasting packets N times within one (a) BIS event for the first audio service in response to terminating providing the second audio service.
[0165] For example (e.g., in the fourth example according to the first to third examples), the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to perform, while providing the first audio service before the event, periodic advertisements indicating a BIS for the first audio service using the communication circuitry, according to a first periodic advertising interval, and to perform, while providing the second audio service after the event, the periodic advertisements according to a second periodic advertising interval longer than the first periodic advertising interval.
[0166] For example (e.g., in the fifth example according to the first to fourth examples), the size of audio data in a packet broadcasted N times from the electronic device while providing the first audio service before the event may be larger than the size of audio data in a packet broadcasted M times from the electronic device while providing the second audio service after the event.
[0167] For example (e.g., in the sixth example according to the first to fifth examples), the packet broadcasted M times from the electronic device while providing the second audio service after the event may include, instead of audio data, data indicating guidance, pre-stored in the receiving device, to notify that the first audio service is being discontinued (e.g., data corresponding to or indicating pre-stored information (e.g., guidance or information) in the receiving device that notifies or relates to that audio output of the first audio service is being discontinued).
[0168] For example (e.g., in the seventh example according to the first to sixth examples), the transmission power of a packet broadcast N times from the electronic device while providing the first audio service before the event may be lower than the transmission power of a packet broadcast M times from the electronic device while providing the second audio service after the event.
[0169] For example (e.g., in the eighth example according to the first example), the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device, in response to the event, to determine a quality of the communication link and, based on the quality, to determine whether to broadcast a packet M times or N times within one BIS event while providing the second audio service.
[0170] For example (e.g., in the ninth example according to the eighth example), the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to determine to broadcast a packet M times within one BIS event while providing the second audio service based on the quality being lower than the reference quality, and to determine to broadcast a packet N times within one BIS event while providing the second audio service based on the quality being higher than the reference quality.
[0171] For example (e.g., in the first example according to the eighth example), the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device, in response to the event, to determine a sound quality output according to the second audio service, and, based on the sound quality, to determine whether to broadcast a packet M times or N times within one BIS event while providing the second audio service.
[0172] For example (e.g., in the eleventh example according to the first to tenth examples above), the communication link may include at least one of a synchronous connection oriented (SCO) link, an enhanced SCO (eSCO) link, a link for connected isochronous steam (CIS), or an advanced audio distribution profile (A2DP).
[0173] As described above (e.g., according to the 12th example), a method executed in an electronic device (e.g., the electronic device (111)) having a communication circuit (e.g., the communication circuit (203)) for BLE (Bluetooth low energy) may include: detecting an event for a second audio service provided by transmitting a packet to an external electronic device (e.g., a first external electronic device (101)) through a communication link (e.g., the communication link (131)) between the electronic device and the first electronic device by using the communication circuit while providing a first audio service by broadcasting a packet N times (N is a natural number greater than 1) within one (a) BIS (broadcast isochronous stream) event using the communication circuit; and based on the detection, broadcasting a packet M times (M is a natural number greater than or equal to 1 and less than N) within one (a) BIS event using the communication circuit while providing the second audio service using the communication circuit.
[0174] For example (e.g., in the 13th example according to the 12th example), the operation of broadcasting a packet M times within one BIS event using the communication circuit may include the operation of broadcasting a packet M times within one BIS event while providing the second audio service so as to keep one or more external electronic devices synchronized with the BIS for the first audio service.
[0175] For example (e.g., in the 14th example according to the 12th or 13th example), the method may include, in response to terminating providing the second audio service, the action of resuming broadcasting the packet N times within one (a) BIS event for the first audio service.
[0176] For example (e.g., in the 15th example according to the 12th to 14th examples), the method may include an operation of performing, while providing the first audio service before the event, a periodic advertisement indicating a BIS for the first audio service using the communication circuitry, according to a first periodic advertising interval, and an operation of performing, while providing the second audio service after the event, the periodic advertisement, according to a second periodic advertising interval longer than the first periodic advertising interval.
[0177] For example (e.g., in the 16th example according to the 12th example), the size of audio data in a packet broadcasted N times from the electronic device while providing the first audio service before the event may be larger than the size of audio data in a packet broadcasted M times from the electronic device while providing the second audio service after the event.
[0178] For example (e.g., in the 17th example according to the 12th example), the packets broadcast M times from the electronic device while providing the second audio service after the event may include data indicating guidance stored in advance within the receiving device to indicate that the first audio service is being interrupted, instead of audio data.
[0179] For example (e.g., in the 18th example according to the 12th example), the transmission power of a packet broadcast N times from the electronic device while providing the first audio service before the event may be less than the transmission power of a packet broadcast M times from the electronic device while providing the second audio service after the event.
[0180] As described above (e.g., in Example 19), an electronic device (e.g., electronic device (111)) may include a memory (e.g., memory (202)) configured to store instructions, a communication circuit for BLE (Bluetooth low energy) (e.g., communication circuit (203)), and a processor (e.g., processor (201)). The processor may be configured to, when executing the instructions, cause the electronic device to detect an event for a second audio service provided by transmitting a packet to an external electronic device (e.g., a first external electronic device (101)) through a communication link (e.g., a communication link (131)) between the electronic device and the external electronic device while providing a first audio service through a broadcast isochronous stream (BIS) using the communication circuit, and to stop broadcasting a packet through a part of the BIS event for the first audio service that overlaps with time resources for the second audio service while providing the second audio service based on the detection, and to broadcast a packet through another part of the BIS event for the first audio service that does not overlap with the time resources for the second audio service.
[0181] For example (e.g., in the 20th example according to the 19th example), the processor may be configured to, when executing the instructions, cause the electronic device to broadcast a packet over the other part of the BIS event for the first audio service that does not overlap with the time resources for the second audio service, so as to keep one or more external electronic devices synchronized with the BIS while the second audio service is provided.
[0182] As described above (e.g., in Example 21), an electronic device (e.g., electronic device (111)) may include a memory (e.g., memory (202)) that stores instructions and includes one or more storage media, a communication circuit (e.g., communication circuit (203)) for BLE (Bluetooth low energy), and at least one processor (e.g., processor (201)) that includes a processing circuit. The instructions, when individually or collectively executed by the at least one processor, may be configured to cause the electronic device to detect an event for a second audio service provided by transmitting a packet to an external electronic device (e.g., a first external electronic device (101)) through a communication link (e.g., a communication link (131)) between the electronic device and the first audio service provided through a BIS (broadcast isochronous stream) using the communication circuit, and in response to the detection, to change the number of times a packet is broadcast within one BIS event for the first audio service from N times (N is a natural number greater than 1) to M times (M is a natural number greater than or equal to 1 and less than N).
[0183] For example (e.g., in Example 22 according to Example 21), the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to broadcast a packet over the other part of the BIS event for the first audio service that does not overlap with the time resources for the second audio service, such that one or more external electronic devices remain synchronized with the BIS while the second audio service is provided.
[0184] According to a 23rd example, an electronic device (e.g., electronic device (111)) is provided, wherein the electronic device may include a memory (e.g., including one or more storage media) for storing instructions, a communication circuit (e.g., supporting Bluetooth low energy (BLE)), and at least one processor. The processor, when executing the instructions, may cause the electronic device to provide a first audio service through a broadcast isochronous stream (BIS) event using the communication circuit, detect an event for a second audio service (e.g., an incoming phone call) while providing the first audio service, transmit a packet for the second audio service to an external device (e.g., through a communication link with the external electronic device) through the communication circuit, thereby providing the second audio service according to the detected service, and determine to change a communication method for providing the first audio service while providing the second audio service. That is, the communication method for providing the first audio service may be changed (e.g., determined to be changed) during (e.g., during or whilst) providing the second audio service to the external device.
[0185] In a twenty-fourth example according to the twenty-third example, the first audio service may include broadcasting packets N times (e.g., N is a natural number greater than 1) within the BIS event. For example, the first audio service may include a BIG event including at least one BIS event, and packets may be broadcast N times within each BIS event. According to this example, changing the communication method for the first audio service while providing the second audio service may include broadcasting packets M times (e.g., packets of the at least one BIS event), which is a natural number greater than or equal to 1. That is, while providing the second audio service, the number of times a packet is broadcast for the first audio service (e.g., the number of BIS packet transmissions) may be reduced (e.g., from N to M).
[0186] In the 25th example according to the 23rd example or the 24th example, changing the communication method for the first audio service may include changing or adjusting timing allocation for the first audio service (e.g., determining to broadcast a packet within a portion of a BIS event). Based on time resources (e.g., one or more scheduled or allocated time intervals) allocated for transmitting a packet for the second audio service, the processor may broadcast the packet for the first audio service via a portion of a BIS event for the first audio service that does not overlap with time resources allocated or scheduled for the second audio service.
[0187] In one example (e.g., according to examples 23 to 25 above), changing the communication method (e.g., determining to change the communication method) may be based on determining or checking a quality of the communication link in response to the detected event, and determining whether to broadcast N or M packets within a BIS event for the first audio service while providing the second audio service based on the quality of the communication link. In a further example, changing the communication method (or determining to change the communication method) may be based on determining or checking a sound quality of the second audio service in response to the detected event, and determining whether to broadcast N or M packets within a BIS event for the first audio service while providing the second audio service.
[0188] According to at least some of the examples exemplified above, a connection to a BIS sink (e.g., one or more external devices) may be maintained while maintaining the quality of the received communication (e.g., the second audio service).
[0189] Here, with respect to any of the examples and embodiments described above (including, for example, the detailed description and numbered examples described above), their technical features may be combined with each other to combine each or all of the two embodiments or features, provided that there is a conflict between them. That is, each and every combination of two or more of the above-described embodiments is included and constituted within the present disclosure. One or more features from one embodiment may be combined with another embodiment, providing corresponding advantages and benefits.
[0190] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0191] 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.
[0192] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0193] 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, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0194] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. The computer program product may be traded as a commodity between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0195] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
Claims
1. In electronic devices, A memory comprising one or more storage media and storing instructions; Communication circuit for BLE (Bluetooth low energy); and At least one processor including a processing circuit, wherein the instructions, when individually or collectively executed by the at least one processor, While providing a first audio service by broadcasting packets N times within one (a) BIS (broadcast isochronous stream) event using the above communication circuit, detecting an event for a second audio service provided by transmitting packets to an external electronic device through a communication link between the external electronic device and the electronic device using the above communication circuit, While providing the second audio service using the communication circuit based on the above detection, broadcast M packets for the first audio service within one (a) BIS event using the communication circuit. causing said electronic device, Electronic devices: N is a natural number greater than 1, and M is a natural number greater than or equal to 1 and less than N.
2. In claim 1, the instructions, when individually or collectively executed by the at least one processor, To maintain one or more external electronic devices in synchronization with the BIS for the first audio service, broadcasting packets M times within one BIS event while providing the second audio service; causing said electronic device, Electronic devices.
3. In claim 1 or 2, the instructions, when individually or collectively executed by the at least one processor, In response to terminating the provision of the second audio service, to resume broadcasting packets N times within one (a) BIS event for the first audio service; causing said electronic device, Electronic devices.
4. In any of the claims set forth above, the instructions, when individually or collectively executed by the at least one processor, While providing the first audio service prior to the detected event, performing periodic advertisement indicating a BIS for the first audio service using the communication circuit according to a first periodic advertising interval, While providing the second audio service after the above detected event, perform the periodic advertisement according to a second periodic advertising interval that is longer than the first periodic advertising interval. causing said electronic device, Electronic devices.
5. In any of the claims mentioned above, the size of audio data in a packet broadcasted N times from the electronic device while providing the first audio service before the detected event is The size of audio data in a packet broadcasted M times from the electronic device while providing the second audio service after the above-detected event is greater than that of the audio data in the packet broadcasted M times from the electronic device. Electronic devices.
6. In any of the claims mentioned above, a packet broadcasted M times from the electronic device while providing the second audio service after the detected event, In order to notify that the first audio service is being interrupted, data stored in advance in the receiving device is indicated instead of audio data. Electronic devices.
7. In any of the claims mentioned above, the transmission power of the packet broadcasted N times from the electronic device while providing the first audio service before the detected event is, lower than the transmission power of the packet broadcasted M times from the electronic device while providing the second audio service after the above-detected event. Electronic devices.
8. In claim 1, the instructions, when individually or collectively executed by the at least one processor, In response to the above detected event, the quality of the communication link is verified, Based on the quality of the above communication link, to determine whether to broadcast a packet M times or N times within one BIS event while providing the second audio service. causing said electronic device, Electronic devices.
9. In claim 8, the instructions, when individually or collectively executed by the at least one processor, Based on the quality lower than the reference quality, it is decided to broadcast the packet M times within one BIS event while providing the second audio service, Based on the above quality being higher than the above reference quality, to decide to broadcast the packet N times within one BIS event while providing the second audio service. causing said electronic device, Electronic devices.
10. In claim 1, the instructions, when individually or collectively executed by the at least one processor, In response to the above detected event, the sound quality output according to the second audio service is checked, Based on the above sound quality, to determine whether to broadcast the packet M times or N times within one BIS event while providing the second audio service. causing said electronic device, Electronic devices.
11. In any of the claims set forth above, the communication link: Including at least one of a SCO (synchronous connection oriented) link, an eSCO (enhanced SCO) link, a link for connected isochronous steam (CIS), or a link for advanced audio distribution profile (A2DP). Electronic devices.
12. A method for executing in an electronic device having a communication circuit for BLE (Bluetooth low energy), An operation of detecting an event for a second audio service provided by transmitting a packet to an external electronic device through a communication link between the external electronic device and the electronic device, while providing a first audio service by broadcasting packets N times within one (a) BIS (broadcast isochronous stream) event using the above communication circuit, and An operation of providing the second audio service using the communication circuit based on the detection, including broadcasting a packet for the first audio service M times within one (a) BIS event using the communication circuit. method: N is a natural number greater than 1, and M is a natural number greater than or equal to 1 and less than N.
13. In claim 12, the operation of broadcasting a packet M times within one BIS event using the communication circuit is as follows: An operation of broadcasting a packet M times within a BIS event while providing the second audio service, wherein one or more external electronic devices maintain synchronization with the BIS for the first audio service. method.
14. In claim 12 or claim 13, In response to terminating the provision of the second audio service, further comprising the action of resuming broadcasting the packet N times within one (a) BIS event for the first audio service. method.
15. In any one of claims 12 to 14, An operation of performing, during the provision of the first audio service prior to the detected event, periodic advertisement indicating a BIS for the first audio service using the communication circuit, according to a first periodic advertising interval; Further comprising, while providing the second audio service after the detected event, an action of performing the periodic advertisement according to a second periodic advertising interval that is longer than the first periodic advertising interval. method.
Citation Information
Patent Citations
Audio broadcasting source end device and audio sharing method
CN114979972A
Equipment upgrading method, device, equipment, system and storage medium
CN116647830A
Wireless Short-Range Audio Sharing Method and Electronic Device
US20220070247A1
Method for transmitting audio data by using short-range wireless communication in wireless communication system, and apparatus for same
WO2022265433A1
KR20230047644A