KR20230032810A - Electronic device for obtaining network information and operating method thereof - Google Patents

Electronic device for obtaining network information and operating method thereof Download PDF

Info

Publication number
KR20230032810A
KR20230032810A KR1020210139298A KR20210139298A KR20230032810A KR 20230032810 A KR20230032810 A KR 20230032810A KR 1020210139298 A KR1020210139298 A KR 1020210139298A KR 20210139298 A KR20210139298 A KR 20210139298A KR 20230032810 A KR20230032810 A KR 20230032810A
Authority
KR
South Korea
Prior art keywords
electronic device
network
network information
information related
external electronic
Prior art date
Application number
KR1020210139298A
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 삼성전자주식회사
Publication of KR20230032810A publication Critical patent/KR20230032810A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/16Interfaces between hierarchically similar devices
    • H04W92/18Interfaces between hierarchically similar devices between terminal devices

Abstract

The present invention relates to a device and method for obtaining cellular network information through direct communication in an electronic device. The electronic device comprises: a first communication circuit supporting direct communication with a memory; a second communication circuit supporting cellular communication; and one or more processors operatively connected to the memory, the first communication circuit, and the second communication circuit. The processors are able to acquire network information related to one or more external electronic devices through the first communication circuit, detect a cell of the network which the electronic device can access based on the network information related to the one or more external electronic devices, and register the cell as part of the network through the second communication circuit. In addition, other embodiments may also be possible. Therefore, the delay in time due to network search can be reduced.

Description

네트워크 정보를 획득하기 위한 전자 장치 및 그의 동작 방법{ELECTRONIC DEVICE FOR OBTAINING NETWORK INFORMATION AND OPERATING METHOD THEREOF} Electronic device for acquiring network information and its operating method

본 발명의 다양한 실시예는 전자 장치에서 직접 통신을 통해 셀룰러 네트워크의 정보를 획득하기 위한 장치 및 방법에 관한 것이다.Various embodiments of the present invention relate to an apparatus and method for acquiring information of a cellular network through direct communication in an electronic device.

4G 통신 시스템 상용화 이후 증가 추세에 있는 무선 데이터 트래픽 수요를 충족시키기 위해, 개선된 5G 통신 시스템 또는 pre-5G 통신 시스템을 개발하기 위한 노력이 이루어지고 있다. 이러한 이유로, 5G 통신 시스템 또는 pre-5G 통신 시스템은 4G 네트워크 이후 (Beyond 4G Network) 통신 시스템 또는 LTE 시스템 이후 (Post LTE) 통신 시스템이라 불리어 지고 있다. 높은 데이터 전송률을 달성하기 위해, 5G 통신 시스템은 6기가(6GHz) 이하의 대역(예를 들어, 약 1.8기가(1.8GHz) 대역 또는 약 3.5기가(3.5GHz) 대역) 또는 더 높은 주파수 대역 (예를 들어, 약 28기가(28GHz) 대역 또는 약 39기가(GHz) 대역)에서의 구현이 고려되고 있다. 전파의 경로손실 완화 및 전파의 전달 거리를 증가시키기 위해, 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 to meet the growing demand for wireless data traffic after the commercialization of the 4G communication system. For this reason, the 5G communication system or pre-5G communication system is being called a Beyond 4G Network communication system or a Post LTE communication system. In order to achieve a high data rate, the 5G communication system is a band of 6 gigabytes (6 GHz) or less (eg, about 1.8 gigabytes (1.8 GHz) band or about 3.5 gigabytes (3.5 GHz) band) or a higher frequency band (eg about 1.8 gigabytes (3.5 GHz) band). For example, implementation in about 28 gigabytes (28 GHz) band or about 39 gigabytes (GHz) band) is being considered. In order to mitigate the path loss of radio waves and increase the propagation distance of radio waves, 5G communication systems use beamforming, massive MIMO, full dimensional MIMO (FD-MIMO), and array antennas. (array antenna), analog beam-forming, and large scale antenna technologies are being discussed.

전자 장치는 전원이 공급되거나, 음영 지역을 벗어난 경우, 전자 장치가 접속(또는 등록)하기 위한 셀을 검색하기 위해 네트워크 검색을 수행할 수 있다. 예를 들어, 전자 장치는 전원이 공급되거나, 음영 지역을 벗어난 경우, 등록 PLMN(RPLMN: registed public land mobile network), 홈 PLMN(HPLMN: home PLMN) 및/또는 선호 PLMN(PPLMN: preferred PLMN)에 대한 네트워크 검색을 수행할 수 있다. 전자 장치는 네트워크 검색을 통해 등록 PLMN, 홈 PLMN 및/또는 선호 PLMN이 검색되지 않는 경우, 전자 장치에서 지원 가능한 모든 주파수 대역에 대한 네트워크 검색(예: full scan)을 수행할 수 있다. 예를 들어, 전자 장치는 SA(stand-alone) 구조의 NR(new radio) 통신을 지원하는 경우, NR 통신의 네트워크로의 등록을 위해 전자 장치에서 지원 가능한 NR 통신의 주파수 대역에 대한 네트워크 검색을 수행할 수 있다. 전자 장치는 전자 장치가 등록 가능한 NR 통신의 네트워크가 검색되지 않는 경우, 전자 장치에서 지원 가능한 LTE(long term evolution) 통신의 주파수 대역에 대한 네트워크 검색을 수행할 수 있다. The electronic device may perform a network search to search for a cell to which the electronic device accesses (or registers) when power is supplied or when it is out of a shaded area. For example, when an electronic device is energized or out of a shaded area, it can register to a registered public land mobile network (RPLMN), home PLMN (HPLMN), and/or preferred PLMN (PPLMN). You can perform a network search for When the registered PLMN, the home PLMN, and/or the preferred PLMN are not searched through the network search, the electronic device may perform a network search (eg, full scan) for all frequency bands supported by the electronic device. For example, when the electronic device supports new radio (NR) communication of a stand-alone (SA) structure, a network search for a frequency band of NR communication supportable by the electronic device is performed to register the NR communication in the network. can be done The electronic device may perform a network search for a frequency band of long term evolution (LTE) communication that can be supported by the electronic device when a network of NR communication in which the electronic device can register is not searched.

전자 장치는 가입자 식별 모듈(SIM: subscriber identity module)에 저장된 PLMN과 관련된 정보와 실제 환경에 설치된 네트워크의 PLMN과 관련된 정보가 상이한 경우(예: 로밍(roaming)), PLMN 등록을 위해 전자 장치에서 지원 가능한 모든 주파수들에 대한 네트워크 검색(예: full scan)을 수행해야 하므로, 네트워크 검색에 의한 시간 지연이 발생할 수 있다.When the information related to the PLMN stored in the subscriber identity module (SIM) and the information related to the PLMN of the network installed in the actual environment are different (e.g., roaming), the electronic device supports PLMN registration in the electronic device Since a network search (eg, full scan) for all possible frequencies must be performed, a time delay may occur due to the network search.

본 발명의 다양한 실시예는 전자 장치에서 네트워크 검색에 의한 시간 지연을 감소시키기 위한 장치 및 방법에 대해 개시한다.Various embodiments of the present disclosure disclose an apparatus and method for reducing a time delay due to a network search in an electronic device.

다양한 실시예에 따르면, 전자 장치는, 메모리와 직접 통신을 지원하는 제 1 통신 회로와 셀룰러 통신을 지원하는 제 2 통신 회로, 및 상기 메모리, 상기 제 1 통신 회로 및 상기 제 2 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하며, 상기 프로세서는, 상기 제 1 통신 회로를 통해 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하고, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 검출하고, 상기 제 2 통신 회로를 통해 상기 네트워크의 셀로 등록을 수행할 수 있다.According to various embodiments, an electronic device may include a first communication circuit supporting direct communication with a memory and a second communication circuit supporting cellular communication, and operating with the memory, the first communication circuit, and the second communication circuit. and at least one processor connected to, wherein the processor obtains network information related to at least one external electronic device through the first communication circuit, and based on the network information related to the at least one external electronic device, A cell of a network accessible to the electronic device may be detected, and registration may be performed with the cell of the network through the second communication circuit.

다양한 실시예에 따르면, 전자 장치의 동작 방법은, 직접 통신을 통해 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 동작과 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 제 1 셀룰러 네트워크의 셀을 검출하는 동작, 및 상기 검출된 제 1 네트워크의 셀로 등록을 수행하는 동작을 포함할 수 있다.According to various embodiments, a method of operating an electronic device includes obtaining network information related to at least one external electronic device through direct communication, and the electronic device based on the network information related to the at least one external electronic device. It may include an operation of detecting an accessible cell of the first cellular network, and an operation of performing registration with the detected cell of the first network.

본 발명의 다양한 실시예에 따르면, 전자 장치에서 직접 통신(예: D2D(device to device))을 통해 셀룰러 네트워크의 정보를 획득함으로써, 네트워크 검색에 의한 시간 지연을 감소시킬 수 있다.According to various embodiments of the present disclosure, a time delay caused by a network search may be reduced by obtaining cellular network information through direct communication (eg, device to device (D2D)) in an electronic device.

도 1은 다양한 실시예에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 다양한 실시예에 따른 직접 통신을 지원하는 무선 통신 시스템의 일예이다.
도 3은 다양한 실시예에 따른 직접 통신을 통해 네트워크 정보를 획득하기 위한 전자 장치의 블록도이다.
도 4는 다양한 실시예에 따른 전자 장치에서 네트워크에 등록하기 위한 흐름도이다.
도 5는 다양한 실시예에 따른 전자 장치에서 네트워크 정보를 획득하기 위한 흐름도의 일예이다.
도 6은 다양한 실시예에 따른 전자 장치에서 네트워크 정보를 획득하기 위한 흐름도의 다른 일예이다.
도 7은 다양한 실시예에 따른 전자 장치에서 직접 통신을 통해 네트워크 정보를 획득하기 위한 흐름도이다.
도 8은 다양한 실시예에 따른 전자 장치에서 접속하기 위한 셀을 선택하기 위한 흐름도이다.
도 9는 다양한 실시예에 따른 전자 장치에서 네트워크와의 연결 해제 시, 네트워크에 등록하기 위한 일예이다.
도 10은 다양한 실시예에 따른 전자 장치에서 로밍 상태에서 네트워크에 등록하기 위한 일예이다.
1 is a block diagram of an electronic device in a network environment, according to various embodiments.
2 is an example of a wireless communication system supporting direct communication according to various embodiments.
3 is a block diagram of an electronic device for acquiring network information through direct communication according to various embodiments.
4 is a flowchart for registering in a network in an electronic device according to various embodiments.
5 is an example of a flowchart for acquiring network information in an electronic device according to various embodiments.
6 is another example of a flowchart for acquiring network information in an electronic device according to various embodiments.
7 is a flowchart for obtaining network information through direct communication in an electronic device according to various embodiments.
8 is a flowchart for selecting a cell to access in an electronic device according to various embodiments.
9 is an example for registering in a network when an electronic device disconnects from a network according to various embodiments of the present disclosure.
10 is an example of registering in a network in a roaming state in an electronic device according to various embodiments of the present disclosure.

이하 다양한 실시예들이 첨부된 도면을 참고하여 상세히 설명된다. Hereinafter, various embodiments will be described in detail with reference to the accompanying drawings.

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

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 . According to one embodiment, the processor 120 includes a 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 ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, when the electronic device 101 includes the main processor 121 and the auxiliary processor 123, the auxiliary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function. can The secondary processor 123 may be implemented separately from or as part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The secondary processor 123 may, for example, take the place 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, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to one embodiment, the auxiliary processor 123 (eg, an image signal processor or a communication processor) may be implemented as part of other functionally related components (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. AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where the artificial intelligence model 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, but is not limited to the above examples. The artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.

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

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

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used by a component (eg, the processor 120) of the electronic device 101 from the outside of the electronic device 101 (eg, a user). 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 sound signals 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. A receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

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

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

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

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

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

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

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

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

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary 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). Establishment and communication through the established communication channel may be supported. 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 may be 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, a : a local area network (LAN) communication module or a power line communication module). Among these communication modules, a corresponding communication module 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 telecommunications network such as a computer network (eg, a LAN or a WAN). These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips). The wireless communication module 192 uses 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 이하)를 지원할 수 있다. 다양한 실시예에 따르면, 가입자 식별 모듈(196)은 복수의 가입자 식별 모듈을 포함할 수 있다. 예를들어, 복수의 가입자 식별 모듈은 서로 다른 가입자 정보를 저장할 수 있다. The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported. The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data throughput, for example. The wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements defined for 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 be configured to achieve peak data rate (eg, 20 Gbps or more) for eMBB realization, loss coverage (eg, 164 dB or less) for mMTC realization, or U-plane latency (eg, URLLC realization). Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported. According to various embodiments, the subscriber identification module 196 may include a plurality of subscriber identification modules. For example, a plurality of subscriber identification modules may store different subscriber information.

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

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

구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a 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 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, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself. Alternatively or additionally, one or more external electronic devices may be requested to perform the function or at least part of the service. One or more external electronic devices receiving 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 deliver the execution result to the electronic device 101 . The electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed. To this end, 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 one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 . The electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

본 문서에 개시된 다양한 실시예에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. 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. An electronic device according to an embodiment of the present document is not limited to the aforementioned devices.

본 문서의 다양한 실시예 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.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 should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A Each of the phrases such as "at least one of , B, or C" may include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (e.g., first) component is said to be "coupled" or "connected" to another (e.g., second) component, with or without the terms "functionally" or "communicatively." When mentioned, it means that the certain component may 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 interchangeably interchangeable with terms such as, for example, logic, logical blocks, components, or circuits. can be used A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예는 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document provide 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). It may be implemented as software (eg, the program 140) including them. For example, a processor (eg, the processor 120 ) of a device (eg, the electronic device 101 ) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. 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-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.

일 실시예에 따르면, 본 문서에 개시된 다양한 실시예에 따른 방법은 컴퓨터 프로그램 제품(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 included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) online, directly between smart phones. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.

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

도 2는 다양한 실시예에 따른 직접 통신을 지원하는 무선 통신 시스템의 일예이다.2 is an example of a wireless communication system supporting direct communication according to various embodiments.

도 2를 참조하는 다양한 실시예에 따르면, 외부 전자 장치(220)는 기지국 1(200)의 커버리지(coverage) 내에 위치할 수 있다. 일 실시예에 따르면, 외부 전자 장치(220)는 기지국 1(200)로부터 하향링크(DL: downlink)를 통해 데이터 및/또는 신호(예: 제어 정보)를 수신할 수 있다. 외부 전자 장치(220)는 상향링크(UL: uplink)를 통해 데이터 및/또는 신호(예: 제어 정보)를 기지국 1(200)로 송신할 수 있다. 일예로, 기지국 1(200)의 커버리지는 기지국 1(200)과 데이터 및/또는 신호의 송신 및/또는 수신이 가능한 영역(또는 서비스 영역)을 포함할 수 있다.According to various embodiments referring to FIG. 2 , the external electronic device 220 may be located within the coverage of base station 1 200 . According to an embodiment, the external electronic device 220 may receive data and/or signals (eg, control information) from base station 1 200 through a downlink (DL). The external electronic device 220 may transmit data and/or signals (eg, control information) to base station 1 200 through uplink (UL). For example, the coverage of base station 1 200 may include an area (or service area) where base station 1 200 and data and/or signals can be transmitted and/or received.

다양한 실시예에 따르면, 전자 장치(101)는 직접 통신을 통해 외부 전자 장치(220)와 데이터 및/또는 신호(예: 제어 정보)를 송신 및/또는 수신할 수 있다. 예를 들어, 직접 통신은 셀룰러 네트워크와 관련되지 않은 D2D 통신(예: off-net D2D)으로, 무선랜(예: Wi-Fi), 블루투스(bluetooth), BLE(bluetooth low energy) 또는 UWB(ultra-wideband) 중 적어도 하나와 같은 근거리 통신 네트워크를 통해 수행될 수 있다. According to various embodiments, the electronic device 101 may transmit and/or receive data and/or signals (eg, control information) with the external electronic device 220 through direct communication. For example, direct communication is D2D communication that is not related to a cellular network (eg, off-net D2D), wireless LAN (eg, Wi-Fi), Bluetooth, Bluetooth low energy (BLE), or UWB (ultra -wideband) may be performed over a short-range communication network such as at least one of

다양한 실시예에 따르면, 전자 장치(101)는 직접 통신을 통해 외부 전자 장치(220)로부터 제공받은 네트워크 정보에 기반하여 기지국 1(200)에 접속할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 기지국 1(200)의 커버리지 내로 진입한 경우, 직접 통신을 통해 외부 전자 장치(220)로부터 기지국 1(200)과 관련된 네트워크 정보를 획득할 수 있다. 전자 장치(101)는 외부 전자 장치(220)로부터 획득한 기지국 1(200)과 관련된 네트워크 정보에 기반하여 기지국 1(200)에 접속할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 기지국 1(200)로부터 하향링크(DL: downlink)를 통해 데이터 및/또는 신호(예: 제어 정보)를 수신할 수 있다. 전자 장치(101)는 상향링크(UL: uplink)를 통해 데이터 및/또는 신호(예: 제어 정보)를 기지국 1(200)로 송신할 수 있다. According to various embodiments, the electronic device 101 may access base station 1 200 based on network information provided from the external electronic device 220 through direct communication. According to an embodiment, when entering the coverage of base station 1 200, the electronic device 101 may obtain network information related to base station 1 200 from the external electronic device 220 through direct communication. The electronic device 101 may access base station 1 200 based on network information related to base station 1 200 acquired from the external electronic device 220 . According to an embodiment, the electronic device 101 may receive data and/or signals (eg, control information) from base station 1 200 through a downlink (DL). The electronic device 101 may transmit data and/or signals (eg, control information) to base station 1 200 through uplink (UL).

도 3은 다양한 실시예에 따른 직접 통신을 통해 네트워크 정보를 획득하기 위한 전자 장치의 블록도이다.3 is a block diagram of an electronic device for acquiring network information through direct communication according to various embodiments.

도 3을 참조하는 다양한 실시예에 따르면, 전자 장치(101)는 프로세서(300), 제 1 통신 회로(310), 제 2 통신 회로(320) 및/또는 메모리(330)를 포함할 수 있다. 일 실시예에 따르면, 프로세서(300)는 도 1의 프로세서(120)와 실질적으로 동일하거나, 프로세서(120)를 포함할 수 있다. 제 1 통신 회로(310) 및/또는 제 2 통신 회로(320)는 도 1의 무선 통신 모듈(192)과 실질적으로 동일하거나, 무선 통신 모듈(192)을 포함할 수 있다. 메모리(330)는 도 1의 메모리(130)와 실질적으로 동일하거나, 메모리(130)를 포함할 수 있다. 일 실시예에 따르면, 프로세서(300)는 제 1 통신 회로(310), 제 2 통신 회로(320) 및/또는 메모리(330)와 작동적으로 연결될 수 있다.According to various embodiments referring to FIG. 3 , the electronic device 101 may include a processor 300 , a first communication circuit 310 , a second communication circuit 320 and/or a memory 330 . According to one embodiment, the processor 300 may be substantially the same as the processor 120 of FIG. 1 or may include the processor 120 . The first communication circuit 310 and/or the second communication circuit 320 may be substantially the same as or may include the wireless communication module 192 of FIG. 1 . The memory 330 may be substantially the same as the memory 130 of FIG. 1 or may include the memory 130 . According to one embodiment, the processor 300 may be operatively coupled with the first communication circuit 310 , the second communication circuit 320 and/or the memory 330 .

다양한 실시예에 따르면, 프로세서(300)는 직접 통신을 통해 외부 전자 장치(220)로부터 네트워크 정보를 획득할 수 있다. 일 실시예에 따르면, 프로세서(300)는 제 2 통신 회로(320)를 통해 셀룰러 네트워크와 통신을 연결할 수 있다. 프로세서(300)는 셀룰러 네트워크와의 통신 연결이 해제되는 경우(예: out of sync), 직접 통신을 통해 외부 전자 장치(220)로부터 네트워크 정보를 획득하도록 제 1 통신 회로(310)를 제어할 수 있다. 일예로, 셀룰러 네트워크와의 통신 연결의 해제는 전자 장치(101)의 음영 지역으로의 이동, 셀룰러 네트워크의 커버리지 밖으로의 이동, 무선 링크 실패(RLF: radio link failure) 및/또는 핸드 오버 실패에 의해 발생될 수 있다.According to various embodiments, the processor 300 may obtain network information from the external electronic device 220 through direct communication. According to an embodiment, the processor 300 may communicate with a cellular network through the second communication circuit 320 . When the communication connection with the cellular network is disconnected (eg, out of sync), the processor 300 may control the first communication circuit 310 to obtain network information from the external electronic device 220 through direct communication. there is. For example, the communication connection with the cellular network is disconnected due to movement of the electronic device 101 into a shadow area, movement out of the coverage of the cellular network, radio link failure (RLF), and/or handover failure. may occur.

일 실시예에 따르면, 프로세서(300)는 전자 장치(101)가 로밍 상태인 것으로 판단되는 경우, 직접 통신을 통해 외부 전자 장치(220)로부터 네트워크 정보를 획득하도록 제 1 통신 회로(310)를 제어할 수 있다. 예를 들어, 프로세서(300)는 제 2 통신 회로(320)를 통해 등록 PLMN(RPLMN: registed public land mobile network), 홈 PLMN(HPLMN: home PLMN) 및/또는 선호 PLMN(PPLMN: preferred PLMN)과 관련된 네트워크가 검색되지 않는 경우, 전자 장치(101)가 로밍 상태인 것으로 판단할 수 있다. 예를 들어, 등록 PLMN, 홈 PLMN 및/또는 선호 PLMN에 대한 네트워크 검색은 비활성 상태의 제 2 통신 회로(320)가 활성 상태로 전환되는 경우 수행될 수 있다. According to an embodiment, the processor 300 controls the first communication circuit 310 to acquire network information from the external electronic device 220 through direct communication when it is determined that the electronic device 101 is in a roaming state. can do. For example, the processor 300 communicates with a registered public land mobile network (RPLMN), a home PLMN (HPLMN), and/or a preferred PLMN (PPLMN) through the second communication circuit 320. When a related network is not searched, it may be determined that the electronic device 101 is in a roaming state. For example, network search for registered PLMNs, home PLMNs, and/or preferred PLMNs may be performed when the inactive second communication circuit 320 is switched to an active state.

일 실시예에 따르면, 프로세서(300)는 비활성 상태의 제 2 통신 회로(320)가 활성 상태로 전환되는 경우, 직접 통신을 통해 외부 전자 장치(220)로부터 네트워크 정보를 획득하도록 제 1 통신 회로(310)를 제어할 수 있다. 일예로, 제 2 통신 회로(320)의 활성 상태로의 전환은 전자 장치(101)의 전원이 온(ON)되는 상태, 전자 장치(101)의 비행기 모드가 해제되는 상태 및/또는 셀룰러 통신 기능이 활성화되는 상태에 발생될 수 있다. 일예로, 비행기 모드는 전자 장치(101)가 활성화된 상태에서 전자 장치(101)의 통신 기능의 사용이 제한되는 상태를 포함할 수 있다.According to an embodiment, the processor 300 may obtain network information from the external electronic device 220 through direct communication when the inactive second communication circuit 320 is switched to an active state ( 310) can be controlled. For example, the transition to the active state of the second communication circuit 320 is a state in which the power of the electronic device 101 is turned on, a state in which the airplane mode of the electronic device 101 is released, and/or a cellular communication function. may occur in this activated state. As an example, the airplane mode may include a state in which use of a communication function of the electronic device 101 is restricted while the electronic device 101 is activated.

일 실시예에 따르면, 프로세서(300)는 전자 장치(101)와 직접 통신이 가능한 외부 전자 장치(220)가 존재하는지 확인하기 위해 직접 통신과 관련된 전자 장치(101)의 식별 정보(예: SSID(service set identifier))를 포함하는 발견 요청(discovery request) 메시지를 전송하도록 제 1 통신 회로(310)를 제어할 수 있다. 프로세서(300)는 제 1 통신 회로(310)를 통해 적어도 하나의 발견 응답(discovery response) 메시지를 수신한 경우, 적어도 하나의 발견 응답 메시지와 관련된 적어도 하나의 외부 전자 장치(220)와 직접 통신이 가능한 것으로 판단할 수 있다. 프로세서(300)는 발견 응답 메시지와 관련된 적어도 하나의 외부 전자 장치(220)로 네트워크 정보와 관련된 요청 메시지를 전송하도록 제 1 통신 회로(310)를 제어할 수 있다. 프로세서(300)는 네트워크 정보와 관련된 요청 메시지에 대한 응답으로 적어도 하나의 외부 전자 장치(220)로부터 직접 통신을 통해 수신한 응답 메시지에서 각각의 외부 전자 장치(220)의 네트워크 정보를 확인할 수 있다. 일예로, 네트워크 정보는 외부 전자 장치의 PLMN, RAT(radio access technology), 서빙 셀(serving cell) 및/또는 서빙 셀의 신호 품질과 관련된 정보를 포함할 수 있다. 일예로, 신호 품질은, RSRP(reference signal received power), RSRQ(reference signal received quality), RSSI(received signal strength indicator) 또는 SINR(signal to interference plus noise ratio) 중 적어도 하나를 포함할 수 있다. According to an embodiment, the processor 300 uses identification information of the electronic device 101 related to direct communication (eg, SSID ( The first communication circuit 310 may be controlled to transmit a discovery request message including a service set identifier). When at least one discovery response message is received through the first communication circuit 310, the processor 300 performs direct communication with at least one external electronic device 220 related to the at least one discovery response message. can be judged possible. The processor 300 may control the first communication circuit 310 to transmit a request message related to network information to at least one external electronic device 220 related to the discovery response message. The processor 300 may check network information of each external electronic device 220 from a response message received through direct communication from at least one external electronic device 220 in response to a request message related to network information. For example, the network information may include information related to a PLMN, a radio access technology (RAT), a serving cell, and/or signal quality of the serving cell of the external electronic device. For example, signal quality may include at least one of reference signal received power (RSRP), reference signal received quality (RSRQ), received signal strength indicator (RSSI), or signal to interference plus noise ratio (SINR).

다양한 실시예에 따르면, 프로세서(300)는 직접 통신을 통해 적어도 하나의 외부 전자 장치(220)로부터 획득한 네트워크 정보에 기반하여 선택된 셀과의 등록 절차(또는 접속 절차)를 수행하도록 제 2 통신 회로(320)를 제어할 수 있다. 일 실시예에 따르면, 프로세서(300)는 직접 통신을 통해 적어도 하나의 외부 전자 장치(220)로부터 획득한 네트워크 정보에서 전자 장치(101)의 PLMN과 동일한 PLMN을 사용하는 외부 전자 장치(220)로부터 획득한 네트워크 정보를 추출(또는 필터링)할 수 있다. 프로세서(300)는 전자 장치(101)의 PLMN과 동일한 PLMN을 사용하는 외부 전자 장치(220)의 네트워크 정보에 포함된 서빙 셀의 신호 품질에 기반하여 전자 장치(101)가 접속하기 위한 셀(예: best cell)을 선택할 수 있다. 예를 들어, 전자 장치(101)가 접속하기 위한 셀은 RSRP가 가장 좋은 셀 또는 RSRP가 가장 좋고 SINR이 0을 초과하는 셀을 포함할 수 있다. 일예로, 전자 장치(101)의 PLMN은 전자 장치(101)가 지원 가능한 셀룰러 네트워크를 운용하는 통신 사업자의 식별 정보를 나타낼 수 있다. 일 실시예에 따르면, 프로세서(300)는 전자 장치(101)가 로밍 상태인 것으로 판단되는 경우, 직접 통신을 통해 획득한 적어도 하나의 전자 장치(220)의 네트워크 정보에 포함된 서빙 셀의 신호 품질에 기반하여 전자 장치(101)가 접속하기 위한 셀(예: best cell)을 선택할 수 있다. According to various embodiments, the processor 300 uses a second communication circuit to perform a registration procedure (or connection procedure) with a cell selected based on network information acquired from at least one external electronic device 220 through direct communication. (320) can be controlled. According to an embodiment, the processor 300 receives network information obtained from at least one external electronic device 220 through direct communication from the external electronic device 220 using the same PLMN as the PLMN of the electronic device 101. Acquired network information may be extracted (or filtered). The processor 300 determines the cell (eg, the electronic device 101 to access) based on the signal quality of the serving cell included in the network information of the external electronic device 220 using the same PLMN as the PLMN of the electronic device 101. : best cell). For example, a cell to which the electronic device 101 accesses may include a cell with the best RSRP or a cell with the best RSRP and a SINR greater than 0. For example, the PLMN of the electronic device 101 may represent identification information of a communication operator operating a cellular network that the electronic device 101 can support. According to an embodiment, when it is determined that the electronic device 101 is in a roaming state, the processor 300 determines the signal quality of the serving cell included in the network information of the at least one electronic device 220 obtained through direct communication. Based on , the electronic device 101 may select a cell (eg, best cell) to access.

다양한 실시예에 따르면, 제 1 통신 회로(310)는 전자 장치(101)의 직접 통신을 지원할 수 있다. 일 실시예에 따르면, 제 1 통신 회로(310)는 직접 통신을 통해 외부 전자 장치(220)와 데이터 및/또는 제어 정보를 송신 및/또는 수신할 수 있다. 예를 들어, 직접 통신은 셀룰러 네트워크와 관련되지 않은 D2D 통신(예: off-net D2D)으로, 무선랜(예: Wi-Fi), 블루투스(bluetooth), BLE(bluetooth low energy) 또는 UWB(ultra-wideband) 중 적어도 하나와 같은 근거리 통신 네트워크를 통해 수행될 수 있다. According to various embodiments, the first communication circuit 310 may support direct communication of the electronic device 101 . According to an embodiment, the first communication circuit 310 may transmit and/or receive data and/or control information with the external electronic device 220 through direct communication. For example, direct communication is D2D communication that is not related to a cellular network (eg, off-net D2D), wireless LAN (eg, Wi-Fi), Bluetooth, Bluetooth low energy (BLE), or UWB (ultra -wideband) may be performed over a short-range communication network such as at least one of

다양한 실시예에 따르면, 제 2 통신 회로(320)는 전자 장치(101)의 셀룰러 통신을 지원할 수 있다. 일 실시예에 따르면, 제 2 통신 회로(320)는 셀룰러 네트워크를 통해 외부 장치(예: 도 1의 전자 장치(104))와의 셀룰러 통신을 지원할 수 있다. 예를 들어, 제 2 통신 회로(320)는 셀룰러 통신을 위한 RFIC(radio frequency integrated circuit) 및 RFFE(radio frequency front end)를 포함할 수 있다. 일예로, 셀룰러 네트워크는 2G 네트워크(예: GSM(global system for mobile communications)), 3G 네트워크(예: UMTS(universal mobile telecommunications system)), 4G 네트워크(예: LTE(long term evolution)) 및/또는 5G 네트워크(예: NR(new radio))를 포함할 수 있다. 일 실시예에 따르면, 제 1 통신 회로(310) 및 제 2 통신 회로(320)는 논리적(예: 소프트웨어)으로 구분될 수 있다. 일 실시예에 따르면, 제 1 통신 회로(310) 및 제 2 통신 회로(320)는 서로 다른 회로 또는 서로 다른 하드웨어로 구성될 수 있다. According to various embodiments, the second communication circuit 320 may support cellular communication of the electronic device 101 . According to an embodiment, the second communication circuit 320 may support cellular communication with an external device (eg, the electronic device 104 of FIG. 1 ) through a cellular network. For example, the second communication circuit 320 may include a radio frequency integrated circuit (RFIC) and a radio frequency front end (RFFE) for cellular communication. As an example, a cellular network may include a 2G network (eg, global system for mobile communications (GSM)), a 3G network (eg, universal mobile telecommunications system (UMTS)), a 4G network (eg, long term evolution (LTE)), and/or It may include a 5G network (eg, new radio (NR)). According to one embodiment, the first communication circuit 310 and the second communication circuit 320 may be logically (eg, software) separated. According to one embodiment, the first communication circuit 310 and the second communication circuit 320 may be composed of different circuits or different hardware.

다양한 실시예에 따르면, 메모리(330)는 전자 장치(101)의 적어도 하나의 구성 요소(예: 프로세서(300), 제 1 통신 회로(310) 및/또는 제 2 통신 회로(320))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 일 실시예에 따르면, 데이터는 직접 통신을 통해 획득한 적어도 하나의 외부 전자 장치(220)의 네트워크 정보 및/또는 전자 장치(101)의 네트워크 정보를 포함할 수 있다. 일 실시예에 따르면, 메모리(330)는 프로세서(300)를 통해 실행될 수 있는 다양한 인스트럭션들을 저장할 수 있다. According to various embodiments, the memory 330 is configured by at least one component (eg, the processor 300, the first communication circuit 310, and/or the second communication circuit 320) of the electronic device 101. Various types of data can be stored. According to an embodiment, the data may include network information of at least one external electronic device 220 and/or network information of the electronic device 101 obtained through direct communication. According to one embodiment, the memory 330 may store various instructions that may be executed by the processor 300 .

다양한 실시예에 따르면, 외부 전자 장치(220)는 네트워크 정보를 요청한 전자 장치(101)가 지정된 공유 조건을 만족하는 것으로 판단한 경우, 외부 전자 장치(220)의 네트워크 정보를 전자 장치(101)로 전송할 수 있다. 예를 들어, 지정된 공유 조건을 만족하는 상태는 직접 통신과 관련된 전자 장치(101)의 식별 정보가 지정된 공유 목록에 포함되는 상태를 포함할 수 있다. 일예로, 전자 장치(101)의 식별 정보는 전자 장치(101)가 지원 가능한 셀룰러 네트워크를 운용하는 통신 사업자, 전자 장치(101)의 제조사 및/또는 기 정의된 공유 ID(identity)를 포함할 수 있다. 일예로, 공유 목록은 외부 전자 장치(220)가 네트워크 정보를 공유하기 위한 전자 장치의 정보를 포함할 수 있다. According to various embodiments, the external electronic device 220 transmits network information of the external electronic device 220 to the electronic device 101 when it is determined that the electronic device 101 that has requested the network information satisfies a specified sharing condition. can For example, a state in which a designated sharing condition is satisfied may include a state in which identification information of the electronic device 101 related to direct communication is included in a designated sharing list. For example, the identification information of the electronic device 101 may include a communication operator operating a cellular network supportable by the electronic device 101, a manufacturer of the electronic device 101, and/or a predefined shared ID (identity). there is. For example, the sharing list may include information on electronic devices for the external electronic device 220 to share network information.

다양한 실시예에 따르면, 전자 장치는, 메모리와 직접 통신을 지원하는 제 1 통신 회로와 셀룰러 통신을 지원하는 제 2 통신 회로, 및 상기 메모리, 상기 제 1 통신 회로 및 상기 제 2 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하며, 상기 프로세서는, 상기 제 1 통신 회로를 통해 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하고, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 검출하고, 상기 제 2 통신 회로를 통해 상기 네트워크의 셀로 등록을 수행할 수 있다.According to various embodiments, an electronic device may include a first communication circuit supporting direct communication with a memory and a second communication circuit supporting cellular communication, and operating with the memory, the first communication circuit, and the second communication circuit. and at least one processor connected to, wherein the processor obtains network information related to at least one external electronic device through the first communication circuit, and based on the network information related to the at least one external electronic device, A cell of a network accessible to the electronic device may be detected, and registration may be performed with the cell of the network through the second communication circuit.

다양한 실시예에 따르면, 상기 프로세서는, 상기 제 2 통신 회로를 통해 셀룰러 네트워크와 통신을 수행하고, 상기 셀룰러 네트워크와의 통신 연결이 해제되는 경우, 상기 제 1 통신 회로를 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득할 수 있다.According to various embodiments, the processor performs communication with a cellular network through the second communication circuit, and when the communication connection with the cellular network is released, the at least one external electronic circuit through the first communication circuit. Network information related to the device may be obtained.

다양한 실시예에 따르면, 상기 프로세서는, 상기 전자 장치가 로밍 상태인지 여부를 판단하고, 상기 전자 장치가 로밍 상태인 것으로 판단되는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득할 수 있다.According to various embodiments, the processor determines whether the electronic device is in a roaming state, and if it is determined that the electronic device is in a roaming state, the processor provides network information related to the at least one external electronic device through the direct communication. can be obtained.

다양한 실시예에 따르면, 상기 프로세서는, 상기 전자 장치의 등록 PLMN(RPLMN: registed public land mobile network), 홈 PLMN(HPLMN: home PLMN) 및/또는 선호 PLMN(PPLMN: preferred PLMN)과 관련된 네트워크가 검색되지 않는 경우, 상기 전자 장치가 로밍 상태인 것으로 판단할 수 있다.According to various embodiments, the processor searches a network related to a registered public land mobile network (RPLMN), a home PLMN (HPLMN), and/or a preferred PLMN (PPLMN) of the electronic device. If not, it may be determined that the electronic device is in a roaming state.

다양한 실시예에 따르면, 상기 프로세서는, 비활성 상태인 상기 제 2 통신 회로가 활성 상태로 전환되는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득할 수 있다.According to various embodiments, when the second communication circuit, which is in an inactive state, is switched to an active state, the processor may obtain network information related to the at least one external electronic device through the direct communication.

다양한 실시예에 따르면, 상기 프로세서는, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 상기 전자 장치의 등록 PLMN과 관련된 네트워크 정보가 존재하는지 확인하고, 상기 전자장치의 등록 PLMN과 관련된 네트워크 정보가 존재하는 것으로 판단한 경우, 상기 전자 장치의 PLMN과 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 선택할 수 있다.According to various embodiments, the processor checks whether network information related to the registered PLMN of the electronic device exists in the network information related to the at least one external electronic device, and the network information related to the registered PLMN of the electronic device exists. If it is determined to do so, a cell of a network accessible to the electronic device may be selected based on network information related to the PLMN of the electronic device.

다양한 실시예에 따르면, 상기 프로세서는, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에서 상기 전자장치의 등록 PLMN과 관련된 네트워크 정보가 존재하지 않는 경우, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 선택할 수 있다.According to various embodiments, the processor, when network information related to the registration PLMN of the electronic device does not exist in the network information related to the at least one external electronic device, the processor determines the network information related to the at least one external electronic device. Based on this, it is possible to select a cell of a network to which the electronic device can access.

다양한 실시예에 따르면, 상기 외부 전자 장치와 관련된 네트워크 정보는, PLMN, RAT(radio access technology), 서빙 셀(serving cell) 및/또는 서빙 셀의 신호 품질과 관련된 정보를 포함할 수 있다.According to various embodiments, the network information related to the external electronic device may include information related to a PLMN, a radio access technology (RAT), a serving cell, and/or signal quality of the serving cell.

다양한 실시예에 따르면, 상기 프로세서는, 상기 적어도 하나의 외부 전자 장치의 서빙 셀의 신호 품질에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 선택할 수 있다.According to various embodiments, the processor may select a cell of a network to which the electronic device is accessible based on signal quality of a serving cell of the at least one external electronic device.

다양한 실시예에 따르면, 상기 프로세서는, 상기 적어도 하나의 외부 전자 장치의 서빙 셀의 RSRP(reference signal received power) 및/또는 SINR(signal to interference plus noise ratio)에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 선택할 수 있다.According to various embodiments, the processor determines a network to which the electronic device can access based on a reference signal received power (RSRP) and/or a signal to interference plus noise ratio (SINR) of a serving cell of the at least one external electronic device. of cells can be selected.

다양한 실시예에 따르면, 상기 제 1 통신 회로는, 무선랜(예: Wi-Fi), 블루투스(bluetooth), BLE(bluetooth low energy) 또는 UWB(ultra-wideband) 중 적어도 하나에 기반한 직접 통신을 지원할 수 있다.According to various embodiments, the first communication circuit may support direct communication based on at least one of wireless LAN (eg, Wi-Fi), Bluetooth, Bluetooth low energy (BLE), or ultra-wideband (UWB). can

다양한 실시예에 따르면, 전자 장치(예: 도 1, 도 2 또는 도 3의 전자 장치(101))는 메모리(예: 도 1의 메모리(130) 또는 도 3의 메모리(330))와 직접 통신을 지원하는 제 1 통신 회로(예: 도 1의 무선 통신 모듈(192) 또는 도 3의 제 1 통신 회로(310))와 셀룰러 통신을 지원하는 제 2 통신 회로(예: 도 1의 무선 통신 모듈(192) 또는 도 3의 제 2 통신 회로(320)); 및 상기 메모리, 상기 제 1 통신 회로 및 상기 제 2 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(300))를 포함하며, 상기 프로세서는, 상기 제 1 통신 회로를 통해 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하고, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 검출하고, 상기 제 2 통신 회로를 통해 상기 네트워크의 셀로 등록을 수행할 수 있다.According to various embodiments, an electronic device (eg, the electronic device 101 of FIGS. 1, 2, or 3 ) directly communicates with a memory (eg, the memory 130 of FIG. 1 or the memory 330 of FIG. 3 ). A first communication circuit supporting cellular communication (eg, the wireless communication module 192 of FIG. 1 or the first communication circuit 310 of FIG. 3 ) and a second communication circuit supporting cellular communication (eg, the wireless communication module of FIG. 1 ) (192) or the second communication circuit 320 of FIG. 3); and at least one processor (eg, processor 120 of FIG. 1 or processor 300 of FIG. 3) operatively coupled to the memory, the first communication circuit, and the second communication circuit, wherein the processor obtains network information related to at least one external electronic device through the first communication circuit, and detects a cell of a network to which the electronic device can access based on the network information related to the at least one external electronic device; Registration may be performed with a cell of the network through the second communication circuit.

다양한 실시예에 따르면, 상기 프로세서는, 상기 제 2 통신 회로를 통해 셀룰러 네트워크와 통신을 수행하고, 상기 셀룰러 네트워크와의 통신 연결이 해제되는 경우, 상기 제 1 통신 회로를 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득할 수 있다.According to various embodiments, the processor performs communication with a cellular network through the second communication circuit, and when the communication connection with the cellular network is released, the at least one external electronic circuit through the first communication circuit. Network information related to the device may be obtained.

다양한 실시예에 따르면, 상기 프로세서는, 상기 전자 장치가 로밍 상태인지 여부를 판단하고, 상기 전자 장치가 로밍 상태인 것으로 판단되는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득할 수 있다.According to various embodiments, the processor determines whether the electronic device is in a roaming state, and if it is determined that the electronic device is in a roaming state, the processor provides network information related to the at least one external electronic device through the direct communication. can be obtained.

다양한 실시예에 따르면, 상기 프로세서는, 상기 전자 장치의 등록 PLMN(RPLMN: registed public land mobile network), 홈 PLMN(HPLMN: home PLMN) 및/또는 선호 PLMN(PPLMN: preferred PLMN)과 관련된 네트워크가 검색되지 않는 경우, 상기 전자 장치가 로밍 상태인 것으로 판단할 수 있다.According to various embodiments, the processor searches a network related to a registered public land mobile network (RPLMN), a home PLMN (HPLMN), and/or a preferred PLMN (PPLMN) of the electronic device. If not, it may be determined that the electronic device is in a roaming state.

다양한 실시예에 따르면, 상기 프로세서는, 비활성 상태인 상기 제 2 통신 회로가 활성 상태로 전환되는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득할 수 있다.According to various embodiments, when the second communication circuit, which is in an inactive state, is switched to an active state, the processor may obtain network information related to the at least one external electronic device through the direct communication.

다양한 실시예에 따르면, 상기 프로세서는, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 상기 전자 장치의 등록 PLMN과 관련된 네트워크 정보가 존재하는지 확인하고, 상기 전자장치의 등록 PLMN과 관련된 네트워크 정보가 존재하는 것으로 판단한 경우, 상기 전자 장치의 PLMN과 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 선택할 수 있다.According to various embodiments, the processor checks whether network information related to the registered PLMN of the electronic device exists in the network information related to the at least one external electronic device, and the network information related to the registered PLMN of the electronic device exists. If it is determined to do so, a cell of a network accessible to the electronic device may be selected based on network information related to the PLMN of the electronic device.

다양한 실시예에 따르면, 상기 프로세서는, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에서 상기 전자장치의 등록 PLMN과 관련된 네트워크 정보가 존재하지 않는 경우, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 선택할 수 있다.According to various embodiments, the processor, when network information related to the registration PLMN of the electronic device does not exist in the network information related to the at least one external electronic device, the processor determines the network information related to the at least one external electronic device. Based on this, it is possible to select a cell of a network to which the electronic device can access.

다양한 실시예에 따르면, 상기 외부 전자 장치와 관련된 네트워크 정보는, PLMN, RAT(radio access technology), 서빙 셀(serving cell) 및/또는 서빙 셀의 신호 품질과 관련된 정보를 포함할 수 있다.According to various embodiments, the network information related to the external electronic device may include information related to a PLMN, a radio access technology (RAT), a serving cell, and/or signal quality of the serving cell.

다양한 실시예에 따르면, 상기 프로세서는, 상기 적어도 하나의 외부 전자 장치의 서빙 셀의 신호 품질에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 선택할 수 있다.According to various embodiments, the processor may select a cell of a network to which the electronic device is accessible based on signal quality of a serving cell of the at least one external electronic device.

다양한 실시예에 따르면, 상기 프로세서는, 상기 적어도 하나의 외부 전자 장치의 서빙 셀의 RSRP(reference signal received power) 및/또는 SINR(signal to interference plus noise ratio)에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 선택할 수 있다.According to various embodiments, the processor determines a network to which the electronic device can access based on a reference signal received power (RSRP) and/or a signal to interference plus noise ratio (SINR) of a serving cell of the at least one external electronic device. of cells can be selected.

다양한 실시예에 따르면, 상기 제 1 통신 회로는, 무선랜(예: Wi-Fi), 블루투스(bluetooth), BLE(bluetooth low energy) 또는 UWB(ultra-wideband) 중 적어도 하나에 기반한 직접 통신을 지원할 수 있다.According to various embodiments, the first communication circuit may support direct communication based on at least one of wireless LAN (eg, Wi-Fi), Bluetooth, Bluetooth low energy (BLE), or ultra-wideband (UWB). can

도 4는 다양한 실시예에 따른 전자 장치에서 네트워크에 등록하기 위한 흐름도(400)이다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 4의 전자 장치는 도 1, 도 2 또는 도 3의 전자 장치(101)일 수 있다. 4 is a flowchart 400 for registering in a network in an electronic device according to various embodiments. In the following embodiments, each operation may be performed sequentially, but not necessarily sequentially. For example, the order of each operation may be changed, or at least two operations may be performed in parallel. As an example, the electronic device of FIG. 4 may be the electronic device 101 of FIGS. 1 , 2 or 3 .

도 4를 참조하는 다양한 실시예에 따르면, 전자 장치(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(300))는 동작 401에서, 직접 통신을 통해 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득할 수 있다. 일 실시예에 따르면, 프로세서(300)는 제 2 통신 회로(320)를 통한 셀룰러 네트워크와의 통신 연결이 해제되는 경우(예: out of sync), 직접 통신을 통해 외부 전자 장치(220)로부터 네트워크 정보를 획득하도록 제 1 통신 회로(310)를 제어할 수 있다. 일 실시예에 따르면, 프로세서(300)는 전자 장치(101)가 로밍 상태인 것으로 판단되는 경우, 직접 통신을 통해 외부 전자 장치(220)로부터 네트워크 정보를 획득하도록 제 1 통신 회로(310)를 제어할 수 있다. 일 실시예에 따르면, 프로세서(300)는 비활성 상태의 제 2 통신 회로(320)가 활성 상태로 전환되는 경우, 직접 통신을 통해 외부 전자 장치(220)로부터 네트워크 정보를 획득하도록 제 1 통신 회로(310)를 제어할 수 있다. 예를 들어, 직접 통신은 셀룰러 네트워크와 관련되지 않은 D2D 통신(예: off-net D2D)으로, 무선랜(예: Wi-Fi), 블루투스(bluetooth), BLE(bluetooth low energy) 또는 UWB(ultra-wideband) 중 적어도 하나와 같은 근거리 통신 네트워크를 통해 수행될 수 있다. 일예로, 네트워크 정보는 외부 전자 장치의 PLMN, RAT(radio access technology), 서빙 셀(serving cell) 및/또는 서빙 셀의 신호 품질과 관련된 정보를 포함할 수 있다. 일예로, 신호 품질은, RSRP(reference signal received power), RSRQ(reference signal received quality), RSSI(received signal strength indicator) 또는 SINR(signal to interference plus noise ratio) 중 적어도 하나를 포함할 수 있다. According to various embodiments of the present disclosure with reference to FIG. 4 , an electronic device (eg, the processor 120 of FIG. 1 or the processor 300 of FIG. 3 ) connects, in operation 401, a network associated with at least one external electronic device through direct communication. information can be obtained. According to an embodiment, when the communication connection with the cellular network through the second communication circuit 320 is released (eg, out of sync), the processor 300 directly communicates with the external electronic device 220 to the network. The first communication circuit 310 may be controlled to obtain information. According to an embodiment, the processor 300 controls the first communication circuit 310 to acquire network information from the external electronic device 220 through direct communication when it is determined that the electronic device 101 is in a roaming state. can do. According to an embodiment, the processor 300 may obtain network information from the external electronic device 220 through direct communication when the inactive second communication circuit 320 is switched to an active state ( 310) can be controlled. For example, direct communication is D2D communication that is not related to a cellular network (eg, off-net D2D), wireless LAN (eg, Wi-Fi), Bluetooth, Bluetooth low energy (BLE), or UWB (ultra -wideband) may be performed over a short-range communication network such as at least one of For example, the network information may include information related to a PLMN, a radio access technology (RAT), a serving cell, and/or signal quality of the serving cell of the external electronic device. For example, signal quality may include at least one of reference signal received power (RSRP), reference signal received quality (RSRQ), received signal strength indicator (RSSI), or signal to interference plus noise ratio (SINR).

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 동작 403에서, 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 전자 장치(101)가 접속하기 위한 셀(예: best cell)을 검출(또는 선택)할 수 있다. 일 실시예에 따르면, 프로세서(300)는 직접 통신을 통해 적어도 하나의 외부 전자 장치(220)로부터 획득한 네트워크 정보에서 전자 장치(101)의 PLMN과 동일한 PLMN을 사용하는 외부 전자 장치(220)로부터 획득한 네트워크 정보를 추출(또는 필터링)할 수 있다. 프로세서(300)는 전자 장치(101)의 PLMN과 동일한 PLMN을 사용하는 외부 전자 장치(220)의 네트워크 정보에 포함된 서빙 셀의 신호 품질에 기반하여 전자 장치(101)가 접속하기 위한 셀(예: best cell)을 선택할 수 있다. 일예로, 전자 장치(101)의 PLMN은 전자 장치(101)가 지원 가능한 셀룰러 네트워크를 운용하는 통신 사업자의 식별 정보를 나타낼 수 있다. According to various embodiments, the electronic device (eg, the processor 120 or 300), in operation 403, sets a cell (eg, best cell) can be detected (or selected). According to an embodiment, the processor 300 receives network information obtained from at least one external electronic device 220 through direct communication from the external electronic device 220 using the same PLMN as the PLMN of the electronic device 101. Acquired network information may be extracted (or filtered). The processor 300 determines the cell (eg, the electronic device 101 to access) based on the signal quality of the serving cell included in the network information of the external electronic device 220 using the same PLMN as the PLMN of the electronic device 101. : best cell). For example, the PLMN of the electronic device 101 may represent identification information of a communication operator operating a cellular network that the electronic device 101 can support.

일 실시예에 따르면, 프로세서(300)는 전자 장치(101)가 로밍 상태인 것으로 판단되는 경우, 직접 통신을 통해 획득한 적어도 하나의 전자 장치(220)의 네트워크 정보에 포함된 서빙 셀의 신호 품질에 기반하여 전자 장치(101)가 접속하기 위한 셀(예: best cell)을 선택할 수 있다. 예를 들어, 프로세서(300)는 제 2 통신 회로(320)를 통해 등록 PLMN(RPLMN: registed public land mobile network), 홈 PLMN(HPLMN: home PLMN) 및/또는 선호 PLMN(PPLMN: preferred PLMN)과 관련된 네트워크가 검색되지 않는 경우, 전자 장치(101)가 로밍 상태인 것으로 판단할 수 있다. 예를 들어, 프로세서(300)는 전자 장치(101)의 PLMN과 동일한 PLMN을 사용하는 외부 전자 장치(220)가 존재하지 않는 경우, 전자 장치(101)가 로밍 상태인 것으로 판단할 수 있다. 일예로, 전자 장치(101)가 접속하기 위한 셀은 RSRP가 가장 좋은 셀 또는 RSRP가 가장 좋고 SINR이 0을 초과하는 셀을 포함할 수 있다. According to an embodiment, when it is determined that the electronic device 101 is in a roaming state, the processor 300 determines the signal quality of the serving cell included in the network information of the at least one electronic device 220 obtained through direct communication. Based on , the electronic device 101 may select a cell (eg, best cell) to access. For example, the processor 300 communicates with a registered public land mobile network (RPLMN), a home PLMN (HPLMN), and/or a preferred PLMN (PPLMN) through the second communication circuit 320. When a related network is not searched, it may be determined that the electronic device 101 is in a roaming state. For example, when the external electronic device 220 using the same PLMN as the PLMN of the electronic device 101 does not exist, the processor 300 may determine that the electronic device 101 is in a roaming state. For example, a cell to which the electronic device 101 accesses may include a cell with the best RSRP or a cell with the best RSRP and a SINR greater than 0.

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 동작 405에서, 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 검출된 셀과의 등록 절차를 수행할 수 있다. 일 실시예에 따르면, 프로세서(300)는 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 검출된 셀로 등록 요청 메시지를 전송하도록 제 2 통신 회로(320)를 제어할 수 있다. 프로세서(300)는 제 2 통신 회로(320)를 통해 등록 요청 메시지에 대한 응답으로 등록 수락 메시지를 수신한 경우, 셀로의 등록이 완료된 것으로 판단할 수 있다.According to various embodiments, in operation 405, the electronic device (eg, the processor 120 or 300) may perform a registration procedure with the detected cell based on network information related to at least one external electronic device. According to an embodiment, the processor 300 may control the second communication circuit 320 to transmit a registration request message to the detected cell based on network information related to at least one external electronic device. When the processor 300 receives a registration acceptance message in response to the registration request message through the second communication circuit 320, it may be determined that registration with the cell is completed.

도 5는 다양한 실시예에 따른 전자 장치에서 네트워크 정보를 획득하기 위한 흐름도(500)의 일예이다. 일 실시예에 따르면, 도 5의 적어도 일부는 도 4의 동작 401의 상세한 동작을 포함할 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 5의 전자 장치는 도 1, 도 2 또는 도 3의 전자 장치(101)일 수 있다. 5 is an example of a flowchart 500 for acquiring network information in an electronic device according to various embodiments. According to an embodiment, at least a part of FIG. 5 may include a detailed operation of operation 401 of FIG. 4 . In the following embodiments, each operation may be performed sequentially, but not necessarily sequentially. For example, the order of each operation may be changed, or at least two operations may be performed in parallel. As an example, the electronic device of FIG. 5 may be the electronic device 101 of FIGS. 1, 2 or 3.

도 5를 참조하는 다양한 실시예에 따르면, 전자 장치(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(300))는 동작 501에서, 제 1 셀룰러 네트워크와 통신을 수행할 수 있다. 일 실시예에 따르면, 프로세서(300)는 제 2 통신 회로(320)를 이용한 네트워크 검색을 통해 셀룰러 네트워크(또는 셀)이 검색되는 경우, 셀룰러 네트워크와 통신을 연결하도록 제 2 통신 회로(320)를 제어할 수 있다. 일예로, 셀룰러 네트워크는 2G 네트워크(예: GSM(global system for mobile communications)), 3G 네트워크(예: UMTS(universal mobile telecommunications system)), 4G 네트워크(예: LTE(long term evolution)) 및/또는 5G 네트워크(예: NR(new radio))를 포함할 수 있다. According to various embodiments of the present disclosure referring to FIG. 5 , an electronic device (eg, the processor 120 of FIG. 1 or the processor 300 of FIG. 3 ) may communicate with the first cellular network in operation 501 . According to an exemplary embodiment, the processor 300 configures the second communication circuit 320 to connect communication with the cellular network when a cellular network (or cell) is searched through a network search using the second communication circuit 320. You can control it. As an example, a cellular network may include a 2G network (eg, global system for mobile communications (GSM)), a 3G network (eg, universal mobile telecommunications system (UMTS)), a 4G network (eg, long term evolution (LTE)), and/or It may include a 5G network (eg, new radio (NR)).

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 동작 503에서 셀룰러 네트워크와의 통신 연결이 해제되는지 확인할 수 있다. 예를 들어, 셀룰러 네트워크와의 통신 연결이 해제되는 상황은 전자 장치(101)가 음영 지역으로 이동하는 상황, 전자 장치(101)가 셀룰러 네트워크의 커버리지 밖으로 이동하는 상황, 무선 링크 실패(RLF: radio link failure) 및/또는 핸드 오버 실패에 의해 발생될 수 있다.According to various embodiments, the electronic device (eg, the processor 120 or 300) may determine whether the communication connection with the cellular network is disconnected in operation 503. For example, situations in which the communication connection with the cellular network is disconnected include a situation in which the electronic device 101 moves to a shaded area, a situation in which the electronic device 101 moves out of coverage of the cellular network, and a radio link failure (RLF: radio link failure) and/or handover failure.

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 셀룰러 네트워크와의 통신 연결이 해제되지 않는 경우(예: 동작 503의 '아니오'), 네트워크 정보를 획득하기 위한 일 실시예를 종료할 수 있다. 일 실시예에 따르면, 프로세서(300)는 셀룰러 네트워크와의 통신 연결이 유지되는 경우, 셀룰러 네트워크를 통해 데이터 및/또는 제어 정보를 송신 및/또는 수신하도록 제 2 통신 회로(320)를 제어할 수 있다.According to various embodiments, the electronic device (eg, the processor 120 or 300) may obtain network information when the communication connection with the cellular network is not released (eg, 'No' in operation 503). can be terminated. According to an embodiment, the processor 300 may control the second communication circuit 320 to transmit and/or receive data and/or control information through the cellular network when the communication connection with the cellular network is maintained. there is.

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 셀룰러 네트워크와의 통신 연결이 해제되는 경우(예: 동작 503의 '예'), 동작 505에서, 직접 통신을 통해 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득할 수 있다. 일 실시예에 따르면, 프로세서(300)는 전자 장치(101)와 직접 통신이 가능한 적어도 하나의 외부 전자 장치가 검색되는 경우, 적어도 하나의 외부 전자 장치로부터 네트워크 정보를 획득하도록 제 1 통신 회로(310)를 제어할 수 있다. According to various embodiments, when the communication connection with the cellular network is disconnected (eg, 'Yes' in operation 503), the electronic device (eg, the processor 120 or 300) performs at least one communication through direct communication in operation 505. Network information related to an external electronic device of may be acquired. According to an embodiment, when at least one external electronic device capable of direct communication with the electronic device 101 is searched for, the processor 300 uses the first communication circuit 310 to obtain network information from the at least one external electronic device. ) can be controlled.

도 6은 다양한 실시예에 따른 전자 장치에서 네트워크 정보를 획득하기 위한 흐름도(600)의 다른 일예이다. 일 실시예에 따르면, 도 6의 적어도 일부는 도 4의 동작 401의 상세한 동작을 포함할 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 6의 전자 장치는 도 1, 도 2 또는 도 3의 전자 장치(101)일 수 있다. 6 is another example of a flowchart 600 for acquiring network information in an electronic device according to various embodiments. According to an embodiment, at least a part of FIG. 6 may include a detailed operation of operation 401 of FIG. 4 . In the following embodiments, each operation may be performed sequentially, but not necessarily sequentially. For example, the order of each operation may be changed, or at least two operations may be performed in parallel. As an example, the electronic device of FIG. 6 may be the electronic device 101 of FIGS. 1 , 2 or 3 .

도 6을 참조하는 다양한 실시예에 따르면, 전자 장치(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(300))는 동작 601에서, 전자 장치(101)의 등록 PLMN과 관련된 정보를 확인할 수 있다. 일 실시예에 따르면, 프로세서(300)는 전자 장치(101)에 전원이 공급되거나, 비활성 상태의 제 2 통신 회로(320)가 활성 상태로 전환되는 경우, 전자 장치(101)와 작동적으로 연결된 가입자 식별 모듈(미도시)로부터 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)과 관련된 정보를 획득할 수 있다. 예를 들어, 프로세서(300)는 가입자 식별 모듈의 EF(elementary file)_LOCI(location information) 필드 및/또는 EF_PSLOCI(packet switched location information) 필드에 저장된 LAI(location area information) 및/또는 RAI(routing area information)에서 획득한 MCC(mobile country conde) 및 MNC(mobile network code)에 기반하여 2G 또는 3G 네트워크에서의 전자 장치(101)의 등록 PLMN과 관련된 정보를 확인할 수 있다. 예를 들어, 프로세서(300)는 가입자 식별 모듈의 EF_EPSLOCI(evolved packet system location information) 필드에 저장된 TAI(tracking area identity)에서 획득한 MCC 및 MNC에 기반하여 4G 네트워크(예: LTE 네트워크)에서의 전자 장치(101)의 등록 PLMN과 관련된 정보를 확인할 수 있다. 예를 들어, 프로세서(300)는 가입자 식별 모듈의 EF_5GS3GPPLOCI 필드에 저장된 5G TAI에서 획득한 MCC 및 MNC에 기반하여 5G 네트워크(예: NR 네트워크)에서의 전자 장치(101)의 등록 PLMN과 관련된 정보를 확인할 수 있다. According to various embodiments of the present disclosure referring to FIG. 6 , the electronic device (eg, the processor 120 of FIG. 1 or the processor 300 of FIG. 3 ) checks information related to the registered PLMN of the electronic device 101 in operation 601 . can According to an embodiment, the processor 300 is operatively connected to the electronic device 101 when power is supplied to the electronic device 101 or when the inactive second communication circuit 320 is converted into an active state. Information related to the registered PLMN (and/or home PLMN) of the electronic device 101 may be acquired from a subscriber identity module (not shown). For example, the processor 300 stores location area information (LAI) and/or routing area information (RAI) stored in an elementary file (EF)_location information (EF_LOCI) field and/or a packet switched location information (EF_PSLOCI) field of the subscriber identification module. Information) related to the registered PLMN of the electronic device 101 in the 2G or 3G network may be checked based on a mobile country conde (MCC) and a mobile network code (MNC) obtained from information). For example, the processor 300 may perform electronic tracking in a 4G network (eg, LTE network) based on an MCC and an MNC obtained from a tracking area identity (TAI) stored in an evolved packet system location information (EF_EPSLOCI) field of a subscriber identity module. Information related to the registered PLMN of the device 101 may be checked. For example, the processor 300 obtains information related to the registered PLMN of the electronic device 101 in the 5G network (eg, NR network) based on the MCC and MNC obtained from the 5G TAI stored in the EF_5GS3GPPLOCI field of the subscriber identity module. You can check.

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 동작 603에서, 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)과 관련된 정보에 기반하여 네트워크 검색을 수행할 수 있다. 일 실시예에 따르면, 프로세서(300)는 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)과 관련된 정보에 기반한 네트워크 검색을 수행하도록 제 2 통신 회로(320)를 제어할 수 있다. 예를 들어, 프로세서(300)는 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)과 관련된 정보(예: 등록 PLMN의 주파수)에 기반하여 네트워크 검색을 수행할 주파수(또는 주파수 대역)를 설정할 수 있다. 프로세서(300)는 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)과 관련된 정보에 기반하여 설정된 주파수(또는 주파수 대역)에 대한 네트워크 검색을 수행하도록 제 2 통신 회로(320)를 제어할 수 있다. According to various embodiments, the electronic device (eg, the processor 120 or 300) may, in operation 603, perform a network search based on information related to the registration PLMN (and/or home PLMN) of the electronic device 101. there is. According to an embodiment, the processor 300 may control the second communication circuit 320 to perform a network search based on information related to the registered PLMN (and/or home PLMN) of the electronic device 101 . For example, the processor 300 selects a frequency (or frequency band) on which to perform a network search based on information (eg, frequency of the registered PLMN) related to the registered PLMN (and/or home PLMN) of the electronic device 101. can be set The processor 300 controls the second communication circuit 320 to perform a network search for a set frequency (or frequency band) based on information related to the registered PLMN (and/or home PLMN) of the electronic device 101. can

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 동작 605에서, 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)과 관련된 정보에 기반한 네트워크 검색을 통해 등록 PLMN(및/또는 홈 PLMN)의 셀이 검출되는지 확인할 수 있다. 일 실시예에 따르면, 프로세서(300)는 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)과 관련된 정보에 기반한 네트워크 검색을 통해 검출한 셀의 PLMN이 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)과 동일한 경우, 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)의 셀이 검출된 것으로 판단할 수 있다. 일 실시예에 따르면, 프로세서(300)는 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)과 관련된 정보에 기반한 네트워크 검색을 통해 검출한 셀의 PLMN이 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)과 상이한 경우, 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)의 셀이 검출되지 않은 것으로 판단할 수 있다.According to various embodiments, in operation 605, the electronic device (eg, the processor 120 or 300) performs a network search based on information related to the registered PLMN (and/or home PLMN) of the electronic device 101 to register the registered PLMN ( and/or whether a cell of the home PLMN) is detected. According to an embodiment, the processor 300 determines that the PLMN of a cell detected through a network search based on information related to the registered PLMN (and/or home PLMN) of the electronic device 101 is the registered PLMN (and/or home PLMN) of the electronic device 101. and/or home PLMN), it may be determined that the cell of the registration PLMN (and/or home PLMN) of the electronic device 101 is detected. According to an embodiment, the processor 300 determines that the PLMN of a cell detected through a network search based on information related to the registered PLMN (and/or home PLMN) of the electronic device 101 is the registered PLMN (and/or home PLMN) of the electronic device 101. and/or home PLMN), it may be determined that the cell of the registered PLMN (and/or home PLMN) of the electronic device 101 is not detected.

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)과 관련된 정보에 기반한 네트워크 검색을 통해 등록 PLMN(및/또는 홈 PLMN)의 셀이 검출되지 않은 경우(예: 동작 605의 '아니오'), 동작 607에서, 직접 통신을 통해 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득할 수 있다. 일 실시예에 따르면, 프로세서(300)는 전자 장치(101)와 직접 통신이 가능한 적어도 하나의 외부 전자 장치가 검색되는 경우, 적어도 하나의 외부 전자 장치로부터 네트워크 정보를 획득하도록 제 1 통신 회로(310)를 제어할 수 있다. According to various embodiments, the electronic device (eg, the processor 120 or 300) searches the registered PLMN (and/or home PLMN) of the electronic device 101 through a network based on information related to the registered PLMN (and/or home PLMN). PLMN) is not detected (eg, 'No' in operation 605), in operation 607, network information related to at least one external electronic device may be obtained through direct communication. According to an embodiment, when at least one external electronic device capable of direct communication with the electronic device 101 is searched for, the processor 300 uses the first communication circuit 310 to obtain network information from the at least one external electronic device. ) can be controlled.

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)과 관련된 정보에 기반한 네트워크 검색을 통해 등록 PLMN(및/또는 홈 PLMN)의 셀이 검출된 경우(예: 동작 605의 '예'), 동작 609에서, 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)의 셀에 등록할 수 있다. 일 실시예에 따르면, 프로세서(300)는 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)의 셀로 등록 요청 메시지를 전송하도록 제 2 통신 회로(320)를 제어할 수 있다. 프로세서(300)는 제 2 통신 회로(320)를 통해 등록 요청 메시지에 대한 응답으로 등록 수락 메시지를 수신한 경우, 전자 장치(101)의 등록 PLMN(및/또는 홈 PLMN)의 셀에 등록이 완료된 것으로 판단할 수 있다.According to various embodiments, the electronic device (eg, the processor 120 or 300) searches the registered PLMN (and/or home PLMN) of the electronic device 101 through a network based on information related to the registered PLMN (and/or home PLMN). PLMN) is detected (eg, 'Yes' in operation 605), in operation 609, the electronic device 101 may be registered in a cell of the registered PLMN (and/or home PLMN). According to an embodiment, the processor 300 may control the second communication circuit 320 to transmit a registration request message to a cell of a registration PLMN (and/or home PLMN) of the electronic device 101 . When the processor 300 receives the registration acceptance message as a response to the registration request message through the second communication circuit 320, registration in the cell of the registration PLMN (and/or home PLMN) of the electronic device 101 is completed. can be judged to be

다양한 실시예에 따르면, 전자 장치(101)는 비활성 상태의 제 2 통신 회로(320)가 활성 상태로 전환되는 경우, 직접 통신을 통해 외부 전자 장치(220)로부터 네트워크 정보를 획득할 수도 있다. 일예로, 제 2 통신 회로(320)의 활성 상태로의 전환은 전자 장치(101)의 전원이 온(ON)되는 상태, 전자 장치(101)의 비행기 모드가 해제되는 상태 및/또는 셀룰러 통신 기능이 활성화되는 상태에 발생될 수 있다. According to various embodiments, the electronic device 101 may acquire network information from the external electronic device 220 through direct communication when the inactive second communication circuit 320 is switched to an active state. For example, the transition to the active state of the second communication circuit 320 is a state in which the power of the electronic device 101 is turned on, a state in which the airplane mode of the electronic device 101 is released, and/or a cellular communication function. may occur in this activated state.

도 7은 다양한 실시예에 따른 전자 장치에서 직접 통신을 통해 네트워크 정보를 획득하기 위한 흐름도(700)이다. 일 실시예에 따르면, 도 7의 적어도 일부는 도 4의 동작 401, 도 5의 동작 505 또는 도 6의 동작 607의 상세한 동작을 포함할 수 있다. 이하 실시예에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 일예로, 도 7의 전자 장치는 도 1, 도 2 또는 도 3의 전자 장치(101)일 수 있다. 7 is a flowchart 700 for acquiring network information through direct communication in an electronic device according to various embodiments. According to an embodiment, at least part of FIG. 7 may include detailed operations of operation 401 of FIG. 4 , operation 505 of FIG. 5 , or operation 607 of FIG. 6 . In the following embodiments, each operation may be performed sequentially, but not necessarily sequentially. For example, the order of each operation may be changed, or at least two operations may be performed in parallel. As an example, the electronic device of FIG. 7 may be the electronic device 101 of FIG. 1 , 2 or 3 .

도 7을 참조하는 다양한 실시예에 따르면, 전자 장치(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(300))는 동작 701에서, 직접 통신을 통해 발견 요청(discovery request) 메시지를 전송할 수 있다. 일 실시예에 따르면, 프로세서(300)는 직접 통신을 통해 외부 전자 장치의 네트워크 정보를 획득하는 것으로 결정한 경우, 전자 장치(101)와 직접 통신이 가능한 외부 전자 장치(220)가 존재하는지 확인하기 위해 직접 통신을 통해 발견 요청 메시지를 전송하도록 제 1 통신 회로(310)를 제어할 수 있다. 일예로, 발견 요청 메시지는 직접 통신과 관련된 전자 장치(101)의 식별 정보를 포함할 수 있다. According to various embodiments of the present disclosure referring to FIG. 7 , an electronic device (eg, the processor 120 of FIG. 1 or the processor 300 of FIG. 3 ) transmits a discovery request message through direct communication in operation 701 . can According to an embodiment, when the processor 300 determines to obtain network information of the external electronic device through direct communication, to determine whether an external electronic device 220 capable of direct communication with the electronic device 101 exists. The first communication circuit 310 may be controlled to transmit the discovery request message through direct communication. For example, the discovery request message may include identification information of the electronic device 101 related to direct communication.

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 동작 703에서, 발견 요청 메시지에 대응하는 발견 응답 메시지가 수신되는지 확인할 수 있다. According to various embodiments, in operation 703, the electronic device (eg, the processor 120 or 300) may check whether a discovery response message corresponding to the discovery request message is received.

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 발견 요청 메시지에 대응하는 발견 응답(discovery response) 메시지를 수신한 경우(예: 동작 703의 '예'), 동작 705에서, 발견 응답 메시지와 관련된 적어도 하나의 외부 전자 장치로 네트워크 정보와 관련된 요청 메시지를 전송할 수 있다. 일 실시예에 따르면, 프로세서(300)는 제 1 통신 회로(310)를 통해 적어도 하나의 발견 응답 메시지를 수신한 경우, 적어도 하나의 발견 응답 메시지와 관련된 적어도 하나의 외부 전자 장치(220)와 직접 통신이 가능한 것으로 판단할 수 있다. 프로세서(300)는 발견 응답 메시지와 관련된 적어도 하나의 외부 전자 장치(220)로 네트워크 정보와 관련된 요청 메시지를 전송하도록 제 1 통신 회로(310)를 제어할 수 있다. 일예로, 발견 응답 메시지와 관련된 외부 전자 장치는 전자 장치(101)에 의해 전송된 발견 요청 메시지에 대한 응답으로 발견 응답 메시지를 전송한 외부 전자 장치를 포함할 수 있다. According to various embodiments, when the electronic device (eg, the processor 120 or 300) receives a discovery response message corresponding to the discovery request message (eg, 'Yes' in operation 703), in operation 705 , a request message related to network information may be transmitted to at least one external electronic device related to the discovery response message. According to an embodiment, when receiving at least one discovery response message through the first communication circuit 310, the processor 300 directly communicates with at least one external electronic device 220 related to the at least one discovery response message. It can be determined that communication is possible. The processor 300 may control the first communication circuit 310 to transmit a request message related to network information to at least one external electronic device 220 related to the discovery response message. For example, the external electronic device related to the discovery response message may include an external electronic device that transmits the discovery response message in response to the discovery request message transmitted by the electronic device 101 .

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 동작 707에서, 네트워크 정보와 관련된 요청 메시지에 대한 응답으로 적어도 하나의 외부 전자 장치로부터 각각의 외부 전자 장치의 네트워크 정보를 획득할 수 있다. 일 실시예에 따르면, 프로세서(300)는 제 1 통신 회로(310)를 통해, 적어도 하나의 외부 전자 장치(220)로부터 네트워크 정보와 관련된 요청 메시지에 대응하는 응답 메시지를 수신할 수 있다. 프로세서(300)는 직접 통신을 통해 적어도 하나의 외부 전자 장치(220)로부터 수신한 응답 메시지에서 각각의 외부 전자 장치(220)의 네트워크 정보를 확인할 수 있다. 일예로, 네트워크 정보는 외부 전자 장치의 PLMN, RAT, 서빙 셀 및/또는 서빙 셀의 신호 품질과 관련된 정보를 포함할 수 있다. According to various embodiments, in operation 707, the electronic device (eg, the processor 120 or 300) obtains network information of each external electronic device from at least one external electronic device in response to a request message related to network information. can do. According to an embodiment, the processor 300 may receive a response message corresponding to a request message related to network information from at least one external electronic device 220 through the first communication circuit 310 . The processor 300 may check network information of each external electronic device 220 in a response message received from at least one external electronic device 220 through direct communication. For example, the network information may include information related to the PLMN, RAT, serving cell, and/or signal quality of the serving cell of the external electronic device.

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 발견 요청 메시지에 대응하는 발견 응답 메시지를 수신하지 못한 경우(예: 동작 703의 '아니오'), 동작 709에서, 전자 장치(101)가 등록 가능한 네트워크가 존재하는지 확인하기 위한 네트워크 검색을 수행할 수 있다. 일 실시예에 따르면, 프로세서(300)는 전자 장치(101)에서 지원 가능한 모든 주파수(또는 주파수 대역)에 대한 네트워크 검색(예: full scan)을 수행하도록 제 2 통신 회로(320)를 제어할 수 있다.According to various embodiments, when the electronic device (eg, the processor 120 or 300) does not receive a discovery response message corresponding to the discovery request message (eg, 'No' in operation 703), in operation 709, the electronic device (101) may perform a network search to determine if there is a network that can be registered. According to an embodiment, the processor 300 may control the second communication circuit 320 to perform a network search (eg, full scan) for all frequencies (or frequency bands) supportable by the electronic device 101. there is.

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

도 8을 참조하는 다양한 실시예에 따르면, 전자 장치(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(300))는 직접 통신을 통해 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득한 경우(예: 도 4의 동작 401), 동작 801에서, 직접 통신을 통해 적어도 하나의 외부 전자 장치로부터 획득한 네트워크 정보에서 전자 장치(101)의 PLMN과 동일한 PLMN의 외부 전자 장치가 존재하는지 확인할 수 있다. 일 실시예에 따르면, 프로세서(300)는 직접 통신을 통해 적어도 하나의 외부 전자 장치로부터 획득한 네트워크 정보에서 각각의 외부 전자 장치의 PLMN을 확인할 수 있다. 프로세서(300)는 각각의 외부 전자 장치의 PLMN 중 전자 장치(101)의 PLMN과 동일한 PLMN이 존재하는지 확인할 수 있다. 일예로, 전자 장치(101)의 PLMN은 전자 장치(101)가 지원 가능한 셀룰러 네트워크를 운용하는 통신 사업자의 식별 정보를 나타낼 수 있다.According to various embodiments of the present disclosure referring to FIG. 8 , an electronic device (eg, the processor 120 of FIG. 1 or the processor 300 of FIG. 3 ) acquires network information related to at least one external electronic device through direct communication. In this case (eg, operation 401 of FIG. 4 ), in operation 801, it may be determined whether an external electronic device having the same PLMN as the PLMN of the electronic device 101 exists in network information obtained from at least one external electronic device through direct communication. there is. According to an embodiment, the processor 300 may check the PLMN of each external electronic device from network information obtained from at least one external electronic device through direct communication. The processor 300 may check whether the same PLMN as the PLMN of the electronic device 101 exists among the PLMNs of each external electronic device. For example, the PLMN of the electronic device 101 may represent identification information of a communication operator operating a cellular network that the electronic device 101 can support.

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 전자 장치의 PLMN과 동일한 PLMN의 외부 전자 장치가 존재하는 경우(예: 동작 801의 '예'), 동작 803에서, 전자 장치의 PLMN과 동일한 PLMN의 외부 전자 장치의 네트워크 정보에 기반하여 전자 장치(101)가 접속(또는 등록)하기 위한 셀을 선택할 수 있다. 일 실시예에 따르면, 프로세서(300)는 직접 통신을 통해 적어도 하나의 외부 전자 장치(220)로부터 획득한 네트워크 정보에서 전자 장치(101)의 PLMN과 동일한 PLMN의 외부 전자 장치(220)로부터 획득한 네트워크 정보를 추출(또는 필터링)할 수 있다. 프로세서(300)는 전자 장치(101)의 PLMN과 동일한 PLMN의 외부 전자 장치(220)의 네트워크 정보에 포함된 서빙 셀의 신호 품질에 기반하여 전자 장치(101)가 접속하기 위한 셀(예: best cell)을 선택할 수 있다. 예를 들어, 전자 장치(101)가 접속하기 위한 셀은 RSRP가 가장 좋은 셀 또는 RSRP가 가장 좋고 SINR이 0을 초과하는 셀을 포함할 수 있다. According to various embodiments, the electronic device (eg, the processor 120 or 300), when an external electronic device having the same PLMN as the PLMN of the electronic device exists (eg, 'Yes' in operation 801), in operation 803, the electronic device A cell for the electronic device 101 to access (or register) may be selected based on network information of an external electronic device of the same PLMN as the PLMN of the device. According to an embodiment, the processor 300 obtains from the external electronic device 220 of the same PLMN as the PLMN of the electronic device 101 in the network information acquired from at least one external electronic device 220 through direct communication. Network information can be extracted (or filtered). The processor 300 determines the cell to which the electronic device 101 accesses (eg, the best cell) can be selected. For example, a cell to which the electronic device 101 accesses may include a cell with the best RSRP or a cell with the best RSRP and a SINR greater than 0.

다양한 실시예에 따르면, 전자 장치(예: 프로세서(120 또는 300))는 전자 장치(101)의 PLMN과 동일한 PLMN의 외부 전자 장치가 존재하지 않는 경우(예: 동작 801의 '아니오'), 동작 805에서, 직접 통신을 통해 획득한 외부 전자 장치의 네트워크 정보에 기반하여 전자 장치(101)가 접속(또는 등록)하기 위한 셀을 선택할 수 있다. 일 실시예에 따르면, 프로세서(300)는 전자 장치(101)의 PLMN과 동일한 PLMN의 외부 전자 장치가 존재하지 않는 경우, 전자 장치(101)가 로밍 상태인 것으로 판단할 수 있다. 프로세서(300)는 전자 장치(101)가 로밍 상태인 것으로 판단되는 경우, 직접 통신을 통해 획득한 적어도 하나의 전자 장치(220)의 네트워크 정보에 포함된 서빙 셀의 신호 품질에 기반하여 전자 장치(101)가 접속하기 위한 셀(예: best cell)을 선택할 수 있다. According to various embodiments, the electronic device (eg, the processor 120 or 300) operates when an external electronic device having the same PLMN as the PLMN of the electronic device 101 does not exist (eg, 'No' in operation 801). In step 805, the electronic device 101 may select a cell for access (or registration) based on network information of the external electronic device acquired through direct communication. According to an embodiment, the processor 300 may determine that the electronic device 101 is in a roaming state when there is no external electronic device having the same PLMN as the PLMN of the electronic device 101 . When it is determined that the electronic device 101 is in a roaming state, the processor 300 determines the electronic device (based on the signal quality of the serving cell included in the network information of at least one electronic device 220 obtained through direct communication). 101) may select a cell (eg, best cell) to access.

도 9는 다양한 실시예에 따른 전자 장치에서 네트워크와의 연결 해제 시, 네트워크에 등록하기 위한 일예이다.9 is an example for registering in a network when an electronic device disconnects from a network according to various embodiments of the present disclosure.

도 9를 참조하는 다양한 실시예에 따르면, 전자 장치(101)는 셀룰러 네트워크를 통해 데이터 및/또는 제어 정보를 송신 및/또는 수신할 수 있다. 전자 장치(101)는 셀룰러 네트워크와의 통신 연결이 해제되는지 확인할 수 있다(동작 911). 일예로, 셀룰러 네트워크와의 통신 연결의 해제는 전자 장치(101)가 음영 지역으로 이동하는 상황, 전자 장치(101)가 셀룰러 네트워크의 커버리지 밖으로 이동하는 상황, 무선 링크 실패(RLF: radio link failure) 및/또는 핸드 오버 실패에 의해 발생될 수 있다.According to various embodiments referring to FIG. 9 , the electronic device 101 may transmit and/or receive data and/or control information through a cellular network. The electronic device 101 may check whether the communication connection with the cellular network is disconnected (operation 911). For example, the release of the communication connection with the cellular network is a situation in which the electronic device 101 moves to a shadow area, a situation in which the electronic device 101 moves out of coverage of the cellular network, a radio link failure (RLF) and/or handover failure.

다양한 실시예에 따르면, 전자 장치(101)는 셀룰러 네트워크와의 통신 연결이 해제되는 경우(동작 911), 전자 장치(101)와 직접 통신이 가능한 외부 전자 장치(220)가 존재하는지 확인하기 위해 직접 통신을 통해 발견 요청 메시지(D2D_discovery_request)를 전송할 수 있다(동작 913, 동작 915 및/또는 동작 917). 일예로, 발견 요청 메시지는 직접 통신과 관련된 전자 장치(101)의 식별 정보를 포함할 수 있다. 일예로, 직접 통신과 관련된 전자 장치(101)의 식별 정보는 전자 장치(101)가 지원 가능한 셀룰러 네트워크를 운용하는 통신 사업자, 전자 장치(101)의 제조사 및/또는 직접 통신을 위해 기 정의된 공유 ID(identity)를 포함할 수 있다.According to various embodiments, when the communication connection with the cellular network is disconnected (operation 911), the electronic device 101 directly checks whether an external electronic device 220 capable of direct communication with the electronic device 101 exists. A discovery request message (D2D_discovery_request) may be transmitted through communication (operation 913, operation 915, and/or operation 917). For example, the discovery request message may include identification information of the electronic device 101 related to direct communication. For example, the identification information of the electronic device 101 related to direct communication may be a communication operator operating a cellular network supportable by the electronic device 101, a manufacturer of the electronic device 101, and/or a predefined share for direct communication. ID (identity) may be included.

다양한 실시예에 따르면, 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)은 발견 요청 메시지를 수신한 경우, 전자 장치(101)와 직접 통신이 가능한지 여부를 판단할 수 있다. 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)은 전자 장치(101)와 직접 통신이 가능한 것으로 판단한 경우, 직접 통신을 통해 발견 응답 메시지(D2D_discovery_cnf)를 전자 장치(101)로 전송할 수 있다(동작 919, 동작 921 및/또는 동작 923). 일 실시예에 따르면, 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)은 발견 요청 메시지에 포함된 직접 통신과 관련된 전자 장치(101)의 식별 정보가 지정된 공유 목록에 포함되는 경우, 전자 장치(101)와 직접 통신이 가능한 것으로 판단할 수 있다. 일예로, 공유 목록은 외부 전자 장치(900, 902 및/또는 904)가 네트워크 정보를 공유하기 위한 전자 장치의 정보를 포함할 수 있다. 일예로, 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)는 도 2의 외부 전자 장치(220)에 포함될 수 있다.According to various embodiments, when the external electronic device 1 (900), the external electronic device 2 (902), and/or the external electronic device 3 (904) receive the discovery request message, whether direct communication with the electronic device 101 is possible. can determine whether When the external electronic device 1 (900), the external electronic device 2 (902), and/or the external electronic device 3 (904) determine that direct communication with the electronic device 101 is possible, a discovery response message (D2D_discovery_cnf) through direct communication may be transmitted to the electronic device 101 (operation 919, operation 921 and/or operation 923). According to an embodiment, the external electronic device 1 (900), the external electronic device 2 (902), and/or the external electronic device 3 (904) include identification information of the electronic device 101 related to direct communication included in the discovery request message. When is included in the designated sharing list, it may be determined that direct communication with the electronic device 101 is possible. For example, the sharing list may include information on electronic devices for the external electronic devices 900 , 902 , and/or 904 to share network information. For example, external electronic device 1 900 , external electronic device 2 902 , and/or external electronic device 3 904 may be included in the external electronic device 220 of FIG. 2 .

다양한 실시예에 따르면, 전자 장치(101)는 발견 응답 메시지들을 수신한 경우, 발견 응답 메시지와 관련된 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및 외부 전자 장치 3(904)과 직접 통신이 가능한 것으로 판단할 수 있다. 전자 장치(101)는 발견 응답 메시지와 관련된 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)으로 네트워크 정보와 관련된 요청 메시지(D2D_info_request)를 전송할 수 있다(동작 925, 동작 927 및/또는 동작 929).According to various embodiments, when the electronic device 101 receives the discovery response messages, the electronic device 101 directly communicates with the external electronic device 1 900, the external electronic device 2 902, and the external electronic device 3 904 related to the discovery response messages. It can be determined that communication is possible. The electronic device 101 may transmit a request message (D2D_info_request) related to network information to the external electronic device 1 900, the external electronic device 2 902, and/or the external electronic device 3 904 related to the discovery response message. (Operation 925, Operation 927 and/or Operation 929).

다양한 실시예에 따르면, 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)은 네트워크 정보와 관련된 요청 메시지를 수신한 경우, 각각의 외부 전자 장치(900, 902 또는 904)의 네트워크 정보를 포함하는 응답 메시지(D2D_info_cnf)를 전자 장치(101)로 전송할 수 있다(동작 931, 동작 933 및/또는 동작 935). 일 실시예에 따르면, 외부 전자 장치 1(900)은 네트워크 정보와 관련된 요청 메시지를 수신한 경우, 외부 전자 장치 1(900)의 네트워크 정보를 포함하는 응답 메시지를 전자 장치(101)로 전송할 수 있다(동작 931). 일 실시예에 따르면, 외부 전자 장치 2(902)는 네트워크 정보와 관련된 요청 메시지를 수신한 경우, 외부 전자 장치 2(902)의 네트워크 정보를 포함하는 응답 메시지를 전자 장치(101)로 전송할 수 있다(동작 933). 일 실시예에 따르면, 외부 전자 장치 3(904)은 네트워크 정보와 관련된 요청 메시지를 수신한 경우, 외부 전자 장치 3(904)의 네트워크 정보를 포함하는 응답 메시지를 전자 장치(101)로 전송할 수 있다(동작 935). 일예로, 네트워크 정보는 외부 전자 장치의 PLMN, RAT, 서빙 셀 및/또는 서빙 셀의 신호 품질과 관련된 정보를 포함할 수 있다.According to various embodiments, when external electronic device 1 900, external electronic device 2 902, and/or external electronic device 3 904 receive a request message related to network information, each external electronic device 900 A response message (D2D_info_cnf) including network information of , 902 or 904 may be transmitted to the electronic device 101 (operation 931, operation 933 and/or operation 935). According to an embodiment, when external electronic device 1 (900) receives a request message related to network information, it may transmit a response message including network information of external electronic device 1 (900) to electronic device 101. (Action 931). According to an embodiment, when receiving a request message related to network information, the external electronic device 2 902 may transmit a response message including network information of the external electronic device 2 902 to the electronic device 101. (Action 933). According to an embodiment, when receiving a request message related to network information, the external electronic device 3 904 may transmit a response message including network information of the external electronic device 3 904 to the electronic device 101. (Action 935). For example, the network information may include information related to the PLMN, RAT, serving cell, and/or signal quality of the serving cell of the external electronic device.

다양한 실시예에 따르면, 전자 장치(101)는 직접 통신을 통해 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)으로부터 획득한 네트워크 정보 중 전자 장치(101)의 PLMN과 동일한 PLMN의 외부 전자 장치의 네트워크 정보를 검출할 수 있다(동작 937). 일 실시예에 따르면, 전자 장치(101)는 직접 통신을 통해 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)으로부터 획득한 네트워크 정보에서 각각의 외부 전자 장치(900, 902 또는 904)의 PLMN을 확인할 수 있다. 전자 장치(101)는 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)의 PLMN 중 전자 장치(101)의 PLMN과 동일한 PLMN의 외부 전자 장치(900, 902 및/또는 904)의 네트워크 정보를 추출(또는 필터링)할 수 있다.According to various embodiments, the electronic device 101 may include an electronic device (among network information acquired from the external electronic device 1 900, the external electronic device 2 902, and/or the external electronic device 3 904 through direct communication). Network information of an external electronic device of the same PLMN as the PLMN of 101) may be detected (operation 937). According to an embodiment, the electronic device 101 is configured to obtain network information obtained from the external electronic device 1 (900), the external electronic device 2 (902), and/or the external electronic device 3 (904) through direct communication with each external device. The PLMN of the electronic device 900 , 902 or 904 may be checked. The electronic device 101 is an external electronic device 900 of the same PLMN as the PLMN of the electronic device 101 among the PLMNs of the external electronic device 1 900, the external electronic device 2 902, and/or the external electronic device 3 904. , 902 and/or 904) network information may be extracted (or filtered).

다양한 실시예에 따르면, 전자 장치(101)는 전자 장치(101)의 PLMN과 동일한 PLMN의 외부 전자 장치(900, 902 및/또는 904)의 네트워크 정보에 기반하여 전자 장치(101)가 접속(또는 등록)하기 위한 셀을 선택할 수 있다(동작 939). 일 실시예에 따르면, 전자 장치(101)는 전자 장치(101)의 PLMN과 동일한 PLMN의 외부 전자 장치(900, 902 및/또는 904)의 네트워크 정보에 기반하여 각각의 외부 전자 장치(900, 902 및/또는 904)의 서빙 셀의 신호 품질을 확인할 수 있다. 전자 장치(101)는 외부 전자 장치(900, 902 및/또는 904)의 서빙 셀의 신호 품질에 기반하여 전자 장치(101)가 접속하기 위한 셀(예: best cell)을 선택할 수 있다. 예를 들어, 전자 장치(101)가 접속하기 위한 셀은 RSRP가 가장 좋은 셀 또는 RSRP가 가장 좋고 SINR이 0을 초과하는 셀을 포함할 수 있다. According to various embodiments, the electronic device 101 is connected (or A cell for registration) may be selected (operation 939). According to an embodiment, the electronic device 101 establishes a network information of the external electronic devices 900 , 902 , and/or 904 of the same PLMN as the PLMN of the electronic device 101 , respectively. And/or signal quality of the serving cell of 904) may be checked. The electronic device 101 may select a cell (eg, best cell) to which the electronic device 101 accesses based on the signal quality of the serving cell of the external electronic device 900 , 902 , and/or 904 . For example, a cell to which the electronic device 101 accesses may include a cell with the best RSRP or a cell with the best RSRP and a SINR greater than 0.

다양한 실시예에 따르면, 전자 장치(101)는 직접 통신을 통해 획득한 외부 전자 장치(900, 902 및/또는 904)의 네트워크 정보에 기반하여 검출된 셀과의 등록 절차를 수행할 수 있다(동작 941). 일 실시예에 따르면, 전자 장치(101)는 직접 통신을 통해 획득한 외부 전자 장치(900, 902 및/또는 904)의 네트워크 정보에 기반하여 검출된 셀로 등록 요청 메시지(예: Attach request)를 전송할 수 있다(동작 941). 전자 장치(101)는 등록 요청 메시지에 대한 응답으로 등록 수락 메시지를 수신한 경우, 셀로의 등록이 완료된 것으로 판단할 수 있다.According to various embodiments, the electronic device 101 may perform a registration procedure with the detected cell based on network information of the external electronic devices 900, 902, and/or 904 obtained through direct communication (operation 941). According to an embodiment, the electronic device 101 transmits a registration request message (eg, attach request) to the detected cell based on network information of the external electronic device 900, 902, and/or 904 obtained through direct communication. may (act 941). When the electronic device 101 receives a registration acceptance message in response to the registration request message, it may be determined that registration with the cell is completed.

다양한 실시예에 따르면, 전자 장치(101)는 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)의 PLMN 중 전자 장치(101)의 PLMN과 동일한 PLMN의 외부 전자 장치(900, 902 및/또는 904)가 존재하지 않는 경우, 전자 장치(101)가 로밍 상태인 것으로 판단할 수 있다. 전자 장치(101)는 로밍 상태인 것으로 판단되는 경우, 직접 통신을 통해 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)으로부터 획득한 네트워크 정보에 포함된 서빙 셀의 신호 품질에 기반하여 전자 장치(101)가 접속하기 위한 셀(예: best cell)을 선택할 수 있다. According to various embodiments, the electronic device 101 has the same PLMN as the PLMN of the electronic device 101 among the PLMNs of the external electronic device 1 900 , the external electronic device 2 902 , and/or the external electronic device 3 904 . When the external electronic device 900 , 902 , and/or 904 does not exist, it may be determined that the electronic device 101 is in a roaming state. When the electronic device 101 is determined to be in a roaming state, the electronic device 101 is included in network information obtained from the external electronic device 1 900, the external electronic device 2 902, and/or the external electronic device 3 904 through direct communication Based on the signal quality of the served cell, the electronic device 101 may select a cell (eg, best cell) to access.

다양한 실시예에 따르면, 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)은 네트워크 정보와 관련된 요청 메시지를 수신한 경우, 전자 장치(101)와 네트워크 정보를 공유할 것인지 판단할 수 있다. 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)은 전자 장치(101)와 네트워크 정보를 공유하는 것으로 판단한 경우, 각각의 외부 전자 장치(900, 902 또는 904)의 네트워크 정보를 포함하는 응답 메시지를 전자 장치(101)로 전송할 수 있다(동작 931, 동작 933 및/또는 동작 935).According to various embodiments, when the external electronic device 1 (900), the external electronic device 2 (902), and/or the external electronic device 3 (904) receive a request message related to network information, the electronic device 101 and the network You can decide whether to share the information. When it is determined that the external electronic device 1 (900), the external electronic device 2 (902), and/or the external electronic device 3 (904) share network information with the electronic device 101, the respective external electronic devices (900, 902) Alternatively, the response message including the network information of step 904 may be transmitted to the electronic device 101 (operation 931, operation 933 and/or operation 935).

도 10은 다양한 실시예에 따른 전자 장치에서 로밍 상태에서 네트워크에 등록하기 위한 일예이다.10 is an example of registering in a network in a roaming state in an electronic device according to various embodiments of the present disclosure.

도 10을 참조하는 다양한 실시예에 따르면, 전자 장치(101)는 전자 장치(101)가 로밍 상태인지 판단할 수 있다(동작 1011). 일 실시예에 따르면, 전자 장치(101)는 전원이 공급되거나, 셀룰러 통신을 지원하는 통신 회로(예: 도 3의 제 2 통신 회로(320))가 활성 상태로 전환되는 경우, 전자 장치(101)의 등록 PLMN 및/또는 홈 PLMN과 관련된 정보에 기반하여 네트워크 검색을 수행할 수 있다. 전자 장치(101)는 등록 PLMN 및/또는 홈 PLMN과 관련된 정보에 기반한 네트워크 검색을 통해 등록 PLMN 및/또는 홈 PLMN의 셀이 검출되지 않은 경우, 전자 장치(101)가 로밍 상태인 것으로 판단할 수 있다.According to various embodiments of the present disclosure referring to FIG. 10 , the electronic device 101 may determine whether the electronic device 101 is in a roaming state (operation 1011). According to an embodiment, the electronic device 101 is activated when power is supplied or a communication circuit supporting cellular communication (eg, the second communication circuit 320 of FIG. 3) is switched to an active state. ) may perform network search based on information related to the registered PLMN and/or the home PLMN. The electronic device 101 may determine that the electronic device 101 is in a roaming state when a cell of the registered PLMN and/or home PLMN is not detected through a network search based on information related to the registered PLMN and/or home PLMN. there is.

다양한 실시예에 따르면, 전자 장치(101)는 전자 장치(101)가 로밍 상태인 것으로 판단한 경우(동작 1011), 전자 장치(101)와 직접 통신이 가능한 외부 전자 장치(220)가 존재하는지 확인하기 위해 직접 통신을 통해 직접 통신과 관련된 전자 장치(101)의 식별 정보를 포함하는 발견 요청 메시지(D2D_discovery_request)를 전송할 수 있다(동작 1013, 동작 1015 및/또는 동작 1017). According to various embodiments, when the electronic device 101 determines that the electronic device 101 is in a roaming state (operation 1011), the electronic device 101 determines whether an external electronic device 220 capable of direct communication with the electronic device 101 exists. For this purpose, a discovery request message (D2D_discovery_request) including identification information of the electronic device 101 related to direct communication may be transmitted through direct communication (operation 1013, operation 1015, and/or operation 1017).

다양한 실시예에 따르면, 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)은 발견 요청 메시지를 수신한 경우, 전자 장치(101)와 직접 통신이 가능한지 여부를 판단할 수 있다. 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)은 전자 장치(101)와 직접 통신이 가능한 것으로 판단한 경우, 직접 통신을 통해 발견 응답 메시지(D2D_discovery_cnf)를 전자 장치(101)로 전송할 수 있다(동작 1019, 동작 1021 및/또는 동작 1023). According to various embodiments, when the external electronic device 1 (900), the external electronic device 2 (902), and/or the external electronic device 3 (904) receive the discovery request message, whether direct communication with the electronic device 101 is possible. can determine whether When the external electronic device 1 (900), the external electronic device 2 (902), and/or the external electronic device 3 (904) determine that direct communication with the electronic device 101 is possible, a discovery response message (D2D_discovery_cnf) through direct communication may be transmitted to the electronic device 101 (operation 1019, operation 1021 and/or operation 1023).

다양한 실시예에 따르면, 전자 장치(101)는 발견 응답 메시지들을 수신한 경우, 발견 응답 메시지와 관련된 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및 외부 전자 장치 3(904)과 직접 통신이 가능한 것으로 판단할 수 있다. 전자 장치(101)는 발견 응답 메시지와 관련된 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)으로 네트워크 정보와 관련된 요청 메시지(D2D_info_request)를 전송할 수 있다(동작 1025, 동작 1027 및/또는 동작 1029).According to various embodiments, when the electronic device 101 receives the discovery response messages, the electronic device 101 directly communicates with the external electronic device 1 900, the external electronic device 2 902, and the external electronic device 3 904 related to the discovery response messages. It can be determined that communication is possible. The electronic device 101 may transmit a request message (D2D_info_request) related to network information to the external electronic device 1 900, the external electronic device 2 902, and/or the external electronic device 3 904 related to the discovery response message. (Operation 1025, Operation 1027 and/or Operation 1029).

다양한 실시예에 따르면, 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)은 네트워크 정보와 관련된 요청 메시지를 수신한 경우, 각각의 외부 전자 장치(900, 902 또는 904)의 네트워크 정보를 포함하는 응답 메시지(D2D_info_cnf)를 전자 장치(101)로 전송할 수 있다(동작 1031, 동작 1033 및/또는 동작 1035). 일예로, 네트워크 정보는 외부 전자 장치의 PLMN, RAT, 서빙 셀 및/또는 서빙 셀의 신호 품질과 관련된 정보를 포함할 수 있다.According to various embodiments, when external electronic device 1 900, external electronic device 2 902, and/or external electronic device 3 904 receive a request message related to network information, each external electronic device 900 A response message (D2D_info_cnf) including network information of , 902 or 904 may be transmitted to the electronic device 101 (operations 1031, 1033 and/or 1035). For example, the network information may include information related to the PLMN, RAT, serving cell, and/or signal quality of the serving cell of the external electronic device.

다양한 실시예에 따르면, 전자 장치(101)는 직접 통신을 통해 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)으로부터 획득한 네트워크 정보에 기반하여 전자 장치(101)가 접속(또는 등록)하기 위한 셀을 선택할 수 있다(동작 1037). 일 실시예에 따르면, 전자 장치(101)는 직접 통신을 통해 외부 전자 장치 1(900), 외부 전자 장치 2(902) 및/또는 외부 전자 장치 3(904)으로부터 획득한 네트워크 정보에 포함된 서빙 셀의 신호 품질에 기반하여 전자 장치(101)가 접속하기 위한 셀(예: best cell)을 선택할 수 있다. 예를 들어, 전자 장치(101)가 접속하기 위한 셀은 RSRP가 가장 좋은 셀 또는 RSRP가 가장 좋고 SINR이 0을 초과하는 셀을 포함할 수 있다. According to various embodiments, the electronic device 101 may use electronic device 101 based on network information acquired from the external electronic device 1 900, the external electronic device 2 902, and/or the external electronic device 3 904 through direct communication. The device 101 may select a cell to connect to (or register with) (act 1037). According to an embodiment, the electronic device 101 provides serving data included in network information obtained from the external electronic device 1 900, the external electronic device 2 902, and/or the external electronic device 3 904 through direct communication. Based on the signal quality of the cell, the electronic device 101 may select a cell (eg, best cell) to access. For example, a cell to which the electronic device 101 accesses may include a cell with the best RSRP or a cell with the best RSRP and a SINR greater than 0.

다양한 실시예에 따르면, 전자 장치(101)는 직접 통신을 통해 획득한 외부 전자 장치(900, 902 및/또는 904)의 네트워크 정보에 기반하여 검출된 셀과의 등록 절차를 수행할 수 있다(동작 1039). 일 실시예에 따르면, 전자 장치(101)는 직접 통신을 통해 획득한 외부 전자 장치(900, 902 및/또는 904)의 네트워크 정보에 기반하여 검출된 셀로 등록 요청 메시지(예: Attach request)를 전송할 수 있다(동작 1039). 전자 장치(101)는 등록 요청 메시지에 대한 응답으로 등록 수락 메시지를 수신한 경우, 셀로의 등록이 완료된 것으로 판단할 수 있다.According to various embodiments, the electronic device 101 may perform a registration procedure with the detected cell based on network information of the external electronic devices 900, 902, and/or 904 obtained through direct communication (operation 1039). According to an embodiment, the electronic device 101 transmits a registration request message (eg, attach request) to the detected cell based on network information of the external electronic device 900, 902, and/or 904 obtained through direct communication. may (act 1039). When the electronic device 101 receives a registration acceptance message in response to the registration request message, it may be determined that registration with the cell is completed.

다양한 실시예에 따르면, 전자 장치의 동작 방법은, 직접 통신을 통해 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 동작과 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 제 1 셀룰러 네트워크의 셀을 검출하는 동작, 및 상기 검출된 제 1 네트워크의 셀로 등록을 수행하는 동작을 포함할 수 있다.According to various embodiments, a method of operating an electronic device includes obtaining network information related to at least one external electronic device through direct communication, and the electronic device based on the network information related to the at least one external electronic device. It may include an operation of detecting an accessible cell of the first cellular network, and an operation of performing registration with the detected cell of the first network.

다양한 실시예에 따르면, 상기 네트워크 정보를 획득하는 동작은, 제 2 셀룰러 네트워크와 통신을 수행하는 동작, 및 상기 제 2 셀룰러 네트워크와의 통신 연결이 해제되는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 동작을 포함할 수 있다.According to various embodiments, the obtaining of the network information may include performing communication with a second cellular network, and when the communication connection with the second cellular network is disconnected, the at least one information obtained through direct communication. An operation of acquiring network information related to an external electronic device may be included.

다양한 실시예에 따르면, 상기 네트워크 정보를 획득하는 동작은, 상기 전자 장치의 등록 PLMN(RPLMN: registed public land mobile network), 홈 PLMN(HPLMN: home PLMN) 및/또는 선호 PLMN(PPLMN: preferred PLMN)과 관련된 네트워크가 검색되지 않는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 동작을 포함할 수 있다.According to various embodiments, the operation of acquiring the network information may include a registered public land mobile network (RPLMN), a home PLMN (HPLMN), and/or a preferred PLMN (PPLMN) of the electronic device. When a network related to is not searched, an operation of acquiring network information related to the at least one external electronic device through the direct communication may be included.

다양한 실시예에 따르면, 상기 네트워크 정보를 획득하는 동작은, 셀룰러 통신을 지원하는 상기 전자 장치의 통신 회로가 비활성 상태에서 활성 상태로 전환되는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 동작을 포함할 수 있다.According to various embodiments, the operation of obtaining the network information may include contacting the at least one external electronic device through the direct communication when a communication circuit of the electronic device supporting cellular communication is switched from an inactive state to an active state. It may include an operation of obtaining related network information.

다양한 실시예에 따르면, 상기 제 1 셀룰러 네트워크의 셀을 검출하는 동작은, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 상기 전자 장치의 등록 PLMN과 관련된 네트워크 정보가 존재하는지 확인하는 동작, 및 상기 전자장치의 등록 PLMN과 관련된 네트워크 정보가 존재하는 것으로 판단한 경우, 상기 전자 장치의 PLMN과 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 상기 제 1 셀룰러 네트워크의 셀을 선택하는 동작을 포함할 수 있다.According to various embodiments, the detecting of a cell of the first cellular network may include determining whether network information related to a registered PLMN of the electronic device exists in network information related to the at least one external electronic device; and and selecting a cell of the first cellular network accessible to the electronic device based on the network information related to the PLMN of the electronic device when it is determined that there is network information related to the registered PLMN of the electronic device. .

다양한 실시예에 따르면, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에서 상기 전자장치의 등록 PLMN과 관련된 네트워크 정보가 존재하지 않는 경우, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 상기 제 1 셀룰러 네트워크의 셀을 선택하는 동작을 포함할 수 있다.According to various embodiments, when network information related to a registered PLMN of the electronic device does not exist in the network information related to the at least one external electronic device, the third external electronic device is based on the network information related to the at least one external electronic device. 1 may include an operation of selecting a cell of a cellular network.

다양한 실시예에 따르면, 상기 외부 전자 장치와 관련된 네트워크 정보는, PLMN, RAT(radio access technology), 서빙 셀(serving cell) 및/또는 서빙 셀의 신호 품질과 관련된 정보를 포함할 수 있다.According to various embodiments, the network information related to the external electronic device may include information related to a PLMN, a radio access technology (RAT), a serving cell, and/or signal quality of the serving cell.

다양한 실시예에 따르면, 상기 제 1 셀룰러 네트워크의 셀을 검출하는 동작은, 상기 적어도 하나의 외부 전자 장치의 서빙 셀의 신호 품질에 기반하여 상기 전자 장치가 접속 가능한 상기 제 1 셀룰러 네트워크의 셀을 선택하는 동작을 포함할 수 있다.According to various embodiments, the detecting of the cell of the first cellular network may include selecting a cell of the first cellular network to which the electronic device can access based on the signal quality of the serving cell of the at least one external electronic device. action may be included.

다양한 실시예에 따르면, 상기 제 1 셀룰러 네트워크의 셀을 검출하는 동작은, 상기 적어도 하나의 외부 전자 장치의 서빙 셀의 RSRP(reference signal received power) 및/또는 SINR(signal to interference plus noise ratio)에 기반하여 상기 전자 장치가 접속 가능한 상기 제 1 셀룰러 네트워크의 셀을 선택하는 동작을 포함할 수 있다.According to various embodiments, the operation of detecting a cell of the first cellular network may include a reference signal received power (RSRP) and/or a signal to interference plus noise ratio (SINR) of a serving cell of the at least one external electronic device. and selecting a cell of the first cellular network to which the electronic device can access based on the method.

다양한 실시예에 따르면, 전자 장치(예: 도 1, 도 2 또는 도 3의 전자 장치(101))의 동작 방법은, 직접 통신을 통해 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 동작과 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 제 1 셀룰러 네트워크의 셀을 검출하는 동작, 및 상기 검출된 제 1 네트워크의 셀로 등록을 수행하는 동작을 포함할 수 있다.According to various embodiments, a method of operating an electronic device (eg, the electronic device 101 of FIGS. 1, 2, or 3) includes obtaining network information related to at least one external electronic device through direct communication; The method may include detecting a cell of a first cellular network accessible to the electronic device based on network information related to the at least one external electronic device, and performing registration with the detected cell of the first network. .

다양한 실시예에 따르면, 상기 네트워크 정보를 획득하는 동작은, 제 2 셀룰러 네트워크와 통신을 수행하는 동작, 및 상기 제 2 셀룰러 네트워크와의 통신 연결이 해제되는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 동작을 포함할 수 있다.According to various embodiments, the obtaining of the network information may include performing communication with a second cellular network, and when the communication connection with the second cellular network is disconnected, the at least one information obtained through direct communication. An operation of acquiring network information related to an external electronic device may be included.

다양한 실시예에 따르면, 상기 네트워크 정보를 획득하는 동작은, 상기 전자 장치의 등록 PLMN(RPLMN: registed public land mobile network), 홈 PLMN(HPLMN: home PLMN) 및/또는 선호 PLMN(PPLMN: preferred PLMN)과 관련된 네트워크가 검색되지 않는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 동작을 포함할 수 있다.According to various embodiments, the operation of acquiring the network information may include a registered public land mobile network (RPLMN), a home PLMN (HPLMN), and/or a preferred PLMN (PPLMN) of the electronic device. When a network related to is not searched, an operation of acquiring network information related to the at least one external electronic device through the direct communication may be included.

다양한 실시예에 따르면, 상기 네트워크 정보를 획득하는 동작은, 셀룰러 통신을 지원하는 상기 전자 장치의 통신 회로가 비활성 상태에서 활성 상태로 전환되는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 동작을 포함할 수 있다.According to various embodiments, the operation of obtaining the network information may include contacting the at least one external electronic device through the direct communication when a communication circuit of the electronic device supporting cellular communication is switched from an inactive state to an active state. It may include an operation of obtaining related network information.

다양한 실시예에 따르면, 상기 제 1 셀룰러 네트워크의 셀을 검출하는 동작은, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 상기 전자 장치의 등록 PLMN과 관련된 네트워크 정보가 존재하는지 확인하는 동작, 및 상기 전자장치의 등록 PLMN과 관련된 네트워크 정보가 존재하는 것으로 판단한 경우, 상기 전자 장치의 PLMN과 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 상기 제 1 셀룰러 네트워크의 셀을 선택하는 동작을 포함할 수 있다.According to various embodiments, the detecting of a cell of the first cellular network may include determining whether network information related to a registered PLMN of the electronic device exists in network information related to the at least one external electronic device; and and selecting a cell of the first cellular network accessible to the electronic device based on the network information related to the PLMN of the electronic device when it is determined that there is network information related to the registered PLMN of the electronic device. .

다양한 실시예에 따르면, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에서 상기 전자장치의 등록 PLMN과 관련된 네트워크 정보가 존재하지 않는 경우, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 상기 제 1 셀룰러 네트워크의 셀을 선택하는 동작을 포함할 수 있다.According to various embodiments, when network information related to a registered PLMN of the electronic device does not exist in the network information related to the at least one external electronic device, the third external electronic device is based on the network information related to the at least one external electronic device. 1 may include an operation of selecting a cell of a cellular network.

다양한 실시예에 따르면, 상기 외부 전자 장치와 관련된 네트워크 정보는, PLMN, RAT(radio access technology), 서빙 셀(serving cell) 및/또는 서빙 셀의 신호 품질과 관련된 정보를 포함할 수 있다.According to various embodiments, the network information related to the external electronic device may include information related to a PLMN, a radio access technology (RAT), a serving cell, and/or signal quality of the serving cell.

다양한 실시예에 따르면, 상기 제 1 셀룰러 네트워크의 셀을 검출하는 동작은, 상기 적어도 하나의 외부 전자 장치의 서빙 셀의 신호 품질에 기반하여 상기 전자 장치가 접속 가능한 상기 제 1 셀룰러 네트워크의 셀을 선택하는 동작을 포함할 수 있다.According to various embodiments, the detecting of the cell of the first cellular network may include selecting a cell of the first cellular network to which the electronic device can access based on the signal quality of the serving cell of the at least one external electronic device. action may be included.

다양한 실시예에 따르면, 상기 제 1 셀룰러 네트워크의 셀을 검출하는 동작은, 상기 적어도 하나의 외부 전자 장치의 서빙 셀의 RSRP(reference signal received power) 및/또는 SINR(signal to interference plus noise ratio)에 기반하여 상기 전자 장치가 접속 가능한 상기 제 1 셀룰러 네트워크의 셀을 선택하는 동작을 포함할 수 있다.According to various embodiments, the operation of detecting a cell of the first cellular network may include a reference signal received power (RSRP) and/or a signal to interference plus noise ratio (SINR) of a serving cell of the at least one external electronic device. and selecting a cell of the first cellular network to which the electronic device can access based on the method.

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

Claims (20)

전자 장치에 있어서,
메모리;
직접 통신을 지원하는 제 1 통신 회로;
셀룰러 통신을 지원하는 제 2 통신 회로; 및
상기 메모리, 상기 제 1 통신 회로 및 상기 제 2 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하며,
상기 프로세서는,
상기 제 1 통신 회로를 통해 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하고,
상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 검출하고,
상기 제 2 통신 회로를 통해 상기 네트워크의 셀로 등록을 수행하는 전자 장치.
In electronic devices,
Memory;
a first communication circuit supporting direct communication;
a second communication circuit supporting cellular communication; and
at least one processor in operative connection with the memory, the first communication circuitry and the second communication circuitry;
the processor,
Obtaining network information related to at least one external electronic device through the first communication circuit;
detecting a cell of a network accessible to the electronic device based on network information related to the at least one external electronic device;
An electronic device performing registration with a cell of the network through the second communication circuit.
제 1항에 있어서,
상기 프로세서는,
상기 제 2 통신 회로를 통해 셀룰러 네트워크와 통신을 수행하고,
상기 셀룰러 네트워크와의 통신 연결이 해제되는 경우, 상기 제 1 통신 회로를 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 전자 장치.
According to claim 1,
the processor,
performing communication with a cellular network through the second communication circuit;
An electronic device that acquires network information related to the at least one external electronic device through the first communication circuit when the communication connection with the cellular network is disconnected.
제 1항에 있어서,
상기 프로세서는,
상기 전자 장치가 로밍 상태인지 여부를 판단하고,
상기 전자 장치가 로밍 상태인 것으로 판단되는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 전자 장치.
According to claim 1,
the processor,
determining whether the electronic device is in a roaming state;
An electronic device that obtains network information related to the at least one external electronic device through the direct communication when it is determined that the electronic device is in a roaming state.
제 3항에 있어서,
상기 프로세서는, 상기 전자 장치의 등록 PLMN(RPLMN: registed public land mobile network), 홈 PLMN(HPLMN: home PLMN) 및/또는 선호 PLMN(PPLMN: preferred PLMN)과 관련된 네트워크가 검색되지 않는 경우, 상기 전자 장치가 로밍 상태인 것으로 판단하는 전자 장치.
According to claim 3,
The processor, when a network related to a registered public land mobile network (RPLMN), a home PLMN (HPLMN), and/or a preferred PLMN (PPLMN) of the electronic device is not searched, the electronic device An electronic device that determines that the device is in a roaming state.
제 1항에 있어서,
상기 프로세서는, 비활성 상태인 상기 제 2 통신 회로가 활성 상태로 전환되는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 전자 장치.
According to claim 1,
wherein the processor obtains network information related to the at least one external electronic device through the direct communication when the second communication circuit, which is in an inactive state, is switched to an active state.
제 1항에 있어서,
상기 프로세서는,
상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 상기 전자 장치의 등록 PLMN과 관련된 네트워크 정보가 존재하는지 확인하고,
상기 전자 장치의 등록 PLMN과 관련된 네트워크 정보가 존재하는 것으로 판단한 경우, 상기 전자 장치의 PLMN과 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 선택하는 전자 장치.
According to claim 1,
the processor,
Check whether network information related to a registered PLMN of the electronic device exists in the network information related to the at least one external electronic device;
and selecting a cell of a network accessible to the electronic device based on the network information related to the PLMN of the electronic device when it is determined that network information related to the registered PLMN of the electronic device exists.
제 6항에 있어서,
상기 프로세서는, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에서 상기 전자 장치의 등록 PLMN과 관련된 네트워크 정보가 존재하지 않는 경우, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 선택하는 전자 장치.
According to claim 6,
The processor may, when the network information related to the registered PLMN of the electronic device does not exist in the network information related to the at least one external electronic device, the electronic device based on the network information related to the at least one external electronic device. An electronic device that selects a cell of an accessible network.
제 1항에 있어서,
상기 외부 전자 장치와 관련된 네트워크 정보는, PLMN, RAT(radio access technology), 서빙 셀(serving cell) 및/또는 서빙 셀의 신호 품질과 관련된 정보를 포함하는 전자 장치.
According to claim 1,
The network information related to the external electronic device includes information related to a PLMN, a radio access technology (RAT), a serving cell, and/or signal quality of the serving cell.
제 8항에 있어서,
상기 프로세서는, 상기 적어도 하나의 외부 전자 장치의 서빙 셀의 신호 품질에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 선택하는 전자 장치.
According to claim 8,
wherein the processor selects a cell of a network accessible to the electronic device based on signal quality of a serving cell of the at least one external electronic device.
제 9항에 있어서,
상기 프로세서는, 상기 적어도 하나의 외부 전자 장치의 서빙 셀의 RSRP(reference signal received power) 및/또는 SINR(signal to interference plus noise ratio)에 기반하여 상기 전자 장치가 접속 가능한 네트워크의 셀을 선택하는 전자 장치.
According to claim 9,
The processor selects a cell of a network accessible to the electronic device based on a reference signal received power (RSRP) and/or a signal to interference plus noise ratio (SINR) of a serving cell of the at least one external electronic device. Device.
제 1항에 있어서,
상기 제 1 통신 회로는, 무선랜(예: Wi-Fi), 블루투스(bluetooth), BLE(bluetooth low energy) 또는 UWB(ultra-wideband) 중 적어도 하나에 기반한 직접 통신을 지원하는 전자 장치.
According to claim 1,
The first communication circuit is an electronic device that supports direct communication based on at least one of a wireless LAN (eg, Wi-Fi), Bluetooth, Bluetooth low energy (BLE), or ultra-wideband (UWB).
전자 장치의 동작 방법에 있어서,
직접 통신을 통해 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 동작,
상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 제 1 셀룰러 네트워크의 셀을 검출하는 동작, 및
상기 검출된 제 1 네트워크의 셀로 등록을 수행하는 동작을 포함하는 방법.
In the method of operating an electronic device,
Obtaining network information related to at least one external electronic device through direct communication;
detecting a cell of a first cellular network accessible to the electronic device based on network information related to the at least one external electronic device; and
and performing registration with the detected cell of the first network.
제 12항에 있어서,
상기 네트워크 정보를 획득하는 동작은,
제 2 셀룰러 네트워크와 통신을 수행하는 동작, 및
상기 제 2 셀룰러 네트워크와의 통신 연결이 해제되는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 동작을 포함하는 방법.
According to claim 12,
The operation of obtaining the network information,
performing communication with a second cellular network; and
and obtaining network information related to the at least one external electronic device through the direct communication when the communication connection with the second cellular network is disconnected.
제 12항에 있어서,
상기 네트워크 정보를 획득하는 동작은,
상기 전자 장치의 등록 PLMN(RPLMN: registed public land mobile network), 홈 PLMN(HPLMN: home PLMN) 및/또는 선호 PLMN(PPLMN: preferred PLMN)과 관련된 네트워크가 검색되지 않는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 동작을 포함하는 방법.
According to claim 12,
The operation of obtaining the network information,
When a network related to a registered public land mobile network (RPLMN), a home PLMN (HPLMN), and/or a preferred PLMN (PPLMN) of the electronic device is not searched, the direct communication A method comprising obtaining network information related to at least one external electronic device.
제 12항에 있어서,
상기 네트워크 정보를 획득하는 동작은,
셀룰러 통신을 지원하는 상기 전자 장치의 통신 회로가 비활성 상태에서 활성 상태로 전환되는 경우, 상기 직접 통신을 통해 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보를 획득하는 동작을 포함하는 방법.
According to claim 12,
The operation of obtaining the network information,
and obtaining network information related to the at least one external electronic device through the direct communication when a communication circuit of the electronic device supporting cellular communication is switched from an inactive state to an active state.
제 12항에 있어서,
상기 제 1 셀룰러 네트워크의 셀을 검출하는 동작은,
상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 상기 전자 장치의 등록 PLMN과 관련된 네트워크 정보가 존재하는지 확인하는 동작, 및
상기 전자 장치의 등록 PLMN과 관련된 네트워크 정보가 존재하는 것으로 판단한 경우, 상기 전자 장치의 PLMN과 관련된 네트워크 정보에 기반하여 상기 전자 장치가 접속 가능한 상기 제 1 셀룰러 네트워크의 셀을 선택하는 동작을 포함하는 방법.
According to claim 12,
The operation of detecting a cell of the first cellular network,
Checking whether network information related to the registered PLMN of the electronic device exists in the network information related to the at least one external electronic device; and
and selecting a cell of the first cellular network accessible to the electronic device based on the network information related to the PLMN of the electronic device when it is determined that network information related to the registered PLMN of the electronic device exists. .
제 16항에 있어서,
상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에서 상기 전자 장치의 등록 PLMN과 관련된 네트워크 정보가 존재하지 않는 경우, 상기 적어도 하나의 외부 전자 장치와 관련된 네트워크 정보에 기반하여 상기 제 1 셀룰러 네트워크의 셀을 선택하는 동작을 포함하는 방법.
According to claim 16,
When the network information related to the registered PLMN of the electronic device does not exist in the network information related to the at least one external electronic device, a cell of the first cellular network is selected based on the network information related to the at least one external electronic device. How to include the action of choosing.
제 12항에 있어서,
상기 외부 전자 장치와 관련된 네트워크 정보는, PLMN, RAT(radio access technology), 서빙 셀(serving cell) 및/또는 서빙 셀의 신호 품질과 관련된 정보를 포함하는 방법.
According to claim 12,
The network information related to the external electronic device includes information related to a PLMN, a radio access technology (RAT), a serving cell, and/or signal quality of the serving cell.
제 18항에 있어서,
상기 제 1 셀룰러 네트워크의 셀을 검출하는 동작은,
상기 적어도 하나의 외부 전자 장치의 서빙 셀의 신호 품질에 기반하여 상기 전자 장치가 접속 가능한 상기 제 1 셀룰러 네트워크의 셀을 선택하는 동작을 포함하는 방법.
According to claim 18,
The operation of detecting a cell of the first cellular network,
and selecting a cell of the first cellular network accessible to the electronic device based on signal quality of a serving cell of the at least one external electronic device.
제 19항에 있어서,
상기 제 1 셀룰러 네트워크의 셀을 검출하는 동작은,
상기 적어도 하나의 외부 전자 장치의 서빙 셀의 RSRP(reference signal received power) 및/또는 SINR(signal to interference plus noise ratio)에 기반하여 상기 전자 장치가 접속 가능한 상기 제 1 셀룰러 네트워크의 셀을 선택하는 동작을 포함하는 방법.

According to claim 19,
The operation of detecting a cell of the first cellular network,
Selecting a cell of the first cellular network to which the electronic device can access based on a reference signal received power (RSRP) and/or a signal to interference plus noise ratio (SINR) of a serving cell of the at least one external electronic device. How to include.

KR1020210139298A 2021-08-30 2021-10-19 Electronic device for obtaining network information and operating method thereof KR20230032810A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020210114852 2021-08-30
KR20210114852 2021-08-30

Publications (1)

Publication Number Publication Date
KR20230032810A true KR20230032810A (en) 2023-03-07

Family

ID=85512234

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210139298A KR20230032810A (en) 2021-08-30 2021-10-19 Electronic device for obtaining network information and operating method thereof

Country Status (1)

Country Link
KR (1) KR20230032810A (en)

Similar Documents

Publication Publication Date Title
US20220232459A1 (en) Electronic device for controlling connection to access point and method of the same
US20220167225A1 (en) Electronic device performing handover and method for operating thereof
KR20220041662A (en) Electronic device supporting multiple sim and method for operating thereof
KR20230032810A (en) Electronic device for obtaining network information and operating method thereof
US20230067521A1 (en) Electronic device for acquiring network information and method for operating same
KR20230032823A (en) Electronic device for obtaining network information and operating method thereof
US20240114438A1 (en) Electronic device for plmn selection and operation method thereof
KR20230078053A (en) Electronic device for plmn selection and operating method thereof
US20230070770A1 (en) Electronic device for acquiring cell and method of operating same
KR20230032825A (en) Electronic device for cell acquisition and operating method thereof
US20230284304A1 (en) Electronic device comprising multiple subscriber identity modules and operation method thereof
KR20230032824A (en) Electronic device for manual scan and operating method thereof
US20220303808A1 (en) Electronic device for measuring quality of communication and operation method thereof
US20230084624A1 (en) Electronic device for performing scan in wireless lan system and method for operating same
US20230112678A1 (en) Electronic device for wireless lan communication with multiple external electronic devices and operation method thereof
US20220240077A1 (en) Electronic device and method for roaming based on wi-fi in electronic device
CN117882439A (en) Electronic device for obtaining network information and operation method thereof
KR20220129273A (en) Electronic device for measuring quality of communication and method for the same
KR20230037894A (en) Electronic device for performing scan in wlan system and operating method thereof
KR20230102786A (en) Electronic device for controlling frequency band for wireless communication and operating method thereof
KR20240041761A (en) Electronic device using neighbor cell information based on bigdata and method for operating thereof
KR20240039546A (en) Electronic device for search of frequency band and operating method thereof
KR20220121624A (en) Electronic device for searching a node and method for the same
KR20240039267A (en) Electronic device including a plurality of subscriber identity modules and operating method thereof
KR20230130306A (en) Electronic device including a plurality of subscriber identity modules and operating method thereof