KR20240008221A - Electronic device for performing call recording and operating method thereof - Google Patents

Electronic device for performing call recording and operating method thereof Download PDF

Info

Publication number
KR20240008221A
KR20240008221A KR1020220099015A KR20220099015A KR20240008221A KR 20240008221 A KR20240008221 A KR 20240008221A KR 1020220099015 A KR1020220099015 A KR 1020220099015A KR 20220099015 A KR20220099015 A KR 20220099015A KR 20240008221 A KR20240008221 A KR 20240008221A
Authority
KR
South Korea
Prior art keywords
electronic device
call
call recording
external electronic
information related
Prior art date
Application number
KR1020220099015A
Other languages
Korean (ko)
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/KR2023/004386 priority Critical patent/WO2024014654A1/en
Publication of KR20240008221A publication Critical patent/KR20240008221A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/64Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
    • H04M1/65Recording arrangements for recording a message from the calling party
    • H04M1/656Recording arrangements for recording a message from the calling party for recording conversations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42221Conversation recording systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/34Microprocessors

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

본 발명의 다양한 실시예는 전자 장치에서 통화 녹음을 선택적으로 수행하기 위한 장치 및 방법에 관한 것이다. 다양한 실시예에 따르면, 전자 장치는, 통신 회로, 및 적어도 하나의 프로세서를 포함할 수 있다. 일 실시예에 따르면, 프로세서는 통신 회로를 통해 외부 전자 장치와 통화를 연결하고, 외부 전자 장치와의 통화가 연결된 상태에서 외부 전자 장치와의 통화 녹음의 수행에 기반하여 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 생성하고, 외부 전자 장치와의 통화가 연결된 상태에서 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 외부 전자 장치로 전송할 수 있다. 다른 실시예들도 가능할 수 있다.Various embodiments of the present invention relate to an apparatus and method for selectively performing call recording in an electronic device. According to various embodiments, an electronic device may include a communication circuit and at least one processor. According to one embodiment, the processor connects a call with an external electronic device through a communication circuit, and generates status information related to call recording based on performance of call recording with the external electronic device while the call with the external electronic device is connected. At least one of an RTP packet or RTCP packet containing call recording may be generated, and at least one of an RTP packet or RTCP packet containing status information related to call recording may be transmitted to the external electronic device while a call is connected to the external electronic device. Other embodiments may also be possible.

Description

통화 녹음을 수행하기 위한 전자 장치 및 그의 동작 방법{ELECTRONIC DEVICE FOR PERFORMING CALL RECORDING AND OPERATING METHOD THEREOF}Electronic device for performing call recording and method of operating thereof {ELECTRONIC DEVICE FOR PERFORMING CALL RECORDING AND OPERATING METHOD THEREOF}

본 발명의 실시예는 통화 녹음을 수행하기 위한 전자 장치 및 그의 동작 방법에 관한 것이다.Embodiments of the present invention relate to an electronic device and a method of operating the same for performing call recording.

전자 장치는 정보통신 기술 및 반도체 기술의 발전으로 인해 다양한 기능을 제공할 수 있다. 예를 들어, 다양한 기능은 통화 기능, 메시지 기능, 방송 기능, 무선 인터넷 기능, 카메라 기능, 전자 결제 기능, 사용자 인증 기능 또는 음악 재생 기능 중 적어도 하나를 포함할 수 있다.Electronic devices can provide a variety of functions due to advances in information and communication technology and semiconductor technology. For example, the various functions may include at least one of a call function, a messaging function, a broadcasting function, a wireless Internet function, a camera function, an electronic payment function, a user authentication function, or a music playback function.

전자 장치는 사용자의 편의를 높이기 위해 통화(또는 음성 통화)와 관련된 다양한 기능을 제공할 수 있다. 예를 들어, 전자 장치는 외부 전자 장치와의 통화 내용을 저장하는 통화 녹음 기능을 제공할 수 있다. Electronic devices may provide various functions related to calls (or voice calls) to increase user convenience. For example, an electronic device may provide a call recording function that stores the contents of a call with an external electronic device.

전자 장치는 통화 녹음을 수행하는 경우, 통화를 수행하는 전자 장치의 사용자와 외부 전자 장치의 사용자의 통화 내용(예: 음성)을 저장할 수 있다. 전자 장치(또는 전자 장치의 사용자)는 전자 장치에서 통화 녹음이 수행되므로 외부 전자 장치와의 통화 내용의 저장 여부(예: 통화 녹음 상태)를 인지할 수 있다. 하지만, 외부 전자 장치(또는 외부 전자 장치의 사용자)는 전자 장치에서 통화 녹음을 수행하는지 여부를 인지할 수 없다. When recording a call, the electronic device may store call contents (e.g., voice) between the user of the electronic device making the call and the user of the external electronic device. Since call recording is performed on the electronic device, the electronic device (or the user of the electronic device) can recognize whether the content of the call with an external electronic device is stored (e.g., call recording status). However, the external electronic device (or the user of the external electronic device) cannot recognize whether the electronic device is performing call recording.

전자 장치는 외부 전자 장치와의 통화를 수행하는 경우, 외부 전자 장치의 사용자의 의사와 무관하게 통화 녹음을 수행할 수 있으므로, 외부 전자 장치의 사용자의 개인 정보가 침해될 수 있다. When making a call with an external electronic device, the electronic device may record the call regardless of the will of the user of the external electronic device, and thus the personal information of the user of the external electronic device may be violated.

본 발명의 실시예는 전자 장치에서 통화를 수행하는 외부 전자 장치와 통화 녹음과 관련된 정보를 공유하기 위한 장치 및 방법에 대해 개시한다.Embodiments of the present invention disclose an apparatus and method for sharing information related to call recording with an external electronic device that conducts a call in an electronic device.

다양한 실시예에 따르면, 전자 장치는, 통신 회로, 및 상기 통신 회로와 작동적으로 연결된 적어도 하나의 프로세서를 포함할 수 있다. 일 실시예에 따르면, 프로세서는 통신 회로를 통해 외부 전자 장치와 통화를 연결할 수 있다. 일 실시예에 따르면, 프로세서는 외부 전자 장치와의 통화가 연결된 상태에서 외부 전자 장치와의 통화 녹음의 수행에 기반하여 통화 녹음과 관련된 상태 정보를 포함하는 RTP(real-time transport protocol) 패킷 또는 RTCP(real-time transport control protocol) 패킷 중 적어도 하나를 생성할 수 있다. 일 실시예에 따르면, 프로세서는 외부 전자 장치와의 통화가 연결된 상태에서 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 외부 전자 장치로 전송할 수 있다.According to various embodiments, an electronic device may include a communication circuit and at least one processor operatively connected to the communication circuit. According to one embodiment, the processor may connect a call with an external electronic device through a communication circuit. According to one embodiment, the processor uses a real-time transport protocol (RTP) packet or RTCP containing status information related to call recording based on performance of call recording with an external electronic device while a call with the external electronic device is connected. At least one of the (real-time transport control protocol) packets can be created. According to one embodiment, while a call with an external electronic device is connected, the processor may transmit at least one of an RTP packet or an RTCP packet containing status information related to call recording to the external electronic device.

다양한 실시예에 따르면, 전자 장치는 외부 전자 장치와 통화를 연결할 수 있다. 일 실시예에 따르면, 전자 장치는 외부 전자 장치와의 통화가 연결된 상태에서 외부 전자 장치와의 통화 녹음의 수행에 기반하여 상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP(real-time transport protocol) 패킷 또는 RTCP(real-time transport control protocol) 패킷 중 적어도 하나를 생성할 수 있다. 일 실시예에 따르면, 전자 장치는 외부 전자 장치와의 통화가 연결된 상태에서 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 부 전자 장치로 전송할 수 있다. According to various embodiments, an electronic device can connect a call with an external electronic device. According to one embodiment, the electronic device uses an RTP (real-time transport protocol) packet containing status information related to the call recording based on the performance of the call recording with the external electronic device while the call with the external electronic device is connected. Alternatively, at least one of RTCP (real-time transport control protocol) packets may be generated. According to one embodiment, while a call is connected to an external electronic device, the electronic device may transmit at least one of an RTP packet or an RTCP packet containing status information related to call recording to the secondary electronic device.

다양한 실시예에 따르면, 외부 전자 장치는, 디스플레이, 통신 회로, 및 상기 디스플레이 및 상기 통신 회로와 작동적으로 연결된 적어도 하나의 프로세서를 포함할 수 있다. 일 실시예에 따르면, 프로세서는 통신 회로를 통해 외부 전자 장치와 통화를 연결할 수 있다. 일 실시예에 따르면, 프로세서는 외부 전자 장치로부터 수신한 RTP(real-time transport protocol) 패킷 또는 RTCP(real-time transport control protocol) 패킷 중 적어도 하나를 통해, 전자 장치의 통화 녹음과 관련된 상태 정보를 확인할 수 있다. 일 실시예에 따르면, 프로세서는 전자 장치의 통화 녹음과 관련된 상태 정보를 디스플레이를 통해 출력할 수 있다. According to various embodiments, an external electronic device may include a display, a communication circuit, and at least one processor operatively connected to the display and the communication circuit. According to one embodiment, the processor may connect a call with an external electronic device through a communication circuit. According to one embodiment, the processor provides status information related to call recording of the electronic device through at least one of a real-time transport protocol (RTP) packet or a real-time transport control protocol (RTCP) packet received from an external electronic device. You can check it. According to one embodiment, the processor may output status information related to call recording of the electronic device through the display.

본 발명의 실시예에 따르면, 전자 장치는 외부 전자 장치와의 통화가 연결된 상태에서 통화 녹음과 관련된 상태 정보를 외부 전자 장치로 전송함으로써, 전자 장치의 통화 녹음 여부를 외부 전자 장치가 인지할 수 있다.According to an embodiment of the present invention, the electronic device transmits status information related to call recording to the external electronic device while a call is connected to the external electronic device, so that the external electronic device can recognize whether the electronic device is recording the call. .

본 발명의 실시예에 따르면, 전자 장치는 외부 전자 장치와의 통화가 연결된 상태에서 외부 전자 장치로부터 획득된 통화 녹음과 관련된 정보에 기반하여 통화 녹음을 선택적으로 수행함으로써, 외부 전자 장치에서 원하지 않는 통화 녹음을 제한할 수 있다. According to an embodiment of the present invention, the electronic device selectively performs call recording based on information related to call recording obtained from the external electronic device while the call is connected to the external electronic device, thereby preventing unwanted calls from the external electronic device. You can restrict recording.

도 1은 다양한 실시예에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 다양한 실시예에 따른 통화를 수행하기 위한 무선 통신 시스템의 일예이다.
도 3은 다양한 실시예에 따른 전자 장치에서 통화 녹음과 관련된 정보를 전송하기 위한 흐름도이다.
도 4는 다양한 실시예에 따른 전자 장치에서 통화 녹음과 관련된 정보의 전송에 기반하여 통화 녹음을 수행하기 위한 흐름도이다.
도 5는 다양한 실시예에 따른 전자 장치에서 통화 녹음 제한 정보에 기반하여 통화 녹음을 제한하기 위한 흐름도이다.
도 6은 다양한 실시예에 따른 전자 장치에서 통화 녹음을 선택적으로 수행하기 위한 흐름도이다.
도 7은 다양한 실시예에 따른 외부 전자 장치에서 전자 장치의 통화 녹음 정보를 출력하기 위한 흐름도이다.
도 8은 다양한 실시예에 따른 외부 전자 장치에서 통화 녹음의 수락 여부를 결정하기 위한 흐름도이다.
도 9a는 다양한 실시예에 따른 외부 전자 장치에서 통화 녹음 정보를 표시하기 위한 화면 구성의 일예이다.
도 9b는 다양한 실시예에 따른 외부 전자 장치에서 통화 녹음 정보를 표시하기 위한 화면 구성의 일예이다.
도 10은 다양한 실시예에 따른 전자 장치에서 통화 녹음과 관련된 정보를 전송하기 위한 일예이다.
도 11은 다양한 실시예에 따른 전자 장치에서 통화 녹음 제한 정보에 기반하여 통화 녹음을 제한하기 위한 일예이다.
도 12는 다양한 실시예에 따른 전자 장치에서 통화 녹음과 관련된 정보를 전송하기 위한 일예이다.
도 13은 다양한 실시예에 따른 전자 장치에서 통화 녹음 제한 정보에 기반하여 통화 녹음을 제한하기 위한 일예이다.
1 is a block diagram of an electronic device in a network environment, according to various embodiments.
Figure 2 is an example of a wireless communication system for making a call according to various embodiments.
FIG. 3 is a flowchart for transmitting information related to call recording from an electronic device according to various embodiments.
FIG. 4 is a flowchart for performing call recording based on transmission of information related to call recording in an electronic device according to various embodiments.
FIG. 5 is a flowchart for restricting call recording based on call recording restriction information in an electronic device according to various embodiments.
Figure 6 is a flowchart for selectively performing call recording in an electronic device according to various embodiments.
FIG. 7 is a flowchart for outputting call recording information of an electronic device from an external electronic device according to various embodiments.
FIG. 8 is a flowchart for determining whether to accept call recording in an external electronic device according to various embodiments.
FIG. 9A is an example of a screen configuration for displaying call recording information on an external electronic device according to various embodiments.
FIG. 9B is an example of a screen configuration for displaying call recording information on an external electronic device according to various embodiments.
Figure 10 is an example of transmitting information related to call recording from an electronic device according to various embodiments.
FIG. 11 is an example of restricting call recording based on call recording restriction information in an electronic device according to various embodiments.
Figure 12 is an example of transmitting information related to call recording from an electronic device according to various embodiments.
FIG. 13 is an example of restricting call recording based on call recording restriction information in an electronic device according to various embodiments.

이하 다양한 실시예들이 첨부된 도면을 참고하여 상세히 설명된다.Various embodiments are described in detail below with reference to the attached drawings.

도 1은, 다양한 실시예에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an 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 at least one of 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 module 150, an audio output module 155, a display module 160, an audio module 170, and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or may include an antenna module 197. In some embodiments, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added to the electronic device 101. In some embodiments, some of these components (e.g., sensor module 176, camera module 180, or antenna module 197) are integrated into one component (e.g., display module 160). It can be.

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (e.g., program 140) to operate 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 calculations can be performed. According to one embodiment, as at least part of data processing or computation, the processor 120 stores instructions 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 the main processor 121 (e.g., a central processing unit or an application processor) or an auxiliary processor 123 that can operate independently or together (e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, if the electronic device 101 includes a main processor 121 and a secondary processor 123, the secondary processor 123 may be set to use lower power than the main processor 121 or be specialized for a designated function. You can. 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))의 일부로서 구현될 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The 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. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 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, co-processor 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. According to one embodiment, the auxiliary processor 123 (eg, neural network processing device) may include a hardware structure specialized for processing artificial intelligence models. Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 108). Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited. An artificial intelligence model may include multiple artificial neural network layers. Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more, but is not limited to the examples described above. In addition to hardware structures, artificial intelligence models may additionally or alternatively include software structures.

메모리(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 module 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 module 150 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output sound signals to the outside of the electronic device 101. The sound output module 155 may include, for example, a speaker or a receiver. Speakers can be used for general purposes such as multimedia playback or recording playback. 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)은 터치를 감지하도록 설정된 터치 센서, 또는 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.The display module 160 can visually provide information to the outside of the electronic device 101 (eg, a user). The display module 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 module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.

오디오 모듈(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 module 150, the sound output module 155, or an external electronic device (e.g., directly or wirelessly connected to the electronic device 101). Sound may be output through the 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)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, 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 188 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)(예: 블루투스, Wi-Fi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.Communication module 190 is configured to provide a direct (e.g., wired) communication channel or wireless communication channel between electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or 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 may be 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, Wi-Fi (wireless fidelity) direct, or IrDA (infrared data association)) or a second network 199 (e.g. : Can communicate with an external electronic device 104 through a long-distance communication network such as a legacy cellular network, 5G network, next-generation communication network, Internet, or computer network (e.g., 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 or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 처리율 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다. 다양한 실시예에 따르면, 가입자 식별 모듈(196)은 복수의 가입자 식별 모듈을 포함할 수 있다. 예를 들어, 복수의 가입자 식별 모듈은 서로 다른 가입자 정보를 저장할 수 있다.The wireless communication module 192 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology). NR access technology provides high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low latency). -latency communications)) can be supported. The wireless communication module 192 may support a high frequency band (eg, mmWave band), for example, to achieve high data throughput. The wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199). According to one embodiment, the wireless communication module 192 supports peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC. Example: Downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) can be supported. According to various embodiments, subscriber identification module 196 may include a plurality of subscriber identification modules. For example, a plurality of subscriber identification modules may store different subscriber information.

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

다양한 실시예에 따르면, 안테나 모듈(197)은 고주파(예: mmWave) 안테나 모듈을 형성할 수 있다. 일 실시예에 따르면, 고주파(예: mmWave) 안테나 모듈은 인쇄 회로 기판, 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 예를 들어, 복수의 안테나들은 패치(patch) 어레이 안테나 및/또는 다이폴(dipole) 어레이 안테나를 포함할 수 있다.According to various embodiments, the antenna module 197 may form a high frequency (eg, mmWave) antenna module. According to one embodiment, a high frequency (e.g. mmWave) antenna module is disposed on or adjacent to a printed circuit board, a first side (e.g. bottom side) of the printed circuit board and supports a designated high frequency band (e.g. mmWave band). RFIC, and a plurality of antennas (e.g., array antennas) disposed on or adjacent to a second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in a designated high-frequency band. may include. For example, the plurality of antennas may include a patch array antenna and/or a dipole array antenna.

구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 means of communication 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, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.According to 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 external electronic devices 102 or 104 may be of the same or different type as 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 part 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, mobile edge computing (MEC), or client-server computing technology can be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of Things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199. The electronic device 101 may be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

본 문서에 개시된 다양한 실시예에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.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 therein are not intended to limit the technical features described in this document to specific embodiments, and 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. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C”, and “A Each of phrases such as “at least one of , B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component 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.” When 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)의 형태로 구현될 수 있다.As used in various embodiments of this document, the term “module” may include a unit implemented in hardware, software, or firmware, and may be interchangeable with terms such as logic, logic block, component, or circuit, for example. can be used 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. A storage medium that can be read by a device may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored 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 provided and included 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 via an application store (e.g. Play Store TM ) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) 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's server, or a relay server.

다양한 실시예에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (e.g., module or program) of the above-described components may include a single or multiple entities, and some of the multiple entities may be separately placed in other components. . 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 in the same or similar manner as 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, omitted, or , or one or more other operations may be added.

도 2는 다양한 실시예에 따른 통화를 수행하기 위한 무선 통신 시스템의 일예이다. 일 실시예에 따르면, 도 2의 전자 장치(200)는 도 1의 전자 장치(101)와 적어도 일부 유사하거나, 전자 장치의 다른 실시예들을 더 포함할 수 있다. 일 실시예에 따르면, 도 2의 외부 전자 장치(210)는 도 1의 전자 장치(101)와 적어도 일부 유사하거나, 전자 장치의 다른 실시예들을 더 포함할 수 있다. Figure 2 is an example of a wireless communication system for making a call according to various embodiments. According to one embodiment, the electronic device 200 of FIG. 2 may be at least partially similar to the electronic device 101 of FIG. 1 or may further include other embodiments of the electronic device. According to one embodiment, the external electronic device 210 of FIG. 2 may be at least partially similar to the electronic device 101 of FIG. 1 or may further include other embodiments of the electronic device.

도 2를 참조하는 다양한 실시예에 따르면, 전자 장치(200)는 무선 네트워크(220)를 통해 외부 전자 장치(210)와 통화를 수행할 수 있다. 예를 들어, 무선 네트워크(220)는 전자 장치(200)와 외부 전자 장치(210) 사이의 데이터의 송신 및/또는 수신을 지원하는 셀룰러 네트워크 또는 근거리 통신 네트워크를 포함할 수 있다. 일예로, 셀룰러 네트워크는 2세대(2G), 3세대(3G), 4세대(예: LTE(long term evolution)) 또는 5세대(예: NR(new radio)) 네트워크 중 적어도 하나를 포함할 수 있다. 일예로, 근거리 통신 네트워크는, 무선랜(예: Wi-Fi) 통신에 기반한 네트워크를 포함할 수 있다. According to various embodiments referring to FIG. 2 , the electronic device 200 may make a call with an external electronic device 210 through the wireless network 220 . For example, the wireless network 220 may include a cellular network or a short-range communication network that supports transmission and/or reception of data between the electronic device 200 and an external electronic device 210. As an example, the cellular network may include at least one of a second generation (2G), third generation (3G), fourth generation (e.g., long term evolution (LTE)), or fifth generation (e.g., new radio (NR)) network. there is. As an example, a short-range communication network may include a network based on wireless LAN (eg, Wi-Fi) communication.

다양한 실시예에 따르면, 전자 장치(200)는 프로세서(201), 통신 회로(203), 디스플레이(205) 및/또는 메모리(207)를 포함할 수 있다. 일 실시예에 따르면, 프로세서(201)는 도 1의 프로세서(120)와 실질적으로 동일하거나, 프로세서(120)에 포함될 수 있다. 통신 회로(203)는 도 1의 무선 통신 모듈(192)과 실질적으로 동일하거나, 무선 통신 모듈(192)에 포함될 수 있다. 디스플레이(205)는 도 1의 디스플레이 모듈(160)과 실질적으로 동일하거나, 디스플레이 모듈(160)에 포함될 수 있다. 메모리(207)는 도 1의 메모리(130)와 실질적으로 동일하거나, 메모리(130)에 포함될 수 있다. 일 실시예에 따르면, 프로세서(201)는 통신 회로(203), 디스플레이(205) 및/또는 메모리(207)와 작동적으로(operatively), 기능적으로(functionally) 및/또는 전기적으로(electrically) 연결될 수 있다.According to various embodiments, the electronic device 200 may include a processor 201, a communication circuit 203, a display 205, and/or a memory 207. According to one embodiment, the processor 201 may be substantially the same as the processor 120 of FIG. 1 or may be included in the processor 120. The communication circuit 203 may be substantially the same as the wireless communication module 192 of FIG. 1 or may be included in the wireless communication module 192. The display 205 may be substantially the same as the display module 160 of FIG. 1 or may be included in the display module 160. The memory 207 may be substantially the same as the memory 130 of FIG. 1 or may be included in the memory 130. According to one embodiment, processor 201 may be operatively, functionally and/or electrically connected to communication circuitry 203, display 205 and/or memory 207. You can.

다양한 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)와 통화를 연결하도록 통신 회로(203)를 제어할 수 있다. 일 실시예에 따르면, 프로세서(201)는 통신 회로(203)를 통해 외부 전자 장치(210)로부터 통화 연결과 관련된 요청 신호를 수신한 경우, 통화 연결과 관련된 정보를 표시하도록 디스플레이(205)를 제어할 수 있다. 프로세서(201)는 외부 전자 장치(210)와의 통화 연결과 관련된 사용자 입력에 기반하여 외부 전자 장치(210)와의 통화를 연결하도록 통신 회로(203)를 제어할 수 있다. 예를 들어, 프로세서(201)는 통화 연결과 관련된 사용자 입력에 기반하여 외부 전자 장치(210)로 통화 연결과 관련된 승인 신호를 전송하도록 통신 회로(203)를 제어할 수 있다. 일예로, 통화 연결과 관련된 요청 신호 및/또는 승인 신호는 IMS(IP(internet protocol) multimedia system) 네트워크(예: VoLTE(voice of LTE), VoNR(voice of NR)) 또는 회선 교환(circuit switching) 네트워크를 통해 수신될 수 있다. 일 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)와 관련된 통화 이벤트가 발생한 경우, 외부 전자 장치(210)로 통화 연결과 관련된 요청 신호를 전송하도록 통신 회로(203)를 제어할 수 있다. 프로세서(201)는 통신 회로(203)를 통해 외부 전자 장치(210)로부터 통화 연결과 관련된 승인 신호를 수신한 경우, 외부 전자 장치(210)와의 통화를 연결하도록 통신 회로(203)를 제어할 수 있다. 예를 들어, 통화 이벤트는 통화와 관련된 어플리케이션 프로그램의 실행, 외부 전자 장치(210)와 관련된 전화 번호의 입력 또는 통화 연결과 관련된 객체의 선택 중 적어도 하나에 기반하여 발생될 수 있다.According to various embodiments, the processor 201 may control the communication circuit 203 to connect a call with the external electronic device 210. According to one embodiment, when the processor 201 receives a request signal related to a call connection from the external electronic device 210 through the communication circuit 203, the processor 201 controls the display 205 to display information related to the call connection. can do. The processor 201 may control the communication circuit 203 to connect a call with the external electronic device 210 based on a user input related to the call connection with the external electronic device 210 . For example, the processor 201 may control the communication circuit 203 to transmit an approval signal related to a call connection to the external electronic device 210 based on a user input related to the call connection. In one example, the request signal and/or grant signal associated with a call connection may be transmitted through an internet protocol (IP) multimedia system (IMS) network (e.g., voice of LTE (VoLTE), voice of NR (VoNR)) or circuit switching. Can be received over the network. According to one embodiment, the processor 201 may control the communication circuit 203 to transmit a request signal related to a call connection to the external electronic device 210 when a call event related to the external electronic device 210 occurs. there is. When the processor 201 receives an approval signal related to a call connection from the external electronic device 210 through the communication circuit 203, the processor 201 may control the communication circuit 203 to connect a call with the external electronic device 210. there is. For example, a call event may be generated based on at least one of execution of an application program related to a call, input of a phone number related to the external electronic device 210, or selection of an object related to a call connection.

다양한 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)와 통화가 연결된 상태에서 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 외부 전자 장치(210)로 전송하도록 통신 회로(204)를 제어할 수 있다. 일 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)와의 통화 연결이 완료된 것으로 판단되는 경우, 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 외부 전자 장치(210)로 전송하도록 통신 회로(204)를 제어할 수 있다. 일 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)와 통화 연결 중 전자 장치(200)의 통화 녹음과 관련된 상태가 변경(예: 통화 녹음 시작 또는 통화 녹음 종료)되는 경우, 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 외부 전자 장치(210)로 전송하도록 통신 회로(204)를 제어할 수 있다. 일 실시예에 따르면, 전자 장치(200)의 통화 녹음과 관련된 상태 정보는 RTP(real-time transport protocol) 패킷 및/또는 RTCP(real-time transport control protocol) 패킷에 포함되어 외부 전자 장치(210)로 전송될 수 있다. 예를 들어, 전자 장치(200)의 통화 녹음과 관련된 상태 정보는 RTP 패킷의 확장(extension) 필드 및/또는 RTCP 패킷의 확장 필드에 포함될 수 있다. 일예로, RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드는 SDES(source description) 또는 APP(application specific)를 포함할 수 있다. 일예로, SDES는 CNAME (canonical end-point identifier SDES item), NAME(user name SDES item), NOTE(notice/status SDES item), 또는 PRIV(private extensions SDES item) 중 적어도 하나를 통해 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 포함할 수 있다. 일예로, 전자 장치(200)의 통화 녹음과 관련된 상태는 전자 장치(200)의 통화 녹음의 수행 여부를 나타내는 정보로, 통화 녹음 시작, 통화 녹음 중, 통화 녹음 종료, 통화 녹음 설정, 통화 녹음 미설정, 또는 통화 녹음 미수행(예: unknown) 중 적어도 하나를 포함할 수 있다. 일예로, 외부 전자 장치(210)와 통화가 연결된 상태는 외부 전자 장치(210)의 통화 상태(call state)가 설립(established)으로 설정된 상태를 포함할 수 있다. 일예로, 통화 녹음 설정 상태는 전자 장치(200)가 통화 녹음과 관련된 기능이 통화 녹음 자동 수행으로 설정됨을 나타낼 수 있다. 일예로, 통화 녹음 미설정 상태는 전자 장치(200)가 통화 녹음과 관련된 기능이 통화 녹음 미수행으로 설정됨을 나타낼 수 있다.According to various embodiments, the processor 201 may use a communication circuit 204 to transmit status information related to call recording of the electronic device 200 to the external electronic device 210 while a call is connected to the external electronic device 210. can be controlled. According to one embodiment, when it is determined that the call connection with the external electronic device 210 is completed, the processor 201 communicates to transmit status information related to the call recording of the electronic device 200 to the external electronic device 210. The circuit 204 can be controlled. According to one embodiment, when the state related to call recording of the electronic device 200 changes (e.g., call recording starts or call recording ends) during a call connection with the external electronic device 210, the processor 201 The communication circuit 204 may be controlled to transmit status information related to the call recording of 200 to the external electronic device 210 . According to one embodiment, status information related to call recording of the electronic device 200 is included in a real-time transport protocol (RTP) packet and/or a real-time transport control protocol (RTCP) packet to be transmitted to the external electronic device 210. can be sent to For example, status information related to call recording of the electronic device 200 may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet. As an example, the extension field of the RTP packet and/or the extension field of the RTCP packet may include a source description (SDES) or an application specific (APP). As an example, SDES is transmitted to an electronic device (200) through at least one of a canonical end-point identifier SDES item (CNAME), a user name SDES item (NAME), a notice/status SDES item (NOTE), or a private extensions SDES item (PRIV). ) may include status information related to call recording. As an example, the state related to call recording of the electronic device 200 is information indicating whether call recording is performed by the electronic device 200, such as call recording starting, call recording in progress, call recording ending, call recording set, and call recording not performed. It may include at least one of a setting, or not performing call recording (e.g., unknown). For example, a state in which a call is connected to the external electronic device 210 may include a state in which the call state of the external electronic device 210 is set to established. For example, the call recording setting state may indicate that the electronic device 200 is set to automatically perform call recording for functions related to call recording. For example, the call recording not set state may indicate that the electronic device 200 is set to not perform call recording-related functions.

다양한 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)와의 통화를 녹음할 수 있다. 일 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)로 전자 장치(200)의 통화 녹음과 관련된 상태 정보의 전송에 기반하여 외부 전자 장치(210)와의 통화 녹음을 수행(또는 시작)할 수 있다. 일 실시예에 따르면, 프로세서(201)는 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 외부 전자 장치(210)로 전송한 후, 지정된 통화 녹음 시간이 경과하도록 통화 녹음의 제한과 관련된 정보가 수신되지 않는 경우, 외부 전자 장치(210)와의 통화 녹음을 수행(또는 시작)할 수 있다. 일 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)로부터 통화 녹음의 수락과 관련된 정보를 수신한 경우, 외부 전자 장치(210)와의 통화 녹음을 수행(또는 시작)할 수 있다. 예를 들어, 통화 녹음의 수락과 관련된 정보 및/또는 통화 녹음의 거절과 관련된 정보는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드에 포함될 수 있다. 일예로, RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드는 SDES(source description) 또는 APP(application specific)를 포함할 수 있다. 일예로, RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드의 SDES는 CNAME, NAME, NOTE, 또는 PRIV 중 적어도 하나를 통해 통화 녹음의 수락과 관련된 정보 및/또는 통화 녹음의 거절과 관련된 정보를 포함할 수 있다. 일예로, 통화 녹음 정보(또는 데이터)는 메모리(207) 및/또는 별도의 서버(예: 도 1의 서버(108))에 저장될 수 있다.According to various embodiments, the processor 201 may record a call with the external electronic device 210. According to one embodiment, the processor 201 performs (or starts) a call recording with the external electronic device 210 based on the transmission of status information related to the call recording of the electronic device 200 to the external electronic device 210. can do. According to one embodiment, the processor 201 transmits status information related to call recording of the electronic device 200 to the external electronic device 210, and then transmits information related to the restriction of call recording until a specified call recording time has elapsed. If the call is not received, recording of a call with the external electronic device 210 may be performed (or started). According to one embodiment, when the processor 201 receives information related to acceptance of call recording from the external electronic device 210, the processor 201 may perform (or start) recording a call with the external electronic device 210. For example, information related to acceptance of call recording and/or information related to rejection of call recording may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet. As an example, the extension field of the RTP packet and/or the extension field of the RTCP packet may include a source description (SDES) or an application specific (APP). In one example, the SDES in the extension field of the RTP packet and/or the extension field of the RTCP packet may include information related to acceptance of call recording and/or information related to rejection of call recording via at least one of CNAME, NAME, NOTE, or PRIV. It can be included. As an example, call recording information (or data) may be stored in the memory 207 and/or a separate server (eg, server 108 in FIG. 1).

다양한 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)와의 통화 녹음을 제한할 수 있다. 일 실시예에 따르면, 프로세서(201)는 통화 녹음을 수행하기 이전에 외부 전자 장치(210)로부터 통화 녹음의 거절과 관련된 정보를 수신한 경우, 외부 전자 장치(210)와의 통화 녹음을 제한할 수 있다. 일 실시예에 따르면, 프로세서(201)는 통화 녹음 중 외부 전자 장치(210)로부터 통화 녹음의 거절과 관련된 정보를 수신한 경우, 외부 전자 장치(210)와의 통화 녹음을 종료할 수 있다. 예를 들어, 프로세서(201)는 통화 녹음 중 외부 전자 장치(210)로부터 통화 녹음의 거절과 관련된 정보에 기반하여 통화 녹음을 종료한 경우, 녹음 중이던 통화 내용(또는 통화 데이터)을 삭제할 수 있다. 예를 들어, 프로세서(201)는 통화 녹음 중 외부 전자 장치(210)로부터 통화 녹음의 거절과 관련된 정보에 기반하여 통화 녹음을 종료한 경우, 통화 녹음이 종료되기 이전에 녹음된 통화 내용(또는 통화 데이터)을 유지할 수도 있다. According to various embodiments, the processor 201 may restrict recording of calls with the external electronic device 210. According to one embodiment, if the processor 201 receives information related to the rejection of call recording from the external electronic device 210 before performing call recording, the processor 201 may restrict call recording with the external electronic device 210. there is. According to one embodiment, when the processor 201 receives information related to rejection of call recording from the external electronic device 210 during call recording, the processor 201 may end call recording with the external electronic device 210. For example, when the processor 201 ends call recording based on information related to the rejection of call recording from the external electronic device 210 during call recording, the processor 201 may delete the call content (or call data) being recorded. For example, if the processor 201 ends call recording based on information related to the rejection of call recording from the external electronic device 210 during call recording, the processor 201 may determine call content (or call content) recorded before call recording ends. data) can be maintained.

다양한 실시예에 따르면, 통신 회로(203)는 무선 네트워크(220)를 통해 적어도 하나의 외부 전자 장치(예: 도 2의 외부 전자 장치(210))와 신호 및/또는 데이터를 송신 및/또는 수신할 수 있다. 예를 들어, 통신 회로(203)는 적어도 하나의 외부 전자 장치와의 통신을 위한 RFIC(radio frequency integrated circuit) 및/또는 RFFE(radio frequency front end)를 포함할 수 있다. According to various embodiments, the communication circuit 203 transmits and/or receives signals and/or data with at least one external electronic device (e.g., external electronic device 210 of FIG. 2) via the wireless network 220. can do. For example, the communication circuit 203 may include a radio frequency integrated circuit (RFIC) and/or a radio frequency front end (RFFE) for communication with at least one external electronic device.

다양한 실시예에 따르면, 디스플레이(205)는 전자 장치(200)에서 처리되는 정보를 표시할 수 있다. 일 실시예에 따르면, 디스플레이(205)는 프로세서(201)가 통신 회로(203)를 통해 외부 전자 장치(210)로부터 통화 연결과 관련된 요청 신호를 수신한 경우, 외부 전자 장치(210)와의 통화 연결과 관련된 정보를 표시할 수 있다. 일 실시예에 따르면, 디스플레이(205)는 외부 전자 장치(210)와 관련된 통화 이벤트가 발생한 경우, 외부 전자 장치(210)와의 통화 연결과 관련된 정보를 표시할 수 있다.According to various embodiments, the display 205 may display information processed in the electronic device 200. According to one embodiment, when the processor 201 receives a request signal related to a call connection from the external electronic device 210 through the communication circuit 203, the display 205 establishes a call connection with the external electronic device 210. Information related to can be displayed. According to one embodiment, when a call event related to the external electronic device 210 occurs, the display 205 may display information related to a call connection with the external electronic device 210.

다양한 실시예에 따르면, 메모리(207)는 전자 장치(200)의 적어도 하나의 구성 요소(예: 프로세서(201), 통신 회로(203) 및/또는 디스플레이(205))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 일 실시예에 따르면, 데이터는 외부 전자 장치(210)와의 통화 녹음에 의해 획득된 통화 내용(또는 통화 데이터)을 포함할 수 있다. 일 실시예에 따르면, 메모리(207)는 프로세서(201)를 통해 실행될 수 있는 다양한 인스트럭션들을 저장할 수 있다. According to various embodiments, memory 207 stores various data used by at least one component of electronic device 200 (e.g., processor 201, communication circuit 203, and/or display 205). You can save it. According to one embodiment, the data may include call content (or call data) obtained by recording a call with the external electronic device 210. According to one embodiment, the memory 207 may store various instructions that can be executed through the processor 201.

다양한 실시예에 따르면, 외부 전자 장치(210)의 통화 상태는 외부 전자 장치(210)와의 통화 연결 동작에 대응되게 설정될 수 있다. 예를 들어, 외부 전자 장치(210)의 통화 상태는 외부 전자 장치(210)와 통화 연결을 시작하는 경우, "calling"으로 설정될 수 있다. 예를 들어, 외부 전자 장치(210)의 통화 상태는 외부 전자 장치(210)와 통화 연결을 협상하는 경우, "trying"으로 설정될 수 있다. 예를 들어, 외부 전자 장치(210)의 통화 상태는 외부 전자 장치(210)와 통화 연결과 관련된 연결음이 재생되는 경우, "ringing back"으로 설정될 수 있다. 예를 들어, 외부 전자 장치(210)의 통화 상태는 외부 전자 장치(210)와 통화 연결이 완료된 경우, 설립("established")으로 설정될 수 있다.According to various embodiments, the call state of the external electronic device 210 may be set to correspond to a call connection operation with the external electronic device 210. For example, the call status of the external electronic device 210 may be set to “calling” when starting a call connection with the external electronic device 210. For example, the call status of the external electronic device 210 may be set to “trying” when negotiating a call connection with the external electronic device 210. For example, the call state of the external electronic device 210 may be set to “ringing back” when a connection tone related to a call connection with the external electronic device 210 is played. For example, the call status of the external electronic device 210 may be set to “established” when the call connection with the external electronic device 210 is completed.

다양한 실시예에 따르면, 외부 전자 장치(210)는 프로세서(211), 통신 회로(213), 디스플레이(215) 및/또는 메모리(217)를 포함할 수 있다. 일 실시예에 따르면, 프로세서(211)는 도 1의 프로세서(120)와 실질적으로 동일하거나, 프로세서(120)에 포함될 수 있다. 통신 회로(213)는 도 1의 무선 통신 모듈(192)과 실질적으로 동일하거나, 무선 통신 모듈(192)에 포함될 수 있다. 디스플레이(215)는 도 1의 디스플레이 모듈(160)과 실질적으로 동일하거나, 디스플레이 모듈(160)에 포함될 수 있다. 메모리(217)는 도 1의 메모리(130)와 실질적으로 동일하거나, 메모리(130)에 포함될 수 있다. 일 실시예에 따르면, 프로세서(211)는 통신 회로(213), 디스플레이(215) 및/또는 메모리(217)와 작동적으로, 기능적으로 및/또는 전기적으로 연결될 수 있다.According to various embodiments, the external electronic device 210 may include a processor 211, a communication circuit 213, a display 215, and/or a memory 217. According to one embodiment, the processor 211 may be substantially the same as the processor 120 of FIG. 1 or may be included in the processor 120. The communication circuit 213 may be substantially the same as the wireless communication module 192 of FIG. 1 or may be included in the wireless communication module 192. The display 215 may be substantially the same as the display module 160 of FIG. 1 or may be included in the display module 160. The memory 217 may be substantially the same as the memory 130 of FIG. 1 or may be included in the memory 130. According to one embodiment, the processor 211 may be operatively, functionally and/or electrically connected to the communication circuit 213, the display 215 and/or the memory 217.

다양한 실시예에 따르면, 프로세서(211)는 전자 장치(200)와 통화를 연결하도록 통신 회로(213)를 제어할 수 있다. 일 실시예에 따르면, 프로세서(211)는 전자 장치(200)와 관련된 통화 이벤트가 발생한 경우, 전자 장치(200)로 통화 연결과 관련된 요청 신호를 전송하도록 통신 회로(213)를 제어할 수 있다. 프로세서(211)는 통신 회로(213)를 통해 전자 장치(200)로부터 통화 연결과 관련된 승인 신호를 수신한 경우, 전자 장치(200)와의 통화를 연결하도록 통신 회로(213)를 제어할 수 있다. 예를 들어, 통화 이벤트는 통화와 관련된 어플리케이션 프로그램의 실행, 전자 장치(200)와 관련된 전화 번호의 입력 또는 통화 연결과 관련된 객체의 선택 중 적어도 하나에 기반하여 발생될 수 있다. 일예로, 통화 연결과 관련된 요청 신호 및/또는 승인 신호는 IMS 네트워크(예: VoLTE, VoNR) 또는 회선 교환(CS) 네트워크를 통해 수신될 수 있다. 일 실시예에 따르면, 프로세서(211)는 통신 회로(213)를 통해 전자 장치(200)로부터 통화 연결과 관련된 요청 신호를 수신한 경우, 통화 연결과 관련된 정보를 표시하도록 디스플레이(215)를 제어할 수 있다. 프로세서(211)는 전자 장치(200)와의 통화 연결과 관련된 사용자 입력에 기반하여 전자 장치(200)와의 통화를 연결하도록 통신 회로(213)를 제어할 수 있다. 예를 들어, 프로세서(211)는 통화 연결과 관련된 사용자 입력에 기반하여 전자 장치(200)로 통화 연결과 관련된 승인 신호를 전송하도록 통신 회로(213)를 제어할 수 있다.According to various embodiments, the processor 211 may control the communication circuit 213 to connect a call with the electronic device 200. According to one embodiment, when a call event related to the electronic device 200 occurs, the processor 211 may control the communication circuit 213 to transmit a request signal related to a call connection to the electronic device 200. When the processor 211 receives an approval signal related to a call connection from the electronic device 200 through the communication circuit 213, the processor 211 may control the communication circuit 213 to connect a call with the electronic device 200. For example, a call event may be generated based on at least one of execution of an application program related to a call, input of a phone number related to the electronic device 200, or selection of an object related to a call connection. In one example, request signals and/or grant signals associated with a call connection may be received over an IMS network (e.g., VoLTE, VoNR) or circuit switched (CS) network. According to one embodiment, when the processor 211 receives a request signal related to a call connection from the electronic device 200 through the communication circuit 213, the processor 211 controls the display 215 to display information related to the call connection. You can. The processor 211 may control the communication circuit 213 to connect a call with the electronic device 200 based on a user input related to the call connection with the electronic device 200. For example, the processor 211 may control the communication circuit 213 to transmit an approval signal related to a call connection to the electronic device 200 based on a user input related to the call connection.

다양한 실시예에 따르면, 프로세서(211)는 전자 장치(200)와 통화가 연결된 상태에서 전자 장치(200)의 통화 녹음과 관련된 상태를 확인할 수 있다. 일 실시예에 따르면, 프로세서(211)는 전자 장치(200)와의 통화 연결이 완료된 상태에서 통신 회로(213)를 통해 전자 장치(200)로부터 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 획득할 수 있다. 일예로, 전자 장치(200)의 통화 녹음과 관련된 상태 정보는 RTP 패킷 및/또는 RTCP 패킷에 포함되어 수신될 수 있다. 일예로, 전자 장치(200)와 통화가 연결된 상태는 전자 장치(200)의 통화 상태(call state)가 설립(established)으로 설정된 상태를 포함할 수 있다. According to various embodiments, the processor 211 may check a state related to call recording of the electronic device 200 while a call is connected to the electronic device 200. According to one embodiment, the processor 211 obtains status information related to call recording of the electronic device 200 from the electronic device 200 through the communication circuit 213 in a state in which a call connection with the electronic device 200 is completed. can do. For example, status information related to call recording of the electronic device 200 may be received by being included in an RTP packet and/or RTCP packet. For example, a state in which a call is connected to the electronic device 200 may include a state in which the call state of the electronic device 200 is set to established.

다양한 실시예에 따르면, 프로세서(211)는 전자 장치(200)의 통화 녹음 상태와 관련된 정보를 표시하도록 디스플레이(215)를 제어할 수 있다. 일 실시예에 따르면, 프로세서(211)는 전자 장치(200)가 통화 녹음을 수행하는 것으로 판단한 경우, 전자 장치(200)의 통화 녹음 수행과 관련된 정보를 표시하도록 디스플레이(215)를 제어할 수 있다. 예를 들어, 프로세서(211)는 전자 장치(200)와 통화 녹음과 관련된 상태 가 통화 녹음 시작, 통화 녹음 중 또는 통화 녹음 설정 정보를 포함하는 경우, 전자 장치(200)가 통화 녹음을 수행하는 것으로 판단할 수 있다. According to various embodiments, the processor 211 may control the display 215 to display information related to the call recording status of the electronic device 200. According to one embodiment, when the processor 211 determines that the electronic device 200 is performing call recording, the processor 211 may control the display 215 to display information related to the electronic device 200 performing call recording. . For example, the processor 211 determines that the electronic device 200 is performing call recording when the state associated with the electronic device 200 and call recording includes call recording starting, call recording in progress, or call recording setting information. You can judge.

다양한 실시예에 따르면, 프로세서(211)는 전자 장치(200)의 통화 녹음을 제한할 수 있다. 일 실시예에 따르면, 프로세서(211)는 전자 장치(200)의 통화 녹음의 거절과 관련된 사용자 입력을 획득한 경우, 통화 녹음의 거절과 관련된 정보를 전자 장치(200)로 전송하도록 통신 회로(213)를 제어할 수 있다. 일 실시예에 따르면, 프로세서(211)는 전자 장치(200)의 통화 녹음의 수락과 관련된 사용자 입력을 획득한 경우, 통화 녹음의 수락과 관련된 정보를 전자 장치(200)로 전송하도록 통신 회로(213)를 제어할 수 있다. 일 실시예에 따르면, 프로세서(211)는 디스플레이(215)에 전자 장치(200)의 통화 녹음 수행과 관련된 정보가 표시된 상태에서 지정된 시간이 경과하도록 사용자 입력이 검출되지 않는 경우, 전자 장치(200)의 통화 녹음을 수락한 것으로 판단할 수 있다. 프로세서(211)는 전자 장치(200)의 통화 녹음을 수락한 것으로의 판단에 기반하여 통화 녹음의 수락과 관련된 정보를 전자 장치(200)로 전송하도록 통신 회로(213)를 제어할 수 있다. 예를 들어, 통화 녹음의 수락과 관련된 정보 및/또는 통화 녹음의 거절과 관련된 정보는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드에 포함되어 전자 장치(200)로 전송될 수 있다. 일예로, RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드는 SDES(source description) 또는 APP(application specific)를 포함할 수 있다. 일예로, RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드의 SDES는 CNAME, NAME, NOTE, 또는 PRIV 중 적어도 하나를 통해 통화 녹음의 수락과 관련된 정보 및/또는 통화 녹음의 거절과 관련된 정보를 포함할 수 있다.According to various embodiments, the processor 211 may restrict call recording of the electronic device 200. According to one embodiment, when the processor 211 obtains a user input related to the rejection of the call recording of the electronic device 200, the processor 211 configures the communication circuit 213 to transmit information related to the rejection of the call recording to the electronic device 200. ) can be controlled. According to one embodiment, when the processor 211 obtains a user input related to the acceptance of the call recording by the electronic device 200, the processor 211 configures the communication circuit 213 to transmit information related to the acceptance of the call recording to the electronic device 200. ) can be controlled. According to one embodiment, if a user input is not detected for a specified time while information related to call recording of the electronic device 200 is displayed on the display 215, the processor 211 records the electronic device 200. It can be judged that the recording of the call has been accepted. The processor 211 may control the communication circuit 213 to transmit information related to acceptance of the call recording to the electronic device 200 based on the determination that the electronic device 200 has accepted the call recording. For example, information related to acceptance of call recording and/or information related to rejection of call recording may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet and transmitted to the electronic device 200. As an example, the extension field of the RTP packet and/or the extension field of the RTCP packet may include a source description (SDES) or an application specific (APP). In one example, the SDES in the extension field of the RTP packet and/or the extension field of the RTCP packet may include information related to acceptance of call recording and/or information related to rejection of call recording via at least one of CNAME, NAME, NOTE, or PRIV. It can be included.

다양한 실시예에 따르면, 통신 회로(213)는 무선 네트워크(220)를 통해 적어도 하나의 전자 장치(예: 도 2의 전자 장치(200))와 신호 및/또는 데이터를 송신 및/또는 수신할 수 있다. 예를 들어, 통신 회로(213)는 적어도 하나의 전자 장치와의 통신을 위한 RFIC 및/또는 RFFE를 포함할 수 있다. According to various embodiments, the communication circuit 213 may transmit and/or receive signals and/or data with at least one electronic device (e.g., the electronic device 200 of FIG. 2) via the wireless network 220. there is. For example, communication circuitry 213 may include RFIC and/or RFFE for communication with at least one electronic device.

다양한 실시예에 따르면, 디스플레이(215)는 외부 전자 장치(210)에서 처리되는 정보를 표시할 수 있다. 일 실시예에 따르면, 디스플레이(215)는 통신 회로(213)를 통해 전자 장치(200)로부터 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 수신한 경우, 전자 장치(200)의 통화 녹음 상태와 관련된 정보(예: 전자 장치(200)의 통화 녹음 수행과 관련된 정보)를 표시할 수 있다.According to various embodiments, the display 215 may display information processed by the external electronic device 210. According to one embodiment, when the display 215 receives status information related to call recording of the electronic device 200 from the electronic device 200 through the communication circuit 213, the display 215 displays the call recording status of the electronic device 200. Information related to (e.g., information related to call recording performance of the electronic device 200) may be displayed.

다양한 실시예에 따르면, 메모리(217)는 외부 전자 장치(210)의 적어도 하나의 구성 요소(예: 프로세서(211), 통신 회로(213) 및/또는 디스플레이(215))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 일 실시예에 따르면, 메모리(217)는 프로세서(211)를 통해 실행될 수 있는 다양한 인스트럭션들을 저장할 수 있다. According to various embodiments, the memory 217 stores various data used by at least one component of the external electronic device 210 (e.g., the processor 211, the communication circuit 213, and/or the display 215). can be saved. According to one embodiment, the memory 217 may store various instructions that can be executed through the processor 211.

다양한 실시예에서, 외부 전자 장치(210)는 전자 장치(200)와 통화가 연결된 경우, 전자 장치(200)와 동일한 방식으로 외부 전자 장치(210)의 통화 녹음과 관련된 상태 정보를 전자 장치(210)로 전송할 수 있다. 외부 전자 장치(210)는 전자 장치(200)와 동일한 방식으로 통화 녹음을 수행하거나 또는 통화 녹음을 제한할 수 있다. 일 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와 통화가 연결된 경우, 외부 전자 장치(210)와 동일한 방식으로 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 획득 및 출력할 수 있다. 전자 장치(200)는 외부 전자 장치(210)와 동일한 방식으로 통화 녹음을 수락 또는 거절할 수 있다.In various embodiments, when a call is connected to the electronic device 200, the external electronic device 210 sends status information related to the call recording of the external electronic device 210 to the electronic device 210 in the same manner as the electronic device 200. ) can be transmitted. The external electronic device 210 may perform call recording or limit call recording in the same manner as the electronic device 200. According to one embodiment, when a call is connected to the external electronic device 210, the electronic device 200 obtains and outputs status information related to call recording of the electronic device 200 in the same manner as the external electronic device 210. can do. The electronic device 200 can accept or reject call recording in the same way as the external electronic device 210.

다양한 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))는, 통신 회로(예: 도 1의 무선 통신 모듈(192) 또는 도 2의 통신 회로(203)), 및 상기 통신 회로와 작동적으로 연결된 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(201))를 포함할 수 있다. 일 실시예에 따르면, 프로세서는 통신 회로를 통해 외부 전자 장치와 통화를 연결할 수 있다. 일 실시예에 따르면, 프로세서는 외부 전자 장치와의 통화가 연결된 상태에서 외부 전자 장치와의 통화 녹음의 수행에 기반하여 통화 녹음과 관련된 상태 정보를 포함하는 RTP(real-time transport protocol) 패킷 또는 RTCP(real-time transport control protocol) 패킷 중 적어도 하나를 생성할 수 있다. 일 실시예에 따르면, 프로세서는 외부 전자 장치와의 통화가 연결된 상태에서 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 외부 전자 장치로 전송할 수 있다.According to various embodiments, an electronic device (e.g., the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2) includes a communication circuit (e.g., the wireless communication module 192 of FIG. 1 or the communication circuit of FIG. 2). circuit 203), and at least one processor (eg, processor 120 in FIG. 1 or processor 201 in FIG. 2) operatively connected to the communication circuit. According to one embodiment, the processor may connect a call with an external electronic device through a communication circuit. According to one embodiment, the processor uses a real-time transport protocol (RTP) packet or RTCP containing status information related to call recording based on performance of call recording with an external electronic device while a call with the external electronic device is connected. At least one of the (real-time transport control protocol) packets can be created. According to one embodiment, while a call with an external electronic device is connected, the processor may transmit at least one of an RTP packet or an RTCP packet containing status information related to call recording to the external electronic device.

다양한 실시예에 따르면, 통화 녹음과 관련된 상태 정보는, RTP 패킷 또는 RTCP 패킷 중 적어도 하나의 확장(extension) 필드에 포함될 수 있다.According to various embodiments, status information related to call recording may be included in an extension field of at least one of an RTP packet or an RTCP packet.

다양한 실시예에 따르면, 통화 녹음과 관련된 상태 정보는, RTP 패킷 또는 RTCP 패킷 중 적어도 하나의 확장(extension) 필드에 포함되는 APP(application specific), SDES(Source Description)의 CNAME (Canonical End-Point Identifier), NAME, NOTE (Notice/Status SDES Item) 또는 PRIV (Private Extensions SDES Item) 중 적어도 하나에 포함될 수 있다.According to various embodiments, the status information related to call recording is a CNAME (Canonical End-Point Identifier) of an application specific (APP) and a source description (SDES) included in an extension field of at least one of an RTP packet or an RTCP packet. ), NAME, NOTE (Notice/Status SDES Item), or PRIV (Private Extensions SDES Item).

다양한 실시예에 따르면, 프로세서는, 외부 전자 장치와의 통화 상태(call status)가 설립(established)으로 설정된 상태에서 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 외부 전자 장치로 전송할 수 있다.According to various embodiments, the processor sends at least one of an RTP packet or an RTCP packet containing status information related to call recording to the external electronic device while the call status with the external electronic device is set to established. It can be sent to .

다양한 실시예에 따르면, 프로세서는, 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나의 전송에 기반하여 외부 전자 장치와의 통화 녹음을 수행할 수 있다.According to various embodiments, the processor may perform call recording with an external electronic device based on transmission of at least one of an RTP packet or an RTCP packet including status information related to call recording.

다양한 실시예에 따르면, 프로세서는, 외부 전자 장치와의 통화 녹음 중 통화 녹음의 거절과 관련된 정보가 수신되는 경우, 외부 전자 장치와의 통화 녹음을 종료할 수 있다.According to various embodiments, when information related to rejection of call recording is received while recording a call with an external electronic device, the processor may end recording a call with an external electronic device.

다양한 실시예에 따르면, 프로세서는, 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나에 대한 응답으로 통화 녹음의 수락과 관련된 정보가 수신되는 경우, 외부 전자 장치와의 통화 녹음을 수행할 수 있다.According to various embodiments, the processor records a call with an external electronic device when information related to acceptance of the call recording is received in response to at least one of an RTP packet or an RTCP packet containing status information related to the call recording. It can be done.

다양한 실시예에 따르면, 프로세서는, 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나에 대한 응답으로 통화 녹음의 거절과 관련된 정보가 수신되는 경우, 외부 전자 장치와의 통화 녹음을 제한할 수 있다.According to various embodiments, the processor records a call with an external electronic device when information related to rejection of call recording is received in response to at least one of an RTP packet or an RTCP packet containing status information related to call recording. It can be limited.

다양한 실시예에 따르면, 프로세서는, 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 전송한 시점부터 지정된 시간이 경과하도록 통화 녹음의 거절과 관련된 정보가 수신되지 않는 경우, 외부 전자 장치와의 통화 녹음을 수행할 수 있다.According to various embodiments, if information related to rejection of call recording is not received within a specified time from the time of transmitting at least one of an RTP packet or an RTCP packet containing status information related to call recording, the processor is configured to externally You can record calls with electronic devices.

다양한 실시예에 따르면, 외부 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 외부 전자 장치(210))는, 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 2의 디스플레이(215)), 통신 회로(예: 도 1의 무선 통신 모듈(192) 또는 도 2의 통신 회로(213), 및 상기 디스플레이 및 상기 통신 회로와 작동적으로 연결된 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(211))를 포함할 수 있다. 일 실시예에 따르면, 프로세서는 통신 회로를 통해 외부 전자 장치와 통화를 연결할 수 있다. 일 실시예에 따르면, 프로세서는 외부 전자 장치로부터 수신한 RTP(real-time transport protocol) 패킷 또는 RTCP(real-time transport control protocol) 패킷 중 적어도 하나를 통해, 전자 장치의 통화 녹음과 관련된 상태 정보를 확인할 수 있다. 일 실시예에 따르면, 프로세서는 전자 장치의 통화 녹음과 관련된 상태 정보를 디스플레이를 통해 출력할 수 있다.According to various embodiments, an external electronic device (e.g., the electronic device 101 of FIG. 1 or the external electronic device 210 of FIG. 2) is a display (e.g., the display module 160 of FIG. 1 or the display of FIG. 2). 215), communication circuitry (e.g., wireless communication module 192 of FIG. 1 or communication circuit 213 of FIG. 2), and at least one processor operatively connected to the display and the communication circuitry (e.g., FIG. 1 may include the processor 120 or the processor 211 of Figure 2. According to one embodiment, the processor may connect a call with an external electronic device through a communication circuit. According to one embodiment, the processor Status information related to call recording of the electronic device can be confirmed through at least one of a real-time transport protocol (RTP) packet or a real-time transport control protocol (RTCP) packet received from an external electronic device. In one embodiment, According to this, the processor can output status information related to call recording of the electronic device through the display.

다양한 실시예에 따르면, 프로세서는, 통화 녹음의 거절과 관련된 입력이 검출된 경우, 통신 회로를 통해, 외부 전자 장치와의 통화가 연결된 상태에서 통화 녹음의 거절과 관련된 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 전자 장치로 전송할 수 있다.According to various embodiments, when an input related to rejection of call recording is detected, the processor may, through a communication circuit, generate an RTP packet or RTCP containing information related to rejection of call recording while a call with an external electronic device is connected. At least one of the packets may be transmitted to an electronic device.

다양한 실시예에 따르면, 프로세서는, 통화 녹음의 수락과 관련된 입력이 검출된 경우, 통신 회로를 통해, 외부 전자 장치와의 통화가 연결된 상태에서 통화 녹음의 수락과 관련된 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 전자 장치로 전송할 수 있다.According to various embodiments, when an input related to acceptance of a call recording is detected, the processor, through a communication circuit, configures, while a call with an external electronic device is connected, an RTP packet or RTCP containing information related to the acceptance of a call recording. At least one of the packets may be transmitted to an electronic device.

도 3은 다양한 실시예에 따른 전자 장치에서 통화 녹음과 관련된 정보를 전송하기 위한 흐름도(300)이다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 3의 전자 장치는 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200)일 수 있다.FIG. 3 is a flowchart 300 for transmitting information related to call recording from an electronic device according to various embodiments. In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. For example, the electronic device in FIG. 3 may be the electronic device 101 in FIG. 1 or the electronic device 200 in FIG. 2 .

도 3을 참조하는 다양한 실시예에 따르면, 전자 장치(200)(예: 도 1의 프로세서(120), 도 1의 무선 통신 모듈(192), 도 2의 프로세서(201) 또는 도 2의 통신 회로(203))는 동작 301에서, 외부 전자 장치(210)와의 통화를 연결할 수 있다. 일 실시예에 따르면, 프로세서(201)는 통신 회로(203)를 통해 외부 전자 장치(210)로부터 통화 연결과 관련된 요청 신호를 수신한 경우, 통화 연결과 관련된 정보를 표시하도록 디스플레이(205)를 제어할 수 있다. 프로세서(201)는 디스플레이(205)에 표시된 통화 연결과 관련된 정보에 대응하는 사용자 입력을 수신할 수 있다. 프로세서(201)는 외부 전자 장치(210)와의 통화 연결과 관련된 사용자 입력을 수신한 경우, 외부 전자 장치(210)와의 통화를 연결하도록 통신 회로(203)를 제어할 수 있다. 예를 들어, 통신 회로(203)는 프로세서(201)의 제어에 기반하여 통화 연결과 관련된 승인 신호를 외부 전자 장치(210)로 전송할 수 있다. 일 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)와 관련된 통화 이벤트가 발생한 경우, 외부 전자 장치(210)로 통화 연결과 관련된 요청 신호를 전송하도록 통신 회로(203)를 제어할 수 있다. 프로세서(201)는 통신 회로(203)를 통해 외부 전자 장치(210)로부터 통화 연결과 관련된 승인 신호를 수신할 수 있다. 예를 들어, 통화 이벤트는 통화와 관련된 어플리케이션 프로그램의 실행, 외부 전자 장치(210)와 관련된 전화번호의 입력 또는 통화 연결과 관련된 객체의 선택 중 적어도 하나에 기반하여 발생될 수 있다. 일예로, 통화 연결과 관련된 요청 신호 및/또는 승인 신호는 IMS 네트워크(예: VoLTE, VoNR) 또는 회선 교환(CS) 네트워크를 통해 수신될 수 있다. According to various embodiments referring to FIG. 3, an electronic device 200 (e.g., the processor 120 of FIG. 1, the wireless communication module 192 of FIG. 1, the processor 201 of FIG. 2, or the communication circuit of FIG. 2 (203)) may connect a call with the external electronic device 210 in operation 301. According to one embodiment, when the processor 201 receives a request signal related to a call connection from the external electronic device 210 through the communication circuit 203, the processor 201 controls the display 205 to display information related to the call connection. can do. The processor 201 may receive user input corresponding to information related to the call connection displayed on the display 205. When the processor 201 receives a user input related to a call connection with the external electronic device 210, the processor 201 may control the communication circuit 203 to connect a call with the external electronic device 210. For example, the communication circuit 203 may transmit an approval signal related to a call connection to the external electronic device 210 based on the control of the processor 201. According to one embodiment, the processor 201 may control the communication circuit 203 to transmit a request signal related to a call connection to the external electronic device 210 when a call event related to the external electronic device 210 occurs. there is. The processor 201 may receive an approval signal related to a call connection from the external electronic device 210 through the communication circuit 203. For example, a call event may be generated based on at least one of execution of an application program related to a call, input of a phone number related to the external electronic device 210, or selection of an object related to a call connection. In one example, request signals and/or grant signals associated with a call connection may be received over an IMS network (e.g., VoLTE, VoNR) or circuit switched (CS) network.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 동작 303에서, 전자 장치(200)의 통화 녹음과 관련된 상태를 확인할 수 있다. 일예로, 전자 장치(200)의 통화 녹음과 관련된 상태는 통화 녹음 시작, 통화 녹음 중, 통화 녹음 종료, 통화 녹음 설정, 통화 녹음 미설정, 또는 통화 녹음 미수행(예: unknown) 중 적어도 하나를 포함할 수 있다.According to various embodiments, the electronic device 200 (eg, the processor 120 or 201) may check a state related to call recording of the electronic device 200 in operation 303. As an example, the state related to call recording of the electronic device 200 may be at least one of call recording starting, call recording in progress, call recording ending, call recording set, call recording not set, or call recording not performed (e.g., unknown). It can be included.

다양한 실시예에 따르면, 전자 장치(200)(예: 프로세서(120 또는 201))는 동작 305에서, 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 포함하는 메시지를 생성할 수 있다. 일 실시예에 따르면, 전자 장치(200)의 통화 녹음과 관련된 상태 정보는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드에 포함될 수 있다. 일예로, RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드는 SDES 또는 APP를 포함할 수 있다. 일예로, RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드의 SDES는 CNAME, NAME, NOTE, 또는 PRIV 중 적어도 하나를 통해 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 포함할 수 있다.According to various embodiments, the electronic device 200 (eg, the processor 120 or 201) may generate a message including status information related to call recording of the electronic device 200 in operation 305. According to one embodiment, status information related to call recording of the electronic device 200 may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet. As an example, the extension field of the RTP packet and/or the extension field of the RTCP packet may include SDES or APP. As an example, the SDES of the extension field of the RTP packet and/or the extension field of the RTCP packet may include status information related to call recording of the electronic device 200 through at least one of CNAME, NAME, NOTE, or PRIV.

다양한 실시예에 따르면, 전자 장치(200)(예: 프로세서(120 또는 201), 무선 통신 모듈(192) 또는 통신 회로(203))는 동작 307에서, 외부 전자 장치(210)와 통화가 연결된 상태에서 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 포함하는 메시지를 외부 전자 장치(210)로 전송할 수 있다. 일 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)와 통화가 연결되어 통화와 관련된 데이터를 송신 및/또는 수신하는 과정에서 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 포함하는 메시지를 외부 전자 장치(210)로 전송하도록 통신 회로(203)를 제어할 수 있다. 일예로, 통화와 관련된 데이터는 미디어와 관련된 패킷(예: RTP 패킷 및/또는 RTCP 패킷)을 포함할 수 있다. 일예로, 외부 전자 장치(210)와 통화가 연결된 상태는 외부 전자 장치(210)의 통화 상태(call state)가 설립(established)으로 설정된 상태를 포함할 수 있다.According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201, the wireless communication module 192, or the communication circuit 203) is connected to a call with the external electronic device 210 in operation 307. A message containing status information related to call recording of the electronic device 200 may be transmitted to the external electronic device 210. According to one embodiment, the processor 201 includes status information related to call recording of the electronic device 200 in the process of connecting a call with the external electronic device 210 and transmitting and/or receiving data related to the call. The communication circuit 203 can be controlled to transmit a message to the external electronic device 210. As an example, data related to a call may include packets related to media (e.g., RTP packets and/or RTCP packets). For example, a state in which a call is connected to the external electronic device 210 may include a state in which the call state of the external electronic device 210 is set to established.

다양한 실시예에 따르면, 전자 장치(200)는 SIP(session initiation protocol) 및/또는 SDP(session description protocol)과 무관하게 외부 전자 장치(210)와 통화가 연결된 상태(예: 통화 상태가 설립으로 설정된 상태)에서 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 외부 전자 장치(210)로 전송할 수 있다. 이에 따라, 전자 장치(200)는 전자 장치(200)와 외부 전자 장치(210)의 통화를 지원하는 통신 사업자의 서버를 변경하지 않고 전자 장치(200)(또는 외부 전자 장치(210))의 통화 녹음 정보를 공유할 수 있다.According to various embodiments, the electronic device 200 is connected to a call with an external electronic device 210 regardless of the session initiation protocol (SIP) and/or the session description protocol (SDP) (e.g., the call status is set to established). status), status information related to call recording of the electronic device 200 may be transmitted to the external electronic device 210. Accordingly, the electronic device 200 can make a call between the electronic device 200 (or the external electronic device 210) without changing the server of the communication service provider that supports the call between the electronic device 200 and the external electronic device 210. Recording information can be shared.

도 4는 다양한 실시예에 따른 전자 장치에서 통화 녹음과 관련된 정보의 전송에 기반하여 통화 녹음을 수행하기 위한 흐름도(400)이다. 일 실시예에 따르면, 도 4의 적어도 일부는 도 3의 동작 307의 상세한 동작을 포함할 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 4의 전자 장치는 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200)일 수 있다.FIG. 4 is a flowchart 400 for performing call recording based on transmission of information related to call recording in an electronic device according to various embodiments. According to one embodiment, at least a portion of FIG. 4 may include detailed operations of operation 307 of FIG. 3 . In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. For example, the electronic device in FIG. 4 may be the electronic device 101 in FIG. 1 or the electronic device 200 in FIG. 2 .

도 4를 참조하는 다양한 실시예에 따르면, 전자 장치(200)(예: 도 1의 프로세서(120), 도 1의 무선 통신 모듈(192), 도 2의 프로세서(201) 또는 도 2의 통신 회로(203))는 동작 401에서, 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 포함하는 메시지를 외부 전자 장치(210)로 전송할 수 있다. 일 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)와 통화가 연결된 상태에서 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 포함하는 미디어와 관련된 패킷(예: RTP 패킷 및/또는 RTCP 패킷)을 외부 전자 장치(210)로 전송하도록 통신 회로(203)를 제어할 수 있다.According to various embodiments referring to FIG. 4, an electronic device 200 (e.g., the processor 120 of FIG. 1, the wireless communication module 192 of FIG. 1, the processor 201 of FIG. 2, or the communication circuit of FIG. 2 (203)) may transmit a message including status information related to call recording of the electronic device 200 to the external electronic device 210 in operation 401. According to one embodiment, while a call is connected to the external electronic device 210, the processor 201 processes media-related packets (e.g., RTP packets and/or The communication circuit 203 can be controlled to transmit an RTCP packet) to the external electronic device 210.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 동작 403에서, 전자 장치(200)의 통화 녹음 메뉴가 활성 상태로 설정되어 있는지 확인할 수 있다. 일예로, 통화 녹음 메뉴는 전자 장치(200)가 적어도 하나의 외부 전자 장치(예: 도 2의 외부 전자 장치(210))와의 통화 수행 시, 통화 녹음의 수행 여부를 설정하기 위한 메뉴를 포함할 수 있다. According to various embodiments, the electronic device 200 (eg, the processor 120 or 201) may check whether the call recording menu of the electronic device 200 is set to the active state in operation 403. As an example, the call recording menu may include a menu for setting whether to perform call recording when the electronic device 200 performs a call with at least one external electronic device (e.g., the external electronic device 210 of FIG. 2). You can.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 전자 장치(200)의 통화 녹음 메뉴가 비활성 상태로 설정된 경우(예: 동작 403의 '아니오'), 통화 녹음을 수행하기 위한 일 실시예를 종료할 수 있다.According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201) records the call when the call recording menu of the electronic device 200 is set to inactive (e.g., 'No' in operation 403). One embodiment for performing recording may end.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 전자 장치(200)의 통화 녹음 메뉴가 활성 상태로 설정된 경우(예: 동작 403의 '예'), 동작 405에서, 외부 전자 장치(210)와의 통화 녹음(또는 시작)을 수행할 수 있다. 일예로, 외부 전자 장치(210)와의 통화 녹음에 기반하여 획득된 통화 내용(또는 통화 데이터)은 메모리(207) 및/또는 별도의 서버에 저장될 수 있다.According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201) performs an operation when the call recording menu of the electronic device 200 is set to the active state (e.g., 'Yes' in operation 403). At 405, a call recording (or starting) with the external electronic device 210 may be performed. For example, call content (or call data) obtained based on recording a call with the external electronic device 210 may be stored in the memory 207 and/or a separate server.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 동작 407에서, 외부 전자 장치(210)로부터 통화 녹음의 제한과 관련된 정보가 수신되는지 확인할 수 있다. 일 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)의 통화 녹음 중 통신 회로(203)를 통해 외부 전자 장치(210)로부터 통화 녹음의 제한과 관련된 정보를 포함하는 미디어와 관련된 패킷(예: RTP 패킷 및/또는 RTCP 패킷)이 수신되는지 확인할 수 있다. 일예로, 통화 녹음의 제한과 관련된 정보는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드의 SDES에 포함된 CNAME, NAME, NOTE, 또는 PRIV 중 적어도 하나에 포함될 수 있다. 일예로, 통화 녹음의 제한과 관련된 정보는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드의 APP에 포함될 수 있다.According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201) may check whether information related to call recording restrictions is received from the external electronic device 210 in operation 407. According to one embodiment, the processor 201 receives a media-related packet containing information related to restrictions on call recording from the external electronic device 210 through the communication circuit 203 during call recording of the external electronic device 210 ( You can check whether RTP packets and/or RTCP packets) are being received. As an example, information related to restrictions on call recording may be included in at least one of CNAME, NAME, NOTE, or PRIV included in the SDES of the extension field of the RTP packet and/or the extension field of the RTCP packet. As an example, information related to restrictions on call recording may be included in the APP in the extension field of the RTP packet and/or the extension field of the RTCP packet.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 외부 전자 장치(210)로부터 통화 녹음의 제한과 관련된 정보가 수신되지 않는 경우(예: 동작 407의 '아니오'), 동작 409에서, 외부 전자 장치(210)와의 통화가 종료되는지 확인할 수 있다. 일예로, 외부 전자 장치(210)와의 통화 종료는 외부 전자 장치(210)의 호 연결이 해제된 상태를 포함할 수 있다.According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201) does not receive information related to call recording restrictions from the external electronic device 210 (e.g., 'No' in operation 407). '), in operation 409, it can be confirmed whether the call with the external electronic device 210 is terminated. For example, ending a call with the external electronic device 210 may include a state in which the call connection to the external electronic device 210 is disconnected.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 외부 전자 장치(210)와의 통화가 종료되지 않은 경우(예: 동작 409의 '아니오'), 동작 405에서, 외부 전자 장치(210)와의 통화 녹음을 수행할 수 있다. According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201), if the call with the external electronic device 210 is not terminated (e.g., 'No' in operation 409), in operation 405 , call recording with the external electronic device 210 can be performed.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 외부 전자 장치(210)와의 통화가 종료된 경우(예: 동작 409의 '예'), 통화 녹음을 수행하기 위한 일 실시예를 종료할 수 있다.According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201) performs call recording when the call with the external electronic device 210 is terminated (e.g., 'Yes' in operation 409). One embodiment may be completed to do this.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 외부 전자 장치(210)로부터 통화 녹음의 제한과 관련된 정보를 수신한 경우(예: 동작 407의 '예'), 동작 411에서, 외부 전자 장치(210)와의 통화 녹음을 종료(또는 중단)할 수 있다. 일 실시예에 따르면, 프로세서(201)는 통화 녹음 중 외부 전자 장치(210)로부터 통화 녹음의 거절과 관련된 정보에 기반하여 통화 녹음을 종료한 경우, 녹음 중이던 통화 내용(또는 통화 데이터)을 삭제할 수 있다. 일 실시예에 따르면, 프로세서(201)는 통화 녹음 중 외부 전자 장치(210)로부터 통화 녹음의 거절과 관련된 정보에 기반하여 통화 녹음을 종료한 경우, 통화 녹음이 종료되기 이전에 녹음된 통화 내용(또는 통화 데이터)을 유지할 수도 있다. According to various embodiments, when the electronic device 200 (e.g., the processor 120 or 201) receives information related to the restriction of call recording from the external electronic device 210 (e.g., 'Yes' in operation 407) ), in operation 411, recording of a call with the external electronic device 210 may be ended (or stopped). According to one embodiment, when the processor 201 terminates call recording based on information related to the rejection of call recording from the external electronic device 210 during call recording, the processor 201 may delete the call content (or call data) being recorded. there is. According to one embodiment, when the processor 201 ends call recording based on information related to the rejection of call recording from the external electronic device 210 during call recording, the processor 201 terminates the call recording before the end of call recording ( or call data) may be maintained.

도 5는 다양한 실시예에 따른 전자 장치에서 통화 녹음 제한 정보에 기반하여 통화 녹음을 제한하기 위한 흐름도(500)이다. 일 실시예에 따르면, 도 5의 적어도 일부는 도 3의 동작 307의 상세한 동작을 포함할 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 5의 전자 장치는 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200)일 수 있다.FIG. 5 is a flowchart 500 for restricting call recording based on call recording restriction information in an electronic device according to various embodiments. According to one embodiment, at least a portion of FIG. 5 may include detailed operations of operation 307 of FIG. 3 . In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. For example, the electronic device in FIG. 5 may be the electronic device 101 in FIG. 1 or the electronic device 200 in FIG. 2 .

도 5를 참조하는 다양한 실시예에 따르면, 전자 장치(200)(예: 도 1의 프로세서(120), 도 1의 무선 통신 모듈(192), 도 2의 프로세서(201) 또는 도 2의 통신 회로(203))는 동작 501에서, 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 포함하는 메시지를 외부 전자 장치(210)로 전송할 수 있다. 일예로, 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 포함하는 메시지는 외부 전자 장치(210)와의 통화를 위해 송신 및/또는 수신하는 미디어와 관련된 패킷(예: RTP 패킷 및/또는 RTCP 패킷)을 포함할 수 있다.According to various embodiments referring to FIG. 5, an electronic device 200 (e.g., the processor 120 of FIG. 1, the wireless communication module 192 of FIG. 1, the processor 201 of FIG. 2, or the communication circuit of FIG. 2 (203)) may transmit a message including status information related to call recording of the electronic device 200 to the external electronic device 210 in operation 501. As an example, a message containing status information related to call recording of the electronic device 200 may include packets related to media transmitted and/or received for the call with the external electronic device 210 (e.g., RTP packets and/or RTCP packets). ) may include.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 동작 503에서, 전자 장치(200)의 통화 녹음 메뉴가 활성 상태로 설정되어 있는지 확인할 수 있다. 일예로, 통화 녹음 메뉴는 전자 장치(200)가 적어도 하나의 외부 전자 장치(예: 도 2의 외부 전자 장치(210))와의 통화 수행 시, 사용자 입력에 기반하여 통화 녹음의 수행 여부를 설정하기 위한 메뉴를 포함할 수 있다. According to various embodiments, the electronic device 200 (eg, the processor 120 or 201) may check whether the call recording menu of the electronic device 200 is set to the active state in operation 503. As an example, the call recording menu sets whether to perform call recording based on user input when the electronic device 200 conducts a call with at least one external electronic device (e.g., the external electronic device 210 of FIG. 2). Can include a menu for

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 전자 장치(200)의 통화 녹음 메뉴가 비활성 상태로 설정된 경우(예: 동작 503의 '아니오'), 통화 녹음을 제한하기 위한 일 실시예를 종료할 수 있다.According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201) records the call when the call recording menu of the electronic device 200 is set to inactive (e.g., 'No' in operation 503). One embodiment for restricting recording may end.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 전자 장치(200)의 통화 녹음 메뉴가 활성 상태로 설정된 경우(예: 동작 503의 '예'), 동작 505에서, 외부 전자 장치(210)로부터 통화 녹음의 제한과 관련된 정보가 수신되는지 확인할 수 있다. 예를 들어, 통화 녹음의 제한과 관련된 정보는 외부 전자 장치(210)와의 통화를 위해 송신 및/또는 수신하는 미디어와 관련된 패킷(예: RTP 패킷 및/또는 RTCP 패킷)에 포함되어 수신될 수 있다. 일예로, 통화 녹음의 제한과 관련된 정보는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드의 SDES에 포함된 CNAME, NAME, NOTE, 또는 PRIV 중 적어도 하나 또는 APP에 포함될 수 있다.According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201) performs an operation when the call recording menu of the electronic device 200 is set to the active state (e.g., 'Yes' in operation 503). At 505, it can be confirmed whether information related to call recording restrictions is received from the external electronic device 210. For example, information related to restrictions on call recording may be included and received in packets (e.g., RTP packets and/or RTCP packets) related to media transmitted and/or received for a call with the external electronic device 210. . As an example, information related to restrictions on call recording may be included in at least one of CNAME, NAME, NOTE, or PRIV included in the SDES of the extension field of the RTP packet and/or the extension field of the RTCP packet, or in the APP.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 외부 전자 장치(210)로부터 통화 녹음의 제한과 관련된 정보가 수신되지 않는 경우(예: 동작 505의 '아니오'), 외부 전자 장치(210)로부터 통화 녹음의 제한과 관련된 정보가 수신되지 않은 시간이 지정된 통화 녹음 시작 시간이 경과하였는지 확인할 수 있다. 일 실시예에 따르면, 프로세서(201)는 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 포함하는 메시지를 전송한 시점으로부터 통화 녹음의 제한과 관련된 정보가 수신되지 않은 시간이 지정된 통화 녹음 시작 시간을 경과하였는지 확인할 수 있다. 일예로, 지정된 통화 녹음 시작 시간은 통화 녹음을 시작하기 위한 시점을 판단하기 위해 지정된 시간을 나타낼 수 있다.According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201) does not receive information related to call recording restrictions from the external electronic device 210 (e.g., 'No' in operation 505). '), it can be confirmed whether the designated call recording start time has elapsed at which information related to call recording restrictions is not received from the external electronic device 210. According to one embodiment, the processor 201 determines a call recording start time specified from the time a message containing status information related to call recording of the electronic device 200 is transmitted to the time when information related to limitations on call recording is not received. You can check whether it has elapsed. As an example, the designated call recording start time may indicate a designated time to determine when to start call recording.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 지정된 통화 녹음 시작 시간이 경과하지 않은 경우(예: 동작 507의 '아니오'), 동작 505에서, 외부 전자 장치(210)로부터 통화 녹음의 제한과 관련된 정보가 수신되는지 다시 확인할 수 있다. 일 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)로부터 수신되는 미디어와 관련된 패킷들 중 통화 녹음의 제한과 관련된 정보를 포함하는 패킷이 존재하는지 확인할 수 있다.According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201), if the specified call recording start time has not elapsed (e.g., 'No' in operation 507), in operation 505, an external electronic You can check again whether information related to call recording restrictions is received from the device 210. According to one embodiment, the processor 201 may check whether a packet containing information related to restrictions on call recording exists among packets related to media received from the external electronic device 210.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 지정된 통화 녹음 시작 시간이 경과한 경우(예: 동작 507의 '예'), 동작 509에서, 외부 전자 장치(210)와의 통화 녹음(또는 시작)을 수행할 수 있다. 일예로, 외부 전자 장치(210)와의 통화 녹음에 기반하여 획득된 통화 내용(또는 통화 데이터)은 메모리(207) 및/또는 별도의 서버에 저장될 수 있다.According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201), if the specified call recording start time has elapsed (e.g., 'Yes' in operation 507), in operation 509, the external electronic device You can record (or start) a call with (210). For example, call content (or call data) obtained based on recording a call with the external electronic device 210 may be stored in the memory 207 and/or a separate server.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 동작 511에서, 외부 전자 장치(210)와의 통화가 종료되는지 확인할 수 있다. 일예로, 외부 전자 장치(210)와의 통화 종료는 외부 전자 장치(210)의 호 연결이 해제된 상태를 포함할 수 있다.According to various embodiments, the electronic device 200 (eg, the processor 120 or 201) may check whether the call with the external electronic device 210 is terminated in operation 511. For example, ending a call with the external electronic device 210 may include a state in which the call connection to the external electronic device 210 is disconnected.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 외부 전자 장치(210)와의 통화가 종료되지 않은 경우(예: 동작 511의 '아니오'), 동작 509에서, 외부 전자 장치(210)와의 통화 녹음을 수행할 수 있다. According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201), in operation 509, when the call with the external electronic device 210 is not terminated (e.g., 'No' in operation 511). , call recording with the external electronic device 210 can be performed.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 외부 전자 장치(210)와의 통화가 종료된 경우(예: 동작 511의 '예'), 통화 녹음을 제한하기 위한 일 실시예를 종료할 수 있다.According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201) restricts call recording when the call with the external electronic device 210 is terminated (e.g., 'Yes' in operation 511). One embodiment may be completed to do this.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 외부 전자 장치(210)로부터 통화 녹음의 제한과 관련된 정보를 수신한 경우(예: 동작 505의 '예'), 동작 513에서, 외부 전자 장치(210)와의 통화 녹음을 제한(또는 중단)할 수 있다. 일 실시예에 따르면, 프로세서(201)는 외부 전자 장치(210)와의 통화 녹음의 제한하기 이전에 외부 전자 장치(210)와의 통화를 녹음 중이었는지 확인할 수 있다. 프로세서(201)는 외부 전자 장치(210)와의 통화를 녹음 중이었던 경우, 녹음 중이던 외부 전자 장치(210)와의 통화 내용(또는 통화 데이터)을 삭제 또는 유지할 수 있다.According to various embodiments, when the electronic device 200 (e.g., the processor 120 or 201) receives information related to the restriction of call recording from the external electronic device 210 (e.g., 'Yes' in operation 505) ), in operation 513, recording of a call with the external electronic device 210 may be restricted (or stopped). According to one embodiment, the processor 201 may check whether a call with the external electronic device 210 was being recorded before restricting the recording of a call with the external electronic device 210. If the processor 201 is recording a call with the external electronic device 210, the processor 201 may delete or maintain the content (or call data) of the call with the external electronic device 210 that was being recorded.

도 6은 다양한 실시예에 따른 전자 장치에서 통화 녹음을 선택적으로 수행하기 위한 흐름도(600)이다. 일 실시예에 따르면, 도 6의 적어도 일부는 도 3의 동작 307의 상세한 동작을 포함할 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 6의 전자 장치는 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200)일 수 있다.FIG. 6 is a flowchart 600 for selectively performing call recording in an electronic device according to various embodiments. According to one embodiment, at least a portion of FIG. 6 may include detailed operations of operation 307 of FIG. 3 . In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. For example, the electronic device in FIG. 6 may be the electronic device 101 in FIG. 1 or the electronic device 200 in FIG. 2 .

도 6을 참조하는 다양한 실시예에 따르면, 전자 장치(200)(예: 도 1의 프로세서(120), 도 1의 무선 통신 모듈(192), 도 2의 프로세서(201) 또는 도 2의 통신 회로(203))는 동작 601에서, 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 포함하는 메시지를 외부 전자 장치(210)로 전송할 수 있다. 일예로, 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 포함하는 메시지는 외부 전자 장치(210)와의 통화를 위해 송신 및/또는 수신하는 미디어와 관련된 패킷으로 RTP 패킷 및/또는 RTCP 패킷을 포함할 수 있다.According to various embodiments referring to FIG. 6, an electronic device 200 (e.g., the processor 120 of FIG. 1, the wireless communication module 192 of FIG. 1, the processor 201 of FIG. 2, or the communication circuit of FIG. 2 (203)) may transmit a message containing status information related to call recording of the electronic device 200 to the external electronic device 210 in operation 601. As an example, a message containing status information related to call recording of the electronic device 200 includes RTP packets and/or RTCP packets as packets related to media transmitted and/or received for a call with the external electronic device 210. can do.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 동작 603에서, 전자 장치(200)의 통화 녹음 메뉴가 활성 상태로 설정되어 있는지 확인할 수 있다. 일예로, 통화 녹음 메뉴는 전자 장치(200)가 적어도 하나의 외부 전자 장치(예: 도 2의 외부 전자 장치(210))와의 통화 수행 시, 사용자 입력에 기반하여 통화 녹음의 수행 여부를 설정하기 위한 메뉴를 포함할 수 있다. According to various embodiments, the electronic device 200 (eg, the processor 120 or 201) may check whether the call recording menu of the electronic device 200 is set to the active state in operation 603. As an example, the call recording menu sets whether to perform call recording based on user input when the electronic device 200 conducts a call with at least one external electronic device (e.g., the external electronic device 210 of FIG. 2). Can include a menu for

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 전자 장치(200)의 통화 녹음 메뉴가 비활성 상태로 설정된 경우(예: 동작 603의 '아니오'), 통화 녹음을 선택적으로 수행하기 위한 일 실시예를 종료할 수 있다.According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201) records the call when the call recording menu of the electronic device 200 is set to inactive (e.g., 'No' in operation 603). An embodiment for selectively performing recording may end.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 전자 장치(200)의 통화 녹음 메뉴가 활성 상태로 설정된 경우(예: 동작 603의 '예'), 동작 505에서, 외부 전자 장치(210)로부터 통화 녹음의 제한과 관련된 정보가 수신되는지 확인할 수 있다. 예를 들어, 통화 녹음의 제한과 관련된 정보는 외부 전자 장치(210)와의 통화를 위해 송신 및/또는 수신하는 미디어와 관련된 패킷인 RTP 패킷 및/또는 RTCP 패킷에 포함되어 수신될 수 있다. According to various embodiments, the electronic device 200 (e.g., the processor 120 or 201) performs an operation when the call recording menu of the electronic device 200 is set to the active state (e.g., 'Yes' in operation 603). At 505, it can be confirmed whether information related to call recording restrictions is received from the external electronic device 210. For example, information related to restrictions on call recording may be received by being included in an RTP packet and/or RTCP packet, which are packets related to media transmitted and/or received for a call with the external electronic device 210.

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 외부 전자 장치(210)로부터 통화 녹음의 제한과 관련된 정보를 수신한 경우(예: 동작 605의 '예'), 동작 607에서, 외부 전자 장치(210)와의 통화 녹음을 제한(또는 중단)할 수 있다. According to various embodiments, when the electronic device 200 (e.g., the processor 120 or 201) receives information related to the restriction of call recording from the external electronic device 210 (e.g., 'Yes' in operation 605) ), in operation 607, call recording with the external electronic device 210 may be restricted (or stopped).

다양한 실시예에 따르면, 전자 장치(200)는(예: 프로세서(120 또는 201))는 외부 전자 장치(210)로부터 통화 녹음의 수락과 관련된 정보를 수신한 경우(예: 동작 605의 '아니오'), 동작 609에서, 외부 전자 장치(210)와의 통화 녹음(또는 시작)을 수행할 수 있다. 일예로, 외부 전자 장치(210)와의 통화 녹음에 기반하여 획득된 통화 내용(또는 통화 데이터)은 메모리(207) 및/또는 별도의 서버에 저장될 수 있다. 예를 들어, 통화 녹음의 수락과 관련된 정보는 외부 전자 장치(210)와의 통화를 위해 송신 및/또는 수신하는 미디어와 관련된 패킷인 RTP 패킷 및/또는 RTCP 패킷에 포함되어 수신될 수 있다. 일예로, 통화 녹음의 수락과 관련된 정보는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드의 SDES에 포함된 CNAME, NAME, NOTE, 또는 PRIV 중 적어도 하나 또는 APP에 포함될 수 있다.According to various embodiments, when the electronic device 200 (e.g., the processor 120 or 201) receives information related to acceptance of call recording from the external electronic device 210 (e.g., 'No' in operation 605) ), in operation 609, recording (or starting) a call with the external electronic device 210 may be performed. For example, call content (or call data) obtained based on recording a call with the external electronic device 210 may be stored in the memory 207 and/or a separate server. For example, information related to acceptance of call recording may be received by being included in an RTP packet and/or RTCP packet, which are packets related to media transmitted and/or received for a call with the external electronic device 210. As an example, information related to acceptance of call recording may be included in the APP or at least one of CNAME, NAME, NOTE, or PRIV included in the SDES of the extension field of the RTP packet and/or the extension field of the RTCP packet.

다양한 실시예에 따르면, 전자 장치(200)는 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 포함하는 메시지를 전송한 시점부터 지정된 통화 녹음 시작 시간이 경과하도록 통화 녹음의 수락과 관련된 정보 및 통화 녹음의 수락과 관련된 정보가 수신되지 않는 경우, 외부 전자 장치(210)가 통화 녹음을 수락한 것을 판단할 수 있다. 전자 장치(200)는 외부 전자 장치(210)가 통화 녹음을 수락한 것으로의 판단에 기반하여 외부 전자 장치(210)와의 통화 녹음을 수행(또는 시작)할 수 있다.According to various embodiments, the electronic device 200 may store information related to acceptance of call recording and call recording until a specified call recording start time has elapsed from the time of transmitting a message containing status information related to call recording of the electronic device 200. If information related to acceptance of the recording is not received, it may be determined that the external electronic device 210 has accepted the call recording. The electronic device 200 may perform (or start) recording a call with the external electronic device 210 based on a determination that the external electronic device 210 has accepted call recording.

다양한 실시예에 따르면, 전자 장치(200)는 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 포함하는 메시지를 전송한 시점부터 지정된 통화 녹음 제한 시간이 경과하도록 통화 녹음의 수락과 관련된 정보 및 통화 녹음의 수락과 관련된 정보가 수신되지 않는 경우, 외부 전자 장치(210)가 통화 녹음을 거절한 것을 판단할 수 있다. 전자 장치(200)는 외부 전자 장치(210)가 통화 녹음을 거절한 것으로의 판단에 기반하여 외부 전자 장치(210)와의 통화 녹음을 제한(또는 종료)할 수 있다.According to various embodiments, the electronic device 200 may transmit information related to acceptance of call recording and call recording until a specified call recording time limit has elapsed from the time a message containing status information related to call recording of the electronic device 200 is transmitted. If information related to acceptance of the recording is not received, it may be determined that the external electronic device 210 has rejected the call recording. The electronic device 200 may limit (or terminate) call recording with the external electronic device 210 based on a determination that the external electronic device 210 has rejected call recording.

도 7은 다양한 실시예에 따른 외부 전자 장치에서 전자 장치의 통화 녹음 정보를 출력하기 위한 흐름도(700)이다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 7의 외부 전자 장치는 도 1의 전자 장치(101) 또는 도 2의 외부 전자 장치(210)일 수 있다.FIG. 7 is a flowchart 700 for outputting call recording information of an electronic device from an external electronic device according to various embodiments. In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. For example, the external electronic device in FIG. 7 may be the electronic device 101 in FIG. 1 or the external electronic device 210 in FIG. 2 .

도 7을 참조하는 다양한 실시예에 따르면, 외부 전자 장치(210)(예: 도 1의 프로세서(120), 도 1의 무선 통신 모듈(192), 도 2의 프로세서(211) 또는 도 2의 통신 회로(213))는 동작 701에서, 전자 장치(210)와의 통화를 연결할 수 있다. 일 실시예에 따르면, 프로세서(211)는 전자 장치(200)와 관련된 통화 이벤트가 발생한 경우, 전자 장치(200)로 통화 연결과 관련된 요청 신호를 전송하도록 통신 회로(213)를 제어할 수 있다. 프로세서(211)는 통신 회로(213)를 통해 전자 장치(200)로부터 통화 연결과 관련된 승인 신호를 수신할 수 있다. 예를 들어, 통화 이벤트는 통화와 관련된 어플리케이션 프로그램의 실행, 전자 장치(200)와 관련된 전화번호의 입력 또는 통화 연결과 관련된 객체의 선택 중 적어도 하나에 기반하여 발생될 수 있다. 일 실시예에 따르면, 프로세서(211)는 통신 회로(213)를 통해 전자 장치(200)로부터 통화 연결과 관련된 요청 신호를 수신한 경우, 통화 연결과 관련된 정보를 표시하도록 디스플레이(215)를 제어할 수 있다. 프로세서(211)는 디스플레이(215)에 표시된 통화 연결과 관련된 정보에 대응하는 사용자 입력을 수신할 수 있다. 프로세서(211)는 전자 장치(200)와의 통화 연결과 관련된 사용자 입력을 수신한 경우, 전자 장치(200)와의 통화를 연결하도록 통신 회로(203)를 제어할 수 있다. 일예로, 통화 연결과 관련된 요청 신호 및/또는 승인 신호는 IMS 네트워크(예: VoLTE, VoNR) 또는 회선 교환(CS) 네트워크를 통해 수신될 수 있다. According to various embodiments referring to FIG. 7, an external electronic device 210 (e.g., the processor 120 of FIG. 1, the wireless communication module 192 of FIG. 1, the processor 211 of FIG. 2, or the communication device of FIG. 2 The circuit 213 may connect a call with the electronic device 210 in operation 701. According to one embodiment, when a call event related to the electronic device 200 occurs, the processor 211 may control the communication circuit 213 to transmit a request signal related to a call connection to the electronic device 200. The processor 211 may receive an approval signal related to a call connection from the electronic device 200 through the communication circuit 213. For example, a call event may be generated based on at least one of execution of an application program related to a call, input of a phone number related to the electronic device 200, or selection of an object related to a call connection. According to one embodiment, when the processor 211 receives a request signal related to a call connection from the electronic device 200 through the communication circuit 213, the processor 211 controls the display 215 to display information related to the call connection. You can. The processor 211 may receive a user input corresponding to information related to the call connection displayed on the display 215. When the processor 211 receives a user input related to a call connection with the electronic device 200, the processor 211 may control the communication circuit 203 to connect a call with the electronic device 200. In one example, request signals and/or grant signals associated with a call connection may be received over an IMS network (e.g., VoLTE, VoNR) or circuit switched (CS) network.

다양한 실시예에 따르면, 외부 전자 장치(210)(예: 프로세서(120 또는 211), 무선 통신 모듈(192) 또는 통신 회로(213))는 동작 703에서, 전자 장치(200)와 통화가 연결된 상태에서 전자 장치(200)와의 통화를 위한 메시지를 수신할 수 있다. 예를 들어, 전자 장치(200)와의 통화를 위한 메시지는 전자 장치(200)와의 통화를 위해 송신 및/또는 수신하는 미디어와 관련된 패킷인 RTP 패킷 및/또는 RTCP 패킷을 포함할 수 있다. 일예로, 전자 장치(200)와 통화가 연결된 상태는 전자 장치(200)의 통화 상태(call state)가 설립(established)으로 설정된 상태를 포함할 수 있다. According to various embodiments, the external electronic device 210 (e.g., processor 120 or 211, wireless communication module 192, or communication circuit 213) is connected to a call with the electronic device 200 in operation 703. A message for a call with the electronic device 200 can be received. For example, a message for a call with the electronic device 200 may include an RTP packet and/or RTCP packet, which are packets related to media transmitted and/or received for a call with the electronic device 200. For example, a state in which a call is connected to the electronic device 200 may include a state in which the call state of the electronic device 200 is set to established.

다양한 실시예에 따르면, 외부 전자 장치(210)(예: 프로세서(120 또는 211))는 동작 705에서, 전자 장치(200)로부터 수신한 전자 장치(200)와의 통화를 위한 메시지에서 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 확인할 수 있다. 일 실시예에 따르면, 프로세서(211)는 전자 장치(200)와 통화가 연결된 상태에서 전자 장치(200)로부터 수신한 RTP 패킷 및/또는 RTCP 패킷에서 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 확인할 수 있다. 일예로, 전자 장치(200)의 통화 녹음과 관련된 상태 정보는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드의 SDES에 포함된 CNAME, NAME, NOTE, 또는 PRIV 중 적어도 하나 또는 APP에 포함될 수 있다. 일예로, 전자 장치(200)와 통화 녹음과 관련된 상태 정보는 통화 녹음 시작, 통화 녹음 중, 통화 녹음 종료, 통화 녹음 설정, 통화 녹음 미설정, 또는 통화 녹음 미수행(예: unknown) 중 적어도 하나를 포함할 수 있다. According to various embodiments, the external electronic device 210 (e.g., the processor 120 or 211) receives a message for a call with the electronic device 200 from the electronic device 200 in operation 705. ) You can check status information related to call recording. According to one embodiment, the processor 211 stores state information related to call recording of the electronic device 200 in the RTP packet and/or RTCP packet received from the electronic device 200 while a call is connected to the electronic device 200. You can check. As an example, status information related to call recording of the electronic device 200 may be included in at least one of CNAME, NAME, NOTE, or PRIV included in the SDES of the extension field of the RTP packet and/or the extension field of the RTCP packet, or in the APP. there is. As an example, the status information related to the electronic device 200 and call recording may include at least one of call recording starting, call recording in progress, call recording ending, call recording set, call recording not set, or call recording not performed (e.g., unknown). may include.

다양한 실시예에 따르면, 외부 전자 장치(210)(예: 프로세서(120 또는 211))는 동작 707에서, 전자 장치(200)의 통화 녹음 상태와 관련된 정보를 출력할 수 있다. 일 실시예에 따르면, 프로세서(211)는 전자 장치(200)와의 통화와 관련된 화면의 적어도 일부에 전자 장치(200)의 통화 녹음 상태와 관련된 정보를 표시하도록 디스플레이(215)를 제어할 수 있다. 일예로, 디스플레이(215)에 표시되는 통화 녹음 상태와 관련된 정보는 전자 장치(200)의 통화 녹음 수행 중임을 나타내는 정보, 통화 녹음 시작 정보, 통화 녹음 종료 정보 또는 통화 녹음을 수행하지 않음을 나타내는 정보 중 적어도 하나를 포함할 수 있다.According to various embodiments, the external electronic device 210 (eg, the processor 120 or 211) may output information related to the call recording status of the electronic device 200 in operation 707. According to one embodiment, the processor 211 may control the display 215 to display information related to the call recording status of the electronic device 200 on at least a portion of the screen related to a call with the electronic device 200. As an example, information related to the call recording status displayed on the display 215 may include information indicating that the electronic device 200 is performing call recording, call recording start information, call recording end information, or information indicating that call recording is not being performed. It may include at least one of:

도 8은 다양한 실시예에 따른 외부 전자 장치에서 통화 녹음의 수락 여부를 결정하기 위한 흐름도(800)이다. 일 실시예에 따르면, 도 8의 적어도 일부는 도 7의 동작 707의 상세한 동작을 포함할 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 8의 외부 전자 장치는 도 1의 전자 장치(101) 또는 도 2의 외부 전자 장치(210)일 수 있다. 일예로, 도 8의 적어도 일부는 도 9a 및 도 9b를 참조하여 설명할 수 있다. 도 9a는 다양한 실시예에 따른 외부 전자 장치에서 통화 녹음 정보를 표시하기 위한 화면 구성의 일예이다. 도 9b는 다양한 실시예에 따른 외부 전자 장치에서 통화 녹음 정보를 표시하기 위한 화면 구성의 일예이다.FIG. 8 is a flowchart 800 for determining whether to accept call recording in an external electronic device according to various embodiments. According to one embodiment, at least a portion of FIG. 8 may include detailed operations of operation 707 of FIG. 7 . In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. For example, the external electronic device in FIG. 8 may be the electronic device 101 in FIG. 1 or the external electronic device 210 in FIG. 2 . As an example, at least part of FIG. 8 can be explained with reference to FIGS. 9A and 9B. FIG. 9A is an example of a screen configuration for displaying call recording information on an external electronic device according to various embodiments. FIG. 9B is an example of a screen configuration for displaying call recording information on an external electronic device according to various embodiments.

도 8, 도 9a 및 도 9c를 참조하는 다양한 실시예에 따르면, 외부 전자 장치(210)(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(211))는 전자 장치(200)와 통화가 연결된 상태에서 전자 장치(200)의 통화 녹음과 관련된 상태를 확인한 경우(예: 동작 705), 동작 801에서, 전자 장치(200)가 통화 녹음을 수행하는지 판단할 수 있다. 일 실시예에 따르면, 프로세서(211)는 전자 장치(200)와 통화 녹음과 관련된 상태 정보가 통화 녹음 시작, 통화 녹음 중 또는 통화 녹음 설정 정보를 포함하는 경우, 전자 장치(200)가 통화 녹음을 수행하는 것으로 판단할 수 있다. According to various embodiments referring to FIGS. 8, 9A, and 9C, the external electronic device 210 (e.g., the processor 120 of FIG. 1 or the processor 211 of FIG. 2) communicates with the electronic device 200. If the state related to call recording of the electronic device 200 is checked while connected (eg, operation 705), it may be determined in operation 801 whether the electronic device 200 is performing call recording. According to one embodiment, the processor 211 causes the electronic device 200 to record a call when the status information related to the electronic device 200 and call recording includes call recording starting, call recording in progress, or call recording setting information. It can be judged as being performed.

다양한 실시예에 따르면, 외부 전자 장치(210)(예: 프로세서(120 또는 211))는 전자 장치(200)가 통화 녹음을 수행하지 않는 것으로 판단한 경우(예: 동작 801의 '아니오'), 전자 장치(200)의 통화 녹음 정보를 출력하기 위한 일 실시예를 종료할 수 있다.According to various embodiments, when the external electronic device 210 (e.g., the processor 120 or 211) determines that the electronic device 200 does not perform call recording (e.g., 'No' in operation 801), the electronic device 200 An embodiment for outputting call recording information of the device 200 may end.

다양한 실시예에 따르면, 외부 전자 장치(210)(예: 프로세서(120 또는 211))는 전자 장치(200)가 통화 녹음을 수행하는 것으로 판단한 경우(예: 동작 801의 '예'), 동작 803에서, 전자 장치(200)의 통화 녹음 수행과 관련된 정보를 출력할 수 있다. 일 실시예에 따르면, 프로세서(211)는 전자 장치(200)의 통화 녹음 수행과 관련된 정보를 표시하도록 디스플레이(215)를 제어할 수 있다. 일 실시예에 따르면, 디스플레이(215)는 외부 전자 장치(210)와 전자 장치(200)의 통화가 연결된 경우, 도 9a와 같이, 전자 장치(200)와의 통화와 관련된 화면(900)을 표시할 수 있다. 예를 들어, 전자 장치(200)와의 통화와 관련된 화면(900)은 사용자 정보(901) 및 통화와 관련된 기능을 나타내는 적어도 하나의 아이콘을 포함할 수 있다. 일예로, 전자 장치(200)와의 통화와 관련된 화면(900)은 도 9b와 같이, 사용자와 관련된 추가 정보(931)(예: 이름)를 더 포함할 수 있다. 예를 들어, 통화와 관련된 기능을 나타내는 적어도 하나의 아이콘은 통화 녹음 아이콘(902), 블루투스 아이콘(903), 통화 상대 추가 아이콘(904), 연락처 아이콘(905), 메모 아이콘(906), 내소리 차단 아이콘(907), 스피커 통화 아이콘(908), 통화 종료 아이콘(909) 또는 키패드 아이콘(910) 중 적어도 하나를 포함할 수 있다. 일예로, 사용자 정보(901)는 외부 전자 장치(210)에 저장된 전자 장치(200)의 사용자와 관련된 정보(예: 이미지)를 포함할 수 있다. 일예로, 통화 녹음 아이콘(902)은 외부 전자 장치(210)의 통화 녹음 기능의 활성 상태 또는 비활성 상태를 나타낼 수 있다. 외부 전자 장치(210)의 통화 녹음 기능은 통화 녹음 아이콘(902)에 대응하는 사용자 입력에 기반하여 활성 또는 비활성화될 수 있다. 일예로, 블루투스 아이콘(903)은 외부 전자 장치(210)의 블루투스 기능의 활성 상태 또는 비활성 상태를 나타낼 수 있다. 외부 전자 장치(210)의 블루투스 기능은 블루투스 아이콘(903)에 대응하는 사용자 입력에 기반하여 활성 또는 비활성화될 수 있다. 일예로, 통화 상대 추가 아이콘(904)은 외부 전자 장치(210)가 전자 장치(200)와 통화 중 통화 상대를 추가하기 위한 기능을 포함할 수 있다. 통화 상대를 추가하기 위한 기능은 통화 상대 추가 아이콘(904)에 대응하는 사용자 입력에 기반하여 활성화될 수 있다. 일예로, 연락처 아이콘(905)은 외부 전자 장치(210)에 저장된 연락처를 관리하는 연락처 기능(또는 연락처 어플리케이션 프로그램)을 포함할 수 있다. 연락처 기능은 연락처 아이콘(905)에 대응하는 사용자 입력에 기반하여 활성화될 수 있다. 일예로, 메모 아이콘(906)은 메모 기능(또는 메모 어플리케이션 프로그램)을 포함할 수 있다. 메모 기능은 연락처 아이콘(905)에 대응하는 사용자 입력에 기반하여 활성화될 수 있다. 일예로, 내소리 차단 아이콘(907)은 외부 전자 장치(210)가 전자 장치(200)와 통화 수행 시, 외부 전자 장치(210)로부터 전자 장치(200)로의 오디오 신호의 전송을 차단하는 기능의 활성 상태 또는 비활성 상태를 나타낼 수 있다. 오디오 신호의 전송을 차단하는 기능은 내소리 차단 아이콘(907)에 대응하는 사용자 입력에 기반하여 활성 또는 비활성화될 수 있다. 일예로, 스피커 통화 아이콘(908)는 외부 전자 장치(210)가 전자 장치(200)와 통화 수행 시, 전자 장치(200)로부터 수신한 오디오 신호를 외부 전자 장치(210)의 외부 스피커를 통해 출력하는 스피커 기능의 활성 상태 또는 비활성 상태를 나타낼 수 있다. 스피커 기능은 스피커 통화 아이콘(908)에 대응하는 사용자 입력에 기반하여 활성 또는 비활성화될 수 있다. 일예로, 통화 종료 아이콘(909)은 외부 전자 장치(210)와 전자 장치(200)의 통화를 종료하기 위한 기능을 포함할 수 있다. 외부 전자 장치(210)와 전자 장치(200)의 통화는 통화 종료 아이콘(909)에 대응하는 사용자 입력에 기반하여 종료될 수 있다. 일예로, 키패드 아이콘(910)은 외부 전자 장치(210)의 가상 키패드를 활성화하기 위한 기능을 포함할 수 있다. 외부 전자 장치(210)의 가상 키패드는 키패드 아이콘(910)에 대응하는 사용자 입력에 기반하여 활성화될 수 있다.According to various embodiments, when the external electronic device 210 (e.g., the processor 120 or 211) determines that the electronic device 200 is performing call recording (e.g., 'Yes' in operation 801), operation 803 In , information related to the call recording performance of the electronic device 200 may be output. According to one embodiment, the processor 211 may control the display 215 to display information related to call recording by the electronic device 200. According to one embodiment, when a call between the external electronic device 210 and the electronic device 200 is connected, the display 215 displays a screen 900 related to the call with the electronic device 200, as shown in FIG. 9A. You can. For example, the screen 900 related to a call with the electronic device 200 may include user information 901 and at least one icon representing a call-related function. For example, the screen 900 related to a call with the electronic device 200 may further include additional information 931 (eg, name) related to the user, as shown in FIG. 9B. For example, at least one icon representing a function related to a call includes a call recording icon 902, a Bluetooth icon 903, an add caller icon 904, a contact icon 905, a memo icon 906, and a sound icon. It may include at least one of a block icon 907, a speaker call icon 908, a call end icon 909, or a keypad icon 910. As an example, the user information 901 may include information (eg, images) related to the user of the electronic device 200 stored in the external electronic device 210. For example, the call recording icon 902 may indicate an active or inactive state of the call recording function of the external electronic device 210. The call recording function of the external electronic device 210 may be activated or deactivated based on the user input corresponding to the call recording icon 902. For example, the Bluetooth icon 903 may indicate an active or inactive state of the Bluetooth function of the external electronic device 210. The Bluetooth function of the external electronic device 210 may be activated or deactivated based on user input corresponding to the Bluetooth icon 903. For example, the add call partner icon 904 may include a function for adding a call partner while the external electronic device 210 is on a call with the electronic device 200. The function for adding a call partner may be activated based on a user input corresponding to the add call partner icon 904. As an example, the contact icon 905 may include a contact function (or a contact application program) that manages contact information stored in the external electronic device 210. The contact feature may be activated based on user input corresponding to the contact icon 905. As an example, the memo icon 906 may include a memo function (or a memo application program). The memo function may be activated based on user input corresponding to the contact icon 905. For example, the my sound blocking icon 907 has a function of blocking the transmission of audio signals from the external electronic device 210 to the electronic device 200 when the external electronic device 210 makes a call with the electronic device 200. It can indicate an active or inactive state. The function to block the transmission of audio signals may be activated or deactivated based on the user input corresponding to the block my sound icon 907. As an example, the speaker call icon 908 outputs the audio signal received from the electronic device 200 through the external speaker of the external electronic device 210 when the external electronic device 210 makes a call with the electronic device 200. It can indicate the active or inactive status of the speaker function. The speaker function may be activated or deactivated based on user input corresponding to the speaker call icon 908. As an example, the call end icon 909 may include a function for ending a call between the external electronic device 210 and the electronic device 200. A call between the external electronic device 210 and the electronic device 200 may be terminated based on a user input corresponding to the call end icon 909. For example, the keypad icon 910 may include a function for activating the virtual keypad of the external electronic device 210. The virtual keypad of the external electronic device 210 may be activated based on a user input corresponding to the keypad icon 910.

일 실시예에 따르며, 디스플레이(215)는 도 9a와 같이 전자 장치(200)와의 통화와 관련된 화면(900)의 적어도 일부와 중첩되도록 전자 장치(200)의 통화 녹음 수행과 관련된 정보(920)를 표시할 수 있다. 일예로, 전자 장치(200)의 통화 녹음 수행과 관련된 정보(920)는 전자 장치(200)가 통화 녹음 중임을 나타내는 정보(예: "XXX가 통화 녹음 중 입니다."), 통화 녹음의 수락을 위한 아이콘(922) 또는 통화 녹음의 거절을 위한 아이콘(924) 중 적어도 하나를 포함할 수 있다. According to one embodiment, the display 215 displays information 920 related to call recording performance of the electronic device 200 so as to overlap at least a portion of the screen 900 related to the call with the electronic device 200, as shown in FIG. 9A. It can be displayed. In one example, information 920 related to performing call recording on electronic device 200 may include information indicating that electronic device 200 is recording a call (e.g., “XXX is recording a call”), acceptance of call recording. It may include at least one of an icon 922 for rejecting call recording or an icon 924 for rejecting call recording.

다양한 실시예에 따르면, 외부 전자 장치(210)(예: 프로세서(120 또는 211))는 동작 805에서, 전자 장치(200)의 통화 녹음의 수락과 관련된 사용자 입력이 수신되는지 확인할 수 있다. 일 실시예에 따르면, 전자 장치(200)의 통화 녹음의 수락과 관련된 사용자 입력은 디스플레이(215)에 표시된 전자 장치(200)의 통화 녹음 수행과 관련된 정보(920) 중 통화 녹음의 수락을 위한 아이콘(922)에 대응하는 사용자 입력을 포함할 수 있다. According to various embodiments, the external electronic device 210 (eg, the processor 120 or 211) may check whether a user input related to acceptance of the call recording of the electronic device 200 is received in operation 805. According to one embodiment, the user input related to acceptance of call recording of the electronic device 200 is an icon for accepting call recording among the information 920 related to performing call recording of the electronic device 200 displayed on the display 215. It may include user input corresponding to 922.

다양한 실시예에 따르면, 외부 전자 장치(210)(예: 프로세서(120 또는 211))는 전자 장치(200)의 통화 녹음의 수락과 관련된 사용자 입력을 수신한 경우(예: 동작 805의 '예'), 동작 807에서, 통화 녹음의 수락과 관련된 정보를 전자 장치(200)로 전송할 수 있다. 일 실시예에 따르면, 프로세서(211)는 디스플레이(215)에 표시된 전자 장치(200)의 통화 녹음 수행과 관련된 정보(920) 중 통화 녹음의 수락을 위한 아이콘(922)에 대응하는 사용자 입력을 수신한 경우, 전자 장치(200)의 통화 녹음을 수락한 것으로 판단할 수 있다. 프로세서(211)는 전자 장치(200)의 통화 녹음의 수락에 기반하여 통화 녹음의 수락과 관련된 정보를 전자 장치(200)로 전송하도록 통신 회로(213)를 제어할 수 있다. 예를 들어, 통화 녹음의 수락과 관련된 정보는 전자 장치(200)와의 통화를 위해 송신 및/또는 수신하는 미디어와 관련된 패킷인 RTP 패킷 및/또는 RTCP 패킷에 포함되어 전자 장치(200)로 전송될 수 있다. 일예로, RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드는 SDES 또는 APP를 포함할 수 있다. 일예로, RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드의 SDES는 CNAME, NAME, NOTE, 또는 PRIV 중 적어도 하나를 통해 통화 녹음의 수락과 관련된 정보를 포함할 수 있다.According to various embodiments, when the external electronic device 210 (e.g., processor 120 or 211) receives a user input related to acceptance of a call recording of the electronic device 200 (e.g., 'Yes' in operation 805) ), in operation 807, information related to acceptance of call recording may be transmitted to the electronic device 200. According to one embodiment, the processor 211 receives a user input corresponding to the icon 922 for accepting call recording among the information 920 related to performing call recording of the electronic device 200 displayed on the display 215. In one case, it may be determined that call recording by the electronic device 200 has been accepted. The processor 211 may control the communication circuit 213 to transmit information related to acceptance of the call recording to the electronic device 200 based on the electronic device 200's acceptance of the call recording. For example, information related to acceptance of a call recording may be transmitted to electronic device 200 in an RTP packet and/or RTCP packet, which are packets associated with media to be transmitted and/or received for a call with electronic device 200. You can. As an example, the extension field of the RTP packet and/or the extension field of the RTCP packet may include SDES or APP. As an example, the SDES of the extension field of the RTP packet and/or the extension field of the RTCP packet may include information related to acceptance of call recording through at least one of CNAME, NAME, NOTE, or PRIV.

다양한 실시예에 따르면, 외부 전자 장치(210)(예: 프로세서(120 또는 211))는 전자 장치(200)의 통화 녹음의 거절과 관련된 사용자 입력을 수신한 경우(예: 동작 805의 '아니오'), 동작 809에서, 통화 녹음의 거절과 관련된 정보를 전자 장치(200)로 전송할 수 있다. 일 실시예에 따르면, 프로세서(211)는 디스플레이(215)에 표시된 전자 장치(200)의 통화 녹음 수행과 관련된 정보(920) 중 통화 녹음의 거절을 위한 아이콘(924)에 대응하는 사용자 입력을 수신한 경우, 전자 장치(200)의 통화 녹음을 거절한 것으로 판단할 수 있다. 프로세서(211)는 전자 장치(200)의 통화 녹음의 거절에 기반하여 통화 녹음의 거절과 관련된 정보를 전자 장치(200)로 전송하도록 통신 회로(213)를 제어할 수 있다. 예를 들어, 통화 녹음의 거절과 관련된 정보는 전자 장치(200)와의 통화를 위해 송신 및/또는 수신하는 미디어와 관련된 패킷인 RTP 패킷 및/또는 RTCP 패킷에 포함되어 전자 장치(200)로 전송될 수 있다. 일예로, RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드는 SDES 또는 APP를 포함할 수 있다. 일예로, RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드의 SDES는 CNAME, NAME, NOTE, 또는 PRIV 중 적어도 하나를 통해 통화 녹음의 거절과 관련된 정보를 포함할 수 있다.According to various embodiments, when the external electronic device 210 (e.g., processor 120 or 211) receives a user input related to rejection of call recording of the electronic device 200 (e.g., 'No' in operation 805) ), In operation 809, information related to rejection of call recording may be transmitted to the electronic device 200. According to one embodiment, the processor 211 receives a user input corresponding to the icon 924 for rejecting call recording among the information 920 related to call recording of the electronic device 200 displayed on the display 215. In one case, it may be determined that call recording by the electronic device 200 has been rejected. The processor 211 may control the communication circuit 213 to transmit information related to the rejection of call recording to the electronic device 200 based on the rejection of the call recording by the electronic device 200. For example, information related to refusal of call recording may be transmitted to the electronic device 200 by being included in an RTP packet and/or RTCP packet, which are packets related to media transmitted and/or received for a call with the electronic device 200. You can. As an example, the extension field of the RTP packet and/or the extension field of the RTCP packet may include SDES or APP. As an example, the SDES of the extension field of the RTP packet and/or the extension field of the RTCP packet may include information related to rejection of call recording through at least one of CNAME, NAME, NOTE, or PRIV.

다양한 실시예에 따르면, 외부 전자 장치(210)는 전자 장치(200)의 통화 녹음과 관련된 상태 정보를 아이콘의 형태로 표시할 수도 있다. 일 실시예에 따르면, 프로세서(211)는 전자 장치(200)가 통화 녹음을 수행하는 것으로 판단한 경우, 도 9b와 같이, 전자 장치(200)와의 통화와 관련된 화면(900)의 적어도 일부와 중첩되도록 전자 장치(200)의 통화 녹음 수행에 대응하는 아이콘(933)을 표시하도록 디스플레이(215)를 제어할 수 있다. According to various embodiments, the external electronic device 210 may display status information related to call recording of the electronic device 200 in the form of an icon. According to one embodiment, when the processor 211 determines that the electronic device 200 is performing call recording, the processor 211 displays the screen 900 so as to overlap at least a portion of the screen 900 related to the call with the electronic device 200, as shown in FIG. 9B. The display 215 may be controlled to display an icon 933 corresponding to the call recording performed by the electronic device 200.

일 실시예에 따르면, 프로세서(211)는 디스플레이(215)에 표시된 전자 장치(200)의 통화 녹음 수행에 대응하는 아이콘(933)에 대응하는 사용자 입력을 수신한 경우, 도 9a와 같이, 전자 장치(200)의 통화 녹음 수행과 관련된 정보(920)를 표시하도록 디스플레이(215)를 제어할 수 있다.According to one embodiment, when the processor 211 receives a user input corresponding to the icon 933 corresponding to performing a call recording of the electronic device 200 displayed on the display 215, the electronic device 200, as shown in FIG. 9A, The display 215 may be controlled to display information 920 related to the call recording performance of 200 .

도 10은 다양한 실시예에 따른 전자 장치에서 통화 녹음과 관련된 정보를 전송하기 위한 일예이다. Figure 10 is an example of transmitting information related to call recording from an electronic device according to various embodiments.

도 10을 참조하는 다양한 실시예에 따르면, 전자 장치(200) 및 외부 전자 장치(210)는 통화를 수행할 수 있다(동작 1001). According to various embodiments referring to FIG. 10 , the electronic device 200 and the external electronic device 210 can make a call (operation 1001).

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화 중 전자 장치(200)의 통화 녹음과 관련된 상태를 확인할 수 있다. 일예로, 전자 장치(200)의 통화 녹음과 관련된 상태는 외부 전자 장치(210)와의 통화 녹음과 관련된 정보로, 통화 녹음 시작, 통화 녹음 중, 통화 녹음 종료, 통화 녹음 설정, 통화 녹음 미설정, 또는 통화 녹음 미수행(예: unknown) 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와 통화 중 외부 전자 장치(210)와의 통화 녹음을 수행하지 않는 경우, 통화 녹음 미수행 (예: unknown status)과 관련된 상태 정보를 외부 전자 장치(210)로 전송할 수 있다(동작 1003). 일예로, 통화 녹음 미수행과 관련된 상태 정보는 외부 전자 장치(210)로 전송되는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드에 포함될 수 있다. According to various embodiments, the electronic device 200 may check a state related to call recording of the electronic device 200 during a call with an external electronic device 210. For example, the state related to call recording of the electronic device 200 is information related to call recording with the external electronic device 210, such as call recording starting, call recording in progress, call recording ending, call recording set, call recording not set, Or, it may include at least one of the following: call recording not performed (e.g., unknown). According to one embodiment, when the electronic device 200 does not record a call with the external electronic device 210 during a call with the external electronic device 210, status information related to non-performance of call recording (e.g., unknown status) can be transmitted to the external electronic device 210 (operation 1003). For example, status information related to non-performance of call recording may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet transmitted to the external electronic device 210.

다양한 실시예에 따르면, 외부 전자 장치(210)는 전자 장치(200)와의 통화 중 전자 장치(200)로부터 수신한 통화 녹음 미수행과 관련된 상태 정보에 기반하여 전자 장치(200)의 통화 녹음의 미수행 상태를 확인할 수 있다.According to various embodiments, the external electronic device 210 determines whether call recording of the electronic device 200 is complete based on status information related to non-performance of call recording received from the electronic device 200 during a call with the electronic device 200. You can check the performance status.

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화 중 외부 전자 장치(210)와의 통화 녹음을 시작할 수 있다(예: 동작 1005). 일 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화와 관련된 화면(예: 도 9a 또는 도 9b의 통화와 관련된 화면(900))을 표시할 수 있다. 전자 장치(200)는 통화 녹음 미수행 상태에서 통화와 관련된 화면에 포함된 통화 녹음과 관련된 아이콘(예: 도 9a 또는 도 9b의 통화 녹음 아이콘(902))에 대한 사용자 입력(예: 선택 입력)에 기반하여 통화 녹음을 시작할 수 있다.According to various embodiments, the electronic device 200 may start recording a call with the external electronic device 210 during a call with the external electronic device 210 (eg, operation 1005). According to one embodiment, the electronic device 200 may display a screen related to a call with the external electronic device 210 (eg, the call-related screen 900 of FIG. 9A or 9B). The electronic device 200 may input a user input (e.g., select input) on an icon related to call recording (e.g., call recording icon 902 in FIG. 9A or 9B) included in a screen related to a call while the call recording is not performed. You can start recording calls based on .

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화 녹음을 시작한 경우, 통화 녹음 시작 (예: recoding status)(또는 통화 녹음 중)과 관련된 상태 정보를 외부 전자 장치(210)로 전송할 수 있다(동작 1007). 일예로, 통화 녹음 시작과 관련된 상태 정보는 외부 전자 장치(210)로 전송되는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드에 포함될 수 있다. According to various embodiments, when the electronic device 200 starts recording a call with the external electronic device 210, the electronic device 200 sends status information related to the start of call recording (e.g., recording status) (or during call recording) to the external electronic device 210. ) can be transmitted (operation 1007). For example, status information related to the start of call recording may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet transmitted to the external electronic device 210.

다양한 실시예에 따르면, 외부 전자 장치(210)는 전자 장치(200)와의 통화 중 전자 장치(200)로부터 수신한 통화 녹음 시작과 관련된 상태 정보에 기반하여 전자 장치(200)가 통화 녹음을 수행 중인 것으로 판단할 수 있다. 외부 전자 장치(210)는 전자 장치(200)가 통화 녹음을 수행 중임을 나타내는 정보를 출력할 수 있다(동작 1009). 일예로, 전자 장치(200)가 통화 녹음을 수행 중임을 나타내는 정보는 외부 전자 장치(210)의 디스플레이(215)에 표시될 수 있다.According to various embodiments, the external electronic device 210 determines whether the electronic device 200 is performing call recording based on status information related to the start of call recording received from the electronic device 200 during a call with the electronic device 200. It can be judged that The external electronic device 210 may output information indicating that the electronic device 200 is performing call recording (operation 1009). For example, information indicating that the electronic device 200 is performing call recording may be displayed on the display 215 of the external electronic device 210.

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화 녹음 수행 중 통화 녹음을 종료할 수 있다(예: 동작 1011). 일 실시예에 따르면, 전자 장치(200)는 통화 녹음 중 통화와 관련된 화면에서 통화 녹음과 관련된 아이콘(예: 도 9a 또는 도 9b의 통화 녹음 아이콘(902))에 대한 사용자 입력(예: 선택 입력)에 기반하여 통화 녹음을 종료할 수 있다.According to various embodiments, the electronic device 200 may end call recording while performing call recording with the external electronic device 210 (eg, operation 1011). According to one embodiment, while recording a call, the electronic device 200 inputs a user input (e.g., a selection input) for an icon related to call recording (e.g., the call recording icon 902 of FIG. 9A or 9B) on a screen related to the call. ), you can end call recording based on the call recording.

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화 녹음을 종료한 경우, 통화 녹음 종료 (예: no recoding status)와 관련된 상태 정보를 외부 전자 장치(210)로 전송할 수 있다(동작 1013). 일예로, 통화 녹음 종료와 관련된 상태 정보는 외부 전자 장치(210)로 전송되는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드에 포함될 수 있다. According to various embodiments, when the electronic device 200 ends call recording with the external electronic device 210, status information related to the end of call recording (e.g., no recording status) may be transmitted to the external electronic device 210. There is (Operation 1013). For example, status information related to the end of call recording may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet transmitted to the external electronic device 210.

다양한 실시예에 따르면, 외부 전자 장치(210)는 전자 장치(200)와의 통화 중 전자 장치(200)로부터 수신한 통화 녹음 종료와 관련된 상태 정보에 기반하여 전자 장치(200)가 통화 녹음을 종료한 것으로 판단할 수 있다. 외부 전자 장치(210)는 전자 장치(200)의 통화 녹음 종료를 나타내는 정보를 출력할 수 있다(동작 1015). 일예로, 전자 장치(200)가 통화 녹음 종료를 나타내는 정보는 외부 전자 장치(210)의 디스플레이(215)에 표시될 수 있다.According to various embodiments, the external electronic device 210 causes the electronic device 200 to terminate call recording based on status information related to termination of call recording received from the electronic device 200 during a call with the electronic device 200. It can be judged that The external electronic device 210 may output information indicating the end of call recording of the electronic device 200 (operation 1015). For example, information indicating that the electronic device 200 has finished call recording may be displayed on the display 215 of the external electronic device 210.

도 11은 다양한 실시예에 따른 전자 장치에서 통화 녹음 제한 정보에 기반하여 통화 녹음을 제한하기 위한 일예이다.FIG. 11 is an example of restricting call recording based on call recording restriction information in an electronic device according to various embodiments.

도 11을 참조하는 다양한 실시예에 따르면, 전자 장치(200) 및 외부 전자 장치(210)는 통화를 수행할 수 있다(동작 1101). According to various embodiments referring to FIG. 11, the electronic device 200 and the external electronic device 210 can make a call (operation 1101).

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화 중 전자 장치(200)의 통화 녹음과 관련된 상태를 확인할 수 있다. 일예로, 전자 장치(200)의 통화 녹음과 관련된 상태는 외부 전자 장치(210)와의 통화 녹음과 관련된 정보로, 통화 녹음 시작, 통화 녹음 중, 통화 녹음 종료, 통화 녹음 설정, 통화 녹음 미설정, 또는 통화 녹음 미수행(예: unknown) 중 적어도 하나를 포함할 수 있다. According to various embodiments, the electronic device 200 may check a state related to call recording of the electronic device 200 during a call with an external electronic device 210. For example, the state related to call recording of the electronic device 200 is information related to call recording with the external electronic device 210, such as call recording starting, call recording in progress, call recording ending, call recording set, call recording not set, Or, it may include at least one of the following: call recording not performed (e.g., unknown).

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와 통화 중 외부 전자 장치(210)와의 통화 녹음을 수행하지 않는 경우, 통화 녹음 미수행 (예: unknown status)과 관련된 상태 정보를 외부 전자 장치(210)로 전송할 수 있다(동작 1103). 일예로, 통화 녹음 미수행과 관련된 상태 정보는 외부 전자 장치(210)로 전송되는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드에 포함될 수 있다. According to various embodiments, when the electronic device 200 does not record a call with the external electronic device 210 during a call with the external electronic device 210, status information related to the failure to record the call (e.g., unknown status) can be transmitted to the external electronic device 210 (operation 1103). For example, status information related to non-performance of call recording may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet transmitted to the external electronic device 210.

다양한 실시예에 따르면, 외부 전자 장치(210)는 전자 장치(200)와의 통화 중 전자 장치(200)로부터 수신한 통화 녹음 미수행과 관련된 상태 정보에 기반하여 전자 장치(200)의 통화 녹음의 미수행 상태를 확인할 수 있다.According to various embodiments, the external electronic device 210 determines whether call recording of the electronic device 200 is complete based on status information related to non-performance of call recording received from the electronic device 200 during a call with the electronic device 200. You can check the performance status.

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화 중 외부 전자 장치(210)와의 통화 녹음을 시작할 수 있다(예: 동작 1105). 일 실시예에 따르면, 전자 장치(200)는 통화 녹음의 미수행 상태에서 외부 전자 장치(210)와의 통화와 관련된 화면(예: 도 9a 또는 도 9b의 통화와 관련된 화면(900))에 표시된 통화 녹음과 관련된 아이콘(예: 도 9a 또는 도 9b의 통화 녹음 아이콘(902))에 대한 사용자 입력(예: 선택 입력)에 기반하여 통화 녹음을 시작할 수 있다.According to various embodiments, the electronic device 200 may start recording a call with the external electronic device 210 during a call with the external electronic device 210 (eg, operation 1105). According to one embodiment, the electronic device 200 records a call displayed on a screen related to a call with the external electronic device 210 (e.g., the call-related screen 900 of FIG. 9A or 9B) while call recording is not performed. Call recording may be started based on a user input (e.g., selection input) on an icon related to recording (e.g., call recording icon 902 in FIG. 9A or FIG. 9B).

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화 녹음을 시작한 경우, 통화 녹음 시작 (예: recoding status)(또는 통화 녹음 중)과 관련된 상태 정보를 외부 전자 장치(210)로 전송할 수 있다(동작 1107). 일예로, 통화 녹음 시작과 관련된 상태 정보는 외부 전자 장치(210)로 전송되는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드에 포함될 수 있다. According to various embodiments, when the electronic device 200 starts recording a call with the external electronic device 210, the electronic device 200 sends status information related to the start of call recording (e.g., recording status) (or during call recording) to the external electronic device 210. ) can be transmitted (operation 1107). For example, status information related to the start of call recording may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet transmitted to the external electronic device 210.

다양한 실시예에 따르면, 외부 전자 장치(210)는 전자 장치(200)와의 통화 중 전자 장치(200)로부터 수신한 통화 녹음 시작과 관련된 상태 정보에 기반하여 전자 장치(200)가 통화 녹음을 수행 중인 것으로 판단할 수 있다. 외부 전자 장치(210)는 전자 장치(200)가 통화 녹음을 수행 중임을 나타내는 정보를 출력할 수 있다(동작 1109). 일예로, 전자 장치(200)가 통화 녹음을 수행 중임을 나타내는 정보는 도 9a 또는 도 9b와 같이, 통화와 관련된 화면(900)의 적어도 일부에 표시될 수 있다.According to various embodiments, the external electronic device 210 determines whether the electronic device 200 is performing call recording based on status information related to the start of call recording received from the electronic device 200 during a call with the electronic device 200. It can be judged that The external electronic device 210 may output information indicating that the electronic device 200 is performing call recording (operation 1109). For example, information indicating that the electronic device 200 is recording a call may be displayed on at least a portion of the screen 900 related to the call, as shown in FIG. 9A or 9B.

다양한 실시예에 따르면, 외부 전자 장치(210)는 통화 녹음의 거절과 관련된 사용자 입력에 기반하여 통화 녹음을 거부할 수 있다(동작 1111). 일 실시예에 따르면, 외부 전자 장치(210)는 도 9a의 통화와 관련된 화면(900)에 표시된 통화 녹음의 거절을 위한 아이콘(924)에 대한 사용자 입력(예: 선택 입력)이 검출(또는 수신)된 경우, 전자 장치(200)의 통화 녹음을 거절하는 것으로 판단할 수 있다.According to various embodiments, the external electronic device 210 may reject call recording based on a user input related to rejecting call recording (operation 1111). According to one embodiment, the external electronic device 210 detects (or receives) a user input (e.g., a selection input) for the icon 924 for rejecting call recording displayed on the call-related screen 900 of FIG. 9A. ), it may be determined that call recording by the electronic device 200 is rejected.

다양한 실시예에 따르면, 외부 전자 장치(210)는 전자 장치(200)의 통화 녹음을 거절하는 것으로의 판단에 기반하여 통화 녹음의 거절과 관련된 정보를 전자 장치(200)로 전송할 수 있다(동작 1113). 일예로, 통화 녹음의 거절과 관련된 정보는 전자 장치(200)로 전송되는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드에 포함될 수 있다. According to various embodiments, the external electronic device 210 may transmit information related to rejection of call recording to the electronic device 200 based on a determination that call recording of the electronic device 200 is rejected (operation 1113 ). For example, information related to rejection of call recording may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet transmitted to the electronic device 200.

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)로부터 수신한 통화 녹음의 거절과 관련된 정보에 기반하여 외부 전자 장치(210)와의 통화 녹음을 종료할 수 있다(동작 1115). 일 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)의 통화 녹음 거절과 관련된 정보를 디스플레이(205)를 통해 출력할 수 있다. 일 실시예에 따르면, 전자 장치(200)는 통화 녹음의 종료에 기반하여 녹음된 외부 전자 장치(210)와의 통화 내용(또는 통화 데이터)을 삭제할 수 있다.According to various embodiments, the electronic device 200 may end call recording with the external electronic device 210 based on information related to the rejection of call recording received from the external electronic device 210 (operation 1115). According to one embodiment, the electronic device 200 may output information related to the rejection of call recording by the external electronic device 210 through the display 205. According to one embodiment, the electronic device 200 may delete the recorded call content (or call data) with the external electronic device 210 based on the end of call recording.

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화 녹음을 종료한 경우, 통화 녹음 종료 (예: no recoding status)와 관련된 상태 정보를 외부 전자 장치(210)로 전송할 수 있다(동작 1117). 일예로, 통화 녹음 종료와 관련된 상태 정보는 외부 전자 장치(210)로 전송되는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드에 포함될 수 있다. According to various embodiments, when the electronic device 200 ends call recording with the external electronic device 210, status information related to the end of call recording (e.g., no recording status) may be transmitted to the external electronic device 210. There is (action 1117). For example, status information related to the end of call recording may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet transmitted to the external electronic device 210.

다양한 실시예에 따르면, 외부 전자 장치(210)는 전자 장치(200)와의 통화 중 전자 장치(200)로부터 수신한 통화 녹음 종료와 관련된 상태 정보에 기반하여 전자 장치(200)가 통화 녹음을 종료한 것으로 판단할 수 있다. 외부 전자 장치(210)는 전자 장치(200)의 통화 녹음 종료를 나타내는 정보를 출력할 수 있다(동작 1119). 일예로, 전자 장치(200)가 통화 녹음 종료를 나타내는 정보는 외부 전자 장치(210)의 디스플레이(215)에 표시될 수 있다.According to various embodiments, the external electronic device 210 causes the electronic device 200 to terminate call recording based on status information related to termination of call recording received from the electronic device 200 during a call with the electronic device 200. It can be judged that The external electronic device 210 may output information indicating the end of call recording of the electronic device 200 (operation 1119). For example, information indicating that the electronic device 200 has finished call recording may be displayed on the display 215 of the external electronic device 210.

도 12는 다양한 실시예에 따른 전자 장치에서 통화 녹음과 관련된 정보를 전송하기 위한 일예이다.Figure 12 is an example of transmitting information related to call recording from an electronic device according to various embodiments.

도 12를 참조하는 다양한 실시예에 따르면, 전자 장치(200) 및 외부 전자 장치(210)는 통화를 연결할 수 있다(동작 1201). According to various embodiments referring to FIG. 12, the electronic device 200 and the external electronic device 210 can connect a call (operation 1201).

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화 연결이 완료된 것으로 판단되는 경우, 전자 장치(200)의 통화 녹음과 관련된 상태를 확인할 수 있다. 일예로, 전자 장치(200)의 통화 녹음과 관련된 상태는 외부 전자 장치(210)와의 통화 녹음과 관련된 정보로, 통화 녹음 시작, 통화 녹음 중, 통화 녹음 종료, 통화 녹음 설정, 통화 녹음 미설정, 또는 통화 녹음 미수행(예: unknown) 중 적어도 하나를 포함할 수 있다. According to various embodiments, when it is determined that the call connection with the external electronic device 210 is completed, the electronic device 200 may check the status related to call recording of the electronic device 200. For example, the state related to call recording of the electronic device 200 is information related to call recording with the external electronic device 210, such as call recording starting, call recording in progress, call recording ending, call recording set, call recording not set, Or, it may include at least one of the following: call recording not performed (e.g., unknown).

다양한 실시예에 따르면, 전자 장치(200)는 전자 장치(200)의 통화 녹음 기능이 설정된 것으로 판단할 수 있다(동작 1203). 전자 장치(200)는 전자 장치(200)의 통화 녹음 기능의 설정에 기반하여 통화 녹음 기능의 설정(또는 통화 녹음 시작)과 관련된 상태 정보를 외부 전자 장치(210)로 전송할 수 있다(동작 1205). 일예로, 통화 녹음 기능의 설정과 관련된 상태 정보는 외부 전자 장치(210)로 전송되는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드에 포함될 수 있다. 일예로, 통화 녹음 기능의 설정은 전자 장치(200)가 외부 전자 장치(210)의 통화 연결 시 외부 전자 장치(210)와의 통화 내용을 자동으로 녹음하는 기능이 활성화된 상태를 포함할 수 있다. According to various embodiments, the electronic device 200 may determine that the call recording function of the electronic device 200 is set (operation 1203). The electronic device 200 may transmit status information related to setting the call recording function (or starting call recording) to the external electronic device 210 based on the setting of the call recording function of the electronic device 200 (operation 1205). . For example, status information related to setting up the call recording function may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet transmitted to the external electronic device 210. For example, setting the call recording function may include activating a function that automatically records the content of a call with the external electronic device 210 when the electronic device 200 connects to a call with the external electronic device 210.

다양한 실시예에 따르면, 외부 전자 장치(210)는 전자 장치(200)로부터 수신한 통화 녹음 기능이 설정과 관련된 상태 정보에 기반하여 전자 장치(200)의 통화 녹음 기능이 활성화된 것으로 판단할 수 있다. 외부 전자 장치(210)는 전자 장치(200)의 통화 녹음 기능이 활성화됨을 나타내는 정보를 출력할 수 있다(동작 1207). 일예로, 전자 장치(200)의 통화 녹음 기능이 활성화됨을 나타내는 정보는 도 9a 또는 도 9b와 같이, 통화와 관련된 화면(900)의 적어도 일부에 표시될 수 있다.According to various embodiments, the external electronic device 210 may determine that the call recording function of the electronic device 200 is activated based on status information related to the call recording function settings received from the electronic device 200. . The external electronic device 210 may output information indicating that the call recording function of the electronic device 200 is activated (operation 1207). For example, information indicating that the call recording function of the electronic device 200 is activated may be displayed on at least a portion of the screen 900 related to the call, as shown in FIG. 9A or 9B.

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화 녹음을 시작할 수 있다(예: 동작 1209). 일 실시예에 따르면, 전자 장치(200)는 통화 녹음 기능의 설정과 관련된 정보를 전송한 시점부터 지정된 시간이 경과하도록 통화 녹음의 거절과 관련된 정보가 수신되지 않는 경우, 외부 전자 장치(210)와의 통화 녹음을 수행(또는 시작)할 수 있다. 일 실시예에 따르면, 전자 장치(200)는 통화 녹음 시작 (예: recoding status)(또는 통화 녹음 중)과 관련된 상태 정보를 외부 전자 장치(210)로 전송할 수도 있다According to various embodiments, the electronic device 200 may start recording a call with the external electronic device 210 (eg, operation 1209). According to one embodiment, if information related to rejection of call recording is not received even after a specified time has elapsed from the time of transmitting information related to setting up the call recording function, the electronic device 200 contacts the external electronic device 210. You can perform (or start) call recording. According to one embodiment, the electronic device 200 may transmit status information related to the start of call recording (e.g., recording status) (or call recording in progress) to the external electronic device 210.

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화 녹음 수행 중 통화 녹음을 종료할 수 있다(예: 동작 1211). 일 실시예에 따르면, 전자 장치(200)는 통화 녹음 중 통화와 관련된 화면에서 통화 녹음과 관련된 아이콘(예: 도 9a 또는 도 9b의 통화 녹음 아이콘(902))에 대한 사용자 입력(예: 선택 입력)에 기반하여 통화 녹음을 종료할 수 있다.According to various embodiments, the electronic device 200 may end call recording while performing call recording with the external electronic device 210 (eg, operation 1211). According to one embodiment, while recording a call, the electronic device 200 inputs a user input (e.g., a selection input) for an icon related to call recording (e.g., the call recording icon 902 of FIG. 9A or 9B) on a screen related to the call. ), you can end call recording based on the call recording.

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화 녹음을 종료한 경우, 통화 녹음 종료 (예: no recoding status)와 관련된 상태 정보를 외부 전자 장치(210)로 전송할 수 있다(동작 1213). 일예로, 통화 녹음 종료와 관련된 상태 정보는 외부 전자 장치(210)로 전송되는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드에 포함될 수 있다. According to various embodiments, when the electronic device 200 ends call recording with the external electronic device 210, status information related to the end of call recording (e.g., no recording status) may be transmitted to the external electronic device 210. There is (Operation 1213). For example, status information related to the end of call recording may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet transmitted to the external electronic device 210.

다양한 실시예에 따르면, 외부 전자 장치(210)는 전자 장치(200)와의 통화 중 전자 장치(200)로부터 수신한 통화 녹음 종료와 관련된 상태 정보에 기반하여 전자 장치(200)가 통화 녹음을 종료한 것으로 판단할 수 있다. 외부 전자 장치(210)는 전자 장치(200)의 통화 녹음 종료를 나타내는 정보를 출력할 수 있다(동작 1215). 일예로, 전자 장치(200)가 통화 녹음 종료를 나타내는 정보는 외부 전자 장치(210)의 디스플레이(215)에 표시될 수 있다.According to various embodiments, the external electronic device 210 causes the electronic device 200 to terminate call recording based on status information related to termination of call recording received from the electronic device 200 during a call with the electronic device 200. It can be judged that The external electronic device 210 may output information indicating the end of call recording of the electronic device 200 (operation 1215). For example, information indicating that the electronic device 200 has finished call recording may be displayed on the display 215 of the external electronic device 210.

도 13은 다양한 실시예에 따른 전자 장치에서 통화 녹음 제한 정보에 기반하여 통화 녹음을 제한하기 위한 일예이다.FIG. 13 is an example of restricting call recording based on call recording restriction information in an electronic device according to various embodiments.

도 13을 참조하는 다양한 실시예에 따르면, 전자 장치(200) 및 외부 전자 장치(210)는 통화를 연결할 수 있다(동작 1301). According to various embodiments referring to FIG. 13, the electronic device 200 and the external electronic device 210 can connect a call (operation 1301).

다양한 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)와의 통화 연결이 완료된 것으로 판단되는 경우, 전자 장치(200)의 통화 녹음과 관련된 상태를 확인할 수 있다. 일예로, 전자 장치(200)의 통화 녹음과 관련된 상태는 외부 전자 장치(210)와의 통화 녹음과 관련된 정보로, 통화 녹음 시작, 통화 녹음 중, 통화 녹음 종료, 통화 녹음 설정, 통화 녹음 미설정, 또는 통화 녹음 미수행(예: unknown) 중 적어도 하나를 포함할 수 있다. According to various embodiments, when it is determined that the call connection with the external electronic device 210 is completed, the electronic device 200 may check the status related to call recording of the electronic device 200. For example, the state related to call recording of the electronic device 200 is information related to call recording with the external electronic device 210, such as call recording starting, call recording in progress, call recording ending, call recording set, call recording not set, Or, it may include at least one of the following: call recording not performed (e.g., unknown).

다양한 실시예에 따르면, 전자 장치(200)는 전자 장치(200)의 통화 녹음 기능이 설정된 것으로 판단할 수 있다(동작 1303). 전자 장치(200)는 전자 장치(200)의 통화 녹음 기능의 설정에 기반하여 통화 녹음 기능의 설정(또는 통화 녹음 시작)과 관련된 상태 정보를 외부 전자 장치(210)로 전송할 수 있다(동작 1305). 일예로, 통화 녹음 기능의 설정과 관련된 상태 정보는 외부 전자 장치(210)로 전송되는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드에 포함될 수 있다. According to various embodiments, the electronic device 200 may determine that the call recording function of the electronic device 200 is set (operation 1303). The electronic device 200 may transmit status information related to setting the call recording function (or starting call recording) to the external electronic device 210 based on the setting of the call recording function of the electronic device 200 (operation 1305). . For example, status information related to setting up the call recording function may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet transmitted to the external electronic device 210.

다양한 실시예에 따르면, 외부 전자 장치(210)는 전자 장치(200)로부터 수신한 통화 녹음 기능이 설정과 관련된 상태 정보에 기반하여 전자 장치(200)의 통화 녹음 기능이 활성화된 것으로 판단할 수 있다. 외부 전자 장치(210)는 전자 장치(200)의 통화 녹음 기능이 활성화됨을 나타내는 정보를 출력할 수 있다(동작 1307). 일예로, 전자 장치(200)의 통화 녹음 기능이 활성화됨을 나타내는 정보는 도 9a 또는 도 9b와 같이, 통화와 관련된 화면(900)의 적어도 일부에 표시될 수 있다.According to various embodiments, the external electronic device 210 may determine that the call recording function of the electronic device 200 is activated based on status information related to the call recording function settings received from the electronic device 200. . The external electronic device 210 may output information indicating that the call recording function of the electronic device 200 is activated (operation 1307). For example, information indicating that the call recording function of the electronic device 200 is activated may be displayed on at least a portion of the screen 900 related to the call, as shown in FIG. 9A or 9B.

다양한 실시예에 따르면, 외부 전자 장치(210)는 전자 장치(200)의 통화 녹음의 수락과 관련된 사용자 입력에 기반하여 전자 장치(200)의 통화 녹음을 수락할 수 있다(동작 1309). 일 실시예에 따르면, 외부 전자 장치(210)는 도 9a의 통화와 관련된 화면(900)에 표시된 통화 녹음의 수락을 위한 아이콘(922)에 대한 사용자 입력(예: 선택 입력)이 검출(또는 수신)된 경우, 전자 장치(200)의 통화 녹음을 수락하는 것으로 판단할 수 있다.According to various embodiments, the external electronic device 210 may accept the call recording of the electronic device 200 based on a user input related to acceptance of the call recording of the electronic device 200 (operation 1309). According to one embodiment, the external electronic device 210 detects (or receives) a user input (e.g., a selection input) for the icon 922 for accepting a call recording displayed on the call-related screen 900 of FIG. 9A. ), it may be determined that the call recording of the electronic device 200 is accepted.

다양한 실시예에 따르면, 외부 전자 장치(210)는 전자 장치(200)의 통화 녹음을 수락하는 것으로의 판단에 기반하여 통화 녹음의 수락과 관련된 정보를 전자 장치(200)로 전송할 수 있다(동작 1311). 일예로, 통화 녹음의 수락과 관련된 정보는 전자 장치(200)로 전송되는 RTP 패킷의 확장 필드 및/또는 RTCP 패킷의 확장 필드에 포함될 수 있다. According to various embodiments, the external electronic device 210 may transmit information related to acceptance of call recording to the electronic device 200 based on a determination that the electronic device 200 accepts call recording (operation 1311 ). As an example, information related to acceptance of call recording may be included in an extension field of an RTP packet and/or an extension field of an RTCP packet transmitted to the electronic device 200.

다양한 실시예에 따르면, 전자 장치(200)는 통화 녹음의 수락과 관련된 정보에 기반하여 외부 전자 장치(210)와의 통화 녹음을 시작할 수 있다(예: 동작 1313). 일 실시예에 따르면, 전자 장치(200)는 외부 전자 장치(210)의 통화 녹음 수락과 관련된 정보를 디스플레이(205)를 통해 출력할 수 있다. According to various embodiments, the electronic device 200 may start recording a call with the external electronic device 210 based on information related to acceptance of call recording (eg, operation 1313). According to one embodiment, the electronic device 200 may output information related to acceptance of call recording by the external electronic device 210 through the display 205.

다양한 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))는 외부 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 외부 전자 장치(210))통화를 연결하는 동작을 포함할 수 있다. 일 실시예에 따르면, 전자 장치는 상기 외부 전자 장치와의 통화가 연결된 상태에서 상기 외부 전자 장치와의 통화 녹음의 수행에 기반하여 상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP(real-time transport protocol) 패킷 또는 RTCP(real-time transport control protocol) 패킷 중 적어도 하나를 생성하는 동작을 포함할 수 있다. 일 실시예에 따르면, 전자 장치는 외부 전자 장치와의 통화가 연결된 상태에서 상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 상기 외부 전자 장치로 전송하는 동작을 포함할 수 있다. According to various embodiments, an electronic device (e.g., the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2) is an external electronic device (e.g., the electronic device 101 of FIG. 1 or the external electronic device of FIG. 2). Device 210) may include an operation to connect a call. According to one embodiment, the electronic device includes a real-time transport protocol (RTP) that includes status information related to the call recording based on the performance of the call recording with the external electronic device while the call with the external electronic device is connected. ) packet or RTCP (real-time transport control protocol) packet. According to one embodiment, the electronic device may include transmitting at least one of an RTP packet or an RTCP packet containing status information related to the call recording to the external electronic device while a call is connected to the external electronic device. there is.

다양한 실시예에 따르면, 통화 녹음과 관련된 상태 정보는, RTP 패킷 또는 RTCP 패킷 중 적어도 하나의 확장(extension) 필드에 포함될 수 있다.According to various embodiments, status information related to call recording may be included in an extension field of at least one of an RTP packet or an RTCP packet.

다양한 실시예에 따르면, 통화 녹음과 관련된 상태 정보는, RTP 패킷 또는 RTCP 패킷 중 적어도 하나의 확장(extension) 필드에 포함되는 APP(application specific), SDES(Source Description)의 CNAME (Canonical End-Point Identifier), NAME, NOTE (Notice/Status SDES Item) 또는 PRIV (Private Extensions SDES Item) 중 적어도 하나에 포함될 수 있다.According to various embodiments, the status information related to call recording is a CNAME (Canonical End-Point Identifier) of an application specific (APP) and a source description (SDES) included in an extension field of at least one of an RTP packet or an RTCP packet. ), NAME, NOTE (Notice/Status SDES Item), or PRIV (Private Extensions SDES Item).

다양한 실시예에 따르면, 외부 전자 장치로 전송하는 동작은, 외부 전자 장치와의 통화 상태(call status)가 설립(established)으로 설정된 상태에서 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 외부 전자 장치로 전송하는 동작을 포함할 수 있다.According to various embodiments, the operation of transmitting to an external electronic device is performed when the call status with the external electronic device is set to established. It may include transmitting at least one message to an external electronic device.

다양한 실시예에 따르면, 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나의 전송에 기반하여 외부 전자 장치와의 통화 녹음을 수행하는 동작을 포함할 수 있다.According to various embodiments, the method may include recording a call with an external electronic device based on transmission of at least one of an RTP packet or an RTCP packet including status information related to call recording.

다양한 실시예에 따르면, 외부 전자 장치와의 통화 녹음 중 통화 녹음의 거절과 관련된 정보가 수신되는 경우, 외부 전자 장치와의 통화 녹음을 종료하는 동작을 포함할 수 있다.According to various embodiments, when information related to rejection of call recording is received while recording a call with an external electronic device, the operation may include terminating the recording of a call with an external electronic device.

다양한 실시예에 따르면, 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나에 대한 응답으로 통화 녹음의 수락과 관련된 정보가 수신되는 경우, 외부 전자 장치와의 통화 녹음을 수행하는 동작을 포함할 수 있다.According to various embodiments, when information related to acceptance of call recording is received in response to at least one of an RTP packet or an RTCP packet containing status information related to call recording, performing a call recording with an external electronic device. may include.

다양한 실시예에 따르면, 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나에 대한 응답으로 통화 녹음의 거절과 관련된 정보가 수신되는 경우, 외부 전자 장치와의 통화 녹음을 제한하는 동작을 포함할 수 있다.According to various embodiments, when information related to rejection of call recording is received in response to at least one of an RTP packet or an RTCP packet containing status information related to call recording, an operation of restricting call recording with an external electronic device may include.

다양한 실시예에 따르면, 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 전송한 시점부터 지정된 시간이 경과하도록 통화 녹음의 거절과 관련된 정보가 수신되지 않는 경우, 외부 전자 장치와의 통화 녹음을 수행하는 동작을 포함할 수 있다.According to various embodiments, when information related to rejection of call recording is not received until a specified time has elapsed from the time of transmitting at least one of an RTP packet or an RTCP packet containing status information related to call recording, an external electronic device and It may include the operation of recording a call.

본 명세서와 도면에 개시된 본 발명의 실시예는 본 발명의 실시예에 따른 기술 내용을 쉽게 설명하고 본 발명의 실시예의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 실시예의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 다양한 실시예의 범위는 여기에 개시된 실시예 이외에도 본 발명의 다양한 실시예의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 다양한 실시예의 범위에 포함되는 것으로 해석되어야 한다. The embodiments of the present invention disclosed in the specification and drawings are merely presented as specific examples to easily explain the technical content according to the embodiments of the present invention and to aid understanding of the embodiments of the present invention, and do not limit the scope of the embodiments of the present invention. That's not what I want to do. Therefore, the scope of the various embodiments of the present invention should be construed as including all changes or modified forms derived based on the technical idea of the various embodiments of the present invention in addition to the embodiments disclosed herein.

Claims (20)

전자 장치에 있어서,
통신 회로; 및
상기 통신 회로와 작동적으로 연결된 적어도 하나의 프로세서를 포함하며,
상기 프로세서는,
상기 통신 회로를 통해 외부 전자 장치와 통화를 연결하고,
상기 외부 전자 장치와의 통화가 연결된 상태에서 상기 외부 전자 장치와의 통화 녹음의 수행에 기반하여 상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP(real-time transport protocol) 패킷 또는 RTCP(real-time transport control protocol) 패킷 중 적어도 하나를 생성하고,
상기 외부 전자 장치와의 통화가 연결된 상태에서 상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 상기 외부 전자 장치로 전송하는 전자 장치.
In electronic devices,
communication circuit; and
At least one processor operatively connected to the communication circuitry,
The processor,
Connecting a call with an external electronic device through the communication circuit,
A real-time transport protocol (RTP) packet or real-time transport (RTCP) packet containing status information related to the call recording based on the performance of the call recording with the external electronic device while the call with the external electronic device is connected. generate at least one of the control protocol) packets,
An electronic device that transmits at least one of an RTP packet or an RTCP packet containing status information related to the call recording to the external electronic device while the call with the external electronic device is connected.
제 1항에 있어서,
상기 통화 녹음과 관련된 상태 정보는, 상기 RTP 패킷 또는 상기 RTCP 패킷 중 적어도 하나의 확장(extension) 필드에 포함되는 전자 장치.
According to clause 1,
The status information related to the call recording is included in an extension field of at least one of the RTP packet or the RTCP packet.
제 2항에 있어서,
상기 통화 녹음과 관련된 상태 정보는, 상기 RTP 패킷 또는 상기 RTCP 패킷 중 적어도 하나의 확장(extension) 필드에 포함되는 APP(application specific), SDES(Source Description)의 CNAME (Canonical End-Point Identifier), NAME, NOTE (Notice/Status SDES Item) 또는 PRIV (Private Extensions SDES Item) 중 적어도 하나에 포함되는 전자 장치.
According to clause 2,
The status information related to the call recording includes application specific (APP), CNAME (Canonical End-Point Identifier) of SDES (Source Description), and NAME included in the extension field of at least one of the RTP packet or the RTCP packet. , an electronic device included in at least one of NOTE (Notice/Status SDES Item) or PRIV (Private Extensions SDES Item).
제 1항에 있어서,
상기 프로세서는, 상기 외부 전자 장치와의 통화 상태(call status)가 설립(established)으로 설정된 상태에서 상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 상기 외부 전자 장치로 전송하는 전자 장치.
According to clause 1,
The processor transmits at least one of an RTP packet or an RTCP packet containing status information related to the call recording to the external electronic device when the call status with the external electronic device is set to established. electronic device that does.
제 1항에 있어서,
상기 프로세서는, 상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나의 전송에 기반하여 상기 외부 전자 장치와의 통화 녹음을 수행하는 전자 장치.
According to clause 1,
The processor is an electronic device that records a call with the external electronic device based on transmission of at least one of an RTP packet or an RTCP packet containing status information related to the call recording.
제 5항에 있어서,
상기 프로세서는, 상기 외부 전자 장치와의 통화 녹음 중 통화 녹음의 거절과 관련된 정보가 수신되는 경우, 상기 외부 전자 장치와의 통화 녹음을 종료하는 전자 장치.
According to clause 5,
The processor terminates call recording with the external electronic device when information related to rejection of call recording is received while recording the call with the external electronic device.
제 1항에 있어서,
상기 프로세서는, 상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나에 대한 응답으로 통화 녹음의 수락과 관련된 정보가 수신되는 경우, 상기 외부 전자 장치와의 통화 녹음을 수행하는 전자 장치.
According to clause 1,
The processor is configured to record a call with the external electronic device when information related to acceptance of the call recording is received in response to at least one of an RTP packet or an RTCP packet containing status information related to the call recording. Device.
제 1항에 있어서,
상기 프로세서는, 상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나에 대한 응답으로 통화 녹음의 거절과 관련된 정보가 수신되는 경우, 상기 외부 전자 장치와의 통화 녹음을 제한하는 전자 장치.
According to clause 1,
The processor is configured to restrict call recording with the external electronic device when information related to rejection of call recording is received in response to at least one of an RTP packet or an RTCP packet containing status information related to call recording. Device.
제 1항에 있어서,
상기 프로세서는, 상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 전송한 시점부터 지정된 시간이 경과하도록 통화 녹음의 거절과 관련된 정보가 수신되지 않는 경우, 상기 외부 전자 장치와의 통화 녹음을 수행하는 전자 장치.
According to clause 1,
If information related to rejection of call recording is not received even after a specified time has elapsed from the time of transmitting at least one of an RTP packet or an RTCP packet containing status information related to the call recording, the processor is configured to communicate with the external electronic device. An electronic device that records phone calls.
전자 장치의 동작 방법에 있어서,
외부 전자 장치와 통화를 연결하는 동작,
상기 외부 전자 장치와의 통화가 연결된 상태에서 상기 외부 전자 장치와의 통화 녹음의 수행에 기반하여 상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP(real-time transport protocol) 패킷 또는 RTCP(real-time transport control protocol) 패킷 중 적어도 하나를 생성하는 동작, 및
상기 외부 전자 장치와의 통화가 연결된 상태에서 상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 상기 외부 전자 장치로 전송하는 동작을 포함하는 방법.
In a method of operating an electronic device,
Establishing a call with an external electronic device;
A real-time transport protocol (RTP) packet or real-time transport (RTCP) packet containing status information related to the call recording based on the performance of the call recording with the external electronic device while the call with the external electronic device is connected. an operation of generating at least one of a control protocol) packet, and
A method comprising transmitting at least one of an RTP packet or an RTCP packet containing status information related to the call recording to the external electronic device while the call with the external electronic device is connected.
제 10항에 있어서,
상기 통화 녹음과 관련된 상태 정보는, 상기 RTP 패킷 또는 상기 RTCP 패킷 중 적어도 하나의 확장(extension) 필드에 포함되는 방법.
According to clause 10,
The method wherein the status information related to the call recording is included in an extension field of at least one of the RTP packet or the RTCP packet.
제 11항에 있어서,
상기 통화 녹음과 관련된 상태 정보는, 상기 RTP 패킷 또는 상기 RTCP 패킷 중 적어도 하나의 확장(extension) 필드에 포함되는 APP(application specific), SDES(Source Description)의 CNAME (Canonical End-Point Identifier), NAME, NOTE (Notice/Status SDES Item) 또는 PRIV (Private Extensions SDES Item) 중 적어도 하나에 포함되는 방법.
According to clause 11,
The status information related to the call recording includes application specific (APP), CNAME (Canonical End-Point Identifier) of SDES (Source Description), and NAME included in the extension field of at least one of the RTP packet or the RTCP packet. , a method included in at least one of NOTE (Notice/Status SDES Item) or PRIV (Private Extensions SDES Item).
제 10항에 있어서,
상기 외부 전자 장치로 전송하는 동작은,
상기 외부 전자 장치와의 통화 상태(call status)가 설립(established)으로 설정된 상태에서 상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 상기 외부 전자 장치로 전송하는 동작을 포함하는 방법.
According to clause 10,
The operation of transmitting to the external electronic device is:
In a state where the call status with the external electronic device is set to established, transmitting at least one of an RTP packet or an RTCP packet containing status information related to the call recording to the external electronic device. How to.
제 10항에 있어서,
상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나의 전송에 기반하여 상기 외부 전자 장치와의 통화 녹음을 수행하는 동작을 더 포함하는 방법.
According to clause 10,
The method further includes recording a call with the external electronic device based on transmission of at least one of an RTP packet or an RTCP packet including status information related to the call recording.
제 14항에 있어서,
상기 외부 전자 장치와의 통화 녹음 중 통화 녹음의 거절과 관련된 정보가 수신되는 경우, 상기 외부 전자 장치와의 통화 녹음을 종료하는 동작을 더 포함하는 방법.
According to clause 14,
The method further includes ending call recording with the external electronic device when information related to rejection of call recording is received while recording the call with the external electronic device.
제 10항에 있어서,
상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나에 대한 응답으로 통화 녹음의 수락과 관련된 정보가 수신되는 경우, 상기 외부 전자 장치와의 통화 녹음을 수행하는 동작을 더 포함하는 방법.
According to clause 10,
When information related to acceptance of call recording is received in response to at least one of an RTP packet or an RTCP packet containing status information related to the call recording, performing call recording with the external electronic device further comprising: method.
제 10항에 있어서,
상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나에 대한 응답으로 통화 녹음의 거절과 관련된 정보가 수신되는 경우, 상기 외부 전자 장치와의 통화 녹음을 제한하는 동작을 더 포함하는 방법.
According to clause 10,
When information related to rejection of call recording is received in response to at least one of an RTP packet or RTCP packet containing status information related to call recording, further comprising restricting call recording with the external electronic device. method.
제 10항에 있어서,
상기 통화 녹음과 관련된 상태 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 전송한 시점부터 지정된 시간이 경과하도록 통화 녹음의 거절과 관련된 정보가 수신되지 않는 경우, 상기 외부 전자 장치와의 통화 녹음을 수행하는 동작을 더 포함하는 방법.
According to clause 10,
If information related to rejection of call recording is not received even after a specified time has elapsed from the time of transmitting at least one of an RTP packet or an RTCP packet containing status information related to the call recording, the call recording with the external electronic device is stopped. How to include more actions to perform.
외부 전자 장치에 있어서,
디스플레이;
통신 회로; 및
상기 디스플레이 및 상기 통신 회로와 작동적으로 연결된 적어도 하나의 프로세서를 포함하며,
상기 프로세서는,
상기 통신 회로를 통해 외부 전자 장치와 통화를 연결하고,
상기 외부 전자 장치로부터 수신한 RTP(real-time transport protocol) 패킷 또는 RTCP(real-time transport control protocol) 패킷 중 적어도 하나를 통해, 상기 전자 장치의 통화 녹음과 관련된 상태 정보를 확인하고,
상기 전자 장치의 통화 녹음과 관련된 상태 정보를 상기 디스플레이를 통해 출력하는 외부 전자 장치.
In external electronic devices,
display;
communication circuit; and
At least one processor operatively coupled to the display and the communication circuitry,
The processor,
Connecting a call with an external electronic device through the communication circuit,
Check status information related to call recording of the electronic device through at least one of a real-time transport protocol (RTP) packet or a real-time transport control protocol (RTCP) packet received from the external electronic device,
An external electronic device that outputs status information related to call recording of the electronic device through the display.
제 19항에 있어서,
상기 프로세서는, 상기 통화 녹음의 거절과 관련된 입력이 검출된 경우, 상기 통신 회로를 통해, 상기 외부 전자 장치와의 통화가 연결된 상태에서 상기 통화 녹음의 거절과 관련된 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 상기 전자 장치로 전송하고,
상기 통화 녹음의 수락과 관련된 입력이 검출된 경우, 상기 통신 회로를 통해, 상기 외부 전자 장치와의 통화가 연결된 상태에서 상기 통화 녹음의 수락과 관련된 정보를 포함하는 RTP 패킷 또는 RTCP 패킷 중 적어도 하나를 상기 전자 장치로 전송하는 외부 전자 장치.
According to clause 19,
When an input related to the rejection of the call recording is detected, the processor generates an RTP packet or RTCP packet containing information related to the rejection of the call recording while a call with the external electronic device is connected through the communication circuit. transmit at least one of the following to the electronic device,
When an input related to acceptance of the call recording is detected, at least one of an RTP packet or an RTCP packet containing information related to the acceptance of the call recording is sent through the communication circuit while a call with the external electronic device is connected. An external electronic device that transmits data to the electronic device.
KR1020220099015A 2022-07-11 2022-08-09 Electronic device for performing call recording and operating method thereof KR20240008221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/KR2023/004386 WO2024014654A1 (en) 2022-07-11 2023-03-31 Electronic device for performing call recording and operation method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20220084861 2022-07-11
KR1020220084861 2022-07-11

Publications (1)

Publication Number Publication Date
KR20240008221A true KR20240008221A (en) 2024-01-18

Family

ID=89716228

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220099015A KR20240008221A (en) 2022-07-11 2022-08-09 Electronic device for performing call recording and operating method thereof

Country Status (1)

Country Link
KR (1) KR20240008221A (en)

Similar Documents

Publication Publication Date Title
KR20220016544A (en) Electronic device for supporting audio sharing
US11900015B2 (en) Electronic device and method for controlling audio volume thereof
US20220319553A1 (en) Electronic device for processing audio data and method for operating same
US20240056720A1 (en) Method for outputting audio signal, and electronic device for performing same
KR20220102492A (en) Audio device for processing audio data and operating method thereof
US20230217169A1 (en) Electronic device and multichannel audio output method using same
KR20240008221A (en) Electronic device for performing call recording and operating method thereof
KR20220040639A (en) Electronic device for direct communication with external electronic device and operating method thereof
KR20210146082A (en) Electronic device for wireless communication and method for operation in the electronic device for wireless communication
KR20220016552A (en) The method for processing data and the electronic device supporting the same
US20230156113A1 (en) Method and electronic device for controlling operation
US20230224397A1 (en) Electronic device and method for providing user interface during call
US20230231889A1 (en) Electronic device for determining call type with external electronic device and method thereof
US20220385722A1 (en) Electronic device for file transfer and operating method thereof
US20230337302A1 (en) Electronic device that carries out communication and operation method therefor
EP4207725A1 (en) Electronic device and method for recording call
US20240048613A1 (en) Electronic device and method of forming wi-fi peer to peer (p2p) group
US20240129300A1 (en) Remote authorization method and electronic device for performing same method
US20220225449A1 (en) Electronic device for switching communication connections according to noise environment and method for controlling the same
EP4390924A1 (en) Electronic device for audio recording and operating method thereof
EP4262236A1 (en) Audio device for processing audio data and operating method thereof
US20220095297A1 (en) Electronic device for direct communication with external electronic device and operating method thereof
US20240179498A1 (en) Electronic device for performing wireless communication and operation method thereof
KR20220061740A (en) Electronic device for transmitting data via communication connection and method of operating the same
KR20220131627A (en) Electronic device for sharing function and operating method thereof