Electronic device for operating link and operation method thereof
An electronic device is provided. The electronic device includes a communication circuit, and at least one processor operably coupled to the communication circuit. The at least one processor may be configured to identify whether a first communication link and a second communication link can be integrated, based on first information related to a first external device coupled through the first communication link and second information related to a second external device coupled through the second communication link, establish a common communication link with the first external device and the second external device, in response to identifying that the first communication link and the second communication link can be integrated, and transmit data to the first external device and the second external device through the common communication link.
1 . An electronic device comprising:
a communication circuit; and
at least one processor operably coupled to the communication circuit,
wherein the at least one processor is configured to:
identify whether a first communication link and a second communication link can be integrated based on first information associated with a first external device coupled through the first communication link and second information associated with a second external device coupled through the second communication link,
establish a common communication link with the first external device and the second external device in response to identifying that the first communication link and the second communication link can be integrated,
transmit data to the first external device and the second external device through the common communication link, and
receive, from the first external device, a first response signal for the data through the common communication link and receive, from the second external device, a second response signal for the data through the common communication link.
2 . The electronic device of claim 1 ,
wherein the first information comprises at least one of information on data to be received by the first external device, information on a service performed by the first external device, or information on a role performed by the first external device, and
wherein the second information comprises at least one of information on data received by the second external device, information on a service performed by the second external device, or information on a role performed by the second external device.
3 . The electronic device of claim 1 , wherein the at least one processor is further configured to:
identify whether common data can be transmitted to the first external device and the second external device based on the first information and the second information, and
identify that the first communication link and the second communication link can be integrated upon identifying that the common data can be transmitted to the first external device and the second external device.
4 . The electronic device of claim 1 , wherein the common communication link is the first communication link.
5 . The electronic device of claim 1 , wherein the at least one processor is further configured to:
determine a first response time for the first external device and a second response time for the second external device,
transmit information on the first response time to the first external device, and
transmit information on the second response time to the second external device.
6 . The electronic device of claim 5 , wherein the at least one processor is further configured to:
receive the first response signal from the first external device at the first response time, and
receive the second response signal from the second external device at the second response time.
7 . The electronic device of claim 6 , wherein the at least one processor is further configured to:
identify whether a retransmission time elapses, and
transmit different data to the first external device and the second external device in response to identifying that the retransmission time elapses.
8 . The electronic device of claim 5 , wherein the first response time and the second response time are determined based on a size of the data.
9 . A method performed by an electronic device, the method comprising:
identifying whether a first communication link and a second communication link can be integrated based on first information associated with a first external device coupled through the first communication link and second information associated with a second external device coupled through the second communication link;
establishing a common communication link with the first external device and the second external device in response to identifying that the first communication link and the second communication link can be integrated;
transmitting data to the first external device and the second external device through the common communication link; and
receiving, from the first external device, a first response signal for the data through the common communication link and receive, from the second external device, a second response signal for the data through the common communication link.
10 . The method of claim 9 ,
wherein the first information comprises at least one of information on data to be received by the first external device, information on a service performed by the first external device, or information on a role performed by the first external device, and
wherein the second information comprises at least one of information on data received by the second external device, information on a service performed by the second external device, or information on a role performed by the second external device.
11 . The method of claim 9 , further comprising:
identifying whether common data can be transmitted to the first external device and the second external device based on the first information and the second information; and
identifying that the first communication link and the second communication link can be integrated upon identifying that the common data can be transmitted to the first external device and the second external device.
12 . The method of claim 9 , wherein the common communication link is the first communication link.
13 . The method of claim 9 , further comprising
determining a first response time for the first external device and a second response time for the second external device;
transmitting information on the first response time to the first external device; and
transmitting information on the second response time to the second external device.
14 . The method of claim 13 , further comprising:
receiving the first response signal from the first external device at the first response time; and
receiving the second response signal from the second external device at the second response time.
15 . The method of claim 14 , wherein the first response time and the second response time are determined based on a size of the data.
16 . The method of claim 14 , further comprising:
identifying whether a retransmission time elapses; and
transmitting different data to the first external device and the second external device in response to identifying that the retransmission time elapses.