WO2021085902A1 - Dispositif électronique pour délivrer des données audio d'une pluralité d'applications, et son procédé d'utilisation - Google Patents

Dispositif électronique pour délivrer des données audio d'une pluralité d'applications, et son procédé d'utilisation Download PDF

Info

Publication number
WO2021085902A1
WO2021085902A1 PCT/KR2020/014117 KR2020014117W WO2021085902A1 WO 2021085902 A1 WO2021085902 A1 WO 2021085902A1 KR 2020014117 W KR2020014117 W KR 2020014117W WO 2021085902 A1 WO2021085902 A1 WO 2021085902A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
audio data
application
audio
external audio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/KR2020/014117
Other languages
English (en)
Korean (ko)
Inventor
강대희
김형근
박천호
김승년
박정민
유규상
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Publication of WO2021085902A1 publication Critical patent/WO2021085902A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1675Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
    • G06F1/1677Miscellaneous details related to the relative movement between the different enclosures or enclosure parts for detecting open or closed state or particular intermediate positions assumed by movable parts of the enclosure, e.g. detection of display lid position with respect to main body in a laptop, detection of opening of the cover of battery compartment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1641Details related to the display arrangement, including those related to the mounting of the display in the housing the display being formed by a plurality of foldable display components
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/34Microprocessors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/36Memories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/38Displays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/07Applications of wireless loudspeakers or wireless microphones

Definitions

  • Various embodiments of the present invention relate to a method and an apparatus for outputting audio data of a plurality of applications in an electronic device.
  • the electronic device may provide various services to a user by transmitting and receiving data through a short-range wireless communication connection with an external device (eg, a wearable device, earbuds, or wireless earphone) having an audio output function.
  • an external device eg, a wearable device, earbuds, or wireless earphone
  • the electronic device may connect to an external device having an audio output function and output audio data of an application executed in the electronic device through the connected external device.
  • an external device having an audio output function and output audio data of an application executed in the electronic device When a plurality of applications having an audio data output function are executed in the electronic device, the electronic device may select one application from among the plurality of applications and output audio data of the selected application through a connected external device.
  • the method of outputting only the audio data of one selected application has a limitation in satisfying the needs of various users.
  • various embodiments of the present invention disclose a method and an apparatus for simultaneously outputting audio data of a plurality of applications in an electronic device.
  • a wireless communication module and a processor operatively connected to the wireless communication module are included, wherein the processor detects an event for outputting audio of a plurality of applications, and based on the event detection , Check at least one external audio device connected to the electronic device through the wireless communication module, and when a first external audio device is connected to the electronic device, audio data of a first application and audio data of a second application are transmitted to the electronic device.
  • the first external audio device is transmitted to the first external audio device through a wireless communication module and the first external audio device and the second external audio device are connected to the electronic device, the first external audio device is transmitted to the first external audio device through the wireless communication module.
  • the audio data of the first application may be transmitted and control may be performed to transmit the audio data of the second application to the second external audio device.
  • the electronic device includes a display in which at least a portion is folded, at least one sensor for detecting a folding state of the display, a wireless communication module, a memory for storing at least one application, and the display, the at least one A sensor, the memory, and a processor operatively connected to the wireless communication module, wherein the processor executes a first application and a second application stored in the memory, and a folding state of the display is a first designated state.
  • a plurality of applications Detects an event for outputting audio data of, and, based on the event, transmits the audio data of the first application and the audio data of the second application to the at least one external audio device through the wireless communication module. It can be set to transmit.
  • the electronic device outputs audio data of a plurality of applications using at least one external audio device, thereby improving a user's satisfaction level for receiving various services.
  • user convenience may be improved by outputting audio data of a plurality of applications based on a change in a folding state of an electronic device and/or a display in the electronic device.
  • audio data of one application or audio data of a plurality of applications are selectively selected according to a request of a first device that detects proximity of a second device among external audio devices connected by an electronic device.
  • a first device that detects proximity of a second device among external audio devices connected by an electronic device.
  • FIGS. 1A and 1B are diagrams illustrating an unfolded state of a foldable type electronic device according to various embodiments.
  • FIGS. 2A and 2B are diagrams illustrating an unfolded state of a flexible type electronic device according to various embodiments.
  • FIG. 3 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure.
  • FIG. 4 is a block diagram of an external audio device according to various embodiments of the present disclosure.
  • FIG. 5 is a flowchart for outputting audio data of a plurality of applications in an electronic device according to various embodiments of the present disclosure.
  • 6A is an exemplary diagram for transmitting audio data of a plurality of applications from an electronic device to a first external audio pair device according to various embodiments of the present disclosure.
  • 6B is an exemplary diagram of transmitting audio data of a plurality of applications from an electronic device to a plurality of external audio pair devices according to various embodiments of the present disclosure.
  • 6C is an exemplary diagram illustrating information on a device for outputting audio data of a plurality of applications in an electronic device according to various embodiments of the present disclosure.
  • 6D is an exemplary diagram of designating an external audio device corresponding to at least a partial area in an electronic device according to various embodiments of the present disclosure.
  • FIG. 7 is a flowchart for outputting audio data of a plurality of applications based on a folding state in an electronic device according to various embodiments of the present disclosure.
  • FIG. 8 is an exemplary diagram for outputting audio data of a plurality of applications based on a folding state in an electronic device according to various embodiments of the present disclosure.
  • FIG. 9 is a flowchart of transmitting audio data of a plurality of applications by using a short-range communication module included in the electronic device in an electronic device according to various embodiments of the present disclosure.
  • 10A is an exemplary diagram of transmitting audio data of a plurality of applications in an electronic device including a plurality of short-range communication modules, according to various embodiments.
  • 10B is an exemplary diagram of transmitting audio data of a plurality of applications by using different protocols in an electronic device including one short-range communication module according to various embodiments.
  • 11A is a flowchart of switching an external audio device of a plurality of applications based on a direction change of the electronic device in an electronic device according to various embodiments of the present disclosure.
  • 11B is an exemplary diagram of switching an external audio device of a plurality of applications based on a direction change of the electronic device in an electronic device according to various embodiments of the present disclosure.
  • 11C is an exemplary diagram of switching an external audio pair device of a plurality of applications based on a direction change of the electronic device in an electronic device according to various embodiments of the present disclosure.
  • 11D is an exemplary diagram of switching an external audio device of a plurality of applications based on a change in a display area of a plurality of applications in an electronic device according to various embodiments of the present disclosure.
  • 11E is an exemplary diagram of switching an external audio pair device of a plurality of applications based on a change in a display area of a plurality of applications in an electronic device according to various embodiments of the present disclosure.
  • 11F is an exemplary diagram of switching an external audio device of a plurality of applications based on a location change of an external audio device in an electronic device according to various embodiments of the present disclosure.
  • 11G is an exemplary diagram of switching an external audio pair device of a plurality of applications based on a location change of an external audio device in an electronic device according to various embodiments of the present disclosure.
  • FIG. 12 is a flowchart of transmitting audio data in response to a request from a first device of an external audio pair device in an electronic device according to various embodiments of the present disclosure.
  • FIG. 13 is an exemplary diagram for measuring the strength of a received signal in each of an external audio pair device according to various embodiments.
  • FIG. 14 is a diagram illustrating an example in which a first device detects a communication impossible situation of a second device among external audio pair devices according to various embodiments of the present disclosure.
  • 15 is an exemplary diagram in which a first device among external audio pair devices according to various embodiments requests audio data from an electronic device based on signal reception strength.
  • 16A to 16C are flowcharts of requesting audio data from an electronic device based on a signal reception strength by a first device among external audio pair devices according to various embodiments of the present disclosure.
  • 17 is a flowchart of transmitting audio data according to a request of a first device in an electronic device according to various embodiments of the present disclosure.
  • FIGS. 1A and 1B are diagrams illustrating an unfolded state of a foldable type electronic device according to various embodiments.
  • 1A is a front view illustrating an unfolded state of a foldable type electronic device according to various embodiments
  • FIG. 1B is a rear view illustrating an unfolded state of a foldable type electronic device according to various embodiments.
  • an electronic device 101 includes a foldable housing 110, a folding part 116, a first display 120, a second display 122, and a second display. It may include one sensor 130, a second sensor 132, and/or one or more components 136.
  • the first display 120 and/or the second display 122 may be a flexible and/or foldable display disposed in a space formed by the foldable housing 110.
  • the foldable housing 110 may include a first housing 112 and a second housing 114.
  • the electronic device 101 may be composed of a first housing 112 and a second housing 114, wherein a housing including the first housing 112 and the second housing 114 is provided. It can be said that it is a foldable housing 110.
  • the first housing 112 includes a first surface (or a first front surface (eg, a surface facing the +Z-axis direction in FIG. 1A)) 151 and a third surface facing the first surface 151 (Or a first rear surface (eg, a surface facing the +Z axis in FIG. 1B)) 153 may be included.
  • the second housing 114 has a second surface (or a second front surface (for example, a surface facing the +Z axis in FIG. 1A)) 152, and a fourth surface facing the second surface 152 (or A second rear surface example: a surface facing the +Z axis of FIG. 1B)) 154 may be included.
  • the first housing 112 and the second housing 114 may be disposed on both sides of the folded portion 116 and connected by the folded portion 116.
  • the folded portion 116 is coupled to a side surface of the first housing 112 and a side surface of the second housing 114 facing the side surface of the first housing 112, respectively, so that the first housing 112 and the The second housing 114 may be connected to be pivotably or rotatably at a certain angle.
  • the first display 120 may be disposed in a space formed by the first housing 112. At least a portion of the first display 120 may be visually exposed through a third surface (or first rear surface) of the first housing 112 or a partial area of the first rear cover 150.
  • the second display 122 may be disposed in a space formed by the first housing 112 and the second housing 114 across the folded portion 116.
  • the second display 122 may be installed to be supported by at least a portion of the first housing 112 and the second housing 114.
  • the second display 122 crosses the fold 116 on the first side 151 of the first housing 112 and on the second side 152 of the second housing 114. Can be placed.
  • the first sensor 130 may be disposed in a space formed by the first housing 112.
  • the first sensor 130 is the first display 120 of the third surface (or first rear surface) 153 of the first housing 112 or the area of the first rear cover 150 It may be a sensor module disposed in the upper area of the area where is disposed.
  • the first sensor 130 may be included in and mounted in another subsidiary material included in at least a part of the first housing 112.
  • the first sensor 130 may include at least one camera sensor.
  • the first sensor 130 may further include other subsidiary materials (eg, a lens unit (not shown)).
  • the first sensor 130 may be disposed under the first display 120.
  • the second sensor 132 may be disposed in a space formed by the second housing.
  • the second sensor 132 may be a sensor module disposed in an upper area of an area in which the second display 122 is disposed among areas of the second surface (or the second front surface) of the second housing.
  • the second sensor 132 may include at least one of at least one camera sensor or at least one UWB sensor.
  • the second sensor 132 may be disposed under the second display 122.
  • the second sensor 132 may be disposed on at least one side of the second housing 114 or on a subsidiary material disposed inside.
  • the second sensor 132 may be included in at least a portion of the second display 122.
  • one or more components 136 may be disposed within a space formed by the second housing 114.
  • the one or more components 136 may be a sensor module disposed on a fourth surface (or a second rear surface) of the second housing 114 or a partial area of the second rear cover 140.
  • the one or more components 136 may include at least one of a fingerprint sensor, a camera sensor, a proximity sensor, a UWB sensor, or a heart rate sensor.
  • the electronic device 101 may be folded based on the folded portion 116.
  • the folding part 116 is disposed between the first housing 112 and the second housing 114 of the electronic device 101 to fold or bend the electronic device 101 at a certain angle. have.
  • the first housing 112 is connected to the second housing 114 through the folded portion 116 and may rotate based on the folded portion 116.
  • the second housing 114 is connected to the first housing 112 through the folded portion 116 and may rotate based on the folded portion 116.
  • the first housing 112 and the second housing 114 may be folded to face each other by rotating based on the folded portion 116.
  • the first housing 112 and the second housing 114 may substantially overlap or overlap each other.
  • the first surface 151 and the second housing 114 of the first housing 112 The second surfaces 152 may face each other, or the third surface 153 of the first housing 112 and the fourth surface 154 of the second housing 114 may be folded to face each other.
  • the second display 122 is folded at a certain angle (for example, in-folding and/or out-folding ( out-folding)).
  • the second display 122 may be itself formed on the electronic device 101 without a structure of the first housing 112 or the second housing 114. In this case, the electronic device 101 may determine the degree of folding of the second display 122 itself.
  • the folded portion 116 may include an angle detection sensor 160.
  • the angle detection sensor 160 may be a degree sensor capable of detecting an angle formed between the first housing 112 and the second housing 114.
  • At least one state detection sensor may be disposed in each of the first housing 112 and the second housing 114.
  • a first state sensor may be disposed in the first housing 112 and a second state sensor may be disposed in the second housing 114.
  • the first state detection sensor and the second state detection sensor may be sensors for obtaining information about an angle between the first housing 112 and the second housing 114.
  • the first and second state detection sensors may include, for example, at least one of a gyro sensor, a distance sensor, and a strain sensor.
  • the folded portion 116 may be composed of a hinge (not shown) and a hinge cover, and the hinge may be covered by the hinge cover.
  • the folded portion 116 may be configured as a connecting portion (or connecting body) including other mechanical elements in addition to the hinge.
  • the first display 120 or the second display 122 may include a touch sensor (not shown) capable of detecting a touch input.
  • the first display 120 or the second display It may be configured as an integral touch screen included in (122).
  • the touch sensor may be disposed above or below the display.
  • the electronic device 101 includes at least one other than the above-described sensors (eg, a first sensor 130, a second sensor 132, and a sensor included in one or more components 136 ). It may additionally include a sensor of. The additionally included sensors may be disposed to have a specified distance from at least one of the first sensor 130, the second sensor 132, and the sensors included in the one or more components 136.
  • FIGS. 2A and 2B are diagrams illustrating an unfolded state of a flexible type electronic device according to various embodiments.
  • 2A is a front view illustrating an unfolded state of a flexible type electronic device according to various embodiments
  • FIG. 2B is a rear view illustrating an unfolded state of a flexible type electronic device according to various embodiments.
  • an electronic device 201 may include a housing 210, a first display 220, and a second display 222.
  • the housing 210 includes a first surface (or a front surface (eg, a surface facing the +Z-axis direction in FIG. 2A )) 231, and a first surface 231 facing a direction opposite to the first surface 231. It may include two surfaces (or a rear surface (eg, a surface facing the +Z axis in FIG. 2B)) 232.
  • the housing 210 may further include subsidiary materials (not shown) configured in various structures.
  • the housing 210 may further include a slot (not shown) disposed on the left or right side of the first surface.
  • the slot may be configured such that at least a portion of the first display 220 and the second display 222 is inserted or withdrawn.
  • the electronic device 201 further includes at least one of at least one component, for example, a fingerprint detection sensor, a camera sensor, a proximity sensor, a UWB sensor, a heart rate sensor, or a speaker. Can include.
  • the first display 220 is disposed to be visually exposed through at least a portion of the first surface 231 of the housing 210
  • the second display 222 is It may be arranged to be visually exposed through at least a portion of the second surface 232.
  • the first display 220 and the second display 222 may be flexible and/or foldable displays that can be bent or folded in various forms.
  • at least a portion of the first display 220 and/or the second display 222 may be bent or bent and stored in a slot of the housing 210.
  • the first display 220 or the second display 222 may include a touch sensor (not shown) capable of detecting a touch input. It may be configured as an integrated touch screen included in the first display 220 or the second display 222.
  • the touch sensor may be disposed above or below the display.
  • the electronic devices 101 and 201 may be in a first closed state (or in-folding state). According to various embodiments, when the electronic devices 101 and 201 are in the first closed state, the first surface 151 of the first housing 112 and the second surface 152 of the second housing 114, Alternatively, the first region 141 and the second region 142 of the second display 222 face each other, and may be in a substantially parallel state.
  • the first area 141 of the second display 222 may be an area located on the left side of the folded part 116, and the second area 141 may be an area located on the right side of the folded part 116. .
  • the first closed state is a state in which the second displays 122 and 222 are covered within the field of view or angle of view of the user facing the front of the electronic devices 101 and 201. It can mean.
  • the user when the electronic devices 101 and 201 are in the first closed state (for example, in a fully folded state), the user can control the electronic devices 101 and 201 in all directions of the electronic devices 101 and 201. 2
  • the displays 122 and 222 cannot be viewed, and only the first displays 120 and 220 of the electronic devices 101 and 201 and/or the fourth surface (the second rear surface) of the second housing 114 can be viewed. .
  • the first closed state is a state in which the first displays 120 and 220 are included in the user's field of view facing the electronic devices 101 and 201 and the second displays 122 and 222 are covered. It can mean.
  • the angle formed by the first surface 151 of the first housing 112 of the electronic devices 101 and 201 and the second surface 152 of the second housing 114, or of the second display 222 When the angle formed by the first area 141 and the second area 142 falls within a first specified angle range (eg, about 0 degrees to about 15 degrees), the electronic devices 101 and 201 are in a first closed state Can be
  • the electronic devices 101 and 201 may be in a second closed state (or out-folding state).
  • the second closed state is a state in which the first displays 120 and 220 are covered within the field of view or angle of view of the user facing the rear of the electronic devices 101 and 201. It can mean.
  • the user may display the first displays 120 and 220 of the electronic devices 101 and 201 in all directions of the electronic devices 101 and 201. ) Cannot be viewed, and only the second displays 122 and 222 of the electronic devices 101 and 201 can be viewed.
  • the electronic devices 101 and 201 do not have the second displays 122 and 222 or the second display 222 is included only in a part of the second surface 232, the electronic devices 101 and 201 When is in the second closed state, the second surface 232 that does not include or partially includes the second display 222 may be included in the user's field of view.
  • the second closed state is a state in which the second displays 120 and 220 are included in the user's field of view facing the electronic devices 101 and 201 and the first displays 120 and 220 are covered. It can mean.
  • the angle formed by the first surface 151 of the first housing 112 of the electronic devices 101 and 201 and the second surface 152 of the second housing 114, or of the second display 222 When the angle formed by the first area 141 and the second area 142 falls within a second specified angle range (eg, about 345 degrees to about 360 degrees), the electronic devices 101 and 201 are in a second closed state.
  • a second specified angle range eg, about 345 degrees to about 360 degrees
  • the electronic devices 101 and 201 may be in a folded in state (or a partially folded state, or a partially open state). According to various embodiments, when the electronic devices 101 and 201 are folded, the angle between the first surface 151 of the first housing 112 and the second surface 152 of the second housing 114 Alternatively, an angle between the first area and the second area of the second display 222 may form an angle within a specified range.
  • a second within the user's field of view facing the front of the electronic devices 101 and 201 according to the direction of the electronic devices 101 and 201 The entire area of the displays 122 and 222 is included, at least a partial area on the right side of the second displays 122 and 222 and the first displays 120 and 220 are included, or the second displays 122 and 222 ) And a fourth surface (or second rear surface) 154 of the second housing 114 may be included.
  • the angle formed by the first surface 151 of the first housing 112 of the electronic devices 101 and 201 and the second surface 152 of the second housing 114, or of the second display 222 When the angle formed by the first area 141 and the second area 142 falls within a third specified angle range (eg, about 15 degrees to about 165 degrees, and/or about 195 degrees to about 345 degrees), the former Devices 101 and 201 may be in a folded state.
  • a third specified angle range eg, about 15 degrees to about 165 degrees, and/or about 195 degrees to about 345 degrees
  • the electronic devices 101 and 201 may be in a folded out state (or a full open state). According to an embodiment, when the electronic device 101 is in an unfolded state, the first surface 151 of the first housing 112 and the second surface 152 of the second housing 114, or the second display ( The first region and the second region of 122 and 222 may be substantially flushed with the same plane. According to an embodiment, when the electronic devices 101 and 201 are in an unfolded state, the second display (within) the user's field of view or angle of view facing the front of the electronic devices 101 and 201 The entire area of 122 and 222 may be included.
  • an angle formed by the first surface 151 of the first housing 112 of the electronic devices 101 and 201 and the second surface 152 of the second housing 114, or the second display 222 When the angle formed by the first area 141 and the second area 142 of is within a fourth specified angle range (eg, about 165 degrees to about 195 degrees), the electronic devices 101 and 201 are in an unfolded state. I can.
  • a fourth specified angle range eg, about 165 degrees to about 195 degrees
  • a method of determining the folding state of the second displays 122 and 222 may be configured in various ways.
  • the method of determining the folding state of the second displays 122 and 222 is not limited to the contents described in the present invention, and may be determined through various sensors.
  • at least one angle sensor may be included in at least a portion of the second displays 122 and 222.
  • the angle detection sensor may measure a change in angle that occurs when at least one side of the second displays 122 and 222 is folded.
  • At least one Hall sensor may be included in at least a portion of the second displays 122 and 222, and a folded or folded state may be determined based on magnetic information detected by the Hall sensor.
  • FIG. 3 is a block diagram of an electronic device 301 in a network environment 300 according to various embodiments.
  • the electronic device 301 of FIG. 3 may be the electronic device 101 of FIGS. 1A and 1B, or the electronic device 201 of FIGS. 2A and 2B.
  • the electronic device 301 communicates with the electronic device 302 through a first network 398 (eg, a short-range wireless communication network), or a network 399 (eg, a short-range wireless communication network). : It is possible to communicate with the electronic device 304 or the server 308 through a long-distance wireless communication network). According to an embodiment, the electronic device 301 may communicate with the electronic device 304 through the server 308.
  • a first network 398 eg, a short-range wireless communication network
  • a network 399 eg, a short-range wireless communication network
  • the electronic device 301 includes a processor 320, a memory 330, an input device 350, an audio output device 355, a display device 360, an audio module 370, and a sensor module ( 376), interface 377, haptic module 379, camera module 380, power management module 388, battery 389, communication module 390, subscriber identification module 396, or antenna module 397 ) Can be included.
  • at least one of these components (for example, the display device 360 or the camera module 380) may be omitted or one or more other components may be added to the electronic device 301.
  • some of these components may be implemented as one integrated circuit.
  • the sensor module 376 eg, a fingerprint sensor, an iris sensor, or an illuminance sensor
  • the display device 360 eg, a display.
  • the processor 320 for example, executes software (eg, a program 340) to perform at least one other component (eg, a hardware or software component) of the electronic device 301 connected to the processor 320. It can be controlled and can perform various data processing or operations. According to an embodiment, as at least part of data processing or operation, the processor 320 may transfer commands or data received from other components (eg, the sensor module 376 or the communication module 390) to the volatile memory 332. The command or data stored in the volatile memory 332 may be processed, and result data may be stored in the nonvolatile memory 334.
  • software eg, a program 340
  • the processor 320 may transfer commands or data received from other components (eg, the sensor module 376 or the communication module 390) to the volatile memory 332.
  • the command or data stored in the volatile memory 332 may be processed, and result data may be stored in the nonvolatile memory 334.
  • the processor 320 includes a main processor 321 (eg, a central processing unit or an application processor), and a secondary processor 323 that can be operated independently or together with the main processor 321 (eg, a graphics processing unit, an image signal processor). , A sensor hub processor, or a communication processor). Additionally or alternatively, the coprocessor 323 may be set to use less power than the main processor 321 or to be specialized for a designated function.
  • the secondary processor 323 may be implemented separately from the main processor 321 or as a part thereof.
  • the coprocessor 323 is, for example, in place of the main processor 321 while the main processor 321 is in an inactive (eg, sleep) state, or the main processor 321 is active (eg, executes an application). ), together with the main processor 321 in the state, at least one of the components of the electronic device 301 (for example, the display device 360, the sensor module 376, or the communication module 390) It is possible to control at least some of the functions or states associated with it.
  • the coprocessor 323 eg, an image signal processor or a communication processor
  • may be implemented as part of another functionally related component eg, a camera module 380 or a communication module 390). have.
  • the memory 330 may store various types of data used by at least one component of the electronic device 301 (for example, the processor 320 or the sensor module 376).
  • the data may include, for example, software (eg, the program 340) and input data or output data for commands related thereto.
  • the memory 330 may include a volatile memory 332 or a nonvolatile memory 334.
  • the program 340 may be stored as software in the memory 330, and may include, for example, an operating system 342, middleware 344, or an application 346.
  • the input device 350 may receive commands or data to be used for components of the electronic device 301 (eg, the processor 320) from outside the electronic device 301 (eg, a user).
  • the input device 350 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
  • the sound output device 355 may output an sound signal to the outside of the electronic device 301.
  • the sound output device 355 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive incoming calls.
  • the receiver may be implemented separately from or as a part of the speaker.
  • the display device 360 may visually provide information to the outside of the electronic device 301 (eg, a user).
  • the display device 360 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device.
  • the display device 360 may include a touch circuitry set to sense a touch, or a sensor circuit (eg, a pressure sensor) set to measure the strength of a force generated by the touch. have.
  • the audio module 370 may convert sound into an electrical signal, or conversely, may convert an electrical signal into sound. According to an embodiment, the audio module 370 acquires sound through the input device 350, or an external electronic device (eg: Sound may be output through the electronic device 302 (for example, a speaker or headphones).
  • an external electronic device eg: Sound may be output through the electronic device 302 (for example, a speaker or headphones).
  • the sensor module 376 detects an operating state (eg, power or temperature) of the electronic device 301, or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 376 includes, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 377 may support one or more specified protocols that may be used to connect the electronic device 301 directly or wirelessly to an external electronic device (eg, the electronic device 302 ).
  • the interface 377 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card
  • connection terminal 378 may include a connector through which the electronic device 301 can be physically connected to an external electronic device (eg, the electronic device 302 ).
  • the connection terminal 378 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 379 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that a user can perceive through tactile or motor sensations.
  • the haptic module 379 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 380 may capture a still image and a video.
  • the camera module 380 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 388 may manage power supplied to the electronic device 301.
  • the power management module 388 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 389 may supply power to at least one component of the electronic device 301.
  • the battery 389 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 390 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 301 and an external electronic device (eg, electronic device 302, electronic device 304, or server 308). It is possible to support establishment and communication through the established communication channel.
  • the communication module 390 operates independently of the processor 320 (eg, an application processor) and may include one or more communication processors supporting direct (eg, wired) communication or wireless communication.
  • the communication module 390 is a wireless communication module 392 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 394 (eg : A local area network (LAN) communication module, or a power line communication module) may be included.
  • the corresponding communication module is a first network 398 (for example, a short-range communication network such as Bluetooth, WiFi direct or IrDA (infrared data association)) or a network 399 (for example, a cellular network, the Internet, or a computer network).
  • the wireless communication module 392 is an electronic device within a communication network such as the first network 398 or the network 399 using subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 396. (301) can be checked and authenticated.
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • the antenna module 397 may transmit a signal or power to the outside (eg, an external electronic device) or receive from the outside.
  • the antenna module 397 may include one antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern.
  • the antenna module 397 may include a plurality of antennas. In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 398 or the network 399 may be selected from the plurality of antennas by the communication module 390, for example. I can.
  • the signal or power may be transmitted or received between the communication module 390 and an external electronic device through the selected at least one antenna.
  • other components eg, RFIC
  • other than the radiator may be additionally formed as part of the antenna module 397.
  • At least some of the components are connected to each other through a communication method (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI))) between peripheral devices and signals ( E.g. commands or data) can be exchanged with each other.
  • a communication method e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • GPIO general purpose input and output
  • SPI serial peripheral interface
  • MIPI mobile industry processor interface
  • commands or data may be transmitted or received between the electronic device 301 and the external electronic device 304 through the server 308 connected to the network 399.
  • Each of the external electronic devices 302 and 304 may be the same or different types of devices as the electronic device 301.
  • all or part of the operations executed by the electronic device 301 may be executed by one or more of the external electronic devices 302, 304, or 308.
  • the electronic device 301 needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device 301 In addition or in addition, it is possible to request one or more external electronic devices to perform the function or at least part of the service.
  • One or more external electronic devices receiving the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 301.
  • the electronic device 301 may process the result as it is or additionally and provide it as at least a part of a response to the request.
  • cloud computing, distributed computing, or client-server computing technology may be used.
  • some of the components of FIG. 3 may include at least one component of FIG. 1A, 1B, 2A, or 2B.
  • the display device 360 includes the first display 120 of FIG. 1B, the second display 122 of FIG. 1A, the first display 220 of FIG. 2A, or the second display of FIG. 2B. 222).
  • the sensor module 376 may include the angle detection sensor 160 of FIGS. 1A and 1B.
  • the camera module 380 may include at least one of the second sensor 132 of FIG. 1A or the first sensor 130 of FIG. 1B.
  • the processor 320 may detect an event for outputting audio data of a plurality of applications.
  • Events for outputting audio data of a plurality of applications include a change in the folding state of the electronic device 301, a designated user input (eg, touch input, drag input, gesture input), use (or execution) of a multi-window, or at least one It may be detected based on at least one of the signals received from an external audio pair of the device.
  • the processor 320 is an external audio pair connected through a short-range wireless communication module (eg, wireless communication module 392) in response to detecting an event for outputting audio data of a plurality of applications. You can check the device. For example, the processor 320 may determine whether one external audio pair device is connected or a plurality of external audio pair devices are connected through the short-range wireless communication module.
  • the external audio pair device may include a first device (or a master device, a right device) and a second device (or a slave device, a left device).
  • the processor 320 when a first external audio pair device is connected through the short-range communication module 392, the processor 320 encodes audio data of a first application and audio data of a second application together, and the The short-range wireless communication module 392 may be controlled to transmit to a first external audio pair device.
  • the processor 320 encodes audio data of a first application and audio data of a second application together, and transmits the encoded data to each of the first and second devices of the first external audio pair device. I can.
  • the processor 320 encodes the audio data of the first application and the audio data of the second application together, and transmits the encoded data to a first device among the first external audio pair devices. And a second device to receive the encoded data.
  • the processor 320 may transmit encoded data using address information (eg, a media access control (MAC) address) of the first device.
  • the second device may listen to encoded data transmitted from the electronic device 301 to the first device by using the address information of the first device obtained in advance.
  • the second device may obtain encoded data transmitted from the electronic device 301 to the first device according to a sniffing technique, and extract audio data of an application corresponding to the second device from the obtained encoded data. .
  • the processor 320 may perform audio data of the first application and the second The short-range wireless communication module 392 may be controlled to encode audio data of an application and transmit them to each of the first external audio pair device and the second external audio pair device.
  • the processor 320 uses the first short-range wireless communication module among the plurality of short-range wireless communication modules to provide audio of the first application. Data may be transmitted to the first external audio pair device, and audio data of the second application may be transmitted to the second external audio pair device using a second short-range wireless communication module.
  • the processor 320 when one short-range communication module is included in the electronic device 301, the processor 320 first transmits audio data of the first application using a first protocol supported by the short-range wireless communication module.
  • the audio data of the second application may be transmitted to the external audio pair device and transmitted to the second external audio pair device by using a second protocol supported by the short-range wireless communication module.
  • the first protocol and/or the second protocol may include at least one of an advanced audio distribution profile (A2DP) or a hands-free profile (HFP).
  • the processor 320 is based on at least one of information on a plurality of applications, information on an external audio pair device connected to the electronic device 301, or a user input, based on the audio data of each of the plurality of applications.
  • the output device can be determined.
  • the processor 320 includes at least one external audio pair device based on a time point when at least one external audio pair device is connected to the electronic device 301, the priority of the at least one external audio pair device, and the electronic device 301.
  • an audio data output device of each of a plurality of applications may be determined.
  • the processor 320 corresponds to an audio data output device of an application displayed in the first area of the second display 122, 222 among a plurality of applications, and corresponds to a first area among at least one external audio pair device.
  • the audio data output device of the application to be output to a device (eg, a second external audio pair device or a second device of a first external audio pair device) located in a direction corresponding to a second area among at least one external audio pair device.
  • the processor 320 provides a user interface (eg, a pop-up window) requesting selection of an audio data output device of each of a plurality of applications, and outputs audio data of each of a plurality of applications based on a user input.
  • the device can be determined.
  • the user interface for requesting selection of an audio data output device may include a list of external audio pair devices connected to the electronic device 301 through a short-range communication module.
  • the processor 320 may display information on an audio data output device of each of a plurality of applications on the display device 360.
  • the processor 320 may display the output device information of the audio data of the first application in at least a part of the first area of the second display 122, 222 on which the execution screen of the first application is displayed, and 2
  • the output device information of the audio data of the second application may be displayed on at least a part of the second area of the second displays 122 and 222 on which the execution screen of the application is displayed.
  • the output device information may include at least one of identification information of an external audio pair device, a name of an external audio pair device, or symbol (or icon) information corresponding to the external audio pair device.
  • the output device information may include at least one of identification information, name, or symbol information of the first external audio pair device. have.
  • the output device of the audio data of the first application is the first device among the first external audio pair devices
  • the output device information is identification information of the first device among the first external audio pair devices, the name of the first device , Or symbol information.
  • the processor 320 may switch audio data output devices of a plurality of applications when detecting the direction change of the electronic device 301. For example, the processor 320 may determine that the first area of the second display 122 and 222 of the electronic device 301 faces the first direction, and the second area of the second display 122 and 222 faces the first direction. When the direction of the electronic device 301 is changed so that the first region faces the second direction and the second region faces the first direction in a state facing the other second direction, the processor 320 The data output device can be switched.
  • the audio data output device of the first application is the first device of the first external audio pair device
  • the audio data output device of the second application is the second device of the first external audio pair device
  • the audio data output device of the second application is changed to the first external audio device. It can be changed to the first device of the pair device.
  • the processor 320 receives a single audio data transmission request signal or a multi-audio data transmission request signal from any one of the external audio pair devices connected to the electronic device 301, and receives the received signal. Accordingly, audio data of one application may be transmitted or audio data of a plurality of applications may be transmitted. According to an embodiment, single audio data may include audio data of one application.
  • the multi-audio data may include audio data of a plurality of applications.
  • the processor 320 encodes the audio data of the first and second applications together and transmits the encoded audio data to the first external audio pair device connected to the electronic device 301 from the first device among the first external audio pair devices. A single audio data transmission request signal can be received.
  • the processor 320 may encode only audio data of an application corresponding to the first device among the first and second applications according to the single audio data transmission request signal and transmit the encoded audio data to the first device.
  • the processor 320 receives the multi-audio data transmission request signal from the first device while encoding only the audio data of the application corresponding to the first device and transmits it to the first device. Audio data of the first and second applications may be encoded together and transmitted to the first device.
  • the processor 320 when at least one external audio pair device and at least one other external output device (eg, an external speaker) are connected to the electronic device 301, the processor 320 Based on at least one of the performance information of, at least one other external output device, or the number of at least one other external output device, using at least one external audio pair device and at least one other external output device It is possible to control audio data of a plurality of applications to be output. For example, the processor 320 may control audio data of a first application to be output through a first external audio pair device and audio data of a second application through a first external speaker.
  • the processor 320 may control audio data of a first application to be output through a first external audio pair device and audio data of a second application through a first external speaker.
  • the processor 320 may determine a direction of an external audio pair device connected to the electronic device 301. For example, the processor 320 may determine direction information in which the external audio pair device is located based on the electronic device 301. The direction information in which the external audio pair device is located may be determined based on at least one of a direction in which a signal is received from the external audio pair device or location information received from the external audio pair device. A direction in which a signal is received from an external audio pair device may be determined using a beamforming method.
  • the audio module 370 may encode audio data of a first application and audio data of a second application together using a mid-side stereo (MS) method.
  • MS mid-side stereo
  • S1 may refer to audio data of a first application
  • S2 may refer to audio data of a second application.
  • the audio module 370 may encode the audio data of the first application and the audio data of the second application together as shown in Equation (1).
  • FIG. 4 is a block diagram 400 of an external audio device according to various embodiments.
  • the external audio device 401 of FIG. 4 may be a first device and/or a second device of the external audio pair device disclosed in FIG. 3.
  • the external audio device 401 may include a bus 410, a processor 420, a memory 430, an input device 440, a communication module 450, and an audio module 460. have. According to an embodiment, the external audio device 401 may omit at least one of the constituent elements or may additionally include other constituent elements.
  • the bus 410 includes, for example, a circuit that connects the components 420 to 450 to each other and transfers communication (eg, control messages and/or data) between the components. can do.
  • communication eg, control messages and/or data
  • the processor 420 may control at least one other component (eg, hardware or software component) connected to the processor 420 by driving software (eg, a program). And perform various data processing and operations.
  • component eg, hardware or software component
  • driving software eg, a program
  • the processor 420 detects a short-range wireless communication connection event through the input device 440 and controls the communication module 450 to communicate with an electronic device (for example, the electronic device 301). Communication connection can be made.
  • the processor 420 may receive audio data from the electronic device 301 and control the audio module 460 so that the received audio data is decoded and then output. According to an embodiment, the processor 420 receives audio data transmitted from the electronic device 301 to the external audio device 401, or is transmitted from the electronic device 301 to a pair of the external audio device 401. Can receive audio data. For example, the processor 420 may receive audio data transmitted from the electronic device 301 to the pair device by using information on the pair device previously stored in the memory 430. When the external audio device 401 is connected to the electronic device 301, the pair device of the external audio device 401 is connected to the electronic device 301 together to perform at least one cooperative operation with the external audio device 401. It may be a device capable of performing.
  • the external audio device 401 may be a first device (eg, a device on the right side of an earbud) among external audio pair devices, and the pair device is a second device (eg, a device on the left side of the earbud) among external audio pair devices. Device).
  • a first device eg, a device on the right side of an earbud
  • the pair device is a second device (eg, a device on the left side of the earbud) among external audio pair devices. Device).
  • the processor 420 may decode audio data received from the electronic device 301, extract audio data of an application corresponding to the external audio device 401, and output the extracted audio data.
  • the received audio data may include first audio data to be output from a first device among external audio pair devices and second audio data to be output from a second device.
  • the first audio data and the second audio data may be audio data of different applications, or may be audio data of the same application.
  • the processor 420 determines whether each of the external audio device 401 and the pair device can communicate with the electronic device 301 based on signals received from the electronic device 301 and/or the pair device. You can decide whether or not. For example, the processor 420 determines whether communication between the external audio device 401 and the electronic device 301 is possible by measuring a first signal reception strength using an audio packet signal received from the electronic device 301 In addition, it is possible to determine whether or not the external audio device 401 and the pair device can communicate using a signal periodically transmitted/received to and from the pair device of the external audio device 401.
  • the signal periodically transmitted/received between the external audio device 401 and the pair device may include information indicating whether the external audio device 401 or the pair device can communicate with the electronic device 301.
  • the processor 420 of the external audio device 401 may generate a signal including at least one of information on whether communication is possible or not determined based on the measured first signal reception strength or the measured first signal reception strength. Can be transmitted to a pair device.
  • the processor 420 includes information indicating whether the pair device can communicate with the electronic device 301 from the pair device (eg, whether the second signal reception strength and/or the measured second signal reception strength determined based on the communication availability) Information) may be received.
  • the second signal reception strength may be a signal reception strength measured based on an audio packet signal received from the electronic device 301 in the pair device.
  • the processor 420 allows the external audio device 401 to communicate with the electronic device 301 when the first signal reception strength from the electronic device 301 is greater than or equal to a specified first threshold. It is possible to confirm that the device is in a state and determine whether the pair device can communicate with the electronic device 301 based on information included in the signal received from the pair device. The processor 420 is unable to communicate with the electronic device 301 when the second signal reception strength included in the signal received from the pair device is less than the specified second threshold value, or the signal received from the pair device. When the information indicating is included, the pair device may determine that communication with the electronic device 301 is impossible, and transmit a signal requesting transmission of multi-audio data to the electronic device 301.
  • the external audio device 301 may determine that communication between the pair device and the electronic device 301 is impossible, and transmit a signal requesting transmission of single audio data to the electronic device 301.
  • the processor 420 may receive a single audio data signal including only audio data for the external audio device 401 from the electronic device 301 in response to a signal requesting transmission of single audio data.
  • the processor 420 may determine whether the pair device is changed to a state capable of communicating with the electronic device 301. For example, in a situation where the first signal reception strength is greater than or equal to the specified first threshold value, the processor 420 may perform a second signal reception strength included in the signal received from the pair device greater than or equal to the second threshold value.
  • the processor 420 may transmit a signal requesting transmission of multi-audio data to the electronic device 301.
  • the processor 420 may receive a signal including audio data for the external audio device 401 and audio data for a pair device from the electronic device 301 in response to a signal requesting transmission of multi-audio data.
  • the first threshold and the second threshold may be different values or may be the same.
  • the processor 420 exchanges location information with the electronic device 301 and/or the pair device, and, based on the location information, the external audio device 401 and the pair device each have the electronic device 301 It is possible to determine whether or not it is possible to communicate with.
  • the processor 420 may receive location information of the electronic device 301 from the electronic device 301 and obtain location information of the pair device from the pair device.
  • the processor 420 may estimate a first distance between the electronic device 301 and the external audio device 401 based on the location information of the electronic device 301 and the location information of the external audio device 401.
  • the processor 420 may estimate a second distance between the electronic device 301 and the pair device based on the location information of the electronic device 301 and the location information of the pair device.
  • the processor 420 may communicate with the electronic device 301, but the pair device and the electronic device It is determined that communication of 301 is impossible, and a signal requesting transmission of single audio data may be transmitted to the electronic device 301.
  • the processor 420 may receive a single audio data signal including only audio data for the external audio device 401 from the electronic device 301 in response to a signal requesting transmission of single audio data.
  • the processor 420 determines that both the external audio device 401 and the pair device can communicate with the electronic device 301, A signal requesting transmission of multi-audio data may be transmitted to the electronic device 320.
  • the processor 420 may receive a signal including audio data for the external audio device 401 and audio data for a pair device from the electronic device 301 in response to a signal requesting transmission of multi-audio data. I can.
  • the memory 430 may store information on a pair device.
  • the pair device information may include address information of at least one other external audio device connected to the electronic device 301 together with the external audio device 401.
  • information on the pair device may be set at design time and may be updated under the control of the processor 420.
  • the input device 440 may transmit commands or data to be used in components (eg, the processor 420) of the external audio device 401 from the outside (eg, a user) of the external audio device 401.
  • a device for receiving for example, it may include a microphone, a key button, a keypad, a touch sensor, or a pressure sensor.
  • the input device 440 may receive a user input requesting a short-range wireless communication connection.
  • the communication module 450 may support establishing a wired or wireless communication channel between the external audio device 401 and the electronic device 301 and performing communication through the established communication channel.
  • the communication module 450 may include one or more communication processors operating independently of the processor 420 (eg, an application processor) and supporting wired communication or wireless communication.
  • the communication module 450 includes a short-range wireless communication module, and may communicate with an electronic device through a short-range wireless communication module.
  • the audio module 460 may convert sound into an electrical signal, or vice versa. According to an embodiment, the audio module 460 may acquire audio data from the electronic device 301 directly or wirelessly connected to the external audio device 401 and decode the acquired audio data.
  • the electronic device 301 includes a wireless communication module (eg, a wireless communication module 392 of FIG. 3 ), and a processor operatively connected to the wireless communication module 392 (eg, a wireless communication module 392 of FIG. 3 ). And a processor 320, wherein the processor 320 detects an event for outputting audio of a plurality of applications, and, based on the event detection, transmits the electronic device to the electronic device through the wireless communication module 392.
  • a wireless communication module eg, a wireless communication module 392 of FIG. 3
  • a processor 320 operatively connected to the wireless communication module 392 (eg, a wireless communication module 392 of FIG. 3 ).
  • the processor 320 detects an event for outputting audio of a plurality of applications, and, based on the event detection, transmits the electronic device to the electronic device through the wireless communication module 392.
  • the electronic device further includes at least one sensor (for example, the sensor module 376 of FIG. 3) for detecting a folding state of the electronic device, and the processor further comprises: folding the electronic device received from the sensor. It may be set to detect an event for outputting audio of the plurality of applications based on a state.
  • at least one sensor for example, the sensor module 376 of FIG. 3
  • the processor further comprises: folding the electronic device received from the sensor. It may be set to detect an event for outputting audio of the plurality of applications based on a state.
  • the processor 320 detects an execution request of the second application while the first application is being executed, determines whether the folding state of the electronic device satisfies a specified angle condition, and When the folding state of the electronic device satisfies a specified angle condition, it may be determined that an event for outputting audio of the plurality of applications has occurred.
  • the processor 320 is configured to check whether a specified folding event occurs during execution of the plurality of applications, and to output audio of the plurality of applications when the specified folding event occurs. It can be determined that the event has occurred.
  • the processor 320 when a first external audio device is connected to the electronic device, the processor 320 is at least one of a first device and a second device included in the first external audio device, and the The wireless communication module may be controlled to transmit a signal including audio data of the first application and audio data of the second application.
  • the processor 320 receives a single audio data transmission request signal from the first device or the second device, and based on the single audio data transmission request signal, the first device and the One device that has transmitted the single audio data transmission request signal among the second devices is identified, and a signal including only audio data of an application corresponding to the identified device among the first application and the second application is identified.
  • the short-range communication module can be controlled to transmit to the device.
  • the processor 320 receives a multi-audio data transmission request signal from the identified device while transmitting the single audio data to the identified device, and transmits the received multi-audio data. Based on the request signal, a control may be performed to transmit a signal including audio data of the first application and audio data of the second application to at least one of the first device and the second device.
  • the short-range wireless communication module includes a first short-range wireless communication module and a second short-range wireless communication module
  • the processor 320 includes the first external audio device and the second
  • audio data of the first application is transmitted to the first external audio device through the first short-range wireless communication module
  • audio data of the second application is transmitted through the second short-range wireless communication module.
  • the first short-range wireless communication module and the second short-range wireless communication module may be controlled to transmit the signal to the second external audio device.
  • the processor 320 uses a first protocol supported by the short-range wireless communication module 392
  • the audio data of the second application is transmitted to the second external audio device using a second protocol supported by the short-range wireless communication module 392. It can be controlled to send to the device.
  • At least one sensor (for example, the sensor module 376 of FIG. 3) is further included, and the processor 320 uses the at least one sensor 376 to determine the direction of the electronic device. It is set to switch between a device to which audio data of the first application is output and a device to which audio data of the second application is output, in response to a change of direction of the electronic device, and to detect a changeover, and to switch between a device to which the audio data of the second application is output.
  • the processor 320 uses the at least one sensor 376 to determine the direction of the electronic device. It is set to switch between a device to which audio data of the first application is output and a device to which audio data of the second application is output, in response to a change of direction of the electronic device, and to detect a changeover, and to switch between a device to which the audio data of the second application is output.
  • a device to which data is output is a first device among the first external audio devices
  • a device to which audio data of the second application is output is a second device among the first external audio devices
  • an audio device of the first application When the device outputting data is the first external audio device, the device outputting the audio data of the second application may be the second external audio device.
  • the electronic device 301 includes a display in which at least a portion is folded (eg, the display device 360 of FIG. 3 ), and at least one sensor (eg : The sensor module 376 of FIG. 3), a short-range wireless communication module (for example, the wireless communication module 392 of FIG.
  • the processor 320 operatively connected to the module 392, wherein the processor 320 transmits audio data of a first application while the display is in a first designated state, and the short-range wireless communication module ( 392), when transmitting to at least one external audio device, and when the folding state of the display is changed from the first designated state to the second designated state, detects an event for outputting audio data of a plurality of applications,
  • the audio data of the first application and the audio data of the second application may be configured to be simultaneously transmitted to the at least one external audio device through the short-range wireless communication module 392.
  • the first designated state may include a state in which the display of the electronic device is unfolded.
  • the second designated state may include a state in which the display of the electronic device is folded.
  • the processor 320 transmits a signal including audio data of the first application and audio data of the second application to the at least one external audio device. ) Can be controlled.
  • the processor 320 when a first external audio device is connected to the electronic device, the processor 320 is at least one of a first device and a second device included in the first external audio device, and the The short-range wireless communication module 392 may be controlled to transmit a signal including audio data of the first application and audio data of the second application.
  • the processor 320 receives a single audio data transmission request signal from the first device or the second device, and based on the single audio data transmission request signal, the first device and the One device that has transmitted the single audio data transmission request signal among the second devices is identified, and a signal including only audio data of an application corresponding to the identified device among the first application and the second application is identified.
  • the short-range communication module can be controlled to transmit to the device.
  • the processor 320 receives a multi-audio data transmission request signal from the identified device while transmitting audio data of an application corresponding to the identified device to the identified device, and Based on an audio data transmission request signal, control to transmit a signal including audio data of the first application and audio data of the second application to at least one of the first device and the second device have.
  • the processor 320 transmits the audio data of the first application to a first external audio device and transmits the audio data of the second application to a second external audio device.
  • the module 392 can be controlled.
  • the short-range wireless communication module includes a first short-range wireless communication module and a second short-range wireless communication module
  • the processor 320 includes a first short-range wireless communication module.
  • the first short-range wireless communication module and the second short-range wireless transmit audio data of the second application to the second external audio device through a second short-range wireless communication module while transmitting audio data to the first external audio device. You can control the communication module.
  • the processor 320 transmits the audio data of the first application to the first external audio device using a first protocol supported by the short-range wireless communication module 392, while the The audio data of the second application may be transmitted to the second external audio device using a second protocol supported by the short-range wireless communication module 392.
  • the processor 320 further comprising at least one other sensor (for example, the sensor module 376 of FIG. 3) for detecting the direction of the electronic device, the processor 320, the at least one other sensor ( 376) to detect a change in the direction of the electronic device, and switch between a device for outputting audio data of the first application and a device for outputting audio data of the second application in response to the change of direction of the electronic device And when the device to which the audio data of the first application is output is a first device among the first external audio devices, the device to which the audio data of the second application is output is a first of the first external audio devices. If the device for outputting the audio data of the second application is the first external audio device, the device for outputting the audio data of the second application may be the second external audio device.
  • the device for outputting the audio data of the second application may be the second external audio device.
  • FIG. 5 is a flowchart 500 for outputting audio data of a plurality of applications in an electronic device according to various embodiments.
  • the electronic device that performs the operation of FIG. 5 may be the electronic device 301 of FIG. 3.
  • the operation indicated by the dotted line may be omitted depending on the embodiment.
  • FIGS. 6A to 6D At least some of the operations of FIG. 5 described below will be described with reference to FIGS. 6A to 6D.
  • 6A is an exemplary diagram for transmitting audio data of a plurality of applications from an electronic device to a first external audio pair device according to various embodiments of the present disclosure.
  • 6B is an exemplary diagram of transmitting audio data of a plurality of applications from an electronic device to a plurality of external audio pair devices according to various embodiments of the present disclosure.
  • 6C is an exemplary diagram illustrating information on a device for outputting audio data of a plurality of applications in an electronic device according to various embodiments of the present disclosure.
  • 6D is an exemplary diagram of designating an external audio device corresponding to at least a partial area in an electronic device according to various embodiments of the present disclosure.
  • FIGS. 6A or 6B embodiments of transmitting audio data of a plurality of applications to one or more external audio pair devices will be described with reference to FIGS. 6A or 6B, but various embodiments are not limited thereto, for example, FIG. 6A Alternatively, embodiments described later with reference to FIG. 6B may also be applied to a plurality of external audio devices.
  • an electronic device may detect audio output events of a plurality of applications in operation 501.
  • the processor 320 may include a change in the folding state of the electronic device 301, a designated user input (eg, a touch input, a drag input, or a gesture input), a multi-window use (or execution), a plurality of external
  • An event for outputting audio data of a plurality of applications may be detected based on at least one of an audio pair device connection or a signal received from at least one external audio pair device.
  • the processor 320 displays a first application on a first area of a second display (eg, the second display 122 of FIG.
  • the electronic device 301 changes its folding state while being displayed in the second area of the displays 122 and 222 (e.g., changes from an unfolded state to a folded state (in-folding or out-folding)), a plurality of applications It may be determined that an audio output event (or multiple audio data output event) has occurred.
  • the processor 320 displays the first application on the second displays 122 and 222 while outputting the audio data of the first application through at least one external audio pair device connected to the electronic device 301.
  • the processor 320 When additional execution of the second application using the multi-window is detected, it may be determined that audio output events (or multi-audio data output events) of the plurality of applications have occurred.
  • the processor 320 is in a state in which a first application and a second application are being executed and audio data of the first application is being output through a first external audio pair device connected to the electronic device 301, and the electronic device 301 ), when an additional connection of the second external audio pair device is detected, it may be determined that audio output events (or multi-audio data output events) of a plurality of applications have occurred.
  • the listed examples are for illustrative purposes only, and various embodiments of the present invention will not be limited thereto.
  • the electronic device may determine whether a plurality of external audio pair devices are connected.
  • the processor 320 may determine whether a plurality of external audio pair devices are connected to the electronic device 301 through a short-range wireless communication connection.
  • the electronic device 301 may be connected to either a first external audio pair device or a second external audio pair device through a first short-range wireless communication module.
  • the electronic device 301 may be connected to the first external audio pair device and the second external audio pair device through the first short-range communication module.
  • the electronic device 301 may be connected to a first external audio pair device through a first short-range communication module and connected to a second external audio pair device through a second short-range wireless communication module.
  • the electronic device when a plurality of external audio pair devices are not connected and only the first external audio pair device is connected, the electronic device (for example, the processor 320) performs audio data of the first and second applications in operation 505. May be encoded together and transmitted to the first external audio pair device.
  • the electronic device for example, the processor 320
  • the processor 320 when only the first external audio pair device including the first device 621 and the second device 623 is connected to the electronic device 301, the processor 320
  • the audio data of the first application and the audio data of the second application may be encoded together, and the encoded audio data 611 and 613 may be transmitted to the first device 621 and the second device 623.
  • the processor 320 may transmit data encoded with audio data of the first and second applications to each of the first and second devices of the first external audio pair device. According to an embodiment, the processor 320 may transmit data encoded with audio data of the first and second applications to a first device that is a master device among the first external audio pair devices.
  • the electronic device when a plurality of external audio pair devices are connected, the electronic device (for example, the processor 320) encodes the audio data of the first and second applications, respectively, in operation 507 to provide the first and second external audio data. It can be transmitted to each of the audio pair devices.
  • the electronic device for example, the processor 320
  • the audio data and the audio data of the second application are each encoded, the encoded audio data 641 of the first application is transmitted to the first external audio pair device 651, and the encoded audio data of the second application 643 May be transmitted to the second audio pair device 653.
  • the electronic device may display information on the audio data output device of each of the first and second applications. Can be displayed.
  • the information on the output device may include at least one of identification information of the external audio pair device, the name of the external audio pair device, or symbol (or icon) information corresponding to the external audio pair device.
  • the processor 320 displays at least one of identification information, a name, or a symbol of a device for outputting audio data of the first application on the execution screen of the first application, and on the execution screen of the second application. At least one of identification information, a name, or a symbol of a device to which audio data of the second application is output may be displayed.
  • the processor 320 includes a second display on which the screen 671 of the first application is displayed (for example, the second display 122 of FIG. 1A and the second display of FIG. 2B ). 222) in at least a partial area of the second display 122 in which “L” 675 is displayed as the output device information of the audio data of the first application, and the screen 673 of the second application is displayed.
  • a "R" 677 may be displayed as output device information of the audio data of the second application in at least some of the second regions of the second region 222.
  • the processor 320 may omit an operation of displaying information on each audio data output device of the first and second applications. . For example, as shown in FIG.
  • the external audio output device corresponding to the first area 681 of the display is previously designated as the master device or the right device of the connected first external audio pair device, and the first
  • the processor 320 transmits the audio data of the second application to the master device or the right device, and displays the screen in the left area of the display. While the displayed audio data of the first application is transmitted to the slave device or the left device, an operation of displaying information for each audio data output device of the first and second applications may be omitted.
  • An external audio output device corresponding to a partial area of the display (eg, the first area 681) may be set and/or changed by a designer and/or a user.
  • some areas of the display may be set and/or changed by a designer and/or a user.
  • at least one of the size, position, or shape of a partial area of the display may be set and/or changed by a designer and/or a user.
  • FIG. 7 is a flowchart 700 for outputting audio data of a plurality of applications based on a folding state in an electronic device according to various embodiments of the present disclosure.
  • the electronic device that performs the operation of FIG. 7 may be the electronic device 301 of FIG. 3.
  • the operations of FIG. 7 described below may be at least some of the detailed operations of operation 501 of FIG. 5.
  • At least some operations of FIG. 7 described below will be described with reference to FIG. 8.
  • 8 is an exemplary diagram for outputting audio data of a plurality of applications based on a folding state in an electronic device according to various embodiments of the present disclosure.
  • an electronic device may transmit audio data of a first application to a first external audio pair device.
  • the processor 320 displays the screen 803 of the first application on the display 801 of the electronic device 301 and transmits the audio data 807 of the first application. It may be transmitted to the first external audio pair device 805 connected to the electronic device 301.
  • the audio data of the first application transmitted to the first external audio pair device includes audio data to be output from the first device (or the master device, the right device) among the first external audio pair devices and the second device among the first external audio pair devices. It may include audio data to be output from (or a slave device, a left device).
  • the display 801 of the electronic device 301 may be the second display 122 of FIG. 1A and/or the second display 222 of FIG. 2B.
  • the electronic device may detect an execution request of the second application.
  • the processor 320 detects an execution request for the second application while executing the first application while displaying the screen 803 of the first application on the display 801 as shown in FIG. 8 (851) )can do.
  • the electronic device may determine whether the folding state of the electronic device 301 satisfies a specified angle condition. For example, the processor 320 determines whether the current folding state of the electronic device 301 or the folding state of the electronic device 301 at the time when the execution request of the second application is detected satisfy a specified angle condition.
  • the processor 320 includes a first housing (eg, the first housing 112 in FIG. 1A) and a second housing (eg, the second housing 114 in FIG. 1A) of the electronic device 301.
  • the angle between or the folding angle of the second display 112 or 222 may be measured (or determined), and whether the measured angle satisfies a specified angle condition may be determined.
  • the specified angular condition can be set and/or changed by the designer and/or user.
  • the specified angular condition may include at least one angular range condition for the angle between the first housing 112 and the second housing 114, or the folding angle of the second display 112 or 222. I can.
  • the specified angular condition may include an angular range of about 15 degrees to 165 degrees, or an angular range of about 195 degrees to 345 degrees.
  • the processor 320 is an angle in which the folding state of the electronic device 301 is specified. It can be determined that the condition is not satisfied.
  • the processor 320 has an angle between the first housing 112 and the second housing 114, or the folding angle of the second display 112, or 222, in an angular range of about 15 degrees to 165 degrees, or about 195 degrees. If it falls within the 345 degree angle range, it may be determined that the folding state of the electronic device 301 satisfies the specified angle condition.
  • the electronic device eg, the processor 320
  • Audio data of an application that satisfies the first condition may be output through the first external audio pair device 805.
  • the designated first condition may include at least one of a condition related to an application priority, a condition related to an execution time point of an application, and a condition related to a display area of an application.
  • the processor 320 may transmit audio data of an application having a high priority among the first application and the second application to the first external audio pair device 805.
  • the processor 320 may transmit audio data of an application recently requested to be executed among the first application and the second application to the first external audio pair device 805.
  • the processor 320 may transmit audio data of an application displayed in a predetermined area among the first application and the second application to the first external audio pair device 805. For example, the processor 320 displays the screen 811 of the first application in the first area of the second display 122 or 222, as shown in FIG. 8, and the second display 122 or 222 After displaying the second application screen 813 in the second region of, the audio data 817 of the second application corresponding to the second region may be transmitted to the first external audio pair device 805.
  • the electronic device may determine whether a designated folding event is detected.
  • the processor 320 includes a first housing (eg, the first housing 112 in FIG. 1A) and a second housing (eg, the second housing 114 in FIG. 1A) of the electronic device 301.
  • the angle between or the folding angle of the second display 112 or 222 is changed, and it may be determined whether the changed angle satisfies the specified angle condition.
  • the specified angle condition may be the same as the specified angle condition in operation 705.
  • the processor 320 displays the running first application screen 811 and the second application screen 813 on the display 801, and the audio data 817 of the second application satisfying the specified first condition.
  • the designated folding event is, for example, a state in which the angle between the first housing 112 and the second housing 114 of the electronic device 301 or the folding angle of the second display 112 or 222 satisfies the specified angle condition. It may include a case where it is changed to.
  • the electronic device when a designated folding event of the electronic device 301 is detected, the electronic device (eg, the processor 320) may determine audio data output of a plurality of applications in operation 711. According to an embodiment, the processor 320 may determine audio data output of a plurality of applications and perform operation 505 or operation 507 of FIG. 5. For example, as illustrated in FIG.
  • the processor 320 encodes the audio data of the first application and the audio data of the second application together, 1 By transmitting to the external audio pair device 805, the audio data 827 of the first application is output through the second device 821 of the first external audio pair device, and the audio data 837 of the second application is It may be controlled to be output through the second device 823 of the first external audio pair device 805.
  • the electronic device eg, the processor 320 may return to operation 707 and perform the following operation again.
  • the electronic device when the folding state of the electronic device 301 satisfies a specified angle condition as a result of checking in operation 705, the electronic device (for example, the processor 320) outputs audio data of a plurality of applications in operation 713. Can be determined. According to an embodiment, operation 713 may be the same as operation 711.
  • FIG. 9 is a flowchart 900 of transmitting audio data of a plurality of applications by using a short-range communication module (eg, the wireless communication module 392 of FIG. 3) included in the electronic device according to various embodiments.
  • the electronic device that performs the operation of FIG. 9 may be the electronic device 301 of FIG. 3.
  • the operations of FIG. 9 described below may be at least some of the detailed operations of operation 507 of FIG. 5.
  • At least some operations of FIG. 9 described below will be described with reference to FIGS. 10A and 10B.
  • 10A is an exemplary diagram of transmitting audio data of a plurality of applications in an electronic device including a plurality of short-range communication modules, according to various embodiments.
  • 10B is an exemplary diagram of transmitting audio data of a plurality of applications by using different protocols in an electronic device including one short-range communication module according to various embodiments.
  • an electronic device eg, the processor 320 of FIG. 3 may determine whether the electronic device 301 uses a plurality of short-range wireless communication modules in operation 901. .
  • the processor 320 may connect a plurality of external audio pair devices 1021 and 1023 to a single short-range wireless communication module. Whether it is connected to the electronic device 301 through or to the electronic device 301 through each of a plurality of short-range wireless communication modules may be determined.
  • the electronic device when the electronic device 301 uses a plurality of short-range wireless communication modules, the electronic device (for example, the processor 320) performs a first short-range wireless communication module and a second short-range wireless communication in operation 903. Audio data of the first and second applications may be transmitted using each of the modules.
  • the processor when the first external audio pair device 1021 is connected through a first short-range wireless communication module, and the second external audio pair device 1023 is connected through a second short-range wireless communication module, the processor ( 320) transmits the encoded audio data of the first application to the first external audio pair device 1021 through the first short-range wireless communication module, and transmits the audio data of the second application through the second short-range wireless communication module.
  • the processor 320 uses the same protocol. Audio data of an application and audio data of a second application may be transmitted, respectively. For example, as shown in FIG. 10A, the processor 120 transmits the audio data of the first application to the first external audio pair device 1021 using the A2DP 1011 supported by the first short-range wireless communication module. And transmits the audio data of the second application to the second external audio pair device 1023 using the A2DP 1013 supported by the second short-range wireless communication module.
  • the processor 320 transmits audio data of a first application using a first protocol of a first short-range wireless communication module, and transmits a second application using a second protocol of the second short-range wireless communication module. Can transmit the audio data.
  • the first protocol and the second protocol may be different protocols.
  • the electronic device 301 may change a protocol used to transmit audio data to an external audio pair device based on a specified event. For example, the electronic device 301 transmits audio data of a first application to a first external audio pair device by using the first protocol of the first short-range wireless communication module, and transmits the second protocol of the second short-range wireless communication module.
  • a specified event eg, a third application execution request event
  • the second protocol of the first short-range wireless communication module or the second 3 Transmit audio data of a third application to a first external audio pair device using a protocol, and transmit audio data of a second application to a second external audio pair device using a second protocol of a second short-range wireless communication module.
  • the electronic device when the electronic device 301 uses one short-range wireless communication module, in operation 905, the electronic device (eg, the processor 320) provides a first profile supported by the first short-range wireless communication module. And audio data of the first and second applications may be transmitted using the second profile.
  • the processor 320 when the first external audio pair device 1021 and the second external audio pair device 1023 are connected through the first short-range wireless communication module, the processor 320 is supported by the short-range wireless communication module.
  • the audio data of the first application is transmitted to the first external audio pair device 1021 using the first protocol
  • the audio data of the second application is transmitted to the second external device using the second protocol supported by the short-range wireless communication module. It can be transmitted to the audio pair device 1023.
  • the processor 120 transmits the audio data of the first application to the first external audio pair device 1021 using the A2DP 1011 supported by the first short-range wireless communication module, and transmits the first short-range wireless communication module.
  • Audio data of the second application may be transmitted to the second external audio pair device 1023 using the HFP 1031 supported by the communication module.
  • FIG. 11A is a flowchart 1100 of switching an external audio device of a plurality of applications based on a direction change of the electronic device in an electronic device according to various embodiments of the present disclosure.
  • the electronic device that performs the operation of FIG. 11A may be the electronic device 301 of FIG. 3.
  • the operation indicated by the dotted line may be omitted depending on the embodiment.
  • the operations of FIG. 11A described below may be performed after operation 505 or 507 of FIG. 5 is performed. At least some of the operations of FIG. 11A described below will be described with reference to FIGS. 11B to 11G.
  • 11B is an exemplary diagram of switching an external audio device of a plurality of applications based on a direction change of the electronic device in an electronic device according to various embodiments of the present disclosure.
  • 11C is an exemplary diagram of switching an external audio pair device of a plurality of applications based on a direction change of the electronic device in an electronic device according to various embodiments of the present disclosure.
  • 11D is an exemplary diagram of switching an external audio device of a plurality of applications based on a change in a display area of a plurality of applications in an electronic device according to various embodiments of the present disclosure.
  • 11E is an exemplary diagram of switching an external audio pair device of a plurality of applications based on a change in a display area of a plurality of applications in an electronic device according to various embodiments of the present disclosure.
  • 11F is an exemplary diagram of switching an external audio device of a plurality of applications based on a location change of an external audio device in an electronic device according to various embodiments of the present disclosure.
  • 11G is an exemplary diagram of switching an external audio pair device of a plurality of applications based on a location change of an external audio device in an electronic device according to various embodiments of the present disclosure.
  • an electronic device eg, the processor 320 of FIG. 3 may detect an audio output device switching event in operation 1101.
  • the audio output device switching event may be detected based on at least one of a change in a direction of the electronic device 301, a change in a display area of a plurality of applications, or a change in a location of an external audio pair device.
  • the processor 320 detects a direction change of the electronic device 301 using at least one sensor (for example, the sensor module 376 of FIG. 3) provided in the electronic device 301, It may be determined that an audio output device switching event has occurred. For example, as shown in FIGS.
  • the electronic device when the first housing 112 of the electronic device 101 faces the first direction and the second housing 114 faces the second direction, the electronic device If the first housing 112 is changed to face the second direction and the second housing faces the first direction due to the change of direction of 101 (1141, 1161), it is determined that the audio output device switching event has occurred. I can.
  • the second housing 114 is present on the right side of the first housing 112 of the electronic device 101 in the user's field of view facing the electronic device 101.
  • an audio output device switching event occurs. Can be determined.
  • the direction of the electronic device 101 when only the second housing 114 of the electronic device 101 is included in the user's field of view toward the electronic device 101 in the second closed state (out-folding), the direction of the electronic device 101
  • the state is changed to include only the first housing 112 in the user's field of view due to the conversion, it may be determined that an audio output device switching event has occurred.
  • the processor 320 detects that the display area of the first application and the display area of the second application are changed based on a user input (eg, a touch input, a drag input, and/or a gesture input). And, it may be determined that an audio output device switching event has occurred. For example, as shown in FIGS.
  • a screen 1131 of a first application is displayed in an area corresponding to the first housing 112 of the display area of the electronic device 101, and the second In a state in which the screen 1133 of the second application is displayed in the area corresponding to the housing 114, based on the user inputs 1143 and 1163 requesting the display area change, the area corresponding to the first housing 112 is
  • the processor 320 may detect a change in the location of the external audio pair device and determine that an audio output device switching event has occurred.
  • a first device 1123 of an external audio pair device is located in a region adjacent to the second housing 114 of the electronic device 101, and the first device 1123 of the electronic device 101 In a state where the second device 1121 of the external audio pair device is located in the area adjacent to the housing 112, the first device 1123 is adjacent to the first housing 112 and the second device 1121 is the second housing. If the location is changed 1145 to be adjacent to 114, it may be determined that an audio output device switching event has occurred. As another example, as shown in FIG.
  • a first external audio pair device 1151 is located in an area adjacent to the first housing 112 of the electronic device 101 and a second external audio pair device 1151 is located in an area adjacent to the second housing 114.
  • the external audio pair device 1153 With the external audio pair device 1153 positioned, the first external audio pair device 1151 is adjacent to the second housing 114 and the second external audio pair device 1153 is adjacent to the first housing 1142.
  • the location is changed (1167), it may be determined that an audio output device switching event has occurred.
  • the electronic device may determine whether to perform the audio output device switching operation.
  • the processor 320 may determine whether to perform an audio output device switching operation based on a user input. For example, when an audio output device switching event is detected while audio data of a first application and a second application is transmitted to at least one external audio pair device connected to the electronic device 301, the first application And a user interface for inquiring whether to switch the audio data output device of the second application. For example, in the user interface, the audio data output device of the first application is converted to an audio device that outputs audio data of the second application, and the audio data output device of the second application is an audio device that outputs audio data of the first application.
  • the processor 320 may determine to perform an audio output device switching operation.
  • the processor 320 may determine to maintain the current state without performing an audio output device switching operation.
  • the electronic device when it is determined to perform the audio output device switching operation, the electronic device (for example, the processor 320) may switch the audio data output devices of the first and second applications in operation 1105. For example, as shown in FIG. 11B, 11D, or 11F, the processor 320 may transmit the audio data of the video application displayed in the first area 1131 to the second device of the first external audio pair device ( While outputting through 1121 and outputting audio data of a music application displayed in the second area 1133 through the first device 1123 of the first external audio pair device, the direction change of the electronic device 301 (1141) ), when an audio output device switching event due to a display device change 1143, or a position change 1145 of an external audio pair device is detected, audio data of the video application is output through the first device 1123, and music
  • the audio data output device may be switched so that the application audio data is output through the second device 1121.
  • the processor 320 outputs audio data of a video application displayed in the first area 1131 through the first external audio pair device 1151 as shown in FIGS. 11C, 11E, or 11G. And, while the audio data of the music application displayed in the second area 1133 is output through the second external audio pair device 1153, the direction change of the electronic device 301 (1161), the display device change (1163), Alternatively, when an audio output device switching event due to the location change 1165 of the external audio pair device is detected (1161), audio data of the video application is output through the second external audio pair device 1153, and the audio of the music application The audio data output device may be switched so that data is output through the first external audio pair device 1151.
  • the electronic device may transmit a switching event notification signal to at least one external audio pair device.
  • the processor 320 transmits a signal indicating that the audio data output device of a plurality of applications has been changed by an audio data output device switching event to at least one external audio pair device connected to the electronic device 301.
  • the processor 320 may transmit a signal including audio data of the first and second applications by including information indicating that the audio data output device of the plurality of applications has been changed.
  • operation 1107 may be omitted.
  • the electronic device may transmit audio data of the first and second applications according to the conversion result.
  • Operation 1109 may be the same as operation 505 or operation 507 of FIG. 5.
  • the electronic device may display the converted information.
  • Operation 1111 may be the same as operation 509 of FIG. 5.
  • the processor 320 displays information indicating that the audio data output device of a plurality of applications has been changed due to the direction change of the electronic device 301 (for example, the display device 360 of FIG. 3 ). Can be displayed in some areas.
  • an encoding method for generating audio data transmitted to at least one external audio pair device may be changed.
  • the electronic device 310 may notify an external audio pair device that an audio output device switching event is detected through an event (or notification).
  • the external audio pair device may change the sound source output by changing a decoding method in response to an audio output device change notification of the electronic device 310.
  • the encoding method of the sound source may be the same as before.
  • the electronic device 301 checks a profile or capability supporting an external audio pair device according to detection of an audio output device switching event, and based on this, a protocol for encoding Alternatively, you can change the encoding method (codec).
  • the electronic device 301 detects an audio output device switching event, the electronic device 301 checks a profile supporting an external audio pair device or a capability of an external audio pair device, and thus A protocol for encoding or an encoding method (codec) may be changed based on the encoding.
  • FIG. 12 is a flowchart 1200 of transmitting audio data in response to a request from a first device of an external audio pair device in an electronic device according to various embodiments of the present disclosure.
  • the electronic device 1201 performing the operation of FIG. 12 may be the electronic device 301 of FIG. 3, and the first device 1203 and/or the second device 1205 may be the external audio device 401 of FIG. 4. have.
  • the operations of FIG. 12 described below may be performed after operation 505 or 507 of FIG. 5 is performed. At least some operations of FIG. 12 described below will be described with reference to FIGS. 13 and 14.
  • 13 is an exemplary diagram for measuring the strength of a received signal in each of an external audio pair device according to various embodiments.
  • 14 is a diagram illustrating an example in which the first device 1203 detects a communication failure situation of the second device 1205 among external audio pair devices according to various embodiments.
  • the electronic device 1201 may transmit multi-audio data.
  • the multi-audio data may include data in which audio data of a plurality of applications are encoded together.
  • the electronic device 120 transmits multi-audio data encoded with audio data of a first application and audio data of a second application to the first device 1203 of the first external audio pair devices 1207. Can be transmitted.
  • the first device 1203 receives multi-audio data received from the electronic device 1201 in operation 1210, measures the strength of a received signal from the electronic device 1201 in operation 1220, and 2 Can exchange signals with the device 1205. For example, as shown in FIG. 13, the first device 1203 may measure the received signal strength based on the signal 1311 including multi-audio data. In addition, for example, the first device 1203 may transmit and receive signals 1313 and 1323 with the second device 1205. For example, the first device 1203 may measure the received signal strength based on the signal 1313 received from the second device 1205.
  • the signal 1313 received from the second device 1205 is an advertising signal transmitted from the second device 1205, or a pre-appointed exchange between the first device 1203 and the second device 1205.
  • the advertising signal or a pre-promised exchange signal may include a signal including information indicating whether the corresponding device is capable of communicating with the electronic device 1201.
  • each of the first device 1203 and the second device 1205 may exchange signals including information indicating whether the corresponding device can communicate with the electronic device 1201.
  • the first device 1203 determines whether the first device 1203 can communicate with the electronic device 1201 based on the measured signal reception strength based on a signal including multi-audio data, and , A signal including information indicating whether communication with the electronic device 1201 is possible may be transmitted to the second device 1205.
  • the first device 1203 may transmit a signal including information indicating a signal reception strength measured based on a signal including multi-audio data to the second device 1205.
  • the first device 1203 receives information indicating whether the second device 1205 can communicate with the electronic device 1201 or the received signal strength measured by the second device 1205 from the second device 1205.
  • a signal including at least one of the indicated information may be received.
  • the operation of measuring the received signal strength of the electronic device 1201 in operation 1220 and the operation of exchanging signals with the second device 1205 may be performed at the same time point or at different time points.
  • the first device 1203 determines that the second device 1205 is away from the electronic device 1201 based on the received signal strength of the signal received from the second device 1205. Can be detected. According to an embodiment, when the received signal strength measured with respect to the electronic device 1201 is greater than or equal to a specified first threshold, the first device 1203 is connected to the electronic device 1201. When it is determined that communication is possible and the signal strength received from the second device 1205 is less than the second threshold value, it may be determined that the second device 1205 is away from the electronic device 1201. According to another embodiment, the first device 1203 may detect whether the second device 1205 is close to the electronic device 1201 based on a signal exchanged with the second device 1205.
  • the first device 1203 may detect that the second device 1205 is unable to communicate with the electronic device 1201 by checking information included in the signal received from the second device 1205. have.
  • the first device 1203 provides a received signal strength included in a signal received from the second device 1205 less than a second threshold value or a signal received from the second device 1205. 2
  • the second device 1205 which is a pair device, is moved away from the electronic device 1201 and/or the first device 1203 Depending on the situation, it can be determined that communication is impossible.
  • the first device 1203 when a signal is not received from the second device 1205, the first device 1203 communicates as the second device 1205 moves away from the electronic device 1201 and/or the first device 1203. You can decide that this is an impossible situation.
  • the first device 1203 when the received signal strength measured for the electronic device 1201 is less than a specified first threshold, the first device 1203 communicates with the electronic device 1201. It is determined that it is impossible, and operation 1220 may be periodically repeated and performed. When communication with the electronic device 1201 becomes possible, the first device 1203 may perform a subsequent operation.
  • the second device 1205 listens (or monitors) multi-audio data transmitted from the electronic device 1201 to the first device 1203 in operation 1212, and removes the multi-audio data from the received multi-audio data. 2 It is possible to obtain and output audio data of an application corresponding to the device 1205.
  • the second device 1205 measures the strength of a received signal from the electronic device 1201 in operation 1222 and may exchange signals with the first device 1203. For example, as illustrated in FIG. 13, the second device 1205 may measure the received signal strength based on the signal 1321 including multi-audio data received from the electronic device 1201. Also, for example, the second device 1205 may receive the signal 1323 from the first device 1203.
  • the signal received from the first device 1203 may be at least one of an advertising signal transmitted from the first device 1203 or an exchange signal previously promised between the first device 1203 and the second device 1205. It can contain one.
  • the second device 1205 1205 may detect a situation in which communication is impossible due to being away from the electronic device 1201. For example, the second device 1205 determines whether communication is possible away from the electronic device 1201, and transmits a signal 1313 including information indicating whether communication with the electronic device 1201 is possible. To the device 1203. As another example, the second device 1205 transmits a signal 1313 including information indicating a signal reception strength measured based on a signal including multi-audio data received from the electronic device 1201 to the first device 1203. Can be transferred to.
  • a signal eg, a multi-audio data signal
  • the second device 1205 measures the signal reception strength based on the signal received from the first electronic device 1201 and generates a signal 1313 including information indicating that communication with the first device is impossible. It can be transmitted to the first device 1203.
  • the second device 1205 is the first device 1203, information indicating whether the second device 1205 can communicate with the electronic device 1201, or measured by the second device 1205.
  • the signal 1313 including at least one of information indicating the received signal strength may be transmitted.
  • the first device 1203 may transmit a signal requesting transmission of single audio data to the electronic device 1201.
  • the first device 1203 may provide audio that is transmitted from the electronic device 1201 through a short-range wireless communication module in which the second device 1205 is remote from the electronic device 1201 and/or the first device 1203.
  • the electronic device 1201 may request the electronic device 1201 to transmit only audio data (eg, single audio data) of an application corresponding to the first device 1203.
  • the electronic device 1201 in response to transmission of a single audio data signal, transmits a single audio data signal including only audio data of an application corresponding to the first device 1203 to the first device. Can be sent to (1203). For example, as shown in FIG. 14, the electronic device 1201 determines that the second device 1205 cannot receive the signal from the electronic device 1201 based on the received single audio data signal. In addition, among the first application and the second application, a single audio data signal including only audio data of a second application corresponding to the first device 1203 may be transmitted to the first device 1203.
  • the first device 1203 may measure the strength of a received signal from the electronic device 1201 and exchange signals with the second device 1205. For example, the first device 1203 measures the reception strength of a signal including single audio data, and whether the second device 1205 can communicate with the electronic device 301 from the second device 1205 A signal including at least one of information indicating a received signal strength measured by the second device 1205 may be received.
  • the operation of measuring the received signal strength of the electronic device 1201 in operation 1230 and the operation of exchanging signals with the second device 1205 may be performed at the same time point or at different time points.
  • the first device 1203 may detect that the second device 1205 is close to the electronic device 1201 based on the exchange signal. For example, the first device 1203 may communicate with the electronic device 1201 when the received signal strength measured for the electronic device 1201 is greater than or equal to a specified first threshold. It is possible to determine that it is possible and detect whether the second device 1205 is close to the electronic device 1201 based on a signal exchanged with the second device 1205. For example, the first device 1203 may detect that the second device 1205 is close to the electronic device 1201 by checking information included in a signal received from the second device 1205.
  • the first device 1203 may apply the second device to the signal received from the second device 1205 or when the received signal strength included in the signal received from the second device 1205 is greater than or equal to a specified second threshold.
  • a specified second threshold When information indicating that communication with the electronic device 1201 is possible by 1205 is included, it may be determined that the second device 1205 is in a situation in which communication with the electronic device 1201 is possible.
  • the first device 1203 measures the strength of a signal received from the second device 1205, and when the measured signal reception strength is greater than the second threshold, the second device 1205 1201) It may be determined that communication is possible according to proximity.
  • the second device 1205 may measure the strength of a received signal from the electronic device 1201 in operation 1232 and exchange signals with the first device 1203. For example, the second device 1205 may measure a received signal strength by listening to a signal including single audio data transmitted from the electronic device 1201 to the first device 1203. Also, for example, the second device 1205 may receive a signal from the first device 1203. According to various embodiments, although not shown, the second device 1205 may communicate with the first device 1203 in proximity to the electronic device 1201 based on a signal exchanged with the first device 1203. You can detect the situation.
  • the second device 1205 determines whether communication is possible by being close to the electronic device 1201, and transmits a signal 1313 including information indicating whether communication with the electronic device 1201 is possible. To the device 1203. As another example, the second device 1205 transmits a signal 1313 including information indicating a signal reception strength measured based on a signal including multi-audio data received from the electronic device 1201 to the first device 1203. Can be transferred to. As another example, the second device 1205 measures the signal reception strength based on the signal received from the first electronic device 1201 and generates a signal 1313 including information indicating that communication with the first device is possible. 1 can be transmitted to the device 1203. For example, the second device 1205 is the first device 1203, information indicating whether the second device 1205 can communicate with the electronic device 1201, or measured by the second device 1205. The signal 1313 including at least one of information indicating the received signal strength may be transmitted.
  • the first device 1203 may transmit a signal requesting transmission of multi-audio data to the electronic device 1201.
  • the first device 1203 may provide audio that is transmitted from the electronic device 1201 through the short-range wireless communication module by the second device 1205 in proximity to the electronic device 1201 and/or the first device 1203. It detects that data can be received, and transmits audio data (eg, multi-audio data) of a plurality of applications corresponding to each of the first device 1203 and the second device 1205 to the electronic device 1201. Can be requested.
  • audio data eg, multi-audio data
  • the electronic device 1201 in response to transmission of a multi-audio data signal, includes audio data of an application corresponding to the first device 1203 and an application corresponding to the second device 1205.
  • a multi-audio data signal including audio data of may be transmitted to the first device 1203.
  • the first device 1203 receives multi-audio data transmitted from the electronic device 1201 to the first device 1203, and obtains audio data of an application corresponding to the first device 1203 from the received multi-audio data. Can be printed.
  • the second device 1205 listens to multi-audio data transmitted from the electronic device 1201 to the first device 1203, and the second device ( Audio data of an application corresponding to (1205) may be acquired and output.
  • FIG. 15 is a flowchart 1500 for requesting audio data from an electronic device based on a signal reception strength from a first device among external audio pair devices according to various embodiments of the present disclosure.
  • the first device of FIG. 15 may be the first device 1203 of FIG. 12 (eg, the external audio device 401 of FIG. 4 ).
  • the operations of FIG. 15 described below may be detailed representations of operations of the first device 1203 of FIG. 12. At least some operations of FIG. 15 described below will be described with reference to FIGS. 16A to 16C.
  • 16A to 16C are exemplary views in which a first device among external audio pair devices according to various embodiments requests audio data from an electronic device based on signal reception strength.
  • a first device may receive multi-audio data from the electronic device 301.
  • the multi-audio data may be data including audio data of an application corresponding to the first device 1203 and audio data of an application corresponding to the second device 1205 that is a pair device of the first device 1203.
  • the first device may extract and output audio data of the first device 401 from the received multi-audio data.
  • the processor 420 may extract only audio data of an application corresponding to the first device 401 from the multi-audio data and output the extracted audio data.
  • the processor 420 may output audio data of the first device 401 at a designated position of a signal including multi-audio data.
  • the designated location may be a location previously promised with the electronic device 1201 for the first device 1203.
  • the designated location may be set and/or changed by a designer.
  • the designated location may be changed when an audio output device switching notification from the electronic device 1201 is received.
  • the first device 1203 outputs audio data at a first designated position of the received signal, and when an audio output device switching notification from the electronic device 1201 is received, the audio data at the second designated position of the received signal is received. Data can be output.
  • the second designated location of the received signal may be a designated location for the second device 1205.
  • the first device may determine whether the electronic device 1201 and the second device 1205 can communicate.
  • operation 1505 may include at least some operations of operation 1220 and operation 1224 of FIG. 12.
  • the first device 1203 measures the intensity of the first received signal based on the signal 1611 received from the electronic device 1201 to determine the first device 1203 and the electronic device. It is possible to determine whether the device 1201 is capable of communication, and if communication is possible, determine whether the second device 1205 can communicate with the electronic device 1201 based on a signal received from the second device 1205. have.
  • the first device when communication is impossible between the electronic device 1201 and the second device 1205, the first device (eg, the processor 420) may request transmission of single audio data to the electronic device in operation 1507. have.
  • the processor 420 may determine that the first received signal strength is greater than or equal to a specified first threshold, and the second received signal strength included in the signal received from the second device 1205 is less than the second threshold.
  • operation 1507 may be the same as operation 1226 of FIG. 12.
  • the first threshold value and the second threshold value may be the same value or different values.
  • the first device eg, the processor 420
  • the processor 420 may decode single audio data received from the electronic device 1201 and output the decoded audio data through the sound output device.
  • the first device may determine whether communication between the electronic device 1201 and the second device 1205 is possible.
  • operation 1511 may include at least some operations of operation 1230 and operation 1234 of FIG. 12.
  • the first device 1203 measures the intensity of the first received signal based on the signal 1611 received from the electronic device 1201 to determine the first device 1203 and the electronic device. Determines whether the device 1201 can communicate, and if the communication is possible, whether the second device 1205 can communicate with the electronic device 1201 based on the signal 1613 received from the second device 1205 Can be determined.
  • the first device 1203 may periodically perform operation 1511 described above.
  • the first device may request multi-audio data transmission to the electronic device in operation 1513.
  • the processor 420 has a first received signal strength equal to or greater than a specified first threshold, and the second received signal strength included in the signal 1613 received from the second device 1205 is the second threshold. If the value is greater than or equal to the value, as shown in FIG. 16C, as the second device 1205 approaches the electronic device 1201 again, it is determined that communication is possible, and the multi-audio data A signal 1631 requesting transmission may be transmitted.
  • operation 1513 may be the same as operation 1236 of FIG. 12.
  • FIG. 17 is a flowchart 1700 of transmitting audio data according to a request from a first device in an electronic device according to various embodiments.
  • the electronic device performing the operation of FIG. 17 may be the electronic device 1201 of FIG. 12 (eg, the electronic device 301 of FIG. 3 ).
  • the operations of FIG. 17 to be described below may represent operations of the electronic device 1201 in detail.
  • an electronic device eg, the processor 320 of FIG. 3 according to various embodiments of the present disclosure provides single audio data from the first device 1203 of the first external audio pair device 1207. It is possible to receive a transmission request signal.
  • the processor 320 may receive a single audio data transmission request signal from the first device 1203 while transmitting a signal including multi-audio data to the first device 1203.
  • the single audio data transmission request signal may include information indicating that the second device 1205 cannot receive a signal from the electronic device 1201.
  • the electronic device may determine one of the first application and the second application based on a single audio data transmission request signal. For example, based on a single audio data transmission request signal, the processor 320 checks that the second device 1205 is in a situation in which signal reception from the electronic device 1201 is impossible, and selects one of the first application and the second application. It can be checked whether the application is an application corresponding to the first device 1203. According to an embodiment, the electronic device 1201 may determine an application to transmit single audio data based on a specified criterion (eg, priority or execution order). According to another embodiment, the electronic device 1201 may determine an application by receiving information on an application for transmitting single audio data from the first device 1203.
  • a specified criterion eg, priority or execution order
  • the electronic device eg, the processor 320 may transmit audio data of the determined application to the first device 1203.
  • operation 1705 is shown in FIG. 12) May be the same as operation 1228.
  • the electronic device may determine whether a multi-audio data transmission request signal is received from the first device 1203. For example, while transmitting a signal including single audio data to the first device 1203, the processor 320 may determine whether a multi-audio data transmission request signal is received from the first device 1203.
  • the multi-audio data transmission request signal may include information indicating that the second device 1205 is capable of receiving signals from the electronic device 1201.
  • the electronic device when a multi-audio data transmission request signal is received, the electronic device (for example, the processor 320) encodes the audio data of the first and second applications together in operation 1709, and the first device 1203 ). For example, based on the multi-audio data transmission request signal, the processor 320 confirms that both the first device 1203 and the second device 1205 are capable of receiving signals from the electronic device 1201, and Multi-audio data including audio data of an application and audio data of a second application may be transmitted to the first device 1203.
  • the first device 1203 detects whether the second device 1205 is capable of communication, and requests the electronic device 1201 to transmit single audio data or to request multiple audio data transmission. Has been described, but the reverse would also be possible.
  • the second device 1205 may detect whether the first device 1203 is capable of communication, and may request single audio data transmission or multi-audio data transmission to the electronic device 1201.
  • each of the operations may be sequentially performed, but is not necessarily performed sequentially.
  • the order of each operation may be changed, and at least two operations may be performed in parallel.
  • the method of operating the electronic device 301 includes an operation of detecting an event for outputting audio of a plurality of applications, and in response to the event detection, a short-range wireless communication module (eg, wireless communication in FIG. 3 ).
  • a short-range wireless communication module eg, wireless communication in FIG. 3 .
  • the audio data of the first application and the second application are Encoding the audio data together and transmitting it to the first external audio pair device through the short-range wireless communication module 392, and the first external audio pair device and the second external audio pair device are connected to the electronic device.
  • the audio data of the first application and the audio data of the second application are respectively encoded, and through the short-range wireless communication module 392, the first external audio pair device and the second external audio pair device are respectively.
  • two applications have been described as an example to aid understanding, but various embodiments of the present invention can be equally applied even when two or more applications are executed in an electronic device. have.
  • an electronic device eg, the electronic device 301 of FIG. 3 or the electronic device 1201 of FIG. 12
  • the electronic devices 301 and 1201 may check characteristics of each of the first and second applications.
  • the electronic devices 301 and 1201 check the characteristics, when the first application generates audio data and the second application does not generate audio data, the electronic device generates single audio data including only audio data of the first application. It may be transmitted to at least one external audio pair device connected to (301, 1201).
  • the characteristics of each of the first and second applications may be checked based on, for example, application-related information, application identification information, or at least one function performed by the application.
  • An electronic device may be a device of various types.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a camera
  • a wearable device e.g., a smart bracelet
  • the electronic device according to the embodiment of the present document is not limited to the above-described devices.
  • phrases such as “at least one of B or C” may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof.
  • Terms such as “first”, “second”, or “first” or “second” may be used simply to distinguish the component from other Order) is not limited.
  • Some (eg, a first) component is referred to as “coupled” or “connected” to another (eg, a second) component, with or without the terms “functionally” or “communicatively”. When mentioned, it means that any of the above components may be connected to the other components directly (eg by wire), wirelessly, or via a third component.
  • module used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic blocks, parts, or circuits.
  • the module may be an integrally configured component or a minimum unit of the component or a part thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • Various embodiments of the present document include one or more instructions stored in a storage medium (eg, internal memory 236 or external memory 238) that can be read by a machine (eg, electronic device 201). It may be implemented as software (for example, the program 240) including them.
  • the processor eg, the processor 220 of the device (eg, the electronic device 201) may call and execute at least one command among one or more commands stored from a storage medium. This enables the device to be operated to perform at least one function according to the at least one command invoked.
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • a storage medium that can be read by a device may be provided in the form of a non-transitory storage medium.
  • non-transitory only means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), and this term refers to the case where data is semi-permanently stored in the storage medium. It does not distinguish between temporary storage cases.
  • a signal e.g., electromagnetic waves
  • a method according to various embodiments disclosed in the present document may be provided by being included in a computer program product.
  • Computer program products can be traded between sellers and buyers as commodities.
  • the computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store TM ) or two user devices (e.g., compact disc read only memory (CD-ROM)). It can be distributed (e.g., downloaded or uploaded) directly between, e.g. smartphones).
  • a device-readable storage medium e.g. compact disc read only memory (CD-ROM)
  • an application store e.g. Play Store TM
  • two user devices e.g., compact disc read only memory (CD-ROM)
  • It can be distributed (e.g., downloaded or uploaded) directly between, e.g. smartphones).
  • At least a part of the computer program product may be temporarily stored or temporarily generated in a storage medium that can be read by a device such as a server of a manufacturer, a server of an application store, or a memory of a relay server.
  • each component (eg, module or program) of the above-described components may include a singular number or a plurality of entities.
  • one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg, a module or program
  • the integrated component may perform one or more functions of each component of the plurality of components in the same or similar to that performed by the corresponding component among the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component may be sequentially, parallel, repeatedly, or heuristically executed, or one or more of the operations may be executed in a different order or omitted. Or one or more other actions may be added.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

La présente invention concerne, selon divers modes de réalisation, un dispositif électronique et un procédé pour son utilisation. Le dispositif électronique comporte : un module de communication sans fil ; et un processeur relié fonctionnellement à le module de communication sans fil. Le processeur peut être commandé pour : détecter un événement pour délivrer un contenu audio provenant d'une pluralité d'applications ; confirmer au moins un dispositif audio externe relié au dispositif électronique par l'intermédiaire du module de communication sans fil sur la base de la détection de l'événement ; transmettre des données audio d'une première application et des données audio d'une seconde application à un premier dispositif audio externe par l'intermédiaire du module de communication sans fil lorsque le premier dispositif audio externe est relié au dispositif électronique ; et transmettre les données audio de la première application au premier dispositif audio externe et les données audio de la seconde application au second dispositif audio externe par l'intermédiaire du module de communication sans fil lorsque le premier dispositif audio externe et un second dispositif audio externe sont reliés au dispositif électronique. D'autres modes de réalisation pourraient également être possibles.
PCT/KR2020/014117 2019-11-01 2020-10-15 Dispositif électronique pour délivrer des données audio d'une pluralité d'applications, et son procédé d'utilisation Ceased WO2021085902A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020190138954A KR20210053094A (ko) 2019-11-01 2019-11-01 복수의 어플리케이션들의 오디오 데이터를 출력하는 전자 장치 및 그 동작 방법
KR10-2019-0138954 2019-11-01

Publications (1)

Publication Number Publication Date
WO2021085902A1 true WO2021085902A1 (fr) 2021-05-06

Family

ID=75716428

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2020/014117 Ceased WO2021085902A1 (fr) 2019-11-01 2020-10-15 Dispositif électronique pour délivrer des données audio d'une pluralité d'applications, et son procédé d'utilisation

Country Status (2)

Country Link
KR (1) KR20210053094A (fr)
WO (1) WO2021085902A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024067432A1 (fr) * 2022-09-30 2024-04-04 华为技术有限公司 Procédé et système de transmission audio, et appareil associé

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852780B (zh) * 2021-09-18 2023-03-21 联想(北京)有限公司 一种音频数据处理方法及电子设备
WO2023146193A1 (fr) * 2022-01-27 2023-08-03 삼성전자 주식회사 Procédé de commande d'une pluralité de dispositifs électroniques, et dispositif électronique
EP4415384A4 (fr) 2022-01-27 2025-03-12 Samsung Electronics Co., Ltd. Procédé de commande d'une pluralité de dispositifs électroniques, et dispositif électronique
WO2024029748A1 (fr) * 2022-08-05 2024-02-08 삼성전자주식회사 Dispositif électronique, procédé, et support de stockage lisible par ordinateur pour afficher des écrans d'une pluralité d'applications sur la base d'une forme d'affichage flexible
WO2024258028A1 (fr) * 2023-06-11 2024-12-19 삼성전자주식회사 Dispositif électronique pour changer un signal audio à transmettre à un dispositif électronique externe sur la base de l'emplacement d'un dispositif électronique externe, et procédé associé

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140071152A (ko) * 2012-12-03 2014-06-11 삼성전자주식회사 복수의 터치스크린을 가지는 휴대 장치 및 복수의 터치스크린을 가지는 휴대 장치의 사운드 출력방법
US20170155992A1 (en) * 2015-11-30 2017-06-01 Bragi GmbH Power Management for Wireless Earpieces
KR20180106231A (ko) * 2017-03-17 2018-10-01 삼성전자주식회사 오디오 출력을 제어하기 위한 전자 장치 및 그의 동작 방법
CN109445740A (zh) * 2018-09-30 2019-03-08 Oppo广东移动通信有限公司 音频播放方法、装置、电子设备及存储介质
KR20190028043A (ko) * 2017-09-08 2019-03-18 삼성전자주식회사 이어폰을 통한 어플리케이션별 오디오 출력 제어 방법 및 이를 구현한 전자 장치

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140071152A (ko) * 2012-12-03 2014-06-11 삼성전자주식회사 복수의 터치스크린을 가지는 휴대 장치 및 복수의 터치스크린을 가지는 휴대 장치의 사운드 출력방법
US20170155992A1 (en) * 2015-11-30 2017-06-01 Bragi GmbH Power Management for Wireless Earpieces
KR20180106231A (ko) * 2017-03-17 2018-10-01 삼성전자주식회사 오디오 출력을 제어하기 위한 전자 장치 및 그의 동작 방법
KR20190028043A (ko) * 2017-09-08 2019-03-18 삼성전자주식회사 이어폰을 통한 어플리케이션별 오디오 출력 제어 방법 및 이를 구현한 전자 장치
CN109445740A (zh) * 2018-09-30 2019-03-08 Oppo广东移动通信有限公司 音频播放方法、装置、电子设备及存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024067432A1 (fr) * 2022-09-30 2024-04-04 华为技术有限公司 Procédé et système de transmission audio, et appareil associé

Also Published As

Publication number Publication date
KR20210053094A (ko) 2021-05-11

Similar Documents

Publication Publication Date Title
WO2020204611A1 (fr) Procédé de détection du port d'un dispositif acoustique, et dispositif acoustique prenant le procédé en charge
WO2021085902A1 (fr) Dispositif électronique pour délivrer des données audio d'une pluralité d'applications, et son procédé d'utilisation
WO2021075752A1 (fr) Procédé de fourniture d'écran utilisant un affichage pliable et dispositif électronique pour le prendre en charge
WO2021034127A1 (fr) Dispositif électronique comprenant un système de haut-parleur multicanal
WO2022030882A1 (fr) Dispositif électronique de traitement de données audio, et procédé d'exploitation de celui-ci
WO2019088518A1 (fr) Dispositif électronique et procédé de commande permettant de fournir une notification de sécurité
WO2020180056A1 (fr) Dispositif électronique pour la transmission d'un message de réponse dans un environnement de réseau bluetooth et procédé correspondant
WO2021107682A1 (fr) Dispositif pliable et son procédé de commande
WO2019190024A1 (fr) Dispositif électronique mobile et procédé de transfert de saisie d'utilisateur à une application en fonction de moyens de saisie
WO2021085838A1 (fr) Procédé et dispositif de commutation de dispositif source par partage d'informations de connexion bluetooth
WO2021162186A1 (fr) Dispositif électronique utilisant un canal de communication généré par connexion électrique entre un dispositif électronique et un dispositif électronique externe, et procédé pour faire fonctionner un dispositif électronique
WO2020218805A1 (fr) Dispositif électronique et son procédé de commande
WO2020256497A1 (fr) Procédé de connexion de communication bluetooth et dispositif électronique associé
WO2021241887A1 (fr) Dispositif électronique comprenant une antenne
WO2020111727A1 (fr) Dispositif électronique et procédé de commande de dispositif électronique
WO2019117561A1 (fr) Dispositif électronique permettant de fournir des différents services en fonction du dispositif externe
WO2019103471A1 (fr) Procédé de fourniture de vibration et dispositif electronique pour sa prise en charge
WO2019135603A1 (fr) Dispositif électronique, et procédé de commande de dispositif électronique
WO2019164168A1 (fr) Dispositif électronique utilisant une communication bluetooth et son procédé de fonctionnement
WO2024063380A1 (fr) Dispositif électronique et procédé de commande d'écran affiché sur un dispositif d'affichage souple
WO2022154363A1 (fr) Dispositif électronique permettant de traiter des données audio, et procédé de fonctionnement associé
WO2019147005A1 (fr) Procédé et appareil de réception de diffusion pour dispositif électronique
WO2021054662A1 (fr) Dispositif électronique et procédé de fourniture d'informations sur un dispositif électronique
WO2021066426A1 (fr) Dispositif électronique pour la transmission de paquets de données dans un environnement de réseau bluetooth et procédé associé
WO2020235915A1 (fr) Appareil électronique pliable comprenant une pluralité de dispositifs d'entrée audio

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20883069

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20883069

Country of ref document: EP

Kind code of ref document: A1