EP-4742029-A1 - ELECTRONIC DEVICE AND METHOD FOR SWITCHING AUDIO PATH
Abstract
This electronic device may comprise: a memory that stores instructions; a first communication circuit; a second communication circuit that is different from the first communication circuit; and at least one processor. The instructions may, when executed individually or collectively by the at least one processor, cause the electronic device to: establish a first connection, via the first communication circuit, with a wearable device that receives audio information; in the state in which the first connection is established, establish a second connection, via the second communication circuit, with an external electronic device identified from among one or more external electronic devices for screen mirroring; transmit, to the external electronic device, a message including address information of the wearable device used in the first connection, on the basis of identifying that the wearable device is worn by a user; and receive, from the external electronic device, a message including information indicating that a third connection between the external electronic device and the wearable device is established.
Inventors
- LEE, MYEONGSEOK
- LEE, SANGHUN
- Lee, Seungbum
Assignees
- Samsung Electronics Co., Ltd.
Dates
- Publication Date
- 20260513
- Application Date
- 20240522
Claims (15)
- An electronic device (101) comprising: memory (317), comprising one or more storage media, storing instructions; first communication circuitry (313); second communication circuitry (315) different from the first communication circuitry (313); and at least one processor (311) comprising processing circuitry, wherein the instructions, when executed individually or collectively by the at least one processor (311), cause the electronic device (101) to: establish, through the first communication circuitry (313), a first connection with a wearable device (103) receiving audio information; in a state in which the first connection is established, establish, through the second communication circuitry (315), a second connection with an external electronic device (105) identified from among one or more external electronic devices for screen mirroring; based on identifying that the wearable device (103) is worn by a user, transmit, to the external electronic device (105), a message including address information of the wearable device (103) used in the first connection; and receive, from the external electronic device (105), a message including information indicating that a third connection between the external electronic device (105) and the wearable device (103) is established.
- The electronic device (101) of Claim 1, wherein the instructions, when executed individually or collectively by the at least one processor (311), cause the electronic device (101) to: perform discovery of the one or more external electronic devices based on the second communication circuitry (315); establish the second connection with the external electronic device (105) identified from among the discovered external electronic devices based at least in part on an input of the user; in a state in which the second connection is established, transmit, to the external electronic device (105), a message requesting capability information regarding a function of switching an audio path; and receive, from the external electronic device (105), in response to the message requesting the capability information, a message including information indicating whether the function is supported.
- The electronic device (101) of Claim 2, wherein the instructions, when executed individually or collectively by the at least one processor (311), cause the electronic device (101) to: based on identifying that the external electronic device (105) supports the function based on the message including information indicating whether the function is supported, identify whether the wearable device (103) is in a first state in which it is worn by the user; based on identifying the first state, transmit, to the external electronic device (105), the message including request information for setting a parameter based on a uniform resource identifier (URI) and the address information; and based on identifying a second state different from the first state, transmit, to the external electronic device (105), a message including the request information among the request information for setting the parameter and the address information.
- The electronic device (101) of Claim 1, wherein the message including the address information includes the address information and other address information, wherein the other address information includes address information of another wearable device (103) paired with the electronic device (101) and worn by the user.
- The electronic device (101) of Claim 1, wherein the instructions, when executed individually or collectively by the at least one processor (311), cause the electronic device (101) to: after receiving the message including information indicating that the third connection is established, perform the screen mirroring with the external electronic device (105); and while performing the screen mirroring, transmit, to the external electronic device (105), a message including the audio information and video information, wherein the audio information is provided to the wearable device (103) by the external electronic device through the third connection.
- The electronic device (101) of Claim 5, wherein the instructions, when executed individually or collectively by the at least one processor (311), cause the electronic device (101) to: while performing the screen mirroring, identify a pause of the screen mirroring based on an input of the user; in response to identifying the pause, re-establish the first connection with the wearable device (103) in a state in which the second connection is established; and transmit the audio information to the wearable device (103) based on the re-established first connection.
- The electronic device (101) of Claim 6, wherein the instructions, when executed individually or collectively by the at least one processor (311), cause the electronic device (101) to: based on identifying a resume of the paused screen mirroring, transmit, to the external electronic device (105), a message including the address information for the first connection and requesting re-establishment of the third connection; and based on receiving a message including information indicating that the third connection is re-established, disconnect the re-established first connection.
- The electronic device (101) of Claim 5, wherein the instructions, when executed individually or collectively by the at least one processor (311), cause the electronic device (101) to: while performing the screen mirroring, identify receipt of a voice call; in response to identifying the receipt of the voice call, re-establish the first connection with the wearable device (103) in a state in which the second connection is established; and transmit the audio information to the wearable device (103) based on the re-established first connection.
- The electronic device (101) of Claim 8, wherein the instructions, when executed individually or collectively by the at least one processor (311), cause the electronic device (101) to: based on identifying a rejection of the receipt of the voice call or termination of the voice call, transmit, to the external electronic device (105), a message including the address information for the first connection and requesting re-establishment of the third connection; and based on receiving a message including information indicating that the third connection is re-established, disconnect the re-established first connection.
- The electronic device (101) of Claim 1, wherein the instructions, when executed individually or collectively by the at least one processor (311), cause the electronic device (101) to: after receiving the message including information indicating that the third connection is established, perform the screen mirroring with the external electronic device (105); and while performing the screen mirroring, receive, through the external electronic device (105), a message including control information transmitted from the wearable device (103), wherein the control information is associated with a designated gesture of the user with respect to the wearable device (103).
- The electronic device (101) of Claim 10, wherein the instructions, when executed individually or collectively by the at least one processor (311), cause the electronic device (101) to: based on receiving the message including the control information, transmit, to the external electronic device (105), a message requesting execution of a function corresponding to the control information.
- The electronic device (101) of Claim 1, wherein each of the first connection and the third connection is established based on a Bluetooth (BT) connection scheme, wherein the second connection is established based on a wireless fidelity (Wi-Fi) connection scheme, and wherein the address information includes a media access control (MAC) address used in the BT connection scheme.
- The electronic device (101) of Claim 1, wherein the instructions, when executed individually or collectively by the at least one processor (311), cause the electronic device (101) to: disconnect the first connection based on identifying that the third connection between the external electronic device (105) and the wearable device (103) is established.
- A method performed by an electronic device (101), the method comprising: establishing, through first communication circuitry (313) of the electronic device (101), a first connection with a wearable device (103) receiving audio information; in a state in which the first connection is established, establishing, through second communication circuitry (315) of the electronic device (101), a second connection with an external electronic device (105) identified from among one or more external electronic devices for screen mirroring; based on identifying that the wearable device (103) is worn by a user, transmitting, to the external electronic device (105), a message including address information of the wearable device (103) used in the first connection; and receiving, from the external electronic device (105), a message including information indicating that a third connection between the external electronic device (105) and the wearable device (103) is established.
- A non-transitory computer-readable storage medium storing one or more programs comprising instructions that, when executed individually or collectively by at least one processor (311) of an electronic device (101) including first communication circuitry (313) and second communication circuitry (315) different from the first communication circuitry (313), cause the electronic device (101) to: establish, through the first communication circuitry (313), a first connection with a wearable device (103) receiving audio information; in a state in which the first connection is established, establish, through the second communication circuitry (315), a second connection with an external electronic device (105) identified from among one or more external electronic devices for screen mirroring; based on identifying that the wearable device (103) is worn by a user, transmit, to the external electronic device (105), a message including address information of the wearable device (103) used in the first connection; and receive, from the external electronic device (105), a message including information indicating that a third connection between the external electronic device (105) and the wearable device (103) is established.
Description
[Technical Field] The following descriptions relate to an electronic device and a method for switching an audio path. [Background Art] An electronic device may be connected to another electronic device. For example, the electronic device may be connected to a wearable device that outputs audio information. For example, the audio information may be provided from the electronic device. In addition, the electronic device may be connected to an external electronic device to share a screen displayed on the electronic device. For example, information on the screen may be provided from the electronic device to the external electronic device. [Disclosure] [Technical Solution] An electronic device, may comprise first communication circuitry. The electronic device may comprise memory, comprising one or more storage media, storing instructions. The electronic device may comprise second communication circuitry different from the first communication circuitry. The electronic device may comprise at least one processor comprising processing circuitry. The instructions, when executed individually or collectively by the at least one processor, may cause the electronic device to establish, through the first communication circuitry, a first connection with a wearable device receiving audio information. The instructions, when executed individually or collectively by the at least one processor, may cause the electronic device to, in a state in which the first connection is established, establish, through the second communication circuitry, a second connection with an external electronic device identified from among one or more external electronic devices for screen mirroring. The instructions, when executed individually or collectively by the at least one processor, may cause the electronic device to, based on identifying that the wearable device is worn by a user, transmit, to the external electronic device, a message including address information of the wearable device used in the first connection. The instructions, when executed individually or collectively by the at least one processor, may cause the electronic device to receive, from the external electronic device, a message including information indicating that a third connection between the external electronic device and the wearable device is established. A method performed by an electronic device may comprise establishing, through first communication circuitry of the electronic device, a first connection with a wearable device receiving audio information. The method may comprise, in a state in which the first connection is established, establishing, through second communication circuitry of the electronic device, a second connection with an external electronic device identified from among one or more external electronic devices for screen mirroring. The method may comprise, based on identifying that the wearable device is worn by a user, transmitting, to the external electronic device, a message including address information of the wearable device used in the first connection. The method may comprise receiving, from the external electronic device, a message including information indicating that a third connection between the external electronic device and the wearable device is established. A non-transitory computer-readable storage medium may store one or more programs comprising instructions that, when executed individually or collectively by at least one processor of an electronic device including first communication circuitry and second communication circuitry different from the first communication circuitry, cause the electronic device to establish, through the first communication circuitry, a first connection with a wearable device receiving audio information. The non-transitory computer-readable storage medium may store one or more programs comprising instructions that, when executed individually or collectively by the at least one processor, cause the electronic device to, in a state in which the first connection is established, establish, through the second communication circuitry, a second connection with an external electronic device identified from among one or more external electronic devices for screen mirroring. The non-transitory computer-readable storage medium may store one or more programs comprising instructions that, when executed individually or collectively by the at least one processor, cause the electronic device to, based on identifying that the wearable device is worn by a user, transmit, to the external electronic device, a message including address information of the wearable device used in the first connection. The non-transitory computer-readable storage medium may store one or more programs comprising instructions that, when executed individually or collectively by the at least one processor, cause the electronic device to receive, from the external electronic device, a message including information indicating that a third connection bet