KR20240048436A - Electronic device for performing data communication and method of operating the same - Google Patents

Electronic device for performing data communication and method of operating the same Download PDF

Info

Publication number
KR20240048436A
KR20240048436A KR1020220145460A KR20220145460A KR20240048436A KR 20240048436 A KR20240048436 A KR 20240048436A KR 1020220145460 A KR1020220145460 A KR 1020220145460A KR 20220145460 A KR20220145460 A KR 20220145460A KR 20240048436 A KR20240048436 A KR 20240048436A
Authority
KR
South Korea
Prior art keywords
lifetime
message
electronic device
router
wireless modem
Prior art date
Application number
KR1020220145460A
Other languages
Korean (ko)
Inventor
유형노
박종필
윤대의
정여진
조홍래
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to PCT/KR2023/013322 priority Critical patent/WO2024076010A1/en
Publication of KR20240048436A publication Critical patent/KR20240048436A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/2869Terminals specially adapted for communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/38Connection release triggered by timers

Abstract

인터페이스 및 적어도 하나의 프로세서를 포함하는 전자 장치를 개시한다. 적어도 하나의 프로세서는, 인터페이스를 통해 연결된 무선 모뎀 장치를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하고, 상기 데이터 세션을 위한 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하고, 상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치에게 IP 재구성을 요청하는 신호를 전송하고, 상기 무선 모뎀 장치로부터 제2 RA 메시지를 수신하고, 상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하도록 구성될 수 있다. 그 밖에 다양한 실시예가 가능하다.Disclosed is an electronic device including an interface and at least one processor. At least one processor connects a data session for cellular data communication using a wireless modem device connected through an interface, and extends the at least one lifetime for the data session until a specified point in time prior to expiration of the at least one lifetime. determines whether the at least one lifetime is updated, and if the at least one lifetime is not updated by the specified time before expiration of the at least one lifetime, transmits a signal requesting IP reconfiguration to the wireless modem device, and It may be configured to receive a second RA message from the device and update the at least one lifetime based on the second RA message. Various other embodiments are possible.

Description

데이터 통신을 수행하는 전자 장치 및 그 동작 방법{ELECTRONIC DEVICE FOR PERFORMING DATA COMMUNICATION AND METHOD OF OPERATING THE SAME}Electronic device for performing data communication and method of operating the same {ELECTRONIC DEVICE FOR PERFORMING DATA COMMUNICATION AND METHOD OF OPERATING THE SAME}

본 개시의 실시예들은 데이터 통신을 수행하는 전자 장치 및 그 동작 방법에 관한 것이다.Embodiments of the present disclosure relate to an electronic device that performs data communication and a method of operating the same.

다양한 휴대용 기기의 지속적인 대중화와 통신 기술의 지속적인 발전으로 다양한 데이터 통신 방식이 개발되고 있다. 사용자는 일상 생활에서 다양한 전자 장치를 사용할 수 있다. MBB(mobile broad band) 장치 또는 MBB 모뎀은 휴대용 무선 모뎀(wireless modem) 장치를 의미하며, 전자 장치를 인터넷으로 연결할 수 있다. With the continued popularization of various portable devices and the continuous development of communication technology, various data communication methods are being developed. Users may use a variety of electronic devices in their daily lives. A mobile broad band (MBB) device or MBB modem is a portable wireless modem device that can connect electronic devices to the Internet.

무선 모뎀 장치는 지정된 인터페이스(예를 들어 네트워크 어댑터 인터페이스)를 기반으로 호스트와 통신할 수 있다. 무선 모뎀 장치는 네트워크 어댑터 인터페이스를 통해 호스트(예를 들어 전자 장치)에 연결될 수 있고, 사용자는 전자 장치를 사용하여 무선 네트워크(예를 들어 이더넷, 광대역 네트워크, 또는 셀룰러 네트워크)의 원하는 서비스를 액세스할 수 있다. 무선 모뎀 장치는 전자 장치와 무선 네트워크 간에 연결 및 사용자 트래픽에 관련된 패킷들을 전달할 수 있다.A wireless modem device may communicate with a host based on a designated interface (e.g., a network adapter interface). A wireless modem device may be connected to a host (e.g., an electronic device) through a network adapter interface, and a user may use the electronic device to access desired services of a wireless network (e.g., an Ethernet, broadband network, or cellular network). You can. A wireless modem device can transfer packets related to connection and user traffic between an electronic device and a wireless network.

본 개시의 실시예들에 따른 전자 장치 및 그 동작 방법은 모바일 광대역(MBB) 장치와 같은 무선 모뎀 장치를 통해 데이터 통신을 수행할 수 있다.The electronic device and its operating method according to embodiments of the present disclosure can perform data communication through a wireless modem device such as a mobile broadband (MBB) device.

일 실시예에 따른 전자 장치는 인터페이스 및 상기 인터페이스와 기능적으로 연결되는 적어도 하나의 프로세서를 포함할 수 있다. 상기 적어도 하나의 프로세서는, 상기 인터페이스를 통해 연결된 무선 모뎀 장치를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 데이터 세션을 통해 제1 라우터 애드버타이즈먼트(RA) 메시지를 수신하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 제1 RA 메시지로부터 상기 데이터 세션을 위한 적어도 하나의 라이프타임을 획득하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치에게 IP 재구성을 요청하는 신호를 전송하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 IP 재구성을 요청하는 신호를 전송한 후 상기 무선 모뎀 장치로부터 제2 RA 메시지를 수신하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하도록 구성될 수 있다.An electronic device according to an embodiment may include an interface and at least one processor functionally connected to the interface. The at least one processor may be configured to connect a data session for cellular data communication using a wireless modem device connected through the interface. The at least one processor may be configured to receive a first router advertisement (RA) message through the data session. The at least one processor may be configured to obtain at least one lifetime for the data session from the first RA message. The at least one processor may be configured to determine whether the at least one lifetime is updated by a specified point in time before expiration of the at least one lifetime. The at least one processor may be configured to transmit a signal requesting IP reconfiguration to the wireless modem device if the at least one lifetime is not updated by the specified time before expiration of the at least one lifetime. . The at least one processor may be configured to receive a second RA message from the wireless modem device after transmitting the signal requesting IP reconfiguration. The at least one processor may be configured to update the at least one lifetime based on the second RA message.

일 실시예에 따른 전자 장치는, 인터페이스 및 상기 인터페이스와 기능적으로 연결되는 적어도 하나의 프로세서를 포함할 수 있다. 상기 적어도 하나의 프로세서는, 상기 인터페이스를 통해 연결된 무선 모뎀 장치를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 데이터 세션을 통해 제1 라우터 애드버타이즈먼트(RA) 메시지를 수신하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 제1 RA 메시지로부터 상기 데이터 세션을 위한 적어도 하나의 라이프타임을 획득하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치를 통해 라우터에게 라우터 요청(RS) 메시지를 전송하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 RS 메시지를 전송한 후 상기 무선 모뎀 장치를 통해 상기 라우터로부터 제2 RA 메시지를 수신하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하도록 구성될 수 있다.An electronic device according to an embodiment may include an interface and at least one processor functionally connected to the interface. The at least one processor may be configured to connect a data session for cellular data communication using a wireless modem device connected through the interface. The at least one processor may be configured to receive a first router advertisement (RA) message through the data session. The at least one processor may be configured to obtain at least one lifetime for the data session from the first RA message. The at least one processor may be configured to determine whether the at least one lifetime is updated by a specified point in time before expiration of the at least one lifetime. The at least one processor is configured to transmit a router request (RS) message to the router through the wireless modem device if the at least one lifetime is not updated by the specified time before expiration of the at least one lifetime. It can be. The at least one processor may be configured to receive a second RA message from the router through the wireless modem device after transmitting the RS message. The at least one processor may be configured to update the at least one lifetime based on the second RA message.

일 실시예에 따라 무선 모뎀 장치와 연결되는 전자 장치의 동작 방법은, 상기 무선 모뎀 장치를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하는 동작을 포함할 수 있다. 상기 방법은 상기 데이터 세션을 통해 제1 라우터 애드버타이즈먼트(RA) 메시지를 수신하는 동작을 포함할 수 있다. 상기 방법은 상기 제1 RA 메시지로부터 상기 데이터 세션을 위한 적어도 하나의 라이프타임을 획득하는 동작을 포함할 수 있다. 상기 방법은 상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하는 동작을 포함할 수 있다. 상기 방법은 상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치에게 IP 재구성을 요청하는 신호를 전송하는 동작을 포함할 수 있다. 상기 방법은 IP 재구성을 요청하는 신호를 전송한 후 상기 무선 모뎀 장치로부터 제2 RA 메시지를 수신하는 동작을 포함할 수 있다. 상기 방법은 상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하는 동작을 포함할 수 있다.According to one embodiment, a method of operating an electronic device connected to a wireless modem device may include connecting a data session for cellular data communication using the wireless modem device. The method may include receiving a first router advertisement (RA) message through the data session. The method may include obtaining at least one lifetime for the data session from the first RA message. The method may include determining whether the at least one lifetime is updated by a specified point in time before expiration of the at least one lifetime. The method may include transmitting a signal requesting IP reconfiguration to the wireless modem device if the at least one lifetime is not updated by the specified time before expiration of the at least one lifetime. The method may include receiving a second RA message from the wireless modem device after transmitting a signal requesting IP reconfiguration. The method may include updating the at least one lifetime based on the second RA message.

일 실시예에 따라 무선 모뎀 장치와 연결되는 전자 장치의 동작 방법은, 상기 무선 모뎀 장치를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하는 동작을 포함할 수 있다. 상기 방법은 상기 데이터 세션을 통해 제1 라우터 애드버타이즈먼트(RA) 메시지를 수신하는 동작을 포함할 수 있다. 상기 방법은 상기 제1 RA 메시지로부터 상기 데이터 세션을 위한 적어도 하나의 라이프타임을 획득하는 동작을 포함할 수 있다. 상기 방법은 상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하는 동작을 포함할 수 있다. 상기 방법은 상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치를 통해 라우터에게 라우터 요청(RS) 메시지를 전송하는 동작을 포함할 수 있다. 상기 방법은 상기 RS 메시지를 전송한 후 상기 무선 모뎀 장치를 통해 상기 라우터로부터 제2 RA 메시지를 수신하는 동작을 포함할 수 있다. 상기 방법은 상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하는 동작을 포함할 수 있다.According to one embodiment, a method of operating an electronic device connected to a wireless modem device may include connecting a data session for cellular data communication using the wireless modem device. The method may include receiving a first router advertisement (RA) message through the data session. The method may include obtaining at least one lifetime for the data session from the first RA message. The method may include determining whether the at least one lifetime is updated by a specified point in time before expiration of the at least one lifetime. The method may include transmitting a router request (RS) message to a router through the wireless modem device if the at least one lifetime is not updated by the specified time before expiration of the at least one lifetime. there is. The method may include receiving a second RA message from the router through the wireless modem device after transmitting the RS message. The method may include updating the at least one lifetime based on the second RA message.

일 실시예에 따라 하나 이상의 프로그램을 저장하는 비일시적 컴퓨터 판독 가능한 저장 매체에 있어서, 상기 하나 이상의 프로그램은 전자 장치의 적어도 하나의 프로세서에 의해 실행될 때 상기 전자 장치가: 무선 모뎀 장치를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하고, 상기 데이터 세션을 통해 제1 라우터 애드버타이즈먼트(RA) 메시지를 수신하고, 상기 제1 RA 메시지로부터 상기 데이터 세션을 위한 적어도 하나의 라이프타임을 획득하고, 상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하고, 상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치에게 IP 재구성을 요청하는 신호를 전송하고, 상기 무선 모뎀 장치로부터 제2 RA 메시지를 수신하고, 상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하도록 구성되는 명령어들을 포함할 수 있다.According to one embodiment, a non-transitory computer-readable storage medium storing one or more programs, wherein when the one or more programs are executed by at least one processor of an electronic device, the electronic device: uses a wireless modem device to retrieve cellular data Connect a data session for communication, receive a first router advertisement (RA) message through the data session, obtain at least one lifetime for the data session from the first RA message, and Determine whether the at least one lifetime is updated by a specified time before expiration of the at least one lifetime, and if the at least one lifetime is not updated by the specified time before expiration of the at least one lifetime, Includes instructions configured to transmit a signal requesting IP reconfiguration to the wireless modem device, receive a second RA message from the wireless modem device, and update the at least one lifetime based on the second RA message. can do.

일 실시예에 따라 하나 이상의 프로그램을 저장하는 비일시적 컴퓨터 판독 가능한 저장 매체에 있어서, 상기 하나 이상의 프로그램은 전자 장치의 적어도 하나의 프로세서에 의해 실행될 때 상기 전자 장치가: 무선 모뎀 장치를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하고, 상기 데이터 세션을 통해 제1 라우터 애드버타이즈먼트(RA) 메시지를 수신하고, 상기 제1 RA 메시지로부터 상기 데이터 세션을 위한 적어도 하나의 라이프타임을 획득하고, 상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하고, 상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치를 통해 라우터에게 라우터 요청(RS) 메시지를 전송하고, 상기 무선 모뎀 장치를 통해 상기 라우터로부터 제2 RA 메시지를 수신하고, 상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하도록 구성되는 명령어들을 포함할 수 있다.According to one embodiment, a non-transitory computer-readable storage medium storing one or more programs, wherein when the one or more programs are executed by at least one processor of an electronic device, the electronic device: uses a wireless modem device to retrieve cellular data Connect a data session for communication, receive a first router advertisement (RA) message through the data session, obtain at least one lifetime for the data session from the first RA message, and Determine whether the at least one lifetime is updated by a specified time before expiration of the at least one lifetime, and if the at least one lifetime is not updated by the specified time before expiration of the at least one lifetime, Send a Router Request (RS) message to a router through the wireless modem device, receive a second RA message from the router through the wireless modem device, and determine the at least one lifetime based on the second RA message. It may contain instructions configured to update.

도 1은 일 실시예에 따른 모선 모뎀 장치와 전자 장치의 연결을 설명하기 위한 도면이다.
도 2는 본 개시의 일 실시예에 따른 전자 장치의 블록도이다.
도 3은 본 개시의 일 실시예에 따른 무선 모뎀 장치의 블록도이다.
도 4는 일 실시예에 따른 전자 장치와 무선 모뎀 장치 간의 연결을 설명하기 위한 도면이다.
도 5는 일 실시예에 따라 RA 메시지를 미수신하는 상황을 설명하기 위한 신호 흐름도를 나타낸 것이다.
도 6은 일 실시예에 따른 전자 장치와 무선 모뎀 장치의 구성을 설명하기 위한 도면이다.
도 7은 일 실시예에 따라 라이프타임의 만료 이전에 IP 재구성을 요청하는 전자 장치의 동작을 설명하기 위한 흐름도이다.
도 8은 일 실시예에 따라 라이프타임의 만료 임박을 검출하는 절차를 설명하기 위한 신호 흐름도이다.
도 9는 일 실시예에 따라 IP 재구성을 요청하는 절차를 설명하기 위한 신호 흐름도이다.
도 10은 일 실시예에 따라 라이프타임의 만료 이전에 네트워크 연결 정보를 요청하는 전자 장치의 동작을 설명하기 위한 흐름도이다.
도 11은 일 실시예에 따라 네트워크 연결 정보를 요청하는 절차를 설명하기 위한 신호 흐름도이다.
도 12는 다양한 실시예들에 따른 네트워크 환경(1200) 내의 전자 장치(1201)의 블록도이다.
FIG. 1 is a diagram illustrating the connection between a bus modem device and an electronic device according to an embodiment.
Figure 2 is a block diagram of an electronic device according to an embodiment of the present disclosure.
Figure 3 is a block diagram of a wireless modem device according to an embodiment of the present disclosure.
FIG. 4 is a diagram illustrating the connection between an electronic device and a wireless modem device according to an embodiment.
Figure 5 shows a signal flow diagram to explain a situation in which an RA message is not received according to an embodiment.
FIG. 6 is a diagram for explaining the configuration of an electronic device and a wireless modem device according to an embodiment.
FIG. 7 is a flowchart illustrating the operation of an electronic device that requests IP reconfiguration before expiration of the lifetime, according to an embodiment.
FIG. 8 is a signal flow diagram illustrating a procedure for detecting imminent expiration of a lifetime according to an embodiment.
Figure 9 is a signal flow diagram to explain a procedure for requesting IP reconfiguration according to an embodiment.
FIG. 10 is a flowchart illustrating the operation of an electronic device that requests network connection information before expiration of the lifetime, according to an embodiment.
FIG. 11 is a signal flow diagram illustrating a procedure for requesting network connection information according to an embodiment.
FIG. 12 is a block diagram of an electronic device 1201 in a network environment 1200 according to various embodiments.

도 1은 일 실시예에 따른 모선 모뎀 장치와 전자 장치의 연결을 설명하기 위한 도면이다.FIG. 1 is a diagram illustrating the connection between a bus modem device and an electronic device according to an embodiment.

도 1을 참조하면, 전자 장치(100)는 MBB 장치 또는 MBB 모뎀과 같은 무선 모뎀 장치(110)를 통해 셀룰러 데이터 통신을 이용할 수 있다. 전자 장치(100)는 예를 들어 데스크탑 컴퓨터, 랩탑, 또는 태블릿을 포함할 수 있다. 일 실시예에서 무선 모뎀 장치(110)는 USB(universal serial bus) 또는 PCI(peripheral component interconnect bus) 익스프레스(express)를 사용하여 전자 장치(100)와 연결될 수 있고, 셀룰러 네트워크와 같은 액세스 네트워크(도시하지 않음)를 통해 데이터 네트워크(120)(예를 들어 인터넷)와 연결될 수 있다. 무선 모뎀 장치(110)는 데이터 네트워크(120)의 네트워크 노드(예를 들어 라우터(125))와 전자 장치(100)의 연결과 관련된 패킷들을 교환할 수 있다.Referring to FIG. 1, the electronic device 100 may use cellular data communication through a wireless modem device 110, such as an MBB device or an MBB modem. Electronic device 100 may include, for example, a desktop computer, laptop, or tablet. In one embodiment, the wireless modem device 110 may be connected to the electronic device 100 using a universal serial bus (USB) or peripheral component interconnect bus (PCI) express, and may be connected to an access network, such as a cellular network (as shown). It may be connected to the data network 120 (for example, the Internet) through a network (not connected). The wireless modem device 110 may exchange packets related to the connection of the electronic device 100 with a network node (eg, router 125) of the data network 120.

일 실시예에서 무선 모뎀 장치(110)는 USB to Serial 또는 USB to Ethernet을 지원하기 위하여 USB-IF(USB implementers forum)에서 지정한 CDC(communications device class)에 따른 표준 프로토콜을 사용할 수 있다. CDC는 ACM(abstract control model), ECM(ethernet networking control model), EEM(ethernet emulation model), NCM(network control model), 또는 MBIM(mobile broadband interface model)과 같은 서브클래스들을 포함할 수 있다. 일 실시예에서 이더넷 통신과 셀룰러 네트워크를 사용하는 인터넷 액세스를 지원하는 USB 기반의 무선 모뎀 장치(110)는 MBIM 프로토콜을 사용하여 전자 장치(100)와 연결될 수 있다. 일 실시예에서 5G 네트워크와 같은 초고속 셀룰러 네트워크의 데이터 속도를 지원하기 위해 무선 모뎀 장치(110)는 USB 대신 PCI 익스프레스(PCIE)를 사용하여 전자 장치(100)와 연결될 수 있다.In one embodiment, the wireless modem device 110 may use a standard protocol according to the communications device class (CDC) specified by the USB implementers forum (USB-IF) to support USB to Serial or USB to Ethernet. CDC may include subclasses such as abstract control model (ACM), ethernet networking control model (ECM), ethernet emulation model (EEM), network control model (NCM), or mobile broadband interface model (MBIM). In one embodiment, a USB-based wireless modem device 110 that supports Ethernet communication and Internet access using a cellular network may be connected to the electronic device 100 using the MBIM protocol. In one embodiment, to support the data rate of a high-speed cellular network such as a 5G network, the wireless modem device 110 may be connected to the electronic device 100 using PCI Express (PCIE) instead of USB.

도 2는 본 개시의 일 실시예에 따른 전자 장치의 블록도이다. Figure 2 is a block diagram of an electronic device according to an embodiment of the present disclosure.

도 2를 참조하면, 전자 장치(100)(예를 들어 도 12의 전자 장치(1201))는 통신 회로(202)(예를 들어 도 12의 통신 모듈(1290)), 프로세서(예를 들어 프로세싱 회로)(204)(예를 들어 도 12의 프로세서(1220)), 메모리(206)(예를 들어 도 12의 메모리(1230)), 인터페이스(208)(예를 들어 도 12의 인터페이스(1277)), 또는 디스플레이(210)(예를 들어 도 12의 디스플레이 모듈(1260)) 중 적어도 하나를 포함할 수 있다. 전자 장치(100)의 구성은 도시된 예에 한정되는 것은 아니다. 실시예들에 따라, 전자 장치(100)는 전술한 구성 요소들보다 더 많은 구성 요소들을 포함하거나 더 적은 구성 요소들을 포함할 수도 있다. 뿐만 아니라 실시예들에 따라 통신 회로(202), 프로세서(204), 메모리(206), 인터페이스(208), 또는 디스플레이(210) 중 적어도 하나가 결합되거나 분리될 수 있다.Referring to FIG. 2, the electronic device 100 (e.g., the electronic device 1201 of FIG. 12) includes a communication circuit 202 (e.g., the communication module 1290 of FIG. 12), a processor (e.g., processing Circuit) 204 (e.g., processor 1220 in FIG. 12), memory 206 (e.g., memory 1230 in FIG. 12), interface 208 (e.g., interface 1277 in FIG. 12) ), or a display 210 (for example, the display module 1260 of FIG. 12). The configuration of the electronic device 100 is not limited to the example shown. Depending on embodiments, the electronic device 100 may include more or fewer components than the aforementioned components. Additionally, depending on the embodiment, at least one of the communication circuit 202, processor 204, memory 206, interface 208, or display 210 may be combined or separated.

통신 회로(202)는 적어도 하나의 안테나를 사용하여 외부 전자 장치(도시하지 않음)와 무선 신호들을 송수신할 수 있다. 통신 회로(202)는 송신 회로 또는 수신 회로 중 적어도 하나를 포함할 수 있다. 송신 회로는 송신되는 신호를 주파수 상승 변환 및 증폭하는 RF(radio frequency) 송신기를 포함할 수 있다. 수신 회로는 수신되는 신호를 저 잡음 증폭 및 주파수 하강 변환하는 RF 수신기를 포함할 수 있다. 통신 회로(202)는 무선 채널을 통해 신호를 수신하여 프로세서(204)로 출력하고, 프로세서(204)로부터 출력된 신호를 무선 채널을 통해 전송할 수 있다. 일 실시예에서 통신 회로(202)는 블루투스 또는 Wi-Fi와 같은 근거리 무선 통신 방식을 지원하거나, 및/또는 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 방식을 지원할 수 있다. 일 실시예에서 전자 장치(100)는 통신 기능을 지원하지 않을 수 있고, 통신 회로(202)는 생략될 수 있다.The communication circuit 202 may transmit and receive wireless signals to and from an external electronic device (not shown) using at least one antenna. Communication circuitry 202 may include at least one of a transmit circuit or a receive circuit. The transmission circuit may include a radio frequency (RF) transmitter that frequency up-converts and amplifies the transmitted signal. The receiving circuit may include an RF receiver that performs low-noise amplification and frequency down-conversion of the received signal. The communication circuit 202 may receive a signal through a wireless channel, output it to the processor 204, and transmit the signal output from the processor 204 through a wireless channel. In one embodiment, communications circuitry 202 supports short-range wireless communications methods, such as Bluetooth or Wi-Fi, and/or supports a legacy cellular network, a 5G network, a next-generation communications network, the Internet, or a computer network (e.g., a LAN or WAN). ) can support long-distance communication methods such as In one embodiment, the electronic device 100 may not support a communication function, and the communication circuit 202 may be omitted.

프로세서(204)는 본 개시의 실시예들 중 적어도 하나 또는 그 결합에 따라 동작할 수 있는 모뎀 및 소프트웨어 모듈들을 포함(또는, 실행)할 수 있다. 프로세서(204)는 본 개시의 실시예들 중 적어도 하나 또는 그 결합을 수행하기 위한 전자 장치(100)의 동작을 수행하거나 또는 제어할 수 있다. 프로세서(204)는 적어도 하나의 프로세싱 회로를 포함할 수 있다. 일 실시예에서 프로세서(204)는 통신을 위한 제어를 수행하는 CP(communication processor) 또는 상위 계층(예를 들어 어플리케이션(application))을 제어하는 AP(application processor) 중 적어도 하나를 포함할 수 있다. 일 실시예에서 CP는 모뎀을 포함할 수 있다.The processor 204 may include (or execute) a modem and software modules that can operate according to at least one or a combination of the embodiments of the present disclosure. The processor 204 may perform or control an operation of the electronic device 100 to perform at least one or a combination of the embodiments of the present disclosure. Processor 204 may include at least one processing circuit. In one embodiment, the processor 204 may include at least one of a communication processor (CP) that performs control for communication or an application processor (AP) that controls a higher layer (eg, an application). In one embodiment, the CP may include a modem.

메모리(206)는 제어 정보(예를 들어 전자 장치(100)에서 획득되는 네트워크 연결 정보) 또는 데이터를 저장할 수 있으며, 프로세서(204)의 동작에 필요한 데이터, 및 프로세서(204)의 동작을 통해 발생하는 데이터를 저장하기 위한 영역들을 가질 수 있다. The memory 206 may store control information (e.g., network connection information obtained from the electronic device 100) or data, data required for the operation of the processor 204, and data generated through the operation of the processor 204. It can have areas for storing data.

인터페이스(208)는 전자 장치(100)가 외부 전자 장치(예를 들어 무선 모뎀 장치(110))와 직접(예를 들어 유선으로) 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면 인터페이스(208)는 USB 인터페이스 및/또는 PCI 익스프레스 인터페이스를 포함할 수 있다.Interface 208 may support one or more designated protocols that can be used to connect electronic device 100 directly (e.g., wired) or wirelessly with an external electronic device (e.g., wireless modem device 110). there is. According to one embodiment, the interface 208 may include a USB interface and/or a PCI Express interface.

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

도 3은 본 개시의 일 실시예에 따른 무선 모뎀 장치의 블록도이다. Figure 3 is a block diagram of a wireless modem device according to an embodiment of the present disclosure.

도 3을 참조하면, 무선 모뎀 장치(110)(예를 들어 MBB 장치)는 통신 회로(302), 프로세서(304), 메모리(306) 또는 인터페이스(308) 중 적어도 하나를 포함할 수 있다. 무선 모뎀 장치(110)의 구성은 도시된 예에 한정되는 것은 아니다. 실시예들에 따라, 전자 장치(110)는 전술한 구성 요소들보다 더 많은 구성 요소들을 포함하거나 더 적은 구성 요소들을 포함할 수도 있다. 뿐만 아니라 실시예들에 따라 통신 회로(302), 프로세서(304), 메모리(306), 또는 인터페이스(308) 중 적어도 하나가 결합되거나 분리될 수 있다.Referring to FIG. 3, the wireless modem device 110 (eg, MBB device) may include at least one of a communication circuit 302, a processor 304, a memory 306, or an interface 308. The configuration of the wireless modem device 110 is not limited to the example shown. Depending on embodiments, the electronic device 110 may include more or fewer components than the aforementioned components. Additionally, depending on the embodiment, at least one of the communication circuit 302, processor 304, memory 306, or interface 308 may be combined or separated.

통신 회로(302)는 적어도 하나의 안테나를 사용하여 외부 전자 장치(도시하지 않음)와 무선 신호들을 송수신할 수 있다. 통신 회로(302)는 송신 회로 또는 수신 회로 중 적어도 하나를 포함할 수 있다. 송신 회로는 송신되는 신호를 주파수 상승 변환 및 증폭하는 RF(radio frequency) 송신기를 포함할 수 있다. 수신 회로는 수신되는 신호를 저 잡음 증폭 및 주파수 하강 변환하는 RF 수신기를 포함할 수 있다. 통신 회로(302)는 무선 채널을 통해 신호를 수신하여 프로세서(304)로 출력하고, 프로세서(304)로부터 출력된 신호를 무선 채널을 통해 전송할 수 있다. 일 실시예에서 통신 회로(302)는 블루투스 또는 Wi-Fi와 같은 근거리 무선 통신 방식을 지원하거나, 및/또는 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 방식을 지원할 수 있다. The communication circuit 302 may transmit and receive wireless signals to and from an external electronic device (not shown) using at least one antenna. Communication circuit 302 may include at least one of a transmit circuit or a receive circuit. The transmission circuit may include a radio frequency (RF) transmitter that frequency up-converts and amplifies the transmitted signal. The receiving circuit may include an RF receiver that performs low-noise amplification and frequency down-conversion of the received signal. The communication circuit 302 may receive a signal through a wireless channel, output it to the processor 304, and transmit the signal output from the processor 304 through a wireless channel. In one embodiment, communication circuitry 302 supports short-range wireless communication methods such as Bluetooth or Wi-Fi, and/or supports a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN). ) can support long-distance communication methods such as

프로세서(304)는 본 개시의 실시예들 중 적어도 하나 또는 그 결합에 따라 동작할 수 있는 모뎀 및 소프트웨어 모듈들을 포함(또는, 실행)할 수 있다. 프로세서(304)는 본 개시의 실시예들 중 적어도 하나 또는 그 결합을 수행하기 위한 무선 모뎀 장치(110)의 동작을 수행하거나 또는 제어할 수 있다. 프로세서(204)는 적어도 하나의 프로세싱 회로를 포함할 수 있다. 일 실시예에서 프로세서(204)는 통신을 위한 제어를 수행하는 CP 또는 상위 계층(예를 들어 어플리케이션)을 제어하는 AP 중 적어도 하나를 포함할 수 있다. 일 실시예에서 CP는 모뎀(예를 들어 모뎀(622))을 포함할 수 있다.The processor 304 may include (or execute) a modem and software modules that can operate according to at least one or a combination of the embodiments of the present disclosure. The processor 304 may perform or control the operation of the wireless modem device 110 to perform at least one or a combination of the embodiments of the present disclosure. Processor 204 may include at least one processing circuit. In one embodiment, the processor 204 may include at least one of a CP that performs control for communication or an AP that controls a higher layer (eg, an application). In one embodiment, the CP may include a modem (e.g., modem 622).

메모리(306)는 제어 정보(예를 들어 무선 모뎀 장치(110)에서 획득되는 네트워크 연결 정보) 또는 데이터를 저장할 수 있으며, 프로세서(304)의 동작에 필요한 데이터, 및 프로세서(304)의 동작을 통해 발생하는 데이터를 저장하기 위한 영역들을 가질 수 있다. The memory 306 may store control information (e.g., network connection information obtained from the wireless modem device 110) or data, data necessary for the operation of the processor 304, and through the operation of the processor 304. It may have areas for storing generated data.

인터페이스(308)는 무선 모뎀 장치(110)가 외부 전자 장치(예를 들어 전자 장치(100))와 직접(예를 들어 유선으로) 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면 인터페이스(308)는 USB 인터페이스, 및/또는 PCI 익스프레스 인터페이스를 포함할 수 있다.Interface 308 may support one or more designated protocols that may be used to connect wireless modem device 110 to an external electronic device (e.g., electronic device 100) directly (e.g., wired) or wirelessly. there is. According to one embodiment, the interface 308 may include a USB interface and/or a PCI Express interface.

5G 통신 방식을 지원하는 무선 모뎀 장치(100)를 사용하는 전자 장치(100)는 IP(internet protocol) 주소(예를 들어 IPv6(IP version 6) 주소)를 사용하여 셀룰러 데이터 통신을 수행할 수 있다. The electronic device 100 using the wireless modem device 100 supporting the 5G communication method can perform cellular data communication using an Internet protocol (IP) address (e.g., an IP version 6 (IPv6) address). .

IPv6의 주소 할당 방식은 크게 다음의 세가지 방식이 있을 수 있다. 첫 번째로 수동 설정(manual configuration)은 관리자 또는 사용자가 직접 IPv6 주소를 입력하는 방식을 의미할 수 있다. 두 번째로 SLAAC(stateless address auto configuration)는 DHCP(dynamic host configuration protocol) 서버 없이 전자 장치(100)가 자동으로 IPv6 주소를 획득하는 방식을 의미할 수 있다. 세 번째로 상태 저장 주소 자동 설정(stateful address auto configuration)은 DHCP 서버가 전자 장치(100)가 IPv6 주소를 자동으로 할당해주는 방식을 의미할 수 있다.There are three major IPv6 address allocation methods: First, manual configuration may mean that an administrator or user directly inputs the IPv6 address. Second, SLAAC (stateless address auto configuration) may refer to a method in which the electronic device 100 automatically acquires an IPv6 address without a DHCP (dynamic host configuration protocol) server. Third, stateful address auto configuration may refer to a method in which a DHCP server automatically assigns an IPv6 address to the electronic device 100.

하기 <표 1>은 IPv4 및 IPv6의 주소 할당 방식들을 설명하기 위한 것이다.<Table 1> below is intended to explain the address allocation methods of IPv4 and IPv6.

구분division 주소 할당 방식Address allocation method 주소 할당 주체Address allocation entity IPv4IPv4 Manual ConfigurationManual Configuration OperatorOperator Dynamic Auto ConfigurationDynamic Auto Configuration DHCP serverDHCP server IPv6IPv6 Manual ConfigurationManual Configuration OperatorOperator Stateless Address Auto ConfigurationStateless Address Auto Configuration RouterRouter Stateful Address Auto ConfigurationStateful Address Auto Configuration DHCP serverDHCP server

<표 1>에서의 방식 중, 무선 모뎀 장치(110)는 SLAAC 방식을 사용할 수 있다. SLAAC 방식은 전자 장치(100)에게 IPv6 주소를 제공하며, 상기 IPv6 주소의 유효성을 확보하기 위해서 ICMPv6(internet control message protocol version 6)에서 정의하고 있는 NDP(neighbor discovery protocol)를 사용할 수 있다. ICMPv6는 IPv6을 위한 인터넷 제어 메시지 프로토콜을 의미할 수 있다. ICMPv6는 IPv6 주소 할당 및 유효성 확보를 위한 NDP 메시지들을 제공할 수 있다. Among the methods in <Table 1>, the wireless modem device 110 may use the SLAAC method. The SLAAC method provides an IPv6 address to the electronic device 100, and can use the neighbor discovery protocol (NDP) defined in Internet control message protocol version 6 (ICMPv6) to secure the validity of the IPv6 address. ICMPv6 may stand for Internet Control Message Protocol for IPv6. ICMPv6 can provide NDP messages to allocate IPv6 addresses and ensure validity.

NDP 메시지들은 라우터 요청(router solicitation: RS) 메시지 및 라우터 애드버타이즈먼트(router advertisement: RA) 메시지를 포함할 수 있다. RA 메시지는 디폴트 라우터, 라우터 라이프타임, 재전송 타이머(retransmission timer), MTU(maximum transmission unit), 또는 IP 주소의 프리픽스(prefix) 정보와 같은 네트워크 연결 정보를 포함할 수 있고, 데이터 네트워크(120)(예를 들어 라우터(125))로부터 송신될 수 있다. 상기 프리픽스 정보는 IP 주소, IP 주소의 프리픽스(prefix), 유효 라이프타임(valid lifetime), 또는 선호 라이프타임(preferred lifetime) 중 적어도 하나를 포함할 수 있다. 일 실시예에서 라우터(125)는 자신의 IP 주소가 라우팅에 사용 가능함을 알리기 위해 RA 메시지를 전송할 수 있다. NDP messages may include a router solicitation (RS) message and a router advertisement (RA) message. The RA message may include network connection information such as default router, router lifetime, retransmission timer, maximum transmission unit (MTU), or prefix information of the IP address, and is sent to the data network 120 ( For example, it may be transmitted from the router 125). The prefix information may include at least one of an IP address, a prefix of an IP address, a valid lifetime, or a preferred lifetime. In one embodiment, router 125 may send an RA message to indicate that its IP address is available for routing.

RA 메시지는 데이터 네트워크(120)로부터 주기적으로 전송되는 비요청형(Unsolicited) RA 메시지와, 전자 장치(100)가 전송하는 RS 메시지에 대한 응답으로 전송되는 요청형(Solicited) RA 메시지로 구분될 수 있다. RS 메시지는 데이터 네트워크(120)로부터 RA 메시지를 전달받기 위해 전자 장치(100)로부터 전송될 수 있다. 전자 장치(100)는 데이터 네트워크(120)의 라우터들(예를 들어 라우터들(125))에게 전자 장치(100)의 존재를 알리기 위해 RS 메시지를 전송할 수 있다. 라우터(125)는 상기 RS 메시지를 수신하고 그 응답으로 Solicited RA 메시지를 전송하도록 구성될 수 있다.RA messages can be divided into unsolicited RA messages transmitted periodically from the data network 120 and solicited RA messages transmitted in response to RS messages transmitted by the electronic device 100. there is. The RS message may be transmitted from the electronic device 100 to receive an RA message from the data network 120. The electronic device 100 may transmit an RS message to inform routers (eg, routers 125) of the data network 120 of the existence of the electronic device 100. The router 125 may be configured to receive the RS message and transmit a Solicited RA message in response.

전자 장치(100)는 셀룰러 네트워크 연결을 위하여 예를 들어 MBIM 프로토콜을 사용하여 무선 모뎀 장치(110)(예를 들어 MBB 장치)와 연결될 수 있다. MBIM에서 각각의 장치 서비스는 UUID(universally unique identifier)에 의해 식별될 수 있다. 전자 장치(100)와 무선 모뎀 장치(110) 간에 교환되는 명령어(예를 들어 CID(command identifier))들은 전달되는 데이터 서비스를 식별하는 UUID를 포함할 수 있다.The electronic device 100 may be connected to the wireless modem device 110 (eg, MBB device) using, for example, the MBIM protocol for cellular network connection. In MBIM, each device service can be identified by a universally unique identifier (UUID). Commands (eg, command identifiers (CIDs)) exchanged between the electronic device 100 and the wireless modem device 110 may include a UUID that identifies the data service being delivered.

도 4는 일 실시예에 따른 전자 장치와 무선 모뎀 장치 간의 연결을 설명하기 위한 도면이다.FIG. 4 is a diagram illustrating the connection between an electronic device and a wireless modem device according to an embodiment.

도 4를 참조하면, 동작 402에서 무선 모뎀 장치(110)는 데이터 네트워크(120)의 네트워크 상태를 포함하는 네트워크 상태 통지(network status notification) 메시지를 전자 장치(100)로 전송할 수 있다. 일 실시예에서 상기 네트워크 상태 통지 메시지는 무선 모뎀 장치(110)의 무선 전원 상태를 나타내는 MBIM_CID_RADIO_STATE, 또는 패킷 서비스의 접속(attach) 또는 접속해제(detach) 상태를 나타내는 MBIM_CID_PACKET_SERVICE 중 적어도 하나를 포함할 수 있다.Referring to FIG. 4 , in operation 402, the wireless modem device 110 may transmit a network status notification message including the network status of the data network 120 to the electronic device 100. In one embodiment, the network status notification message may include at least one of MBIM_CID_RADIO_STATE indicating the wireless power state of the wireless modem device 110, or MBIM_CID_PACKET_SERVICE indicating the attach or detach state of the packet service. .

동작 404에서 전자 장치(100)는 데이터 연결 요청(data connection request) 메시지를 무선 모뎀 장치(110)로 전송할 수 있다. 상기 데이터 연결 요청 메시지는 지정된 데이터 세션을 활성화하기 위한 정보를 포함하는 MBIM_CID_CONNECT를 포함할 수 있다. MBB 장치(110)는 상기 상기 데이터 연결 요청 메시지에 응답하여 지정된 데이터 세션(예를 들어 기 연결된 IP 데이터 세션 또는 새로 연결한 IP 데이터 세션)을 전자 장치(100)에 대해 활성화할 수 있다. 동작 406에서 MBB 장치(110)는 데이터 연결 응답 메시지를 전자 장치(100)로 전송할 수 있다. 상기 데이터 연결 응답 메시지는 전자 장치(100)를 위해 활성화된 데이터 세션의 활성화 상태를 나타내는 MBIM_CID_CONNECT를 포함할 수 있다.In operation 404, the electronic device 100 may transmit a data connection request message to the wireless modem device 110. The data connection request message may include MBIM_CID_CONNECT including information for activating a specified data session. The MBB device 110 may activate a designated data session (for example, an already connected IP data session or a newly connected IP data session) for the electronic device 100 in response to the data connection request message. In operation 406, the MBB device 110 may transmit a data connection response message to the electronic device 100. The data connection response message may include MBIM_CID_CONNECT indicating the activation status of a data session activated for the electronic device 100.

동작 408에서 MBB 장치(110)는 IP 구성 통지(IP configuration notification) 메시지를 전자 장치(100)로 전송할 수 있다. 상기 IP 구성 통지 메시지는 상기 데이터 세션을 위한 링크 계층의 IP 구성 정보를 나타내는 MBIM_CID_IP_CONFIGURATION_INFO를 포함할 수 있다. 동작 410에서 전자 장치(100)는 상기 IP 구성 통지 메시지의 수신에 근거하여 데이터 세션이 연결됨을 확인할 수 있다. 전자 장치(100)는 상기 데이터 세션을 통해 데이터 통신을 수행할 수 있다.In operation 408, the MBB device 110 may transmit an IP configuration notification message to the electronic device 100. The IP configuration notification message may include MBIM_CID_IP_CONFIGURATION_INFO indicating IP configuration information of the link layer for the data session. In operation 410, the electronic device 100 may confirm that a data session is connected based on receipt of the IP configuration notification message. The electronic device 100 may perform data communication through the data session.

동작 412에서 전자 장치(100)는 ICMPv6의 네트워크 연결 정보를 요청하기 위한 RS 메시지를 무선 모뎀 장치(110)에게 전송할 수 있고, 상기 RS 메시지는 MBB 장치(110)를 통해 데이터 네트워크(120) 내의 라우터(125)에게 도달할 수 있다. 상기 네트워크 연결 정보는 예를 들어 IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 적어도 하나를 포함할 수 있다. 동작 414에서 전자 장치(100)는 상기 RS 메시지에 응답하는 RA 메시지(예를 들어 Solicited RA 메시지를 수신할 수 있다. 동작 416에서 전자 장치(100)는 상기 RA 메시지로부터 네트워크 연결 정보(예를 들어 유효한 IP 주소 및/또는 게이트웨이 정보)를 획득하여 네트워크 연결의 수립을 완료할 수 있다. 이로써 전자 장치(100)는 데이터 네트워크(120)와의 데이터 패킷 교환 및 통신이 가능한 상태가 될 수 있다.In operation 412, the electronic device 100 may transmit an RS message to request network connection information of ICMPv6 to the wireless modem device 110, and the RS message may be transmitted to the router in the data network 120 through the MBB device 110. You can reach (125). The network connection information may include, for example, at least one of the valid lifetime of an IP address or the router lifetime. In operation 414, the electronic device 100 may receive an RA message (e.g., a Solicited RA message) in response to the RS message. In operation 416, the electronic device 100 receives network connection information (e.g., a Solicited RA message) from the RA message. By obtaining a valid IP address and/or gateway information, establishment of a network connection can be completed, thereby enabling the electronic device 100 to exchange data packets and communicate with the data network 120.

전자 장치(100)가 수신하는 RA 메시지(예를 들어 동작 414의 Solicited RA 메시지)는 IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 적어도 하나를 포함할 수 있다. 예를 들어 IP 주소의 유효 라이프타임은 2,592,000 초일 수 있다. 예를 들어 라우터 라이프타임은 21,840 초일 수 있다. 상기 유효 라이프타임 또는 라우터 라이프타임이 만료되면 상기 IP 주소 또는 상기 라우터(예를 들어 라우터(125))는 더 이상 사용될 수 없으며, 전자 장치(100)는 데이터 네트워크(120)(예를 들어 라우터(125))와 패킷 교환을 수행할 수 없다.The RA message (for example, the Solicited RA message in operation 414) received by the electronic device 100 may include at least one of the valid lifetime of the IP address or the router lifetime. For example, the effective lifetime of an IP address may be 2,592,000 seconds. For example, the router lifetime may be 21,840 seconds. When the valid lifetime or router lifetime expires, the IP address or the router (e.g., router 125) can no longer be used, and the electronic device 100 is connected to the data network 120 (e.g., router ( Packet exchange with 125)) cannot be performed.

라우터(120)는 이전에 전송한 RA 메시지에 포함되어 있는 IP 주소 및 라우터 라이프타임이 만료되기 이전에, Unsolicited RA 메시지를 주기적으로 전송할 수 있다. 전자 장치(100)는 Unsolicited RA 메시지에 근거하여 IP 주소의 유효 라이프타임 및/또는 라우터 라이프타임을 업데이트하고, 상기 IP 주소와 라우터(125)의 유효성을 연정 및 확보하여 지속적으로 데이터 통신을 수행할 수 있다. The router 120 may periodically transmit an Unsolicited RA message before the IP address and router lifetime included in the previously transmitted RA message expire. The electronic device 100 updates the valid lifetime of the IP address and/or the router lifetime based on the Unsolicited RA message, and associates and secures the validity of the IP address and the router 125 to continuously perform data communication. You can.

전자 장치(100)는 다양한 이유(예를 들어 네트워크의 미전송, 패킷 트래픽, 또는 데이터 플로우 상의 오류 중 적어도 하나) 또는 알지 못하는 이유로 인해 IP 주소 및 라우터 라이프타임이 만료되기 이전에 데이터 네트워크(예를 들어 라우터(125))로부터 전송되는 RA 메시지를 수신하지 못할 수 있다. 전자 장치(100)에서 IP 주소의 유효 라이프타임이 만료되거나, 또는 라우터 라이프타임이 만료된 이후에, 전자 장치(100)는 무선 모뎀 장치(110)를 통한 데이터 세션이 활성화되어 있음에도 불구하고 패킷 전송을 더 이상 수행하지 못할 수 있다. The electronic device 100 may connect to a data network (e.g., a non-transmission in the network, packet traffic, or an error in the data flow) or before the IP address and router lifetime expire for various reasons (e.g., at least one of network non-transmission, packet traffic, or errors in the data flow) or unknown reasons. For example, the RA message transmitted from the router 125 may not be received. After the valid lifetime of the IP address in the electronic device 100 expires or the router lifetime expires, the electronic device 100 transmits packets even though the data session through the wireless modem device 110 is active. may no longer be able to be performed.

도 5는 일 실시예에 따라 RA 메시지를 미수신하는 상황을 설명하기 위한 신호 흐름도를 나타낸 것이다.Figure 5 shows a signal flow diagram to explain a situation in which an RA message is not received according to an embodiment.

도 5를 참조하면, 동작 502에서 전자 장치(100)는 예를 들어 도 5의 동작들을 통해 데이터 세션을 연결할 수 있다. 동작 504에서 전자 장치(100)는 무선 모뎀 장치(110)를 통해 라우터(125)로 RS 메시지를 전송할 수 있다. 동작 506에서 전자 장치(110)는 무선 모뎀 장치(110)를 통해 라우터(125)로부터 IP 주소의 유효 라이프타임 및/또는 라우터 라이프타임을 포함하는 RA 메시지(예를 들어 Solicited RA 메시지)를 수신할 수 있다.Referring to FIG. 5, in operation 502, the electronic device 100 may connect a data session through, for example, the operations of FIG. 5. In operation 504, the electronic device 100 may transmit an RS message to the router 125 through the wireless modem device 110. In operation 506, the electronic device 110 receives an RA message (e.g., a Solicited RA message) including the valid lifetime of the IP address and/or the router lifetime from the router 125 through the wireless modem device 110. You can.

동작 508에서 전자 장치(100)는 상기 RA 메시지로부터 IP 주소를 획득할 수 있다. 동작 510에서 전자 장치(100)는 상기 IP 주소를 사용하여 MBB 장치(110)를 통해 라우터(125)와 정상적인 셀룰러 데이터 통신을 수행할 수 있다.In operation 508, the electronic device 100 may obtain an IP address from the RA message. In operation 510, the electronic device 100 may perform normal cellular data communication with the router 125 through the MBB device 110 using the IP address.

동작 512에서 라우터(125)는 주기적으로 RA 메시지(예를 들어 Unsolicited RA 메시지)를 전송하지만, 어떠한 이유(예를 들어 네트워크 장애, 패킷 트래픽 과부하, 또는 데이터 플로우 상의 오류 중 적어도 하나)로 인해 전자 장치(100)는 상기 RA 메시지를 수신하지 못할 수 있다.In operation 512, the router 125 periodically transmits an RA message (e.g., an Unsolicited RA message), but due to some reason (e.g., at least one of a network failure, packet traffic overload, or error in the data flow), the electronic device (100) may not receive the RA message.

동작 514에서 전자 장치(100)는 라이프타임(예를 들어 유효 라이프타임 또는 라우터 라이프타임 중 적어도 하나)가 만료됨을 확인할 수 있다. 동작 516에서 전자 장치(100)는 상기 라이프타임이 만료됨에 따라 정상적인 셀룰러 데이터 통신을 수행하지 못할 수 있다.In operation 514, the electronic device 100 may confirm that the lifetime (eg, at least one of the valid lifetime or the router lifetime) has expired. In operation 516, the electronic device 100 may not be able to perform normal cellular data communication as the lifetime expires.

일 실시예에서 전자 장치(100)는 아래 <표 2>의 발생 조건들 중 적어도 하나가 만족될 때 RA 메시지를 요청하도록 구성될 수 있다.In one embodiment, the electronic device 100 may be configured to request an RA message when at least one of the generation conditions in <Table 2> below is satisfied.

- 시스템 시작 시점(system startup time)에서 전자 장치(100)와 무선 모뎀 장치(110) 간 인터페이스가 초기화될 때,
- 일시적인 인터페이스 장애 이후, 또는 시스템 관리에 의해 전자 장치(100)와 무선 모뎀 장치(110) 간 인터페이스가 일시적으로 비활성화된 후 다시 초기화될 때
- 시스템 관리에 의해 IP 전달 기능이 턴-오프될 때
- 전자 장치(100)가 처음으로 무선 모뎀 장치(110)에 연결될 때
- 전자 장치(100)가 무선 모뎀 장치(110)에서 잠시 분리된 후 다시 연결될 때
- When the interface between the electronic device 100 and the wireless modem device 110 is initialized at system startup time,
- After a temporary interface failure, or when the interface between the electronic device 100 and the wireless modem device 110 is temporarily disabled by system management and then reinitialized
- When the IP forwarding function is turned off by system management
- When the electronic device 100 is connected to the wireless modem device 110 for the first time
- When the electronic device 100 is briefly disconnected from the wireless modem device 110 and then reconnected

상기 <표 2>에 근거하면, 전자 장치(100)의 데이터 세션이 연결되어 있음에도 불구하고, 라우터(125)로부터 Unsolicited RA 메시지를 계속하여 수신하지 못하게 될 때, 전자 장치(100)는 더 이상 데이터 통신을 수행하지 못할 수 있다.Based on <Table 2>, even though the data session of the electronic device 100 is connected, when the Unsolicited RA message is not continuously received from the router 125, the electronic device 100 no longer receives data. Communication may not be possible.

본 개시의 실시예들은 전자 장치(100)의 데이터 세션이 정상적으로 연결된 상태에서, RA 메시지의 미수신으로 인한 IP 주소 및 라우터(예를 들어 라우터(125))의 유효성이 상실됨에 따른 데이터 패킷 통신 불가 상태를 방지할 수 있다.Embodiments of the present disclosure are in a state in which data packet communication is impossible due to loss of validity of the IP address and router (e.g., router 125) due to non-reception of the RA message while the data session of the electronic device 100 is normally connected. can be prevented.

도 6은 일 실시예에 따른 전자 장치와 무선 모뎀 장치의 구성을 설명하기 위한 도면이다. 실시예들에 따라 후술되는 구성요소들 중 적어도 하나는 생략되거나 변형되거나 다른 구성요소와 결합될 수 있다.FIG. 6 is a diagram for explaining the configuration of an electronic device and a wireless modem device according to an embodiment. Depending on the embodiments, at least one of the components described below may be omitted, modified, or combined with other components.

도 6을 참조하면, 무선 모뎀 장치(110)(예를 들어 MBB 장치)는 모뎀(622), SIM(subscriber identification module) 카드(624), MBIM 인터페이스(626), RS/RA 모듈(628), 또는 인터페이스 드라이버(630) 적어도 하나를 포함할 수 있다. Referring to FIG. 6, the wireless modem device 110 (e.g., MBB device) includes a modem 622, a subscriber identification module (SIM) card 624, an MBIM interface 626, an RS/RA module 628, Alternatively, it may include at least one interface driver 630.

모뎀(622)은 무선 통신 방식(예를 들어, 3G, 4G, 또는 5G 통신 방식)에 따라 송신 신호의 인코딩 및 변조와 수신 신호의 복조 및 디코딩을 수행하도록 구성될 수 있다. 일 실시예에서 모뎀(622)은 프로세서(304) 내의 CP에 포함되는 소프트웨어 모듈로 구현될 수 있다.The modem 622 may be configured to encode and modulate a transmitted signal and demodulate and decode a received signal according to a wireless communication method (eg, 3G, 4G, or 5G communication method). In one embodiment, the modem 622 may be implemented as a software module included in the CP within the processor 304.

SIM 카드(624)는 가입자 정보, 네트워크 구성 정보, 및 인증 정보를 포함하는 내장형(embedded) 또는 외장형 카드로 구현될 수 있다.SIM card 624 may be implemented as an embedded or external card containing subscriber information, network configuration information, and authentication information.

MBIM 인터페이스(626)는 전자 장치(100)와 MBIM 프로토콜에 따른 통신을 수행할 수 있다. 일 실시예에서 MBIM 인터페이스(626)는 프로세서(304) 내의 CP에 포함되는 소프트웨어 모듈로 구현될 수 있다. 무선 모뎀 장치(110)는 MBIM 인터페이스(626)를 통해 전자 장치(100)에게 네트워크 상태 정보를 전달할 수 있고, MBIM 인터페이스(626)를 통해 전자 장치(100)로부터 연결 요청과 같은 네트워크 관련 요청을 수신하여 처리할 수 있다. 전자 장치(100)는 MBIM 확장(extension) 프로토콜을 사용하여 MBIM 메시지에 추가 정보를 포함시킬 수 있다.The MBIM interface 626 can perform communication with the electronic device 100 according to the MBIM protocol. In one embodiment, the MBIM interface 626 may be implemented as a software module included in the CP within the processor 304. The wireless modem device 110 may transmit network status information to the electronic device 100 through the MBIM interface 626 and receive network-related requests, such as a connection request, from the electronic device 100 through the MBIM interface 626. It can be processed. The electronic device 100 may include additional information in the MBIM message using the MBIM extension protocol.

인터페이스 드라이버(630)는 전자 장치(100)와 무선 모뎀 장치(110) 간의 물리적인 연결을 위한 유선 링크(예를 들어 인터페이스(308))를 관리할 수 있다. 일 실시예에서 인터페이스 드라이버(630)는 USB 인터페이스 또는 PCI 익스프레스 인터페이스 중 적어도 하나를 지원할 수 있다.The interface driver 630 may manage a wired link (eg, interface 308) for a physical connection between the electronic device 100 and the wireless modem device 110. In one embodiment, the interface driver 630 may support at least one of a USB interface or a PCI Express interface.

RS/RA 모듈(628)은 프로세서(304) 내의 CP에 포함되는 소프트웨어 모듈로 구현될 수 있다. 일 실시예에서 RS/RA 모듈(628)은 전자 장치(100)로부터의 요청(예를 들어 IP 재구성 요청)에 응답하여 RS 메시지를 발생할 수 있다. 상기 RS 메시지는 모뎀(622)에 의해 라우터(예를 들어 라우터(125))로 전송될 수 있다. RS/RA 모듈(628)은 상기 RS 메시지에 응답하여 라우터(125)로부터 전송되는 RA 메시지(예를 들어 요청형 RA 메시지)를 모뎀(622)을 통해 수신할 수 있다. 상기 RA 메시지는 MBIM 인터페이스(626)과 인터페이스 드라이버(630)를 통해 전자 장치(100)로 전달될 수 있다.The RS/RA module 628 may be implemented as a software module included in the CP within the processor 304. In one embodiment, the RS/RA module 628 may generate an RS message in response to a request (eg, IP reconfiguration request) from the electronic device 100. The RS message may be transmitted to a router (eg, router 125) by the modem 622. The RS/RA module 628 may receive an RA message (eg, a request-type RA message) transmitted from the router 125 in response to the RS message through the modem 622. The RA message may be transmitted to the electronic device 100 through the MBIM interface 626 and the interface driver 630.

전자 장치(100)는 연결 관리자(connection manager)(602), WWAN(wireless wide area network) 서비스 모듈(604), 사용자 어플리케이션(application: APP)(606), 네트워크 모니터(608), TCP/IP(transport control protocol / internet protocol) 모듈(610), 네트워크 드라이버(612), 또는 인터페이스 드라이버(614) 중 적어도 하나를 포함할 수 있다. 상술한 구성요소들 중 적어도 하나는 프로세서(204)에 포함되는 소프트웨어 모듈로 구현될 수 있다.The electronic device 100 includes a connection manager 602, a wireless wide area network (WWAN) service module 604, a user application (APP) 606, a network monitor 608, and TCP/IP ( It may include at least one of a transport control protocol / internet protocol) module 610, a network driver 612, or an interface driver 614. At least one of the above-described components may be implemented as a software module included in the processor 204.

WWAN 서비스 모듈(604)은 예를 들어 운영 시스템에 포함되는 소프트웨어 모듈일 수 있고, 무선 모뎀 장치(110)로부터 수신한 네트워크 상태 정보를 관리하고, 연결 요청과 같은 네트워크 관련 요청을 무선 모뎀 장치(110)로 전송할 수 있다.The WWAN service module 604 may be, for example, a software module included in the operating system, manages network status information received from the wireless modem device 110, and sends network-related requests, such as connection requests, to the wireless modem device 110. ) can be transmitted.

TCP/IP 모듈(610)은 예를 들어 운영 시스템에 포함되는 소프트웨어 모듈일 수 있고, 셀룰러 네트워크 연결을 위한 IP 주소 할당, 게이트웨이 할당, 또는 패킷 흐름 제어 중 적어도 하나를 수행할 수 있다.The TCP/IP module 610 may be, for example, a software module included in an operating system and may perform at least one of IP address allocation, gateway allocation, or packet flow control for a cellular network connection.

네트워크 드라이버(612)는 네트워크 드라이버 인터페이스 규격(network driver interface specification: NDIS)에 근거하여 네트워크 어댑터로서 동작하는 소프트웨어 모듈을 포함할 수 있고, 무선 모뎀 장치(110)와의 MBIM 인터페이스 통신, 패킷 전송, 또는 모뎀 제어 중 적어도 하나를 수행할 수 있다.The network driver 612 may include a software module that operates as a network adapter based on the network driver interface specification (NDIS), and performs MBIM interface communication, packet transmission, or modem communication with the wireless modem device 110. At least one of the controls can be performed.

인터페이스 드라이버(614)는 무선 모뎀 장치(110)와 전자 장치(100) 간의 물리적인 연결을 위한 유선 링크(예를 들어 인터페이스(208)를 관리할 수 있다. 일 실시예에서 인터페이스 드라이버(614)는 USB 인터페이스 또는 PCI 익스프레스 인터페이스 중 적어도 하나를 지원할 수 있다.The interface driver 614 may manage a wired link (e.g., interface 208) for a physical connection between the wireless modem device 110 and the electronic device 100. In one embodiment, the interface driver 614 It may support at least one of a USB interface or a PCI Express interface.

네트워크 모니터(608)는 사용자 모드 드라이버 프레임워크(user-mode driver framework) 형태의 소프트웨어 모듈일 수 있다. 일 실시예에서 네트워크 모니터(608)는 API(application programming interface)에서 지원하는 이동 광대역용 클래스들(mobile broadband classes)(예를 들어 운영 시스템에서 지원하는 이동 광대역 계정 관리(mobile broadband account management)를 지원하는 명령어)을 이용하여 네트워크 정보(예를 들어 연결 상태, 유효 라이프타임 및/또는 라우터 라이프타임)를 실시간으로 모니터링하고, 상기 모니터링에 근거하여 문제 상황(예를 들어 RA 메시지의 미수신 또는 라이프타임의 만료)을 검출할 수 있다. The network monitor 608 may be a software module in the form of a user-mode driver framework. In one embodiment, network monitor 608 supports mobile broadband classes supported by an application programming interface (API) (e.g., mobile broadband account management supported by the operating system). command) to monitor network information (e.g., connection status, effective lifetime, and/or router lifetime) in real time, and based on the monitoring, problem situations (e.g., non-receipt of RA messages or life-time delay) are monitored in real time. expiration) can be detected.

네트워크 모니터(608)는 전자 장치(100)의 구동(예를 들어 부팅)시 또는 무선 모뎀 장치(110)를 통한 데이터 통신의 시작시 동작하기 시작할 수 있다. 네트워크 모니터(608)는 윈도우 런타임(window runtime: WinRT) API를 사용하여 WWAN 서비스 모듈(04)로부터 네트워크 정보, 네트워크 상태 정보(예를 들어 연결 상태 및/또는 패킷 전송 상태), IP 주소의 유효 라이프타임, 또는 라우터 라이프타임 중 적어도 하나를 실시간으로 획득할 수 있다. The network monitor 608 may start operating when the electronic device 100 is driven (eg, booted) or when data communication through the wireless modem device 110 begins. The network monitor 608 receives network information, network status information (e.g., connection status and/or packet transmission status), and the effective life of the IP address from the WWAN service module 04 using the Windows Runtime (WinRT) API. At least one of time or router lifetime can be obtained in real time.

네트워크 모니터(608)는 타이머를 사용하여 제1 라이프타임(예를 들어 IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 어느 하나)이 만료되는 시점을 확인할 수 있다. 상기 타이머는 제1 라이프타임보다 지정된 값만큼 짧은 시간으로 설정될 수 있고, 제1 라이프타임이 만료되기 직전 시점에서 종료(예를 들어 만료)될 수 있다. 상기 타이머는 제1 라이프타임의 새로운 값을 포함하는 RA 메시지가 수신될 때마다 재시작할 수 있다. 상기 타이머가 종료되면, 네트워크 모니터(608)는 제1 라이프타임을 다시 확인할 수 있다. RA 메시지(예를 들어 비요청 RA 메시지)가 수신되지 않아 제1 라이트파임이 업데이트되지 않은 경우, 네트워크 모니터(608)는 문제 상황이 발생한 것으로 판단할 수 있다.The network monitor 608 may use a timer to determine when the first lifetime (eg, either the valid lifetime of the IP address or the router lifetime) expires. The timer may be set to a time shorter than the first lifetime by a specified value, and may end (for example, expire) just before the first lifetime expires. The timer may be restarted whenever an RA message containing a new value of the first lifetime is received. When the timer expires, the network monitor 608 can check the first lifetime again. If the first light pipe is not updated because the RA message (for example, an unsolicited RA message) is not received, the network monitor 608 may determine that a problem situation has occurred.

네트워크 모니터(608)는 MBIM 메시지(예를 들어 MBIM 확장 메시지)를 이용하여 상기 문제 상황의 발생을 무선 모뎀 장치(110)에게 통지함으로써(예를 들어 IP 재구성 요청) 무선 모뎀 장치(110)가 RS 메시지를 발생하도록 유도할 수 있다.The network monitor 608 notifies the wireless modem device 110 of the occurrence of the problem situation using an MBIM message (e.g., an MBIM extension message) (e.g., an IP reconfiguration request), thereby causing the wireless modem device 110 to RS It can induce a message to be generated.

도 7은 일 실시예에 따라 라이프타임의 만료 이전에 IP 재구성을 요청하는 전자 장치의 동작을 설명하기 위한 흐름도이다. 실시예들에 따르면 후술되는 동작들 중 적어도 하나는 생략되거나 변형되거나 순서 변경될 수 있다. 일 실시예에서 후술되는 동작들 중 적어도 하나는 전자 장치(100)의 프로세서(204)에 의하여 실행될 수 있다.FIG. 7 is a flowchart illustrating the operation of an electronic device that requests IP reconfiguration before expiration of the lifetime, according to an embodiment. According to embodiments, at least one of the operations described below may be omitted, modified, or changed in order. In one embodiment, at least one of the operations described below may be executed by the processor 204 of the electronic device 100.

도 7을 참조하면, 동작 705에서 전자 장치(100)(예를 들어 프로세서(204))는 무선 모뎀 장치(100)(예를 들어 MBB 장치)와의 연결을 통해 데이터 네트워크(120)(예를 들어 라우터(125))와의 통신을 위한 데이터 세션을 연결할 수 있다. 동작 710에서 전자 장치(100)(예를 들어 프로세서(204))는 상기 데이터 세션을 통해 제1 RA 메시지(예를 들어 비요청형 RA 메시지 또는 요청형 RA 메시지)를 수신할 수 있다. 동작 715에서 전자 장치(100)(예를 들어 프로세서(204))는 상기 제1 RA 메시지로부터 네트워크 연결 정보(예를 들어 IP 주소의 유효 라이프타임 및/또는 라우터 라이프타임)를 획득할 수 있다.Referring to FIG. 7, in operation 705, the electronic device 100 (e.g., processor 204) connects to the data network 120 (e.g., MBB device) through a connection with the wireless modem device 100 (e.g., MBB device). A data session for communication with the router 125 can be connected. In operation 710, the electronic device 100 (eg, processor 204) may receive a first RA message (eg, an unsolicited RA message or a requested RA message) through the data session. In operation 715, the electronic device 100 (eg, processor 204) may obtain network connection information (eg, valid lifetime of IP address and/or router lifetime) from the first RA message.

동작 720에서 전자 장치(100)(예를 들어 프로세서(204))는 제1 라이프타임(예를 들어 IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 어느 하나)의 만료 이전의 지정된 시점을 확인할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 프로세서(204))는 상기 제1 RA 메시지를 통해 상기 제1 라이프타임을 획득한 시점에서 시작하고, 상기 제1 라이프타임이 지정하는 시간보다 지정된 값만큼 짧게 설정되는 타이머(예를 들어 IP 주소의 유효 라이프타임에 근거하는 제1 타이머 또는 라우터 라이프타임에 근거하는 제2 타이머 중 어느 하나)를 활성화할 수 있다. 동작 725에서 전자 장치(100)(예를 들어 프로세서(204))는 상기 타이머가 종료(예를 들어 만료)되기까지 대기할 수 있다. 상기 타이머가 종료되면(동작 725에서 '예'인 경우) 전자 장치(100)(예를 들어 프로세서(204))는 상기 제1 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 제1 라이프타임이 업데이트되지 않은 것으로 판단하여 동작 730으로 진행할 수 있다.In operation 720, the electronic device 100 (e.g., the processor 204) may determine a designated point in time prior to expiration of the first lifetime (e.g., either the valid lifetime of the IP address or the router lifetime). . In one embodiment, the electronic device 100 (for example, the processor 204) starts from the point in time when the first lifetime is obtained through the first RA message, and starts from the time specified by the first lifetime. A timer that is set as short as the value (for example, either a first timer based on the valid lifetime of the IP address or a second timer based on the router lifetime) may be activated. In operation 725, the electronic device 100 (eg, processor 204) may wait until the timer expires (eg, expires). When the timer expires (if 'Yes' in operation 725), the electronic device 100 (e.g., processor 204) updates the first lifetime until the specified time point before expiration of the first lifetime. It is determined that this has not been done and the process can proceed to operation 730.

동작 730에서 전자 장치(100)(예를 들어 프로세서(204))는 상기 타이머의 구동과 관련된 동작 710의 제1 RA 메시지가 수신된 이후, 새로운 RA 메시지(예를 들어 비요청형 RA 메시지 또는 요청형 RA 메시지)가 수신되었는지를 판단할 수 있다. 만일 새로운 RA 메시지가 수신되었다면(동작 730에서 '예'인 경우), 전자 장치(100)(예를 들어 프로세서(204))는 동작 745로 진행할 수 있다. 반면 새로운 RA 메시지가 수신되지 않았다면(동작 730에서 '아니오'인 경우), 전자 장치(100)(예를 들어 프로세서(204))는 동작 735로 진행할 수 있다.In operation 730, after receiving the first RA message of operation 710 related to driving the timer, the electronic device 100 (e.g., processor 204) sends a new RA message (e.g., a non-requested RA message or a request It can be determined whether an RA message) has been received. If a new RA message has been received (yes in operation 730), the electronic device 100 (e.g., processor 204) may proceed to operation 745. On the other hand, if a new RA message is not received (in case of 'No' in operation 730), the electronic device 100 (eg, processor 204) may proceed to operation 735.

동작 735에서 전자 장치(100)(예를 들어 프로세서(204))는 무선 모뎀 장치(110)(예를 들어 MBB 장치)에게 IP 재구성을 요청하는 신호를 전송할 수 있다. 일 실시예에서 상기 신호는 MBIM 메시지 또는 MBIM 확장 메시지를 통해 무선 모뎀 장치(110)로 전달될 수 있다. 도시하지 않을 것이지만 무선 모뎀 장치(110)는 상기 IP 재구성을 요청하는 신호에 응답하여 IP 재구성을 수행할 수 있고, 상기 IP 재구성은 무선 모뎀 장치(110)가 데이터 네트워크(120)(예를 들어 라우터(125))로 RS 메시지를 전송하는 동작을 포함할 수 있다. 무선 모뎀 장치(110)는 상기 RS 메시지에 응답하여 제2 RA 메시지(예를 들어 요청형 RA 메시지)를 수신할 수 있고, 상기 제2 RA 메시지를 전자 장치(100)로 전송할 수 있다.In operation 735, the electronic device 100 (eg, processor 204) may transmit a signal requesting IP reconfiguration to the wireless modem device 110 (eg, MBB device). In one embodiment, the signal may be transmitted to the wireless modem device 110 through an MBIM message or an MBIM extended message. Although not shown, the wireless modem device 110 may perform IP reconfiguration in response to the IP reconfiguration request signal, and the IP reconfiguration may be performed when the wireless modem device 110 connects to the data network 120 (e.g., a router). It may include the operation of transmitting an RS message to (125)). The wireless modem device 110 may receive a second RA message (eg, a request-type RA message) in response to the RS message and transmit the second RA message to the electronic device 100.

동작 740에서 전자 장치(100)는 무선 모뎀 장치(110)로부터 상기 제2 RA 메시지를 수신할 수 있다. 동작 745에서 전자 장치(100)는 상기 제2 RA 메시지로부터 제1 라이프타임의 새로운 값(예를 들어 IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 어느 하나)을 획득할 수 있고, 상기 획득한 값에 근거하여 제1 라이프타임을 업데이트할 수 있다. 전자 장치(100)는 상기 업데이트된 제1 라이프타임에 근거하여 정상적인 패킷 교환(예를 들어 패킷 전송 또는 패킷 수신 중 적어도 하나)을 수행할 수 있다.In operation 740, the electronic device 100 may receive the second RA message from the wireless modem device 110. In operation 745, the electronic device 100 may obtain a new value of the first lifetime (for example, one of the valid lifetime of the IP address or the router lifetime) from the second RA message, and the obtained value The first lifetime can be updated based on . The electronic device 100 may perform normal packet exchange (for example, at least one of packet transmission or packet reception) based on the updated first lifetime.

도 8은 일 실시예에 따라 라이프타임의 만료 임박을 검출하는 절차를 설명하기 위한 신호 흐름도이다. 실시예들에 따르면 후술되는 동작들 중 적어도 하나는 생략되거나 변형되거나 순서 변경될 수 있다. FIG. 8 is a signal flow diagram illustrating a procedure for detecting imminent expiration of a lifetime according to an embodiment. According to embodiments, at least one of the operations described below may be omitted, modified, or changed in order.

도 8을 참조하면, 동작 802에서 전자 장치(100)(예를 들어 WWAN 서비스 모듈(604))는 무선 모뎀 장치(110)(예를 들어 MBB 장치)를 통해 데이터 네트워크(120)(예를 들어 라우터(125))와 데이터 세션을 연결할 수 있다. 일 실시예에서 무선 모뎀 장치(110)는 셀룰러 네트워크(도시하지 않음)를 통해 상기 데이터 세션을 연결할 수 있다.8, in operation 802, the electronic device 100 (e.g., WWAN service module 604) connects to the data network 120 (e.g., MBB device) via a wireless modem device 110 (e.g., MBB device). A data session can be connected to the router (125). In one embodiment, wireless modem device 110 may connect the data session via a cellular network (not shown).

동작 804에서 전자 장치(100)(예를 들어 TCP/IP 모듈(610))는 무선 모뎀 장치(110)를 통해 라우터(125)에게 RS 메시지를 전송할 수 있다. 상기 RS 메시지는 상기 연결된 데이터 세션을 통해 ICMPv6 프로토콜을 사용하여 전송될 수 있다. 동작 806에서 전자 장치(100)(예를 들어 TCP/IP 모듈(610))는 무선 모뎀 장치(110)를 통해 라우터(125)로부터 RA 메시지(예를 들어 요청형 RA 메시지)를 수신할 수 있다. 일 실시예에서 상기 RA 메시지는 IP 주소를 위한 유효 라이프타임 및/또는 라우터 라이프타임을 포함할 수 있다. 동작 808에서 전자 장치(100)(예를 들어 TCP/IP 모듈(610))는 상기 RA 메시지를 통해 획득한 유효 IP 주소 및/또는 라우터 라이프타임에 근거하여 데이터 세션을 통해 정상적으로 패킷 전송을 수행할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 TCP/IP 모듈(610))는 상기 RA 메시지를 통해 획득한 네트워크 연결 정보(예를 들어 유효 라이프타임 및/또는 라우터 라이프타임)를 WWAN 서비스 모듈(604)와 공유할 수 있다.In operation 804, the electronic device 100 (eg, TCP/IP module 610) may transmit an RS message to the router 125 through the wireless modem device 110. The RS message may be transmitted using the ICMPv6 protocol through the connected data session. In operation 806, the electronic device 100 (e.g., TCP/IP module 610) may receive an RA message (e.g., a requested RA message) from the router 125 through the wireless modem device 110. . In one embodiment, the RA message may include a valid lifetime and/or router lifetime for an IP address. In operation 808, the electronic device 100 (e.g., TCP/IP module 610) performs packet transmission normally through a data session based on the effective IP address and/or router lifetime obtained through the RA message. You can. In one embodiment, the electronic device 100 (e.g., TCP/IP module 610) transmits network connection information (e.g., effective lifetime and/or router lifetime) obtained through the RA message to the WWAN service module. You can share it with (604).

동작 810에서 전자 장치(100)(예를 들어 WWAN 서비스 모듈(604))는 네트워크 모니터(608)에게 상기 데이터 세션과 관련된 네트워크 정보(예를 들어 연결 상태, 유효 라이프타임, 또는 라우터 라이프타임 중 적어도 하나)를 전달할 수 있다. 동작 812에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 상기 수신된 네트워크 정보를 기반으로 상기 데이터 세션의 연결 상태 및 적어도 하나의 라이프타임을 확인할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 상기 유효 라이프타임 및/또는 라우터 라이프타임에 대응하는 적어도 하나의 타이머를 구동할 수 있다. 일 실시예에서 상기 적어도 하나의 타이머는 제1 타이머 및/또는 제2 타이머를 포함할 수 있다. 제1 타이머는 상기 유효 라이프타임보다 지정된 값만큼 짧게 설정될 수 있다. 제2 타이머는 상기 라우터 라이프타임보다 지정된 값만큼 짧게 설정될 수 있다. 도시하지 않을 것이지만, 전자 장치(100)(예를 들어 네트워크 모니터(608))는 새로운 RA 메시지(예를 들어 요청형 RA 메시지 또는 비요청형 RA 메시지)가 수신될 때마다 제1 타이머 또는 제2 타이머 중 적어도 하나를 재설정하거나 재시작할 수 있다.In operation 810, the electronic device 100 (e.g., the WWAN service module 604) reports network information (e.g., connection status, effective lifetime, or router lifetime) related to the data session to the network monitor 608. one) can be delivered. In operation 812, the electronic device 100 (eg, network monitor 608) may check the connection status and at least one lifetime of the data session based on the received network information. In one embodiment, the electronic device 100 (eg, network monitor 608) may drive at least one timer corresponding to the valid lifetime and/or router lifetime. In one embodiment, the at least one timer may include a first timer and/or a second timer. The first timer may be set to be shorter than the effective lifetime by a specified value. The second timer may be set to be shorter than the router lifetime by a specified value. Although not shown, electronic device 100 (e.g., network monitor 608) starts a first timer or a second timer whenever a new RA message (e.g., a requested RA message or an unsolicited RA message) is received. You can reset or restart at least one of the timers.

동작 814에서 데이터 네트워크(120)(예를 들어 라우터(125))로부터 전송된 RA 메시지(예를 들어 비요청형 RA 메시지)가 어떠한 이유(예를 들어 패킷 트래픽 과부하, 또는 데이터 플로우 상의 오류)로 인해 전자 장치(100)에 도달하지 못할 수 있다. 일 실시예에서 라우터(125)는 오동작으로 인해 RA 메시지를 전송하지 않을 수 있다.In operation 814, an RA message (e.g., a non-requested RA message) transmitted from the data network 120 (e.g., router 125) is received for some reason (e.g., packet traffic overload, or error in the data flow). Due to this, it may not be able to reach the electronic device 100. In one embodiment, the router 125 may not transmit the RA message due to malfunction.

동작 816에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 제1 타이머 또는 제2 타이머 중 적어도 하나가 만료될 때까지 RA 메시지(예를 들어 요청형 RA 메시지 또는 비요청형 RA 메시지)가 수신되지 않음을 검출할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 제1 타이머 또는 제2 타이머 중 적어도 하나가 만료됨에 근거하여 RA 메시지가 수신되지 않은 것으로 판단할 수 있다.In operation 816, the electronic device 100 (e.g., network monitor 608) sends an RA message (e.g., a requested RA message or a non-requested RA message) until at least one of the first timer or the second timer expires. ) can be detected that is not being received. In one embodiment, the electronic device 100 (eg, the network monitor 608) may determine that the RA message has not been received based on the expiration of at least one of the first timer or the second timer.

동작 818에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 TCP/IP 모듈(610)에게 새로운 라이프타임을 요청하기 위한 IP/게이트웨이 정보 요청 신호(예를 들어 API 명령어)를 전송할 수 있다. 동작 820에서 전자 장치(100)(예를 들어 TCP/IP 모듈(610))는 네트워크 모니터(608)에게 TCP/IP 모듈(610)에 저장된 라이프타임을 포함하는 IP/게이트웨이 정보 응답 신호(예를 들어 API 명령어)를 전송할 수 있다. 동작 822에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 상기 라이프타임이 이미 만료된 값임을 확인하고, 패킷 전송이 불가한 것으로 판단할 수 있다.In operation 818, the electronic device 100 (e.g., network monitor 608) may transmit an IP/gateway information request signal (e.g., API command) to TCP/IP module 610 to request a new lifetime. there is. In operation 820, the electronic device 100 (e.g., TCP/IP module 610) sends an IP/gateway information response signal (e.g., IP/gateway information response signal including the lifetime stored in TCP/IP module 610) to the network monitor 608. For example, API commands) can be transmitted. In operation 822, the electronic device 100 (eg, network monitor 608) may determine that the lifetime has already expired and determine that packet transmission is impossible.

도 9는 일 실시예에 따라 라이프타임의 만료 이전에 IP 재구성을 요청하는 절차를 설명하기 위한 신호 흐름도이다. 실시예들에 따르면 후술되는 동작들 중 적어도 하나는 생략되거나 변형되거나 순서 변경될 수 있다. FIG. 9 is a signal flow diagram illustrating a procedure for requesting IP reconfiguration before expiration of lifetime, according to an embodiment. According to embodiments, at least one of the operations described below may be omitted, modified, or changed in order.

도 9를 참조하면, 동작 902에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 데이터 세션과 관련된 적어도 하나의 라이프타임(예를 들어 IP 주소의 유효 라이프타임 및/또는 라우터 라이프타임)의 만료가 임박하였음을 검출할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 제1 라이프타임(예를 들어 IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 어느 하나)의 만료 이전의 지정된 시점까지 상기 라이프타임이 업데이트되지 않음을 검출할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 제1 라이프타임의 만료 이전의 상기 지정된 시점에서 상기 데이터 세션의 연결 상태가 정상적임을 확인할 수 있다.9, in operation 902, the electronic device 100 (e.g., network monitor 608) determines at least one lifetime associated with a data session (e.g., the effective lifetime of an IP address and/or the router lifetime). ) can be detected that expiration is imminent. In one embodiment, the electronic device 100 (e.g., network monitor 608) is configured to It can be detected that the lifetime is not updated. In one embodiment, the electronic device 100 (eg, the network monitor 608) may confirm that the connection state of the data session is normal at the specified time before expiration of the first lifetime.

일 실시예에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 적어도 하나의 라이프타임에 근거하는 적어도 하나의 타이머가 종료됨을 검출할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 RA 메시지(예를 들어 동작 806의 RA 메시지)로부터 획득한 유효 라이프타임에 근거하는 제1 타이머가 종료됨을 검출할 수 있다. 제1 타이머는 상기 유효 라이프타임의 만료보다 지정된 값만큼 이전에 만료될 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 RA 메시지(예를 들어 동작 806의 RA 메시지)로부터 획득한 라우터 라이프타임에 근거하는 제2 타이머가 종료됨을 검출할 수 있다. 제2 타이머는 상기 라우터 라이프타임의 만료보다 지정된 값만큼 이전에 만료될 수 있다.In one embodiment, the electronic device 100 (e.g., network monitor 608) may detect that at least one timer based on at least one lifetime expires. In one embodiment, electronic device 100 (e.g., network monitor 608) may detect that a first timer based on a valid lifetime obtained from an RA message (e.g., the RA message of operation 806) has expired. there is. The first timer may expire by a specified value before the expiration of the effective lifetime. In one embodiment, the electronic device 100 (e.g., network monitor 608) may detect that a second timer based on the router lifetime obtained from the RA message (e.g., the RA message in operation 806) has expired. there is. The second timer may expire by a specified value before the expiration of the router lifetime.

동작 904에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 무선 모뎀 장치(110)(예를 들어 MBB 장치)에게 IP 재구성을 요청하는 신호를 전송할 수 있다. 일 실시예에서 상기 신호는 MBIM 메시지 및 MBIM 확장 메시지를 통해 무선 모뎀 장치(110)(예를 들어 RS/RA 모듈(628))에게 전달될 수 있다.In operation 904, the electronic device 100 (eg, network monitor 608) may transmit a signal requesting IP reconfiguration to the wireless modem device 110 (eg, MBB device). In one embodiment, the signal may be delivered to the wireless modem device 110 (e.g., RS/RA module 628) via an MBIM message and an MBIM extension message.

동작 906에서 무선 모뎀 장치(110)(예를 들어 RS/RA 모듈(628))는 상기 IP 재구성을 위해 RS 메시지를 데이터 네트워크(120)(예를 들어 라우터(125))에게 전송할 수 있다. 동작 908에서 무선 모뎀 장치(110)(예를 들어 RS/RA 모듈(628))는 상기 RS 메시지에 응답하는 RA 메시지(예를 들어 요청형 RA 메시지)를 라우터(125)로부터 수신할 수 있다.In operation 906, the wireless modem device 110 (e.g., RS/RA module 628) may transmit an RS message to the data network 120 (e.g., router 125) for the IP reconfiguration. In operation 908, the wireless modem device 110 (eg, RS/RA module 628) may receive an RA message (eg, requested RA message) in response to the RS message from the router 125.

동작 910에서 무선 모뎀 장치(110)(예를 들어 RS/RA 모듈(628))는 상기 RA 메시지를 전자 장치(100)(예를 들어 TCP/IP 모듈(610))로 전송할 수 있다. 일 실시예에서 무선 모뎀 장치(110)(예를 들어 RS/RA 모듈(628))는 라우터(125)로부터 수신한 요청형 RA 메시지를 비요청형 RA 메시지로 변환하고, 상기 비요청형 RA 메시지를 전자 장치(100)에게 전달할 수 있다. 동작 912에서 무선 모뎀 장치(110)(예를 들어 RS/RA 모듈(628))는 IP 재구성이 완료되었음을 알리는 신호를 전자 장치(100)(예를 들어 네트워크 모니터(608))로 전송할 수 있다.In operation 910, the wireless modem device 110 (eg, RS/RA module 628) may transmit the RA message to the electronic device 100 (eg, TCP/IP module 610). In one embodiment, the wireless modem device 110 (e.g., RS/RA module 628) converts the requested RA message received from the router 125 into an unsolicited RA message, and can be transmitted to the electronic device 100. In operation 912, the wireless modem device 110 (e.g., RS/RA module 628) may transmit a signal indicating that IP reconfiguration is complete to the electronic device 100 (e.g., network monitor 608).

동작 914에서 전자 장치(100)(예를 들어 TCP/IP 모듈(610))는 상기 RA 메시지(예를 들어 비요청형 RA 메시지)를 통해 획득한 유효 IP 주소 및/또는 라우터 라이프타임에 근거하여 상기 데이터 세션을 통해 정상적으로 패킷 전송을 수행할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 TCP/IP 모듈(610))는 상기 RA 메시지를 통해 획득한 네트워크 연결 정보(예를 들어 유효 라이프타임 및/또는 라우터 라이프타임)를 WWAN 서비스 모듈(604)와 공유할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 WWAN 모듈(604))는 상기 RA 메시지를 통해 획득한 네트워크 연결 정보(예를 들어 유효 라이프타임 및/또는 라우터 라이프타임)를 네트워크 모니터(608)와 공유할 수 있다.In operation 914, the electronic device 100 (e.g., TCP/IP module 610) based on the effective IP address and/or router lifetime obtained through the RA message (e.g., non-requested RA message). Packet transmission can be performed normally through the data session. In one embodiment, the electronic device 100 (e.g., TCP/IP module 610) transmits network connection information (e.g., effective lifetime and/or router lifetime) obtained through the RA message to the WWAN service module. You can share it with (604). In one embodiment, the electronic device 100 (e.g., WWAN module 604) displays network connection information (e.g., effective lifetime and/or router lifetime) obtained through the RA message through the network monitor 608. You can share it with.

도 10은 일 실시예에 따라 라이프타임의 만료 이전에 네트워크 연결 정보를 요청하는 전자 장치의 동작을 설명하기 위한 흐름도이다. 실시예들에 따르면 후술되는 동작들 중 적어도 하나는 생략되거나 변형되거나 순서 변경될 수 있다. 일 실시예에서 후술되는 동작들 중 적어도 하나는 전자 장치(100)의 프로세서(204)에 의하여 실행될 수 있다.FIG. 10 is a flowchart illustrating the operation of an electronic device that requests network connection information before expiration of the lifetime, according to an embodiment. According to embodiments, at least one of the operations described below may be omitted, modified, or changed in order. In one embodiment, at least one of the operations described below may be executed by the processor 204 of the electronic device 100.

도 10을 참조하면, 동작 1005에서 전자 장치(100)(예를 들어 프로세서(204))는 무선 모뎀 장치(100)와의 연결을 통해 데이터 네트워크(120)(예를 들어 라우터(125))와의 통신을 위한 데이터 세션을 연결할 수 있다. 동작 1010에서 전자 장치(100)(예를 들어 프로세서(204))는 상기 데이터 세션을 통해 제1 RA 메시지(예를 들어 비요청형 RA 메시지 또는 요청형 RA 메시지)를 수신할 수 있다. 동작 1015에서 전자 장치(100)(예를 들어 프로세서(204))는 상기 제1 RA 메시지로부터 네트워크 연결 정보(예를 들어 IP 주소의 유효 라이프타임 및/또는 라우터 라이프타임)를 획득할 수 있다.Referring to FIG. 10, in operation 1005, the electronic device 100 (e.g., processor 204) communicates with the data network 120 (e.g., router 125) through a connection with the wireless modem device 100. You can connect a data session for . In operation 1010, the electronic device 100 (eg, processor 204) may receive a first RA message (eg, an unsolicited RA message or a requested RA message) through the data session. In operation 1015, the electronic device 100 (eg, processor 204) may obtain network connection information (eg, valid lifetime of IP address and/or router lifetime) from the first RA message.

동작 1020에서 전자 장치(100)(예를 들어 프로세서(204))는 제1 라이프타임(예를 들어 IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 어느 하나)의 만료 이전의 지정된 시점을 확인할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 프로세서(204))는 상기 제1 RA 메시지를 통해 상기 제1 라이프타임을 획득한 시점에서 시작하고, 상기 제1 라이프타임이 지정하는 시간보다 지정된 값만큼 짧게 설정되는 타이머(예를 들어 IP 주소의 유효 라이프타임에 근거하는 제1 타이머 또는 라우터 라이프타임에 근거하는 제2 타이머 중 어느 하나)를 활성화할 수 있다. 동작 1025에서 전자 장치(100)(예를 들어 프로세서(204))는 상기 타이머가 종료(예를 들어 만료)되기까지 대기할 수 있다. 상기 타이머가 종료되면(동작 1025에서 '예'인 경우) 전자 장치(100)(예를 들어 프로세서(204))는 상기 제1 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 제1 라이프타임이 업데이트되지 않은 것으로 판단하여 동작 1030으로 진행할 수 있다.In operation 1020, the electronic device 100 (e.g., the processor 204) may check a designated point in time prior to expiration of the first lifetime (e.g., either the valid lifetime of the IP address or the router lifetime). . In one embodiment, the electronic device 100 (for example, the processor 204) starts from the point in time when the first lifetime is obtained through the first RA message, and starts from the time specified by the first lifetime. A timer that is set as short as the value (for example, either a first timer based on the valid lifetime of the IP address or a second timer based on the router lifetime) may be activated. In operation 1025, the electronic device 100 (eg, processor 204) may wait until the timer expires (eg, expires). When the timer expires (if 'Yes' in operation 1025), the electronic device 100 (e.g., processor 204) updates the first lifetime until the specified time point before expiration of the first lifetime. It is determined that this has not been done and the process can proceed to operation 1030.

동작 1030에서 전자 장치(100)(예를 들어 프로세서(204))는 상기 타이머의 구동과 관련된 동작 1010의 제1 RA 메시지가 수신된 이후, 새로운 RA 메시지(예를 들어 비요청형 RA 메시지 또는 요청형 RA 메시지)가 수신되었는지를 판단할 수 있다. 만일 새로운 RA 메시지가 수신되었다면(동작 1030에서 '예'인 경우), 전자 장치(100)(예를 들어 프로세서(204))는 동작 1045로 진행할 수 있다. 반면 새로운 RA 메시지가 수신되지 않았다면(동작 1030에서 '아니오'인 경우), 전자 장치(100)(예를 들어 프로세서(204))는 동작 1035로 진행할 수 있다.In operation 1030, after receiving the first RA message of operation 1010 related to driving the timer, the electronic device 100 (e.g., processor 204) sends a new RA message (e.g., a non-requested RA message or request). It can be determined whether an RA message) has been received. If a new RA message has been received (yes in operation 1030), the electronic device 100 (e.g., processor 204) may proceed to operation 1045. On the other hand, if a new RA message is not received (in case of 'No' in operation 1030), the electronic device 100 (eg, processor 204) may proceed to operation 1035.

동작 1035에서 전자 장치(100)(예를 들어 프로세서(204))는 무선 모뎀 장치(110)(예를 들어 MBB 장치)를 통해 데이터 네트워크(120)(예를 들어 라우터(125))에게 RS 메시지를 전송할 수 있다. 일 실시예에서 상기 RS 메시지는 전자 장치(100)의 TCP/IP 모듈(610)에 의해 전송될 수 있다. 도시하지 않을 것이지만 상기 RS 메시지는 무선 모뎀 장치(110))를 거쳐 라우터(125)에게 전달될 수 있다. 라우터(125)는 상기 RS 메시지에 응답하여 제2 RA 메시지(예를 들어 요청형 RA 메시지)를 무선 모뎀 장치(110))로 전송할 수 있다.In operation 1035, electronic device 100 (e.g., processor 204) sends an RS message to data network 120 (e.g., router 125) via wireless modem device 110 (e.g., MBB device). can be transmitted. In one embodiment, the RS message may be transmitted by the TCP/IP module 610 of the electronic device 100. Although not shown, the RS message may be delivered to the router 125 via the wireless modem device 110. The router 125 may transmit a second RA message (eg, a request-type RA message) to the wireless modem device 110 in response to the RS message.

동작 1040에서 전자 장치(100)는 무선 모뎀 장치(110)로부터 상기 제2 RA 메시지를 수신할 수 있다. 동작 1045에서 전자 장치(100)는 상기 제2 RA 메시지로부터 제1 라이프타임의 새로운 값(예를 들어 IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 어느 하나)을 획득할 수 있고, 상기 획득한 값에 근거하여 제1 라이프타임을 업데이트할 수 있다. 전자 장치(100)는 상기 업데이트된 제1 라이프타임에 근거하여 정상적인 패킷 교환(예를 들어 패킷 전송 또는 패킷 수신 중 적어도 하나)을 수행할 수 있다.In operation 1040, the electronic device 100 may receive the second RA message from the wireless modem device 110. In operation 1045, the electronic device 100 may obtain a new value of the first lifetime (for example, one of the valid lifetime of an IP address or the router lifetime) from the second RA message, and the obtained value The first lifetime can be updated based on . The electronic device 100 may perform normal packet exchange (for example, at least one of packet transmission or packet reception) based on the updated first lifetime.

도 11은 일 실시예에 따라 네트워크 연결 정보를 요청하는 절차를 설명하기 위한 신호 흐름도이다. 실시예들에 따르면 후술되는 동작들 중 적어도 하나는 생략되거나 변형되거나 순서 변경될 수 있다. FIG. 11 is a signal flow diagram illustrating a procedure for requesting network connection information according to an embodiment. According to embodiments, at least one of the operations described below may be omitted, modified, or changed in order.

도 11을 참조하면, 동작 1102에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 데이터 세션과 관련된 적어도 하나의 라이프타임(예를 들어 IP 주소의 유효 라이프타임 및/또는 라우터 라이프타임)의 만료가 임박하였음을 검출할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 제1 라이프타임(예를 들어 IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 어느 하나)의 만료 이전의 지정된 시점까지 상기 라이프타임이 업데이트되지 않음을 검출할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 제1 라이프타임의 만료 이전의 상기 지정된 시점에서 상기 데이터 세션의 연결 상태가 정상적임을 확인할 수 있다.Referring to FIG. 11 , in operation 1102, the electronic device 100 (e.g., network monitor 608) determines at least one lifetime associated with a data session (e.g., the effective lifetime of an IP address and/or the router lifetime). ) can be detected that expiration is imminent. In one embodiment, the electronic device 100 (e.g., network monitor 608) is configured to It can be detected that the lifetime is not updated. In one embodiment, the electronic device 100 (eg, the network monitor 608) may confirm that the connection state of the data session is normal at the specified time before expiration of the first lifetime.

일 실시예에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 적어도 하나의 라이프타임에 근거하는 적어도 하나의 타이머가 종료됨을 검출할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 RA 메시지(예를 들어 동작 806의 RA 메시지)로부터 획득한 유효 라이프타임에 근거하는 제1 타이머가 종료됨을 검출할 수 있다. 제1 타이머는 상기 유효 라이프타임의 만료보다 지정된 값만큼 이전에 만료될 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 RA 메시지(예를 들어 동작 806의 RA 메시지)로부터 획득한 라우터 라이프타임에 근거하는 제2 타이머가 종료됨을 검출할 수 있다. 제2 타이머는 상기 라우터 라이프타임의 만료보다 지정된 값만큼 이전에 만료될 수 있다.In one embodiment, the electronic device 100 (e.g., network monitor 608) may detect that at least one timer based on at least one lifetime expires. In one embodiment, electronic device 100 (e.g., network monitor 608) may detect that a first timer based on a valid lifetime obtained from an RA message (e.g., the RA message of operation 806) has expired. there is. The first timer may expire by a specified value before the expiration of the effective lifetime. In one embodiment, the electronic device 100 (e.g., network monitor 608) may detect that a second timer based on the router lifetime obtained from the RA message (e.g., the RA message in operation 806) has expired. there is. The second timer may expire by a specified value before the expiration of the router lifetime.

동작 1104에서 전자 장치(100)(예를 들어 네트워크 모니터(608))는 WWAN 서비스 모듈(604)에게 IP 재구성이 필요함을 알리는 신호(예를 들어 WinRT API 명령어)를 전송할 수 있다. 일 실시예에서 상기 신호는 연결 상태의 정보를 포함하는 MBIM 메시지(예를 들어 MBIM_CID_IP_CONFIGURATION)를 포함할 수 있다. 동작 1106에서 전자 장치(100)(예를 들어 WWAN 서비스 모듈(604))는 TCP/IP 모듈(610)에게 RS 메시지 트리거를 위한 신호를 전송할 수 있다. In operation 1104, the electronic device 100 (e.g., network monitor 608) may transmit a signal (e.g., WinRT API command) notifying the WWAN service module 604 that IP reconfiguration is necessary. In one embodiment, the signal may include an MBIM message (eg, MBIM_CID_IP_CONFIGURATION) containing information about the connection state. In operation 1106, the electronic device 100 (eg, the WWAN service module 604) may transmit a signal for triggering an RS message to the TCP/IP module 610.

동작 1108에서 전자 장치(100)(예를 들어 TCP/IP 모듈(610))은 상기 RS 메시지 트리거에 응답하여 RS 메시지를 무선 모뎀 장치(110)를 통해 데이터 네트워크(120)(예를 들어 라우터(125))에게 전송할 수 있다. 동작 1110에서 전자 장치(100)(예를 들어 TCP/IP 모듈(610))는 상기 RS 메시지에 응답하는 RA 메시지(예를 들어 요청형 RA 메시지)를 라우터(125)로부터 수신할 수 있다.In operation 1108, the electronic device 100 (e.g., TCP/IP module 610) sends an RS message to the data network 120 (e.g., a router) through the wireless modem device 110 in response to the RS message trigger. It can be sent to 125)). In operation 1110, the electronic device 100 (eg, TCP/IP module 610) may receive an RA message (eg, requested RA message) in response to the RS message from the router 125.

동작 1112에서 전자 장치(100)(예를 들어 TCP/IP 모듈(610))는 상기 RA 메시지(예를 들어 요청형 RA 메시지)를 통해 획득한 유효 IP 주소 및/또는 라우터 라이프타임에 근거하여 상기 데이터 세션을 통해 정상적으로 패킷 전송을 수행할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 TCP/IP 모듈(610))는 상기 RA 메시지를 통해 획득한 네트워크 연결 정보(예를 들어 유효 라이프타임 및/또는 라우터 라이프타임)를 WWAN 서비스 모듈(604)와 공유할 수 있다. 일 실시예에서 전자 장치(100)(예를 들어 WWAN 모듈(604))는 상기 RA 메시지를 통해 획득한 네트워크 연결 정보(예를 들어 유효 라이프타임 및/또는 라우터 라이프타임)를 네트워크 모니터(608)와 공유할 수 있다.In operation 1112, the electronic device 100 (e.g., TCP/IP module 610) determines the IP address and/or router lifetime obtained through the RA message (e.g., request-type RA message). Packet transmission can be performed normally through a data session. In one embodiment, the electronic device 100 (e.g., TCP/IP module 610) transmits network connection information (e.g., effective lifetime and/or router lifetime) obtained through the RA message to the WWAN service module. You can share it with (604). In one embodiment, the electronic device 100 (e.g., WWAN module 604) displays network connection information (e.g., effective lifetime and/or router lifetime) obtained through the RA message through the network monitor 608. You can share it with.

일 실시예에서 본 개시의 실시예들에 따른 전자 장치(100)는 도 12에 도시된 전자 장치(1201)의 구성 요소들 중 적어도 하나를 포함할 수 있다.In one embodiment, the electronic device 100 according to embodiments of the present disclosure may include at least one of the components of the electronic device 1201 shown in FIG. 12 .

도 12는 다양한 실시예들에 따른 네트워크 환경(1200) 내의 전자 장치(1201)의 블록도이다. FIG. 12 is a block diagram of an electronic device 1201 in a network environment 1200 according to various embodiments.

도 12를 참조하면, 네트워크 환경(1200)에서 전자 장치(1201)는 제 1 네트워크(1298)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(1202)와 통신하거나, 또는 제 2 네트워크(1299)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(1204) 또는 서버(1208) 중 적어도 하나와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(1201)는 서버(1208)를 통하여 전자 장치(1204)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(1201)는 프로세서(1220), 메모리(1230), 입력 모듈(1250), 음향 출력 모듈(1255), 디스플레이 모듈(1260), 오디오 모듈(1270), 센서 모듈(1276), 인터페이스(1277), 연결 단자(1278), 햅틱 모듈(1279), 카메라 모듈(1280), 전력 관리 모듈(1288), 배터리(1289), 통신 모듈(1290), 가입자 식별 모듈(1296), 또는 안테나 모듈(1297)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(1201)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(1278))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(1276), 카메라 모듈(1280), 또는 안테나 모듈(1297))은 하나의 구성요소(예: 디스플레이 모듈(1260))로 통합될 수 있다.Referring to FIG. 12, in the network environment 1200, the electronic device 1201 communicates with the electronic device 1202 through a first network 1298 (e.g., a short-range wireless communication network) or a second network 1299. It is possible to communicate with at least one of the electronic device 1204 or the server 1208 through (e.g., a long-distance wireless communication network). According to one embodiment, the electronic device 1201 may communicate with the electronic device 1204 through the server 1208. According to one embodiment, the electronic device 1201 includes a processor 1220, a memory 1230, an input module 1250, an audio output module 1255, a display module 1260, an audio module 1270, and a sensor module ( 1276), interface (1277), connection terminal (1278), haptic module (1279), camera module (1280), power management module (1288), battery (1289), communication module (1290), subscriber identification module (1296) , or may include an antenna module 1297. In some embodiments, at least one of these components (eg, the connection terminal 1278) may be omitted, or one or more other components may be added to the electronic device 1201. In some embodiments, some of these components (e.g., sensor module 1276, camera module 1280, or antenna module 1297) are integrated into one component (e.g., display module 1260). It can be.

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

보조 프로세서(1223)는, 예를 들면, 메인 프로세서(1221)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(1221)를 대신하여, 또는 메인 프로세서(1221)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(1221)와 함께, 전자 장치(1201)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(1260), 센서 모듈(1276), 또는 통신 모듈(1290))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(1223)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(1280) 또는 통신 모듈(1290))의 일부로서 구현될 수 있다. 일 실시예에 따르면, 보조 프로세서(1223)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(1201) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(1208))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The auxiliary processor 1223 may, for example, act on behalf of the main processor 1221 while the main processor 1221 is in an inactive (e.g., sleep) state, or while the main processor 1221 is in an active (e.g., application execution) state. ), together with the main processor 1221, at least one of the components of the electronic device 1201 (e.g., the display module 1260, the sensor module 1276, or the communication module 1290) At least some of the functions or states related to can be controlled. According to one embodiment, coprocessor 1223 (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module 1280 or communication module 1290). there is. According to one embodiment, the auxiliary processor 1223 (eg, neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. Artificial intelligence models can be created through machine learning. This learning may be performed, for example, in the electronic device 1201 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 1208). Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited. An artificial intelligence model may include multiple artificial neural network layers. Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above. In addition to hardware structures, artificial intelligence models may additionally or alternatively include software structures.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

본 개시의 실시예들은 무선 모뎀 장치(110)(예를 들어 MBB 장치)를 사용하는 전자 장치(100)가 IP 주소의 유효 라이프타임 또는 라우터 라이프타임의 만료에 따라 셀룰러 데이터 통신이 불가능하게 되는 상태를 방지할 수 있다.Embodiments of the present disclosure are in a state in which the electronic device 100 using the wireless modem device 110 (e.g., MBB device) is unable to perform cellular data communication due to expiration of the valid lifetime of the IP address or the router lifetime. can be prevented.

본 개시의 실시예들에 따르면, 사용자가 전자 장치(100)를 직접 재부팅하거나 또는 셀룰러 통신을 비활성화한 후 다시 활성화하는 동작을 수행하지 않고 전자 장치(100)가 라이프타임의 만료 임박을 감지함에 근거하여 IP 재구성을 수행할 수 있다.According to embodiments of the present disclosure, the electronic device 100 detects the imminent expiration of the lifetime without the user directly rebooting the electronic device 100 or performing an operation of deactivating and then reactivating cellular communication. IP reconfiguration can be performed.

본 개시의 실시예들에 따르면 전자 장치(100)는 라이프타임의 만료 임박을 모니터링 및 검출하여 능동적으로 문제 상황을 복구할 수 있고, 사용자 동작 없이 끊김없이(seamless) 셀룰러 네트워크 연결을 정상적으로 유지할 수 있으며, 셀룰러 데이터 통신의 오류 복구에 대한 불편을 방지할 수 있다.According to embodiments of the present disclosure, the electronic device 100 can actively recover a problem situation by monitoring and detecting the imminent expiration of the lifetime, and can normally maintain a seamless cellular network connection without user action. , inconvenience caused by error recovery in cellular data communication can be prevented.

본 문서에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 본 문서의 기재로부터 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects that can be obtained from this document are not limited to the effects mentioned above, and other effects not mentioned can be clearly understood by those skilled in the art from the description of this document. There will be.

일 실시예들에 따른 전자 장치(100)는, 인터페이스(208) 및 상기 인터페이스와 기능적으로 연결되는 적어도 하나의 프로세서(204)를 포함할 수 있다. 상기 적어도 하나의 프로세서는, 상기 인터페이스를 통해 연결된 무선 모뎀 장치(110)를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 데이터 세션을 통해 제1 라우터 애드버타이즈먼트(RA) 메시지를 수신하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 제1 RA 메시지로부터 상기 데이터 세션을 위한 적어도 하나의 라이프타임을 획득하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치에게 IP 재구성을 요청하는 신호를 전송하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 IP 재구성을 요청하는 신호를 전송한 후 상기 무선 모뎀 장치로부터 제2 RA 메시지를 수신하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하도록 구성될 수 있다.The electronic device 100 according to one embodiment may include an interface 208 and at least one processor 204 functionally connected to the interface. The at least one processor may be configured to connect a data session for cellular data communication using the wireless modem device 110 connected through the interface. The at least one processor may be configured to receive a first router advertisement (RA) message through the data session. The at least one processor may be configured to obtain at least one lifetime for the data session from the first RA message. The at least one processor may be configured to determine whether the at least one lifetime is updated by a specified point in time before expiration of the at least one lifetime. The at least one processor may be configured to transmit a signal requesting IP reconfiguration to the wireless modem device if the at least one lifetime is not updated by the specified time before expiration of the at least one lifetime. . The at least one processor may be configured to receive a second RA message from the wireless modem device after transmitting the signal requesting IP reconfiguration. The at least one processor may be configured to update the at least one lifetime based on the second RA message.

일 실시예에서 상기 적어도 하나의 라이프타임은, IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 적어도 하나를 포함할 수 있다.In one embodiment, the at least one lifetime may include at least one of the valid lifetime of an IP address or the router lifetime.

일 실시예에서 상기 제2 RA 메시지는 비요청형 RA 메시지를 포함할 수 있다.In one embodiment, the second RA message may include a non-requested RA message.

일 실시예에서 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 라이프타임보다 지정된 값만큼 짧은 시간으로 설정되는 적어도 하나의 타이머를 구동하고, 상기 적어도 하나의 라이프타임의 새로운 값을 포함하는 제3 RA 메시지가 수신되면 상기 적어도 하나의 타이머를 재시작하고, 상기 적어도 하나의 타이머가 종료되면 상기 IP 재구성을 요청하는 신호를 전송하도록 구성될 수 있다.In one embodiment, the at least one processor drives at least one timer set to a time shorter than the at least one lifetime by a specified value, and sends a third RA message including a new value of the at least one lifetime. When received, the at least one timer may be restarted, and when the at least one timer expires, a signal requesting IP reconfiguration may be transmitted.

일 실시예에서 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점에서 상기 데이터 세션의 연결 상태가 정상적이면, 상기 IP 재구성을 요청하는 신호를 전송하도록 구성될 수 있다.In one embodiment, the at least one processor may be configured to transmit a signal requesting IP reconfiguration if the connection state of the data session is normal at a designated point in time before expiration of the at least one lifetime.

일 실시예에 따른 전자 장치(100)는, 인터페이스(208) 및 상기 인터페이스와 기능적으로 연결되는 적어도 하나의 프로세서(204)를 포함할 수 있다. 상기 적어도 하나의 프로세서는, 상기 인터페이스를 통해 연결된 무선 모뎀 장치(110)를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 데이터 세션을 통해 제1 라우터 애드버타이즈먼트(RA) 메시지를 수신하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 제1 RA 메시지로부터 상기 데이터 세션을 위한 적어도 하나의 라이프타임을 획득하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치를 통해 라우터에게 라우터 요청(RS) 메시지를 전송하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 RS 메시지를 전송한 후 상기 무선 모뎀 장치를 통해 상기 라우터로부터 제2 RA 메시지를 수신하도록 구성될 수 있다. 상기 적어도 하나의 프로세서는, 상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하도록 구성될 수 있다.The electronic device 100 according to one embodiment may include an interface 208 and at least one processor 204 functionally connected to the interface. The at least one processor may be configured to connect a data session for cellular data communication using the wireless modem device 110 connected through the interface. The at least one processor may be configured to receive a first router advertisement (RA) message through the data session. The at least one processor may be configured to obtain at least one lifetime for the data session from the first RA message. The at least one processor may be configured to determine whether the at least one lifetime is updated by a specified point in time before expiration of the at least one lifetime. The at least one processor is configured to transmit a router request (RS) message to the router through the wireless modem device if the at least one lifetime is not updated by the specified time before expiration of the at least one lifetime. It can be. The at least one processor may be configured to receive a second RA message from the router through the wireless modem device after transmitting the RS message. The at least one processor may be configured to update the at least one lifetime based on the second RA message.

일 실시예에서 상기 적어도 하나의 라이프타임은, IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 적어도 하나를 포함할 수 있다.In one embodiment, the at least one lifetime may include at least one of the valid lifetime of an IP address or the router lifetime.

일 실시예에서 상기 제2 RA 메시지는 요청형 RA 메시지를 포함할 수 있다.In one embodiment, the second RA message may include a request-type RA message.

일 실시예에서 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 라이프타임보다 지정된 값만큼 짧은 시간으로 설정되는 적어도 하나의 타이머를 구동하고, 상기 적어도 하나의 라이프타임의 새로운 값을 포함하는 제3 RA 메시지가 수신되면 상기 적어도 하나의 타이머를 재시작하고, 상기 적어도 하나의 타이머가 종료되면 상기 RS 메시지를 전송하도록 구성될 수 있다.In one embodiment, the at least one processor drives at least one timer set to a time shorter than the at least one lifetime by a specified value, and sends a third RA message including a new value of the at least one lifetime. When received, the at least one timer may be restarted, and when the at least one timer expires, the RS message may be transmitted.

일 실시예에서 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점에서 상기 데이터 세션의 연결 상태가 정상적이면, 상기 RS 메시지를 전송하도록 구성될 수 있다.In one embodiment, the at least one processor may be configured to transmit the RS message if the connection state of the data session is normal at the specified time before expiration of the at least one lifetime.

일 실시예에 따라 무선 모뎀 장치(110)와 연결되는 전자 장치(100)의 동작 방법은, 상기 무선 모뎀 장치를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하는 동작(705)을 포함할 수 있다. 상기 방법은 상기 데이터 세션을 통해 제1 라우터 애드버타이즈먼트(RA) 메시지를 수신하는 동작(710)을 포함할 수 있다. 상기 방법은 상기 제1 RA 메시지로부터 상기 데이터 세션을 위한 적어도 하나의 라이프타임을 획득하는 동작(715)을 포함할 수 있다. 상기 방법은 상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하는 동작(720,725,730)을 포함할 수 있다. 상기 방법은 상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치에게 IP 재구성을 요청하는 신호를 전송하는 동작(735)을 포함할 수 있다. 상기 방법은 상기 IP 재구성을 요청하는 신호를 전송한 후 상기 무선 모뎀 장치로부터 제2 RA 메시지를 수신하는 동작(740)을 포함할 수 있다. 상기 방법은 상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하는 동작(745)을 포함할 수 있다.According to one embodiment, a method of operating the electronic device 100 connected to the wireless modem device 110 may include an operation 705 of connecting a data session for cellular data communication using the wireless modem device. . The method may include an operation 710 of receiving a first router advertisement (RA) message through the data session. The method may include an operation 715 of obtaining at least one lifetime for the data session from the first RA message. The method may include operations 720, 725, and 730 of determining whether the at least one lifetime is updated by a specified point in time before expiration of the at least one lifetime. The method may include an operation 735 of transmitting a signal requesting IP reconfiguration to the wireless modem device if the at least one lifetime is not updated by the specified time before expiration of the at least one lifetime. there is. The method may include an operation 740 of receiving a second RA message from the wireless modem device after transmitting the signal requesting IP reconfiguration. The method may include an operation 745 of updating the at least one lifetime based on the second RA message.

일 실시예에서 상기 적어도 하나의 라이프타임은, IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 적어도 하나를 포함할 수 있다.In one embodiment, the at least one lifetime may include at least one of the valid lifetime of an IP address or the router lifetime.

일 실시예에서 상기 제2 RA 메시지는 비요청형 RA 메시지를 포함할 수 있다.In one embodiment, the second RA message may include a non-requested RA message.

일 실시예에서 상기 IP 재구성을 요청하는 신호를 전송하는 동작은, 상기 적어도 하나의 라이프타임보다 지정된 값만큼 짧은 시간으로 설정되는 적어도 하나의 타이머를 구동하는 동작과, 상기 적어도 하나의 라이프타임의 새로운 값을 포함하는 제3 RA 메시지가 수신되면 상기 적어도 하나의 타이머를 재시작하는 동작과, 상기 적어도 하나의 타이머가 종료되면 상기 IP 재구성을 요청하는 신호를 전송하도록 결정하는 동작을 포함할 수 있다.In one embodiment, the operation of transmitting the signal requesting IP reconfiguration includes driving at least one timer set to a time shorter than the at least one lifetime by a specified value, and setting a new timer of the at least one lifetime. The method may include restarting the at least one timer when a third RA message including the value is received, and determining to transmit a signal requesting IP reconfiguration when the at least one timer expires.

일 실시예에서 상기 IP 재구성을 요청하는 신호를 전송하는 동작은, 상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점에서 상기 데이터 세션의 연결 상태가 정상적이면, 상기 IP 재구성을 요청하는 신호를 전송하도록 결정하는 동작을 포함할 수 있다.In one embodiment, the operation of transmitting a signal requesting IP reconfiguration includes transmitting a signal requesting IP reconfiguration if the connection state of the data session is normal at the specified point in time before expiration of the at least one lifetime. It may include actions to decide to do.

일 실시예에 따라 무선 모뎀 장치(110)와 연결되는 전자 장치(100)의 동작 방법은, 상기 무선 모뎀 장치를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하는 동작(1005)을 포함할 수 있다. 상기 방법은 상기 데이터 세션을 통해 제1 라우터 애드버타이즈먼트(RA) 메시지를 수신하는 동작(1010)을 포함할 수 있다. 상기 방법은 상기 제1 RA 메시지로부터 상기 데이터 세션을 위한 적어도 하나의 라이프타임을 획득하는 동작(1015)을 포함할 수 있다. 상기 방법은 상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하는 동작(1020,1025,1030)을 포함할 수 있다. 상기 방법은 상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치를 통해 라우터에게 라우터 요청(RS) 메시지를 전송하는 동작(1035)을 포함할 수 있다. 상기 방법은 상기 RS 메시지를 전송한 후 상기 무선 모뎀 장치를 통해 상기 라우터로부터 제2 RA 메시지를 수신하는 동작(1040)을 포함할 수 있다. 상기 방법은 상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하는 동작(1045)을 포함할 수 있다.According to one embodiment, a method of operating the electronic device 100 connected to the wireless modem device 110 may include an operation 1005 of connecting a data session for cellular data communication using the wireless modem device. . The method may include an operation 1010 of receiving a first router advertisement (RA) message through the data session. The method may include an operation 1015 of obtaining at least one lifetime for the data session from the first RA message. The method may include operations 1020, 1025, and 1030 of determining whether the at least one lifetime is updated by a specified point in time before expiration of the at least one lifetime. The method includes an operation (1035) of transmitting a router request (RS) message to a router through the wireless modem device if the at least one lifetime is not updated by the specified time before expiration of the at least one lifetime. It can be included. The method may include an operation 1040 of receiving a second RA message from the router through the wireless modem device after transmitting the RS message. The method may include an operation 1045 of updating the at least one lifetime based on the second RA message.

일 실시예에서 상기 적어도 하나의 라이프타임은, IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 적어도 하나를 포함할 수 있다.In one embodiment, the at least one lifetime may include at least one of the valid lifetime of an IP address or the router lifetime.

일 실시예에서 상기 제2 RA 메시지는 요청형 RA 메시지를 포함할 수 있다.In one embodiment, the second RA message may include a request-type RA message.

일 실시예에서 상기 RS 메시지를 전송하는 동작은, 상기 적어도 하나의 라이프타임보다 지정된 값만큼 짧은 시간으로 설정되는 적어도 하나의 타이머를 구동하는 동작과, 상기 적어도 하나의 라이프타임의 새로운 값을 포함하는 제3 RA 메시지가 수신되면 상기 적어도 하나의 타이머를 재시작하는 동작과, 상기 적어도 하나의 타이머가 종료되면 상기 RS 메시지를 전송하도록 결정하는 동작을 포함할 수 있다.In one embodiment, the operation of transmitting the RS message includes driving at least one timer set to a time shorter than the at least one lifetime by a specified value, and setting a new value of the at least one lifetime. It may include restarting the at least one timer when a third RA message is received, and determining to transmit the RS message when the at least one timer expires.

일 실시예에서 상기 RS 메시지를 전송하는 동작은, 상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점에서 상기 데이터 세션의 연결 상태가 정상적이면, 상기 RS 메시지를 전송하도록 결정하는 동작을 포함할 수 있다.In one embodiment, the operation of transmitting the RS message may include determining to transmit the RS message if the connection state of the data session is normal at the specified time before expiration of the at least one lifetime. there is.

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

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

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

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

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

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

Claims (20)

전자 장치(100)에 있어서,
인터페이스(208); 및
상기 인터페이스와 기능적으로 연결되는 적어도 하나의 프로세서(204)를 포함하고, 상기 적어도 하나의 프로세서는,
상기 인터페이스를 통해 연결된 무선 모뎀 장치(110)를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하고,
상기 데이터 세션을 통해 제1 라우터 애드버타이즈먼트(RA) 메시지를 수신하고,
상기 제1 RA 메시지로부터 상기 데이터 세션을 위한 적어도 하나의 라이프타임을 획득하고,
상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하고,
상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치에게 IP(internet protocol) 재구성을 요청하는 신호를 전송하고,
상기 IP 재구성을 요청하는 신호를 전송한 후 상기 무선 모뎀 장치로부터 제2 RA 메시지를 수신하고,
상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하도록 구성되는 것을 특징으로 하는 전자 장치.
In the electronic device 100,
interface(208); and
At least one processor 204 functionally connected to the interface, wherein the at least one processor includes:
Connecting a data session for cellular data communication using a wireless modem device 110 connected through the interface,
Receive a first router advertisement (RA) message through the data session,
Obtain at least one lifetime for the data session from the first RA message,
Determine whether the at least one lifetime is updated by a specified point before expiration of the at least one lifetime,
If the at least one lifetime is not updated by the specified time before expiration of the at least one lifetime, transmitting a signal requesting IP (internet protocol) reconfiguration to the wireless modem device,
After transmitting the signal requesting IP reconfiguration, receive a second RA message from the wireless modem device,
An electronic device configured to update the at least one lifetime based on the second RA message.
제 1 항에 있어서, 상기 적어도 하나의 라이프타임은,
IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 적어도 하나를 포함하는 것을 특징으로 하는 전자 장치.
The method of claim 1, wherein the at least one lifetime is:
An electronic device comprising at least one of the valid lifetime of an IP address or the router lifetime.
제 1 항 또는 제 2 항에 있어서, 상기 제2 RA 메시지는,
비요청형(Unsolicited) RA 메시지를 포함하는 것을 특징으로 하는 전자 장치.
The method of claim 1 or 2, wherein the second RA message is:
An electronic device comprising an unsolicited RA message.
제 1 항 내지 제 3 항 중 어느 한 항에 있어서, 상기 적어도 하나의 프로세서는,
상기 적어도 하나의 라이프타임보다 지정된 값만큼 짧은 시간으로 설정되는 적어도 하나의 타이머를 구동하고,
상기 적어도 하나의 라이프타임의 새로운 값을 포함하는 제3 RA 메시지가 수신되면 상기 적어도 하나의 타이머를 재시작하고,
상기 적어도 하나의 타이머가 종료되면 상기 IP 재구성을 요청하는 신호를 전송하도록 구성되는 것을 특징으로 하는 전자 장치.
The method of any one of claims 1 to 3, wherein the at least one processor:
Driving at least one timer set to a time shorter than the at least one lifetime by a specified value,
Restart the at least one timer when a third RA message containing a new value of the at least one lifetime is received,
An electronic device configured to transmit a signal requesting IP reconfiguration when the at least one timer expires.
제 1 항 내지 제 4 항 중 어느 한 항에 있어서, 상기 적어도 하나의 프로세서는,
상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점에서 상기 데이터 세션의 연결 상태가 정상적이면, 상기 IP 재구성을 요청하는 신호를 전송하도록 구성되는 것을 특징으로 하는 전자 장치.
The method of any one of claims 1 to 4, wherein the at least one processor:
If the connection state of the data session is normal at the specified time before expiration of the at least one lifetime, the electronic device is configured to transmit a signal requesting IP reconfiguration.
전자 장치(100)에 있어서,
인터페이스(208); 및
상기 인터페이스와 기능적으로 연결되는 적어도 하나의 프로세서(204)를 포함하고, 상기 적어도 하나의 프로세서는,
상기 인터페이스를 통해 연결된 무선 모뎀 장치(110)를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하고,
상기 데이터 세션을 통해 제1 라우터 애드버타이즈먼트(RA) 메시지를 수신하고,
상기 제1 RA 메시지로부터 상기 데이터 세션을 위한 적어도 하나의 라이프타임을 획득하고,
상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하고,
상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치를 통해 라우터에게 라우터 요청(RS) 메시지를 전송하고,
상기 RS 요청 메시지를 전송한 후 상기 무선 모뎀 장치를 통해 상기 라우터로부터 제2 RA 메시지를 수신하고,
상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하도록 구성되는 것을 특징으로 하는 전자 장치.
In the electronic device 100,
interface(208); and
At least one processor 204 functionally connected to the interface, wherein the at least one processor includes:
Connecting a data session for cellular data communication using a wireless modem device 110 connected through the interface,
Receive a first router advertisement (RA) message through the data session,
Obtain at least one lifetime for the data session from the first RA message,
Determine whether the at least one lifetime is updated by a specified point before expiration of the at least one lifetime,
If the at least one lifetime is not updated by the specified time before expiration of the at least one lifetime, transmitting a router request (RS) message to the router through the wireless modem device,
After transmitting the RS request message, receive a second RA message from the router through the wireless modem device,
An electronic device configured to update the at least one lifetime based on the second RA message.
제 6 항에 있어서, 상기 적어도 하나의 라이프타임은,
IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 적어도 하나를 포함하는 것을 특징으로 하는 전자 장치.
The method of claim 6, wherein the at least one lifetime is:
An electronic device comprising at least one of the valid lifetime of an IP address or the router lifetime.
제 6 항 또는 제 7 항에 있어서, 상기 제2 RA 메시지는,
요청형(solicited) RA 메시지를 포함하는 것을 특징으로 하는 전자 장치.
The method of claim 6 or 7, wherein the second RA message is:
An electronic device comprising a solicited RA message.
제 6 항 내지 제 8 항 중 어느 한 항에 있어서, 상기 적어도 하나의 프로세서는,
상기 적어도 하나의 라이프타임보다 지정된 값만큼 짧은 시간으로 설정되는 적어도 하나의 타이머를 구동하고,
상기 적어도 하나의 라이프타임의 새로운 값을 포함하는 제3 RA 메시지가 수신되면 상기 적어도 하나의 타이머를 재시작하고,
상기 적어도 하나의 타이머가 종료되면 상기 RS 메시지를 전송하도록 구성되는 것을 특징으로 하는 전자 장치.
The method of any one of claims 6 to 8, wherein the at least one processor:
Driving at least one timer set to a time shorter than the at least one lifetime by a specified value,
Restart the at least one timer when a third RA message containing a new value of the at least one lifetime is received,
An electronic device configured to transmit the RS message when the at least one timer expires.
제 6 항 내지 제 9 항 중 어느 한 항에 있어서, 상기 적어도 하나의 프로세서는,
상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점에서 상기 데이터 세션의 연결 상태가 정상적이면, 상기 RS 메시지를 전송하도록 구성되는 것을 특징으로 하는 전자 장치.
The method of any one of claims 6 to 9, wherein the at least one processor:
The electronic device is configured to transmit the RS message if the connection state of the data session is normal at the specified time before expiration of the at least one lifetime.
무선 모뎀 장치(110)와 연결되는 전자 장치(100)의 동작 방법에 있어서,
상기 무선 모뎀 장치를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하는 동작(705)과,
상기 데이터 세션을 통해 제1 라우터 애드버타이즈먼트(RA) 메시지를 수신하는 동작(710)과,
상기 제1 RA 메시지로부터 상기 데이터 세션을 위한 적어도 하나의 라이프타임을 획득하는 동작(715)과,
상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하는 동작(720,725,730)과,
상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치에게 IP(internet protocol) 재구성을 요청하는 신호를 전송하는 동작(735)과,
상기 IP 재구성을 요청하는 신호를 전송한 후 상기 무선 모뎀 장치로부터 제2 RA 메시지를 수신하는 동작(740)과,
상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하는 동작(745)을 포함하는 것을 특징으로 하는 방법.
In a method of operating an electronic device 100 connected to a wireless modem device 110,
An operation (705) of connecting a data session for cellular data communication using the wireless modem device;
An operation 710 of receiving a first router advertisement (RA) message through the data session;
An operation 715 of obtaining at least one lifetime for the data session from the first RA message;
Operations 720, 725, and 730 of determining whether the at least one lifetime is updated by a specified point before expiration of the at least one lifetime;
If the at least one lifetime is not updated by the specified time before the expiration of the at least one lifetime, an operation 735 of transmitting a signal requesting IP (internet protocol) reconfiguration to the wireless modem device;
An operation 740 of receiving a second RA message from the wireless modem device after transmitting the IP reconfiguration request signal;
A method comprising updating the at least one lifetime based on the second RA message (745).
제 11 항에 있어서, 상기 적어도 하나의 라이프타임은,
IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 적어도 하나를 포함하는 것을 특징으로 하는 방법.
The method of claim 11, wherein the at least one lifetime is:
A method comprising at least one of the valid lifetime of an IP address or the router lifetime.
제 11 항 또는 제 12 항에 있어서, 상기 제2 RA 메시지는,
비요청형(Unsolicited) RA 메시지를 포함하는 것을 특징으로 하는 방법.
The method of claim 11 or 12, wherein the second RA message is:
A method characterized by including an unsolicited RA message.
제 11 항 내지 제 13 항 중 어느 한 항에 있어서, 상기 IP 재구성을 요청하는 신호를 전송하는 동작은,
상기 적어도 하나의 라이프타임보다 지정된 값만큼 짧은 시간으로 설정되는 적어도 하나의 타이머를 구동하는 동작과,
상기 적어도 하나의 라이프타임의 새로운 값을 포함하는 제3 RA 메시지가 수신되면 상기 적어도 하나의 타이머를 재시작하는 동작과,
상기 적어도 하나의 타이머가 종료되면 상기 IP 재구성을 요청하는 신호를 전송하도록 결정하는 동작을 포함하는 것을 특징으로 하는 방법.
The method of any one of claims 11 to 13, wherein the operation of transmitting a signal requesting IP reconfiguration includes:
An operation of driving at least one timer set to a time shorter than the at least one lifetime by a specified value;
restarting the at least one timer when a third RA message containing a new value of the at least one lifetime is received;
and determining to transmit a signal requesting IP reconfiguration when the at least one timer expires.
제 11 항 내지 제 14 항 중 어느 한 항에 있어서, 상기 IP 재구성을 요청하는 신호를 전송하는 동작은,
상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점에서 상기 데이터 세션의 연결 상태가 정상적이면, 상기 IP 재구성을 요청하는 신호를 전송하도록 결정하는 동작을 포함하는 것을 특징으로 하는 방법.
The method of any one of claims 11 to 14, wherein the operation of transmitting a signal requesting IP reconfiguration includes:
and determining to transmit a signal requesting IP reconfiguration if the connection state of the data session is normal at the specified time before expiration of the at least one lifetime.
무선 모뎀 장치(110)와 연결되는 전자 장치(100)의 동작 방법에 있어서,
상기 무선 모뎀 장치를 사용하여 셀룰러 데이터 통신을 위한 데이터 세션을 연결하는 동작(1005)과,
상기 데이터 세션을 통해 제1 라우터 애드버타이즈먼트(RA) 메시지를 수신하는 동작(1010)과,
상기 제1 RA 메시지로부터 상기 데이터 세션을 위한 적어도 하나의 라이프타임을 획득하는 동작(1015)과,
상기 적어도 하나의 라이프타임의 만료 이전의 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되는지를 판단하는 동작(1020,1025,1030)과,
상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점까지 상기 적어도 하나의 라이프타임이 업데이트되지 않으면, 상기 무선 모뎀 장치를 통해 라우터에게 라우터 요청(RS) 메시지를 전송하는 동작(1035)과,
상기 RS 메시지를 전송한 후 상기 무선 모뎀 장치를 통해 상기 라우터로부터 제2 RA 메시지를 수신하는 동작(1040)과,
상기 제2 RA 메시지에 근거하여 상기 적어도 하나의 라이프타임을 업데이트하는 동작(1045)을 포함하는 것을 특징으로 하는 방법.
In a method of operating an electronic device 100 connected to a wireless modem device 110,
An operation (1005) of connecting a data session for cellular data communication using the wireless modem device;
An operation (1010) of receiving a first router advertisement (RA) message through the data session;
An operation 1015 of obtaining at least one lifetime for the data session from the first RA message;
An operation (1020, 1025, 1030) of determining whether the at least one lifetime is updated by a specified point before expiration of the at least one lifetime;
If the at least one lifetime is not updated by the specified time before expiration of the at least one lifetime, transmitting a router request (RS) message to the router through the wireless modem device (1035);
An operation (1040) of receiving a second RA message from the router through the wireless modem device after transmitting the RS message;
A method comprising updating the at least one lifetime based on the second RA message (1045).
제 16 항에 있어서, 상기 적어도 하나의 라이프타임은,
IP 주소의 유효 라이프타임 또는 라우터 라이프타임 중 적어도 하나를 포함하는 것을 특징으로 하는 방법.
17. The method of claim 16, wherein the at least one lifetime is:
A method comprising at least one of the valid lifetime of an IP address or the router lifetime.
제 16 항 또는 제 17 항에 있어서, 상기 제2 RA 메시지는
요청형(solicited) RA 메시지를 포함하는 것을 특징으로 하는 방법.
The method of claim 16 or 17, wherein the second RA message is
A method characterized by including a solicited RA message.
제 16 항 내지 제 18 항 중 어느 한 항에 있어서, 상기 RS 메시지를 전송하는 동작은,
상기 적어도 하나의 라이프타임보다 지정된 값만큼 짧은 시간으로 설정되는 적어도 하나의 타이머를 구동하는 동작과,
상기 적어도 하나의 라이프타임의 새로운 값을 포함하는 제3 RA 메시지가 수신되면 상기 적어도 하나의 타이머를 재시작하는 동작과,
상기 적어도 하나의 타이머가 종료되면 상기 RS 메시지를 전송하도록 결정하는 동작을 포함하는 것을 특징으로 하는 방법.
The method of any one of claims 16 to 18, wherein the operation of transmitting the RS message comprises:
An operation of driving at least one timer set to a time shorter than the at least one lifetime by a specified value;
restarting the at least one timer when a third RA message containing a new value of the at least one lifetime is received;
and determining to transmit the RS message when the at least one timer expires.
제 16 항 내지 제 19 항 중 어느 한 항에 있어서, 상기 RS 메시지를 전송하는 동작은,
상기 적어도 하나의 라이프타임의 만료 이전의 상기 지정된 시점에서 상기 데이터 세션의 연결 상태가 정상적이면, 상기 RS 메시지를 전송하도록 결정하는 동작을 포함하는 것을 특징으로 하는 방법.
The method of any one of claims 16 to 19, wherein the operation of transmitting the RS message comprises:
and determining to transmit the RS message if the connection state of the data session is normal at the specified time before expiration of the at least one lifetime.
KR1020220145460A 2022-10-06 2022-11-03 Electronic device for performing data communication and method of operating the same KR20240048436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/KR2023/013322 WO2024076010A1 (en) 2022-10-06 2023-09-06 Electronic device for performing data communication and operation method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20220127533 2022-10-06
KR1020220127533 2022-10-06

Publications (1)

Publication Number Publication Date
KR20240048436A true KR20240048436A (en) 2024-04-15

Family

ID=90715993

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220145460A KR20240048436A (en) 2022-10-06 2022-11-03 Electronic device for performing data communication and method of operating the same

Country Status (1)

Country Link
KR (1) KR20240048436A (en)

Similar Documents

Publication Publication Date Title
KR102482670B1 (en) An electronic device for transmitting and receiving data in a wireless communication system and a method thereof
EP3709685B1 (en) Method for establishing wireless communication link and electronic device supporting same
US11337058B2 (en) Electronic device and method for operating thereof
US11903062B2 (en) Method for operating application requiring communication with external device, and electronic device therefor
KR102632536B1 (en) Electronic device for transmitting response message in bluetooth network environment and method thereof
KR20240048436A (en) Electronic device for performing data communication and method of operating the same
CN111818190B (en) Electronic device for supporting low latency Domain Name System (DNS) processing
EP3923537B1 (en) Method for sharing channel information in bluetooth network, and electronic device therefor
KR20220168407A (en) Electronic device and method thereof
WO2024076010A1 (en) Electronic device for performing data communication and operation method thereof
US11949652B2 (en) Transmitting router advertisements based on identification information of external devices
US20230345560A1 (en) Wireless communication device and wireless communication method
US20230147410A1 (en) Relating to access to services after a disaster condition
US20230180163A1 (en) Electronic device for synchronization in d2d communication environment and method therefor
KR20220135623A (en) Electronic device for allocating ip address of an external electronic device and method for the same
KR20240045030A (en) Electronic device multiple sim and method for operating thereof
KR20240039267A (en) Electronic device including a plurality of subscriber identity modules and operating method thereof
KR20230056963A (en) Electronic device for performing sa query in wlan system and operating method thereof
US20200092896A1 (en) Electronic device for preventing packet drop for uplink transmission
KR20210155545A (en) Communication method based on paried device information and electronic device therefor
KR20240017718A (en) Electronic device for communicating via bluetooth connection
KR20240047869A (en) Electronic device and method for controlling cloud connection of external electronic device in electronic device
KR20230013412A (en) Electronic device for performing medium synchronization of a link and method for the same
KR20230055589A (en) Electronic device for providing rcs function and operating method thereof
KR20240053493A (en) Electronic device for data communication in wireless communication system and operating method thereof