[go: up one dir, main page]

KR102679418B1 - Electronic device for improving quality of call and method for the same - Google Patents

Electronic device for improving quality of call and method for the same Download PDF

Info

Publication number
KR102679418B1
KR102679418B1 KR1020200017249A KR20200017249A KR102679418B1 KR 102679418 B1 KR102679418 B1 KR 102679418B1 KR 1020200017249 A KR1020200017249 A KR 1020200017249A KR 20200017249 A KR20200017249 A KR 20200017249A KR 102679418 B1 KR102679418 B1 KR 102679418B1
Authority
KR
South Korea
Prior art keywords
electronic device
call
call connection
external electronic
metadata
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
KR1020200017249A
Other languages
Korean (ko)
Other versions
KR20210040764A (en
Inventor
이훈재
김용태
김정용
조현명
도태원
전혜영
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to PCT/KR2020/012809 priority Critical patent/WO2021066377A1/en
Priority to US17/034,468 priority patent/US11095851B2/en
Priority to CN202011046834.8A priority patent/CN112615807B/en
Priority to EP20199908.3A priority patent/EP3800859B1/en
Publication of KR20210040764A publication Critical patent/KR20210040764A/en
Application granted granted Critical
Publication of KR102679418B1 publication Critical patent/KR102679418B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/02Transmitters
    • H04B1/04Circuits
    • H04B1/0475Circuits with means for limiting noise, interference or distortion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

다양한 실시예에 따른 전자 장치 및 전자 장치의 동작 방법에서, 전자 장치는 외부 전자 장치와 호 연결을 통해 수립(establish)된 호(call) 채널을 이용하여 데이터를 전송하거나, 수신하는 통신 모듈; 및 프로세서를 포함하고, 상기 프로세서는 외부 전자 장치와 상기 전자 장치 간 호 채널 수립을 위한 호 연결 요청 메시지를 전송하고, 상기 외부 전자 장치로부터 응답 메시지를 수신하고, 상기 응답 메시지에 포함된 상기 호 연결과 관련된 상기 외부 전자 장치의 성능 정보(capability information)에 기반하여 상기 호 연결을 통해 전송되는 컨텐츠의 품질을 변경하는 전송 필터를 이용한 상기 컨텐츠의 전처리 동작을 수행할지 여부를 결정하고, 상기 컨텐츠의 전처리 동작의 수행 여부를 지시하는 호 연결 확정 메시지를 상기 외부 전자 장치로 전송하고, 상기 호 채널 수립을 완료하도록 상기 통신 모듈을 제어하고, 상기 연결 요청 메시지는 상기 필터와 관련된 상기 전자 장치의 성능 정보를 포함할 수 있다.
이 밖에 다양한 실시예들이 가능하다.
In an electronic device and a method of operating the electronic device according to various embodiments, the electronic device includes a communication module that transmits or receives data using a call channel established through a call connection with an external electronic device; and a processor, wherein the processor transmits a call connection request message for establishing a call channel between an external electronic device and the electronic device, receives a response message from the external electronic device, and connects the call included in the response message. Determining whether to perform a pre-processing operation of the content using a transmission filter that changes the quality of the content transmitted through the call connection based on capability information of the external electronic device related to the content, and pre-processing the content A call connection confirmation message indicating whether to perform an operation is transmitted to the external electronic device, the communication module is controlled to complete the call channel establishment, and the connection request message includes performance information of the electronic device related to the filter. It can be included.
In addition, various embodiments are possible.

Description

통화의 품질을 향상시키는 전자 장치 및 전자 장치의 동작 방법{ELECTRONIC DEVICE FOR IMPROVING QUALITY OF CALL AND METHOD FOR THE SAME}Electronic devices and methods of operating electronic devices that improve the quality of calls {ELECTRONIC DEVICE FOR IMPROVING QUALITY OF CALL AND METHOD FOR THE SAME}

본 발명의 다양한 실시예는, 전자 장치 및 전자 장치의 동작 방법에 관한 것이다. Various embodiments of the present invention relate to electronic devices and methods of operating the electronic devices.

스마트 폰(smart phone), 태블릿 PC(tablet PC), PMP(portable multimedia player), PDA(personal digital assistant), 랩탑 PC(laptop personal computer) 및 웨어러블 기기(wearable device) 등의 다양한 전자 장치들이 보급되고 있다.Various electronic devices such as smart phones, tablet PCs, portable multimedia players (PMPs), personal digital assistants (PDAs), laptop personal computers, and wearable devices are becoming popular. there is.

최근의 전자 장치는 IMS(IP multimedia subsystem) 또는 RCS(rich communication suite) 기반으로 음성 통화 또는 영상 통화를 제공할 수 있다. 고품질의 음성 또는 영상을 제공하면서도, 전송 또는 수신되는 음성 데이터 또는 영상 데이터의 크기를 감소시키기 위해서 음성 데이터 또는 영상 데이터에 대한 처리가 수행될 수 있다. 음성 데이터 또는 영상 데이터에 대한 처리는 크게 두 단계로 구현될 수 있다. 마이크를 이용해 생성한 음성 로우(raw) 데이터 또는 카메라를 이용해 생성한 영상 로우 데이터에 대한 처리 단계로써, 필터를 이용하여 품질의 저하를 최소화하면서, 데이터의 크기를 감소시키는 처리 단계와 음성 데이터 또는 영상 데이터에 대한 압축을 수행하면서, 데이터의 크기를 감소시키는 처리 단계가 존재할 수 있다.Recent electronic devices can provide voice calls or video calls based on IMS (IP multimedia subsystem) or RCS (rich communication suite). Processing may be performed on the audio or video data to reduce the size of the transmitted or received audio or video data while providing high quality audio or video. Processing of audio data or video data can be largely implemented in two steps. A processing step for audio raw data generated using a microphone or video raw data generated using a camera. A processing step that reduces the size of the data while minimizing quality degradation using a filter and audio data or video While performing compression on the data, there may be processing steps that reduce the size of the data.

호 연결이 수행될 때, 송수신되는 데이터에 대한 환경 설정을 위해 전자 장치간 SDP(session description protocol) 기반 협상 과정이 수행될 수 있으며, 협상 과정에서 전자 장치들간 지원할 수 있는 음성 데이터 또는 영상 데이터에 대한 압축 포맷, 음성 데이터의 샘플링 레이트 또는 영상 데이터의 해상도 정보가 교환될 수 있다.When a call connection is performed, a negotiation process based on SDP (session description protocol) may be performed between electronic devices to set the environment for data to be transmitted and received, and during the negotiation process, voice data or video data that can be supported between electronic devices may be negotiated. Compression format, sampling rate of audio data, or resolution information of video data may be exchanged.

송수신되는 음성 데이터 또는 영상 데이터의 품질 향상을 위해서, 음성 데이터 또는 영상 데이터가 부호화되기 이전, 필터를 이용한 음성 데이터 또는 영상 데이터에 대한 전처리 동작을 수행할 수 있다. 최근에는 인공 지능(artificial intelligence), 기계 학습(machine learning) 또는 딥 러닝(deep learning)과 관련된 기술의 발전, 신경망 처리 장치(neural processing unit)의 등장으로 인해, 필터를 이용한 음성 데이터 또는 영상 데이터의 품질 향상이 연구되고 있다.In order to improve the quality of transmitted and received voice data or video data, a preprocessing operation may be performed on the voice data or video data using a filter before the voice data or video data is encoded. Recently, due to the development of technologies related to artificial intelligence, machine learning, or deep learning, and the emergence of neural processing units, the processing of voice data or video data using filters has increased. Quality improvement is being studied.

호 연결이 수행될 때 이루어지는 SDP 기반 협상 과정에서, 송수신되는 데이터에는 필터에 대한 정보가 포함되어 있지 않을 수 있다. 따라서, 전자 장치는 호 연결의 상대방인 외부 전자 장치가 어떤 필터를 이용하여 음성 데이터 또는 영상 데이터에 대한 전처리 동작을 수행하는지 알 수 없으며, 필터를 이용한 음성 또는 영상 품질의 향상을 위한 동작을 빠르게 수행하지 못할 수 있다. In the SDP-based negotiation process that occurs when a call connection is performed, the transmitted and received data may not include information about the filter. Therefore, the electronic device cannot know which filter the external electronic device on the other end of the call connection is using to preprocess the voice data or video data, and quickly performs operations to improve voice or video quality using the filter. You may not be able to do it.

또는, 호 연결 이후, 필터에 대한 정보가 교환되는 상황에서는, 필터의 활성화로 인한 전자 장치의 부품들의 설정이 변경되면서, 통화가 일시적으로 중단될 수 있다.Alternatively, in a situation where information about a filter is exchanged after a call connection, the call may be temporarily interrupted as the settings of components of the electronic device are changed due to activation of the filter.

본 발명의 다양한 실시예에 따른 전자 장치는 외부 전자 장치와 호 연결을 통해 수립(establish)된 호(call) 채널을 이용하여 데이터를 전송하거나, 수신하는 통신 모듈; 및 프로세서를 포함하고, 상기 프로세서는 외부 전자 장치와 상기 전자 장치 간 호 채널 수립을 위한 호 연결 요청 메시지를 전송하고, 상기 외부 전자 장치로부터 응답 메시지를 수신하고, 상기 응답 메시지에 포함된 상기 호 연결과 관련된 상기 외부 전자 장치의 성능 정보(capability information)에 기반하여 상기 호 연결을 통해 전송되는 컨텐츠의 품질을 변경하는 전송 필터를 이용한 상기 컨텐츠의 전처리 동작을 수행할지 여부를 결정하고, 상기 컨텐츠의 전처리 동작의 수행 여부를 지시하는 호 연결 확정 메시지를 상기 외부 전자 장치로 전송하고, 상기 호 채널 수립을 완료하도록 상기 통신 모듈을 제어하고, 상기 연결 요청 메시지는 상기 필터와 관련된 상기 전자 장치의 성능 정보를 포함할 수 있다.An electronic device according to various embodiments of the present invention includes a communication module that transmits or receives data using a call channel established through a call connection with an external electronic device; and a processor, wherein the processor transmits a call connection request message for establishing a call channel between an external electronic device and the electronic device, receives a response message from the external electronic device, and connects the call included in the response message. Determining whether to perform a pre-processing operation of the content using a transmission filter that changes the quality of the content transmitted through the call connection based on capability information of the external electronic device related to the content, and pre-processing the content A call connection confirmation message indicating whether to perform an operation is transmitted to the external electronic device, the communication module is controlled to complete the call channel establishment, and the connection request message includes performance information of the electronic device related to the filter. It can be included.

본 발명의 다양한 실시예에 따른 전자 장치는 외부 전자 장치와 통화 연결을 통해 수립(establish)된 호(call) 채널을 이용하여 데이터를 전송하거나, 수신하는 통신 모듈, 및 프로세서를 포함하고, 상기 프로세서는 외부 전자 장치와 상기 전자 장치 간 호 채널 수립을 위한 호 연결 요청 메시지를 수신하고, 상기 호 연결을 통해 수신되는 컨텐츠를 전처리하는 수신 필터와 관련된 상기 전자 장치의 성능 정보를 포함하는 응답 메시지를 상기 외부 전자 장치로 전송하고, 상기 수신 필터에 대응하는 전송 필터를 이용한 상기 컨텐츠의 전처리 동작의 수행 여부를 지시하는 인디케이터가 포함된 호 연결 확정 메시지를 상기 외부 전자 장치로부터 수신하고, 상기 인디케이터에 기반하여 상기 수신 필터를 활성화하는 동작을 수행하도록 설정될 수 있다.An electronic device according to various embodiments of the present invention includes a communication module for transmitting or receiving data using a call channel established through a call connection with an external electronic device, and a processor, the processor Receives a call connection request message for establishing a call channel between an external electronic device and the electronic device, and sends a response message containing performance information of the electronic device related to a reception filter for preprocessing content received through the call connection. Transmit to an external electronic device, receive a call connection confirmation message from the external electronic device including an indicator indicating whether to perform a pre-processing operation of the content using a transmission filter corresponding to the reception filter, and based on the indicator, It may be set to perform an operation of activating the reception filter.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 외부 전자 장치와 상기 전자 장치 간 호 채널 수립을 위한 호 연결 요청 메시지를 전송하는 동작; 상기 외부 전자 장치로부터 응답 메시지를 수신하는 동작, 상기 응답 메시지에 포함된 상기 호 연결과 관련된 상기 외부 전자 장치의 성능 정보(capability information)에 기반하여 상기 호 연결을 통해 전송되는 컨텐츠의 품질을 변경하는 전송 필터를 이용한 상기 컨텐츠의 전처리 동작을 수행할지 여부를 결정하는 동작, 상기 컨텐츠의 전처리 동작의 수행 여부를 지시하는 호 연결 확정 메시지를 상기 외부 전자 장치로 전송하는 동작 및 상기 호 채널 수립을 완료하는 동작을 포함하고, 상기 호 연결 요청 메시지는 상기 전송 필터와 관련된 상기 전자 장치의 성능 정보를 포함할 수 있다.A method of operating an electronic device according to various embodiments of the present invention includes transmitting a call connection request message to establish a call channel between an external electronic device and the electronic device; Receiving a response message from the external electronic device, changing the quality of content transmitted through the call connection based on capability information of the external electronic device related to the call connection included in the response message. An operation of determining whether to perform a pre-processing operation of the content using a transmission filter, an operation of transmitting a call connection confirmation message indicating whether to perform a pre-processing operation of the content to the external electronic device, and completing the establishment of the call channel. It includes an operation, and the call connection request message may include performance information of the electronic device related to the transmission filter.

본 발명의 다양한 실시예에 따른 전자 장치 및 전자 장치의 동작 방법은 호 연결시 이루어지는 협상 과정에서, 필터를 이용한 음성 데이터 또는 영상 데이터의 처리를 지시하는 정보가 포함된 호 연결 요청 메시지 또는 응답 메시지를 전송 또는 수신할 수 있어, 외부 전자 장치가 이용하는 필터를 확인할 수 있다. 따라서, 외부 전자 장치가 이용하는 필터에 대응하는 필터를 이용하여 고 품질의 음성 데이터 또는 영상 데이터를 획득할 수 있다.Electronic devices and operating methods of electronic devices according to various embodiments of the present invention include sending a call connection request message or response message containing information instructing processing of voice data or video data using a filter during the negotiation process when connecting a call. It can transmit or receive, allowing you to check the filter used by an external electronic device. Accordingly, high quality voice data or video data can be obtained by using a filter corresponding to the filter used by the external electronic device.

본 발명의 다양한 실시예에 따른 전자 장치 및 전자 장치의 동작 방법은 호 연결시 이루어지는 협상 과정에서, 필터를 이용한 음성 데이터 또는 영상 데이터의 처리를 지시하는 정보가 포함된 호 연결 요청 메시지 또는 응답 메시지를 전송 또는 수신할 수 있어, 호 연결 완료 이전에 필터 및 관련 구성 요소들을 활성화시킬 수 있다. 따라서, 호 연결이 완료된 후, 필터가 활성화됨으로써, 발생할 수 있는 호 채널의 품질 저하를 방지하고, 호 채널을 통한 통화의 품질을 향상시킬 수 있다.Electronic devices and operating methods of electronic devices according to various embodiments of the present invention include sending a call connection request message or response message containing information instructing processing of voice data or video data using a filter during the negotiation process when connecting a call. It can transmit or receive, enabling filters and related components to be activated before the call connection is complete. Accordingly, after the call connection is completed, the filter is activated, thereby preventing possible degradation of the quality of the call channel and improving the quality of the call through the call channel.

본 발명의 다양한 실시예에 따른 전자 장치 및 전자 장치의 동작 방법은 호 연결시 이루어지는 협상 과정에서, 메타 데이터에 기반한 영상 통화의 지원 여부, 메타 데이터에 기반한 영상 통화에 사용될 모델 정보 또는 메타 데이터를 생성하는데 이용하는 표준 정보를 교환할 수 있어, 호 연결 완료 이전에 메타 데이터에 기반한 영상 통화를 지원하는 구성 요소들을 활성화시킬 수 있다. 따라서, 상대적으로 빠른 시간 내에 영상 통화 모드로 진입이 가능할 수 있다.Electronic devices and operating methods of electronic devices according to various embodiments of the present invention include determining whether to support video calls based on metadata and generating model information or metadata to be used for video calls based on metadata in the negotiation process performed when connecting a call. By exchanging standard information used to make a call, components that support video calls based on metadata can be activated before the call connection is completed. Therefore, it may be possible to enter the video call mode in a relatively short period of time.

본 발명의 다양한 실시예에 따른 전자 장치 및 전자 장치의 동작 방법은 동영상 또는 이미지 스트림보다 낮은 크기를 갖는 메타 데이터를 이용한 영상 통화를 지원할 수 있어, 동영상 또는 이미지 스트림을 교환하는 일반적인 영상 통화보다 작은 네트워크 대역폭을 이용한 영상 통화를 구현할 수 있다.Electronic devices and operating methods of electronic devices according to various embodiments of the present invention can support video calls using metadata that has a size lower than that of video or image streams, so that a network smaller than a typical video call that exchanges video or image streams Video calls using bandwidth can be implemented.

도 1은 본 발명의 다양한 실시예에 따른, 전자 장치의 블록도이다.
도 2는 다양한 실시예에 따른 프로그램의 블록도이다.
도 3a 및 도 3b는 본 발명의 다양한 실시예에 따른, 제 1 전자 장치 및 제 2 전자 장치가 음성 또는 영상 컨텐츠를 전송하거나, 수신하는 실시예에 대한 블록도이다.
도 4a는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.
도 4b는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.
도 5는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다
도 6은 본 발명의 다양한 실시예에 따른 제 1 전자 장치 및 제 2 전자 장치가 호 연결을 수행하는 동작을 도시한 동작 흐름도이다.
도 7은 본 발명의 다양한 실시예에 따른 제 1 전자 장치 및 제 2 전자 장치에서, 컨텐츠 전송 또는 수신에 대한 설정을 수행하는 스크린을 도시한 도면이다.
도 8은 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.
도 9는 본 발명의 다른 실시예에 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.
도 10a는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.
도 10b는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.
도 11a는 본 발명의 다양한 실시예에 따른 전자 장치에서, 획득한 이미지에서 메타 데이터를 추출하는 실시예를 도시한 도면이다.
도 11b는 본 발명의 다양한 실시예에 따른 전자 장치에서, 모델 및 메타 데이터에 기반하여 이미지를 렌더링하는 실시예를 도시한 도면이다.
도 12는 본 발명의 다양한 실시예에 따른 제 1 전자 장치 및 제 2 전자 장치가 호 연결을 수행하는 동작을 도시한 동작 흐름도이다.
도 13은 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.
도 14는 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.
1 is a block diagram of an electronic device according to various embodiments of the present invention.
Figure 2 is a block diagram of a program according to various embodiments.
3A and 3B are block diagrams of an example in which a first electronic device and a second electronic device transmit or receive audio or video content, according to various embodiments of the present invention.
4A is a block diagram of an electronic device according to various embodiments of the present invention.
Figure 4B is a block diagram of an electronic device according to various embodiments of the present invention.
5 is a block diagram of an electronic device according to various embodiments of the present invention.
FIG. 6 is an operation flowchart illustrating an operation in which a first electronic device and a second electronic device perform a call connection according to various embodiments of the present invention.
FIG. 7 is a diagram illustrating a screen for performing settings for content transmission or reception in a first electronic device and a second electronic device according to various embodiments of the present invention.
Figure 8 is an operational flowchart illustrating a method of operating an electronic device according to various embodiments of the present invention.
Figure 9 is an operation flowchart showing a method of operating an electronic device according to another embodiment of the present invention.
10A is a block diagram of an electronic device according to various embodiments of the present invention.
10B is a block diagram of an electronic device according to various embodiments of the present invention.
FIG. 11A is a diagram illustrating an example of extracting metadata from an acquired image in an electronic device according to various embodiments of the present invention.
FIG. 11B is a diagram illustrating an example of rendering an image based on a model and metadata in an electronic device according to various embodiments of the present invention.
FIG. 12 is an operation flowchart illustrating an operation in which a first electronic device and a second electronic device perform a call connection according to various embodiments of the present invention.
Figure 13 is an operation flowchart showing a method of operating an electronic device according to various embodiments of the present invention.
Figure 14 is an operation flowchart showing a method of operating an electronic device according to various embodiments of the present invention.

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블럭도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments. Referring to FIG. 1, in the network environment 100, the electronic device 101 communicates with the electronic device 102 through a first network 198 (e.g., a short-range wireless communication network) or a second network 199. It is possible to communicate with the electronic device 104 or the server 108 through (e.g., a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108. According to one embodiment, the electronic device 101 includes a processor 120, a memory 130, an input device 150, an audio output device 155, a display device 160, an audio module 170, and a sensor module ( 176), interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or antenna module 197 ) may include. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180) may be omitted, or one or more other components may be added to the electronic device 101. In some embodiments, some of these components may be implemented as a single integrated circuit. For example, the sensor module 176 (e.g., a fingerprint sensor, an iris sensor, or an illumination sensor) may be implemented while being embedded in the display device 160 (e.g., a display).

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)은 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (e.g., program 140) to configure at least one other component (e.g., hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and various data processing or operations can be performed. According to one embodiment, as at least part of data processing or computation, the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132. The commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134. According to one embodiment, the processor 120 includes a main processor 121 (e.g., a central processing unit or an application processor), and an auxiliary processor 123 that can operate independently or together (e.g., a graphics processing unit, an image signal processor). , sensor hub processor, or communication processor). Additionally or alternatively, the auxiliary processor 123 may be set to use less power than the main processor 121 or to specialize in a designated function. The auxiliary processor 123 may be implemented separately from the main processor 121 or as part of it.

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. The auxiliary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), along with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display device 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled. According to one embodiment, coprocessor 123 (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module 180 or communication module 190). there is.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101. Data may include, for example, input data or output data for software (e.g., program 140) and instructions related thereto. Memory 130 may include volatile memory 132 or non-volatile memory 134.

프로그램(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 application 146.

입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)은, 예를 들면, 마이크, 마우스, 키보드, 또는 디지털 펜(예:스타일러스 펜)을 포함할 수 있다. The input device 150 may receive commands or data to be used in a component of the electronic device 101 (e.g., the processor 120) from outside the electronic device 101 (e.g., a user). The input device 150 may include, for example, a microphone, mouse, keyboard, or digital pen (eg, stylus pen).

음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output device 155 may output sound signals to the outside of the electronic device 101. The sound output device 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다. The display device 160 can visually provide information to the outside of the electronic device 101 (eg, a user). The display device 160 may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling the device. According to one embodiment, the display device 160 may include touch circuitry configured to detect a touch, or a sensor circuit configured to measure the intensity of force generated by the touch (e.g., a pressure sensor). there is.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 장치(150) 를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102)) (예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다.The audio module 170 can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module 170 acquires sound through the input device 150, the sound output device 155, or an external electronic device (e.g., directly or wirelessly connected to the electronic device 101). Sound may be output through an electronic device 102 (e.g., speaker or headphone).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects the operating state (e.g., power or temperature) of the electronic device 101 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 includes, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, humidity sensor, or light sensor.

인터페이스(177)는 전자 장치(101)이 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that can be used to connect the electronic device 101 directly or wirelessly with an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)은, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 can capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(388)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 can manage power supplied to the electronic device 101. According to one embodiment, the power management module 388 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101. According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)으로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다. The communication module 190 provides a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (e.g., the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication through established communication channels. Communication module 190 operates independently of processor 120 (e.g., an application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., : LAN (local area network) communication module, or power line communication module) may be included. Among these communication modules, the corresponding communication module is a first network 198 (e.g., a short-range communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association)) or a second network 199 (e.g., a cellular network, the Internet, or It can communicate with external electronic devices through a computer network (e.g., a telecommunication network such as a LAN or WAN). These various types of communication modules may be integrated into one component (e.g., a single chip) or may be implemented as a plurality of separate components (e.g., multiple chips). The wireless communication module 192 uses subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199. The electronic device 101 can be confirmed and authenticated.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit or receive signals or power to or from the outside (e.g., an external electronic device). According to one embodiment, the antenna module may include one antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected to the plurality of antennas by, for example, the communication module 190. can be selected. Signals or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, RFIC) in addition to the radiator may be additionally formed as part of the antenna module 197.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( (e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, or 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다.. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. According to one embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199. Each of the electronic devices 102 and 104 may be the same or different type of device from the electronic device 101. According to one embodiment, all or part of the operations performed in the electronic device 101 may be executed in one or more of the external electronic devices 102, 104, or 108. For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 may perform the function or service instead of executing the function or service on its own. Alternatively, or additionally, one or more external electronic devices may be requested to perform at least part of the function or service. One or more external electronic devices that have received the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may process the result as is or additionally and provide it as at least part of a response to the request. For this purpose, for example, cloud computing, distributed computing, or client-server computing technology. This can be used.

도 2은 다양한 실시예에 따른 프로그램(140)을 예시하는 블록도(200)이다. 일실시예에 따르면, 프로그램(140)은 전자 장치(101)의 하나 이상의 리소스들을 제어하기 위한 운영 체제(142), 미들웨어(144), 또는 상기 운영 체제(142)에서 실행 가능한 어플리케이션(146)을 포함할 수 있다. 운영 체제(142)는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 프로그램(140) 중 적어도 일부 프로그램은, 예를 들면, 제조 시에 전자 장치(101)에 프리로드되거나, 또는 사용자에 의해 사용 시 외부 전자 장치(예: 전자 장치(102 또는 104), 또는 서버(108))로부터 다운로드되거나 갱신 될 수 있다.Figure 2 is a block diagram 200 illustrating program 140 according to various embodiments. According to one embodiment, the program 140 includes an operating system 142, middleware 144, or an application 146 executable on the operating system 142 for controlling one or more resources of the electronic device 101. It can be included. Operating system 142 may include, for example, Android TM , iOS TM , Windows TM , Symbian TM , Tizen TM , or Bada TM . At least some of the programs 140 are preloaded into the electronic device 101, for example, at the time of manufacture, or are stored in an external electronic device (e.g., the electronic device 102 or 104, or a server) when used by a user. It can be downloaded or updated from 108)).

운영 체제(142)는 전자 장치(101)의 하나 이상의 시스템 리소스들(예: 프로세스, 메모리, 또는 전원)의 관리(예: 할당 또는 회수)를 제어할 수 있다. 운영 체제(142)는, 추가적으로 또는 대체적으로, 전자 장치(101)의 다른 하드웨어 디바이스, 예를 들면, 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 구동하기 위한 하나 이상의 드라이버 프로그램들을 포함할 수 있다.The operating system 142 may control management (eg, allocation or retrieval) of one or more system resources (eg, process, memory, or power) of the electronic device 101 . Operating system 142 may additionally or alternatively operate on other hardware devices of electronic device 101, such as input device 150, audio output device 155, display device 160, audio module 170. , sensor module 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or It may include one or more driver programs for driving the antenna module 197.

미들웨어(144)는 전자 장치(101)의 하나 이상의 리소스들로부터 제공되는 기능 또는 정보가 어플리케이션(146)에 의해 사용될 수 있도록 다양한 기능들을 어플리케이션(146)으로 제공할 수 있다. 미들웨어(144)는, 예를 들면, 어플리케이션 매니저(201), 윈도우 매니저(203), 멀티미디어 매니저(205), 리소스 매니저(207), 파워 매니저(209), 데이터베이스 매니저(211), 패키지 매니저(213), 커넥티비티 매니저(215), 노티피케이션 매니저(217), 로케이션 매니저(219), 그래픽 매니저(221), 시큐리티 매니저(223), 통화 매니저(225), 또는 음성 인식 매니저(227)를 포함할 수 있다. The middleware 144 may provide various functions to the application 146 so that functions or information provided from one or more resources of the electronic device 101 can be used by the application 146. The middleware 144 includes, for example, an application manager 201, a window manager 203, a multimedia manager 205, a resource manager 207, a power manager 209, a database manager 211, and a package manager 213. ), connectivity manager (215), notification manager (217), location manager (219), graphics manager (221), security manager (223), call manager (225), or voice recognition manager (227). You can.

어플리케이션 매니저(201)는, 예를 들면, 어플리케이션(146)의 생명 주기를 관리할 수 있다. 윈도우 매니저(203)는, 예를 들면, 화면에서 사용되는 하나 이상의 GUI 자원들을 관리할 수 있다. 멀티미디어 매니저(205)는, 예를 들면, 미디어 파일들의 재생에 필요한 하나 이상의 포맷들을 파악하고, 그 중 선택된 해당하는 포맷에 맞는 코덱을 이용하여 상기 미디어 파일들 중 해당하는 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(207)는, 예를 들면, 어플리케이션(146)의 소스 코드 또는 메모리(130)의 메모리의 공간을 관리할 수 있다. 파워 매니저(209)는, 예를 들면, 배터리(189)의 용량, 온도 또는 전원을 관리하고, 이 중 해당 정보를 이용하여 전자 장치(101)의 동작에 필요한 관련 정보를 결정 또는 제공할 수 있다. 일실시예에 따르면, 파워 매니저(209)는 전자 장치(101)의 바이오스(BIOS: basic input/output system)(미도시)와 연동할 수 있다.The application manager 201 may, for example, manage the life cycle of the application 146. The window manager 203 may, for example, manage one or more GUI resources used on the screen. For example, the multimedia manager 205 identifies one or more formats required for playing media files, and encodes or decodes the corresponding media file using a codec suitable for the selected format. It can be done. The resource manager 207 may, for example, manage the source code of the application 146 or the memory space of the memory 130. The power manager 209 manages, for example, the capacity, temperature, or power of the battery 189, and may use this information to determine or provide related information necessary for the operation of the electronic device 101. . According to one embodiment, the power manager 209 may interface with a basic input/output system (BIOS) (not shown) of the electronic device 101.

데이터베이스 매니저(211)는, 예를 들면, 어플리케이션(146)에 의해 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(213)는, 예를 들면, 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. 커넥티비티 매니저(215)는, 예를 들면, 전자 장치(101)와 외부 전자 장치 간의 무선 연결 또는 직접 연결을 관리할 수 있다. 노티피케이션 매니저(217)는, 예를 들면, 지정된 이벤트(예: 착신 통화, 메시지, 또는 알람)의 발생을 사용자에게 알리기 위한 기능을 제공할 수 있다. 로케이션 매니저(219)는, 예를 들면, 전자 장치(101)의 위치 정보를 관리할 수 있다. 그래픽 매니저(221)는, 예를 들면, 사용자에게 제공될 하나 이상의 그래픽 효과들 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. Database manager 211 may create, search, or change a database to be used by application 146, for example. The package manager 213 may, for example, manage the installation or update of applications distributed in the form of package files. The connectivity manager 215 may manage, for example, a wireless connection or direct connection between the electronic device 101 and an external electronic device. For example, the notification manager 217 may provide a function for notifying the user of the occurrence of a designated event (eg, an incoming call, message, or alarm). The location manager 219 may, for example, manage location information of the electronic device 101. The graphics manager 221 may, for example, manage one or more graphic effects to be provided to the user or a user interface related thereto.

시큐리티 매니저(223)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 통화(telephony) 매니저(225)는, 예를 들면, 전자 장치(101)에 의해 제공되는 음성 통화 기능 또는 영상 통화 기능을 관리할 수 있다. 음성 인식 매니저(227)는, 예를 들면, 사용자의 음성 데이터를 서버(108)로 전송하고, 그 음성 데이터에 적어도 일부 기반하여 전자 장치(101)에서 수행될 기능에 대응하는 명령어(command), 또는 그 음성 데이터에 적어도 일부 기반하여 변환된 문자 데이터를 서버(108)로부터 수신할 수 있다. 일 실시예에 따르면, 미들웨어(244)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. 일 실시예에 따르면, 미들웨어(144)의 적어도 일부는 운영 체제(142)의 일부로 포함되거나, 또는 운영 체제(142)와는 다른 별도의 소프트웨어로 구현될 수 있다.Security manager 223 may provide, for example, system security or user authentication. The telephony manager 225 may manage, for example, a voice call function or a video call function provided by the electronic device 101. For example, the voice recognition manager 227 transmits the user's voice data to the server 108 and provides a command corresponding to a function to be performed in the electronic device 101 based at least in part on the voice data, Alternatively, text data converted based at least in part on the voice data may be received from the server 108. According to one embodiment, the middleware 244 may dynamically delete some existing components or add new components. According to one embodiment, at least a portion of the middleware 144 may be included as part of the operating system 142 or may be implemented as separate software different from the operating system 142.

어플리케이션(146)은, 예를 들면, 홈(251), 다이얼러(253), SMS/MMS(255), IM(instant message)(257), 브라우저(259), 카메라(261), 알람(263), 컨택트(265), 음성 인식(267), 이메일(269), 달력(271), 미디어 플레이어(273), 앨범(275), 와치(277), 헬스(279)(예: 운동량 또는 혈당과 같은 생체 정보를 측정), 또는 환경 정보(281)(예: 기압, 습도, 또는 온도 정보 측정) 어플리케이션을 포함할 수 있다. 일실시예에 따르면, 어플리케이션(146)은 전자 장치(101)와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션(미도시)을 더 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치로 지정된 정보 (예: 통화, 메시지, 또는 알람)를 전달하도록 설정된 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하도록 설정된 장치 관리 어플리케이션을 포함할 수 있다. 노티피케이션 릴레이 어플리케이션은, 예를 들면, 전자 장치(101)의 다른 어플리케이션(예: 이메일 어플리케이션(269))에서 발생된 지정된 이벤트(예: 메일 수신)에 대응하는 알림 정보를 외부 전자 장치로 전달할 수 있다. 추가적으로 또는 대체적으로, 노티피케이션 릴레이 어플리케이션은 외부 전자 장치로부터 알림 정보를 수신하여 전자 장치(101)의 사용자에게 제공할 수 있다. The application 146 includes, for example, home 251, dialer 253, SMS/MMS (255), instant message (IM) 257, browser 259, camera 261, and alarm 263. , Contacts (265), Voice Recognition (267), Email (269), Calendar (271), Media Player (273), Album (275), Watch (277), Health (279) (such as exercise amount or blood sugar) It may include applications that measure biometric information) or environmental information 281 (e.g., measure atmospheric pressure, humidity, or temperature information). According to one embodiment, the application 146 may further include an information exchange application (not shown) that can support information exchange between the electronic device 101 and an external electronic device. The information exchange application may include, for example, a notification relay application configured to deliver designated information (e.g., calls, messages, or alarms) to an external electronic device, or a device management application configured to manage the external electronic device. there is. The notification relay application, for example, transmits notification information corresponding to a specified event (e.g., mail reception) generated in another application (e.g., email application 269) of the electronic device 101 to an external electronic device. You can. Additionally or alternatively, the notification relay application may receive notification information from an external electronic device and provide it to the user of the electronic device 101.

장치 관리 어플리케이션은, 예를 들면, 전자 장치(101)와 통신하는 외부 전자 장치 또는 그 일부 구성 요소(예: 표시 장치(160) 또는 카메라 모듈(180))의 전원(예: 턴-온 또는 턴-오프) 또는 기능(예: 표시 장치(160) 또는 카메라 모듈(180)의 밝기, 해상도, 또는 포커스)을 제어할 수 있다. 장치 관리 어플리케이션은, 추가적으로 또는 대체적으로, 외부 전자 장치에서 동작하는 어플리케이션의 설치, 삭제, 또는 갱신을 지원할 수 있다.The device management application may, for example, control the power (e.g., turn-on or turn-on) of an external electronic device or some component thereof (e.g., display device 160 or camera module 180) that communicates with the electronic device 101. -off) or functions (e.g., brightness, resolution, or focus of the display device 160 or the camera module 180) can be controlled. A device management application may additionally or alternatively support installation, deletion, or update of applications running on external electronic devices.

도 3a 및 도 3b는 본 발명의 다양한 실시예에 따른, 제 1 전자 장치 및 제 2 전자 장치가 음성 또는 영상 컨텐츠를 전송하거나, 수신하는 실시예에 대한 블록도이다.3A and 3B are block diagrams of an example in which a first electronic device and a second electronic device transmit or receive audio or video content, according to various embodiments of the present invention.

본 발명의 다양한 실시예에 따르면, 제 1 전자 장치(310)(예: 도 1의 전자 장치(101))와 제 2 전자 장치(320)(예: 도 1의 전자 장치(101))는 다양한 방식(예: IMS(IP multimedia subsystem) 또는 RCS(rich communication suite))에 기반한 음성 통화 또는 영상 통화를 수행할 수 있다. 설명의 편의를 위해서 제 1 전자 장치(310)는 발신 단말로, 제 2 전자 장치(320)는 수신 단말로 정의한다. 제 1 전자 장치(310) 및 제 2 전자 장치(320)는 호(call) 연결시 송수신되는 음성 데이터 또는 영상 데이터의 전송률(bitrate), 압축 포맷(codec) 또는 품질(예: 음성 데이터의 경우 샘플링 레이트, 영상 데이터의 경우 해상도를 포함하는 음성 데이터 또는 영상 데이터에 대한 품질을 대표하는 다양한 변수를 의미할 수 있다.)를 결정하기 위해서, 세션 기술 프로토콜(session description protocol, SDP)에 정의된 방식을 이용하여 상호 협상을 진행할 수 있다. 제 1 전자 장치(310) 및 제 2 전자 장치(320)는 상호 협상을 통해 전송할 음성 데이터 또는 영상 데이터의 특성을 결정하고, 결정된 특성을 이용하여 음성 데이터 또는 영상 데이터를 전송하거나, 수신할 수 있다. 제 1 전자 장치(310) 및 제 2 전자 장치(320) 간 호 연결을 위한 상호 협상 과정에 대한 구체적인 실시예는 도 4 및 도 5에서 후술한다.According to various embodiments of the present invention, the first electronic device 310 (e.g., the electronic device 101 of FIG. 1) and the second electronic device 320 (e.g., the electronic device 101 of FIG. 1) have various Voice or video calls can be made based on a method (e.g., IP multimedia subsystem (IMS) or rich communication suite (RCS)). For convenience of explanation, the first electronic device 310 is defined as a sending terminal, and the second electronic device 320 is defined as a receiving terminal. The first electronic device 310 and the second electronic device 320 determine the bitrate, compression format (codec), or quality (e.g., sampling in the case of voice data) of voice data or video data transmitted and received when a call is connected. In order to determine the rate (in the case of video data, it may mean various variables representing the quality of voice data or video data, including resolution), the method defined in the session description protocol (SDP) is used. You can use this to conduct mutual negotiations. The first electronic device 310 and the second electronic device 320 may determine characteristics of voice data or video data to be transmitted through mutual negotiation, and transmit or receive voice data or video data using the determined characteristics. . Specific embodiments of the mutual negotiation process for connection between the first electronic device 310 and the second electronic device 320 will be described later with reference to FIGS. 4 and 5.

도 3a는 제 1 전자 장치(310) 및 제 2 전자 장치(320) 간 음성 데이터를 처리하는 실시예를 도시한 도면이다. FIG. 3A is a diagram illustrating an embodiment of processing voice data between the first electronic device 310 and the second electronic device 320.

본 발명의 다양한 실시예에 따르면, 제 1 전자 장치(310)는 제 1 전자 장치(310)의 사용자의 음성을 수신하는 마이크(311)(예: 도 1의 입력 장치(150)), 전송 필터(313), 전송 필터(313)가 전송한 음성 데이터를 압축시키기 위해 음성 데이터에 대한 부호화를 수행하는 인코더(315) 및 부호화된 음성 데이터를 패킷 형태의 음성 패킷 데이터로 변환하는 패킷타이저(317)를 포함할 수 있다.According to various embodiments of the present invention, the first electronic device 310 includes a microphone 311 (e.g., input device 150 of FIG. 1) that receives the voice of the user of the first electronic device 310, and a transmission filter. (313), an encoder (315) that performs encoding on the voice data to compress the voice data transmitted by the transmission filter (313), and a packetizer (317) that converts the encoded voice data into voice packet data in the form of packets. ) may include.

본 발명의 다양한 실시예에 따르면, 전송 필터(313)는 마이크(311)가 전송한 사용자의 음성 데이터에 대한 필터링 동작을 수행하는 구성 요소일 수 있다. 전송 필터(313)는 마이크(311)가 생성한 음성 데이터가 인코더(315)에 입력되기 이전 전처리 동작(예: 필터링 동작)을 수행함으로써, 마이크(311)가 생성한 음성 데이터의 샘플링 레이트보다 낮은 샘플링 레이트를 갖는(예: 다운 스케일) 음성 데이터를 생성할 수 있다. 전송 필터(313)는 낮은 샘플링 레이트를 갖는 음성 데이터를 생성하고, 생성된 음성 데이터를 인코더(315)에 전송함으로써, 제 2 전자 장치(320)에 전송될 음성 데이터의 크기를 감소시킬 수 있다.According to various embodiments of the present invention, the transmission filter 313 may be a component that performs a filtering operation on the user's voice data transmitted by the microphone 311. The transmission filter 313 performs a preprocessing operation (e.g., filtering operation) before the voice data generated by the microphone 311 is input to the encoder 315, so that the sampling rate is lower than the sampling rate of the voice data generated by the microphone 311. Voice data with a sampling rate (e.g. downscaled) can be generated. The transmission filter 313 can generate voice data with a low sampling rate and transmit the generated voice data to the encoder 315, thereby reducing the size of voice data to be transmitted to the second electronic device 320.

본 발명의 다양한 실시예에 따르면, 전송 필터(313)는 다양한 알고리즘을 이용하여 구현될 수 있으며, 마이크(311)가 생성한 음성 컨텐츠의 품질을 최대한 유지하면서 상대적으로 낮은 샘플링 레이트를 갖는 음성 컨텐츠를 생성할 수 있다. According to various embodiments of the present invention, the transmission filter 313 may be implemented using various algorithms, and may maintain the quality of the voice content generated by the microphone 311 while maximizing the quality of the voice content with a relatively low sampling rate. can be created.

본 발명의 다양한 실시예에 따르면, 제 2 전자 장치(320)는 네트워크(330)를 통해 수신하는 음성 데이터 패킷을 부호화된 음성 데이터로 변환하는 디패킷타이저(321), 디패킷타이저(321)가 변환한 부호화된 음성 데이터를 복호화하는 디코더(323), 복호화된 음성 데이터의 샘플링 레이트를 변경시키는 수신 필터(325) 및 수신 필터에 의해 생성된 음성 데이터를 출력하는 스피커(327)(예: 도 1의 음성 출력 장치(155))를 포함할 수 있다.According to various embodiments of the present invention, the second electronic device 320 includes a depacketizer 321 and a depacketizer 321 that convert voice data packets received through the network 330 into encoded voice data. a decoder 323 that decodes the encoded voice data converted by ), a reception filter 325 that changes the sampling rate of the decoded voice data, and a speaker 327 that outputs the voice data generated by the reception filter (e.g. It may include the audio output device 155 of FIG. 1).

본 발명의 다양한 실시예에 따르면, 수신 필터(325)는 디코더(323)가 생성한 복호화된 음성 데이터에 대한 필터링 동작을 수행하는 구성 요소일 수 있다. 전송 필터(313)는 복호화된 음성 데이터에 대한 후처리 동작(예: 필터링 동작)을 수행함으로써, 복호화된 음성 데이터에 대응하는 샘플링 레이트보다 높은 샘플링 레이트를 갖는(업 스케일) 음성 데이터를 생성할 수 있다. 수신 필터(325)는 복호화된 음성 데이터에 대응하는 샘플링 레이트보다 높은 샘플링 레이트를 갖는 음성 컨텐츠를 생성하고, 생성된 음성 컨텐츠를 스피커(327) 에 전송할 수 있다.According to various embodiments of the present invention, the reception filter 325 may be a component that performs a filtering operation on the decoded voice data generated by the decoder 323. The transmission filter 313 can generate voice data having a higher sampling rate (upscale) than the sampling rate corresponding to the decrypted voice data by performing a post-processing operation (e.g., filtering operation) on the decrypted voice data. there is. The reception filter 325 may generate voice content having a higher sampling rate than the sampling rate corresponding to the decrypted voice data, and transmit the generated voice content to the speaker 327.

본 발명의 다양한 실시예에 따르면, 수신 필터(325)는 다양한 알고리즘을 이용하여 구현될 수 있으며, 마이크(311)가 생성한 음성 컨텐츠와 최대한 유사한 품질을 갖는 음성 컨텐츠를 생성할 수 있다. According to various embodiments of the present invention, the reception filter 325 can be implemented using various algorithms and can generate voice content with a quality as similar as possible to the voice content generated by the microphone 311.

본 발명의 다양한 실시예에 따르면, 전송 필터(313) 및 수신 필터(325)는 원본 영상의 품질을 최대한 유지할 수 있도록 학습된 필터로써, 전자 장치(101)의 신경망 처리 장치(neural processing unit)가 음성 데이터 또는 영상 데이터를 처리하는데 이용하는 필터일 수 있다.According to various embodiments of the present invention, the transmission filter 313 and the reception filter 325 are filters learned to maintain the quality of the original image as much as possible, and the neural processing unit of the electronic device 101 is It may be a filter used to process voice data or video data.

도 3b는 제 1 전자 장치(310) 및 제 2 전자 장치(320) 간 영상 데이터를 처리하는 실시예를 도시한 도면이다. FIG. 3B is a diagram illustrating an embodiment of processing image data between the first electronic device 310 and the second electronic device 320.

본 발명의 다양한 실시예에 따르면, 제 1 전자 장치(310)는 적어도 하나 이상의 정지 영상을 포함하는 영상 데이터를 촬영하는 카메라(341)(예: 도 1의 카메라 모듈(180)), 전송 필터(343), 전송 필터(343)가 전송한 영상 데이터를 압축시키기 위해 영상 데이터에 대한 부호화를 수행하는 인코더(345) 및 부호화된 영상 데이터를 패킷 형태의 영상 패킷 데이터로 변환하는 패킷타이저(347)를 포함할 수 있다.According to various embodiments of the present invention, the first electronic device 310 includes a camera 341 (e.g., the camera module 180 of FIG. 1) that captures image data including at least one still image, and a transmission filter ( 343), an encoder 345 that encodes the video data to compress the video data transmitted by the transmission filter 343, and a packetizer 347 that converts the encoded video data into video packet data in the form of packets. may include.

본 발명의 다양한 실시예에 따르면, 전송 필터(343)는 영상 데이터에 대한 필터링 동작을 수행하는 구성 요소일 수 있다. 전송 필터(343)는 카메라(341)가 생성한 영상 데이터가 인코더(345)에 입력되기 이전 전처리 동작(예: 필터링 동작)을 수행함으로써, 카메라(341)가 생성한 영상 데이터보다 낮은 해상도를 갖는(예: 다운 스케일) 영상 데이터를 생성할 수 있다. 전송 필터(343)는 상대적으로 낮은 해상도를 갖는 영상 데이터를 생성하고, 생성된 영상 데이터를 인코더(345)에 전송함으로써, 제 2 전자 장치(320)에 전송될 영상 데이터의 크기를 감소시킬 수 있다.According to various embodiments of the present invention, the transmission filter 343 may be a component that performs a filtering operation on image data. The transmission filter 343 performs a preprocessing operation (e.g., filtering operation) before the image data generated by the camera 341 is input to the encoder 345, thereby having a lower resolution than the image data generated by the camera 341. (e.g. downscale) image data can be generated. The transmission filter 343 generates image data with a relatively low resolution and transmits the generated image data to the encoder 345, thereby reducing the size of the image data to be transmitted to the second electronic device 320. .

본 발명의 다양한 실시예에 따르면, 전송 필터(343)는 다양한 알고리즘을 이용하여 구현될 수 있으며, 카메라(341)가 생성한 영상 데이터의 품질을 최대한 유지하면서 상대적으로 낮은 해상도를 갖는 영상 데이터를 생성할 수 있다. According to various embodiments of the present invention, the transmission filter 343 can be implemented using various algorithms and generates image data with relatively low resolution while maintaining the quality of the image data generated by the camera 341 as much as possible. can do.

본 발명의 다양한 실시예에 따르면, 제 2 전자 장치(320)는 네트워크(330)를 통해 수신하는 영상 데이터 패킷을 부호화된 영상 데이터로 변환하는 디패킷타이저(351), 디패킷타이저(351)가 변환한 부호화된 영상 데이터를 복호화하는 디코더(353), 복호화된 영상 데이터의 해상도를 변경시키는 수신 필터(355) 및 수신 필터(355)에 의해 생성된 영상 데이터를 출력하는 디스플레이(357)(예: 도 1의 표시 장치(160))를 포함할 수 있다.According to various embodiments of the present invention, the second electronic device 320 includes a depacketizer 351 and a depacketizer 351 that convert video data packets received through the network 330 into encoded video data. a decoder 353 that decodes the encoded video data converted by ), a reception filter 355 that changes the resolution of the decoded video data, and a display 357 that outputs the video data generated by the reception filter 355 ( Example: the display device 160 of FIG. 1) may be included.

본 발명의 다양한 실시예에 따르면, 수신 필터(355)는 디코더(353)가 생성한 복호화된 영상 데이터에 대한 필터링 동작을 수행하는 구성 요소일 수 있다. 수신 필터(355)는 복호화된 영상 데이터에 대한 후처리 동작(예: 필터링 동작)을 수행함으로써, 복호화된 영상 데이터의 해상도보다 높은 해상도를 갖는(예: 업 스케일) 영상 데이터를 생성할 수 있다. 수신 필터(355)는 상대적으로 높은 해상도를 갖는 영상 데이터를 디스플레이(357)에 전송할 수 있다.According to various embodiments of the present invention, the reception filter 355 may be a component that performs a filtering operation on the decoded video data generated by the decoder 353. The reception filter 355 may generate image data with a higher resolution (e.g., upscale) than the resolution of the decoded image data by performing a post-processing operation (e.g., filtering operation) on the decoded image data. The reception filter 355 can transmit image data with relatively high resolution to the display 357.

본 발명의 다양한 실시예에 따르면, 수신 필터(355)는 다양한 알고리즘을 이용하여 구현될 수 있으며, 카메라(341)가 생성한 영상 데이터와 최대한 유사한 품질을 갖는 영상 데이터를 생성할 수 있다. According to various embodiments of the present invention, the reception filter 355 can be implemented using various algorithms and can generate image data with a quality as similar as possible to the image data generated by the camera 341.

본 발명의 다양한 실시예에 따르면, 전송 필터(343) 및 수신 필터(355)는 원본 음성의 품질을 최대한 유지할 수 있도록 학습된 필터로써, 전자 장치(101)의 신경망 처리 장치(neural processing unit)가 음성 데이터 또는 영상 데이터를 처리하는데 이용하는 필터일 수 있다.According to various embodiments of the present invention, the transmission filter 343 and the reception filter 355 are filters learned to maintain the quality of the original voice as much as possible, and the neural processing unit of the electronic device 101 is It may be a filter used to process voice data or video data.

본 발명의 다양한 실시예에 따르면, 전송 필터(313, 343) 및 수신 필터(325, 355)는 서로 동일한 알고리즘을 이용하여 구현된 필터일 수 있으며, 하나의 쌍으로 음성 데이터 또는 영상 데이터에 대한 필터링을 수행할 수 있다. 전송 필터(313, 343) 및 수신 필터(325, 355)가 하나의 쌍으로 동작하는 것은, 동일한 알고리즘을 이용하여 구현된 필터들을 이용하여 음성 데이터 또는 영상 데이터에 대한 필터링을 수행하는 것을 의미할 수 있다. 제 1 전자 장치(310) 및 제 2 전자 장치(320)는 동일한 알고리즘을 이용하여 구현된 전송 필터(313, 343) 및 수신 필터(325, 355)를 이용해야만 제 2 전자 장치(320)가 제 1 전자 장치(310)가 생성한 컨텐츠(예: 음성 데이터 또는 영상 데이터)와 유사한 품질을 갖는 컨텐츠를 획득할 수 있다. According to various embodiments of the present invention, the transmission filters 313 and 343 and the reception filters 325 and 355 may be filters implemented using the same algorithm, and filter voice data or video data as a pair. can be performed. The fact that the transmission filters 313 and 343 and the reception filters 325 and 355 operate as a pair may mean filtering voice data or video data using filters implemented using the same algorithm. there is. The first electronic device 310 and the second electronic device 320 must use the transmission filters 313 and 343 and reception filters 325 and 355 implemented using the same algorithm, so that the second electronic device 320 can 1 Content with quality similar to that of content (e.g., voice data or video data) generated by the electronic device 310 can be obtained.

본 발명의 다양한 실시예에 따르면, 제 1 전자 장치(310) 및 제 2 전자 장치(320)는 전송 필터(313, 343) 및 수신 필터(325, 355)의 지원 여부에 대한 정보 또는 전송 필터(313, 343) 및 수신 필터(325, 355)의 정보를 호-연결 이전에 획득해야만, 호-연결 후 통화를 시작하기 전 컨텐츠의 전송 또는 수신에 대한 준비를 완료할 수 있다. 제 1 전자 장치(310) 및 제 2 전자 장치(320)가 호-연결 이후 전송 필터(313, 343) 및 수신 필터(325, 355)에 대한 정보를 획득하는 경우, 전송 필터(313, 343) 및 수신 필터(325, 355)를 이용한 통화를 수행하기 위해 하드웨어적으로 구현된 구성 요소들의 설정이 변경될 수 있으며, 통화 중 전자 장치(101)의 구성 요소들의 설정이 변경됨으로써, 통화 연결이 끊기는 현상이 발생할 수 있다.According to various embodiments of the present invention, the first electronic device 310 and the second electronic device 320 provide information about whether the transmission filters 313 and 343 and the reception filters 325 and 355 are supported, or transmission filter ( Only by obtaining the information of the reception filters 313 and 343 and the reception filters 325 and 355 before the call connection can the preparation for transmitting or receiving content be completed after the call connection and before starting the call. When the first electronic device 310 and the second electronic device 320 obtain information about the transmission filters 313 and 343 and the reception filters 325 and 355 after a call connection, the transmission filters 313 and 343 In order to perform a call using the reception filters 325 and 355, the settings of hardware-implemented components may be changed, and the settings of the components of the electronic device 101 may be changed during a call, thereby preventing the call connection from being disconnected. phenomenon may occur.

본 발명의 다양한 실시예에 따르면, 제 1 전자 장치(310) 및 제 2 전자 장치(320)에 포함된 다양한 구성 요소들(예: 전송 필터(313, 343), 인코더(315, 345), 패킷 타이저(317, 347), 디패킷 타이저(321, 351), 디코더(323, 3532) 및 수신 필터(325, 355))은 소프트웨어적 또는 하드웨어적(예를 들면, 회로 또는 칩으로 구현)으로 구현될 수 있다.According to various embodiments of the present invention, various components included in the first electronic device 310 and the second electronic device 320 (e.g., transmission filters 313 and 343, encoders 315 and 345, and packet Tizers (317, 347), depacketizers (321, 351), decoders (323, 3532), and reception filters (325, 355) are implemented in software or hardware (e.g., implemented in a circuit or chip). It can be implemented as:

이하에서는, 제 1 전자 장치(310) 및 제 2 전자 장치(320)는 전송 필터(313) 및 수신 필터(325)의 지원 여부에 대한 정보를 호-연결 전에 획득하는 구체적인 실시예에 대해서 서술한다.Below, a specific embodiment in which the first electronic device 310 and the second electronic device 320 obtain information about whether the transmission filter 313 and the reception filter 325 are supported before a call connection is described. .

도 4a는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.Figure 4A is a block diagram of an electronic device according to various embodiments of the present invention.

본 발명의 다양한 실시예에 따르면, 도 4a에 도시된 전자 장치(400)(예: 도 1의 전자 장치(101) 또는 도 3a 및 도 3b의 제 1 전자 장치(310))는 통신 모듈(410)(예: 도 1의 무선 통신 모듈(192)) 및 프로세서(420)(예: 도 1의 프로세서(120))를 포함할 수 있다. According to various embodiments of the present invention, the electronic device 400 shown in FIG. 4A (e.g., the electronic device 101 in FIG. 1 or the first electronic device 310 in FIGS. 3A and 3B) includes a communication module 410. ) (e.g., the wireless communication module 192 of FIG. 1) and a processor 420 (e.g., the processor 120 of FIG. 1).

본 발명의 다양한 실시예에 따르면, 통신 모듈(410)은 외부 전자 장치(예: 도 3a, 3b의 제 2 전자 장치(320))와 호 연결을 통해 수립된 통신 채널(예: 셀룰러 통신 채널)을 이용하여 음성 데이터 또는 영상 데이터를 전송할 수 있다.According to various embodiments of the present invention, the communication module 410 is a communication channel (e.g., cellular communication channel) established through a call connection with an external electronic device (e.g., the second electronic device 320 of FIGS. 3A and 3B). You can transmit voice data or video data using .

본 발명의 다양한 실시예에 따르면, 프로세서(420)는 외부 전자 장치와 전자 장치(400)간 호 연결시 송수신되는 데이터의 특성을 결정하기 위해서, 세션 기술 프로토콜에 정의된 방식을 이용하여 외부 전자 장치와 협상을 수행할 수 있다. According to various embodiments of the present invention, the processor 420 uses a method defined in the session technology protocol to determine the characteristics of data transmitted and received when making a call between the external electronic device and the electronic device 400. You can negotiate with.

이하에서는, 전자 장치(400)가 송신 단말(예: 도 3a의 제 1 전자 장치(310))에 해당하고, 외부 전자 장치가 제 2 전자 장치(예: 도 3a의 제 2 전자 장치(320))에 해당됨을 가정하고, 전송 필터(313) 및 수신 필터(325)의 지원 여부에 대한 정보를 호-연결 전에 획득하는 구체적인 실시예에 대해서 서술한다.Hereinafter, the electronic device 400 corresponds to the transmitting terminal (e.g., the first electronic device 310 in FIG. 3A), and the external electronic device corresponds to the second electronic device (e.g., the second electronic device 320 in FIG. 3A). ), and a specific embodiment in which information on whether the transmission filter 313 and the reception filter 325 are supported is obtained before call connection will be described.

본 발명의 다양한 실시예에 따르면, 프로세서(420)는 외부 전자 장치(320)로 외부 전자 장치(320)와 전자 장치(400)간 호 채널 수립을 위한 호 연결 요청 메시지를 전송하도록 통신 모듈(410)을 제어할 수 있다. 예를 들어, 호 연결 요청 메시지는 SDP에 정의된 SDP Invite 메시지 형식으로 구현될 수 있다.According to various embodiments of the present invention, the processor 420 uses the communication module 410 to transmit a call connection request message to the external electronic device 320 to establish a call channel between the external electronic device 320 and the electronic device 400. ) can be controlled. For example, the call connection request message can be implemented in the SDP Invite message format defined in SDP.

본 발명의 다양한 실시예에 따르면, 호 연결 요청 메시지는 전자 장치(400)가 전송할 수 있는 음성 데이터 또는 영상 데이터의 품질 정보를 포함할 수 있다. 예를 들면, 음성 데이터의 품질 정보는 마이크(예: 도 3a의 마이크(311))를 이용하여 생성할 수 있는 음성 데이터의 샘플링 레이트, 네트워크(예: 도 3a의 네트워크(320))를 통해 전송할 수 있는 음성 데이터의 샘플링 레이트 또는 외부 전자 장치가 수신할 수 있는 음성 데이터의 샘플링 레이트를 포함할 수 있다. 영상 데이터의 품질 정보는 카메라(예: 도 3b의 카메라(341))를 이용하여 생성할 수 있는 영상 데이터의 해상도, 네트워크(320)를 통해 전송할 수 있는 영상 데이터의 해상도 또는 외부 전자 장치가 수신할 수 있는 영상 데이터의 해상도를 포함할 수 있다.According to various embodiments of the present invention, the call connection request message may include quality information of voice data or video data that the electronic device 400 can transmit. For example, the quality information of voice data includes the sampling rate of voice data that can be generated using a microphone (e.g., microphone 311 in FIG. 3A) and transmitted through a network (e.g., network 320 in FIG. 3A). It may include a sampling rate of voice data that can be received or a sampling rate of voice data that an external electronic device can receive. The quality information of image data includes the resolution of image data that can be generated using a camera (e.g., camera 341 in FIG. 3B), the resolution of image data that can be transmitted through the network 320, or the resolution of image data that can be received by an external electronic device. The resolution of the video data may be included.

본 발명의 다양한 실시예에 따르면, 프로세서(420)는 호 연결 완료 이전, 외부 전자 장치(320)와 전송 필터(313, 343) 및 수신 필터(325, 355)의 지원 여부를 확인하기 위해서, 전송 필터(313, 343)에 대한 정보 및 전송 필터(313, 343)와 관련된 전자 장치(400)의 성능 정보가 포함된 호 연결 요청 메시지를 외부 전자 장치(320)로 전송할 수 있다.According to various embodiments of the present invention, the processor 420 performs a transmission function in order to check whether the external electronic device 320 and the transmission filters 313 and 343 and the reception filters 325 and 355 are supported before completing the call connection. A call connection request message containing information about the filters 313 and 343 and performance information of the electronic device 400 related to the transmission filters 313 and 343 may be transmitted to the external electronic device 320.

본 발명의 다양한 실시예에 따르면, 호 연결 메시지는 전송 필터(313, 343)의 식별 정보를 포함할 수 있다. 프로세서(420)는 전송 필터(313, 343)의 식별 정보를 호 연결 요청 메시지에 포함시킬 수 있다. 전송 필터(313, 343)의 식별 정보는 전송 필터(313, 343)의 모델 정보, 버전 정보, 전송 필터(313, 343)가 처리 가능한 음성 데이터의 최대 샘플링 레이트 또는 영상 데이터의 최대 해상도에 대한 정보를 포함하는 성능 정보(capability information) 중 적어도 하나를 포함할 수 있다.According to various embodiments of the present invention, the call connection message may include identification information of the transmission filters 313 and 343. The processor 420 may include identification information of the transmission filters 313 and 343 in the call connection request message. The identification information of the transmission filters 313 and 343 includes model information and version information of the transmission filters 313 and 343, and information about the maximum sampling rate of voice data or the maximum resolution of video data that the transmission filters 313 and 343 can process. It may include at least one of capability information including.

본 발명의 다양한 실시예에 따르면, 호 연결 요청 메시지는 전송 필터(313, 343)와 관련된 전자 장치(400)의 성능 정보를 포함할 수 있다. 프로세서(420)는 전송 필터(313, 343)와 관련된 전자 장치(400)의 성능 정보를 호 연결 요청 메시지에 포함시킬 수 있다. 전송 필터(313, 343)와 관련된 전자 장치(400)의 성능 정보는 전송 필터(313, 343)를 사용하여 음성 데이터 또는 영상 데이터에 대한 전처리가 가능한지 여부를 지시하는 정보를 포함할 수 있다. 예를 들면, 프로세서(420)는 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터의 전처리 프로세싱을 지원할 수 있음을 지시하는 인디케이터를 호 연결 요청 메시지에 포함시킬 수 있다. 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터의 전처리 프로세싱은 전자 장치(400)가 구비하는 신경망 처리 프로세서(NPU)가 처리할 수 있도록 구현된 전송 필터(예: 도 3a의 전송 필터(313) 또는 도 3b의 전송 필터(343))를 이용하여 음성 데이터 또는 영상 데이터를 인코딩하기 전 전처리 동작을 의미할 수 있다.According to various embodiments of the present invention, the call connection request message may include performance information of the electronic device 400 related to the transmission filters 313 and 343. The processor 420 may include performance information of the electronic device 400 related to the transmission filters 313 and 343 in the call connection request message. Performance information of the electronic device 400 related to the transmission filters 313 and 343 may include information indicating whether preprocessing of voice data or video data is possible using the transmission filters 313 and 343. For example, the processor 420 may include an indicator indicating that it can support pre-processing of voice data or video data using a specific algorithm in the call connection request message. Pre-processing of voice data or video data using a specific algorithm is performed using a transmission filter (e.g., the transmission filter 313 in FIG. 3A or FIG. 3B) implemented to be processed by a neural network processor (NPU) provided in the electronic device 400. This may refer to a pre-processing operation before encoding voice data or video data using the transmission filter 343).

본 발명의 다양한 실시예에 따르면, 전송 필터(313, 343)와 관련된 전자 장치(400)의 성능 정보는 전자 장치(400)가 전송 필터(313, 343)를 이용하여 음성 데이터 또는 영상 데이터에 대한 전처리를 수행할 수 있는 구성 요소(예: 중앙 처리 장치(CPU), 그래픽 처리 장치(GPU) 또는 신경망 처리 장치(NPU))를 구비하고 있는지 여부를 지시하는 정보를 포함할 수 있다. 예를 들면, 호 연결 요청 메시지는 전송 필터(313, 343)를 이용한 음성 데이터 또는 영상 데이터에 대한 전처리를 수행할 수 있는 신경망 처리 장치를 포함함을 지시하는 인디케이터를 포함할 수 있다. 호 연결 요청 메시지는 전송 필터(313, 343)를 이용하여 음성 데이터 또는 영상 데이터에 대한 전처리를 수행할 수 있는 구성 요소에 대한 정보를 포함할 수 있다. 예를 들면, 음성 데이터 또는 영상 데이터에 대한 전처리를 수행할 수 있는 구성 요소에 대한 정보는 음성 데이터 또는 영상 데이터에 대한 전처리를 수행할 수 있는 구성 요소의 성능, 식별 정보를 포함할 수 있다.According to various embodiments of the present invention, the performance information of the electronic device 400 related to the transmission filters 313 and 343 is obtained by the electronic device 400 using the transmission filters 313 and 343 for voice data or video data. It may include information indicating whether it is equipped with a component that can perform preprocessing (e.g., a central processing unit (CPU), graphics processing unit (GPU), or neural network processing unit (NPU)). For example, the call connection request message may include an indicator indicating that it includes a neural network processing device capable of performing preprocessing on voice data or video data using the transmission filters 313 and 343. The call connection request message may include information about components that can perform preprocessing on voice data or video data using the transmission filters 313 and 343. For example, information about components that can perform preprocessing on audio data or video data may include performance and identification information of the components that can perform preprocessing on audio data or video data.

본 발명의 다양한 실시예에 따르면, 프로세서(420)는 전송 필터(313, 343)와 관련된 전자 장치의 성능 정보를 포함하는 호 연결 요청 메시지를 외부 전자 장치(320)로 전송할 수 있다. 프로세서(420)는 호 연결 요청 메시지에 대응하는 응답 메시지를 외부 전자 장치(320)로부터 수신할 수 있다. 예를 들어, 응답 메시지는 SDP 프로토콜에 정의된 SDP 200 OK 메시지 형식으로 구현될 수 있다.According to various embodiments of the present invention, the processor 420 may transmit a call connection request message including performance information of the electronic device related to the transmission filters 313 and 343 to the external electronic device 320. The processor 420 may receive a response message corresponding to the call connection request message from the external electronic device 320. For example, the response message may be implemented in the SDP 200 OK message format defined in the SDP protocol.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(320)가 전송하는 응 답 메시지는 호 연결과 관련된 외부 전자 장치(320)의 성능 정보를 포함할 수 있다. 외부 전자 장치(320)는 호 연결 요청 메시지에 포함된 전자 장치(400)의 성능 정보에 기반하여 전자 장치(400)가 지원할 수 있는 데이터 전송 방식(예: 음성 데이터의 샘플링 방식, 샘플링 레이트 또는 영상 데이터의 압축 포맷, 해상도 중 외부 전자 장치(320)가 지원 가능한 데이터 전송 방식을 선택할 수 있다. 외부 전자 장치(320)의 성능 정보는 외부 전자 장치(320)가 선택한 데이터 전송 방식에 대한 정보를 포함할 수 있다.According to various embodiments of the present invention, the response message transmitted by the external electronic device 320 may include performance information of the external electronic device 320 related to the call connection. The external electronic device 320 selects a data transmission method (e.g., sampling method, sampling rate, or video of voice data) that the electronic device 400 can support based on the performance information of the electronic device 400 included in the call connection request message. The performance information of the external electronic device 320 may select a data transmission method supported by the external electronic device 320 among the data compression format and resolution. can do.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(320)의 성능 정보는 전자 장치(400)가 지원하는 음성 데이터 또는 영상 데이터의 전처리 프로세싱에 의해 생성된 전처리된 음성 데이터 또는 전처리된 영상 데이터를 처리할 수 있는 구성 요소들(예: 소프트웨어적으로 구현된 구성 요소들(도 3a의 수신 필터(325), 도 3b의 수신 필터(355)) 또는 하드웨어적으로 구현된 구성 요소들(예: 신경망 처리 유닛))에 대한 정보를 포함할 수 있다.According to various embodiments of the present invention, the performance information of the external electronic device 320 is processed through pre-processed voice data or pre-processed video data generated by pre-processing of voice data or video data supported by the electronic device 400. Components that can do this (e.g., components implemented in software (reception filter 325 in FIG. 3A, reception filter 355 in FIG. 3B)) or components implemented in hardware (e.g., neural network processing) may include information about the unit)).

본 발명의 다양한 실시예에 따르면, 프로세서(420)는 응답 메시지에 포함된 외부 전자 장치(320)의 성능 정보에 기반하여 전송 필터(313, 343)를 사용할지 여부를 결정할 수 있다. 프로세서(420)는 전송 필터(313, 343)를 사용하여 전송할 데이터에 대한 전처리 동작을 수행할 수 있다.According to various embodiments of the present invention, the processor 420 may determine whether to use the transmission filters 313 and 343 based on performance information of the external electronic device 320 included in the response message. The processor 420 may perform a preprocessing operation on data to be transmitted using the transmission filters 313 and 343.

본 발명의 다양한 실시예에 따르면, 프로세서(420)는 전송 필터(313, 343)의 사용 여부를 지시하는 인디케이터를 포함하는 호 연결 확정 메시지를 외부 전자 장치(320)로 전송할 수 있다. According to various embodiments of the present invention, the processor 420 may transmit a call connection confirmation message including an indicator indicating whether to use the transmission filters 313 and 343 to the external electronic device 320.

본 발명의 다양한 실시예에 따르면, 호 연결 확정 메시지는 응답 메시지에 포함된 음성 데이터 또는 영상 데이터의 전송 방식을 이용하여 호 연결을 수행하는 것을 지시하는 메시지일 수 있다.According to various embodiments of the present invention, the call connection confirmation message may be a message instructing to perform a call connection using a transmission method of voice data or video data included in the response message.

본 발명의 다양한 실시예에 따르면, 전자 장치(400)는 호 연결 확정 메시지를 수신한 외부 전자 장치(320)와 호 연결을 위한 다양한 동작들(예: 음성 데이터를 생성하기 위해 마이크(311)를 활성화하는 동작, 영상 데이터를 생성하기 위해 카메라(341)를 활성화하는 동작, 전송 필터(313, 343)를 이용한 음성 데이터 또는 영상 데이터에 대한 전처리를 수행하는 구성 요소(예: NPU)를 활성화시키는 동작 또는 호 채널 수립을 위한 데이터를 전송하거나, 수신하도록 통신 모듈(410)을 제어하는 동작)을 수행할 수 있다.According to various embodiments of the present invention, the electronic device 400 performs various operations (e.g., using the microphone 311 to generate voice data) for call connection with the external electronic device 320 that has received the call connection confirmation message. An operation of activating, an operation of activating the camera 341 to generate image data, an operation of activating a component (e.g., NPU) that performs preprocessing on audio data or image data using the transmission filters 313 and 343. Alternatively, an operation of controlling the communication module 410 to transmit or receive data for establishing a call channel may be performed.

본 발명의 다양한 실시예에 따르면, 프로세서(420)는 호 연결 요청 메시지 내에 전송 필터(313, 343)와 관련된 전자 장치(400)의 성능 정보를 포함시킴으로써, 외부 전자 장치(320)와 호 연결이 완료되기 이전, 전송 필터(313, 343)를 활성화시킬 수 있다. 따라서, 호 연결이 완료된 후, 전송 필터(313, 343)가 활성화됨으로써 발생할 수 있는 호 채널의 품질 저하를 방지하거나, 호 채널을 이용한 통화의 품질을 향상시킬 수 있다.According to various embodiments of the present invention, the processor 420 establishes a call connection with the external electronic device 320 by including performance information of the electronic device 400 related to the transmission filters 313 and 343 in the call connection request message. Before completion, the transmission filters 313 and 343 can be activated. Accordingly, after the call connection is completed, it is possible to prevent deterioration in the quality of the call channel that may occur when the transmission filters 313 and 343 are activated, or to improve the quality of a call using the call channel.

도 4b는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다. Figure 4B is a block diagram of an electronic device according to various embodiments of the present invention.

도 4b를 참조하면, 본 발명의 다양한 실시예에 따른 전자 장치(400)는 호 연결을 수행 또는 관리하는 호 연결 관리 유닛(430), 음성 데이터를 전송하기 위한 처리 동작 또는 수신한 음성 데이터를 처리하는 동작을 수행하는 음성 데이터 처리 유닛(440) 및 영상 데이터를 전송하기 위한 처리 동작 또는 수신한 영상 데이터를 처리하는 동작을 수행하는 영상 데이터 처리 유닛(450), 메모리(예: 도 1의 메모리(130))(461), 카메라(예: 도 1의 카메라 모듈(180))(462), 마이크(예: 도 1의 입력 장치(150))(463), 디스플레이(예: 도 1의 표시 장치(160))(464), 스피커(예: 도 1의 음향 출력 장치(155))(465) 및 신경망 처리 프로세서(neural processing unit)(466)를 포함할 수 있다.Referring to FIG. 4B, the electronic device 400 according to various embodiments of the present invention includes a call connection management unit 430 that performs or manages a call connection, a processing operation for transmitting voice data, or processing received voice data. an audio data processing unit 440 that performs an operation to transmit image data or an image data processing unit 450 that performs an operation to process received image data, and a memory (e.g., the memory of FIG. 1 ( 130)) 461, a camera (e.g., the camera module 180 of FIG. 1) 462, a microphone (e.g., the input device 150 of FIG. 1) 463, a display (e.g., the display device of FIG. 1) It may include (160)) (464), a speaker (e.g., the sound output device 155 of FIG. 1) (465), and a neural processing unit (neural processing unit) (466).

본 발명의 다양한 실시예에 따르면, 호 연결 관리 유닛(430)은 호 연결을 수행하는 동안 외부 전자 장치(예: 도 3a, 도 3b의 제 2 전자 장치(320))로부터 수신하는 메시지를 파싱(parsing)하는 SDP 파서(parser)(431), 호 연결을 수행하기 위해 외부 전자 장치(320)로 전송하는 메시지를 생성하는 SDP 라이터(writer)(432), 통화 세션에 대한 연결 또는 종료를 관리하는 통화 세션 관리부(433) 및 외부 전자 장치(320)로부터 수신한 응답 메시지에 포함된 외부 전자 장치(320)의 성능 정보에 기반하여 특정 필터를 이용한 데이터 처리를 수행할지 여부를 결정하는 미디어 프로세싱 결정부(434)를 포함할 수 있다.According to various embodiments of the present invention, the call connection management unit 430 parses a message received from an external electronic device (e.g., the second electronic device 320 of FIGS. 3A and 3B) while performing a call connection ( An SDP parser 431 that parses, an SDP writer 432 that generates a message to be transmitted to an external electronic device 320 to perform a call connection, and a SDP writer 432 that manages connection or termination of a call session. A media processing decision unit that determines whether to perform data processing using a specific filter based on the performance information of the external electronic device 320 included in the response message received from the call session management unit 433 and the external electronic device 320. It may include (434).

본 발명의 다양한 실시예에 따르면, 음성 데이터를 전송하는 관점에서의 음성 데이터 처리 유닛(440)은 마이크(463)을 이용하여 음성 데이터를 획득하는 음성 획득부(441), 음성 데이터에 대한 필터링 동작을 수행하는 구성 요소인 음성 전송 필터(예: 도 3a의 전송 필터(313))(442), 전송 필터(442)가 전송한 음성 데이터를 압축시키기 위해 음성 데이터에 대한 부호화를 수행하는 음성 인코더(예; 도 3a의 인코더(315))(443) 및 부호화된 음성 데이터를 패킷 형태의 음성 패킷 데이터로 변환하는 패킷타이저(예: 도 3a의 패킷 타이저(317))(444)를 포함할 수 있다.According to various embodiments of the present invention, the voice data processing unit 440 from the viewpoint of transmitting voice data includes a voice acquisition unit 441 that acquires voice data using a microphone 463, and a filtering operation for voice data. A voice transmission filter (e.g., the transmission filter 313 in FIG. 3A) 442, which is a component that performs a voice encoder ( Example; it may include an encoder 315 in FIG. 3A) 443 and a packetizer (e.g. packetizer 317 in FIG. 3A) 444 that converts the encoded voice data into voice packet data in packet form. You can.

본 발명의 다양한 실시예에 따르면, 음성 데이터를 수신하는 관점에서의 음성 데이터 처리 유닛(440)은 외부 전자 장치(320)로부터 수신한 음성 패킷 데이터를 부호화된 음성 데이터로 변환하는 디패킷타이저(예: 도 3a의 디패킷 타이저(321))(445), 부호화된 음성 데이터를 복호화하는 음성 디코더(예: 도 3a의 디코더(323))(446), 복호화된 음성 데이터의 샘플링 레이트를 변경시키는 음성 수신 필터(예: 도 3a의 수신 필터(325))(447) 및 스피커(465)를 통해 음성을 출력하는 음성 출력부(448)을 포함할 수 있다.According to various embodiments of the present invention, in terms of receiving voice data, the voice data processing unit 440 includes a depacketizer that converts voice packet data received from the external electronic device 320 into encoded voice data. Example: Depacketizer 321) 445 in FIG. 3A, voice decoder for decoding encoded voice data (e.g. decoder 323 in FIG. 3A) 446, changing the sampling rate of decoded voice data. The command may include a voice reception filter (e.g., reception filter 325 in FIG. 3A) 447 and a voice output unit 448 that outputs voice through a speaker 465.

본 발명의 다양한 실시예에 따르면, 영상 데이터를 전송하는 관점에서의 영상 데이터 처리 유닛(450)은 카메라(462)가 촬영한 영상을 획득하는 영상 획득부(451), 영상 데이터에 대한 필터링 동작을 수행하는 구성 요소인 음성 전송 필터(예: 도 3b의 전송 필터(343))(452), 영상 데이터를 압축시키기 위해 영상 데이터에 대한 부호화를 수행하는 영상 인코더(예: 도 3b의 인코더(345))(453) 및 부호화된 영상 데이터를 패킷 형태의 영상 패킷 데이터로 변환하는 패킷타이저(예: 도 3b의 패킷 타이저(347))(454)를 포함할 수 있다.According to various embodiments of the present invention, the image data processing unit 450 from the viewpoint of transmitting image data includes an image acquisition unit 451 that acquires an image captured by the camera 462 and a filtering operation on the image data. Components that perform the audio transmission filter (e.g., the transmission filter 343 in FIG. 3B) 452, and a video encoder that performs encoding on video data to compress the video data (e.g., the encoder 345 in FIG. 3B) ) 453 and a packetizer (e.g., packetizer 347 in FIG. 3B) 454 that converts the encoded video data into video packet data in the form of packets.

본 발명의 다양한 실시예에 따르면, 영상 데이터를 수신하는 관점에서의 영상 데이터 처리 유닛(450)은 외부 전자 장치(320)로부터 수신한 영상 데이터 패킷을 부호화된 영상 데이터로 변환하는 디패킷타이저(예: 도 3b의 디패킷타이저(351))(455), 디패킷타이저(455)가 변환한 부호화된 영상 데이터를 복호화하는 영상 디코더(예: 도 3b의 디코더(353))(456), 복호화된 영상 데이터의 해상도를 변경시키는 영상 수신 필터(예: 도 3b의 수신 필터(355))(457) 및 수신 필터(457)에 의해 생성된 영상 데이터를 디스플레이(464)를 통해 출력하는 영상 출력부(458)를 포함할 수 있다.According to various embodiments of the present invention, the image data processing unit 450 from the viewpoint of receiving image data includes a depacketizer (depacketizer) that converts the image data packet received from the external electronic device 320 into encoded image data. Example: Depacketizer 351) 455 in FIG. 3B, video decoder (e.g. decoder 353 in FIG. 3B) 456 that decodes the encoded video data converted by the depacketizer 455. , an image reception filter that changes the resolution of the decoded image data (e.g., the reception filter 355 in FIG. 3B) 457, and an image that outputs the image data generated by the reception filter 457 through the display 464. It may include an output unit 458.

본 발명의 다양한 실시예에 따르면, SDP 라이터(432)는 통화 세션 관리부(433)의 제어에 기반하여 호 연결 요청 메시지를 생성하고, 통신 모듈(410)을 통해 외부 전자 장치(320)로 호 연결 요청 메시지를 전송할 수 있다. 예를 들어, 호 연결 요청 메시지는 SDP에 정의된 SDP Invite 메시지 형식으로 구현될 수 있다.According to various embodiments of the present invention, the SDP writer 432 generates a call connection request message based on the control of the call session manager 433 and connects the call to the external electronic device 320 through the communication module 410. A request message can be sent. For example, the call connection request message can be implemented in the SDP Invite message format defined in SDP.

본 발명의 다양한 실시예에 따르면, 호 연결 메시지는 음성 전송 필터(442) 및 영상 전송 필터(452)에 대한 정보, 특정 알고리즘(예: NPU를 이용한 전처리 알고리즘)을 이용한 음성 데이터 또는 영상 데이터의 전처리 프로세싱을 지원할 수 있는지 여부를 지시하는 인디케이터, 음성 전송 필터(442) 및 영상 전송 필터(452)와 관련된 전자 장치(400)의 성능 정보가 포함될 수 있다.According to various embodiments of the present invention, the call connection message includes information about the voice transmission filter 442 and the video transmission filter 452, and preprocessing of voice data or video data using a specific algorithm (e.g., preprocessing algorithm using NPU). An indicator indicating whether processing can be supported and performance information of the electronic device 400 related to the voice transmission filter 442 and the video transmission filter 452 may be included.

본 발명의 다양한 실시예에 따르면, SDP 파서(431)는 통신 모듈(410)을 통해 수신한 응답 메시지를 파싱할 수 있다. 응답 메시지는 외부 전자 장치(320)의 음성 수신 필터(예: 도 3a의 수신 필터(325)) 및 영상 수신 필터(예: 도 3b의 수신 필터(355)) 와 관련된 외부 전자 장치(320)의 성능 정보를 포함할 수 있다. 예를 들면, 응답 메시지는 포함된 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터에 대한 전처리 동작에 대응하는 후처리 동작을 지원할 수 있는지 여부를 지시하는 인디케이터, 외부 전자 장치(500)가 음성 수신 필터(325) 및 영상 수신 필터(355)를 이용하여 음성 데이터 또는 영상 데이터에 대한 후처리를 수행할 수 있는 구성 요소(예: 중앙 처리 장치(CPU), 그래픽 처리 장치(GPU) 또는 신경망 처리 장치(NPU))를 구비하고 있는지 여부를 지시하는 인디케이터를 포함할 수 있다.According to various embodiments of the present invention, the SDP parser 431 may parse the response message received through the communication module 410. The response message is related to the voice reception filter (e.g., reception filter 325 in FIG. 3A) and the video reception filter (e.g., reception filter 355 in FIG. 3B) of the external electronic device 320. May contain performance information. For example, the response message includes an indicator indicating whether a post-processing operation corresponding to a pre-processing operation for voice data or video data using a specific algorithm can be supported, and an indicator indicating whether the external electronic device 500 can support the voice reception filter 325. ) and a component that can perform post-processing on audio data or video data using the video reception filter 355 (e.g., central processing unit (CPU), graphics processing unit (GPU), or neural network processing unit (NPU) ) may include an indicator indicating whether it is provided.

본 발명의 다양한 실시예에 따르면, SDP 파서(431)가 응답 메시지에 대한 파싱을 통해 추출한 외부 전자 장치(320)의 성능 정보는 통화 세션 관리부(433)를 통해 미디어 프로세싱 결정부(434)로 전송될 수 있다.According to various embodiments of the present invention, the performance information of the external electronic device 320 extracted by the SDP parser 431 through parsing of the response message is transmitted to the media processing decision unit 434 through the call session management unit 433. It can be.

본 발명의 다양한 실시예에 따르면, 미디어 프로세싱 결정부(434)는 외부 전자 장치(320)의 성능 정보에 기반하여 음성 전송 필터(442)를 이용한 음성 데이터의 전처리 동작 또는 영상 전송 필터(452)를 이용한 영상 데이터의 전처리 동작을 수행할지 여부를 결정할 수 있다. According to various embodiments of the present invention, the media processing decision unit 434 performs a pre-processing operation of voice data using the voice transmission filter 442 or the video transmission filter 452 based on the performance information of the external electronic device 320. It is possible to decide whether to perform a preprocessing operation on the used image data.

본 발명의 다양한 실시예에 따르면, 미디어 프로세싱 결정부(434)는 응답 메시지에 포함된 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터의 후 처리 동작을 지원하는지 여부를 지시하는 인디케이터를 확인하고, 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터의 전처리 동작을 수행할 것을 결정할 수 있다. According to various embodiments of the present invention, the media processing decision unit 434 checks an indicator indicating whether a post-processing operation of voice data or video data using a specific algorithm included in the response message is supported, and uses a specific algorithm. It may be decided to perform a preprocessing operation on the used audio data or video data.

본 발명의 다양한 실시예에 따르면, 미디어 프로세싱 결정부(434)는 외부 전자 장치(320)의 성능 정보를 확인하고, 외부 전자 장치(320)가 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터의 전처리 동작을 지원할 것으로 결정할 수 있다. According to various embodiments of the present invention, the media processing decision unit 434 checks performance information of the external electronic device 320 and performs a preprocessing operation of audio data or video data by the external electronic device 320 using a specific algorithm. You can decide to support it.

본 발명의 다양한 실시예에 따르면, 미디어 프로세싱 결정부(434)는 음성 데이터 또는 영상 데이터의 전치리 동작을 수행할 것으로 결정함에 대응하여, 음성 전송 필터(442), 영상 전송 필터(452) 및 음성 전송 필터(442) 및 영상 전송 필터(452)를 이용한 음성 데이터 또는 영상 데이터의 전처리 동작을 수행하는 구성 요소(예: NPU(466))를 활성화시킬 수 있다.According to various embodiments of the present invention, the media processing decision unit 434, in response to determining to perform a preprocessing operation of audio data or video data, transmits the audio transmission filter 442, the video transmission filter 452, and the audio A component (eg, NPU 466) that performs preprocessing of audio data or video data using the transmission filter 442 and the video transmission filter 452 may be activated.

본 발명의 다양한 실시예에 따르면, 통화 세션 관리부(433)는 음성 전송 필터(442) 또는 영상 전송 필터(452)를 사용 여부를 지시하는 호 연결 확정 메시지를 통신 모듈(410)을 통해 외부 전자 장치(320)로 전송할 수 있다.According to various embodiments of the present invention, the call session management unit 433 sends a call connection confirmation message indicating whether to use the voice transmission filter 442 or the video transmission filter 452 to the external electronic device through the communication module 410. It can be sent to (320).

이하에서는, 전자 장치(400)가 수신 단말(예: 도 3a의 제 2 전자 장치(320))에 해당하는 경우, 전송 필터(313) 및 수신 필터(325)의 지원 여부에 대한 정보를 호-연결 전에 획득하는 실시예에 대해서 서술한다.Hereinafter, when the electronic device 400 corresponds to a receiving terminal (e.g., the second electronic device 320 in FIG. 3A), information on whether the transmission filter 313 and the reception filter 325 are supported is provided. An embodiment of acquisition before connection will be described.

본 발명의 다양한 실시예에 따르면, 전자 장치(400)의 프로세서(420) 상에 구현된 구성 요소들은 소프트웨어적으로 구현된 구성 요소들일 수 있으나, 일부 구성 요소들은 설계 방식에 따라 하드웨어적으로 구현될 수도 있다.According to various embodiments of the present invention, components implemented on the processor 420 of the electronic device 400 may be components implemented in software, but some components may be implemented in hardware depending on the design method. It may be possible.

도 5는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.5 is a block diagram of an electronic device according to various embodiments of the present invention.

본 발명의 다양한 실시예에 따르면, 도 5에 도시된 전자 장치(500)(예: 도 1의 전자 장치(101) 또는 도 3a 및 도 3b의 제 2 전자 장치(320))는 통신 모듈(510)(예: 도 1의 무선 통신 모듈(192)) 및 프로세서(520)(예: 도 1의 프로세서(120))를 포함할 수 있다. According to various embodiments of the present invention, the electronic device 500 shown in FIG. 5 (e.g., the electronic device 101 in FIG. 1 or the second electronic device 320 in FIGS. 3A and 3B) includes a communication module 510. ) (e.g., the wireless communication module 192 of FIG. 1) and a processor 520 (e.g., the processor 120 of FIG. 1).

본 발명의 다양한 실시예에 따르면, 통신 모듈(510)은 외부 전자 장치(예: 도 3a, 3b의 제 1 전자 장치(310))와 호 연결을 통해 수립된 통신 채널(예: 셀룰러 통신 채널)을 이용하여 음성 데이터 또는 영상 데이터를 전송할 수 있다.According to various embodiments of the present invention, the communication module 510 is a communication channel (e.g., cellular communication channel) established through a call connection with an external electronic device (e.g., the first electronic device 310 of FIGS. 3A and 3B). You can transmit voice data or video data using .

본 발명의 다양한 실시예에 따르면, 프로세서(520)는 외부 전자 장치(310)와 전자 장치(500)간 호 연결시 송수신되는 데이터의 특성을 결정하기 위해서, 세션 기술 프로토콜에 정의된 방식을 이용하여 외부 전자 장치와 협상을 수행할 수 있다. According to various embodiments of the present invention, the processor 520 uses a method defined in the session description protocol to determine the characteristics of data transmitted and received when making a call between the external electronic device 310 and the electronic device 500. Negotiation can be performed with external electronic devices.

본 발명의 다양한 실시예에 따르면, 프로세서(520)는 외부 전자 장치(310)로부터 외부 전자 장치(310)와 전자 장치(500)간 호 채널 수립을 위한 호 연결 요청 메시지를 수신할 수 있다. 예를 들어, 호 연결 요청 메시지는 SDP에 정의된 SDP Invite 메시지 형식으로 구현될 수 있다.According to various embodiments of the present invention, the processor 520 may receive a call connection request message from the external electronic device 310 to establish a call channel between the external electronic device 310 and the electronic device 500. For example, the call connection request message can be implemented in the SDP Invite message format defined in SDP.

본 발명의 다양한 실시예에 따르면, 호 연결 요청 메시지는 도 4에서 서술한 호 연결 요청 메시지와 동일한 메시지일 수 있다. 도 4에서 서술한 바와 같이, 호 연결 요청 메시지는 외부 전자 장치(310)가 전송할 수 있는 음성 데이터 또는 영상 데이터의 품질 정보, 외부 전자 장치(310)의 전송 필터(313, 343)의 모델 정보, 버전 정보, 전송 필터(313, 343)의 성능 정보 중 적어도 하나를 포함하는 전송 필터(313, 343)의 식별 정보 및 전송 필터(313, 343)와 관련된 외부 전자 장치(310)의 성능 정보를 포함할 수 있다.According to various embodiments of the present invention, the call connection request message may be the same message as the call connection request message described in FIG. 4. As described in FIG. 4, the call connection request message includes quality information of voice data or video data that can be transmitted by the external electronic device 310, model information of the transmission filters 313 and 343 of the external electronic device 310, Version information, identification information of the transmission filters 313 and 343, including at least one of performance information of the transmission filters 313 and 343, and performance information of the external electronic device 310 related to the transmission filters 313 and 343. can do.

본 발명의 다양한 실시예에 따르면, 프로세서(520)는 호 연결 요청 메시지의 수신에 대응하여, 호 연결 요청 메시지에 포함된 외부 전자 장치(310)의 성능 정보를 확인할 수 있다. 외부 전자 장치(310)의 성능 정보는 외부 전자 장치(310)에 구현된 전송 필터(예: 도 3a의 전송 필터(313) 또는 도 3b의 전송 필터(343))를 사용한 음성 데이터 또는 영상 데이터의 전 처리 수행 가능 여부를 지시하는 정보를 포함할 수 있다. According to various embodiments of the present invention, the processor 520 may check the performance information of the external electronic device 310 included in the call connection request message in response to receiving the call connection request message. The performance information of the external electronic device 310 is information on voice data or video data using a transmission filter (e.g., the transmission filter 313 in FIG. 3A or the transmission filter 343 in FIG. 3B) implemented in the external electronic device 310. It may include information indicating whether preprocessing can be performed.

본 발명의 다양한 실시예에 따르면, 프로세서(520)는 호 연결 요청 메시지에 포함된 전송 필터(313, 343)를 사용하여 음성 데이터 또는 영상 데이터에 대한 전처리가 가능한지 여부를 지시하는 정보에 기반하여 전송 필터(313, 343)에 대응하는 수신 필터(325, 355)를 사용하여 음성 데이터 또는 영상 데이터에 대한 후처리가 가능한지 여부를 판단할 수 있다. 프로세서(520)는 호 연결 요청 메시지에 포함된 전송 필터(313, 343)에 대한 정보를 확인하고, 프로세서(520) 상에 구현된 전송 필터(313, 343)에 대응하는 수신 필터(325, 355)가 존재하는지 여부를 확인하고, 프로세서(520)는 전송 필터(313, 343)에 대응하는 수신 필터(325, 355)가 존재함을 확인함에 대응하여, 수신 필터(325, 355)를 사용하여 음성 데이터 또는 영상 데이터에 대한 후처리가 가능한지 여부를 판단할 수 있다. According to various embodiments of the present invention, the processor 520 transmits based on information indicating whether preprocessing of voice data or video data is possible using the transmission filters 313 and 343 included in the call connection request message. It is possible to determine whether post-processing of voice data or video data is possible using the reception filters 325 and 355 corresponding to the filters 313 and 343. The processor 520 checks information about the transmission filters 313 and 343 included in the call connection request message and receives the reception filters 325 and 355 corresponding to the transmission filters 313 and 343 implemented on the processor 520. ) is present, and the processor 520 uses the receive filters 325 and 355 in response to confirming that the receive filters 325 and 355 corresponding to the transmit filters 313 and 343 exist. It is possible to determine whether post-processing is possible for audio data or video data.

본 발명의 다양한 실시예에 따르면, 프로세서(520)는 호 연결 요청 메시지에 포함된 외부 전자 장치(310)의 성능 정보에 기반하여 외부 전자 장치(310)가 지원할 수 있는 데이터 전송 방식(예: 음성 데이터의 샘플링 방식, 샘플링 레이트 또는 영상 데이터의 압축 포맷, 해상도 중 전자 장치(500)가 지원 가능한 데이터 전송 방식을 선택할 수 있다. According to various embodiments of the present invention, the processor 520 determines a data transmission method (e.g., voice) that the external electronic device 310 can support based on the performance information of the external electronic device 310 included in the call connection request message. A data transmission method that the electronic device 500 can support can be selected among the data sampling method, sampling rate, or video data compression format and resolution.

본 발명의 다양한 실시예에 따르면, 프로세서(520)는 선택된 데이터 전송 방식에 대한 정보를 포함하는 응답 메시지를 외부 전자 장치(310)로 전송할 수 있다. 예를 들어, 응답 메시지는 SDP 프로토콜에 정의된 SDP 200 OK 메시지 형식으로 구현될 수 있다According to various embodiments of the present invention, the processor 520 may transmit a response message containing information about the selected data transmission method to the external electronic device 310. For example, the response message can be implemented in the SDP 200 OK message format defined in the SDP protocol.

본 발명의 다양한 실시예에 따르면, 응답 메시지에 포함된 데이터 전송 방식에 대한 정보는 호 연결 이후 수신되는 음성 데이터 또는 수신 데이터의 품질을 조절하기 위해 음성 데이터 또는 수신 데이터에 대한 후처리를 수행하는 수신 필터(예: 도 3a의 수신 필터(325) 또는 도 3b의 수신 필터(355))와 관련된 전자 장치(500)의 성능 정보를 포함할 수 있다. According to various embodiments of the present invention, the information about the data transmission method included in the response message is a reception method that performs post-processing on the voice data or received data to adjust the quality of the voice data or received data after the call connection. It may include performance information of the electronic device 500 related to a filter (eg, the reception filter 325 in FIG. 3A or the reception filter 355 in FIG. 3B).

본 발명의 다양한 실시예에 따르면, 응답 메시지는 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터의 후처리 프로세싱을 처리할 수 있음을 지시하는 인디케이터를 포함할 수 있다. According to various embodiments of the present invention, the response message may include an indicator indicating that post-processing of voice data or video data using a specific algorithm can be processed.

본 발명의 다양한 실시예에 따르면, 응답 메시지는 수신 필터(325, 355)와 관련된 전자 장치(500)의 성능 정보를 포함할 수 있다. 수신 필터(325, 355)와 관련된 전자 장치(500)의 성능 정보는 전자 장치(500)가 수신 필터(325, 355)를 이용하여 음성 데이터 또는 영상 데이터에 대한 후처리를 수행할 수 있는 구성 요소(예: 중앙 처리 장치(CPU), 그래픽 처리 장치(GPU) 또는 신경망 처리 장치(NPU))를 구비하고 있는지 여부를 지시하는 인디케이터를 포함할 수 있다. 예를 들면, 응답 메시지는 수신 필터(325, 355)를 이용한 음성 데이터 또는 영상 데이터에 대한 후처리를 수행할 수 있는 신경망 처리 장치를 포함함을 지시하는 인디케이터를 포함할 수 있다. 응답 메시지는 수신 필터(325, 355)를 이용하여 음성 데이터 또는 영상 데이터에 대한 후처리를 수행할 수 있는 구성 요소에 대한 정보를 포함할 수 있다. 예를 들면, 음성 데이터 또는 영상 데이터에 대한 후처리를 수행할 수 있는 구성 요소에 대한 정보는 음성 데이터 또는 영상 데이터에 대한 후처리를 수행할 수 있는 구성 요소의 성능, 식별 정보를 포함할 수 있다.According to various embodiments of the present invention, the response message may include performance information of the electronic device 500 related to the reception filters 325 and 355. The performance information of the electronic device 500 related to the reception filters 325 and 355 refers to a component that allows the electronic device 500 to perform post-processing on voice data or video data using the reception filters 325 and 355. It may include an indicator indicating whether it is equipped with a central processing unit (CPU), graphics processing unit (GPU), or neural network processing unit (NPU). For example, the response message may include an indicator indicating that it includes a neural network processing device capable of performing post-processing on voice data or video data using the reception filters 325 and 355. The response message may include information about components that can perform post-processing on voice data or video data using the reception filters 325 and 355. For example, information about components that can perform post-processing on audio data or video data may include performance and identification information of components that can perform post-processing on audio data or video data. .

본 발명의 다양한 실시예에 따르면, 프로세서(520)는 외부 전자 장치(310)의 전송 필터(325, 355)의 사용 여부를 지시하는 인디케이터가 포함된 호 연결 확정 메시지를 외부 전자 장치(310)로부터 수신할 수 있다. 프로세서(520)는 외부 전자 장치(310)가 전송 필터(313, 343)를 사용함을 확인함에 대응하여, 호 연결을 위한한 다양한 동작들(수신 필터(325, 355) 및 관련된 구성 요소의 활성화 동작, 호 채널 수립을 위한 데이터를 전송하거나, 수신하도록 통신 모듈(510)을 제어하는 동작)을 수행할 수 있다.According to various embodiments of the present invention, the processor 520 receives from the external electronic device 310 a call connection confirmation message including an indicator indicating whether to use the transmission filters 325 and 355 of the external electronic device 310. You can receive it. In response to confirming that the external electronic device 310 uses the transmission filters 313 and 343, the processor 520 performs various operations for call connection (activation of the reception filters 325 and 355 and related components). , an operation of controlling the communication module 510 to transmit or receive data for establishing a call channel) may be performed.

본 발명의 다양한 실시예에 따르면, 프로세서(520)는 호 연결 협상 과정에서, 전자 장치(500)의 성능 정보를 외부 전자 장치(320)로 전송할 수 있다. 따라서, 프로세서(520)는 외부 전자 장치(320)와 호 연결이 완료되기 이전, 수신 필터(325, 355)를 활성화시킬 수 있다. 따라서, 호 연결이 완료된 후, 수신 필터(325, 355)가 동작함으로써 발생할 수 있는 호 채널의 품질 저하를 방지하거나, 호 채널을 통한 통화의 품질을 향상시킬 수 있다.According to various embodiments of the present invention, the processor 520 may transmit performance information of the electronic device 500 to the external electronic device 320 during a call connection negotiation process. Accordingly, the processor 520 may activate the reception filters 325 and 355 before the call connection with the external electronic device 320 is completed. Accordingly, after the call connection is completed, it is possible to prevent deterioration in the quality of the call channel that may occur due to the operation of the reception filters 325 and 355, or to improve the quality of the call through the call channel.

도 6은 본 발명의 다양한 실시예에 따른 제 1 전자 장치 및 제 2 전자 장치가 호 연결을 수행하는 동작을 도시한 동작 흐름도이다.FIG. 6 is an operation flowchart illustrating an operation in which a first electronic device and a second electronic device perform a call connection according to various embodiments of the present invention.

본 발명의 다양한 실시예에 따른 제 1 전자 장치(예: 도 3a 및 도 3b의 제 1 전자 장치(310) 또는 도 4의 전자 장치(400))는 동작 610에서, 제 2 전자 장치(예: 도 3a 및 도 3b의 제 2 전자 장치(320) 또는 도 5의 전자 장치(500)로 호 연결 요청 메시지(예: SDP 세션 프로토콜에 정의된 SDP Invite 메시지)를 전송할 수 있다.In operation 610, a first electronic device (e.g., the first electronic device 310 of FIGS. 3A and 3B or the electronic device 400 of FIG. 4) according to various embodiments of the present invention operates a second electronic device (e.g., A call connection request message (eg, an SDP Invite message defined in the SDP session protocol) may be transmitted to the second electronic device 320 of FIGS. 3A and 3B or the electronic device 500 of FIG. 5.

본 발명의 다양한 실시예에 따르면, 제 1 전자 장치(310)는 호 연결 완료 이전, 제 2 전자 장치(320)가 전송 필터(313, 343) 및 수신 필터(325, 355)를 지원하는지 여부를 확인하기 위해서, 전송 필터(313, 343)에 대한 정보, 특정 알고리즘(예: NPU를 이용한 전처리 알고리즘)을 이용한 음성 데이터 또는 영상 데이터의 전처리 프로세싱을 지원할 수 있는지 여부를 지시하는 인디케이터, 전송 필터(313, 343)와 관련된 전자 장치(400)의 성능 정보가 포함된 호 연결 요청 메시지를 제 2 전자 장치(320)로 전송할 수 있다. 예를 들면, 호 연결 요청 메시지는 아래의 표 1에 기재된 형태로 구현될 수 있다.According to various embodiments of the present invention, the first electronic device 310 determines whether the second electronic device 320 supports the transmission filters 313 and 343 and the reception filters 325 and 355 before completing the call connection. To check, information about the transmission filters 313 and 343, an indicator indicating whether preprocessing of voice data or video data using a specific algorithm (e.g., a preprocessing algorithm using NPU) can be supported, and a transmission filter 313 A call connection request message containing performance information of the electronic device 400 related to , 343) may be transmitted to the second electronic device 320. For example, the call connection request message may be implemented in the form shown in Table 1 below.

[-->] INVITE
m=audio 7010 RTP/AVP 110 100 98
b=AS:42
a=rtpmap:110 EVS/16000
a=mediaproc:110 upmodel=voice_up_coeff_1.1; downmodel=voice_down_coeff_1.1
a=audioattr:110 source [32000] send [16000] recv [16000] target [32000]
a=npu:ver2.0
a=rtpmap:100 AMR-WB/16000/1
a=mediaproc:100 upmodel=voice_up_coeff_1.1; downmodel=voice_down_coeff_1.1
a=audioattr:100 source [32000] send [16000] recv [16000] target [32000]
a=npu:ver2.0
a=rtpmap:98 AMR/8000/1

......

m=video 7020 RTP/AVP 112 102 34
b=AS:1280
a=rtpmap:112 H265/90000
a=mediaproc:112 upmodel=video_up_coeff_1.02; downmodel=video_down_coeff_1.02
a=npu:ver2.0
a=imageattr:112 source [x=1440, y=2560] send [x=720, y=1280]
recv [x=720, y=1280] target [x=1440, y=2560]
a=rtpmap:102 H264/90000
a=mediaproc:102 upmodel=video_up_coeff_1.02; downmodel=video_down_coeff_1.02
a=npu:ver2.0
a=imageattr:102 source [x=960, y=1280] send [x=480, y=640]
recv [x=480, y=640] target [x=960, y=1280]
a=rtpmap:34 H263/90000
a=imageattr:34 send [x=176,y=144] recv [x=176,y=144]
[-->] INVITE
m=audio 7010 RTP/AVP 110 100 98
b=AS:42
a=rtpmap:110EVS/16000
a=mediaproc:110 upmodel=voice_up_coeff_1.1; downmodel=voice_down_coeff_1.1
a=audioattr:110 source [32000] send [16000] recv [16000] target [32000]
a=npu:ver2.0
a=rtpmap:100 AMR-WB/16000/1
a=mediaproc:100 upmodel=voice_up_coeff_1.1; downmodel=voice_down_coeff_1.1
a=audioattr:100 source [32000] send [16000] recv [16000] target [32000]
a=npu:ver2.0
a=rtpmap:98 AMR/8000/1

......

m=video 7020 RTP/AVP 112 102 34
b=AS:1280
a=rtpmap:112 H265/90000
a=mediaproc:112 upmodel=video_up_coeff_1.02; downmodel=video_down_coeff_1.02
a=npu:ver2.0
a=imageattr:112 source [x=1440, y=2560] send [x=720, y=1280]
recv [x=720, y=1280] target [x=1440, y=2560]
a=rtpmap:102 H264/90000
a=mediaproc:102 upmodel=video_up_coeff_1.02; downmodel=video_down_coeff_1.02
a=npu:ver2.0
a=imageattr:102 source [x=960, y=1280] send [x=480, y=640]
recv [x=480, y=640] target [x=960, y=1280]
a=rtpmap:34 H263/90000
a=imageattr:34 send [x=176,y=144] recv [x=176,y=144]

표 1을 참조하면, 호 연결 요청 메시지는 제 1 전자 장치(310)가 특정 알고리즘을 이용한 음성 데이터의 전 처리 동작을 지원하는지 여부를 지시하는 인디케이터(a=mediaproc), 신경망 처리 유닛(NPU)를 이용한 처리 동작 지원 여부 및 NPU 정보(a=npu:ver2.0), 전송 필터(313, 343)의 식별 정보(upmodel=voice_up_coeff_1.1, upmodel=video_up_coeff_1.1), 수신 필터(325, 355)의 식별 정보(downmodel=voice_down_coeff_1.1, downmodel=video_down_coeff_1.1) 및 음성 데이터 또는 영상 데이터의 품질 정보를 포함할 수 있다. Referring to Table 1, the call connection request message includes an indicator (a=mediaproc) indicating whether the first electronic device 310 supports pre-processing of voice data using a specific algorithm, and a neural network processing unit (NPU). Whether the processing operation is supported and NPU information (a=npu:ver2.0), identification information of the transmission filters (313, 343) (upmodel=voice_up_coeff_1.1, upmodel=video_up_coeff_1.1), and reception filters (325, 355) It may include identification information (downmodel=voice_down_coeff_1.1, downmodel=video_down_coeff_1.1) and quality information of voice data or video data.

본 발명의 다양한 실시예에 따르면, 동작 620에서, 제 2 전자 장치(320)는 수신 필터(예: 도 3a의 수신 필터(325) 또는 도 3b의 수신 필터(355))와 관련된 제 2 전자 장치(320)의 성능을 확인할 수 있다.According to various embodiments of the present invention, in operation 620, the second electronic device 320 is connected to a reception filter (e.g., the reception filter 325 in FIG. 3A or the reception filter 355 in FIG. 3B). You can check the performance of (320).

본 발명의 다양한 실시예에 따르면, 제 2 전자 장치(320)는 호 연결 요청 메시지에 포함된 제 1 전자 장치(310)가 지원하는 음성 데이터 또는 영상 데이터의 전송 방식들을 확인하고, 제2 전자 장치(320)가 확인된 전송 방식들 중 제 2 전자 장치(320)가 지원하는 적어도 하나 이상의 전송 방식을 선택할 수 있다.According to various embodiments of the present invention, the second electronic device 320 checks the transmission methods of voice data or video data supported by the first electronic device 310 included in the call connection request message, and 320 may select at least one transmission method supported by the second electronic device 320 among the confirmed transmission methods.

본 발명의 다양한 실시예에 따르면, 제2 전자 장치(320)는 선택된 전송 방식을 지원하기 위한 수신 필터(325, 355)와 관련된 제 2 전자 장치(320)의 성능을 확인할 수 있다. According to various embodiments of the present invention, the second electronic device 320 may check the performance of the second electronic device 320 related to the reception filters 325 and 355 to support the selected transmission method.

본 발명의 다양한 실시예에 따르면, 수신 필터(325, 355)와 관련된 제 2 전자 장치(320)의 성능은 호 연결 요청 메시지에 포함된 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터에 대한 전처리 동작에 대응하는 후처리 동작을 지원할 수 있는지 여부, 제 2 전자 장치(320)가 수신 필터(325, 355)를 이용하여 음성 데이터 또는 영상 데이터에 대한 후처리를 수행할 수 있는 구성 요소(예: 중앙 처리 장치(CPU), 그래픽 처리 장치(GPU) 또는 신경망 처리 장치(NPU))를 구비하고 있는지 여부를 포함할 수 있다.According to various embodiments of the present invention, the performance of the second electronic device 320 related to the reception filters 325 and 355 corresponds to a preprocessing operation for voice data or video data using a specific algorithm included in the call connection request message. Whether the second electronic device 320 can support a post-processing operation, a component (e.g., a central processing unit) capable of performing post-processing on voice data or video data using the reception filters 325 and 355 This may include whether it is equipped with a CPU (CPU), graphics processing unit (GPU), or neural network processing unit (NPU).

본 발명의 다양한 실시예에 따르면, 동작 630에서, 제 2 전자 장치(320)는 응답 메시지(예: SDP 프로토콜에 정의된 SDP 200 OK 메시지)를 제 1 전자 장치(310)로 전송할 수 있다.According to various embodiments of the present invention, in operation 630, the second electronic device 320 may transmit a response message (e.g., an SDP 200 OK message defined in the SDP protocol) to the first electronic device 310.

본 발명의 다양한 실시예에 따르면, 응답 메시지는 수신 필터(325, 355)와 관련된 제 2 전자 장치(320)의 성능을 포함할 수 있다. 예를 들면, 응답 메시지는 포함된 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터에 대한 전처리 동작에 대응하는 후처리 동작을 지원할 수 있는지 여부를 지시하는 인디케이터, 제 2 전자 장치(320)가 수신 필터(325, 355)를 이용하여 음성 데이터 또는 영상 데이터에 대한 후처리를 수행할 수 있는 구성 요소(예: 중앙 처리 장치(CPU), 그래픽 처리 장치(GPU) 또는 신경망 처리 장치(NPU))를 구비하고 있는지 여부를 지시하는 인디케이터를 포함할 수 있다. 예를 들어, 응답 메시지는 아래의 표 2에 기재된 형태로 구현될 수 있다.According to various embodiments of the present invention, the response message may include the performance of the second electronic device 320 related to the reception filters 325 and 355. For example, the response message includes an indicator indicating whether a post-processing operation corresponding to a pre-processing operation for voice data or video data using a specific algorithm can be supported, and the second electronic device 320 supports the reception filter 325. , 355) is equipped with components that can perform post-processing on audio or video data (e.g., central processing unit (CPU), graphics processing unit (GPU), or neural network processing unit (NPU)) An indicator indicating availability may be included. For example, the response message may be implemented in the form shown in Table 2 below.

[<--] SIP/2.0 200 OK
m=audio 12350 RTP/AVP 100
b=AS:41
a=rtpmap:100 AMR-WB/16000/1
a=mediaproc:100 upmodel=voice_up_coeff_1.0; downmodel=voice_down_coeff_1.0
a=audioattr:100 source [32000] send [16000] recv [16000] target [32000]
a=npu:ver1.0

m=video 15490 RTP/AVP 102
b=AS:640
a=rtpmap:102 H264/90000
a=mediaproc:102 upmodel=nobias1.01; downmodel=basedown1.01
a=npu:ver1.0
a=imageattr:102 source [x=960, y=1280] send [x=480, y=640]
recv [x=480, y=640] target [x=960, y=1280]
[<--] SIP/2.0 200 OK
m=audio 12350 RTP/AVP 100
b=AS:41
a=rtpmap:100 AMR-WB/16000/1
a=mediaproc:100 upmodel=voice_up_coeff_1.0; downmodel=voice_down_coeff_1.0
a=audioattr:100 source [32000] send [16000] recv [16000] target [32000]
a=npu:ver1.0

m=video 15490 RTP/AVP 102
b=AS:640
a=rtpmap:102 H264/90000
a=mediaproc:102 upmodel=nobias1.01; downmodel=basedown1.01
a=npu:ver1.0
a=imageattr:102 source [x=960, y=1280] send [x=480, y=640]
recv [x=480, y=640] target [x=960, y=1280]

표 2를 참조하면, 응답 메시지는 제 2 전자 장치(320)가 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터의 후 처리 동작을 지원하는지 여부를 지시하는 인디케이터(a=mediaproc), 신경망 처리 유닛(NPU)를 이용한 처리 동작 지원 여부 및 NPU 정보(a=npu:ver2.0), 수신 필터(325, 355)의 식별 정보(upmodel=voice_up_coeff_1.1, upmodel=video_up_coeff_1.1), 수신 필터(325, 355)의 식별 정보(downmodel=voice_down_coeff_1.1, downmodel=video_down_coeff_1.1) 및 음성 데이터 또는 영상 데이터의 품질 정보를 포함할 수 있다. Referring to Table 2, the response message includes an indicator (a=mediaproc) indicating whether the second electronic device 320 supports post-processing operations of voice data or video data using a specific algorithm, and a neural network processing unit (NPU). Whether to support processing operations using and NPU information (a=npu:ver2.0), identification information of the reception filter (325, 355) (upmodel=voice_up_coeff_1.1, upmodel=video_up_coeff_1.1), reception filter (325, 355) It may include identification information (downmodel=voice_down_coeff_1.1, downmodel=video_down_coeff_1.1) and quality information of voice data or video data.

본 발명의 다양한 실시예에 따르면, 동작 640에서, 제 1 전자 장치(310)는, 제 2 전자 장치(320)의 성능 정보에 기반하여 전송 필터(313, 343)를 이용한 음성 데이터 또는 영상 데이터의 전처리 동작의 수행 여부를 결정할 수 있다. According to various embodiments of the present invention, in operation 640, the first electronic device 310 transmits voice data or video data using the transmission filters 313 and 343 based on the performance information of the second electronic device 320. You can decide whether to perform preprocessing operations.

본 발명의 다양한 실시예에 따르면, 음성 데이터 또는 영상 데이터의 전처리 동작의 수행 여부는 전송 필터(313, 343)를 이용한 음성 데이터 또는 영상 데이터의 전처리 동작을 수행하는 것을 의미할 수 있다.According to various embodiments of the present invention, whether to perform a preprocessing operation of audio data or video data may mean performing a preprocessing operation of audio data or video data using the transmission filters 313 and 343.

본 발명의 다양한 실시예에 따르면, 제 1 전자 장치(310)는 응답 메시지에 포함된 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터의 후 처리 동작을 지원하는지 여부를 지시하는 인디케이터를 확인하고, 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터의 전처리 동작을 수행할 것을 결정할 수 있다. According to various embodiments of the present invention, the first electronic device 310 checks an indicator indicating whether a post-processing operation of voice data or video data using a specific algorithm included in the response message is supported, and uses a specific algorithm. It may be decided to perform a preprocessing operation on the used audio data or video data.

본 발명의 다양한 실시예에 따르면, 동작 650에서, 제 1 전자 장치(310)는 호 연결 확정 메시지(예: SDP 세션 프로토콜에 정의된 SDP ACK 메시지)를 제 2 전자 장치(320)로 전송할 수 있다.According to various embodiments of the present invention, in operation 650, the first electronic device 310 may transmit a call connection confirmation message (e.g., an SDP ACK message defined in the SDP session protocol) to the second electronic device 320. .

본 발명의 다양한 실시예에 따르면, 호 연결 확정 메시지는 응답 메시지에 포함된 음성 데이터 또는 영상 데이터의 전송 방식을 이용하여 호 연결을 수행하는 것을 지시하는 메시지일 수 있다.According to various embodiments of the present invention, the call connection confirmation message may be a message instructing to perform a call connection using a transmission method of voice data or video data included in the response message.

본 발명의 다양한 실시예에 따르면, 동작 661에서, 제 1 전자 장치(310)는 호 연결을 위한 제 1 전자 장치(310)의 구성 요소들에 대한 설정 동작을 수행할 수 있다.According to various embodiments of the present invention, in operation 661, the first electronic device 310 may perform a setting operation for the components of the first electronic device 310 for call connection.

본 발명의 다양한 실시예에 따르면, 제 1 전자 장치(310)는 응답 메시지에 포함된 제 2 전자 장치(320)가 지원하는 적어도 하나 이상의 전송 방식에 대한 정보(예: 음성 데이터의 샘플링 방식, 샘플링 레이트, 영상 데이터의 압축 방식 또는 영상 데이터의 해상도)에 기반하여 호 연결을 위한 구성 요소들을 설정할 수 있다. 제 1 전자 장치(310)는 음성 데이터를 생성하기 위해 마이크(311)를 활성화하는 동작, 영상 데이터를 생성하기 위해 카메라(341)를 활성화하는 동작 또는 호 채널 수립을 위한 데이터를 전송하거나, 수신하도록 통신 모듈(410)을 제어하는 동작을 포함하는 다양한 동작들을 통해 호 연결을 위한 구성 요소들을 설정할 수 있다.According to various embodiments of the present invention, the first electronic device 310 includes information about at least one transmission method supported by the second electronic device 320 included in the response message (e.g., sampling method of voice data, sampling method) Components for call connection can be set based on the rate, compression method of video data, or resolution of video data). The first electronic device 310 is configured to transmit or receive data for activating the microphone 311 to generate voice data, activating the camera 341 to generate video data, or establishing a call channel. Components for call connection can be set through various operations including controlling the communication module 410.

본 발명의 다양한 실시예에 따르면, 동작 663에서, 제 2 전자 장치(320)는 호 연결을 위한 제 2 전자 장치(320)의 구성 요소들에 대한 설정 동작을 수행할 수 있다.According to various embodiments of the present invention, in operation 663, the second electronic device 320 may perform a setting operation for the components of the second electronic device 320 for call connection.

본 발명의 다양한 실시예에 따르면, 제 2 전자 장치(320)는 응답 메시지에 포함된 제 2 전자 장치(320)가 지원하는 적어도 하나 이상의 전송 방식에 대한 정보(예: 음성 데이터의 샘플링 방식, 샘플링 레이트, 영상 데이터의 압축 방식 또는 영상 데이터의 해상도)에 기반하여 호 연결을 위한 구성 요소들을 설정할 수 있다. 제 2 전자 장치(320)는 음성 데이터를 생성하기 위해 마이크(311)를 활성화하는 동작, 영상 데이터를 생성하기 위해 카메라(341)를 활성화하는 동작 또는 호 채널 수립을 위한 데이터를 전송하거나, 수신하도록 통신 모듈(510)을 제어하는 동작을 포함하는 다양한 동작들을 통해 호 연결을 위한 구성 요소들을 설정할 수 있다.According to various embodiments of the present invention, the second electronic device 320 includes information about at least one transmission method supported by the second electronic device 320 (e.g., sampling method of voice data, sampling method) included in the response message. Components for call connection can be set based on the rate, compression method of video data, or resolution of video data). The second electronic device 320 is configured to transmit or receive data for activating the microphone 311 to generate voice data, activating the camera 341 to generate image data, or establishing a call channel. Components for call connection can be set through various operations including controlling the communication module 510.

본 발명의 다양한 실시예에 따르면, 동작 670에서, 제 1 전자 장치(310) 및 제 2 전자 장치(320)는 호 연결을 완료하고, 호 채널을 이용한 통화를 수행할 수 있다.According to various embodiments of the present invention, in operation 670, the first electronic device 310 and the second electronic device 320 complete the call connection and perform a call using the call channel.

본 발명의 다양한 실시예에 따르면, 제 1 전자 장치(310) 및 제 2 전자 장치(320)는 음성 데이터 또는 영상 데이터를 호 채널을 통해 전송하거나, 수신할 수 있다. 제 1 전자 장치(310) 및 제 2 전자 장치(320)는 전송 필터(313, 343)를 이용하여 전처리한 음성 데이터 또는 영상 데이터를 전송하거나, 수신한 음성 데이터 또는 영상 데이터를 수신 필터(325, 355)를 이용하여 후처리함으로써, 원본의 음성 데이터 또는 영상 데이터와 유사한 품질을 갖는 음성 데이터 또는 영상 데이터를 획득할 수 있다.According to various embodiments of the present invention, the first electronic device 310 and the second electronic device 320 may transmit or receive voice data or video data through a call channel. The first electronic device 310 and the second electronic device 320 transmit preprocessed voice data or video data using the transmission filters 313 and 343, or transmit the received voice data or video data using the reception filters 325 and 320. By post-processing using 355), audio data or video data having a quality similar to that of the original audio data or video data can be obtained.

도 7은 본 발명의 다양한 실시예에 따른 전자 장치에서, 컨텐츠 전송 또는 수신에 대한 설정을 수행하는 스크린을 도시한 도면이다.FIG. 7 is a diagram illustrating a screen for performing settings for content transmission or reception in an electronic device according to various embodiments of the present invention.

본 발명의 다양한 실시예에 따르면, 제 1 전자 장치(예: 도 6의 제 1 전자 장치(310)) 및 제 2 전자 장치(도 6의 제 2 전자 장치(320))는 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터의 처리 방식을 이용하여 음성 데이터 또는 영상 데이터를 상대 전자 장치로 전송할 수 있다. 음성 데이터 또는 영상 데이터의 전처리 또는 후처리를 수행하는 필터(예: 도 3a 및 도 3b의 전송 필터(313, 343) 또는 도 3a 및 도 3b의 수신 필터(325, 355))는 높은 성능을 발휘하기 위해서, 기계 학습(machine learning)을 통해 생성될 수 있다. 기계 학습을 통해 생성된 필터는 전자 장치의 신경망 처리 장치에서 사용될 수 있다. 기계 학습을 통해 생성된 필터를 이용하여 음성 데이터 또는 영상 데이터를 처리하는 동작은 음질 향상 또는 화질 향상을 구현할 수 있으나, 소모 전력이 증가할 수 있다.According to various embodiments of the present invention, a first electronic device (e.g., the first electronic device 310 of FIG. 6) and a second electronic device (e.g., the second electronic device 320 of FIG. 6) perform voice processing using a specific algorithm. Voice data or video data can be transmitted to the other electronic device using a data or video data processing method. Filters that perform pre-processing or post-processing of audio data or video data (e.g., the transmission filters 313 and 343 in FIGS. 3A and 3B or the reception filters 325 and 355 in FIGS. 3A and 3B) exhibit high performance. To do this, it can be generated through machine learning. Filters created through machine learning can be used in neural network processing devices in electronic devices. The operation of processing voice data or video data using a filter generated through machine learning can improve sound quality or image quality, but may increase power consumption.

본 발명의 다양한 실시예에 따른 전자 장치(예: 도 4의 전자 장치(400) 또는 도 5의 전자 장치(500))는 사용자 설정에 따라서 음성 데이터에 대한 전처리 또는 후처리를 수행하는 동작의 수행 여부가 결정될 수 있다.An electronic device (e.g., the electronic device 400 of FIG. 4 or the electronic device 500 of FIG. 5) according to various embodiments of the present invention performs an operation of pre-processing or post-processing voice data according to user settings. Whether or not it can be decided.

도 7을 참조하면, 전자 장치(400)는 호 연결 중 음질 향상 기능의 적용 여부(711) 또는 호 연결 중 화질 향상 기능의 적용 여부(713)를 선택할 수 있는 화면을 디스플레이(710)(예: 도 1의 표시 장치(160)) 상에 디스플레이할 수 있다. 전자 장치(400)는 사용자 입력에 기반하여 음질 향상 기능 또는 화질 향상 기능의 활성화 여부를 결정할 수도 있다.Referring to FIG. 7, the electronic device 400 displays a screen 710 (e.g., 710) that allows you to select whether to apply the sound quality improvement function during a call connection (711) or whether to apply the picture quality improvement function during a call connection (713). It can be displayed on the display device 160 of FIG. 1. The electronic device 400 may determine whether to activate the sound quality improvement function or the picture quality improvement function based on user input.

본 발명의 다양한 실시예에 따르면, 전자 장치(400)는 전자 장치(400)의 상태에 따라서 음질 향상 기능 또는 화질 향상 기능의 활성화 여부를 결정할 수 도 있다. 예를 들면, 전자 장치(400)는 전자 장치(400)의 배터리 잔여 용량이 미리 설정된 값 이하임을 확인함에 대응하여, 음질 향상 기능 또는 화질 향상 기능을 비활성화하도록 결정할 수도 있다. 다른 예를 들면, 전자 장치(400)는 호 연결에 이용되는 셀룰러 통신의 품질이 미리 설정된 값 이하임을 확인함에 대응하여, 음질 향상 기능 또는 화질 향상 기능을 활성화하도록 결정할 수도 있다.According to various embodiments of the present invention, the electronic device 400 may determine whether to activate the sound quality improvement function or the image quality improvement function depending on the state of the electronic device 400. For example, the electronic device 400 may determine to disable the sound quality improvement function or the image quality improvement function in response to confirming that the remaining battery capacity of the electronic device 400 is less than a preset value. For another example, the electronic device 400 may decide to activate a sound quality improvement function or an image quality improvement function in response to confirming that the quality of cellular communication used for call connection is below a preset value.

본 발명의 다양한 실시예에 따른 전자 장치는 외부 전자 장치와 호 연결을 통해 수립(establish)된 호(call) 채널을 이용하여 데이터를 전송하거나, 수신하는 통신 모듈; 및 프로세서를 포함하고, 상기 프로세서는 외부 전자 장치와 상기 전자 장치 간 호 채널 수립을 위한 호 연결 요청 메시지를 전송하고, 상기 외부 전자 장치로부터 응답 메시지를 수신하고, 상기 응답 메시지에 포함된 상기 호 연결과 관련된 상기 외부 전자 장치의 성능 정보(capability information)에 기반하여 상기 호 연결을 통해 전송되는 컨텐츠의 품질을 변경하는 전송 필터를 이용한 상기 컨텐츠의 전처리 동작을 수행할지 여부를 결정하고, 상기 컨텐츠의 전처리 동작의 수행 여부를 지시하는 호 연결 확정 메시지를 상기 외부 전자 장치로 전송하고, 상기 호 채널 수립을 완료하도록 상기 통신 모듈을 제어하고, 상기 연결 요청 메시지는 상기 필터와 관련된 상기 전자 장치의 성능 정보를 포함할 수 있다.An electronic device according to various embodiments of the present invention includes a communication module that transmits or receives data using a call channel established through a call connection with an external electronic device; and a processor, wherein the processor transmits a call connection request message for establishing a call channel between an external electronic device and the electronic device, receives a response message from the external electronic device, and connects the call included in the response message. Determining whether to perform a pre-processing operation of the content using a transmission filter that changes the quality of the content transmitted through the call connection based on capability information of the external electronic device related to the content, and pre-processing the content A call connection confirmation message indicating whether to perform an operation is transmitted to the external electronic device, the communication module is controlled to complete the call channel establishment, and the connection request message includes performance information of the electronic device related to the filter. It can be included.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 전자 장치의 성능 정보는 상기 전송 필터를 처리하기 위한 상기 전자 장치의 구성 요소가 존재하는지 여부를 지시하는 인디케이터를 포함할 수 있다.In an electronic device according to various embodiments of the present invention, the performance information of the electronic device may include an indicator indicating whether a component of the electronic device for processing the transmission filter exists.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 전자 장치의 구성 요소는 NPU(neural processing unit)를 포함할 수 있다.In an electronic device according to various embodiments of the present invention, components of the electronic device may include a neural processing unit (NPU).

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 호 연결 요청 메시지는 상기 NPU의 식별 정보를 포함하도록 설정될 수 있다.In an electronic device according to various embodiments of the present invention, the call connection request message may be set to include identification information of the NPU.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 호 연결 요청 메시지는 상기 전송 필터의 식별 정보를 포함하도록 설정될 수 있다.In an electronic device according to various embodiments of the present invention, the call connection request message may be set to include identification information of the transmission filter.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 전자 장치의 성능 정보는 상기 전송 필터를 이용하여 처리할 수 있는 컨텐츠의 해상도 또는 샘플링 레이트를 포함할 수 있다.In electronic devices according to various embodiments of the present invention, performance information of the electronic device may include resolution or sampling rate of content that can be processed using the transmission filter.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 연결 요청 메시지는 상기 전송 필터에 기반한 상기 컨텐츠의 처리 동작을 지원하는지 여부를 지시하는 인디케이터를 포함할 수 있다.In an electronic device according to various embodiments of the present invention, the connection request message may include an indicator indicating whether a processing operation of the content based on the transmission filter is supported.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 응답 메시지에 기반하여 상기 전송 필터에 대응하는 상기 수신 필터가 상기 외부 전자 장치에 존재하는지 여부를 확인하고, 상기 확인 결과에 기반하여 상기 전송 필터의 사용 여부를 결정하도록 설정될 수 있다.In an electronic device according to various embodiments of the present invention, the processor determines whether the reception filter corresponding to the transmission filter exists in the external electronic device based on the response message, and determines whether the reception filter corresponding to the transmission filter exists in the external electronic device based on the confirmation result. It can be set to determine whether to use a transmission filter.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 전송 필터를 사용할 것으로 결정함에 대응하여, 상기 호 연결이 완료되기 이전 상기 전송 필터 및 상기 전송 필터를 제어하기 위한 구성 요소를 활성화하도록 설정될 수 있다.In an electronic device according to various embodiments of the present invention, in response to determining to use the transmission filter, the processor is set to activate the transmission filter and components for controlling the transmission filter before the call connection is completed. It can be.

본 발명의 다양한 실시예에 따른 전자 장치는 외부 전자 장치와 통화 연결을 통해 수립(establish)된 호(call) 채널을 이용하여 데이터를 전송하거나, 수신하는 통신 모듈; 및 프로세서를 포함하고, 상기 프로세서는 외부 전자 장치와 상기 전자 장치 간 호 채널 수립을 위한 호 연결 요청 메시지를 수신하고, 상기 호 연결을 통해 수신되는 컨텐츠를 전처리하는 수신 필터와 관련된 상기 전자 장치의 성능 정보를 포함하는 응답 메시지를 상기 외부 전자 장치로 전송하고, 상기 수신 필터에 대응하는 전송 필터를 이용한 상기 컨텐츠의 전처리 동작의 수행 여부를 지시하는 인디케이터가 포함된 호 연결 확정 메시지를 상기 외부 전자 장치로부터 수신하고, 상기 인디케이터에 기반하여 상기 수신 필터를 활성화하는 동작을 수행하도록 설정될 수 있다.An electronic device according to various embodiments of the present invention includes a communication module that transmits or receives data using a call channel established through a call connection with an external electronic device; and a processor, wherein the processor receives a call connection request message for establishing a call channel between an external electronic device and the electronic device, and the performance of the electronic device related to a reception filter that preprocesses content received through the call connection. A response message containing information is transmitted to the external electronic device, and a call connection confirmation message including an indicator indicating whether to perform a pre-processing operation of the content using a transmission filter corresponding to the reception filter is sent from the external electronic device. It may be set to receive and activate the reception filter based on the indicator.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 전자 장치의 성능 정보는 상기 수신 필터를 처리하기 위한 상기 전자 장치의 구성 요소가 존재하는지 여부를 지시하는 인디케이터를 포함할 수 있다.In an electronic device according to various embodiments of the present invention, the performance information of the electronic device may include an indicator indicating whether a component of the electronic device for processing the reception filter exists.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 전자 장치의 구성 요소는 NPU(neural processing unit)를 포함할 수 있다.In an electronic device according to various embodiments of the present invention, components of the electronic device may include a neural processing unit (NPU).

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 응답 메시지는 상기 수신 필터의 식별 정보를 포함하도록 설정될 수 있다.In an electronic device according to various embodiments of the present invention, the response message may be set to include identification information of the reception filter.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 응답 메시지는 상기 수신 필터에 기반한 상기 컨텐츠의 처리 동작을 지원하는지 여부를 지시하는 인디케이터를 포함할 수 있다.In an electronic device according to various embodiments of the present invention, the response message may include an indicator indicating whether a processing operation of the content based on the reception filter is supported.

도 8은 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.Figure 8 is an operational flowchart showing a method of operating an electronic device according to various embodiments of the present invention.

본 발명의 다양한 실시예에 따르면, 동작 810에서, 전자 장치(예: 도 4의 전자 장치(400))는 호 채널 수립을 위한 호 연결 요청 메시지를 외부 전자 장치(예: 도 5의 전자 장치(500))로 전송할 수 있다.According to various embodiments of the present invention, in operation 810, an electronic device (e.g., the electronic device 400 of FIG. 4) sends a call connection request message to establish a call channel to an external electronic device (e.g., the electronic device 400 of FIG. 5). 500)).

본 발명의 다양한 실시예에 따르면, 전자 장치(400)는 호 연결 완료 이전, 외부 전자 장치(500)가 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터의 후처리 동작을 지원하는지 여부를 확인하기 위해서, 전송 필터(313, 343)에 대한 정보, 특정 알고리즘(예: NPU를 이용한 전처리 알고리즘)을 이용한 음성 데이터 또는 영상 데이터의 전처리 프로세싱을 지원할 수 있는지 여부를 지시하는 인디케이터, 전송 필터(313, 343)와 관련된 전자 장치(400)의 성능 정보가 포함된 호 연결 요청 메시지를 외부 전자 장치(500)로 전송할 수 있다.According to various embodiments of the present invention, before completing a call connection, the electronic device 400 transmits data to determine whether the external electronic device 500 supports a post-processing operation of voice data or video data using a specific algorithm. Information about the filters 313 and 343, an indicator indicating whether preprocessing of voice data or video data using a specific algorithm (e.g., preprocessing algorithm using NPU) can be supported, and information related to the transmission filters 313 and 343. A call connection request message containing performance information of the electronic device 400 may be transmitted to the external electronic device 500.

본 발명의 다양한 실시예에 따르면, 동작 820에서, 전자 장치(400)는 호 연결과 관련된 외부 전자 장치(500)의 성능 정보가 포함된 응답 메시지를 외부 전자 장치(500)로부터 수신할 수 있다.According to various embodiments of the present invention, in operation 820, the electronic device 400 may receive a response message containing performance information of the external electronic device 500 related to the call connection from the external electronic device 500.

본 발명의 다양한 실시예에 따르면, 응답 메시지는 수신 필터(325, 355)와 관련된 외부 전자 장치(500) 의 성능을 포함할 수 있다. 예를 들면, 응답 메시지는 포함된 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터에 대한 전처리 동작에 대응하는 후처리 동작을 지원할 수 있는지 여부를 지시하는 인디케이터, 외부 전자 장치(500)가 수신 필터(325, 355)를 이용하여 음성 데이터 또는 영상 데이터에 대한 후처리를 수행할 수 있는 구성 요소(예: 중앙 처리 장치(CPU), 그래픽 처리 장치(GPU) 또는 신경망 처리 장치(NPU))를 구비하고 있는지 여부를 지시하는 인디케이터를 포함할 수 있다.According to various embodiments of the present invention, the response message may include the performance of the external electronic device 500 related to the reception filters 325 and 355. For example, the response message includes an indicator indicating whether a post-processing operation corresponding to a pre-processing operation for voice data or video data using a specific algorithm can be supported, and an indicator indicating whether the external electronic device 500 can support the reception filter 325, 355) whether it is equipped with components that can perform post-processing on audio or video data (e.g., central processing unit (CPU), graphics processing unit (GPU), or neural network processing unit (NPU)) It may include an indicator indicating .

본 발명의 다양한 실시예에 따르면, 동작 830에서, 전자 장치(400)는 외부 전자 장치(500)의 성능 정보에 기반하여 컨텐츠(예: 음성 데이터 또는 영상 데이터)의 전처리 동작을 수행할지 여부를 결정할 수 있다.According to various embodiments of the present invention, in operation 830, the electronic device 400 determines whether to perform a preprocessing operation of content (e.g., voice data or image data) based on performance information of the external electronic device 500. You can.

본 발명의 다양한 실시예에 따르면, 컨텐츠의 전처리 동작은 컨텐츠가 인코더(예: 도 3a의 인코더(315) 또는 도 3b의 인코더(345))에 입력되기 이전 전송 필터(313, 343)를 이용하여 음성 데이터 또는 영상 데이터의 전처리 동작을 수행하는 것을 의미할 수 있다.According to various embodiments of the present invention, the content preprocessing operation uses transmission filters 313 and 343 before the content is input to the encoder (e.g., the encoder 315 in FIG. 3A or the encoder 345 in FIG. 3B). This may mean performing a preprocessing operation on audio data or video data.

본 발명의 다양한 실시예에 따르면, 전자 장치(400)는 응답 메시지에 포함된 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터의 후 처리 동작을 지원하는지 여부를 지시하는 인디케이터를 확인하고, 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터의 전처리 동작을 수행할 것을 결정할 수 있다. According to various embodiments of the present invention, the electronic device 400 checks an indicator indicating whether a post-processing operation of voice data or video data using a specific algorithm included in the response message is supported, and determines whether the electronic device 400 supports a post-processing operation of voice data or video data using a specific algorithm included in the response message. It may be decided to perform a pre-processing operation on data or image data.

본 발명의 다양한 실시예에 따르면, 전자 장치(400)는 외부 전자 장치(500)의 성능 정보를 확인하고, 외부 전자 장치(500)가 특정 알고리즘을 이용한 음성 데이터 또는 영상 데이터의 전처리 동작을 지원할 것으로 결정할 수 있다. According to various embodiments of the present invention, the electronic device 400 checks the performance information of the external electronic device 500, and the external electronic device 500 is expected to support a preprocessing operation of voice data or video data using a specific algorithm. You can decide.

본 발명의 다양한 실시예에 따르면, 동작 840에서, 전자 장치(400)는 전송 필터의 사용 여부를 지시하는 호 연결 확정 메시지를 외부 전자 장치(500)로 전송할 수 있다.According to various embodiments of the present invention, in operation 840, the electronic device 400 may transmit a call connection confirmation message indicating whether to use a transmission filter to the external electronic device 500.

본 발명의 다양한 실시예에 따르면, 호 연결 확정 메시지는 응답 메시지에 포함된 음성 데이터 또는 영상 데이터의 전송 방식을 이용하여 호 연결을 수행하는 것을 지시하는 메시지일 수 있다.According to various embodiments of the present invention, the call connection confirmation message may be a message instructing to perform a call connection using a transmission method of voice data or video data included in the response message.

도 9는 본 발명의 다른 실시예에 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.Figure 9 is an operation flowchart showing a method of operating an electronic device according to another embodiment of the present invention.

본 발명의 다양한 실시예에 따르면, 동작 910에서, 전자 장치(예: 도 5의 전자 장치(500))는 호 채널 수립을 위한 호 연결 요청 메시지를 외부 전자 장치(예: 도 4의 전자 장치(400))로부터 수신할 수 있다.According to various embodiments of the present invention, in operation 910, an electronic device (e.g., the electronic device 500 of FIG. 5) sends a call connection request message for establishing a call channel to an external electronic device (e.g., the electronic device 500 of FIG. 4). 400)).

본 발명의 다양한 실시예에 따르면, 호 연결 요청 메시지는 외부 전자 장치(500)가 전송할 수 있는 음성 데이터 또는 영상 데이터의 품질 정보, 외부 전자 장치(500)의 전송 필터(313, 343)의 모델 정보, 버전 정보, 전송 필터(313, 343)의 성능 정보를 포함하는 전송 필터(313, 343)의 식별 정보 및 전송 필터(313, 343)와 관련된 외부 전자 장치(500)의 성능 정보를 포함할 수 있다.According to various embodiments of the present invention, the call connection request message includes quality information of voice data or video data that can be transmitted by the external electronic device 500, and model information of the transmission filters 313 and 343 of the external electronic device 500. , version information, identification information of the transmission filters 313 and 343, including performance information of the transmission filters 313 and 343, and performance information of the external electronic device 500 related to the transmission filters 313 and 343. there is.

본 발명의 다양한 실시예에 따르면, 동작 920에서, 전자 장치(500)는 컨텐츠(예: 음성 데이터 또는 영상 데이터)의 품질을 조절하기 위한 수신 필터와 관련된 성능 정보가 포함된 응답 메시지를 외부 전자 장치(400)로 전송할 수 있다.According to various embodiments of the present invention, in operation 920, the electronic device 500 sends a response message containing performance information related to a reception filter for adjusting the quality of content (e.g., voice data or video data) to the external electronic device. It can be sent to (400).

본 발명의 다양한 실시예에 따르면, 동작 930에서, 전자 장치(500)는 외부 전자 장치(400)의 전송 필터(313, 343)의 사용 여부를 지시하는 호 연결 확정 메시지를 수신할 수 있다.According to various embodiments of the present invention, in operation 930, the electronic device 500 may receive a call connection confirmation message indicating whether to use the transmission filters 313 and 343 of the external electronic device 400.

본 발명의 다양한 실시예에 따르면, 동작 940에서, 전자 장치(500)는 호 연결을 위한 전자 장치(500)의 구성 요소를 설정할 수 있다.According to various embodiments of the present invention, in operation 940, the electronic device 500 may set components of the electronic device 500 for call connection.

본 발명의 다양한 실시예에 따르면, 전자 장치(500)는 응답 메시지에 포함된 전자 장치(500)가 지원하는 적어도 하나 이상의 전송 방식에 대한 정보(예: 음성 데이터의 샘플링 방식, 샘플링 레이트, 영상 데이터의 압축 방식 또는 영상 데이터의 해상도)에 기반하여 호 연결을 위한 구성 요소들을 설정할 수 있다. 전자 장치(500)는 음성 데이터를 생성하기 위해 마이크(311)를 활성화하는 동작, 영상 데이터를 생성하기 위해 카메라(341)를 활성화하는 동작 또는 호 채널 수립을 위한 데이터를 전송하거나, 수신하도록 통신 모듈(510)을 제어하는 동작을 포함하는 다양한 동작들을 통해 호 연결을 위한 구성 요소들을 설정할 수 있다.According to various embodiments of the present invention, the electronic device 500 includes information about at least one transmission method supported by the electronic device 500 (e.g., sampling method of voice data, sampling rate, video data) included in the response message. Components for call connection can be set based on the compression method or resolution of the video data. The electronic device 500 has a communication module to transmit or receive data for activating the microphone 311 to generate voice data, activating the camera 341 to generate image data, or establishing a call channel. Components for call connection can be set through various operations, including the operation of controlling 510.

상기에 기재된 실시예들은 제 1 전자 장치(310) 및 제 2 전자 장치(320) 간 호 연결 이전, 전송 필터(313) 및 수신 필터(325)의 지원 여부에 대한 정보를 호-연결 전에 획득하는 실시예들이다. 다만, 본 발명의 다양한 실시예들은 전송 필터(313) 및 수신 필터(325)의 지원 여부를 포함한 다양한 정보를 호 연결 이전에 획득할 수 있다. 일 실시예에 따르면, 제 1 전자 장치(310) 및 제 2 전자 장치(320)는 영상 호 연결을 수행함에 있어, 영상 호 연결 이전, 영상 호를 수행하는 다양한 방식에 대한 지원 여부를 포함한 정보를 호 연결 이전에 획득할 수 있다. 예를 들면, 제 1 전자 장치(310) 및 제 2 전자 장치(320)는 영상 호를 수행하는 다양한 방식 중 영상을 전송하지 않고, 영상을 렌더링하기 위한 데이터(또는, 정보)를 교환하는 방식으로 영상 호를 수행하는 방식(이하, 메타 데이터 기반 영상 통화로 정의한다)의 지원 여부에 대한 정보를 호 연결 이전에 획득할 수 있다. The embodiments described above obtain information about whether the transmission filter 313 and the reception filter 325 are supported before the call connection between the first electronic device 310 and the second electronic device 320. These are examples. However, various embodiments of the present invention can obtain various information, including whether the transmission filter 313 and the reception filter 325 are supported, prior to call connection. According to one embodiment, when performing a video call connection, the first electronic device 310 and the second electronic device 320 provide information including whether or not various methods of performing a video call are supported before connecting a video call. It can be obtained before connecting the call. For example, among various methods of performing a video call, the first electronic device 310 and the second electronic device 320 exchange data (or information) for rendering the video without transmitting the video. Information on whether a method of performing a video call (hereinafter defined as a metadata-based video call) is supported can be obtained before connecting the call.

본 발명의 다양한 실시예에 따르면, 메타 데이터 기반 영상 통화 방식은 영상을 포함된 이모지(emoji)를 생성하기 위한 데이터인 메타 데이터를 교환하는 영상 통화 방식을 의미할 수 있다. 메타 데이터 기반 영상 통화 방식은 영상 통화시 출력되는 영상 데이터를 교환하지 않고, 영상 데이터보다 크기가 작은 메타 데이터를 교환하는 방식일 수 있다. 메타 데이터를 수신한 전자 장치는 전자 장치에 저장된 이모지의 모델(예: 3d 모델링 데이터)에 메타 데이터를 적용(반영)하는 방식으로 메타데이터의 특징(또는, 특성)이 반영된 이모지가 포함된 적어도 1개 이상의 프레임(frame)을 생성할 수 있다. 전자 장치는 적어도 1 개 이상의 프레임을 포함하는 영상 데이터를 생성(렌더링)하고, 영상 데이터를 디스플레이(예: 도 1의 표시 장치(160)) 상에 출력할 수 있다. 이모지는 전자 장치(예; 제 1 전자 장치(310) 및/또는 제 2 전자 장치(320))의 사용자에 대응하는 이미지로써, 메타 데이터를 전자 장치(310, 320)에 저장된 모델링 데이터에 입력하는 방식으로 생성된 이미지일 수 있다. 메타 데이터 기반 영상 통화 방식은 영상 데이터보다 크기가 작은 메타 데이터를 교환함으로써, 영상 통화에 이용되는 데이터를 감소시킬 수 있다.According to various embodiments of the present invention, a metadata-based video call method may refer to a video call method that exchanges metadata, which is data for creating an emoji containing a video. A metadata-based video call method may be a method of exchanging metadata that is smaller in size than video data, rather than exchanging video data output during a video call. The electronic device that received the metadata applies (reflects) the metadata to a model (e.g., 3D modeling data) of the emoji stored in the electronic device, and at least one emoji containing the characteristics (or characteristics) of the metadata is reflected. More than one frame can be created. The electronic device may generate (render) image data including at least one frame and output the image data on a display (eg, the display device 160 of FIG. 1). An emoji is an image corresponding to the user of an electronic device (e.g., the first electronic device 310 and/or the second electronic device 320), and metadata is input into modeling data stored in the electronic devices 310 and 320. It may be an image created in this way. The metadata-based video call method can reduce the data used for video calls by exchanging metadata that is smaller in size than video data.

이하에서는, 제 1 전자 장치(310) 및 제 2 전자 장치(320) 간 호 연결 이전, 메타 데이터 기반 영상 통화와 관련된 정보를 호-연결 전에 획득하는 실시예에 대해서 서술한다.Below, an embodiment in which information related to a metadata-based video call is acquired before a call connection between the first electronic device 310 and the second electronic device 320 is described.

도 10a는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.Figure 10A is a block diagram of an electronic device according to various embodiments of the present invention.

본 발명의 다양한 실시예에 따르면, 도 10a에 도시된 전자 장치(1000)(예: 도 1의 전자 장치(101), 도 3a 및 도 3b의 제 1 전자 장치(310) 또는 도 4의 전자 장치(400))는 통신 모듈(1010)(예: 도 1의 무선 통신 모듈(192)) 및 프로세서(1020)(예: 도 1의 프로세서(120))를 포함할 수 있다. According to various embodiments of the present invention, the electronic device 1000 shown in FIG. 10A (e.g., the electronic device 101 in FIG. 1, the first electronic device 310 in FIGS. 3A and 3B, or the electronic device in FIG. 4 (400)) may include a communication module 1010 (e.g., the wireless communication module 192 of FIG. 1) and a processor 1020 (e.g., the processor 120 of FIG. 1).

본 발명의 다양한 실시예에 따르면, 통신 모듈(1010)은 외부 전자 장치(예: 도 3a, 3b의 제 2 전자 장치(320))와 호 연결을 통해 수립된 통신 채널(예: 셀룰러 통신 채널)을 이용하여 음성 데이터 또는 영상 데이터를 전송할 수 있다.According to various embodiments of the present invention, the communication module 1010 uses a communication channel (e.g., cellular communication channel) established through a call connection with an external electronic device (e.g., the second electronic device 320 of FIGS. 3A and 3B). You can transmit voice data or video data using .

본 발명의 다양한 실시예에 따르면, 프로세서(1020)는 외부 전자 장치와 전자 장치(1000)간 호 연결시 송수신되는 데이터의 특성을 결정하기 위해서, 세션 기술 프로토콜에 정의된 방식을 이용하여 외부 전자 장치와 협상을 수행할 수 있다. According to various embodiments of the present invention, the processor 1020 uses a method defined in the session technology protocol to determine the characteristics of data transmitted and received when making a call between the external electronic device and the electronic device 1000. You can negotiate with.

이하에서는, 전자 장치(1000)가 송신 단말(예: 도 3a의 제 1 전자 장치(310))에 해당하고, 외부 전자 장치가 제 2 전자 장치(예: 도 3a의 제 2 전자 장치(320))에 해당됨을 가정하고, 메타 데이터 기반 영상 통화의 지원 여부에 대한 정보를 호-연결 전에 획득하는 구체적인 실시예에 대해서 서술한다.Hereinafter, the electronic device 1000 corresponds to the transmitting terminal (e.g., the first electronic device 310 in FIG. 3A), and the external electronic device corresponds to the second electronic device (e.g., the second electronic device 320 in FIG. 3A). ), and a specific embodiment of obtaining information on whether metadata-based video calls are supported before call connection will be described.

본 발명의 다양한 실시예에 따르면, 프로세서(1020)는 제 2 전자 장치(320)와 영상 통화를 수행하는 영상 통화 어플리케이션의 실행(또는, 영상 통화 어플리케이션을 실행하는 동안 외부 전자 장치(320)로 영상 통화 수행을 요청하는 사용자 입력)을 감지함에 대응하여, 카메라(예: 도 1의 카메라 모듈(180))을 활성화하고, 카메라(180)를 이용하여 수집한 프리뷰 이미지를 디스플레이(예: 도 1의 표시 장치(160)) 상에 디스플레이할 수 있다.According to various embodiments of the present invention, the processor 1020 executes a video call application that performs a video call with the second electronic device 320 (or sends a video call to the external electronic device 320 while executing the video call application). In response to detecting a user input requesting a call, a camera (e.g., the camera module 180 in FIG. 1) is activated, and a preview image collected using the camera 180 is displayed (e.g., the camera module 180 in FIG. 1). It can be displayed on the display device 160.

본 발명의 다양한 실시예에 따르면, 프로세서(1020)는 외부 전자 장치(320)로 외부 전자 장치(320)와 전자 장치(1000)간 호 채널 수립을 위한 호 연결 요청 메시지를 전송하도록 통신 모듈(1010)을 제어할 수 있다. 예를 들어, 호 연결 요청 메시지는 SDP에 정의된 SDP Invite 메시지 형식으로 구현될 수 있다.According to various embodiments of the present invention, the processor 1020 uses the communication module 1010 to transmit a call connection request message to the external electronic device 320 to establish a call channel between the external electronic device 320 and the electronic device 1000. ) can be controlled. For example, the call connection request message can be implemented in the SDP Invite message format defined in SDP.

본 발명의 다양한 실시예에 따르면, 호 연결 요청 메시지는 전자 장치(1000)가 전송할 수 있는 음성 데이터 또는 영상 데이터의 품질 정보를 포함할 수 있다. 예를 들면, 음성 데이터의 품질 정보는 마이크(예: 도 3a의 마이크(311))를 이용하여 생성할 수 있는 음성 데이터의 샘플링 레이트, 네트워크(예: 도 3a의 네트워크(320))를 통해 전송할 수 있는 음성 데이터의 샘플링 레이트 또는 외부 전자 장치가 수신할 수 있는 음성 데이터의 샘플링 레이트를 포함할 수 있다. 영상 데이터의 품질 정보는 카메라(예: 도 3b의 카메라(341))를 이용하여 생성할 수 있는 영상 데이터의 해상도, 네트워크(320)를 통해 전송할 수 있는 영상 데이터의 해상도 또는 외부 전자 장치가 수신할 수 있는 영상 데이터의 해상도를 포함할 수 있다.According to various embodiments of the present invention, the call connection request message may include quality information of voice data or video data that the electronic device 1000 can transmit. For example, the quality information of voice data includes the sampling rate of voice data that can be generated using a microphone (e.g., microphone 311 in FIG. 3A) and transmitted through a network (e.g., network 320 in FIG. 3A). It may include a sampling rate of voice data that can be received or a sampling rate of voice data that an external electronic device can receive. The quality information of image data includes the resolution of image data that can be generated using a camera (e.g., camera 341 in FIG. 3B), the resolution of image data that can be transmitted through the network 320, or the resolution of image data that can be received by an external electronic device. The resolution of the video data may be included.

본 발명의 다양한 실시예에 따르면, 프로세서(1020)는 호 연결 완료 이전, 외부 전자 장치(320)가 메타 데이터 기반 영상 통화의 지원 여부를 확인하기 위해서, 메타 데이터 기반 영상 통화의 지원 여부와 관련된 전자 장치(1000)의 성능 정보가 포함된 호 연결 요청 메시지를 외부 전자 장치(320)로 전송할 수 있다.According to various embodiments of the present invention, before completing the call connection, the processor 1020 performs an electronic device related to whether the external electronic device 320 supports the metadata-based video call in order to check whether the metadata-based video call is supported. A call connection request message containing performance information of the device 1000 may be transmitted to the external electronic device 320.

본 발명의 다양한 실시에에 따르면, 전자 장치(1000)의 성능 정보는 메타 데이터 기반 영상 통화 방식에서 요구되는 전자 장치(1000)의 구성 요소가 존재하는지 여부를 지시하는 정보를 포함할 수 있다. 일 실시예에 따르면, 전자 장치(1000)의 구성 요소는 이모지를 렌더링할 수 있는 적어도 하나의 3D 모델을 포함할 수 있으며, 전자 장치(1000)의 성능 정보는 이모지 모델(또는 이모지 모델의 그룹)이 전자 장치(1000)에 존재하는지 여부를 지시하는 정보를 포함할 수 있다.According to various embodiments of the present invention, the performance information of the electronic device 1000 may include information indicating whether components of the electronic device 1000 required in a metadata-based video call method exist. According to one embodiment, the components of the electronic device 1000 may include at least one 3D model capable of rendering emojis, and the performance information of the electronic device 1000 may include the emoji model (or the emoji model's may include information indicating whether a group) exists in the electronic device 1000.

본 발명의 다양한 실시예에 따르면, 호 연결 요청 메시지는 메타 데이터 기반 영상 통화 방식에서 요구되는 메타 데이터를 반영하는 모델의 식별 정보를 포함할 수 있다. 모델의 식별 정보는 모델의 버전 정보(예; 모델이 메타 데이터를 이용하여 생성 가능한 이모지의 종류(예: 사람, 동물 또는 외계인)를 지시하는 정보), 모델의 제조사 정보, 모델이 이용하는 표준(예: MPEG-4 face and body animation)을 지시하는 정보를 포함할 수 있다.According to various embodiments of the present invention, the call connection request message may include identification information of a model reflecting metadata required in a metadata-based video call method. A model's identifying information includes the model's version information (e.g. information indicating the type of emoji (e.g. human, animal, or alien) the model can create using metadata), the model's manufacturer information, and the standards the model uses (e.g. : May include information indicating MPEG-4 face and body animation).

본 발명의 다양한 실시예에 따르면, 프로세서(1020)는 호 연결 요청 메시지에 대응하는 응답 메시지를 외부 전자 장치(320)로부터 수신할 수 있다. 예를 들어, 응답 메시지는 SDP 프로토콜에 정의된 SDP 200 OK 메시지 형식으로 구현될 수 있다.According to various embodiments of the present invention, the processor 1020 may receive a response message corresponding to the call connection request message from the external electronic device 320. For example, the response message may be implemented in the SDP 200 OK message format defined in the SDP protocol.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(320)가 전송하는 응답 메시지는 호 연결과 관련된 외부 전자 장치(320)의 성능 정보를 포함할 수 있다. According to various embodiments of the present invention, the response message transmitted by the external electronic device 320 may include performance information of the external electronic device 320 related to the call connection.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(320)는 호 연결 요청 메시지에 포함된 전자 장치(1000)의 성능 정보에 기반하여 전자 장치(1000)가 지원할 수 있는 데이터 전송 방식(예: 음성 데이터의 샘플링 방식, 샘플링 레이트 또는 영상 데이터의 압축 포맷, 해상도 중 외부 전자 장치(320)가 지원 가능한 데이터 전송 방식을 선택할 수 있다. 외부 전자 장치(320)의 성능 정보는 외부 전자 장치(320)가 선택한 데이터 전송 방식에 대한 정보를 포함할 수 있다.According to various embodiments of the present invention, the external electronic device 320 selects a data transmission method (e.g., voice) that the electronic device 1000 can support based on the performance information of the electronic device 1000 included in the call connection request message. The performance information of the external electronic device 320 may be selected from among the data sampling method, sampling rate, video data compression format, and resolution. May contain information about the selected data transmission method.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(320)의 성능 정보는 외부 전자 장치(320)와 전자 장치(1000) 사이에 수행되는 메타 데이터 기반 영상 통화 방식을 지원하기 위한 구성 요소들(예: 소프트웨어적으로 구현된 구성 요소들(예: 메타 데이터를 반영하기 위한 모델) 또는 하드웨어적으로 구현된 구성 요소들(예: 그래픽 처리 유닛(graphic processing unit, GPU))에 대한 정보를 포함할 수 있다.According to various embodiments of the present invention, the performance information of the external electronic device 320 includes components (e.g., : May contain information about components implemented in software (e.g., a model to reflect metadata) or components implemented in hardware (e.g., graphics processing unit (GPU)). there is.

본 발명의 다양한 실시예에 따르면, 프로세서(1020)는 응답 메시지에 포함된 외부 전자 장치(320)의 성능 정보에 기반하여 메타 데이터 기반 영상 통화를 수행할지 여부를 결정할 수 있다.According to various embodiments of the present invention, the processor 1020 may determine whether to perform a metadata-based video call based on the performance information of the external electronic device 320 included in the response message.

본 발명의 다양한 실시예에 따르면, 프로세서(1020)는 응답 메시지에 포함된 외부 전자 장치(320)의 성능 정보를 확인하고, 외부 전자 장치(320)가 메타 데이터 기반 영상 통화를 지원할 수 있는지 여부 또는 메타 데이터 기반 영상 통화를 지원하는 경우, 메타 데이터 기반 영상 통화에 이용될 모델의 정보 또는 메타 데이터 기반 영상 통화에 이용될 메타 데이터의 생성에 이용될 표준 정보를 확인할 수 있다. According to various embodiments of the present invention, the processor 1020 checks the performance information of the external electronic device 320 included in the response message and determines whether the external electronic device 320 can support a metadata-based video call or If metadata-based video calls are supported, you can check information on the model to be used in metadata-based video calls or standard information to be used in creating metadata to be used in metadata-based video calls.

본 발명의 다양한 실시예에 따르면, 프로세서(1020)는 메타 데이터 기반 영상 통화의 수행 여부를 지시하는 인디케이터 또는 메타 데이터를 이용한 렌더링 동작의 수행 여부를 지시하는인디케이터를 포함하는 호 연결 확정 메시지를 외부 전자 장치(320)로 전송할 수 있다. According to various embodiments of the present invention, the processor 1020 sends a call connection confirmation message including an indicator indicating whether to perform a metadata-based video call or an indicator indicating whether to perform a rendering operation using metadata to an external electronic device. It can be transmitted to device 320.

본 발명의 다양한 실시예에 따르면, 호 연결 확정 메시지는 응답 메시지에 포함된 음성 데이터 또는 영상 데이터의 전송 방식을 이용하여 호 연결을 수행하는 것을 지시하는 메시지일 수 있다. 호 연결 확정 메시지는 예를 들어, SDP 세션 프로토콜에 정의된 SDP ACK 메시지일 수 있다.According to various embodiments of the present invention, the call connection confirmation message may be a message instructing to perform a call connection using a transmission method of voice data or video data included in the response message. The call connection confirmation message may be, for example, an SDP ACK message defined in the SDP session protocol.

본 발명의 다양한 실시예에 따르면, 전자 장치(1000)는 호 연결 확정 메시지를 수신한 외부 전자 장치(320)와 호 연결을 위한 다양한 동작들(예: 음성 데이터를 생성하기 위해 마이크(311)를 활성화하는 동작, 영상 데이터를 생성하기 위해 카메라(341)를 활성화하는 동작, 화면에 출력할 영상 데이터를 렌더링 하기 위해 영상 렌더러(그래픽 라이브러리 및/또는 그래픽 처리 장치(GPU))를 활성화 하는 동작, 메타 데이터 기반 영상 통화 를 위한 모델을 활성화 하는 동작 또는 호 채널 수립을 위한 데이터를 전송하거나, 수신하도록 통신 모듈(1010)을 제어하는 동작)을 수행할 수 있다. 전자 장치(1000)가 수행하는 외부 전자 장치(320)와 호 연결을 위한 다양한 동작들은 실행 중인 영상 통화 어플리케이션이 제공하는 기능을 이용하여 구현될 수 있다. 상기 전자 장치(1000)가 메타 데이터 기반 영상 통화를 위한 모델을 활성화 하는 동작은, 예를 들어, 전자 장치(예:영상통화 어플리케이션 146, 영상 렌더러)가 비휘발성 메모리(134)에 저장된 3D 모델(모델링 데이터) 등을 휘발성 메모리(132)에 로드(load)하는 동작을 포함할 수 있다.본 발명의 다양한 실시예에 따르면, 프로세서(1020)는 호 연결 요청 메시지 내에 메타 데이터 기반 영상 통화와 관련된 전자 장치(400)의 성능 정보를 포함시킴으로써, 외부 전자 장치(320)와 호 연결이 완료되기 이전, 메타 데이터 기반 영상 통화를 수행하는데 필요한 구성 요소(예: 영상 렌더러 및/또는 3d 그래픽 모델)를 활성화시킬 수 있다. 따라서, 호 연결이 완료된 후, 메타 데이터 기반 영상 통화를 수행하는데 필요한 구성 요소가 활성화됨으로써 발생할 수 있는 호 채널의 품질 저하를 방지할 수 있고, 영상 데이터에 비해 작은 크기를 갖는 메타 데이터를 전송함으로써 영상 통화에 사용되는 데이터 소모량을 감소시킬 수 있다.According to various embodiments of the present invention, the electronic device 1000 performs various operations (for example, using the microphone 311 to generate voice data) for a call connection with the external electronic device 320 that has received the call connection confirmation message. An operation to activate, an operation to activate the camera 341 to generate image data, an operation to activate an image renderer (graphics library and/or graphics processing unit (GPU)) to render image data to be output on the screen, meta An operation of activating a model for a data-based video call or an operation of controlling the communication module 1010 to transmit or receive data for establishing a call channel may be performed. Various operations performed by the electronic device 1000 to connect a call with the external electronic device 320 may be implemented using functions provided by the running video call application. The operation of the electronic device 1000 activating a model for a metadata-based video call is, for example, performed by the electronic device (e.g., video call application 146, video renderer) using a 3D model stored in the non-volatile memory 134. modeling data), etc., to the volatile memory 132. According to various embodiments of the present invention, the processor 1020 may include electronic information related to a metadata-based video call within a call connection request message. By including performance information of the device 400, components required to perform a metadata-based video call (e.g., video renderer and/or 3D graphic model) are activated before the call connection with the external electronic device 320 is completed. You can do it. Therefore, after the call connection is completed, it is possible to prevent deterioration in the quality of the call channel that may occur as the components required to perform a metadata-based video call are activated, and by transmitting metadata that has a smaller size than the video data, the video call can be activated. Data consumption used for calls can be reduced.

도 10b는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.10B is a block diagram of an electronic device according to various embodiments of the present invention.

도 10b를 참조하면, 본 발명의 다양한 실시예에 따른 전자 장치(1000)는 호 연결을 수행 또는 관리하는 호 연결 관리 유닛(1030), 음성 데이터를 전송하기 위한 처리 동작 또는 수신한 음성 데이터를 처리하는 동작을 수행하는 음성 데이터 처리 유닛(1040) 및 영상 데이터를 전송하기 위한 처리 동작 또는 수신한 영상 데이터를 처리하는 동작을 수행하는 영상 데이터 처리 유닛(1050), 메모리(예: 도 1의 메모리(130))(1061), 카메라(예: 도 1의 카메라 모듈(180))(1062), 마이크(예: 도 1의 입력 장치(150))(1063), 디스플레이(예: 도 1의 표시 장치(160))(1064) 및 스피커(예: 도 1의 음향 출력 장치(155))(1065) 를 포함할 수 있다. Referring to FIG. 10B, the electronic device 1000 according to various embodiments of the present invention includes a call connection management unit 1030 that performs or manages a call connection, a processing operation for transmitting voice data, or processing received voice data. an audio data processing unit 1040 that performs an operation to transmit image data or an image data processing unit 1050 that performs an operation to process received image data, and a memory (e.g., the memory of FIG. 1 ( 130)) 1061, a camera (e.g., the camera module 180 of FIG. 1) 1062, a microphone (e.g., the input device 150 of FIG. 1) 1063, a display (e.g., the display device of FIG. 1) It may include (160)) (1064) and a speaker (e.g., the sound output device 155 of FIG. 1) (1065).

본 발명의 다양한 실시예에 따르면, 호 연결 관리 유닛(1030)은 호 연결을 수행하는 동안 외부 전자 장치(예: 도 3a, 도 3b의 제 2 전자 장치(320))로부터 수신하는 메시지를 파싱(parsing)하는 SDP 파서(parser)(1031), 호 연결을 수행하기 위해 외부 전자 장치(320)로 전송하는 메시지를 생성하는 SDP 라이터(writer)(1032), 통화 세션에 대한 연결 또는 종료를 관리하는 통화 세션 관리부(1033) 및 외부 전자 장치(320)로부터 수신한 응답 메시지에 포함된 외부 전자 장치(320)의 성능 정보에 기반하여 메타 데이터 기반 영상 통화의 수행 여부를 결정하는 메타 데이터 기반 영상 통화 결정부(1034)를 포함할 수 있다.According to various embodiments of the present invention, the call connection management unit 1030 parses a message received from an external electronic device (e.g., the second electronic device 320 in FIGS. 3A and 3B) while performing a call connection ( An SDP parser 1031 that parses, an SDP writer 1032 that generates a message to be transmitted to the external electronic device 320 to perform a call connection, and a SDP writer 1032 that manages connection or termination of a call session. Metadata-based video call determination to determine whether to perform a metadata-based video call based on the performance information of the external electronic device 320 included in the response message received from the call session management unit 1033 and the external electronic device 320 It may include part 1034.

본 발명의 다양한 실시예에 따르면, 음성 데이터를 전송하는 관점에서의 음성 데이터 처리 유닛(1040)은 마이크(1063)을 이용하여 음성 데이터를 획득하는 음성 획득부(1041), 음성 데이터에 대한 필터링 동작을 수행하는 구성 요소인 음성 전송 필터(예: 도 3a의 전송 필터(313))(1042), 전송 필터(1042)가 전송한 음성 데이터를 압축시키기 위해 음성 데이터에 대한 부호화를 수행하는 음성 인코더(예; 도 3a의 인코더(315))(1043) 및 부호화된 음성 데이터를 패킷 형태의 음성 패킷 데이터로 변환하는 패킷타이저(예: 도 3a의 패킷 타이저(317))(1044)를 포함할 수 있다.According to various embodiments of the present invention, the voice data processing unit 1040 from the viewpoint of transmitting voice data includes a voice acquisition unit 1041 that acquires voice data using a microphone 1063, and a filtering operation for voice data. A voice transmission filter (e.g., the transmission filter 313 in FIG. 3A) 1042, which is a component that performs a voice encoder ( Example; it may include an encoder 315 in FIG. 3A 1043 and a packetizer 1044 that converts the encoded voice data into voice packet data in packet form. You can.

본 발명의 다양한 실시예에 따르면, 음성 데이터를 수신하는 관점에서의 음성 데이터 처리 유닛(1040)은 외부 전자 장치(320)로부터 수신한 음성 패킷 데이터를 부호화된 음성 데이터로 변환하는 디패킷타이저(예: 도 3a의 디패킷 타이저(321))(1045), 부호화된 음성 데이터를 복호화하는 음성 디코더(예: 도 3a의 디코더(323))(1046), 복호화된 음성 데이터의 샘플링 레이트를 변경시키는 음성 수신 필터(예: 도 3a의 수신 필터(325))(1047) 및 스피커(465)를 통해 음성을 출력하는 음성 출력부(1048)을 포함할 수 있다.According to various embodiments of the present invention, in terms of receiving voice data, the voice data processing unit 1040 includes a depacketizer (depacketizer) that converts voice packet data received from the external electronic device 320 into encoded voice data. Example: Depacketizer 321 in FIG. 3A) 1045, voice decoder for decoding encoded voice data (e.g., decoder 323 in FIG. 3A) 1046, changing the sampling rate of decoded voice data The signal may include a voice reception filter (e.g., reception filter 325 in FIG. 3A) 1047 and a voice output unit 1048 that outputs voice through a speaker 465.

본 발명의 다양한 실시예에 따르면, 영상 데이터를 전송하는 관점에서의 영상 데이터 처리 유닛(1050)은 카메라(1062)가 촬영한 영상을 획득하는 영상 획득부(1051), 영상 데이터에 대한 필터링 동작을 수행하는 구성 요소인 음성 전송 필터(예: 도 3b의 전송 필터(343))(1052), 영상 데이터를 압축시키기 위해 영상 데이터에 대한 부호화를 수행하는 영상 인코더(예: 도 3b의 인코더(345))(1053) 및 부호화된 영상 데이터를 패킷 형태의 영상 패킷 데이터로 변환하는 패킷타이저(예: 도 3b의 패킷 타이저(347))(1054)를 포함할 수 있다.According to various embodiments of the present invention, the image data processing unit 1050 from the viewpoint of transmitting image data includes an image acquisition unit 1051 that acquires an image captured by a camera 1062, and a filtering operation on the image data. Components that perform the audio transmission filter (e.g., the transmission filter 343 in FIG. 3B) 1052, and a video encoder that performs encoding on video data to compress the video data (e.g., the encoder 345 in FIG. 3B) ) 1053 and a packetizer (e.g., packetizer 347 in FIG. 3B) 1054 that converts the encoded video data into video packet data in the form of packets.

본 발명의 다양한 실시예에 따르면, 영상 데이터를 수신하는 관점에서의 영상 데이터 처리 유닛(1050)은 외부 전자 장치(320)로부터 수신한 영상 데이터 패킷을 부호화된 영상 데이터로 변환하는 디패킷타이저(예: 도 3b의 디패킷타이저(351))(1055), 디패킷타이저(1055)가 변환한 부호화된 영상 데이터를 복호화하는 영상 디코더(예: 도 3b의 디코더(353))(1056), 복호화된 영상 데이터의 해상도를 변경시키는 영상 수신 필터(예: 도 3b의 수신 필터(355))(1057) 및 수신 필터(1057)에 의해 생성된 영상 데이터를 디스플레이(464)를 통해 출력하는 영상 출력부(1058)를 포함할 수 있다.According to various embodiments of the present invention, the image data processing unit 1050 from the viewpoint of receiving image data includes a depacketizer (depacketizer) that converts the image data packet received from the external electronic device 320 into encoded image data. Example: Depacketizer 351) 1055 in FIG. 3B, video decoder (e.g. decoder 353 in FIG. 3B) 1056 that decodes the encoded video data converted by the depacketizer 1055. , an image reception filter that changes the resolution of the decoded image data (e.g., the reception filter 355 in FIG. 3B) 1057, and an image that outputs the image data generated by the reception filter 1057 through the display 464. It may include an output unit 1058.

본 발명의 다양한 실시예에 따르면, SDP 라이터(1032)는 통화 세션 관리부(1033)의 제어에 기반하여 호 연결 요청 메시지를 생성하고, 통신 모듈(1010)을 통해 외부 전자 장치(320)로 호 연결 요청 메시지를 전송할 수 있다. 예를 들어, 호 연결 요청 메시지는 SDP에 정의된 SDP Invite 메시지 형식으로 구현될 수 있다.According to various embodiments of the present invention, the SDP writer 1032 generates a call connection request message based on the control of the call session manager 1033 and connects the call to the external electronic device 320 through the communication module 1010. A request message can be sent. For example, the call connection request message can be implemented in the SDP Invite message format defined in SDP.

본 발명의 다양한 실시예에 따르면, 호 연결 메시지는 메타 데이터 기반 영상 통화와 관련된 전자 장치(400)의 성능 정보가 포함될 수 있다.According to various embodiments of the present invention, the call connection message may include performance information of the electronic device 400 related to metadata-based video calls.

본 발명의 다양한 실시예에 따르면, SDP 파서(1031)는 통신 모듈(410)을 통해 수신한 응답 메시지를 파싱할 수 있다. 응답 메시지는 메타 데이터 기반 영상 통화와 관련된 외부 전자 장치(320)의 성능 정보를 포함할 수 있다. 예를 들면, 응답 메시지는 외부 전자 장치(320)가 메타 데이터 기반 영상 통화를 지원할 수 있는지 여부를 지시하는 인디케이터, 외부 전자 장치(320)가 메타 데이터 기반 영상 통화를 수행하기 위한 구성 요소(예: 메타 데이터를 복호화하는 메타 데이터 디패킷타이저(1071) 또는 메타 데이터를 렌더링하는 영상 렌더러(1072) 를 구비하고 있는지 여부를 지시하는 인디케이터를 포함할 수 있다.According to various embodiments of the present invention, the SDP parser 1031 may parse the response message received through the communication module 410. The response message may include performance information of the external electronic device 320 related to the metadata-based video call. For example, the response message may include an indicator indicating whether the external electronic device 320 can support a metadata-based video call, and a component for the external electronic device 320 to perform a metadata-based video call, e.g. It may include an indicator indicating whether a metadata depacketizer 1071 that decrypts metadata or an image renderer 1072 that renders metadata is provided.

본 발명의 다양한 실시예에 따르면, SDP 파서(1031)가 응답 메시지에 대한 파싱을 통해 추출한 외부 전자 장치(320)의 성능 정보는 통화 세션 관리부(1033)를 통해 메타 데이터 기반 영상 통화 결정부(1034)로 전송될 수 있다.According to various embodiments of the present invention, the performance information of the external electronic device 320 extracted by the SDP parser 1031 through parsing of the response message is transmitted to the metadata-based video call decision unit 1034 through the call session manager 1033. ) can be transmitted.

본 발명의 다양한 실시예에 따르면, 메타 데이터 기반 영상 통화 결정부(1034)는 외부 전자 장치(320)의 성능 정보에 기반하여 메타 데이터 기반 영상 통화 수행 여부를 결정할 수 있다.According to various embodiments of the present invention, the metadata-based video call decision unit 1034 may determine whether to perform a metadata-based video call based on performance information of the external electronic device 320.

본 발명의 다양한 실시예에 따르면, 메타 데이터 기반 영상 통화 결정부(1034) 는 응답 메시지에 포함된 메타 데이터 기반 영상 통화의 지원 여부를 지시하는 인디케이터를 확인하고, 외부 전자 장치(320)가 메타 데이터 기반 영상 통화를 지원 여부를 결정할 수 있다.According to various embodiments of the present invention, the metadata-based video call decision unit 1034 checks an indicator indicating whether metadata-based video call is supported included in the response message, and determines whether the external electronic device 320 supports the metadata. You can decide whether or not to support video calls.

본 발명의 다양한 실시예에 따르면, 메타 데이터 기반 영상 통화 결정부(1034)는 외부 전자 장치(320)의 성능 정보에 기반하여 외부 전자 장치(320)가 메타 데이터 기반 영상 통화를 지원함을 확인하고, 외부 전자 장치(320)가 메타 데이터 기반 영상 통화를 지원함에 대응하여, 메타 데이터 기반 영상 통화를 수행할 것으로 결정할 수 있다.According to various embodiments of the present invention, the metadata-based video call decision unit 1034 confirms that the external electronic device 320 supports metadata-based video call based on the performance information of the external electronic device 320, In response to the external electronic device 320 supporting metadata-based video calling, it may be determined to perform a metadata-based video call.

본 발명의 다양한 실시예에 따르면, 메타 데이터 기반 영상 통화 결정부(1034)는 메타 데이터 기반 영상 통화를 수행할 것으로 결정함에 대응하여, 메타 데이터 기반 영상 통화를 수행하는데 있어 필요한 구성 요소들(예: 영상 획득부(1051))에서 획득한 영상에서 특징점을 검출하고, 특징점에 기반하여 메타 데이터를 생성하는 메타 데이터 생성부(1073), 메타 데이터 생성부(1073)에서 수신한 메타 데이터를 패킷 형태의 패킷 데이터로 변환하는 메타데이터 패킷 타이저(1074), 외부 전자 장치(320)로부터 수신한 패킷 형태의 메타 데이터를 변환하는 메타데이터 디패킷타이저(1071) 또는 메타 데이터를 렌더링하는 방식으로 영상을 생성하는 영상 렌더러(1072))을 활성화시킬 수 있다.According to various embodiments of the present invention, in response to determining to perform a metadata-based video call, the metadata-based video call decision unit 1034 determines that the metadata-based video call will be performed, including components necessary for performing the metadata-based video call (e.g. A metadata generator 1073 detects feature points in the image acquired by the image acquisition unit 1051 and generates metadata based on the feature points, and metadata received from the metadata generator 1073 is stored in packet form. A metadata packetizer 1074 that converts into packet data, a metadata depacketizer 1071 that converts metadata in the form of packets received from the external electronic device 320, or a method of rendering metadata to create images. The generating image renderer (1072) can be activated.

본 발명의 다양한 실시예에 따르면, 통화 세션 관리부(1033)는 메타 데이터 기반 영상 통화의 활성화 여부를 지시하는 호 연결 확정 메시지를 통신 모듈(1010)을 통해 외부 전자 장치(320)로 전송할 수 있다.According to various embodiments of the present invention, the call session manager 1033 may transmit a call connection confirmation message indicating whether to activate a metadata-based video call to the external electronic device 320 through the communication module 1010.

본 발명의 다양한 실시예에 따르면, 전자 장치(1000)의 프로세서(1020) 상에 구현된 구성 요소들은 소프트웨어적으로 구현된 구성 요소들일 수 있으나, 일부 구성 요소들은 설계 방식에 따라 하드웨어적으로 구현될 수도 있다. 예를 들면, 영상 렌더러(1072)는 소프트웨어적으로 구현되어, 메모리(예: 도 1의 메모리(130)) 상에 저장될 수 있는 그래픽 라이브러리일 수 있으며, 영상 렌더러(1072)는 하드웨어적으로 구현될 수 있는 GPU(graphic processing unit)일 수도 있다.According to various embodiments of the present invention, components implemented on the processor 1020 of the electronic device 1000 may be components implemented in software, but some components may be implemented in hardware depending on the design method. It may be possible. For example, the image renderer 1072 may be implemented in software and may be a graphics library that can be stored in memory (e.g., memory 130 in FIG. 1), and the image renderer 1072 may be implemented in hardware. It may be a GPU (graphic processing unit).

도 11a는 본 발명의 다양한 실시예에 따른 전자 장치에서, 획득한 이미지에서 메타 데이터를 추출하는 실시예를 도시한 도면이다.FIG. 11A is a diagram illustrating an example of extracting metadata from an acquired image in an electronic device according to various embodiments of the present invention.

본 발명의 다양한 실시예에 따르면, 전자 장치(예: 도10a의 전자 장치(1000))는 카메라(예: 도 10b의 카메라(1062))가 수집한 영상을 분석하고, 영상에 포함된 적어도 하나 이상의 객체의 특징점(feature point)들을 추출할 수 있다. 예를 들어, 사용자의 얼굴을 구성하는 객체는 눈썹, 눈, 코, 입, 혀 또는 얼굴형을 포함할 수 있고, 사용자의 신체의 일부를 구성하는 객체는 손, 팔, 몸통 또는 다리를 포함할 수 있다. 영상의 특징점은 객체의 특징(예: 객체의 형태, 객체의 크기, 객체의 위치)을 표현할 수 있는 점을 의미할 수 있다. 예를 들어, 특징점은 사용자의 얼굴을 구성하는 객체(예: 눈 또는 코)로 전자 장치(1000)에 의해 인식된 점을 의미할 수 있다. 일 실시예에 따르면, 전자 장치(1000)의 프로세서(예: 도 10a의 프로세서(1020)) 상에 소프트웨어적 또는 하드웨어적으로 구현된 메타 데이터 생성부(1073))는 영상 획득부(1051)에서 획득한 이미지에서 객체의 특징점을 추출할 수 있다.According to various embodiments of the present invention, an electronic device (e.g., electronic device 1000 in FIG. 10A) analyzes an image collected by a camera (e.g., camera 1062 in FIG. 10B) and detects at least one image included in the image. Feature points of the above objects can be extracted. For example, objects that make up the user's face may include eyebrows, eyes, nose, mouth, tongue, or facial features, and objects that make up part of the user's body may include hands, arms, torso, or legs. You can. A feature point of an image may mean a point that can express the characteristics of an object (e.g., the shape of the object, the size of the object, the location of the object). For example, a feature point may mean a point recognized by the electronic device 1000 as an object (eg, eyes or nose) constituting the user's face. According to one embodiment, the metadata generator 1073) implemented in software or hardware on the processor of the electronic device 1000 (e.g., the processor 1020 in FIG. 10A) is generated from the image acquisition unit 1051. Feature points of an object can be extracted from the acquired image.

본 발명의 다양한 실시예에 따르면, 전자 장치(1000)는 추출한 특징점들 중 적어도 일부를 그룹핑하고, 특징점들의 정보에 기반하여 객체의 특징을 포함하는 변수들의 정보를 획득하고, 변수들의 정보를 포함하는 메타 데이터를 생성할 수 있다. 상기 변수는 렌더링될 이미지에 포함되는 요소들(예: 렌더링될 이미지에 포함된 객체의 특징을 구현하기 위한 요소들로써, 이미지 내의 객체가 동물인 경우, 요소들은 눈, 코, 입 또는 몸통일 수 있다)의 특성(예: 객체의 표정)을 결정하기 위한 변수일 수 있으며, 변수들의 정보는 객체들의 특성(예: 객체의 위치, 객체의 크기, 객체의 방향 또는 객체의 회전 각도) 또는 객체들 간의 관계(예: 객체(눈)과 객체(코) 사이의 거리)을 결정하는데 이용되는 변수들의 구체적인 값을 의미할 수 있다. 메타 데이터 생성부(1073)는 특징점들의 정보(예: 특징점들 사이의 거리 또는 특징점들의 위치)에 기반하여 생성된 객체들의 특성 또는 객체들 간의 관계를 포함하는 메타 데이터를 생성할 수 있다.According to various embodiments of the present invention, the electronic device 1000 groups at least some of the extracted feature points, obtains information on variables including the characteristics of the object based on the information on the feature points, and obtains information on variables including the information on the variables. Metadata can be created. The variables are elements included in the image to be rendered (e.g., elements for implementing the characteristics of the object included in the image to be rendered. If the object in the image is an animal, the elements may be eyes, nose, mouth, or body. ) may be a variable for determining the characteristics (e.g., facial expression of an object), and the information on the variables may be the characteristics of the objects (e.g., the position of the object, the size of the object, the direction of the object, or the rotation angle of the object) or between the objects. It may refer to specific values of variables used to determine a relationship (e.g., the distance between an object (eye) and an object (nose)). The metadata generator 1073 may generate metadata including characteristics of objects or relationships between objects created based on information on feature points (e.g., distances between feature points or positions of feature points).

발명의 다양한 실시예에 따르면, 상기 객체들의 특징을 포함하는 변수 및/또는 메타 데이터는 MPEG-4 Face and Body Animation (MPEG-4 FBA)에서 정의된 특징점(Feature points) 및/또는 얼굴 애니메이션 파라미터(Face Animation Parameters (FAPs))에 대응되는 값을 포함할 수 있다. 예를 들어, 상기 객체들의 특징을 포함하는 변수 및/또는 메타 데이터는 IRISD(iris diameter), ES(eye separation), ENS(eye -nose separation), MN(mouth-nose separation), MW(mouth width), AU(angle unit) 중 적어도 일부에 대응되는 데이터를 포함할 수 있다. 발명의 다양한 실시예에 따르면, 메타 데이터는 FAP data의 문법(syntax)에 따라 구성될 수 있다. According to various embodiments of the invention, variables and/or metadata containing the characteristics of the objects are feature points and/or facial animation parameters defined in MPEG-4 Face and Body Animation (MPEG-4 FBA). It may contain values corresponding to Face Animation Parameters (FAPs). For example, variables and/or metadata containing the characteristics of the objects include iris diameter (IRISD), eye separation (ES), eye-nose separation (ENS), mouth-nose separation (MN), and mouth width (MW). ), and may include data corresponding to at least some of the AU (angle units). According to various embodiments of the invention, metadata may be configured according to the syntax of FAP data.

메타 데이터는 변수들의 정보를 그룹핑한 데이터를 의미할 수 있다. 전자 장치(1000)의 프로세서(1020) 상에 소프트웨어적 또는 하드웨어적으로 구현된 메타 데이터 생성부(1073))는 추출된 특징점들의 정보에 기반하여 변수들의 정보를 획득하고, 획득한 변수들의 정보에 기반하여 메타 데이터를 생성할 수 있다. Metadata may refer to data that groups information on variables. The metadata generator 1073 implemented in software or hardware on the processor 1020 of the electronic device 1000 acquires variable information based on information on the extracted feature points, and Based on this, metadata can be created.

도 11a를 참조하면, 메타 데이터 생성부(1073)는 카메라(1062)를 이용하여 획득한 영상에서 객체(1100)를 추출하고, 객체(1100)의 특징점들을 추출할 수 있다. 특징점들을 추출하는 방식은 다양한 특징점 추출 알고리즘을 이용할 수 있다. 예를 들면, 메타 데이터 생성부(1073)는 메모리(130)에 저장된 특징점과 관련된 정보(예: 특징점의 모양에 대한 정보)를 포함하는 데이터와 카메라(1062)를 이용한 획득한 영상의 객체(1100)의 적어도 일부분을 비교하고, 객체(1100)의 적어도 일부분과 데이터에 포함된 특징점의 모양의 유사도를 계산할 수 있다. 메타 데이터 생성부(1073)는 계산된 유사도가 미리 설정된 값 이상임에 대응하여, 객체(1100)의 적어도 일부분에서 특징점을 추출할 수 있다.Referring to FIG. 11A , the metadata generator 1073 may extract the object 1100 from an image acquired using the camera 1062 and extract feature points of the object 1100. Various feature point extraction algorithms can be used to extract feature points. For example, the metadata generator 1073 may generate data containing information (e.g., information about the shape of the feature point) related to the feature point stored in the memory 130 and the object 1100 of the image acquired using the camera 1062. ) can be compared, and the similarity between the shape of at least a part of the object 1100 and the feature points included in the data can be calculated. The metadata generator 1073 may extract feature points from at least a portion of the object 1100 in response to the fact that the calculated similarity is greater than or equal to a preset value.

메타 데이터 생성부(1073)는 추출된 특징점들의 정보에 기반하여 변수들의 정보를 획득할 수 있다. 예를 들면, 메타 데이터 생성부(1073)는 객체의 눈동자의 크기(1101), 객체의 두 눈 사이의 거리(1103), 객체의 눈과 코의 간격(1105), 객체의 코와 입의 간격(1107) 및 객체의 입의 너비(1109)를 포함하는 다양한 변수들의 정보를 특징점들의 정보에 기반하여 획득할 수 있다. 메타 데이터 생성부(1073)는 획득한 변수들의 정보의 집합인 메타 데이터를 생성할 수 있다.The metadata generator 1073 may obtain information on variables based on information on extracted feature points. For example, the metadata generator 1073 determines the size of the object's pupils (1101), the distance between the object's eyes (1103), the distance between the object's eyes and nose (1105), and the distance between the object's nose and mouth. Information on various variables including (1107) and the width (1109) of the object's mouth can be obtained based on the information on the feature points. The meta data generator 1073 may generate meta data, which is a set of information on acquired variables.

도 11b는 본 발명의 다양한 실시예에 따른 전자 장치에서, 모델 및 메타 데이터에 기반하여 이미지를 렌더링하는 실시예를 도시한 도면이다.FIG. 11B is a diagram illustrating an example of rendering an image based on a model and metadata in an electronic device according to various embodiments of the present invention.

본 발명의 다양한 실시예에 따르면, 전자 장치(예: 도 10a의 전자 장치(1000))는 외부 전자 장치(예: 도 3a의 외부 전자 장치(320))로부터 수신한 응답 메시지에 포함된 외부 전자 장치(320)의 성능 정보에 기반하여 전자 장치(1000)에 구현된 모델들 중 렌더링을 수행할 모델을 선택하고, 선택된 모델을 이용하여 렌더링될 이미지에 포함될 이모지(1110)를 생성할 수 있다.According to various embodiments of the present invention, an electronic device (e.g., the electronic device 1000 in FIG. 10A) receives an external electronic device included in a response message received from an external electronic device (e.g., the external electronic device 320 in FIG. 3A). Based on the performance information of the device 320, a model to perform rendering can be selected among models implemented in the electronic device 1000, and an emoji 1110 to be included in the image to be rendered can be generated using the selected model. .

본 발명의 다양한 실시예에 따르면, 전자 장치(1000)는 적어도 하나 이상의 모델을 메모리(예: 도 10a의 메모리(1061)) 상에 저장할 수 있다. 적어도 하나 이상의 모델들은 렌더링되는 객체의 종류에 따라서 상이하게 구현될 수 있다. 예를 들면, 공룡을 렌더링하는 모델, 애완 동물을 렌더링하는 모델, 연예인을 렌더링하는 모델을 포함하는 다양한 모델들이 메모리(1061) 상에 저장될 수 있다. 전자 장치(1000)는 선택된 모델을 메모리(1061) 상에서 로딩하고, 외부 전자 장치(320)로부터 수신한 메타 데이터를 모델에 입력함으로써, 렌더링될 이미지에 포함된 이모지(1110)를 생성할 수 있다. 일 실시예에 따르면, 프로세서(1020) 상에 구현된 영상 렌더러(1072)는 메타데이터 디패킷타이저(1071)로부터 메타 데이터를 수신하고, 메모리(130) 상에 로딩된 모델에 메타 데이터를 입력함으로써, 렌더링될 이미지에 포함된 이모지(1110)를 생성할 수 있다. 영상 렌더러(1072)는 프로세서(1020)가 제공하는 자원 또는 별도의 그래픽 처리 유닛이 제공하는 자원을 이용하여 이모지(1110)를 포함하는 이미지를 렌더링할 수 있다. 렌더링한 이미지는 디스플레이(예: 도 10b의 디스플레이(1064)) 상에서 디스플레이될 수 있다. According to various embodiments of the present invention, the electronic device 1000 may store at least one model in memory (eg, memory 1061 in FIG. 10A). At least one model may be implemented differently depending on the type of object being rendered. For example, various models including models rendering dinosaurs, models rendering pets, and models rendering celebrities may be stored in the memory 1061. The electronic device 1000 can generate the emoji 1110 included in the image to be rendered by loading the selected model on the memory 1061 and inputting metadata received from the external electronic device 320 into the model. . According to one embodiment, the image renderer 1072 implemented on the processor 1020 receives metadata from the metadata depacketizer 1071 and inputs the metadata to the model loaded on the memory 130. By doing so, the emoji 1110 included in the image to be rendered can be generated. The image renderer 1072 may render an image including the emoji 1110 using resources provided by the processor 1020 or resources provided by a separate graphics processing unit. The rendered image may be displayed on a display (eg, display 1064 in FIG. 10B).

도 11b를 참조하면, 전자 장치(1000)는 외부 전자 장치(320)의 응답 메시지에 기반하여 애완 동물을 렌더링하는 모델을 선택하고, 선택된 모델에 외부 전자 장치(320)로부터 수신한 메타 데이터를 입력할 수 있다. 예를 들면, 전자 장치(1000)는 메타 데이터에 포함된 객체의 눈동자의 크기(1101), 객체의 두 눈 사이의 거리(1103), 객체의 눈과 코의 간격(1105), 객체의 코와 입의 간격(1107) 및 객체의 입의 너비(1109)에 대한 정보를 선택된 모델로 입력하는 방식으로 렌더링될 이미지에 포함된 이모지를 생성할 수 있다. 전자 장치(1000)는 생성된 이모지(1110)를 포함하는 이미지를 렌더링하고, 렌더링된 이미지를 디스플레이(1064) 상에 디스플레이할 수 있다. Referring to FIG. 11B, the electronic device 1000 selects a model for rendering a pet based on the response message from the external electronic device 320 and inputs metadata received from the external electronic device 320 into the selected model. can do. For example, the electronic device 1000 includes the size of the pupil of the object 1101, the distance between the two eyes of the object 1103, the distance between the eyes and the nose of the object 1105, and the distance between the nose and the object of the object included in the metadata. The emoji included in the image to be rendered can be created by inputting information about the mouth spacing (1107) and the object's mouth width (1109) into the selected model. The electronic device 1000 may render an image including the generated emoji 1110 and display the rendered image on the display 1064.

도 12는 본 발명의 다양한 실시예에 따른 제 1 전자 장치 및 제 2 전자 장치가 호 연결을 수행하는 동작을 도시한 동작 흐름도이다.FIG. 12 is an operation flowchart illustrating an operation in which a first electronic device and a second electronic device perform a call connection according to various embodiments of the present invention.

본 발명의 다양한 실시예에 따른 제 1 전자 장치(예: 도 3a 및 도 3b의 제 1 전자 장치(310) 또는 도 10a의 전자 장치(1000))는 동작 1210에서, 제 2 전자 장치(예: 도 3a 및 도 3b의 제 2 전자 장치(320))로 호 연결 요청 메시지(예: SDP 세션 프로토콜에 정의된 SDP Invite 메시지)를 전송할 수 있다.In operation 1210, a first electronic device (e.g., the first electronic device 310 of FIGS. 3A and 3B or the electronic device 1000 of FIG. 10A) according to various embodiments of the present invention operates a second electronic device (e.g., A call connection request message (eg, an SDP Invite message defined in the SDP session protocol) may be transmitted to the second electronic device 320 of FIGS. 3A and 3B.

본 발명의 다양한 실시예에 따르면, 제 1 전자 장치(1000)는 호 연결 완료 이전, 외부 전자 장치(320)가 메타 데이터 기반 영상 통화의 지원 여부를 확인하기 위해서, 메타 데이터 기반 영상 통화의 지원 여부와 관련된 전자 장치(1000)의 성능 정보가 포함된 호 연결 요청 메시지를 외부 전자 장치(320)로 전송할 수 있다. 예를 들면, 호 연결 요청 메시지는 아래의 표 3에 기재된 형태로 구현될 수 있다.According to various embodiments of the present invention, before completing a call connection, the first electronic device 1000 determines whether the external electronic device 320 supports metadata-based video calls by checking whether metadata-based video calls are supported. A call connection request message containing performance information of the electronic device 1000 related to may be transmitted to the external electronic device 320. For example, the call connection request message may be implemented in the form shown in Table 3 below.

[-->] INVITE
m=audio 7010 RTP/AVP 110 100 98
b=AS:42
a=rtpmap:110 EVS/16000
a=rtpmap:100 AMR-WB/16000/1
a=rtpmap:98 AMR/8000/1
......
m=video 7020 RTP/AVP 112 102 34
b=AS:1280
a=rtpmap:112 H265/90000
a=imageattr:112 send [x=720, y=1280] recv [x=720, y=1280]
a=emoji_metadata:112 modelinfo=samsung_emoji_model_set_v2 facial_feature=MPEG4_facial_animation_standard
a=rtpmap:102 H264/90000
a=imageattr:102 send [x=480, y=640] recv [x=480, y=640]
a=emoji_metadata:102 modelinfo=samsung_emoji_model_set_v2 facial_feature=MPEG4_facial_animation_standard
a=rtpmap:34 H263/90000
a=imageattr:34 send [x=176, y=144] recv [x=176, y=144]
[-->] INVITE
m=audio 7010 RTP/AVP 110 100 98
b=AS:42
a=rtpmap:110EVS/16000
a=rtpmap:100 AMR-WB/16000/1
a=rtpmap:98 AMR/8000/1
......
m=video 7020 RTP/AVP 112 102 34
b=AS:1280
a=rtpmap:112 H265/90000
a=imageattr:112 send [x=720, y=1280] recv [x=720, y=1280]
a=emoji_metadata:112 modelinfo=samsung_emoji_model_set_v2 facial_feature=MPEG4_facial_animation_standard
a=rtpmap:102 H264/90000
a=imageattr:102 send [x=480, y=640] recv [x=480, y=640]
a=emoji_metadata:102 modelinfo=samsung_emoji_model_set_v2 facial_feature=MPEG4_facial_animation_standard
a=rtpmap:34 H263/90000
a=imageattr:34 send [x=176, y=144] recv [x=176, y=144]

표 3을 참조하면, 호 연결 요청 메시지는 제 1 전자 장치(310)가 메타 데이터 기반 영상 통화를 지원함을 지시하는 정보(a=emoji_metadata), 메타 데이터 기반 이모지 영상 통화를 수행함에 있어서 사용할 수 있는 모델의 정보(modelinfo=Samsung_emoji_model_set_v2) 또는 메타 데이터의 표준 정보(facial_feature=MPEG4_facial_animation_standard)를 포함할 수 있다. Referring to Table 3, the call connection request message includes information indicating that the first electronic device 310 supports metadata-based video calls (a=emoji_metadata), which can be used when performing metadata-based emoji video calls. It may include model information (modelinfo=Samsung_emoji_model_set_v2) or metadata standard information (facial_feature=MPEG4_facial_animation_standard).

본 발명의 다양한 실시예에 따르면, 동작 1220에서, 제 2 전자 장치(320)는 메타 데이터 기반 영상 통화와 관련된 제 2 전자 장치(320)의 성능을 확인할 수 있다.According to various embodiments of the present invention, in operation 1220, the second electronic device 320 may check the performance of the second electronic device 320 related to a metadata-based video call.

본 발명의 다양한 실시예에 따르면, 제 2 전자 장치(320)는 호 연결 요청 메시지에 포함된 제 1 전자 장치(310)의 메타 데이터 기반 영상 통화와 관련된 제 1 전자 장치(310)의 성능 정보를 확인하고, 제2 전자 장치(320)가 확인된 영상 통화 방식들 중 제 2 전자 장치(320)가 지원하는 적어도 하나 이상의 영상 통화 방식을 선택할 수 있다.According to various embodiments of the present invention, the second electronic device 320 receives performance information of the first electronic device 310 related to a metadata-based video call of the first electronic device 310 included in the call connection request message. After confirming, the second electronic device 320 may select at least one video call method supported by the second electronic device 320 among the confirmed video call methods.

본 발명의 다양한 실시예에 따르면, 동작 1230에서, 제 2 전자 장치(320)는 응답 메시지(예: SDP 프로토콜에 정의된 SDP 200 OK 메시지)를 제 1 전자 장치(310)로 전송할 수 있다.According to various embodiments of the present invention, in operation 1230, the second electronic device 320 may transmit a response message (e.g., an SDP 200 OK message defined in the SDP protocol) to the first electronic device 310.

본 발명의 다양한 실시예에 따르면, 응답 메시지는 메타 데이터 기반 영상 통화와 관련된 제 2 전자 장치(320)의 성능을 포함할 수 있다. 예를 들면, 응답 메시지는 메타 데이터 기반 영상 통화를 지원하는지 여부를 지시하는 인디케이터, 메타 데이터 기반 영상 통화에 이용되는 모델 정보를 지시하는 인디케이터 또는 메타 데이터를 생성하는데 이용된 표준 정보를 지시하는 인디케이터 중 적어도 하나를 포함할 수 있다. 예를 들어, 응답 메시지는 아래의 표 4에 기재된 형태로 구현될 수 있다.According to various embodiments of the present invention, the response message may include the performance of the second electronic device 320 related to metadata-based video call. For example, the response message may include an indicator indicating whether metadata-based video calls are supported, an indicator indicating model information used for metadata-based video calls, or an indicator indicating standard information used to generate metadata. It can contain at least one. For example, the response message may be implemented in the form shown in Table 4 below.

[<--] SIP/2.0 200 OK
m=audio 12350 RTP/AVP 100
b=AS:41
a=rtpmap:100 AMR-WB/16000/1
......
m=video 15490 RTP/AVP 102
b=AS:640
a=rtpmap:102 H264/90000
a=imageattr:102 send [x=480, y=640] recv [x=480, y=640]
a=emoji_metadata:102 modelinfo=samsung_emoji_model_set_v2 facial_feature=MPEG4_facial_animation_standard
[<--] SIP/2.0 200 OK
m=audio 12350 RTP/AVP 100
b=AS:41
a=rtpmap:100 AMR-WB/16000/1
......
m=video 15490 RTP/AVP 102
b=AS:640
a=rtpmap:102 H264/90000
a=imageattr:102 send [x=480, y=640] recv [x=480, y=640]
a=emoji_metadata:102 modelinfo=samsung_emoji_model_set_v2 facial_feature=MPEG4_facial_animation_standard

표 4를 참조하면, 응답 메시지는 제 2 전자 장치(320)가 메타 데이터에 기반한 영상 통화를 지원하는지 여부를 지시하는 인디케이터(a=emoji_metadata), 메타 데이터에 기반한 영상 통화를 수행할 때 이용하는 모델에 대한 정보 (modelinfo+Samsung_emoji_model_set_v2), 메타 데이터를 생성할 때에 있어 사용하는 표준 정보(facial_feature=MPEG4_facial_animation_standard)를 포함할 수 있다. Referring to Table 4, the response message includes an indicator (a=emoji_metadata) indicating whether the second electronic device 320 supports video calls based on metadata, and a model used when performing video calls based on metadata. It may include information about (modelinfo+Samsung_emoji_model_set_v2) and standard information used when creating metadata (facial_feature=MPEG4_facial_animation_standard).

본 발명의 다양한 실시예에 따르면, 동작 1240에서, 제 1 전자 장치(1000)는, 제 2 전자 장치(320)의 성능 정보에 기반하여 메타 데이터에 기반한 영상 통화의 수행 여부를 결정할 수 있다. According to various embodiments of the present invention, in operation 1240, the first electronic device 1000 may determine whether to perform a video call based on metadata based on performance information of the second electronic device 320.

본 발명의 다양한 실시예에 따르면, 제 1 전자 장치(1000)는 응답 메시지에 포함된 메타 데이터 기반 영상 통화의 지원 함을 지시하는 인디케이터를 확인하고, 메타 데이터 기반 영상 통화를 수행할 것을 결정할 수 있다.According to various embodiments of the present invention, the first electronic device 1000 may check an indicator indicating support for a metadata-based video call included in a response message and decide to perform a metadata-based video call. .

본 발명의 다양한 실시예에 따르면, 제 1 전자 장치(1000)는 응답 메시지에 포함된 메타 데이터 기반 영상 통화를 지원하지 않음을 지시하는 인디케이터를 확인하고, 메타 데이터 기반 영상 통화를 수행하지 않을 것을 결정할 수 있다. 또는, 제 1 전자 장치(1000)는 응답 메시지에 메타 데이터 기반 영상 통화를 지원함을 지시하는 인디케이터가 존재하지 않음을 확인함에 대응하여, 메타 데이터 기반 영상 통화를 수행하지 않을 것을 결정할 수도 있다. 제 1 전자 장치(1000)는 메타 데이터 기반 영상 통화를 수행하지 않는 경우, 외부 전자 장치(320)가 전송하거나, 전자 장치(1000)가 전송하는 영상(또는, 이미지 스트림)을 교환하는 방식의 영상 통화를 수행할 것으로 결정할 수 있다.According to various embodiments of the present invention, the first electronic device 1000 checks the indicator indicating that metadata-based video call is not supported included in the response message and determines not to perform metadata-based video call. You can. Alternatively, the first electronic device 1000 may determine not to perform a metadata-based video call in response to confirming that there is no indicator indicating that metadata-based video call is supported in the response message. When the first electronic device 1000 does not perform a metadata-based video call, the first electronic device 1000 exchanges the video (or image stream) transmitted by the external electronic device 320 or the electronic device 1000. You may decide to conduct a call.

본 발명의 다양한 실시예에 따르면, 동작 1250에서, 제 1 전자 장치(1000)는 호 연결 확정 메시지(예: SDP 세션 프로토콜에 정의된 SDP ACK 메시지)를 제 2 전자 장치(320)로 전송할 수 있다.According to various embodiments of the present invention, in operation 1250, the first electronic device 1000 may transmit a call connection confirmation message (e.g., an SDP ACK message defined in the SDP session protocol) to the second electronic device 320. .

본 발명의 다양한 실시예에 따르면, 호 연결 확정 메시지는 메타 데이터 기반 영상 통화를 수행하는지 여부를 지시하는 인디케이터를 포함할 수 있다.According to various embodiments of the present invention, the call connection confirmation message may include an indicator indicating whether a metadata-based video call is being performed.

본 발명의 다양한 실시예에 따르면, 동작 1261에서, 제 1 전자 장치(1000)는 호 연결을 위한 제 1 전자 장치(1000)의 구성 요소들에 대한 설정 동작을 수행할 수 있다.According to various embodiments of the present invention, in operation 1261, the first electronic device 1000 may perform a setting operation for the components of the first electronic device 1000 for call connection.

본 발명의 다양한 실시예에 따르면, 전자 장치(1000)는 호 연결 확정 메시지를 수신한 외부 전자 장치(320)와 호 연결을 위한 다양한 동작들(예: 음성 데이터를 생성하기 위해 마이크(311)를 활성화하는 동작, 영상 데이터를 생성하기 위해 카메라(341)를 활성화하는 동작, 메타 데이터 기반 영상 통화 방식에 포함된 렌더링 동작을 수행하는 모델을 활성화 하는 동작 또는 호 채널 수립을 위한 데이터를 전송하거나, 수신하도록 통신 모듈(1010)을 제어하는 동작)을 수행할 수 있다.According to various embodiments of the present invention, the electronic device 1000 performs various operations (for example, using the microphone 311 to generate voice data) for a call connection with the external electronic device 320 that has received the call connection confirmation message. An operation of activating, an operation of activating the camera 341 to generate video data, an operation of activating a model that performs a rendering operation included in a metadata-based video call method, or transmitting or receiving data for establishing a call channel. An operation of controlling the communication module 1010 may be performed.

본 발명의 다양한 실시예에 따르면, 동작 1263에서, 제 2 전자 장치(320)는 호 연결을 위한 제 2 전자 장치(320)의 구성 요소들에 대한 설정 동작을 수행할 수 있다.According to various embodiments of the present invention, in operation 1263, the second electronic device 320 may perform a setting operation for the components of the second electronic device 320 for call connection.

본 발명의 다양한 실시예에 따르면, 제 2 전자 장치(320)는 메타 데이터 기반 영상 통화를 수행할 것으로 결정함에 대응하여, 메타 데이터 기반 영상 통화를 수행하는데 있어 필요한 구성 요소들(예: 도 10b의 메타데이터 디패킷타이저(1071), 도 10b의 영상 렌더러(1072), 도 10b의 메타 데이터 생성부(1073) 또는 도 10b의 메타데이터 패킷 타이저(1074))을 활성화시킬 수 있다. 제 2 전자 장치(320)가 메타 데이터 기반 영상 통화를 위한 모델을 활성화 하는 동작은, 예를 들어, 전자 장치(예: 영상통화 어플리케이션 146, 영상 렌더러)가 비휘발성 메모리(134)에 저장된 모델(모델링 데이터)을 휘발성 메모리(132)에 로드(load)하는 동작을 포함할 수 있다.According to various embodiments of the present invention, in response to determining that the second electronic device 320 will perform a metadata-based video call, the second electronic device 320 configures the components necessary to perform the metadata-based video call (e.g., in FIG. 10B). The metadata depacketizer 1071, the image renderer 1072 in FIG. 10B, the metadata generator 1073 in FIG. 10B, or the metadata packetizer 1074 in FIG. 10B can be activated. The operation of the second electronic device 320 activating a model for a metadata-based video call is, for example, an electronic device (e.g., video call application 146, video renderer) using a model stored in the non-volatile memory 134 ( An operation of loading modeling data) into the volatile memory 132 may be included.

본 발명의 다양한 실시예에 따르면, 동작 1270에서, 제 1 전자 장치(1000) 및 제 2 전자 장치(320)는 호 연결을 완료하고, 호 채널을 이용한 통화를 수행할 수 있다.According to various embodiments of the present invention, in operation 1270, the first electronic device 1000 and the second electronic device 320 complete the call connection and perform a call using the call channel.

본 발명의 다양한 실시예에 따르면, 제 1 전자 장치(1000) 및 제 2 전자 장치(320)는 메타 데이터를 호 채널을 통해 전송하거나, 수신할 수 있다. 제 1 전자 장치(1000) 및 제 2 전자 장치(320)는 수신한 메타 데이터를 메모리(130)에 로드된 모델에 입력하는 방식으로, 렌더링될 이미지에 포함된 이모지(1110)를 생성할 수 있다. 제 1 전자 장치(1000) 및 제 2 전자 장치(320)는 이모지(1110)를 포함하는 이미지를 렌더링하여 생성된 영상을 디스플레이(1061) 상에 디스플레이할 수 있다. 제 1 전자 장치(1000) 및 제 2 전자 장치(320)는 이미지 스트림보다 작은 용량을 갖는 메타 데이터를 교환하는 방식의 영상 통화를 통해 데이터 소모량이 상대적으로 낮은 영상 통화를 구현할 수 있다.According to various embodiments of the present invention, the first electronic device 1000 and the second electronic device 320 may transmit or receive metadata through a call channel. The first electronic device 1000 and the second electronic device 320 can generate the emoji 1110 included in the image to be rendered by inputting the received metadata into the model loaded in the memory 130. there is. The first electronic device 1000 and the second electronic device 320 may display an image generated by rendering an image including an emoji 1110 on the display 1061. The first electronic device 1000 and the second electronic device 320 can implement a video call with relatively low data consumption through a video call that exchanges metadata with a capacity smaller than an image stream.

본 발명의 다양한 실시예에 따른 전자 장치는 외부 전자 장치와 호 연결을 통해 수립(establish)된 호(call) 채널을 이용하여 데이터를 전송하거나, 수신하는 통신 모듈; 및 프로세서를 포함하고, 상기 프로세서는 외부 전자 장치와 상기 전자 장치 간 호 채널 수립을 위한 호 연결 요청 메시지를 전송하고,An electronic device according to various embodiments of the present invention includes a communication module that transmits or receives data using a call channel established through a call connection with an external electronic device; and a processor, wherein the processor transmits a call connection request message for establishing a call channel between an external electronic device and the electronic device,

상기 외부 전자 장치로부터 응답 메시지를 수신하고, 메타 데이터에 기반하여 생성된 이모지를 포함하는 이미지를 이용한 메타 데이터 기반 영상 통화를 상기 호 연결을 통해 수행할지 여부를 상기 응답 메시지에 포함된 상기 호 연결과 관련된 상기 외부 전자 장치의 성능 정보(capability information)에 기반하여 결정하고, 상기 메타 데이터 기반 영상 통화의 수행 여부를 지시하는 호 연결 확정 메시지를 상기 외부 전자 장치로 전송하고, 상기 호 채널 수립을 완료하도록 상기 통신 모듈을 제어하고, 상기 호 연결 요청 메시지는 상기 메타 데이터 기반 영상 통화의 지원 여부와 관련된 상기 전자 장치의 성능 정보를 포함할 수 있다.A response message is received from the external electronic device, and whether to perform a metadata-based video call using an image including an emoji generated based on metadata through the call connection is determined by the call connection included in the response message. Make a decision based on capability information of the relevant external electronic device, transmit a call connection confirmation message indicating whether to perform the metadata-based video call to the external electronic device, and complete the call channel establishment. The communication module is controlled, and the call connection request message may include performance information of the electronic device related to whether the metadata-based video call is supported.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 전자 장치의 성능 정보는 상기 메타 데이터 기반 영상 통화를 수행하기 위한 상기 전자 장치의 구성 요소가 존재하는지 여부를 지시하는 인디케이터를 포함할 수 있다.In an electronic device according to various embodiments of the present invention, the performance information of the electronic device may include an indicator indicating whether a component of the electronic device for performing the metadata-based video call exists.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 전자 장치의 구성 요소는 상기 메타 데이터에 기반한 이모지를 생성하는 모델을 포함할 수 있다.In an electronic device according to various embodiments of the present invention, components of the electronic device may include a model for generating an emoji based on the metadata.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 호 연결 요청 메시지는 상기 전자 장치가 지원 가능한 적어도 하나 이상의 모델의 식별 정보를 포함할 수 있다.In an electronic device according to various embodiments of the present invention, the call connection request message may include identification information of at least one model that the electronic device can support.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 응답 메시지는 상기 외부 전자 장치가 지원 가능한 적어도 하나 이상의 모델의 식별 정보를 포함할 수 있다.In an electronic device according to various embodiments of the present invention, the response message may include identification information of at least one model that the external electronic device can support.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 호 채널 수립을 완료한 이후, 상기 메타 데이터 기반 영상 통화를 지원하는 외부 전자 장치로부터 영상을 생성하기 위한 데이터를 수신하고, 상기 데이터를 상기 모델에 입력하여 상기 메타 데이터에 대응하는 이모지를 생성하고, 상기 생성된 이모지를 포함하는 영상을 디스플레이 상에 출력하도록 설정될 수 있다.In an electronic device according to various embodiments of the present invention, after completing the call channel establishment, the processor receives data for generating a video from an external electronic device that supports the metadata-based video call, and sends the data It can be set to input an emoji corresponding to the metadata by inputting it into the model, and output an image including the generated emoji on a display.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 호 채널을 통한 상기 외부 전자 장치와 연결된 상태에서, 상기 모델의 변경을 요청하는 사용자 입력을 수신하고, 상기 모델의 변경을 지시하는 인디케이터를 상기 외부 전자 장치로 전송하도록 설정될 수 있다.In an electronic device according to various embodiments of the present invention, the processor receives a user input requesting change of the model while connected to the external electronic device through the call channel, and displays an indicator indicating change of the model. may be set to transmit to the external electronic device.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 호 채널 수립을 완료한 이후, 상기 메타 데이터에 기반한 렌더링 동작을 지원하지 않는 외부 전자 장치로부터 영상 데이터를 수신하고, 상기 영상 데이터를 디스플레이 상에 출력하도록 설정될 수 있다.In an electronic device according to various embodiments of the present invention, after completing the call channel establishment, the processor receives image data from an external electronic device that does not support a rendering operation based on the metadata, and displays the image data. It can be set to output on the screen.

도 13은 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법(1300)을 도시한 동작 흐름도이다.FIG. 13 is an operation flowchart illustrating a method 1300 of operating an electronic device according to various embodiments of the present invention.

본 발명의 다양한 실시예에 따르면, 동작 1310에서, 전자 장치(예: 도 10a의 전자 장치(1000))는 호 채널 수립을 위한 호 연결 요청 메시지를 전송할 수 있다.According to various embodiments of the present invention, in operation 1310, an electronic device (e.g., the electronic device 1000 of FIG. 10A) may transmit a call connection request message for establishing a call channel.

본 발명의 다양한 실시예에 따르면, 프로세서(1020)는 호 연결 완료 이전, 외부 전자 장치(320)가 메타 데이터 기반 영상 통화의 지원 여부를 확인하기 위해서, 메타 데이터 기반 영상 통화의 지원 여부와 관련된 전자 장치(1000)의 성능 정보가 포함된 호 연결 요청 메시지를 외부 전자 장치(320)로 전송할 수 있다.According to various embodiments of the present invention, before completing the call connection, the processor 1020 performs an electronic device related to whether the external electronic device 320 supports the metadata-based video call in order to check whether the metadata-based video call is supported. A call connection request message containing performance information of the device 1000 may be transmitted to the external electronic device 320.

본 발명의 다양한 실시에에 따르면, 전자 장치(1000)의 성능 정보는 메타 데이터 기반 영상 통화 방식에서 요구되는 전자 장치(1000)의 구성 요소가 존재하는지 여부를 지시하는 정보를 포함할 수 있다. 일 실시예에 따르면, 전자 장치(1000)의 구성 요소는 메타 데이터를 렌더링하는 모델을 포함할 수 있으며, 전자 장치(1000)의 성능 정보는 메타 데이터를 렌더링하는 모델이 전자 장치(1000)에 존재하는지 여부를 지시하는 정보를 포함할 수 있다.According to various embodiments of the present invention, the performance information of the electronic device 1000 may include information indicating whether components of the electronic device 1000 required in a metadata-based video call method exist. According to one embodiment, the components of the electronic device 1000 may include a model for rendering metadata, and the performance information of the electronic device 1000 may be determined by the presence of a model for rendering metadata in the electronic device 1000. It may include information indicating whether or not to do so.

본 발명의 다양한 실시예에 따르면, 호 연결 요청 메시지는 메타 데이터 기반 영상 통화 방식에서 요구되는 메타 데이터를 렌더링하는 모델의 식별 정보를 포함할 수 있다. 모델의 식별 정보는 모델의 버전 정보, 모델의 제조사 정보, 모델이 이용하는 표준(예: MPEG-4 face and body animation)을 지시하는 정보를 포함할 수 있다.According to various embodiments of the present invention, the call connection request message may include identification information of a model that renders metadata required in a metadata-based video call method. The model's identification information may include model version information, model manufacturer information, and information indicating the standard (e.g., MPEG-4 face and body animation) used by the model.

본 발명의 다양한 실시예에 따르면, 동작 1320에서, 전자 장치(1000)는 영상 통화와 관련된 외부 전자 장치(320)의 성능 정보가 포함된 응답 메시지를 수신할 수 있다.According to various embodiments of the present invention, in operation 1320, the electronic device 1000 may receive a response message containing performance information of the external electronic device 320 related to the video call.

본 발명의 다양한 실시예에 따르면, 응답 메시지는 SDP 프로토콜에 정의된 SDP 200 OK 메시지 형식으로 구현될 수 있다.According to various embodiments of the present invention, the response message may be implemented in the SDP 200 OK message format defined in the SDP protocol.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(320)가 전송하는 응 답 메시지는 호 연결과 관련된 외부 전자 장치(320)의 성능 정보를 포함할 수 있다. According to various embodiments of the present invention, the response message transmitted by the external electronic device 320 may include performance information of the external electronic device 320 related to the call connection.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(320)의 성능 정보는 외부 전자 장치(320)와 전자 장치(1000) 사이에 수행되는 메타 데이터 기반 영상 통화 방식을 지원하기 위한 구성 요소들(예: 소프트웨어적으로 구현된 구성 요소들(메타 데이터를 렌더링하기 위한 모델) 또는 하드웨어적으로 구현된 구성 요소들(예: 그래픽 처리 유닛(graphic processing unit, GPU))에 대한 정보를 포함할 수 있다.According to various embodiments of the present invention, the performance information of the external electronic device 320 includes components (e.g., : May include information about components implemented in software (model for rendering metadata) or components implemented in hardware (e.g., graphic processing unit (GPU)).

본 발명의 다양한 실시예에 따르면, 동작 1330에서, 전자 장치(1000)는 외부 전자 장치(320)의 성능 정보에 기반하여 메타 데이터 기반 영상 통화의 수행 여부를 결정할 수 있다.According to various embodiments of the present invention, in operation 1330, the electronic device 1000 may determine whether to perform a metadata-based video call based on performance information of the external electronic device 320.

본 발명의 다양한 실시예에 따르면, 프로세서(1020)는 응답 메시지에 포함된 외부 전자 장치(320)의 성능 정보를 확인하고, 외부 전자 장치(320)가 메타 데이터 기반 영상 통화를 지원할 수 있는지 여부 또는 메타 데이터 기반 영상 통화를 지원하는 경우, 메타 데이터 기반 영상 통화에 이용될 모델의 정보 또는 메타 데이터 기반 영상 통화에 이용될 메타 데이터의 생성에 이용될 표준 정보를 확인할 수 있다. According to various embodiments of the present invention, the processor 1020 checks the performance information of the external electronic device 320 included in the response message and determines whether the external electronic device 320 can support a metadata-based video call or If metadata-based video calls are supported, you can check information on the model to be used in metadata-based video calls or standard information to be used in creating metadata to be used in metadata-based video calls.

본 발명의 다양한 실시예에 따르면, 동작 1340에서, 전자 장치(1000)는 메타 데이터 기반 영상 통화의 수행 여부를 지시하는 호 연결 확정 메시지를 전송할 수 있다. 예를 들어, 호 연결 확정 메시지는 SDP 세션 프로토콜에 정의된 SDP ACK 메시지 형태로 구현될 수 있다.According to various embodiments of the present invention, in operation 1340, the electronic device 1000 may transmit a call connection confirmation message indicating whether to perform a metadata-based video call. For example, the call connection confirmation message may be implemented in the form of an SDP ACK message defined in the SDP session protocol.

본 발명의 다양한 실시예에 따르면, 전자 장치(1000)는 호 연결 확정 메시지를 수신한 외부 전자 장치(320)와 호 연결을 위한 다양한 동작들(예: 음성 데이터를 생성하기 위해 마이크(311)를 활성화하는 동작, 영상 데이터를 생성하기 위해 카메라(341)를 활성화하는 동작, 메타 데이터 기반 영상 통화 방식에 포함된 렌더링될 이미지에 포함될 이모지(예: 도 11b의 이모지(1110))를 생성하는 모델을 활성화 하는 동작 또는 호 채널 수립을 위한 데이터를 전송하거나, 수신하도록 통신 모듈(1010)을 제어하는 동작)을 수행할 수 있다.According to various embodiments of the present invention, the electronic device 1000 performs various operations (for example, using the microphone 311 to generate voice data) for a call connection with the external electronic device 320 that has received the call connection confirmation message. An operation of activating, an operation of activating the camera 341 to generate video data, and an operation of generating an emoji (e.g., emoji 1110 in FIG. 11B) to be included in an image to be rendered included in a metadata-based video call method. An operation of activating a model or an operation of controlling the communication module 1010 to transmit or receive data for establishing a call channel may be performed.

도 14는 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법(1400)을 도시한 동작 흐름도이다.FIG. 14 is an operation flowchart illustrating a method 1400 of operating an electronic device according to various embodiments of the present invention.

본 발명의 다양한 실시예에 따르면, 동작 1410에서, 전자 장치(예: 도 3a의 제 2 전자 장치(320))는 호 채널 수립을 위한 호 연결 요청 메시지를 외부 전자 장치(예: 도 10a의 전자 장치(1000))로부터 수신할 수 있다. 예를 들어, 호 연결 요청 메시지는 SDP에 정의된 SDP Invite 메시지 형식으로 구현될 수 있다.According to various embodiments of the present invention, in operation 1410, the electronic device (e.g., the second electronic device 320 of FIG. 3A) sends a call connection request message for establishing a call channel to an external electronic device (e.g., the electronic device of FIG. 10A). It can be received from the device 1000). For example, the call connection request message can be implemented in the SDP Invite message format defined in SDP.

본 발명의 다양한 실시예에 따르면, 호 연결 요청 메시지는 제 1 전자 장치(310)가 메타 데이터 기반 영상 통화를 지원함을 지시하는 정보, 메타 데이터 기반 이모지 영상 통화를 수행함에 있어서 사용할 수 있는 모델의 정보 또는 메타 데이터의 표준 정보를 포함할 수 있다. According to various embodiments of the present invention, the call connection request message includes information indicating that the first electronic device 310 supports metadata-based video calls and a model that can be used in performing metadata-based emoji video calls. It may contain standard information or metadata.

본 발명의 다양한 실시예에 따르면, 동작 1420에서, 전자 장치(320)는 메타 데이터 기반 영상 통화와 관련된 전자 장치(320)의 성능 정보가 포함된 응답 메시지를 외부 전자 장치(1000)로 전송할 수 있다. 예를 들어, 응답 메시지는 SDP 프로토콜에 정의된 SDP 200 OK 메시지 형식으로 구현될 수 있다.According to various embodiments of the present invention, in operation 1420, the electronic device 320 may transmit a response message containing performance information of the electronic device 320 related to a metadata-based video call to the external electronic device 1000. . For example, the response message may be implemented in the SDP 200 OK message format defined in the SDP protocol.

본 발명의 다양한 실시예에 따르면, 응답 메시지는 메타 데이터 기반 영상 통화와 관련된 전자 장치(320)의 성능을 포함할 수 있다. 예를 들면, 응답 메시지는 메타 데이터 기반 영상 통화를 지원하는지 여부를 지시하는 인디케이터, 메타 데이터 기반 영상 통화에 이용되는 모델 정보를 지시하는 인디케이터 또는 메타 데이터를 생성하는데 이용된 표준 정보를 지시하는 인디케이터 중 적어도 하나를 포함할 수 있다. According to various embodiments of the present invention, the response message may include the performance of the electronic device 320 related to the metadata-based video call. For example, the response message may include an indicator indicating whether metadata-based video calls are supported, an indicator indicating model information used for metadata-based video calls, or an indicator indicating standard information used to generate metadata. It can contain at least one.

본 발명의 다양한 실시예에 따르면, 동작 1430에서, 전자 장치(320)는 메타 데이터 기반 영상 통화의 수행 여부를 지시하는 호 연결 확정 메시지를 외부 전자 장치(1000)로부터 수신할 수 있다. 예를 들어, 호 연결 확정 메시지는 SDP 세션 프로토콜에 정의된 SDP ACK 메시지 형태로 구현될 수 있다.According to various embodiments of the present invention, in operation 1430, the electronic device 320 may receive a call connection confirmation message from the external electronic device 1000 indicating whether to perform a metadata-based video call. For example, the call connection confirmation message may be implemented in the form of an SDP ACK message defined in the SDP session protocol.

본 발명의 다양한 실시예에 따르면, 호 연결 확정 메시지는 SDP 세션 프로토콜에 정의된 SDP ACK 메시지 형태로 구현될 수 있다. 호 연결 확정 메시지는 메타 데이터 기반 영상 통화를 수행하는지 여부를 지시하는 인디케이터를 포함할 수 있다.According to various embodiments of the present invention, the call connection confirmation message may be implemented in the form of an SDP ACK message defined in the SDP session protocol. The call connection confirmation message may include an indicator indicating whether a metadata-based video call is being performed.

본 발명의 다양한 실시예에 따르면, 동작 1440에서, 전자 장치(320)는 호 연결을 위한 구성 요소들을 설정할 수 있다.According to various embodiments of the present invention, in operation 1440, the electronic device 320 may set components for call connection.

본 발명의 다양한 실시예에 따르면, 전자 장치(320)는 메타 데이터 기반 영상 통화를 수행할 것으로 결정함에 대응하여, 메타 데이터 기반 영상 통화를 수행하는데 있어 필요한 구성 요소들(예: 도 10b의 메타데이터 디패킷타이저(1071), 도 10b의 영상 렌더러(1072), 도 10b의 메타 데이터 생성부(1073) 또는 도 10b의 메타데이터 패킷 타이저(1074))을 활성화시킬 수 있다.According to various embodiments of the present invention, in response to determining that the electronic device 320 will perform a metadata-based video call, the electronic device 320 collects the components required to perform the metadata-based video call (e.g., the metadata of FIG. 10B The depacketizer 1071, the image renderer 1072 in FIG. 10B, the metadata generator 1073 in FIG. 10B, or the metadata packetizer 1074 in FIG. 10B can be activated.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 외부 전자 장치와 상기 전자 장치 간 호 채널 수립을 위한 호 연결 요청 메시지를 전송하는 동작; 상기 외부 전자 장치로부터 응답 메시지를 수신하는 동작; 상기 응답 메시지에 포함된 상기 호 연결과 관련된 상기 외부 전자 장치의 성능 정보(capability information)에 기반하여 상기 호 연결을 통해 전송되는 컨텐츠의 품질을 변경하는 전송 필터를 이용한 상기 컨텐츠의 전처리 동작을 수행할지 여부를 결정하는 동작; 상기 컨텐츠의 전처리 동작의 수행 여부를 지시하는 호 연결 확정 메시지를 상기 외부 전자 장치로 전송하는 동작; 및 상기 호 채널 수립을 완료하는 동작을 포함하고, 상기 호 연결 요청 메시지는 상기 전송 필터와 관련된 상기 전자 장치의 성능 정보를 포함할 수 있다.A method of operating an electronic device according to various embodiments of the present invention includes transmitting a call connection request message to establish a call channel between an external electronic device and the electronic device; Receiving a response message from the external electronic device; Whether to perform a preprocessing operation of the content using a transmission filter that changes the quality of the content transmitted through the call connection based on the capability information of the external electronic device related to the call connection included in the response message. The action of determining whether; Transmitting a call connection confirmation message indicating whether to perform a preprocessing operation of the content to the external electronic device; and completing the call channel establishment, wherein the call connection request message may include performance information of the electronic device related to the transmission filter.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 전자 장치의 성능 정보는 상기 전송 필터를 처리하기 위한 상기 전자 장치의 구성 요소가 존재하는지 여부를 지시하는 인디케이터를 포함할 수 있다.In a method of operating an electronic device according to various embodiments of the present invention, the performance information of the electronic device may include an indicator indicating whether a component of the electronic device for processing the transmission filter exists.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 전자 장치의 구성 요소는 NPU(neural processing unit)를 포함할 수 있다.In a method of operating an electronic device according to various embodiments of the present invention, components of the electronic device may include a neural processing unit (NPU).

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 호 연결 요청 메시지는 상기 NPU의 식별 정보를 포함하도록 설정될 수 있다.In a method of operating an electronic device according to various embodiments of the present invention, the call connection request message may be set to include identification information of the NPU.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 호 연결 요청 메시지는 상기 전송 필터의 식별 정보를 포함하도록 설정될 수 있다.In a method of operating an electronic device according to various embodiments of the present invention, the call connection request message may be set to include identification information of the transmission filter.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 연결 요청 메시지는 상기 전송 필터에 기반한 상기 컨텐츠의 처리 동작을 지원하는지 여부를 지시하는 인디케이터를 포함할 수 있다.In a method of operating an electronic device according to various embodiments of the present invention, the connection request message may include an indicator indicating whether processing of the content based on the transmission filter is supported.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be of various types. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to embodiments of this document are 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 the terms used herein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various changes, equivalents, or replacements of the embodiments. In connection with the description of the drawings, similar reference numbers may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the above items, unless the relevant context clearly indicates otherwise. In this document, “A or B,” “at least one of A and B,” “at least one of A or B,” “A, B, or C,” “at least one of A, B, and C,” and “A. Each of the phrases such as “at least one of , B, or C” may include all possible combinations of the items listed together in the corresponding phrase. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to those components in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” Where mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one 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)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document are one or more instructions stored in a storage medium (e.g., built-in memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). It may be implemented as software (e.g., program 140) including these. For example, a processor (e.g., processor 120) of a device (e.g., electronic device 101) may call at least one command among one or more commands stored from a storage medium and execute it. This allows the device to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. Device-readable storage media may be provided in the form of non-transitory storage media. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and this term refers to cases where data is stored semi-permanently in the storage medium. There is no distinction between temporary storage cases.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, methods according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. The computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or through an application store (e.g. Play StoreTM) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smartphones) or online. In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store server, or a relay server.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a single entity or a plurality of entities. According to various embodiments, one or more of the components or operations described above may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single 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 of the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Alternatively, one or more other operations may be added.

Claims (20)

전자 장치에 있어서,
외부 전자 장치와 호 연결을 통해 수립(establish)된 호(call) 채널을 이용하여 데이터를 전송하거나, 수신하는 통신 모듈; 및
프로세서를 포함하고,
상기 프로세서는
외부 전자 장치와 상기 전자 장치 간 호 채널 수립을 위한 호 연결 요청 메시지를 전송하고,
상기 외부 전자 장치로부터 응답 메시지를 수신하고,
상기 응답 메시지에 포함된 상기 호 연결과 관련된 상기 외부 전자 장치의 성능 정보(capability information)에 기반하여 상기 호 연결을 통해 전송되는 컨텐츠의 품질을 변경하는 전송 필터를 이용한 상기 컨텐츠의 전처리 동작을, 상기 컨텐츠가 인코딩되기 이전, 수행할지 여부를 결정하고,
상기 컨텐츠의 디코딩 후 상기 외부 전자 장치에 의한 후처리 동작의 수행 여부를 지시하는 호 연결 확정 메시지를 상기 외부 전자 장치로 전송하고,
상기 호 채널 수립을 완료하도록 상기 통신 모듈을 제어하고,
상기 연결 요청 메시지는 상기 전송 필터와 관련된 상기 전자 장치의 성능 정보를 포함하는 전자 장치.
In electronic devices,
A communication module that transmits or receives data using a call channel established through a call connection with an external electronic device; and
Includes a processor,
The processor is
Transmitting a call connection request message to establish a call channel between an external electronic device and the electronic device,
Receive a response message from the external electronic device,
A preprocessing operation of the content using a transmission filter that changes the quality of the content transmitted through the call connection based on capability information of the external electronic device related to the call connection included in the response message, Before the content is encoded, decide whether to perform
After decoding the content, transmitting a call connection confirmation message indicating whether to perform a post-processing operation by the external electronic device to the external electronic device,
Control the communication module to complete the call channel establishment,
The connection request message includes performance information of the electronic device related to the transmission filter.
제 1항에 있어서,
상기 전자 장치의 성능 정보는
상기 전송 필터를 처리하기 위한 상기 전자 장치의 구성 요소가 존재하는지 여부를 지시하는 인디케이터를 포함하는 전자 장치.
According to clause 1,
Performance information of the electronic device is
An electronic device comprising an indicator indicating whether a component of the electronic device for processing the transmission filter exists.
제 2항에 있어서,
상기 전자 장치의 구성 요소는 NPU(neural processing unit)를 포함하는 전자 장치.
According to clause 2,
An electronic device wherein the components of the electronic device include a neural processing unit (NPU).
제 3항에 있어서,
상기 호 연결 요청 메시지는
상기 NPU의 식별 정보를 포함하도록 설정된 전자 장치.
According to clause 3,
The call connection request message is
An electronic device configured to include identification information of the NPU.
제 1 항에 있어서,
상기 호 연결 요청 메시지는
상기 전송 필터의 식별 정보를 포함하도록 설정된 전자 장치.
According to claim 1,
The call connection request message is
An electronic device configured to include identification information of the transmission filter.
제 5항에 있어서,
상기 전자 장치의 성능 정보는
상기 전송 필터를 이용하여 처리할 수 있는 컨텐츠의 해상도 또는 샘플링 레이트를 포함하는 전자 장치.
According to clause 5,
Performance information of the electronic device is
An electronic device including a resolution or sampling rate of content that can be processed using the transmission filter.
제1항에 있어서,
상기 연결 요청 메시지는
상기 전송 필터에 기반한 상기 컨텐츠의 처리 동작을 지원하는지 여부를 지시하는 인디케이터를 포함하는 전자 장치.
According to paragraph 1,
The connection request message is
An electronic device including an indicator indicating whether a processing operation of the content based on the transmission filter is supported.
제 1항에 있어서,
상기 프로세서는
상기 응답 메시지에 기반하여 상기 전송 필터에 대응하는 수신 필터가 상기 외부 전자 장치에 존재하는지 여부를 확인하고,
상기 확인 결과에 기반하여 상기 전송 필터의 사용 여부를 결정하도록 설정된 전자 장치.
According to clause 1,
The processor is
Based on the response message, determine whether a reception filter corresponding to the transmission filter exists in the external electronic device,
An electronic device configured to determine whether to use the transmission filter based on the confirmation result.
제 7항에 있어서,
상기 프로세서는
상기 전송 필터를 사용할 것으로 결정함에 대응하여, 상기 호 연결이 완료되기 이전 상기 전송 필터 및 상기 전송 필터를 제어하기 위한 구성 요소를 활성화하도록 설정된 전자 장치.
According to clause 7,
The processor is
An electronic device configured to activate the transmission filter and components for controlling the transmission filter before the call connection is completed, in response to determining to use the transmission filter.
전자 장치에 있어서,
외부 전자 장치와 통화 연결을 통해 수립(establish)된 호(call) 채널을 이용하여 데이터를 전송하거나, 수신하는 통신 모듈; 및
프로세서를 포함하고,
상기 프로세서는
외부 전자 장치와 상기 전자 장치 간 호 채널 수립을 위한 호 연결 요청 메시지를 수신하고,
상기 호 연결을 통해 수신되는 컨텐츠를, 상기 컨텐츠의 디코딩 후 처리하는 수신 필터와 관련된 상기 전자 장치의 성능 정보를 포함하는 응답 메시지를 상기 외부 전자 장치로 전송하고,
상기 수신 필터에 대응하는 전송 필터를 이용한 상기 컨텐츠의 전처리 동작을 상기 컨텐츠의 인코딩 동작 이후 수행하는지 여부를 지시하는 인디케이터가 포함된 호 연결 확정 메시지를 상기 외부 전자 장치로부터 수신하고,
상기 인디케이터에 기반하여 상기 수신 필터를 활성화하는 동작을 수행하도록 설정된 전자 장치.
In electronic devices,
A communication module that transmits or receives data using a call channel established through a call connection with an external electronic device; and
Includes a processor,
The processor is
Receiving a call connection request message to establish a call channel between an external electronic device and the electronic device,
Transmitting a response message containing performance information of the electronic device related to a reception filter that processes content received through the call connection after decoding the content to the external electronic device,
Receiving a call connection confirmation message from the external electronic device that includes an indicator indicating whether a preprocessing operation of the content using a transmission filter corresponding to the reception filter is performed after the encoding operation of the content,
An electronic device configured to perform an operation of activating the reception filter based on the indicator.
전자 장치에 있어서,
외부 전자 장치와 통화 연결을 통해 수립(establish)된 호(call) 채널을 이용하여 데이터를 전송하거나, 수신하는 통신 모듈; 및
프로세서를 포함하고,
상기 프로세서는
외부 전자 장치와 상기 전자 장치 간 호 채널 수립을 위한 호 연결 요청 메시지를 수신하고,
상기 호 연결을 통해 수신되는 컨텐츠를 전처리하는 수신 필터와 관련된 상기 전자 장치의 성능 정보를 포함하는 응답 메시지를 상기 외부 전자 장치로 전송하고,
상기 수신 필터에 대응하는 전송 필터를 이용한 상기 컨텐츠의 전처리 동작의 수행 여부를 지시하는 인디케이터가 포함된 호 연결 확정 메시지를 상기 외부 전자 장치로부터 수신하고,
상기 인디케이터에 기반하여 상기 수신 필터를 활성화하는 동작을 수행하도록 설정된 전자 장치.
In electronic devices,
A communication module that transmits or receives data using a call channel established through a call connection with an external electronic device; and
Includes a processor,
The processor is
Receiving a call connection request message to establish a call channel between an external electronic device and the electronic device,
Transmitting a response message containing performance information of the electronic device related to a reception filter that preprocesses content received through the call connection to the external electronic device,
Receiving a call connection confirmation message from the external electronic device including an indicator indicating whether to perform a pre-processing operation of the content using a transmission filter corresponding to the reception filter,
An electronic device configured to perform an operation of activating the reception filter based on the indicator.
제 10 항에 있어서,
상기 응답 메시지는
상기 수신 필터의 식별 정보 또는 상기 수신 필터에 기반한 상기 컨텐츠의 처리 동작을 지원하는지 여부를 지시하는 인디케이터를 포함하는 전자 장치.
According to claim 10,
The response message is
An electronic device including identification information of the reception filter or an indicator indicating whether a processing operation of the content based on the reception filter is supported.
전자 장치에 있어서,
외부 전자 장치와 호 연결을 통해 수립(establish)된 호(call) 채널을 이용하여 데이터를 전송하거나, 수신하는 통신 모듈; 및
프로세서를 포함하고,
상기 프로세서는
외부 전자 장치와 상기 전자 장치 간 호 채널 수립을 위한 호 연결 요청 메시지를 전송하고,
상기 외부 전자 장치로부터 응답 메시지를 수신하고,
메타 데이터에 기반하여 생성된 이모지를 포함하는 이미지를 이용한 메타 데이터 기반 영상 통화를 상기 호 연결을 통해 수행할지 여부를 상기 응답 메시지에 포함된 상기 호 연결과 관련된 상기 외부 전자 장치의 성능 정보(capability information)에 기반하여 결정하고,
상기 메타 데이터 기반 영상 통화의 수행 여부를 지시하는 호 연결 확정 메시지를 상기 외부 전자 장치로 전송하고,
상기 호 채널 수립을 완료하도록 상기 통신 모듈을 제어하고,
상기 호 연결 요청 메시지는
상기 메타 데이터 기반 영상 통화를 지원하는지 여부를 지시하는 상기 전자 장치의 성능 정보를 포함하는 전자 장치.
In electronic devices,
A communication module that transmits or receives data using a call channel established through a call connection with an external electronic device; and
Includes a processor,
The processor is
Transmitting a call connection request message to establish a call channel between an external electronic device and the electronic device,
Receive a response message from the external electronic device,
Capability information of the external electronic device related to the call connection included in the response message whether to perform a metadata-based video call using an image including an emoji generated based on metadata through the call connection. ) and decide based on
Transmitting a call connection confirmation message indicating whether to perform the metadata-based video call to the external electronic device,
Control the communication module to complete the call channel establishment,
The call connection request message is
An electronic device including performance information of the electronic device indicating whether it supports the metadata-based video call.
제 13항에 있어서,
상기 전자 장치의 성능 정보는
상기 메타 데이터 기반 영상 통화를 수행하기 위한 상기 전자 장치의 구성 요소가 존재하는지 여부를 지시하는 인디케이터를 포함하는 전자 장치.
According to clause 13,
Performance information of the electronic device is
An electronic device including an indicator indicating whether a component of the electronic device for performing the metadata-based video call exists.
제 14항에 있어서,
상기 전자 장치의 구성 요소는 상기 메타 데이터에 기반한 이모지를 생성하는 모델을 포함하는 전자 장치.
According to clause 14,
The components of the electronic device include a model for generating an emoji based on the metadata.
제 13항에 있어서,
상기 호 연결 요청 메시지는
상기 전자 장치가 지원 가능한 적어도 하나 이상의 모델의 식별 정보를 포함하는 전자 장치.
According to clause 13,
The call connection request message is
An electronic device including identification information of at least one model that the electronic device can support.
제 13항에 있어서,
상기 응답 메시지는
상기 외부 전자 장치가 지원 가능한 적어도 하나 이상의 모델의 식별 정보를 포함하는 전자 장치.
According to clause 13,
The response message is
An electronic device including identification information of at least one model that the external electronic device can support.
제 13항에 있어서,
상기 프로세서는
상기 호 채널 수립을 완료한 이후, 상기 메타 데이터 기반 영상 통화를 지원하는 외부 전자 장치로부터 영상을 생성하기 위한 데이터를 수신하고,
상기 데이터를 상기 메타 데이터에 기반한 이모지를 생성하는 모델에 입력하여 상기 메타 데이터에 대응하는 이모지를 생성하고,
상기 생성된 이모지를 포함하는 영상을 디스플레이 상에 출력하도록 설정된 전자 장치.
According to clause 13,
The processor is
After completing the call channel establishment, receive data for generating a video from an external electronic device that supports the metadata-based video call,
Input the data into a model that generates an emoji based on the metadata to generate an emoji corresponding to the metadata,
An electronic device configured to output an image including the generated emoji on a display.
제 18항에 있어서,
상기 프로세서는
상기 호 채널을 통한 상기 외부 전자 장치와 연결된 상태에서, 상기 메타 데이터에 기반한 이모지를 생성하는 모델의 변경을 요청하는 사용자 입력을 수신하고,
상기 메타 데이터에 기반한 이모지를 생성하는 모델의 변경을 지시하는 인디케이터를 상기 외부 전자 장치로 전송하도록 설정된 전자 장치.
According to clause 18,
The processor is
While connected to the external electronic device through the call channel, receive a user input requesting a change in a model for generating emojis based on the metadata,
An electronic device configured to transmit an indicator indicating a change in a model for generating emojis based on the metadata to the external electronic device.
제 13항에 있어서,
상기 프로세서는
상기 호 채널 수립을 완료한 이후, 상기 메타 데이터에 기반한 렌더링 동작을 지원하지 않는 외부 전자 장치로부터 영상 데이터를 수신하고,
상기 영상 데이터를 디스플레이 상에 출력하도록 설정된 전자 장치.
According to clause 13,
The processor is
After completing the call channel establishment, receive image data from an external electronic device that does not support a rendering operation based on the metadata,
An electronic device configured to output the image data on a display.
KR1020200017249A 2019-10-04 2020-02-12 Electronic device for improving quality of call and method for the same Active KR102679418B1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/KR2020/012809 WO2021066377A1 (en) 2019-10-04 2020-09-23 Electronic device for improving quality of call and operation method thereof
US17/034,468 US11095851B2 (en) 2019-10-04 2020-09-28 Electronic device for improving quality of call and operation method thereof
CN202011046834.8A CN112615807B (en) 2019-10-04 2020-09-29 Electronic device for improving call quality and operation method thereof
EP20199908.3A EP3800859B1 (en) 2019-10-04 2020-10-02 Electronic device for improving quality of call and operation method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020190123290 2019-10-04
KR20190123290 2019-10-04

Publications (2)

Publication Number Publication Date
KR20210040764A KR20210040764A (en) 2021-04-14
KR102679418B1 true KR102679418B1 (en) 2024-07-01

Family

ID=75477520

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200017249A Active KR102679418B1 (en) 2019-10-04 2020-02-12 Electronic device for improving quality of call and method for the same

Country Status (1)

Country Link
KR (1) KR102679418B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4618569A1 (en) * 2022-11-25 2025-09-17 Samsung Electronics Co., Ltd. Electronic device which transmits media content, and operating method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080090553A1 (en) 2006-10-13 2008-04-17 Ping Sum Wan Dynamic video messaging
US20140064152A1 (en) 2012-09-04 2014-03-06 Broadcom Corporation High Definition Audio Distribution System
US20190044984A1 (en) 2017-08-04 2019-02-07 T-Mobile Usa, Inc. Device Service Capability Discovery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080090553A1 (en) 2006-10-13 2008-04-17 Ping Sum Wan Dynamic video messaging
US20140064152A1 (en) 2012-09-04 2014-03-06 Broadcom Corporation High Definition Audio Distribution System
US20190044984A1 (en) 2017-08-04 2019-02-07 T-Mobile Usa, Inc. Device Service Capability Discovery

Also Published As

Publication number Publication date
KR20210040764A (en) 2021-04-14

Similar Documents

Publication Publication Date Title
US11095851B2 (en) Electronic device for improving quality of call and operation method thereof
KR102653252B1 (en) Electronic device for providing visualized artificial intelligence service based on information of external object and method for the same
KR102517228B1 (en) Electronic device for controlling predefined function based on response time of external electronic device on user input and method thereof
US11297243B2 (en) Electronic device and method for providing content associated with camera function from electronic device
CN113965553B (en) Electronic device and operation method thereof
US12267377B2 (en) Electronic device and method for transmitting and receiving video thereof
US20250271686A1 (en) Intelligent actuated nose bridge
EP3987760B1 (en) Electronic device for identifying external electronic device and method of operating same
EP4508485A1 (en) Intelligent actuated temple tips
EP4508482A1 (en) Intelligent actuated temple attachments
KR102679418B1 (en) Electronic device for improving quality of call and method for the same
CN111886595B (en) Screen control method and electronic device supporting the same
KR20200094436A (en) Electronic device and method for providing image acquired through camera to a plurality of applications
KR102806813B1 (en) Method of providing data and electronic device supporting same
KR102616156B1 (en) Electronic device for creating contents
EP4304167A1 (en) Electronic device carrying out video call by using frc, and operation method for electronic device
KR102507745B1 (en) Method for connecting with external device and electronic device thereof
KR102436327B1 (en) Electronic apparatus for playing data and operating method thereof
KR20220167624A (en) Electronic device for performing video call using frame rate conversion and method for the same
KR20220102481A (en) Electronic device and method for transmitting and receiving video thereof

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20200212

PG1501 Laying open of application
A201 Request for examination
PA0201 Request for examination

Patent event code: PA02012R01D

Patent event date: 20230213

Comment text: Request for Examination of Application

Patent event code: PA02011R01I

Patent event date: 20200212

Comment text: Patent Application

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20240227

Patent event code: PE09021S01D

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20240621

PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20240625

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20240626

End annual number: 3

Start annual number: 1

PG1601 Publication of registration