KR20220015846A - Electronic apparatus for sharing file and file sharing method thereof - Google Patents
Electronic apparatus for sharing file and file sharing method thereof Download PDFInfo
- Publication number
- KR20220015846A KR20220015846A KR1020200096410A KR20200096410A KR20220015846A KR 20220015846 A KR20220015846 A KR 20220015846A KR 1020200096410 A KR1020200096410 A KR 1020200096410A KR 20200096410 A KR20200096410 A KR 20200096410A KR 20220015846 A KR20220015846 A KR 20220015846A
- Authority
- KR
- South Korea
- Prior art keywords
- file
- electronic device
- messaging application
- transmitted
- external electronic
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/08—Annexed information, e.g. attachments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
- H04L51/066—Format adaptation, e.g. format conversion or compression
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H04L67/2823—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
본 문서에서 개시되는 다양한 실시예들은 전자 장치가 다른 전자 장치와 파일을 공유하는 방법 및 그 장치에 관한 것이다.Various embodiments disclosed in this document relate to a method and apparatus for an electronic device to share a file with another electronic device.
통신 기술의 발전에 의해 전자 장치는 다양한 데이터 통신 기능을 수행할 수 있다. 또한, 전자 장치는 다양한 어플리케이션 프로그램을 이용하여 다양한 서비스를 제공할 수 있다. 전자 장치는 네트워크 기반의 서비스를 제공할 수 있다. 예를 들어, 전자 장치는 단문 메시지 서비스 (short message service, SMS), 멀티미디어 메시징 서비스 (multimedia messaging service, MMS), 리치 통신 스위트(rich communication suite, RCS), 기기간 (device to device, D2D) 데이터 통신, 멀티미디어 서비스, 또는 동영상 서비스를 제공할 수 있다.With the development of communication technology, electronic devices may perform various data communication functions. In addition, the electronic device may provide various services using various application programs. The electronic device may provide a network-based service. For example, the electronic device includes a short message service (SMS), a multimedia messaging service (MMS), a rich communication suite (RCS), and device to device (D2D) data communication. , a multimedia service, or a video service may be provided.
전자 장치는 네트워크를 통해 다른 전자 장치에 파일을 전송하거나, 웹서버(예: 클라우드 서버)에 원하는 파일을 업로드할 수 있다. 그러나, 전송하려는 파일의 크기(예: 용량, 개수)가 큰 경우(예: 대용량 파일), 전자 장치는 원래 파일의 크기나 해상도를 조절(예: trim, resizing)하는 동작을 수행한 후 파일을 전송하거나, 파일의 크기로 인해 파일을 전송하지 못할 수도 있다. 예를 들어, 전자 장치에서 대용량 파일을 전송할 경우 파일 전송에 문제점이 있다.The electronic device may transmit a file to another electronic device through a network or upload a desired file to a web server (eg, a cloud server). However, when the size (eg, capacity, number) of the file to be transferred is large (eg, large file), the electronic device performs an operation of adjusting (eg, trim, resizing) the size or resolution of the original file and then saves the file. Or, it may not be possible to transfer the file due to the size of the file. For example, when a large file is transmitted in an electronic device, there is a problem in file transmission.
본 문서에서 이루고자 하는 기술적 과제는 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved in this document are not limited to the technical problems mentioned above, and other technical problems not mentioned can be clearly understood by those of ordinary skill in the art to which the present invention belongs from the description below. There will be.
다양한 실시 예들에 따른 전자 장치는, 외부 장치와 통신을 수행하는 통신 회로; 및 상기 통신 회로와 작동적으로 연결된 프로세서를 포함할 수 있으며, 상기 프로세서는, 적어도 하나의 파일을 메시징 어플리케이션을 이용하여 외부 전자 장치로 제공하도록 하는 사용자 명령을 수신하고, 상기 사용자 명령에 응답하여, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하며, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 없는 것으로 판단되는 것에 응답하여, 상기 적어도 하나의 파일을 다운로드하기 위한 링크 정보를 생성하며, 상기 통신 회로를 통해서 상기 메시징 어플리케이션을 이용하여 상기 링크 정보를 상기 외부 전자 장치로 전송하고, 상기 링크 정보를 이용하여 접속 가능한 외부 서버로 상기 적어도 하나의 파일을 업로드하도록 구성될 수 있다.According to various embodiments of the present disclosure, an electronic device may include a communication circuit configured to communicate with an external device; and a processor operatively coupled to the communication circuitry, wherein the processor receives a user command to provide at least one file to an external electronic device using a messaging application, and in response to the user command, It is determined whether the at least one file can be transmitted to the external electronic device using the messaging application, and responds to the determination that the at least one file cannot be transmitted to the external electronic device using the messaging application to generate link information for downloading the at least one file, transmit the link information to the external electronic device using the messaging application through the communication circuit, and an external server accessible using the link information to upload the at least one file.
다양한 실시 예들에 따른 전자 장치의 동작 방법은, 적어도 하나의 파일을 메시징 어플리케이션을 이용하여 외부 전자 장치로 제공하도록 하는 사용자 명령을 수신하는 동작, 상기 사용자 명령에 응답하여, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 없는 것으로 판단되는 것에 응답하여, 상기 적어도 하나의 파일을 다운로드하기 위한 링크 정보를 생성하는 동작, 상기 메시징 어플리케이션을 이용하여 상기 링크 정보를 상기 외부 전자 장치로 전송하는 동작 및 상기 링크 정보를 이용하여 접속 가능한 외부 서버로 상기 적어도 하나의 파일을 업로드하는 동작을 포함할 수 있다.The method of operating an electronic device according to various embodiments of the present disclosure includes receiving a user command for providing at least one file to an external electronic device using a messaging application, and in response to the user command, using the messaging application determining whether the at least one file can be transmitted to the external electronic device; in response to determining that the at least one file cannot be transmitted to the external electronic device using the messaging application, the at least one generating link information for downloading a file, transmitting the link information to the external electronic device using the messaging application, and uploading the at least one file to an external server accessible using the link information It can include actions.
본 문서에서 개시되는 다양한 실시 예들에 따른 전자 장치 및 이의 동작 방법은, 다양한 제약 조건들로 인하여 다른 장치로 원본을 전송할 수 없었던 경우에도 원본을 전송할 수 있는 장치 및 방법을 제공할 수 있다.An electronic device and an operating method thereof according to various embodiments disclosed in this document may provide an apparatus and method capable of transmitting an original even when the original cannot be transmitted to another device due to various constraints.
본 문서에서 개시되는 다양한 실시 예들에 따르면, 고화질의 이미지나 동영상을 단절 없이(seamlessly) 다른 장치와 공유할 수 있는 전자 장치 및 이의 동작 방법을 제공할 수 있다.According to various embodiments disclosed in this document, it is possible to provide an electronic device capable of seamlessly sharing a high-quality image or video with other devices, and an operating method thereof.
본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.Effects obtainable in the present disclosure are not limited to the above-mentioned effects, and other effects not mentioned may be clearly understood by those of ordinary skill in the art to which the present disclosure belongs from the description below. will be.
도 1은, 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는, 다양한 실시 예들에 따른 전자 장치와 외부 전자 장치의 블록도이다.
도 3은, 다양한 실시 예들에 따른 전자 장치의 파일 공유 프로세스를 도시한 흐름도이다.
도 4는, 다양한 실시예들에 따른 전자 장치의 메시징 어플리케이션이 링크 정보를 이용하여 파일을 공유하기 위한 구조를 도시한 도면이다.
도 5는, 다양한 실시예들에 따라 전자 장치로부터 외부 전자 장치로 링크 정보를 이용하여 파일이 공유되는 과정의 일례를 도시한 도면이다.
도 6은, 다양한 실시예들에 따른 전자 장치가 메시징 어플리케이션에서 작성되는 메시지에 파일을 첨부하여 전송하는 프로세스를 도시한 흐름도이다.
도 7은, 다양한 실시예들에 따른 전자 장치가 원본 전송이 불가능한 것으로 판단된 경우에 표시하는 알림 메시지의 예시를 도시한 도면이다.
도 8은, 다양한 실시예들에 따른 전자 장치가 메시징 어플리케이션을 이용하여 파일을 공유하기 위해 표시하는 사용자 인터페이스의 예시를 도시한 도면이다.
도 9는, 다양한 실시예들에 따른 전자 장치가 링크 공유 모드를 선택하여 파일을 공유하는 프로세스를 도시한 흐름도이다.
도 10은, 다양한 실시예들에 따른 전자 장치가 파일을 선택하고 링크 공유 모드를 선택하기 위해 표시하는 사용자 인터페이스의 예시를 도시한 도면이다.
도 11은, 다양한 실시예들에 따른 전자 장치가 컨텐츠 목록 어플리케이션에서 파일을 선택하고 공유하는 프로세스를 도시한 흐름도이다.
도 12는, 다양한 실시예들에 따른 전자 장치가 컨텐츠 목록 어플리케이션에서 파일을 선택하고 메시징 어플리케이션을 이용한 공유 기능을 선택하기 위해 표시하는 사용자 인터페이스의 예시를 도시한 도면이다.
도 13은, 다양한 실시예들에 따른 전자 장치가 선택된 파일에 기초하여 컨텐츠 공유 기능 목록을 구성하여 제공하는 프로세스를 도시한 흐름도이다.
도 14는, 다양한 실시예들에 따른 전자 장치가 메시징 어플리케이션에 설정된 컨텐츠 공유 한도에 기초하여 파일을 공유하는 프로세스를 도시한 흐름도이다.
도 15는, 다양한 실시예들에 따른 전자 장치가 메시징 어플리케이션에 설정된 컨텐츠 공유 한도에 기초하여 파일을 공유하기 위해 표시하는 사용자 인터페이스들의 예시를 도시한 도면이다.
도 16은, 다양한 실시예들에 따른 전자 장치가 기기간 통신에 기초한 파일 전송이 실패한 경우에 링크 전송 기능을 이용하여 파일을 공유하는 프로세스를 도시한 흐름도이다.
도 17은 다양한 실시예들에 따른 전자 장치가 기기간 통신에 기초한 파일 전송이 실패한 경우에 표시하는 사용자 인터페이스의 예시를 도시한 도면이다.1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure;
2 is a block diagram of an electronic device and an external electronic device according to various embodiments of the present disclosure.
3 is a flowchart illustrating a file sharing process of an electronic device according to various embodiments of the present disclosure.
4 is a diagram illustrating a structure for a messaging application of an electronic device to share a file using link information according to various embodiments of the present disclosure.
5 is a diagram illustrating an example of a process of sharing a file using link information from an electronic device to an external electronic device according to various embodiments of the present disclosure;
6 is a flowchart illustrating a process in which an electronic device attaches and transmits a file to a message created in a messaging application, according to various embodiments of the present disclosure;
7 is a diagram illustrating an example of a notification message displayed when an electronic device determines that original transmission is impossible, according to various embodiments of the present disclosure;
8 is a diagram illustrating an example of a user interface displayed by an electronic device to share a file using a messaging application according to various embodiments of the present disclosure;
9 is a flowchart illustrating a process in which an electronic device selects a link sharing mode to share a file, according to various embodiments of the present disclosure;
10 is a diagram illustrating an example of a user interface displayed by an electronic device to select a file and select a link sharing mode, according to various embodiments of the present disclosure;
11 is a flowchart illustrating a process in which an electronic device selects and shares a file in a content list application according to various embodiments of the present disclosure;
12 is a diagram illustrating an example of a user interface displayed by an electronic device to select a file in a content list application and a sharing function using a messaging application, according to various embodiments of the present disclosure;
13 is a flowchart illustrating a process in which an electronic device configures and provides a content sharing function list based on a selected file according to various embodiments of the present disclosure.
14 is a flowchart illustrating a process in which an electronic device shares a file based on a content sharing limit set in a messaging application, according to various embodiments of the present disclosure;
15 is a diagram illustrating examples of user interfaces displayed by an electronic device to share a file based on a content sharing limit set in a messaging application, according to various embodiments of the present disclosure;
16 is a flowchart illustrating a process in which an electronic device shares a file using a link transmission function when file transmission based on device-to-device communication fails, according to various embodiments of the present disclosure;
17 is a diagram illustrating an example of a user interface displayed by an electronic device when file transmission based on device-to-device communication fails, according to various embodiments of the present disclosure;
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component of the electronic device 101 (eg, the
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. 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
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
The
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( eg commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the
도 2는, 다양한 실시 예들에 따른 전자 장치(101)(예: 도 1의 전자 장치(101))와 외부 전자 장치(210)(예: 전자 장치(102) 또는 전자 장치(104))의 블록도이다.2 is a block diagram of an electronic device 101 (eg, the
다양한 실시 예들에 따른 전자 장치(101)는 디스플레이(201), 프로세서(203) 및 통신 회로(205)를 포함할 수 있다. 프로세서(203)는 디스플레이(201) 및 통신 회로(205)와 작동적으로 연결될 수 있다. 다만, 일부 구성요소는 생략될 수도 있다. 예를 들어, 디스플레이(201)는 전자 장치(101)에 포함되지 않고 전자 장치(101)와 유선 또는 무선으로 연결 가능한 외부 디스플레이로 대체될 수도 있다. 또한, 외부 전자 장치(210)도 디스플레이(211), 프로세서(213) 및 통신 회로(215)를 포함할 수 있다.The
전자 장치(101)는 네트워크(예: 도 1의 제1 네트워크(198) 또는 제2 네트워크 (199))를 통해서 외부 전자 장치(210)로 데이터를 전송하거나 외부 전자 장치(210)로부터 데이터를 수신할 수 있다. 또는, 전자 장치(101)는 외부 전자 장치(210)에 직접 데이터를 전송하거나 외부 전자 장치로부터(210) 데이터를 수신할 수 있다.The
예를 들면, 프로세서(203)는 사용자 입력에 기초하여 선택된 파일을 첨부한 메시지를 생성하고, 통신 회로(205)를 제어하여 RCS (Rich Communication Suite) 또는 MMS (Multimedia Messaging Service) 중 적어도 하나를 통해서 파일이 첨부된 메시지를 외부 전자 장치(210)로 전송할 수 있다. 또는, 다른 예를 들면, 프로세서(203)는 제3자 (3rd party)가 제공하는 인스턴트 메신저(instant messenger) 어플리케이션을 실행하고, 인스턴트 메시지 어플리케이션에서 지원하는 파일 공유 기능을 이용하여 인스턴트 메시지 서비스 제공 서버를 통해서 외부 전자 장치(210)로 파일을 전송할 수 있다. 그러나, 메시지에 파일을 첨부하여 전송하는 경우 메시지 전송망(예: RCS 또는 MMS)의 규격에서 정의된 파일의 크기나 파일 포맷에 제한이 있다. 또는, 인스턴트 메시지 어플리케이션에 제공하는 파일 공유 기능에 제한(예를 들어, 1회에 전송 가능한 파일의 수량)이 설정되어 있을 수 있다. 따라서, 사용자가 메시지 전송망이나 메시징 어플리케이션에서 정의된 제한을 초과하는 파일을 전송하고자 하는 경우 파일 첨부나 전송이 거부될 수 있으므로, 사용자가 파일 공유 서비스에 대한 단절 없이 파일을 전송할 수 있도록 하기 위한 방법 및 장치가 제공되어야 한다.For example, the
도 3은, 다양한 실시 예들에 따른 전자 장치의 파일 공유 프로세스를 도시한 흐름도(300)이다.3 is a
동작 S310에서, 전자 장치의 프로세서는 메시징 어플리케이션을 이용하여 파일을 제공하도록 하는 사용자 명령을 수신할 수 있다. 메시징 어플리케이션은, 예를 들면, 전자 장치 제공 시에 미리 설치되어 있는 어플리케이션일 수 있다. 사용자 명령은 공유의 대상이 되는 파일을 선택하고 파일을 수신할 외부 전자 장치를 식별할 수 있는 정보를 입력하는 사용자 입력에 대응되는 인스트럭션들(instructions)을 포함할 수 있다. 예를 들면, 사용자 명령은 메시징 어플리케이션에서 메시지를 작성하기 위하여 수신자 전화번호를 입력하고 파일 첨부 메뉴를 통해서 파일을 선택하는 터치 입력에 상응할 수 있다. 다른 예를 들면, 사용자 명령은 인스턴트 메신저 어플리케이션의 파일 공유 기능을 선택하고 파일 공유 기능을 이용하여 파일을 선택하는 사용자 입력에 상응하는 것일 수 있다.In operation S310, the processor of the electronic device may receive a user command to provide a file using a messaging application. The messaging application may be, for example, an application pre-installed when the electronic device is provided. The user command may include instructions corresponding to a user input of selecting a file to be shared and inputting information for identifying an external electronic device that will receive the file. For example, the user command may correspond to a touch input of entering a recipient's phone number and selecting a file via a file attachment menu to compose a message in a messaging application. As another example, the user command may correspond to a user input of selecting a file sharing function of the instant messenger application and selecting a file using the file sharing function.
동작 S320에서, 전자 장치의 프로세서는 동작 S310에 의해 선택된 적어도 하나의 파일의 전송이 가능한지 여부를 판단할 수 있다. 예를 들어, 전자 장치의 프로세서는 선택된 파일의 크기가 전송 가능한 범위에 포함되는지 여부를 판단할 수 있다. 다른 예를 들면, 전자 장치의 프로세서는 선택된 파일이 전송 가능한 파일 포맷인지 여부를 판단할 수 있다. 다양한 실시 예에 따르면, 동작 S320에서 전자 장치의 프로세서는 전자 장치의 원본 파일을 그대로 전송할 수 있는지 여부를 판단할 수 있다. 즉, 동작 S320에서 전자 장치의 프로세서는 파일의 원본 형태를 변환하여 전송하여야 하는 경우는 파일 전송이 불가능한 것으로 판단할 수 있다. 예를 들면, 전자 장치의 프로세서는 메시지에 적어도 하나의 파일을 첨부하여 전송할 때, 적어도 하나의 파일에 대한 크기 변환(resize) 동작이 수행되는 경우에는 파일 전송이 불가능한 것으로 판단할 수 있다. 다른 예를 들면, 전자 장치의 프로세서는 동영상 파일을 전송할 때 동영상 파일을 분할하여 전송하는 트림(trim) 동작이 수행되는 경우에는 파일 전송이 불가능한 것으로 판단할 수 있다.In operation S320, the processor of the electronic device may determine whether transmission of the at least one file selected in operation S310 is possible. For example, the processor of the electronic device may determine whether the size of the selected file is included in the transmittable range. As another example, the processor of the electronic device may determine whether the selected file is a transmittable file format. According to various embodiments, in operation S320, the processor of the electronic device may determine whether the original file of the electronic device can be transmitted as it is. That is, when the processor of the electronic device needs to convert and transmit the original form of the file in operation S320, it may be determined that the file transmission is impossible. For example, the processor of the electronic device may determine that the file transmission is impossible when a resizing operation is performed on the at least one file when transmitting at least one file as an attachment to the message. As another example, the processor of the electronic device may determine that the file transmission is impossible when a trim operation of dividing and transmitting the moving picture file is performed when transmitting the moving picture file.
동작 S320에서 파일 전송이 가능한 것으로 판단된 경우, 전자 장치의 프로세서는 동작 S335에서 메시지에 적어도 하나의 파일을 첨부하고, 메시지 또는 파일을 전송하도록 하는 사용자 입력에 응답하여 적어도 하나의 파일이 첨부된 메시지를 외부 전자 장치로 전송할 수 있다.If it is determined in operation S320 that file transmission is possible, the processor of the electronic device attaches at least one file to the message in operation S335, and in response to a user input to transmit the message or file, the message to which the at least one file is attached may be transmitted to an external electronic device.
동작 S320에서 파일 전송이 불가능한 것으로 판단된 경우, 전자 장치의 프로세서는 동작 S330에서 링크 정보를 생성할 수 있다. 링크 정보는 공유의 대상인 적어도 하나의 파일에 접근하여 다운로드 할 수 있는 위치를 나타내는 정보를 포함할 수 있다. 예를 들면, 링크 정보는 서버에 적어도 하나의 파일이 업로드된 주소를 나타내는 URL(uniform resource locator)를 포함할 수 있다. 다양한 실시 예에 따르면, 전자 장치는 전자 장치가 로그인한 클라우드 시스템 내의 링크 공유 서버에 링크 정보를 요청하고, 링크 공유 서버로부터 링크 정보를 수신할 수 있다. 다만, 이에 한정되지 아니한다. 예를 들어, 다른 실시예에 따르면, 전자 장치는 적어도 하나의 파일이 업로드될 위치를 지정하는 링크 정보를 생성하고, 생성된 링크 정보를 링크 공유 정보로 전송할 수도 있다. 다양한 실시 예에 따르면, 전자 장치는 생성된 링크 정보에 지정될 미리보기 컨텐츠를 외부 서버로 전송할 수 있다. 예를 들어, 전자 장치는 적어도 하나의 파일에 대한 적어도 하나의 썸네일(thumbnail) 이미지를 외부 서버로 전송할 수 있다. 다양한 실시 예에 따르면, 전자 장치는 링크 정보를 생성하는 링크 공유 서버와 파일이 업로드되는 파일 서버 각각에 미리보기 컨텐츠를 업데이트할 수 있다.If it is determined in operation S320 that file transmission is impossible, the processor of the electronic device may generate link information in operation S330. The link information may include information indicating a location where at least one file to be shared can be accessed and downloaded. For example, the link information may include a uniform resource locator (URL) indicating an address where at least one file is uploaded to the server. According to various embodiments of the present disclosure, the electronic device may request link information from a link sharing server in a cloud system to which the electronic device has logged in, and may receive link information from the link sharing server. However, the present invention is not limited thereto. For example, according to another embodiment, the electronic device may generate link information that designates a location where at least one file is to be uploaded, and transmit the generated link information as link sharing information. According to various embodiments, the electronic device may transmit preview content to be specified in the generated link information to an external server. For example, the electronic device may transmit at least one thumbnail image of at least one file to an external server. According to various embodiments of the present disclosure, the electronic device may update the preview content to a link sharing server that generates link information and a file server to which a file is uploaded, respectively.
동작 S340에서, 전자 장치의 프로세서는 링크 정보를 포함하는 메시지를 통신 회로를 통해서 외부 전자 장치로 전송할 수 있다. 또한, 동작 S350에서, 전자 장치의 프로세서는 메시지를 수신한 외부 전자 장치가 링크 정보를 통해서 적어도 하나의 파일을 다운로드할 수 있도록 외부 서버에 공유의 대상이 되는 적어도 하나의 파일을 업로드할 수 있다.In operation S340, the processor of the electronic device may transmit a message including link information to the external electronic device through the communication circuit. Also, in operation S350, the processor of the electronic device may upload at least one file to be shared to an external server so that the external electronic device receiving the message can download the at least one file through link information.
도 4는, 다양한 실시예들에 따른 전자 장치(400)(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201))의 메시징 어플리케이션(403)이 링크 정보를 이용하여 파일을 공유하기 위한 구조를 도시한 도면이다.4 illustrates a
다양한 실시예들에 따른 전자 장치(400)는 메시징 어플리케이션(403)을 실행할 수 있다. 메시징 어플리케이션(403)는 메시지를 작성하고, 작성된 메시지를 메시지 전송망을 통해서 전송하는 어플리케이션을 포함할 수 있다. 작성된 메시지는, 예를 들면, SMS(short message service), MMS(multimedia message service), 또는 RCS(rich communication suite) 규격에 부합하도록 작성된 메시지일 수 있다. The
전자 장치(400)는 메시징 어플리케이션(403)에 의해서 작성되는 메시지에 적어도 하나의 파일을 첨부하도록 하는 사용자 입력에 응답하여 적어도 하나의 파일이 메시지를 전송하기 위한 규격에 부합하는지 여부를 판단할 수 있다. 예를 들어, 전자 장치(400)는 적어도 하나의 파일의 크기가 규격에 정의된 크기 이하인지 여부를 판단할 수 있다. 다른 예를 들면, 전자 장치(400)는 적어도 하나의 파일의 포맷이 규격에 정의된 포맷에 포함되어 있는지 여부를 판단할 수 있다. 메시징 어플리케이션(403)은 링크 공유 어플리케이션(401)에 링크 정보를 요청하고, 링크 공유 어플리케이션(401)으로부터 링크 정보를 수신하기 위한 링크 공유 SDK(software development kit)(405)를 포함할 수 있다. 다양한 실시예들에 따르면, 메시징 어플리케이션(403)은 적어도 하나의 파일이 메시지를 전송하기 위한 규격에 부합하지 않는 것으로 판단된 경우, 링크 공유 SDK(405)를 통해서 링크 공유 어플리케이션(401)에 링크 정보를 요청할 수 있다. 링크 공유 어플리케이션(401)는 링크 정보의 요청에 응답하여, 전자 장치(400)가 로그인한 시스템(410) 내의 링크 공유 서버(411)로 링크 정보에 대한 요청을 전송할 수 있다. 시스템(410)은, 예를 들면 클라우드(cloud) 서비스를 제공하는 시스템일 수 있다. 링크 공유 서버(411)는 링크 정보에 대한 요청에 응답하여 링크 정보를 생성하고, 생성된 링크 정보를 전자 장치(400)로 전송할 수 있다.The
링크 공유 어플리케이션(401)은 링크 공유 서버(411)로부터 수신한 링크 정보를 링크 공유 SDK(405)를 통해서 메시징 어플리케이션(403)으로 전달할 수 있다. 메시징 어플리케이션(403)은 수신한 링크 정보를 메시지에 삽입하고, 링크 정보를 포함하는 메시지를 전송할 수 있다. 또한, 링크 공유 어플리케이션(401)는 메시지에 첨부하고자 하는 적어도 하나의 파일을 링크 정보를 이용하여 다운로드할 수 있도록 파일 서버(413)에 업로드할 수 있다.The
도 5는, 다양한 실시예들에 따라 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 4의 전자 장치(400))로부터 외부 전자 장치(533)(예: 도 1의 전자 장치(102), 전자 장치(104), 도 2의 외부 전자 장치(201))로 링크 정보를 이용하여 파일이 공유되는 과정의 일례를 도시한 도면이다.5 illustrates an external electronic device 533 (eg, the
다양한 실시예들에 따른 전자 장치는 클라우드 시스템(511)에 등록된 사용자 계정(513)을 이용하여 로그인한 장치일 수 있다. 전자 장치는 적어도 하나의 파일을 선택하고 메시지에 첨부하기 위한 화면을 포함하는 사용자 인터페이스(501)를 디스플레이에 표시할 수 있다. 전자 장치는 사용자 인터페이스(501)를 통해서 선택된 적어도 하나의 파일의 원본을 메시지에 첨부하여 전송할 수 없는 것으로 판단한 경우, 링크 공유 어플리케이션을 실행할 수 있다(507). 링크 공유 어플리케이션은 API(application programming interface) 게이트웨이(509)를 통해서 링크 공유 서버(527)에 링크 정보의 생성을 요청할 수 있다. 링크 공유 서버(527)는 링크 정보를 생성(517)하고, 생성된 링크 정보를 링크 공유 데이터베이스(528)에 저장할 수 있다. 예를 들어, 링크 공유 서버(527)는 URL을 생성하여 링크 공유 데이터베이스(528)에 저장할 수 있다. 또한, 링크 공유 어플리케이션은 파일 서버(525)에 적어도 하나의 파일을 업로드할 수 있다(519). 파일 서버(525)는 스토리지 정책(storage policy)(515)에 기반하여 파일 스토리지(526)에 적어도 하나의 파일을 저장할 수 있다. 링크 공유 서버(527)는 적어도 하나의 파일을 다운로드 할 수 있도록 파일 맵핑(mapping)(521)을 수행할 수 있다. 예를 들어, 링크 공유 서버(527)는 생성된 URL과 업로드된 적어도 하나의 파일의 컨텐트에 대한 해시 정보에 기초하여 파일 맵핑을 수행할 수 있다. 링크 공유 서버(527)는 파일 맵핑의 결과에 기초하여 파일을 다운로드 할 수 있는 링크 정보를 파일 서버(525)로 전달할 수 있다(523). 다양한 실시 예에 따르면, 링크 공유 어플리케이션(507)은 적어도 하나의 파일에 대한 미리보기 컨텐츠를 파일 서버(525) 또는 링크 공유 서버(527) 중 적어도 하나에 업데이트할 수 있다.The electronic device according to various embodiments may be a device logged in using a
링크 공유 서버(527)로부터 링크 정보를 수신한 전자 장치는 적어도 하나의 파일에 대한 미리보기 컨텐츠와 링크 정보를 포함하는 메시지 미리보기(505)를 포함하는 화면(503)을 표시할 수 있다. 전자 장치는 메시징 어플리케이션을 이용하여 링크 정보를 포함하는 메시지를 외부 전자 장치(533)로 전송할 수 있다(529). 링크 정보를 포함하는 외부 전자 장치(533)는 링크 정보를 이용하여 링크 공유 웹 서버(541)로부터 미리보기 이미지를 획득할 수 있다(531). 외부 전자 장치(533)는 미리 보기 이미지를 포함하는 수신된 메시지를 표시하는 화면(535)을 표시할 수 있다. 링크 공유 웹 서버(541)는 웹 기반으로 링크 정보를 통해서 연결될 수 있는 서버로서, 다양한 실시 예에 따르면 링크 공유 서버(527)에 포함된 구성요소로 이해될 수도 있다.The electronic device receiving the link information from the
외부 전자 장치(533)는 링크 정보에 기초하여 링크 공유 웹 서버(541)에 접속할 수 있다. 예를 들어, 외부 전자 장치(533)는 수신된 메시지에 포함된 링크 정보를 선택하는 사용자 입력을 수신할 수 있다. 외부 전자 장치(533)는 링크 정보를 선택하는 사용자 입력에 응답하여, 링크 정보를 이용하여 파일 서버(525)로부터 적어도 하나의 파일을 획득할 수 있다(543). 외부 전자 장치(533)는 획득한 파일의 내용을 표시할 수 있다(539). 파일 스토리지(526)에 저장된 파일 및 링크 공유 데이터베이스(528)에 저장된 링크 정보는 지정된 기간(예: 2일)이 경과하면 삭제될 수 있다(546).The external
도 6은, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 4의 전자 장치(400))가 메시징 어플리케이션(예: 도 4의 메시징 어플리케이션(403))에서 작성되는 메시지에 파일을 첨부하여 전송하는 프로세스를 도시한 흐름도(600)이다.6 illustrates a messaging application (eg, FIG. 4 ) of an electronic device (eg, the
메시징 어플리케이션을 이용하여 전송될 메시지에 적어도 하나의 파일을 첨부하도록 하는 사용자 입력에 응답하여, 동작 S611에서 전자 장치는 RCS에 기초하여 메시지를 전송할 수 있는지 여부를 판단할 수 있다. 예를 들어, 전자 장치는 메시지를 수신할 수신자를 식별할 수 있는 정보(예: 전화번호 또는 사용자 계정)를 입력 받을 수 있고, 입력 받은 정보에 기초하여 식별되는 수신자의 외부 전자 장치가 RCS 메시지를 수신할 수 있는지 여부를 판단할 수 있다.In response to a user input for attaching at least one file to a message to be transmitted using a messaging application, in operation S611, the electronic device may determine whether the message can be transmitted based on the RCS. For example, the electronic device may receive information (eg, a phone number or user account) for identifying a recipient who will receive the message, and an external electronic device of the identified recipient based on the received information transmits the RCS message. It can be determined whether or not it can be received.
외부 전자 장치로 RCS 메시지를 전송할 수 있는 것으로 판단된 경우, 동작 S613에서 전자 장치는 선택된 파일의 포맷이 RCS 규격에서 지원하는 파일 포맷인지 여부를 판단할 수 있다. 예를 들어, 선택된 파일의 포맷이 APK 파일 포맷인 경우 전자 장치는 RCS 메시지를 통해서 전송될 수 없는 파일 포맷인 것으로 판단할 수 있다. 선택된 파일의 포맷이 RCS 규격에서 지원하는 파일 포맷에 포함되지 않은 경우 전자 장치는 동작 S619를 수행할 수 있다. 선택된 파일의 포맷이 RCS 규격에서 지원하는 파일 포맷에 포함된 경우, 동작 S615에서 전자 장치는 선택된 파일의 원본을 전송할 수 있는 지 여부를 판단할 수 있다. 예를 들면, 전자 장치는 선택된 파일의 크기가 지정된 값(예: 20 MB, 100MB) 이하인 경우 원본을 전송할 수 있는 것으로 판단하고, 지정된 값을 초과하는 경우에는 원본을 전송할 수 없는 것으로 판단할 수 있다. 동작 S615에서 선택된 파일의 원본을 전송할 수 없는 것으로 판단된 경우, 전자 장치는 동작 S619를 수행할 수 있다. 동작 S615에서 선택된 적어도 하나의 파일의 원본을 전송할 수 있는 것으로 판단된 경우, RCS 기반으로 전송될 메시지에 선택된 적어도 하나의 파일을 첨부할 수 있다.If it is determined that the RCS message can be transmitted to the external electronic device, in operation S613, the electronic device may determine whether the format of the selected file is a file format supported by the RCS standard. For example, when the format of the selected file is the APK file format, the electronic device may determine that it is a file format that cannot be transmitted through the RCS message. When the format of the selected file is not included in the file format supported by the RCS standard, the electronic device may perform operation S619. When the format of the selected file is included in the file format supported by the RCS standard, the electronic device may determine whether the original of the selected file can be transmitted in operation S615. For example, if the size of the selected file is less than or equal to a specified value (eg, 20 MB, 100 MB), the electronic device may determine that the original can be transmitted, and if the size of the selected file exceeds the specified value, it may determine that the original cannot be transmitted. . If it is determined in operation S615 that the original of the selected file cannot be transmitted, the electronic device may perform operation S619. If it is determined in operation S615 that the original of the at least one selected file can be transmitted, the at least one selected file may be attached to the message to be transmitted based on the RCS.
동작 S619에서, 전자 장치는 링크 전송 기능에 기초하여 선택된 적어도 하나의 파일을 전송할 수 있는지 여부를 판단할 수 있다. 다양한 실시 예에 따르면, 링크 전송 기능에 기초한 파일 전송에 대한 제한이 없을 수도 있으나, 과도한 부하 발생을 방지하기 위하여 파일 전송에 관한 용량(capability) 제한이 지정될 수 있다. 예를 들어, 링크 전송 기능에 기초하여 전송되는 파일에 대한 파일 용량(예: 한 파일 당 3GB 이하, 하루 최대 5GB 이하) 또는 파일 수량(예: 일 회 전송에 파일 500개 이하) 중 적어도 하나에 대한 용량 제한이 설정되어 있을 수 있다. 동작 S619에서 전자 장치는 선택된 적어도 하나의 파일이 용량 제한 범위 이내인지 여부를 판단할 수 있다. 선택된 적어도 하나의 파일의 용량이 링크 전송 기능에 기초하여 전송될 수 있는 것으로 판단된 경우, 동작 S621에서 전자 장치는 링크 정보를 생성하여 메시지에 링크 정보를 삽입할 수 있다. 전자 장치는 링크 정보를 이용하여 적어도 하나의 파일을 다운로드 할 수 있도록 적어도 하나의 파일을 서버에 업로드할 수 있다.In operation S619, the electronic device may determine whether at least one selected file can be transmitted based on the link transmission function. According to various embodiments, there may be no restriction on file transmission based on the link transmission function, but in order to prevent excessive load generation, a capacity restriction on file transmission may be specified. For example, based on the link transfer function, at least one of the file capacity for the files being transferred (e.g. no more than 3 GB per file, up to 5 GB per day) or the quantity of files (e.g. no more than 500 files per transfer). Capacity limits may be set for In operation S619, the electronic device may determine whether the selected at least one file is within a capacity limit range. When it is determined that the capacity of the selected at least one file can be transmitted based on the link transmission function, in operation S621, the electronic device may generate link information and insert the link information into the message. The electronic device may upload at least one file to the server so that the at least one file can be downloaded using the link information.
다양한 실시 예들에 따르면, 동작 S619에서 선택된 적어도 하나의 파일이 링크 공유 기능을 통해서 전송할 수 없는 것으로 판단될 경우(예: 용량 제한 범위를 초과하는 것으로 판단될 경우), 링크 전송 기능이 아닌 다른 기능으로 선택된 적어도 하나의 파일을 전송하기 위한 프로세스를 실행할 수 있다. 예를 들어, 선택된 적어도 하나의 파일을 전송하는 경우 당일 사용가능한 용량을 초과하는 것으로 판단되는 경우, 전자 장치는 링크 전송 기능의 용량이 초과되었음을 안내하고 파일을 전송하기 위한 다른 프로세스를 제안하는 알림 메시지를 표시할 수 있다. 다른 프로세스는, 예를 들면, 적어도 하나의 파일의 크기를 변경(resize)하여 전송하는 프로세스이거나, 나누어서(trim) 전송하는 프로세스일 수 있다. 제안된 다른 프로세스에 동의하는 사용자 입력에 응답하여, 전자 장치는 다른 프로세스를 수행하여 선택된 적어도 하나의 파일을 전송할 수 있다.According to various embodiments, when it is determined that at least one file selected in operation S619 cannot be transmitted through the link sharing function (eg, when it is determined that the capacity limit is exceeded), a function other than the link transmission function is used. A process for transferring the selected at least one file may be executed. For example, if it is determined that the available capacity on the day is exceeded when transmitting at least one selected file, the electronic device informs that the capacity of the link transmission function has been exceeded and a notification message suggesting another process for transmitting the file can be displayed. The other process may be, for example, a process of changing the size of at least one file and transmitting it, or a process of transmitting it by trimming it. In response to a user input for agreeing to another proposed process, the electronic device may transmit the selected at least one file by performing another process.
동작 S611에서 RCS에 기반하여 메시지를 외부 전자 장치로 전송할 수 없는 것으로 판단된 경우, 동작 S631에서 전자 장치는 선택된 적어도 하나의 파일의 포맷이 MMS에서 지원하는 파일 포맷인지 여부를 판단할 수 있다. 예를 들어, 전자 장치는 적어도 하나의 파일 포맷이 멀티미디어 파일인 경우 MMS에 기반하여 적어도 하나의 파일을 전송할 수 있는 것으로 판단할 수 있다. 선택된 적어도 하나의 파일의 포맷이 MMS에서 지원하는 파일 포맷이 아닌 것으로 판단되는 경우, 전자 장치는 동작 S637을 수행할 수 있다. 선택된 적어도 하나의 파일의 포맷이 MMS에서 지원하는 파일 포맷인 것으로 판단된 경우, 동작 S633에서 선택된 적어도 하나의 파일의 원본을 전송할 수 있는지 여부를 판단할 수 있다. 예를 들어, 전자 장치는 적어도 하나의 파일의 용량이 지정된 값(예: 300KB, 1.2MB) 이하인 경우 원본을 전송할 수 있는 것으로 판단할 수 있다. 적어도 하나의 파일의 원본을 전송할 수 있는 것으로 판단된 경우, 전자 장치는 동작 S635에서 MMS 기반으로 전송될 메시지에 적어도 하나의 파일을 첨부할 수 있다. 적어도 하나의 파일의 원본을 전송할 수 없는 것으로 판단된 경우, 전자 장치는 동작 S637을 수행할 수 있다.If it is determined in operation S611 that the message cannot be transmitted to the external electronic device based on the RCS, in operation S631, the electronic device may determine whether the format of the at least one selected file is a file format supported by the MMS. For example, when the at least one file format is a multimedia file, the electronic device may determine that the at least one file can be transmitted based on the MMS. When it is determined that the format of the at least one selected file is not a file format supported by MMS, the electronic device may perform operation S637. When it is determined that the format of the at least one selected file is a file format supported by the MMS, it may be determined whether the original of the at least one selected file can be transmitted in operation S633. For example, when the capacity of at least one file is less than or equal to a specified value (eg, 300 KB, 1.2 MB), the electronic device may determine that the original can be transmitted. When it is determined that the original of the at least one file can be transmitted, the electronic device may attach the at least one file to a message to be transmitted based on MMS in operation S635. When it is determined that the original of at least one file cannot be transmitted, the electronic device may perform operation S637.
동작 S637에서 전자 장치는 링크 전송 기능에 기초하여 선택된 적어도 하나의 파일을 전송할 수 있는지 여부를 판단할 수 있다. 예를 들어, 동작 S637에서 전자 장치는 선택된 적어도 하나의 파일이 용량 제한 범위 이내인지 여부를 판단할 수 있다. 선택된 적어도 하나의 파일의 용량이 링크 전송 기능에 기초하여 전송될 수 있는 것으로 판단된 경우, 동작 S639서 전자 장치는 링크 정보를 생성하여 메시지에 링크 정보를 삽입할 수 있다. 전자 장치는 링크 정보를 이용하여 적어도 하나의 파일을 다운로드 할 수 있도록 적어도 하나의 파일을 서버에 업로드할 수 있다.In operation S637, the electronic device may determine whether at least one selected file can be transmitted based on the link transmission function. For example, in operation S637, the electronic device may determine whether the selected at least one file is within a capacity limit range. When it is determined that the capacity of the selected at least one file can be transmitted based on the link transmission function, in operation S639, the electronic device may generate link information and insert the link information into the message. The electronic device may upload at least one file to the server so that the at least one file can be downloaded using the link information.
다양한 실시 예들에 따르면, 동작 S637에서 선택된 적어도 하나의 파일이 링크 공유 기능을 통해서 전송할 수 없는 것으로 판단될 경우(예: 용량 제한 범위를 초과하는 것으로 판단될 경우), 링크 전송 기능이 아닌 다른 기능으로 선택된 적어도 하나의 파일을 전송하기 위한 프로세스를 실행할 수 있다. 예를 들어, 선택된 적어도 하나의 파일을 전송하는 경우 당일 사용가능한 용량을 초과하는 것으로 판단되는 경우, 전자 장치는 링크 전송 기능의 용량이 초과되었음을 안내하고 파일을 전송하기 위한 다른 프로세스를 제안하는 알림 메시지를 표시할 수 있다. 다른 프로세스는, 예를 들면, 적어도 하나의 파일의 크기를 변경(resize)하여 전송하는 프로세스이거나, 나누어서(trim) 전송하는 프로세스일 수 있다. 제안된 다른 프로세스에 동의하는 사용자 입력에 응답하여, 전자 장치는 다른 프로세스를 수행하여 선택된 적어도 하나의 파일을 전송할 수 있다.According to various embodiments, when it is determined that the at least one file selected in operation S637 cannot be transmitted through the link sharing function (eg, it is determined that the capacity limit is exceeded), a function other than the link transmission function is used. A process for transferring the selected at least one file may be executed. For example, if it is determined that the available capacity on the day is exceeded when transmitting at least one selected file, the electronic device informs that the capacity of the link transmission function has been exceeded and a notification message suggesting another process for transmitting the file can be displayed. The other process may be, for example, a process of changing the size of at least one file and transmitting it, or a process of transmitting it by trimming it. In response to a user input for agreeing to another proposed process, the electronic device may transmit the selected at least one file by performing another process.
동작 S641에서, 전자 장치는 동작 S617, 동작 S621, 동작 S635, 또는 동작 S639 에서 링크 정보가 삽입된 메시지 또는 적어도 하나의 파일이 첨부된 메시지를 전송할 수 있다. 예를 들어, 메시지를 전송하도록 하기 위한 사용자 입력의 수신에 응답하여, 전자 장치는 메시징 어플리케이션에서 작성 중인 메시지가 동작 S621 또는 동작 S629에서 링크 정보가 삽입된 상태인 경우, SMS 기반으로 메시지를 외부 전자 장치로 전송할 수 있다. 다른 예를 들면, 메시지를 전송하도록 하기 위한 사용자 입력의 수신에 응답하여, 전자 장치는 메시징 어플리케이션에서 작성 중인 메시지가 동작 S617에서 적어도 하나의 파일이 첨부된 상태인 경우, RCS 기반으로 메시지를 외부 전자 장치로 전송할 수 있다. 다른 예를 들면, 메시지를 전송하도록 하기 위한 사용자 입력의 수신에 응답하여, 전자 장치는 메시징 어플리케이션에서 작성 중인 메시지가 동작 S635에서 적어도 하나의 파일이 첨부된 상태인 경우, MMS 기반으로 메시지를 외부 전자 장치로 전송할 수 있다.In operation S641, the electronic device may transmit a message to which link information is inserted or a message to which at least one file is attached in operation S617, operation S621, operation S635, or operation S639. For example, in response to receiving a user input for transmitting a message, the electronic device transmits the message based on SMS to an external electronic device when the message being written in the messaging application has link information inserted in operation S621 or operation S629. can be sent to the device. As another example, in response to receiving a user input for transmitting a message, the electronic device transmits the message to an external electronic device based on RCS when at least one file is attached to the message being written in the messaging application in operation S617. can be sent to the device. As another example, in response to receiving a user input for transmitting a message, the electronic device transmits the message to an external electronic device based on MMS when at least one file is attached to the message being written in the messaging application in operation S635. can be sent to the device.
도 7은, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 4의 전자 장치(400))가 원본 전송이 불가능한 것으로 판단된 경우에 표시하는 알림 메시지(700)의 예시를 도시한 도면이다.FIG. 7 illustrates a case in which an electronic device (eg, the
전자 장치는 공유될 적어도 하나의 파일이 메시징 서비스를 이용하여 원본을 전송할 수 있는지 여부를 판단할 수 있다(예: 도 6의 동작 S615, 동작 S633). 예를 들어, 전자 장치는 선택된 메시지 전송망에 기반하여 적어도 하나의 파일의 크기 변환(resize)을 하지 않고 파일을 전송할 수 있는지 여부를 판단할 수 있다. 선택된 메시지 전송망에 기반하여 적어도 하나의 파일이 첨부된 메시지를 전송하기 위해서는 적어도 하나의 파일 크기를 축소시켜야 하는 경우 링크 공유 기능을 이용하여 적어도 하나의 파일을 공유할 것인지를 확인 받기 위한 알림 메시지(700)를 디스플레이 상에 표시할 수 있다. The electronic device may determine whether the original at least one file to be shared can be transmitted using a messaging service (eg, operations S615 and S633 of FIG. 6 ). For example, the electronic device may determine whether a file can be transmitted without resizing the at least one file based on the selected message transmission network. When the size of at least one file needs to be reduced in order to transmit a message to which at least one file is attached based on the selected message transmission network, a
전자 장치는 알림 메시지(700)에 대한 사용자 입력에 기초하여 적어도 하나의 파일을 공유하기 위한 방법을 결정할 수 있다. 예를 들면, 취소 버튼(710)을 선택하는 사용자 입력이 입력된 경우, 전자 장치는 적어도 하나의 파일의 크기를 축소하여 메시지에 첨부할 수 있다. 반대로, 링크 공유 기능을 사용하기 위한 사용 버튼(720)을 선택하는 사용자 입력이 입력된 경우, 전자 장치는 링크 정보를 생성하여 메시지에 삽입하고, 적어도 하나의 파일을 외부 서버로 전송할 수 있다.The electronic device may determine a method for sharing at least one file based on a user input for the
도 8은, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 4의 전자 장치(400))가 메시징 어플리케이션을 이용하여 파일을 공유하기 위해 표시하는 사용자 인터페이스의 예시를 도시한 도면이다.8 illustrates an electronic device (eg, the
전자 장치는 메시지를 작성하는 화면에서 선택된 적어도 하나의 파일을 메시지에 첨부하는 동작(예: 도 6의 동작 S627 또는 동작 S635)이 수행된 경우, 메시지에 첨부된 파일을 나타내는 정보가 표시된 화면을 표시할 수 있다.When an operation (eg, operation S627 or operation S635 of FIG. 6 ) of attaching at least one file selected on the screen for composing a message to the message is performed, the electronic device displays a screen on which information indicating the file attached to the message is displayed can do.
예를 들면, 첨부된 파일이 미리보기 이미지를 가지는 파일인 경우, 전자 장치는 미리보기 이미지(811)를 포함하는 화면(810)을 표시할 수 있다. 또는, 첨부된 파일이 미리보기 이미지를 가지지 않는 파일인 경우 전자 장치는 파일 정보(예: 파일명)을 나타내는 시각적 객체(821)를 포함하는 화면(820)을 디스플레이할 수 있다.For example, when the attached file is a file having a preview image, the electronic device may display the
도 9는, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 4의 전자 장치(400))가 링크 공유 모드를 선택하여 파일을 공유하는 프로세스를 도시한 흐름도(900)이다.9 illustrates an electronic device (eg, the
동작 S910에서, 전자 장치는 적어도 하나의 파일을 링크 공유 모드로 공유하기 위한 사용자 입력을 수신할 수 있다. 예를 들어, 전자 장치는 링크 공유 기능에 기반하여 이미지 또는 동영상 파일을 다른 장치와 공유하기 위한 버튼을 선택하는 사용자 입력을 수신할 수 있다.In operation S910, the electronic device may receive a user input for sharing at least one file in a link sharing mode. For example, the electronic device may receive a user input for selecting a button for sharing an image or video file with another device based on a link sharing function.
동작 S920에서, 전자 장치는 전송할 파일을 선택하는 사용자 입력을 수신할 수 있다. 예를 들면, 전자 장치는 전자 장치에 저장된 사진이나 동영상 파일의 목록을 표시하는 갤러리 어플리케이션을 실행하여 적어도 하나의 이미지 또는 동영상 파일을 선택하는 사용자 입력을 수신할 수 있다.In operation S920, the electronic device may receive a user input for selecting a file to be transmitted. For example, the electronic device may receive a user input for selecting at least one image or video file by executing a gallery application that displays a list of photo or video files stored in the electronic device.
도 9에서 동작 S920이 동작 S910 이후에 수행되는 것으로 도시되어 있으나, 본 문서에서 제시된 흐름도의 동작 순서는 달성하고자 하는 목적이 변경되지 않는 범위에서 변경될 수 있다. 예를 들면, 동작 S910이 동작 S920 이후에 수행될 수도 있다.Although operation S920 is illustrated as being performed after operation S910 in FIG. 9 , the operation sequence of the flowchart presented in this document may be changed within a range that does not change the purpose to be achieved. For example, operation S910 may be performed after operation S920.
동작 S930에서, 전자 장치는 선택된 적어도 하나의 파일을 링크 전송 기능에 기반하여 공유할 수 있는지 여부를 판단할 수 있다. 선택된 적어도 하나의 파일을 링크 전송 기능에 기반하여 공유할 수 있는 것으로 판단된 경우, 전자 장치는 동작 S940에서 적어도 하나의 파일을 수신하기 위한 링크 정보를 포함하는 메시지를 외부 전자 장치로 전송할 수 있다.In operation S930, the electronic device may determine whether at least one selected file can be shared based on a link transmission function. When it is determined that the selected at least one file can be shared based on the link transmission function, the electronic device may transmit a message including link information for receiving the at least one file to the external electronic device in operation S940.
도 10은, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 4의 전자 장치(400))가 파일을 선택하고 링크 공유 모드를 선택하기 위해 표시하는 사용자 인터페이스의 예시를 도시한 도면이다.10 illustrates an electronic device (eg, the
전자 장치는 적어도 하나의 파일을 선택하기 위한 파일 목록(1010)과 링크 공유 버튼(1020)을 포함하는 화면(1000)을 표시할 수 있다. 예를 들어, 전자 장치는 파일 목록(1010)에서 적어도 하나의 파일이 선택된 상태에서, 링크 공유 버튼(1020)을 선택하는 사용자 입력이 입력되면 선택된 파일을 외부 서버로 업로드하고, 업로드한 파일을 다운로드하기 위한 링크 정보를 포함하는 메시지를 외부 전자 장치로 전송할 수 있다.The electronic device may display a
도 11은, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 4의 전자 장치(400))가 컨텐츠 목록 어플리케이션에서 파일을 선택하고 공유하는 프로세스를 도시한 흐름도(1100)이다.11 illustrates an electronic device (eg, the
동작 S1110에서, 전자 장치는 컨텐츠 목록 어플리케이션에서 사용자 입력에 기초하여 파일을 선택할 수 있다. 컨텐츠 목록 어플리케이션은 전자 장치에 저장된 파일들의 목록을 사용자에게 제공하여 주는 어플리케이션을 의미할 수 있다. 예를 들어, 컨텐츠 목록 어플리케이션은 이미지 및 동영상 목록을 표시하는 갤러리 어플리케이션이나 파일 목록을 표시하는 탐색기 어플리케이션일 수 있다.In operation S1110, the electronic device may select a file based on a user input in the content list application. The content list application may refer to an application that provides a list of files stored in the electronic device to the user. For example, the content list application may be a gallery application that displays a list of images and videos or a explorer application that displays a list of files.
동작 S1120에서, 전자 장치는 선택된 적어도 하나의 파일을 외부 전자 장치로 전송하기 위한 적어도 하나의 컨텐츠 공유 기능을 포함하는 컨텐츠 공유 기능 목록을 표시할 수 있다. 컨텐츠 공유 기능은, 예를 들면, 메시지 전송 기능(메시징 어플리케이션을 이용한 공유 기능), 메일 전송 기능, 또는 기기간(device to device, D2D) 통신 기능 중 적어도 하나를 포함할 수 있다.In operation S1120, the electronic device may display a content sharing function list including at least one content sharing function for transmitting at least one selected file to an external electronic device. The content sharing function may include, for example, at least one of a message transmission function (a sharing function using a messaging application), a mail transmission function, and a device to device (D2D) communication function.
동작 S1130에서, 전자 장치는 컨텐츠 공유 기능 목록 중에서 메시징 어플리케이션을 이용한 공유 기능을 선택하는 사용자 입력을 수신할 수 있다. 예를 들어, 메시징 어플리케이션을 이용한 공유 기능에 연관된 아이콘을 선택하는 사용자 입력을 수신할 수 있다.In operation S1130, the electronic device may receive a user input for selecting a sharing function using a messaging application from the list of contents sharing functions. For example, a user input for selecting an icon related to a sharing function using a messaging application may be received.
메시징 어플리케이션을 이용한 공유 기능을 선택하는 사용자 입력에 응답하여, 전자 장치는 도 6의 동작 S611을 수행할 수 있다.In response to a user input of selecting a sharing function using a messaging application, the electronic device may perform operation S611 of FIG. 6 .
도 12는, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 4의 전자 장치(400))가 컨텐츠 목록 어플리케이션에서 파일을 선택하고 메시징 어플리케이션을 이용한 공유 기능을 선택하기 위해 표시하는 사용자 인터페이스의 예시를 도시한 도면이다.12 illustrates an electronic device (eg, the
전자 장치는 화면(1210)을 표시할 수 있다. 화면(1210)은 컨텐츠 목록 어플리케이션의 일 예로 이미지 목록(1211)을 표시하는 갤러리 어플리케이션의 실행화면이다. 컨텐츠 목록 어플리케이션의 화면(1210)은 이미지 목록(1211)과 공유 기능 버튼(1212)을 포함할 수 있다. 다양한 실시 예에 따르면, 도 11의 동작 S1110에서 이미지 목록(1211) 중에서 적어도 하나의 이미지를 선택하는 사용자 입력을 수신하고, 공유 기능 버튼(1212)을 선택하는 사용자 입력을 수신할 수 있다.The electronic device may display the
공유 기능 버튼(1212)을 선택하는 사용자 입력에 응답하여, 전자 장치는 메시징 어플리케이션을 이용한 공유 기능에 연관된 아이콘(1221)을 포함하는 컨텐츠 공유 기능 목록(1220)을 표시할 수 있다.In response to a user input of selecting the
도 13은, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 4의 전자 장치(400))가 선택된 파일에 기초하여 컨텐츠 공유 기능 목록을 구성하여 제공하는 프로세스를 도시한 흐름도(1300)이다.13 illustrates content sharing based on a file selected by an electronic device (eg, the
동작 S1310에서, 전자 장치는 컨텐츠 목록 어플리케이션에서 사용자 입력에 기초하여 파일을 선택할 수 있다. 전자 장치는 적어도 하나의 파일이 선택된 상태에서 공유 기능 버튼(예: 도 12의 공유 기능 버튼(1212))을 선택하는 사용자 입력에 응답하여, 동작 S1320에서 메시징 어플리케이션을 이용한 공유 기능을 이용하여 선택된 적어도 하나의 파일을 메시징 어플리케이션을 이용한 공유 기능을 이용하여 전송 가능한지 여부를 판단할 수 있다. 예를 들면, 전자 장치는 동작 S611, S613, S615, S631, 및 S633을 수행함으로써 메시지에 적어도 하나의 파일의 원본을 첨부하여 전송할 수 있는지 여부를 판단할 수 있다.In operation S1310, the electronic device may select a file based on a user input in the content list application. In response to a user input of selecting a share function button (eg, the
메시지에 적어도 하나의 파일의 원본을 첨부하여 전송할 수 있는 것으로 결정되는 경우, 전자 장치는 동작 S1330에서 메시징 어플리케이션을 이용한 공유 기능에 연관된 제1 공유 기능 항목(예: 아이콘, 버튼)을 포함하는 컨텐츠 공유 기능 목록을 표시할 수 있다. 메시지에 적어도 하나의 파일의 원본을 첨부하여 전송할 수 없는 것으로 결정되는 경우, 전자 장치는 동작 S1340에서 링크 정보를 이용한 공유 기능에 연관된 제2 공유 기능 항목(예: 아이콘, 버튼)을 포함하는 컨텐츠 공유 기능 목록을 표시할 수 있다. 즉, 다양한 실시 예에 따르면, 전자 장치는 선택된 적어도 하나의 파일에 기초하여 구성된 컨텐츠 공유 기능 목록을 표시할 수 있다.When it is determined that the message can be transmitted by attaching the original file of at least one file, the electronic device shares content including the first sharing function item (eg, icon, button) related to the sharing function using the messaging application in operation S1330 A list of functions can be displayed. When it is determined that the message cannot be transmitted by attaching the original file of at least one file, the electronic device shares content including a second sharing function item (eg, icon, button) related to a sharing function using link information in operation S1340 A list of functions can be displayed. That is, according to various embodiments, the electronic device may display a list of content sharing functions configured based on at least one selected file.
도 14는, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 4의 전자 장치(400))가 메시징 어플리케이션에 설정된 컨텐츠 공유 한도에 기초하여 파일을 공유하는 프로세스를 도시한 흐름도(1400)이다.14 illustrates a content sharing limit set by an electronic device (eg, the
동작 S1410에서, 전자 장치는 컨텐츠 목록 어플리케이션에서 사용자 입력에 기초하여 적어도 하나의 파일을 선택할 수 있다. 전자 장치는 메시징 어플리케이션을 이용하여 선택된 적어도 하나의 파일을 공유하는 동작을 실행하도록 하는 사용자 입력을 수신할 수 있다. 선택된 적어도 하나의 파일을 공유하는 동작을 실행하도록 하는 사용자 입력에 응답하여, 전자 장치는 동작 S1420에서 선택된 적어도 하나의 파일이 메시징 어플리케이션에 설정된 컨텐츠 공유 한도 이내인지 여부를 판단할 수 있다. 예를 들어, 메시징 어플리케이션이 일 회에 30개 이하의 파일만 전송할 수 있도록 컨텐츠 공유 한도가 설정된 경우, 전자 장치는 선택된 적어도 하나의 파일의 수량이 30개 이하인지 여부를 판단할 수 있다.In operation S1410, the electronic device may select at least one file based on a user input in the content list application. The electronic device may receive a user input for executing an operation of sharing at least one selected file using a messaging application. In response to a user input for executing an operation of sharing the at least one selected file, the electronic device may determine whether the at least one file selected in operation S1420 is within a content sharing limit set in the messaging application. For example, when the content sharing limit is set so that the messaging application can transmit only 30 or less files at a time, the electronic device may determine whether the number of at least one selected file is 30 or less.
선택된 적어도 하나의 파일이 메시징 어플리케이션에 설정된 컨텐츠 공유 한도 이내인 경우, 동작 S1430에서 전자 장치는 메시징 어플리케이션의 파일 공유 기능에 기초하여 선택된 적어도 하나의 파일을 외부 전자 장치로 전송할 수 있다. 선택된 적어도 하나의 파일이 메시징 어플리케이션에 설정된 컨텐츠 공유 한도를 초과하는 경우, 동작 S1440에서 전자 장치는 선택된 적어도 하나의 파일을 링크 공유 기능에 기반하여 공유할 수 있는지 여부를 판단할 수 있다. 선택된 적어도 하나의 파일을 링크 공유 기능에 기반하여 공유할 수 있는 것으로 판단되는 경우, 전자 장치는 동작 S1450에서 메시징 어플리케이션을 통해서 적어도 하나의 파일을 다운로드하기 위한 링크 정보를 포함하는 메시지를 외부 전자 장치로 전송할 수 있다.If the selected at least one file is within the content sharing limit set in the messaging application, the electronic device may transmit the selected at least one file to the external electronic device based on the file sharing function of the messaging application in operation S1430. When the at least one selected file exceeds the content sharing limit set in the messaging application, in operation S1440, the electronic device may determine whether the selected at least one file can be shared based on a link sharing function. When it is determined that the selected at least one file can be shared based on the link sharing function, the electronic device sends a message including link information for downloading the at least one file through the messaging application to the external electronic device in operation S1450 can be transmitted
도 15는, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 4의 전자 장치(400))가 메시징 어플리케이션에 설정된 컨텐츠 공유 한도에 기초하여 파일을 공유하기 위해 표시하는 사용자 인터페이스들의 예시를 도시한 도면이다.15 illustrates a content sharing limit set by an electronic device (eg, the
도 14의 동작 S1410에서, 전자 장치는 컨텐츠 목록 어플리케이션 실행 화면(1510)에 대한 사용자 입력에 기초하여 적어도 하나의 파일을 선택할 수 있다. 컨텐츠 목록 어플리케이션 실행 화면(1510)은 선택된 파일의 수량을 표시하는 지시자(1511) 및 공유 기능 버튼(1513)을 포함할 수 있다. 예를 들어, 전자 장치는 33개의 파일들이 선택된 상태에서 공유 기능 버튼(1513)을 선택하는 사용자 입력을 수신할 수 있다.In operation S1410 of FIG. 14 , the electronic device may select at least one file based on a user input to the content list
공유 기능 버튼(1513)을 선택하는 사용자 입력에 응답하여, 전자 장치는 컨텐츠 공유 기능 목록을 포함하는 화면(1520)을 디스플레이에 표시할 수 있다. 전자 장치는 컨텐츠 공유 기능 목록을 포함하는 화면(1520)에서 메시징 어플리케이션을 이용한 공유 기능에 연관된 공유 기능 항목(1521)을 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 공유 기능 항목(1521)을 선택하는 사용자 입력에 응답하여 선택된 적어도 하나의 파일이 메시징 어플리케이션에 설정된 컨텐츠 공유 한도 이내인지 여부를 판단할 수 있다(예: 도 14의 S1420). 예를 들어, 메시징 어플리케이션이 일 회에 30개 이하의 파일만 전송할 수 있도록 컨텐츠 공유 한도가 설정된 경우, 전자 장치는 선택된 적어도 하나의 파일의 수량이 30개 이하인지 여부를 판단할 수 있다.In response to a user input of selecting the
다양한 실시 예에 따르면, 선택된 적어도 하나의 파일이 메시징 어플리케이션에 설정된 컨텐츠 공유 한도를 초과하는 경우, 전자 장치는 링크 공유로 파일을 전송할 것인지를 확인 받기 위한 알림 메시지(1530)를 표시할 수 있다. 알림 메시지(1530)의 확인 버튼(1531)을 선택하는 사용자 입력에 응답하여, 전자 장치는 링크 공유 기능에 기초하여 제공되는 링크 정보를 외부 전자 장치로 전송하기 위한 어플리케이션을 선택하기 위한 어플리케이션 목록(1540)을 표시할 수 있다. 전자 장치는 어플리케이션 목록(1540) 중에서 선택된 어플리케이션을 이용하여 링크 정보를 전송할 수 있다.According to various embodiments, when the selected at least one file exceeds the content sharing limit set in the messaging application, the electronic device may display a
도 16은, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 4의 전자 장치(400))가 기기간 통신에 기초한 파일 전송이 실패한 경우에 링크 전송 기능을 이용하여 파일을 공유하는 프로세스를 도시한 흐름도(1600)이다.16 illustrates an electronic device (eg, the
전자 장치는 파일을 전송할 주변 기기를 검색하는 동작 S1610을 수행할 수 있다. 예를 들어, 전자 장치는 기기간(D2D) 통신(예: Wi-Fi Direct)을 통해서 파일을 전송하기 위한 어플리케이션을 실행하고, 실행된 어플리케이션을 이용하여 주변 기기를 검색할 수 있다. 전자 장치는 주변의 기기가 검색된 경우, 검색된 기기들에 대한 기기 목록을 표시하는 동작 S1620을 수행할 수 있다. 예를 들어, 전자 장치는 전자 장치에 로그인한 계정에 등록된 기기 중 주변에 위치한 기기, 전자 장치의 연락처 데이터베이스에 저장된 기기, 또는 지정된 거리 내에 위치한 것으로 판단되는 기기에 대한 정보(예: 기기명(device name))를 포함하는 기기 목록을 표시할 수 있다.The electronic device may perform operation S1610 of searching for a peripheral device to which a file is to be transmitted. For example, the electronic device may execute an application for transmitting a file through device-to-device (D2D) communication (eg, Wi-Fi Direct) and search for a peripheral device using the executed application. When nearby devices are found, the electronic device may perform operation S1620 of displaying a device list for the found devices. For example, the electronic device includes information about a device that is located nearby, a device stored in a contact database of the electronic device, or a device determined to be located within a specified distance among devices registered to an account logged into the electronic device (eg, device name). You can display a list of devices including name)).
전자 장치는 기기 목록 중에서 외부 전자 장치에 대한 항목을 선택하는 동작 S1630을 수행할 수 있다. 예를 들어, 전자 장치는 전자 장치의 터치스크린을 통해서 외부 전자 장치에 대한 항목(예: 아이콘)이 표시된 위치에 대한 터치 입력을 수신할 수 있다. 외부 전자 장치에 대한 항목이 선택되면, 전자 장치는 외부 전자 장치로 기기간 통신을 통해서 적어도 하나의 파일의 전송을 시도하는 동작 S1640을 수행할 수 있다. 전자 장치는 동작 S1640에서 외부 전자 장치로 파일이 전송되었는지 여부를 판단하는 동작 S1650을 수행할 수 있다.The electronic device may perform operation S1630 of selecting an item for the external electronic device from the device list. For example, the electronic device may receive a touch input for a location where an item (eg, an icon) for an external electronic device is displayed through the touch screen of the electronic device. When an item for the external electronic device is selected, the electronic device may perform operation S1640 of attempting to transmit at least one file to the external electronic device through device-to-device communication. In operation S1640, the electronic device may perform operation S1650 of determining whether a file has been transmitted to the external electronic device.
동작 S1650에서 파일이 정상적으로 전송되지 않은 것으로 판단된 경우, 전자 장치는 파일 전송이 실패하였음을 나타내는 항목을 표시하는 동작 S1660을 수행할 수 있다. 예를 들어, 전자 장치는 외부 전자 장치를 나타내는 아이콘 주변에 "전송 실패"와 같은 텍스트를 표시할 수 있다. 다양한 실시 예에 따르면, 전자 장치는 외부 전자 장치가 연락처 데이터베이스에 등록된 장치이거나 사용자 계정에 대해 등록된 장치인지 여부를 판단하고, 판단 결과에 기초하여 기기 목록을 표시할 수 있다. 연락처 데이터베이스는 전자 장치에 로컬로 구성된 데이터베이스일 수도 있으며, 전자 장치 외부(예를 들어, 클라우드 서비스)에 구성된 데이터베이스일 수도 있다. 다양한 실시 예에 따르면, 전자 장치는 외부 전자 장치의 식별 정보(예: 전화번호, 기기 고유 식별 번호, 기기 이름, 사용자 계정)에 기초하여 외부 전자 장치가 연락처 데이터베이스에 등록되어 있는지 여부를 판단할 수 있다.If it is determined in operation S1650 that the file has not been transmitted normally, the electronic device may perform operation S1660 of displaying an item indicating that the file transmission has failed. For example, the electronic device may display text such as “transmission failure” around an icon representing the external electronic device. According to various embodiments of the present disclosure, the electronic device may determine whether the external electronic device is a device registered in a contact database or a device registered for a user account, and may display a device list based on the determination result. The contact database may be a database configured locally in the electronic device or a database configured outside the electronic device (eg, a cloud service). According to various embodiments of the present disclosure, the electronic device may determine whether the external electronic device is registered in the contact database based on identification information (eg, a phone number, a device unique identification number, a device name, and a user account) of the external electronic device. there is.
전자 장치는 파일 전송이 실패하였음을 나타내는 항목을 포함하는 기기 목록 내에서 외부 전자 장치에 대한 항목을 선택하는 동작 S1670을 수행할 수 있다. 예를 들어, 전자 장치는 전자 장치의 터치스크린을 통해서 외부 전자 장치에 대한 항목(예: 아이콘)이 표시된 위치에 대한 터치 입력을 수신할 수 있다. 외부 전자 장치에 대한 항목이 선택되면, 전자 장치는 링크 공유 기능에 기반한 적어도 하나의 파일의 전송을 시도하기 위하여, 전자 장치는 선택된 적어도 하나의 파일을 링크 공유 기능에 기반하여 외부 전자 장치로 제공할 수 있는지 여부를 판단하는 동작 1680을 수행할 수 있다. 적어도 하나의 파일이 링크 공유 기능에 기반하여 외부 전자 장치로 제공될 수 있는 것으로 판단된 경우, 전자 장치는 링크 정보를 포함하는 메시지를 전송하는 동작 S1690을 수행할 수 있다.The electronic device may perform operation S1670 of selecting an item for the external electronic device from the device list including the item indicating that the file transfer has failed. For example, the electronic device may receive a touch input for a location where an item (eg, an icon) for an external electronic device is displayed through the touch screen of the electronic device. When an item for the external electronic device is selected, the electronic device provides the selected at least one file to the external electronic device based on the link sharing function in order to transmit the at least one file based on the link sharing function. Operation 1680 of determining whether or not it is possible may be performed. When it is determined that at least one file can be provided to the external electronic device based on the link sharing function, the electronic device may perform operation S1690 of transmitting a message including link information.
도 17은 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 4의 전자 장치(400))가 기기간 통신에 기초한 파일 전송이 실패한 경우에 표시하는 사용자 인터페이스의 예시를 도시한 도면이다.17 is a diagram illustrating a case in which file transmission based on device-to-device communication fails in an electronic device (eg, the
도 16의 동작 S1660에서, 전자 장치는 외부 전자 장치에 대한 항목(1710)을 포함하는 기기 목록(1700)을 디스플레이에 표시할 수 있다. 외부 전자 장치에 대한 항목(1710)은 그 외부 전자 장치에 대해 파일 전송이 실패한 이력이 있는 경우 실패한 파일 전송에 대한 이력이 있음을 나타내는 지시자를 포함하여 표시될 수 있다. 사용자는 기기 목록(1700) 중에서 실패한 파일 전송에 대한 이력이 있음이 표시된 항목(1710)을 선택하여 전자 장치가 실패한 파일을 링크 공유 기능에 기초하여 전송하도록 전자 장치를 제어할 수 있다.In operation S1660 of FIG. 16 , the electronic device may display the
다양한 실시 예들에 따른 전자 장치는 외부 장치와 통신을 수행하는 통신 회로 및 상기 통신 회로와 작동적으로 연결된 프로세서를 포함할 수 있다. 상기 프로세서는, 적어도 하나의 파일을 메시징 어플리케이션을 이용하여 외부 전자 장치로 제공하도록 하는 사용자 명령을 수신하고, 상기 사용자 명령에 응답하여, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하며, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 없는 것으로 판단되는 것에 응답하여, 상기 적어도 하나의 파일을 다운로드하기 위한 링크 정보를 생성하며, 상기 통신 회로를 통해서 상기 메시징 어플리케이션을 이용하여 상기 링크 정보를 상기 외부 전자 장치로 전송하고, 상기 링크 정보를 이용하여 접속 가능한 외부 서버로 상기 적어도 하나의 파일을 업로드하도록 구성될 수 있다.An electronic device according to various embodiments may include a communication circuit that communicates with an external device and a processor operatively connected to the communication circuit. The processor receives a user command to provide at least one file to the external electronic device using a messaging application, and in response to the user command, transmits the at least one file to the external electronic device using the messaging application to determine whether to transmit the at least one file, and in response to determining that the at least one file cannot be transmitted to the external electronic device using the messaging application, generate link information for downloading the at least one file, , transmit the link information to the external electronic device using the messaging application through the communication circuit, and upload the at least one file to an external server connectable using the link information.
다양한 실시 예들에 따르면, 상기 프로세서는, 상기 메시징 어플리케이션이 메시지를 전송하기 위해 이용 가능한 메시지 전송망을 통해서 상기 적어도 하나의 파일을 전송할 수 없는 경우, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 없는 것으로 판단할 수 있다.According to various embodiments of the present disclosure, when the at least one file cannot be transmitted through a message transmission network that the messaging application can use to transmit a message, the processor transmits the at least one file to the external using the messaging application. It may be determined that transmission to the electronic device is not possible.
다양한 실시 예들에 따르면, 상기 프로세서는, 상기 적어도 하나의 파일의 파일 포맷이 상기 메시지 전송망이 지원하는 파일 포맷인지 여부 및 상기 적어도 하나의 파일의 크기가 상기 메시지 전송망에서 정의된 값 이하인지 여부에 기초하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단할 수 있다.According to various embodiments, the processor is, based on whether the file format of the at least one file is a file format supported by the message transmission network and whether the size of the at least one file is less than or equal to a value defined by the message transmission network to determine whether the at least one file can be transmitted to the external electronic device.
다양한 실시 예들에 따르면, 상기 전송망은 RCS (Rich Communication Suite) 또는 MMS (Multimedia Messaging Service) 중 적어도 하나를 포함할 수 있다.According to various embodiments, the transport network may include at least one of Rich Communication Suite (RCS) and Multimedia Messaging Service (MMS).
다양한 실시 예들에 따르면, 상기 프로세서는, 상기 메시징 어플리케이션이 상기 적어도 하나의 파일의 크기를 변경하여 전송하는 경우, 동영상 파일을 분할하여 전송하는 경우 또는 상기 적어도 하나의 파일의 수량이 지정된 값을 초과하는 경우에, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 없는 것으로 판단하도록 구성될 수 있다.According to various embodiments, when the messaging application changes the size of the at least one file and transmits it, when the video file is divided and transmitted, or the quantity of the at least one file exceeds a specified value In this case, it may be configured to determine that the at least one file cannot be transmitted to the external electronic device using the messaging application.
다양한 실시 예들에 따르면, 상기 사용자 명령은, 상기 메시징 어플리케이션이 실행된 상태에서 상기 적어도 하나의 파일을 전송될 메시지에 첨부하도록 하는 사용자 입력에 대응될 수 있다.According to various embodiments, the user command may correspond to a user input for attaching the at least one file to a message to be transmitted while the messaging application is running.
다양한 실시 예들에 따르면, 상기 전자 장치는 상기 프로세서와 작동적으로 연결된 디스플레이를 더 포함할 수 있다. 상기 프로세서는, 컨텐츠 목록 어플리케이션을 통해서 상기 적어도 하나의 파일을 선택하는 사용자 입력을 수신하고, 상기 적어도 하나의 파일을 전송하도록 하는 사용자 입력에 응답하여 상기 전자 장치가 제공하는 컨텐츠 공유 기능 목록을 표시하도록 상기 디스플레이를 제어하고, 상기 컨텐츠 공유 기능 목록 중에서 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 전송하는 공유 기능을 선택하는 사용자 입력을 상기 사용자 명령으로서 수신할 수 있다.According to various embodiments, the electronic device may further include a display operatively connected to the processor. The processor receives a user input for selecting the at least one file through a content list application, and displays a list of content sharing functions provided by the electronic device in response to a user input for transmitting the at least one file A user input for controlling the display and selecting a sharing function for transmitting the at least one file using the messaging application from the list of contents sharing functions may be received as the user command.
다양한 실시 예들에 따르면, 상기 전자 장치는 상기 프로세서와 작동적으로 연결된 디스플레이를 더 포함할 수 있다. 상기 프로세서는, 컨텐츠 목록 어플리케이션을 통해서 상기 적어도 하나의 파일을 선택하는 사용자 입력을 수신하고, 상기 적어도 하나의 파일을 전송하도록 하는 사용자 입력에 응답하여 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하며, 상기 적어도 하나의 파일을 상기 메시징 어플리케이션을 이용하여 전송할 수 있는 것으로 판단된 경우 상기 메시징 어플리케이션을 이용한 컨텐츠 공유 기능에 연관된 제1 공유 기능 항목을 포함하는 컨텐츠 공유 기능 목록을 상기 디스플레이를 통해서 표시하고, 상기 적어도 하나의 파일을 상기 메시징 어플리케이션을 이용하여 전송할 수 없는 것으로 판단된 경우 상기 링크 정보를 이용한 컨텐츠 공유 기능에 연관된 제1 공유 기능 항목을 포함하는 컨텐츠 공유 기능 목록을 상기 디스플레이를 통해서 표시하도록 구성될 수 있다.According to various embodiments, the electronic device may further include a display operatively connected to the processor. The processor receives a user input for selecting the at least one file through a content list application, and transmits the at least one file using the messaging application in response to the user input for transmitting the at least one file. It is determined whether the file can be transmitted to an external electronic device, and when it is determined that the at least one file can be transmitted using the messaging application, content including a first sharing function item related to a content sharing function using the messaging application A list of sharing functions is displayed through the display, and when it is determined that the at least one file cannot be transmitted using the messaging application, content sharing including a first sharing function item related to the content sharing function using the link information It may be configured to display a list of functions through the display.
다양한 실시 예들에 따르면, 상기 메시징 어플리케이션에 설정된 컨텐츠 공유 한도에 기초하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단할 수 있다.According to various embodiments, it may be determined whether the at least one file can be transmitted to the external electronic device based on the content sharing limit set in the messaging application.
다양한 실시 예들에 따른 전자 장치의 동작 방법은, 적어도 하나의 파일을 메시징 어플리케이션을 이용하여 외부 전자 장치로 제공하도록 하는 사용자 명령을 수신하는 동작, 상기 사용자 명령에 응답하여, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 없는 것으로 판단되는 것에 응답하여, 상기 적어도 하나의 파일을 다운로드하기 위한 링크 정보를 생성하는 동작, 상기 메시징 어플리케이션을 이용하여 상기 링크 정보를 상기 외부 전자 장치로 전송하는 동작 및 상기 링크 정보를 이용하여 접속 가능한 외부 서버로 상기 적어도 하나의 파일을 업로드하는 동작을 포함할 수 있다.The method of operating an electronic device according to various embodiments of the present disclosure includes receiving a user command for providing at least one file to an external electronic device using a messaging application, and in response to the user command, using the messaging application determining whether the at least one file can be transmitted to the external electronic device; in response to determining that the at least one file cannot be transmitted to the external electronic device using the messaging application, the at least one generating link information for downloading a file, transmitting the link information to the external electronic device using the messaging application, and uploading the at least one file to an external server accessible using the link information It can include actions.
다양한 실시 예들에 따르면, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작은, 상기 메시징 어플리케이션이 메시지를 전송하기 위해 이용 가능한 메시지 전송망을 통해서 상기 적어도 하나의 파일을 전송할 수 없는 경우, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 없는 것으로 판단하는 동작을 포함할 수 있다.According to various embodiments, the determining whether the at least one file can be transmitted to the external electronic device by using the messaging application may include: If one file cannot be transmitted, determining that the at least one file cannot be transmitted to the external electronic device using the messaging application.
다양한 실시 예들에 따르면, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작은, 상기 적어도 하나의 파일의 파일 포맷이 상기 메시지 전송망이 지원하는 파일 포맷인지 여부 및 상기 적어도 하나의 파일의 크기가 상기 메시지 전송망에서 정의된 값 이하인지 여부에 기초하여 상기 메시지 전송망을 통해서 상기 적어도 하나의 파일을 전송할 수 있는지 여부를 판단하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the determining whether the at least one file can be transmitted to the external electronic device using the messaging application may include a file format of the at least one file supported by the message transmission network. and determining whether the at least one file can be transmitted through the message transmission network based on whether or not the at least one file is smaller than or equal to a value defined in the message transmission network.
다양한 실시 예들에 따르면, 상기 전송망은 RCS (Rich Communication Services) 또는 MMS 중 적어도 하나를 포함할 수 있다.According to various embodiments, the transport network may include at least one of Rich Communication Services (RCS) and MMS.
다양한 실시 예들에 따르면, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작은, 상기 메시징 어플리케이션이 상기 적어도 하나의 파일의 크기를 변경하여 전송하는 경우, 동영상 파일을 분할하여 전송하는 경우 또는 상기 적어도 하나의 파일의 수량이 지정된 값을 초과하는 경우에, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 없는 것으로 판단하는 동작을 포함할 수 있다.According to various embodiments, the determining whether the at least one file can be transmitted to the external electronic device by using the messaging application may include when the messaging application changes the size of the at least one file and transmits it. , an operation of determining that the at least one file cannot be transmitted to the external electronic device using the messaging application when the moving picture file is divided and transmitted or when the quantity of the at least one file exceeds a specified value may include
다양한 실시 예들에 따르면, 상기 사용자 명령은, 상기 메시징 어플리케이션이 실행된 상태에서 상기 적어도 하나의 파일을 전송될 메시지에 첨부하도록 하는 사용자 입력에 대응될 수 있다.According to various embodiments of the present disclosure, the user command may correspond to a user input for attaching the at least one file to a message to be transmitted while the messaging application is running.
다양한 실시 예들에 따르면, 상기 사용자 명령을 수신하는 동작은, 컨텐츠 목록 어플리케이션을 통해서 상기 적어도 하나의 파일을 선택하는 사용자 입력을 수신하는 동작, 상기 적어도 하나의 파일을 전송하도록 하는 사용자 입력에 응답하여 상기 전자 장치가 제공하는 컨텐츠 공유 기능 목록을 표시하도록 상기 전자 장치의 디스플레이를 제어하는 동작 및 상기 컨텐츠 공유 기능 목록 중에서 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 전송하는 공유 기능을 선택하는 사용자 입력을 수신하는 동작을 포함할 수 있다.According to various embodiments, the receiving of the user command may include receiving a user input for selecting the at least one file through a content list application, and responding to a user input for transmitting the at least one file. Controlling the display of the electronic device to display a list of content sharing functions provided by the electronic device and receiving a user input for selecting a sharing function for transmitting the at least one file using the messaging application from the list of content sharing functions It may include an operation of receiving.
다양한 실시 예들에 따르면, 상기 사용자 명령을 수신하는 동작은, 컨텐츠 목록 어플리케이션을 통해서 상기 적어도 하나의 파일을 선택하는 사용자 입력을 수신하는 동작, 상기 적어도 하나의 파일을 전송하도록 하는 사용자 입력에 응답하여 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작 및 상기 적어도 하나의 파일을 상기 메시징 어플리케이션을 이용하여 전송할 수 있는 것으로 판단된 경우 상기 메시징 어플리케이션을 이용한 컨텐츠 공유 기능 항목을 포함하는 컨텐츠 공유 기능 목록을 상기 디스플레이를 통해서 표시하고, 상기 적어도 하나의 파일을 상기 메시징 어플리케이션을 이용하여 전송할 수 없는 것으로 판단된 경우 상기 링크 정보를 이용한 컨텐츠 공유 기능 항목을 포함하는 컨텐츠 공유 기능 목록을 디스플레이를 통해서 표시하는 동작을 포함할 수 있다.According to various embodiments, the receiving of the user command may include receiving a user input for selecting the at least one file through a content list application, and responding to a user input for transmitting the at least one file. An operation of determining whether the at least one file can be transmitted to the external electronic device using a messaging application, and content using the messaging application when it is determined that the at least one file can be transmitted using the messaging application A content sharing function list including a sharing function item is displayed through the display, and when it is determined that the at least one file cannot be transmitted using the messaging application, the content including the content sharing function item using the link information It may include an operation of displaying a list of shared functions through a display.
다양한 실시 예들에 따르면, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작은, 상기 메시징 어플리케이션에 설정된 컨텐츠 공유 한도에 기초하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작을 포함할 수 있다.According to various embodiments, the determining whether the at least one file can be transmitted to the external electronic device using the messaging application may include: sharing the at least one file based on a content sharing limit set in the messaging application It may include an operation of determining whether transmission to the external electronic device is possible.
다른 실시 예들에 따른 전자 장치는, 디스플레이, 외부 장치와 통신을 수행하는 통신 회로 및 상기 디스플레이 및 상기 통신 회로와 작동적으로 연결된 프로세서를 포함할 수 있다. 상기 프로세서는, 상기 통신 회로를 이용하여 외부 전자 장치로 기기간 통신 (Device to Device, D2D)을 통한 적어도 하나의 파일의 전송을 시도하고, 상기 기기간 통신을 통한 상기 적어도 하나의 파일에 대한 전송이 실패한 경우, 상기 외부 전자 장치에 대한 상기 적어도 하나의 파일의 전송이 실패하였음을 나타내는 항목을 포함하는 기기 목록을 표시하도록 상기 디스플레이를 제어하며, 상기 외부 전자 장치에 대한 항목이 선택된 경우, 상기 적어도 하나의 파일을 다운로드하기 위한 링크 정보를 생성하며, 상기 통신 회로를 통해서 메시징 어플리케이션을 이용하여 상기 링크 정보를 포함하는 메시지를 상기 외부 전자 장치로 전송하도록 구성될 수 있다.An electronic device according to other embodiments may include a display, a communication circuit for communicating with an external device, and a processor operatively connected to the display and the communication circuit. The processor attempts to transmit at least one file through device-to-device (D2D) communication to an external electronic device using the communication circuit, and the transmission of the at least one file through device-to-device communication fails. In this case, the display is controlled to display a device list including an item indicating that transmission of the at least one file to the external electronic device has failed, and when the item for the external electronic device is selected, the at least one and generate link information for downloading a file, and transmit a message including the link information to the external electronic device using a messaging application through the communication circuit.
다양한 실시 예들에 따르면, 상기 프로세서는, 상기 외부 전자 장치의 식별 정보를 이용하여 상기 외부 전자 장치가 연락처 데이터베이스에 등록된 장치인지 여부를 판단하고, 상기 외부 전자 장치가 연락처 데이터베이스에 등록된 장치인 경우에 상기 기기 목록에 상기 외부 전자 장치에 대한 항목을 포함하여 상기 디스플레이를 통해서 출력하도록 구성될 수 있다.According to various embodiments of the present disclosure, the processor determines whether the external electronic device is a device registered in a contact database by using the identification information of the external electronic device, and when the external electronic device is a device registered in the contact database, may be configured to include an item for the external electronic device in the device list and output it through the display.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A , B, or C" each may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish the element from other elements in question, and may refer to elements in other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is "coupled" or "connected" to another (eg, second) component, with or without the terms "functionally" or "communicatively". When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit. can be used as A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.According to various embodiments of the present document, one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101) may be implemented as software (eg, the program 140) including For example, the processor (eg, the processor 120 ) of the device (eg, the electronic device 101 ) may call at least one command among one or more commands stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term refers to the case where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store™) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly between smartphones (eg: smartphones) and online. In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다. According to various embodiments, each component (eg, module or program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.
Claims (20)
외부 장치와 통신을 수행하는 통신 회로; 및
상기 통신 회로와 작동적으로 연결된 프로세서를 포함하며,
상기 프로세서는,
적어도 하나의 파일을 메시징 어플리케이션을 이용하여 외부 전자 장치로 제공하도록 하는 사용자 명령을 수신하고,
상기 사용자 명령에 응답하여, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하며,
상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 없는 것으로 판단되는 것에 응답하여, 상기 적어도 하나의 파일을 다운로드하기 위한 링크 정보를 생성하며,
상기 통신 회로를 통해서 상기 메시징 어플리케이션을 이용하여 상기 링크 정보를 상기 외부 전자 장치로 전송하고, 상기 링크 정보를 이용하여 접속 가능한 외부 서버로 상기 적어도 하나의 파일을 업로드하도록 구성된, 전자 장치.In an electronic device,
a communication circuit for performing communication with an external device; and
a processor operatively coupled to the communication circuitry;
The processor is
receiving a user command to provide at least one file to an external electronic device using a messaging application;
determining whether the at least one file can be transmitted to the external electronic device using the messaging application in response to the user command;
In response to determining that the at least one file cannot be transmitted to the external electronic device using the messaging application, link information for downloading the at least one file is generated,
and transmit the link information to the external electronic device using the messaging application through the communication circuit, and upload the at least one file to an external server connectable using the link information.
상기 프로세서는,
상기 메시징 어플리케이션이 메시지를 전송하기 위해 이용 가능한 메시지 전송망을 통해서 상기 적어도 하나의 파일을 전송할 수 없는 경우, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 없는 것으로 판단하는, 전자 장치.The method according to claim 1,
The processor is
determining that the at least one file cannot be transmitted to the external electronic device using the messaging application when the messaging application cannot transmit the at least one file through a message transmission network available for transmitting a message; electronic device.
상기 프로세서는,
상기 적어도 하나의 파일의 파일 포맷이 상기 메시지 전송망이 지원하는 파일 포맷인지 여부 및 상기 적어도 하나의 파일의 크기가 상기 메시지 전송망에서 정의된 값 이하인지 여부에 기초하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는, 전자 장치.3. The method according to claim 2,
The processor is
The at least one file is transferred to the external electronic device based on whether the file format of the at least one file is a file format supported by the message transmission network and whether the size of the at least one file is less than or equal to a value defined by the message transmission network. An electronic device that determines whether it can transmit to the device.
상기 전송망은 RCS (Rich Communication Suite) 또는 MMS (Multimedia Messaging Service) 중 적어도 하나를 포함하는, 전자 장치.3. The method according to claim 2,
The transport network includes at least one of Rich Communication Suite (RCS) and Multimedia Messaging Service (MMS), the electronic device.
상기 프로세서는,
상기 메시징 어플리케이션이 상기 적어도 하나의 파일의 크기를 변경하여 전송하는 경우, 동영상 파일을 분할하여 전송하는 경우 또는 상기 적어도 하나의 파일의 수량이 지정된 값을 초과하는 경우에, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 없는 것으로 판단하도록 구성된, 전자 장치.The method according to claim 1,
The processor is
When the messaging application changes the size of the at least one file and transmits it, when the video file is divided and transmitted, or when the quantity of the at least one file exceeds a specified value, the messaging application is used to and determine that at least one file cannot be transmitted to the external electronic device.
상기 사용자 명령은, 상기 메시징 어플리케이션이 실행된 상태에서 상기 적어도 하나의 파일을 전송될 메시지에 첨부하도록 하는 사용자 입력에 대응되는 것인, 전자 장치.The method according to claim 1,
The user command corresponds to a user input for attaching the at least one file to a message to be transmitted while the messaging application is running.
상기 전자 장치는 상기 프로세서와 작동적으로 연결된 디스플레이를 더 포함하고,
상기 프로세서는,
컨텐츠 목록 어플리케이션을 통해서 상기 적어도 하나의 파일을 선택하는 사용자 입력을 수신하고,
상기 적어도 하나의 파일을 전송하도록 하는 사용자 입력에 응답하여 상기 전자 장치가 제공하는 컨텐츠 공유 기능 목록을 표시하도록 상기 디스플레이를 제어하고,
상기 컨텐츠 공유 기능 목록 중에서 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 전송하는 공유 기능을 선택하는 사용자 입력을 상기 사용자 명령으로서 수신하는, 전자 장치.The method according to claim 1,
the electronic device further comprising a display operatively coupled to the processor;
The processor is
Receiving a user input for selecting the at least one file through the content list application,
controlling the display to display a list of content sharing functions provided by the electronic device in response to a user input for transmitting the at least one file;
and receiving a user input for selecting a sharing function for transmitting the at least one file using the messaging application from the list of contents sharing functions as the user command.
상기 전자 장치는 상기 프로세서와 작동적으로 연결된 디스플레이를 더 포함하고,
상기 프로세서는,
컨텐츠 목록 어플리케이션을 통해서 상기 적어도 하나의 파일을 선택하는 사용자 입력을 수신하고,
상기 적어도 하나의 파일을 전송하도록 하는 사용자 입력에 응답하여 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하며,
상기 적어도 하나의 파일을 상기 메시징 어플리케이션을 이용하여 전송할 수 있는 것으로 판단된 경우 상기 메시징 어플리케이션을 이용한 컨텐츠 공유 기능에 연관된 제1 공유 기능 항목을 포함하는 컨텐츠 공유 기능 목록을 상기 디스플레이를 통해서 표시하고,
상기 적어도 하나의 파일을 상기 메시징 어플리케이션을 이용하여 전송할 수 없는 것으로 판단된 경우 상기 링크 정보를 이용한 컨텐츠 공유 기능에 연관된 제1 공유 기능 항목을 포함하는 컨텐츠 공유 기능 목록을 상기 디스플레이를 통해서 표시하도록 구성되는, 전자 장치.The method according to claim 1,
the electronic device further comprising a display operatively coupled to the processor;
The processor is
Receiving a user input for selecting the at least one file through the content list application,
determining whether the at least one file can be transmitted to the external electronic device using the messaging application in response to a user input for transmitting the at least one file;
When it is determined that the at least one file can be transmitted using the messaging application, a content sharing function list including a first sharing function item related to a content sharing function using the messaging application is displayed through the display,
When it is determined that the at least one file cannot be transmitted using the messaging application, a content sharing function list including a first sharing function item related to the content sharing function using the link information is displayed through the display , electronic devices.
상기 메시징 어플리케이션에 설정된 컨텐츠 공유 한도에 기초하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는, 전자 장치.The method according to claim 1,
and determining whether the at least one file can be transmitted to the external electronic device based on a content sharing limit set in the messaging application.
적어도 하나의 파일을 메시징 어플리케이션을 이용하여 외부 전자 장치로 제공하도록 하는 사용자 명령을 수신하는 동작;
상기 사용자 명령에 응답하여, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작;
상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 없는 것으로 판단되는 것에 응답하여, 상기 적어도 하나의 파일을 다운로드하기 위한 링크 정보를 생성하는 동작;
상기 메시징 어플리케이션을 이용하여 상기 링크 정보를 상기 외부 전자 장치로 전송하는 동작; 및
상기 링크 정보를 이용하여 접속 가능한 외부 서버로 상기 적어도 하나의 파일을 업로드하는 동작을 포함하는, 방법.A method of operating an electronic device, comprising:
receiving a user command to provide at least one file to an external electronic device using a messaging application;
determining whether the at least one file can be transmitted to the external electronic device using the messaging application in response to the user command;
generating link information for downloading the at least one file in response to determining that the at least one file cannot be transmitted to the external electronic device using the messaging application;
transmitting the link information to the external electronic device using the messaging application; and
and uploading the at least one file to an external server accessible by using the link information.
상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작은,
상기 메시징 어플리케이션이 메시지를 전송하기 위해 이용 가능한 메시지 전송망을 통해서 상기 적어도 하나의 파일을 전송할 수 없는 경우, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 없는 것으로 판단하는 동작을 포함하는, 방법.11. The method of claim 10,
The operation of determining whether the at least one file can be transmitted to the external electronic device using the messaging application includes:
Determining that the at least one file cannot be transmitted to the external electronic device using the messaging application when the messaging application cannot transmit the at least one file through a message transmission network available for transmitting a message A method comprising
상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작은,
상기 적어도 하나의 파일의 파일 포맷이 상기 메시지 전송망이 지원하는 파일 포맷인지 여부 및 상기 적어도 하나의 파일의 크기가 상기 메시지 전송망에서 정의된 값 이하인지 여부에 기초하여 상기 메시지 전송망을 통해서 상기 적어도 하나의 파일을 전송할 수 있는지 여부를 판단하는 동작을 포함하는, 방법.12. The method of claim 11,
The operation of determining whether the at least one file can be transmitted to the external electronic device using the messaging application includes:
Based on whether the file format of the at least one file is a file format supported by the message transmission network and whether the size of the at least one file is less than or equal to a value defined in the message transmission network, the at least one and determining whether the file can be transferred.
상기 전송망은 RCS (Rich Communication Services) 또는 MMS 중 적어도 하나를 포함하는, 방법.12. The method of claim 11,
The transport network includes at least one of Rich Communication Services (RCS) or MMS.
상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작은,
상기 메시징 어플리케이션이 상기 적어도 하나의 파일의 크기를 변경하여 전송하는 경우, 동영상 파일을 분할하여 전송하는 경우 또는 상기 적어도 하나의 파일의 수량이 지정된 값을 초과하는 경우에, 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 없는 것으로 판단하는 동작을 포함하는, 방법.11. The method of claim 10,
The operation of determining whether the at least one file can be transmitted to the external electronic device using the messaging application includes:
When the messaging application changes the size of the at least one file and transmits it, when the video file is divided and transmitted, or when the quantity of the at least one file exceeds a specified value, the messaging application is used to and determining that the at least one file cannot be transmitted to the external electronic device.
상기 사용자 명령은, 상기 메시징 어플리케이션이 실행된 상태에서 상기 적어도 하나의 파일을 전송될 메시지에 첨부하도록 하는 사용자 입력에 대응되는 것인, 방법.11. The method of claim 10,
The method of claim 1, wherein the user command corresponds to a user input for attaching the at least one file to a message to be transmitted while the messaging application is running.
상기 사용자 명령을 수신하는 동작은,
컨텐츠 목록 어플리케이션을 통해서 상기 적어도 하나의 파일을 선택하는 사용자 입력을 수신하는 동작,
상기 적어도 하나의 파일을 전송하도록 하는 사용자 입력에 응답하여 상기 전자 장치가 제공하는 컨텐츠 공유 기능 목록을 표시하도록 상기 전자 장치의 디스플레이를 제어하는 동작, 및
상기 컨텐츠 공유 기능 목록 중에서 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 전송하는 공유 기능을 선택하는 사용자 입력을 수신하는 동작을 포함하는, 방법.11. The method of claim 10,
The operation of receiving the user command is,
Receiving a user input for selecting the at least one file through a content list application;
controlling a display of the electronic device to display a list of content sharing functions provided by the electronic device in response to a user input for transmitting the at least one file; and
and receiving a user input for selecting a sharing function for transmitting the at least one file using the messaging application from the list of contents sharing functions.
상기 사용자 명령을 수신하는 동작은,
컨텐츠 목록 어플리케이션을 통해서 상기 적어도 하나의 파일을 선택하는 사용자 입력을 수신하는 동작,
상기 적어도 하나의 파일을 전송하도록 하는 사용자 입력에 응답하여 상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작, 및
상기 적어도 하나의 파일을 상기 메시징 어플리케이션을 이용하여 전송할 수 있는 것으로 판단된 경우 상기 메시징 어플리케이션을 이용한 컨텐츠 공유 기능 항목을 포함하는 컨텐츠 공유 기능 목록을 상기 디스플레이를 통해서 표시하고, 상기 적어도 하나의 파일을 상기 메시징 어플리케이션을 이용하여 전송할 수 없는 것으로 판단된 경우 상기 링크 정보를 이용한 컨텐츠 공유 기능 항목을 포함하는 컨텐츠 공유 기능 목록을 디스플레이를 통해서 표시하는 동작을 포함하는, 방법.11. The method of claim 10,
The operation of receiving the user command is,
Receiving a user input for selecting the at least one file through a content list application;
determining whether the at least one file can be transmitted to the external electronic device using the messaging application in response to a user input for transmitting the at least one file; and
When it is determined that the at least one file can be transmitted using the messaging application, a content sharing function list including a content sharing function item using the messaging application is displayed on the display, and the at least one file is displayed on the display. and displaying a content sharing function list including a content sharing function item using the link information through a display when it is determined that transmission cannot be performed using the messaging application.
상기 메시징 어플리케이션을 이용하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작은,
상기 메시징 어플리케이션에 설정된 컨텐츠 공유 한도에 기초하여 상기 적어도 하나의 파일을 상기 외부 전자 장치로 전송할 수 있는지 여부를 판단하는 동작을 포함하는, 방법.11. The method of claim 10,
The operation of determining whether the at least one file can be transmitted to the external electronic device using the messaging application includes:
and determining whether the at least one file can be transmitted to the external electronic device based on a content sharing limit set in the messaging application.
디스플레이;
외부 장치와 통신을 수행하는 통신 회로; 및
상기 디스플레이 및 상기 통신 회로와 작동적으로 연결된 프로세서를 포함하며,
상기 프로세서는,
상기 통신 회로를 이용하여 외부 전자 장치로 기기간 통신 (Device to Device, D2D)을 통한 적어도 하나의 파일의 전송을 시도하고,
상기 기기간 통신을 통한 상기 적어도 하나의 파일에 대한 전송이 실패한 경우, 상기 외부 전자 장치에 대한 상기 적어도 하나의 파일의 전송이 실패하였음을 나타내는 항목을 포함하는 기기 목록을 표시하도록 상기 디스플레이를 제어하며,
상기 외부 전자 장치에 대한 항목이 선택된 경우, 상기 적어도 하나의 파일을 다운로드하기 위한 링크 정보를 생성하며, 상기 통신 회로를 통해서 메시징 어플리케이션을 이용하여 상기 링크 정보를 포함하는 메시지를 상기 외부 전자 장치로 전송하도록 구성된, 전자 장치.In an electronic device,
display;
a communication circuit for performing communication with an external device; and
a processor operatively coupled with the display and the communication circuitry;
The processor is
Attempts to transmit at least one file through device-to-device (D2D) communication to an external electronic device using the communication circuit,
When the transmission of the at least one file through the device-to-device communication fails, the display is controlled to display a device list including an item indicating that transmission of the at least one file to the external electronic device has failed,
When an item for the external electronic device is selected, link information for downloading the at least one file is generated, and a message including the link information is transmitted to the external electronic device using a messaging application through the communication circuit. An electronic device configured to do so.
상기 프로세서는,
상기 외부 전자 장치의 식별 정보를 이용하여 상기 외부 전자 장치가 연락처 데이터베이스에 등록된 장치인지 여부를 판단하고,
상기 외부 전자 장치가 연락처 데이터베이스에 등록된 장치인 경우에 상기 기기 목록에 상기 외부 전자 장치에 대한 항목을 포함하여 상기 디스플레이를 통해서 출력하도록 구성된, 전자 장치.20. The method of claim 19,
The processor is
determining whether the external electronic device is a device registered in a contact database using the identification information of the external electronic device;
and an item for the external electronic device included in the device list and output through the display when the external electronic device is a device registered in a contact database.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020200096410A KR20220015846A (en) | 2020-07-31 | 2020-07-31 | Electronic apparatus for sharing file and file sharing method thereof |
PCT/KR2021/006586 WO2022025403A1 (en) | 2020-07-31 | 2021-05-27 | Electronic device for sharing file and file sharing method therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020200096410A KR20220015846A (en) | 2020-07-31 | 2020-07-31 | Electronic apparatus for sharing file and file sharing method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20220015846A true KR20220015846A (en) | 2022-02-08 |
Family
ID=80036506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020200096410A KR20220015846A (en) | 2020-07-31 | 2020-07-31 | Electronic apparatus for sharing file and file sharing method thereof |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR20220015846A (en) |
WO (1) | WO2022025403A1 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100435501B1 (en) * | 2001-08-29 | 2004-06-10 | 주식회사 지구넷 | Method and system for transferring large quantity data |
KR20020077321A (en) * | 2002-09-13 | 2002-10-11 | 주식회사 에이전트리더 | How to ensure reliable delivery of large files attached to emails |
KR20040015784A (en) * | 2004-02-02 | 2004-02-19 | 장중혁 | File Transfer System with Instant Messenger including file transfer function, and File Tranfer Method by the system |
KR20090048795A (en) * | 2007-11-12 | 2009-05-15 | 삼성전자주식회사 | File transmission system and file management method thereof |
WO2012070865A2 (en) * | 2010-11-26 | 2012-05-31 | 주식회사 프로덕트에셋컨설팅 | Information-sharing system and method |
-
2020
- 2020-07-31 KR KR1020200096410A patent/KR20220015846A/en unknown
-
2021
- 2021-05-27 WO PCT/KR2021/006586 patent/WO2022025403A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2022025403A1 (en) | 2022-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230161673A1 (en) | Method for restoring backup data and electronic device therefor | |
KR20220057719A (en) | Electronic device using carrier network and method for operating thereof | |
KR20220015846A (en) | Electronic apparatus for sharing file and file sharing method thereof | |
KR20230023176A (en) | Electronic device for interworking with wearable device and operating method thereof | |
US20230007088A1 (en) | Network connection method and electronic device supporting same | |
KR20230037304A (en) | Electronic device for providing seamless user experience and operating method thereof | |
KR20230014479A (en) | Method of displaying integrated screen and electronic device supporting the same | |
KR20230051018A (en) | Electronic device and method for generating additional information of file in the electronic device | |
KR20240052572A (en) | Method of providing shared folder and electronic device therefor | |
KR20220015815A (en) | Electronic device providing data movement service and method thereof | |
KR20240068495A (en) | Method for setting device and electronic device supporting the same | |
KR20220043741A (en) | Electronic device for synchronizing call waiting operation in network environment and method thereof | |
KR20220130914A (en) | electronic device and method for receiving email of the same | |
KR20240014409A (en) | Method for performing operation related to notification and electronic device supporting the same | |
KR20230019632A (en) | Method and apparatus for applying theme to a pluarity of electronic device | |
KR20220138981A (en) | An electronic device providing customized group service and control method thereof | |
KR20230046172A (en) | Method and electronic device for utilizing data of external electronic device | |
KR20240050220A (en) | Electronic device for sharing screen with external device and method for controlling the same | |
KR20230154724A (en) | Split screenshot creation method and electronic device thereof | |
KR20240047866A (en) | Wearable device, method, and non-transitory computer readable storage medium sharing file | |
KR20230011795A (en) | Electronic device displaying widget and method for controlling the same | |
KR20220109093A (en) | Electronic device and method for controlling thereof | |
KR20220135383A (en) | Electronic device and method of operation thereof | |
KR20220102090A (en) | Electronic device including a camera and method of operating the same | |
KR20240039547A (en) | Apparatus and method for providing customized software |