WO2021261972A1 - 전자 장치 및 전자 장치의 기능 수행 방법 - Google Patents

전자 장치 및 전자 장치의 기능 수행 방법 Download PDF

Info

Publication number
WO2021261972A1
WO2021261972A1 PCT/KR2021/008086 KR2021008086W WO2021261972A1 WO 2021261972 A1 WO2021261972 A1 WO 2021261972A1 KR 2021008086 W KR2021008086 W KR 2021008086W WO 2021261972 A1 WO2021261972 A1 WO 2021261972A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
motion
external device
sensor
content
Prior art date
Application number
PCT/KR2021/008086
Other languages
English (en)
French (fr)
Inventor
채호창
국효정
김진익
김충훈
박남준
박성현
이성희
임준학
강두석
이선기
Original Assignee
삼성전자 주식회사
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 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2021261972A1 publication Critical patent/WO2021261972A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • Various embodiments of the present disclosure relate to an electronic device, and for example, a method of performing a content transmission function from a portable electronic device supporting short-range wireless communication to an adjacent external device.
  • a portable electronic device represented by a smart phone can be equipped with various functions.
  • the electronic device may reproduce video/audio content (hereinafter, content) by using various applications, and may share the content with an external device.
  • the electronic device may execute various functions such as content sharing or screen sharing with an external device using wireless communication.
  • the electronic device may directly transmit content to an external device or mirror a displayed screen using short-range wireless communication such as Bluetooth or Wi-Fi direct.
  • the electronic device In order for the electronic device to execute a function with an external device using short-range wireless communication, it must search for an external device supporting short-range wireless communication and then establish a connection with a specific device. A user may select a function to be performed before or after connection with such an external device. Such a method of performing a function of an electronic device requires various manipulations such as selection of a communication means and search and selection of an external device, which may deteriorate usability.
  • a function corresponding to the operating state may be performed.
  • An electronic device and a method for performing a function of the electronic device may be provided.
  • An electronic device includes a display, a short-range communication module for performing short-distance communication with an external device, a sensor for detecting a movement of the electronic device, a memory, and the display, the short-range communication module, the sensor, and the memory; a processor operatively connected, wherein the processor activates the sensor in response to a specified event, transmits a signal corresponding to the event to the external device through the short-range communication module, and When the motion of the electronic device sensed through the sensor satisfies a specified condition, first motion information related to the motion of the electronic device is generated, and the motion information related to the motion of the external device is generated from the external device through the short-range communication module.
  • a function of receiving second motion information and information related to the operating state of the external device, and corresponding to the operating state of the electronic device and the operating state of the external device when the first motion information and the second motion information are obtained can be set to perform.
  • a method for performing a function of an electronic device includes activating a sensor in response to a specified event, transmitting a signal corresponding to the event to an external device, and movement of the electronic device detected through the sensor
  • this specified condition is satisfied, the operation of generating the first motion information related to the motion of the electronic device, the second motion information related to the motion of the external device from the external device through the short-range communication module, and the receiving information related to an operating state, and performing a function corresponding to an operating state of an electronic device and an operating state of the external device when the first motion information and the second motion information are obtained
  • the operation of generating the first motion information related to the motion of the electronic device, the second motion information related to the motion of the external device from the external device through the short-range communication module, and the receiving information related to an operating state and performing a function corresponding to an operating state of an electronic device and an operating state of the external device when the first motion information and the second motion information are obtained
  • An electronic device includes a display, a short-range communication module for performing short-distance communication with an external device, a sensor for detecting a movement of the electronic device, a memory, and the display, the short-range communication module, the sensor, and the memory; a processor that is operatively connected, wherein the processor receives information related to an operating state of the external device from the external device through the short-range communication module, and functions corresponding to the operating state of the external device
  • the sensor is activated, and when the motion of the electronic device sensed through the sensor satisfies a specified condition, first motion information related to the motion of the electronic device is generated, and the short-distance communication module may be configured to transmit the first motion information and information related to the operation state of the electronic device to the external device and receive content from the external device through the .
  • an electronic device and a sharing method of the electronic device capable of more intuitively and simply performing a function corresponding to an operating state based on the movement of the electronic device and the external device.
  • FIG. 1 is a block diagram of an electronic device in a network according to various embodiments of the present disclosure
  • FIG. 2 illustrates a plurality of electronic devices according to various embodiments.
  • FIG. 3 is a block diagram of an electronic device according to various embodiments of the present disclosure.
  • FIG. 4 is a flowchart of a method for performing functions of a first electronic device and a second electronic device according to various embodiments of the present disclosure
  • FIG. 5 is a flowchart of a method for performing functions of a first electronic device and a second electronic device according to various embodiments of the present disclosure
  • 6 and 7 are flowcharts of a method of performing a function in a state in which the second electronic device is not executing the same application as the first electronic device, according to various embodiments of the present disclosure
  • FIGS. 8 and 9 are flowcharts of a method of performing a function while the second electronic device is executing the same application as the first electronic device, according to various embodiments of the present disclosure
  • FIG. 10A illustrates an example of a shake operation according to various embodiments.
  • 10B illustrates an example of a tap operation according to various embodiments.
  • 11A and 11B illustrate pop-up messages displayed in a first electronic device and a second electronic device according to various embodiments of the present disclosure
  • FIG 12 illustrates an embodiment of sharing image content according to various embodiments.
  • 13A and 13B illustrate an embodiment of sharing an item of a list according to various embodiments.
  • FIG. 14 illustrates a screen sharing embodiment according to various embodiments.
  • 16 is a flowchart of a method for performing a function according to various embodiments of the present disclosure
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • a second network 199 e.g., a second network 199
  • the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • the electronic device 101 includes a processor 120 , a memory 130 , an input device 150 , a sound output device 155 , a display device 160 , an audio module 170 , and a sensor module ( 176 , interface 177 , haptic module 179 , camera module 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or antenna module 197 . ) may be included. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as one integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).
  • the sensor module 176 eg, a fingerprint sensor, an iris sensor, or an illuminance sensor
  • the processor 120 for example, executes software (eg, the program 140 ) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be loaded into the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 .
  • software eg, the program 140
  • the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 .
  • the volatile memory 132 may be loaded into the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134
  • the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and a secondary processor 123 (eg, a graphic processing unit, an image signal processor) that can operate independently or together with the main processor 121 . , a sensor hub processor, or a communication processor). Additionally or alternatively, the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function. The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
  • a main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, an image signal processor
  • the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function.
  • the auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
  • the auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display device 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the co-processor 123 eg, an image signal processor or a communication processor
  • may be implemented as part of another functionally related component eg, the camera module 180 or the communication module 190. have.
  • the memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ).
  • the data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto.
  • the memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
  • the program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
  • the input device 150 may receive a command or data to be used in a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 .
  • the input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
  • the sound output device 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output device 155 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 an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
  • the display device 160 may visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the corresponding device.
  • the display device 160 may include a touch circuitry configured to sense a touch or a sensor circuit (eg, a pressure sensor) configured to measure the intensity of a force generated by the touch. have.
  • the audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input device 150 , or an external electronic device (eg, a sound output device 155 ) connected directly or wirelessly with the electronic device 101 . A sound may be output through the electronic device 102 (eg, a speaker or headphones).
  • an external electronic device eg, a sound output device 155
  • a sound may be output through the electronic device 102 (eg, a speaker or headphones).
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • the connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ).
  • the connection terminal 178 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 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (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 194 (eg, : It may include a LAN (local area network) communication module, or a power line communication module).
  • GNSS global navigation satellite system
  • a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association)) or a second network 199 (eg, a cellular network, the Internet, or It can communicate with an external electronic device through a computer network (eg, a telecommunication network such as a LAN or WAN).
  • a computer network eg, a telecommunication network such as a LAN or WAN.
  • These various types of communication modules may be integrated into one component (eg, a single chip) or implemented as a plurality of components (eg, multiple chips) separate from each other.
  • the wireless communication module 192 uses the subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 .
  • the electronic device 101 may be identified and authenticated.
  • the antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device).
  • the antenna module 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 197 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 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 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 a part of the antenna module 197 .
  • peripheral devices eg, a 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
  • the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 .
  • Each of the electronic devices 102 and 104 may be the same or a different type of device from the electronic device 101 .
  • all or a part of operations executed in the electronic device 101 may be executed in one or more of the external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 may perform the function or service itself instead of executing the function or service itself.
  • one or more external electronic devices may be requested to perform at least a part of the function or the service.
  • One or more external electronic devices that have received 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 101 .
  • the electronic device 101 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.
  • the electronic device may have various types of devices.
  • 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 device.
  • 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 portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a wearable device e.g., a smart bracelet
  • a home appliance device e.g., a home appliance
  • a or B at least one of A and B, “at least one of A or B”, “A, B or C”, “at least one of A, B and C” and “A;
  • Each of the phrases such as “at least one of B, or C” may include any one of, or all possible combinations of, items listed together in the corresponding one of the phrases.
  • Terms such as “first”, “second”, or “first” or “second” may be used simply to distinguish the element from other elements in question, and may refer to elements in other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit.
  • a module may be an integrally formed part or a minimum unit or a part of the part 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
  • one or more instructions stored in a storage medium may be implemented as software (eg, the program 140) including
  • a processor eg, processor 120
  • a device eg, electronic device 101
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium 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 (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
  • a signal eg, electromagnetic wave
  • the method according to various embodiments disclosed in this document may be provided as included in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • the computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store TM ) or on two user devices ( It can be distributed online (eg download or upload), directly between smartphones (eg smartphones).
  • a part of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
  • each component eg, a module or a program of the above-described components may include a singular 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 a program
  • the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.
  • FIG. 2 illustrates a plurality of electronic devices according to various embodiments.
  • the electronic device 200 executes an application, outputs content, and supports short-range wireless communication (eg, Bluetooth or Wi-Fi direct). It may be a device.
  • the electronic device 200 may be a smart phone, a tablet PC, a laptop PC, a portable multimedia device, a camera, or a wearable device, but is not limited thereto.
  • the electronic devices 200 , 210 , 220 , and 230 include at least some of the same configuration, and the embodiments described below in FIG. 3 may be implemented on each of the electronic devices 200 , 210 , 220 , 230 . have.
  • the electronic device 200 may communicate with the external electronic devices 210 , 220 , 230 using short-range wireless communication, and video/audio data stored in a memory, an image displayed on a screen, and a document file , or various contents such as a digital key may be transmitted to the external electronic devices 210 , 220 , and 230 .
  • the electronic device 200 may select specific image content from the gallery application and transmit it to the adjacent external electronic devices 210 , 220 , 230 .
  • the electronic device 200 may receive content from the external electronic devices 210 , 220 , and 230 .
  • the electronic device 200 may be configured to share a screen being displayed on a display with the external electronic devices 210 , 220 , 230 , participate in a group when an application such as a game is executed, share a digital key and file, or share setting information can perform the same function.
  • the setting information may include system setting information, network setting information, or user setting information of the electronic device 200 .
  • the electronic device 200 In order for the electronic device 200 to communicate with the external electronic devices 210 , 220 , and 230 using short-range wireless communication, selection of a service or communication means to be used, search and selection of the external electronic device 200 , and/or pairing (pairing) may be required. For example, the electronic device 200 should attempt to connect after searching for the external electronic devices 210 , 220 , and 230 using Bluetooth. must be entered directly.
  • the electronic device 200 may support various protocols and applications for content transmission, such as Bluetooth file transmission, Android Beam using NFC, send to device using BLE and Wi-Fi, or Wi-Fi direct. , it may decrease usability if the user has to directly select any one of these short-range wireless communication methods.
  • an external electronic device that satisfies a specified condition (eg, movement or change in a sensor value) of the electronic device 200 .
  • a specified condition eg, movement or change in a sensor value
  • 210 , 220 , and 230 are designated as a service target and a service operation can be determined according to the states of the electronic device 200 and the external electronic device 210 , 220 and 230 will be described. .
  • FIG. 3 is a block diagram of an electronic device according to various embodiments of the present disclosure.
  • an electronic device 380 (eg, the electronic device 101 of FIG. 1 ) according to various embodiments includes a display 330 (eg, the display device 160 of FIG. 1 ), a short-range communication module ( 310) (eg, communication module 190 in FIG. 1 ), sensor 340 (eg, sensor module 176 in FIG. 1 ), memory 320 (eg, memory 130 in FIG. 1 ) and processor ( 350) (eg, the processor 120 of FIG. 1 ), and even if some of the illustrated components are omitted or substituted, various embodiments of the present document may be implemented.
  • the electronic device 380 may further include at least some of the configuration and/or functions of the electronic device 101 of FIG. 1 .
  • At least some of the configuration shown in FIG. 3 and/or other configurations of the electronic device 380 may include a housing It may be disposed within the housing, and at least a portion (eg, the display 330 ) may be exposed to the outside of the housing.
  • the display 330 displays an image, a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light-emitting diode ( OLED)) display, micro electro mechanical systems (MEMS) display, or electronic paper display may be implemented as any one, but is not limited thereto.
  • the display 330 may include at least some of the configuration and/or functions of the display device 160 of FIG. 1 .
  • the display 330 may be rollable or foldable. In various embodiments of the present disclosure, a rollable operation and/or a foldable operation is performed when at least a portion of the display 330 or at least a portion of a housing including the display 330 is changed (eg, the shape of the display 330 ). change or change in size).
  • the display 330 may include a touch screen that detects a touch or hovering input.
  • the touch screen may be implemented in any one of various methods including an in-cell method and an on-cell method.
  • the short-range communication module 310 includes an external device (eg, the external devices 210 , 220 , 230 of FIG. 2 ) and an antenna supporting short-range wireless communication, an RF front end, and a communication processor (eg, FIG. 2 ). 1 co-processor 123)).
  • the short-distance communication module 310 may support various short-range wireless communication methods (eg, Bluetooth, Bluetooth low energy, or Wi-Fi), and independent hardware / for supporting each wireless communication method It may include software configuration.
  • the short-range communication module 310 may include at least some of the configuration and/or functions of the communication module 190 of FIG. 1 .
  • the sensor 340 may detect the movement of the electronic device 380 .
  • the electronic device 380 may include various physical sensors for detecting movement of the electronic device 380, such as an acceleration sensor, a gyroscope, a geomagnetic sensor, a proximity sensor, and/or an illuminance sensor. may be included, and the movement may be detected using sensing values of the different sensors 340 according to the type of movement of the electronic device 380 (eg, a shake operation or a tap operation).
  • the sensor 340 may detect a rollable state or a foldable state of the display 330 .
  • the sensor 340 may detect that at least a portion of the display 330 is rolled or folded.
  • the sensor 340 may include at least a portion of the sensor module 176 of FIG. 1 .
  • the sensor 340 may be activated when a specified event occurs.
  • an acceleration sensor (not shown) is located inside the electronic device 380 (eg, in a housing of the electronic device 380 ) and detects an acceleration (eg, an amount of impact) associated with the electronic device 380 . It can be set to measure.
  • the acceleration sensor (not shown) may be set to measure acceleration with respect to three axes (eg, an x-axis, a y-axis, and a z-axis).
  • a gyro sensor may be located inside the electronic device 380 (eg, in a housing of the electronic device 380 ) and set to measure a rotation associated with the electronic device 380 .
  • a gyro sensor may be set to measure rotation about three axes (eg, an x-axis, a y-axis, and a z-axis).
  • the electronic device 380 provides a sensed value (eg, acceleration impulse, rotation information, and/or acceleration impulse and rotation) obtained from at least one sensor 340 (eg, an acceleration sensor and/or a gyro sensor).
  • a sensed value eg, acceleration impulse, rotation information, and/or acceleration impulse and rotation
  • the occurrence of a specified movement eg, a shake motion, and/or a tap motion
  • a pattern of sensed values eg, an impulse pattern.
  • the electronic device 380 may display a rollable state or a foldable state of the display 330 based on a sensed value obtained from at least one sensor 340 (eg, an acceleration sensor and/or a gyro sensor). and/or detect a rollable motion or a foldable motion.
  • a sensor 340 eg, an acceleration sensor and/or a gyro sensor.
  • an operation for detecting occurrence of a specified movement eg, a shake operation, a tap operation, a rollable operation, or a foldable operation
  • the processor 350 or the sensor 340 can be performed.
  • the sensor 340 may notify the processor 350 that a designated movement has occurred based on the acquired sensing value.
  • the sensor 340 may transmit the acquired sensing value to the processor 350 , and the processor 350 may confirm that a designated motion has occurred based on the received sensing value.
  • the memory 320 is for temporarily or permanently storing non-limited digital data, and may include at least one of the configuration and/or function of the memory 130 of FIG. 1 .
  • Memory is one time programmable ROM (OTPROM), programmable ROM (PROM), erasable and programmable ROM (EPROM), electrically erasable and programmable ROM (EEPROM), mask ROM, flash ROM, flash memory (such as NAND flash or NOR flash). , a hard drive, or non-volatile memory, such as a solid state drive (SSD), and volatile memory, such as dynamic RAM (DRAM), static RAM (SRAM), or synchronous dynamic RAM (SDRAM).
  • the memory 320 may store various instructions that may be executed by the processor 350 . Such instructions may include various control commands including arithmetic and logical operations, data movement, or input/output that can be recognized by the processor 350 .
  • the processor 350 is a configuration capable of performing an operation or data processing related to control and/or communication of each component of the electronic device 380 , and includes the configuration of the processor 120 of FIG. 1 and / or may include at least some of the functions.
  • the processor 350 is operatively and functionally with each component of the electronic device 380 , such as the display 330 , the short-range communication module 310 , the sensor 340 , and/or the memory 320 . (functionally) and/or electrically (electrically) connected.
  • the electronic device 380 is Various embodiments for detecting a motion and performing a content sharing function with an external device based on the detected motion will be described. Operations of the processor 350 to be described later may be performed by loading instructions stored in the memory 320 .
  • the processor 350 may activate the sensor 340 in response to a specified event.
  • the event triggering the activation of the sensor 340 may include at least one of execution of a specified application, a touch input to the display 330, or a user input to an external key.
  • the sensor 340 may be activated.
  • the processor 350 may activate the sensor 340 when a specified voice (eg, share) is input through the microphone while the gallery application is executed and a specific file is displayed on the display.
  • the processor 350 may transmit a signal corresponding to an event generated using the short-range communication module 310 to an external device (eg, the external electronic devices 210 , 220 , 230 of FIG. 2 ).
  • the transmitted signal may include information on a specified service (eg, an application or a file sharing function), and an external device may activate a sensor to detect a movement of the external device.
  • the short-range communication module 310 may broadcast or advertise a Bluetooth low energy (BLE) signal corresponding to the event.
  • BLE Bluetooth low energy
  • the external device may receive a signal broadcast by the electronic device 380 and activate a sensor (eg, the sensor 340 ). At this time, if the sensor of the external device is already activated, the activated state may be maintained.
  • a sensor eg, the sensor 340
  • the external device may determine whether to activate the sensor according to an operation state when receiving a signal from the electronic device 380 . For example, when the screen of the display (eg, the display 330 ) of the external device is turned off or the user is not in use, the external device may not activate the sensor. In this case, when the external device is operated by the user of the external device thereafter, the sensor may be activated after checking whether the operation of the service specified in the electronic device is continuing or the need to activate the sensor.
  • the processor 350 may transmit a signal related to a designated service through the short-range communication module 310 and initiate a BLE scan operation.
  • the processor 350 detects a motion of the electronic device 380 using the sensor 340 , and when the motion satisfies a specified condition, first motion information related to the motion of the electronic device 380 .
  • the processor 350 determines whether the movement of the electronic device 380 is of a specified type (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) based on the sensed value of the sensor 340 and belongs to the specified type. In this case, the first motion information may be generated.
  • a specified type eg, a shake operation, a tap operation, a rollable operation, or a foldable operation
  • the processor 350 may determine the amount of impact corresponding to the movement of the electronic device 380 based on the sensed value of the sensor 340 , and determine whether a shake operation occurs according to the amount of impact . For example, the processor 350 may check the amount of impact according to the value sensed by the gyro sensor, and when the amount of impact is greater than or equal to the first threshold value, the shake operation may be monitored. Thereafter, when the movement in the first direction and the movement in the second direction are sensed more than a specified number of times for a specified time in a state in which the monitoring of the shake operation is started, it may be determined that the shake operation has occurred.
  • the processor 350 may determine whether a tap operation occurs according to a sensor (eg, an acceleration sensor) and an algorithm other than the detection of the shake motion. For example, the processor 350 checks the amount of impact based on the value sensed by the acceleration sensor 340 , and when the amount of impact continues below the third threshold for a specified time after the second threshold is the second threshold, it is determined as a tap operation.
  • a tap operation may be defined as two or more tap operations (eg, a tap operation). In this case, the processor 350 may determine that a tap operation (or a double tap operation) has occurred when the number of sustain times equal to or less than the third threshold is greater than or equal to a specified number of times (eg, two times).
  • the signal transmission/reception operation of the electronic device 380 and the external device is performed when a specific condition is satisfied, such as when a received signal is greater than or equal to a specified strength or within a specified distance confirmed using UWB communication.
  • a specific condition such as when a received signal is greater than or equal to a specified strength or within a specified distance confirmed using UWB communication.
  • the external device connected to the electronic device 380 through BLE may also activate the sensor to detect the movement of the external device.
  • the external device may generate second motion information related to the motion of the external device.
  • a sensing method and a method of determining a movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) of a sensor provided in the external device may be the same as that of the electronic device 380 .
  • the processor 350 may transmit the first motion information to an external device using the short-range communication module 310 .
  • the processor 350 may transmit the first user information of the electronic device 380 to an external device.
  • the first user information may include a phone number (eg, IMEI) of the electronic device 380, an ID set in an application (or function), and/or device information (eg, MAC address) of the electronic device 380 such as a MAC address. (or a user) may include various information that can be specified.
  • the processor 350 may receive the second motion information and the second user information from the external device using the short-range communication module 310 .
  • the second motion information and the second user information may be generated by an external device in the same manner as the electronic device 380 .
  • the processor 350 may receive information on a service running in the external device and available services from the external device.
  • the processor 350 may further receive information related to the operating state of the external device from the external device using the short-range communication module 310 .
  • the operation state may include whether a specified service, function, or application is executed in the external device.
  • the processor 380 may determine a function to be performed according to the operating state of the electronic device 380 and the operating state of the external device. For example, the processor 380 transmits the selected content to the external device when the external device is executing the gallery application (or the content sharing function), and transmits/receives the selected content to and from each device when a specific content is also selected in the external device You can decide to perform a function.
  • the electronic device 380 and the external device may support various types of short-range wireless communication (eg, Bluetooth, BLE, and/or Wi-Fi) and perform functions required by services and applications.
  • a plurality of possible communication technologies may exist.
  • the electronic device 380 collects an identifier (eg, first user information and second user information) that can distinguish the external device from each other, and information about the type and characteristic of a short-range communication method supported by the electronic device 380 and the external device.
  • the short-distance communication method that best meets the requirements of the service and application (eg, transmission speed, transmission distance or connection stability) can be selected.
  • the service is performed by notifying whether the external device is currently using the short-range communication method for another purpose (eg, Bluetooth earphone) or is temporarily in a difficult state to use.
  • the short-range communication method for another purpose (eg, Bluetooth earphone) or is temporarily in a difficult state to use.
  • Other available short-range wireless communication methods can be selected.
  • the processor 350 determines the operating state of the electronic device 380 and/or the operating state of the external device. can perform the corresponding function.
  • the processor 350 may determine to perform the content transmission function to an external device. At this time, the processor 350 also checks the operating state of the external device, and when the external device executes the content reception function or does not execute the content transmission function, the content transmission function to the external device is performed. can
  • the electronic device 380 may determine to perform a content receiving function from the external device.
  • the processor 350 may transmit the contents of the running application to the external device in response to acquisition of the first motion information and the second motion information. For example, when a shared item is selected while a music application is running, or when a movement of the electronic device 380 and an external device is detected during music playback, the processor 350 may control an item of the music application (eg, a music file). of sharing function can be executed.
  • the processor 350 may execute a screen sharing function with an external device. For example, when a corresponding movement is detected between the electronic device 380 and the external device while writing a document (or memo) in the electronic device 380 and the external device, the display ( 330) may be transmitted to the external device. In this case, the electronic device 380 and the external device may transmit the edited document information according to a user input to synchronize the prepared document contents.
  • the processor 350 may add the external device to the group created by the running application in response to the acquisition of the first motion information and the second motion information. For example, when a game application is running on the electronic device 380, the same game may be executed on the external device through motion detection, or the same game may be participated in the same game group while the game is running.
  • the processor 350 may execute an application being executed in the external device in the electronic device 380 in response to the acquisition of the first motion information and the second motion information.
  • the processor 350 may transmit the digital key stored in the memory 320 to the external device in response to the acquisition of the first motion information and the second motion information.
  • the validity period of the digital key can be set and transmitted.
  • the processor 350 may share the corresponding content when a motion is detected while selecting or opening a shareable file, a contact, a schedule, or a specific content in a note application.
  • the processor 350 may store the content received from the external device in a predetermined folder.
  • the processor 350 may generate one file by combining a file received from the external device with a file stored in the electronic device 380 .
  • the processor 350 may transmit setting information, data, or an application of the electronic device 380 to an external device in response to acquisition of the first motion information and the second motion information.
  • the processor 350 may perform a function determined based on an operating state.
  • the processor 350 may transmit information related to the determined function to an external device through short-range communication (eg, BLE communication), and the external device may perform a function based on the received information.
  • short-range communication eg, BLE communication
  • the processor 350 may display a UI (eg, a pop-up message) for checking whether the function is executed on the display 330 .
  • the processor 350 may perform a function corresponding to a content transmission operation state according to a user selection on the UI.
  • the electronic device 380 may support a plurality of short-range wireless communication methods, for example, GATT (generic attribute profile) with an external device using BLE. Connection, BLE pairing, and/or user authentication may be performed. Thereafter, when the connection is completed, the electronic device 380 may select one of a plurality of short-range wireless communication methods according to the characteristics of the function to be performed. For example, the electronic device 380 may transmit content using Wi-Fi direct after connecting with an external device through BLE communication.
  • GATT generator attribute profile
  • a short-range wireless communication method to be used for content transmission can be selected based on at least one of the strength (or signal quality) of a signal received from an external device, whether to use each wireless short-range wireless communication, and/or a user's selection. have.
  • the electronic device 380 may execute a specified function at least partially simultaneously or sequentially with the plurality of external electronic devices according to the operating states of the plurality of external electronic devices. For example, when a specified operation is detected from a plurality of external electronic devices within a specified time, the electronic device 380 checks the operation state of each external electronic device and performs a function corresponding to the operation state (eg, each external electronic device). to transmit the selected content).
  • a specified operation is detected from a plurality of external electronic devices within a specified time
  • the electronic device 380 checks the operation state of each external electronic device and performs a function corresponding to the operation state (eg, each external electronic device). to transmit the selected content).
  • FIG. 4 is a flowchart of a method of performing functions of the first electronic device 480 and the second electronic device 490 according to various embodiments of the present disclosure.
  • the first electronic device 480 and the second electronic device 490 of FIG. 4 may be devices including the same components as the electronic device 101 of FIG. 1 or the electronic device 380 of FIG. 3 .
  • the first electronic device 480 may broadcast a short-range wireless signal in response to a specified event.
  • a short-range wireless signal broadcast by the first electronic device 480 will be described as an example as a BLE signal, but the present invention is not limited thereto, and discovery and connection of the second electronic device 490 such as Wi-Fi aware Other supported short-range wireless communication methods may be used.
  • the specified event may include at least one of execution of a specified application, a touch input to the display 330, or a user input to an external key.
  • the first electronic device 480 may broadcast a BLE signal.
  • the BLE signal transmitted from the first electronic device 480 includes information related to an operation state (eg, execution of a sharing function of image content) of the first electronic device, and a phone number (eg, IMEI) of the first electronic device, an application (or function) and/or the first user information including various information for specifying the first electronic device 480 (or the user) such as device information (eg, MAC address).
  • the first electronic device 480 When the first electronic device 480 broadcasts the BLE signal, other devices (eg, the second electronic device 490) located within the BLE detection distance may detect the BLE signal.
  • the first electronic device 480 may activate a sensor (eg, the sensor 340 of FIG. 3 , for example, an acceleration sensor, and/or a gyro sensor) to detect the movement of the first electronic device 480 .
  • a sensor eg, the sensor 340 of FIG. 3 , for example, an acceleration sensor, and/or a gyro sensor
  • the first electronic device 480 may detect the movement of the first electronic device 480 using a sensor.
  • the first electronic device 480 may detect a specified motion such as a shake motion, a tap motion, a rollable motion, or a folding motion, and may generate first motion information when the motion satisfies a specified condition.
  • the first motion information may be set to flag 0 or 1 according to whether a specified movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) occurs.
  • the first electronic device 480 may obtain information on the number, duration, and/or occurrence time of the shake operation, the tap operation, the rollable operation, or the foldable operation.
  • the second electronic device 490 uses a sensor (eg, the sensor 340 of FIG. 3 ) to move the second electronic device 490 (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation). motion) can be detected.
  • a sensor eg, the sensor 340 of FIG. 3
  • the second electronic device 490 may activate a sensor of the second electronic device 490 and detect a movement.
  • the second electronic device 490 may transmit the acquired second motion information to the first electronic device 480 .
  • the second electronic device 490 may further transmit second user information of the second electronic device 490 .
  • the second electronic device 490 may transmit information related to an operation state of the second electronic device 490 (eg, execution of a sharing function of image content) to the first electronic device 480 .
  • a GATT (generic attribute profile) connection, BLE pairing, and/or Interconnection can be performed through the user authentication process.
  • operations 404 and 405 are performed after operation 402, but the order is not determined. For example, when a motion such as a shake motion, a tab motion, a rollable motion, or a folding motion is detected by the user of the second electronic device 490 before the first electronic device 480 , operations 404 and 405 . may be performed at least partially prior to operation 402 .
  • the first electronic device 480 may identify second motion information transmitted from the second electronic device 490 .
  • the first electronic device 480 may check the second motion information received within a specified time after detecting the shake motion tab motion, the rollable motion, or the foldable motion of the electronic device.
  • the first electronic device 480 may check the operating state of the first electronic device 480 and/or the second electronic device 490 .
  • the operation state may include a performance state of a specified service, application, or function.
  • the first electronic device 480 may identify a function mapped to an operation state. For example, when content sharing of the gallery application is being executed in the first electronic device 480 , it may be determined to perform a content transmission function to the second electronic device 490 . As another example, when content sharing of the gallery application is being executed in the second electronic device 490 , it may be determined to perform a content receiving function from the second electronic device 490 .
  • the first electronic device 480 and the second electronic device 490 may perform a confirmed function (eg, transmission or reception of content).
  • the first electronic device 480 and the second electronic device 490 may be connected to one of a plurality of short-range communication methods (eg, Wi-Fi direct) to perform a function.
  • FIG. 5 is a flowchart of a content sharing method of a first electronic device and a second electronic device according to various embodiments of the present disclosure
  • the first electronic device 580 and the second electronic device 590 of FIG. 5 may be devices including the same components as the electronic device 101 of FIG. 1 or the electronic device 380 of FIG. 3 .
  • a first electronic device 580 (eg, the electronic device 200 of FIG. 2 , the electronic device 380 of FIG. 3 , or the first electronic device 480 of FIG. 4 ) according to various embodiments of the present disclosure.
  • the second electronic device may include an application 591 , a connection service framework 592 , and a service module 593 .
  • the applications 591 and 592 are one of applications supporting a content sharing function, and may be, for example, a gallery application.
  • Connection service framework (connectivity service framework) (582, 592) (or sharing module) is a software module that performs a content sharing function (eg, Insync, or quick share) implemented in the gallery application 581, the service module ( 583 and 593 (or BT advanced object push profile (OPP)) may be a profile used for content sharing.
  • content sharing function eg, Insync, or quick share
  • OPP BT advanced object push profile
  • At least some of the operations of the applications 581 and 591 , the connection service frameworks 582 and 592 , and the service modules 583 and 593 to be described later are performed by the first electronic device 580 and/or the second electronic device 590 . This may be performed by a processor (eg, the processor 350 of FIG. 3 ).
  • the application 581 of the first electronic device 580 may detect a user input (or user action) for content selection. For example, after selecting a specific image content in the gallery application 581, select the content sharing menu from the menu, or select the corresponding content when selecting a specified touch input such as a long touch or detail view and selecting an external device (eg, An operation for sharing with the second electronic device 590 may be performed.
  • a user input or user action
  • the application 581 of the first electronic device 580 may detect a user input (or user action) for content selection. For example, after selecting a specific image content in the gallery application 581, select the content sharing menu from the menu, or select the corresponding content when selecting a specified touch input such as a long touch or detail view and selecting an external device (eg, An operation for sharing with the second electronic device 590 may be performed.
  • the gallery application 581 may register the selected image content as content to be shared in the connection service framework 582 of the first electronic device 580 .
  • the gallery application 581 may request the connection service framework 582 to share content.
  • the gallery application 581 may transmit information about the selected image content (eg, a file name, a file size, and/or a file location) to the connection service framework 582 .
  • the connection service framework 582 of the first electronic device 580 may activate a sensor (eg, an acceleration sensor and/or a gyro sensor) in response to content selection.
  • a sensor eg, an acceleration sensor and/or a gyro sensor
  • the first electronic device 580 activates the sensor according to the user input before the detection 501 of the user input for content selection, or after advertising the BLE signal 504 , the sensor can also be activated.
  • connection service framework 582 of the first electronic device 580 transmits a short-range wireless communication signal (eg, a short-range communication module 310 of FIG. 3 ) through a short-range communication module (eg, the short-range communication module 310 of FIG. 3 ) in response to content selection. It is possible to start advertising (or broadcasting) of the BLE signal).
  • a short-range wireless communication signal eg, a short-range communication module 310 of FIG. 3
  • a short-range communication module eg, the short-range communication module 310 of FIG. 3
  • the advertised BLE signal may be received by the second electronic device 590 .
  • the BLE signal may include a sensor activation request, and may not include information for connection (eg, pairing) between the first electronic device 580 and the second electronic device 590 . (e.g. non-connectable BLE advertising)
  • connection service framework 582 of the first electronic device 580 may initiate scanning of a BLE signal.
  • connection service framework 592 of the second electronic device 590 may operate in an onScan state.
  • connection service framework 592 of the second electronic device 590 may activate the sensor based on the BLE signal received from the first electronic device 580 .
  • the first electronic device 580 detects a designated movement through a sensor
  • the second electronic device 590 detects a designated movement through a sensor.
  • the designated motion may include a shake motion, a tap motion, a rollable motion, or a foldable motion.
  • the first electronic device 580 generates first motion information in response to the sensed motion and transmits it to the second electronic device 590
  • the second electronic device 590 responds to the detected motion and transmits the second motion information. may be generated and transmitted to the first electronic device 580 .
  • the first user information of the first electronic device 580 and the second user information of the second electronic device 590 may be exchanged with each other.
  • connection service framework 592 of the second electronic device 590 may start advertising a short-range wireless communication signal (eg, a BLE signal).
  • a short-range wireless communication signal eg, a BLE signal
  • the BLE signal advertised by the second electronic device 590 may be received by the first electronic device 580 .
  • the BLE signal may include information for connection (eg, pairing) between the first electronic device 580 and the second electronic device 590 .
  • connection e.g, pairing
  • connection service framework 582 of the first electronic device 580 may operate in an onScan state and receive a BLE signal transmitted from the second electronic device 590 .
  • the first electronic device 580 and the second electronic device 590 may perform BLE connection.
  • the first electronic device 580 and the second electronic device 590 may exchange data necessary for mutual authentication and subsequent data exchange during or after the BLE connection process.
  • the first electronic device 580 and the second electronic device 590 may exchange operation state and motion information of each device using a BLE signal without mutual authentication.
  • the connection service framework 582 of the first electronic device 80 may verify the validity of data (eg, second user information) received from the second electronic device 590 .
  • data eg, second user information
  • the phone number of the second electronic device 590 is stored in the contact application of the first electronic device 580
  • the ID of the second electronic device 590 is stored in the connection service framework 582 or a specific application. If is recorded, it can be judged to be valid.
  • connection service framework 582 of the first electronic device 580 may transmit device found to the application 581 according to validation.
  • the application 581 may transmit a uniform resource identifier (URI) for content sharing to the connection service framework 582 .
  • URI uniform resource identifier
  • connection service framework 582 of the first electronic device 580 performs a UI (eg, a pop-up message) for confirming whether content sharing is executed through a display (eg, the display 330 of FIG. 3 ). may be displayed, and a user input may be received.
  • a UI eg, a pop-up message
  • connection service framework 582 of the first electronic device 580 sends a message for activating a short-range wireless communication method (eg, Bluetooth or Wi-Fi) designated for content sharing to the second electronic device ( 590 may be transmitted to the connection service framework 592 .
  • a short-range wireless communication method eg, Bluetooth or Wi-Fi
  • connection service framework 582 of the first electronic device 580 may request the service module (object push profile) 583 to transmit content.
  • the service module 583 of the first electronic device 580 selects a short-range wireless communication method (eg, Bluetooth, Wi-Fi direct) to be used for executing a content sharing function with the second electronic device 590, Interconnection may be attempted using the selected short-range wireless communication method, and the selected content may be transmitted to the second electronic device 590 through the connection.
  • a short-range wireless communication method eg, Bluetooth, Wi-Fi direct
  • Interconnection may be attempted using the selected short-range wireless communication method, and the selected content may be transmitted to the second electronic device 590 through the connection.
  • the first electronic device 580 and the second electronic device 590 perform the service module process to share content using Bluetooth (or BLE).
  • Wi-Fi Direct the first electronic device 580 and the second electronic device 590 may perform an operation for Wi-Fi Direct connection.
  • the connection service framework 592 of the second electronic device 590 displays a UI (eg, a pop-up message) for confirming whether the content is received through the display, and when a user input is received, the content is provided received and stored in memory.
  • a UI eg, a pop-up message
  • the first electronic device 580 and the second electronic device 590 transmit and receive content, respectively, information related to content transmission/reception may be displayed on a display of each device.
  • connection service framework 582 of the first electronic device 580 may transmit the result to the application 581 .
  • the application 581 of the first electronic device 580 may request unregister from the connection service framework 582 . Accordingly, the sensor of the first electronic device 580 may also be deactivated. According to an embodiment, the second electronic device 590 may also deactivate the sensor activated in operation 508 .
  • FIG. 6 to 9 are flowcharts of methods of performing functions of a first electronic device and a second electronic device according to various embodiments of the present disclosure.
  • the functions that can be performed are not limited thereto, and the screen sharing function, the addition of a group created in the application, and the application Various functions may be performed, such as the execution of
  • FIG. 6 is a flowchart of a method for performing a function when the second electronic device does not perform the same function as that of the first electronic device.
  • the first electronic device 680 and the second electronic device 690 of FIG. 6 may be devices including the same components as the electronic device 101 of FIG. 1 or the electronic device 380 of FIG. 3 .
  • the first electronic device 680 may select content to be shared (eg, image or video content) according to a user input while an application (eg, a gallery application) supporting a content sharing function is running. .
  • the first electronic device 680 may select a content to be shared when a content sharing menu is selected on an application or a specified touch input such as a long touch or a detail view is selected on the content.
  • the first electronic device 680 may additionally provide a menu for determining a movement operation (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) for content sharing.
  • the application of the first electronic device 680 may register the selected content in the sharing module (eg, the sharing module 582 of FIG. 5 ) as content to be shared.
  • the first electronic device 680 may activate the sensor when the sensor (eg, the sensor 340 of FIG. 3 ) is in an inactive state in order to detect the movement of the first electronic device 680 when content is selected. have.
  • the sensor eg, the sensor 340 of FIG. 3
  • the first electronic device 680 may broadcast a short-range wireless signal (eg, a BLE signal).
  • a short-range wireless signal eg, a BLE signal
  • the short-range wireless signal broadcast by the first electronic device 680 will be described as an example of a BLE signal, but the present invention is not limited thereto.
  • Other short-range wireless communication methods supporting the connection may be used.
  • the BLE signal broadcast from the first electronic device 680 may include a service activation request. For example, as the service activation request activates the content sharing function based on the content selection by the first electronic device 680, an application for the content sharing function is transmitted to another adjacent device (eg, the second electronic device 690).
  • the BLE signal may include information requesting confirmation of whether or not the
  • the BLE signal may include information related to the operating state of the first electronic device 680 .
  • the information related to the operating state may include information related to an application or service being executed in the first electronic device 680 .
  • the BLE signal may include information for connection (eg, pairing) between the first electronic device 580 and the second electronic device 590 .
  • the second electronic device 690 in response to reception of the BLE signal, may activate the sensor when the sensor is in an inactive state in order to detect a movement of the second electronic device 690 . .
  • operation 602 may be performed based on execution of a specified application. For example, when a specified application is executed or a specified menu is selected in the first electronic device 680 , the first electronic device 680 may perform operation 602 . In this case, operation 601 may be performed after operation 602 or after operation 609 (eg, communication connection).
  • operation 601 may be performed after operation 602 or after operation 609 (eg, communication connection).
  • the first electronic device 680 may detect the movement of the first electronic device 680 using the activated sensor.
  • the first electronic device 680 may detect a specified motion, such as a shake motion or a tap motion, and may generate first motion information when the motion satisfies a specified condition.
  • the first motion information may be set to flag 0 or 1 according to whether a specified movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) occurs.
  • the first electronic device 680 may acquire information on the number, duration, and/or occurrence time of the shake operation, the tap operation, the rollable operation, or the foldable operation.
  • the detection of the movement of the first electronic device 680 includes not only detection of a specified movement (eg, a shake operation, a tap operation, a rollable operation or a foldable operation) using the activated sensor, but also the detection of the first electronic device ( 680) may include a menu input in the application being executed, an input of a designated HW button (eg, a key button), or a designated SW input (eg, a touch input, a swipe input, a long press input, or a force touch). .
  • a specified movement eg, a shake operation, a tap operation, a rollable operation or a foldable operation
  • the detection of the first electronic device ( 680) may include a menu input in the application being executed, an input of a designated HW button (eg, a key button), or a designated SW input (eg, a touch input, a swipe input, a long press input, or a force touch).
  • the first electronic device 680 and the second electronic device 690 can detect a direction indicated by each device and/or a distance between the two devices through wireless communication (eg, UWB), the direction and/or a function corresponding to motion detection may be performed based on the distance.
  • a direction indicated by each device and/or a distance between the two devices through wireless communication (eg, UWB)
  • the direction and/or a function corresponding to motion detection may be performed based on the distance.
  • the second electronic device 690 may detect the movement of the second electronic device 690 using the activated sensor. For example, the second electronic device 690 may detect whether a specified movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) for activating the content sharing function occurs.
  • a specified movement eg, a shake operation, a tap operation, a rollable operation, or a foldable operation
  • the detection of the motion of the second electronic device 690 includes not only detection of a designated motion (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion) using the activated sensor, but also the second electronic device ( 690) may include a menu input in the application being executed, an input of a designated HW button (eg, a key button), or a designated SW input (eg, a touch input, a swipe input, a long press input, or a force touch). .
  • a designated motion eg, a shake motion, a tap motion, a rollable motion, or a foldable motion
  • the second electronic device ( 690) may include a menu input in the application being executed, an input of a designated HW button (eg, a key button), or a designated SW input (eg, a touch input, a swipe input, a long press input, or a force touch).
  • the first electronic device 680 and the second electronic device 690 can detect a direction indicated by each device and/or a distance between the two devices through wireless communication (eg, UWB), the direction and/or a function corresponding to motion detection may be performed based on the distance.
  • a direction indicated by each device and/or a distance between the two devices through wireless communication (eg, UWB)
  • the direction and/or a function corresponding to motion detection may be performed based on the distance.
  • the second electronic device 690 may check the operating state of the second electronic device 690 . For example, when the operating state of the first electronic device 680 indicates that a gallery application supporting a content sharing function is running, it is determined whether the same application or another application capable of content sharing is running on the second electronic device 690 . can be checked In the present embodiment, it may be confirmed that the second electronic device 690 is not executing the corresponding application. In another embodiment, in the second electronic device 690 , the gallery application running for the content sharing function in the first electronic device 680 may not be installed.
  • the second electronic device 690 may broadcast a BLE signal.
  • the BLE signal may include a communication connection request for executing a content sharing function with the first electronic device 680 .
  • the BLE signal may include second motion information corresponding to the motion of the second electronic device 690 and/or information related to the operating state of the second electronic device 690 .
  • the first electronic device 680 may establish a BLE connection with the second electronic device 690 based on the BLE signal transmitted by the second electronic device 690 .
  • the first electronic device 680 and the second electronic device 690 may establish a BLE connection based on an interconnection operation such as a generic attribute profile (GATT) connection, BLE pairing, and user authentication operation.
  • GATT generic attribute profile
  • the first electronic device 680 may further receive the second user information of the second electronic device 690 from the second electronic device 690 and verify the validity of the second user information. For example, when the phone number of the second electronic device 690 is stored in the contact application of the first electronic device 680 or the ID of the second electronic device 690 is recorded in a sharing module or a specific application , can be considered valid.
  • the first electronic device 680 may check the second motion information and/or the operation state of the second electronic device 690 based on the BLE signal received from the second electronic device 690 .
  • the first electronic device 680 may check the second motion information received within a specified time after detecting a shake motion, a tab motion, a rollable motion, or a foldable motion of the first electronic device 680 .
  • the first electronic device 680 confirms that the second electronic device 690 is not in a state in which the gallery application is executed, based on the operation state of the second electronic device 690 , and It may be determined as a function to perform one-way transmission of the selected content from the device 680 to the second electronic device 690 .
  • the first electronic device 680 may transmit information related to a short-range wireless communication connection to the second electronic device 690 for content sharing.
  • the first electronic device 680 selects a short-range wireless communication method (eg, Wi-Fi Direct) to be used for content sharing, and information necessary for connection and/or authentication of the short-range wireless communication method. may be transmitted to the second electronic device 690 .
  • a short-range wireless communication method eg, Wi-Fi Direct
  • the first electronic device 680 and the second electronic device 690 may establish a short-range wireless communication connection.
  • the first electronic device 680 uses another short-range wireless communication method (eg, Wi-Fi Direct).
  • a connection with the second electronic device 690 may be attempted using Bluetooth).
  • the first electronic device 680 may display a transmission/reception state such as transmission failure using Wi-Fi Direct as a notification panel or a pop-up.
  • the first electronic device 680 may transmit the selected content to the second electronic device 690 using the established short-range wireless communication connection.
  • the first electronic device 680 may transmit the result to the application.
  • the first electronic device 680 and the second electronic device 690 may deactivate the sensor.
  • the first electronic device 780 and the second electronic device 790 of FIG. 7 may be devices including the same components as the electronic device 101 of FIG. 1 or the electronic device 380 of FIG. 3 .
  • the first electronic device 780 may select content to be shared (eg, image or video content) according to a user input while an application (eg, a gallery application) supporting a content sharing function is running .
  • the first electronic device 780 may activate the sensor when the sensor is in an inactive state to detect a motion in response to selection of content.
  • the first electronic device 780 may broadcast a short-range wireless signal (eg, a BLE signal).
  • the BLE signal broadcast from the first electronic device 780 may include a service activation request.
  • the first electronic device 780 transmits information requesting activation of the content sharing function to another adjacent device (eg, the second electronic device 790 ).
  • the BLE signal may include information related to the operating state of the first electronic device 780 .
  • the information related to the operating state may include information related to an application or service being executed in the first electronic device 780 .
  • the second electronic device 790 may activate the sensor based on the BLE signal received from the first electronic device 780 .
  • operation 702 may be performed based on execution of a specified application. For example, when a specified application is executed or a specified menu is selected in the first electronic device 780 , the first electronic device 780 may perform operation 702 . In this case, operation 701 may be performed after operation 702 to before operation 710 (eg, after communication connection).
  • the first electronic device 780 may detect the movement of the first electronic device 780 using the activated sensor.
  • the first electronic device 780 may detect a designated motion, such as a shake motion, a tap motion, a rollable motion, or a folding motion, and may generate first motion information when the motion satisfies a specified condition.
  • the detection of the movement of the first electronic device 780 includes not only detection of a designated movement (eg, a shake operation, a tap operation, a rollable operation or a foldable operation) using the activated sensor, but also the detection of the first electronic device ( 780) may include a menu input in the application being executed, an input of a designated HW button (eg, a key button), or a designated SW input (eg, a touch input, a swipe input, a long press input, or a force touch). .
  • a designated movement eg, a shake operation, a tap operation, a rollable operation or a foldable operation
  • the detection of the first electronic device ( 780) may include a menu input in the application being executed, an input of a designated HW button (eg, a key button), or a designated SW input (eg, a touch input, a swipe input, a long press input, or a force touch).
  • the first electronic device 780 and the second electronic device 790 can detect a direction indicated by each device and/or a distance between the two devices through wireless communication (eg, UWB), the direction and/or a function corresponding to motion detection may be performed based on the distance.
  • a direction indicated by each device and/or a distance between the two devices through wireless communication (eg, UWB)
  • the direction and/or a function corresponding to motion detection may be performed based on the distance.
  • the second electronic device 790 detects a motion (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion) of the second electronic device 790 using the activated sensor.
  • the detection of the motion of the second electronic device 790 includes not only detecting a designated motion (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion) using the activated sensor, but also the second electronic device ( 790) may include menu input in the application being executed, input of a designated HW button (eg, key button), or a designated SW input (eg, touch input, swipe input, long press input, or force touch). .
  • a designated motion eg, a shake motion, a tap motion, a rollable motion, or a foldable motion
  • the second electronic device 790 may check an executable function with respect to the operating state of the first electronic device 780 . For example, when a sharing function or application of the selected content is executed by the first electronic device 780, an application or function supporting reception of the corresponding content may be checked. According to various embodiments, there may be no functions executable in the second electronic device 790 or there may be one or more functions, and when there are a plurality of functions executable, the device state of the second electronic device 790 and/or the current corresponding application Alternatively, priority may be assigned according to whether a function is executed or not.
  • the second electronic device 790 may broadcast a BLE signal.
  • the BLE signal may include second motion information detected by the second electronic device 790 and/or information on an executable function in relation to the operating state of the first electronic device 780 .
  • the second electronic device 790 may transmit information related to the gallery application of the second electronic device 790 corresponding to the gallery application being executed in the first electronic device 780 .
  • the second electronic device 790 transmits information related to another application (eg, an image editing application) of the second electronic device 790 corresponding to the gallery application being executed on the first electronic device 780 .
  • another application eg, an image editing application
  • the first electronic device 780 may identify second motion information and executable functions of the second electronic device 790 based on the BLE signal received from the second electronic device 790 .
  • the first electronic device 780 detects a movement of the first electronic device 780 (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) within a specified time based on the detection time. It may be checked whether the same type of movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) occurs in the second electronic device 790 .
  • a movement of the first electronic device 780 eg, a shake operation, a tap operation, a rollable operation, or a foldable operation
  • the second motion information transmitted by the second electronic device 790 may include information on a time at which the second motion is sensed, and the first electronic device 780 transmits the time at which the second motion is sensed. Whether to share the selected content with the second electronic device 790 may be checked based on the information on .
  • the second electronic device 790 may further transmit the second user information of the second electronic device 790 , and the first electronic device 780 may verify the validity of the second user information. have.
  • the BLE signal transmitted by the second electronic device 790 in operation 706 may include only information on executable functions of the second electronic device 790 .
  • the first electronic device 780 transmits information related to the operating state of the first electronic device 780 (eg, a content sharing function). It may be checked whether to share the selected content with the second electronic device 790 based on an application (eg, a state in which a gallery application) supporting .
  • an application eg, a state in which a gallery application
  • the first electronic device 780 may transmit information related to a short-range wireless communication connection to the second electronic device 790 to share content with the second electronic device 790 .
  • the first electronic device 780 executes an executable function (eg, execution of a gallery application) checked by the second electronic device 790 (eg, execution of a gallery application) to execute a content sharing function. you can request
  • the first electronic device 780 selects a short-range wireless communication method (eg, Wi-Fi Direct) to be used for content sharing, and information required for connection and/or authentication of the short-range wireless communication method may be transmitted to the second electronic device 790 .
  • a short-range wireless communication method eg, Wi-Fi Direct
  • the first electronic device 780 and the second electronic device 790 may establish a short-range wireless communication connection.
  • the first electronic device 780 uses another short-range wireless communication method (eg, Wi-Fi Direct).
  • a connection with the second electronic device 790 may be attempted using Bluetooth).
  • the first electronic device 780 may display a transmission/reception status such as transmission failure using Wi-Fi Direct as a notification panel or a pop-up.
  • the first electronic device 780 may transmit the selected content to the second electronic device 790 using the established short-range wireless communication connection.
  • 8 is a flowchart of a method for performing a function when the same application as that of the first electronic device and the second electronic device is being executed. 8 illustrates an embodiment in which the content of the first electronic device 880 is transmitted to the second electronic device 890 while the first electronic device 880 and the second electronic device 890 are executing the same application. is showing The first electronic device 880 and the second electronic device 890 of FIG. 8 may be devices including the same components as the electronic device 101 of FIG. 1 or the electronic device 380 of FIG. 3 .
  • the first electronic device 880 may select content to be shared (eg, image or video content) according to a user input while an application (eg, a gallery application) supporting a content sharing function is running. . Based on the selection of content, the first electronic device 880 may activate the sensor when the sensor is in an inactive state for motion detection.
  • content to be shared eg, image or video content
  • an application eg, a gallery application
  • the first electronic device 880 may broadcast a short-range wireless signal (eg, a BLE signal).
  • the BLE signal broadcast from the first electronic device 880 may include a service activation request.
  • the first electronic device 880 activates the content sharing function by selecting the content, it is checked whether an application for the content sharing function is executed in another adjacent device (eg, the second electronic device 890 ). It may include information requesting it.
  • the BLE signal may include information related to the operating state of the first electronic device 880 .
  • the information related to the operating state may include information related to an application or service being executed in the first electronic device 880 .
  • the second electronic device 890 may activate the sensor when the sensor is in an inactive state to detect motion in response to reception of the BLE signal.
  • operation 802 may be performed based on execution of a specified application. For example, when a specified application is executed or a specified menu is selected in the first electronic device 880 , the first electronic device 880 may perform operation 802 . In this case, operation 801 may be performed after operation 802 to before operation 810 (eg, after communication connection).
  • the first electronic device 880 detects a movement (eg, a shake operation, a tap operation, a rollable operation or a foldable operation) of the first electronic device 880 using the activated sensor.
  • the detection of the motion of the first electronic device 880 includes not only detection of a specified motion (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion) using the activated sensor, but also the first electronic device ( 880) may include a menu input in the application being executed, an input of a designated HW button (eg, a key button), or a designated SW input (eg, a touch input, a swipe input, a long press input, or a force touch). .
  • a designated HW button eg, a key button
  • SW input eg, a touch input, a swipe input, a long press input, or a force touch
  • the second electronic device 890 detects a motion (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion) of the second electronic device 890 using the activated sensor.
  • the detection of the motion of the second electronic device 890 includes not only detecting a designated motion (eg, a shake motion, a tap motion, a rollable motion, or a folding motion) using the activated sensor, but also the second electronic device ( 890) may include menu input in the application being executed, input of a designated HW button (eg, key button), or a designated SW input (eg, touch input, swipe input, long press input, or force touch). .
  • a designated motion eg, a shake motion, a tap motion, a rollable motion, or a folding motion
  • the first electronic device 880 and the second electronic device 890 can detect a direction indicated by each device and/or a distance between the two devices through wireless communication (eg, UWB), the direction and/or a function corresponding to motion detection may be performed based on the distance.
  • a direction indicated by each device and/or a distance between the two devices through wireless communication (eg, UWB)
  • the direction and/or a function corresponding to motion detection may be performed based on the distance.
  • the second electronic device 890 may check the operating state of the second electronic device 890 . For example, when the operating state of the first electronic device 880 indicates that a gallery application supporting a content sharing function is running, it is determined whether the same application or another application capable of content sharing is running on the second electronic device 890 . can be checked In this embodiment, it can be confirmed that the second electronic device 890 is currently executing the corresponding application.
  • the second electronic device 890 may broadcast a BLE signal.
  • the BLE signal may include a communication connection request for executing a content sharing function with the first electronic device 880 .
  • the BLE signal may include second motion information corresponding to the motion of the second electronic device 890 and/or information related to the operating state of the second electronic device 890 .
  • the second electronic device 890 may transmit operation state information including that an application for executing the content sharing function is currently running to the first electronic device 880 .
  • the first electronic device 880 may check the second motion information and/or the operation state of the second electronic device 890 based on the BLE signal received from the second electronic device 890 .
  • the first electronic device 880 may confirm that the second electronic device 890 is executing a gallery application supporting execution of a content sharing function.
  • the BLE signal transmitted by the second electronic device 890 in operation 806 may include only operation state information of the second electronic device 890 .
  • the first electronic device 880 may Whether to share the selected content with the second electronic device 890 may be checked based on information related to the operation state of the 880 (eg, information related to an application or service being executed on the first electronic device 880). .
  • the first electronic device 880 may transmit information related to a short-range wireless communication connection to the second electronic device 890 for content sharing.
  • the first electronic device 880 may transmit information indicating that the same application supporting the content sharing function is running to the second electronic device 890 .
  • the first electronic device 880 and the second electronic device 890 can perform content sharing with each other.
  • the first electronic device 880 and the second electronic device 890 may share contents stored in a designated folder with each other.
  • the first electronic device 880 and the second electronic device 890 may establish a short-range wireless communication connection using a short-range wireless communication method (eg, Wi-Fi Direct) to be used for content sharing.
  • a short-range wireless communication method eg, Wi-Fi Direct
  • the first electronic device 880 may transmit the selected content to the second electronic device 890 using the established short-range wireless communication connection.
  • the first electronic device 880 uploads content to be shared to an external server without using short-range wireless communication as in operations 809 and 810, and provides information (eg, URL) for downloading the content. ) may be transmitted to the second electronic device 890 .
  • the first electronic device 880 and the second electronic device 890 create one shared album on the gallery application and store the shared image content, or create a composite image using the shared image content.
  • media content eg, a music file
  • the first electronic device 880 and the second electronic device 890 add the shared media content to the playlist to create a shared playlist.
  • 9 is a flowchart of a method for performing a function when the same application as that of the first electronic device and the second electronic device is being executed.
  • 9 is an exemplary embodiment in which the first electronic device 980 and the second electronic device 990 transmit and receive contents of the first electronic device 980 and the second electronic device 990 while the same application is being executed. is shown about
  • the first electronic device 980 and the second electronic device 990 of FIG. 9 may be devices including the same components as the electronic device 101 of FIG. 1 or the electronic device 380 of FIG. 3 .
  • the first electronic device 980 may select content to be shared (eg, image or video content) according to a user input while an application (eg, a gallery application) supporting a content sharing function is running. . Based on the selection of content, the first electronic device 980 may activate the sensor when the sensor is in an inactive state for motion detection.
  • content to be shared eg, image or video content
  • an application eg, a gallery application
  • the first electronic device 980 may broadcast a short-range wireless signal (eg, a BLE signal).
  • the BLE signal broadcast from the first electronic device 980 may include a service activation request and may include information related to an operating state of the first electronic device 980 .
  • the second electronic device 990 may activate the sensor when the sensor is in an inactive state for motion detection based on the reception of the BLE signal.
  • the first electronic device 980 detects a movement (eg, a shake operation, a tap operation, a rollable operation or a foldable operation) of the first electronic device 980 using the activated sensor.
  • a movement eg, a shake operation, a tap operation, a rollable operation or a foldable operation
  • the second electronic device 990 detects a motion (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion) of the second electronic device 990 using the activated sensor.
  • a motion eg, a shake motion, a tap motion, a rollable motion, or a foldable motion
  • the second electronic device 990 may check an operation state of the second electronic device 990 . For example, if the operating state of the first electronic device 980 indicates that a gallery application supporting a content sharing function is running, whether the same application or another application capable of sharing content is running on the second electronic device 990 . can be checked. In this embodiment, it can be confirmed that the second electronic device 990 is currently executing the corresponding application. According to an embodiment, the second electronic device 990 may share content with the first electronic device 980 based on the same application as the application running on the first electronic device 980 or another application capable of content sharing. can For example, the second electronic device 990 may receive a selection of content to be transmitted to the first electronic device 980 based on a user input.
  • the second electronic device 990 may broadcast a BLE signal.
  • the BLE signal may include a communication connection request for executing a content sharing function with the first electronic device 980 .
  • the BLE signal may include second motion information corresponding to the motion of the second electronic device 990 and information related to the operating state of the second electronic device 990 .
  • the second electronic device 990 may transmit operation state information including that an application for executing the content sharing function is currently running to the first electronic device 980 .
  • the first electronic device 980 may broadcast the BLE signal at least partially simultaneously with the BLE signal broadcasting of the second electronic device 990 .
  • the BLE signal is first motion information related to an operation state of the first electronic device 980 and a motion detected by the first electronic device 980 (eg, a shake motion, a tap motion, a rollable motion, or a foldable motion). may include
  • the first electronic device 980 may check the second motion information and the operation state of the second electronic device 990 based on the BLE signal received from the second electronic device 990 . For example, the first electronic device 980 determines whether the same type of movement (eg, a shake operation, a tap operation, a rollable operation or a foldable operation) occurs within a predetermined time in the second electronic device 990 and/ Alternatively, you can check whether the same or similar application is running or not. It may be confirmed that the second electronic device 990 is executing a gallery application supporting execution of a content sharing function.
  • the same type of movement eg, a shake operation, a tap operation, a rollable operation or a foldable operation
  • the second electronic device 990 may check the first motion information and the operation state of the first electronic device 980 based on the BLE signal received from the first electronic device 980 .
  • the first electronic device 980 and the second electronic device 990 perform the same type of movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) within a predetermined time. operation) has occurred, and whether the same or similar application is running.
  • the first electronic device 980 and the second electronic device 990 may exchange information related to a short-range wireless communication connection to share content.
  • the first electronic device 980 and the second electronic device 990 may establish a short-range wireless communication connection using a short-range wireless communication method (eg, Wi-Fi Direct) to be used for content sharing.
  • a short-range wireless communication method eg, Wi-Fi Direct
  • the first electronic device 980 transmits the selected content to the second electronic device 990 using the established short-range wireless communication connection, and at least a part thereof simultaneously or sequentially to the second electronic device 990 .
  • the first electronic device 980 and the second electronic device 990 may transmit content to a counterpart device through different channels or sequentially transmit/receive content on the same channel.
  • the first electronic device 980 and the second electronic device 990 upload content to be shared to an external server without using short-range wireless communication, and information (eg, download the content) : URL) to the counterpart device.
  • the first electronic device 980 and the second electronic device 990 may store content received from the counterpart device in a predetermined folder.
  • the first electronic device 980 and the second electronic device 990 create one shared album on the gallery application and store the shared image content, or create a composite image using the shared image content.
  • media content eg, a music file
  • the first electronic device 980 and the second electronic device 990 add the shared media content to the playlist to create a shared playlist.
  • FIG. 10A illustrates an example of a shake operation according to various embodiments.
  • the electronic device 1080 detects movement using a sensor (eg, the sensor 340 of FIG. 3 ).
  • a sensor eg, the sensor 340 of FIG. 3
  • first motion information may be generated and transmitted to an external device (eg, the second electronic device 490 of FIG. 4 ), where the specified type of motion is Shake motions may be included.
  • the shake operation may be an operation of shaking the electronic device 1080 in the forward/backward direction (or up/down direction) while the user holds the electronic device 1080 .
  • the user can slowly move the electronic device in a backward direction and then perform a moving shake motion while applying a force in a forward direction, as shown in reference number 1082. have.
  • the user may perform a shake motion of moving the electronic device forward, as shown by reference numeral 1082, and then moving the electronic device in a backward direction, as shown by reference numeral 1081 .
  • the electronic device 1080 may recognize the shake motion by extracting feature points and motion patterns for the shake motion through a sensing value of a sensor (eg, a gyro sensor).
  • a sensor eg, a gyro sensor
  • 10B illustrates an example of a tap operation according to various embodiments.
  • the tap operation may be a gesture in which the user collides the electronic device 1080 with another object (eg, the external device 1090 (eg, the second electronic device 490 of FIG. 4 )).
  • the user may hold the electronic device 1080 and the external device 1090 with the left hand and the right hand, respectively, and manipulate the side surfaces of the electronic device 1080 and the external device 1090 to collide with each other.
  • the sensing value of the sensor may be a pattern in which the first impulse is detected and a silent period is continued for a certain period of time, then the second impulse is detected and a silent period occurs again for a certain period of time.
  • the electronic device 1080 and the external device 1090 detect the same type of motion, such as a shake motion, a tap motion, a rollable motion, or a foldable motion
  • the content sharing function is executed.
  • the content sharing function may be triggered by various means, such as selection on the UI, user's voice recognition, direction and/or distance recognition using UWB.
  • 11A and 11B illustrate pop-up messages displayed in a first electronic device and a second electronic device according to various embodiments of the present disclosure
  • the first electronic device 1180 detects a specified movement (eg, a shake operation, a tap operation, a rollable operation, or a foldable operation) from a sensor, and the second electronic device ( When motion information corresponding to the same type of motion as the motion of the first electronic device 1180 is received from 1190), a UI 1185 for selecting whether to transmit content is displayed (eg, the display 330 of FIG. 3 ).
  • a specified movement eg, a shake operation, a tap operation, a rollable operation, or a foldable operation
  • the first electronic device 1180 transmits or shares the selected content to an external device (eg, the second electronic device 1190) based on a user input to transmit or share information related to a content transmission operation to the outside and/or
  • information on the first electronic device 1180 eg, a phone number (eg, IMEI) of the first electronic device 1180), an ID set in an application (or function), and/or device information (eg, MAC address)
  • a signal eg, a BLE signal or a WiFi aware signal
  • information including various information for specifying the first electronic device 1180 (or a user) may be transmitted.
  • the UI 1185 may include user information (eg, a phone number, ID, or a user name stored in an application) of the second electronic device 1190 to transmit content, a short-range wireless communication method (eg, Bluetooth or Wi-Fi). -Fi Direct).
  • user information eg, a phone number, ID, or a user name stored in an application
  • a short-range wireless communication method eg, Bluetooth or Wi-Fi.
  • -Fi Direct e.g., Bluetooth or Wi-Fi.
  • the first electronic device 1180 may request the second electronic device 1190 to confirm whether the content is received.
  • the second electronic device 1190 receives a signal (eg, a BLE signal or a WiFi aware signal) related to an operation of the first electronic device 1180 to transmit content, and sends it to the first electronic device 1180 .
  • a signal eg, a BLE signal or a WiFi aware signal
  • a content transmission request and information of the second electronic device 1190 (eg, a phone number (eg, IMEI) of the second electronic device 1190 ), an ID set in an application (or function), and/or device information (eg, MAC) address), such as information including various types of information for specifying the second electronic device 1190 (or the user).
  • the second electronic device 1190 may be transmitted.
  • ) may display a UI 1195 for selecting whether to receive content on the display in response to the content reception confirmation request.
  • a content transmission request may be made to the first electronic device 1180 .
  • the first electronic device 1180 may transmit the selected content to the second electronic device 1190 using a designated short-range wireless communication method in response to the content transmission request.
  • the first electronic device 1180 and the second electronic device 1190 may display a corresponding UI according to a function to be performed. For example, when the first electronic device 1180 and the second electronic device 1190 exchange content with each other (eg, FIG. 9 ), the first electronic device 1180 and the second electronic device 1190 respectively Both a UI 1185 for selecting whether to transmit content and a UI 1195 for selecting whether to receive content may be displayed, or a UI in which the two UIs are integrated may be displayed.
  • the first electronic device 1180 and the second electronic device 1190 may store transmitted/received content in a designated folder.
  • FIG 12 illustrates an embodiment of sharing image content according to various embodiments.
  • the first electronic device 1280 checks a current operation state when acquiring the first motion information of the first electronic device 1280 and the second motion information of the second electronic device 1290, A function corresponding to the operating state may be performed.
  • the function of the first electronic device 1280 to be performed according to the motion detection and operation state may include content transmission to the second electronic device 1290 or content reception from the second electronic device 1290 .
  • the first electronic device 1280 may execute a gallery application and select specific image content 1201 .
  • the first electronic device 1280 activates the sensor when the sensor is in an inactive state in order to detect the movement of the first electronic device 1280, and an external device (eg, the second electronic device 1290) ) to transmit the BLE signal including the operating state of the first electronic device 1280 .
  • the second electronic device 1290 may activate a sensor and detect a movement of the second electronic device 1290 .
  • the first electronic device 1280 may transmit the image content 1201, which is a mapped function.
  • the first electronic device 1280 and the second electronic device 1290 perform corresponding functions according to the operating state of the first electronic device 1280 and the operating state of the second electronic device 1290 . can do.
  • the first electronic device 1280 executes a function of sharing the content of the corresponding application, and the second electronic device 1290 If the corresponding application is not installed, the execution of the content sharing function may be stopped or a path for downloading the corresponding application may be provided.
  • the image content 1202 selected by the second electronic device 1290 is also displayed on the first electronic device ( 1280) may be transmitted.
  • the second electronic device does not select the image content, only the content selected by the first electronic device may be transmitted to the second electronic device.
  • the shared image contents 1201 and 1202 may be stored in a designated folder.
  • the first electronic device 1280 and the second electronic device 1290 may transmit a plurality of contents included in a specified folder or perform synchronization of the specified folder. For example, when the first electronic device 1280 selects a designated folder and a designated motion (eg, a shake action, a tap action, a rollable action, or a foldable action) is detected, the first electronic device 1280 selects a designated folder. A plurality of contents included in the folder may be transmitted to the second electronic device 1290 .
  • a designated motion eg, a shake action, a tap action, a rollable action, or a foldable action
  • the second electronic device 1290 may transmit a plurality of contents included in the designated folder to the first electronic device 880 .
  • the first electronic device 1280 and the second electronic device 1290 may store content received from the counterpart device in a designated folder, and accordingly, designated folders of the first electronic device 1280 and the second electronic device 1290 . contents can be mutually synchronized.
  • the first electronic device 1280 and the second electronic device 1290 may create a new folder and store transmitted and received content in the created folder.
  • 13A and 13B illustrate an embodiment of sharing an item of a list according to various embodiments.
  • a function performed in response to the movement and operating state of the first electronic device 1380 and the second electronic device 1390 may be item sharing.
  • the first electronic device 1380 may execute a music application and select one or more items 1301 , 1302 , and 1303 from a play list.
  • the first electronic device 1380 detects the movement of the first electronic device 1380 by activating the sensor, and includes the operation state of the first electronic device 1380 as the second electronic device 1390.
  • a BLE signal can be transmitted.
  • the operation state may include information about an application (eg, an application name or an application ID) being executed in the first electronic device 1380 and/or information (eg, a file name, a file) of one or more items 1301 , 1302 , and 1303 . format or number of items).
  • the second electronic device 1390 may activate the sensor and detect the movement of the second electronic device 1390 when the sensor is in an inactive state.
  • the first electronic device 1380 may execute a specified function according to the operating state of the second electronic device 1390 .
  • the first electronic device 1380 when the second electronic device 1390 is executing a music application, the first electronic device 1380 includes an item in the play list of the first electronic device 1380 and the play list of the second electronic device 1390 .
  • the second electronic device 1390 when the second electronic device 1390 is not running the music application, sends the item of the play list of the first electronic device 1380 to the second electronic device 1390 direction can be transmitted.
  • the first electronic device 1380 transfers the selected items 1301 , 1302 , and 1303 to the second electronic device 1390 .
  • the second electronic device 1390 may transmit the items 1304 and 1305 selected from the play list of the second electronic device 1390 to the first electronic device 1380 .
  • the first electronic device 1380 and the second electronic device 1390 may synchronize the play list with each other by adding an item received from the counterpart device to the play list ( 1320 ).
  • the first electronic device 1380 may transmit the selected item to the second electronic device 1390 .
  • the second electronic device 1390 may execute a music application in the background, and may add items 1301 , 1302 , and 1303 received from the first electronic device 1380 to the playlist.
  • the first electronic device 1380 and the second electronic device 1390 create one playlist by combining the stored music playlists according to a shake operation, a tab operation, a rollable operation, or a fold operation. , an operation of mixing music content may be performed.
  • the first electronic device 1380 and the second electronic device 1390 may transmit song information related to a shared item and provide a preview function. Also, when the sound source file of the first electronic device 1380 is shared with the second electronic device 1390 , the first electronic device 1380 and the second electronic device 1390 operate as L/R of the stereo function, respectively. to play the sound source.
  • the first electronic device 1380 and the second electronic device 1390 may share a playlist stored in a sound source service server (not shown).
  • the first electronic device 1380 and the second electronic device 1390 may store a playlist in a sound source service server that provides a streaming service, and in response to a designated motion detection, the playlist stored in the sound source service server of music can be shared.
  • the first electronic device 1380 and the second electronic device 1390 transmit and receive the ID of the corresponding sound source service using the BLE signal, and transmit the selected sound source, the received ID, and location information of each device to the sound source service server
  • the sound source of the play list can be shared with each other on the sound source service server.
  • the first electronic device 1380 and the second electronic device 1390 may create a single file by merging the shared files.
  • FIG. 14 illustrates a screen sharing embodiment according to various embodiments.
  • a function performed in response to the movement and operating state of the first electronic device 1480 and the second electronic device 1490 may be screen sharing.
  • the first electronic device 1480 when the first electronic device 1480 is writing a document (or memo), when corresponding motions are detected in the first electronic device 1480 and the second electronic device 1490,
  • the document creation screen 1410 displayed on the display of the first electronic device 1480 may be transmitted to the second electronic device 1490 .
  • the first electronic device 1480 and the second electronic device 1490 may transmit edited document information according to a user input to synchronize the created document content.
  • the second electronic device 1490 may execute the document application in response to the motion detection of the second electronic device 1490 .
  • the second electronic device 1490 may have the same document application as the document application being executed on the first electronic device 1480 .
  • an application similar to the document application being executed in the first electronic device eg, an application capable of displaying a shared document may be executed.
  • the first electronic device 1480 and/or the second electronic device 1490 may display the application screen displayed before execution of the screen sharing function and the shared screen received from the counterpart device in a multi-window. have.
  • a function performed in response to the movement and operating state of the first electronic device 1580 and the second electronic device 1590 may be to add another device to a group created by the running application.
  • the game application when a game application is running on the first electronic device 1580 and the second electronic device 1590 , when a shake operation, a tap operation, a rollable operation, or a fold operation occurs, the game application generated You can add other devices to the group.
  • a common room in which the users of the first electronic device 1580 and the second electronic device 1590 participate in the game application may be created, or the same team may be formed in the game.
  • the second electronic device 1590 executes the game application.
  • the second electronic device 1590 may execute a corresponding game application in response to detection of a shake operation, a tap operation, a rollable operation, or a foldable operation.
  • the first electronic device 1580 provides information for installing the corresponding game application on the second electronic device 1590 (eg: You can send a URL where you can download the game, or a link to the market).
  • the first electronic device 1580 executes the application being executed on the second electronic device 1590 in the first electronic device 1580 in response to the acquisition of the first and second motion information.
  • the first electronic device 1580 may transmit the digital key stored in the memory to the second electronic device 1590 in response to the acquisition of the first motion information and the second motion information.
  • the validity period of the digital key can be set and transmitted.
  • the first electronic device 1580 may share the corresponding content when a motion is detected in a state in which a shareable file or a specific content is selected or opened in a contact, schedule, or note application. .
  • the first electronic device 1580 transmits the setting information, data, and applications of the first electronic device 1580 to the second electronic device 1590 in response to the acquisition of the first motion information and the second motion information. ) can be sent to
  • 16 is a flowchart of a method for performing a function according to various embodiments of the present disclosure
  • FIG. 16 illustrates a plurality of external devices 1691 , 1692 , 1693 (eg, the electronic device 380 of FIG. 3 , and the first electronic device 480 of FIG. 4 ) adjacent to each other.
  • An embodiment of executing a content sharing function with the electronic devices 210 , 220 , 230 of FIG. 2 is illustrated.
  • the electronic device 1690 may share the selected content with an external device in which a specified motion is detected among the plurality of external devices 1691 , 1692 , and 1693 .
  • the electronic device 1690 may select content to be shared (eg, image or video content) according to a user input while an application (eg, a gallery application) supporting a content sharing function is running.
  • the electronic device 1690 may activate the sensor when a sensor (eg, the sensor 340 of FIG. 3 ) is in an inactive state in order to detect a movement.
  • the electronic device 1690 may broadcast a short-range wireless signal (eg, a BLE signal).
  • the broadcast BLE signal may be received by the first external device 1691 , the second external device 1692 , and the third external device 1693 .
  • the BLE signal broadcast from the electronic device 1690 may include a service activation request.
  • the service activation request as the electronic device 1690 activates a content sharing function based on content selection, the adjacent external devices 1691 , 1692 , and 1693 check whether an application for the content sharing function is executed. It may include requested information.
  • the BLE signal may include information related to the operating state of the electronic device 1690 .
  • the information related to the operating state may include information related to an application or service being executed in the electronic device 1690 .
  • the sensors of the first external device 1691 , the second external device 1692 , and the third external device 1693 are deactivated to detect a movement of each device in response to the reception of the BLE signal. In this state, each sensor can be activated.
  • the electronic device 1690 may detect a movement of the electronic device 1690 using an activated sensor.
  • the electronic device 1690 may detect a specified motion, such as a shake motion, a tap motion, a rollable motion, or a folding motion, and may generate motion information when the motion satisfies a specified condition.
  • the first external device 1691 may detect a movement of the first external device 1691 using a sensor.
  • the designated movement detected by the first external device 1691 may be the same as the designated movement detected by the electronic device 1690, such as a shake operation, a tap operation, a rollable operation, or a folding operation.
  • the second external device 1692 may detect a movement of the second external device 1692 using a sensor.
  • the designated motion detected by the second external device 1692 may be the same as the designated motion detected by the electronic device 1690 and the first external device 1691 .
  • the first external device 1691 may check an operation state of the first external device 1691 .
  • the first external device 1691 may check whether the same application as the application running on the electronic device 1690 or another application capable of sharing content is running.
  • the first external device 1691 may be in a state in which the same application or function as the electronic device 1690 has been executed.
  • the second external device 1692 may check an operation state of the second external device 1692 .
  • the second external device 1692 may be in a state in which the same application or function as that of the electronic device 1690 has not been executed.
  • the first external device 1691 transmits motion information and/or first A BLE signal including information related to information related to an application or service being executed in the external device 1691 may be broadcast.
  • the BLE signal transmitted by the first external device 1691 may include information corresponding to the movement of the first external device 1691 and information related to the operating state of the first external device 1691 .
  • the second external device 1692 may broadcast a BLE signal including motion information and/or information related to information related to an application or service being executed in the second external device 1692 .
  • the BLE signal transmitted by the second external device 1692 may include information corresponding to the movement of the second external device 1692 and information related to the operating state of the second external device 1692 .
  • the third external device 1693 receives the BLE signal and activates a sensor to monitor the movement of the third external device 1693, but a designated motion may not be detected. Accordingly, the third external device 1693 may not check the operation state according to the designated motion detection and broadcast the BLE signal.
  • the electronic device 1690 controls the first external device 1691 and the second external device 1692 based on the BLE signal received from the first external device 1691 and the second external device 1692 .
  • the electronic device 1690 may identify at least one device to share content with based on the motion information and operation state transmitted by each of the first external device 1691 and the second external device 1692 . For example, a device that detects the same motion as the motion detected by the electronic device 1690 within a specified time may be identified.
  • the electronic device 1690 may determine a function to be performed based on motion information and an operation state received from the first external device 1691 and the second external device 1692 .
  • the electronic device 1690 may determine to perform a content two-way transmission/reception function with respect to the first external device 1691 executing the same application or content sharing function, and not executing the same application or content sharing function. With respect to the second external device 1692 , it may be determined that the electronic device 1690 performs a function of unidirectionally transmitting content to the second external device 1692 .
  • the electronic device 1690 selects a short-range wireless communication method (eg, Wi-Fi Direct or Bluetooth) to be used for sharing content, and transmits at least information necessary for connection and/or authentication of the short-range wireless communication method to share the content. It can be sent to one device.
  • the electronic device 1690 may transmit and receive communication connection related information with the first external device 1691 .
  • the communication connection related information may include information indicating that the same function is being executed.
  • the electronic device 1690 may transmit and receive communication connection related information with the second external device 1692 .
  • the electronic device 1690 may establish a short-range wireless communication connection with the first external device 1691 .
  • the electronic device 1690 may establish a short-range wireless communication connection with the second external device 1692 .
  • the electronic device 1690 may simultaneously connect short-range wireless communication with the first external device 1691 and the second external device 1692 to share content or sequentially connect wireless communications.
  • the electronic device 1690 may perform interactive content transmission with the first external device 1691 using the established short-range wireless communication connection.
  • the electronic device 1690 may transmit the content selected in the application to the first external device 1691 and receive the content selected from the first external device 1691 .
  • the electronic device 1690 may transmit the selected content to the second external device 1692 using the established short-range wireless communication connection.
  • the electronic device 380 includes a display 330 , a short-range communication module 310 for performing short-range communication with an external device, a sensor 340 for detecting movement of the electronic device 380, and a memory ( 320), and a processor (350) operatively coupled to the display (330), the short-range communication module (310), the sensor (340) and the memory (320), the processor (350) ), in response to a specified event, activates the sensor 340 , transmits a signal corresponding to the event to the external device through the short-range communication module 310 , and detects the sensor 340 through the sensor 340 .
  • first motion information related to the movement of the electronic device 380 is generated, and the external device is communicated from the external device through the short-range communication module 310 .
  • the operating state of the electronic device 380 and the external device It can be set to perform a function corresponding to the operating state of the
  • the event may include at least one of an execution of a specified application, a user input to the display 330 or an external key.
  • the operation state may include whether a specified application is being executed.
  • the function may include content transmission to the external device or content reception from the external device.
  • the processor 350 transmits the content of the running application to the external device in response to acquisition of the first motion information and the second motion information. can be set.
  • the processor 350 may be set to store the content transmitted to the external device and the content received from the external device in one folder.
  • the processor 350 may be set to display a pop-up window for selecting whether to transmit the content on the display 330 .
  • the function includes screen sharing with the external device, and the processor 350 displays the first motion information and the second motion information on the display 330 in response to the acquisition.
  • the screen being displayed may be set to be transmitted to the external device.
  • the function includes joining a group
  • the processor 350 in response to the acquisition of the first motion information and the second motion information, joins the external device to the group created by the running application. can be set to add
  • the function may include sharing of setting information
  • the processor 350 may be configured to transmit setting information set on the electronic device 380 to the external device.
  • the function may include file sharing, and the processor 350 may be configured to combine the file received from the external device with the file stored in the memory 320 .
  • the processor 350 may be configured to perform the specified function.
  • the type of movement may include a shake operation, a tap operation, a rollable operation, or a foldable operation.
  • the method of performing a function of the electronic device 380 includes an operation of activating the sensor 340 in response to a specified event, an operation of transmitting a signal corresponding to the event to an external device, and the sensor 340 .
  • the short-range communication module 310 from the external device
  • the short-range communication module 310 may include an operation of performing a function corresponding to the operation state of the external device and the operation state of the external device.
  • the event may include at least one of an execution of a specified application, a user input to the display 330 or an external key.
  • the operation state may include whether a specified application is being executed.
  • the function may include content transmission to the external device or content reception from the external device.
  • the performing of the function includes, when a specified application is running, transmitting the contents of the running application to the external device in response to obtaining the first motion information and the second motion information It may include an action to
  • the method may further include checking whether the first motion information and the second motion information are of the same type of motion.
  • the electronic device 380 includes a display 330 , a short-range communication module 310 for performing short-range communication with an external device, a sensor 340 for detecting movement of the electronic device 380, and a memory ( 320), and a processor (350) operatively coupled to the display (330), the short-range communication module (310), the sensor (340) and the memory (320), the processor (350) ) receives information related to the operating state of the external device from the external device through the short-range communication module 310, and when the function corresponding to the operating state of the external device is a content sharing function, the sensor 340 , and when the motion of the electronic device 380 sensed through the sensor 340 satisfies a specified condition, first motion information related to the motion of the electronic device 380 is generated, and the short-distance communication
  • the module 310 may be configured to transmit the first motion information and information related to the operation state of the electronic device 380 to the external device and to receive content from the external device.

Abstract

다양한 실시예에 따른 전자 장치는, 디스플레이, 외부 장치와 근거리 통신을 수행하기 위한 근거리 통신 모듈, 전자 장치의 움직임을 감지하는 센서, 메모리, 및 상기 디스플레이, 상기 근거리 통신 모듈, 상기 센서 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 프로세서는, 지정된 이벤트에 대응하여, 상기 센서를 활성화 하고, 상기 근거리 통신 모듈을 통해 상기 외부 장치에 상기 이벤트에 대응하는 신호를 전송하고, 상기 센서를 통해 상기 감지된 전자 장치의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치의 움직임에 관련된 제1움직임 정보를 생성하고, 상기 외부 장치로부터 상기 근거리 통신 모듈을 통해 상기 외부 장치의 움직임과 관련된 제2움직임 정보 및 상기 외부 장치의 동작 상태와 관련된 정보를 수신하고, 상기 제1움직임 정보 및 상기 제2움직임 정보가 획득되는 경우, 전자 장치의 동작 상태 및 상기 외부 장치의 동작 상태에 대응하는 기능을 수행하도록 설정될 수 있다.

Description

전자 장치 및 전자 장치의 기능 수행 방법
본 문서의 다양한 실시예들은 전자 장치에 관한 것이며, 예를 들어 근거리 무선 통신을 지원하는 휴대용 전자 장치에서 인접하는 외부 장치에 컨텐츠 전송의 기능을 수행하는 방법에 관한 것이다.
이동통신 및 하드웨어/소프트웨어 기술의 발달에 따라, 스마트폰으로 대표되는 휴대용 전자 장치(이하, 전자 장치)는 다양한 기능들을 탑재할 수 있게 되었다. 예를 들어, 전자 장치는 다양한 어플리케이션을 이용하여, 비디오/오디오 컨텐츠(이하, 컨텐츠)를 재생할 수 있으며, 컨텐츠를 외부 장치에 공유할 수도 있다.
전자 장치는 무선 통신을 이용하여 외부 장치와 컨텐츠 공유 또는 화면 공유와 같은 다양한 기능을 실행할 수 있다. 예를 들어, 전자 장치는 블루투스(Bluetooth), 또는 와이파이 다이렉트(Wi-Fi direct)와 같은 근거리 무선 통신을 이용하여 외부 장치에 컨텐츠를 직접 전송하거나, 표시되는 화면을 미러링 할 수 있다.
전자 장치가 근거리 무선 통신을 이용해 외부 장치와 기능을 실행하기 위해서는, 근거리 무선 통신을 지원하는 외부 장치를 검색한 후, 특정 장치와 연결을 수행해야 한다. 사용자는 이와 같은 외부 장치와 연결의 전 또는 후에 수행할 기능을 선택할 수 있다. 이와 같은 전자 장치의 기능 수행 방법은 통신 수단의 선택, 외부 장치의 검색 및 선택과 같은 다양한 조작이 필요하며, 이는 사용성이 떨어질 수 있다.
본 문서의 다양한 실시예들은 전자 장치 및 외부 장치의 지정된 조건(예: 움직임(motion))의 발생 시, 전자 장치 및 외부 장치의 동작 상태에 기반하여, 동작 상태에 대응하는 기능을 수행할 수 있는 전자 장치 및 전자 장치의 기능 수행 방법을 제공할 수 있다.
다양한 실시예에 따른 전자 장치는, 디스플레이, 외부 장치와 근거리 통신을 수행하기 위한 근거리 통신 모듈, 전자 장치의 움직임을 감지하는 센서, 메모리, 및 상기 디스플레이, 상기 근거리 통신 모듈, 상기 센서 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 프로세서는, 지정된 이벤트에 대응하여, 상기 센서를 활성화 하고, 상기 근거리 통신 모듈을 통해 상기 외부 장치에 상기 이벤트에 대응하는 신호를 전송하고, 상기 센서를 통해 상기 감지된 전자 장치의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치의 움직임에 관련된 제1움직임 정보를 생성하고, 상기 외부 장치로부터 상기 근거리 통신 모듈을 통해 상기 외부 장치의 움직임과 관련된 제2움직임 정보 및 상기 외부 장치의 동작 상태와 관련된 정보를 수신하고, 상기 제1움직임 정보 및 상기 제2움직임 정보가 획득되는 경우, 전자 장치의 동작 상태 및 상기 외부 장치의 동작 상태에 대응하는 기능을 수행하도록 설정될 수 있다.
다양한 실시예에 따른 전자 장치의 기능 수행 방법은, 지정된 이벤트에 대응하여, 센서를 활성화 하는 동작, 외부 장치에 상기 이벤트에 대응하는 신호를 전송하는 동작, 상기 센서를 통해 상기 감지된 전자 장치의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치의 움직임에 관련된 제1움직임 정보를 생성하는 동작, 상기 외부 장치로부터 상기 근거리 통신 모듈을 통해 상기 외부 장치의 움직임과 관련된 제2움직임 정보 및 상기 외부 장치의 동작 상태와 관련된 정보를 수신하는 동작, 및 상기 제1움직임 정보 및 상기 제2움직임 정보가 획득되는 경우, 전자 장치의 동작 상태 및 상기 외부 장치의 동작 상태에 대응하는 기능을 수행하는 동작을 포함할 수 있다.
다양한 실시예에 따른 전자 장치는, 디스플레이, 외부 장치와 근거리 통신을 수행하기 위한 근거리 통신 모듈, 전자 장치의 움직임을 감지하는 센서, 메모리, 및 상기 디스플레이, 상기 근거리 통신 모듈, 상기 센서 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 프로세서는, 상기 근거리 통신 모듈을 통해 상기 외부 장치로부터 상기 외부 장치의 동작 상태와 관련된 정보를 수신하고, 상기 외부 장치의 동작 상태에 대응하는 기능이 컨텐츠 공유 기능인 경우, 상기 센서를 활성화 하고, 상기 센서를 통해 상기 감지된 전자 장치의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치의 움직임에 관련된 제1움직임 정보를 생성하고, 상기 근거리 통신 모듈을 통해 상기 제1움직임 정보 및 전자 장치의 동작 상태와 관련된 정보를 상기 외부 장치로 전송하고, 및 상기 외부 장치로부터 컨텐츠를 수신하는 동작을 수행하도록 설정될 수 있다.
본 문서의 다양한 실시예에 따르면, 전자 장치 및 외부 장치의 움직임에 기반하여 보다 직관적이고 간단하게 동작 상태에 대응하는 기능을 수행할 수 있는 전자 장치 및 전자 장치의 공유 방법을 제공할 수 있다.
도 1은 다양한 실시예에 따른 네트워크 내의 전자 장치의 블록도이다.
도 2는 다양한 실시예에 따른 복수의 전자 장치를 도시한 것이다.
도 3은 다양한 실시예에 따른 전자 장치의 블록도이다.
도 4는 다양한 실시예에 따른 제1전자 장치 및 제2전자 장치의 기능 수행 방법의 흐름도이다.
도 5는 다양한 실시예에 따른 제1전자 장치 및 제2전자 장치의 기능 수행 방법의 흐름도이다.
도 6 및 도 7은 다양한 실시예에 따른 제2전자 장치가 제1전자 장치와 동일한 어플리케이션을 실행하고 있지 않은 상태에서 기능 수행 방법의 흐름도이다.
도 8 및 도 9는 다양한 실시예에 따른 제2전자 장치가 제1전자 장치와 동일한 어플리케이션을 실행 중인 상태에서 기능 수행 방법의 흐름도이다.
도 10a는 다양한 실시예에 따른 shake 동작의 일 예를 도시한 것이다.
도 10b는 다양한 실시예에 따른 tap 동작의 일 예를 도시한 것이다.
도 11a 및 도 11b는 다양한 실시예에 따른 제1전자 장치 및 제2전자 장치에서 표시되는 팝업 메시지를 도시한 것이다.
도 12는 다양한 실시예에 따른 이미지 컨텐츠를 공유하는 실시예를 도시한 것이다.
도 13a 및 13b는 다양한 실시예에 따른 리스트의 아이템을 공유하는 실시예를 도시한 것이다.
도 14는 다양한 실시예에 따른 화면 공유 실시예를 도시한 것이다.
도 15는 다양한 실시예에 따른 그룹 추가 실시예를 도시한 것이다.
도 16은 다양한 실시예에 따른 기능 수행 방법의 흐름도이다.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)은, 예를 들면, 마이크, 마우스, 키보드, 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)는, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)이 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나","A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나" 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체 는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.
도 2는 다양한 실시예에 따른 복수의 전자 장치를 도시한 것이다.
다양한 실시예에 따르면, 전자 장치(200)(예: 도 1의 전자 장치(101))는 어플리케이션을 실행하여 컨텐츠를 출력하고, 근거리 무선 통신(예: Bluetooth, 또는 Wi-Fi direct)을 지원하는 장치일 수 있다. 예를 들어, 전자 장치(200)는 스마트 폰, 태블릿 PC, 랩톱 PC, 휴대용 멀티미디어 장치, 카메라, 또는 웨어러블 장치일 수 있으나, 이에 한정되지는 않는다. 도 2에서 전자 장치들(200, 210, 220, 230)은 적어도 일부 동일한 구성을 포함하며, 도 3 이하에서 설명하는 실시예들은 각 전자 장치들(200, 210, 220, 230) 상에서 구현될 수 있다.
다양한 실시예에 따르면, 전자 장치(200)는 근거리 무선 통신을 이용하여 외부 전자 장치(210, 220, 230)와 통신할 수 있으며, 메모리에 저장된 비디오/오디오 데이터, 화면에 표시되는 영상, 문서 파일, 또는 디지털 키와 같은 다양한 컨텐츠를 외부 전자 장치(210, 220, 230)에 전송할 수 있다. 예를 들어, 전자 장치(200)는 갤러리 어플리케이션에서 특정 이미지 컨텐츠를 선택하여 인접하는 외부 전자 장치(210, 220, 230)에 전송할 수 있다. 또는, 전자 장치(200)는 외부 전자 장치(210, 220, 230)로부터 컨텐츠를 수신할 수 있다. 또한, 전자 장치(200)는 외부 전자 장치(210, 220, 230)와 디스플레이에 표시 중인 화면의 공유, 게임과 같은 어플리케이션의 실행 시 그룹 참여, 디지털 키 및 파일의 공유, 또는 설정 정보의 공유와 같은 기능을 수행할 수 있다. 예를 들어, 설정 정보는 전자 장치(200)의 시스템 설정 정보, 네트워크 설정 정보 또는 사용자 설정 정보를 포함할 수 있다.
전자 장치(200)가 근거리 무선 통신을 이용하여 외부 전자 장치(210, 220, 230)와 통신하기 위해서는 이용하려는 서비스 또는 통신 수단의 선택, 외부 전자 장치(200)의 검색 및 선택, 및/또는 페어링(pairing)과 같은 과정이 요구될 수 있다. 예를 들어, 전자 장치(200)는 블루투스를 이용해 외부 전자 장치(210, 220, 230)를 검색한 후 연결을 시도해야 하고, 검색 및 외부 전자 장치(210, 220, 230)의 선택은 사용자가 직접 입력해야 한다. 또한, 전자 장치(200)는 Bluetooth 파일 전송, NFC를 사용하는 Android Beam, BLE 및 Wi-Fi를 사용하는 send to device, 또는 Wi-Fi direct와 같은 컨텐츠 전송을 위한 다양한 프로토콜 및 어플리케이션을 지원할 수 있는데, 사용자가 이와 같은 근거리 무선 통신 방식 중 어느 하나를 직접 선택해야 하는 것은 사용성이 떨어질 수 있다.
이하에서는, 전자 장치(200)가 외부 전자 장치(210, 220, 230)와 서비스를 수행하는 경우, 전자 장치(200)의 지정된 조건(예: 움직임 또는 센서 값의 변화)을 만족하는 외부 전자 장치(210, 220, 230)를 서비스 대상으로 지정하고, 전자 장치(200) 및 외부 전자 장치(210, 220, 230)의 상태에 따라 서비스 동작을 결정할 수 있는 다양한 실시예들에 대해 설명하기로 한다.
도 3은 다양한 실시예에 따른 전자 장치의 블록도이다.
도 3을 참조 하면, 다양한 실시예에 따른 전자 장치(380)(예: 도 1의 전자 장치(101))는 디스플레이(330)(예: 도 1의 표시 장치(160)), 근거리 통신 모듈(310)(예: 도 1의 통신 모듈(190)), 센서(340)(예: 도 1의 센서 모듈(176)), 메모리(320)(예: 도 1의 메모리(130)) 및 프로세서(350)(예: 도 1의 프로세서(120))를 포함할 수 있으며, 도시된 구성 중 일부가 생략 또는 치환되더라도 본 문서의 다양한 실시예를 구현할 수 있다. 전자 장치(380)는 도 1의 전자 장치(101)의 구성 및/또는 기능 중 적어도 일부를 더 포함할 수 있다.
도 3에 도시된 구성 및/또는 도시되지 않은 전자 장치(380)의 다른 구성 중 적어도 일부(예: 근거리 통신 모듈(310), 센서(340), 메모리(320), 프로세서(350))는 하우징(housing) 내에 배치될 수 있고, 다른 적어도 일부(예: 디스플레이(330))는 하우징의 외부로 노출될 수 있다.
다양한 실시예에 따르면, 디스플레이(330)는 영상을 표시하며, 액정 디스플레이(liquid crystal display(LCD)), 발광 다이오드(light-emitting diode(LED)) 디스플레이, 유기 발광 다이오드(organic light-emitting diode(OLED)) 디스플레이, 또는 마이크로 전자기계 시스템(micro electro mechanical systems(MEMS)) 디스플레이, 또는 전자종이(electronic paper) 디스플레이 중 어느 하나로 구현될 수 있으나, 이에 한정되지는 않는다. 디스플레이(330)는 도 1의 표시 장치(160)의 구성 및/또는 기능 중 적어도 일부를 포함할 수 있다. 일 실시예에 따르면, 디스플레이(330)는 롤러블(rollable) 또는 폴더블(foldable) 가능할 수 있다. 본 발명의 다양한 실시예들에서 롤러블(rollable) 동작 및/또는 폴더블(foldable) 동작은 디스플레이(330)의 적어도 일부 또는 디스플레이(330)를 포함하는 하우징의 적어도 일부가 변경(예: 형태의 변화 또는 크기의 변화)되는 것을 포함할 수 있다.
다양한 실시예에 따르면, 디스플레이(330)는 터치 또는 호버링(hovering) 입력을 감지하는 터치 스크린을 포함할 수 있다. 터치 스크린은 인셀(in-cell) 방식, 온셀(on-cell) 방식을 포함하는 다양한 방식 중 어느 하나로 구현될 수 있다.
다양한 실시예에 따르면, 근거리 통신 모듈(310)은 외부 장치(예: 도 2의 외부 장치(210, 220, 230))와 근거리 무선 통신을 지원하는 안테나, RF 프론트 엔드, 통신 프로세서(예: 도 1의 보조 프로세서(123))와 같은 다양한 구성을 포함할 수 있다. 근거리 통신 모듈(310)은 다양한 근거리 무선 통신 방식(예: 블루투스(bluetooth), BLE(bluetooth low energy), 또는 Wi-Fi)을 지원할 수 있으며, 각각의 무선 통신 방식을 지원하기 위한 독립적인 하드웨어/소프트웨어 구성을 포함할 수 있다. 근거리 통신 모듈(310)은 도 1의 통신 모듈(190)의 구성 및/또는 기능 중 적어도 일부를 포함할 수 있다.
다양한 실시예에 따르면, 센서(340)는 전자 장치(380)의 움직임을 감지할 수 있다. 예를 들어, 전자 장치(380)는 가속도 센서(acceleration sensor), 자이로 센서(gyroscope), 지자기 센서, 근접 센서, 및/또는 조도 센서와 같은 전자 장치(380)의 움직임을 감지하기 위한 다양한 물리적 센서를 포함할 수 있으며, 전자 장치(380)의 움직임의 타입(예: shake 동작, tap 동작)에 따라서 서로 다른 센서(340)의 센싱 값을 이용해 움직임을 감지할 수 있다. 일 실시예에 따르면, 센서(340)는 디스플레이(330)의 롤러블 상태 또는 폴더블 상태를 감지할 수 있다. 예를 들어, 센서(340)는 디스플레이(330)의 적어도 일부가 롤러블 되거나 폴더블 되는 것을 감지할 수 있다. 센서(340)는 도 1의 센서 모듈(176) 중 적어도 일부를 포함할 수 있다. 다양한 실시예에 따르면, 센서(340)는 지정된 이벤트의 발생 시 활성화될 수 있다.
다양한 실시예에 따르면, 가속도 센서(미도시)는 전자 장치(380)의 내부(예: 전자 장치(380)의 하우징 내)에 위치되고, 전자 장치(380)에 연관된 가속도(예: 충격량)를 측정하도록 설정될 수 있다. 예를 들어, 가속도 센서(미도시)는 3축(예: x축, y축, 및 z축)에 대한 가속도를 측정하도록 설정될 수 있다.
다양한 실시예에 따르면, 자이로 센서(미도시)는 전자 장치(380)의 내부(예: 전자 장치(380)의 하우징 내)에 위치되고, 전자 장치(380)에 연관된 회전을 측정하도록 설정될 수 있다. 예를 들어, 자이로 센서(미도시)는 3축(예: x축, y축, 및 z축)에 대한 회전을 측정하도록 설정될 수 있다.
일 실시예에 따르면, 전자 장치(380)는 적어도 하나의 센서(340)(예: 가속도 센서 및/또는 자이로 센서)로부터 획득된 센싱 값(예: 가속도 충격량, 회전 정보 및/또는 가속도 충격량 및 회전 정보의 다양한 조합에 의해 획득된 값) 및/또는 센싱 값 패턴(예: 충격량 패턴)에 기반하여 지정된 움직임(예: shake 동작, 및/또는 tap 동작)의 발생을 감지할 수 있다.
일 실시예에 따르면, 전자 장치(380)는 적어도 하나의 센서(340)(예: 가속도 센서 및/또는 자이로 센서)로부터 획득된 센싱 값에 기반하여 디스플레이(330)의 롤러블 상태 또는 폴더블 상태 및/또는 롤러블 동작 또는 폴더블 동작을 감지할 수 있다.
일 실시예에 따르면, 전자 장치(380)의 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)의 발생을 감지하는 동작은 프로세서(350)가 수행하거나 또는 센서(340)가 수행할 수 있다. 예를 들어, 센서(340)는 획득한 센싱 값에 기반하여 프로세서(350)로 지정된 움직임이 발생하였음을 알려 줄 수 있다. 다른 예를 들어, 센서(340)는 획득한 센싱 값을 프로세서(350)로 전달하고, 프로세서(350)는 수신된 센싱 값에 기반하여 지정된 움직임이 발생하였음을 확인할 수 있다.
다양한 실시예에 따르면, 메모리(320)는 한정되지 않은 디지털 데이터들을 일시적 또는 영구적으로 저장하기 위한 것으로써, 도 1의 메모리(130)의 구성 및/또는 기능 중 적어도 하나를 포함할 수 있다. 메모리는 OTPROM(one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), mask ROM, flash ROM, 플래시 메모리(예: NAND flash 또는 NOR flash), 하드 드라이브, 또는 솔리드 스테이트 드라이브(solid state drive(SSD))와 같은 비휘발성 메모리 및 DRAM(dynamic RAM), SRAM(static RAM), 또는 SDRAM(synchronous dynamic RAM)과 같은 휘발성 메모리를 포함할 수 있다. 메모리(320)는 프로세서(350)에서 수행될 수 있는 다양한 인스트럭션(instruction)들을 저장할 수 있다. 이와 같은 인스트럭션들은 프로세서(350)에 의해 인식될 수 있는 산술 및 논리 연산, 데이터 이동, 또는 입출력을 포함하는 다양한 제어 명령을 포함할 수 있다.
다양한 실시예에 따르면, 프로세서(350)는 전자 장치(380)의 각 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 수행할 수 있는 구성으로써, 도 1의 프로세서(120)의 구성 및/또는 기능 중 적어도 일부를 포함할 수 있다. 프로세서(350)는 디스플레이(330), 근거리 통신 모듈(310), 센서(340), 및/또는 메모리(320)와 같은 전자 장치(380)의 각 구성요소와 작동적으로(operatively), 기능적으로(functionally) 및/또는 전기적으로(electrically) 연결될 수 있다.
다양한 실시예에 따르면, 프로세서(350)가 전자 장치(380) 내에서 구현할 수 있는 연산 및 데이터 처리 기능에는 한정됨이 없을 것이나, 본 문서에서는 센서(340)의 센싱 값을 이용해 전자 장치(380)의 움직임을 감지하고, 감지된 움직임에 기반하여 외부 장치와 컨텐츠 공유 기능을 수행하기 위한 다양한 실시예들에 대해 설명하기로 한다. 후술할 프로세서(350)의 동작들은 메모리(320)에 저장된 인스트럭션들을 로딩함으로써 수행될 수 있다.
다양한 실시예에 따르면, 프로세서(350)는 지정된 이벤트에 대응하여 센서(340)를 활성화 할 수 있다. 여기서, 센서(340)의 활성화를 트리거 하는 이벤트는 지정된 어플리케이션의 실행, 디스플레이(330)에 대한 터치 입력 또는 외부 키에 대한 사용자 입력 중 적어도 하나를 포함할 수 있다. 예를 들어, 전자 장치에서 파일, 또는 갤러리와 같이 파일 공유를 위한 어플리케이션이 실행 되거나, 음악, 또는 녹음과 같이 오디오 재생을 위한 어플리케이션이 실행되는 경우, 센서(340)를 활성화 할 수 있다. 다른 예를 들어, 프로세서(350)는 갤러리 어플리케이션이 실행되어 특정 파일이 디스플레이에 표시된 상태에서, 지정된 음성(예: 공유)이 마이크로폰으로 입력되는 경우, 센서(340)를 활성화 할 수 있다.
다양한 실시예에 따르면, 프로세서(350)는 근거리 통신 모듈(310)을 이용해 발생한 이벤트에 대응하는 신호를 외부 장치(예: 도 2의 외부 전자 장치(210, 220, 230))에 전송할 수 있다. 상기 전송되는 신호는 지정된 서비스(예: 어플리케이션, 또는 파일 공유 기능)에 대한 정보를 포함하고, 외부 장치가 센서를 활성화 하여 외부 장치의 움직임을 감지하도록 할 수 있다. 다양한 실시예에 따르면, 근거리 통신 모듈(310)은 이벤트에 대응하는 BLE(Bluetooth low energy) 신호를 브로드캐스팅(broadcasting) 또는 애드버타이징(advertising)할 수 있다.
다양한 실시예에 따르면, 외부 장치는 전자 장치(380)가 브로드캐스팅 한 신호를 수신하고, 센서(예: 센서(340))를 활성화 할 수 있다. 이 때, 외부 장치의 센서가 이미 활성화 된 상태인 경우, 활성화 상태를 유지할 수 있다.
다양한 실시예에 따르면, 외부 장치는 전자 장치(380)로부터 신호를 수신했을 때의 동작 상태에 따라 센서의 활성화 여부를 결정할 수 있다. 예를 들어, 외부 장치의 디스플레이(예: 디스플레이(330))의 화면이 off 되어 있거나, 사용자가 사용 중이지 않은 상태인 경우, 외부 장치는 센서를 활성화하지 않을 수 있다. 이 경우, 이 후 외부 장치의 사용자에 의해 외부 장치가 동작할 때, 전자 장치에서 지정된 서비스의 동작이 지속되고 있는지 여부, 또는 센서의 활성화 필요를 확인 후, 센서를 활성화 할 수 있다.
다양한 실시예에 따르면, 프로세서(350)는, 근거리 통신 모듈(310)을 통하여, 지정된 서비스와 연관된 신호를 전송하고 BLE 스캔 동작을 개시할 수 있다.
다양한 실시예에 따르면, 프로세서(350)는 센서(340)를 이용해 전자 장치(380)의 움직임을 감지하고, 움직임이 지정된 조건을 만족하는 경우, 전자 장치(380)의 움직임에 관련된 제1움직임 정보를 생성할 수 있다. 프로세서(350)는 센서(340)의 센싱 값에 기초하여 전자 장치(380)의 움직임이 지정된 타입(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)인지 확인하고, 지정된 타입에 속하는 경우, 제1움직임 정보를 생성할 수 있다.
다양한 실시예에 따르면, 프로세서(350)는 센서(340)의 센싱 값에 기초하여, 전자 장치(380)의 움직임에 대응하는 충격량을 확인하고, 충격량에 따라 shake 동작의 발생 여부를 판단할 수 있다. 예를 들어, 프로세서(350)는 자이로 센서의 센싱 값에 따라 충격량을 확인하고, 1차적으로 충격량이 제1임계값 이상인 경우, shake 동작의 감시를 개시할 수 있다. 이 후, shake 동작의 감시가 개시된 상태에서 지정된 시간 동안 제1방향의 움직임 및 제2방향의 움직임이 지정된 횟수 이상 감지되는 경우, shake 동작이 발생한 것으로 판단할 수 있다.
다양한 실시예에 따르면, 프로세서(350)는 shake 동작의 감지와 다른 센서(예: 가속도 센서) 및 알고리즘에 따라 tap 동작의 발생 여부를 판단할 수 있다. 예를 들어, 프로세서(350)는 가속도 센서(340)의 센싱 값에 기초하여 충격량을 확인하고, 충격량이 제2임계값인 이후 지정된 시간 동안 제3임계값 이하로 지속되는 경우 tap 동작으로 판단할 수 있다. 다양한 실시예에 따르면, 정확성을 위해 tap 동작은 2회 이상의 tap 동작(예: tap 동작)으로 정의될 수 있다. 이 경우, 프로세서(350)는 상기 제3임계값 이하 지속 횟수가 지정된 횟수(예: 2회) 이상인 경우, tap 동작(또는 double tap 동작)이 발생한 것으로 판단할 수 있다.
다양한 실시예에 따르면, 전자 장치(380) 및 외부 장치의 신호 송수신 동작은 수신된 신호가 지정된 세기 이상인 경우, 또는 UWB 통신을 이용하여 확인된 지정된 거리 이내인 경우와 같이 특정 조건을 만족하는 경우에 동작할 수 있다. 전자 장치(380) 및 외부 장치는 상기 조건을 만족하지 않는 경우에는 신호를 수신하더라도 연관된 기능을 수행하지 않을 수 있다.
다양한 실시예에 따르면, BLE를 통해 전자 장치(380)와 연결된 외부 장치도 센서를 활성화 하여 외부 장치의 움직임을 감지할 수 있다. 외부 장치는 감지된 움직임이 지정된 조건을 만족하는 경우, 외부 장치의 움직임에 관련된 제2움직임 정보를 생성할 수 있다. 외부 장치에서 마련된 센서의 센싱 방법 및 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 결정하는 방법은 전자 장치(380)와 동일할 수 있다.
다양한 실시예에 따르면, 프로세서(350)는 제1움직임 정보를 근거리 통신 모듈(310)을 이용해 외부 장치로 전송할 수 있다. 다양한 실시예에 따르면,, 프로세서(350)는 전자 장치(380)의 제1사용자 정보를 외부 장치로 전송할 수 있다. 예를 들어, 제1사용자 정보는 전자 장치(380)의 전화 번호(예: IMEI), 어플리케이션(또는 기능)에서 설정된 ID, 및/또는 디바이스 정보(예: MAC 어드레스)와 같이 전자 장치(380)(또는 사용자)를 특정할 수 있는 다양한 정보를 포함할 수 있다.
다양한 실시예에 따르면, 프로세서(350)는 근거리 통신 모듈(310)을 이용해 외부 장치로부터 제2움직임 정보 및 제2사용자 정보를 수신할 수 있다. 예를 들어, 제2움직임 정보 및 제2사용자 정보는 외부 장치에서 전자 장치(380)와 동일한 방식으로 생성된 것일 수 있다. 다양한 실시예에 따르면, 프로세서(350)는 외부 장치로부터 외부 장치에서 실행 중인 서비스 및 가능한 서비스의 정보를 수신할 수 있다.
다양한 실시예에 따르면, 프로세서(350)는 근거리 통신 모듈(310)을 이용해 외부 장치로부터 외부 장치의 동작 상태와 관련된 정보를 더 수신할 수 있다. 여기서, 동작 상태는 외부 장치에서 지정된 서비스, 기능 또는 어플리케이션의 실행 여부를 포함할 수 있다.
다양한 실시예에 따르면, 프로세서(380)는 전자 장치(380)의 동작 상태 및 외부 장치의 동작 상태에 따라 수행할 기능을 결정할 수 있다. 예를 들어, 프로세서(380)는 외부 장치가 갤러리 어플리케이션(또는 컨텐츠 공유 기능)을 실행하고 있는 경우 선택된 컨텐츠를 외부 장치로 전송하고, 외부 장치에서도 특정 컨텐츠가 선택된 경우 각 장치에서 선택된 컨텐츠를 서로 송수신하는 기능을 수행하도록 결정할 수 있다.
다양한 실시예에 따르면, 전자 장치(380) 및 외부 장치는 여러 종류의 근거리 무선 통신(예: 블루투스, BLE, 및/또는 Wi-Fi)을 지원할 수 있으며, 서비스 및 어플리케이션에서 요구하는 기능을 수행할 수 있는 통신 기술이 복수로 존재할 수 있다. 전자 장치(380)는 외부 장치와 서로를 구별할 수 있는 식별자(예: 제1사용자 정보 및 제2사용자 정보), 전자 장치(380) 및 외부 장치에서 지원하는 근거리 통신 방식의 종류 및 특성 정보를 교환함으로써, 서비스 및 어플리케이션의 요구 사항(예: 전송 속도, 전송 거리 또는 연결 안정성)에 가장 부합되는 근거리 통신 방식을 선택할 수 있다. 또한, 가장 적합 하다고 판단되는 근거리 통신 방식이라고 하더라도, 외부 장치가 해당 근거리 통신 방식을 현재 다른 목적으로 사용 중이거나(예: 블루투스 이어폰), 일시적으로 사용이 어려운 상태인지 여부를 알림으로써, 서비스를 수행할 수 있는 다른 근거리 무선 통신 방식을 선택할 수 있다.
다양한 실시예에 따르면, 프로세서(350)는 전자 장치(380)의 제1움직임 정보 및 외부 장치의 제2움직임 정보가 획득되는 경우, 전자 장치(380)의 동작 상태 및/또는 외부 장치의 동작 상태에 대응하는 기능을 수행할 수 있다.
예를 들어, 프로세서(350)는 전자 장치(380)에서 갤러리 어플리케이션의 컨텐츠 전송 기능이 실행 중인 경우, 외부 장치로의 컨텐츠 전송 기능을 수행하도록 결정할 수 있다. 이 때, 프로세서(350)는 외부 장치의 동작 상태도 확인하여, 외부 장치가 컨텐츠의 수신 기능을 실행하고 있거나, 또는 컨텐츠의 전송 기능을 실행하지 않는 경우, 외부 장치로의 컨텐츠 전송 기능을 수행할 수 있다.
다른 예를 들어, 외부 장치에서 갤러리 어플리케이션의 컨텐츠 공유가 실행 중인 경우, 전자 장치(380)는 외부 장치로부터의 컨텐츠 수신 기능을 수행하도록 결정할 수 있다.
다른 실시예에 따르면, 프로세서(350)는 지정된 어플리케이션이 실행 중인 경우, 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 실행 중인 어플리케이션의 컨텐츠를 외부 장치로 전송할 수 있다. 예를 들어, 프로세서(350)는 음악 어플리케이션이 실행 중인 상태에서 공유 아이템이 선택되거나, 음악 재생 중에 전자 장치(380) 및 외부 장치의 움직임이 감지되는 경우, 음악 어플리케이션의 아이템(예: 음악 파일)의 공유 기능을 실행할 수 있다.
다른 실시예에 따르면, 프로세서(350)는 외부 장치와 화면 공유 기능을 실행할 수 있다. 예를 들어, 전자 장치(380)와 외부 장치에서 문서(또는 메모) 작성을 하고 있는 상태에서, 전자 장치(380)와 외부 장치에서 대응되는 움직임이 감지되는 경우, 전자 장치(380)의 디스플레이(330)에 표시되고 있는 문서 작성 화면을 외부 장치에 전송할 수 있다. 이 때, 전자 장치(380) 및 외부 장치는 사용자 입력에 따라 편집된 문서 정보를 전달하여, 작성된 문서 내용을 동기화 할 수 있다.
다른 실시예에 따르면, 프로세서(350)는 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 실행 중인 어플리케이션에서 생성된 그룹에 외부 장치를 추가할 수 있다. 예를 들어, 전자 장치(380)에서 게임 어플리케이션이 실행 중인 경우, 움직임 감지를 통해 외부 장치에서 동일한 게임을 실행 하거나, 게임 실행 중 동일한 게임 그룹에 참여 할 수 있다.
다른 실시예에 따르면, 프로세서(350)는 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 외부 장치에서 실행 중인 어플리케이션을 전자 장치(380)에서 실행할 수 있다.
다른 실시예에 따르면, 프로세서(350)는 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 메모리(320)에 저장된 디지털 키를 외부 장치에 전송할 수 있다. 이 때, 디지털 키의 유효 기간을 설정하여 전송할 수 있다.
다른 실시예에 따르면, 프로세서(350)는 공유 가능한 파일이나, 컨택, 일정, 또는 노트 어플리케이션에서 특정 컨텐츠를 선택 또는 오픈 한 상태에서, 움직임이 감지되는 경우, 해당 컨텐츠를 공유할 수 있다. 프로세서(350)는 외부 장치로부터 수신한 컨텐츠를 정해진 폴더에 저장할 수 있다.
다른 실시예에 따르면, 프로세서(350)는 외부 장치로부터 수신한 파일을 전자 장치(380)에 저장된 파일과 합성하여 하나의 파일로 생성할 수 있다.
다른 실시예에 따르면, 프로세서(350)는 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 전자 장치(380)의 설정 정보, 데이터 또는 어플리케이션을 외부 장치에 전송할 수 있다.
다양한 실시예에 따르면, 프로세서(350)는 동작 상태에 기반하여 결정된 기능을 수행할 수 있다. 프로세서(350)는 결정된 기능과 관련된 정보를 근거리 통신(예: BLE 통신)을 통해 외부 장치에 전송하고, 외부 장치는 수신한 정보에 기초하여 기능을 수행할 수 있다.
다양한 실시예에 따르면, 프로세서(350)는 지정된 기능을 실행하는 경우, 실행 여부를 확인하기 위한 UI(예: 팝업 메시지)를 디스플레이(330)에 표시할 수 있다. 프로세서(350)는 UI 상의 사용자 선택에 따라 컨텐츠 전송 동작 상태에 대응하는 기능을 수행할 수 있다.
다양한 실시예에 따르면, 전자 장치(380)(예: 근거리 통신 모듈(310))는 복수의 근거리 무선 통신 방식을 지원할 수 있으며, 예를 들어, BLE를 이용해 외부 장치와의 GATT(generic attribute profile) 연결, BLE 페어링, 및/또는 사용자 인증 과정을 수행할 수 있다. 이 후, 연결이 완료되는 경우, 전자 장치(380)는 수행할 기능의 특성에 따라 복수의 근거리 무선 통신 방식 중 하나를 선택할 수 있다. 예를 들어, 전자 장치(380)는 BLE 통신으로 외부 장치와 연결 이후, Wi-Fi direct를 이용해 컨텐츠를 전송할 수 있다. 이 때, 외부 장치로부터 수신되는 신호의 세기(또는 신호의 품질), 각 무선 근거리 무선 통신의 사용 여부, 및/또는 사용자의 선택 중 적어도 하나에 기초하여 컨텐츠 전송에 사용할 근거리 무선 통신 방식을 선택할 수 있다.
다양한 실시예에 따르면, 전자 장치(380)는 복수의 외부 전자 장치의 동작 상태에 따라 복수의 외부 전자 장치와 적어도 일부 동시에 또는 순차적으로 지정된 기능을 실행할 수 있다. 예를 들어, 전자 장치(380)는 복수의 외부 전자 장치에서 지정된 동작이 지정된 시간 이내에 감지되는 경우, 각 외부 전자 장치의 동작 상태를 확인하고, 동작 상태에 대응되는 기능(예: 각 외부 전자 장치로 선택된 컨텐츠의 전송)을 수행할 수 있다.
도 4는 다양한 실시예에 따른 제1전자 장치(480) 및 제2전자 장치(490)의 기능 수행 방법의 흐름도이다.
도 4의 제1전자 장치(480) 및 제2전자 장치(490)은 도 1의 전자 장치(101) 또는 도 3의 전자 장치(380)와 동일한 구성 요소를 포함하는 장치일 수 있다.
동작 401에서, 제1전자 장치(480)는 지정된 이벤트에 대응하여 근거리 무선 신호를 브로드캐스팅 할 수 있다. 이하에서는, 제1전자 장치(480)가 브로드캐스팅하는 근거리 무선 신호를 BLE 신호로 예를 들어 설명하나, 이에 한정되지 않으며, Wi-Fi aware와 같은 제2전자 장치(490)의 탐색, 연결을 지원하는 다른 근거리 무선 통신 방식이 사용될 수도 있다.
다양한 실시예에 따르면, 지정된 이벤트는 지정된 어플리케이션의 실행, 디스플레이(330)에 대한 터치 입력 또는 외부 키에 대한 사용자 입력 중 적어도 하나를 포함할 수 있다. 예를 들어, 제1전자 장치(480)는 갤러리 어플리케이션에서 특정 이미지 컨텐츠가 선택되고, 해당 이미지 컨텐츠의 공유 기능이 실행되는 경우, BLE 신호를 브로드캐스팅 할 수 있다. 제1전자 장치(480)에서 전송하는 BLE 신호는 제1전자 장치의 동작 상태(예: 이미지 컨텐츠의 공유 기능 실행)와 관련된 정보 및 제1전자 장치의 전화 번호(예: IMEI), 어플리케이션(또는 기능)에서 설정된 ID, 및/또는 디바이스 정보(예: MAC 어드레스)와 같이 제1전자 장치(480)(또는 사용자)를 특정할 수 있는 다양한 정보를 포함하는 제1사용자 정보를 포함할 수 있다.
제1전자 장치(480)가 BLE 신호를 브로드캐스팅하는 경우, BLE의 감지 거리 내에 위치한 다른 장치들(예: 제2전자 장치(490))이 BLE 신호를 감지할 수 있다. 제1전자 장치(480)는 제1전자 장치(480)의 움직임을 감지하기 위해, 센서(예: 도 3의 센서(340), 예를 들어, 가속도 센서, 및/또는 자이로 센서)를 활성화 할 수 있다.
동작 402에서, 제1전자 장치(480)는 센서를 이용하여 제1전자 장치(480)의 움직임을 감지할 수 있다. 예를 들어, 제1전자 장치(480)는 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작과 같이 지정된 움직임을 감지할 수 있고, 움직임이 지정된 조건을 만족하는 경우 제1움직임 정보를 생성할 수 있다. 다양한 실시예에 따르면, 제1움직임 정보는 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)의 발생 여부에 따라 flag 0 또는 1로 설정될 수 있다. 또한, 제1전자 장치(480)는 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작의 횟수, 지속 시간 및/또는 발생 시간에 대한 정보를 획득할 수 있다.
동작 404에서, 제2전자 장치(490)는 센서(예: 도 3의 센서(340))를 이용해 제2전자 장치(490)의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지할 수 있다. 제2전자 장치(490)는 제1전자 장치(480)로부터 브로드캐스팅 되는 BLE 신호를 수신하는 경우, 제2전자 장치(490)의 센서를 활성화 하고 움직임을 감지할 수 있다.
동작 405에서, 제2전자 장치(490)는 획득한 제2움직임 정보를 제1전자 장치(480)에 전송할 수 있다. 일 실시예에서, 제2전자 장치(490)는 제2전자 장치(490)의 제2사용자 정보를 더 전송할 수 있다. 제2전자 장치(490)는 제2전자 장치(490)의 동작 상태(예: 이미지 컨텐츠의 공유 기능 실행)와 관련된 정보를 제1전자 장치(480)로 전송할 수 있다.
다양한 실시예에 따르면, 제1전자 장치(480) 및 제2전자 장치(490)는 제1움직임 정보 및 제2움직임 정보가 공유되는 경우, GATT(generic attribute profile) 연결, BLE 페어링, 및/또는 사용자 인증 과정을 통해 상호 연결을 수행할 수 있다.
도 4에서는 동작 402 이후에 동작 404 및 동작 405가 수행되는 것으로 도시되어 있으나, 그 순서에는 정함이 없다. 예를 들어, 제2전자 장치(490)의 사용자에 의해 제1전자 장치(480)보다 먼저 shake 동작, tab 동작, 롤러블 동작 또는 폴더블 동작과 같은 움직임이 감지되는 경우, 동작 404 및 동작 405는 동작 402보다 적어도 일부 먼저 수행될 수 있다.
동작 406에서, 제1전자 장치(480)는 제2전자 장치(490)로부터 전송되는 제2움직임 정보를 확인할 수 있다. 일 실시예에서, 제1전자 장치(480)는 전자 장치의 shake 동작 tab 동작, 롤러블 동작 또는 폴더블 동작의 감지 후 지정된 시간 이내에 수신되는 제2움직임 정보를 확인할 수 있다.
동작 407에서, 제1전자 장치(480)는 제1전자 장치(480) 및/또는 제2전자 장치(490)의 동작 상태를 확인할 수 있다. 여기서, 동작 상태는 지정된 서비스, 어플리케이션, 또는 기능의 수행 상태를 포함할 수 있다.
동작 408에서, 제1전자 장치(480)는 동작 상태에 맵핑된 기능을 확인할 수 있다. 예를 들어, 제1전자 장치(480)에서 갤러리 어플리케이션의 컨텐츠 공유가 실행 중인 경우, 제2전자 장치(490)로의 컨텐츠 전송 기능을 수행하도록 결정할 수 있다. 다른 예를 들어, 제2전자 장치(490)에서 갤러리 어플리케이션의 컨텐츠 공유가 실행 중인 경우, 제2전자 장치(490)로부터의 컨텐츠 수신 기능을 수행하도록 결정할 수 있다.
동작 409에서, 제1전자 장치(480) 및 제2전자 장치(490)는 확인된 기능(예: 컨텐츠의 전송 또는 수신)을 수행할 수 있다. 이 때, 제1전자 장치(480) 및 제2전자 장치(490)는 복수의 근거리 통신 방식 중 어느 하나(예: Wi-Fi direct)로 연결되어 기능을 수행할 수 있다.
도 5는 다양한 실시예에 따른 제1전자 장치 및 제2전자 장치의 컨텐츠 공유 방법의 흐름도이다.
도 5의 제1전자 장치(580) 및 제2전자 장치(590)은 도 1의 전자 장치(101) 또는 도 3의 전자 장치(380)와 동일한 구성 요소를 포함하는 장치일 수 있다.
도 5를 참조 하면, 다양한 실시예에 따른 제1전자 장치(580)(예: 도 2의 전자 장치(200), 도 3의 전자 장치(380) 또는 도 4의 제1전자 장치(480))는 어플리케이션(581), 연결 서비스 프레임워크(582), 서비스 모듈(583)를 포함하고, 제2전자 장치는 어플리케이션(591), 연결 서비스 프레임워크(592), 서비스 모듈(593)을 포함할 수 있다. 어플리케이션(591, 592)은 컨텐츠 공유 기능을 지원하는 어플리케이션 중 하나이고, 예를 들어, 갤러리 어플리케이션일 수 있다. 이하에서는 도 5를 통해 제1전자 장치(580)가 제2전자 장치(590)(예: 도 4의 제2전자 장치(490))에 갤러리 어플리케이션(581)의 이미지 컨텐츠를 전송하는 동작에서 각 구성의 동작 및 통신에 대해 설명하기로 한다. 연결 서비스 프레임워크(connectivity service framework)(582, 592)(또는 공유 모듈)는 갤러리 어플리케이션(581)에서 구현되는 컨텐츠 공유 기능(예: Insync, 또는 quick share)을 수행하는 소프트웨어 모듈이고, 서비스 모듈(583, 593)(또는 BT advanced OPP(object push profile))는 컨텐츠 공유에 사용되는 프로파일일 수 있다. 후술할 어플리케이션(581, 591), 연결 서비스 프레임워크(582, 592), 서비스 모듈(583, 593)의 동작 중 적어도 일부는 제1전자 장치(580) 및/또는 제2전자 장치(590)의 프로세서(예: 도 3의 프로세서(350))에 의해 수행될 수 있다.
동작 501에서, 제1전자 장치(580)의 어플리케이션(581)은 컨텐츠 선택을 위한 사용자 입력(또는 user action)을 감지할 수 있다. 예를 들어, 갤러리 어플리케이션(581)에서 특정 이미지 컨텐츠를 선택한 후 메뉴에서 컨텐츠 공유 메뉴를 선택하거나, 롱 터치와 같은 지정된 터치 입력, 또는 detail view 의 선택 시 해당 컨텐츠를 선택하고 외부 장치(예: 제2전자 장치(590))와 공유를 위한 동작을 수행할 수 있다.
동작 502에서, 갤러리 어플리케이션(581)은 선택된 이미지 컨텐츠를 제1전자 장치(580)의 연결 서비스 프레임워크(582)에 공유할 컨텐츠로 등록 할 수 있다. 예를 들어, 갤러리 어플리케이션(581)은 연결 서비스 프레임워크(582)에 컨텐츠 공유 요청할 수 있다. 일 실시예에 따르면, 갤러리 어플리케이션(581)은 선택된 이미지 컨텐츠에 대한 정보(예: 파일명, 파일 크기 및/또는 파일 위치)를 연결 서비스 프레임워크(582)로 전달할 수 있다.
동작 503에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 컨텐츠 선택에 대응하여, 센서(예: 가속도 센서 및/또는 자이로 센서)를 활성화 시킬 수 있다. 다른 실시예에 따르면, 제1전자 장치(580)는 컨텐츠 선택을 위한 사용자 입력의 감지(501) 이전에 사용자 입력에 따라 센서를 활성화 하거나, BLE 신호를 애드버타이징(504)한 이후에 센서를 활성화 할 수도 있다.
동작 504에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 컨텐츠 선택에 대응하여 근거리 통신 모듈(예: 도 3의 근거리 통신 모듈(310))을 통한 근거리 무선 통신 신호(예: BLE 신호)의 애드버타이징(advertising)(또는 브로드캐스팅)을 개시 할 수 있다.
동작 505에서, 애드버타이징 된 BLE 신호는 제2전자 장치(590)에 수신될 수 있다. 여기서, BLE 신호는 센서의 활성화 요청을 포함하며, 제1전자 장치(580)와 제2전자 장치(590)의 연결(예: 페어링)을 위한 정보는 포함하지 않을 수 있다. (예: non-connectable BLE advertising)
동작 506에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 BLE 신호의 스캐닝을 개시할 수 있다.
동작 507에서, 제2전자 장치(590)의 연결 서비스 프레임워크(592)는 onScan 상태로 동작할 수 있다.
동작 508에서, 제2전자 장치(590)의 연결 서비스 프레임워크(592)는 제1전자 장치(580)로부터 수신한 BLE 신호에 기초하여 센서를 활성화 할 수 있다.
동작 509에서, 제1전자 장치(580)는 센서를 통해 지정된 움직임을 감지하고, 제2전자 장치(590)는 센서를 통해 지정된 움직임을 감지할 수 있다. 예를 들어, 지정된 움직임은 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작을 포함할 수 있다. 제1전자 장치(580)는 감지된 움직임에 대응하여 제1움직임 정보를 생성하여 제2전자 장치(590)에 전송하고, 제2전자 장치(590)는 감지된 움직임에 대응하여 제2움직임 정보를 생성하여 제1전자 장치(580)에 전송할 수 있다. 또한, 제1전자 장치(580)의 제1사용자 정보 및 제2전자 장치(590)의 제2사용자 정보가 서로 교환될 수 있다.
동작 510에서, 제2전자 장치(590)의 연결 서비스 프레임워크(592)는 근거리 무선 통신 신호(예: BLE 신호)의 애드버타이징을 개시할 수 있다.
동작 511에서, 제2전자 장치(590)에서 애드버타이징 된 BLE 신호는 제1전자 장치(580)에서 수신될 수 있다. 여기서, BLE 신호는 제1전자 장치(580)와 제2전자 장치(590)의 연결(예: 페어링)을 위한 정보를 포함할 수 있다. (예: connectable BLE advertising for interaction)
동작 512에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 onScan 상태로 동작하고, 제2전자 장치(590)로부터 전송되는 BLE 신호를 수신할 수 있다.
동작 513에서, 제1전자 장치(580) 및 제2전자 장치(590)는 BLE 연결을 수행할 수 있다.
다양한 실시에 따르면, 제1전자 장치(580) 및 제2전자 장치(590)는 BLE 연결 과정 또는 그 이후에 상호 인증 및 이후 데이터 교환을 위해 필요한 데이터를 교환할 수 있다.
다양한 실시예에 따르면, 제1전자 장치(580) 및 제2전자 장치(590)는 상호 인증 없이, BLE 신호를 이용해 각 장치의 동작 상태 및 움직임 정보를 교환할 수 있다.
동작 515에서, 제1전자 장치(80)의 연결 서비스 프레임워크(582)는 제2전자 장치(590)로부터 수신한 데이터(예: 제2사용자 정보)의 유효성(validity)을 검증할 수 있다. 예를 들어, 제2전자 장치(590)의 전화 번호가 제1전자 장치(580)의 컨택 어플리케이션에 저장되어 있거나, 연결 서비스 프레임워크(582) 또는 특정 어플리케이션에 제2전자 장치(590)의 ID가 기록되어 있는 경우, 유효한 것으로 판단할 수 있다.
동작 516에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 유효성 확인에 따라, 어플리케이션(581)에 제2전자 장치(590)가 확인됨(device found)을 전송할 수 있다.
동작 517에서, 어플리케이션(581)은 연결 서비스 프레임워크(582)에 컨텐츠 공유를 위한 URI(uniform resource identifier)를 전송할 수 있다.
동작 518에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 디스플레이(예: 도 3의 디스플레이(330))를 통해 컨텐츠 공유의 실행 여부를 확인하기 위한 UI(예: 팝업 메시지)를 표시하고, 사용자 입력을 수신할 수 있다.
동작 519에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 컨텐츠 공유를 위해 지정된 근거리 무선 통신 방식(예: 블루투스, 또는 Wi-Fi)을 활성화 하기 위한 메시지를 제2전자 장치(590)의 연결 서비스 프레임워크(592)에 전송할 수 있다.
동작 520에서, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 서비스 모듈(object push profile)(583)에 컨텐츠 전송을 요청할 수 있다.
동작 521에서, 제1전자 장치(580)의 서비스 모듈(583)는 제2전자 장치(590)와 컨텐츠 공유 기능 실행에 사용될 근거리 무선 통신 방식(예: 블루투스, Wi-Fi direct)을 선택하고, 선택된 근거리 무선 통신 방식을 이용해 상호 연결을 시도하고, 상기 연결을 통해 선택된 컨텐츠를 제2전자 장치(590)에 전송할 수 있다. 도 5에서는 제1전자 장치(580) 및 제2전자 장치(590)가 블루투스(또는 BLE)를 이용해 컨텐츠 공유를 수행하기 위해 서비스 모듈 과정을 수행하는 것으로 설명 하였으나, Wi-Fi Direct를 이용하는 경우 제1전자 장치(580) 및 제2전자 장치(590)는 Wi-Fi Direct 연결을 위한 동작을 수행할 수 있다.
동작 522에서, 제2전자 장치(590)의 연결 서비스 프레임워크(592)는 디스플레이를 통해 컨텐츠 수신 여부를 확인하기 위한 UI(예: 팝업 메시지)를 표시하고, 사용자 입력이 수신되는 경우, 컨텐츠를 수신하여 메모리에 저장할 수 있다. 제1전자 장치(580) 및 제2전자 장치(590)가 각각 컨텐츠를 송신 및 수신하는 경우, 각 장치의 디스플레이에 컨텐츠의 송수신과 관련된 정보가 표시될 수 있다.
동작 523에서, 컨텐츠 전송이 완료됨에 따라, 제1전자 장치(580)의 연결 서비스 프레임워크(582)는 어플리케이션(581)에 결과를 전송할 수 있다.
동작 524에서, 제1전자 장치(580)의 어플리케이션(581)은 연결 서비스 프레임워크(582)에 등록 해제(unregister)를 요청할 수 있다. 이에 따라, 제1전자 장치(580)의 센서도 비활성화 될 수 있다. 일 실시예에 따르면, 제2전자 장치(590)도 동작 508에서 활성화한 센서를 비활성화 할 수 있다.
도 6 내지 도 9는 다양한 실시예에 따른 제1전자 장치 및 제2전자 장치의 기능 수행 방법의 흐름도이다. 이하에서는, 제1전자 장치 및 제2전자 장치가 컨텐츠 공유 기능을 수행하는 예에 대해 설명하기로 하나, 수행할 수 있는 기능은 이에 한정되지 않고, 화면 공유 기능, 어플리케이션에서 생성된 그룹 추가, 어플리케이션의 실행과 같은 다양한 기능이 수행될 수 있다.
도 6은 제2전자 장치가 제1전자 장치와 동일한 기능을 수행하지 않는 경우의 기능 수행 방법의 흐름도이다.
도 6의 제1전자 장치(680) 및 제2전자 장치(690)은 도 1의 전자 장치(101) 또는 도 3의 전자 장치(380)와 동일한 구성 요소를 포함하는 장치일 수 있다.
도 6은 제1전자 장치(680)는 컨텐츠 공유 기능을 지원하는 어플리케이션(또는 기능)을 실행하고, 제2전자 장치(690)는 해당 어플리케이션(또는 기능)을 실행하지 않은 상태에서 각 장치의 동작을 도시하고 있다.
동작 601에서, 제1전자 장치(680)는 컨텐츠 공유 기능을 지원하는 어플리케이션(예: 갤러리 어플리케이션)이 실행된 상태에서, 사용자 입력에 따라 공유할 컨텐츠(예: 이미지 또는 동영상 컨텐츠)를 선택할 수 있다. 예를 들어, 제1전자 장치(680)는 어플리케이션 상에서 컨텐츠 공유 메뉴를 선택하거나, 컨텐츠 상에서 롱 터치와 같은 지정된 터치 입력 또는 detail view의 선택 시, 공유할 컨텐츠를 선택할 수 있다. 또한, 제1전자 장치(680)는 컨텐츠 공유를 위한 움직임 동작(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 결정하는 메뉴를 추가로 제공할 수 있다. 제1전자 장치(680)의 어플리케이션은 공유 모듈(예: 도 5의 공유 모듈(582))에 선택된 컨텐츠를 공유할 컨텐츠로 등록할 수 있다.
제1전자 장치(680)는 컨텐츠의 선택 시, 제1전자 장치(680)의 움직임을 감지하기 위해, 센서(예: 도 3의 센서(340))가 비활성화 상태인 경우, 센서를 활성화 할 수 있다.
동작 602에서, 제1전자 장치(680)는 근거리 무선 신호(예: BLE 신호)를 브로드캐스팅 할 수 있다. 이하에서는, 제1전자 장치(680)가 브로드캐스팅하는 근거리 무선 신호를 BLE 신호를 예를 들어 설명하나, 이에 한정되지 않으며, Wi-Fi aware와 같은 제2전자 장치(690)의 탐색 및/또는 연결을 지원하는 다른 근거리 무선 통신 방식이 사용될 수도 있다. 다양한 실시예에 따르면, 제1전자 장치(680)로부터 브로드캐스팅 되는 BLE 신호는 서비스 활성화 요청을 포함할 수 있다. 예를 들어, 서비스 활성화 요청은, 제1전자 장치(680)가 컨텐츠 선택에 기반한 컨텐츠 공유 기능을 활성화함에 따라, 인접한 다른 장치(예: 제2전자 장치(690))에 컨텐츠 공유 기능을 위한 어플리케이션의 실행 여부의 확인을 요청하는 정보를 포함할 수 있다. 다양한 실시예에 따르면, BLE 신호는 제1전자 장치(680)의 동작 상태와 관련된 정보를 포함할 수 있다. 예를 들어, 동작 상태와 관련된 정보는 제1전자 장치(680)에서 실행 중인 어플리케이션 또는 서비스와 관련된 정보를 포함할 수 있다. BLE 신호는 제1전자 장치(580)와 제2전자 장치(590)의 연결(예: 페어링)을 위한 정보를 포함할 수 있다.
다양한 실시예에 따르면, 제2전자 장치(690)는 BLE 신호의 수신에 대응하여, 제2전자 장치(690)의 움직임을 감지하기 위해, 센서가 비활성화된 상태인 경우, 센서를 활성화 할 수 있다.
일 실시예에 따르면, 동작 602는 지정된 어플리케이션의 실행에 기반하여 수행될 수 있다. 예를 들어, 제1전자 장치(680)에서 지정된 어플리케이션이 실행되거나 지정된 메뉴가 선택되는 경우, 제1전자 장치(680)는 동작 602를 수행할 수 있다. 이 경우, 동작 601은 동작 602 이후에 수행되거나 동작 609(예: 통신 연결) 이후에 수행될 수 있다.
동작 603에서, 제1전자 장치(680)는 활성화 된 센서를 이용하여 제1전자 장치(680)의 움직임을 감지할 수 있다. 제1전자 장치(680)는 shake 동작, 또는 tap 동작과 같이 지정된 움직임을 감지할 수 있고, 움직임이 지정된 조건을 만족하는 경우 제1움직임 정보를 생성할 수 있다. 다양한 실시예에 따르면, 제1움직임 정보는 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)의 발생 여부에 따라 flag 0 또는 1로 설정될 수 있다. 또한, 제1전자 장치(680)는 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작의 횟수, 지속 시간 및/또는 발생 시간에 대한 정보를 획득할 수 있다. 일 실시예에 따르면, 제1전자 장치(680)의 움직임 감지는 활성화 된 센서를 이용한 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작) 감지 뿐만 아니라, 제1전자 장치(680)에서 수행중인 어플리케이션에서의 메뉴 입력, 지정된 HW적 버튼(예: 키 버튼)의 입력 또는 지정된 SW적 입력(예: 터치 입력, 스와이프 입력, 롱 프레스 입력 또는 포스 터치)을 포함할 수 있다. 또는, 제1전자 장치(680) 및 제2전자 장치(690)가 무선 통신(예: UWB)을 통해 각 장치가 지시하는 방향 및/또는 2 장치 사이의 거리를 감지할 수 있는 경우, 상기 방향 및/또는 거리에 기초하여 움직임 감지에 대응하는 기능을 수행할 수 있다.
동작 604에서, 제2전자 장치(690)는 활성화 된 센서를 이용하여 제2전자 장치(690)의 움직임을 감지할 수 있다. 예를 들어, 제2전자 장치(690)는 컨텐츠 공유 기능을 활성화하기 위한 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)이 발생되는지 감지할 수 있다. 일 실시예에 따르면, 제2전자 장치(690)의 움직임 감지는 활성화 된 센서를 이용한 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작) 감지 뿐만 아니라, 제2전자 장치(690)에서 수행중인 어플리케이션에서의 메뉴 입력, 지정된 HW적 버튼(예: 키 버튼)의 입력 또는 지정된 SW적 입력(예: 터치 입력, 스와이프 입력, 롱 프레스 입력 또는 포스 터치)을 포함할 수 있다. 또는, 제1전자 장치(680) 및 제2전자 장치(690)가 무선 통신(예: UWB)을 통해 각 장치가 지시하는 방향 및/또는 2 장치 사이의 거리를 감지할 수 있는 경우, 상기 방향 및/또는 거리에 기초하여 움직임 감지에 대응하는 기능을 수행할 수 있다.
동작 605에서, 제2전자 장치(690)는 제2전자 장치(690)의 동작 상태를 확인할 수 있다. 예를 들어, 제1전자 장치(680)의 동작 상태가 컨텐츠 공유 기능을 지원하는 갤러리 어플리케이션이 실행 중인 경우, 제2전자 장치(690)에서 동일한 어플리케이션 또는 컨텐츠 공유가 가능한 다른 어플리케이션이 실행 중인지 여부를 확인할 수 있다. 본 실시예에서는 제2전자 장치(690)가 해당 어플리케이션을 실행하고 있지 않은 것을 확인할 수 있다. 다른 실시예에서는, 제2전자 장치(690)는 제1전자 장치(680)에서 컨텐츠 공유 기능을 위해 실행 중인 갤러리 어플리케이션이 설치되지 않은 상태일 수 있다.
동작 606에서, 제2전자 장치(690)는 BLE 신호를 브로드캐스팅 할 수 있다. 여기서, BLE 신호는 제1전자 장치(680)와의 컨텐츠 공유 기능 실행을 위한 통신 연결 요청을 포함할 수 있다. 또한, BLE 신호는 제2전자 장치(690)의 움직임에 대응되는 제2움직임 정보 및/또는 제2전자 장치(690)의 동작 상태와 관련된 정보를 포함할 수 있다. 일 실시예에 따르면, 제1전자 장치(680)는 제2전자 장치(690)가 전송하는 BLE 신호에 기반하여 제2전자 장치(690)와 BLE 연결을 수립할 수 있다. 예를 들어, 제1전자 장치(680) 및 제2전자 장치(690)는 GATT(generic attribute profile) 연결, BLE 페어링 및 사용자 인증 동작과 같은 상호 연결 동작에 기반하여 BLE 연결을 수립할 수 있다.
다양한 실시예에 따르면, 제1전자 장치(680)는 제2전자 장치(690)로부터 제2전자 장치(690)의 제2사용자 정보를 더 수신하고, 제2사용자 정보의 유효성을 검증할 수 있다. 예를 들어, 제2전자 장치(690)의 전화 번호가 제1전자 장치(680)의 컨택 어플리케이션에 저장되어 있거나, 공유 모듈 또는 특정 어플리케이션에 제2전자 장치(690)의 ID가 기록되어 있는 경우, 유효한 것으로 판단할 수 있다.
동작 607에서, 제1전자 장치(680)는 제2전자 장치(690)로부터 수신한 BLE 신호에 기초하여, 제2전자 장치(690)의 제2움직임 정보 및/또는 동작 상태를 확인할 수 있다. 일 실시예에서, 제1전자 장치(680)는 제1전자 장치(680)의 shake 동작, tab 동작, 롤러블 동작 또는 폴더블 동작의 감지 후 지정된 시간 이내에 수신되는 제2움직임 정보를 확인할 수 있다. 일 실시예에서, 제1전자 장치(680)는 제2전자 장치(690)의 동작 상태에 기반하여, 제2전자 장치(690)가 갤러리 어플리케이션을 실행한 상태가 아님을 확인하고, 제1전자 장치(680)에서 선택된 컨텐츠의 제2전자 장치(690)로의 일방향 전송을 수행할 기능으로 결정할 수 있다.
동작 608에서, 제1전자 장치(680)는 컨텐츠의 공유를 위해 근거리 무선 통신 연결과 관련된 정보를 제2전자 장치(690)에 전송할 수 있다. 다양한 실시예에 따르면, 제1전자 장치(680)는 컨텐츠의 공유에 사용할 근거리 무선 통신 방식(예: Wi-Fi Direct)을 선택하고, 해당 근거리 무선 통신 방식의 연결 및/또는 인증을 위해 필요한 정보를 제2전자 장치(690)에 전송할 수 있다.
동작 609에서, 제1전자 장치(680) 및 제2전자 장치(690)는 근거리 무선 통신 연결을 수립할 수 있다. 다양한 실시예에 따르면, 동작 608에서 선택된 근거리 무선 통신 방식(예: Wi-Fi Direct)으로 컨텐츠 공유가 불가능하거나 전송 실패가 발생하는 경우, 제1전자 장치(680)는 다른 근거리 무선 통신 방식(예: Bluetooth)을 이용해 제2전자 장치(690)와 연결을 시도할 수 있다. 이 경우, 제1전자 장치(680)는 Wi-Fi Direct를 이용한 전송 실패와 같은 수발신 상태를 알림 패널 또는 팝업으로 표시할 수 있다.
동작 610에서, 제1전자 장치(680)는 수립된 근거리 무선 통신 연결을 이용하여, 선택된 컨텐츠를 제2전자 장치(690)에 전송할 수 있다. 선택된 컨텐츠의 전송이 완료되는 경우, 제1전자 장치(680)는 어플리케이션에 결과를 전송할 수 있다. 또한, 제1전자 장치(680) 및 제2전자 장치(690)는 센서를 비활성화 할 수 있다.
도 7은 제2전자 장치가 제1전자 장치와 동일한 기능을 수행하지 않는 경우의 기능 수행 방법의 흐름도이다. 도 7은 제1전자 장치(780)는 컨텐츠 공유 기능을 지원하는 어플리케이션(또는 기능)을 실행하고, 제2전자 장치(790)는 해당 어플리케이션(또는 기능)을 실행하지 않은 상태에서 각 장치의 동작을 도시하고 있다. 도 7의 제1전자 장치(780) 및 제2전자 장치(790)은 도 1의 전자 장치(101) 또는 도 3의 전자 장치(380)와 동일한 구성 요소를 포함하는 장치일 수 있다.
이하에서는 도 6에서 설명한 바 있는 기술적 특징에 대해서는 그 설명을 생략하기로 한다.
동작 701에서, 제1전자 장치(780)는 컨텐츠 공유 기능을 지원하는 어플리케이션(예: 갤러리 어플리케이션)이 실행된 상태에서, 사용자 입력에 따라 공유할 컨텐츠(예: 이미지 또는 동영상 컨텐츠)를 선택할 수 있다. 제1전자 장치(780)는 컨텐츠의 선택에 대응하여 움직임 감지를 위해, 센서가 비활성화 상태인 경우, 센서를 활성화 할 수 있다.
동작 702에서, 제1전자 장치(780)는 근거리 무선 신호(예: BLE 신호)를 브로드캐스팅 할 수 있다. 다양한 실시예에 따르면, 제1전자 장치(780)로부터 브로드캐스팅 되는 BLE 신호는 서비스 활성화 요청을 포함할 수 있다. 예를 들어, 제1전자 장치(780)는 컨텐츠 선택에 기반하여 컨텐츠 공유 기능을 활성화함에 따라, 인접한 다른 장치(예: 제2전자 장치(790))에 컨텐츠 공유 기능의 활성화를 요청하는 정보를 포함할 수 있다.
다양한 실시예에 따르면, BLE 신호는 제1전자 장치(780)의 동작 상태와 관련된 정보를 포함할 수 있다. 예를 들어, 동작 상태와 관련된 정보는 제1전자 장치(780)에서 실행 중인 어플리케이션 또는 서비스와 관련된 정보를 포함할 수 있다. 일 실시 예에서, 제2전자 장치(790)는 제1전자 장치(780)로부터 수신된 BLE 신호에 기반하여 센서를 활성화 할 수 있다. 일 실시예에 따르면, 동작 702는 지정된 어플리케이션의 실행에 기반하여 수행될 수 있다. 예를 들어, 제1전자 장치(780)에서 지정된 어플리케이션이 실행되거나 지정된 메뉴가 선택되는 경우, 제1전자 장치(780)는 동작 702를 수행할 수 있다. 이 경우, 동작 701은 동작 702 이후 내지 동작 710 수행 전(예: 통신 연결 후)에 수행될 수 있다.
동작 703에서, 제1전자 장치(780)는 활성화 된 센서를 이용하여 제1전자 장치(780)의 움직임을 감지할 수 있다. 제1전자 장치(780)는 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작과 같이 지정된 움직임을 감지할 수 있고, 움직임이 지정된 조건을 만족하는 경우 제1움직임 정보를 생성할 수 있다. 일 실시예에 따르면, 제1전자 장치(780)의 움직임 감지는 활성화 된 센서를 이용한 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작) 감지 뿐만 아니라, 제1전자 장치(780)에서 수행중인 어플리케이션에서의 메뉴 입력, 지정된 HW적 버튼(예: 키 버튼)의 입력 또는 지정된 SW적 입력(예: 터치 입력, 스와이프 입력, 롱 프레스 입력 또는 포스 터치)을 포함할 수 있다. 또는, 제1전자 장치(780) 및 제2전자 장치(790)가 무선 통신(예: UWB)을 통해 각 장치가 지시하는 방향 및/또는 2 장치 사이의 거리를 감지할 수 있는 경우, 상기 방향 및/또는 거리에 기초하여 움직임 감지에 대응하는 기능을 수행할 수 있다.
동작 704에서, 제2전자 장치(790)는 활성화 된 센서를 이용하여 제2전자 장치(790)의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지할 수 있다. 일 실시예에 따르면, 제2전자 장치(790)의 움직임 감지는 활성화 된 센서를 이용한 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작) 감지 뿐만 아니라, 제2전자 장치(790)에서 수행중인 어플리케이션에서의 메뉴 입력, 지정된 HW적 버튼(예: 키 버튼)의 입력 또는 지정된 SW적 입력(예: 터치 입력, 스와이프 입력, 롱 프레스 입력 또는 포스 터치)을 포함할 수 있다.
동작 705에서, 제2전자 장치(790)는 제1전자 장치(780)의 동작 상태와 관련하여, 실행 가능한 기능을 확인할 수 있다. 예를 들어, 제1전자 장치(780)가 선택된 컨텐츠의 공유 기능 또는 어플리케이션이 실행된 경우, 해당 컨텐츠의 수신을 지원하는 어플리케이션 또는 기능을 확인할 수 있다. 다양한 실시예에 따르면, 제2전자 장치(790)에서 실행 가능한 기능이 없거나, 하나 이상일 수 있으며, 실행 가능한 기능이 복수 인 경우, 제2 전자 장치(790)의 디바이스 상태, 및/또는 현재 해당 어플리케이션 또는 기능 실행 여부에 따라 우선 순위가 지정될 수 있다.
동작 706에서, 제2전자 장치(790)는 BLE 신호를 브로드캐스팅 할 수 있다. 여기서, BLE 신호는 제1전자 장치(780)의 동작 상태와 관련하여, 제2전자 장치(790)에서 감지한 제2움직임 정보 및/또는 실행 가능한 기능에 대한 정보를 포함할 수 있다. 예를 들어, 제2전자 장치(790)는 제1전자 장치(780)에서 실행 중인 갤러리 어플리케이션에 대응하는 제2전자 장치(790)의 갤러리 어플리케이션에 관련된 정보를 전송할 수 있다. 다른 예를 들어, 제2전자 장치(790)는 제1전자 장치(780)에서 실행 중인 갤러리 어플리케이션에 대응하는 제2전자 장치(790)의 다른 어플리케이션(예: 이미지 편집 어플리케이션)에 관련된 정보를 전송할 수 있다.
동작 707에서, 제1전자 장치(780)는 제2전자 장치(790)로부터 수신한 BLE 신호에 기초하여, 제2전자 장치(790)의 제2움직임 정보 및 실행 가능한 기능을 확인할 수 있다. 일 실시예에 따르면, 제1전자 장치(780)는 제1전자 장치(780)의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지한 시간에 기반하여 지정된 시간 이내에 제2전자 장치(790)에서 동일한 타입의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)이 발생 하였는지 확인할 수 있다. 예를 들어, 제2전자 장치(790)가 전송하는 제2움직임 정보는 제2움직임이 감지된 시간에 대한 정보를 포함할 수 있고, 제1전자 장치(780)는 제2움직임이 감지된 시간에 대한 정보에 기반하여, 제2전자 장치(790)로 선택된 컨텐츠를 공유할지 여부를 확인할 수 있다. 다양한 실시예에 따르면, 제2전자 장치(790)는 제2전자 장치(790)의 제2사용자 정보를 더 전송할 수 있으며, 제1전자 장치(780)는 제2사용자 정보의 유효성을 검증할 수 있다. 일 실시예에 따르면, 제2전자 장치(790)가 동작 706에서 전송하는 BLE 신호는 제2전자 장치(790)의 실행 가능한 기능에 대한 정보만을 포함할 수 있다. 예를 들어, 제2전자 장치(790)가 실행 가능한 기능에 대한 정보만을 전송하는 경우, 제1전자 장치(780)는 제1전자 장치(780)의 동작 상태와 관련된 정보(예: 컨텐츠 공유 기능을 지원하는 어플리케이션(예: 갤러리 어플리케이션)이 실행된 상태)에 기반하여 제2전자 장치(790)로 선택된 컨텐츠를 공유할지 여부를 확인할 수 있다.
동작 708에서, 제1전자 장치(780)는 제2전자 장치(790)에 컨텐츠의 공유를 위해 근거리 무선 통신 연결과 관련된 정보를 제2전자 장치(790)에 전송할 수 있다. 또한, 제1전자 장치(780)는 컨텐츠 공유 기능의 실행을 위해 제2전자 장치(790)에 의해 확인된 실행 가능한 기능(예: 갤러리 어플리케이션의 실행)의 실행(예: 갤러리 어플리케이션의 실행)을 요청할 수 있다. 다양한 실시예에 따르면, 제1전자 장치(780)는 컨텐츠의 공유에 사용할 근거리 무선 통신 방식(예: Wi-Fi Direct)을 선택하고, 해당 근거리 무선 통신 방식의 연결 및/또는 인증을 위해 필요한 정보를 제2전자 장치(790)에 전송할 수 있다.
동작 709에서, 제1전자 장치(780) 및 제2전자 장치(790)는 근거리 무선 통신 연결을 수립할 수 있다. 다양한 실시예에 따르면, 동작 708에서 선택된 근거리 무선 통신 방식(예: Wi-Fi Direct)으로 컨텐츠 공유가 불가능하거나 전송 실패가 발생하는 경우, 제1전자 장치(780)는 다른 근거리 무선 통신 방식(예: Bluetooth)을 이용해 제2전자 장치(790)와 연결을 시도할 수 있다. 이 경우, 제1전자 장치(780)는 Wi-Fi Direct를 이용한 전송 실패와 같은 수발신 상태를 알림 패널 또는 팝업으로 표시할 수 있다.
동작 710에서, 제1전자 장치(780)는 수립된 근거리 무선 통신 연결을 이용하여, 선택된 컨텐츠를 제2전자 장치(790)에 전송할 수 있다.
도 8은 제1전자 장치 및 제2전자 장치와 동일한 어플리케이션을 실행하고 있는 경우의 기능 수행 방법의 흐름도이다. 도 8은 제1전자 장치(880) 및 제2전자 장치(890)가 동일한 어플리케이션을 실행 중인 상태에서 제1전자 장치(880)의 컨텐츠를 제2전자 장치(890)에 전송하는 실시예에 대해 도시하고 있다. 도 8의 제1전자 장치(880) 및 제2전자 장치(890)은 도 1의 전자 장치(101) 또는 도 3의 전자 장치(380)와 동일한 구성 요소를 포함하는 장치일 수 있다.
이하에서는 도 6 및/또는 도 7에서 설명한 바 있는 기술적 특징에 대해서는 그 설명을 생략하기로 한다.
동작 801에서, 제1전자 장치(880)는 컨텐츠 공유 기능을 지원하는 어플리케이션(예: 갤러리 어플리케이션)이 실행된 상태에서, 사용자 입력에 따라 공유할 컨텐츠(예: 이미지 또는 동영상 컨텐츠)를 선택할 수 있다. 제1전자 장치(880)는 컨텐츠의 선택에 기반하여, 움직임 감지를 위해 센서가 비활성화 상태인 경우, 센서를 활성화 할 수 있다.
동작 802에서, 제1전자 장치(880)는 근거리 무선 신호(예: BLE 신호)를 브로드캐스팅 할 수 있다. 다양한 실시예에 따르면, 제1전자 장치(880)로부터 브로드캐스팅 되는 BLE 신호는 서비스 활성화 요청을 포함할 수 있다. 예를 들어, 컨텐츠 선택에 의해 제1전자 장치(880)가 컨텐츠 공유 기능을 활성화함에 따라, 인접한 다른 장치(예: 제2전자 장치(890))에 컨텐츠 공유 기능을 위한 어플리케이션의 실행 여부의 확인을 요청하는 정보를 포함할 수 있다. 다양한 실시예에 따르면, BLE 신호는 제1전자 장치(880)의 동작 상태와 관련된 정보를 포함할 수 있다. 예를 들어, 동작 상태와 관련된 정보는 제1전자 장치(880)에서 실행 중인 어플리케이션 또는 서비스와 관련된 정보를 포함할 수 있다. 제2전자 장치(890)는 BLE 신호의 수신에 대응하여 움직임 감지를 위해, 센서가 비활성화 상태인 경우, 센서를 활성화 할 수 있다. 일 실시예에 따르면, 동작 802는 지정된 어플리케이션의 실행에 기반하여 수행될 수 있다. 예를 들어, 제1전자 장치(880)에서 지정된 어플리케이션이 실행되거나 지정된 메뉴가 선택되는 경우, 제1전자 장치(880)는 동작 802를 수행할 수 있다. 이 경우, 동작 801은 동작 802 이후 내지 동작 810 수행 전(예: 통신 연결 후)에 수행될 수 있다.
동작 803에서, 제1전자 장치(880)는 활성화 된 센서를 이용하여 제1전자 장치(880)의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지할 수 있다. 일 실시예에 따르면, 제1전자 장치(880)의 움직임 감지는 활성화 된 센서를 이용한 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작) 감지 뿐만 아니라, 제1전자 장치(880)에서 수행중인 어플리케이션에서의 메뉴 입력, 지정된 HW적 버튼(예: 키 버튼)의 입력 또는 지정된 SW적 입력(예: 터치 입력, 스와이프 입력, 롱 프레스 입력 또는 포스 터치)을 포함할 수 있다.
동작 804에서, 제2전자 장치(890)는 활성화 된 센서를 이용하여 제2전자 장치(890)의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지할 수 있다. 일 실시예에 따르면, 제2전자 장치(890)의 움직임 감지는 활성화 된 센서를 이용한 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작) 감지 뿐만 아니라, 제2전자 장치(890)에서 수행중인 어플리케이션에서의 메뉴 입력, 지정된 HW적 버튼(예: 키 버튼)의 입력 또는 지정된 SW적 입력(예: 터치 입력, 스와이프 입력, 롱 프레스 입력 또는 포스 터치)을 포함할 수 있다. 또는, 제1전자 장치(880) 및 제2전자 장치(890)가 무선 통신(예: UWB)을 통해 각 장치가 지시하는 방향 및/또는 2 장치 사이의 거리를 감지할 수 있는 경우, 상기 방향 및/또는 거리에 기초하여 움직임 감지에 대응하는 기능을 수행할 수 있다.
동작 805에서, 제2전자 장치(890)는 제2전자 장치(890)의 동작 상태를 확인할 수 있다. 예를 들어, 제1전자 장치(880)의 동작 상태가 컨텐츠 공유 기능을 지원하는 갤러리 어플리케이션이 실행 중인 경우, 제2전자 장치(890)에서 동일한 어플리케이션 또는 컨텐츠 공유가 가능한 다른 어플리케이션이 실행 중인지 여부를 확인할 수 있다. 본 실시예에서는 제2전자 장치(890)가 해당 어플리케이션을 현재 실행하고 있는 것을 확인할 수 있다.
동작 806에서, 제2전자 장치(890)는 BLE 신호를 브로드캐스팅 할 수 있다. 예를 들어, BLE 신호는 제1전자 장치(880)와의 컨텐츠 공유 기능 실행을 위한 통신 연결 요청을 포함할 수 있다. 또한, BLE 신호는 제2전자 장치(890)의 움직임에 대응되는 제2움직임 정보 및/또는 제2전자 장치(890)의 동작 상태와 관련된 정보를 포함할 수 있다. 제2전자 장치(890)는 컨텐츠 공유 기능의 실행을 위한 어플리케이션이 현재 실행 중임을 포함하는 동작 상태 정보를 제1전자 장치(880)에 전송할 수 있다.
동작 807에서, 제1전자 장치(880)는 제2전자 장치(890)로부터 수신한 BLE 신호에 기초하여, 제2전자 장치(890)의 제2움직임 정보 및/또는 동작 상태를 확인할 수 있다. 제1전자 장치(880)는 제2전자 장치(890)가 컨텐츠 공유 기능의 수행을 지원하는 갤러리 어플리케이션을 실행 중인 것을 확인할 수 있다. 일 실시예에 따르면, 제2전자 장치(890)가 동작 806에서 전송하는 BLE 신호는 제2전자 장치(890)의 동작 상태 정보만을 포함할 수 있다. 예를 들어, 제2전자 장치(790)가 제2전자 장치(890)에서 동일한 어플리케이션 또는 컨텐츠 공유가 가능한 다른 어플리케이션이 실행 중인 정보만을 전송하는 경우, 제1전자 장치(880)는 제1전자 장치(880)의 동작 상태와 관련된 정보(예: 제1전자 장치(880)에서 실행 중인 어플리케이션 또는 서비스와 관련된 정보)에 기반하여 제2전자 장치(890)로 선택된 컨텐츠를 공유할지 여부를 확인할 수 있다.
동작 808에서, 제1전자 장치(880)는 컨텐츠의 공유를 위해 근거리 무선 통신 연결과 관련된 정보를 제2전자 장치(890)에 전송할 수 있다. 제1전자 장치(880)는 컨텐츠 공유 기능을 지원하는 동일한 어플리케이션이 실행 중임을 알리는 정보를 제2전자 장치(890)에 전송할 수 있다. 일 실시예에 따르면, 제1전자 장치(880)와 제2전자 장치(890)가 컨텐츠 공유 기능을 지원하는 동일한 어플리케이션을 실행 중인 경우, 제1전자 장치(880)와 제2전자 장치(890)는 상호간에 컨텐츠 공유를 수행할 수 있다. 예를 들어, 제1전자 장치(880)와 제2전자 장치(890)는 지정된 폴더에 저장된 컨텐츠들을 상호 간에 공유할 수 있다.
동작 809에서, 제1전자 장치(880) 및 제2전자 장치(890)는 컨텐츠의 공유에 사용할 근거리 무선 통신 방식(예: Wi-Fi Direct)의 근거리 무선 통신 연결을 수립할 수 있다.
동작 810에서, 제1전자 장치(880)는 수립된 근거리 무선 통신 연결을 이용하여, 선택된 컨텐츠를 제2전자 장치(890)에 전송할 수 있다.
다양한 실시예에 따르면, 제1전자 장치(880)는 동작 809 및 810과 같이 근거리 무선 통신을 이용하지 않고, 외부 서버에 공유할 컨텐츠를 업로드 하고, 해당 컨텐츠를 다운로드 할 수 있는 정보(예: URL)를 제2전자 장치(890)에 전송할 수 있다.
다양한 실시예에 따르면, 제1전자 장치(880) 및 제2전자 장치(890)는 갤러리 어플리케이션 상에서 하나의 공유 앨범을 생성하여 공유되는 이미지 컨텐츠를 저장하거나, 공유되는 이미지 컨텐츠를 이용하여 합성 이미지를 생성할 수 있다. 다른 실시예에 따르면, 미디어 컨텐츠(예: 음악 파일) 공유되는 경우, 제1전자 장치(880) 및 제2전자 장치(890)는 공유된 미디어 컨텐츠를 플레이 리스트에 추가하여 공유 플레이 리스트를 생성할 수 있다.
도 9는 제1전자 장치 및 제2전자 장치와 동일한 어플리케이션을 실행하고 있는 경우의 기능 수행 방법의 흐름도이다. 도 9는 제1전자 장치(980) 및 제2전자 장치(990)가 동일한 어플리케이션을 실행 중인 상태에서 제1전자 장치(980) 및 제2전자 장치(990)의 컨텐츠를 상호 송수신하는 실시예에 대해 도시하고 있다. 도 9의 제1전자 장치(980) 및 제2전자 장치(990)은 도 1의 전자 장치(101) 또는 도 3의 전자 장치(380)와 동일한 구성 요소를 포함하는 장치일 수 있다.
이하에서는 도 6 내지 도 8에서 설명한 바 있는 기술적 특징에 대해서는 그 설명을 생략하기로 한다.
동작 901에서, 제1전자 장치(980)는 컨텐츠 공유 기능을 지원하는 어플리케이션(예: 갤러리 어플리케이션)이 실행된 상태에서, 사용자 입력에 따라 공유할 컨텐츠(예: 이미지 또는 동영상 컨텐츠)를 선택할 수 있다. 제1전자 장치(980)는 컨텐츠의 선택에 기반하여, 움직임 감지를 위해 센서가 비활성화 상태인 경우, 센서를 활성화 할 수 있다.
동작 902에서, 제1전자 장치(980)는 근거리 무선 신호(예: BLE 신호)를 브로드캐스팅 할 수 있다. 다양한 실시예에 따르면, 제1전자 장치(980)로부터 브로드캐스팅 되는 BLE 신호는 서비스 활성화 요청을 포함하고, 제1전자 장치(980)의 동작 상태와 관련된 정보를 포함할 수 있다. 일 실시예에서, 제2전자 장치(990)는 BLE 신호의 수신에 기반하여, 움직임 감지를 위해 센서가 비활성화 상태인 경우, 센서를 활성화 할 수 있다.
동작 903에서, 제1전자 장치(980)는 활성화 된 센서를 이용하여 제1전자 장치(980)의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지할 수 있다.
동작 904에서, 제2전자 장치(990)는 활성화 된 센서를 이용하여 제2전자 장치(990)의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지할 수 있다.
동작 905에서, 제2전자 장치(990)는 제2전자 장치(990)의 동작 상태를 확인할 수 있다. 예를 들어, 제1전자 장치(980)의 동작 상태가 컨텐츠 공유 기능을 지원하는 갤러리 어플리케이션이 실행 중인 경우, 제2전자 장치(990)에서 동일한 어플리케이션 또는 컨텐츠 공유가 가능한 다른 어플리케이션이 실행 중인 지 여부를 확인할 수 있다. 본 실시예에서는 제2전자 장치(990)가 해당 어플리케이션을 현재 실행하고 있는 것을 확인할 수 있다. 일 실시예에 따르면, 제2전자 장치(990)는 제1전자 장치(980)에서 실행중인 어플리케이션과 동일한 어플리케이션 또는 컨텐츠 공유가 가능한 다른 어플리케이션에 기반하여 제1전자 장치(980)로 컨텐츠를 공유할 수 있다. 예를 들어, 제2전자 장치(990)는 사용자 입력에 기반하여 제1전자 장치(980)로 전송할 컨텐츠를 선택 받을 수 있다.
동작 906에서, 제2전자 장치(990)는 BLE 신호를 브로드캐스팅 할 수 있다. 여기서, BLE 신호는 제1전자 장치(980)와의 컨텐츠 공유 기능 실행을 위한 통신 연결 요청을 포함할 수 있다. 또한, BLE 신호는 제2전자 장치(990)의 움직임에 대응되는 제2움직임 정보 및 제2전자 장치(990)의 동작 상태와 관련된 정보를 포함할 수 있다. 제2전자 장치(990)는 컨텐츠 공유 기능의 실행을 위한 어플리케이션이 현재 실행 중임을 포함하는 동작 상태 정보를 제1전자 장치(980)에 전송할 수 있다.
동작 907에서, 제1전자 장치(980)는 제2전자 장치(990)의 BLE 신호 브로드캐스팅과 적어도 일부 동시에 BLE 신호를 브로드캐스팅 할 수 있다. 여기서, BLE 신호는 제1전자 장치(980)의 동작 상태 및 제1전자 장치(980)에서 감지된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)과 관련된 제1움직임 정보를 포함할 수 있다.
동작 911에서, 제1전자 장치(980)는 제2전자 장치(990)로부터 수신한 BLE 신호에 기초하여, 제2전자 장치(990)의 제2움직임 정보 및 동작 상태를 확인할 수 있다. 예를 들어, 제1전자 장치(980)는 제2전자 장치(990)에서 정해진 시간 이내에 동일한 타입의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)이 발생 하였는지 여부 및/또는 동일한 또는 유사한 어플리케이션인지 실행 중인지 여부를 확인할 수 있다. 제2전자 장치(990)가 컨텐츠 공유 기능의 수행을 지원하는 갤러리 어플리케이션을 실행 중인 것을 확인할 수 있다.
동작 912에서, 제2전자 장치(990)는 제1전자 장치(980)로부터 수신한 BLE 신호에 기초하여, 제1전자 장치(980)의 제1움직임 정보 및 동작 상태를 확인할 수 있다. 예를 들어, 제2전자 장치(990)는 제1전자 장치(980)와 제2전자 장치(990)가 정해진 시간 이내에 동일한 타입의 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)이 발생 하였는지, 동일한 또는 유사한 어플리케이션인지 실행 중인지 여부를 확인할 수 있다.
동작 913에서, 제1전자 장치(980) 및 제2전자 장치(990)는 컨텐츠의 공유를 위해 근거리 무선 통신 연결과 관련된 정보를 서로 교환할 수 있다.
동작 914에서, 제1전자 장치(980) 및 제2전자 장치(990)는 컨텐츠의 공유에 사용할 근거리 무선 통신 방식(예: Wi-Fi Direct)의 근거리 무선 통신 연결을 수립할 수 있다.
동작 915에서, 제1전자 장치(980)는 수립된 근거리 무선 통신 연결을 이용하여, 선택된 컨텐츠를 제2전자 장치(990)에 전송하고, 이와 적어도 일부 동시에 또는 순차적으로 제2전자 장치(990)는 제2전자 장치(990)에서 선택된 컨텐츠를 제1전자 장치(980)에 전송할 수 있다. 예를 들어, 제1전자 장치(980) 및 제2전자 장치(990)는 서로 다른 채널을 통해 컨텐츠를 상대방 장치에 전송하거나, 동일 채널 상에서 순차적으로 컨텐츠를 송수신할 수 있다.
다양한 실시예에 따르면, 제1전자 장치(980) 및 제2전자 장치(990)는 근거리 무선 통신을 이용하지 않고, 외부 서버에 공유할 컨텐츠를 업로드 하고, 해당 컨텐츠를 다운로드 할 수 있는 정보(예: URL)를 상대방 장치에 전송할 수 있다.
다양한 실시예에 따르면, 제1전자 장치(980) 및 제2전자 장치(990)는 상대방 장치로부터 수신한 컨텐츠를 정해진 폴더에 저장할 수 있다.
다양한 실시예에 따르면, 제1전자 장치(980) 및 제2전자 장치(990)는 갤러리 어플리케이션 상에서 하나의 공유 앨범을 생성하여 공유되는 이미지 컨텐츠를 저장하거나, 공유되는 이미지 컨텐츠를 이용하여 합성 이미지를 생성할 수 있다. 다른 실시예에 따르면, 미디어 컨텐츠(예: 음악 파일) 공유되는 경우, 제1전자 장치(980) 및 제2전자 장치(990)는 공유된 미디어 컨텐츠를 플레이 리스트에 추가하여 공유 플레이 리스트를 생성할 수 있다.
도 10a는 다양한 실시예에 따른 shake 동작의 일 예를 도시한 것이다.
다양한 실시예에 따르면, 전자 장치(1080)(예: 도 3의 전자 장치(380), 도 4의 제1전자 장치(480))는 센서(예: 도 3의 센서(340)를 이용해 움직임을 감지하고, 감지된 전자 장치의 움직임이 지정된 종류인 경우, 제1움직임 정보를 생성하여 외부 장치(예: 도 4의 제2전자 장치(490))에 전송할 수 있다. 여기서, 지정된 움직임의 타입은 shake 동작을 포함할 수 있다.
도 10a를 참조 하면, shake 동작은 사용자가 전자 장치(1080)를 파지한 상태에서 앞/뒤 방향(또는 위/아래 방향)으로 흔드는 동작일 수 있다. 예를 들어, 참조 번호 1081과 같이, shake 동작 시 사용자는 전자 장치를 천천히 뒤 방향(backward)으로 움직인 후 참조 번호 1082와 같이 앞 방향(forward)으로 힘을 가하면서 움직이는 shake 모션을 수행할 수 있다. 다른 예를 들어, shake 동작 시 사용자는 전자 장치를, 참조 번호 1082와 같이, 앞방향(forward)으로 움직인 후, 참조 번호 1081과 같이, 뒤 방향(backward)으로 움직이는 shake 모션을 수행할 수 있다.
다양한 실시예에 따르면, 전자 장치(1080)는 센서(예: 자이로 센서)의 센싱 값을 통해 shake 동작에 대한 특징점 및 동작 패턴을 추출하여 shake 동작을 인식할 수 있다.
도 10b은 다양한 실시예에 따른 tap 동작의 일 예를 도시한 것이다.
도 10b을 참조 하면, tap 동작은 사용자가 전자 장치(1080)를 다른 물체(예: 외부 장치(1090)(예: 도 4의 제2전자 장치(490)))와 부딪치는 제스처 일 수 있다. 예를 들어, 사용자는 전자 장치(1080)와 외부 장치(1090)를 각각 왼손 및 오른손으로 파지하여, 전자 장치(1080) 및 외부 장치(1090)의 측면이 서로 부딪치도록 조작할 수 있다.
전자 장치(1080)를 tap 하여 발생하는 충격량이 비슷하여 일상 생활에서 발생하는 충격량과 tap 동작의 구분이 어렵기 때문에, 전자 장치(1080)는 소정 횟수(예: 2회) 이상 tap 동작의 패턴을 갖는 센싱 값이 인식되는 경우 tap 동작(또는 double tap)으로 판단할 수 있다. 예를 들어, double tap 동작의 경우, 센서의 센싱 값은 첫번째 충격량이 감지가 되고 일정 시간 silent 구간이 지속된 후, 두번째 충격량이 감지되고 다시 일정 시간 silent 구간이 발생하는 패턴일 수 있다.
본 명세서에서는 전자 장치(1080)와 외부 장치(1090)가 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작과 같은 동일한 타입의 움직임을 감지하는 경우에, 컨텐츠 공유 기능을 실행하는 것으로 설명하고 있으나, 다른 실시예들에 따르면, 컨텐츠 공유 기능은 UI 상의 선택, 사용자의 음성 인식, UWB를 이용한 방향 및/또는 거리 인식과 같은 다양한 수단에 의해 트리거 될 수 있다.
도 11a 및 도 11b는 다양한 실시예에 따른 제1전자 장치 및 제2전자 장치에서 표시되는 팝업 메시지를 도시한 것이다.
도 11a를 참조하면, 다양한 실시예에 따르면, 제1전자 장치(1180)는 센서로부터 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)을 감지하고, 제2전자 장치(1190)로부터 제1전자 장치(1180)의 움직임과 동일한 타입의 움직임에 대응하는 움직임 정보를 수신하는 경우, 컨텐츠 전송 여부를 선택하기 위한 UI(1185)를 디스플레이(예: 도 3의 디스플레이(330)) 상에 표시할 수 있다. 예를 들어, 제1전자 장치(1180)는 선택된 컨텐츠를 외부 장치(예: 제2전자 장치(1190))로 전송 또는 공유하기 위한 사용자의 입력에 기반하여 외부로 컨텐츠 전송 동작에 관련된 정보 및/또는 제1전자 장치(1180)의 정보(예: 제1전자 장치(1180)의 전화 번호(예: IMEI), 어플리케이션(또는 기능)에서 설정된 ID, 및/또는 디바이스 정보(예: MAC 어드레스)와 같이 제1전자 장치(1180)(또는 사용자)를 특정할 수 있는 다양한 정보를 포함하는 정보)를 포함하는 신호(예: BLE 신호 또는 WiFi aware 신호)를 전송할 수 있다.
다양한 실시예에 따르면, UI(1185)는 컨텐츠를 전송할 제2전자 장치(1190)의 사용자 정보(예: 전화 번호, ID, 또는 어플리케이션에 저장된 사용자 이름), 근거리 무선 통신 방식(예: Bluetooth 또는 Wi-Fi Direct)을 포함할 수 있다. 제1전자 장치(1180)는 사용자가 컨텐츠 전송 확인을 선택하는 경우, 제2전자 장치(1190)에 컨텐츠 수신 여부의 확인을 요청할 수 있다. 예를 들어, 제2전자 장치(1190)는 제1전자 장치(1180)가 컨텐츠를 전송하는 동작에 관련된 신호(예: BLE 신호 또는 WiFi aware 신호)를 수신하고, 제1전자 장치(1180)로 컨텐츠 전송 요청 및 제2전자 장치(1190)의 정보(예: 제2전자 장치(1190)의 전화 번호(예: IMEI), 어플리케이션(또는 기능)에서 설정된 ID, 및/또는 디바이스 정보(예: MAC 어드레스)와 같이 제2전자 장치(1190)(또는 사용자)를 특정할 수 있는 다양한 정보를 포함하는 정보)를 전송할 수 있다.도 11b를 참조하면, 다양한 실시예에 따르면, 제2전자 장치(1190)는 컨텐츠 수신 확인 요청에 응답하여, 디스플레이에 컨텐츠 수신 여부를 선택하기 위한 UI(1195)를 표시할 수 있다. UI(1195) 상에서 사용자가 컨텐츠 수신 확인을 선택하는 경우, 제1전자 장치(1180)에 컨텐츠 전송을 요청할 수 있다. 제1전자 장치(1180)는 컨텐츠 전송 요청에 응답하여, 지정된 근거리 무선 통신 방식을 이용하여 선택된 컨텐츠를 제2전자 장치(1190)에 전송할 수 있다.
다양한 실시예에 따르면, 제1전자 장치(1180) 및 제2전자 장치(1190)는 수행하는 기능에 따라서 대응되는 UI를 표시할 수 있다. 예를 들어, 제1전자 장치(1180) 및 제2전자 장치(1190)가 각각 컨텐츠를 상호 교환 하는 경우(예: 도 9) 제1전자 장치(1180) 및 제2전자 장치(1190)는 각각 컨텐츠 전송 여부를 선택하기 위한 UI(1185) 및 컨텐츠 수신 여부를 선택하기 위한 UI(1195)를 모두 표시하거나, 상기 2가지 UI가 통합된 형태의 UI를 표시할 수 있다.
다양한 실시예에 따르면, 제1전자 장치(1180) 및 제2전자 장치(1190)는 송수신 되는 컨텐츠를 지정된 폴더에 저장할 수 있다.
도 12는 다양한 실시예에 따른 이미지 컨텐츠를 공유하는 실시예를 도시한 것이다.
다양한 실시예에 따르면, 제1전자 장치(1280)는 제1전자 장치(1280)의 제1움직임 정보 및 제2전자 장치(1290)의 제2움직임 정보의 획득 시, 현재 동작 상태를 확인하고, 동작 상태에 대응하는 기능을 수행할 수 있다.
다양한 실시예에 따르면, 움직임 감지 및 동작 상태에 따라 수행할 제1전자 장치(1280)의 기능은 제2전자 장치(1290)로의 컨텐츠 전송 또는 제2전자 장치(1290)로부터의 컨텐츠 수신을 포함할 수 있다.
도 12를 참조 하면, 제1전자 장치(1280)는 갤러리 어플리케이션을 실행하고, 특정 이미지 컨텐츠(1201)를 선택할 수 있다. 이에 응답하여, 제1전자 장치(1280)는 제1전자 장치(1280)의 움직임을 감지하기 위해, 센서가 비활성화 상태인 경우, 센서를 활성화 하고, 외부 장치(예: 제2전자 장치(1290))로 제1전자 장치(1280)의 동작 상태를 포함하는 BLE 신호를 전송할 수 있다. 제2전자 장치(1290)는 BLE 신호의 수신에 대응하여, 센서를 활성화 하고, 제2전자 장치(1290)의 움직임을 감지할 수 있다.
소정 시간 이내에 제1전자 장치(1280) 및 제2전자 장치(1290)에서 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)이 감지되는 경우, 제1전자 장치(1280)는 맵핑된 기능인 이미지 컨텐츠(1201)의 전송을 수행할 수 있다. 다양한 실시예에 따르면, 제1전자 장치(1280) 및 제2전자 장치(1290)는 제1전자 장치(1280)의 동작 상태 및 제2전자 장치(1290)의 동작 상태에 따라 대응되는 기능을 수행할 수 있다. 예를 들어, 제1전자 장치(1280)는 제2전자 장치(1290)가 동일 또는 유사한 어플리케이션을 실행하고 있는 경우, 해당 어플리케이션의 컨텐츠를 공유하는 기능을 실행하고, 제2전자 장치(1290)가 해당 어플리케이션을 설치하지 않은 경우 컨텐츠 공유 기능의 실행을 중단하거나, 해당 어플리케이션을 다운로드 할 수 있는 경로를 제공할 수 있다.
일 실시예에 따르면, 제2전자 장치(1290)도 갤러리 어플리케이션을 실행하고 이미지 컨텐츠(1202)를 선택한 상태인 경우, 제2전자 장치(1290)에서 선택된 이미지 컨텐츠(1202)도 제1전자 장치(1280)로 전송될 수 있다. 제2전자 장치가 이미지 컨텐츠를 선택하지 않은 경우, 제1전자 장치에서 선택된 컨텐츠만 제2전자 장치로 전송될 수 있다.
이미지 컨텐츠(1201, 1202)의 송수신이 완료되는 경우, 지정된 폴더 내에 공유 된 이미지 컨텐츠(1201, 1202)가 저장될 수 있다.
일 실시예에 따르면, 제1전자 장치(1280)와 제2전자 장치(1290)는 지정된 폴더에 포함된 복수의 컨텐츠를 전송하거나 지정된 폴더의 동기화를 수행할 수 있다. 예를 들어, 제1전자 장치(1280)가 지정된 폴더를 선택하고 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)이 감지되는 경우, 제1전자 장치(1280)는 지정된 폴더에 포함된 복수의 컨텐츠를 제2전자 장치(1290)로 전송할 수 있다. 다른 예를 들어, 제2전자 장치(1290)에서 지정된 폴더를 선택하고 지정된 움직임(예: shake 동작, 또는 tap 동작, 롤러블 동작 또는 폴더블 동작)이 감지되는 경우, 제2전자 장치(1290)는 지정된 폴더에 포함된 복수의 컨텐츠를 제1전자 장치(880)로 전송할 수 있다. 제1전자 장치(1280)와 제2전자 장치(1290)는 지정된 폴더에 상대방 장치로부터 수신한 컨텐츠를 저장할 수 있으며, 이에 따라 제1전자 장치(1280)와 제2전자 장치(1290)의 지정된 폴더의 컨텐츠가 상호 동기화 될 수 있다. 다른 실시예에 따르면, 제1전자 장치(1280) 및 제2전자 장치(1290)는 새로운 폴더를 생성하여, 송신 및 수신되는 컨텐츠를 생성된 폴더에 저장할 수 있다.
도 13a 및 13b는 다양한 실시예에 따른 리스트의 아이템을 공유하는 실시예를 도시한 것이다.
다양한 실시예에 따르면, 제1전자 장치(1380) 및 제2전자 장치(1390)의 움직임 및 동작 상태에 대응하여 수행되는 기능은 아이템의 공유일 수 있다.
도 13a 및 도 13b를 참조 하면, 제1전자 장치(1380)는 음악 어플리케이션을 실행하고, 플레이 리스트에서 하나 이상의 아이템(1301, 1302, 및 1303)을 선택할 수 있다. 이에 응답하여, 제1전자 장치(1380)는 센서를 활성화 하여 제1전자 장치(1380)의 움직임을 감지하고, 제2전자 장치(1390)로 제1전자 장치(1380)의 동작 상태를 포함하는 BLE 신호를 전송할 수 있다. 예를 들어, 동작 상태는 제1전자 장치(1380)에서 실행중인 어플리케이션 정보(예: 어플리케이션 이름 또는 어플리케이션 ID) 및/또는 하나 이상의 아이템(1301, 1302, 및 1303)의 정보(예: 파일명, 파일 포맷 또는 아이템 수)를 포함할 수 있다. 제2전자 장치(1390)는 BLE 신호의 수신에 대응하여, 센서가 비활성화 상태인 경우, 센서를 활성화 하고, 제2전자 장치(1390)의 움직임을 감지할 수 있다.
다양한 실시예에 따르면, 제1전자 장치(1380)는 제2전자 장치(1390)의 동작 상태에 따라 지정된 기능을 실행할 수 있다. 예를 들어, 제1전자 장치(1380)는 제2전자 장치(1390)가 음악 어플리케이션을 실행 중인 경우, 제1전자 장치(1380)의 플레이 리스트의 아이템과 제2전자 장치(1390)의 플레이 리스트의 아이템을 서로 공유 하는 기능을 수행하고, 제2전자 장치(1390)가 음악 어플리케이션을 실행 중이지 않은 경우, 제1전자 장치(1380)의 플레이 리스트의 아이템을 제2전자 장치(1390)에 일 방향으로 전송할 수 있다.
도 13a를 참조 하면, 제1전자 장치(1380) 및 제2전자 장치(1390)가 음악 어플리케이션을 실행하고 있는 상태에서 소정 시간 이내에 제1전자 장치(1380) 및 제2전자 장치(1390)에서 지정된 움직임(예: shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작)이 감지되는 경우, 제1전자 장치(1380)는 선택된 아이템(1301, 1302, 및 1303)을 제2전자 장치(1390)로 전송할 수 있다. 제2전자 장치(1390)는 제2전자 장치(1390)의 플레이 리스트 상에서 선택된 아이템(1304, 1305)을 제1전자 장치(1380)로 전송할 수 있다. 제1전자 장치(1380) 및 제2전자 장치(1390)는 플레이 리스트에 상대방 장치로부터 수신한 아이템을 추가하여 플레이 리스트를 상호 동기화 할 수 있다(1320).
도 13b를 참조 하면, 제2전자 장치(1390)가 음악 어플리케이션을 실행하고 있지 않은 경우, 제1전자 장치(1380)는 선택된 아이템을 제2전자 장치(1390)로 전송할 수 있다. 제2전자 장치(1390)는 백그라운드로 음악 어플리케이션을 실행하고, 제1전자 장치(1380)로부터 수신한 아이템(1301, 1302, 1303)을 플레이 리스트에 추가할 수 있다.
다른 실시예로써, 제1전자 장치(1380) 및 제2전자 장치(1390)는 shake 동작, tab 동작, 롤러블 동작 또는 폴더블 동작에 따라 저장된 음악 플레이 리스트를 조합하여 하나의 플레이 리스트를 생성하거나, 음악 컨텐츠를 믹싱 하는 동작을 수행할 수도 있다.
다양한 실시예에 따르면, 제1전자 장치(1380) 및 제2전자 장치(1390)는 공유된 아이템과 관련된 곡 정보를 전송하고, 미리 듣기 기능을 제공할 수 있다. 또한, 제1전자 장치(1380)의 음원 파일이 제2전자 장치(1390)에 공유되는 경우, 제1전자 장치(1380) 및 제2전자 장치(1390)는 각각 스테레오 기능의 L/R 로 동작하여 음원을 재생할 수 있다.
다양한 실시예에 따르면, 제1전자 장치(1380) 및 제2전자 장치(1390)는 음원 서비스 서버(미도시)에 저장된 플레이 리스트를 공유할 수 있다. 예를 들어, 제1전자 장치(1380) 및 제2전자 장치(1390)는 스트리밍 서비스를 제공하는 음원 서비스 서버에 플레이 리스트를 저장할 수 있으며, 지정된 움직임 감지에 대응하여, 음원 서비스 서버에 저장된 플레이 리스트의 음원을 공유할 수 있다. 이 경우, 제1전자 장치(1380) 및 제2전자 장치(1390)는 BLE 신호를 이용해 해당 음원 서비스의 ID를 송수신 하고, 선택된 음원, 수신된 ID 및 각 장치의 위치 정보를 음원 서비스 서버에 전송하여, 음원 서비스 서버 상에서 플레이 리스트의 음원이 서로 공유되도록 할 수 있다.
다양한 실시예에 따르면, 제1전자 장치(1380) 및 제2전자 장치(1390)는 공유한 파일을 합성(merge) 하여 하나의 파일로 생성할 수 있다.
도 14는 다양한 실시예에 따른 화면 공유 실시예를 도시한 것이다.
다양한 실시예에 따르면, 제1전자 장치(1480) 및 제2전자 장치(1490)의 움직임 및 동작 상태에 대응하여 수행되는 기능은 화면 공유일 수 있다.
도 14를 참조 하면, 제1전자 장치(1480)는 문서(또는 메모) 작성을 하고 있는 상태에서, 제1전자 장치(1480)와 제2전자 장치(1490)에서 대응되는 움직임이 감지되는 경우, 제1전자 장치(1480)의 디스플레이에 표시되고 있는 문서 작성 화면(1410)을 제2전자 장치(1490)에 전송할 수 있다. 예를 들어, 제1전자 장치(1480) 및 제2전자 장치(1490)는 사용자 입력에 따라 편집된 문서 정보를 전달하여, 작성된 문서 내용을 동기화 할 수 있다. 일 실시예에서, 제2전자 장치(1490)에서 문서 어플리케이션이 실행 중이지 않은 경우, 제2전자 장치(1490)의 움직임 감지에 대응하여 제2전자 장치(1490)는 문서 어플리케이션을 실행할 수 있다. 예를 들어, 제2전자 장치(1490)는 제1전자 장치(1480)로부터 수신된 제1전자 장치(1480)의 동작 상태 정보에 기반하여, 제1전자 장치에서 실행 중인 문서 어플리케이션과 동일한 문서 어플리케이션 또는 제1전자 장치에서 실행 중인 문서 어플리케이션과 유사한 어플리케이션(예: 공유된 문서를 표시 가능한 어플리케이션)을 실행할 수 있다.
다양한 실시예에 따르면, 제1전자 장치(1480) 및/또는 제2전자 장치(1490)는 화면 공유 기능의 실행 이전에 표시되던 어플리케이션 화면과 상대방 장치로부터 수신된 공유 화면을 멀티 윈도우로 표시할 수 있다.
도 15는 다양한 실시예에 따른 그룹 추가 실시예를 도시한 것이다.
다양한 실시예에 따르면, 제1전자 장치(1580) 및 제2전자 장치(1590)의 움직임 및 동작 상태에 대응하여 수행되는 기능은 실행 중인 어플리케이션에서 생성된 그룹에 다른 장치를 추가하는 것일 수 있다.
예를 들어, 제1전자 장치(1580) 및 제2전자 장치(1590)에서 게임 어플리케이션이 실행 중인 경우, shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작 이 발생하는 경우, 게임 어플리케이션에서 생성된 그룹에 상대방 장치를 추가할 수 있다. 또는, 지정된 동작의 발생 시, 게임 어플리케이션에서 제1전자 장치(1580) 및 제2전자 장치(1590)의 유저가 참여하는 공통 방을 생성하거나, 게임 내에서 같은 팀을 구성할 수도 있다.
다른 예를 들어, 제1전자 장치(1580) 및 제2전자 장치(1590)에서 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작이 발생했을 때, 제2전자 장치(1590)가 게임 어플리케이션을 실행하고 있지 않은 경우, 제2전자 장치(1590)는 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작의 감지에 대응하여, 해당 게임 어플리케이션을 실행할 수 있다. 다른 실시예에 따르면, 제2전자 장치(1590)가 해당 게임 어플리케이션을 설치하지 않은 경우, 제1전자 장치(1580)는 제2전자 장치(1590)에 해당 게임 어플리케이션의 설치를 위한 정보(예: 게임을 다운로드 받을 수 있는 URL, 또는 마켓 링크)를 전송할 수 있다.
다른 실시예에 따르면, 제1전자 장치(1580)는 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 제2전자 장치(1590)에서 실행 중인 어플리케이션을 제1전자 장치(1580)에서 실행할 수 있다.
다른 실시예에 따르면, 제1전자 장치(1580)는 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 메모리에 저장된 디지털 키를 제2전자 장치(1590)에 전송할 수 있다. 이 때, 디지털 키의 유효 기간을 설정하여 전송할 수 있다.
다른 실시예에 따르면, 제1전자 장치(1580)는 공유 가능한 파일이나, 컨택, 일정, 또는 노트 어플리케이션에서 특정 컨텐츠를 선택 또는 오픈 한 상태에서, 움직임이 감지되는 경우, 해당 컨텐츠를 공유할 수 있다.
다른 실시예에 따르면, 제1전자 장치(1580)는 제1움직임 정보 및 제2움직임 정보의 획득에 대응하여, 제1전자 장치(1580)의 설정 정보, 데이터 및 어플리케이션을 제2전자 장치(1590)에 전송할 수 있다.
도 16은 다양한 실시예에 따른 기능 수행 방법의 흐름도이다.
도 16은 전자 장치(1690)(예: 도 3의 전자 장치(380), 도 4의 제1전자 장치(480))가 인접하여 위치하는 복수 개의 외부 장치(1691, 1692, 1693)(예: 도 2의 전자 장치들(210, 220, 230))와 컨텐츠 공유 기능을 실행하는 실시예에 대해 도시하고 있다.
다양한 실시예에 따르면, 전자 장치(1690)는 복수 개의 외부 장치(1691, 1692, 1693) 중 지정된 움직임이 감지된 외부 장치로 선택된 컨텐츠를 공유할 수 있다.
동작 1601에서, 전자 장치(1690)는 컨텐츠 공유 기능을 지원하는 어플리케이션(예: 갤러리 어플리케이션)이 실행된 상태에서, 사용자 입력에 따라 공유할 컨텐츠(예: 이미지 또는 동영상 컨텐츠)를 선택할 수 있다. 전자 장치(1690)는 움직임을 감지하기 위해, 센서(예: 도 3의 센서(340))가 비활성화 상태인 경우, 센서를 활성화 할 수 있다.
동작 1602에서, 전자 장치(1690)는 근거리 무선 신호(예: BLE 신호)를 브로드캐스팅 할 수 있다. 브로드캐스팅 되는 BLE 신호는 제1외부 장치(1691), 제2외부 장치(1692) 및 제3외부 장치(1693)에서 수신될 수 있다.
전자 장치(1690)로부터 브로드캐스팅 되는 BLE 신호는 서비스 활성화 요청을 포함할 수 있다. 예를 들어, 서비스 활성화 요청은, 전자 장치(1690)가 컨텐츠 선택에 기반한 컨텐츠 공유 기능을 활성화함에 따라, 인접한 외부 장치(1691, 1692, 1693)에 컨텐츠 공유 기능을 위한 어플리케이션의 실행 여부의 확인을 요청하는 정보를 포함할 수 있다. 다양한 실시예에 따르면, BLE 신호는 전자 장치(1690)의 동작 상태와 관련된 정보를 포함할 수 있다. 예를 들어, 동작 상태와 관련된 정보는 전자 장치(1690)에서 실행 중인 어플리케이션 또는 서비스와 관련된 정보를 포함할 수 있다.
다양한 실시예에 따르면, 제1외부 장치(1691), 제2외부 장치(1692) 및 제3외부 장치(1693)는 BLE 신호의 수신에 대응하여, 각 장치의 움직임을 감지하기 위해, 센서가 비활성화된 상태인 경우, 각각 센서를 활성화 할 수 있다.
동작 1611에서, 전자 장치(1690)는 활성화 된 센서를 이용하여 전자 장치(1690)의 움직임을 감지할 수 있다. 전자 장치(1690)는 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작과 같이 지정된 움직임을 감지할 수 있고, 움직임이 지정된 조건을 만족하는 경우 움직임 정보를 생성할 수 있다.
동작 1612에서, 제1외부 장치(1691)는 센서를 이용해 제1외부 장치(1691)의 움직임을 감지할 수 있다. 제1외부 장치(1691)에서 감지하는 지정된 움직임은 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작과 같이 전자 장치(1690)에서 감지하는 지정된 움직임과 동일할 수 있다.
동작 1613에서, 제2외부 장치(1692)는 센서를 이용해 제2외부 장치(1692)의 움직임을 감지할 수 있다. 제2외부 장치(1692)에서 감지하는 지정된 움직임은 전자 장치(1690) 및 제1외부 장치(1691)에서 감지하는 지정된 움직임과 동일할 수 있다.
동작 1621에서, 제1외부 장치(1691)는 제1외부 장치(1691)의 동작 상태를 확인할 수 있다. 예를 들어, 제1외부 장치(1691)에서 전자 장치(1690)에서 실행 중인 어플리케이션과 동일한 어플리케이션 또는 컨텐츠 공유가 가능한 다른 어플리케이션이 실행 중인지 여부를 확인할 수 있다. 본 실시예에서는 제1외부 장치(1691)는 전자 장치(1690)와 동일한 어플리케이션 또는 기능을 실행한 상태일 수 있다.
동작 1622에서, 제2외부 장치(1692)는 제2외부 장치(1692)의 동작 상태를 확인할 수 있다. 본 실시예에서는 제2외부 장치(1692)는 전자 장치(1690)와 동일한 어플리케이션 또는 기능을 실행하지 않은 상태일 수 있다.동작 1631에서, 제1외부 장치(1691)는 움직임 정보 및/또는 제1외부 장치(1691)에서 실행 중인 어플리케이션 또는 서비스와 관련된 정보와 관련된 정보를 포함한 BLE 신호를 브로드캐스팅 할 수 있다. 제1외부 장치(1691)가 전송한 BLE 신호는 제1외부 장치(1691)의 움직임에 대응되는 정보 및 제1외부 장치(1691)의 동작 상태와 관련된 정보를 포함할 수 있다.
동작 1632에서, 제2외부 장치(1692)는 움직임 정보 및/또는 제2외부 장치(1692)에서 실행 중인 어플리케이션 또는 서비스와 관련된 정보와 관련된 정보를 포함한 BLE 신호를 브로드캐스팅 할 수 있다. 제2외부 장치(1692)가 전송한 BLE 신호는 제2외부 장치(1692)의 움직임에 대응되는 정보 및 제2외부 장치(1692)의 동작 상태와 관련된 정보를 포함할 수 있다.
본 실시예에서는 제3외부 장치(1693)는 BLE 신호를 수신하고 센서를 활성화 하여 제3외부 장치(1693)의 움직임을 모니터링 하였으나, 지정된 움직임이 감지되지 않을 수 있다. 이에 따라, 제3외부 장치(1693)는 지정된 움직임 감지에 따른 동작 상태의 확인 및 BLE 신호의 브로드캐스팅을 수행하지 않을 수 있다.
동작 1641에서, 전자 장치(1690)는 제1외부 장치(1691) 및 제2외부 장치(1692)로부터 수신한 BLE 신호에 기초하여, 제1외부 장치(1691) 및 제2외부 장치(1692)의 움직임 정보 및 동작 상태를 확인할 수 있다. 전자 장치(1690)는 제1외부 장치(1691) 및 제2외부 장치(1692) 각각이 전송한 움직임 정보 및 동작 상태에 기반하여 컨텐츠를 공유할 적어도 하나의 장치를 확인할 수 있다. 예를 들어, 전자 장치(1690)가 감지한 움직임과 지정한 시간 내에 동일한 움직임을 감지한 장치를 확인할 수 있다. 전자 장치(1690)는 제1외부 장치(1691) 및 제2외부 장치(1692)로부터 수신한 움직임 정보 및 동작 상태에 기초하여, 수행할 기능을 결정할 수 있다. 예를 들어, 전자 장치(1690)는 동일한 어플리케이션 또는 컨텐츠 공유 기능을 실행 중인 제1외부 장치(1691)에 대해 컨텐츠의 양방향 송수신 기능의 수행을 결정할 수 있고, 동일한 어플리케이션 또는 컨텐츠 공유 기능을 실행 중이지 않은 제2외부 장치(1692)에 대해서는 전자 장치(1690)에서 컨텐츠를 제2외부 장치(1692)로 단방향 전송하는 기능의 수행을 결정할 수 있다.
전자 장치(1690)는 컨텐츠의 공유에 사용할 근거리 무선 통신 방식(예: Wi-Fi Direct 또는 Bluetooth)을 선택하고, 해당 근거리 무선 통신 방식의 연결 및/또는 인증을 위해 필요한 정보를 컨텐츠를 공유할 적어도 하나의 장치로 전송할 수 있다. 동작 1651에서, 전자 장치(1690)는 제1외부 장치(1691)와 통신 연결 관련 정보를 송수신할 수 있다. 여기서, 통신 연결 관련 정보는 동일 기능이 실행 중임을 알리는 정보를 포함할 수 있다. 동작 1652에서, 전자 장치(1690)는 제2외부 장치(1692)와 통신 연결 관련 정보를 송수신할 수 있다.
동작 1661에서, 전자 장치(1690)는 제1외부 장치(1691)와 근거리 무선 통신 연결을 수립할 수 있다. 동작 1662에서, 전자 장치(1690)는 제2외부 장치(1692)와 근거리 무선 통신 연결을 수립할 수 있다.
예를 들어, 전자 장치(1690)는 컨텐츠를 공유할 제1외부 장치(1691) 및 제2외부 장치(1692)와 동시에 근거리 무선 통신을 연결하거나 순차적으로 무선 통신을 연결할 수 있다.
동작 1671에서, 전자 장치(1690)는 수립된 근거리 무선 통신 연결을 이용하여 제1외부 장치(1691)와 양방향 컨텐츠 전송을 수행할 수 있다. 전자 장치(1690)는 어플리케이션에서 선택된 컨텐츠를 제1외부 장치(1691)로 전송하고, 제1외부 장치(1691)에서 선택된 컨텐츠를 수신할 수 있다.
동작 1672에서, 전자 장치(1690)는 수립된 근거리 무선 통신 연결을 이용하여 제2외부 장치(1692)에 선택된 컨텐츠를 전송할 수 있다.
다양한 실시예에 따른 전자 장치(380)는, 디스플레이(330), 외부 장치와 근거리 통신을 수행하기 위한 근거리 통신 모듈(310), 전자 장치(380)의 움직임을 감지하는 센서(340), 메모리(320), 및 상기 디스플레이(330), 상기 근거리 통신 모듈(310), 상기 센서(340) 및 상기 메모리(320)와 작동적으로(operatively) 연결되는 프로세서(350)를 포함하고, 상기 프로세서(350)는, 지정된 이벤트에 대응하여, 상기 센서(340)를 활성화 하고, 상기 근거리 통신 모듈(310)을 통해 상기 외부 장치에 상기 이벤트에 대응하는 신호를 전송하고, 상기 센서(340)를 통해 상기 감지된 전자 장치(380)의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치(380)의 움직임에 관련된 제1움직임 정보를 생성하고, 상기 외부 장치로부터 상기 근거리 통신 모듈(310)을 통해 상기 외부 장치의 움직임과 관련된 제2움직임 정보 및 상기 외부 장치의 동작 상태와 관련된 정보를 수신하고, 상기 제1움직임 정보 및 상기 제2움직임 정보가 획득되는 경우, 전자 장치(380)의 동작 상태 및 상기 외부 장치의 동작 상태에 대응하는 기능을 수행하도록 설정될 수 있다.
다양한 실시예에 따르면, 상기 이벤트는 지정된 어플리케이션의 실행, 상기 디스플레이(330) 또는 외부 키에 대한 사용자 입력 중 적어도 하나를 포함할 수 있다.
다양한 실시예에 따르면, 상기 동작 상태는 지정된 어플리케이션의 실행 여부를 포함할 수 있다.
다양한 실시예에 따르면, 상기 기능은 상기 외부 장치로의 컨텐츠 전송 또는 상기 외부 장치로부터의 컨텐츠 수신을 포함할 수 있다.
다양한 실시예에 따르면, 상기 프로세서(350)는, 지정된 어플리케이션이 실행 중인 경우, 상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 상기 실행 중인 어플리케이션의 컨텐츠를 상기 외부 장치로 전송하도록 설정될 수 있다.
다양한 실시예에 따르면, 상기 프로세서(350)는, 상기 외부 장치로 전송한 컨텐츠 및 상기 외부 장치로부터 수신된 컨텐츠를 하나의 폴더에 저장하도록 설정될 수 있다.
다양한 실시예에 따르면, 상기 프로세서(350)는, 상기 컨텐츠의 전송 여부를 선택하기 위한 팝업창을 상기 디스플레이(330)에 표시하도록 설정될 수 있다.
다양한 실시예에 따르면, 상기 기능은 상기 외부 장치와의 화면 공유를 포함하고, 상기 프로세서(350)는, 상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 상기 디스플레이(330)에 표시 중인 화면을 상기 외부 장치로 전송하도록 설정될 수 있다.
다양한 실시예에 따르면, 상기 기능은 그룹 참가를 포함하고, 상기 프로세서(350)는, 상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 실행 중인 어플리케이션에서 생성된 그룹에 상기 외부 장치를 추가하도록 설정될 수 있다.
다양한 실시예에 따르면, 상기 기능은 설정 정보의 공유를 포함하고, 상기 프로세서(350)는, 전자 장치(380) 상에서 설정된 설정 정보를 상기 외부 장치에 전송하도록 설정될 수 있다.
다양한 실시예에 따르면, 상기 기능은 파일의 공유를 포함하고, 상기 프로세서(350)는, 상기 외부 장치로부터 수신된 파일을 상기 메모리(320)에 저장된 파일과 합성하도록 설정될 수 있다.
다양한 실시예에 따르면, 상기 프로세서(350)는, 상기 제1움직임 정보 및 상기 제2움직임 정보가 동일한 타입의 움직임인 경우, 상기 지정된 기능을 수행하도록 설정될 수 있다.
다양한 실시예에 따르면, 상기 움직임의 타입은 shake 동작, tap 동작, 롤러블 동작 또는 폴더블 동작을 포함할 수 있다.
다양한 실시예에 따른 전자 장치(380)의 기능 수행 방법은, 지정된 이벤트에 대응하여, 센서(340)를 활성화 하는 동작, 외부 장치에 상기 이벤트에 대응하는 신호를 전송하는 동작, 상기 센서(340)를 통해 상기 감지된 전자 장치(380)의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치(380)의 움직임에 관련된 제1움직임 정보를 생성하는 동작, 상기 외부 장치로부터 상기 근거리 통신 모듈(310)을 통해 상기 외부 장치의 움직임과 관련된 제2움직임 정보 및 상기 외부 장치의 동작 상태와 관련된 정보를 수신하는 동작, 및 상기 제1움직임 정보 및 상기 제2움직임 정보가 획득되는 경우, 전자 장치(380)의 동작 상태 및 상기 외부 장치의 동작 상태에 대응하는 기능을 수행하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 상기 이벤트는 지정된 어플리케이션의 실행, 디스플레이(330) 또는 외부 키에 대한 사용자 입력 중 적어도 하나를 포함할 수 있다.
다양한 실시예에 따르면, 상기 동작 상태는 지정된 어플리케이션의 실행 여부를 포함할 수 있다.
다양한 실시예에 따르면, 상기 기능은 상기 외부 장치로의 컨텐츠 전송 또는 상기 외부 장치로부터의 컨텐츠 수신을 포함할 수 있다.
다양한 실시예에 따르면, 상기 기능을 수행하는 동작은, 지정된 어플리케이션이 실행 중인 경우, 상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 상기 실행 중인 어플리케이션의 컨텐츠를 상기 외부 장치로 전송하는 동작을 포함할 수 있다.
다양한 실시예에 따르면, 상기 제1움직임 정보 및 상기 제2움직임 정보가 동일한 타입의 움직임인지 확인하는 동작을 더 포함할 수 있다.
다양한 실시예에 따른 전자 장치(380)는, 디스플레이(330), 외부 장치와 근거리 통신을 수행하기 위한 근거리 통신 모듈(310), 전자 장치(380)의 움직임을 감지하는 센서(340), 메모리(320), 및 상기 디스플레이(330), 상기 근거리 통신 모듈(310), 상기 센서(340) 및 상기 메모리(320)와 작동적으로(operatively) 연결되는 프로세서(350)를 포함하고, 상기 프로세서(350)는, 상기 근거리 통신 모듈(310)을 통해 상기 외부 장치로부터 상기 외부 장치의 동작 상태와 관련된 정보를 수신하고, 상기 외부 장치의 동작 상태에 대응하는 기능이 컨텐츠 공유 기능인 경우, 상기 센서(340)를 활성화 하고, 상기 센서(340)를 통해 상기 감지된 전자 장치(380)의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치(380)의 움직임에 관련된 제1움직임 정보를 생성하고, 상기 근거리 통신 모듈(310)을 통해 상기 제1움직임 정보 및 상기 전자 장치(380)의 동작 상태와 관련된 정보를 상기 외부 장치로 전송하고, 및 상기 외부 장치로부터 컨텐츠를 수신하는 동작을 수행하도록 설정될 수 있다.

Claims (15)

  1. 전자 장치에 있어서,
    디스플레이;
    외부 장치와 근거리 통신을 수행하기 위한 근거리 통신 모듈;
    전자 장치의 움직임을 감지하는 센서;
    메모리; 및
    상기 디스플레이, 상기 근거리 통신 모듈, 상기 센서 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고,
    상기 프로세서는,
    지정된 이벤트에 대응하여, 상기 센서를 활성화 하고,
    상기 근거리 통신 모듈을 통해 상기 외부 장치에 상기 이벤트에 대응하는 신호를 전송하고,
    상기 센서를 통해 상기 감지된 전자 장치의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치의 움직임에 관련된 제1움직임 정보를 생성하고,
    상기 외부 장치로부터 상기 근거리 통신 모듈을 통해 상기 외부 장치의 움직임과 관련된 제2움직임 정보 및 상기 외부 장치의 동작 상태와 관련된 정보를 수신하고,
    상기 제1움직임 정보 및 상기 제2움직임 정보가 획득되는 경우, 전자 장치의 동작 상태 및 상기 외부 장치의 동작 상태에 대응하는 기능을 수행하도록 설정된 전자 장치.
  2. 제 1항에 있어서,
    상기 이벤트는 지정된 어플리케이션의 실행, 상기 디스플레이 또는 외부 키에 대한 사용자 입력 중 적어도 하나를 포함하는 전자 장치.
  3. 제 1항에 있어서,
    상기 프로세서는,
    상기 외부 장치의 동작 상태에 기초하여 상기 외부 장치가 상기 전자 장치에서 실행 중인 어플리케이션과 대응되는 적어도 하나의 어플리케이션을 설치 또는 실행하고 있는지 확인하고, 상기 확인에 기초하여 상기 수행할 기능을 결정하도록 설정된 전자 장치.
  4. 제 1항에 있어서,
    상기 기능은 상기 외부 장치로의 컨텐츠 전송 또는 상기 외부 장치로부터의 컨텐츠 수신 중 적어도 하나를 포함하는 전자 장치.
  5. 제 4항에 있어서,
    상기 프로세서는,
    지정된 어플리케이션이 실행 중인 경우, 상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 상기 실행 중인 어플리케이션에 기반한 컨텐츠를 상기 외부 장치로 전송하도록 설정된 전자 장치.
  6. 제 1항에 있어서,
    상기 기능은 상기 외부 장치와의 화면 공유를 포함하고,
    상기 프로세서는,
    상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 상기 디스플레이에 표시 중인 화면의 적어도 일부를 상기 외부 장치로 전송하도록 설정된 전자 장치.
  7. 제 1항에 있어서,
    상기 기능은 그룹 참가를 포함하고,
    상기 프로세서는,
    상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 실행 중인 어플리케이션에서 생성된 그룹에 상기 외부 장치를 추가하도록 설정된 전자 장치.
  8. 제 1항에 있어서,
    상기 기능은 설정 정보의 공유를 포함하고,
    상기 프로세서는,
    전자 장치 상에서 설정된 설정 정보를 상기 외부 장치에 전송하도록 설정된 전자 장치.
  9. 제 1항에 있어서,
    상기 기능은 파일의 공유를 포함하고,
    상기 프로세서는,
    상기 외부 장치로부터 수신된 파일을 상기 메모리에 저장된 파일과 합성하도록 설정된 전자 장치.
  10. 제 1항에 있어서,
    상기 프로세서는,
    상기 제1움직임 정보 및 상기 제2움직임 정보가 동일한 타입의 움직임인 경우, 상기 지정된 기능을 수행하도록 설정된 전자 장치.
  11. 전자 장치의 기능 수행 방법에 있어서,
    지정된 이벤트에 대응하여, 센서를 활성화 하는 동작;
    외부 장치에 상기 이벤트에 대응하는 신호를 전송하는 동작;
    상기 센서를 통해 상기 감지된 전자 장치의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치의 움직임에 관련된 제1움직임 정보를 생성하는 동작;
    상기 외부 장치로부터 상기 근거리 통신 모듈을 통해 상기 외부 장치의 움직임과 관련된 제2움직임 정보 및 상기 외부 장치의 동작 상태와 관련된 정보를 수신하는 동작; 및
    상기 제1움직임 정보 및 상기 제2움직임 정보가 획득되는 경우, 전자 장치의 동작 상태 및 상기 외부 장치의 동작 상태에 대응하는 기능을 수행하는 동작을 포함하는 방법.
  12. 제 11항에 있어서,
    상기 기능은 상기 외부 장치로의 컨텐츠 전송 또는 상기 외부 장치로부터의 컨텐츠 수신을 포함하는 방법.
  13. 제 11항에 있어서,
    상기 기능을 수행하는 동작은,
    지정된 어플리케이션이 실행 중인 경우, 상기 제1움직임 정보 및 상기 제2움직임 정보의 획득에 대응하여, 상기 실행 중인 어플리케이션의 컨텐츠를 상기 외부 장치로 전송하는 동작을 포함하는 방법.
  14. 제 11항에 있어서,
    상기 제1움직임 정보 및 상기 제2움직임 정보가 동일한 타입의 움직임인지 확인하는 동작을 더 포함하는 방법.
  15. 전자 장치에 있어서,
    디스플레이;
    외부 장치와 근거리 통신을 수행하기 위한 근거리 통신 모듈;
    전자 장치의 움직임을 감지하는 센서;
    메모리; 및
    상기 디스플레이, 상기 근거리 통신 모듈, 상기 센서 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고,
    상기 프로세서는,
    상기 근거리 통신 모듈을 통해 상기 외부 장치로부터 상기 외부 장치의 동작 상태와 관련된 정보를 수신하고,
    상기 외부 장치의 동작 상태에 대응하는 기능이 컨텐츠 공유 기능인 경우, 상기 센서를 활성화 하고,
    상기 센서를 통해 상기 감지된 전자 장치의 움직임이 지정된 조건을 만족하는 경우, 상기 전자 장치의 움직임에 관련된 제1움직임 정보를 생성하고,
    상기 근거리 통신 모듈을 통해 상기 제1움직임 정보 및 상기 전자 장치의 동작 상태와 관련된 정보를 상기 외부 장치로 전송하고, 및
    상기 외부 장치로부터 컨텐츠를 수신하는 동작을 수행하도록 설정된 전자 장치.
PCT/KR2021/008086 2020-06-26 2021-06-28 전자 장치 및 전자 장치의 기능 수행 방법 WO2021261972A1 (ko)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2020-0078711 2020-06-26
KR1020200078711A KR20220000720A (ko) 2020-06-26 2020-06-26 전자 장치 및 전자 장치의 기능 수행 방법

Publications (1)

Publication Number Publication Date
WO2021261972A1 true WO2021261972A1 (ko) 2021-12-30

Family

ID=79281555

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/008086 WO2021261972A1 (ko) 2020-06-26 2021-06-28 전자 장치 및 전자 장치의 기능 수행 방법

Country Status (2)

Country Link
KR (1) KR20220000720A (ko)
WO (1) WO2021261972A1 (ko)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023153743A1 (ko) * 2022-02-09 2023-08-17 삼성전자주식회사 전자 장치 및 이의 동작 방법

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100121997A (ko) * 2009-05-11 2010-11-19 한국과학기술원 직관적 핸드 제스쳐에 기반한 휴대용 단말기간 근거리 데이터 전송 방법 및 휴대용 단말기
KR20120079370A (ko) * 2011-01-04 2012-07-12 삼성전자주식회사 휴대 단말기의 데이터 전송 방법 및 장치
KR20140042188A (ko) * 2012-09-28 2014-04-07 주식회사 엘지유플러스 단말 간 기능 공유 방법, 그 단말 및 이를 위한 기록 매체
KR20140047809A (ko) * 2012-10-15 2014-04-23 엘지전자 주식회사 이동 단말기
KR20150114360A (ko) * 2014-03-31 2015-10-12 엘지전자 주식회사 컨텐트 공유 장치, 컨텐트 공유 시스템 및 그의 동작 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100121997A (ko) * 2009-05-11 2010-11-19 한국과학기술원 직관적 핸드 제스쳐에 기반한 휴대용 단말기간 근거리 데이터 전송 방법 및 휴대용 단말기
KR20120079370A (ko) * 2011-01-04 2012-07-12 삼성전자주식회사 휴대 단말기의 데이터 전송 방법 및 장치
KR20140042188A (ko) * 2012-09-28 2014-04-07 주식회사 엘지유플러스 단말 간 기능 공유 방법, 그 단말 및 이를 위한 기록 매체
KR20140047809A (ko) * 2012-10-15 2014-04-23 엘지전자 주식회사 이동 단말기
KR20150114360A (ko) * 2014-03-31 2015-10-12 엘지전자 주식회사 컨텐트 공유 장치, 컨텐트 공유 시스템 및 그의 동작 방법

Also Published As

Publication number Publication date
KR20220000720A (ko) 2022-01-04

Similar Documents

Publication Publication Date Title
WO2020242273A1 (en) Electronic device and method for switching network connection between plurality of electronic devices
WO2020145697A1 (en) Method for providing image using foldable display and electronic device for supporting the same
WO2020080639A1 (en) Electronic device for controlling application according to folding angle and method thereof
WO2019160345A1 (ko) 어플리케이션과 관련된 기능 또는 콘텐트를 제공하는 방법 및 이를 수행하는 전자 장치
WO2017171204A1 (ko) 단말장치 및 그 제어방법
WO2017014403A1 (en) Portable apparatus, display apparatus, and method for displaying photo thereof
WO2020171288A1 (ko) 이동 단말기 및 이동 단말기를 구비한 전자장치
WO2018124343A1 (ko) 전자장치
EP3999941A1 (en) Electronic device for providing augmented reality service and operating method thereof
WO2020101443A1 (en) Method for controlling display of vehicle and electronic device therefor
WO2020166911A1 (en) Screen providing method and electronic device supporting same
WO2019039868A1 (en) ELECTRONIC DISPLAY DEVICE FOR APPLICATION AND METHOD FOR OPERATING THE SAME
WO2015057013A1 (ko) 휴대용 장치가 웨어러블 장치를 통하여 정보를 표시하는 방법 및 그 장치
WO2021162186A1 (ko) 전자 장치와 외부 전자 장치의 전기적 연결에 의해 생성된 통신 채널을 이용하는 전자 장치 및 전자 장치의 동작 방법
WO2021085902A1 (ko) 복수의 어플리케이션들의 오디오 데이터를 출력하는 전자 장치 및 그 동작 방법
EP3375246A1 (en) Display apparatus and method of setting operating channel of the same
WO2016039498A1 (ko) 이동 단말기 및 그 제어 방법
WO2021025497A1 (en) Electronic device and method for sharing data thereof
WO2020171318A1 (ko) 이동 단말기 및 이동 단말기를 구비한 전자장치
WO2020171251A1 (ko) 이동 단말기 및 이동 단말기를 구비한 전자장치
WO2021033961A1 (en) Electronic device and method for providing service by electronic device
WO2021261972A1 (ko) 전자 장치 및 전자 장치의 기능 수행 방법
WO2021020801A1 (ko) 이벤트에 따라 형태가 전환되는 접이식 전자 장치 및 그 접이식 전자 장치의 형태를 전환하는 방법
WO2020075960A1 (ko) 전자 장치, 외부 전자 장치 및 전자 장치를 이용한 외부 전자 장치를 제어하는 방법
WO2021045265A1 (ko) 이동 단말기, 이동 단말기를 구비한 전자 장치, 그리고 전자 장치의 제어 방법

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: 21829233

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: 21829233

Country of ref document: EP

Kind code of ref document: A1