Electronic device for sharing content by using QR code and operation method thereof
The electronic device facilitates content sharing between devices using a QR code by obtaining a link address from a server, converting it into a QR code, and enabling both D2D and D2S methods, addressing the limitations of existing technologies in user convenience and compatibility.
Patent Information
- Application Number
- PCT/KR2024/006679
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-16
- Filing Date
- 2024-05-16
- Publication Date
- 2024-11-21
AI Technical Summary
Existing electronic devices cannot share content with external devices using a QR code in device-to-device (D2D) method, and the sharing is restricted by device models or platforms, limiting user convenience.
An electronic device equipped with a first and second communication module, a processor, and memory, which allows content sharing using a QR code by obtaining a link address from a server, converting it into a QR code, and displaying it for connection, enabling both device-to-device and device-to-server content sharing methods.
Enables seamless content sharing between electronic devices regardless of model or platform, providing users with enhanced convenience by allowing both direct D2D and D2S methods using QR codes.
Smart Images

Figure KR2024006679_21112024_PF_FP_ABST
Abstract
Description
Electronic device for sharing content using QR code and method of operation thereof
[0001] Various embodiments of the present invention relate to an electronic device for sharing content using a QR code and a method of operating the same.
[0002] The variety of services and additional features offered through electronic devices, such as smartphones, is steadily increasing. To enhance the utility of these devices and satisfy the diverse needs of users, telecommunications service providers and electronic device manufacturers are competitively developing electronic devices to offer a variety of features and differentiate themselves from competitors. Consequently, the various functions offered through electronic devices are also becoming increasingly sophisticated.
[0003] Electronic devices can provide various functions for sharing content with other electronic devices. For example, electronic devices can share content with other electronic devices through device-to-device (D2D) communication. Furthermore, electronic devices can share content with other electronic devices by uploading it to a server through device-to-server (D2S) communication.
[0004] According to an embodiment, an electronic device may include a first communication module, a second communication module, a display, at least one processor, and a memory storing instructions. According to an embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to identify a command for sharing content with at least one external electronic device using a QR code. According to an embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to obtain a first link address for sharing the content, including a link identifier received from a server through the first communication module, through the server based on the command. According to an embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to convert the link address into a first link address including an indicator for connecting to a first external electronic device among the at least one external electronic device through the second communication module. In one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to display a first QR code generated based on the first link address on the display. In one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to upload the content to the server based on the link address via the first communication module. In one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to transmit the content to the first external electronic device via the second communication module when the first external electronic device and the electronic device are connected via the second communication module based on the display of the first QR code.
[0005] According to one embodiment, a method of operating an electronic device may include an operation of confirming a command to share content with at least one external electronic device using a QR code. According to one embodiment, based on the command, an operation of obtaining a link address for sharing the content, including a link identifier received from a server through a first communication module included in the electronic device, through the server. According to one embodiment, the method of operating the electronic device may include an operation of converting the link address into a first link address including an indicator for connecting to a first external electronic device among the at least one external electronic device through a second communication module (255) included in the electronic device. According to one embodiment, the method of operating the electronic device may include an operation of displaying a first QR code generated based on the first link address on a display included in the electronic device. According to one embodiment, the method of operating the electronic device may include an operation of uploading the content to the server using the link address through the first communication module. According to one embodiment, the method of operating the electronic device may include an operation of transmitting the content to the first external electronic device through the second communication module when the first external electronic device and the electronic device are connected through the second communication module based on the display of the first QR code.
[0006] According to one embodiment, a non-transitory recording medium may store instructions that may perform the following actions: confirming a command for an electronic device to share content with at least one external electronic device using a QR code; obtaining a first link address for sharing the content, including a link identifier received from a server through a first communication module included in the electronic device based on the command, through the server; converting the link address into a first link address including an indicator for connecting to a first external electronic device among the at least one external electronic device through a second communication module (255) included in the electronic device; displaying a first QR code generated based on the first link address on a display included in the electronic device; uploading the content to the server based on the link address through the first communication module; and transmitting the content to the first external electronic device through the second communication module when the first external electronic device and the electronic device are connected through the second communication module based on the display of the first QR code.
[0007] FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.
[0008] FIG. 2A is a diagram of an electronic device and an external electronic device sharing content using a QR code, according to one embodiment.
[0009] FIG. 2b is a block diagram of an electronic system for sharing content using a QR code, according to one embodiment.
[0010] FIG. 3 is a flowchart illustrating a method of operation of an electronic device for sharing content using a QR code, according to one embodiment.
[0011] FIG. 4 is a flowchart illustrating a method of operation of an external electronic device for downloading content by scanning a QR code according to one embodiment.
[0012] FIG. 5 is a flowchart illustrating an operation method of an electronic device that attempts a 1:1 connection with an external electronic device to transmit content, according to one embodiment.
[0013] FIG. 6 is a flowchart illustrating a method of operation of an electronic device for sharing content with an external electronic device through a server according to one embodiment.
[0014] FIG. 7 is a flowchart illustrating a method of operation of an electronic device for sharing content with an external electronic device through a server according to one embodiment.
[0015] FIG. 8 is a drawing for explaining a QR code, a first link, and a second link according to one embodiment.
[0016] FIG. 9 is a diagram illustrating screens for an electronic device to share content using a QR code, according to one embodiment.
[0017] FIG. 10 is a diagram illustrating screens for an external electronic device to scan a QR code and receive content from an electronic device, according to one embodiment.
[0018] FIG. 11 is a diagram illustrating screens for an external electronic device to download content according to one embodiment.
[0019] FIG. 12 is a diagram illustrating screens for an electronic device to upload content to a server for sharing content using a QR code, according to one embodiment.
[0020] FIGS. 13A and 13B are diagrams showing screens in which an external electronic device scans a QR code to download content from a server, according to one embodiment.
[0021] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments. Referring to FIG. 1, in the network environment (100), the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (104) or the server (108) via a second network (199) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0022] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0023] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0024] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0025] 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).
[0026] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0027] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0028] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0029] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0030] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0031] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, 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.
[0032] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0033] The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0034] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0035] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0036] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0037] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0038] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.
[0039] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0040] According to various embodiments, the antenna module (197) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
[0041] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0042] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0043] FIG. 2A is a diagram of an electronic device and an external electronic device sharing content using a QR code, according to one embodiment.
[0044] Referring to FIG. 2A, according to one embodiment, an electronic device (201) (e.g., the electronic device (101) of FIG. 1) may share data with an external electronic device (202) (e.g., the electronic device (102) of FIG. 1). For example, data may refer to data stored in the electronic device (201) and may include various forms of information (e.g., content). For example, the content may include images, photos, videos, contact information, and text, and the form or type thereof may not be limited.
[0045] According to one embodiment, the external electronic device (202) may be located around the electronic device (201). For example, the external electronic device (202) may be located at a close distance relative to the electronic device (201).
[0046] According to one embodiment, the electronic device (201) may transmit content to the external electronic device (202) through a 1:1 connection with the external electronic device (202). For example, the method of sharing content through the 1:1 connection may use the D2D (device to device) method. For example, the 1:1 connection may be formed using WIFI direct and / or BLE communication technology. Alternatively, the electronic device (201) may upload the content to the server so that the external electronic device (202) may download the content through the server. For example, the method of sharing content through the server may use the D2S (device to server) method.
[0047] The existing D2D method required the electronic device (201) to directly search for and select a peripheral device with which to share content. At this time, the electronic device (201) could not share content in the D2D method using a QR (quick response) code. In addition, the existing D2D method could limit the electronic device (201) from sharing content depending on the model or platform of the external electronic device (202). In addition, if the external electronic device (202) is set not to respond to the electronic device (201)'s search for peripheral devices, the electronic device (201) could be limited from sharing content in the D2D method.
[0048] The existing D2S method required that an electronic device (201) share a link address or a QR code representing the link address for downloading content. An external electronic device that received the link address or QR code could download content from the server through the link address. In other words, the method of sharing content using a QR code could only be applied to the D2S method. Accordingly, existing electronic devices could not use the D2D method when sharing content with an external electronic device using a QR code, which could cause inconvenience to users.
[0049] According to one embodiment, the electronic device (201) can share content with an external electronic device (202) in a D2D manner and a D2S manner using a QR code (210). The electronic device (201) can display the QR code (210) on a display (e.g., display (260) of FIG. 2B) to share content in either the D2D manner or the D2S manner. The external electronic device (202) can scan the QR code (210) displayed on the electronic device (201) to obtain or download content in either the D2D manner or the D2S manner.
[0050] According to one embodiment, the electronic device (201) can provide content to an external electronic device (202) regardless of the model or platform of the external electronic device (202) using a QR code (210).
[0051] Through this, the electronic device (201) can provide convenience to the user by sharing content in a D2D manner and a D2S manner using a QR code.
[0052] FIG. 2b is a block diagram of an electronic system for sharing content using a QR code, according to one embodiment.
[0053] Referring to FIG. 2b, according to one embodiment, the electronic system may include an electronic device (201), an external electronic device (202), and a server (205).
[0054] According to one embodiment, the electronic device (201) may include a processor (220), a first communication module (250), a second communication module (255), and a display (260).
[0055] According to one embodiment, the processor (220) may control the overall operation of the electronic device (201). For example, the processor (220) may be implemented identically or similarly to the processor (120) of FIG. 1.
[0056] According to one embodiment, the processor (220) may perform an operation of searching for at least one external electronic device to share content with the at least one external electronic device through the second communication module (255). For example, the processor (220) may perform a discovery operation through the second communication module (255). For example, the second communication module (255) may be a communication module for performing short-range communication. For example, the second communication module (255) may support Wi-Fi, Bluetooth, and BLE communication.
[0057] According to one embodiment, the processor (220) may confirm or determine to share content with at least one external electronic device using a QR code. For example, the processor (220) may confirm or determine to share content using a QR code based on a user input selecting a sharing method using a QR code among various sharing methods.
[0058] According to one embodiment, in response to an operation of confirming to share content using a QR code, the processor (220) may request a link (or link address) from the server (205) through the first communication module (250). For example, the first communication module (250) may support a communication technology (e.g., Wi-Fi, cellular wireless communication technology) capable of transmitting and receiving data wirelessly with the server (205). The processor (220) may receive link information (e.g., a link identifier) from the server (205) through the first communication module (250). Alternatively, the processor (220) may receive a link address for sharing content through the server (205) including the link information from the server (205). For example, the link information may include a link identifier. For example, the link identifier may mean a key value (e.g., a link ID) that can download content from the server (205). For example, a link identifier can be implemented as a 12-character uppercase and lowercase English string.
[0059] According to one embodiment, the processor (220) may obtain a link address based on link information received from the server (205). For example, the link address may refer to a URL address that can upload content to the server (205) via the first communication module (250) and share the content uploaded to the server (205) with an external electronic device. For example, the link address may include a URL address that includes a link identifier.
[0060] According to one embodiment, the processor (220) may convert the link address into a first link address. For example, the first link address may include an indicator for direct connection or 1:1 connection with an external electronic device to share content via the second communication module (255). For example, the first link address may include a URL address including an indicator (e.g., a specified string) that a designated application can process. For example, the designated application may be an application for sharing content. The processor (220) may generate a first QR code based on the first link address. For example, the first QR code may indicate a link address included in the first link address. The processor (220) may display the first QR code (e.g., the QR code (210) of FIG. 2A) on the display (260).
[0061] According to one embodiment, the processor (220) may upload the content to be shared to the server (205) based on the first link address. For example, the processor (220) may upload the content to be shared to the server (205) through the first communication module (250) based on displaying the first QR code on the display (260). Alternatively, the processor (220) may upload the content to be shared to the server (205) through the first communication module (250) based on an external electronic device (202) requesting a download of the content through the server (205).
[0062] According to one embodiment, if it is determined that a 1:1 connection (or direct connection) between the electronic device (201) and the external electronic device (202) is possible based on the external electronic device (202) scanning the first QR code displayed on the display (260), the processor (220) may attempt a 1:1 connection with the external electronic device (202) through the second communication module (255). For example, the 1:1 connection may be formed using Wi-Fi Direct or BLE communication through the second communication module (255). If the 1:1 connection is formed, the processor (220) may transmit content to the external electronic device (202) in a D2D manner.
[0063] According to one embodiment, if it is determined that a 1:1 connection between the electronic device (201) and the external electronic device (202) is not possible based on the external electronic device (202) scanning the first QR code displayed on the display (260), the processor (220) may provide content to the external electronic device (202) using content uploaded to the server (205). In this case, the processor (220) may share the content with the external electronic device (202) in a D2S manner.
[0064] According to one embodiment, the external electronic device (202) may include a processor (270), a camera (280), a first communication module (290), and a second communication module (295).
[0065] According to one embodiment, the external electronic device (202) may be an external electronic device that shares content among at least one external electronic device around the electronic device (201).
[0066] According to one embodiment, the processor (270) may control the overall operation of the external electronic device (202). For example, the processor (270) may be implemented identically or similarly to the processor (120) of FIG. 1.
[0067] According to one embodiment, the processor (270) may scan a first QR code displayed on a display (260) of the electronic device (201) using a camera (280).
[0068] According to one embodiment, the processor (270) may determine whether a 1:1 connection (or direct connection) with the electronic device (201) is possible based on the scan of the first QR code. For example, the processor (270) may determine a link address (e.g., a first link address) indicated by the first QR code. The processor (270) may determine a designated application capable of executing or processing the corresponding link address (or an instruction included in the corresponding link address) among a plurality of applications stored in the external electronic device (202). For example, the processor (270) may determine the designated application using an APP link handler provided by Android.
[0069] According to one embodiment, the processor (270) may determine that a 1:1 connection (or direct connection) is not possible if the specified application is not stored in the external electronic device (202). Alternatively, the processor (270) may determine that a 1:1 connection is possible if the specified application is stored in the external electronic device (202). In this case, the processor (270) may execute an operation to receive content in a D2D manner by executing the specified application.
[0070] According to one embodiment, if it is determined that a 1:1 connection is not possible, the processor (270) may access the server (205) based on the link address indicated by the first QR code through the first communication module (290). For example, the first communication module (290) may support a communication technology (e.g., Wi-Fi, cellular communication technology) capable of transmitting and receiving data with the server (205). For example, the processor (270) may open the link address indicated by the first QR code using a browser application. If the electronic device (201) uploads content to the server (205), the processor (270) may download the content from the server (205) through the first communication module (290).
[0071] According to one embodiment, if it is determined that a 1:1 connection is possible, the processor (270) may attempt a 1:1 connection with the electronic device (201) through the second communication module (295). For example, the second communication module (295) may support a short-range communication technology (e.g., Wi-Fi, Bluetooth, BLE communication technology). For example, the processor (270) may obtain hash information using a link identifier (e.g., linkID) of the first link address indicated by the first QR code. For example, the processor (270) may transmit a response signal to the electronic device (201) through the second communication module (295). For example, the response signal may be a signal responding to a discovery operation of the electronic device (201). For example, the response signal may include hash information.
[0072] According to one embodiment, if the hash information included in the response signal matches the hash value of the first link address, the processor (270) may receive the content to be shared from the electronic device (201) through the second communication module (295).
[0073] According to one embodiment, the server (205) may perform a relay operation for content sharing between the electronic device (201) and an external electronic device (202). For example, the server (205) may be implemented as a server for supporting the electronic device (201) or a specified application. Alternatively, the server (205) may be implemented as a third-party server unrelated to the electronic device (201).
[0074] According to one embodiment, the server (205) may store content so that the electronic device (201) and the external electronic device (202) can share the content. In addition, the server (205) may transmit link information (e.g., a link identifier) to the electronic device (201) upon a request from the electronic device (201). Alternatively, the server (205) may transmit a link address (e.g., a URL address) including link information (e.g., a link identifier) to the electronic device (201) upon a request from the electronic device (201). In addition, the server (205) may transmit a notification signal to the electronic device (201) notifying that the external electronic device (202) accesses the server (205) to view or request a download of content. For example, the notification signal may further include information about the link identifier of the first link address.
[0075] At least some of the operations of the electronic device described below may be performed by the processor (220). Additionally, at least some of the operations of the external electronic device may be performed by the processor (270). However, for convenience of explanation, the subject of the operations will be described as the electronic device or the external electronic device.
[0076] FIG. 3 is a flowchart illustrating a method of operation of an electronic device for sharing content using a QR code, according to one embodiment.
[0077] Referring to FIG. 3, according to one embodiment, in operation 301, an electronic device (e.g., the electronic device (201) of FIG. 2A) may determine to share content with at least one external electronic device using a QR code. For example, the electronic device (201) may confirm a command to share content with at least one external electronic device using a QR code (210) based on a user input that determines a method for sharing content. Upon confirming the command, the electronic device (201) may initiate an operation of sharing content using the QR code (210).
[0078] According to one embodiment, in operation 303, the electronic device (201) may obtain a first link address based on a command to share content with at least one external electronic device using a QR code (210). For example, the electronic device (201) may obtain the link address based on link information (e.g., a link identifier) obtained from a server (e.g., the server (205) of FIG. 2B) through a first communication module (e.g., the first communication module (250) of FIG. 2B). Alternatively, the electronic device (201) may obtain a link address including link information from the server (205). For example, the link address may include URL information for sharing content stored in the electronic device (201) with an external electronic device through the server (202). The URL information included in the link address may include a link identifier of the link address.
[0079] According to one embodiment, in operation 304, the electronic device (201) may convert the link address into a first link address. For example, the first link address may include URL information including an indicator for connecting (e.g., 1:1 connection) with an external electronic device (e.g., an external electronic device (202) of FIG. 2B) via a second communication module (e.g., the second communication module (255) of FIG. 2B). For example, the indicator may include a designated identifier (e.g., text or a string) that can be processed via a designated application. For example, the first link address may include a URL address in which a feature string in the URL address of the link address is converted into an indicator.
[0080] According to one embodiment, in operation 305, the electronic device (201) may generate a QR code based on the first link address and display the generated QR code on a display (e.g., display (260) of FIG. 2B). For example, the QR code may include a plurality of dots representing the first link address.
[0081] According to one embodiment, in operation 307, the electronic device (201) may upload content to be shared to the server (205) based on a link address through the first communication module (250). For example, the electronic device (201) may upload content to be shared to the server (205) based on an operation of displaying a QR code on the display (260).
[0082] According to one embodiment, in operation 309, the electronic device (201) may determine whether a 1:1 connection (or direct connection) is possible with an external electronic device (e.g., the external electronic device (202) of FIG. 2A) through the second communication module (255). For example, the electronic device (201) may determine whether a 1:1 connection (or direct connection) is possible with the external electronic device (202) based on whether a response signal is received from the external electronic device (202) through the second communication module (255). For example, the response signal may be a signal corresponding to a discovery signal transmitted (or broadcast) by the electronic device (201). For example, if a response signal is not received, the electronic device (201) may determine that a 1:1 connection (or direct connection) with the external electronic device (202) is not possible through the second communication module (255). Alternatively, the electronic device (201) may determine that a 1:1 connection (or direct connection) with the external electronic device (202) is possible when a response signal is received. However, even if a response signal is received, the electronic device (201) may determine that a 1:1 connection (or direct connection) with the external electronic device (202) is possible when the hash information included in the response signal matches the hash value of the first link address.
[0083] According to one embodiment, if it is confirmed that a 1:1 connection (or direct connection) with an external electronic device (202) is possible through the second communication module (255) (example of operation 309), in operation 311, the electronic device (201) may attempt a 1:1 connection (or direct connection) with the external electronic device (202) to transmit content.
[0084] According to one embodiment, if it is determined that a 1:1 connection with an external electronic device (202) is not possible through the second communication module (255) (NO in operation 309), in operation 313, the electronic device (201) can share content with the external electronic device (202) through the server (205).
[0085] FIG. 4 is a flowchart illustrating a method of operation of an external electronic device for downloading content by scanning a QR code according to one embodiment.
[0086] Referring to FIG. 4, according to one embodiment, in operation 401, an external electronic device (e.g., the external electronic device (202) of FIG. 2A) may scan a QR code displayed on an electronic device (e.g., the electronic device (201) of FIG. 2A).
[0087] According to one embodiment, in operation 403, the external electronic device (202) may determine whether a 1:1 connection with the electronic device (201) is possible. For example, if the external electronic device (202) does not have a designated application stored in the external electronic device (202), the external electronic device (202) may determine that a 1:1 connection is not possible. Alternatively, if the external electronic device (202) has a designated application stored in the external electronic device (202), the external electronic device (202) may determine that a 1:1 connection is possible.
[0088] According to one embodiment, if it is determined that a 1:1 connection with the electronic device (201) is possible (example of operation 403), in operation 405, the external electronic device (202) may attempt a 1:1 connection with the electronic device (201). In operation 407, the external electronic device (202) may receive content from the electronic device (201) through a 1:1 connection (or D2D method).
[0089] According to one embodiment, if it is determined that a 1:1 connection with the electronic device (201) is not possible (NO in operation 403), in operation 409, the external electronic device (202) can access the server (205) based on the link address (e.g., the first link address) indicated by the QR code. If the electronic device (201) has uploaded content to the server (205), in operation 411, the external electronic device (202) can download the content from the server (205).
[0090] According to the above-described method, the electronic device (201) can provide content to be shared to an external electronic device (202) using a QR code, either a D2D method or a D2S method.
[0091] FIG. 5 is a flowchart illustrating an operation method of an electronic device that attempts a 1:1 connection with an external electronic device to transmit content, according to one embodiment.
[0092] Referring to FIG. 5, according to an embodiment, an electronic device (e.g., electronic device 201 of FIG. 2A) may search for at least one external electronic device in the vicinity to share content stored in the electronic device 201. According to an embodiment, in operation 501, the electronic device 201 may perform a discovery operation to search for at least one external electronic device in the vicinity. For example, the electronic device 201 may broadcast a discovery signal (or search signal). For example, the discovery signal (or search signal) may be implemented as a Wi-Fi Direct search signal or a BLE search signal.
[0093] Meanwhile, the order of operation 501 may not be limited by the above-described content. For example, operation 501 may be performed at any stage before the QR code is displayed by the electronic device (201). Depending on the implementation, operation 501 may be performed at any stage before the content is shared by the electronic device (201).
[0094] In one embodiment, at operation 503, the electronic device (201) may decide to share content using a QR code.
[0095] In one embodiment, at operation 505, the electronic device (201) may request a link to share content to a server (e.g., server (205) of FIG. 2B) based on the operation of determining to share content using a QR code.
[0096] According to one embodiment, in operation 507, the electronic device (201) may receive link information from the server (205). For example, the link information may include a link identifier for sharing content. Alternatively, the link information may include a link address (e.g., a URL address) for sharing content via the server (205).
[0097] According to one embodiment, in operation 509, the electronic device (201) may generate a first link address based on link information. For example, the electronic device (201) may convert a link address based on link information obtained from a server (205) into a first link address. For example, the first link address may include URL information including an indicator that can be processed by a designated application. In addition, the URL information of the first link address may include a link identifier received from the server (205) as part of the URL. For example, the link identifier may include a 12-character uppercase and lowercase English string.
[0098] According to one embodiment, in operation 511, the electronic device (201) may obtain a hash value based on the first link address (or a link identifier included in the first link address). For example, the hash value may be generated using a specified algorithm (e.g., the SHA256 algorithm). Depending on the implementation, the electronic device (201) may use only a value corresponding to 3 bytes of the generated hash value as the hash value.
[0099] According to one embodiment, in operation 513, the electronic device (201) may generate a QR code based on the first link address and display the generated QR code on a display (e.g., display (260) of FIG. 2B). For example, the QR code may include information indicating the first link address (e.g., a plurality of dots).
[0100] According to one embodiment, in operation 515, the electronic device (201) may upload content to the server (205) using a link address based on the generation or display of a QR code. At this time, when the upload of the content is completed, the electronic device (201) may map the content to the link address (or first link address).
[0101] According to one embodiment, in operation 517, an external electronic device (e.g., the external electronic device (202) of FIG. 2A) may scan a QR code displayed on a display (260) of the electronic device (201). The external electronic device (202) may scan the QR code using a camera (e.g., the camera (280) of FIG. 2B). The external electronic device (202) may verify information indicated by the QR code. Based on the verification result, the external electronic device (202) may verify a URL address indicated by a first link address indicated by the QR code (or URL information indicated by the first link address).
[0102] According to an embodiment, in operation 519, the external electronic device (202) can check whether an application (hereinafter, APP) capable of processing the URL address indicated by the first link address is stored. For example, if the external electronic device (202) determines that an application (hereinafter, APP) capable of processing the URL address indicated by the first link address is stored, the external electronic device (202) can share content in a D2D manner. If the external electronic device (202) determines that an application (hereinafter, APP) capable of processing the URL address indicated by the first link address is not stored, the external electronic device (202) can share content in a D2S manner. Meanwhile, a method for the external electronic device (202) to share content in a D2S manner will be described with reference to FIGS. 6 and 7. In addition, since the operation of the external electronic device (202) of FIG. 5 describes a method for sharing content in a D2D manner, it will be explained assuming that the external electronic device (202) stores an application (hereinafter, APP) capable of processing the URL address (or indicator) indicated by the first link address.
[0103] According to one embodiment, in operation 521, the external electronic device (202) may obtain hash information based on the first link address (or the link identifier included in the first link address). For example, the hash information may be obtained using a designated algorithm (e.g., the SHA256 algorithm). Depending on the implementation, the electronic device (201) may use only a value corresponding to 3 bytes of the obtained hash information as hash information.
[0104] According to an embodiment, in operation 523, the external electronic device (202) may transmit a response signal to the electronic device (201). The response signal may be a response signal to a discovery signal (or a search signal). For example, the response signal may be implemented as a Wi-Fi Direct response signal or a BLE response signal. The response signal may include device information of the external electronic device (e.g., deviceID, deviceName) and hash information (e.g., information corresponding to 3 bytes of the hash information). Thereafter, the external electronic device (202) may attempt a 1:1 connection (or direct connection) with the electronic device (201) by using Wi-Fi Direct, Wi-Fi Aware, or BLE communication technology through a second communication module (e.g., the second communication module (295) of FIG. 2B).
[0105] According to one embodiment, in operation 525, the electronic device (201) may verify hash information. For example, the electronic device (201) may verify whether the hash value of the first link address matches the hash information included in the response signal. That is, the electronic device (201) may verify whether the external electronic device (202) that transmitted the response signal requested content for the first link address based on whether the hash information matches the hash value.
[0106] According to one embodiment, in operation 527, the electronic device (201) may transmit content to an external electronic device (202) if the hash value of the first link address matches the hash information included in the response signal. At this time, the electronic device (201) may form a 1:1 connection with the external electronic device (202) and transmit the content to be shared to the external electronic device (202) through the 1:1 connection.
[0107] Depending on the implementation, the electronic device (201) may not perform operation 515. For example, the electronic device (201) may not upload content to the server (205) after displaying the QR code on the display (260). The electronic device (201) may transmit content to the external electronic device (202) when it is confirmed that the hash information included in the response signal matches the hash value, without uploading the content to the server (205) in advance.
[0108] FIG. 6 is a flowchart illustrating a method of operation of an electronic device for sharing content with an external electronic device through a server according to one embodiment.
[0109] Referring to FIG. 6, according to one embodiment, an electronic device (e.g., electronic device (201) of FIG. 2A) can share content with an external electronic device (e.g., external electronic device (202) of FIG. 2A) in a D2S manner. Operations 601 to 617 of FIG. 6 can be implemented identically or similarly to operations 501 to 517 of FIG. 5.
[0110] According to one embodiment, an electronic device (e.g., electronic device (201) of FIG. 2A) may search for at least one external electronic device in the vicinity to share content stored in the electronic device (201). According to one embodiment, in operation 601, the electronic device (201) may perform a discovery operation to search for at least one external electronic device in the vicinity.
[0111] In one embodiment, at operation 603, the electronic device (201) may decide to share content using a QR code.
[0112] In one embodiment, at operation 605, the electronic device (201) may request a link to share content to a server (e.g., server (205) of FIG. 2B) based on the operation of determining to share content using a QR code.
[0113] According to one embodiment, in operation 607, the electronic device (201) may receive link information from the server (205). For example, the link information may include a link identifier for sharing content. Alternatively, the link information may include a link address (e.g., a URL address) for sharing content.
[0114] According to one embodiment, in operation 609, the electronic device (201) may generate a first link address based on link information. For example, the electronic device (201) may convert a link address based on link information obtained from a server (205) into a first link address. For example, the first link address may include URL information including an indicator that can be processed by a designated application. In addition, the URL information of the first link address may include a link identifier received from the server (205) as part of the URL. For example, the link identifier may include a 12-character uppercase and lowercase English string.
[0115] According to one embodiment, in operation 611, the electronic device (201) may obtain a hash value based on the first link address (or a link identifier included in the first link address). For example, the hash value may be generated using a designated algorithm (e.g., the SHA256 algorithm). Depending on the implementation, the electronic device (201) may use only a value corresponding to a designated 3 bytes among the generated hash values as the hash value.
[0116] According to one embodiment, in operation 613, the electronic device (201) may generate a QR code based on the first link address and display the generated QR code on a display (e.g., display (260) of FIG. 2B). For example, the QR code may include information indicating the first link address.
[0117] According to one embodiment, in operation 615, the electronic device (201) may upload content to the server (205) using a link address based on the generation or display of a QR code. At this time, when the upload of the content is completed, the electronic device (201) may map the content to the link address (or first link address).
[0118] According to one embodiment, in operation 617, the external electronic device (202) may scan a QR code displayed on the display (260) of the electronic device (201). The external electronic device (202) may verify information indicated by the QR code. Based on the verification result, the external electronic device (202) may verify the address indicated by the first link address indicated by the QR code (or URL information indicated by the first link address).
[0119] According to one embodiment, in operation 619, the external electronic device (202) may check whether an application (hereinafter, APP) capable of processing the URL address (or indicator) indicated by the first link address is stored. For example, if the external electronic device (202) determines that an application (hereinafter, APP) capable of processing the URL address indicated by the first link address is not stored, the external electronic device (202) may share content in a D2S manner. Meanwhile, since the operation of the external electronic device (202) of FIG. 6 describes a method for sharing content in a D2S manner, it will be described assuming that the external electronic device (202) does not store an application (hereinafter, APP) capable of processing the URL address indicated by the first link address.
[0120] According to one embodiment, if it is determined that there is no application (hereinafter, APP) stored that can process the URL address indicated by the first link address, in operation 621, the external electronic device (202) may open the link address (e.g., the first link address) indicated by the QR code using a browser application. At this time, the server (205) may automatically convert (e.g., redirect) the link address indicated by the QR code into a link address that can be opened by a browser. The external electronic device (202) may open the converted link address to access the server (205).
[0121] In one embodiment, in operation 623, the external electronic device (202) may retrieve content uploaded by the electronic device (201) and request a download of the content.
[0122] In one embodiment, at operation 625, the external electronic device (202) may download content from the server (205).
[0123] FIG. 7 is a flowchart illustrating a method of operation of an electronic device for sharing content with an external electronic device through a server according to one embodiment.
[0124] Referring to FIG. 7, according to one embodiment, the D2S method described in FIG. 7 may not require an electronic device (e.g., electronic device (201) of FIG. 2A) to upload content to a server (e.g., server (205) of FIG. 2B) in advance, compared to the D2S method of FIG. 6.
[0125] According to one embodiment, an electronic device (e.g., electronic device (201) of FIG. 2A) may search for at least one external electronic device in the vicinity to share content stored in the electronic device (201). According to one embodiment, in operation 701, the electronic device (201) may perform a discovery operation to search for at least one external electronic device in the vicinity.
[0126] In one embodiment, at operation 703, the electronic device (201) may decide to share content using a QR code.
[0127] In one embodiment, at operation 705, the electronic device (201) may request a link to share content to a server (e.g., server (205) of FIG. 2B) based on the operation of determining to share content using a QR code.
[0128] According to one embodiment, in operation 707, the electronic device (201) may receive link information from the server (205). For example, the link information may include a link identifier for sharing content. Alternatively, the link information may include a link address (e.g., a URL address) for sharing content via the server (205).
[0129] According to one embodiment, in operation 709, the electronic device (201) may generate a first link address based on link information. For example, the electronic device (201) may convert a link address based on link information obtained from a server (205) into a first link address. For example, the first link address may include URL information including an indicator that can be processed by a designated application. In addition, the URL information of the first link address may include a link identifier received from the server (205) as part of the URL. For example, the link identifier may include a 12-character uppercase and lowercase English string.
[0130] According to one embodiment, in operation 711, the electronic device (201) may obtain a hash value based on the first link address (or a link identifier included in the first link address). For example, the hash value may be generated using a designated algorithm (e.g., the SHA256 algorithm). Depending on the implementation, the electronic device (201) may use only a value corresponding to a designated 3 bytes among the generated hash values as the hash value.
[0131] According to one embodiment, in operation 713, the electronic device (201) may generate a QR code based on the first link address and display the generated QR code on a display (e.g., display (260) of FIG. 2B). For example, the QR code may include information (e.g., a plurality of dots) indicating the first link address.
[0132] According to one embodiment, in operation 715, the external electronic device (202) can scan a QR code displayed on the display (260) of the electronic device (201). The external electronic device (202) can verify information indicated by the QR code. Based on the verification result, the external electronic device (202) can verify the address indicated by the first link address indicated by the QR code (or URL information indicated by the first link address).
[0133] According to one embodiment, in operation 717, the external electronic device (202) may check whether an application (hereinafter, APP) capable of processing the URL address (or an indicator included in the URL address) indicated by the first link address is stored. For example, if the external electronic device (202) determines that an application (hereinafter, APP) capable of processing the URL address indicated by the first link address is not stored, the external electronic device (202) may receive content in a D2S manner. Meanwhile, since the operation of the external electronic device (202) of FIG. 7 describes a method for sharing content in a D2S manner, it will be described assuming that the external electronic device (202) does not store an application (hereinafter, APP) capable of processing the URL address indicated by the first link address.
[0134] According to one embodiment, if it is determined that there is no application (hereinafter, APP) stored that can process the URL address indicated by the first link address, in operation 719, the external electronic device (202) can open the link address (e.g., the first link address) indicated by the QR code using a browser application. At this time, the server (205) can automatically convert (e.g., redirect) the link address (e.g., the first link address) indicated by the QR code into a link address that can be opened by a browser. The external electronic device (202) can access the server (205) by opening the converted link address.
[0135] In one embodiment, in operation 721, the external electronic device (202) may retrieve content uploaded by the electronic device (201) and request a download of the content.
[0136] According to one embodiment, in operation 723, the server (205) may confirm a request from an external electronic device (202). In operation 725, if the request from the external electronic device (202) is confirmed, the server (205) may transmit a notification signal to the electronic device (201). For example, the notification signal may include information notifying that the external electronic device (202) accesses the server (205) to view or request a download of content and a link identifier of a first link address.
[0137] According to one embodiment, in operation 725, the electronic device (201) may verify the link address that requested the content based on the notification signal (or the link identifier included in the notification signal). For example, the electronic device (201) may verify whether the link identifier included in the notification signal matches the link identifier of the first link address.
[0138] According to one embodiment, if it is confirmed that the link identifier included in the notification signal matches the link identifier of the first link address, in operation 727, the electronic device (201) may upload the content to be shared to the server (205) using the link address through the first communication module (250). At this time, when the upload of the content is completed, the electronic device (201) may map the corresponding content to the link address (or the first link address).
[0139] According to one embodiment, in operation 731, the external electronic device (202) can download content uploaded by the electronic device (202) from the server (205) via the first communication module (290).
[0140] As described above, the electronic device (201) can provide content to an external electronic device (202) according to any one of the D2S methods of FIGS. 6 and 7.
[0141] FIG. 8 is a drawing for explaining a QR code, a first link, and a second link according to one embodiment.
[0142] Referring to FIG. 8, according to one embodiment, an electronic device (e.g., electronic device (201) of FIG. 2A) may generate a first link address (820) based on link information (e.g., link identifier (825)) received from a server (e.g., server (205) of FIG. 2B). For example, the electronic device (201) may convert a second link address (830) based on the link identifier (825) obtained from the server (205) into the first link address (820). For example, the first link address (820) may include URL information. The URL information may include an indicator (822) and a link identifier (825) that can be processed by a specified application.
[0143] According to one embodiment, the electronic device (201) may generate a QR code (810) based on a first link address (820). The QR code (810) may include a plurality of dots. The plurality of dots may include information indicating the first link address (820).
[0144] According to one embodiment, the external electronic device (202) can scan the QR code (810) to check information about the first link address (820) indicated by the QR code (810). If a designated application capable of processing the first link address (820) (or the indicator (822)) is installed in the external electronic device (202), the external electronic device (202) can process the first link address (820) using the designated application. At this time, the external electronic device (202) can obtain hash information based on the first link address (820) (or the link identifier (825)). The external electronic device (202) can transmit a response signal including the hash information to the electronic device (201) through a short-range communication module (e.g., the second communication module (295) of FIG. 2B) and attempt a 1:1 connection with the electronic device (201).
[0145] According to one embodiment, if a designated application capable of processing the first link address (820) (or the indicator (822)) is not installed on the external electronic device (202), the first link address (820) may be opened using a browser application. At this time, the server (205) may automatically convert (or re-direct) the first link address (820) into a second link address (830). For example, the second link address (830) may include URL information in which the indicator (822) is converted into a string (832) for sharing content through the server (205). In addition, the second link address (830) may be identical to the first link address (820) except for the string (832). The external electronic device (202) may access the server (205) through the second link address (830). Thereafter, the external electronic device (202) can download the content uploaded to the second link address (830) corresponding to the first link address (820).
[0146] Meanwhile, the URL addresses or strings included in the link address described in FIG. 8 are merely exemplary, and the technical features of the present invention may not be limited thereto.
[0147] FIG. 9 is a diagram illustrating screens for an electronic device to share content using a QR code, according to one embodiment.
[0148] Referring to FIG. 9, according to one embodiment, an electronic device (901) (e.g., the electronic device (201) of FIG. 2A) may display a first screen (910) for sharing content with at least one external electronic device. For example, the first screen (910) may include a first object (915) for sharing content using a QR code. The electronic device (201) may display a second screen (920) based on a user input for the first object (915).
[0149] According to one embodiment, the electronic device (901) may display a second screen (920) for sharing content using a QR code. The second screen (920) may include a QR code (925). For example, the QR code (925) may include a plurality of dots. The plurality of dots may include information indicating a link address (e.g., "http: / qr.quickshare.samsungcloud.com / linkID") generated based on link information (e.g., a link identifier (linkID)) received by the electronic device (901) from a server (e.g., server (205) of FIG. 2B ).
[0150] According to one embodiment, the electronic device (901) may provide content to an external electronic device (e.g., the external electronic device (202) of FIG. 2A) that scans a QR code (925) according to either the D2D method or the D2S method.
[0151] FIG. 10 is a diagram illustrating screens for an external electronic device to scan a QR code and receive content from an electronic device, according to one embodiment.
[0152] Referring to FIG. 10, according to one embodiment, an external electronic device (1001) (e.g., the external electronic device (202) of FIG. 2A) can scan a QR code displayed on an electronic device (e.g., the electronic device (201) of FIG. 2A or the electronic device (901) of FIG. 9). For example, the external electronic device (1001) can scan the QR code displayed on the electronic device (201 or 901) by displaying a first screen (1010) for scanning a QR code.
[0153] According to one embodiment, an external electronic device (1001) may receive content from an electronic device (201 or 901) according to a D2D method or a D2S method. The external electronic device (1001) may display a second screen (1020) indicating a download status of the content. For example, the second screen (1020) may include information indicating a name of the content, a type of the content, and a download progress status of the content. In addition, the second screen (1020) may also include information regarding a download deadline and a download time. The second screen (1020) may further include an object for stopping a download.
[0154] According to one embodiment, the external electronic device (1001) may display a third screen (1030) when the download of content is completed. For example, the third screen (1030) may include information about the content for which the download is completed (e.g., the type of content, the number of contents).
[0155] FIG. 11 is a diagram illustrating screens for an external electronic device to download content according to one embodiment.
[0156] Referring to (a) of FIG. 11, an external electronic device (1101) (e.g., the external electronic device (202) of FIG. 2A) may display a first screen (1110) requesting and waiting for content sharing with an electronic device (e.g., the electronic device (201) of FIG. 2A). For example, the external electronic device (1101) may display the first screen (1110) while requesting and waiting for a 1:1 connection with the electronic device (201) according to the D2D method. The first screen (1110) may include a first object (1111) and a second object (1112).
[0157] According to one embodiment, the first object (1111) may be an object that continuously waits for a 1:1 connection. The external electronic device (1101) may be operated in a mode for downloading content according to the D2D method based on a user input for the first object (1111). Thereafter, when a 1:1 connection is formed with the electronic device (201), the external electronic device (1101) may receive content from the electronic device (201). At this time, the external electronic device (1101) may display a second screen (1120) indicating the download status of the content, as shown in (b) of FIG. 11 .
[0158] According to one embodiment, the second object (1112) may be an object for opening the first link address and downloading content through a server. The external electronic device (1101) may be operated in a mode for downloading content according to a D2S method based on a user input for the second object (1112). Thereafter, the external electronic device (1101) may access a server (e.g., server (205) of FIG. 2B) through the first link address and check the content uploaded by the electronic device (201). At this time, the external electronic device (1101) may display a third screen (1130) showing information about the uploaded content, as shown in FIG. 11 (c).
[0159] According to the above-described method, the external electronic device (1101) can select or determine a method for downloading content among the D2D method or the D2S method before a 1:1 connection is formed with the electronic device (201).
[0160] Depending on the implementation, if the external electronic device (1101) moves to a location where the D2D method is not supported while receiving content in the D2D method (e.g., the other party needs to move urgently and moves away to a distance where the D2D method is not supported), the external electronic device (1101) may also receive the content in the D2S method. For example, if the external electronic device (1101) cannot complete downloading the content in the D2D method, the external electronic device (1101) may download the content anew through the server. Alternatively, if the external electronic device (1101) cannot complete downloading the content in the D2D method, the external electronic device (1101) may continuously download the remaining portion of the content through the server.
[0161] FIG. 12 is a diagram illustrating screens for an electronic device to upload content to a server for sharing content using a QR code, according to one embodiment.
[0162] Referring to FIG. 12, according to one embodiment, an electronic device (1201) (e.g., electronic device (201) of FIG. 2A) may display a first screen (1210) for sharing content using a QR code.
[0163] According to one embodiment, the electronic device (1201) may upload content to be shared to a server (e.g., server (205) of FIG. 2B) based on the generation or display of a QR code. When uploading content to the server (205), the electronic device (1201) may display first status information (1220) indicating an upload status. Thereafter, when uploading of the content is completed, the electronic device (1201) may display second status information (1230) indicating upload completion.
[0164] Depending on the implementation, the electronic device (1201) may transmit the content to be shared to the external electronic device (202) when the hash information included in the response signal received from the external electronic device (e.g., the external electronic device (202) of FIG. 2A) matches the hash value of the first link address. In this case, the electronic device (1201) may also display information indicating the transmission status, such as the second screen (1220) and the third screen (1230).
[0165] FIGS. 13A and 13B are diagrams showing screens in which an external electronic device scans a QR code to download content from a server, according to one embodiment.
[0166] Referring to FIGS. 13A and 13B , according to one embodiment, an external electronic device (1301) (e.g., the external electronic device (202) of FIG. 2A ) can scan a QR code displayed on an electronic device (e.g., the electronic device (201) of FIG. 2A ). For example, the external electronic device (1001) can scan the QR code displayed on the electronic device (201) by displaying a first screen (1310) for scanning a QR code.
[0167] According to one embodiment, an external electronic device (1301) may open a first link address indicated by a QR code using a browser application according to the D2S method. At this time, the first link address ("http: / qr.quickshare.samsungcloud.com / linkID") may be converted into a second link address (e.g., "http: / quickshare.samsungcloud.com / linkID") by a server (e.g., server (205) of FIG. 2B). The external electronic device (1301) may display a second screen (1320) while opening the link.
[0168] Referring to FIG. 13A, according to an embodiment, the external electronic device (1301) may display a third screen (1330) and a fourth screen (1340) that include information about uploaded content. For example, if the content has not yet been uploaded by the electronic device (201), the third screen (1330) may be displayed, in which a preview of the content is not displayed. In this case, the external electronic device (1301) may automatically update the upload status of the content at a specified interval. If the content has yet been uploaded by the electronic device (201), the external electronic device (1301) may display a fourth screen (1340) in which a preview of the content is displayed. The external electronic device (1301) may select at least one of the uploaded contents and download the selected content. For example, the external electronic device (1301) may select at least one content from among the contents that have been uploaded based on a user input. When a command to download the at least one selected content (e.g., confirming a user input for a download button) is confirmed, the external electronic device (1301) may initiate or perform an operation to download the at least one selected content.
[0169] Referring to FIG. 13B, according to one embodiment, the external electronic device (1301) may display a third screen (1335), a fourth screen (1345), and a fifth screen (1355) that include information about uploaded content. For example, if the content has not yet been uploaded by the electronic device (201), the third screen (1335) may be displayed without a preview of the content being displayed. Each of the third screen (1335), the fourth screen (1345), and the fifth screen (1355) may include a refresh object (1370). In this case, the external electronic device (1301) may update the upload status of the content based on a user input for the refresh object (1370). When only some of the content has been uploaded by the electronic device (201), the external electronic device (1301) can display a fourth screen (1345) on which a preview of the uploaded content is displayed. When all of the content has been uploaded by the electronic device (201), the external electronic device (1301) can display a fifth screen (1355) on which a preview of all of the content is displayed. For example, the external electronic device (1301) can update the third screen (1335) to the fourth screen (1345) in response to a user input for the refresh object (1370). Additionally, the external electronic device (1301) can update the fourth screen (1355) to the fifth screen (1355) in response to a user input for the refresh object (1370). An external electronic device (1301) can select at least one of the uploaded contents and download the selected contents.
[0170] According to one embodiment, an electronic device (201) may include a first communication module (250), a second communication module (255), a display (260), at least one processor (220), and a memory (130) storing instructions. According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to identify a command for sharing content with at least one external electronic device using a QR code (210). According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to obtain a first link address for sharing the content, including a link identifier received from a server (205) through the first communication module, through the server, based on the command. According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to convert the link address into a first link address including an indicator for connecting with a first external electronic device (202) of the at least one external electronic device via the second communication module. According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to display a first QR code generated based on the first link address on the display. According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to upload the content to the server based on the link address via the first communication module.According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to transmit the content to the first external electronic device via the second communication module when the electronic device and the first external electronic device are connected via the second communication module based on the display of the first QR code.
[0171] According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to obtain a hash value based on the link identifier.
[0172] According to one embodiment, the instructions, when executed by the at least one processor, may cause the electronic device to broadcast a search signal for searching for the at least one external electronic device through the second communication module. According to one embodiment, the instructions, when executed by the at least one processor, may be configured such that when the electronic device receives a response signal to the search signal from the first external electronic device through the second communication module, the electronic device attempts a 1:1 connection with the first external electronic device.
[0173] According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to compare hash information included in the response signal with the hash value. According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to transmit the content to the first external electronic device based on the comparison result.
[0174] According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to share the content with the first external electronic device using the content uploaded to the server if the electronic device determines that the first external electronic device cannot connect to the electronic device through the second communication module based on the display of the first QR code.
[0175] According to one embodiment, the first link address may include URL information that can attempt a 1:1 connection with the first external electronic device through a designated application. According to one embodiment, the link address may include URL information that can access the server using a browser application.
[0176] According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to upload the content to the server using the link address based on generation of the first QR code.
[0177] In one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to receive, from the server via the first communication module, a notification signal requesting sharing of the content. In one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to upload the content to the server using the link based on the notification signal.
[0178] According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to compare hash information included in the notification signal with a hash value obtained based on the link identifier. According to one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to upload the content to the server based on a result of the comparison.
[0179] In one embodiment, the instructions, when executed by the at least one processor, may be configured to cause the electronic device to map the content to the link address when uploading of the content is completed.
[0180] According to an embodiment, a method of operating an electronic device (201) may include an operation of confirming a command to share content with at least one external electronic device using a QR code (210). According to an embodiment, based on the command, an operation of obtaining a link address for sharing the content, including a link identifier received from a server (205) through a first communication module (250) included in the electronic device, through the server may include an operation of converting the link address into a first link address including an indicator for connecting to a first external electronic device among the at least one external electronic device through a second communication module (255) included in the electronic device. According to an embodiment, the method of operating an electronic device may include an operation of displaying a first QR code generated based on the first link address on a display (260) included in the electronic device. According to one embodiment, the method of operating the electronic device may include an operation of uploading the content to the server using the link address via the first communication module. According to one embodiment, the method of operating the electronic device may include an operation of transmitting the content to the first external electronic device via the second communication module when the first external electronic device and the electronic device are connected via the second communication module based on the display of the first QR code.
[0181] According to one embodiment, the method of operating the electronic device may further include an operation of obtaining a hash value based on the link identifier.
[0182] According to one embodiment, the operating method of the electronic device may further include an operation of broadcasting a search signal for searching for the at least one external electronic device through the second communication module. According to one embodiment, the operating method of the electronic device may further include an operation of attempting a 1:1 connection with the first external electronic device when a response signal to the search signal is received from the first external electronic device through the second communication module.
[0183] According to one embodiment, the operation of transmitting the content to the first external electronic device may include an operation of comparing the hash value with the hash information included in the response signal. According to one embodiment, the operation of transmitting the content to the first external electronic device may include an operation of transmitting the content to the first external electronic device based on the comparison result.
[0184] According to one embodiment, the method of operating the electronic device may further include an operation of sharing the content with the first external electronic device using the content uploaded to the server when it is determined that the first external electronic device cannot connect to the electronic device through the second communication module based on the display of the first QR code.
[0185] According to one embodiment, the operation of uploading the content may include an operation of uploading the content to the server using the link address based on the generation of the first QR code.
[0186] According to one embodiment, the operation of uploading the content may include receiving a notification signal requesting sharing of the content from the server via the first communication module. According to one embodiment, the operation of uploading the content may include uploading the content to the server using the link address based on the notification signal.
[0187] According to one embodiment, the operation of uploading the content may include comparing the hash value obtained based on the link identifier with the hash information included in the notification signal. According to one embodiment, the operation of obtaining the first link may include uploading the content to the server based on the comparison result.
[0188] According to one embodiment, the method of operating the electronic device may further include an operation of mapping the content to the link address when uploading of the content is completed.
[0189] According to one embodiment, a non-transitory recording medium (130) includes: an operation of confirming a command for an electronic device (201) to share content with at least one external electronic device using a QR code (210); an operation of obtaining a first link address for sharing the content including a link identifier received from a server (205) through a first communication module (250) included in the electronic device based on the command; an operation of converting the link address into a first link address including an indicator for connecting with a first external electronic device (202) among the at least one external electronic device through a second communication module (255) included in the electronic device; an operation of displaying a first QR code generated based on the first link address on a display (260) included in the electronic device; an operation of uploading the content to the server based on the link address through the first communication module; and an operation of displaying the first QR code, when the first external electronic device and the electronic device are connected through the second communication module based on the display of the first QR code, Instructions capable of performing an operation of transmitting content to the first external electronic device via the second communication module can be stored.
[0190] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0191] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0192] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0193] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0194] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as a computer program product. The computer program product may be traded between sellers and buyers as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or may be provided through an application store (e.g., Play Store). TM ) or directly between two user devices (e.g., smart phones), online distribution (e.g., downloading or uploading). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0195] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
Claims
1. In an electronic device (201), First communication module (250); Second communication module (255); display (260); at least one processor (220); and A memory (130) for storing instructions, wherein the instructions, when executed by the at least one processor, cause the electronic device to: Verify a command to share content with at least one external electronic device using a QR code (210), Based on the above command, a link address for sharing the content including the link identifier received from the server (205) through the first communication module is obtained through the server, Converting the above link address into a first link address including an indicator for connecting to a first external electronic device among the at least one external electronic device through the second communication module, Displaying a first QR code generated based on the first link address on the display; Through the first communication module, the content is uploaded to the server based on the link address, An electronic device configured to transmit the content to the first external electronic device via the second communication module when the first external electronic device and the electronic device are connected via the second communication module based on the display of the first QR code.
2. In the first paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: An electronic device configured to obtain a hash value based on the above link identifier.
3. In the second paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: Through the second communication module, a search signal is broadcast to search for at least one external electronic device, An electronic device configured to attempt a 1:1 connection with the first external electronic device when receiving a response signal to the search signal from the first external electronic device through the second communication module.
4. In the third paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: Compare the hash information included in the above response signal with the above hash value, An electronic device configured to transmit the content to the first external electronic device based on the comparison result.
5. In the first paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: An electronic device set to share the content with the first external electronic device using the content uploaded to the server, when it is determined that the first external electronic device cannot connect to the electronic device through the second communication module based on the display of the first QR code.
6. In paragraph 1, The above first link address includes URL information that can attempt a 1:1 connection with the first external electronic device through a designated application, The above link address is an electronic device that includes URL information that can access the server using a browser application.
7. In the first paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: An electronic device configured to upload the content to the server using the link address based on the generation of the first QR code.
8. In the first paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: Through the first communication module, a notification signal requesting sharing of the content is received from the server, An electronic device configured to upload said content to said server using said link address based on said notification signal.
9. In the 8th paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: Compare the hash value obtained based on the link identifier and the hash information included in the above notification signal, An electronic device configured to upload said content to said server based on the comparison results.
10. In the 9th paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: An electronic device set to map said content to said link address upon completion of uploading said content.
11. In the operating method of an electronic device (201), An action to verify a command to share content with at least one external electronic device using a QR code (210); An operation of obtaining a link address for sharing the content including a link identifier received from a server (205) through the first communication module (250) included in the electronic device based on the above command through the server; An operation of converting the above link address into a first link address including an indicator for connecting with a first external electronic device among the at least one external electronic device through a second communication module (255) included in the electronic device; An action of displaying a first QR code generated based on the first link address on a display (260) included in the electronic device; An operation of uploading the content to the server based on the link address through the first communication module; and An operating method of an electronic device, comprising: when the first external electronic device and the electronic device are connected through the second communication module based on the display of the first QR code, transmitting the content to the first external electronic device through the second communication module.
12. In paragraph 11, A method of operating an electronic device further comprising the action of obtaining a hash value based on the link identifier.
13. In paragraph 12, An operation of broadcasting a search signal for searching for at least one external electronic device through the second communication module; and An operating method of an electronic device further comprising an operation of attempting a 1:1 connection with the first external electronic device when a response signal to the search signal is received from the first external electronic device through the second communication module.
14. In the 13th paragraph, the operation of transmitting the content to the first external electronic device is as follows: An operation of comparing the hash value with the hash information included in the response signal; and A method of operating an electronic device, comprising: transmitting the content to the first external electronic device based on a comparison result.
15. In paragraph 11, An operating method of an electronic device further comprising an action of sharing the content with the first external electronic device using the content uploaded to the server, if it is determined that the first external electronic device cannot connect with the electronic device through the second communication module based on the display of the first QR code.
Citation Information
Patent Citations
Content management system, content management device, control method, and program
JP2013134504A
Image transmission system and image reading device
JP2023068499A
Method and apparatus for sharing contents
KR101673188B1
Method for sharing contents, system and terminal thereof
KR1020120115691A
Method and device for providing service
KR1020140146954A
