KR20220039514A - Electronic device for receiving or transmitting a rich communicatoin service data and method for the same - Google Patents

Electronic device for receiving or transmitting a rich communicatoin service data and method for the same Download PDF

Info

Publication number
KR20220039514A
KR20220039514A KR1020200181872A KR20200181872A KR20220039514A KR 20220039514 A KR20220039514 A KR 20220039514A KR 1020200181872 A KR1020200181872 A KR 1020200181872A KR 20200181872 A KR20200181872 A KR 20200181872A KR 20220039514 A KR20220039514 A KR 20220039514A
Authority
KR
South Korea
Prior art keywords
electronic device
communication
server
rcs
data
Prior art date
Application number
KR1020200181872A
Other languages
Korean (ko)
Inventor
김규현
김동하
김민선
김홍식
남승훈
박준서
장재원
조혜영
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to PCT/KR2021/012528 priority Critical patent/WO2022065788A1/en
Publication of KR20220039514A publication Critical patent/KR20220039514A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • H04L51/32
    • H04L51/38
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/58Message adaptation for wireless communication
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols
    • H04W80/10Upper layer protocols adapted for application session management, e.g. SIP [Session Initiation Protocol]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

An objective of the present invention is to prevent a situation in which data cannot be transmitted to a rich communication service (RCS) server and/or a situation in which data cannot be received from the RCS server. According to various embodiments, the electronic device comprises: a first communication circuit supporting short-range wireless communication; a second communication circuit supporting cellular communication; and a processor. The processor can be configured to perform a registration cancelation procedure with a rich communication service (RCS) server through the cellular communication in response to sensing switching to a state in which data communication is performed through the short-range wireless communication in a registered state with the RCS server through the cellular communication, control the second communication circuit to disconnect the connection with a packet data network (PDN) connected through the cellular communication, control the second communication circuit to perform connection with the PDN through the cellular communication while maintaining the state in which data communication can be performed through the short-range wireless communication, control the second communication circuit to perform a registration procedure with the RCS server again through the cellular communication, and control the second communication circuit to receive data transmitted by the RCS server through the PDN connected through the cellular communication. Various other embodiments are possible.

Description

RCS 데이터를 수신 또는 전송하는 전자 장치 및 전자 장치의 동작 방법{ELECTRONIC DEVICE FOR RECEIVING OR TRANSMITTING A RICH COMMUNICATOIN SERVICE DATA AND METHOD FOR THE SAME}ELECTRONIC DEVICE FOR RECEIVING OR TRANSMITTING A RICH COMMUNICATOIN SERVICE DATA AND METHOD FOR THE SAME

본 발명의 다양한 실시예는, 전자 장치 및 전자 장치의 동작 방법에 관한 것으로, RCS 서버로부터 데이터를 수신하거나, 전송하는 전자 장치에 관한 것이다.Various embodiments of the present disclosure relate to an electronic device and an operating method of the electronic device, and to an electronic device that receives or transmits data from an RCS server.

4G 통신 시스템 상용화 이후 증가 추세에 있는 무선 데이터 트래픽 수요를 충족시키기 위해, 개선된 5G 통신 시스템 또는 pre-5G 통신 시스템을 개발하기 위한 노력이 이루어지고 있다. 이러한 이유로, 5G 통신 시스템 또는 pre-5G 통신 시스템은 4G 네트워크 이후 (Beyond 4G Network) 통신 시스템 또는 LTE 시스템 이후 (Post LTE) 이후의 시스템이라 불리어지고 있다. 높은 데이터 전송률을 달성하기 위해, 5G 통신 시스템은 LTE가 사용하던 대역(6기가(6GHz) 이하 대역) 외에 초고주파(mmWave) 대역 (예를 들어, 24기가(24GHz) 이상의 대역 같은)에서의 구현도 고려되고 있다. 5G 통신 시스템에서는 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO), 전차원 다중입출력(Full Dimensional MIMO: FD-MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 및 대규모 안테나 (large scale antenna) 기술들이 논의되고 있다. Efforts are being made to develop an improved 5G communication system or pre-5G communication system in order to meet the increasing demand for wireless data traffic after commercialization of the 4G communication system. For this reason, the 5G communication system or the pre-5G communication system is called a system after the 4G network (Beyond 4G Network) communication system or the LTE system after (Post LTE). In order to achieve high data rates, the 5G communication system is implemented in mmWave bands (eg, 24 gigabytes (24GHz) or higher bands) in addition to the bands used by LTE (bands below 6 gigabytes (6GHz)). are being considered In the 5G communication system, beamforming, massive MIMO, Full Dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, and large scale antenna technologies are being discussed.

4세대 이동 통신 및 5세대 이동 통신은 패킷 기반의 메시지 교환 서비스를 수행할 수 있도록 설계되었다. 최근에는, 패킷 기반의 메시지 교환 서비스 중 RCS(rich communication service) 서비스가 전자 장치에 적용되고 있다.4G mobile communication and 5G mobile communication are designed to perform packet-based message exchange service. Recently, a rich communication service (RCS) service among packet-based message exchange services has been applied to electronic devices.

RCS 서비스는, 통화 도중에 동영상 또는 사진과 같은 멀티미디어 파일을 공유하는 콜 기능(Enriched Call), 주소록에 등록된 통신 상대방에 대한 정보를 실시간으로 획득할 수 있는 주소록 기능(Enhanced Phonebook), 채팅 중 파일을 공유할 수 있는 메시지 기능(Enriched Messaging)을 포함하는 다양한 기능을 패킷 기반 메시지 교환 서비스를 통해 제공할 수 있다. The RCS service provides a call function that shares multimedia files such as videos or photos during a call (Enriched Call), an address book function that can acquire information about the communication partner registered in the address book in real time (Enhanced Phonebook), and files during chatting. Various functions including a shared message function (Enriched Messaging) can be provided through a packet-based message exchange service.

RCS 서비스는 RCS 서비스를 관리하는 RCS 서버를 통해서 구현될 수 있다. 데이터를 포함하는 메시지를 교환하는 수신측 전자 장치 및 전송 측 전자 장치는 RCS 서버를 통해 데이터를 교환하기 위한 세션을 수립할 수 있고, 수립된 세션을 통해 데이터를 교환할 수 있다.The RCS service may be implemented through an RCS server that manages the RCS service. The receiving-side electronic device and the transmitting-side electronic device exchanging a message including data may establish a session for exchanging data through the RCS server, and may exchange data through the established session.

전자 장치는, 메시지 수신의 지연 시간을 감소시키기 위해서, RCS 서버와 연결을 가능한 유지할 수 있다. 전자 장치는, 전자 장치가 우선적으로 이용하는 네트워크를 통해 획득한 IP 주소를 RCS 서버에 등록하는 등록 절차를 수행할 수 있다. 전자 장치는 등록된 IP 주소를 이용하여 RCS 서버로부터 데이터를 수신할 수 있다.The electronic device may maintain a connection to the RCS server as much as possible in order to reduce a delay time of message reception. The electronic device may perform a registration procedure of registering an IP address obtained through a network preferentially used by the electronic device in the RCS server. The electronic device may receive data from the RCS server using the registered IP address.

전자 장치는 다양한 원인(예: 현재 연결된 통신 방식을 변경하기 위한 사용자 입력을 수신하거나, 현재 연결된 통신 방식의 품질이 저하되는 상황을 포함하는 다양한 원인에 의해, 전자 장치가 우선적으로 이용하는 통신 방식의 변경을 수행할 수 있다. 전자 장치가 이용하는 통신 방식이 변경됨에 따라 전자 장치의 IP 주소가 변경될 수 있고, 전자 장치는 기존의 IP 주소를 삭제하는 RCS 서버 등록 해제 동작 및 변경된 IP 주소를 RCS 서버에 다시 등록하는 동작을 수행해야 RCS 서비스를 이용할 수 있다. The electronic device changes the communication method preferentially used by the electronic device due to various causes (eg, receiving a user input for changing the currently connected communication method or a situation in which the quality of the currently connected communication method is deteriorated) As the communication method used by the electronic device is changed, the IP address of the electronic device may be changed, and the electronic device may perform an RCS server deregistration operation of deleting the existing IP address and transferring the changed IP address to the RCS server. In order to use the RCS service, the operation of re-registration must be performed.

전자 장치는 RCS 서버와 등록이 해제된 후, RCS 서버와 다시 등록될 때까지, RCS 서버로 데이터를 전송하거나, RCS 서버로부터 데이터를 수신할 수 없는 상황 및/또는 RCS 서버로부터 데이터의 수신이 지연되는 상황이 발생할 수 있다.After the electronic device is unregistered with the RCS server, until it is re-registered with the RCS server, the electronic device cannot transmit data to or receive data from the RCS server and/or the reception of data from the RCS server is delayed situations may arise.

본 발명의 다양한 실시예에 따른 전자 장치는 근거리 무선 통신을 지원하는 제 1 통신 회로; 셀룰러 통신을 지원하는 제 2 통신 회로; 및 프로세서를 포함하고, 상기 프로세서는 상기 셀룰러 통신을 통해 RCS(rich communication server) 서버와 등록된 상태에서, 상기 근거리 무선 통신을 통한 데이터 통신을 수행하는 상태로 전환됨을 감지함에 대응하여, 상기 셀룰러 통신을 통해 RCS(rich communication service) 서버와 등록 해제 절차를 수행하고, 상기 셀룰러 통신을 통해 연결된 PDN(packet data network)과 연결을 해제하도록 상기 제 2 통신 회로를 제어하고, 상기 근거리 통신을 통한 데이터 통신을 수행할 수 있는 상태를 유지하면서, 상기 셀룰러 통신을 통한 PDN과 연결을 수행하도록 상기 제 2 통신 회로를 제어하고, 상기 셀룰러 통신을 통해 RCS 서버와 등록 절차를 다시 수행하도록 상기 제 2 통신 회로를 제어하고, 상기 셀룰러 통신을 통해 연결된 PDN을 통해 상기 RCS 서버가 전송하는 데이터를 수신하도록 상기 제 2 통신 회로를 제어하도록 설정될 수 있다.An electronic device according to various embodiments of the present disclosure includes a first communication circuit supporting short-range wireless communication; a second communication circuit supporting cellular communication; and a processor, wherein the processor is configured to detect a transition from a state registered with a rich communication server (RCS) server through the cellular communication to a state for performing data communication through the short-range wireless communication, in response to the cellular communication to perform a deregistration procedure with a rich communication service (RCS) server through Controlling the second communication circuit to perform a connection with the PDN through the cellular communication while maintaining a state capable of performing and control the second communication circuit to receive data transmitted by the RCS server through a PDN connected through the cellular communication.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 셀룰러 통신을 통해 RCS(rich communication server) 서버와 등록된 상태에서, 근거리 무선 통신을 통한 데이터 통신을 수행하는 상태로 전환됨을 감지함에 대응하여, 상기 셀룰러 통신을 통해 RCS(rich communication service) 서버와 등록 해제 절차를 수행하는 동작; 상기 셀룰러 통신을 통해 연결된 PDN(packet data network)과 연결을 해제하는 동작; 상기 근거리 통신을 통한 데이터 통신을 수행할 수 있는 상태를 유지하면서, 상기 셀룰러 통신을 통해 PDN과 연결을 수행하는 동작; 상기 셀룰러 통신을 통해 RCS 서버와 등록 절차를 다시 수행하는 동작; 및 상기 셀룰러 통신을 통해 연결된 PDN을 통해 상기 RCS 서버가 전송하는 데이터를 수신하는 동작을 포함할 수 있다.In a method of operating an electronic device according to various embodiments of the present disclosure, in response to detecting a transition from a state registered with a rich communication server (RCS) server through cellular communication to a state performing data communication through short-range wireless communication, performing a deregistration procedure with a rich communication service (RCS) server through the cellular communication; disconnecting from a packet data network (PDN) connected through the cellular communication; performing a connection with a PDN through the cellular communication while maintaining a state capable of performing data communication through the short-range communication; performing a registration procedure with the RCS server again through the cellular communication; and receiving data transmitted by the RCS server through a PDN connected through the cellular communication.

본 발명의 다양한 실시예에 따른 전자 장치 및 전자 장치의 동작 방법은, 전자 장치가 우선적으로 이용하는 통신 방식이 셀룰러 통신에서 근거리 무선 통신 방식으로 변경되는 경우, 근거리 무선 통신이 연결된 상태에서, 셀룰러 통신을 통한 RCS 서버에 등록하는 동작을 수행할 수 있다. 따라서, 전자 장치가 우선적으로 이용하는 통신 방식이 근거리 무선 통신에서 셀룰러 통신으로 전환되는 경우, RCS 서버와 전자 장치 사이의 등록 해제 및 재등록 절차를 수행할 필요가 없다. 전자 장치 및 전자 장치의 동작 방법은 RCS 서버와 등록이 해제된 후, RCS 서버와 다시 등록될 때까지, RCS 서버로 데이터를 전송하거나, RCS 서버로부터 데이터를 수신할 수 없는 상황 및/또는 RCS 서버로부터 데이터의 수신이 지연되는 상황을 방지할 수 있다.In an electronic device and a method of operating an electronic device according to various embodiments of the present disclosure, when a communication method preferentially used by the electronic device is changed from cellular communication to short-range wireless communication, cellular communication is performed while short-range wireless communication is connected. It is possible to perform the operation of registering to the RCS server through the Accordingly, when the communication method preferentially used by the electronic device is switched from short-range wireless communication to cellular communication, there is no need to perform deregistration and re-registration procedures between the RCS server and the electronic device. After the electronic device and the method of operation of the electronic device are released from registration with the RCS server, until re-registration with the RCS server, a situation in which data cannot be transmitted to the RCS server or data cannot be received from the RCS server and/or the RCS server It is possible to prevent a situation in which data reception is delayed.

본 발명의 다양한 실시예에 따른 전자 장치 및 전자 장치의 동작 방법은 RCS 서버와 등록 해제를 수행하기 이전, RCS 서버로 전송 중이거나, RCS 서버로부터 수신 중인 데이터가 존재하는 경우, RCS 서버와의 등록 해제 절차를 지연시킬 수 있다. 따라서, 전자 장치 및 전자 장치의 동작 방법은 전자 장치가 우선적으로 이용하는 통신 방식이 셀룰러 통신에서 근거리 무선 통신으로 변경되는 상태에서, RCS 서버와의 등록 해제가 수행됨에 따라 발생할 수 있는 RCS 서버로 데이터를 전송할 수 없는 상황 및/또는 RCS 서버로부터 데이터를 수신할 수 없는 상황을 방지할 수 있다.An electronic device and a method of operating an electronic device according to various embodiments of the present disclosure include, before deregistration with the RCS server, when data being transmitted to or received from the RCS server exists, registration with the RCS server The release process may be delayed. Accordingly, the electronic device and the method of operation of the electronic device transmit data to the RCS server that may occur as deregistration with the RCS server is performed in a state in which the communication method preferentially used by the electronic device is changed from cellular communication to short-range wireless communication. A situation in which transmission cannot be performed and/or a situation in which data cannot be received from the RCS server can be prevented.

도 1은 본 발명의 다양한 실시예에 따른, 전자 장치의 블록도이다.
도 2는 다양한 실시예에 따른 프로그램의 블록도이다.
도 3은 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.
도 4는 본 발명의 다양한 실시예에 따른 전자 장치가, RCS 서버 및/또는 메시지 전송 서버로부터 메시지를 수신하기 위한 동작을 도시한 도면이다.
도 5는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.
도 6은 본 발명의 다양한 실시예에 따른 전자 장치가, 셀룰러 통신을 통해 RCS 서버와 등록 절차를 수행하는 실시예를 도시한 도면이다.
도 7은 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.
도 8은 본 발명의 다양한 실시예에 따른 전자 장치가, 셀룰러 통신을 통해 RCS 서버와 등록 해제 절차를 지연시키는 실시예를 도시한 도면이다.
도 9는 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.
1 is a block diagram of an electronic device according to various embodiments of the present disclosure;
2 is a block diagram of a program according to various embodiments.
3 is a block diagram of an electronic device according to various embodiments of the present disclosure;
4 is a diagram illustrating an operation for receiving, by an electronic device, a message from an RCS server and/or a message transmission server according to various embodiments of the present disclosure.
5 is a block diagram of an electronic device according to various embodiments of the present disclosure;
6 is a diagram illustrating an embodiment in which an electronic device performs a registration procedure with an RCS server through cellular communication according to various embodiments of the present disclosure.
7 is a block diagram of an electronic device according to various embodiments of the present disclosure;
8 is a diagram illustrating an embodiment in which an electronic device delays a registration deregistration procedure with an RCS server through cellular communication according to various embodiments of the present disclosure.
9 is an operation flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments. Referring to FIG. 1 , in a network environment 100 , an electronic device 101 communicates with an 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, a program 140) to execute at least one other component (eg, a 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 may use less power than the main processor 121 or may be 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 auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or 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 an embodiment, the co-processor 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). there is. 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 of the electronic device 101 (eg, the processor 120 or the sensor module 176 ). 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 in 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 a 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 ) connected directly or wirelessly with the electronic device 101 . A 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, user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an 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 designated 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 wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a LAN (local area network) 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. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. 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 for realizing URLLC ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less).

안테나 모듈(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 selected. 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.

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

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

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

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

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

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

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

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

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

도 3을 참조하면, 본 발명의 다양한 실시예에 따른 전자 장치(예; 도 1의 전자 장치(101))는 프로세서(예: 도 1의 프로세서(120))(310), 제 1 통신 회로(예: 도 1의 무선 통신 모듈(192)) (320) 및/또는 제 2 통신 회로(예: 도 1의 무선 통신 모듈(192)) (330)를 포함할 수 있다.Referring to FIG. 3 , an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure includes a processor (eg, the processor 120 of FIG. 1 ) 310 , a first communication circuit ( For example, it may include the wireless communication module 192 of FIG. 1 ) 320 and/or the second communication circuit (eg, the wireless communication module 192 of FIG. 1 ) 330 .

본 발명의 다양한 실시예에 따르면, 제 1 통신 회로(320)는 근거리 무선 통신을 통한 데이터 전송 또는 수신을 수행할 수 있다. 근거리 무선 통신은 셀룰러 통신을 제외한 다른 무선 통신을 의미할 수 있다. 예를 들면, 근거리 무선 통신은 Wi-Fi를 포함하는 다양한 방식의 무선 네트워크를 통한 데이터를 전송하거나, 수신하는 통신 방식을 의미할 수 있다. 제 1 통신 회로(320)는 근거리 무선 통신을 통해 외부 서버로부터 데이터를 수신하고, 수신한 데이터를 프로세서(310)로 전송할 수 있다.According to various embodiments of the present disclosure, the first communication circuit 320 may transmit or receive data through short-range wireless communication. Short-range wireless communication may refer to other wireless communication than cellular communication. For example, short-range wireless communication may refer to a communication method for transmitting or receiving data through various types of wireless networks including Wi-Fi. The first communication circuit 320 may receive data from an external server through short-range wireless communication and transmit the received data to the processor 310 .

본 발명의 다양한 실시예에 따르면, 제 2 통신 회로(330)는 셀룰러 통신을 통한 데이터 전송 또는 수신을 수행할 수 있다. 셀룰러 통신은 기지국(base station)을 통해 데이터를 전송하거나, 수신하는 통신을 의미할 수 있다. 예를 들면, 셀룰러 통신은 4세대 이동 통신(LTE, long term evolution) 또는 5세대 이동 통신(NR, new radio)을 의미할 수 있다. 제 2 통신 회로(330)는 셀룰러 통신을 통해 외부 서버로부터 데이터를 수신하고, 수신한 데이터를 프로세서(310)로 전송할 수 있다.According to various embodiments of the present disclosure, the second communication circuit 330 may transmit or receive data through cellular communication. Cellular communication may refer to communication in which data is transmitted or received through a base station. For example, cellular communication may mean 4th generation mobile communication (LTE, long term evolution) or 5th generation mobile communication (NR, new radio). The second communication circuit 330 may receive data from an external server through cellular communication and transmit the received data to the processor 310 .

본 발명의 다양한 실시예에 따르면, 프로세서(310)는 RCS(rich communication service)를 수행하기 위해 제 1 통신 회로(320) 및/또는 제 2 통신 회로(330)를 제어할 수 있다. RCS는 패킷 데이터 기반의 커뮤니케이션 서비스로, 문자 메시지, 이미지, 동영상, 음성을 포함하는 다양한 컨텐츠를 전송하거나, 수신하기 위한 커뮤니케이션 서비스를 의미할 수 있다. RCS는 지정된 크기 이하의 문자 메시지를 전송하거나 수신하는 SMS(short message service), 지정된 크기 이상의 문자 메시지 및/또는 컨텐츠를 포함하는 메시지를 전송하거나 수신하는 MMS(multimedia messaging service) 이후에 정의된 커뮤니케이션 서비스이다.According to various embodiments of the present disclosure, the processor 310 may control the first communication circuit 320 and/or the second communication circuit 330 to perform a rich communication service (RCS). The RCS is a communication service based on packet data, and may refer to a communication service for transmitting or receiving various contents including text messages, images, videos, and voices. RCS is a communication service defined after short message service (SMS) for sending or receiving text messages of a specified size or smaller, and multimedia messaging service (MMS) for sending or receiving messages containing text messages and/or content over a specified size. am.

본 발명의 다양한 실시예에 따르면, 프로세서(310)는 전자 장치(101)가 기본적으로 사용하는 통신 방식(예를 들면, 근거리 무선 통신 또는 셀룰러 통신)을 이용하여, RCS 서버(340)와 데이터 전송 또는 수신을 위한 세션 생성을 수행할 수 있다. 프로세서(310)는 생성된 세션을 통해 RCS 서버(340)로부터 데이터를 수신하거나, RCS 서버(340)로 데이터를 전송할 수 있다. RCS 서버(340)는 외부 서버(350)가 전송한 데이터를 수신하고, 전자 장치(101)와 RCS 서버(340) 사이의 수립된 세션을 통해 데이터를 전자 장치(101)로 전송할 수 있다. RCS 서버(340)와 전자 장치(101) 사이 교환되는 데이터는 세션 생성을 위한 데이터, 세션을 관리하기 위한 데이터 및/또는 컨텐츠를 포함하는 메시지를 포함할 수 있다.According to various embodiments of the present disclosure, the processor 310 transmits data to the RCS server 340 using a communication method (eg, short-range wireless communication or cellular communication) basically used by the electronic device 101 . Alternatively, session creation for reception may be performed. The processor 310 may receive data from the RCS server 340 through the created session or transmit data to the RCS server 340 . The RCS server 340 may receive data transmitted by the external server 350 and transmit the data to the electronic device 101 through an established session between the electronic device 101 and the RCS server 340 . Data exchanged between the RCS server 340 and the electronic device 101 may include data for session creation, data for session management, and/or a message including content.

본 발명의 다양한 실시예에 따르면, 프로세서(310)는 근거리 무선 통신이 비활성화된 상태에서, 셀룰러 통신을 통해 RCS 서버(340)에 전자 장치(101)를 등록(registration)하는 절차를 수행할 수 있다. 전자 장치(101)를 RCS 서버(340) 상에 등록하는 절차는 전자 장치(101)가 데이터를 RCS 서버(340)로부터 수신하거나, RCS 서버(340)로 데이터를 전송하는데 이용하는 전자 장치(101)의 주소를 RCS 서버(340)에 등록하는 절차를 포함할 수 있다. 전자 장치(101)의 주소는, 셀룰러 통신을 제공하는 셀룰러 네트워크 상에서의 전자 장치(101)의 IP 주소를 의미할 수 있다.According to various embodiments of the present disclosure, the processor 310 may perform a procedure of registering the electronic device 101 with the RCS server 340 through cellular communication in a state in which short-range wireless communication is deactivated. . In the procedure of registering the electronic device 101 on the RCS server 340 , the electronic device 101 receives data from the RCS server 340 or uses the electronic device 101 to transmit data to the RCS server 340 . It may include a procedure of registering the address of the RCS server (340). The address of the electronic device 101 may mean an IP address of the electronic device 101 on a cellular network providing cellular communication.

본 발명의 다양한 실시예에 따르면, RCS 서버(340)는 등록된 전자 장치(101)의 IP 주소를 이용하여 데이터를 전자 장치(101)로 전송할 수 있다. 전자 장치(101)는 IP 주소에 대응하는 PDN(packet data network)를 통해 데이터를 RCS 서버(340)로부터 수신할 수 있다.According to various embodiments of the present disclosure, the RCS server 340 may transmit data to the electronic device 101 using the registered IP address of the electronic device 101 . The electronic device 101 may receive data from the RCS server 340 through a packet data network (PDN) corresponding to the IP address.

본 발명의 다양한 실시예에 따르면, 프로세서(310)는 전자 장치(101)가 이용하는 네트워크가 변경됨을 감지할 수 있다. 예를 들면, 프로세서(310)는 전자 장치(101)가 셀룰러 통신을 이용하는 상태에서, 근거리 무선 통신을 이용하는 상태로 전환됨을 감지할 수 있다. 이 경우, 프로세서(310)는 제 1 통 신 회로(310)를 활성화 상태로 전환하고, 근거리 무선 통신을 사용하기 위한 IP 주소를 획득할 수 있다. 프로세서(310)는 셀룰러 통신을 수행하기 위한 IP 주소 대신 근거리 무선 통신을 사용하기 위한 IP 주소를 이용하여, 외부와 데이터 통신을 수행할 수 있다.According to various embodiments of the present disclosure, the processor 310 may detect that the network used by the electronic device 101 is changed. For example, the processor 310 may detect that the electronic device 101 is switched from a state using cellular communication to a state using short-range wireless communication. In this case, the processor 310 may switch the first communication circuit 310 to an active state and obtain an IP address for using short-range wireless communication. The processor 310 may perform data communication with the outside by using an IP address for using short-range wireless communication instead of an IP address for performing cellular communication.

본 발명의 다양한 실시예에 따르면, 프로세서(310)는 RCS 서버(340)로부터 데이터를 수신하거나, 전송하기 위해, RCS 서버(340)에 전자 장치(101)를 다시 등록하는 절차를 수행할 수 있다.According to various embodiments of the present disclosure, the processor 310 may perform a procedure of re-registering the electronic device 101 with the RCS server 340 in order to receive or transmit data from the RCS server 340 . .

본 발명의 다양한 실시예에 따르면, 프로세서(310)는 기존에 이용하는 PDN의 연결을 해제하기 이전, RCS 서버(340) 상에서 등록을 해제하는 절차를 수행할 수 있다. RCS 서버(340) 상에서 등록을 해제하는 절차는 이전에 등록된 전자 장치(101)의 IP 주소를 RCS 서버(340) 상에서 삭제하는 절차를 포함할 수 있다. According to various embodiments of the present disclosure, the processor 310 may perform a procedure of canceling registration on the RCS server 340 before releasing the connection of an existing PDN. The procedure of canceling registration on the RCS server 340 may include a procedure of deleting the previously registered IP address of the electronic device 101 on the RCS server 340 .

본 발명의 다양한 실시예에 따르면, 프로세서(310)는 RCS 서버(340) 상에서 등록을 해제한 후, 근거리 무선 통신을 이용하기 위한 IP 주소를 이용하여 RCS 서버(340) 상에서 등록을 수행할 수 있다. 전자 장치(101)의 RCS 서버(340) 상에 등록하는 절차는 전자 장치(101)가 데이터를 RCS 서버(340)로부터 수신하거나, RCS 서버(340)로 데이터를 전송하는데 이용하는 전자 장치(101)의 주소를 RCS 서버(340)에 등록하는 절차를 포함할 수 있다. 전자 장치(101)의 주소는, 근거리 무선 통신에서의 전자 장치(101)의 IP 주소를 의미할 수 있다. 근거리 무선 통신에 대응하는 전자 장치(101)의 IP 주소와, 셀룰러 통신에 대응하는 전자 장치(101)의 IP 주소는 서로 상이할 수 있다.According to various embodiments of the present disclosure, the processor 310 may perform registration on the RCS server 340 by using an IP address for using short-range wireless communication after deregistration on the RCS server 340 is performed. . In the procedure of registering the electronic device 101 on the RCS server 340 , the electronic device 101 receives data from the RCS server 340 or uses the electronic device 101 to transmit data to the RCS server 340 . It may include a procedure of registering the address of the RCS server (340). The address of the electronic device 101 may mean an IP address of the electronic device 101 in short-range wireless communication. The IP address of the electronic device 101 corresponding to short-range wireless communication and the IP address of the electronic device 101 corresponding to cellular communication may be different from each other.

본 발명의 다양한 실시예에 따르면, 프로세서(310)는 RCS 서버(340) 상에서의 등록 해제를 완료한 후, 셀룰러 통신을 통해 연결된 PDN과 연결을 해제하도록 제 2 통신 회로(330)를 제어할 수 있다. 셀룰러 통신을 통해 연결된 PDN과 연결을 해제하는 것은, 전자 장치(101)에 설치된 다양한 어플리케이션 중 일부 어플리케이션이 근거리 무선 통신과 연결된 상태에서도 셀룰러 통신을 통한 데이터 전송 또는 수신을 수행하는 것을 방지하기 위한 절차일 수 있다.According to various embodiments of the present disclosure, the processor 310 may control the second communication circuit 330 to release the connection with the PDN connected through cellular communication after completing deregistration on the RCS server 340 . there is. Disconnecting the connection from the PDN connected through cellular communication is a procedure for preventing some applications among various applications installed in the electronic device 101 from performing data transmission or reception through cellular communication even in a state in which short-range wireless communication is connected. can

앞서 기재된 RCS 서버(340)와의 등록 해제 및 재 등록 절차는 전자 장치(101)가 우선적으로 이용하는 통신 방식(default network)이 변경될 때마다 수행될 수 있다. 전자 장치(101)는, RCS 서버(340)와 등록이 해제된 후, RCS 서버(340)와 다시 등록될 때까지, RCS 서버(340)로 데이터를 전송하거나, RCS 서버(340)로부터 데이터를 수신할 수 없는 상황 및/또는 RCS 서버(340)로부터 데이터의 수신이 지연되는 상황이 발생할 수 있다.The above-described deregistration and re-registration procedures with the RCS server 340 may be performed whenever a communication method preferentially used by the electronic device 101 is changed. After registration with the RCS server 340 is released, the electronic device 101 transmits data to the RCS server 340 or data from the RCS server 340 until registration with the RCS server 340 again. A situation in which reception is not possible and/or a situation in which reception of data from the RCS server 340 is delayed may occur.

도 4는 본 발명의 다양한 실시예에 따른 전자 장치가, RCS 서버 및/또는 메시지 전송 서버로부터 메시지를 수신하기 위한 동작을 도시한 도면이다.4 is a diagram illustrating an operation for receiving, by an electronic device, a message from an RCS server and/or a message transmission server according to various embodiments of the present disclosure.

본 발명의 다양한 실시예에 따르면, 전자 장치(101)는 세션 개시 프로토콜(Session Initiation Protocol)과 세션 기술 프로토콜(session description protocol)에 정의된 방식을 이용하여 RCS 서버(340)와 데이터 송/수신을 위한 협상을 수행할 수 있다.According to various embodiments of the present disclosure, the electronic device 101 performs data transmission/reception with the RCS server 340 using a method defined in a session initiation protocol and a session description protocol. can negotiate for

본 발명의 다양한 실시예에 따르면, 동작 401에서, 외부 서버(350)는 전자 장치(101)로 데이터를 전송하기 위해 RCS 서버(340)에 연결 요청을 전송할 수 있다. 연결 요청은 SIP(Session Initiation Protocol에 정의된 SIPInvite 메시지 형식으로 구현될 수 있다.According to various embodiments of the present disclosure, in operation 401 , the external server 350 may transmit a connection request to the RCS server 340 in order to transmit data to the electronic device 101 . A connection request may be implemented in the form of a SIPInvite message defined in the Session Initiation Protocol (SIP).

본 발명의 다양한 실시예에 따르면, 동작 403에서, RCS 서버(430)는 전자 장치(101)로 데이터를 전송하기 위해 전자 장치(101)에 연결 요청을 전송할 수 있다. 연결 요청은 SIP(Session Initiation Protocol) 에 정의된 SIP Invite 메시지 형식으로 구현될 수 있다.According to various embodiments of the present disclosure, in operation 403 , the RCS server 430 may transmit a connection request to the electronic device 101 in order to transmit data to the electronic device 101 . A connection request may be implemented in the form of a SIP Invite message defined in SIP (Session Initiation Protocol).

본 발명의 다양한 실시예에 따르면, 동작 405에서, 전자 장치(101)는 연결 요청을 수신함에 대응하여, RCS 서버(340)가 전송하는 데이터를 수신할 준비를 시작하는 것을 지시하는 메시지인 수신 준비 메시지를 RCS 서버(340)로 전송할 수 있다. 수신 준비 메시지는 SIP에 정의된 180 Ringing 메시지 형식으로 구현될 수 있다.According to various embodiments of the present disclosure, in operation 405 , in response to receiving the connection request, the electronic device 101 is a reception preparation message indicating that the RCS server 340 starts preparing to receive data transmitted. The message may be sent to the RCS server 340 . The reception preparation message can be implemented in the form of 180 Ringing message defined in SIP.

본 발명의 다양한 실시예에 따르면, 동작 407에서, 전자 장치(101)는 RCS 서버(340)가 전송할 데이터의 수신 준비를 완료했음을 지시하는 메시지인 수신 준비 완료 메시지를 RCS 서버(340)에 전송할 수 있다. 수신 준비 완료 메시지는 SIP에 정의된 200 OK 메시지 형식으로 구현될 수 있다.According to various embodiments of the present disclosure, in operation 407 , the electronic device 101 may transmit to the RCS server 340 a reception preparation completion message, which is a message indicating that the RCS server 340 has completed reception preparation for data to be transmitted. there is. The ready to receive message may be implemented in the form of a 200 OK message defined in SIP.

본 발명의 다양한 실시예에 따르면, 동작 409에서, 전자 장치(101), RCS 서버(340) 및/또는 외부 서버(350)는 데이터의 전송 또는 수신을 위한 MSRP(Message Session Relay Protocol) 세션(session)의 설립을 수행할 수 있다.According to various embodiments of the present disclosure, in operation 409 , the electronic device 101 , the RCS server 340 and/or the external server 350 performs a Message Session Relay Protocol (MSRP) session for data transmission or reception. ) can be established.

본 발명의 다양한 실시예에 따르면, 동작 411에서, 외부 서버(350)는 RCS 서버(340)를 통해 데이터를 전자 장치(101)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 411 , the external server 350 may transmit data to the electronic device 101 through the RCS server 340 .

본 발명의 다양한 실시예에 따르면, RCS 서버(340)를 통해 전자 장치(101)가 수신하는 데이터는, RCS 규격에 따라 교환 가능한 데이터일 수 있다. 예를 들면, RCS 규격에 따라 교환 가능한 데이터의 종류는 메시지(instant message, IM) 타입, 파일 전송(file transfer, FT) 타입, 챗봇(chatbot) 메시지 타입, 스트리밍 데이터 타입 및/또는 화면 공유 타입 데이터 타입을 포함하는 다양한 종류를 포함할 수 있다.According to various embodiments of the present disclosure, data received by the electronic device 101 through the RCS server 340 may be exchangeable data according to the RCS standard. For example, the types of data exchangeable according to the RCS standard include an instant message (IM) type, a file transfer (FT) type, a chatbot message type, a streaming data type, and/or a screen sharing type data. It may include various kinds including types.

본 발명의 다양한 실시예에 따르면, 동작 413에서, 전자 장치(101)는 데이터의 수신을 완료하고, 데이터의 수신을 완료함을 지시하는 메시지를 외부 서버(350)로 전송할 수 있다. 데이터가 복수 개의 패킷으로 구성되는 경우, 전자 장치(101)는 패킷 하나를 수신할 때 마다, MSRP에 정의된 200 OK 메시지 형식으로 구현된 데이터 수신을 성공함을 지시하는 메시지를 RCS 서버(340) 로 전송할 수 있다. 전자 장치(101)는 모든 패킷의 수신을 성공하는 경우, RCS에 정의된 delivered 메시지 형식으로 구현된 데이터 수신을 완료함을 지시하는 메시지를 RCS 서버(340)를 통해 외부 서버(350)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 413 , the electronic device 101 may complete the data reception and transmit a message indicating that the data reception is complete to the external server 350 . When the data is composed of a plurality of packets, the electronic device 101 sends a message indicating that data reception succeeded in the format of the 200 OK message defined in the MSRP to the RCS server 340 whenever it receives one packet. can be sent to When reception of all packets is successful, the electronic device 101 may transmit a message instructing completion of data reception implemented in the delivered message format defined in the RCS to the external server 350 through the RCS server 340 . there is.

상기에 기재된 동작들은 전자 장치(101)와 외부 서버(350) 사이의 데이터의 전송 또는 수신이 성공하는 경우를 가정하고 기재된 동작들이다.The operations described above are described on the assumption that data transmission or reception between the electronic device 101 and the external server 350 is successful.

본 발명의 다양한 실시예에 따르면, 전자 장치(101)는 동작 401 내지 동작 413의 동작을 수행하는 동안, 전자 장치(101)가 우선적으로 이용하는 통신 방식(default network)의 변경이 발생할 수 있다. 예를 들면, 전자 장치(101)는 셀룰러 통신을 통해 RCS 서버(430)와의 데이터를 교환하는 상황에서, 셀룰러 통신을 이용한 데이터 교환 모드에서 근거리 무선 통신을 이용한 데이터 교환 모드로 전환될 수 있다. 또는, 전자 장치(101)는 근거리 무선 통신을 통해 RCS 서버(430)와의 데이터를 교환하는 상황에서, 근거리 무선 통신을 이용한 데이터 교환 모드에서 셀룰러 통신을 이용한 데이터 교환 모드로 전환될 수 있다.According to various embodiments of the present disclosure, while the electronic device 101 performs operations 401 to 413 , a change in a communication method preferentially used by the electronic device 101 may occur. For example, in a situation in which the electronic device 101 exchanges data with the RCS server 430 through cellular communication, the electronic device 101 may switch from a data exchange mode using cellular communication to a data exchange mode using short-range wireless communication. Alternatively, in a situation in which the electronic device 101 exchanges data with the RCS server 430 through short-range wireless communication, the electronic device 101 may switch from a data exchange mode using short-range wireless communication to a data exchange mode using cellular communication.

이 경우, 전자 장치(101)는 연결되어 있던 통신이 해제되는 과정에서, RCS 서버(340)와 등록이 해제된 후, RCS 서버(340)와 다시 등록될 때까지, RCS 서버(340)로 데이터를 전송하거나, RCS 서버(340)로부터 데이터를 수신할 수 없는 상황 및/또는 RCS 서버(340)로부터 데이터의 수신이 지연되는 상황이 발생할 수 있다.In this case, the electronic device 101 releases data from the RCS server 340 until it is registered again with the RCS server 340 after the registration with the RCS server 340 is released in the process of disconnecting the connected communication. , a situation in which data cannot be received from the RCS server 340 and/or a situation in which reception of data from the RCS server 340 is delayed may occur.

예를 들면, 전자 장치(101)는 RCS 서버(340)로부터 연결 요청을 수신하는 동작(403) 이전, RCS 서버(340)와 등록이 해제될 수 있다(421). 이 경우, RCS 서버(340)는 외부 서버(350)가 전송하는 데이터를 임시로 저장할 수 있다. RCS 서버(340)는 전자 장치(101)가 RCS 서버(340)로 등록이 완료된 후, 임시로 저장한 데이터를 전자 장치(101)로 전송할 수 있다. 이 경우, 외부 서버(350)가 데이터를 전송한 시간으로부터 전자 장치(101)가 데이터를 수신할 때 까지 약 30초가 소요될 수 있어, RCS 서버(340)로부터의 데이터의 수신이 지연되는 상황이 발생할 수 있다.For example, before the operation 403 of receiving the connection request from the RCS server 340 , the electronic device 101 may be deregistered from the RCS server 340 ( 421 ). In this case, the RCS server 340 may temporarily store data transmitted by the external server 350 . The RCS server 340 may transmit temporarily stored data to the electronic device 101 after registration of the electronic device 101 with the RCS server 340 is completed. In this case, it may take about 30 seconds from the time when the external server 350 transmits the data until the electronic device 101 receives the data, so that the reception of data from the RCS server 340 is delayed. can

다른 예를 들면, 전자 장치(101)는 수신 준비 메시지를 전송(405)한 후, 수신 준비 완료 메시지를 전송(407)하기 이전, RCS 서버(340)와 등록이 해제될 수 있다(423). 이 경우, RCS 서버(340)는 수신 준비 완료 메시지를 전자 장치(101)로부터 수신하지 못할 수 있다. RCS 서버(340)는 지정된 시간(예: 1분)이 지난 후, 데이터의 전송을 실패한 것으로 처리할 수 있으며, 전자 장치(101)는 RCS 서버(340)로부터 데이터를 수신하지 못할 수 있다.As another example, after transmitting ( 405 ) the reception preparation message, the electronic device 101 may cancel registration with the RCS server 340 before transmitting ( 407 ) the reception preparation message ( 423 ). In this case, the RCS server 340 may not receive the reception preparation completion message from the electronic device 101 . After a specified time (eg, 1 minute) has elapsed, the RCS server 340 may treat data transmission as failed, and the electronic device 101 may not receive data from the RCS server 340 .

다른 예를 들면, 전자 장치(101)는 수신 준비 완료 메시지를 RCS 서버(340)로 전송한 후(407), 세션 설립을 수행하기 이전(409), RCS 서버(340)와 등록이 해제될 수 있다(425). 이 경우, RCS 서버(340)는 전자 장치(101)가 RCS 서버(340)로 등록이 완료된 후, 임시로 저장한 데이터를 전자 장치(101)로 전송할 수 있다. 이 경우, 외부 서버(350)가 데이터를 전송한 시간으로부터 전자 장치(101)가 데이터를 수신할 때까지 약 30초가 소요될 수 있어, RCS 서버(340)로부터의 데이터의 수신이 지연되는 상황이 발생할 수 있다. 또는, RCS 서버(340)는 지정된 시간(예: 1분)이 지난 후, 데이터의 전송을 실패한 것으로 처리할 수 있으며, 전자 장치(101)는 RCS 서버(340)로부터 데이터를 수신하지 못할 수 있다.As another example, after the electronic device 101 transmits the reception preparation complete message to the RCS server 340 (407), before performing session establishment (409), registration with the RCS server 340 may be canceled. There is (425). In this case, the RCS server 340 may transmit temporarily stored data to the electronic device 101 after registration of the electronic device 101 with the RCS server 340 is completed. In this case, it may take about 30 seconds from the time the external server 350 transmits the data until the electronic device 101 receives the data, so that the reception of data from the RCS server 340 is delayed. can Alternatively, the RCS server 340 may treat data transmission as failed after a specified time period (eg, 1 minute) elapses, and the electronic device 101 may not receive data from the RCS server 340 . .

다른 예를 들면, 전자 장치(101)는 RCS 서버(340)로부터 데이터를 수신한 후(411), 데이터 수신 완료 메시지를 전송(413)하기 이전, RCS 서버(340)와 등록이 해제될 수 있다(427). 이 경우, RCS 서버(340)는 데이터 수신 완료 메시지를 전자 장치(101)로부터 수신하지 못할 수 있다. RCS 서버(340)는 지정된 시간(예: 1분)이 지난 후, 데이터의 전송을 실패한 것으로 처리할 수 있으며, 전자 장치(101)는 RCS 서버(340)로부터 데이터를 수신하지 못할 수 있다.As another example, after receiving data from the RCS server 340 ( 411 ), and before transmitting ( 413 ) a data reception completion message, the electronic device 101 may release registration with the RCS server 340 . (427). In this case, the RCS server 340 may not receive the data reception completion message from the electronic device 101 . After a specified time (eg, 1 minute) has elapsed, the RCS server 340 may treat data transmission as failed, and the electronic device 101 may not receive data from the RCS server 340 .

이 경우, 전자 장치(101)는 연결되어 있던 통신이 해제되는 과정에서, RCS 서버(340)와 등록이 해제된 후, RCS 서버(340)와 다시 등록될 때까지, RCS 서버(340)로 데이터를 전송하거나, RCS 서버(340)로부터 데이터를 수신할 수 없는 상황 및/또는 RCS 서버(340)로부터 데이터의 수신이 지연되는 상황이 발생할 수 있다.In this case, the electronic device 101 releases data from the RCS server 340 until it is registered again with the RCS server 340 after the registration with the RCS server 340 is released in the process of disconnecting the connected communication. , a situation in which data cannot be received from the RCS server 340 and/or a situation in which reception of data from the RCS server 340 is delayed may occur.

앞서 기재된 실시예들은, 전자 장치(101)가 우선적으로 이용하는 통신 방식이 변경됨에 따라, 변경된 통신 방식을 이용한 RCS 서버(340)와 재등록 절차를 수행함에 따라 발생할 수 있다. 이하에서는, 앞서 기재된 현상을 방지하기 위한 실시예에 대해서 서술한다.The above-described embodiments may occur as the communication method preferentially used by the electronic device 101 is changed, and a re-registration procedure is performed with the RCS server 340 using the changed communication method. Hereinafter, an embodiment for preventing the above-described phenomenon will be described.

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

도 5를 참조하면, 본 발명의 다양한 실시예에 따른 전자 장치(예; 도 1의 전자 장치(101))는 프로세서(예: 도 1의 프로세서(120))(310), 제 1 통신 회로(예: 도 1의 무선 통신 모듈(192)) (320) 및/또는 제 2 통신 회로(예: 도 1의 무선 통신 모듈(192)) (330)를 포함할 수 있다.Referring to FIG. 5 , an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure includes a processor (eg, the processor 120 of FIG. 1 ) 310 , a first communication circuit ( For example, it may include the wireless communication module 192 of FIG. 1 ) 320 and/or the second communication circuit (eg, the wireless communication module 192 of FIG. 1 ) 330 .

본 발명의 다양한 실시예에 따르면, 제 1 통신 회로(320)는 근거리 무선 통신을 통한 데이터 전송 또는 수신을 수행할 수 있다. 근거리 무선 통신은 셀룰러 통신을 제외한 다른 무선 통신을 의미할 수 있다. 예를 들면, 근거리 무선 통신은 Wi-Fi를 포함하는 다양한 방식의 무선 네트워크를 통한 데이터를 전송하거나, 수신하는 통신 방식을 의미할 수 있다. 제 1 통신 회로(320)는 근거리 무선 통신을 통해 외부 서버로부터 데이터를 수신하고, 수신한 데이터를 프로세서(310)로 전송할 수 있다.According to various embodiments of the present disclosure, the first communication circuit 320 may transmit or receive data through short-range wireless communication. Short-range wireless communication may refer to other wireless communication than cellular communication. For example, short-range wireless communication may refer to a communication method for transmitting or receiving data through various types of wireless networks including Wi-Fi. The first communication circuit 320 may receive data from an external server through short-range wireless communication and transmit the received data to the processor 310 .

본 발명의 다양한 실시예에 따르면, 제 2 통신 회로(330)는 셀룰러 통신을 통한 데이터 전송 또는 수신을 수행할 수 있다. 셀룰러 통신은 기지국(base station)을 통해 데이터를 전송하거나, 수신하는 통신을 의미할 수 있다. 예를 들면, 셀룰러 통신은 4세대 이동 통신(LTE, long term evolution) 또는 5세대 이동 통신(NR, new radio)을 의미할 수 있다. 제 2 통신 회로(330)는 셀룰러 통신을 통해 외부 서버로부터 데이터를 수신하고, 수신한 데이터를 프로세서(310)로 전송할 수 있다.According to various embodiments of the present disclosure, the second communication circuit 330 may transmit or receive data through cellular communication. Cellular communication may refer to communication in which data is transmitted or received through a base station. For example, cellular communication may mean 4th generation mobile communication (LTE, long term evolution) or 5th generation mobile communication (NR, new radio). The second communication circuit 330 may receive data from an external server through cellular communication and transmit the received data to the processor 310 .

본 발명의 다양한 실시예에 따르면, 프로세서(310)는 RCS(rich communication service)를 수행하기 위해 제 1 통신 회로(320) 및/또는 제 2 통신 회로(330)를 제어할 수 있다. RCS는 패킷 데이터 기반의 커뮤니케이션 서비스로, 문자 메시지, 이미지, 동영상, 음성을 포함하는 다양한 컨텐츠를 전송하거나, 수신하기 위한 커뮤니케이션 서비스를 의미할 수 있다. RCS는 지정된 크기 이하의 문자 메시지를 전송하거나 수신하는 SMS(short message service), 지정된 크기 이상의 문자 메시지 및/또는 컨텐츠를 포함하는 메시지를 전송하거나 수신하는 MMS(multimedia messaging service) 이후에 정의된 커뮤니케이션 서비스이다.According to various embodiments of the present disclosure, the processor 310 may control the first communication circuit 320 and/or the second communication circuit 330 to perform a rich communication service (RCS). The RCS is a communication service based on packet data, and may refer to a communication service for transmitting or receiving various contents including text messages, images, videos, and voices. RCS is a communication service defined after short message service (SMS) for sending or receiving text messages of a specified size or smaller, and multimedia messaging service (MMS) for sending or receiving messages containing text messages and/or content over a specified size. am.

본 발명의 다양한 실시예에 따르면, 프로세서(310) 상에는 어플리케이션 레이어(예: 도 2의 어플리케이션(146))(510), 프레임워크(예: 도 2의 미들웨어(144))(520) 및/또는 인터페이스(530)를 포함할 수 있다.According to various embodiments of the present disclosure, on the processor 310, an application layer (eg, application 146 of FIG. 2 ) 510 , a framework (eg, middleware 144 of FIG. 2 ) 520 and/or It may include an interface 530 .

본 발명의 다양한 실시예에 따르면, 어플리케이션 레이어(510)는 특정 기능을 수행하기 위한 어플리케이션들이 구현된 레이어일 수 있다. 어플리케이션 레이어(510)는 RCS 어플리케이션(511)을 포함할 수 있다. RCS 어플리케이션(511)은 RCS 서버(예: 도 3의 RCS 서버(340))와 전자 장치(101) 사이의 교환된 데이터를 처리하고, 디스플레이 또는 출력하는 기능을 수행하는 어플리케이션일 수 있다. RCS 어플리케이션(511)은 교환된 데이터를 사용자에게 제공할 수 있는 사용자 인터페이스(user interface)를 제공할 수 있다. 예를 들면, RCS 어플리케이션(511)은 RCS 서버(340)로부터 수신한 메시지를 사용자에게 제공하는 인터페이스를 제공할 수 있으며, RCS 서버(340)를 통해 외부 장치(예: 도 1의 전자 장치(104))로 전송하기 위한 데이터를 입력할 수 있는 인터페이스를 제공할 수 있다.According to various embodiments of the present disclosure, the application layer 510 may be a layer in which applications for performing a specific function are implemented. The application layer 510 may include an RCS application 511 . The RCS application 511 may be an application that processes, displays, or outputs data exchanged between the RCS server (eg, the RCS server 340 of FIG. 3 ) and the electronic device 101 . The RCS application 511 may provide a user interface capable of providing the exchanged data to the user. For example, the RCS application 511 may provide an interface for providing a user with a message received from the RCS server 340 , and an external device (eg, the electronic device 104 of FIG. 1 ) through the RCS server 340 . )) can provide an interface to input data for transmission.

본 발명의 다양한 실시예에 따르면, 프레임워크(520)는 RCS와 관련된 기능에 대한 API(application programming interface)를 제공할 수 있다. 프레임 워크(520)는 RCS 서버(340)와 전자 장치(101) 사이의 등록 및 등록 해제를 수행하는 등록 매니저(521) 및/또는 셀룰러 통신 및/또는 근거리 무선 통신 관련 네트워크 정보를 관리하는 PDN 컨트롤러(523)를 포함할 수 있다.According to various embodiments of the present disclosure, the framework 520 may provide an application programming interface (API) for functions related to RCS. The framework 520 includes a registration manager 521 that performs registration and de-registration between the RCS server 340 and the electronic device 101 and/or a PDN controller that manages cellular communication and/or short-range wireless communication related network information. (523).

본 발명의 다양한 실시예에 따르면, 인터페이스(530)는 제 1 통신 회로(320) 및/또는 제 2 통신 회로(330)와 프레임워크(520) 사이의 인터페이스를 제공할 수 있다. 인터페이스(530)는 셀룰러 통신 및/또는 근거리 무선 통신의 연결 상태를 확인 및/또는 제어하거나, 전자 장치(101)가 우선적으로 이용하는 네트워크의 변경을 감지하는 커넥티비티 매니저(예: 도 2의 커넥티비티 매니저(215))(531)를 포함할 수 있다. According to various embodiments of the present disclosure, the interface 530 may provide an interface between the first communication circuit 320 and/or the second communication circuit 330 and the framework 520 . The interface 530 is a connectivity manager (eg, the connectivity manager of FIG. 2 ) that checks and/or controls a connection state of cellular communication and/or short-range wireless communication, or detects a change in a network preferentially used by the electronic device 101 . 215)) (531).

본 발명의 다양한 실시예에 따르면, 전자 장치(101)가 셀룰러 통신을 통해 RCS 서버(340)와 연결된 상태일 수 있다. 이 경우, RCS 서버(340)는 셀룰러 통신에 대응하는 전자 장치(101)의 IP 주소에 기반하여 데이터를 전자 장치(101)로 전송할 수 있다. According to various embodiments of the present disclosure, the electronic device 101 may be connected to the RCS server 340 through cellular communication. In this case, the RCS server 340 may transmit data to the electronic device 101 based on the IP address of the electronic device 101 corresponding to cellular communication.

본 발명의 다양한 실시예에 따르면, 프로세서(310)는 다양한 원인(예: 근거리 무선 통신을 연결하는 사용자 입력을 수신, 셀룰러 통신의 상태가 저하)에 의해, 셀룰러 통신에서 근거리 무선 통신으로 연결을 전환할 것을 결정할 수 있다. 프로세서(310)는 근거리 무선 통신을 통한 데이터 통신을 수행하기 위한 동작을 수행할 수 있다.According to various embodiments of the present disclosure, the processor 310 switches the connection from the cellular communication to the short-range wireless communication due to various causes (eg, receiving a user input connecting the short-range wireless communication, the state of the cellular communication is deteriorated) can decide what to do. The processor 310 may perform an operation for performing data communication through short-range wireless communication.

커넥티비티 매니저(531)는 셀룰러 통신이 연결된 상태에서, 근거리 무선 통신을 통한 데이터 통신을 수행하는 상태로 전환됨을 감지할 수 있다. 커넥티비티 매니저(531)는 전자 장치(101)가 우선적으로 이용할 네트워크가 근거리 무선 통신으로 전환됨을 지시하는 정보를 PDN 컨트롤러(523)에 전송할 수 있다.The connectivity manager 531 may detect a transition from a state in which cellular communication is connected to a state in which data communication is performed through short-range wireless communication. The connectivity manager 531 may transmit, to the PDN controller 523 , information indicating that a network to be preferentially used by the electronic device 101 is switched to short-range wireless communication.

PDN 컨트롤러(523)는 커넥티비티 매니저(531)로부터 전자 장치(101)가 우선적으로 이용할 네트워크가 근거리 무선 통신으로 전환됨을 지시하는 정보를 수신하고, 근거리 무선 통신으로 전환됨을 지시하는 정보를 등록 매니저(521)에 전송할 수 있다.The PDN controller 523 receives information from the connectivity manager 531 instructing that the network to be preferentially used by the electronic device 101 is switched to short-range wireless communication, and transmits information instructing to switch to short-range wireless communication to the registration manager 521 ) can be sent to

등록 매니저(521)는 PDN 컨트롤러(523)로부터 우선적으로 이용할 네트워크가 근거리 무선 통신으로 전환됨을 수신하고, 셀룰러 통신을 통해 RCS 서버(340)와의 등록 해제 절차를 수행할 수 있다. RCS 서버(340) 상에서 등록을 해제하는 절차는 이전에 등록된 전자 장치(101)의 IP 주소를 RCS 서버(340) 상에서 삭제하는 절차를 포함할 수 있다. 이전에 등록된 전자 장치(101)의 IP 주소는 셀룰러 통신에 대응하는 전자 장치(101)의 IP 주소일 수 있다.The registration manager 521 may receive from the PDN controller 523 that the network to be preferentially used is switched to short-range wireless communication, and may perform a deregistration procedure with the RCS server 340 through cellular communication. The procedure of canceling registration on the RCS server 340 may include a procedure of deleting the previously registered IP address of the electronic device 101 on the RCS server 340 . The previously registered IP address of the electronic device 101 may be an IP address of the electronic device 101 corresponding to cellular communication.

등록 매니저(521)는 RCS 서버(340)와의 등록 해제 절차에서 요구되는 메시지들을 제 2 통신 회로(330)로부터 수신하거나, 제 2 통신 회로(330)를 통해 전송할 수 있다. The registration manager 521 may receive messages required in a deregistration procedure with the RCS server 340 from the second communication circuit 330 or transmit them through the second communication circuit 330 .

본 발명의 다양한 실시예에 따르면, 등록 매니저(521)는 RCS 서버(340) 상에서의 등록 해제를 완료한 후, 셀룰러 통신을 통해 연결된 PDN과 연결을 해제하도록 PDN 컨트롤러(523)에 지시할 수 있다. PDN 컨트롤러(523)는 PDN 연결 해제 요청을 커넥티비티 매니저(531)에 전송하는 방식으로 제 2 통신 회로(330)를 제어할 수 있다. 셀룰러 통신을 통해 연결된 PDN과 연결을 해제하는 것은, 전자 장치(101)에 설치된 다양한 어플리케이션 중 일부 어플리케이션이 근거리 무선 통신과 연결된 상태에서도 셀룰러 통신을 통한 데이터 전송 또는 수신을 수행하는 것을 방지하기 위한 절차일 수 있다.According to various embodiments of the present disclosure, the registration manager 521 may instruct the PDN controller 523 to release the connection with the PDN connected through cellular communication after completing the deregistration on the RCS server 340 . . The PDN controller 523 may control the second communication circuit 330 by transmitting a PDN connection release request to the connectivity manager 531 . Disconnecting the connection from the PDN connected through cellular communication is a procedure for preventing some applications among various applications installed in the electronic device 101 from performing data transmission or reception through cellular communication even in a state in which short-range wireless communication is connected. can

본 발명의 다양한 실시예에 따르면, 등록 매니저(521)는 RCS 서버(340) 상에서 등록 해제를 완료한 후, RCS 서버(340)와 등록 절차를 다시 수행하기 위한 일련의 동작들을 수행할 수 있다. 등록 매니저(521)는 근거리 무선 통신이 아닌 셀룰러 통신에 대응하는 전자 장치(101)의 IP 주소를 RCS 서버(340)에 다시 등록하기 위한 동작들을 수행할 수 있다.According to various embodiments of the present disclosure, the registration manager 521 may perform a series of operations for re-performing a registration procedure with the RCS server 340 after completing deregistration on the RCS server 340 . The registration manager 521 may perform operations for re-registering the IP address of the electronic device 101 corresponding to cellular communication, not short-range wireless communication, to the RCS server 340 .

본 발명의 다양한 실시예에 따르면, 등록 매니저(521)는 전자 장치(101)와 PDN을 연결하도록 PDN 컨트롤러(523)에 요청할 수 있다. PDN은 RCS 서버(340)와 전자 장치(101) 사이의 통신을 위한 PDN일 수 있다. PDN 컨트롤러(523)는 PDN 연결 요청을 등록 매니저(521)로부터 수신하고, 커넥티비티 매니저(531)에 PDN 연결 요청을 전송할 수 있다. PDN 연결 요청은 연결하고자 하는 PDN 정보(예: RCS 서버(340)와 전자 장치(101) 사이의 통신을 위한 PDN을 지시하는 정보)를 포함할 수 있다. 커넥티비티 매니저(531)는 PDN 연결 요청에 대응하여, PDN과 전자 장치(101) 사이의 연결을 수행하도록 제 2 통신 회로(330)를 제어할 수 있다.According to various embodiments of the present disclosure, the registration manager 521 may request the PDN controller 523 to connect the electronic device 101 and the PDN. The PDN may be a PDN for communication between the RCS server 340 and the electronic device 101 . The PDN controller 523 may receive the PDN connection request from the registration manager 521 and transmit the PDN connection request to the connectivity manager 531 . The PDN connection request may include PDN information to be connected (eg, information indicating a PDN for communication between the RCS server 340 and the electronic device 101 ). The connectivity manager 531 may control the second communication circuit 330 to establish a connection between the PDN and the electronic device 101 in response to the PDN connection request.

본 발명의 다양한 실시예에 따르면, 커넥티비티 매니저(531)는 RCS 서버(340)와 전자 장치(101) 사이의 통신을 위한 PDN을 연결하도록 제 2 통신 회로(330)를 제어할 수 있다. RCS 어플리케이션(511)을 제외한 다른 어플리케이션들은 근거리 무선 통신을 통한 데이터 전송 또는 수신을 수행할 수 있다. 커넥티비티 매니저(531)는 RCS 어플리케이션(511)을 제외한 다른 어플리케이션들이 전송하는 데이터를 근거리 무선 통신을 통하여 전송하도록 제 1 통신 회로(320)를 제어할 수 있다.According to various embodiments of the present disclosure, the connectivity manager 531 may control the second communication circuit 330 to connect the PDN for communication between the RCS server 340 and the electronic device 101 . Applications other than the RCS application 511 may perform data transmission or reception through short-range wireless communication. The connectivity manager 531 may control the first communication circuit 320 to transmit data transmitted by applications other than the RCS application 511 through short-range wireless communication.

본 발명의 다양한 실시예에 따르면, 커넥티비티 매니저(531)는 RCS 서버(340)와 전자 장치(101) 사이의 통신을 위한 PDN을 연결이 완료됨을 지시하는 메시지를 PDN 컨트롤러(523)에 전송할 수 있다. PDN 컨트롤러(523)는 RCS 서버(340)와 전자 장치(101) 사이의 통신을 위한 PDN을 연결이 완료됨을 지시하는 메시지를 등록 매니저(521)에 전송할 수 있다. 등록 매니저(521)는 RCS 서버(340)와 전자 장치(101) 사이의 통신을 위한 PDN을 이용하여, RCS 서버(340)와 등록 절차를 다시 수행할 수 있다. 전자 장치(101)를 RCS 서버(340) 상에 등록하는 절차는 전자 장치(101)가 데이터를 RCS 서버(340)로부터 수신하거나, RCS 서버(340)로 데이터를 전송하는데 이용하는 전자 장치(101)의 주소를 RCS 서버(340)에 등록하는 절차를 포함할 수 있다. 전자 장치(101)의 주소는, 셀룰러 통신을 제공하는 셀룰러 네트워크 상에서의 전자 장치(101)의 IP 주소를 의미할 수 있다.According to various embodiments of the present disclosure, the connectivity manager 531 may transmit a message indicating that connection of the PDN for communication between the RCS server 340 and the electronic device 101 is completed to the PDN controller 523 . . The PDN controller 523 may transmit a message indicating that the connection of the PDN for communication between the RCS server 340 and the electronic device 101 is completed to the registration manager 521 . The registration manager 521 may perform a registration procedure with the RCS server 340 again by using the PDN for communication between the RCS server 340 and the electronic device 101 . In the procedure of registering the electronic device 101 on the RCS server 340 , the electronic device 101 receives data from the RCS server 340 or uses the electronic device 101 to transmit data to the RCS server 340 . It may include a procedure of registering the address of the RCS server (340). The address of the electronic device 101 may mean an IP address of the electronic device 101 on a cellular network providing cellular communication.

본 발명의 다양한 실시예에 따르면, RCS 서버(340)는 등록된 전자 장치(101)의 IP 주소를 이용하여 데이터를 전자 장치(101)로 전송할 수 있다. 전자 장치(101)는 RCS 서버(340)와 전자 장치(101)의 통신을 위한 PDN(packet data network)를 통해 데이터를 RCS 서버(340)로부터 수신할 수 있다. According to various embodiments of the present disclosure, the RCS server 340 may transmit data to the electronic device 101 using the registered IP address of the electronic device 101 . The electronic device 101 may receive data from the RCS server 340 through a packet data network (PDN) for communication between the RCS server 340 and the electronic device 101 .

이 경우, 전자 장치(101)는 셀룰러 통신을 통하여 RCS 서버(340)와 연결되고, 셀룰러 통신을 통해 RCS 서버(340)와 데이터를 교환할 수 있다. 전자 장치(101)는 RCS 서버(340)가 아닌 다른 외부 장치(예: 도 1의 전자 장치(104))와 전자 장치(101) 사이에서는 근거리 무선 통신을 통해 데이터 교환을 수행할 수 있다.In this case, the electronic device 101 may be connected to the RCS server 340 through cellular communication and exchange data with the RCS server 340 through cellular communication. The electronic device 101 may perform data exchange between the electronic device 101 and an external device other than the RCS server 340 (eg, the electronic device 104 of FIG. 1 ) through short-range wireless communication.

앞서 기재된 RCS 서버(340)와의 등록 해제 및 재 등록 절차는 전자 장치(101)가 우선적으로 이용하는 통신 방식(default network)의 변경과 관계 없이, 셀룰러 통신을 통하여 구현될 수 있다. The above-described deregistration and re-registration procedures with the RCS server 340 may be implemented through cellular communication regardless of a change in a communication method preferentially used by the electronic device 101 (default network).

본 발명의 다양한 실시예에 따르면, 프로세서(310)는 다양한 원인(예: 셀룰러 통신을 연결하는 사용자 입력을 수신, 근거리 무선 통신의 상태가 저하)에 의해, 근거리 무선 통신에서 셀룰러 통신으로 연결을 전환할 것을 결정할 수 있다. 프로세서(310)는 셀룰러 통신을 통한 데이터 통신을 수행하기 위한 동작을 수행할 수 있다.According to various embodiments of the present disclosure, the processor 310 switches the connection from short-range wireless communication to cellular communication due to various causes (eg, receiving a user input connecting cellular communication, the state of short-range wireless communication is deteriorated) can decide what to do. The processor 310 may perform an operation for performing data communication through cellular communication.

커넥티비티 매니저(531)는 근거리 무선 통신이 연결된 상태에서, 셀룰러 통신을 통한 데이터 통신을 수행하는 상태로 전환됨을 감지할 수 있다. 커넥티비티 매니저(531)는 전자 장치(101)가 우선적으로 이용할 네트워크가 셀룰러 통신으로 전환됨을 지시하는 정보를 PDN 컨트롤러(523)에 전송할 수 있다. PDN 컨트롤러(523)는 전자 장치(101)가 우선적으로 이용할 네트워크가 셀룰러 통신으로 전환됨을 지시하는 정보를 수신하고, 기존에 연결된 PDN(예: RCS 서버(340)와 전자 장치(101) 사이의 통신을 위한 PDN)을 포함하는 다양한 PDN을 연결할 수 있다. 전자 장치(101)는 RCS 서버(340)가 아닌 다른 외부 장치(예: 도 1의 전자 장치(104))와 전자 장치(101)와 셀룰러 통신을 통해 데이터 교환을 수행할 수 있다.The connectivity manager 531 may detect a transition from a state in which short-range wireless communication is connected to a state in which data communication is performed through cellular communication. The connectivity manager 531 may transmit, to the PDN controller 523 , information indicating that the network to be preferentially used by the electronic device 101 is switched to cellular communication. The PDN controller 523 receives information indicating that the network to be preferentially used by the electronic device 101 is switched to cellular communication, and communicates between the previously connected PDN (eg, the RCS server 340 and the electronic device 101 ). You can connect various PDNs, including PDNs for The electronic device 101 may exchange data with an external device other than the RCS server 340 (eg, the electronic device 104 of FIG. 1 ) and the electronic device 101 through cellular communication.

본 발명의 다양한 실시예에 따르면, 전자 장치(101)가 우선적으로 이용하는 통신 방식이 근거리 무선 통신인 상태에서도, 전자 장치(101)는 셀룰러 통신을 통해 RCS 서버(340)와 등록 절차를 수행할 수 있으므로, 등록 매니저(521)는 전자 장치(101)가 우선적으로 이용하는 통신 방식이 근거리 무선 통신에서 셀룰러 통신으로 변경됨과 관계 없이, RCS 서버(340)와의 등록 상태를 유지할 수 있다. 이 경우, PDN 컨트롤러(523)는 RCS 서버(340)와 전자 장치(101) 사이의 통신을 위한 PDN 연결을 유지할 수 있다. According to various embodiments of the present disclosure, even when the communication method preferentially used by the electronic device 101 is short-range wireless communication, the electronic device 101 may perform a registration procedure with the RCS server 340 through cellular communication. Therefore, the registration manager 521 may maintain the registration state with the RCS server 340 regardless of a communication method preferentially used by the electronic device 101 is changed from short-range wireless communication to cellular communication. In this case, the PDN controller 523 may maintain a PDN connection for communication between the RCS server 340 and the electronic device 101 .

전자 장치(101)가 우선적으로 이용하는 통신 방식이 근거리 무선 통신에서 셀룰러 통신으로 변경되는 상태에서, 전자 장치(101)는 RCS 서버(340)와의 등록 해제 절차 및/또는 RCS 서버(340)와의 등록 절차를 수행하지 않을 수 있다. In a state where the communication method preferentially used by the electronic device 101 is changed from short-range wireless communication to cellular communication, the electronic device 101 performs a deregistration procedure with the RCS server 340 and/or a registration procedure with the RCS server 340 . may not be performed.

본 발명의 다양한 실시예에 따른 전자 장치(101)는, 전자 장치(101)가 우선적으로 이용하는 통신 방식이 근거리 무선 통신에서 셀룰러 통신으로 전환되는 경우, RCS 서버(340)와 전자 장치(101) 사이의 등록 해제 및 재등록 절차를 수행할 필요가 없어, RCS 서버(340)와 등록이 해제된 후, RCS 서버(340)와 다시 등록될 때까지, RCS 서버(340)로 데이터를 전송하거나, RCS 서버(340)로부터 데이터를 수신할 수 없는 상황 및/또는 RCS 서버(340)로부터 데이터의 수신이 지연되는 상황을 방지할 수 있다.In the electronic device 101 according to various embodiments of the present disclosure, when a communication method preferentially used by the electronic device 101 is switched from short-range wireless communication to cellular communication, between the RCS server 340 and the electronic device 101 . There is no need to perform the de-registration and re-registration procedures of the RCS server 340, and after the registration with the RCS server 340 is released, data is transmitted to the RCS server 340 until it is re-registered with the RCS server 340, or It is possible to prevent a situation in which data cannot be received from the server 340 and/or a situation in which reception of data from the RCS server 340 is delayed.

도 6은 본 발명의 다양한 실시예에 따른 전자 장치가, 셀룰러 통신을 통해 RCS 서버와 등록 절차를 수행하는 실시예를 도시한 도면이다.6 is a diagram illustrating an embodiment in which an electronic device performs a registration procedure with an RCS server through cellular communication according to various embodiments of the present disclosure.

도 6은 본 발명의 다양한 실시예에 따른 전자 장치(예: 도 5의 전자 장치(101)) 및 비교예에 따른 전자 장치(미도시)가 기본 네트워크가 전환되는 상태에서 RCS 서버와 등록 절차를 수행하는 실시예를 도시하고 있다.6 is an electronic device (eg, the electronic device 101 of FIG. 5 ) according to various embodiments of the present invention and an electronic device (not shown) according to a comparative example performing a registration procedure with an RCS server in a state in which a basic network is switched. An example to be performed is shown.

셀룰러 통신(611)이 연결된 상태에서, 전자 장치(101)는 셀룰러 통신을 통해 RCS 서버(340)와 등록된 상태일 수 있다. 전자 장치(101)는 셀룰러 통신에 대응하는 IP 주소(또는, PDN)를 통해 RCS 서버(340)로부터 데이터를 수신할 수 있다. In a state in which the cellular communication 611 is connected, the electronic device 101 may be registered with the RCS server 340 through the cellular communication. The electronic device 101 may receive data from the RCS server 340 through an IP address (or PDN) corresponding to cellular communication.

본 발명의 다양한 실시예에 따르면, 전자 장치(101)는 다양한 원인(예: 근거리 무선 통신을 연결하는 사용자 입력을 수신, 셀룰러 통신(611)의 상태가 저하)에 의해, 셀룰러 통신(611)에서 근거리 무선 통신(613)으로 연결을 전환할 것을 결정할 수 있다. 전자 장치(101)는 근거리 무선 통신(613)을 통한 데이터 통신을 수행하기 위한 동작을 수행할 수 있다. According to various embodiments of the present disclosure, the electronic device 101 performs cellular communication in the cellular communication 611 due to various causes (eg, receiving a user input connecting short-range wireless communication, the state of the cellular communication 611 is deteriorated). It may be determined to switch the connection to short-range wireless communication 613 . The electronic device 101 may perform an operation for performing data communication through short-range wireless communication 613 .

비교예와 본 발명의 실시예 모두, 전자 장치(101)가 우선적으로 이용하는 통식 방식이 셀룰러 통신(611)에서 근거리 무선 통신(613)으로 변경됨에 따라, RCS 서버(340)와의 등록 해제 절차를 수행할 수 있다. RCS 서버(340) 상에서 등록을 해제하는 절차는 이전에 등록된 전자 장치(101)의 IP 주소를 RCS 서버(340) 상에서 삭제하는 절차를 포함할 수 있다. 이전에 등록된 전자 장치(101)의 IP 주소는 셀룰러 통신에 대응하는 전자 장치(101)의 IP 주소일 수 있다.In both the comparative example and the embodiment of the present invention, as the communication method preferentially used by the electronic device 101 is changed from the cellular communication 611 to the short-range wireless communication 613 , a deregistration procedure with the RCS server 340 is performed. can do. The procedure of canceling registration on the RCS server 340 may include a procedure of deleting the previously registered IP address of the electronic device 101 on the RCS server 340 . The previously registered IP address of the electronic device 101 may be an IP address of the electronic device 101 corresponding to cellular communication.

본 발명의 다양한 실시예 및 비교예에 따른 전자 장치(101)는, RCS 서버(340) 상에서의 등록 해제를 완료한 후, 셀룰러 통신을 통해 연결된 PDN과 연결을 해제할 수 있다. RCS 서버(340) 상에서 등록 해제를 완료한 후, RCS 서버(340)와 등록 절차를 다시 수행하기 위한 일련의 동작들을 수행할 수 있다. After completing deregistration on the RCS server 340 , the electronic device 101 according to various embodiments of the present disclosure and comparative examples may release a connection from a PDN connected through cellular communication. After completing deregistration on the RCS server 340 , a series of operations for re-performing a registration procedure with the RCS server 340 may be performed.

비교예의 경우, 전자 장치(101)는 전자 장치(101)가 우선적으로 이용하는 통신 방식(예: 근거리 무선 통신(613))을 통하여 RCS 서버(340)와 등록 절차를 수행할 수 있다. 비교예의 경우, 전자 장치(101)는 RCS 서버(340)와 등록이 해제된 후, RCS 서버(340)와 근거리 무선 통신 방식을 통해 등록 절차를 수행하는데 소요되는 시간(621)동안, RCS 서버(340)로부터 데이터를 수신하지 못할 수 있다.In the case of the comparative example, the electronic device 101 may perform a registration procedure with the RCS server 340 through a communication method preferentially used by the electronic device 101 (eg, short-range wireless communication 613 ). In the case of the comparative example, after registration with the RCS server 340 is released, the electronic device 101 performs a registration procedure with the RCS server 340 through a short-range wireless communication method during a time period 621 required for the RCS server ( 340) may not be able to receive data.

본 발명의 경우, 전자 장치(101)는 근거리 무선 통신이 아닌 셀룰러 통신에 대응하는 전자 장치(101)의 IP 주소를 RCS 서버(340)에 다시 등록하기 위한 동작들을 수행할 수 있다. 전자 장치(101)는 RCS 서버(340)와 등록이 해제된 후, RCS 서버(340)와 셀룰러 통신 방식을 통해 등록 절차를 수행할 수 있다. RCS 서버(340)와 셀룰러 통신 방식을 통해 등록 절차를 수행하는데 소요되는 시간(631)은 RCS 서버(340)와 근거리 무선 통신 방식을 통해 등록 절차를 수행하는데 소요되는 시간(621)과 상이할 수 있다,In the case of the present invention, the electronic device 101 may perform operations for re-registering the IP address of the electronic device 101 corresponding to cellular communication, not short-range wireless communication, to the RCS server 340 . After registration with the RCS server 340 is released, the electronic device 101 may perform a registration procedure with the RCS server 340 through a cellular communication method. The time 631 required to perform the registration procedure through the RCS server 340 and the cellular communication method may be different from the time 621 required to perform the registration procedure through the RCS server 340 and the short-range wireless communication method there is,

전자 장치(101)는 다양한 원인(예: 셀룰러 통신을 연결하는 사용자 입력을 수신, 근거리 무선 통신의 상태가 저하)에 의해, 근거리 무선 통신에서 셀룰러 통신으로 연결을 전환할 것을 결정할 수 있다. 전자 장치(101)는 셀룰러 통신을 통한 데이터 통신을 수행하기 위한 동작을 수행할 수 있다.The electronic device 101 may determine to switch the connection from the short-range wireless communication to the cellular communication according to various causes (eg, receiving a user input for connecting the cellular communication and the state of the short-range wireless communication is deteriorated). The electronic device 101 may perform an operation for performing data communication through cellular communication.

비교예의 경우, 전자 장치(101)는, 전자 장치(101)가 우선적으로 이용할 수 있는 통신 방식이 변경(근거리 무선 통신(613)에서 셀룰러 통신(611))됨에 따라, 전자 장치(101)가 우선적으로 이용하는 통신 방식(예: 셀룰러 통신(611))을 통하여 RCS 서버(340)와 등록 절차를 수행할 수 있다. 비교예의 경우, 전자 장치(101)는 RCS 서버(340)와 등록이 해제된 후, RCS 서버(340)와 근거리 무선 통신 방식을 통해 등록 절차를 수행하는데 소요되는 시간(623)동안, RCS 서버(340)로부터 데이터를 수신하지 못할 수 있다.In the case of the comparative example, in the electronic device 101, as the communication method that can be preferentially used by the electronic device 101 is changed (the short-range wireless communication 613 to the cellular communication 611), the electronic device 101 preferentially It is possible to perform a registration procedure with the RCS server 340 through a communication method (eg, cellular communication 611) used as a . In the case of the comparative example, after registration with the RCS server 340 is canceled, the electronic device 101 performs a registration procedure with the RCS server 340 through a short-range wireless communication method during a time period 623 required for the RCS server ( 340) may not be able to receive data.

본 발명의 경우, 전자 장치(101)가 우선적으로 이용하는 통신 방식이 근거리 무선 통신에서 셀룰러 통신으로 전환되더라도, RCS 서버(340)와 셀룰러 통신을 통해 연결되어 있어, RCS 서버(340)와 전자 장치(101) 사이의 등록 해제 및 재등록 절차를 수행할 필요가 없다(633). 따라서, 본 발명의 다양한 실시예에 따른 전자 장치(101)는 근거리 무선 통신(613)에서 셀룰러 통신(611)으로 전환될 때, RCS 서버(340)로 데이터를 전송하거나, RCS 서버(340)로부터 데이터를 수신할 수 없는 상황을 방지할 수 있다.In the present invention, even if the communication method preferentially used by the electronic device 101 is switched from short-range wireless communication to cellular communication, it is connected to the RCS server 340 through cellular communication, so that the RCS server 340 and the electronic device ( 101), there is no need to perform deregistration and re-registration procedures (633). Accordingly, when the electronic device 101 according to various embodiments of the present disclosure is switched from the short-range wireless communication 613 to the cellular communication 611 , the electronic device 101 transmits data to the RCS server 340 or from the RCS server 340 . A situation in which data cannot be received can be prevented.

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

도 7을 참조하면, 본 발명의 다양한 실시예에 따른 전자 장치(예; 도 1의 전자 장치(101))는 프로세서(예: 도 1의 프로세서(120))(310), 제 1 통신 회로(예: 도 1의 무선 통신 모듈(192)) (320) 및/또는 제 2 통신 회로(예: 도 1의 무선 통신 모듈(192)) (330)를 포함할 수 있다.Referring to FIG. 7 , an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure includes a processor (eg, the processor 120 of FIG. 1 ) 310 , a first communication circuit ( For example, it may include the wireless communication module 192 of FIG. 1 ) 320 and/or the second communication circuit (eg, the wireless communication module 192 of FIG. 1 ) 330 .

본 발명의 다양한 실시예에 따르면, 제 1 통신 회로(320)는 근거리 무선 통신을 통한 데이터 전송 또는 수신을 수행할 수 있다. 근거리 무선 통신은 셀룰러 통신을 제외한 다른 무선 통신을 의미할 수 있다. 예를 들면, 근거리 무선 통신은 Wi-Fi를 포함하는 다양한 방식의 무선 네트워크를 통한 데이터를 전송하거나, 수신하는 통신 방식을 의미할 수 있다. 제 1 통신 회로(320)는 근거리 무선 통신을 통해 외부 서버로부터 데이터를 수신하고, 수신한 데이터를 프로세서(310)로 전송할 수 있다.According to various embodiments of the present disclosure, the first communication circuit 320 may transmit or receive data through short-range wireless communication. Short-range wireless communication may refer to other wireless communication than cellular communication. For example, short-range wireless communication may refer to a communication method for transmitting or receiving data through various types of wireless networks including Wi-Fi. The first communication circuit 320 may receive data from an external server through short-range wireless communication and transmit the received data to the processor 310 .

본 발명의 다양한 실시예에 따르면, 제 2 통신 회로(330)는 셀룰러 통신을 통한 데이터 전송 또는 수신을 수행할 수 있다. 셀룰러 통신은 기지국(base station)을 통해 데이터를 전송하거나, 수신하는 통신을 의미할 수 있다. 예를 들면, 셀룰러 통신은 4세대 이동 통신(LTE, long term evolution) 또는 5세대 이동 통신(NR, new radio)을 의미할 수 있다. 제 2 통신 회로(330)는 셀룰러 통신을 통해 외부 서버로부터 데이터를 수신하고, 수신한 데이터를 프로세서(310)로 전송할 수 있다.According to various embodiments of the present disclosure, the second communication circuit 330 may transmit or receive data through cellular communication. Cellular communication may refer to communication in which data is transmitted or received through a base station. For example, cellular communication may mean 4th generation mobile communication (LTE, long term evolution) or 5th generation mobile communication (NR, new radio). The second communication circuit 330 may receive data from an external server through cellular communication and transmit the received data to the processor 310 .

본 발명의 다양한 실시예에 따르면, 프로세서(310)는 RCS(rich communication service)를 수행하기 위해 제 1 통신 회로(320) 및/또는 제 2 통신 회로(330)를 제어할 수 있다. RCS는 패킷 데이터 기반의 커뮤니케이션 서비스로, 문자 메시지, 이미지, 동영상, 음성을 포함하는 다양한 컨텐츠를 전송하거나, 수신하기 위한 커뮤니케이션 서비스를 의미할 수 있다. RCS는 지정된 크기 이하의 문자 메시지를 전송하거나 수신하는 SMS(short message service), 지정된 크기 이상의 문자 메시지 및/또는 컨텐츠를 포함하는 메시지를 전송하거나 수신하는 MMS(multimedia messaging service) 이후에 정의된 커뮤니케이션 서비스이다.According to various embodiments of the present disclosure, the processor 310 may control the first communication circuit 320 and/or the second communication circuit 330 to perform a rich communication service (RCS). The RCS is a communication service based on packet data, and may refer to a communication service for transmitting or receiving various contents including text messages, images, videos, and voices. RCS is a communication service defined after short message service (SMS) for sending or receiving text messages of a specified size or smaller, and multimedia messaging service (MMS) for sending or receiving messages containing text messages and/or content over a specified size. am.

본 발명의 다양한 실시예에 따르면, 프로세서(310) 상에는 어플리케이션 레이어(예: 도 2의 어플리케이션(146))(510), 프레임워크(예: 도 2의 미들웨어(144))(520) 및/또는 인터페이스(530)를 포함할 수 있다.According to various embodiments of the present disclosure, on the processor 310, an application layer (eg, application 146 of FIG. 2 ) 510 , a framework (eg, middleware 144 of FIG. 2 ) 520 and/or It may include an interface 530 .

본 발명의 다양한 실시예에 따르면, 어플리케이션 레이어(510)는 특정 기능을 수행하기 위한 어플리케이션들이 구현된 레이어일 수 있다. 어플리케이션 레이어(510)는 RCS 어플리케이션(511)을 포함할 수 있다. RCS 어플리케이션(511)은 RCS 서버(예: 도 3의 RCS 서버(340))와 전자 장치(101) 사이의 교환된 데이터를 디스플레이 또는 출력하는 기능을 수행하는 어플리케이션일 수 있다. RCS 어플리케이션(511)은 교환된 데이터를 사용자에게 제공할 수 있는 사용자 인터페이스(user interface)를 제공할 수 있다. 예를 들면, RCS 어플리케이션(511)은 RCS 서버(340)로부터 수신한 메시지를 사용자에게 제공하는 인터페이스를 제공할 수 있으며, RCS 서버(340)를 통해 외부 장치(예: 도 1의 전자 장치(104))로 전송하기 위한 데이터를 입력할 수 있는 인터페이스를 제공할 수 있다.According to various embodiments of the present disclosure, the application layer 510 may be a layer in which applications for performing a specific function are implemented. The application layer 510 may include an RCS application 511 . The RCS application 511 may be an application that performs a function of displaying or outputting data exchanged between the RCS server (eg, the RCS server 340 of FIG. 3 ) and the electronic device 101 . The RCS application 511 may provide a user interface capable of providing the exchanged data to the user. For example, the RCS application 511 may provide an interface for providing a user with a message received from the RCS server 340 , and an external device (eg, the electronic device 104 of FIG. 1 ) through the RCS server 340 . )) can provide an interface to input data for transmission.

본 발명의 다양한 실시예에 따르면, 프레임워크(520)는 RCS와 관련된 기능에 대한 API(application programming interface)를 제공할 수 있다. 프레임 워크(520)는 RCS 서버(340)와 전자 장치(101) 사이의 등록 및 등록 해제를 수행하는 등록 매니저(521), 셀룰러 통신 및/또는 근거리 무선 통신 관련 네트워크 정보를 관리하는 PDN 컨트롤러(523) 및/또는 메시지 관리 모듈(711)를 포함할 수 있다.According to various embodiments of the present disclosure, the framework 520 may provide an application programming interface (API) for functions related to RCS. The framework 520 includes a registration manager 521 that performs registration and de-registration between the RCS server 340 and the electronic device 101, and a PDN controller 523 that manages cellular communication and/or short-range wireless communication related network information. ) and/or a message management module 711 .

본 발명의 다양한 실시예에 따르면, 메시지 관리 모듈(711)은 RCS 서버(340)와 전자 장치(101) 사이에 교환되는 문자 또는 컨텐츠를 포함하는 데이터의 교환 동작을 관리할 수 있다. 예를 들면, 메시지 관리 모듈(711)은 RCS 서버(340)와 전자 장치(101) 사이의 세션 생성 및 생성된 세션을 통한 데이터 교환을 수행하는 모듈일 수 있다.According to various embodiments of the present disclosure, the message management module 711 may manage an exchange operation of data including text or content exchanged between the RCS server 340 and the electronic device 101 . For example, the message management module 711 may be a module for creating a session between the RCS server 340 and the electronic device 101 and exchanging data through the created session.

본 발명의 다양한 실시예에 따르면, 인터페이스(530)는 제 1 통신 회로(320) 및/또는 제 2 통신 회로(330)와 프레임워크(520) 사이의 인터페이스를 제공할 수 있다. 인터페이스(530)는 셀룰러 통신 및/또는 근거리 무선 통신의 연결 상태를 확인 및/또는 제어하거나, 전자 장치(101)가 우선적으로 이용하는 네트워크의 변경을 감지하는 커넥티비티 매니저(예: 도 2의 커넥티비티 매니저(215))(531)를 포함할 수 있다. According to various embodiments of the present disclosure, the interface 530 may provide an interface between the first communication circuit 320 and/or the second communication circuit 330 and the framework 520 . The interface 530 is a connectivity manager (eg, the connectivity manager of FIG. 2 ) that checks and/or controls a connection state of cellular communication and/or short-range wireless communication, or detects a change in a network preferentially used by the electronic device 101 . 215)) (531).

본 발명의 다양한 실시예에 따르면, 전자 장치(101)가 셀룰러 통신을 통해 RCS 서버(340)와 연결된 상태일 수 있다. 이 경우, RCS 서버(340)는 셀룰러 통신에 대응하는 전자 장치(101)의 IP 주소에 기반하여 데이터를 전자 장치(101)로 전송할 수 있다. According to various embodiments of the present disclosure, the electronic device 101 may be connected to the RCS server 340 through cellular communication. In this case, the RCS server 340 may transmit data to the electronic device 101 based on the IP address of the electronic device 101 corresponding to cellular communication.

본 발명의 다양한 실시예에 따르면, 프로세서(310)는 다양한 원인(예: 근거리 무선 통신을 연결하는 사용자 입력을 수신, 셀룰러 통신의 상태가 저하)에 의해, 셀룰러 통신에서 근거리 무선 통신으로 연결을 전환할 것을 결정할 수 있다. 프로세서(310)는 근거리 무선 통신을 통한 데이터 통신을 수행하기 위한 동작을 수행할 수 있다.According to various embodiments of the present disclosure, the processor 310 switches the connection from the cellular communication to the short-range wireless communication by various causes (eg, receiving a user input connecting the short-range wireless communication, the state of the cellular communication is deteriorated) can decide what to do. The processor 310 may perform an operation for performing data communication through short-range wireless communication.

커넥티비티 매니저(531)는 셀룰러 통신이 연결된 상태에서, 근거리 무선 통신을 통한 데이터 통신을 수행하는 상태로 전환됨을 감지할 수 있다. 커넥티비티 매니저(531)는 전자 장치(101)가 우선적으로 이용할 네트워크가 근거리 무선 통신으로 전환됨을 지시하는 정보를 PDN 컨트롤러(523)에 전송할 수 있다.The connectivity manager 531 may detect a transition from a state in which cellular communication is connected to a state in which data communication is performed through short-range wireless communication. The connectivity manager 531 may transmit, to the PDN controller 523 , information indicating that a network to be preferentially used by the electronic device 101 is switched to short-range wireless communication.

PDN 컨트롤러(523)는 커넥티비티 매니저(531)로부터 전자 장치(101)가 우선적으로 이용할 네트워크가 근거리 무선 통신으로 전환됨을 지시하는 정보를 수신하고, 근거리 무선 통신으로 전환됨을 지시하는 정보를 등록 매니저(521)에 전송할 수 있다.The PDN controller 523 receives information from the connectivity manager 531 instructing that the network to be preferentially used by the electronic device 101 is switched to short-range wireless communication, and transmits information instructing to switch to short-range wireless communication to the registration manager 521 ) can be sent to

등록 매니저(521)는 PDN 컨트롤러(523)로부터 우선적으로 이용할 네트워크가 근거리 무선 통신으로 전환됨을 수신하고, 셀룰러 통신을 통해 RCS 서버(340)와의 등록 해제 절차를 수행할 수 있다. RCS 서버(340) 상에서 등록을 해제하는 절차는 이전에 등록된 전자 장치(101)의 IP 주소를 RCS 서버(340) 상에서 삭제하는 절차를 포함할 수 있다. 이전에 등록된 전자 장치(101)의 IP 주소는 셀룰러 통신에 대응하는 전자 장치(101)의 IP 주소일 수 있다.The registration manager 521 may receive from the PDN controller 523 that the network to be preferentially used is switched to short-range wireless communication, and may perform a deregistration procedure with the RCS server 340 through cellular communication. The procedure of canceling registration on the RCS server 340 may include a procedure of deleting the previously registered IP address of the electronic device 101 on the RCS server 340 . The previously registered IP address of the electronic device 101 may be an IP address of the electronic device 101 corresponding to cellular communication.

등록 매니저(521)는, RCS 서버(340)와의 등록 해제 절차를 수행하기 이전, RCS 서버(340)로부터 데이터를 수신하는 중인지(또는, RCS 서버(340)로부터 데이터를 전송하는 중인지)여부에 대한 정보를 메시지 관리 모듈(711)로 요청할 수 있다. 메시지 관리 모듈(711)은 RCS 서버(340) 사이에 수립된 세션을 통해 데이터가 전송되거나, 수신되는지 여부와 관련된 정보를 등록 매니저(521)로 전송할 수 있다. 등록 매니저(521)는 전자 장치(101)와 RCS 서버(340) 사이에 수립된 세션을 통해 데이터가 전송되거나, 수신되는지 여부를 확인할 수 있다. 등록 매니저(521)는 데이터 전송 또는 수신 동작이 진행 중인 경우, 지정된 시간(예: 3초) 이후, RCS 서버(340)와 전자 장치(101) 사이의 등록 해제를 수행할 수 있다. RCS 서버(340) 상에서 등록을 해제하는 절차는 이전에 등록된 전자 장치(101)의 IP 주소를 RCS 서버(340) 상에서 삭제하는 절차를 포함할 수 있다. 이전에 등록된 전자 장치(101)의 IP 주소는 셀룰러 통신에 대응하는 전자 장치(101)의 IP 주소일 수 있다.The registration manager 521, before performing the deregistration procedure with the RCS server 340, whether data is being received from the RCS server 340 (or whether data is being transmitted from the RCS server 340). Information may be requested from the message management module 711 . The message management module 711 may transmit information related to whether data is transmitted or received through a session established between the RCS servers 340 to the registration manager 521 . The registration manager 521 may check whether data is transmitted or received through a session established between the electronic device 101 and the RCS server 340 . When a data transmission or reception operation is in progress, the registration manager 521 may perform deregistration between the RCS server 340 and the electronic device 101 after a specified time (eg, 3 seconds). The procedure of canceling registration on the RCS server 340 may include a procedure of deleting the previously registered IP address of the electronic device 101 on the RCS server 340 . The previously registered IP address of the electronic device 101 may be an IP address of the electronic device 101 corresponding to cellular communication.

등록 매니저(521)는 RCS 서버(340)와의 등록 해제 절차에서 요구되는 메시지들을 제 2 통신 회로(330)로부터 수신하거나, 제 2 통신 회로(330)를 통해 전송할 수 있다. The registration manager 521 may receive messages required in a deregistration procedure with the RCS server 340 from the second communication circuit 330 or transmit them through the second communication circuit 330 .

본 발명의 다양한 실시예에 따르면, 등록 매니저(521)는 전자 장치(101)와 RCS 서버(340) 사이에 수립된 세션을 통해 데이터가 전송되거나, 수신됨을 확인함에 대응하여, 데이터가 지정된 조건을 만족함에 대응하는지 여부를 확인할 수 있다. 등록 매니저(521)는 데이터가 지정된 조건을 만족함을 확인함에 대응하여, RCS 서버(340)와의 등록을 유지할 수 있다. According to various embodiments of the present disclosure, in response to confirming that data is transmitted or received through a session established between the electronic device 101 and the RCS server 340 , the registration manager 521 sets a condition in which data is specified. It can be checked whether or not it responds to satisfaction. The registration manager 521 may maintain registration with the RCS server 340 in response to confirming that data satisfies a specified condition.

본 발명의 다양한 실시예에 따르면, 전송되거나, 수신되는 연결 요청 메시지 또는 메시지에 포함된 데이터가 지정된 조건을 만족하는지 여부를 판단하는 동작은 메시지 관리 모듈(711)에서 수행될 수 있다. 메시지 관리 모듈(711)은 수신 중인 연결 요청 메시지 또는메시지의 적어도 일부를 파싱(parsing)하고, 파싱된 메시지가 지정된 조건을 만족하는지 여부를 확인할 수 있다. 메시지 관리 모듈(711)은 확인 결과를 등록 매니저(521)에 전송할 수 있다.According to various embodiments of the present disclosure, the operation of determining whether a transmitted or received connection request message or data included in the message satisfies a specified condition may be performed by the message management module 711 . The message management module 711 may parse the connection request message or at least a part of the message being received, and check whether the parsed message satisfies a specified condition. The message management module 711 may transmit the confirmation result to the registration manager 521 .

본 발명의 다양한 실시예에 따르면, 지정된 조건은 메시지를 전송하거나, 수신하는 전자 장치의 정보, 메시지를 전송하는 외부 서버(예: 도 3의 외부 서버(350))의 정보 및/또는 메시지 타입과 관련된 조건일 수 있다.According to various embodiments of the present disclosure, the specified condition includes information on an electronic device that transmits or receives a message, information on an external server that transmits the message (eg, external server 350 of FIG. 3 ), and/or a message type and It may be a related condition.

예를 들면, 지정된 조건은 수신 중이거나 전송 중인 연결 요청 메시지의 헤더에 chatbot을 지시하는 정보, isbot을 지시하는 정보가 포함되는 조건일 수 있다. 지정된 조건은 외부 서버(350) 또는 전자 장치(101)가 지정된 전자 장치인지 여부를 포함하는 조건일 수 있다. 지정된 조건은 메시지가 지정된 메시지 타입(예: 사업자가 운영하는 서버가 전송하는 메시지인 A2P(application to person) 타입)인지 여부를 포함하는 조건일 수 있다.For example, the specified condition may be a condition in which information indicating chatbot and information indicating isbot are included in the header of a connection request message being received or transmitted. The designated condition may be a condition including whether the external server 350 or the electronic device 101 is a designated electronic device. The specified condition may be a condition including whether the message is a specified message type (eg, A2P (application to person) type, which is a message transmitted by a server operated by an operator).

본 발명의 다양한 실시예에 따르면, 등록 매니저(521)는 전자 장치(101)와 RCS 서버(340) 사이의 세션을 수립중인 상태와 관련된 정보를 메시지 관리 모듈(711)로 요청할 수 있다. 메시지 관리 모듈(711)은 전자 장치(101)와 RCS 서버(340) 사이의 세션을 수립중인 상태와 관련된 정보를 등록 매니저(521)로 전송할 수 있다. 등록 매니저(521)는 전자 장치(101)와 RCS 서버(340) 사이의 세션이 수립 중인 상태인지 여부를 확인할 수 있다. According to various embodiments of the present disclosure, the registration manager 521 may request information related to a state of establishing a session between the electronic device 101 and the RCS server 340 from the message management module 711 . The message management module 711 may transmit information related to a state in which a session between the electronic device 101 and the RCS server 340 is being established to the registration manager 521 . The registration manager 521 may check whether a session between the electronic device 101 and the RCS server 340 is being established.

상기에 기재된 방식을 통해, 전자 장치(101)는 RCS 서버(340)와 등록 해제를 수행하기 이전, RCS 서버(340)로 전송 중이거나, RCS 서버(340)로부터 수신 중인 데이터가 존재하는 경우, RCS 서버(340)와의 등록 해제 절차를 지연시킬 수 있다. 따라서, 전자 장치(101)는, 전자 장치(101)가 우선적으로 이용하는 통신 방식이 셀룰러 통신에서 근거리 무선 통신으로 변경되는 상태에서, RCS 서버(340)와의 등록 해제가 수행됨에 따라 발생할 수 있는 RCS 서버(340)로 데이터를 전송할 수 없는 상황 및/또는 RCS 서버(340)로부터 데이터를 수신할 수 없는 상황을 방지할 수 있다.Through the method described above, when data being transmitted to or being received from the RCS server 340 exists before the electronic device 101 performs deregistration with the RCS server 340, The deregistration procedure with the RCS server 340 may be delayed. Accordingly, the electronic device 101 may generate an RCS server that may occur as deregistration with the RCS server 340 is performed while the communication method preferentially used by the electronic device 101 is changed from cellular communication to short-range wireless communication. A situation in which data cannot be transmitted to 340 and/or a situation in which data cannot be received from the RCS server 340 can be prevented.

도 8은 본 발명의 다양한 실시예에 따른 전자 장치가, 셀룰러 통신을 통해 RCS 서버와 등록 해제 절차를 지연시키는 실시예를 도시한 도면이다.8 is a diagram illustrating an embodiment in which an electronic device delays a registration deregistration procedure with an RCS server through cellular communication according to various embodiments of the present disclosure.

도 8은 본 발명의 다양한 실시예에 따른 전자 장치(예: 도 5의 전자 장치(101)) 및 비교예에 따른 전자 장치(미도시)가 기본 네트워크가 전환되는 상태에서 RCS 서버와 등록 절차를 수행하는 실시예를 도시하고 있다.8 is an electronic device (eg, the electronic device 101 of FIG. 5 ) according to various embodiments of the present invention and an electronic device (not shown) according to a comparative example performing a registration procedure with an RCS server in a state in which a basic network is switched. An example to be performed is shown.

셀룰러 통신(611)이 연결된 상태에서, 전자 장치(101)는 셀룰러 통신을 통해 RCS 서버(340)와 등록된 상태일 수 있다. 전자 장치(101)는 셀룰러 통신에 대응하는 IP 주소(또는, PDN)를 통해 RCS 서버(340)로부터 데이터를 수신할 수 있다. In a state in which the cellular communication 611 is connected, the electronic device 101 may be registered with the RCS server 340 through the cellular communication. The electronic device 101 may receive data from the RCS server 340 through an IP address (or PDN) corresponding to cellular communication.

본 발명의 다양한 실시예에 따르면, 전자 장치(101)는 다양한 원인(예: 근거리 무선 통신을 연결하는 사용자 입력을 수신, 셀룰러 통신(611)의 상태가 저하)에 의해, 셀룰러 통신(611)에서 근거리 무선 통신(613)으로 연결을 전환할 것을 결정할 수 있다. 전자 장치(101)는 근거리 무선 통신(613)을 통한 데이터 통신을 수행하기 위한 동작을 수행할 수 있다. According to various embodiments of the present disclosure, the electronic device 101 performs cellular communication in the cellular communication 611 due to various causes (eg, receiving a user input connecting short-range wireless communication, the state of the cellular communication 611 is deteriorated). It may be determined to switch the connection to short-range wireless communication 613 . The electronic device 101 may perform an operation for performing data communication through short-range wireless communication 613 .

비교예와 본 발명의 실시예 모두, 전자 장치(101)가 우선적으로 이용하는 통신 방식이 셀룰러 통신(611)에서 근거리 무선 통신(613)으로 변경됨에 따라, RCS 서버(340)와의 등록 해제 절차를 수행할 수 있다. RCS 서버(340) 상에서 등록을 해제하는 절차는 이전에 등록된 전자 장치(101)의 IP 주소를 RCS 서버(340) 상에서 삭제하는 절차를 포함할 수 있다. 이전에 등록된 전자 장치(101)의 IP 주소는 셀룰러 통신에 대응하는 전자 장치(101)의 IP 주소일 수 있다.In both the comparative example and the embodiment of the present invention, as the communication method preferentially used by the electronic device 101 is changed from the cellular communication 611 to the short-range wireless communication 613 , a deregistration procedure with the RCS server 340 is performed. can do. The procedure of canceling registration on the RCS server 340 may include a procedure of deleting the previously registered IP address of the electronic device 101 on the RCS server 340 . The previously registered IP address of the electronic device 101 may be an IP address of the electronic device 101 corresponding to cellular communication.

비교예의 경우, 전자 장치(101)는 RCS 서버(340)와 등록 해제 절차를 수행하기 이전, RCS 서버(340)로부터 수신 중이거나, 전송 중인 데이터(811, 812, 813)가 존재 여부와 관계 없이, RCS 서버(340)와 등록 해제 절차를 수행할 수 있다. 전자 장치(101)는 RCS 서버(340)와의 등록 해제 절차로 인해 일부 데이터(813)를 수신하지 못할 수 있다. In the case of the comparative example, the electronic device 101 before performing the registration deregistration procedure with the RCS server 340 , regardless of whether data 811 , 812 , 813 that is being received or transmitted from the RCS server 340 exist. , it is possible to perform a deregistration procedure with the RCS server 340 . The electronic device 101 may not receive some data 813 due to a deregistration procedure with the RCS server 340 .

본 발명의 다양한 실시예에 따르면, 전자 장치(101)는 RCS 서버(340)와 등록 해제 절차를 수행하기 이전, RCS 서버(340)로부터 수신 중이거나, 전송 중인 데이터(821, 822, 823)가 존재하는지 여부를 확인할 수 있다. 전자 장치(101)는 RCS 서버(340)로부터 수신 중이거나, 전송 중인 데이터(821, 822, 823)가 존재함에 대응하여, RCS 서버(340)와의 등록 해제 절차를 지연시킬 수 있다. According to various embodiments of the present disclosure, before performing the registration deregistration procedure with the RCS server 340 , the electronic device 101 receives or transmits data 821 , 822 , and 823 from the RCS server 340 . You can check whether it exists or not. In response to the presence of data 821 , 822 , and 823 being received or transmitted from the RCS server 340 , the electronic device 101 may delay the deregistration procedure with the RCS server 340 .

본 발명의 다양한 실시예 및 비교예에 따른 전자 장치(101)는, RCS 서버(340) 상에서의 등록 해제를 완료한 후, 셀룰러 통신을 통해 연결된 PDN과 연결을 해제할 수 있다. RCS 서버(340) 상에서 등록 해제를 완료한 후, RCS 서버(340)와 등록 절차를 다시 수행하기 위한 일련의 동작들을 수행할 수 있다. After completing deregistration on the RCS server 340 , the electronic device 101 according to various embodiments of the present disclosure and comparative examples may release a connection from a PDN connected through cellular communication. After completing deregistration on the RCS server 340 , a series of operations for re-performing a registration procedure with the RCS server 340 may be performed.

비교예의 경우, 전자 장치(101)는 전자 장치(101)가 우선적으로 이용하는 통신 방식(예: 근거리 무선 통신(613))을 통하여 RCS 서버(340)와 등록 절차를 수행할 수 있다. 비교예의 경우, 전자 장치(101)는 RCS 서버(340)와 등록이 해제된 후, RCS 서버(340)와 근거리 무선 통신 방식을 통해 등록 절차를 수행하는데 소요되는 시간(821)동안, RCS 서버(340)로부터 데이터의 일부(813)를 수신하지 못할 수 있다.In the case of the comparative example, the electronic device 101 may perform a registration procedure with the RCS server 340 through a communication method preferentially used by the electronic device 101 (eg, short-range wireless communication 613 ). In the case of the comparative example, after registration with the RCS server 340 is released, the electronic device 101 performs a registration procedure with the RCS server 340 through a short-range wireless communication method during a time period 821 required for the RCS server ( Part 813 of data from 340 may not be received.

본 발명의 경우, 전자 장치(101)는 근거리 무선 통신이 아닌 셀룰러 통신에 대응하는 전자 장치(101)의 IP 주소를 RCS 서버(340)에 다시 등록하기 위한 동작들을 수행할 수 있다. 전자 장치(101)는 RCS 서버(340)와 등록이 해제된 후, RCS 서버(340)와 셀룰러 통신 방식을 통해 등록 절차를 수행하는데 소요되는 시간(831)동안, RCS 서버(340)로부터 데이터를 수신하지 못할 수 있다.In the case of the present invention, the electronic device 101 may perform operations for re-registering the IP address of the electronic device 101 corresponding to cellular communication, not short-range wireless communication, to the RCS server 340 . After registration with the RCS server 340 is released, the electronic device 101 receives data from the RCS server 340 during a time 831 required to perform a registration procedure through a cellular communication method with the RCS server 340 may not be able to receive it.

전자 장치(101)는 다양한 원인(예: 셀룰러 통신을 연결하는 사용자 입력을 수신, 근거리 무선 통신의 상태가 저하)에 의해, 근거리 무선 통신에서 셀룰러 통신으로 연결을 전환할 것을 결정할 수 있다. 전자 장치(101)는 셀룰러 통신을 통한 데이터 통신을 수행하기 위한 동작을 수행할 수 있다.The electronic device 101 may determine to switch the connection from the short-range wireless communication to the cellular communication according to various causes (eg, receiving a user input for connecting the cellular communication and the state of the short-range wireless communication is deteriorated). The electronic device 101 may perform an operation for performing data communication through cellular communication.

비교예의 경우, 전자 장치(101)는, 전자 장치(101)가 우선적으로 이용할 수 있는 통신 방식이 변경(근거리 무선 통신(613)에서 셀룰러 통신(611))됨에 따라, 전자 장치(101)가 우선적으로 이용하는 통신 방식(예: 셀룰러 통신(611))을 통하여 RCS 서버(340)와 등록 절차를 수행할 수 있다. 비교예의 경우, 전자 장치(101)는 RCS 서버(340)와 등록이 해제된 후, RCS 서버(340)와 근거리 무선 통신 방식을 통해 등록 절차를 수행하는데 소요되는 시간(623)동안, RCS 서버(340)로부터 일부 데이터(816)를 수신하지 못할 수 있다.In the case of the comparative example, in the electronic device 101, as the communication method that can be preferentially used by the electronic device 101 is changed (the short-range wireless communication 613 to the cellular communication 611), the electronic device 101 preferentially It is possible to perform a registration procedure with the RCS server 340 through a communication method (eg, cellular communication 611) used as a . In the case of the comparative example, after registration with the RCS server 340 is canceled, the electronic device 101 performs a registration procedure with the RCS server 340 through a short-range wireless communication method during a time period 623 required for the RCS server ( Some data 816 from 340 may not be received.

본 발명의 경우, 전자 장치(101)가 우선적으로 이용하는 통신 방식이 근거리 무선 통신에서 셀룰러 통신으로 전환되더라도, RCS 서버(340)와 셀룰러 통신을 통해 연결되어 있어, RCS 서버(340)와 전자 장치(101) 사이의 등록 해제 및 재등록 절차를 수행할 필요가 없다(833). 따라서, 본 발명의 다양한 실시예에 따른 전자 장치(101)는 근거리 무선 통신(613)에서 셀룰러 통신(611)으로 전환될 때, RCS 서버(340)로 데이터(824, 825, 826)를 전송하거나, RCS 서버(340)로부터 데이터(824, 825, 826)를 수신할 수 없는 상황을 방지할 수 있다.In the present invention, even if the communication method preferentially used by the electronic device 101 is switched from short-range wireless communication to cellular communication, it is connected to the RCS server 340 through cellular communication, so that the RCS server 340 and the electronic device ( 101), there is no need to perform deregistration and re-registration procedures (833). Accordingly, the electronic device 101 according to various embodiments of the present disclosure transmits data 824 , 825 , and 826 to the RCS server 340 when switching from the short-range wireless communication 613 to the cellular communication 611 , or , it is possible to prevent a situation in which data 824 , 825 , 826 cannot be received from the RCS server 340 .

본 발명의 다양한 실시예에 따른 전자 장치는 근거리 무선 통신을 지원하는 제 1 통신 회로; 셀룰러 통신을 지원하는 제 2 통신 회로; 및 프로세서를 포함하고, 상기 프로세서는 상기 셀룰러 통신을 통해 RCS(rich communication server) 서버와 등록된 상태에서, 상기 근거리 무선 통신을 통한 데이터 통신을 수행하는 상태로 전환됨을 감지함에 대응하여, 상기 셀룰러 통신을 통해 RCS(rich communication service) 서버와 등록 해제 절차를 수행하고, 상기 셀룰러 통신을 통해 연결된 PDN(packet data network)과 연결을 해제하도록 상기 제 2 통신 회로를 제어하고, 상기 근거리 통신을 통한 데이터 통신을 수행할 수 있는 상태를 유지하면서, 상기 셀룰러 통신을 통한 PDN과 연결을 수행하도록 상기 제 2 통신 회로를 제어하고, 상기 셀룰러 통신을 통해 RCS 서버와 등록 절차를 다시 수행하도록 상기 제 2 통신 회로를 제어하고, 상기 셀룰러 통신을 통해 연결된 PDN을 통해 상기 RCS 서버가 전송하는 데이터를 수신하도록 상기 제 2 통신 회로를 제어하도록 설정될 수 있다.An electronic device according to various embodiments of the present disclosure includes a first communication circuit supporting short-range wireless communication; a second communication circuit supporting cellular communication; and a processor, wherein the processor is configured to detect a transition from a state registered with a rich communication server (RCS) server through the cellular communication to a state for performing data communication through the short-range wireless communication, in response to the cellular communication to perform a deregistration procedure with a rich communication service (RCS) server through Controlling the second communication circuit to perform a connection with the PDN through the cellular communication while maintaining a state capable of performing and control the second communication circuit to receive data transmitted by the RCS server through a PDN connected through the cellular communication.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 PDN은 상기 RCS 서버와 연결되기 위한 PDN일 수 있다.In the electronic device according to various embodiments of the present disclosure, the PDN may be a PDN for connection with the RCS server.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 셀룰러 통신을 통한 PDN 연결이 유지되는 상태에서, 상기 근거리 무선 통신을 통해 외부 서버로부터 데이터를 수신하거나, 전송하도록 설정될 수 있다.In the electronic device according to various embodiments of the present disclosure, the processor may be configured to receive or transmit data from an external server through the short-range wireless communication while the PDN connection through the cellular communication is maintained.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 RCS 서버로부터 송수신되는 데이터를 처리하는 RCS 어플리케이션을 제외한 다른 어플리케이션이 처리할 데이터를 상기 근거리 무선 통신을 통해 수신하거나, 전송하도록 설정될 수 있다.In the electronic device according to various embodiments of the present disclosure, the processor may be configured to receive or transmit data to be processed by an application other than an RCS application that processes data transmitted and received from the RCS server through the short-range wireless communication there is.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 근거리 무선 통신을 통한 데이터 수신 또는 전송을 수행하는 상태에서, 상기 셀룰러 통신을 통한 데이터 수신 또는 전송을 수행하는 상태로 전환됨을 감지함에 대응하여, 상기 RCS 서버와 등록된 상태를 유지하도록 설정될 수 있다,In the electronic device according to various embodiments of the present disclosure, the processor responds to detecting a transition from a state in which data reception or transmission is performed through the short-range wireless communication to a state in which data reception or transmission is performed through the cellular communication Thus, it can be set to maintain a registered state with the RCS server,

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 셀룰러 통신을 통한 데이터 수신 또는 전송을 수행하는 상태로 전환됨을 감지함에 대응하여, 상기 PDN 연결을 유지하도록 설정될 수 있다.In the electronic device according to various embodiments of the present disclosure, the processor may be configured to maintain the PDN connection in response to detecting a transition to a state in which data reception or transmission is performed through the cellular communication.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 셀룰러 통신을 통해 RCS(rich communication service) 서버와 등록 해제 절차를 수행하기 이전, 상기 RCS 서버로부터 데이터 수신 또는 전송을 수행하는지 여부를 확인하고, 상기 RCS 서버로부터 데이터 수신 또는 전송을 수행하는지 여부를 확인함에 대응하여, 지정된 시간 동안 상기 RCS 서버와 등록을 유지하고, 상기 지정된 시간이 만료됨에 대응하여, 상기 RCS 서버와 등록 해제 절차를 수행하도록 설정될 수 있다.In the electronic device according to various embodiments of the present disclosure, the processor checks whether data reception or transmission is performed from the RCS server before performing a deregistration procedure with a rich communication service (RCS) server through the cellular communication In response to checking whether data reception or transmission is performed from the RCS server, registration with the RCS server is maintained for a specified time, and in response to expiration of the specified time, a deregistration procedure with the RCS server is performed can be set to

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 RCS 서버로부터 수신하는 데이터가 존재함에 대응하여, 상기 데이터가 지정된 조건을 만족하는지 여부를 확인하고, 상기 데이터가 지정된 조건을 만족함에 대응하여, 상기 RCS 서버와의 등록을 유지하고, 지정된 시간이 만료됨에 대응하여, 상기 RCS 서버와 등록 해제 절차를 수행하도록 설정될 수 있다.In the electronic device according to various embodiments of the present disclosure, in response to the existence of data received from the RCS server, the processor checks whether the data satisfies a specified condition, and responds to the data satisfying the specified condition Thus, it may be configured to maintain registration with the RCS server and perform a deregistration procedure with the RCS server in response to expiration of a specified time.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 지정된 조건은 상기 데이터가 A2P(application to person) 메시지 타입인지 여부에 대한 조건을 포함할 수 있다.In the electronic device according to various embodiments of the present disclosure, the specified condition may include a condition regarding whether the data is an application to person (A2P) message type.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서는 상기 RCS 서버로부터 데이터를 수신하기 위한 세션을 수립 중임을 확인함에 대응하여, 상기 RCS 서버와의 등록을 유지하도록 설정될 수 있다.In the electronic device according to various embodiments of the present disclosure, the processor may be configured to maintain registration with the RCS server in response to confirming that a session for receiving data from the RCS server is being established.

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

본 발명의 다양한 실시예에 따르면, 동작 910에서, 전자 장치(예: 도 5의 전자 장치(101))는 셀룰러 통신을 통한 데이터 전송/수신 모드에서, 근거리 무선 통신을 통한 데이터 전송/수신 모드로 전환됨을 감지할 수 있다.According to various embodiments of the present disclosure, in operation 910 , the electronic device (eg, the electronic device 101 of FIG. 5 ) switches from a data transmission/reception mode through cellular communication to a data transmission/reception mode through short-range wireless communication. conversion can be detected.

본 발명의 다양한 실시예에 따르면, 전자 장치(101)는 다양한 원인(예: 근거리 무선 통신을 연결하는 사용자 입력을 수신, 셀룰러 통신의 상태가 저하)에 의해, 셀룰러 통신에서 근거리 무선 통신으로 연결을 전환할 것을 결정할 수 있다. 프로세서(310)는 근거리 무선 통신을 통한 데이터 통신을 수행하기 위한 동작을 수행할 수 있다.According to various embodiments of the present disclosure, the electronic device 101 performs a connection from cellular communication to short-range wireless communication due to various causes (eg, receiving a user input for connecting short-range wireless communication, the state of cellular communication is deteriorated). You can decide to switch. The processor 310 may perform an operation for performing data communication through short-range wireless communication.

본 발명의 다양한 실시예에 따르면, 동작 920에서, 전자 장치(101)는 셀룰러 통신을 통한 RCS 서버(예: 도 3의 RCS 서버(340))와 등록 해제를 수행할 수 있다.According to various embodiments of the present disclosure, in operation 920 , the electronic device 101 may perform deregistration with an RCS server (eg, the RCS server 340 of FIG. 3 ) through cellular communication.

본 발명의 다양한 실시예에 따르면, RCS 서버(340) 상에서 등록을 해제하는 절차는 이전에 등록된 전자 장치(101)의 IP 주소를 RCS 서버(340) 상에서 삭제하는 절차를 포함할 수 있다. 이전에 등록된 전자 장치(101)의 IP 주소는 셀룰러 통신에 대응하는 전자 장치(101)의 IP 주소일 수 있다.According to various embodiments of the present disclosure, a procedure for canceling registration on the RCS server 340 may include a procedure for deleting a previously registered IP address of the electronic device 101 on the RCS server 340 . The previously registered IP address of the electronic device 101 may be an IP address of the electronic device 101 corresponding to cellular communication.

본 발명의 다양한 실시예에 따르면, 전자 장치(101)는 RCS 서버(340)와 등록 해제 절차를 수행하기 이전, RCS 서버(340)로부터 수신 중이거나, 전송 중인 데이터가 존재하는지 여부를 확인할 수 있다. 전자 장치(101)는 RCS 서버(340)로부터 수신 중이거나, 전송 중인 데이터가 존재함에 대응하여, RCS 서버(340)와의 등록 해제 절차를 지연시킬 수 있다. 전자 장치(101)는 지정된 시간이 지난 후, RCS 서버(340)와 등록 해제 절차를 수행할 수 있다. 또는, 전자 장치(101)는 데이터의 전송 또는 수신 동작이 완료됨에 대응하여, RCS 서버(340)와 등록 해제 절차를 수행할 수도 있다.According to various embodiments of the present disclosure, the electronic device 101 may check whether data being received or transmitted from the RCS server 340 exists before performing the registration deregistration procedure with the RCS server 340 . . The electronic device 101 may delay the deregistration procedure with the RCS server 340 in response to the presence of data being received or transmitted from the RCS server 340 . The electronic device 101 may perform a deregistration procedure with the RCS server 340 after a specified time has elapsed. Alternatively, the electronic device 101 may perform a deregistration procedure with the RCS server 340 in response to the completion of the data transmission or reception operation.

본 발명의 다양한 실시예에 따르면, 전자 장치(101)는 전자 장치(101)와 RCS 서버(340) 사이에 수립된 세션을 통해 데이터가 전송되거나, 수신됨을 확인함에 대응하여, 데이터가 지정된 조건을 만족함에 대응하는지 여부를 확인할 수 있다. 전자 장치(101)는 데이터가 지정된 조건을 만족함을 확인함에 대응하여, RCS 서버(340)와의 등록 해제를 지연시킬 수 있다. According to various embodiments of the present disclosure, in response to confirming that data is transmitted or received through a session established between the electronic device 101 and the RCS server 340 , the electronic device 101 determines a condition in which data is specified. It can be checked whether or not it responds to satisfaction. In response to confirming that data satisfies a specified condition, the electronic device 101 may delay deregistration with the RCS server 340 .

본 발명의 다양한 실시예에 따르면, 지정된 조건은 연결 요청 메시지 또는 메시지를 전송하거나, 수신하는 전자 장치의 정보, 메시지를 전송하는 외부 서버(예: 도 3의 외부 서버(350))의 정보 및/또는 메시지 타입과 관련된 조건일 수 있다.According to various embodiments of the present invention, the specified condition is a connection request message or It may be a condition related to information of an electronic device that transmits or receives a message, information of an external server (eg, the external server 350 of FIG. 3 ) transmitting the message, and/or a message type.

예를 들면, 지정된 조건은 수신 중이거나 전송 중인 연결 요청 메시지의 헤더에 chatbot을 지시하는 정보, isbot을 지시하는 정보가 포함되는 조건일 수 있다. 지정된 조건은 외부 서버(350) 또는 전자 장치(101)가 지정된 전자 장치인지 여부를 포함하는 조건일 수 있다.For example, the specified condition may be a condition in which information indicating chatbot and information indicating isbot are included in the header of a connection request message being received or transmitted. The designated condition may be a condition including whether the external server 350 or the electronic device 101 is a designated electronic device.

본 발명의 다양한 실시예에 따르면, 동작 930에서, 전자 장치(101)는 셀룰러 통신을 통해 연결된 PDN과 연결을 해제할 수 있다.According to various embodiments of the present disclosure, in operation 930 , the electronic device 101 may disconnect from the PDN connected through cellular communication.

본 발명의 다양한 실시예에 따르면, 전자 장치(101)는 RCS 서버(340) 상에서의 등록 해제를 완료한 후, 셀룰러 통신을 통해 연결된 PDN과 연결을 해제하도록 제 2 통신 회로(330)를 제어할 수 있다. 셀룰러 통신을 통해 연결된 PDN과 연결을 해제하는 것은, 전자 장치(101)에 설치된 다양한 어플리케이션 중 일부 어플리케이션이 근거리 무선 통신과 연결된 상태에서도 셀룰러 통신을 통한 데이터 전송 또는 수신을 수행하는 것을 방지하기 위한 절차일 수 있다.According to various embodiments of the present disclosure, after completing deregistration on the RCS server 340 , the electronic device 101 controls the second communication circuit 330 to release the connection with the PDN connected through cellular communication. can Disconnecting the connection from the PDN connected through cellular communication is a procedure for preventing some applications among various applications installed in the electronic device 101 from performing data transmission or reception through cellular communication even in a state in which short-range wireless communication is connected. can

본 발명의 다양한 실시예에 따르면, 전자 장치(101)는 RCS 서버(340) 상에서 등록 해제를 완료한 후, RCS 서버(340)와 등록 절차를 다시 수행하기 위한 일련의 동작들을 수행할 수 있다. 전자 장치(101)는 근거리 무선 통신이 아닌 셀룰러 통신에 대응하는 전자 장치(101)의 IP 주소를 RCS 서버(340)에 다시 등록하기 위한 동작들을 수행할 수 있다.According to various embodiments of the present disclosure, after completing deregistration on the RCS server 340 , the electronic device 101 may perform a series of operations for re-performing a registration procedure with the RCS server 340 . The electronic device 101 may perform operations for re-registering the IP address of the electronic device 101 corresponding to cellular communication instead of short-range wireless communication with the RCS server 340 .

본 발명의 다양한 실시예에 따르면, 동작 940에서, 전자 장치(101)는 셀룰러 통신을 통해 PDN과 연결을 수행할 수 있다.According to various embodiments of the present disclosure, in operation 940 , the electronic device 101 may establish a connection with the PDN through cellular communication.

본 발명의 다양한 실시예에 따르면, 전자 장치(101)는 RCS 서버(340)와 전자 장치(101) 사이의 통신을 위한 PDN을 연결하도록 제 2 통신 회로(330)를 제어할 수 있다. RCS 어플리케이션(511)을 제외한 다른 어플리케이션들은 근거리 무선 통신을 통한 데이터 전송 또는 수신을 수행할 수 있다. 전자 장치(101)는 RCS 어플리케이션(511)을 제외한 다른 어플리케이션들이 전송하는 데이터를 근거리 무선 통신을 통하여 전송하도록 제 1 통신 회로(320)를 제어할 수 있다.According to various embodiments of the present disclosure, the electronic device 101 may control the second communication circuit 330 to connect the PDN for communication between the RCS server 340 and the electronic device 101 . Applications other than the RCS application 511 may perform data transmission or reception through short-range wireless communication. The electronic device 101 may control the first communication circuit 320 to transmit data transmitted by applications other than the RCS application 511 through short-range wireless communication.

본 발명의 다양한 실시예에 따르면, 동작 950에서, 전자 장치(101)는 셀룰러 통신을 통해 RCS 서버(340)와 등록 절차를 수행할 수 있다.According to various embodiments of the present disclosure, in operation 950 , the electronic device 101 may perform a registration procedure with the RCS server 340 through cellular communication.

전자 장치(101)는 RCS 서버(340)와 전자 장치(101) 사이의 통신을 위한 PDN을 이용하여, RCS 서버(340)와 등록 절차를 다시 수행할 수 있다. 전자 장치(101)를 RCS 서버(340) 상에 등록하는 절차는 전자 장치(101)가 데이터를 RCS 서버(340)로부터 수신하거나, RCS 서버(340)로 데이터를 전송하는데 이용하는 전자 장치(101)의 주소를 RCS 서버(340)에 등록하는 절차를 포함할 수 있다. 전자 장치(101)의 주소는, 셀룰러 통신을 제공하는 셀룰러 네트워크 상에서의 전자 장치(101)의 IP 주소를 의미할 수 있다.The electronic device 101 may perform a registration procedure with the RCS server 340 again by using the PDN for communication between the RCS server 340 and the electronic device 101 . In the procedure of registering the electronic device 101 on the RCS server 340 , the electronic device 101 receives data from the RCS server 340 or uses the electronic device 101 to transmit data to the RCS server 340 . It may include a procedure of registering the address of the RCS server (340). The address of the electronic device 101 may mean an IP address of the electronic device 101 on a cellular network providing cellular communication.

본 발명의 다양한 실시예에 따르면, 동작 960에서, 전자 장치(101)는 셀룰러 통신을 통해 RCS 서버(340)가 전송하는 데이터를 수신할 수 있다.According to various embodiments of the present disclosure, in operation 960 , the electronic device 101 may receive data transmitted by the RCS server 340 through cellular communication.

본 발명의 다양한 실시예에 따르면, RCS 서버(340)는 등록된 전자 장치(101)의 IP 주소를 이용하여 데이터를 전자 장치(101)로 전송할 수 있다. 전자 장치(101)는 RCS 서버(340)와 전자 장치(101)의 통신을 위한 PDN(packet data network)를 통해 데이터를 RCS 서버(340)로부터 수신할 수 있다. According to various embodiments of the present disclosure, the RCS server 340 may transmit data to the electronic device 101 using the registered IP address of the electronic device 101 . The electronic device 101 may receive data from the RCS server 340 through a packet data network (PDN) for communication between the RCS server 340 and the electronic device 101 .

이 경우, 전자 장치(101)는 셀룰러 통신을 통하여 RCS 서버(340)와 연결되고, 셀룰러 통신을 통해 RCS 서버(340)와 데이터를 교환할 수 있다. 전자 장치(101)는 RCS 서버(340)가 아닌 다른 외부 장치(예: 도 1의 전자 장치(104))와 전자 장치(101) 사이에서는 근거리 무선 통신을 통해 데이터 교환을 수행할 수 있다.In this case, the electronic device 101 may be connected to the RCS server 340 through cellular communication and exchange data with the RCS server 340 through cellular communication. The electronic device 101 may perform data exchange between the electronic device 101 and an external device other than the RCS server 340 (eg, the electronic device 104 of FIG. 1 ) through short-range wireless communication.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 셀룰러 통신을 통해 RCS(rich communication server) 서버와 등록된 상태에서, 근거리 무선 통신을 통한 데이터 통신을 수행하는 상태로 전환됨을 감지함에 대응하여, 상기 셀룰러 통신을 통해 RCS(rich communication service) 서버와 등록 해제 절차를 수행하는 동작; 상기 셀룰러 통신을 통해 연결된 PDN(packet data network)과 연결을 해제하는 동작; 상기 근거리 통신을 통한 데이터 통신을 수행할 수 있는 상태를 유지하면서, 상기 셀룰러 통신을 통해 PDN과 연결을 수행하는 동작; 상기 셀룰러 통신을 통해 RCS 서버와 등록 절차를 다시 수행하는 동작; 및 상기 셀룰러 통신을 통해 연결된 PDN을 통해 상기 RCS 서버가 전송하는 데이터를 수신하는 동작을 포함할 수 있다.In a method of operating an electronic device according to various embodiments of the present disclosure, in response to detecting a transition from a state registered with a rich communication server (RCS) server through cellular communication to a state performing data communication through short-range wireless communication, performing a deregistration procedure with a rich communication service (RCS) server through the cellular communication; disconnecting from a packet data network (PDN) connected through the cellular communication; performing a connection with a PDN through the cellular communication while maintaining a state capable of performing data communication through the short-range communication; performing a registration procedure with the RCS server again through the cellular communication; and receiving data transmitted by the RCS server through a PDN connected through the cellular communication.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 PDN은 상기 RCS 서버와 연결되기 위한 PDN일 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, the PDN may be a PDN for connection with the RCS server.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 상기 셀룰러 통신을 통한 PDN 연결이 유지되는 상태에서, 상기 근거리 무선 통신을 통해 외부 서버로부터 데이터를 수신하거나, 전송하는 동작을 더 포함할 수 있다.The method of operating an electronic device according to various embodiments of the present disclosure may further include receiving or transmitting data from an external server through the short-range wireless communication while the PDN connection through the cellular communication is maintained. .

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 상기 RCS 서버로부터 송수신되는 데이터를 처리하는 RCS 어플리케이션을 제외한 다른 어플리케이션이 처리할 데이터를 상기 근거리 무선 통신을 통해 수신하거나, 전송하는 동작을 더 포함할 수 있다.The method of operating an electronic device according to various embodiments of the present disclosure further includes receiving or transmitting data to be processed by an application other than an RCS application that processes data transmitted and received from the RCS server through the short-range wireless communication. can do.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 상기 근거리 무선 통신을 통한 데이터 수신 또는 전송을 수행하는 상태에서, 상기 셀룰러 통신을 통한 데이터 수신 또는 전송을 수행하는 상태로 전환됨을 감지함에 대응하여, 상기 RCS 서버와 등록된 상태를 유지하는 동작을 더 포함할 수 있다.In a method of operating an electronic device according to various embodiments of the present disclosure, in response to detecting that a state in which data reception or transmission is performed through the short-range wireless communication is changed to a state in which data reception or transmission is performed through the cellular communication , may further include the operation of maintaining a registered state with the RCS server.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 상기 셀룰러 통신을 통한 데이터 수신 또는 전송을 수행하는 상태로 전환됨을 감지함에 대응하여, 상기 PDN 연결을 유지하는 동작을 더 포함할 수 있다,The method of operating an electronic device according to various embodiments of the present disclosure may further include maintaining the PDN connection in response to detecting a transition to a state in which data reception or transmission is performed through the cellular communication.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 셀룰러 통신을 통해 RCS(rich communication service) 서버와 등록 해제 절차를 수행하는 동작은 상기 셀룰러 통신을 통해 RCS(rich communication service) 서버와 등록 해제 절차를 수행하기 이전, 상기 RCS 서버로부터 데이터 수신 또는 전송을 수행하는지 여부를 확인하는 동작; 상기 RCS 서버로부터 데이터 수신 또는 전송을 수행하는지 여부를 확인함에 대응하여, 지정된 시간 동안 상기 RCS 서버와의 등록을 유지하는 동작; 및 상기 지정된 시간이 만료됨에 대응하여, 상기 RCS 서버와 등록 해제 절차를 수행하는 동작을 포함할 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, the operation of performing a deregistration procedure with a rich communication service (RCS) server through the cellular communication includes registering with a rich communication service (RCS) server through the cellular communication. Before performing a release procedure, the operation of confirming whether data reception or transmission from the RCS server is performed; maintaining registration with the RCS server for a specified time in response to determining whether data reception or transmission is performed from the RCS server; and performing a deregistration procedure with the RCS server in response to expiration of the specified time.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 셀룰러 통신을 통해 RCS(rich communication service) 서버와 등록 해제 절차를 수행하는 동작은 상기 RCS 서버로부터 수신하는 데이터가 존재함에 대응하여, 상기 데이터가 지정된 조건을 만족하는지 여부를 확인하는 동작; 상기 데이터가 지정된 조건을 만족함에 대응하여, 상기 RCS 서버와의 등록을 유지하는 동작; 및 지정된 시간이 만료됨에 대응하여, 상기 RCS 서버와 등록 해제 절차를 수행하는 동작을 더 포함할 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, the operation of performing a deregistration procedure with a rich communication service (RCS) server through the cellular communication corresponds to the presence of data received from the RCS server, the checking whether data satisfies a specified condition; maintaining registration with the RCS server in response to the data satisfying a specified condition; and in response to expiration of a specified time, performing a deregistration procedure with the RCS server.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 지정된 조건은 상기 데이터가 A2P(application to person) 메시지 타입인지 여부에 대한 조건을 포함할 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, the specified condition may include a condition regarding whether the data is an application to person (A2P) message type.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 상기 RCS 서버로부터 데이터를 수신하기 위한 세션을 수립 중임을 확인함에 대응하여, 상기 RCS 서버와의 등록을 유지하는 동작을 더 포함할 수 있다.The method of operating an electronic device according to various embodiments of the present disclosure may further include maintaining registration with the RCS server in response to confirming that a session for receiving data from the RCS server is being established.

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

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

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

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.According to various embodiments of the present document, one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101) may be implemented as software (eg, the program 140) including For example, a processor (eg, processor 120 ) of a device (eg, electronic device 101 ) may call at least one command among one or more commands stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not include 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 one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store™) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly between smartphones (eg: smartphones) and online. In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.

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

Claims (20)

전자 장치에 있어서,
근거리 무선 통신을 지원하는 제 1 통신 회로;
셀룰러 통신을 지원하는 제 2 통신 회로; 및
프로세서를 포함하고,
상기 프로세서는
상기 셀룰러 통신을 통해 RCS(rich communication server) 서버와 등록된 상태에서, 상기 근거리 무선 통신을 통한 데이터 통신을 수행하는 상태로 전환됨을 감지함에 대응하여, 상기 셀룰러 통신을 통해 RCS(rich communication service) 서버와 등록 해제 절차를 수행하고,
상기 셀룰러 통신을 통해 연결된 PDN(packet data network)과 연결을 해제하도록 상기 제 2 통신 회로를 제어하고,
상기 근거리 통신을 통한 데이터 통신을 수행할 수 있는 상태를 유지하면서, 상기 셀룰러 통신을 통한 PDN과 연결을 수행하도록 상기 제 2 통신 회로를 제어하고,
상기 셀룰러 통신을 통해 RCS 서버와 등록 절차를 다시 수행하도록 상기 제 2 통신 회로를 제어하고,
상기 셀룰러 통신을 통해 연결된 PDN을 통해 상기 RCS 서버가 전송하는 데이터를 수신하도록 상기 제 2 통신 회로를 제어하도록 설정된 전자 장치.
In an electronic device,
a first communication circuit supporting short-range wireless communication;
a second communication circuit supporting cellular communication; and
including a processor;
the processor is
In response to detecting a transition from a state registered with a rich communication server (RCS) server through the cellular communication to a state performing data communication through the short-range wireless communication, a rich communication service (RCS) server through the cellular communication and deregistration procedures;
controlling the second communication circuit to disconnect from a packet data network (PDN) connected through the cellular communication;
while maintaining a state capable of performing data communication through the short-range communication, controlling the second communication circuit to perform a connection with the PDN through the cellular communication,
controlling the second communication circuit to perform a registration procedure with the RCS server again through the cellular communication;
an electronic device configured to control the second communication circuit to receive data transmitted by the RCS server through a PDN connected through the cellular communication.
제 1항에 있어서,
상기 PDN은
상기 RCS 서버와 연결되기 위한 PDN인 것을 특징으로 하는 전자 장치.
The method of claim 1,
The PDN is
The electronic device, characterized in that the PDN for connecting to the RCS server.
제 1항에 있어서,
상기 프로세서는
상기 셀룰러 통신을 통한 PDN 연결이 유지되는 상태에서, 상기 근거리 무선 통신을 통해 외부 서버로부터 데이터를 수신하거나, 전송하도록 설정된 전자 장치.
The method of claim 1,
the processor is
An electronic device configured to receive or transmit data from an external server through the short-range wireless communication while the PDN connection through the cellular communication is maintained.
제 1항에 있어서,
상기 프로세서는
상기 RCS 서버로부터 송수신되는 데이터를 처리하는 RCS 어플리케이션을 제외한 다른 어플리케이션이 처리할 데이터를 상기 근거리 무선 통신을 통해 수신하거나, 전송하도록 설정된 전자 장치.
The method of claim 1,
the processor is
An electronic device configured to receive or transmit data to be processed by an application other than an RCS application that processes data transmitted and received from the RCS server through the short-range wireless communication.
제 1항에 있어서,
상기 프로세서는
상기 근거리 무선 통신을 통한 데이터 수신 또는 전송을 수행하는 상태에서, 상기 셀룰러 통신을 통한 데이터 수신 또는 전송을 수행하는 상태로 전환됨을 감지함에 대응하여, 상기 RCS 서버와 등록된 상태를 유지하도록 설정된 전자 장치.
The method of claim 1,
the processor is
An electronic device configured to maintain a state registered with the RCS server in response to detecting that the state in which data reception or transmission is performed through the short-range wireless communication is changed to a state in which data reception or transmission is performed through the cellular communication .
제 5항에 있어서,
상기 프로세서는
상기 셀룰러 통신을 통한 데이터 수신 또는 전송을 수행하는 상태로 전환됨을 감지함에 대응하여, 상기 PDN 연결을 유지하도록 설정된 전자 장치.
6. The method of claim 5,
the processor is
An electronic device configured to maintain the PDN connection in response to detecting a transition to a state in which data reception or transmission is performed through the cellular communication.
제 1항에 있어서,
상기 프로세서는
상기 셀룰러 통신을 통해 RCS(rich communication service) 서버와 등록 해제 절차를 수행하기 이전, 상기 RCS 서버로부터 데이터 수신 또는 전송을 수행하는지 여부를 확인하고,
상기 RCS 서버로부터 데이터 수신 또는 전송을 수행하는지 여부를 확인함에 대응하여, 지정된 시간 동안 상기 RCS 서버와 등록을 유지하고
상기 지정된 시간이 만료됨에 대응하여, 상기 RCS 서버와 등록 해제 절차를 수행하도록 설정된 전자 장치.
The method of claim 1,
the processor is
Before performing the deregistration procedure with the RCS (rich communication service) server through the cellular communication, it is checked whether data reception or transmission is performed from the RCS server,
In response to confirming whether data reception or transmission is performed from the RCS server, maintaining registration with the RCS server for a specified time, and
An electronic device configured to perform a deregistration procedure with the RCS server in response to expiration of the specified time.
제 7항에 있어서,
상기 프로세서는
상기 RCS 서버로부터 수신하는 데이터가 존재함에 대응하여, 상기 데이터가 지정된 조건을 만족하는지 여부를 확인하고,
상기 데이터가 지정된 조건을 만족함에 대응하여, 상기 RCS 서버와의 등록을 유지하고,
지정된 시간이 만료됨에 대응하여, 상기 RCS 서버와 등록 해제 절차를 수행하도록 설정된 전자 장치.
8. The method of claim 7,
the processor is
In response to the existence of data received from the RCS server, it is checked whether the data satisfies a specified condition,
In response to the data satisfying a specified condition, maintaining registration with the RCS server,
An electronic device configured to perform a deregistration procedure with the RCS server in response to expiration of a specified time.
제 8항에 있어서,
상기 지정된 조건은
상기 데이터가 A2P(application to person) 메시지 타입인지 여부에 대한 조건을 포함하는 전자 장치.
9. The method of claim 8,
The conditions specified above are
An electronic device including a condition for whether the data is an A2P (application to person) message type.
제 7항에 있어서,
상기 프로세서는
상기 RCS 서버로부터 데이터를 수신하기 위한 세션을 수립 중임을 확인함에 대응하여, 상기 RCS 서버와의 등록을 유지하도록 설정된 전자 장치.
8. The method of claim 7,
the processor is
In response to confirming that a session for receiving data from the RCS server is being established, the electronic device configured to maintain registration with the RCS server.
전자 장치의 동작 방법에 있어서,
셀룰러 통신을 통해 RCS(rich communication server) 서버와 등록된 상태에서, 근거리 무선 통신을 통한 데이터 통신을 수행하는 상태로 전환됨을 감지함에 대응하여, 상기 셀룰러 통신을 통해 RCS(rich communication service) 서버와 등록 해제 절차를 수행하는 동작;
상기 셀룰러 통신을 통해 연결된 PDN(packet data network)과 연결을 해제하는 동작;
상기 근거리 통신을 통한 데이터 통신을 수행할 수 있는 상태를 유지하면서, 상기 셀룰러 통신을 통해 PDN과 연결을 수행하는 동작;
상기 셀룰러 통신을 통해 RCS 서버와 등록 절차를 다시 수행하는 동작; 및
상기 셀룰러 통신을 통해 연결된 PDN을 통해 상기 RCS 서버가 전송하는 데이터를 수신하는 동작을 포함하는 전자 장치의 동작 방법.
A method of operating an electronic device, comprising:
In response to detecting a transition from a state of being registered with a rich communication server (RCS) server through cellular communication to a state of performing data communication through short-range wireless communication, registration with a rich communication service (RCS) server through the cellular communication performing a release procedure;
disconnecting from a packet data network (PDN) connected through the cellular communication;
performing a connection with a PDN through the cellular communication while maintaining a state capable of performing data communication through the short-range communication;
performing a registration procedure with the RCS server again through the cellular communication; and
and receiving data transmitted by the RCS server through the PDN connected through the cellular communication.
제 11항에 있어서,
상기 PDN은
상기 RCS 서버와 연결되기 위한 PDN인 것을 특징으로 하는 전자 장치의 동작 방법.
12. The method of claim 11,
The PDN is
The method of operating an electronic device, characterized in that it is a PDN for connection with the RCS server.
제 11항에 있어서,
상기 전자 장치의 동작 방법은
상기 셀룰러 통신을 통한 PDN 연결이 유지되는 상태에서, 상기 근거리 무선 통신을 통해 외부 서버로부터 데이터를 수신하거나, 전송하는 동작을 더 포함하는 전자 장치의 동작 방법.
12. The method of claim 11,
The method of operating the electronic device includes
and receiving or transmitting data from an external server through the short-range wireless communication while the PDN connection through the cellular communication is maintained.
제 11항에 있어서,
상기 전자 장치의 동작 방법은
상기 RCS 서버로부터 송수신되는 데이터를 처리하는 RCS 어플리케이션을 제외한 다른 어플리케이션이 처리할 데이터를 상기 근거리 무선 통신을 통해 수신하거나, 전송하는 동작을 더 포함하는 전자 장치의 동작 방법.
12. The method of claim 11,
The method of operating the electronic device includes
The method of operating an electronic device further comprising receiving or transmitting data to be processed by an application other than an RCS application that processes data transmitted and received from the RCS server through the short-range wireless communication.
제 11항에 있어서,
상기 전자 장치의 동작 방법은
상기 근거리 무선 통신을 통한 데이터 수신 또는 전송을 수행하는 상태에서, 상기 셀룰러 통신을 통한 데이터 수신 또는 전송을 수행하는 상태로 전환됨을 감지함에 대응하여, 상기 RCS 서버와 등록된 상태를 유지하는 동작을 더 포함하는 전자 장치의 동작 방법.
12. The method of claim 11,
The method of operating the electronic device includes
In response to detecting that the state in which data reception or transmission is performed through the short-range wireless communication is changed to a state in which data reception or transmission is performed through the cellular communication, an operation of maintaining a state registered with the RCS server is further performed A method of operating an electronic device comprising a.
제 15항에 있어서,
상기 전자 장치의 동작 방법은
상기 셀룰러 통신을 통한 데이터 수신 또는 전송을 수행하는 상태로 전환됨을 감지함에 대응하여, 상기 PDN 연결을 유지하는 동작을 더 포함하는 전자 장치의 동작 방법.
16. The method of claim 15,
The method of operating the electronic device includes
The method of operating an electronic device further comprising maintaining the PDN connection in response to detecting a transition to a state in which data reception or transmission is performed through the cellular communication.
제 11항에 있어서,
상기 셀룰러 통신을 통해 RCS(rich communication service) 서버와 등록 해제 절차를 수행하는 동작은
상기 셀룰러 통신을 통해 RCS(rich communication service) 서버와 등록 해제 절차를 수행하기 이전, 상기 RCS 서버로부터 데이터 수신 또는 전송을 수행하는지 여부를 확인하는 동작;
상기 RCS 서버로부터 데이터 수신 또는 전송을 수행하는지 여부를 확인함에 대응하여, 지정된 시간 동안 상기 RCS 서버와의 등록을 유지하는 동작; 및
상기 지정된 시간이 만료됨에 대응하여, 상기 RCS 서버와 등록 해제 절차를 수행하는 동작을 포함하는 전자 장치의 동작 방법.
12. The method of claim 11,
The operation of performing a deregistration procedure with a rich communication service (RCS) server through the cellular communication is
Before performing a deregistration procedure with a rich communication service (RCS) server through the cellular communication, checking whether data reception or transmission is performed from the RCS server;
maintaining registration with the RCS server for a specified time in response to determining whether data reception or transmission is performed from the RCS server; and
and performing a deregistration procedure with the RCS server in response to expiration of the specified time.
제 17항에 있어서,
상기 셀룰러 통신을 통해 RCS(rich communication service) 서버와 등록 해제 절차를 수행하는 동작은
상기 RCS 서버로부터 수신하는 데이터가 존재함에 대응하여, 상기 데이터가 지정된 조건을 만족하는지 여부를 확인하는 동작;
상기 데이터가 지정된 조건을 만족함에 대응하여, 상기 RCS 서버와의 등록을 유지하는 동작; 및
지정된 시간이 만료됨에 대응하여, 상기 RCS 서버와 등록 해제 절차를 수행하는 동작을 더 포함하는 전자 장치의 동작 방법.
18. The method of claim 17,
The operation of performing a deregistration procedure with a rich communication service (RCS) server through the cellular communication is
in response to the existence of data received from the RCS server, checking whether the data satisfies a specified condition;
maintaining registration with the RCS server in response to the data satisfying a specified condition; and
In response to expiration of a specified time, the operation method of the electronic device further comprising the operation of performing a deregistration procedure with the RCS server.
제 18항에 있어서,
상기 지정된 조건은
상기 데이터가 A2P(application to person) 메시지 타입인지 여부에 대한 조건을 포함하는 전자 장치의 동작 방법.
19. The method of claim 18,
The conditions specified above are
An operating method of an electronic device including a condition on whether the data is an A2P (application to person) message type.
제 17항에 있어서,
상기 전자 장치의 동작 방법은
상기 RCS 서버로부터 데이터를 수신하기 위한 세션을 수립 중임을 확인함에 대응하여, 상기 RCS 서버와의 등록을 유지하는 동작을 더 포함하는 전자 장치의 동작 방법.
18. The method of claim 17,
The method of operating the electronic device includes
In response to confirming that a session for receiving data from the RCS server is being established, maintaining registration with the RCS server.
KR1020200181872A 2020-09-22 2020-12-23 Electronic device for receiving or transmitting a rich communicatoin service data and method for the same KR20220039514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/KR2021/012528 WO2022065788A1 (en) 2020-09-22 2021-09-14 Electronic device for receiving or transmitting rcs data, and method for operating electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020200122042 2020-09-22
KR20200122042 2020-09-22

Publications (1)

Publication Number Publication Date
KR20220039514A true KR20220039514A (en) 2022-03-29

Family

ID=80996522

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200181872A KR20220039514A (en) 2020-09-22 2020-12-23 Electronic device for receiving or transmitting a rich communicatoin service data and method for the same

Country Status (1)

Country Link
KR (1) KR20220039514A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024063261A1 (en) * 2022-09-19 2024-03-28 삼성전자 주식회사 Electronic device for transmitting and receiving data to and from metaverse server and operation method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024063261A1 (en) * 2022-09-19 2024-03-28 삼성전자 주식회사 Electronic device for transmitting and receiving data to and from metaverse server and operation method thereof

Similar Documents

Publication Publication Date Title
KR20220039514A (en) Electronic device for receiving or transmitting a rich communicatoin service data and method for the same
KR20220074117A (en) Electronic device for selecting base station for performing emergency call and method for the same
KR20210051749A (en) Method for performing emergency call and electronic device therefor
US11853637B2 (en) Electronic device for synchronizing output time point of content output by external devices and method of operating same
US20220224661A1 (en) Electronic device for receiving or transmitting rcs data and operation method of electronic device
KR20220168407A (en) Electronic device and method thereof
KR20220118135A (en) Electronic device for managing pdu session and method for operating thereof
KR102442628B1 (en) Electronic device for providing chatting service and method for operating thereof
US11949652B2 (en) Transmitting router advertisements based on identification information of external devices
US20240137325A1 (en) Electronic device for data communication in wireless communication system and method for operating same
KR102436253B1 (en) Electronic device for providing call function continuity and operating method thereof
US20230337302A1 (en) Electronic device that carries out communication and operation method therefor
US20220385722A1 (en) Electronic device for file transfer and operating method thereof
KR20230024818A (en) Electronic device for switching a cellular communicatoin based on a status of the electronic device and method for the same
KR20240053493A (en) Electronic device for data communication in wireless communication system and operating method thereof
KR20220135623A (en) Electronic device for allocating ip address of an external electronic device and method for the same
KR20230055589A (en) Electronic device for providing rcs function and operating method thereof
KR20220027586A (en) Method for operating instant message and electronic device supporting the same
KR20220146296A (en) Electronic device for transmitting message and operating method thereof
KR20220117000A (en) Electronic device for performing a communication based on identification information of a network connected to an electronic device and method for the same
KR20220092340A (en) Electronic device for processing duplicate message and operating method thereof
KR20220107896A (en) Electronic device performing communciation and method for operating thereof
KR20220043741A (en) Electronic device for synchronizing call waiting operation in network environment and method thereof
KR20240008221A (en) Electronic device for performing call recording and operating method thereof
KR20230029122A (en) Electronic device for transmitting a plurality of image streams during performing video call and method for the same

Legal Events

Date Code Title Description
A201 Request for examination