KR20220013762A - Electronic device supporting multiple subscriber identity modules and method for operating thereof - Google Patents

Electronic device supporting multiple subscriber identity modules and method for operating thereof Download PDF

Info

Publication number
KR20220013762A
KR20220013762A KR1020200093119A KR20200093119A KR20220013762A KR 20220013762 A KR20220013762 A KR 20220013762A KR 1020200093119 A KR1020200093119 A KR 1020200093119A KR 20200093119 A KR20200093119 A KR 20200093119A KR 20220013762 A KR20220013762 A KR 20220013762A
Authority
KR
South Korea
Prior art keywords
sim
call
electronic device
network
codec
Prior art date
Application number
KR1020200093119A
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 KR1020200093119A priority Critical patent/KR20220013762A/en
Priority to PCT/KR2021/009576 priority patent/WO2022025538A1/en
Publication of KR20220013762A publication Critical patent/KR20220013762A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1096Supplementary features, e.g. call forwarding or call holding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • H04L65/607
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/54Arrangements for diverting calls for one subscriber to another predetermined subscriber
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to an electronic device for supporting a plurality of subscriber identification modules (SIM) to increase quality of a call and an operation method thereof. According to one embodiment of the present invention, the electronic device comprises at least one antenna module and at least one processor communicating with a plurality of SIMs included in the electronic device and communicating with a communication network and an IP multimedia subsystem (IMS) network through the at least one antenna module. The at least one processor receives a call request for a first SIM among the plurality of SIMs from an IMS server of an IMS network; transmits a response message to the call request to the IMS server; checks occurrence of a network error related to the call to the first SIM; check a second SIM preset for call forwarding among the plurality of SIMs in response to confirmation of the occurrence of the network error; and requests the call forwarding to the second SIM for the call to the IMS server. Various other embodiments are possible.

Description

복수의 가입자 식별 모듈들을 지원하는 전자 장치 및 그 동작 방법{ELECTRONIC DEVICE SUPPORTING MULTIPLE SUBSCRIBER IDENTITY MODULES AND METHOD FOR OPERATING THEREOF}ELECTRONIC DEVICE SUPPORTING MULTIPLE SUBSCRIBER IDENTITY MODULES AND METHOD FOR OPERATING THEREOF

다양한 실시예는 복수 SIM(subscriber identity module)을 지원하는 전자 장치 및 그 동작 방법에 관한 것이다.Various embodiments relate to an electronic device supporting a plurality of subscriber identity modules (SIMs) and an operating method thereof.

무선 통신 시스템에서 전자 장치(예: 사용자 장치(user equipment: UE))는 무선 통신 네트워크에 접속하여 정해진 위치나 이동 중에 음성 통신 또는 데이터 통신 서비스를 이용할 수 있다. 전자 장치에 통신 서비스를 제공하기 위해서는 적절한 인증 과정이 필요하다. 일반적으로는 UICC(universal integrated circuit card; 범용 집적 회로 카드)가 전자 장치에 삽입되고, UICC 내부에 설치되어 있는 USIM(universal subscriber identity module)을 통해 전자 장치와 통신 사업자(mobile network operator; MNO)의 서버간에 인증이 수행된다. UICC는 GSM(global system for mobile communications) 방식의 경우 SIM(subscriber identity module) 카드, WCDMA(wideband code division multiple access), LTE(long term evolution), NR(new radio) 방식의 경우 USIM(universal subscriber identity module) 카드로 불릴 수 있다.In a wireless communication system, an electronic device (eg, user equipment (UE)) may access a wireless communication network and use a voice communication or data communication service while in a predetermined location or while moving. In order to provide a communication service to an electronic device, an appropriate authentication process is required. In general, a universal integrated circuit card (UICC) is inserted into an electronic device, and the electronic device and a mobile network operator (MNO) communicate with each other through a universal subscriber identity module (USIM) installed inside the UICC. Authentication is performed between servers. UICC is a subscriber identity module (SIM) card in the case of a global system for mobile communications (GSM) method, a universal subscriber identity (USIM) in the case of a wideband code division multiple access (WCDMA), long term evolution (LTE), and a new radio (NR) method. module) can be called a card.

전자 장치의 사용자가 통신 사업자가 제공하는 무선 통신 서비스에 가입하면, 통신 사업자는 사용자에게 UICC(예: SIM 카드 또는 USIM 카드)를 제공하고, 사용자가 자신의 전자 장치에 제공받은 UICC를 삽입할 수 있다. UICC가 전자 장치에 삽입되면, UICC 내부에 설치되어 있는 USIM 어플리케이션이 실행되어 UICC 내부에 저장되어 있는 IMSI(international mobile subscriber identity) 값과 인증을 위한 암호키 값을 이용하여 동일한 값이 저장되어 있는 통신 사업자의 서버와 적절한 인증 과정이 수행될 수 있다. 적절한 인증 과정이 수행된 후 무선 통신서비스가 이용될 수 있다.When a user of an electronic device subscribes to a wireless communication service provided by a carrier, the carrier provides a UICC (eg, SIM card or USIM card) to the user, and the user can insert the provided UICC into his/her electronic device. have. When the UICC is inserted into the electronic device, the USIM application installed inside the UICC is executed and the same value is stored using the IMSI (international mobile subscriber identity) value stored in the UICC and the encryption key value for authentication. An appropriate authentication process may be performed with the operator's server. After an appropriate authentication process is performed, the wireless communication service can be used.

전자 장치는, 두 개 또는 그 이상의 SIM을 지원할 수 있으며, 두 개의 SIM을 지원하는 경우 듀얼 SIM(dual SIM) 전자 장치라 명명할 수 있으며, 복수 개의 SIM을 지원하는 장치를 멀티(multi) SIM 전자 장치라 명명할 수도 있다. 듀얼 SIM 또는 멀티 SIM 전자 장치는, 복수의 SIM을 지원할 수 있으며, 각각의 SIM은 상이한 subscription과 연관될 수 있다. 하나의 트랜시버가 복수의 SIM과 연관된 신호를 송수신하는 장치를, DSDS(dual SIM dual standby) 장치라 명명할 수 있다. 이 경우, 어느 하나의 SIM이 신호를 송신 또는 수신하는 경우, 다른 하나의 SIM은 스탠바이 모드에 있을 수 있다. 또는, 양 SIM이 동시에 활성화가 가능한 장치를 DSDA(dual SIM dual active) 장치라 명명할 수도 있다.The electronic device may support two or more SIMs. When two SIMs are supported, the electronic device may be referred to as a dual SIM (dual SIM) electronic device, and a device supporting a plurality of SIMs is a multi-SIM electronic device. It can also be called a device. A dual SIM or multi-SIM electronic device may support a plurality of SIMs, and each SIM may be associated with a different subscription. A device in which one transceiver transmits and receives signals associated with a plurality of SIMs may be referred to as a dual SIM dual standby (DSDS) device. In this case, when one SIM transmits or receives a signal, the other SIM may be in the standby mode. Alternatively, a device in which both SIMs can be simultaneously activated may be referred to as a dual SIM dual active (DSDA) device.

전자 장치에서 IMS(IP(internet protocol) multimedia subsystem) 음성 콜(voice call)을 수신하는 중 베어러(bearer)(예컨대, 음성 전용 베어러(voice dedicated bearer)) 연결에 실패할 경우, 전자 장치는 콜을 종료하게 되어 콜 수신에 실패할 수 있다. 또한, IMS 영상 콜(video call)의 경우도 영상 전용 베어러(video dedicated bearer) 연결에 실패할 경우, 전자 장치는 음성 콜로 전환하여 연결을 재시도하거나 영상 콜을 종료할 수 있다.When the electronic device fails to connect to a bearer (eg, a voice dedicated bearer) while receiving an Internet protocol (IP) multimedia subsystem (IMS) voice call from the electronic device, the electronic device transmits the call This may cause call reception to fail. Also, in the case of an IMS video call, when the video dedicated bearer connection fails, the electronic device may switch to a voice call and retry the connection or end the video call.

다른 예로서, 콜 수신 중 IMS 서버 에러가 발생하는 경우 SIP(session initiation protocol) CANCEL 메시지를 통해 전자 장치로 에러 코드가 전달되고 콜이 종료되어 콜 수신 실패할 수 있다. 또한, VoNR(Voice over NR) 서비스가 시작되면 VoNR 지원 사업자와 미지원 사업자가 혼재하는 상황이 발생하고 IMS 콜 수신 SIM의 사업자가 VoNR을 미지원 하는 경우 VoNR 콜을 수신하더라도 해당 코덱을 선택할 수 없기 때문에 보다 우수한 품질의 통화가 제공될 수 없다.As another example, when an IMS server error occurs during call reception, an error code is transmitted to the electronic device through a session initiation protocol (SIP) CANCEL message and the call is terminated, so that the call reception may fail. In addition, when VoNR (Voice over NR) service starts, a situation arises where VoNR supported and non-VoNR supported operators are mixed. Good quality calls cannot be provided.

다양한 실시예에서는, 복수의 가입자 식별 모듈(SIM)들을 지원하는 전자 장치에서 IMS 미디어 콜(예컨대, 음성 콜 또는 영상 콜) 수신 중 미디어 전용 베어러(media dedicated bearer) 연결 실패나 IMS 서버 에러와 같은 네트워크 오류로 정상적인 콜 연결이 되지 않는 경우, 다른 SIM 전화 번호로 착신 전환시킴으로써 콜을 정상적으로 연결시킬 수 있다. 또한, 다양한 실시예에서는, 수신된 IMS 미디어 콜에서 요구하는 가장 높은 순위의 미디어 코덱을 해당 SIM의 사업자에서 지원하지 않을 경우 요청된 IMS 미디어 콜의 코덱을 지원할 수 있는 다른 SIM 전화 번호로 착신 전환시킴으로써 통화 품질을 개선할 수 있다.In various embodiments, a network such as a media dedicated bearer connection failure or IMS server error while receiving an IMS media call (eg, a voice call or a video call) in an electronic device supporting a plurality of subscriber identification modules (SIMs) If a normal call connection is not possible due to an error, the call can be connected normally by forwarding the call to another SIM phone number. In addition, in various embodiments, when the operator of the SIM does not support the highest priority media codec required in the received IMS media call, the call is forwarded to another SIM phone number that can support the requested IMS media call codec. Call quality can be improved.

다양한 실시예에 따라서, 전자 장치는, 적어도 하나의 안테나 모듈, 및 상기 전자 장치에 포함된 복수의 SIM(subscriber identity module)들과 통신하고, 상기 적어도 하나의 안테나 모듈을 통해 통신 네트워크, 및 IMS(IP multimedia subsystem) 네트워크와 통신하는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 복수의 SIM들 중 제1 SIM(subscriber identity module)에 대한 콜(call) 요청을 상기 IMS 네트워크의 IMS 서버로부터 수신하고, 상기 콜 요청 대한 응답 메시지를 상기 IMS 서버로 전송하고, 상기 제1 SIM에 대한 콜과 관련된 네트워크 오류 발생을 확인하고, 상기 네트워크 오류 발생의 확인에 상응하여, 상기 복수의 SIM들 중 착신 전환을 위해 미리 설정된 제2 SIM을 확인하고, 상기 콜에 대한 상기 제2 SIM으로의 착신 전환을 상기 IMS 서버로 요청하도록 제어할 수 있다.According to various embodiments, the electronic device communicates with at least one antenna module and a plurality of subscriber identity modules (SIMs) included in the electronic device, and includes a communication network and an IMS ( at least one processor communicating with an IP multimedia subsystem (IP multimedia subsystem) network, wherein the at least one processor transmits a call request to a first subscriber identity module (SIM) among the plurality of SIMs in the IMS of the IMS network receiving from a server, transmitting a response message to the call request to the IMS server, confirming occurrence of a network error related to the call to the first SIM, and corresponding to the confirmation of the occurrence of the network error, the plurality of SIMs It is possible to check a preset second SIM for call forwarding, and control to request the call forwarding to the second SIM for the call to the IMS server.

다양한 실시예에 따라서, 전자 장치는, 적어도 하나의 안테나 모듈, 및 상기 전자 장치에 포함된 복수의 SIM(subscriber identity module)들과 통신하고, 상기 적어도 하나의 안테나 모듈을 통해 통신 네트워크, 및 IMS(IP multimedia subsystem) 네트워크와 통신하는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 복수의 SIM들 중 제1 SIM(subscriber identity module)에 대한 콜(call) 요청을 상기 IMS 네트워크의 IMS 서버로부터 수신하고, 상기 콜에 대응하는 적어도 하나의 코덱(codec)을 확인하고, 상기 확인된 적어도 하나의 코덱이 상기 제1 SIM에서 지원하는 코덱인지 확인하고, 상기 확인된 적어도 하나의 코덱을 상기 제1 SIM에서 지원하지 않으면, 상기 복수의 SIM들 중 상기 확인된 적어도 하나의 코덱을 지원하는 제2 SIM을 확인하고, 상기 콜에 대한 상기 제2 SIM으로의 착신 전환을 상기 IMS 서버로 요청하도록 제어할 수 있다.According to various embodiments, the electronic device communicates with at least one antenna module and a plurality of subscriber identity modules (SIMs) included in the electronic device, and includes a communication network and an IMS ( at least one processor communicating with an IP multimedia subsystem (IP multimedia subsystem) network, wherein the at least one processor transmits a call request to a first subscriber identity module (SIM) among the plurality of SIMs in the IMS of the IMS network Receive from a server, check at least one codec corresponding to the call, check whether the at least one identified codec is a codec supported by the first SIM, and set the at least one checked codec to the If the first SIM does not support it, check a second SIM that supports the identified at least one codec among the plurality of SIMs, and request the IMS server to transfer the call to the second SIM for the call. can be controlled

다양한 실시예에 따라서, 전자 장치의 동작 방법은, 상기 전자 장치에 포함된 복수의 SIM(subscriber identity module)들 중 제1 SIM(subscriber identity module)에 대한 콜(call) 요청을 상기 IMS 네트워크의 IMS 서버로부터 수신하는 동작; 상기 콜 요청 대한 응답 메시지를 상기 IMS 서버로 전송하는 동작; 상기 제1 SIM에 대한 콜과 관련된 네트워크 오류 발생을 확인하는 동작; 상기 네트워크 오류 발생의 확인에 상응하여, 상기 복수의 SIM들 중 착신 전환을 위해 미리 설정된 제2 SIM을 확인하는 동작; 및 상기 콜에 대한 상기 제2 SIM으로의 착신 전환을 상기 IMS 서버로 요청하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, in a method of operating an electronic device, a call request to a first subscriber identity module (SIM) among a plurality of subscriber identity modules (SIMs) included in the electronic device is transmitted to the IMS of the IMS network. receiving from the server; transmitting a response message to the call request to the IMS server; confirming occurrence of a network error related to a call to the first SIM; checking a second SIM preset for call forwarding among the plurality of SIMs in response to the confirmation of the occurrence of the network error; and requesting the IMS server to transfer the call to the second SIM for the call.

다양한 실시예에 따라서, 전자 장치의 동작 방법은, 상기 전자 장치에 포함된 복수의 SIM(subscriber identity module)들 중 제1 SIM(subscriber identity module)에 대한 콜(call) 요청을 상기 IMS 네트워크의 IMS 서버로부터 수신하는 동작, 상기 콜에 대응하는 적어도 하나의 코덱(codec)을 확인하는 동작, 상기 확인된 적어도 하나의 코덱이 상기 제1 SIM에서 지원하는 코덱인지 확인하는 동작, 상기 확인된 적어도 하나의 코덱을 상기 제1 SIM에서 지원하지 않으면, 상기 복수의 SIM들 중 상기 확인된 적어도 하나의 코덱을 지원하는 제2 SIM을 확인하는 동작, 및 상기 콜에 대한 상기 제2 SIM으로의 착신 전환을 상기 IMS 서버로 요청하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, in a method of operating an electronic device, a call request to a first subscriber identity module (SIM) among a plurality of subscriber identity modules (SIMs) included in the electronic device is transmitted to the IMS of the IMS network. The operation of receiving from the server, the operation of checking at least one codec corresponding to the call, the operation of checking whether the checked at least one codec is a codec supported by the first SIM, the operation of checking the at least one checked codec If the codec is not supported by the first SIM, identifying a second SIM supporting the identified at least one codec among the plurality of SIMs, and forwarding the call to the second SIM for the call It may include an operation requesting to the IMS server.

다양한 실시예에 따라서, 복수의 가입자 식별 모듈(SIM)들을 지원하는 전자 장치에서 IMS 미디어 콜(예컨대, 음성 콜 또는 영상 콜) 수신 중 네트워크 오류로 정상적인 콜 연결이 되지 않거나 수신된 콜에서 요구하는 가장 높은 우선 순위의 미디어 코덱을 수신 SIM의 사업자에서 지원하지 않을 경우, 해당 IMS 미디어 콜이 가능한 다른 SIM 전화 번호로 착신 전환시킴으로써 통화 품질을 개선할 수 있다. 또한, 특정 SIM으로의 콜 수신 시, 전자 장치에 포함된 복수의 SIM들 중 Invite 메시지 내의 SDP(session description protocol)에서 요청하는 코덱을 가장 적합하게 지원하는 SIM을 선택하여 착신 전환시킴으로써 보다 뛰어난 품질의 통화로 연결할 수 있다.According to various embodiments, a normal call connection is not established due to a network error while receiving an IMS media call (eg, a voice call or a video call) in an electronic device supporting a plurality of subscriber identification modules (SIMs) If the high-priority media codec is not supported by the receiving SIM's operator, call quality can be improved by forwarding the call to another SIM phone number that can accept the corresponding IMS media call. In addition, when receiving a call to a specific SIM, it selects and forwards the call by selecting the SIM that most suitably supports the codec requested by the session description protocol (SDP) in the Invite message among a plurality of SIMs included in the electronic device. You can connect by phone.

도 1a는, 일 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블럭도이다.
도 1b는 다양한 실시예에 따른, 전자 장치를 포함하는 네트워크 환경을 나타내는 도면이다.
도 2는 다양한 실시예들에 따른 전자 장치에 프로파일 기반의 통신 연결을 제공하는 시스템을 설명하기 위한 도면이다.
도 3은 다양한 실시예에 따른 전자 장치의 블록도를 도시한다.
도 4는 다양한 실시예에 따른 전자 장치의 IMS 네트워크 등록 방법을 설명하기 위한 신호 흐름도를 도시한다.
도 5는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 6은 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 7은 다양한 실시예에 따른 전자 장치의 착신 전환 방법을 설명하기 위한 신호 흐름도를 도시한다.
도 8은 다양한 실시예에 따른 전자 장치의 착신 전환 방법을 설명하기 위한 신호 흐름도를 도시한다.
도 9는 다양한 실시예에 따른 전자 장치의 착신 전환 방법을 설명하기 위한 신호 흐름도를 도시한다.
도 10은 다양한 실시예에 따른 전자 장치의 착신 전환 방법을 설명하기 위한 신호 흐름도를 도시한다.
도 11은 다양한 실시예에 따른 전자 장치의 착신 전환 방법을 설명하기 위한 신호 흐름도를 도시한다.
도 12는 다양한 실시예에 따른 전자 장치의 착신 전환 방법을 설명하기 위한 신호 흐름도를 도시한다.
도 13은 다양한 실시예에 따른 전자 장치의 착신 전환 방법을 설명하기 위한 신호 흐름도를 도시한다.
도 14는 다양한 실시예에 따른 발신측 전자 장치에 표시되는 착신 전환 관련 화면을 도시한다.
도 15는 다양한 실시예에 따른 발신측 전자 장치에 표시되는 착신 전환 관련 화면을 도시한다.
1A is a block diagram of an electronic device in a network environment, according to embodiments.
1B is a diagram illustrating a network environment including an electronic device, according to various embodiments of the present disclosure;
FIG. 2 is a diagram for describing a system for providing a profile-based communication connection to an electronic device according to various embodiments of the present disclosure;
3 is a block diagram of an electronic device according to various embodiments of the present disclosure;
4 is a signal flow diagram illustrating a method of registering an IMS network of an electronic device according to various embodiments of the present disclosure;
5 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
6 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
7 is a signal flow diagram illustrating a call forwarding method of an electronic device according to various embodiments of the present disclosure;
8 is a signal flow diagram illustrating a call forwarding method of an electronic device according to various embodiments of the present disclosure.
9 is a signal flow diagram illustrating a call forwarding method of an electronic device according to various embodiments of the present disclosure;
10 is a signal flow diagram illustrating a call forwarding method of an electronic device according to various embodiments of the present disclosure.
11 is a signal flow diagram illustrating a call forwarding method of an electronic device according to various embodiments of the present disclosure.
12 is a signal flow diagram illustrating a call forwarding method of an electronic device according to various embodiments of the present disclosure;
13 is a signal flow diagram illustrating a call forwarding method of an electronic device according to various embodiments of the present disclosure;
14 illustrates a call forward related screen displayed on a calling party electronic device according to various embodiments of the present disclosure.
15 illustrates a call forward related screen displayed on a calling party electronic device according to various embodiments of the present disclosure.

도 1a은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1a을 참조하면, 네트워크 환경(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))로 통합될 수 있다.1A is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments. Referring to FIG. 1A , in the network environment 100 , the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound 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 an antenna module 197 may be included. 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 (eg, sensor module 176 , camera module 180 , or antenna module 197 ) are integrated into one component (eg, display module 160 ). 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 (eg, the program 140) to execute at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 uses less power than the main processor 121 or is set to be specialized for a specified function. can The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .

보조 프로세서(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 secondary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to one embodiment, the coprocessor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 180 or the communication module 190). have. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.

메모리(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 . The data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134 .

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

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

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

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device. According to an embodiment, the display module 160 may include a touch sensor configured to sense 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 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 or an external electronic device (eg, a sound output module 155 ) directly or wirelessly connected to the electronic device 101 . Sound may be output through the electronic device 102 (eg, a speaker or headphones).

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

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an 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 an 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 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an 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 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of 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, battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses the subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified 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 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes 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)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 includes various technologies for securing performance in a high frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. Technologies such as full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements specified in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ). According to an embodiment, the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) may be supported.

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

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

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( eg commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the 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 the same as or different from the electronic device 101 . According to an embodiment, all or a part of operations executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 is to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may 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 an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199 . The electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

도 1b는 다양한 실시예에 따른, 전자 장치를 포함하는 네트워크 환경(100)을 나타내는 도면이다. 도 1b를 참조하면, 본 발명의 다양한 실시예에 따른 네트워크는 전자 장치(101), 제1 통신 네트워크(111a), 제2 통신 네트워크(112a), 또는 제3 통신 네트워크(113a), 제1 IMS 네트워크(111b), 제2 IMS 네트워크(112b), 제3 IMS 네트워크(113b)를 포함할 수 있다.1B is a diagram illustrating a network environment 100 including an electronic device according to various embodiments of the present disclosure. Referring to FIG. 1B , a network according to various embodiments of the present disclosure includes an electronic device 101 , a first communication network 111a , a second communication network 112a , or a third communication network 113a , a first IMS It may include a network 111b, a second IMS network 112b, and a third IMS network 113b.

다양한 실시예에 따라서, 전자 장치(101)는 복수의 SIM들을 포함할 수 있으며, 상기 복수의 SIM들 중 두 개의 SIM을 각기 다른 통신 네트워크에 동시에 연결하여 사용할 수 있는 DSDS(dual SIM dual standby) 또는 DSDA(dual SIM dual active) 로 동작할 수 있다. 예컨대, 전자 장치(101)에는 제1 SIM(111) 및 제2 SIM(112)의 두 개의 SIM이 장착 가능하다. 제1 SIM(111) 및 제2 SIM(112)은, 탈착가능한 rSIM일 수 있다. 예컨대, 전자 장치(101)에는 상기 두 개의 SIM을 지원하기 위해 두 개의 SIM 카드들이 장착될 수 있다. 이하에서는 설명의 편의상 상기 SIM 카드를 SIM으로 지칭하여 사용하기로 한다. 도 1b에 도시된 바와 같이, 전자 장치(101)에는 제1 SIM(111) 및 제2 SIM(112)의 두 개의 SIM 카드가 장착 가능하다. 전자 장치(101)는 제1 SIM(111) 및 제2 SIM(112)을 각각 수용하기 위해, 내부에 제1 구조물인 제1 슬롯(slot)(미도시) 및 제2 슬롯(미도시)을 포함할 수 있다.According to various embodiments of the present disclosure, the electronic device 101 may include a plurality of SIMs, and a dual SIM dual standby (DSDS) or DSDS capable of simultaneously connecting two SIMs among the plurality of SIMs to different communication networks to be used. It can operate as a dual SIM dual active (DSDA). For example, two SIMs, a first SIM 111 and a second SIM 112 , can be mounted in the electronic device 101 . The first SIM 111 and the second SIM 112 may be removable rSIMs. For example, the electronic device 101 may be equipped with two SIM cards to support the two SIMs. Hereinafter, for convenience of description, the SIM card will be referred to as a SIM and used. As shown in FIG. 1B , two SIM cards, a first SIM 111 and a second SIM 112 , can be mounted in the electronic device 101 . The electronic device 101 includes a first slot (not shown) and a second slot (not shown) as a first structure therein to accommodate the first SIM 111 and the second SIM 112 , respectively. may include

예컨대, 제1 SIM(111)은 제1 통신 네트워크(111a)의 통신 사업자에 가입된 SIM으로서 전자 장치(101)는 제1 SIM(111)을 이용하여 제1 통신 네트워크(111a)에 접속함으로써 무선 통신 서비스를 제공 받을 수 있다. 제2 SIM(112)은 제2 통신 네트워크(112a)의 통신 사업자에 가입된 SIM으로서 전자 장치(101)는 제2 SIM(112)을 이용하여 제2 통신 네트워크(112a)에 접속함으로써 무선 통신 서비스를 제공 받을 수 있다. 다양한 실시예에 따라서, 전자 장치(101)는, 임베디드 가입자 식별 모듈(embedded subscriber identity module; eSIM)(201)을 포함할 수 있다. eSIM은, eUICC로 명명될 수도 있다. 전자 장치(101)는 eSIM(201)을 이용하여 제3 통신 네트워크(113a)에 접속함으로써 무선 통신 서비스를 제공 받을 수 있다. 제1 통신 네트워크(111a), 제2 통신 네트워크(112a) 또는 제3 통신 네트워크(113a) 중 적어도 일부는, 동일한 통신 사업자에 의하여 제공되거나, 또는 다른 통신 사업자들 각각에 의하여 제공될 수 있다.For example, the first SIM 111 is a SIM subscribed to a communication service provider of the first communication network 111a, and the electronic device 101 connects to the first communication network 111a using the first SIM 111 to wirelessly Communication services can be provided. The second SIM 112 is a SIM subscribed to a communication operator of the second communication network 112a, and the electronic device 101 connects to the second communication network 112a using the second SIM 112 to provide a wireless communication service. can be provided. According to various embodiments, the electronic device 101 may include an embedded subscriber identity module (eSIM) 201 . The eSIM may be referred to as an eUICC. The electronic device 101 may receive a wireless communication service by accessing the third communication network 113a using the eSIM 201 . At least a portion of the first communication network 111a, the second communication network 112a, or the third communication network 113a may be provided by the same communication service provider, or may be provided by different communication service providers, respectively.

다양한 실시예에 따라, 전자 장치(101)는 제1 통신 네트워크(111a)(예컨대, 제1 사업자의 통신 네트워크) 또는 제2 통신 네트워크(112a)(예컨대, 제2 사업자의 통신 네트워크) 또는 제3 통신 네트워크(113a)(예컨대, 제3 사업자의 통신 네트워크)에 각각 또는 동시에 접속할 수 있다. 또한, 상기 전자 장치(101)는 제1 통신 네트워크(111a)를 통해 제1 IMS 네트워크(111b)에 접속하거나, 제2 통신 네트워크(112a)를 통해 제2 IMS 네트워크(112b)에 접속하거나, 제3 통신 네트워크(113a)를 통해 제3 IMS 네트워크(113b)에 접속할 수 있다. 상기 도 1b에는 복수의 통신 네트워크들이 각각 상이한 IMS 네트워크에 접속하는 것으로 도시되어 있으나, 다양한 실시예에 따라, 복수의 통신 네트워크들이 하나의 IMS 네트워크에 공유하여 접속할 수도 있다. 예컨대, 제1 통신 네트워크(111a) 및 제2 통신 네트워크(112a)는 동일한 하나의 IMS 네트워크에 연결될 수도 있다. 상기 전자 장치(101)는 각 IMS 네트워크를 통해 IP 기반의 음성 통화 서비스 또는 영상 통화 서비스를 제공 받을 수 있다.According to various embodiments of the present disclosure, the electronic device 101 is a first communication network 111a (eg, a communication network of a first operator), a second communication network 112a (eg, a communication network of a second operator), or a third Each of the communication networks 113a (eg, a communication network of a third-party operator) may be connected to each other or simultaneously. In addition, the electronic device 101 accesses the first IMS network 111b through the first communication network 111a, accesses the second IMS network 112b through the second communication network 112a, or 3 It is possible to connect to the third IMS network 113b through the communication network 113a. Although the plurality of communication networks are illustrated as respectively connecting to different IMS networks in FIG. 1B, according to various embodiments, the plurality of communication networks may share and access one IMS network. For example, the first communication network 111a and the second communication network 112a may be connected to the same single IMS network. The electronic device 101 may receive an IP-based voice call service or a video call service through each IMS network.

도 2는 다양한 실시예들에 따른 전자 장치에 프로파일 기반의 통신 연결을 제공하는 시스템을 설명하기 위한 도면이다. 2 is a diagram for describing a system for providing a profile-based communication connection to an electronic device according to various embodiments of the present disclosure;

도 2를 참조하면, 다양한 실시예들에 따른 시스템(200)은 전자 장치(101), SM-DS 서버(210), SM-DP+ 서버(220), MNO 서버(230), 통신 서비스 서버(240)를 포함할 수 있다.Referring to FIG. 2 , a system 200 according to various embodiments includes an electronic device 101 , an SM-DS server 210 , an SM-DP+ server 220 , an MNO server 230 , and a communication service server 240 . ) may be included.

다양한 실시예들에 따르면 전자 장치(101)(예: 도 1의 전자 장치(100))는 eSIM(201)을 포함할 수 있다. 설명의 편의를 위하여 도시되지는 않았으나, 전자 장치(101)는 두 개 이상의 rSIM을 수용할 수 있는 두 개 이상의 슬롯들을 포함할 수 있다. 또는, 전자 장치(101)는, 두 개의 eSIM과, 하나의 rSIM을 수용할 수 있는 하나의 슬롯을 포함하도록 구현될 수 있다. 다양한 실시예에 따라서, 전자 장치(101)는, N개(N은 자연수)의 SIM(eSIM 또는 rSIM)을 포함, 또는 수용 가능하며, 이 중 일부를 이용할 수 있도록 스위칭을 수행할 수 있다. N개의 SIM의 조합에는 제한이 없으며, 또한 그 숫자에도 제한은 없다.According to various embodiments, the electronic device 101 (eg, the electronic device 100 of FIG. 1 ) may include the eSIM 201 . Although not illustrated for convenience of description, the electronic device 101 may include two or more slots capable of accommodating two or more rSIMs. Alternatively, the electronic device 101 may be implemented to include two eSIMs and one slot capable of accommodating one rSIM. According to various embodiments, the electronic device 101 may include or accommodate N (N is a natural number) SIMs (eSIMs or rSIMs), and may perform switching to use some of them. There is no limit to the combination of N SIMs, and there is also no limit to the number.

다양한 실시예에 따르면 eSIM(201)은 전자 장치(101)내에 삽입되거나 전자 장치(101)와 일체형으로 구비되거나, 전자 장치(101)가 엑세스 가능하도록 구현될 수 이다. 다양한 실시예에 따르면 eSIM(201)은 전자 장치(101)가 eSIM(201)내의 정보(예를 들면, USIM(universal subscriber identity module) 정보를 포함하는 프로파일)를 이용하여 통신 사업자(mobile network operator; MNO)의 서버와 인증을 수행하도록 할 수 있다. 일 실시예에 따르면 eSIM(201)은 GSM(global system for mobile communications) 방식의 경우 SIM(subscriber identity module) 카드, WCDMA(wideband code division multiple access)로 불리거나, LTE(long term evolution), NR(new radio) 방식의 경우 USIM(universal subscriber identity module) 카드로 불릴 수 있으며, 이 외에도 통신 방식에 따라 다양한 이름으로 불릴 수 있다. 예를 들면, 전자 장치(101)의 사용자가 통신 사업자가 제공하는 무선 통신 서비스에 가입하면, 전자 장치(101)는 eSIM(201) 내의 정보 예를 들면, IMSI(international mobile subscriber identity) 값과 인증을 위한 암호키인 K 값을 이용하여 동일한 값이 저장되어 있는 통신 사업자의 서버와 적절한 인증 과정을 수행한 후 무선 통신서비스를 이용할 수 있도록 할 수 있다. 예를 들면, 상기 적절한 인증 과정은 AKA(authentication and key agreement) 인증일 수 있으며, 이 외에도 다른 인증 방식의 이용도 가능할 수 있다. According to various embodiments, the eSIM 201 may be inserted into the electronic device 101 , provided integrally with the electronic device 101 , or implemented to be accessible by the electronic device 101 . According to various embodiments of the present disclosure, the eSIM 201 enables the electronic device 101 to include a mobile network operator; MNO) server and authentication can be performed. According to an embodiment, the eSIM 201 is called a subscriber identity module (SIM) card, wideband code division multiple access (WCDMA), or long term evolution (LTE), NR (long term evolution) in the case of a global system for mobile communications (GSM) scheme. In the case of a new radio) method, it may be called a universal subscriber identity module (USIM) card, and in addition to this, it may be called by various names depending on a communication method. For example, when a user of the electronic device 101 subscribes to a wireless communication service provided by a communication service provider, the electronic device 101 performs authentication with information in the eSIM 201 , for example, an international mobile subscriber identity (IMSI) value. It is possible to use the wireless communication service after performing an appropriate authentication process with the server of the communication service provider in which the same value is stored by using the K value, which is an encryption key for . For example, the appropriate authentication process may be authentication and key agreement (AKA) authentication, and other authentication methods may also be used.

다양한 실시 예에 따르면 eSIM(201)은 특정 통신 사업자의 요청에 의해 해당 통신 사업자를 위한 전용 카드로 제조될 수 있으며, 해당 통신 사업자의 네트워크 접속을 위한 인증 정보(예컨대, USIM 어플리케이션 및 가입자 식별 ID(예컨대, IMSI)), 암호키(예컨대, 공지된 K 값 또는 Ki 값)가 사전 탑재될 수 있다. eSIM(201) 내의 어플리케이션(또는 정보)은 필요 시 OTA(over the air)와 같은 기술을 활용하여 설치, 수정, 삭제 또는 업데이트될 수 있다.According to various embodiments, the eSIM 201 may be manufactured as a dedicated card for a corresponding communication operator at the request of a specific communication operator, and authentication information (eg, USIM application and subscriber identification ID ( For example, IMSI), an encryption key (eg, a known K value or Ki value) may be preloaded. An application (or information) in the eSIM 201 may be installed, modified, deleted, or updated using a technology such as over the air (OTA) when necessary.

다양한 실시예에 따르면 eSIM(201)은 통신 서비스 제공을 위한 정보를 프로파일의 형태로 다운로드 또는/및 저장할 수 있다. 일 실시예에 따르면 프로파일은 eSIM(201) 제조 과정에서 설치 또는 저장되거나 OTA(over the air)방식으로 단말에 의해 다운로드되어 eSIM(201)에 설치 또는 저장될 수 있다. 예를 들면, 프로파일은 프로비저닝 프로파일(provisioning profile)과 오퍼레이셔널 프로파일(operational profile)을 포함할 수 있다. 프로비저닝 프로파일이 설치되지 않은 경우에도, 전자 장치(101)는 Wi-Fi의 근거리 연결 또는 인터넷 연결을 통하여 오퍼레이셔널 프로파일을 다운로드받을 수도 있으며, 프로피버징 프로파일이 필수적으로 전자 장치(101)에 설치될 필요는 없음을 당업자는 이해할 것이다. 예를 들면, 오퍼레이셔널 프로파일은 전자 장치의 사용자의 가입자 식별 정보를 포함하는 프로파일일 수 있으며, 프로비저닝 프로파일은 전자 장치에서 가입자 식별 정보 또는 가입자 식별 정보(이하 '제1 가입자 식별 정보'라고도 함)를 포함하는 프로파일(이하 '제1 오퍼레이셔널 프로파일'이라고도 함)을 다운로드 받기 위한 정보(이하 "제1 정보"라고도 함)를 포함할 수 있다. 전자 장치는 eSIM(201) 내의 프로비저닝 프로파일 상의 제1 정보를 기반으로 제1 오퍼레이셔널 프로파일을 다운로드 받을 수 있다. According to various embodiments, the eSIM 201 may download and/or store information for providing a communication service in the form of a profile. According to an embodiment, the profile may be installed or stored in a manufacturing process of the eSIM 201 , or may be downloaded by a terminal in an over the air (OTA) method and installed or stored in the eSIM 201 . For example, the profile may include a provisioning profile and an operational profile. Even if the provisioning profile is not installed, the electronic device 101 may download the operation profile through a Wi-Fi short-distance connection or an Internet connection, and the provisioning profile is essentially installed in the electronic device 101 . Those skilled in the art will understand that this need not be the case. For example, the operational profile may be a profile including subscriber identification information of a user of the electronic device, and the provisioning profile may include subscriber identification information or subscriber identification information (hereinafter also referred to as 'first subscriber identification information') in the electronic device. Information (hereinafter also referred to as “first information”) for downloading a profile (hereinafter also referred to as a 'first operational profile') including The electronic device may download the first operational profile based on the first information on the provisioning profile in the eSIM 201 .

다양한 실시예에 따르면 전자 장치(101)는 eSIM(201)에 설치 또는 저장된 오퍼레이셔널 프로파일(이하 '제2 오퍼레이셔널 프로파일'이라고도 함)의 가입자 식별 정보(이하 '제2 가입자 식별 정보' 라고도 함)를 이용하여 통신 서비스를 제공받을 수 있다. 예를 들면, 가입자 식별 정보를 포함하는 프로파일은 SIM(subscriber identity module) 프로파일일 수 있다.According to various embodiments, the electronic device 101 provides subscriber identification information (hereinafter also referred to as 'second subscriber identification information') of the operational profile installed or stored in the eSIM 201 (hereinafter also referred to as 'second operational profile'). ) can be used to provide communication services. For example, the profile including subscriber identification information may be a subscriber identity module (SIM) profile.

일 실시예에 따르면 오퍼레이셔널 프로파일은 가입자 식별 정보 외에 가입자의 네트워크 접속 인증 정보, 가입자의 전화번호부, 가입자의 개인 정보(예: SMS), 가입한 통신 사업자명, 사용 가능한 서비스, 사용 가능한 데이터량, 요금 또는 서비스 제공 속도, 또는 GSM, WCDMA, LTE, NR 과 같은 무선 통신 네트워크에 접속 시 가입자 인증 및 트래픽 보안 키 생성을 수행하여 안전한 무선 통신 이용을 가능케 하는 정보를 더 포함할 수 있다. According to an embodiment, the operational profile includes, in addition to the subscriber identification information, the subscriber's network access authentication information, the subscriber's phone book, the subscriber's personal information (eg, SMS), the name of the subscribed communication operator, the available services, and the amount of available data. , rate or service provision speed, or information enabling secure wireless communication use by performing subscriber authentication and traffic security key generation when accessing a wireless communication network such as GSM, WCDMA, LTE, or NR may be further included.

다양한 실시예에 따르면, 제1 가입자 식별 정보를 포함하는 데이터(예: 제1 오퍼레이셔널 프로파일)를 다운로드 받기 위한 제1 정보는 제1 오퍼레이셔널 프로파일의 다운로드를 위해 지정된 제1 통신 연결을 위한 통신 세션 정보를 포함할 수 있다. 예를 들면, 통신 세션 정보는 제1 오퍼레이셔널 프로파일의 다운로드를 위한 SM-DS(subscription manager discovery service) 서버(210) 접속 정보 또는 SM-DS 서버(210) 접속을 위해 이용 가능한 통신사업자망 정보를 포함할 수 있다.According to various embodiments, the first information for downloading data (eg, the first operational profile) including the first subscriber identification information is for a first communication connection designated for downloading the first operational profile. It may include communication session information. For example, the communication session information includes information on access to a subscription manager discovery service (SM-DS) server 210 for downloading the first operational profile or information on a communication service provider network available for access to the SM-DS server 210 . may include

다양한 실시예에 따르면, SM-DS 서버(210)는 프로비저닝 프로파일을 기반으로 제1 오퍼레이셔널 프로파일을 다운로드 받을 수 있는 SM-DP+(subscription manager data preparation plus) 서버(220)의 주소를 전자 장치(101)에 제공할 수 있다.According to various embodiments, the SM-DS server 210 transmits the address of the subscription manager data preparation plus (SM-DP+) server 220 from which the first operational profile can be downloaded based on the provisioning profile to the electronic device ( 101) can be provided.

다양한 실시예에 따르면, SM-DP+ 서버(220)는 프로파일 제공서버, 프로파일 도메인의 오프 카드 엔터티(off-card entity of profile domain), 프로파일 암호화 서버, 프로파일 생성서버, 프로파일 프로비저너(profile provisioner) 또는 프로파일 제공자(profile provider)일 수 있다. SM-DP+ 서버(220)는 전자 장치(101)로부터 프로비저닝 프로파일을 기반의 제1 통신 연결 요청에 기반하여 무선 통신 네트워크를 통해 전자 장치(101)와 제1 통신 연결(22)을 수행할 수 있고, 제1 통신 연결(22)을 통해 전자 장치(101)에 제1 오퍼레이셔널 프로파일을 제공할 수 있다. 다양한 실시예에 따르면 무선 통신 네트워크는 무선 통신 네트워크의 특정 노드일 수 있다. 예를 들어, 무선 통신 네트워크는 무선 통신 네트워크의 기지국, 가입자 정보 관리 노드 또는 이동성 관리 노드 등일 수 있다. 일 실시예에 따르면 무선 통신 네트워크는 전자 장치(101)가 접속하여 가입자 인증 기능을 수행하는 HLR(home location register) 및/또는 AuC(authentication center) 서버를 포함할 수 있고, 인증 후에 접속하여 음성 통신 또는 데이터 통신 등의 통신 서비스를 제공할 수 있는 통신 서비스 서버(240)와 연결될 수 있다.According to various embodiments, the SM-DP+ server 220 is a profile providing server, an off-card entity of profile domain, a profile encryption server, a profile generating server, and a profile provisioner. Or it may be a profile provider. The SM-DP+ server 220 may perform a first communication connection 22 with the electronic device 101 through a wireless communication network based on a first communication connection request based on a provisioning profile from the electronic device 101, , the first operational profile may be provided to the electronic device 101 through the first communication connection 22 . According to various embodiments, the wireless communication network may be a specific node of the wireless communication network. For example, the wireless communication network may be a base station, a subscriber information management node, or a mobility management node of the wireless communication network. According to an embodiment, the wireless communication network may include a home location register (HLR) and/or authentication center (AuC) server that the electronic device 101 accesses and performs a subscriber authentication function, and accesses after authentication to perform voice communication Alternatively, it may be connected to a communication service server 240 capable of providing communication services such as data communication.

다양한 실시예에 따르면, MNO(mobile network operator) 서버(230)는 이동 통신망 사업자와 연관된 서버일 수 있다. 다양한 실시예에 따르면 MNO 서버(230)는 적어도 하나의 가입자 식별 정보(예: 제1 가입자 식별 정보)와 연관된 적어도 하나의 프로파일(또는 프로파일 패키지)(예: 제1 오퍼레이셔널 프로파일)을 준비할 것을 상기 SM-DP+ 서버(220)에 요청할 수 있고, 제1 오퍼레이셔널 프로파일과 연관된 정보를 SM-DP+ 서버(220)로 전달할 수 있다. 일 실시예에 따르면 MNO 서버(230)는 제1 오퍼레이셔널 프로파일을 업데이트하고 관리하기 위한 신호를 SM-DP+ 서버(220)에 전달할 수 있다. MNO 서버(230)는 전자 장치(101)의 eSIM(201)에 설치된 제2 오퍼레이셔널 프로파일을 통해 전자 장치(101)와 통신 서비스 서버(240)와의 제2 통신 연결(24)을 허용할 수 있다.According to various embodiments, the mobile network operator (MNO) server 230 may be a server associated with a mobile communication network operator. According to various embodiments, the MNO server 230 prepares at least one profile (or profile package) (eg, first operational profile) associated with at least one piece of subscriber identification information (eg, first subscriber identification information). may be requested from the SM-DP+ server 220 , and information associated with the first operational profile may be transmitted to the SM-DP+ server 220 . According to an embodiment, the MNO server 230 may transmit a signal for updating and managing the first operational profile to the SM-DP+ server 220 . The MNO server 230 may allow the second communication connection 24 between the electronic device 101 and the communication service server 240 through the second operator profile installed in the eSIM 201 of the electronic device 101 . have.

다양한 실시예에 따르면, 통신 서비스 서버(240)는 통신 서비스를 제공하는 서버일 수 있다. 다양한 실시예에 따르면 통신 서비스는 무선 통신 네트워크를 통한 데이터의 송신 또는 수신과 연관된 서비스일 수 있다. 일 실시예에 따르면, 통신 서비스는 오퍼레이셔널 프로파일 다운로드(예: 제1 가입자 식별 정보를 포함하는 제1 오퍼레이셔널 프로파일) 외에 가입자 식별 정보를 포함하지 않는 다른 프로파일(또는 데이터)의 송신 또는 수신과 연관된 서비스를 포함할 수 있다. 예를 들면, 통신 서비스 서버(240)는 각종 어플리케이션 각각과 연관된 서버, 푸쉬 서버, 검색 서버 또는 마켓 서버와 같은 다양한 데이터 송수신과 연관된 서비스 서버를 포함할 수 있고, 통신 서비스 서버(240)에 의한 통신 서비스는 어플리케이션에 의한 데이터 송수신, 알림 수신, 푸쉬 수신, 링크 수신 및 접속, 또는 서비스 요청 등과 같은 다양한 서비스를 포함할 수 있다. According to various embodiments, the communication service server 240 may be a server that provides a communication service. According to various embodiments, the communication service may be a service associated with transmission or reception of data through a wireless communication network. According to an embodiment, the communication service transmits or receives other profiles (or data) that do not include subscriber identification information in addition to the operational profile download (eg, a first operational profile including first subscriber identification information). It may include related services. For example, the communication service server 240 may include a service server associated with various data transmission and reception, such as a server associated with each of various applications, a push server, a search server, or a market server, and communication by the communication service server 240 The service may include various services such as data transmission/reception, notification reception, push reception, link reception and access, or service request by an application.

다양한 실시예에 따르면, 전자 장치(101)는 가입자 식별 정보를 포함하지 않는 프로파일(또는 데이터)의 송신 또는 수신과 연관된 서비스 요청 시 제2 오퍼레이셔널 프로파일을 기반으로 통신 서비스 서버(240)와 제2 통신 연결(24)을 수행할 수 있다. According to various embodiments, the electronic device 101 communicates with the communication service server 240 based on the second operational profile when a service request related to transmission or reception of a profile (or data) that does not include subscriber identification information is requested. 2 communication connections 24 may be performed.

다양한 실시예에 따르면 SM-DS 서버(210), SM-DP+ 서버(220), MNO 서버(230), 또는 통신 서비스 서버(240)는 각 기능을 수행하기 위한 서버들의 구현 예를 설명한 것일 뿐으로서, 다른 명칭으로 불릴 수 있으며, SM-DS 서버(210), SM-DP+ 서버(220), MNO 서버(230), 또는 통신 서비스 서버(240) 각각은 하나 또는 복수의 서버로 구성될 수 있다. SM-DS 서버(210), SM-DP+ 서버(220), MNO 서버(230), 또는 통신 서비스 서버(240) 중 일부 서버 또는 전체 서버가 하나의 통합 서버로 구성될 수도 있다. 다양한 실시예에 따르면 전자 장치(예: 도 1a 또는 도 1b의 전자 장치(101) 또는 도 2의 전자 장치(101))는 디스플레이(예: 도 1a의 표시 장치(160)), 통신 모듈(예: 도 1a의 통신 모듈 (190)), 적어도 하나의 통신 서비스 제공 서버에 접속하기 위한 제1 가입자 식별 정보를 포함하는 데이터를 다운로드 받기 위한 제1 통신 연결과 연관된 제1 정보를 저장하는 임베디드 가입자 식별 모듈(예: 도 1a의 가입자 식별 모듈(196) 또는 도 2의 eSIM(201)), 메모리(예: 도 1a의 메모리(130) 또는 도 2의 메모리(211)) 및 상기 디스플레이, 상기 통신 모듈 및 상기 메모리에 전기적으로 연결된 프로세서(예: 도 1a의 프로세서(120))를 포함하고, 상기 프로세서는 상기 통신 모듈을 이용하여 상기 제1 정보를 기반으로 상기 제1 가입자 식별 정보를 포함하는 데이터를 다운로드 받기 위한 상기 제1 통신 연결을 수행하고, 상기 제1 통신 연결 중 상기 제1 가입자 식별 정보를 포함하지 않는 데이터의 송신 또는 수신 요청 시 상기 제1 통신 연결을 종료하고, 제2 가입자 식별 정보 기반의 제2 통신 연결을 수행하여 상기 데이터의 송신 또는 수신을 수행하도록 설정될 수 있다. According to various embodiments, the SM-DS server 210 , the SM-DP+ server 220 , the MNO server 230 , or the communication service server 240 is merely a description of an implementation example of the servers for performing each function. , may be referred to as another name, and each of the SM-DS server 210 , the SM-DP+ server 220 , the MNO server 230 , or the communication service server 240 may be composed of one or a plurality of servers. Some or all servers among the SM-DS server 210 , the SM-DP+ server 220 , the MNO server 230 , or the communication service server 240 may be configured as one integrated server. According to various embodiments, the electronic device (eg, the electronic device 101 of FIG. 1A or 1B or the electronic device 101 of FIG. 2 ) includes a display (eg, the display device 160 of FIG. 1A ), a communication module (eg, : Communication module 190 of FIG. 1A ), embedded subscriber identification that stores first information associated with a first communication connection for downloading data including first subscriber identification information for accessing at least one communication service providing server module (eg subscriber identity module 196 in FIG. 1A or eSIM 201 in FIG. 2 ), memory (eg memory 130 in FIG. 1A or memory 211 in FIG. 2 ) and the display, the communication module and a processor (eg, the processor 120 of FIG. 1A ) electrically connected to the memory, wherein the processor transmits data including the first subscriber identification information based on the first information using the communication module Performs the first communication connection for downloading, terminates the first communication connection when a transmission or reception request of data not including the first subscriber identification information is requested during the first communication connection, and based on the second subscriber identification information It may be configured to transmit or receive the data by performing a second communication connection of the .

도 3은 다양한 실시예에 따른 전자 장치의 블록도를 도시한다.3 is a block diagram of an electronic device according to various embodiments of the present disclosure;

다양한 실시예에 따르면, 전자 장치(101)는, 프로세서(120), 커뮤니케이션 프로세서(310), RF 회로(320), 제1 슬롯(330), 제2 슬롯(340), eSIM(350), 또는 스위치(360) 중 적어도 하나를 포함할 수 있다. 커뮤니케이션 프로세서(310)는, 무선 통신에 사용될 대역의 통신 채널의 수립, 및 수립된 통신 채널을 통한 네트워크 통신을 지원할 수 있다. 예를 들어, 커뮤니케이션 프로세서(310)는, 2세대(2G), 3G, 4G, 또는 5G 네트워크 통신 중 적어도 하나를 지원할 수 있다. RF 회로(320)는, 예를 들어, RFIC(radio frequency integrated circuit), RFFE(radio frequency front end), 또는 안테나 모듈 중 적어도 하나를 포함할 수 있다. RF 회로(320)는, 커뮤니케이션 프로세서(310)로부터 출력되는 데이터(예: 기저대역 신호)를 RF 신호로 처리하여 안테나 모듈을 통하여 발송할 수 있다. 또는, RF 회로(320)는, 안테나 모듈을 통하여 수신되는 RF 신호를 기저대역 신호로 변환하여 커뮤니케이션 프로세서(310)로 전달할 수 있다. RF 회로(320)는, 커뮤니케이션 프로세서(310)가 지원하는 통신 방식에 따라 RF 신호 또는 기저대역 신호를 처리할 수 있으며, RF 회로(320)의 종류에는 제한이 없다. 구성 요소간 인터페이스는, 예를 들어, GPIO(general purpose input/output), UART(universal asynchronous receiver/transmitter)(예: HS-UART(high speed-UART) 또는 PCIe(peripheral component interconnect bus express) 인터페이스로 구현될 수 있으나, 그 종류에는 제한이 없다. 또는, 구성 요소들 중 적어도 일부들은, 예를 들어 공유 메모리(shared memory)를 이용하여 컨트롤 정보 또는 패킷 데이터 정보를 교환할 수 있다. 한편, 도 5의 실시예에서는, 프로세서(120)와 커뮤니케이션 프로세서(310)가 상이한 하드웨어인 것과 같이 도시되어 있지만, 이는 단순히 예시적인 것으로, 프로세서(120)와 커뮤니케이션 프로세서(310)가 상이한 하드웨어로 구현될 수 있으나, 또 다른 구현예에 따르면 프로세서(120)와 커뮤니케이션 프로세서(310)는 단일 칩에 구현될 수도 있다.According to various embodiments, the electronic device 101 includes the processor 120 , the communication processor 310 , the RF circuit 320 , the first slot 330 , the second slot 340 , the eSIM 350 , or At least one of the switches 360 may be included. The communication processor 310 may support establishment of a communication channel of a band to be used for wireless communication, and network communication through the established communication channel. For example, the communication processor 310 may support at least one of second generation (2G), 3G, 4G, or 5G network communication. The RF circuit 320 may include, for example, at least one of a radio frequency integrated circuit (RFIC), a radio frequency front end (RFFE), and an antenna module. The RF circuit 320 may process data (eg, a baseband signal) output from the communication processor 310 as an RF signal and transmit it through the antenna module. Alternatively, the RF circuit 320 may convert an RF signal received through the antenna module into a baseband signal and transmit it to the communication processor 310 . The RF circuit 320 may process an RF signal or a baseband signal according to a communication method supported by the communication processor 310 , and the type of the RF circuit 320 is not limited. Interfaces between components are, for example, general purpose input/output (GPIO), universal asynchronous receiver/transmitter (UART) (eg high speed-UART (HS-UART) or peripheral component interconnect bus express (PCIe) interfaces). It may be implemented, but there is no limitation on the type, or at least some of the components may exchange control information or packet data information using, for example, a shared memory. In the embodiment of , although the processor 120 and the communication processor 310 are illustrated as being different hardware, this is merely exemplary, and the processor 120 and the communication processor 310 may be implemented with different hardware, According to another embodiment, the processor 120 and the communication processor 310 may be implemented in a single chip.

다양한 실시예에 따른 커뮤니케이션 프로세서(310)는, 전술한 SIM에 저장된 정보에 기반한 인증 절차를 수행할 수 있다. 커뮤니케이션 프로세서(310)는, 제1 슬롯(530)을 통하여 제1 SIM(331)에 연결될 수 있다. 예를 들어, 커뮤니케이션 프로세서(310)의 스택(stack)(예: ISO7816에 따른 스택)에 제1 SIM(331)이 연결될 수 있다. 커뮤니케이션 프로세서(310)는, 도 3의 실시예에서는, 두 개의 스택을 포함할 수도 있다. 예를 들어, 제1 슬롯(330)은, rSIM인 제1 SIM(331)을 수용 가능한 구조물일 수 있으며, 제1 SIM(331)이 수용된 경우 제1 SIM(331)으로부터의 정보를 커뮤니케이션 프로세서(310)로 전달할 수 있는 적어도 하나의 단자를 포함할 수 있다. 제2 슬롯(340)은, rSIM인 제2 SIM(341)을 수용 가능한 구조물일 수 있으며, 제2 SIM(341)이 수용된 경우 제2 SIM(341)으로부터의 정보를 커뮤니케이션 프로세서(310)로 전달할 수 있는 적어도 하나의 단자를 포함할 수 있다. 제1 슬롯(330) 및 제2 슬롯(340)은, 동일한 타입일 수 있으나, 구현에 따라 상이한 타입일 수도 있다. 커뮤니케이션 프로세서(310)는, 제1 슬롯(330)에 수용된 제1 SIM(331)으로부터, 제1 SIM(331)에 저장된 정보를 획득할 수 있다. 예를 들어 들어, 제1 SIM(331), 제2 SIM(341) 또는 eSIM(350)(예: 도 2의 eSIM(201)) 중 적어도 하나에는 ICCID(integrated circuit card identifier), IMSI, HPLMN(home public land mobile network) 관련 정보, 또는 MSISDN(mobile subscriber international ISDN number) 중 적어도 하나가 저장될 수 있다. 이를, 기초 파일(elementary file: EF)로 명명할 수도 있다. 커뮤니케이션 프로세서(310)는 획득한 제1 SIM(331)에 저장된 정보에 기반하여 제1 SIM(331)에 대응하는 네트워크 통신을 위한 인증 절차를, RF 회로(320)를 통하여 수행할 수 있다. 인증이 성공되면, 커뮤니케이션 프로세서(310)는, RF 회로(320)를 통하여 제1 SIM(331)에 대응하는 네트워크 통신을 수행할 수 있다.The communication processor 310 according to various embodiments may perform an authentication procedure based on information stored in the aforementioned SIM. The communication processor 310 may be connected to the first SIM 331 through the first slot 530 . For example, the first SIM 331 may be connected to a stack (eg, a stack according to ISO7816) of the communication processor 310 . The communication processor 310 may include two stacks in the embodiment of FIG. 3 . For example, the first slot 330 may be a structure that can accommodate the first SIM 331 that is an rSIM, and when the first SIM 331 is accommodated, information from the first SIM 331 is transmitted to the communication processor ( 310) may include at least one terminal capable of being transmitted. The second slot 340 may be a structure that can accommodate the second SIM 341 that is an rSIM, and when the second SIM 341 is accommodated, information from the second SIM 341 is transmitted to the communication processor 310 . It may include at least one possible terminal. The first slot 330 and the second slot 340 may be of the same type, but may be different types according to implementations. The communication processor 310 may obtain information stored in the first SIM 331 from the first SIM 331 accommodated in the first slot 330 . For example, at least one of the first SIM 331 , the second SIM 341 , or the eSIM 350 (eg, the eSIM 201 of FIG. 2 ) includes an integrated circuit card identifier (ICCID), an IMSI, an HPLMN ( At least one of home public land mobile network) related information and a mobile subscriber international ISDN number (MSISDN) may be stored. This may be called an elementary file (EF). The communication processor 310 may perform an authentication procedure for network communication corresponding to the first SIM 331 through the RF circuit 320 based on the acquired information stored in the first SIM 331 . If authentication is successful, the communication processor 310 may perform network communication corresponding to the first SIM 331 through the RF circuit 320 .

다양한 실시예에 따른 프로세서(120) 또는 커뮤니케이션 프로세서(310) 중 적어도 하나는, 스위치(360)의 상태를 제어할 수 있다. 스위치(360)의 상태는, 커뮤니케이션 프로세서(310)와 제2 슬롯(340)을 연결하는 제1 상태 또는 커뮤니케이션 프로세서(310)와 eSIM(350)을 연결하는 제2 상태 중 어느 하나일 수 있다. 예를 들어, 프로세서(120) 또는 커뮤니케이션 프로세서(310) 중 적어도 하나는, 커뮤니케이션 프로세서(310)에 제2 슬롯(340)이 연결되도록 스위치(360)를 제어할 수 있다. 다른 말로, 프로세서(120) 또는 커뮤니케이션 프로세서(310) 중 적어도 하나는, 스위치(360)의 상태를 제1 상태로 제어할 수 있는 제어 신호를 스위치(360)로 제공할 수 있다. 만약, 스위치(360)가 특정 신호를 수신하지 않는 기본 상태가 제1 상태인 경우, 프로세서(120) 또는 커뮤니케이션 프로세서(310) 중 적어도 하나는, 커뮤니케이션 프로세서(310)에 제2 슬롯(340)이 연결되도록 별다른 동작을 수행하지 않을 수도 있다. 스위치(360)의 제어를 위한 신호는, 예를 들어 GPIO(general purpose input/output)를 통하여 전달될 수 있으나, 그 인터페이스에는 제한이 없다. 경우에 따라, 스위치(360)의 상태는, 제2 슬롯(340) 또는 eSIM(350) 중 어느 것에도 연결되지 않은 제3 상태로 제어될 수도 있다. 스위치(360)는, 예를 들어 적어도 하나의 MOSFET(metal oxide semiconductor field effect transistor), 또는 프리휠링 스위치(freewheeling switch)를 포함할 수 있으나, 그 종류에는 제한이 없음을 당업자는 이해할 것이다. 다양한 실시예에 따라, 상기 eSIM(350)은 적어도 하나의 프로파일(예컨대, 제1 프로파일(profile #1), 제2 프로파일(profile #2), …, 제n 프로파일(profile #n))을 포함할 수 있다. 상기 eSIM(350) 내의 각 프로파일은 특정 통신 사업자에 대응할 수 있다. At least one of the processor 120 and the communication processor 310 according to various embodiments may control the state of the switch 360 . The state of the switch 360 may be either a first state connecting the communication processor 310 and the second slot 340 or a second state connecting the communication processor 310 and the eSIM 350 . For example, at least one of the processor 120 or the communication processor 310 may control the switch 360 such that the second slot 340 is connected to the communication processor 310 . In other words, at least one of the processor 120 or the communication processor 310 may provide a control signal for controlling the state of the switch 360 to the first state to the switch 360 . If the basic state in which the switch 360 does not receive a specific signal is the first state, at least one of the processor 120 or the communication processor 310 has a second slot 340 in the communication processor 310 . You may not perform any special action to connect. A signal for controlling the switch 360 may be transmitted, for example, through a general purpose input/output (GPIO), but the interface is not limited thereto. In some cases, the state of the switch 360 may be controlled to be a third state that is not connected to either the second slot 340 or the eSIM 350 . The switch 360 may include, for example, at least one metal oxide semiconductor field effect transistor (MOSFET) or a freewheeling switch, but it will be understood by those skilled in the art that the type is not limited. According to various embodiments, the eSIM 350 includes at least one profile (eg, a first profile (profile #1), a second profile (profile #2), ..., an nth profile (profile #n)). can do. Each profile in the eSIM 350 may correspond to a specific carrier.

상기 도 3에서는 상기 스위치(360)의 상태 제어에 따라 커뮤니케이션 프로세서(310)가 제2 슬롯(340) 또는 eSIM(350)에 선택적으로 연결되는 것으로 도시하고 있으나, 이는 단순히 예시적인 것이다. 다양한 실시예에 따라 상기 커뮤니케이션 프로세서(310)는 상기 eSIM(350) 대신 상기 전자 장치(101)내에 통신 사업자 전용으로 설치되는 소프트 SIM(soft SIM)을 선택적으로 이용할 수도 있다. 예컨대, 상기 전자 장치(101)내에(예컨대, 프로세서(120) 내부 또는 커뮤니케이션 프로세서(310) 내부에) 소프트 SIM이 설치된 경우, 상기 커뮤니케이션 프로세서(310)는 상기 제2 슬롯(340)에 연결되어 제2 SIM(341)을 이용하거나, 또는 상기 소프트 SIM을 선택적으로 이용할 수 있다. 다양한 실시예에 따라, 후술하는 각 실시예들에서의 eSIM은 상기 소프트 SIM으로 대체되어 동일 또는 유사하게 적용될 수 있다.Although FIG. 3 shows that the communication processor 310 is selectively connected to the second slot 340 or the eSIM 350 according to the state control of the switch 360, this is merely exemplary. According to various embodiments, the communication processor 310 may selectively use a soft SIM installed exclusively for a communication service provider in the electronic device 101 instead of the eSIM 350 . For example, when a soft SIM is installed in the electronic device 101 (eg, inside the processor 120 or inside the communication processor 310 ), the communication processor 310 is connected to the second slot 340 and 2 SIM 341 may be used, or the soft SIM may be selectively used. According to various embodiments, the eSIM in each of the embodiments described below may be replaced with the soft SIM and may be applied identically or similarly.

후술하는 실시예들에서는, 상기 복수의 SIM들(예컨대, 제1 SIM(331), 제2 SIM(341), eSIM(350)) 중 어느 하나의 SIM에 대응하는 콜 수신 시, 다른 SIM으로 착신 전환하여 해당 콜을 수신하는 다양한 실시예들을 설명한다. 예컨대, 도 3을 참조하면, 전자 장치(101)는 제1 SIM(331)과 제2 SIM(341)이 DSDS(dual SIM dual stand-by)로 동작 중인 상태에서 제1 SIM(331)에 대응하는 콜의 수신 시, 후술하는 다양한 상황(예컨대, 콜 수신 중 미디어 전용 베어러(media dedicated bearer) 연결을 실패하는 경우, 연결된 미디어 전용 베어러가 끊어지는 경우, 또는 해당 SIM에서 코덱을 미지원하는 경우)에 따라 상기 제2 SIM(341) 또는 eSIM(350) 내의 특정 프로파일(예컨대, 제1 프로파일 내지 제n 프로파일 중 어느 하나의 프로파일)로 착신 전환 처리할 수 있다. 예컨대, 상기 다양한 상황에 따라 상기 제1 SIM(331)에 대응하여 수신된 콜을 eSIM(350) 내의 특정 프로파일로 착신 전환하고자 하는 경우, 상기 전자 장치(101)의 커뮤니케이션 프로세서(310)는 상기 스위치(360)를 제어하여 상기 커뮤니케이션 프로세서(310)가 제2 슬롯(340)이 아닌 eSIM(350)에 연결되도록 제어할 수 있다.In the embodiments to be described later, when a call corresponding to any one of the plurality of SIMs (eg, the first SIM 331 , the second SIM 341 , and the eSIM 350 ) is received, an incoming call is made to the other SIM Various embodiments of receiving a corresponding call by switching will be described. For example, referring to FIG. 3 , the electronic device 101 corresponds to the first SIM 331 while the first SIM 331 and the second SIM 341 are operating as a dual SIM dual stand-by (DSDS). When receiving a call, in various situations to be described later (eg, when the media dedicated bearer connection fails during call reception, when the connected media dedicated bearer is disconnected, or when the SIM does not support the codec) Accordingly, the call forwarding process may be performed to a specific profile (eg, any one of the first profile to the nth profile) in the second SIM 341 or the eSIM 350 . For example, when a call received in response to the first SIM 331 is to be forwarded to a specific profile in the eSIM 350 according to the various situations, the communication processor 310 of the electronic device 101 is configured to By controlling 360 , the communication processor 310 may be controlled to be connected to the eSIM 350 instead of the second slot 340 .

도 4는 다양한 실시예에 따른 전자 장치의 IMS 네트워크 등록 방법을 설명하기 위한 신호 흐름도를 도시한다. 도 4를 참조하면, 한 실시예에 따르면, 상기 전자 장치(101)는 통신 네트워크(400)(예컨대, 도 1b의 제1 통신 네트워크(111a) 또는 제2 통신 네트워크(112a) 또는 제3 통신 네트워크(113a))를 통해서 IMS 네트워크(410)(예컨대, 도 1b의 제1 IMS 네트워크(111b) 또는 제2 IMS 네트워크(112b) 또는 제3 IMS 네트워크(113b))에 등록할 수 있다. 예컨대, 동작 421에서, 전자 장치(101)는, 통신 네트워크(400)에 제1 가입자 정보(예: 제1 식별 정보)를 포함하는 제1 등록 요청(예: attach request)을 전송할 수 있다. 통신 네트워크(400)는 제1 등록 요청에 포함된 제1 가입자 정보에 대응하는 제1 식별 정보(예: 특정 통신 사업자의 LTE 망에 대응되는 식별 정보인 IMSI(international mobile subscriber identity))에 기반하여 전자 장치(101)를 통신 네트워크(400)에 등록할 수 있다. 한 실시예에 따르면, 통신 네트워크(400)는 제1 가입자 정보에 대응하는 제1 통신 사업자가 운영하는 통신망(예: NR 통신 네트워크 또는 LTE 통신 네트워크) 또는 제2 가입자 정보에 대응하는 제2 통신 사업자가 운영하는 통신망 또는 제3 가입자 정보에 대응하는 제3 통신 사업자가 운영하는 통신망일 수 있다. 예를 들면, 통신 네트워크(400)는 전자 장치(101)가 상기 통신 사업자의 가입자이거나, 또는 상기 통신 사업자와의 협약을 맺은 다른 사업자의 가입자인 경우에, 통신 네트워크(400)에 전자 장치(101)를 등록하고 통신 서비스를 제공할 수 있다. 동작 423에서, 제1 통신 네트워크(400)는 제1 등록 요청에 대한 제1 응답(response)을 전자 장치(101)에 송신할 수 있다. 상기 제1 응답은 통신 네트워크(400)에서 전자 장치(101)에 할당한 주소 정보(예: IP 주소)를 포함할 수 있다. 또한, 제1 응답은 IMS 네트워크(410)에 대응하는 주소 정보를 포함할 수 있다.4 is a signal flow diagram illustrating a method of registering an IMS network of an electronic device according to various embodiments of the present disclosure; Referring to FIG. 4 , according to an embodiment, the electronic device 101 is a communication network 400 (eg, the first communication network 111a or the second communication network 112a or the third communication network of FIG. 1B ). 113a) through the IMS network 410 (eg, the first IMS network 111b or the second IMS network 112b or the third IMS network 113b of FIG. 1B ). For example, in operation 421 , the electronic device 101 may transmit a first registration request (eg, attach request) including first subscriber information (eg, first identification information) to the communication network 400 . The communication network 400 is based on first identification information corresponding to the first subscriber information included in the first registration request (eg, international mobile subscriber identity (IMSI), which is identification information corresponding to the LTE network of a specific communication service provider). The electronic device 101 may be registered with the communication network 400 . According to an embodiment, the communication network 400 is a communication network (eg, NR communication network or LTE communication network) operated by a first communication operator corresponding to the first subscriber information or a second communication operator corresponding to the second subscriber information. It may be a communication network operated by the company or a communication network operated by a third communication service provider corresponding to the third subscriber information. For example, when the electronic device 101 is a subscriber of the communication operator or a subscriber of another operator that has entered into an agreement with the communication operator, the communication network 400 connects the electronic device 101 to the communication network 400 . ) and can provide communication services. In operation 423 , the first communication network 400 may transmit a first response to the first registration request to the electronic device 101 . The first response may include address information (eg, an IP address) allocated to the electronic device 101 by the communication network 400 . Also, the first response may include address information corresponding to the IMS network 410 .

동작 425 및 동작 427에서, 전자 장치(101)는 제2 등록 요청에 포함된 제1 가입자 정보에 대응하는 제2 식별 정보(예: 상기 특정 통신 사업자의 IMS 망에 대응되는 식별 정보인 PUI(public user identity))에 기반한 제2 등록 요청(예: SIP register)을 IMS 네트워크(410)(예컨대, PCSCF(proxy call state control function))로 전송할 수 있다. 한 실시예에 따르면, 전자 장치(101)는 통신 네트워크(400)로부터 프로토콜 구성 옵션들(PCO, protocol configuration options)을 수신할 수 있다. 전자 장치(101)는 PCO에 기반하여 IMS 네트워크(410)에 대응하는 주소 정보(예: IP 주소)를 획득할 수 있다. 전자 장치(101)는 상기 주소 정보에 기반하여, 제2 등록 요청을 통신 네트워크(400)에 송신할 수 있다. 통신 네트워크(400)는, 예를 들면, 통신 네트워크(400)의 게이트웨이를 통해서, 상기 주소에 기반하여, 상기 전자 장치(101)로부터 수신한 제2 등록 요청을 IMS 네트워크(410)에 송신할 수 있다. 동작 429 및 동작 431에서, IMS 네트워크(610)는 제2 등록 요청에 기반하여, 전자 장치(101)를 IMS 네트워크(410)에 등록하고, 제2 등록 요청에 대한 제2 응답(예: OK)을 전자 장치(101)에 송신할 수 있다.In operations 425 and 427, the electronic device 101 transmits second identification information corresponding to the first subscriber information included in the second registration request (eg, PUI (public identification information) corresponding to the IMS network of the specific communication service provider. user identity)) based on a second registration request (eg, SIP register) may be transmitted to the IMS network 410 (eg, proxy call state control function (PCSCF)). According to an embodiment, the electronic device 101 may receive protocol configuration options (PCO) from the communication network 400 . The electronic device 101 may acquire address information (eg, an IP address) corresponding to the IMS network 410 based on the PCO. The electronic device 101 may transmit a second registration request to the communication network 400 based on the address information. The communication network 400 may transmit the second registration request received from the electronic device 101 to the IMS network 410 based on the address, for example, through a gateway of the communication network 400 . have. In operations 429 and 431 , the IMS network 610 registers the electronic device 101 with the IMS network 410 based on the second registration request, and a second response to the second registration request (eg, OK) may be transmitted to the electronic device 101 .

이와 같이 함으로써, 상기 전자 장치(101)는 통신 네트워크(400)(예컨대, 도 1b의 제1 통신 네트워크(111a) 또는 제2 통신 네트워크(112a) 또는 제3 통신 네트워크(113a))를 통해서 IMS 네트워크(410)(예컨대, 도 1b의 제1 IMS 네트워크(111b) 또는 제2 IMS 네트워크(112b) 또는 제3 IMS 네트워크(113b))를 이용할 수 있다. 예컨대, 상기 전자 장치(101)는 NR 통신 네트워크를 통해 IMS 네트워크에 등록함으로써 VoNR 서비스를 제공받거나, LTE 통신 네트워크를 통해 IMS 네트워크에 등록함으로써 VoLTE 서비스를 제공받을 수 있다.By doing so, the electronic device 101 connects to the IMS network via the communication network 400 (eg, the first communication network 111a or the second communication network 112a or the third communication network 113a of FIG. 1B ). 410 (eg, the first IMS network 111b or the second IMS network 112b or the third IMS network 113b of FIG. 1B ) may be used. For example, the electronic device 101 may receive the VoNR service by registering with the IMS network through the NR communication network, or may receive the VoLTE service by registering with the IMS network through the LTE communication network.

다양한 실시예에 따라, 전자 장치(101)는 상기 IMS 네트워크(410)로의 IMS 서비스 등록 요청에 따라 상기 제2 응답(예컨대, OK 메시지)을 수신하고, 상기 수신된 제2 응답에 포함된 정보를 통해 상기 전자 장치(101)에 대해 지원 가능한 IMS 서비스 정보를 확인할 수 있다. 예컨대, 전자 장치(101)는 등록된 IMS 서비스(예컨대, 음성 통화 서비스 또는 영상 통화 서비스)와 가입된 통신 사업자에 따라 지원 가능한 IMS 서비스 정보(예컨대, 지원 가능한 음성 코덱 또는 지원 가능한 영상 코덱)를 확인할 수 있다. 하기 <표 1>은 전자 장치(101)에 포함된 복수의 SIM들에 대해 각 SIM에 대응하는 통신 사업자가 지원 가능한 IMS 서비스 정보의 예시를 나타낸다.According to various embodiments, the electronic device 101 receives the second response (eg, OK message) according to the IMS service registration request to the IMS network 410 , and displays information included in the received second response. Through this, it is possible to check IMS service information supportable for the electronic device 101 . For example, the electronic device 101 checks the registered IMS service (eg, a voice call service or a video call service) and IMS service information (eg, a supportable voice codec or a supportable video codec) that can be supported according to a subscribed communication service provider. can Table 1 below shows examples of IMS service information supportable by a communication operator corresponding to each SIM for a plurality of SIMs included in the electronic device 101 .

Figure pat00001
Figure pat00001

상기 <표 1>을 참조하면, 제1 슬롯(330)에 장착된 제1 SIM(331)은 A 사업자에 가입된 물리 SIM으로서, 상기 제1 SIM(331)에 등록된 IMS 서비스는 음성 통화 및 영상 통화 서비스일 수 있으며, 지원 가능한 음성 코덱은 EVS(enhanced voice services), AMR-WB(adaptive multi-rate wideband), AMR-NB(adaptive multi-rate narrowband)일 수 있으며, 지원 가능한 영상 코덱은 H.265, H.264, H.263일 수 있다. 또한, 제2 슬롯(340)에 장착된 제2 SIM(341)은 B 사업자에 가입된 물리 SIM으로서, 상기 제2 SIM(341)에 등록된 IMS 서비스는 음성 통화 서비스일 수 있으며, 지원 가능한 음성 코덱은 EVS, AMR-WB, AMR-NB일 수 있다. 또한, 전자 장치(101) 내에 설치된 eSIM(350)은 C 사업자에 가입된 SIM으로서, 상기 eSIM(350)에 등록된 IMS 서비스는 음성 통화 및 영상 통화 서비스일 수 있으며, 지원 가능한 음성 코덱은 AMR-WB, AMR-NB일 수 있으며, 지원 가능한 영상 코덱은 H.264, H.263일 수 있다.Referring to <Table 1>, the first SIM 331 mounted in the first slot 330 is a physical SIM subscribed to carrier A, and the IMS service registered in the first SIM 331 is a voice call and It may be a video call service, and supportable voice codecs may be enhanced voice services (EVS), adaptive multi-rate wideband (AMR-WB), and adaptive multi-rate narrowband (AMR-NB), and the supported video codec is H It can be .265, H.264, or H.263. Also, the second SIM 341 mounted in the second slot 340 is a physical SIM subscribed to carrier B, and the IMS service registered in the second SIM 341 may be a voice call service, and supportable voice The codec may be EVS, AMR-WB, or AMR-NB. In addition, the eSIM 350 installed in the electronic device 101 is a SIM subscribed to carrier C, and the IMS service registered to the eSIM 350 may be a voice call and a video call service, and a supportable voice codec is AMR- It may be WB or AMR-NB, and supportable video codecs may be H.264 or H.263.

다양한 실시예에 따라, 상기 전자 장치(101)는 상기 통신 사업자가 지원하는 IMS 서비스 정보와는 별도로 하드웨어에서 자체적으로 지원 가능한 IMS 서비스 정보(예컨대, 지원 가능한 음성 코덱 또는 지원 가능한 영상 코덱)를 메모리에 저장할 수 있다. 하기 <표 2>는 전자 장치(101)에 포함된 하드웨어 또는 소프트웨어에서 지원 가능한 IMS 서비스 정보의 예시를 나타낸다.According to various embodiments, the electronic device 101 stores IMS service information (eg, a supportable audio codec or a supportable video codec) that can be supported by hardware independently from the IMS service information supported by the communication service provider in a memory. can be saved Table 2 below shows examples of IMS service information supportable by hardware or software included in the electronic device 101 .

Figure pat00002
Figure pat00002

다양한 실시예에 따라, 전자 장치(101)는 상기 <표 1>에 예시된 IMS 등록에 따라 확인된 통신 사업자에 의해 지원 가능한 IMS 서비스 정보와 상기 <표 2>에 예시된 전자 장치에서 지원 가능한 IMS 서비스 정보를 조합함으로써 최종적으로 각 SIM에서 지원 가능한 IMS 서비스 정보를 <표 3>과 같이 설정할 수 있다.According to various embodiments, the electronic device 101 provides IMS service information supportable by the communication service provider confirmed according to the IMS registration exemplified in <Table 1> and IMS supportable by the electronic device exemplified in <Table 2> above. By combining service information, finally, IMS service information supported by each SIM can be set as shown in <Table 3>.

Figure pat00003
Figure pat00003

다양한 실시예에 따라, 상기 IMS 서비스 등록 후, 상기 전자 장치(101)로의 IMS 미디어 콜이 발생하면, 상기 전자 장치(101)는 상기 IMS 네트워크(410)로부터 SIP INVITE 메시지를 수신할 수 있으며, 상기 SIP INVITE 메시지에 포함된 SDP(session description protocol)를 통해 발신측 단말에서 요청하는 미디어 코덱 정보를 확인할 수 있다. 예컨대, 상기 미디어 코덱 정보는 하기 <표 4>에 예시된 바와 같이 각 미디어별 우선 순위가 높은 코덱부터 순서대로 상기 SDP 내에 배치될 수 있다.According to various embodiments, when an IMS media call to the electronic device 101 occurs after registering the IMS service, the electronic device 101 may receive a SIP INVITE message from the IMS network 410, Media codec information requested by the calling terminal may be checked through SDP (session description protocol) included in the SIP INVITE message. For example, the media codec information may be arranged in the SDP in order from a codec having a high priority for each media as illustrated in Table 4 below.

// SIM SLOT#1 수신 IMS media call의 offered SDP
m=audio 1234 RTP/AVP 112 116 118 111
a=rtpmap:112 EVS/16000
a=fmtp:112 br=5.9-24.4;bw=nb-swb;cmr=1;max-red=220
a=rtpmap:116 AMR- WB/16000/1
a=fmtp:116 mode-change-capability=2;max-red=220
a=rtpmap:118 AMR/8000/1
a=fmtp:118 mode-change-capability=2;max-red=220
a=rtpmap:111 telephone-event/16000
a=fmtp:111 0-15
m=video 1580 RTP/AVP 116 34
a=rtpmap:116 H264/90000
a=fmtp:116 profile-level-id=42C01E;packetization-mode=1;sprop-parameter-sets=Z0LAHtoHgUZA,aM4BnyA=
a=rtpmap:34 H263/90000
a=fmtp:34 profile=0;level=10
// SIM SLOT#1 received IMS media call offered SDP
m=audio 1234 RTP/AVP 112 116 118 111
a=rtpmap:112 EVS /16000
a=fmtp:112 br=5.9-24.4;bw=nb-swb;cmr=1;max-red=220
a=rtpmap:116 AMR- WB /16000/1
a=fmtp:116 mode-change-capability=2;max-red=220
a=rtpmap:118 AMR /8000/1
a=fmtp:118 mode-change-capability=2;max-red=220
a=rtpmap:111 telephone-event/16000
a=fmtp:111 0-15
m=video 1580 RTP/AVP 116 34
a=rtpmap:116 H264 /90000
a=fmtp:116 profile-level-id=42C01E;packetization-mode=1;sprop-parameter-sets=Z0LAHtoHgUZA,aM4BnyA=
a=rtpmap:34 H263 /90000
a=fmtp:34 profile=0;level=10

상기 <표 4>에서 예시된 SDP의 구성 예를 참조하면, 음성 코덱(audio codec)은 우선 순위에 따라 EVS, AMR-WB, AMR-NB 순으로 SDP 내에 포함되고, 영상 코덱(video codec)은 우선 순위에 따라 H.264, H.263 순으로 SDP 내에 포함될 수 있다.Referring to the configuration example of the SDP illustrated in Table 4 above, the audio codec is included in the SDP in the order of EVS, AMR-WB, and AMR-NB according to priority, and the video codec is H.264 and H.263 may be included in the SDP in the order of priority.

다양한 실시예에 따라, 전자 장치(101)에서 최종적으로 지원 가능한 음성 코덱 또는 영상 코덱이 <표 3>에 예시된 바와 같다고 가정할 경우, 제1 SIM으로 IMS 미디어 콜이 수신되었을 때 상기 제1 SIM에서 지원 가능한 IMS 서비스 정보에 기반하여 AMR-WB와 H.264가 선택될 수 있다. 전자 장치(101)는 상기 음성 코덱 및 영상 코덱의 선택에 따라 해당 정보를 하기 <표 5>와 같이 SIP Session progress 메시지 내의 SDP에 포함하여 IMS 네트워크(410)로 전송할 수 있다.According to various embodiments, when it is assumed that an audio codec or an image codec finally supported by the electronic device 101 is as exemplified in Table 3, when an IMS media call is received by the first SIM, the first SIM AMR-WB and H.264 can be selected based on IMS service information that can be supported by the . According to the selection of the audio codec and the video codec, the electronic device 101 may transmit the corresponding information to the IMS network 410 by including the information in the SDP in the SIP Session progress message as shown in Table 5 below.

// 전자 장치에서 answer하는 SDP
m=audio 1234 RTP/AVP 116 111
a=rtpmap:116 AMR-WB/16000/1
a=fmtp:116 mode-change-capability=2;max-red=220
a=rtpmap:111 telephone-event/16000
a=fmtp:111 0-15
m=video 1580 RTP/AVP 116
a=rtpmap:116 H264/90000
a=fmtp:116 profile-level-id=42C01E;packetization-mode=1;sprop-parameter-sets=Z0LAHtoHgUZA,aM4BnyA=
// SDP answering from electronic device
m=audio 1234 RTP/AVP 116 111
a=rtpmap:116 AMR-WB /16000/1
a=fmtp:116 mode-change-capability=2;max-red=220
a=rtpmap:111 telephone-event/16000
a=fmtp:111 0-15
m=video 1580 RTP/AVP 116
a=rtpmap:116 H264 /90000
a=fmtp:116 profile-level-id=42C01E;packetization-mode=1;sprop-parameter-sets=Z0LAHtoHgUZA,aM4BnyA=

후술하는 다양한 실시예들에서는 상기 전자 장치(101)로의 IMS 미디어 콜이 발생하고, 발신측 단말에서 요청하는 미디어 코덱 정보를 확인한 결과 현재 수신된 SIM에서 최종적으로 지원 가능한 음성 코덱 또는 영상 코덱이 상기 수신 콜의 발신측 단말에서 요청하는 우선 순위가 가장 높은 코덱을 지원하지 못할 경우, 상기 전자 장치(101)에 포함된 복수의 SIM 들 중 상기 우선 순위가 가장 높은 코덱을 지원하는 다른 SIM으로의 착신 전환 처리를 할 수 있다. 상기 실시예에 대한 상세한 설명은 도 13의 설명에서 상세히 후술하기로 한다.In various embodiments to be described later, an IMS media call to the electronic device 101 is generated, and as a result of checking media codec information requested by the calling terminal, a voice codec or an image codec that is finally supported by the currently received SIM is the reception. When the codec with the highest priority requested by the calling terminal of the call is not supported, call forwarding to another SIM supporting the codec with the highest priority among the plurality of SIMs included in the electronic device 101 processing can be done A detailed description of the embodiment will be described later in detail with reference to FIG. 13 .

도 5는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다. 도 5를 참조하면, 외부 전자 장치(예컨대, 도 1a의 전자 장치(104))에서 전자 장치(예컨대, 도 1a의 전자 장치(101))로 미디어 콜(media call)(예컨대, 음성 콜(voice call) 또는 영상 콜(video call))을 발신할 수 있다. 다양한 실시예에 따라, 전자 장치(예컨대, 도 1a의 전자 장치(101)(예컨대, 프로세서(120) 또는 통신 모듈(190))는 동작 510에서 외부 전자 장치로부터 발신된 제1 SIM(예컨대, 도 1b의 제1 SIM(111))에 대한 통화 요청 메시지를 IMS 네트워크(예컨대, 도 6의 IMS 네트워크(610))의 IMS 서버로부터 수신할 수 있다. 상기 IMS 네트워크는 P-CSCF(proxy call session control function), S-CSCF(serving call session control function), I-CSCF(interrogating call session control function), HSS(home subscriber server)를 포함할 수 있다. 다양한 실시예에 따라, 상기 IMS 서버는 P-CSCF일 수 있다. 다양한 실시예에 따라, 상기 통화 요청 메시지는 SIP(session initiation protocol)에 따른 SIP INVITE 메시지일 수 있다. 예컨대, 상기 통화 요청 메시지가 음성 콜(voice call)에 대한 통화 요청 메시지일 경우 상기 SIP INVITE 메시지는 voice call SDP(session description protocol) offer 메시지일 수 있으며, 상기 통화 요청 메시지가 영상 콜(video call)에 대한 통화 요청 메시지일 경우 상기 SIP INVITE 메시지는 video call SDP offer 메시지일 수 있다. 다양한 실시예에 따라, 상기 SDP는 통화 요청된 상기 미디어 콜에 대한 지원 가능한 코덱(codec) 정보(예컨대, 음성 코덱 정보 또는 영상 코덱 정보)를 포함할 수 있으며, 이에 대한 상세한 설명은 도 13의 설명에서 후술하기로 한다.5 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure; Referring to FIG. 5 , a media call (eg, voice call) is made from an external electronic device (eg, the electronic device 104 of FIG. 1A ) to an electronic device (eg, the electronic device 101 of FIG. 1A ). call) or a video call). According to various embodiments, the electronic device (eg, the electronic device 101 (eg, the processor 120 or the communication module 190 ) of FIG. 1A ) receives the first SIM (eg, FIG. 1A ) from the external electronic device in operation 510 . A call request message for the first SIM 111 of 1b) may be received from an IMS server of an IMS network (eg, the IMS network 610 of Fig. 6) The IMS network is a proxy call session control (P-CSCF) function), a serving call session control function (S-CSCF), an interrogating call session control function (I-CSCF), and a home subscriber server (HSS). According to various embodiments, the IMS server is a P-CSCF According to various embodiments, the call request message may be a SIP INVITE message according to a session initiation protocol (SIP) For example, when the call request message is a call request message for a voice call The SIP INVITE message may be a voice call SDP (session description protocol) offer message, and when the call request message is a call request message for a video call, the SIP INVITE message may be a video call SDP offer message. According to various embodiments, the SDP may include supportable codec information (eg, audio codec information or image codec information) for the media call requested for a call, and a detailed description thereof is shown in FIG. It will be described later in the description.

다양한 실시예에 따라, 전자 장치는 동작 520에서, 상기 수신된 통화 요청 메시지에 대한 응답 메시지를 상기 IMS 서버로 전송할 수 있다. 다양한 실시예에 따라, 상기 응답 메시지는 SIP에 따른 SIP 183 Session Progress 메시지일 수 있다. 예컨대, 상기 통화 요청 메시지가 음성 콜(voice call)에 대한 통화 요청 메시지일 경우 상기 SIP 183 Session Progress 메시지는 voice call SDP 응답 메시지일 수 있으며, 상기 통화 요청 메시지가 영상 콜(video call)에 대한 통화 요청 메시지일 경우 상기 SIP 183 Session Progress 메시지는 video call SDP 응답 메시지일 수 있다. 다양한 실시예에 따라, 상기 SDP 응답 메시지에는 상기 전자 장치(또는 상기 전자 장치에 포함된 제1 SIM)에서 지원 가능한 적어도 하나의 코덱 정보를 포함할 수 있으며, 이에 대한 상세한 설명은 도 13의 설명에서 후술하기로 한다.According to various embodiments, in operation 520, the electronic device may transmit a response message to the received call request message to the IMS server. According to various embodiments, the response message may be a SIP 183 Session Progress message according to SIP. For example, when the call request message is a call request message for a voice call, the SIP 183 Session Progress message may be a voice call SDP response message, and the call request message is a call for a video call. In the case of a request message, the SIP 183 Session Progress message may be a video call SDP response message. According to various embodiments, the SDP response message may include information on at least one codec supportable by the electronic device (or the first SIM included in the electronic device), and a detailed description thereof can be found in the description of FIG. 13 . to be described later.

다양한 실시예에 따라, 전자 장치는 동작 530에서 네트워크 오류 발생을 확인할 수 있다. 예컨대, 전자 장치는 상기 제1 SIM에 대해 media dedicated bearer establishment 메시지(예컨대, voice dedicated bearer establishment 메시지 또는 video dedicated bearer establishment 메시지)를 설정된 시간 내에 수신하지 못하거나, 상기 제1 SIM에 대해 설정된 상기 media dedicated bearer의 연결 실패에 대응하는 메시지(예컨대, voice dedicated bearer lost 메시지 또는 video dedicated bearer lost 메시지)를 수신하면, 상기 네트워크 오류가 발생한 것으로 판단할 수 있다.According to various embodiments, the electronic device may check that a network error has occurred in operation 530 . For example, the electronic device does not receive a media dedicated bearer establishment message (eg, a voice dedicated bearer establishment message or a video dedicated bearer establishment message) for the first SIM within a set time, or the media dedicated for the first SIM When a message corresponding to a bearer connection failure (eg, a voice dedicated bearer lost message or a video dedicated bearer lost message) is received, it may be determined that the network error has occurred.

다른 실시예에 따라, 전자 장치는 상기 IMS 서버의 오류와 관련된 메시지(예컨대, SIP CANCEL 메시지)를 수신하면, 상기 네트워크 오류가 발생한 것으로 판단할 수 있다. 예컨대, 상기 전자 장치는 IMS 서버로부터 SIP CANCEL 메시지 내의 Reason 헤더 필드에 포함된 에러 코드를 확인함으로써 IMS 서버에서 오류가 발생하였음을 확인할 수 있다. 다양한 실시예에 따라, 상기 IMS 서버의 오류는 해당 IMS 서버에서의 과부하로 인해 발생될 수 있다.According to another embodiment, upon receiving a message related to an error of the IMS server (eg, a SIP CANCEL message), the electronic device may determine that the network error has occurred. For example, the electronic device may confirm that an error has occurred in the IMS server by checking the error code included in the Reason header field in the SIP CANCEL message from the IMS server. According to various embodiments, the error of the IMS server may occur due to an overload in the corresponding IMS server.

상기와 같은 네트워크 오류 발생 시, 전자 장치는 수신된 미디어 콜을 종료(예컨대, 486 Busy Here 메시지 전송)시키거나 음성 콜로 다운그레이드(예컨대, Downgrade to voice call 메시지 전송)시키는 대신, 다양한 실시예에 따라 상기 전자 장치에 포함된 다른 SIM(예컨대, 제2 SIM(예컨대, 도 1b의 제2 SIM(112)) 또는 도 1b의 eSIM(201))으로의 착신 전환을 요청할 수 있다.When a network error as described above occurs, the electronic device terminates the received media call (eg, transmits a 486 Busy Here message) or downgrades to a voice call (eg, transmits a Downgrade to voice call message) according to various embodiments The call forwarding may be requested to another SIM included in the electronic device (eg, a second SIM (eg, the second SIM 112 of FIG. 1B ) or the eSIM 201 of FIG. 1B ).

다양한 실시예에 따라, 상기 네트워크 오류 발생이 확인되면, 전자 장치는 동작 540에서, 착신 전환을 위해 설정된 SIM(예컨대, 제2 SIM)을 확인할 수 있다. 전자 장치는 상기 착신 전환을 위한 SIM을 다양한 방법에 의해 결정할 수 있다. 예컨대, 전자 장치는 상기 전자 장치에 포함된 복수의 SIM들 중 지원 가능한 코덱 정보에 기반하여 착신 전환을 위한 SIM을 결정할 수 있으며, 이에 대한 다양한 실시예들은 후술하기로 한다.According to various embodiments, if the occurrence of the network error is confirmed, the electronic device may identify a SIM (eg, a second SIM) configured for call forwarding in operation 540 . The electronic device may determine the SIM for the call forwarding by various methods. For example, the electronic device may determine a SIM for call forwarding based on supportable codec information among a plurality of SIMs included in the electronic device, and various embodiments thereof will be described later.

다양한 실시예에 따라, 전자 장치는 동작 550에서, 상기 착신 전환을 위해 확인된 SIM(예컨대, 제2 SIM)에 대한 정보(예컨대, 제2 SIM에 대응하는 전화 번호 또는 네트워크상의 주소 정보)를 포함하는 착신 전환 메시지를 상기 IMS 서버를 통해 미디어 콜을 발신한 상기 외부 전자 장치로 전송할 수 있다. 다양한 실시예에 따라, 상기 착신 전환 메시지는 SIP에 따라 Moved Temporarily 메시지일 수 있다. 예컨대, 상기 Moved Temporarily 메시지에는 하기 <표 6>에 예시된 바와 같이 연락처(contact) 헤더에 착신 전환할 SIM에 대한 정보(예컨대, 상기 제2 SIM에 대응하는 전화 번호 또는 네트워크상의 주소 정보 또는 하나 이상의 URI(uniform resource identifier) 정보)가 포함될 수 있다.According to various embodiments, in operation 550 , the electronic device includes information (eg, a phone number corresponding to the second SIM or address information on a network) on the SIM (eg, the second SIM) confirmed for the call forwarding. a call forwarding message to the external electronic device that has transmitted the media call through the IMS server. According to various embodiments, the call forwarding message may be a Moved Temporarily message according to SIP. For example, in the Moved Temporarily message, as illustrated in Table 6 below, information on a SIM to be forwarded (eg, a phone number corresponding to the second SIM or address information on a network or one or more URI (uniform resource identifier) information) may be included.

SIP/2.0 302 Moved Temporarily
Via: SIP/2.0/UDP ims.test.com
From: <sip:Bob@test.com>
To: <sip:Alice@test.com>
Contact: <sip:John@test.com>
Call-ID: 123456@test.com
CSeq: 1 INVITE
SIP/2.0 302 Moved Temporarily
Via: SIP/2.0/UDP ims.test.com
From: <sip:Bob@test.com>
To: <sip:Alice@test.com>
Contact: <sip:John@test.com>
Call-ID: 123456@test.com
CSeq: 1 INVITE

다양한 실시예에 따라, 상기 전자 장치로부터 상기 착신 전환 메시지를 수신한 IMS 서버는 상기 수신된 착신 전환 메시지를 상기 미디어 콜을 전송한 외부 전자 장치(예컨대, 발신자 단말)로 전송할 수 있다. 상기 외부 전자 장치는 상기 전자 장치로부터 착신 전환 메시지를 수신하고, 상기 제1 SIM으로 발신한 미디어 콜을 제2 SIM 전환하여 발신할 수 있다. 다양한 실시예에 따라, 전자 장치는 제1 SIM에 대해 네트워크 오류가 발생할 경우, 제2 SIM으로 착신 전환 처리함으로써(예컨대, 자동으로 착신 전환 처리함으로써) 동일한 외부 전자 장치로부터 발신된 미디어 콜을 중단 없이 수신할 수 있다.According to various embodiments, the IMS server that has received the call forward message from the electronic device may transmit the received call forward message to an external electronic device (eg, a caller terminal) that has transmitted the media call. The external electronic device may receive the call forward message from the electronic device, and may transmit the media call transmitted to the first SIM to a second SIM. According to various embodiments, when a network error occurs with respect to the first SIM, the electronic device performs call forwarding to the second SIM (eg, by automatically performing call forwarding) so that a media call originating from the same external electronic device is not interrupted. can receive

도 6은 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다. 도 6을 참조하면, 외부 전자 장치(예컨대, 도 1a의 전자 장치(104))에서 전자 장치(예컨대, 도 1a의 전자 장치(101))로 미디어 콜(media call)(예컨대, 음성 콜(voice call) 또는 영상 콜(video call))을 발신할 수 있다. 다양한 실시예에 따라, 전자 장치(예컨대, 도 1a의 전자 장치(101)(예컨대, 프로세서(120) 또는 통신 모듈(190))는 동작 610에서 외부 전자 장치로부터 발신된 제1 SIM(예컨대, 도 1b의 제1 SIM(111))에 대한 통화 요청 메시지를 IMS 네트워크(예컨대, 도 6의 IMS 네트워크(610))의 IMS 서버로부터 수신할 수 있다. 상기 IMS 네트워크는 P-CSCF(proxy call session control function), S-CSCF(serving call session control function), I-CSCF(interrogating call sessin control function), HSS(home subscriber server)를 포함할 수 있다. 다양한 실시예에 따라, 상기 IMS 서버는 P-CSCF일 수 있다. 다양한 실시예에 따라, 상기 통화 요청 메시지는 SIP(session initiation protocol)에 따른 SIP INVITE 메시지일 수 있다. 예컨대, 상기 통화 요청 메시지가 음성 콜(voice call)에 대한 통화 요청 메시지일 경우 상기 SIP INVITE 메시지는 voice call SDP(session description protocol) offer 메시지일 수 있으며, 상기 통화 요청 메시지가 영상 콜(video call)에 대한 통화 요청 메시지일 경우 상기 SIP INVITE 메시지는 video call SDP offer 메시지일 수 있다. 다양한 실시예에 따라, 상기 SDP는 통화 요청된 상기 미디어 콜에 대한 지원 가능한 코덱(codec) 정보(예컨대, 음성 코덱 정보 또는 영상 코덱 정보)를 포함할 수 있다.6 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure; Referring to FIG. 6 , a media call (eg, voice call) is made from an external electronic device (eg, the electronic device 104 of FIG. 1A ) to an electronic device (eg, the electronic device 101 of FIG. 1A ). call) or a video call). According to various embodiments, the electronic device (eg, the electronic device 101 of FIG. 1A (eg, the processor 120 or the communication module 190 )) receives the first SIM (eg, FIG. 1A ) from the external electronic device in operation 610 . A call request message for the first SIM 111 of 1b) may be received from an IMS server of an IMS network (eg, the IMS network 610 of Fig. 6) The IMS network is a proxy call session control (P-CSCF) function), a serving call session control function (S-CSCF), an interrogating call sessin control function (I-CSCF), and a home subscriber server (HSS) According to various embodiments, the IMS server is a P-CSCF According to various embodiments, the call request message may be a SIP INVITE message according to a session initiation protocol (SIP) For example, when the call request message is a call request message for a voice call The SIP INVITE message may be a voice call SDP (session description protocol) offer message, and when the call request message is a call request message for a video call, the SIP INVITE message may be a video call SDP offer message. According to various embodiments, the SDP may include supportable codec information (eg, audio codec information or image codec information) for the media call requested for a call.

다양한 실시예에 따라, 전자 장치는 동작 620에서 상기 IMS 서버를 통해 수신된 통화 요청 메시지로부터 상기 미디어 콜의 코덱 정보를 확인할 수 있다. 예컨대, 전자 장치는 상기 통화 요청 메시지에 해당하는 SDP offer 메시지에 포함된 코덱 정보를 확인하여 상기 미디어 콜을 발신한 외부 전자 장치 또는 상기 외부 전자 장치의 통신 사업자가 지원하는 코덱을 확인할 수 있다.According to various embodiments, the electronic device may check the codec information of the media call from the call request message received through the IMS server in operation 620 . For example, the electronic device may check codec information included in the SDP offer message corresponding to the call request message to identify a codec supported by the external electronic device that has transmitted the media call or a communication service provider of the external electronic device.

다양한 실시예에 따라, 상기 수신된 미디어 콜에 대한 코덱을 제1 SIM에서 지원하지 않는 경우, 전자 장치는 동작 630에서 상기 전자 장치에 포함된 복수의 SIM들 중에서 상기 수신된 미디어 콜에 대한 코덱을 지원하는 SIM(예컨대, 제2 SIM)을 확인할 수 있다. According to various embodiments, when the first SIM does not support the codec for the received media call, the electronic device selects the codec for the received media call from among a plurality of SIMs included in the electronic device in operation 630. A supported SIM (eg, a second SIM) may be checked.

예컨대, 상기와 같이 수신된 미디어 콜에 대한 코덱을 제1 SIM에서 지원하지 않는 경우, 전자 장치는 상기 제1 SIM에서 지원하는 상대적으로 낮은 사양의 코덱을 선택하여 콜 연결 절차를 진행하는 대신, 다양한 실시예에 따라 상기 전자 장치에 포함된 복수의 다른 SIM(예컨대, 제2 SIM(예컨대, 도 1b의 제2 SIM(112)) 또는 도 1b의 eSIM(201))들 중 해당 코덱을 지원하는 SIM으로의 착신 전환을 요청할 수 있다. 다양한 실시예에 따라, 전자 장치는 상기 착신 전환을 위한 SIM을 다양한 방법에 의해 결정할 수 있다. 예컨대, 전자 장치는 상기 전자 장치에 포함된 복수의 SIM들 중 지원 가능한 코덱 정보에 기반하여 착신 전환을 위한 SIM을 결정할 수 있으며, 이에 대한 다양한 실시예들은 후술하기로 한다.For example, when the first SIM does not support the codec for the received media call as described above, the electronic device selects a codec of a relatively low specification supported by the first SIM and performs a call connection procedure instead of performing a call connection procedure. According to an embodiment, a SIM supporting the corresponding codec among a plurality of other SIMs (eg, a second SIM (eg, the second SIM (eg, the second SIM 112 of FIG. 1B ) or the eSIM 201 of FIG. 1B) included in the electronic device) You can request call forwarding to According to various embodiments, the electronic device may determine the SIM for the call forwarding by various methods. For example, the electronic device may determine a SIM for call forwarding based on supportable codec information among a plurality of SIMs included in the electronic device, and various embodiments thereof will be described later.

다양한 실시예에 따라, 전자 장치는 동작 640에서, 상기 착신 전환을 위해 확인된 SIM(예컨대, 제2 SIM)에 대한 정보(예컨대, 제2 SIM에 대응하는 전화 번호 또는 네트워크상의 주소 정보)를 포함하는 착신 전환 메시지를 상기 IMS 서버를 통해 미디어 콜을 발신한 상기 외부 전자 장치로 전송할 수 있다. 다양한 실시예에 따라, 상기 착신 전환 메시지는 SIP에 따라 Moved Temporarily 메시지일 수 있다. 예컨대, 상기 Moved Temporarily 메시지에는 <표 6>에서 예시한 바와 같이 연락처(contact) 헤더에 착신 전환할 SIM에 대한 정보(예컨대, 상기 제2 SIM에 대응하는 전화 번호 또는 네트워크상의 주소 정보 또는 하나 이상의 URI(uniform resource identifier) 정보)가 포함될 수 있다.According to various embodiments, in operation 640 , the electronic device includes information (eg, a phone number corresponding to the second SIM or address information on a network) on the SIM (eg, the second SIM) confirmed for the call forwarding. a call forwarding message to the external electronic device that has transmitted the media call through the IMS server. According to various embodiments, the call forwarding message may be a Moved Temporarily message according to SIP. For example, in the Moved Temporarily message, as exemplified in <Table 6>, information on a SIM to be forwarded to a contact header (eg, a phone number corresponding to the second SIM or address information on a network or one or more URIs) (uniform resource identifier) information) may be included.

다양한 실시예에 따라, 상기 전자 장치로부터 상기 착신 전환 메시지를 수신한 IMS 서버는 상기 수신된 착신 전환 메시지를 상기 미디어 콜을 전송한 외부 전자 장치(예컨대, 발신자 단말)로 전송할 수 있다. 상기 외부 전자 장치는 상기 전자 장치로부터 착신 전환 메시지를 수신하고, 상기 제1 SIM으로 발신한 미디어 콜을 제2 SIM 전환하여 발신할 수 있다. 다양한 실시예에 따라, 전자 장치는 수신된 미디어 콜에 대한 코덱을 제1 SIM에서 지원하지 않는, 해당 코덱을 지원하는 제2 SIM으로 착신 전환 처리함으로써(예컨대, 자동으로 착신 전환 처리함으로써) 상대적으로 우수한 품질의 미디어 콜 서비스를 제공할 수 있다.According to various embodiments, the IMS server that has received the call forward message from the electronic device may transmit the received call forward message to an external electronic device (eg, a caller terminal) that has transmitted the media call. The external electronic device may receive the call forward message from the electronic device, and may transmit the media call transmitted to the first SIM to a second SIM. According to various embodiments, the electronic device performs call forwarding processing (eg, automatically performing call forwarding) for a received media call to a second SIM that does not support the codec in the first SIM and supports the corresponding codec. It can provide excellent quality media call service.

이하, 도 7 내지 도 13을 참조하여 상기 도 5 및 도 6에서 설명한 전자 장치의 동작이 SIP 통신 프로토콜에 따라 구현되는 다양한 실시예들을 설명한다.Hereinafter, various embodiments in which the operation of the electronic device described with reference to FIGS. 5 and 6 is implemented according to the SIP communication protocol will be described with reference to FIGS. 7 to 13 .

도 7은 다양한 실시예에 따른 전자 장치의 착신 전환 방법을 설명하기 위한 신호 흐름도를 도시한다. 도 7을 참조하면, 외부 전자 장치(예컨대, 도 1a의 전자 장치(104))에서 전자 장치(예컨대, 도 1a의 전자 장치(101))로 음성 콜(voice call)을 발신할 수 있다. 다양한 실시예에 따라, 전자 장치(예컨대, 도 1a의 전자 장치(101)(예컨대, 프로세서(120) 또는 통신 모듈(190))는 동작 702에서 외부 전자 장치로부터 발신된 제1 SIM(예컨대, 도 1b의 제1 SIM(111))에 대한 통화 요청 메시지를 통신 네트워크(400)를 통해 IMS 네트워크(예컨대, 도 4의 IMS 네트워크(410))의 IMS 서버로부터 수신할 수 있다. 다양한 실시예에 따라, 상기 통화 요청 메시지는 SIP(session initiation protocol)에 따른 SIP INVITE 메시지일 수 있다. 예컨대, 상기 통화 요청 메시지가 음성 콜(voice call)에 대한 통화 요청 메시지일 경우 상기 SIP INVITE 메시지는 voice call SDP(session description protocol) offer 메시지일 수 있다. 다양한 실시예에 따라, 상기 SDP는 통화 요청된 상기 미디어 콜에 대한 지원 가능한 코덱(codec) 정보(예컨대, 음성 코덱 정보)를 포함할 수 있으며, 이에 대한 상세한 설명은 후술하기로 한다.7 is a signal flow diagram illustrating a call forwarding method of an electronic device according to various embodiments of the present disclosure; Referring to FIG. 7 , a voice call may be transmitted from an external electronic device (eg, the electronic device 104 of FIG. 1A ) to an electronic device (eg, the electronic device 101 of FIG. 1A ). According to various embodiments, the electronic device (eg, the electronic device 101 (eg, the processor 120 or the communication module 190 ) of FIG. 1A ) receives the first SIM (eg, FIG. 1A ) from the external electronic device in operation 702 . The call request message for the first SIM 111 of 1b may be received from an IMS server of the IMS network (eg, the IMS network 410 of FIG. 4 ) through the communication network 400. According to various embodiments of the present disclosure , the call request message may be a SIP INVITE message according to a session initiation protocol (SIP) For example, when the call request message is a call request message for a voice call, the SIP INVITE message is a voice call SDP ( session description protocol) offer message According to various embodiments, the SDP may include supportable codec information (eg, voice codec information) for the media call requested for a call, and detailed A description will be given later.

다양한 실시예에 따라, 전자 장치는 동작 704에서, 상기 수신된 통화 요청 메시지에 대한 응답 메시지를 상기 통신 네트워크(400)를 통해 IMS 네트워크(410)의 IMS 서버로 전송할 수 있다. 다양한 실시예에 따라, 상기 응답 메시지는 SIP에 따른 SIP Session Progress 메시지일 수 있다. 예컨대, 상기 통화 요청 메시지가 음성 콜(voice call)에 대한 통화 요청 메시지일 경우 상기 SIP Session Progress 메시지는 voice call SDP 응답 메시지일 수 있다. 다양한 실시예에 따라, 상기 SDP 응답 메시지에는 상기 전자 장치(또는 상기 전자 장치에 포함된 제1 SIM)에서 지원 가능한 적어도 하나의 코덱 정보를 포함할 수 있으며, 이에 대한 상세한 설명은 후술하기로 한다.According to various embodiments, in operation 704 , the electronic device may transmit a response message to the received call request message to the IMS server of the IMS network 410 through the communication network 400 . According to various embodiments, the response message may be a SIP Session Progress message according to SIP. For example, when the call request message is a call request message for a voice call, the SIP Session Progress message may be a voice call SDP response message. According to various embodiments, the SDP response message may include information on at least one codec supportable by the electronic device (or the first SIM included in the electronic device), and a detailed description thereof will be provided later.

다양한 실시예에 따라, IMS 네트워크(410)의 IMS 서버는 동작 706에서 통신 네트워크(400)로 음성 전용 베어러의 설정을 요청(request voice dedicated bearer)할 수 있다. 통신 네트워크(400)(예컨대, MME(mobility management entity))는 상기 IMS 서버의 요청에 따라 동작 708에서 전자 장치(100)로 음성 전용 베어러를 설정(voice dedicated bearer establishment)할 수 있다. 상기 도 7에 도시되지는 않았으나, 상기 통신 네트워크(400)는 상기 음성 콜을 발신한 외부 전자 장치(예컨대, 도 1a의 전자 장치(104))(예컨대, 발신측 단말)로 음성 전용 베어러를 설정(voice dedicated bearer establishment)할 수 있다.According to various embodiments, the IMS server of the IMS network 410 may request the establishment of a voice dedicated bearer to the communication network 400 in operation 706 . The communication network 400 (eg, a mobility management entity (MME)) may establish a voice dedicated bearer with the electronic device 100 in operation 708 according to the request of the IMS server. Although not shown in FIG. 7 , the communication network 400 establishes a voice-only bearer to the external electronic device (eg, the electronic device 104 of FIG. 1A ) (eg, the calling terminal) that has transmitted the voice call. (voice dedicated bearer establishment) can be.

동작 710에서 상기 설정된 음성 전용 베어러 연결이 끊어지면, 전자 장치(101)는 동작 712에서 IMS 네트워크(410)로 Busy Here 메시지를 전송함으로써 IMS 네트워크(410)와의 연결을 끊는 대신, 다양한 실시예에 따라 상기 전자 장치에 포함된 다른 SIM(예컨대, 제2 SIM(예컨대, 도 1b의 제2 SIM(112)) 또는 도 1b의 eSIM(201))으로의 착신 전환 처리를 할 수 있다.When the established voice-only bearer connection is disconnected in operation 710 , the electronic device 101 transmits a Busy Here message to the IMS network 410 in operation 712 to cut off the connection to the IMS network 410 , but according to various embodiments A call forwarding process to another SIM (eg, the second SIM (eg, the second SIM 112 of FIG. 1B ) or the eSIM 201 of FIG. 1B) included in the electronic device may be performed.

다양한 실시예에 따라, 상기 설정된 음성 전용 베어러 연결이 끊어지면, 전자 장치는 네트워크 오류가 발생한 것으로 판단하고, 동작 714에서 착신 전환을 위해 설정된 SIM을 확인할 수 있다. 예컨대, 전자 장치는 상기 전자 장치에 포함된 복수의 SIM들 중 지원 가능한 코덱 정보에 기반하여 착신 전환을 위한 SIM을 결정할 수 있으며, 이에 대한 다양한 실시예들은 후술하기로 한다.According to various embodiments, when the established voice-only bearer connection is disconnected, the electronic device may determine that a network error has occurred, and may check a SIM configured for call forwarding in operation 714 . For example, the electronic device may determine a SIM for call forwarding based on supportable codec information among a plurality of SIMs included in the electronic device, and various embodiments thereof will be described later.

다양한 실시예에 따라, 전자 장치는 동작 716에서, 상기 착신 전환을 위해 확인된 SIM(예컨대, 제2 SIM)에 대한 정보(예컨대, 제2 SIM에 대응하는 전화 번호 또는 네트워크상의 주소 정보)를 포함하는 착신 전환 메시지를 통신 네트워크(400)를 통해 상기 IMS 네트워크(410)의 IMS 서버로 전송할 수 있다. 다양한 실시예에 따라, 상기 착신 전환 메시지는 SIP에 따라 Moved Temporarily 메시지일 수 있다. 예컨대, 상기 Moved Temporarily 메시지에는 도 5에서 예시한 바와 같이 연락처(contact) 헤더에 착신 전환할 SIM에 대한 정보(예컨대, 상기 제2 SIM에 대응하는 전화 번호 또는 네트워크상의 주소 정보 또는 하나 이상의 URI(uniform resource identifier) 정보)가 포함될 수 있다. 상기 전자 장치(101)로부터 Moved Temporarily 메시지를 수신한 IMS 네트워크(410)의 IMS 서버는 상기 수신된 Moved Temporarily 메시지를 상기 음성 콜을 발신한 해당 외부 전자 장치로 전송할 수 있다. 상기 외부 전자 장치는 상기 전자 장치로부터 착신 전환 메시지를 수신하고, 상기 제1 SIM으로 발신한 음성 콜을 제2 SIM으로 전환하여 발신할 수 있다. 다양한 실시예에 따라, 전자 장치는 제1 SIM에 대해 상기 동작 710에서와 같이 설정된 음성 전용 베어러가 끊어질 경우, 제2 SIM으로 착신 전환 처리함으로써 동일한 외부 전자 장치로부터 발신된 음성 콜을 중단 없이 수신할 수 있다.According to various embodiments, in operation 716 , the electronic device includes information (eg, a phone number corresponding to the second SIM or address information on a network) on the SIM (eg, the second SIM) identified for the call forwarding. The call forwarding message may be transmitted to the IMS server of the IMS network 410 through the communication network 400 . According to various embodiments, the call forwarding message may be a Moved Temporarily message according to SIP. For example, in the Moved Temporarily message, as exemplified in FIG. 5 , information on a SIM to be forwarded (eg, a phone number corresponding to the second SIM or address information on a network or one or more URIs (uniforms) resource identifier) information) may be included. The IMS server of the IMS network 410 that has received the Moved Temporarily message from the electronic device 101 may transmit the received Moved Temporarily message to the corresponding external electronic device that has transmitted the voice call. The external electronic device may receive the call forwarding message from the electronic device, and may convert the voice call transmitted to the first SIM to the second SIM and transmit the message. According to various embodiments, when the voice-only bearer configured for the first SIM is disconnected as in operation 710, the electronic device performs call forwarding processing to the second SIM to receive a voice call originating from the same external electronic device without interruption can do.

도 8은 다양한 실시예에 따른 전자 장치의 착신 전환 방법을 설명하기 위한 신호 흐름도를 도시한다. 후술하는 도 8에서 도 7의 설명과 공통된 부분에 대한 설명은 생략하기로 한다. 도 8을 참조하면, 외부 전자 장치(예컨대, 도 1a의 전자 장치(104))에서 전자 장치(예컨대, 도 1a의 전자 장치(101))로 음성 콜(voice call)을 발신할 수 있다. 다양한 실시예에 따라, 전자 장치(예컨대, 도 1a의 전자 장치(101)(예컨대, 프로세서(120) 또는 통신 모듈(190))는 동작 802에서 외부 전자 장치로부터 발신된 제1 SIM(예컨대, 도 1b의 제1 SIM(111))에 대한 통화 요청 메시지를 통신 네트워크(400)를 통해 IMS 네트워크(예컨대, 도 4의 IMS 네트워크(410))의 IMS 서버로부터 수신할 수 있다. 다양한 실시예에 따라, 상기 통화 요청 메시지는 SIP(session initiation protocol)에 따른 SIP INVITE 메시지일 수 있다.8 is a signal flow diagram illustrating a call forwarding method of an electronic device according to various embodiments of the present disclosure. In FIG. 8 to be described later, descriptions of parts common to that of FIG. 7 will be omitted. Referring to FIG. 8 , a voice call may be transmitted from an external electronic device (eg, the electronic device 104 of FIG. 1A ) to an electronic device (eg, the electronic device 101 of FIG. 1A ). According to various embodiments, the electronic device (eg, the electronic device 101 (eg, the processor 120 or the communication module 190 ) of FIG. 1A ) receives the first SIM (eg, FIG. 1A ) from the external electronic device in operation 802 . The call request message for the first SIM 111 of 1b may be received from an IMS server of the IMS network (eg, the IMS network 410 of FIG. 4 ) through the communication network 400. According to various embodiments of the present disclosure , the call request message may be a SIP INVITE message according to a session initiation protocol (SIP).

다양한 실시예에 따라, 전자 장치는 동작 804에서, 상기 수신된 통화 요청 메시지에 대한 응답 메시지를 상기 통신 네트워크(400)를 통해 IMS 네트워크(410)의 IMS 서버로 전송할 수 있다. 다양한 실시예에 따라, 상기 응답 메시지는 SIP에 따른 SIP Session Progress 메시지일 수 있다.According to various embodiments, in operation 804 , the electronic device may transmit a response message to the received call request message to the IMS server of the IMS network 410 through the communication network 400 . According to various embodiments, the response message may be a SIP Session Progress message according to SIP.

다양한 실시예에 따라, IMS 네트워크(410)의 IMS 서버는 동작 806에서 통신 네트워크(400)로 음성 전용 베어러의 설정을 요청(request voice dedicated bearer)할 수 있다. 통신 네트워크(400)(예컨대, MME(mobility management entity))는 동작 808에서 상기 음성 전용 베어러의 설정 요청에도 불구하고 다양한 네트워크 상황에 따라 음성 전용 베어러의 설정을 실패할 수 있다. 예컨대, LTE 네트워크의 S1 해제(release) 또는 네트워크의 리소스 상태 또는 무선 채널 상태에 따라 상기 음성 전용 베어러의 설정을 실패할 수 있다.According to various embodiments, the IMS server of the IMS network 410 may request the establishment of a voice dedicated bearer to the communication network 400 in operation 806 . In operation 808 , the communication network 400 (eg, mobility management entity (MME)) may fail to establish a voice-only bearer according to various network conditions despite the voice-only bearer establishment request. For example, the setup of the voice-only bearer may fail according to S1 release of the LTE network or the resource status or radio channel status of the network.

다양한 실시예에 따라, 상기 음성 전용 베어러의 설정 실패에 따라 전자 장치(101)는 동작 810에서, 설정된 시간 내에 음성 전용 베어러 설정 메시지를 수신하지 못할 수 있다.According to various embodiments, the electronic device 101 may not receive a voice-only bearer establishment message within a set time in operation 810 according to the failure to establish the voice-only bearer.

동작 810에서 설정된 시간 내에 상기 음성 전용 베어러 설정 메시지를 미수신하는 경우, 전자 장치(101)는 동작 812에서 IMS 네트워크(410)로 Busy Here 메시지를 전송함으로써 IMS 네트워크(410)와의 연결을 끊는 대신, 다양한 실시예에 따라 상기 전자 장치에 포함된 다른 SIM(예컨대, 제2 SIM(예컨대, 도 1b의 제2 SIM(112)) 또는 도 1b의 eSIM(201))으로의 착신 전환 처리를 할 수 있다. 이하, 동작 814 및 동작 816의 착신 전환 처리 과정은 도 7의 동작 714 및 동작 716과 유사하므로 상세한 설명을 생략하기로 한다. 다양한 실시예에 따라, 전자 장치는 제1 SIM에 대해 상기 동작 810에서와 같이 설정된 시간 내에 음성 전용 베어러 설정 메시지를 미수신하는 경우, 제2 SIM으로 착신 전환 처리함으로써 동일한 외부 전자 장치로부터 발신된 음성 콜을 중단 없이 수신할 수 있다.If the voice-only bearer setup message is not received within the set time in operation 810, the electronic device 101 transmits a Busy Here message to the IMS network 410 in operation 812 to cut off the connection to the IMS network 410, According to an embodiment, a call forwarding process to another SIM (eg, a second SIM (eg, the second SIM 112 of FIG. 1B ) or the eSIM 201 of FIG. 1B ) included in the electronic device may be performed. Hereinafter, since the call forwarding processing of operations 814 and 816 is similar to operations 714 and 716 of FIG. 7 , a detailed description thereof will be omitted. According to various embodiments, when the electronic device does not receive the voice-only bearer establishment message within the set time as in operation 810 for the first SIM, the electronic device performs call forwarding processing to the second SIM and a voice call originating from the same external electronic device can be received without interruption.

상기 도 8의 실시예에서는 전자 장치(101)로 발신된 음성 콜(voice call)에 대해 음성 전용 베어러 설정을 실패하는 경우를 예시하였으나, 다양한 실시예에 따라 전자 장치(101)로 발신된 영상 콜(video call)에 대해 음성 전용 베어러 설정을 실패하는 경우에도 동일 또는 유사하게 적용될 수 있다.In the embodiment of FIG. 8 , a case in which voice-only bearer setup fails for a voice call transmitted to the electronic device 101 is exemplified. However, according to various embodiments, a video call transmitted to the electronic device 101 is illustrated. The same or similar application may be applied to a case in which voice-only bearer setup for (video call) fails.

도 9는 다양한 실시예에 따른 전자 장치의 착신 전환 방법을 설명하기 위한 신호 흐름도를 도시한다. 도 9를 참조하면, 외부 전자 장치(예컨대, 도 1a의 전자 장치(104))에서 전자 장치(예컨대, 도 1a의 전자 장치(101))로 영상 콜(video call)을 발신할 수 있다. 다양한 실시예에 따라, 전자 장치(예컨대, 도 1a의 전자 장치(101)(예컨대, 프로세서(120) 또는 통신 모듈(190))는 동작 902에서 외부 전자 장치로부터 발신된 제1 SIM(예컨대, 도 1b의 제1 SIM(111))에 대한 통화 요청 메시지를 통신 네트워크(400)를 통해 IMS 네트워크(예컨대, 도 4의 IMS 네트워크(410))의 IMS 서버로부터 수신할 수 있다. 다양한 실시예에 따라, 상기 통화 요청 메시지는 SIP(session initiation protocol)에 따른 SIP INVITE 메시지일 수 있다. 예컨대, 상기 통화 요청 메시지가 영상 콜(video call)에 대한 통화 요청 메시지일 경우 상기 SIP INVITE 메시지는 video call SDP(session description protocol) offer 메시지일 수 있다. 다양한 실시예에 따라, 상기 SDP는 통화 요청된 상기 미디어 콜에 대한 지원 가능한 코덱(codec) 정보(예컨대, 영상 코덱 정보 및 음성 코덱 정보)를 포함할 수 있으며, 이에 대한 상세한 설명은 후술하기로 한다.9 is a signal flow diagram illustrating a call forwarding method of an electronic device according to various embodiments of the present disclosure; Referring to FIG. 9 , a video call may be transmitted from an external electronic device (eg, the electronic device 104 of FIG. 1A ) to an electronic device (eg, the electronic device 101 of FIG. 1A ). According to various embodiments, the electronic device (eg, the electronic device 101 (eg, the processor 120 or the communication module 190 ) of FIG. 1A ) receives the first SIM (eg, FIG. 1A ) from the external electronic device in operation 902 . The call request message for the first SIM 111 of 1b may be received from an IMS server of the IMS network (eg, the IMS network 410 of FIG. 4 ) through the communication network 400. According to various embodiments of the present disclosure , the call request message may be a SIP INVITE message according to SIP (session initiation protocol) For example, when the call request message is a call request message for a video call, the SIP INVITE message is a video call SDP ( session description protocol) offer message According to various embodiments, the SDP may include supportable codec information (eg, video codec information and audio codec information) for the media call requested for a call, , a detailed description thereof will be provided later.

다양한 실시예에 따라, 전자 장치는 동작 904에서, 상기 수신된 통화 요청 메시지에 대한 응답 메시지를 상기 통신 네트워크(400)를 통해 IMS 네트워크(410)의 IMS 서버로 전송할 수 있다. 다양한 실시예에 따라, 상기 응답 메시지는 SIP에 따른 SIP Session Progress 메시지일 수 있다. 예컨대, 상기 통화 요청 메시지가 영상 콜(video call)에 대한 통화 요청 메시지일 경우 상기 SIP Session Progress 메시지는 video call SDP 응답 메시지일 수 있다. 다양한 실시예에 따라, 상기 SDP 응답 메시지에는 상기 전자 장치(또는 상기 전자 장치에 포함된 제1 SIM)에서 지원 가능한 적어도 하나의 코덱 정보를 포함할 수 있으며, 이에 대한 상세한 설명은 후술하기로 한다.According to various embodiments, in operation 904 , the electronic device may transmit a response message to the received call request message to the IMS server of the IMS network 410 through the communication network 400 . According to various embodiments, the response message may be a SIP Session Progress message according to SIP. For example, when the call request message is a call request message for a video call, the SIP Session Progress message may be a video call SDP response message. According to various embodiments, the SDP response message may include information on at least one codec supportable by the electronic device (or the first SIM included in the electronic device), and a detailed description thereof will be provided later.

다양한 실시예에 따라, IMS 네트워크(410)의 IMS 서버는 동작 906에서 통신 네트워크(400)로 영상 및 음성 전용 베어러의 설정을 요청(request video and voice dedicated bearer)할 수 있다. 통신 네트워크(400)(예컨대, MME(mobility management entity) 장치)는 상기 IMS 서버의 요청에 따라 동작 908에서 전자 장치(100)로 영상 및 음성 전용 베어러를 설정(video and voice dedicated bearer establishment)할 수 있다. 상기 도 9에 도시되지는 않았으나, 상기 통신 네트워크(400)는 상기 영상 콜을 발신한 외부 전자 장치(예컨대, 도 1a의 전자 장치(104))(예컨대, 발신측 단말)로 영상 및 음성 전용 베어러를 설정(video and voice dedicated bearer establishment)할 수 있다.According to various embodiments, the IMS server of the IMS network 410 may request the establishment of a video and voice dedicated bearer to the communication network 400 in operation 906 (request video and voice dedicated bearer). The communication network 400 (eg, a mobility management entity (MME) device) may establish a video and voice dedicated bearer establishment with the electronic device 100 in operation 908 according to the request of the IMS server. have. Although not shown in FIG. 9 , the communication network 400 transmits the video call to an external electronic device (eg, the electronic device 104 of FIG. 1A ) (eg, a calling-side terminal) that transmits a video and audio-only bearer. You can set up (video and voice dedicated bearer establishment).

동작 910에서 상기 설정된 영상 및 음성 전용 베어러 중 영상 전용 베어러 연결이 실패하면, 전자 장치(101)는 동작 912에서 IMS 네트워크(410)로부터 SIP Update 메시지를 수신할 수 있다. 동작 914에서 SIP 200 OK 메시지를 전송할 수 있다. 상기 SIP Update 메시지는 발신측 단말로부터 전송된 메시지일 수 있다. 예를 들어, 영상 콜인 경우, 상기 SIP Update 메시지는 상기 외부 전자 장치의 영상 전용 베이러 설정 여부에 대한 정보 또는 설정된 영상 전용 베어러 관련 정보(예: “m=video 1580 RTP/AVP 116”)를 포함할 수 있다. 전자 장치(101)는 상기 수신된 SIP Update 메시지를 확인하고, 동작 914에서 SIP 200 OK 메시지를 전송할 수 있다. 상기 SIP 200 OK 메시지는 상기 영상 전용 베어러 연결 실패에 따라 음성 콜로 다운그레이드시키기 위한 정보 또는 콜 연결 중단과 관련된 정보를 포함할 수 있다. 예를 들어, 상기 SIP 200 OK 메시지는 영상 콜이 불가함을 나타내는 정보(예: “m=video 0 RTP/AVP 116”)를 포함할 수 있다.If the video-only bearer connection among the configured video and audio-only bearers fails in operation 910 , the electronic device 101 may receive a SIP Update message from the IMS network 410 in operation 912 . In operation 914, a SIP 200 OK message may be transmitted. The SIP Update message may be a message transmitted from the originating terminal. For example, in the case of a video call, the SIP Update message includes information on whether the video-only bearer is configured by the external electronic device or information related to the configured video-only bearer (eg, “m=video 1580 RTP/AVP 116”). can do. The electronic device 101 may check the received SIP Update message and transmit a SIP 200 OK message in operation 914 . The SIP 200 OK message may include information for downgrading to a voice call or information related to call connection interruption according to the video-only bearer connection failure. For example, the SIP 200 OK message may include information indicating that a video call is impossible (eg, “m=video 0 RTP/AVP 116”).

다양한 실시예에 따라, 전자 장치는 상기 설정된 영상 및 음성 전용 베어러 중 영상 전용 베어러 연결이 끊어지면, 동작 914에서 SIP 200 OK 메시지를 전송하여 음성 콜로 다운그레이드시키거나 콜 연결 절차를 중단시키는 대신, 상기 SIP 200 OK 메시지를 전송하지 않고 상기 전자 장치에 포함된 다른 SIM(예컨대, 제2 SIM(예컨대, 도 1b의 제2 SIM(112)) 또는 도 1b의 eSIM(201))들 중 영상 콜이 가능한 SIM으로의 착신 전환을 요청할 수 있다.According to various embodiments, when the video-only bearer connection among the configured video and audio-only bearers is disconnected, the electronic device transmits a SIP 200 OK message in operation 914 to downgrade to a voice call or stop the call connection procedure, instead of A video call is possible among other SIMs (eg, a second SIM (eg, the second SIM (eg, the second SIM 112 of FIG. 1B ) or the eSIM 201 of FIG. 1B ) included in the electronic device without transmitting the SIP 200 OK message You can request call forwarding to the SIM.

다양한 실시예에 따라, 상기 설정된 영상 전용 베어러 연결이 끊어지면, 전자 장치는 네트워크 오류가 발생한 것으로 판단하고, 동작 916에서 착신 전환을 위해 설정된 SIM을 확인할 수 있다. 예컨대, 전자 장치는 상기 전자 장치에 포함된 복수의 SIM들 중 지원 가능한 코덱 정보에 기반하여 영상 콜을 지원하는 SIM들 중 착신 전환을 위한 SIM을 결정할 수 있으며, 이에 대한 다양한 실시예들은 후술하기로 한다.According to various embodiments, when the established video-only bearer connection is disconnected, the electronic device may determine that a network error has occurred, and may check a SIM configured for call forwarding in operation 916 . For example, the electronic device may determine a SIM for call forwarding among SIMs supporting a video call based on supportable codec information among a plurality of SIMs included in the electronic device, and various embodiments thereof will be described later. do.

다양한 실시예에 따라, 전자 장치는 동작 98에서, 상기 착신 전환을 위해 확인된 SIM(예컨대, 제2 SIM)에 대한 정보(예컨대, 제2 SIM에 대응하는 전화 번호 또는 네트워크상의 주소 정보)를 포함하는 착신 전환 메시지를 통신 네트워크(400)를 통해 상기 IMS 네트워크(410)의 IMS 서버로 전송할 수 있다. 다양한 실시예에 따라, 상기 착신 전환 메시지는 SIP에 따라 Moved Temporarily 메시지일 수 있다. 예컨대, 상기 Moved Temporarily 메시지에는 도 5에서 예시한 바와 같이 연락처(contact) 헤더에 착신 전환할 SIM에 대한 정보(예컨대, 상기 제2 SIM에 대응하는 전화 번호 또는 네트워크상의 주소 정보 또는 하나 이상의 URI(uniform resource identifier) 정보)가 포함될 수 있다. 상기 전자 장치(101)로부터 Moved Temporarily 메시지를 수신한 IMS 네트워크(410)의 IMS 서버는 상기 수신된 Moved Temporarily 메시지를 상기 영상 콜을 발신한 해당 외부 전자 장치로 전송할 수 있다. 상기 외부 전자 장치는 상기 전자 장치로부터 착신 전환 메시지를 수신하고, 상기 제1 SIM으로 발신한 영상 콜을 제2 SIM으로 전환하여 발신할 수 있다. 다양한 실시예에 따라, 전자 장치는 제1 SIM에 대해 상기 동작 910에서와 같이 설정된 영상 전용 베어러가 끊어질 경우, 제2 SIM으로 착신 전환 처리함으로써 동일한 외부 전자 장치로부터 발신된 영상 콜을 다운그레이드하거나 중단시키지 않고 수신할 수 있다.According to various embodiments of the present disclosure, in operation 98 , the electronic device includes information (eg, a phone number corresponding to the second SIM or address information on a network) about the SIM (eg, the second SIM) identified for call forwarding. The call forwarding message may be transmitted to the IMS server of the IMS network 410 through the communication network 400 . According to various embodiments, the call forwarding message may be a Moved Temporarily message according to SIP. For example, in the Moved Temporarily message, as exemplified in FIG. 5 , information on a SIM to be forwarded (eg, a phone number corresponding to the second SIM or address information on a network or one or more URIs (uniforms) resource identifier) information) may be included. The IMS server of the IMS network 410 that has received the Moved Temporarily message from the electronic device 101 may transmit the received Moved Temporarily message to the corresponding external electronic device that has transmitted the video call. The external electronic device may receive the call forwarding message from the electronic device, and may transmit the video call sent to the first SIM to the second SIM. According to various embodiments, when the video-only bearer set for the first SIM is disconnected as in operation 910, the electronic device downgrades a video call originating from the same external electronic device by performing call forwarding to the second SIM, or You can receive without interruption.

도 10은 다양한 실시예에 따른 전자 장치의 착신 전환 방법을 설명하기 위한 신호 흐름도를 도시한다. 후술하는 도 10에서 도 9의 설명과 공통된 부분에 대한 설명은 생략하기로 한다. 도 10을 참조하면, 외부 전자 장치(예컨대, 도 1a의 전자 장치(104))에서 전자 장치(예컨대, 도 1a의 전자 장치(101))로 영상 콜(video call)을 발신할 수 있다. 다양한 실시예에 따라, 전자 장치(예컨대, 도 1a의 전자 장치(101)(예컨대, 프로세서(120) 또는 통신 모듈(190))는 동작 1002에서 외부 전자 장치로부터 발신된 제1 SIM(예컨대, 도 1b의 제1 SIM(111))에 대한 통화 요청 메시지를 통신 네트워크(400)를 통해 IMS 네트워크(예컨대, 도 4의 IMS 네트워크(410))의 IMS 서버로부터 수신할 수 있다. 다양한 실시예에 따라, 상기 통화 요청 메시지는 SIP(session initiation protocol)에 따른 SIP INVITE 메시지일 수 있다.10 is a signal flow diagram illustrating a call forwarding method of an electronic device according to various embodiments of the present disclosure; A description of parts common to that of FIG. 9 in FIG. 10, which will be described later, will be omitted. Referring to FIG. 10 , a video call may be transmitted from an external electronic device (eg, the electronic device 104 of FIG. 1A ) to an electronic device (eg, the electronic device 101 of FIG. 1A ). According to various embodiments, the electronic device (eg, the electronic device 101 (eg, the processor 120 or the communication module 190 ) of FIG. 1A ) receives the first SIM (eg, FIG. 1A ) from the external electronic device in operation 1002 . The call request message for the first SIM 111 of 1b may be received from an IMS server of the IMS network (eg, the IMS network 410 of FIG. 4 ) through the communication network 400. According to various embodiments of the present disclosure , the call request message may be a SIP INVITE message according to a session initiation protocol (SIP).

다양한 실시예에 따라, 전자 장치는 동작 1004에서, 상기 수신된 통화 요청 메시지에 대한 응답 메시지를 상기 통신 네트워크(400)를 통해 IMS 네트워크(410)의 IMS 서버로 전송할 수 있다. 다양한 실시예에 따라, 상기 응답 메시지는 SIP에 따른 SIP Session Progress 메시지일 수 있다.According to various embodiments, in operation 1004 , the electronic device may transmit a response message to the received call request message to the IMS server of the IMS network 410 through the communication network 400 . According to various embodiments, the response message may be a SIP Session Progress message according to SIP.

다양한 실시예에 따라, IMS 네트워크(410)의 IMS 서버는 동작 1006에서 통신 네트워크(400)로 영상 및 음성 전용 베어러의 설정을 요청(request video and voice dedicated bearer)할 수 있다.According to various embodiments, the IMS server of the IMS network 410 may request the establishment of a video and voice dedicated bearer to the communication network 400 in operation 1006 (request video and voice dedicated bearer).

통신 네트워크(400)(예컨대, MME(mobility management entity) 장치)는 상기 IMS 서버의 요청에 따라 동작 1008에서 전자 장치(100)로 음성 전용 베어러를 설정(voice dedicated bearer establishment)할 수 있다. 다양한 실시예에 따라, 통신 네트워크(400)(예컨대, MME(Mobility Management Entity))는 상기 음성 전용 베어러는 정상적으로 설정하였으나, 다양한 네트워크 상황에 따라 동작 1010에서 영상 전용 베어러의 설정을 실패할 수 있다. 예컨대, LTE 네트워크의 S1 해제(release) 또는 네트워크의 리소스 상태 또는 무선 채널 상태에 따라 상기 영상 전용 베어러의 설정을 실패할 수 있다. 상기 영상 전용 베어러의 설정을 실패하면, 전자 장치(101)는 동작 1012에서, 설정된 시간 내에 영상 전용 베어러 설정 메시지를 수신하지 못할 수 있다. 전자 장치(101)는 동작 912에서 IMS 네트워크(410)로부터 SIP Update 메시지를 수신할 수 있다.The communication network 400 (eg, a mobility management entity (MME) device) may establish a voice dedicated bearer with the electronic device 100 in operation 1008 according to the request of the IMS server. According to various embodiments, the communication network 400 (eg, Mobility Management Entity (MME)) normally sets the voice-only bearer, but may fail to set the video-only bearer in operation 1010 according to various network conditions. For example, the setup of the video-only bearer may fail according to S1 release of the LTE network or the resource status or radio channel status of the network. If the setup of the video dedicated bearer fails, the electronic device 101 may not receive the video dedicated bearer setup message within the set time in operation 1012 . The electronic device 101 may receive a SIP Update message from the IMS network 410 in operation 912 .

다양한 실시예에 따라, 동작 1012에서 설정된 시간 내에 상기 영상 전용 베어러 설정 메시지를 미수신하는 경우, 동작 1016에서 SIP 200 OK 메시지를 전송하여 음성 콜로 다운그레이드시키거나 콜 연결 절차를 중단시키는 대신, 상기 SIP 200 OK 메시지를 전송하지 않고 상기 전자 장치에 포함된 다른 SIM(예컨대, 제2 SIM(예컨대, 도 1b의 제2 SIM(112)) 또는 도 1b의 eSIM(201))들 중 영상 콜이 가능한 SIM으로의 착신 전환 처리를 할 수 있다.According to various embodiments, when the video-only bearer establishment message is not received within the time set in operation 1012, in operation 1016, the SIP 200 OK message is transmitted to downgrade to a voice call or stop the call connection procedure, but the SIP 200 A video call-capable SIM among other SIMs (eg, a second SIM (eg, the second SIM (eg, the second SIM 112 in FIG. 1B ) or the eSIM 201 in FIG. 1B ) included in the electronic device without transmitting an OK message of call forwarding processing can be performed.

이하, 동작 1018 및 동작 1020의 착신 전환 처리 과정은 도 9의 동작 916 및 동작 918과 유사하므로 상세한 설명을 생략하기로 한다. 다양한 실시예에 따라, 전자 장치는 제1 SIM에 대해 상기 동작 1010에서와 같이 설정된 영상 전용 베어러가 끊어질 경우, 제2 SIM으로 착신 전환 처리함으로써 동일한 외부 전자 장치로부터 발신된 영상 콜을 음성 콜로 다운그레이드하거나 중단시키지 않고 수신할 수 있다.Hereinafter, since the call forwarding processing of operations 1018 and 1020 is similar to operations 916 and 918 of FIG. 9 , a detailed description thereof will be omitted. According to various embodiments, when the video-only bearer set for the first SIM is disconnected as in operation 1010, the electronic device performs call forwarding processing to the second SIM to downgrade a video call originating from the same external electronic device to a voice call. It can be received without being graded or interrupted.

도 11은 다양한 실시예에 따른 전자 장치의 착신 전환 방법을 설명하기 위한 신호 흐름도를 도시한다. 도 11을 참조하면, 외부 전자 장치(예컨대, 도 1a의 전자 장치(104))에서 전자 장치(예컨대, 도 1a의 전자 장치(101))로 음성 콜(voice call)을 발신할 수 있다. 다양한 실시예에 따라, 전자 장치(예컨대, 도 1a의 전자 장치(101)(예컨대, 프로세서(120) 또는 통신 모듈(190))는 동작 1102에서 외부 전자 장치로부터 발신된 제1 SIM(예컨대, 도 1b의 제1 SIM(111))에 대한 통화 요청 메시지를 통신 네트워크(400)를 통해 IMS 네트워크(예컨대, 도 4의 IMS 네트워크(410))의 IMS 서버로부터 수신할 수 있다. 다양한 실시예에 따라, 상기 통화 요청 메시지는 SIP(session initiation protocol)에 따른 SIP INVITE 메시지일 수 있다. 예컨대, 상기 통화 요청 메시지가 음성 콜(voice call)에 대한 통화 요청 메시지일 경우 상기 SIP INVITE 메시지는 voice call SDP(session description protocol) offer 메시지일 수 있다. 다양한 실시예에 따라, 상기 SDP는 통화 요청된 상기 미디어 콜에 대한 지원 가능한 코덱(codec) 정보(예컨대, 음성 코덱 정보)를 포함할 수 있으며, 이에 대한 상세한 설명은 후술하기로 한다.11 is a signal flow diagram illustrating a call forwarding method of an electronic device according to various embodiments of the present disclosure; Referring to FIG. 11 , a voice call may be transmitted from an external electronic device (eg, the electronic device 104 of FIG. 1A ) to an electronic device (eg, the electronic device 101 of FIG. 1A ). According to various embodiments, the electronic device (eg, the electronic device 101 (eg, the processor 120 or the communication module 190 ) of FIG. 1A ) receives the first SIM (eg, FIG. 1A ) from the external electronic device in operation 1102 . The call request message for the first SIM 111 of 1b may be received from an IMS server of the IMS network (eg, the IMS network 410 of FIG. 4 ) through the communication network 400. According to various embodiments of the present disclosure , the call request message may be a SIP INVITE message according to a session initiation protocol (SIP) For example, when the call request message is a call request message for a voice call, the SIP INVITE message is a voice call SDP ( session description protocol) offer message According to various embodiments, the SDP may include supportable codec information (eg, voice codec information) for the media call requested for a call, and detailed A description will be given later.

다양한 실시예에 따라, 전자 장치는 동작 1104에서, 상기 수신된 통화 요청 메시지에 대한 응답 메시지를 상기 통신 네트워크(600)를 통해 IMS 네트워크(610)의 IMS 서버로 전송할 수 있다. 다양한 실시예에 따라, 상기 응답 메시지는 SIP에 따른 SIP Session Progress 메시지일 수 있다. 예컨대, 상기 통화 요청 메시지가 음성 콜(voice call)에 대한 통화 요청 메시지일 경우 상기 SIP Session Progress 메시지는 voice call SDP 응답 메시지일 수 있다. 다양한 실시예에 따라, 상기 SDP 응답 메시지에는 상기 전자 장치(또는 상기 전자 장치에 포함된 제1 SIM)에서 지원 가능한 적어도 하나의 코덱 정보를 포함할 수 있으며, 이에 대한 상세한 설명은 후술하기로 한다.According to various embodiments, in operation 1104 , the electronic device may transmit a response message to the received call request message to the IMS server of the IMS network 610 through the communication network 600 . According to various embodiments, the response message may be a SIP Session Progress message according to SIP. For example, when the call request message is a call request message for a voice call, the SIP Session Progress message may be a voice call SDP response message. According to various embodiments, the SDP response message may include information on at least one codec supportable by the electronic device (or the first SIM included in the electronic device), and a detailed description thereof will be provided later.

다양한 실시예에 따라, IMS 네트워크(410)의 IMS 서버는 동작 1106에서 전자 장치(101)로 PRACK 메시지를 전송할 수 있다. 전자 장치(101)는 상기 IMS 네트워크(610)의 IMS 서버로부터 상기 PRACK 메시지를 수신하고, 동작 1108에서 상기 IMS 서버로 200 OK 메시지를 전송할 수 있다.According to various embodiments, the IMS server of the IMS network 410 may transmit a PRACK message to the electronic device 101 in operation 1106 . The electronic device 101 may receive the PRACK message from the IMS server of the IMS network 610 and transmit a 200 OK message to the IMS server in operation 1108 .

다양한 실시예에 따라, 상기 IMS 네트워크(410)의 IMS 서버는 다양한 원인에 따라 오류가 발생할 수 있다. 예컨대, 상기 IMS 서버에 과도한 부하가 있을 경우, 상기 IMS 서버는 오류 발생을 전자 장치(101)에 통지할 수 있다. 예컨대, IMS 네트워크(410)의 IMS 서버는 동작 1110에서 전자 장치(101)로 SIP CANCEL 메시지를 전송할 수 있다. 상기 SIP CANCEL 메시지는 reason 필드를 포함할 수 있으며, 상기 IMS 서버는 상기 reason 필드에 해당하는 에러 코드를 추가하여 상기 전자 장치(101)에 전송할 수 있다.According to various embodiments, an error may occur in the IMS server of the IMS network 410 according to various causes. For example, when there is an excessive load on the IMS server, the IMS server may notify the electronic device 101 of the occurrence of an error. For example, the IMS server of the IMS network 410 may transmit a SIP CANCEL message to the electronic device 101 in operation 1110 . The SIP CANCEL message may include a reason field, and the IMS server may transmit an error code corresponding to the reason field to the electronic device 101 .

다양한 실시예에 따라, 전자 장치(101)는 상기 IMS 서버로부터 SIP CANCEL 메시지를 수신하고 reason 필드를 확인함으로써 IMS 서버에 오류가 발생함을 확인할 수 있다. 이와 같이, 상기 IMS 서버의 오류가 확인되면, 전자 장치(101)는 동작 1112에서 상기 SIP CANCEL 메시지를 전송하고, 동작 1114에서 연결 종료 메시지(request terminated)를 전송하여 연결을 끊는 대신, 다양한 실시예에 따라 상기 전자 장치에 포함된 다른 SIM(예컨대, 제2 SIM(예컨대, 도 1b의 제2 SIM(112)) 또는 도 1b의 eSIM(201))으로의 착신 전환을 요청할 수 있다.According to various embodiments, the electronic device 101 may confirm that an error has occurred in the IMS server by receiving the SIP CANCEL message from the IMS server and checking the reason field. As described above, when an error of the IMS server is confirmed, the electronic device 101 transmits the SIP CANCEL message in operation 1112 and transmits a request terminated message in operation 1114 to disconnect the connection, according to various embodiments of the present disclosure. Accordingly, a call forwarding may be requested to another SIM included in the electronic device (eg, a second SIM (eg, the second SIM 112 of FIG. 1B ) or the eSIM 201 of FIG. 1B ).

다양한 실시예에 따라, 상기 IMS 서버에 오류가 발생한 것으로 확인되면, 전자 장치는 동작 1116에서 착신 전환을 위해 설정된 SIM을 확인할 수 있다. 예컨대, 전자 장치는 상기 전자 장치에 포함된 복수의 SIM들 중 지원 가능한 코덱 정보에 기반하여 착신 전환을 위한 SIM을 결정할 수 있으며, 이에 대한 다양한 실시예들은 후술하기로 한다.According to various embodiments, when it is determined that an error has occurred in the IMS server, the electronic device may identify a SIM configured for call forwarding in operation 1116 . For example, the electronic device may determine a SIM for call forwarding based on supportable codec information among a plurality of SIMs included in the electronic device, and various embodiments thereof will be described later.

다양한 실시예에 따라, 전자 장치는 동작 1118에서, 상기 착신 전환을 위해 확인된 SIM(예컨대, 제2 SIM)에 대한 정보(예컨대, 제2 SIM에 대응하는 전화 번호 또는 네트워크상의 주소 정보)를 포함하는 착신 전환 메시지를 통신 네트워크(400)를 통해 상기 IMS 네트워크(410)의 IMS 서버로 전송할 수 있다. 다양한 실시예에 따라, 상기 착신 전환 메시지는 SIP에 따라 Moved Temporarily 메시지일 수 있다. 예컨대, 상기 Moved Temporarily 메시지에는 도 5에서 예시한 바와 같이 연락처(contact) 헤더에 착신 전환할 SIM에 대한 정보(예컨대, 상기 제2 SIM에 대응하는 전화 번호 또는 네트워크상의 주소 정보 또는 하나 이상의 URI(uniform resource identifier) 정보)가 포함될 수 있다. 상기 전자 장치(101)로부터 Moved Temporarily 메시지를 수신한 IMS 네트워크(410)의 IMS 서버는 상기 수신된 Moved Temporarily 메시지를 상기 음성 콜을 발신한 해당 외부 전자 장치로 전송할 수 있다. 상기 외부 전자 장치는 상기 전자 장치로부터 착신 전환 메시지를 수신하고, 상기 제1 SIM으로 발신한 음성 콜을 제2 SIM으로 전환하여 발신할 수 있다.According to various embodiments, in operation 1118 , the electronic device includes information (eg, a phone number corresponding to the second SIM or address information on a network) on the SIM (eg, the second SIM) identified for the call forwarding. The call forwarding message may be transmitted to the IMS server of the IMS network 410 through the communication network 400 . According to various embodiments, the call forwarding message may be a Moved Temporarily message according to SIP. For example, in the Moved Temporarily message, as exemplified in FIG. 5 , information on a SIM to be forwarded (eg, a phone number corresponding to the second SIM or address information on a network or one or more URIs (uniforms) resource identifier) information) may be included. The IMS server of the IMS network 410 that has received the Moved Temporarily message from the electronic device 101 may transmit the received Moved Temporarily message to the corresponding external electronic device that has transmitted the voice call. The external electronic device may receive the call forwarding message from the electronic device, and may convert the voice call transmitted to the first SIM to the second SIM and transmit the message.

다양한 실시예에 따라, 전자 장치는 제1 SIM에 대해 상기 동작 1110에서 수신된 CANCEL 메시지를 통해 네트워크 오류 발생을 확인하는 경우, 제2 SIM으로 착신 전환 처리함으로써 동일한 외부 전자 장치로부터 발신된 음성 콜을 중단 없이 수신할 수 있다.According to various embodiments, when the electronic device determines that a network error has occurred through the CANCEL message received in operation 1110 for the first SIM, the electronic device performs call forwarding processing to the second SIM to receive a voice call originating from the same external electronic device. You can receive without interruption.

도 12는 다양한 실시예에 따른 전자 장치의 착신 전환 방법을 설명하기 위한 신호 흐름도를 도시한다. 이하, 도 12를 설명할 때, 도 14 및 도 15를 함께 참조하여 설명하기로 한다. 도 14 및 도 15는 다양한 실시예에 따른 발신측 전자 장치에 표시되는 착신 전환 관련 화면을 도시한다.12 is a signal flow diagram illustrating a call forwarding method of an electronic device according to various embodiments of the present disclosure; Hereinafter, when explaining FIG. 12, it will be described with reference to FIGS. 14 and 15 together. 14 and 15 illustrate call forward related screens displayed on a calling party electronic device according to various embodiments of the present disclosure.

다양한 실시예에 따라, 전자 장치(101)는 제1 SIM(111) 및 제2 SIM(112)을 포함할 수 있다. 상기 도 12에는 설명의 편의상 전자 장치(101)가 2개의 SIM을 포함하는 것으로 도시되어 있으나, 다양한 실시예에 따라 도 1b 또는 도 3에 예시된 바와 같이 3 개 이상의 SIM(예컨대, 제1 SIM(331), 제2 SIM(341), eSIM(350))을 포함할 수 있다. 도 12를 참조하면, 외부 전자 장치(1200)(예컨대, 도 1a의 전자 장치(104))에서 전자 장치(예컨대, 도 1a의 전자 장치(101))의 제1 SIM에 대응하는 전화 번호로 미디어 콜(media)(예컨대, 영상 콜 또는 음성 콜)을 발신할 수 있다. 다양한 실시예에 따라, 상기 외부 전자 장치(1200)는 동작 1202에서 상기 미디어 콜 발신에 따라 통신 네트워크(400)를 통해 프리컨디션(precondition)을 지원하는 SIP INVITE 메시지(예컨대, Invite with precondition 메시지)를 IMS 네트워크(410)로 전송할 수 있다. 상기 IMS 네트워크(410)는 동작 1204에서 상기 외부 전자 장치(1200)로부터 상기 SIP INVITE 메시지를 수신하고, 수신된 SIP INVITE 메시지를 전자 장치(101)로 전송할 수 있다. According to various embodiments, the electronic device 101 may include a first SIM 111 and a second SIM 112 . Although the electronic device 101 is illustrated as including two SIMs in FIG. 12 for convenience of explanation, according to various embodiments, as illustrated in FIG. 1B or FIG. 3 , three or more SIMs (eg, a first SIM ( 331 ), a second SIM 341 , and an eSIM 350 ). Referring to FIG. 12 , in the external electronic device 1200 (eg, the electronic device 104 of FIG. 1A ), the media is displayed as a phone number corresponding to the first SIM of the electronic device (eg, the electronic device 101 of FIG. 1A ). A call (media) (eg, a video call or a voice call) may be placed. According to various embodiments, the external electronic device 1200 transmits a SIP INVITE message (eg, Invite with precondition message) supporting preconditioning through the communication network 400 according to the media call origination in operation 1202 . may be transmitted to the IMS network 410 . The IMS network 410 may receive the SIP INVITE message from the external electronic device 1200 in operation 1204 and transmit the received SIP INVITE message to the electronic device 101 .

다양한 실시예에 따라, 전자 장치(예컨대, 도 1a의 전자 장치(101)(예컨대, 프로세서(120) 또는 통신 모듈(190))는 동작 1204에서 IMS 네트워크(예컨대, 도 4의 IMS 네트워크(410))의 IMS 서버로부터 상기 SIP INVITE 메시지를 수신할 수 있다. 예컨대, 상기 통화 요청 메시지가 영상 콜(video call)에 대한 통화 요청 메시지일 경우 상기 SIP INVITE 메시지는 video call SDP(session description protocol) offer 메시지일 수 있으며, 상기 통화 요청 메시지가 음성 콜(voice call)에 대한 통화 요청 메시지일 경우 상기 SIP INVITE 메시지는 voice call SDP(session description protocol) offer 메시지일 수 있다. 다양한 실시예에 따라, 상기 SDP는 통화 요청된 상기 미디어 콜에 대한 지원 가능한 코덱(codec) 정보(예컨대, 영상 코덱 정보 및 음성 코덱 정보)를 포함할 수 있다.According to various embodiments, the electronic device (eg, the electronic device 101 (eg, the processor 120 or the communication module 190 ) of FIG. 1A ) performs an IMS network (eg, the IMS network 410 of FIG. 4 ) in operation 1204 , according to various embodiments. ) can receive the SIP INVITE message from the IMS server. For example, when the call request message is a call request message for a video call, the SIP INVITE message is a video call SDP (session description protocol) offer message. may be, and when the call request message is a call request message for a voice call, the SIP INVITE message may be a voice call SDP (session description protocol) offer message According to various embodiments, the SDP is Supportable codec information (eg, video codec information and audio codec information) for the media call requested for a call may be included.

다양한 실시예에 따라, 전자 장치는 동작 1206에서, 상기 수신된 통화 요청 메시지에 대한 응답 메시지를 IMS 네트워크(410)의 IMS 서버로 전송할 수 있다. 다양한 실시예에 따라, 상기 응답 메시지는 프리컨디션을 지원하는 SIP Session Progress 메시지(Session Progress with precondition 메시지)일 수 있다. 상기 IMS 네트워크(410)는 동작 1208에서 상기 수신된 응답 메시지(Session Progress with precondition 메시지)를 외부 전자 장치(1200)로 전송할 수 있다.According to various embodiments, in operation 1206 , the electronic device may transmit a response message to the received call request message to the IMS server of the IMS network 410 . According to various embodiments, the response message may be a SIP Session Progress message supporting precondition (Session Progress with precondition message). The IMS network 410 may transmit the received response message (Session Progress with precondition message) to the external electronic device 1200 in operation 1208 .

다양한 실시예에 따라, IMS 네트워크(410)의 IMS 서버는 통신 네트워크(400)로 미디어 전용 베어러 설정을 요청할 수 있으며, 이에 따라, 상기 통신 네트워크(400))(예컨대, MME(mobility management entity) 장치)는 동작 1210에서 상기 IMS 서버의 요청에 따라 전자 장치(100)로 미디어 전용 베어러를 설정(media dedicated bearer establishment)할 수 있다. 상기 도 12에 도시되지는 않았으나, 상기 통신 네트워크(400)는 상기 영상 콜을 발신한 외부 전자 장치(예컨대, 도 1a의 전자 장치(104))(예컨대, 발신측 단말)로 미디어 전용 베어러를 설정(media dedicated bearer establishment)할 수 있다.According to various embodiments, the IMS server of the IMS network 410 may request the communication network 400 to establish a media-only bearer, and accordingly, the communication network 400) (eg, a mobility management entity (MME) device). ) may establish a media dedicated bearer with the electronic device 100 according to the request of the IMS server in operation 1210 . Although not shown in FIG. 12 , the communication network 400 establishes a media-only bearer to the external electronic device (eg, the electronic device 104 of FIG. 1A ) (eg, the calling terminal) that originated the video call. (media dedicated bearer establishment).

동작 1212에서 상기 설정된 미디어 전용 베어러(예컨대, 영상 전용 베어러 또는 음성 전용 베어러) 연결이 끊어지면, 전자 장치(101)는 네트워크 오류가 발생한 것으로 판단하고, 동작 1214에서 착신 전환을 위해 설정된 SIM을 확인할 수 있다. 예컨대, 전자 장치는 상기 전자 장치에 포함된 복수의 SIM들 중 지원 가능한 코덱 정보에 기반하여 영상 콜을 지원하는 SIM들 중 착신 전환을 위한 SIM을 제2 SIM(112)으로 결정할 수 있다.If the established media-only bearer (eg, video-only bearer or voice-only bearer) is disconnected in operation 1212, the electronic device 101 determines that a network error has occurred, and in operation 1214, confirms the SIM configured for call forwarding. have. For example, the electronic device may determine, as the second SIM 112 , a SIM for call forwarding among SIMs supporting a video call based on supportable codec information among a plurality of SIMs included in the electronic device.

이하, 전자 장치(101)가 상기 동작 1214에서 착신 전환을 위한 최적의 SIM을 확인하는 일 예를 상세히 설명하기로 한다. 전자 장치(101)는 하기 <표 7>과 같이 4개의 SIM을 포함할 수 있으며, 각 SIM의 등록된 IMS 서비스 및 지원 가능한 코덱 정보가 메모리에 저장될 수 있다.Hereinafter, an example in which the electronic device 101 identifies an optimal SIM for call forwarding in operation 1214 will be described in detail. The electronic device 101 may include four SIMs as shown in Table 7 below, and information on a registered IMS service and supportable codecs of each SIM may be stored in a memory.

Figure pat00004
Figure pat00004

예컨대, 상기 <표 7>에서 제1 SIM(330) 및 제2 SIM(360)은 물리 SIM일 수 있으며, 제3 SIM 및 제4 SIM은 eSIM(350) 내에 포함된 각 프로파일에 대응할 수 있다. 도 3에 예시된 바와 같이 상기 제2 SIM(360)은 상기 eSIM(350)과 스위치(360)에 의해 선택적으로 커뮤니케이션 프로세서(310)에 연결될 수 있다. 예컨대, 상기 커뮤니케이션 프로세서(310)가 스위치(360)를 통해 제2 슬롯(340)에 장착된 제2 SIM(341)에 연결될 경우, 상기 제1 SIM(331)과 제2 SIM(341)은 DSDS 또는 DSDA로 동작할 수 있다. 반면, 상기 커뮤니케이션 프로세서(310)가 스위치(360)를 통해 eSIM(350)에 연결될 경우, 상기 제1 SIM(331)과 eSIM(350) 내에서 선택된 특정 프로파일(예컨대, 제1 프로파일 또는 제2 프로파일 중 어느 하나의 프로파일)은 DSDS 또는 DSDA로 동작할 수 있다. 다양한 실시예에 따라, 상기 제1 프로파일은 <표 7>의 제3 SIM에 대응하고, 상기 제2 프로파일은 <표 7>의 제4 SIM에 대응하는 것으로 가정할 수 있다.For example, in Table 7, the first SIM 330 and the second SIM 360 may be physical SIMs, and the third SIM and the fourth SIM may correspond to respective profiles included in the eSIM 350 . As illustrated in FIG. 3 , the second SIM 360 may be selectively connected to the communication processor 310 by the eSIM 350 and the switch 360 . For example, when the communication processor 310 is connected to the second SIM 341 mounted in the second slot 340 through the switch 360 , the first SIM 331 and the second SIM 341 are DSDS Alternatively, it may operate as a DSDA. On the other hand, when the communication processor 310 is connected to the eSIM 350 through the switch 360 , a specific profile selected from the first SIM 331 and the eSIM 350 (eg, the first profile or the second profile) any one profile) may operate as DSDS or DSDA. According to various embodiments, it may be assumed that the first profile corresponds to the third SIM of <Table 7>, and the second profile corresponds to the fourth SIM of <Table 7>.

다양한 실시예에 따라, 상기 제1 SIM의 전화 번호는 'A'이고, 사업자는 '갑'이고, 등록된 IMS 서비스는 음성 및 영상 서비스이고, 지원 가능한 음성 코덱은 AMR-WB, AMR-NB 이고, 지원 가능한 영상 코덱은 H.264, H.263이라고 가정할 수 있다. 또한, 상기 제2 SIM의 전화 번호는 'B'이고, 사업자는 '을'이고, 등록된 IMS 서비스는 음성 서비스이고, 지원 가능한 음성 코덱은 EVS, AMR-WB, AMR-NB라고 가정할 수 있다. 또한, 상기 제3 SIM의 전화 번호는 'C'이고, 사업자는 '병'이고, 등록된 IMS 서비스는 음성 및 영상 서비스이고, 지원 가능한 음성 코덱은 AMR-WB, AMR-NB 이고, 지원 가능한 영상 코덱은 H.264, H.263이라고 가정할 수 있다. 또한, 상기 제4 SIM의 전화 번호는 'D'이고, 사업자는 '정'이고, 등록된 IMS 서비스는 음성 및 영상 서비스이고, 지원 가능한 음성 코덱은 EVS, AMR-WB, AMR-NB 이고, 지원 가능한 영상 코덱은 H.264, H.263이라고 가정할 수 있다.According to various embodiments, the phone number of the first SIM is 'A', the operator is 'A', the registered IMS service is a voice and video service, and the supported voice codecs are AMR-WB and AMR-NB. , it can be assumed that the supported video codecs are H.264 and H.263. In addition, it may be assumed that the phone number of the second SIM is 'B', the operator is 'B', the registered IMS service is a voice service, and the supported voice codecs are EVS, AMR-WB, and AMR-NB. . In addition, the phone number of the third SIM is 'C', the operator is 'Byong', the registered IMS service is a voice and video service, the supported voice codecs are AMR-WB and AMR-NB, and the supported video It can be assumed that the codec is H.264 or H.263. In addition, the phone number of the fourth SIM is 'D', the operator is 'Jeong', the registered IMS service is a voice and video service, and the supported voice codecs are EVS, AMR-WB, AMR-NB, and support It can be assumed that possible video codecs are H.264 and H.263.

다양한 실시예에 따라, 외부 전자 장치(1200)는 전자 장치(101)의 제1 SIM에 대응하는 전화 번호(예컨대, 'A')로 영상 콜을 발신할 수 있다. 상기 전자 장치(101)는 외부 전자 장치(1200)로부터 제1 SIM에 대응하는 전화 번호로 영상 콜을 수신할 수 있다. 상기 외부 전자 장치(1200)에서 전송한 SIP INVITE 메시지 내의 SDP를 통해 외부 전자 장치(1200)에서 지원 가능한 코덱 정보를 확인한 결과, 상기 외부 전자 장치(1200)에서 지원 가능한 음성 코덱은 EVS, AMR-WB, AMR-NB 이고, 지원 가능한 영상 코덱은 H.264, H.263이라고 가정할 수 있다.According to various embodiments, the external electronic device 1200 may transmit a video call to a phone number (eg, 'A') corresponding to the first SIM of the electronic device 101 . The electronic device 101 may receive a video call from the external electronic device 1200 to a phone number corresponding to the first SIM. As a result of checking information on codecs supportable by the external electronic device 1200 through SDP in the SIP INVITE message transmitted from the external electronic device 1200, the voice codecs supportable by the external electronic device 1200 are EVS and AMR-WB. , AMR-NB, and supportable video codecs may be assumed to be H.264 and H.263.

다양한 실시예에 따라, 전자 장치(101)가 상기 외부 전자 장치(1200)로부터 영상 콜을 수신하는 중 동작 1212와 같이 미디어 전용 베어러 연결이 끊어질 수 있다. 전자 장치(101)는 설치된 다른 SIM들(예컨대, 상기 <표 7>에서 제1 SIM을 제외한 제2 SIM, 제3 SIM, 제4 SIM) 중 착신 전환을 위한 SIM을 결정할 수 있다. 다양한 실시예에 따라, 상기 전자 장치(101)는 제1 SIM과 다른 통신 사업자에 대응하는 제2 SIM을 착신 전환을 위한 SIM으로 결정할 수 있다. 다른 실시예에 따라, 상기 전자 장치(101)는 상기 수신된 콜이 영상 콜이며, 상기 제2 SIM이 영상 서비스를 지원하지 않으므로, 영상 서비스를 지원하는 제3 SIM 또는 제4 SIM을 착신 전환을 위한 SIM으로 결정할 수 있다. 다양한 실시예에 따라, 상기 전자 장치(101)는 상기 제3 SIM 또는 제4 SIM 중 상기 외부 전자 장치(1200)에서 지원 가능한 음성 코덱인 EVS를 지원하는 제4 SIM을 착신 전환을 위한 SIM을 결정할 수 있다.According to various embodiments, while the electronic device 101 receives a video call from the external electronic device 1200 , the media-only bearer connection may be disconnected in operation 1212 . The electronic device 101 may determine a SIM for call forwarding among other installed SIMs (eg, a second SIM, a third SIM, and a fourth SIM other than the first SIM in Table 7). According to various embodiments, the electronic device 101 may determine a second SIM corresponding to a communication operator different from the first SIM as a SIM for call forwarding. According to another embodiment, since the received call is a video call and the second SIM does not support a video service, the electronic device 101 performs call forwarding to a third SIM or a fourth SIM supporting a video service. It can be decided with a SIM for According to various embodiments, the electronic device 101 determines a SIM for call forwarding from among the third SIM or the fourth SIM supporting EVS, which is a voice codec supportable by the external electronic device 1200 . can

다양한 실시예에 따라, 도 12에 도시된 바와 같이 설정된 미디어 전용 베어러 연결이 끊어짐에 따라 제1 SIM을 통한 통화 연결이 실패하는 상황에서 다른 SIM(예컨대, 제4 SIM)으로 착신 전환 처리를 함으로써 정상적으로 영상 콜을 연결할 수 있다.According to various embodiments, as shown in FIG. 12 , in a situation in which a call connection through the first SIM fails as the established media-only bearer connection is disconnected, call forwarding processing is performed to another SIM (eg, the fourth SIM) to be normally You can connect video calls.

다양한 실시예에 따라, 상기 착신 전환을 위해 결정된 SIM이 현재 통신 네트워크와 연결되지 않은 inactivated SIM인 경우(예컨대, DSDA에 따른 active 상태의 activated SIM이 아니거나, DSDS에 따른 stand-by 상태의 activated SIM이 아닌 경우), 상기 착신 전환을 위해 결정된 SIM을 activated SIM으로 전환하기 위한 SIM 스위칭 동작을 더 수행할 수 있다. 예컨대, 도 3의 설명에서 상술한 바와 같이 스위치(360)를 제어함으로써 커뮤니케이션 프로세서(310)에 제2 SIM(341) 또는 eSIM(350)이 연결되도록 SIM 스위칭 동작을 수행할 수 있다.According to various embodiments, when the SIM determined for call forwarding is an inactivated SIM that is not currently connected to a communication network (eg, it is not an activated SIM according to DSDA, or activated SIM in a stand-by state according to DSDS) otherwise), a SIM switching operation for converting the SIM determined for call forwarding to an activated SIM may be further performed. For example, as described above in the description of FIG. 3 , a SIM switching operation may be performed so that the second SIM 341 or the eSIM 350 is connected to the communication processor 310 by controlling the switch 360 .

다양한 실시예에 따라, 전자 장치는 동작 1216에서, 상기 착신 전환을 위해 확인된 SIM(예컨대, 제2 SIM)에 대한 정보(예컨대, 제2 SIM에 대응하는 전화 번호 또는 네트워크상의 주소 정보)를 포함하는 착신 전환 메시지를 IMS 네트워크(410)의 IMS 서버로 전송할 수 있다. 다양한 실시예에 따라, 상기 착신 전환 메시지는 SIP에 따라 Moved Temporarily 메시지일 수 있다. 예컨대, 상기 Moved Temporarily 메시지에는 도 5에서 예시한 바와 같이 연락처(contact) 헤더에 착신 전환할 SIM에 대한 정보(예컨대, 상기 제2 SIM에 대응하는 전화 번호 또는 네트워크상의 주소 정보 또는 하나 이상의 URI(uniform resource identifier) 정보)가 포함될 수 있다. 상기 전자 장치(101)로부터 Moved Temporarily 메시지를 수신한 IMS 네트워크(410)의 IMS 서버는 동작 1218에서 상기 수신된 Moved Temporarily 메시지를 상기 영상 콜을 발신한 해당 외부 전자 장치(1200)로 전송할 수 있다.According to various embodiments, in operation 1216 , the electronic device includes information (eg, a phone number corresponding to the second SIM or address information on a network) about the SIM (eg, the second SIM) identified for call forwarding. may transmit a call forwarding message to the IMS server of the IMS network 410 . According to various embodiments, the call forwarding message may be a Moved Temporarily message according to SIP. For example, in the Moved Temporarily message, as illustrated in FIG. 5 , information on a SIM to be forwarded (eg, a phone number corresponding to the second SIM or address information on a network or one or more URIs (uniforms) resource identifier) information) may be included. The IMS server of the IMS network 410 that has received the Moved Temporarily message from the electronic device 101 may transmit the received Moved Temporarily message to the corresponding external electronic device 1200 that has transmitted the video call in operation 1218 .

다양한 실시예에 따라, 상기 외부 전자 장치(1200)는 상기 전자 장치로부터 착신 전환 메시지를 수신하고, 동작 1220에서 상기 IMS 네트워크(410)로 Ack 메시지를 전송하고, 동작 1224에서 상기 제1 SIM으로의 영상 콜을 제2 SIM으로 전환하여 발신할 수 있다. 예컨대, 상기 외부 전자 장치(1200)는 동작 1224에서 상기 착신 전환된 제2 SIM에 대응하는 미디어 콜 요청(Invite with precondition)을 전자 장치(101)로 전송할 수 있다. 상기 외부 전자 장치(1200)로부터 Ack 메시지를 수신한 IMS 네트워크(410)는 동작 1222에서 전자 장치(101)로 Ack 메시지를 전송할 수 있다.According to various embodiments, the external electronic device 1200 receives a call forwarding message from the electronic device, transmits an Ack message to the IMS network 410 in operation 1220, and transmits an Ack message to the first SIM in operation 1224. The video call can be transferred by switching to the second SIM. For example, the external electronic device 1200 may transmit a media call request (Invite with precondition) corresponding to the call forwarded second SIM to the electronic device 101 in operation 1224 . Upon receiving the Ack message from the external electronic device 1200 , the IMS network 410 may transmit the Ack message to the electronic device 101 in operation 1222 .

다양한 실시예에 따라, 상기 외부 전자 장치(1200)는 상기 전자 장치로부터 착신 전환 메시지를 수신하고, 도 14에 도시된 바와 같이 전화 연결 화면상에서 착신 전환이 자동으로 진행됨을 알리는 메시지(예컨대, Bob님의 다른 번호로 통화 연결되고 있습니다.)를 팝업창(1410) 또는 토스트 메시지(toast message) 형태로 표시할 수 있다.According to various embodiments, the external electronic device 1200 receives a call forwarding message from the electronic device, and as shown in FIG. 14 , a message indicating that the call forwarding is automatically performed on the call connection screen (eg, Bob ) may be displayed in the form of a pop-up window 1410 or a toast message.

다른 실시예에 따라, 상기 외부 전자 장치(1200)는 상기 전자 장치로부터 착신 전환 메시지를 수신하고, 도 15에 도시된 바와 같이 착신 전환 여부를 묻는 팝업창(1510)을 표시할 수 있다. 예컨대, 도 15에 도시된 바와 같이 “Bob님과의 통화 연결 상태가 좋지 않습니다.”라는 메시지를 표시하여 사용자에게 “Bob”의 전화번호로 발신한 발신 호가 정상적으로 연결될 수 없음을 안내할 수 있다. 상기 도 15에 도시된 팝업창(1510)에서 상기 메시지와 함께 표시된 다른 번호로 연결(1511)이 사용자에 의해 선택되면, 전술한 바와 같이 동작 1218의 동작을 수행하여, 착신 전환된 제2 SIM에 대응하는 미디어 콜 요청(Invite with precondition)을 전자 장치(101)로 전송할 수 있다. 만약, 상기 도 15에 도시된 팝업창(1510)에서 상기 메시지와 함께 표시된 종료(1512)가 사용자에 의해 선택되면, 상기 전자 장치(101)로부터 동작 1318과 같이 착신 전환 요청을 수신하였음에도 불구하고, 착신 전환을 수행하지 않고, 통화 연결 시도를 종료할 수 있다. 다양한 실시예에 따라, 상기 착신 전환되는 번호는 상기 외부 전자 장치(1200)에서 발신한 전화 번호의 사용자와 동일한 사용자의 다른 전화 번호를 의미할 수 있으며, 다양한 실시예에 따라 상기 외부 전자 장치(1200)에서 상기 착신 전환되는 번호에 대한 정보를 저장하지 않고도 착신 전환을 할 수 있다.According to another embodiment, the external electronic device 1200 may receive a call forward message from the electronic device and display a pop-up window 1510 asking whether to forward a call as shown in FIG. 15 . For example, as shown in FIG. 15 , a message “The call connection state with Bob is not good” may be displayed to inform the user that an outgoing call sent to the phone number of “Bob” cannot be connected normally. When a connection 1511 to another number displayed along with the message is selected by the user in the pop-up window 1510 shown in FIG. 15 , as described above, operation 1218 is performed to correspond to the call forwarded second SIM. A media call request (Invite with precondition) may be transmitted to the electronic device 101 . If an end 1512 displayed together with the message is selected by the user in the pop-up window 1510 shown in FIG. 15 , despite receiving a call forwarding request from the electronic device 101 in operation 1318 , the call The call connection attempt may be terminated without performing the conversion. According to various embodiments, the number to which the call is forwarded may mean another phone number of the same user as the user of the phone number called by the external electronic device 1200, and according to various embodiments, the external electronic device 1200 ), call forwarding can be performed without storing information on the number to which the call is forwarded.

도 13은 다양한 실시예에 따른 전자 장치의 착신 전환 방법을 설명하기 위한 신호 흐름도를 도시한다. 후술하는 도 13에서 도 12의 설명과 공통된 부분에 대한 설명은 생략하기로 한다. 도 13을 참조하면 다양한 실시예에 따라, 전자 장치(101)는 제1 SIM(111) 및 제2 SIM(112)을 포함할 수 있다. 상기 도 13에는 설명의 편의상 전자 장치(101)가 2개의 SIM을 포함하는 것으로 도시되어 있으나, 다양한 실시예에 따라 도 1b 또는 도 3에 예시된 바와 같이 3 개 이상의 SIM(예컨대, 제1 SIM(331), 제2 SIM(341), eSIM(350))을 포함할 수 있다. 도 12를 참조하면, 외부 전자 장치(1200)(예컨대, 도 1a의 전자 장치(104))에서 전자 장치(예컨대, 도 1a의 전자 장치(101))의 제1 SIM에 대응하는 전화 번호로 미디어 콜(media)(예컨대, 영상 콜 또는 음성 콜)을 발신할 수 있다. 다양한 실시예에 따라, 상기 외부 전자 장치(1200)는 동작 1302에서 상기 미디어 콜 발신에 따라 통신 네트워크(400)를 통해 프리컨디션(precondition)을 지원하는 SIP INVITE 메시지(예컨대, Invite with precondition 메시지)를 IMS 네트워크(410)로 전송할 수 있다. 상기 IMS 네트워크(410)는 동작 1304에서 상기 외부 전자 장치(1200)로부터 상기 SIP INVITE 메시지를 수신하고, 수신된 SIP INVITE 메시지를 전자 장치(101)로 전송할 수 있다.13 is a signal flow diagram illustrating a call forwarding method of an electronic device according to various embodiments of the present disclosure; In FIG. 13 to be described later, descriptions of parts common to that of FIG. 12 will be omitted. Referring to FIG. 13 , according to various embodiments, the electronic device 101 may include a first SIM 111 and a second SIM 112 . Although the electronic device 101 is illustrated as including two SIMs in FIG. 13 for convenience of explanation, according to various embodiments, as illustrated in FIG. 1B or FIG. 3 , three or more SIMs (eg, a first SIM ( 331 ), a second SIM 341 , and an eSIM 350 ). Referring to FIG. 12 , in the external electronic device 1200 (eg, the electronic device 104 of FIG. 1A ), media is displayed as a phone number corresponding to the first SIM of the electronic device (eg, the electronic device 101 of FIG. 1A ). A call (media) (eg, a video call or a voice call) may be placed. According to various embodiments, the external electronic device 1200 transmits a SIP INVITE message (eg, Invite with precondition message) supporting preconditioning through the communication network 400 according to the media call origination in operation 1302 . may be transmitted to the IMS network 410 . The IMS network 410 may receive the SIP INVITE message from the external electronic device 1200 in operation 1304 and transmit the received SIP INVITE message to the electronic device 101 .

다양한 실시예에 따라, 전자 장치(예컨대, 도 1a의 전자 장치(101)(예컨대, 프로세서(120) 또는 통신 모듈(190))는 동작 1304에서 IMS 네트워크(예컨대, 도 4의 IMS 네트워크(410))의 IMS 서버로부터 상기 SIP INVITE 메시지를 수신할 수 있다. 예컨대, 상기 통화 요청 메시지가 영상 콜(video call)에 대한 통화 요청 메시지일 경우 상기 SIP INVITE 메시지는 video call SDP(session description protocol) offer 메시지일 수 있으며, 상기 통화 요청 메시지가 음성 콜(voice call)에 대한 통화 요청 메시지일 경우 상기 SIP INVITE 메시지는 voice call SDP(session description protocol) offer 메시지일 수 있다. 다양한 실시예에 따라, 상기 SDP는 통화 요청된 상기 미디어 콜에 대한 지원 가능한 코덱(codec) 정보(예컨대, 영상 코덱 정보 및 음성 코덱 정보)를 포함할 수 있다.According to various embodiments, the electronic device (eg, the electronic device 101 (eg, the processor 120 or the communication module 190 ) of FIG. 1A ) configures the IMS network (eg, the IMS network 410 of FIG. 4 ) in operation 1304 , according to various embodiments. ) can receive the SIP INVITE message from the IMS server. For example, if the call request message is a call request message for a video call, the SIP INVITE message is a video call SDP (session description protocol) offer message. may be, and when the call request message is a call request message for a voice call, the SIP INVITE message may be a voice call SDP (session description protocol) offer message According to various embodiments, the SDP is Supportable codec information (eg, video codec information and audio codec information) for the media call requested for a call may be included.

다양한 실시예에 따라, 전자 장치는 동작 1306에서, 상기 수신된 통화 요청 메시지에 대한 응답 메시지를 IMS 네트워크(410)의 IMS 서버로 전송할 수 있다. 다양한 실시예에 따라, 상기 응답 메시지는 프리컨디션을 지원하는 SIP Session Progress 메시지(Session Progress with precondition 메시지)일 수 있다. 상기 IMS 네트워크(410)는 동작 1308에서 상기 수신된 응답 메시지(Session Progress with precondition 메시지)를 외부 전자 장치(1200)로 전송할 수 있다.According to various embodiments, in operation 1306 , the electronic device may transmit a response message to the received call request message to the IMS server of the IMS network 410 . According to various embodiments, the response message may be a SIP Session Progress message supporting precondition (Session Progress with precondition message). The IMS network 410 may transmit the received response message (Session Progress with precondition message) to the external electronic device 1200 in operation 1308 .

다양한 실시예에 따라, IMS 네트워크(410)의 IMS 서버는 통신 네트워크(400)로 미디어 전용 베어러 설정을 요청할 수 있으며, 이에 따라, 상기 통신 네트워크(400))(예컨대, MME(mobility management entity) 장치)는 동작 1310에서 상기 IMS 서버의 요청에 따라 전자 장치(100)로 미디어 전용 베어러를 설정(media dedicated bearer establishment)할 수 있다.According to various embodiments, the IMS server of the IMS network 410 may request the communication network 400 to establish a media-only bearer, and accordingly, the communication network 400) (eg, a mobility management entity (MME) device). ) may establish a media dedicated bearer with the electronic device 100 according to the request of the IMS server in operation 1310 .

다양한 실시예에 따라, 상기 동작 1304에서 수신된 SIP INVITE 메시지에 포함된 SDP를 확인하여 통화 요청한 외부 전자 장치(1200)(또는 외부 전자 장치(1200)의 통신 사업자)에서 지원 가능한 코덱 정보(예컨대, 영상 코덱 정보 또는 음성 코덱 정보)를 확인할 수 있다. 다양한 실시예에 따라, 전자 장치(101)는 상기 확인한 외부 전자 장치(1200)에서 지원 가능한 코덱들 중 최적의 코덱을 제1 SIM(111)에서 지원 가능한지 확인할 수 있다. 예컨대, 전자 장치는 상기 외부 전자 장치(1200)에서 지원 가능한 코덱들 중 가장 높은 우선 순위를 갖는 코덱을 제1 SIM(111)에서 지원 가능한지 확인할 수 있다.According to various embodiments, information on a codec supportable by the external electronic device 1200 (or a communication service provider of the external electronic device 1200) requesting a call by checking the SDP included in the SIP INVITE message received in operation 1304 (eg, video codec information or audio codec information). According to various embodiments, the electronic device 101 may check whether the first SIM 111 can support an optimal codec among codecs supportable by the checked external electronic device 1200 . For example, the electronic device may determine whether the first SIM 111 can support a codec having the highest priority among codecs supportable by the external electronic device 1200 .

다양한 실시예에 따라, 전자 장치(101)는 상기 확인 결과 동작 1312에서 제1 SIM에서 최적의 코덱을 미지원하는 것으로 확인되면, 동작 1314에서 착신 전환을 위한 최적의 SIM을 확인할 수 있다. 예컨대, 상기 전자 장치(101) 내에 설치된 다른 SIM들(예컨대, 제2 SIM(112), eSIM(350)) 중에서 상기 외부 전자 장치(1200)에서 지원 가능한 코덱들 중 가장 높은 우선 순위를 갖는 코덱을 지원하는 SIM을 착신 전환을 위한 최적의 SIM으로 결정할 수 있다.According to various embodiments, if it is determined that the optimal codec is not supported by the first SIM as a result of the check in operation 1312 , the electronic device 101 may identify an optimal SIM for call forwarding in operation 1314 . For example, a codec having the highest priority among codecs supportable by the external electronic device 1200 among other SIMs installed in the electronic device 101 (eg, the second SIM 112 and the eSIM 350 ) is selected. A supported SIM can be determined as an optimal SIM for call forwarding.

이하, 전자 장치(101)가 상기 동작 1314에서 착신 전환을 위한 최적의 SIM을 확인하는 일 예를 상세히 설명하기로 한다. 전자 장치(101)는 상기 도 12의 설명에서 상술한 <표 7>과 같이 4개의 SIM을 포함할 수 있으며, 각 SIM의 등록된 IMS 서비스 및 지원 가능한 코덱 정보가 메모리에 저장될 수 있다.Hereinafter, an example in which the electronic device 101 identifies an optimal SIM for call forwarding in operation 1314 will be described in detail. The electronic device 101 may include four SIMs as shown in Table 7 described above in the description of FIG. 12 , and the registered IMS service and supportable codec information of each SIM may be stored in a memory.

다양한 실시예에 따라, 외부 전자 장치(1200)는 전자 장치(101)의 제1 SIM에 대응하는 전화 번호(예컨대, 'A')로 영상 콜을 발신할 수 있다. 상기 전자 장치(101)는 외부 전자 장치(1200)로부터 제1 SIM에 대응하는 전화 번호로 영상 콜을 수신할 수 있다. 상기 외부 전자 장치(1200)에서 전송한 SIP INVITE 메시지 내의 SDP를 통해 외부 전자 장치(1200)에서 지원 가능한 코덱 정보를 확인한 결과, 상기 외부 전자 장치(1200)에서 지원 가능한 음성 코덱은 EVS, AMR-WB, AMR-NB 이고, 지원 가능한 영상 코덱은 H.264, H.263이라고 가정할 수 있다.According to various embodiments, the external electronic device 1200 may transmit a video call to a phone number (eg, 'A') corresponding to the first SIM of the electronic device 101 . The electronic device 101 may receive a video call from the external electronic device 1200 to a phone number corresponding to the first SIM. As a result of checking information on codecs supportable by the external electronic device 1200 through SDP in the SIP INVITE message transmitted from the external electronic device 1200, the voice codecs supportable by the external electronic device 1200 are EVS and AMR-WB. , AMR-NB, and supportable video codecs may be assumed to be H.264 and H.263.

다양한 실시예에 따라, 전자 장치(101)는 동작 1312에서 상기 외부 전자 장치(1200)에서 지원 가능한 음성 코덱 중 EVS를 제1 SIM(111)에서 지원하지 못함을 확인할 수 있다. 전자 장치(101)는 설치된 다른 SIM들(예컨대, 상기 <표 7>에서 제1 SIM을 제외한 제2 SIM, 제3 SIM, 제4 SIM) 중 상기 외부 전자 장치(1200)에서 지원 가능한 우선 순위가 가장 높은 코덱을 지원하는 SIM을 착신 전환을 위한 최적의 SIM으로 결정할 수 있다.According to various embodiments, in operation 1312 , the electronic device 101 may determine that the first SIM 111 does not support EVS among the voice codecs supportable by the external electronic device 1200 . The electronic device 101 has a priority supportable by the external electronic device 1200 among other installed SIMs (eg, the second SIM, the third SIM, and the fourth SIM except the first SIM in Table 7). The SIM supporting the highest codec can be determined as the best SIM for call forwarding.

예컨대, <표 7>을 참조하면, 상기 확인 결과, 제2 SIM은 영상 서비스를 지원하지 못하며, 제3 SIM은 음성 코덱 중 EVS를 지원하지 못하므로, 제4 SIM을 착신 전환을 위한 최적의 SIM으로 결정할 수 있다.For example, referring to <Table 7>, as a result of the check, since the second SIM does not support the video service and the third SIM does not support EVS among the voice codecs, the fourth SIM is the optimal SIM for call forwarding. can be decided with

다양한 실시예에 따라, 도 13에 도시된 바와 같이 제1 SIM을 통해 수신되는 영상 콜이 EVS 코덱을 요청하고 있으나, 제1 SIM에서 최대 지원 가능한 음성 코덱이 AMR_WB로서 상기 EVS 코덱을 미지원하기 때문에 EVS 통화 연결이 불가능하나 EVS 통화를 지원할 수 있는 다른 SIM(예컨대, 제4 SIM)으로 착신 전환 처리를 함으로써 보다 뛰어난 품질을 지원하는 통화를 연결할 수 있다.According to various embodiments, as shown in FIG. 13 , a video call received through the first SIM requests the EVS codec, but the maximum supportable voice codec in the first SIM is AMR_WB, which does not support the EVS codec. Call forwarding processing to another SIM (eg, a 4th SIM) capable of supporting EVS calls even though it is impossible to connect a call can be performed to connect a call supporting higher quality.

이하, 동작 1316 내지 동작 1324는 전술한 도 12의 동작 1216 내지 동작 1224와 동일 또는 유사하므로 그 상세한 설명을 생략하기로 한다.Hereinafter, since operations 1316 to 1324 are the same as or similar to operations 1216 to 1224 of FIG. 12 described above, a detailed description thereof will be omitted.

다양한 실시예 중 어느 하나에 따른 전자 장치는, 적어도 하나의 안테나 모듈, 및 상기 전자 장치에 포함된 복수의 SIM(subscriber identity module)들과 통신하고, 상기 적어도 하나의 안테나 모듈을 통해 통신 네트워크, 및 IMS(IP multimedia subsystem) 네트워크와 통신하는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 복수의 SIM들 중 제1 SIM(subscriber identity module)에 대한 콜(call) 요청을 상기 IMS 네트워크의 IMS 서버로부터 수신하고, 상기 콜 요청 대한 응답 메시지를 상기 IMS 서버로 전송하고, 상기 제1 SIM에 대한 콜과 관련된 네트워크 오류 발생을 확인하고, 상기 네트워크 오류 발생의 확인에 상응하여, 상기 복수의 SIM들 중 착신 전환을 위해 미리 설정된 제2 SIM을 확인하고, 상기 콜에 대한 상기 제2 SIM으로의 착신 전환을 상기 IMS 서버로 요청하도록 제어할 수 있다.The electronic device according to any one of various embodiments communicates with at least one antenna module and a plurality of subscriber identity modules (SIMs) included in the electronic device, and includes a communication network through the at least one antenna module, and at least one processor communicating with an IP multimedia subsystem (IMS) network, wherein the at least one processor transmits a call request to a first subscriber identity module (SIM) among the plurality of SIMs to the IMS network receives from the IMS server of the , transmits a response message to the call request to the IMS server, checks the occurrence of a network error related to the call to the first SIM, and, in response to the confirmation of the occurrence of the network error, the plurality of It is possible to check a second SIM preset for call forwarding among SIMs, and control to request the call forwarding to the second SIM for the call to the IMS server.

다양한 실시예에 따라, 상기 프로세서는, 상기 제1 SIM에 대해 설정된 베이러(bearer)의 연결 실패에 대응하는 메시지를 수신하면, 상기 네트워크 오류가 발생한 것으로 판단할 수 있다.According to various embodiments, the processor may determine that the network error has occurred when receiving a message corresponding to a connection failure of a bearer configured for the first SIM.

다양한 실시예에 따라, 상기 프로세서는, 상기 IMS 서버의 오류와 관련된 메시지를 수신하면, 상기 네트워크 오류가 발생한 것으로 판단할 수 있다.According to various embodiments, when receiving a message related to an error of the IMS server, the processor may determine that the network error has occurred.

다양한 실시예에 따라, 상기 프로세서는, 설정된 시간 내에 상기 제1 SIM에 대한 베이러 연결 설정이 실패하면, 상기 네트워크 오류가 발생한 것으로 판단할 수 있다.According to various embodiments of the present disclosure, the processor may determine that the network error has occurred when the establishment of a bayer connection to the first SIM fails within a set time.

다양한 실시예에 따라, 상기 프로세서는, 상기 제2 SIM에 대한 정보를 포함하는 착신 전환 메시지를 상기 IMS 서버를 통해 상기 콜을 발신한 외부 전자 장치로 전송하도록 제어할 수 있다.According to various embodiments, the processor may control to transmit a call forward message including information on the second SIM to the external electronic device that has originated the call through the IMS server.

다양한 실시예에 따라, 상기 프로세서는, 상기 제1 SIM에 대한 콜에 상응하는 세션 개시 메시지를 상기 IMS 서버로부터 수신할 수 있다.According to various embodiments, the processor may receive a session initiation message corresponding to the call to the first SIM from the IMS server.

다양한 실시예에 따라, 상기 프로세서는, 상기 세션 개시 메시지에 포함된 상기 콜에 대응하는 코덱(codec)을 확인하고, 상기 확인된 코덱이 상기 제1 SIM에서 지원하는 코덱인지 확인하고, 상기 확인된 코덱을 상기 제1 SIM에서 지원하지 않으면, 상기 복수의 SIM들 중 상기 확인된 코덱을 지원하는 제3 SIM을 확인하고, 상기 콜에 대한 상기 제3 SIM으로의 착신 전환을 상기 IMS 서버로 요청하도록 제어할 수 있다.According to various embodiments, the processor checks a codec corresponding to the call included in the session initiation message, checks whether the checked codec is a codec supported by the first SIM, and If the codec is not supported by the first SIM, identify a third SIM that supports the identified codec among the plurality of SIMs, and request the IMS server to forward the call to the third SIM for the call. can be controlled

다양한 실시예 중 어느 하나에 따른 전자 장치는, 적어도 하나의 안테나 모듈, 및 상기 전자 장치에 포함된 복수의 SIM(subscriber identity module)들과 통신하고, 상기 적어도 하나의 안테나 모듈을 통해 통신 네트워크, 및 IMS(IP multimedia subsystem) 네트워크와 통신하는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 복수의 SIM들 중 제1 SIM(subscriber identity module)에 대한 콜(call) 요청을 상기 IMS 네트워크의 IMS 서버로부터 수신하고, 상기 콜에 대응하는 적어도 하나의 코덱(codec)을 확인하고, 상기 확인된 적어도 하나의 코덱이 상기 제1 SIM에서 지원하는 코덱인지 확인하고, 상기 확인된 적어도 하나의 코덱을 상기 제1 SIM에서 지원하지 않으면, 상기 복수의 SIM들 중 상기 확인된 적어도 하나의 코덱을 지원하는 제2 SIM을 확인하고, 상기 콜에 대한 상기 제2 SIM으로의 착신 전환을 상기 IMS 서버로 요청하도록 제어할 수 있다.The electronic device according to any one of various embodiments communicates with at least one antenna module and a plurality of subscriber identity modules (SIMs) included in the electronic device, and includes a communication network through the at least one antenna module, and at least one processor communicating with an IP multimedia subsystem (IMS) network, wherein the at least one processor transmits a call request to a first subscriber identity module (SIM) among the plurality of SIMs to the IMS network Receive from the IMS server of , check at least one codec corresponding to the call, check whether the checked at least one codec is a codec supported by the first SIM, and check the at least one identified codec is not supported by the first SIM, a second SIM supporting the identified at least one codec among the plurality of SIMs is identified, and the call forwarding to the second SIM for the call is transferred to the IMS server. You can control the request.

다양한 실시예에 따라, 상기 프로세서는, 상기 제2 SIM에 대한 정보를 포함하는 착신 전환 메시지를 상기 IMS 서버를 통해 상기 콜을 발신한 외부 전자 장치로 전송하도록 제어할 수 있다.According to various embodiments, the processor may control to transmit a call forward message including information on the second SIM to the external electronic device that has originated the call through the IMS server.

다양한 실시예에 따라, 상기 프로세서는, 상기 제1 SIM에 대한 콜에 상응하는 세션 개시 메시지를 상기 IMS 서버로부터 수신할 수 있다.According to various embodiments, the processor may receive a session initiation message corresponding to the call to the first SIM from the IMS server.

다양한 실시예에 따라, 상기 프로세서는, 상기 세션 개시 메시지로부터 상기 콜에 대응하는 코덱을 확인할 수 있다.According to various embodiments, the processor may identify a codec corresponding to the call from the session initiation message.

다양한 실시예에 따라, 상기 프로세서는, 상기 확인된 적어도 하나의 코덱을 상기 전자 장치에서 지원하는지 여부를 더 고려하여 상기 제2 SIM을 확인할 수 있다.According to various embodiments, the processor may identify the second SIM by further considering whether the electronic device supports the at least one identified codec.

다양한 실시예 중 어느 하나에 따른 전자 장치의 동작 방법은, 상기 전자 장치에 포함된 복수의 SIM(subscriber identity module)들 중 제1 SIM(subscriber identity module)에 대한 콜(call) 요청을 상기 IMS 네트워크의 IMS 서버로부터 수신하는 동작, 상기 콜 요청 대한 응답 메시지를 상기 IMS 서버로 전송하는 동작, 상기 제1 SIM에 대한 콜과 관련된 네트워크 오류 발생을 확인하는 동작; 상기 네트워크 오류 발생의 확인에 상응하여, 상기 복수의 SIM들 중 착신 전환을 위해 미리 설정된 제2 SIM을 확인하는 동작; 및 상기 콜에 대한 상기 제2 SIM으로의 착신 전환을 상기 IMS 서버로 요청하는 동작을 포함할 수 있다.The method of operating an electronic device according to any one of various embodiments may include sending a call request to a first subscriber identity module (SIM) among a plurality of subscriber identity modules (SIMs) included in the electronic device to the IMS network. receiving the call request from the IMS server, transmitting a response message to the call request to the IMS server, and confirming occurrence of a network error related to the call to the first SIM; checking a second SIM preset for call forwarding among the plurality of SIMs in response to the confirmation of the occurrence of the network error; and requesting the IMS server to transfer the call to the second SIM for the call.

다양한 실시예에 따라, 상기 방법은, 상기 제1 SIM에 대해 설정된 베이러(bearer)의 연결 실패에 대응하는 메시지를 수신하면, 상기 네트워크 오류가 발생한 것으로 판단할 수 있다.According to various embodiments, the method may determine that the network error has occurred when a message corresponding to a connection failure of a bearer configured for the first SIM is received.

다양한 실시예에 따라, 상기 방법은, 상기 IMS 서버의 오류와 관련된 메시지를 수신하면, 상기 네트워크 오류가 발생한 것으로 판단할 수 있다.According to various embodiments, the method may determine that the network error has occurred when a message related to the error of the IMS server is received.

다양한 실시예에 따라, 상기 방법은, 설정된 시간 내에 상기 제1 SIM에 대한 베이러 연결 설정이 실패하면, 상기 네트워크 오류가 발생한 것으로 판단할 수 있다.According to various embodiments of the present disclosure, the method may determine that the network error has occurred when the establishment of a bayer connection to the first SIM fails within a set time.

다양한 실시예에 따라, 상기 방법은, 상기 제2 SIM에 대한 정보를 포함하는 착신 전환 메시지를 상기 IMS 서버를 통해 상기 콜을 발신한 외부 전자 장치로 전송하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the method may include transmitting a call forward message including information on the second SIM to the external electronic device that originated the call through the IMS server.

다양한 실시예에 따라, 상기 방법은, 상기 제1 SIM에 대한 콜에 상응하는 세션 개시 메시지를 상기 IMS 서버로부터 수신하는 동작을 포함할 수 있다.According to various embodiments, the method may include receiving a session initiation message corresponding to the call to the first SIM from the IMS server.

다양한 실시예에 따라, 상기 방법은, 상기 세션 개시 메시지에 포함된 상기 콜에 대응하는 코덱(codec)을 확인하는 동작, 상기 확인된 코덱이 상기 제1 SIM에서 지원하는 코덱인지 확인하는 동작, 상기 확인된 코덱을 상기 제1 SIM에서 지원하지 않으면, 상기 복수의 SIM들 중 상기 확인된 코덱을 지원하는 제3 SIM을 확인하는 동작, 상기 콜에 대한 상기 제3 SIM으로의 착신 전환을 상기 IMS 서버로 요청하도록 제어할 수 있다.According to various embodiments, the method includes an operation of checking a codec corresponding to the call included in the session initiation message, an operation of checking whether the identified codec is a codec supported by the first SIM, and the If the identified codec is not supported by the first SIM, the operation of identifying a third SIM supporting the identified codec among the plurality of SIMs and forwarding the call to the third SIM for the call is performed by the IMS server You can control the request with .

다양한 실시예 중 어느 하나에 따른 전자 장치의 동작 방법은, 상기 전자 장치에 포함된 복수의 SIM(subscriber identity module)들 중 제1 SIM(subscriber identity module)에 대한 콜(call) 요청을 상기 IMS 네트워크의 IMS 서버로부터 수신하는 동작, 상기 콜에 대응하는 적어도 하나의 코덱(codec)을 확인하는 동작, 상기 확인된 적어도 하나의 코덱이 상기 제1 SIM에서 지원하는 코덱인지 확인하는 동작, 상기 확인된 적어도 하나의 코덱을 상기 제1 SIM에서 지원하지 않으면, 상기 복수의 SIM들 중 상기 확인된 적어도 하나의 코덱을 지원하는 제2 SIM을 확인하는 동작, 및 상기 콜에 대한 상기 제2 SIM으로의 착신 전환을 상기 IMS 서버로 요청하는 동작을 포함할 수 있다.The method of operating an electronic device according to any one of various embodiments may include sending a call request to a first subscriber identity module (SIM) among a plurality of subscriber identity modules (SIMs) included in the electronic device to the IMS network. an operation of receiving from the IMS server of if one codec is not supported by the first SIM, identifying a second SIM supporting the identified at least one codec among the plurality of SIMs; and forwarding the call to the second SIM may include an operation of requesting to the IMS server.

본 문서에 개시된 일 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 컴퓨터 장치, 휴대용 통신 장치 (예: 스마트폰), 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to the embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a computer device, a portable communication device (eg, a smartphone), a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.

본 문서의 일 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나",“A 또는 B 중 적어도 하나,”"A, B 또는 C," "A, B 및 C 중 적어도 하나,”및 “A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에, “기능적으로” 또는 “통신적으로”라는 용어와 함께 또는 이런 용어 없이, “커플드” 또는 “커넥티드”라고 언급된 경우, 그것은 어떤 구성요소가 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.It should be understood that the embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, and include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more items, unless the relevant context clearly dictates otherwise. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B,” “A, B or C,” “at least one of A, B and C,” and “A , B, or C" each may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as “first”, “second”, or “first” or “second” may simply be used to distinguish the component from other components in question, and may refer to components in other aspects (e.g., importance or order) is not limited. that one (eg first) component is “coupled” or “connected” to another (eg, second) component with or without the terms “functionally” or “communicatively” When referenced, it means that one component can be coupled to another component directly (eg, by wire), wirelessly, or through a third component.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit. A module may be an integrally formed part or a minimum unit of a part or a part thereof that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 일 실시예들은 기기(machine)(예: 마스터 장치 또는 태스크 수행 장치) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리 또는 외장 메모리)에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램)로서 구현될 수 있다. 예를 들면, 기기(예: 마스터 장치 또는 태스크 수행 장치)의 프로세서는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.One embodiment of the present document is a software (eg, a storage medium (eg, internal memory or external memory) readable by a machine (eg, a master device or a task performing device) including one or more instructions stored in an external memory) For example, it can be implemented as a program). For example, a processor of a device (eg, a master device or a task performing device) may call at least one of one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to at least one command called. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.

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

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

Claims (20)

전자 장치에 있어서,
적어도 하나의 안테나 모듈; 및
상기 전자 장치에 포함된 복수의 SIM(subscriber identity module)들과 통신하고, 상기 적어도 하나의 안테나 모듈을 통해 통신 네트워크, 및 IMS(IP multimedia subsystem) 네트워크와 통신하는 적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로세서는,
상기 복수의 SIM들 중 제1 SIM(subscriber identity module)에 대한 콜(call) 요청을 상기 IMS 네트워크의 IMS 서버로부터 수신하고,
상기 콜 요청 대한 응답 메시지를 상기 IMS 서버로 전송하고,
상기 제1 SIM에 대한 콜과 관련된 네트워크 오류 발생을 확인하고,
상기 네트워크 오류 발생의 확인에 상응하여, 상기 복수의 SIM들 중 착신 전환을 위해 미리 설정된 제2 SIM을 확인하고,
상기 콜에 대한 상기 제2 SIM으로의 착신 전환을 상기 IMS 서버로 요청하도록 제어하는, 전자 장치.
In an electronic device,
at least one antenna module; and
At least one processor that communicates with a plurality of subscriber identity modules (SIMs) included in the electronic device and communicates with a communication network and an IP multimedia subsystem (IMS) network through the at least one antenna module,
The at least one processor,
receiving a call request for a first subscriber identity module (SIM) from among the plurality of SIMs from an IMS server of the IMS network;
Transmitting a response message to the call request to the IMS server,
Checking the occurrence of a network error related to the call to the first SIM,
In response to the confirmation of the occurrence of the network error, check a second SIM preset for call forwarding among the plurality of SIMs;
and controlling the IMS server to request forwarding of the call to the second SIM for the call.
제1항에 있어서, 상기 프로세서는,
상기 제1 SIM에 대해 설정된 베이러(bearer)의 연결 실패에 대응하는 메시지를 수신하면, 상기 네트워크 오류가 발생한 것으로 판단하는, 전자 장치.
The method of claim 1, wherein the processor comprises:
and determining that the network error has occurred when a message corresponding to a connection failure of a bearer configured for the first SIM is received.
제1항에 있어서, 상기 프로세서는,
상기 IMS 서버의 오류와 관련된 메시지를 수신하면, 상기 네트워크 오류가 발생한 것으로 판단하는, 전자 장치.
The method of claim 1, wherein the processor comprises:
When receiving a message related to the error of the IMS server, it is determined that the network error has occurred.
제1항에 있어서, 상기 프로세서는,
설정된 시간 내에 상기 제1 SIM에 대한 베이러 연결 설정이 실패하면, 상기 네트워크 오류가 발생한 것으로 판단하는, 전자 장치.
The method of claim 1, wherein the processor comprises:
The electronic device determines that the network error has occurred when the establishment of the Bayer connection to the first SIM fails within a set time.
제1항에 있어서, 상기 프로세서는,
상기 제2 SIM에 대한 정보를 포함하는 착신 전환 메시지를 상기 IMS 서버를 통해 상기 콜을 발신한 외부 전자 장치로 전송하도록 제어하는, 전자 장치.
The method of claim 1, wherein the processor comprises:
and controlling to transmit a call forwarding message including information on the second SIM to an external electronic device that originated the call through the IMS server.
제1항에 있어서, 상기 프로세서는,
상기 제1 SIM에 대한 콜에 상응하는 세션 개시 메시지를 상기 IMS 서버로부터 수신하는, 전자 장치.
The method of claim 1, wherein the processor comprises:
receiving, from the IMS server, a session initiation message corresponding to the call to the first SIM.
제6항에 있어서, 상기 프로세서는,
상기 세션 개시 메시지에 포함된 상기 콜에 대응하는 코덱(codec)을 확인하고,
상기 확인된 코덱이 상기 제1 SIM에서 지원하는 코덱인지 확인하고,
상기 확인된 코덱을 상기 제1 SIM에서 지원하지 않으면, 상기 복수의 SIM들 중 상기 확인된 코덱을 지원하는 제3 SIM을 확인하고,
상기 콜에 대한 상기 제3 SIM으로의 착신 전환을 상기 IMS 서버로 요청하도록 제어하는, 전자 장치.
The method of claim 6, wherein the processor comprises:
Check the codec (codec) corresponding to the call included in the session initiation message,
Checking whether the identified codec is a codec supported by the first SIM,
If the identified codec is not supported by the first SIM, check a third SIM that supports the identified codec among the plurality of SIMs;
and controlling the IMS server to request forwarding of the call to the third SIM for the call.
전자 장치에 있어서,
적어도 하나의 안테나 모듈; 및
상기 전자 장치에 포함된 복수의 SIM(subscriber identity module)들과 통신하고, 상기 적어도 하나의 안테나 모듈을 통해 통신 네트워크, 및 IMS(IP multimedia subsystem) 네트워크와 통신하는 적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로세서는,
상기 복수의 SIM들 중 제1 SIM(subscriber identity module)에 대한 콜(call) 요청을 상기 IMS 네트워크의 IMS 서버로부터 수신하고,
상기 콜에 대응하는 적어도 하나의 코덱(codec)을 확인하고,
상기 확인된 적어도 하나의 코덱이 상기 제1 SIM에서 지원하는 코덱인지 확인하고,
상기 확인된 적어도 하나의 코덱을 상기 제1 SIM에서 지원하지 않으면, 상기 복수의 SIM들 중 상기 확인된 적어도 하나의 코덱을 지원하는 제2 SIM을 확인하고,
상기 콜에 대한 상기 제2 SIM으로의 착신 전환을 상기 IMS 서버로 요청하도록 제어하는, 전자 장치.
In an electronic device,
at least one antenna module; and
At least one processor that communicates with a plurality of subscriber identity modules (SIMs) included in the electronic device and communicates with a communication network and an IP multimedia subsystem (IMS) network through the at least one antenna module,
The at least one processor,
receiving a call request for a first subscriber identity module (SIM) from among the plurality of SIMs from an IMS server of the IMS network;
Checking at least one codec (codec) corresponding to the call,
check whether the at least one identified codec is a codec supported by the first SIM;
If the identified at least one codec is not supported by the first SIM, check a second SIM that supports the identified at least one codec among the plurality of SIMs;
and controlling the IMS server to request forwarding of the call to the second SIM for the call.
제8항에 있어서, 상기 프로세서는,
상기 제2 SIM에 대한 정보를 포함하는 착신 전환 메시지를 상기 IMS 서버를 통해 상기 콜을 발신한 외부 전자 장치로 전송하도록 제어하는, 전자 장치.
The method of claim 8, wherein the processor comprises:
and controlling to transmit a call forwarding message including information on the second SIM to an external electronic device that originated the call through the IMS server.
제8항에 있어서, 상기 프로세서는,
상기 제1 SIM에 대한 콜에 상응하는 세션 개시 메시지를 상기 IMS 서버로부터 수신하는, 전자 장치.
The method of claim 8, wherein the processor comprises:
receiving, from the IMS server, a session initiation message corresponding to the call to the first SIM.
제10항에 있어서, 상기 프로세서는,
상기 세션 개시 메시지로부터 상기 콜에 대응하는 코덱을 확인하는, 전자 장치.
11. The method of claim 10, wherein the processor,
identifying a codec corresponding to the call from the session initiation message.
제8항에 있어서, 상기 프로세서는,
상기 확인된 적어도 하나의 코덱을 상기 전자 장치에서 지원하는지 여부를 더 고려하여 상기 제2 SIM을 확인하는, 전자 장치.
The method of claim 8, wherein the processor comprises:
and confirming the second SIM by further considering whether the at least one identified codec is supported by the electronic device.
전자 장치의 동작 방법에 있어서,
상기 전자 장치에 포함된 복수의 SIM(subscriber identity module)들 중 제1 SIM(subscriber identity module)에 대한 콜(call) 요청을 상기 IMS 네트워크의 IMS 서버로부터 수신하는 동작;
상기 콜 요청 대한 응답 메시지를 상기 IMS 서버로 전송하는 동작;
상기 제1 SIM에 대한 콜과 관련된 네트워크 오류 발생을 확인하는 동작;
상기 네트워크 오류 발생의 확인에 상응하여, 상기 복수의 SIM들 중 착신 전환을 위해 미리 설정된 제2 SIM을 확인하는 동작; 및
상기 콜에 대한 상기 제2 SIM으로의 착신 전환을 상기 IMS 서버로 요청하는 동작을 포함하는, 전자 장치의 동작 방법.
A method of operating an electronic device, comprising:
receiving a call request for a first subscriber identity module (SIM) from among a plurality of subscriber identity modules (SIMs) included in the electronic device from an IMS server of the IMS network;
transmitting a response message to the call request to the IMS server;
confirming occurrence of a network error related to a call to the first SIM;
checking a second SIM preset for call forwarding among the plurality of SIMs in response to the confirmation of the occurrence of the network error; and
and requesting the IMS server to transfer the call to the second SIM for the call.
제13항에 있어서, 상기 방법은,
상기 제1 SIM에 대해 설정된 베이러(bearer)의 연결 실패에 대응하는 메시지를 수신하면, 상기 네트워크 오류가 발생한 것으로 판단하는, 전자 장치의 동작 방법.
14. The method of claim 13, wherein the method comprises:
and determining that the network error has occurred when a message corresponding to a connection failure of a bearer configured for the first SIM is received.
제13항에 있어서, 상기 방법은,
상기 IMS 서버의 오류와 관련된 메시지를 수신하면, 상기 네트워크 오류가 발생한 것으로 판단하는, 전자 장치의 동작 방법.
14. The method of claim 13, wherein the method comprises:
When a message related to the error of the IMS server is received, it is determined that the network error has occurred.
제13항에 있어서, 상기 방법은,
설정된 시간 내에 상기 제1 SIM에 대한 베이러 연결 설정이 실패하면, 상기 네트워크 오류가 발생한 것으로 판단하는, 전자 장치의 동작 방법.
14. The method of claim 13, wherein the method comprises:
and determining that the network error has occurred when the establishment of the Bayer connection to the first SIM fails within a set time.
제13항에 있어서, 상기 방법은,
상기 제2 SIM에 대한 정보를 포함하는 착신 전환 메시지를 상기 IMS 서버를 통해 상기 콜을 발신한 외부 전자 장치로 전송하는 동작을 포함하는, 전자 장치의 동작 방법.
14. The method of claim 13, wherein the method comprises:
and transmitting a call forwarding message including information on the second SIM to an external electronic device that originated the call through the IMS server.
제13항에 있어서, 상기 방법은,
상기 제1 SIM에 대한 콜에 상응하는 세션 개시 메시지를 상기 IMS 서버로부터 수신하는 동작을 포함하는, 전자 장치의 동작 방법.
14. The method of claim 13, wherein the method comprises:
and receiving a session initiation message corresponding to the call to the first SIM from the IMS server.
제18항에 있어서, 상기 방법은,
상기 세션 개시 메시지에 포함된 상기 콜에 대응하는 코덱(codec)을 확인하는 동작;
상기 확인된 코덱이 상기 제1 SIM에서 지원하는 코덱인지 확인하는 동작;
상기 확인된 코덱을 상기 제1 SIM에서 지원하지 않으면, 상기 복수의 SIM들 중 상기 확인된 코덱을 지원하는 제3 SIM을 확인하는 동작; 및
상기 콜에 대한 상기 제3 SIM으로의 착신 전환을 상기 IMS 서버로 요청하는 동작을 더 포함하는, 전자 장치의 동작 방법.
19. The method of claim 18, wherein the method comprises:
checking a codec corresponding to the call included in the session initiation message;
checking whether the identified codec is a codec supported by the first SIM;
if the identified codec is not supported by the first SIM, identifying a third SIM that supports the identified codec among the plurality of SIMs; and
The method of operating an electronic device, further comprising: requesting, to the IMS server, to transfer the call to the third SIM for the call.
전자 장치의 동작 방법에 있어서,
전자 장치의 동작 방법에 있어서,
상기 전자 장치에 포함된 복수의 SIM(subscriber identity module)들 중 제1 SIM(subscriber identity module)에 대한 콜(call) 요청을 상기 IMS 네트워크의 IMS 서버로부터 수신하는 동작;
상기 콜에 대응하는 적어도 하나의 코덱(codec)을 확인하는 동작;
상기 확인된 적어도 하나의 코덱이 상기 제1 SIM에서 지원하는 코덱인지 확인하는 동작;
상기 확인된 적어도 하나의 코덱을 상기 제1 SIM에서 지원하지 않으면, 상기 복수의 SIM들 중 상기 확인된 적어도 하나의 코덱을 지원하는 제2 SIM을 확인하는 동작; 및
상기 콜에 대한 상기 제2 SIM으로의 착신 전환을 상기 IMS 서버로 요청하는 동작을 포함하는, 전자 장치의 동작 방법.
A method of operating an electronic device, comprising:
A method of operating an electronic device, comprising:
receiving a call request for a first subscriber identity module (SIM) from among a plurality of subscriber identity modules (SIMs) included in the electronic device from an IMS server of the IMS network;
checking at least one codec corresponding to the call;
checking whether the identified at least one codec is a codec supported by the first SIM;
if the first SIM does not support the identified at least one codec, identifying a second SIM that supports the identified at least one codec among the plurality of SIMs; and
and requesting the IMS server to transfer the call to the second SIM for the call.
KR1020200093119A 2020-07-27 2020-07-27 Electronic device supporting multiple subscriber identity modules and method for operating thereof KR20220013762A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200093119A KR20220013762A (en) 2020-07-27 2020-07-27 Electronic device supporting multiple subscriber identity modules and method for operating thereof
PCT/KR2021/009576 WO2022025538A1 (en) 2020-07-27 2021-07-23 Electronic device for supporting multiple subscriber identity modules, and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200093119A KR20220013762A (en) 2020-07-27 2020-07-27 Electronic device supporting multiple subscriber identity modules and method for operating thereof

Publications (1)

Publication Number Publication Date
KR20220013762A true KR20220013762A (en) 2022-02-04

Family

ID=80035737

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200093119A KR20220013762A (en) 2020-07-27 2020-07-27 Electronic device supporting multiple subscriber identity modules and method for operating thereof

Country Status (2)

Country Link
KR (1) KR20220013762A (en)
WO (1) WO2022025538A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383725B (en) * 2007-09-28 2013-03-13 华为技术有限公司 IP multimedia subsystem and disaster tolerant resuming method
KR101007200B1 (en) * 2008-06-09 2011-01-12 삼성전자주식회사 Dual standbay portable terminal and method for communicating thereof
US9538579B2 (en) * 2015-04-29 2017-01-03 Qualcomm Incorporated Resource mapping for multi SIM multi active multi RAT scenarios using WLAN transceiver supporting partial WWAN transceiver capabilities
US10362623B2 (en) * 2016-07-15 2019-07-23 Samsung Electronics Co., Ltd Apparatus and method for paging overlap mitigation
US11445359B2 (en) * 2018-08-27 2022-09-13 Samsung Electronics Co., Ltd. Apparatus and method for providing voice call and data service simultaneously on plurality of SIM

Also Published As

Publication number Publication date
WO2022025538A1 (en) 2022-02-03

Similar Documents

Publication Publication Date Title
US8543060B2 (en) Close-proximity wireless communication transfer
US11051269B2 (en) Electronic device for supporting multiple subscriber identity modules and method therefor
US9756137B2 (en) Method and apparatus for migrating active communication session between terminals
US10462294B2 (en) Method and apparatus for processing a communication request from a roaming voice over IP terminal
US20180091581A1 (en) Method of switching download mode, control method thereof and control system thereof
CN104394600A (en) Method and device for transmitting files
MX2007014254A (en) Terminal, method and system for performing combination service using terminal capability version.
US20160028584A1 (en) Electronic device and ims service providing method thereof
US20230076852A1 (en) Electronic device supporting plurality of sims and operating method therefor
KR20220013762A (en) Electronic device supporting multiple subscriber identity modules and method for operating thereof
US11343287B2 (en) Electronic device and method for maintaining call function in electronic device
KR20220118135A (en) Electronic device for managing pdu session and method for operating thereof
KR20220118727A (en) Electronic device supporting multiple sim and method for operating thereof
KR20220039514A (en) Electronic device for receiving or transmitting a rich communicatoin service data and method for the same
KR20220010981A (en) Electronic device managing plural timer and method for operating thereof
KR20220025532A (en) Electronic device, and method for receiving sms message in electronic device supporting multiple sims
KR102442628B1 (en) Electronic device for providing chatting service and method for operating thereof
JP6598629B2 (en) Message transmission system
US20230328517A1 (en) Electronic device supporting profile transfer between electronic devices and operating method thereof
US20220345877A1 (en) Electronic device and method for installing profile of embedded subscriber identity module in electronic device
US20230308543A1 (en) Electronic device for detecting spam call and method of operating the same
US20230052857A1 (en) Method and device for controlling communication path of dual subscriber identification module according to call
CN108650694A (en) Mobile network&#39;s control method, control module, computer storage media and mobile terminal
US20230379686A1 (en) Network service continuity in ip multimedia subsystem layer
JP4276251B2 (en) Mobile communication terminal and mobile communication terminal control method.