KR20210133017A - Electronic device performing integrity verification and method for operating thereof - Google Patents

Electronic device performing integrity verification and method for operating thereof Download PDF

Info

Publication number
KR20210133017A
KR20210133017A KR1020200051664A KR20200051664A KR20210133017A KR 20210133017 A KR20210133017 A KR 20210133017A KR 1020200051664 A KR1020200051664 A KR 1020200051664A KR 20200051664 A KR20200051664 A KR 20200051664A KR 20210133017 A KR20210133017 A KR 20210133017A
Authority
KR
South Korea
Prior art keywords
electronic device
hfn
network
processor
count
Prior art date
Application number
KR1020200051664A
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 KR1020200051664A priority Critical patent/KR20210133017A/en
Priority to PCT/KR2021/004109 priority patent/WO2021221329A1/en
Publication of KR20210133017A publication Critical patent/KR20210133017A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/10Integrity
    • H04W12/106Packet or message integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/10Integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

According to various embodiments, an electronic device includes at least one processor. The at least one processor can be configured to receive a first message from a network, perform deciphering on a first part of the first message, perform a first integrity check on a second part for confirming the integrity of the deciphered first part, and determine, based on a result of the first integrity check, whether there is a mismatch between a hyper frame number (HFN) of the electronic device and an HFN of the network. Other embodiments are also possible.

Description

무결성 검사를 수행하는 전자 장치 및 그 동작 방법{ELECTRONIC DEVICE PERFORMING INTEGRITY VERIFICATION AND METHOD FOR OPERATING THEREOF}Electronic device for performing integrity check and method of operation thereof

다양한 실시예는 무결성 검사를 수행하는 전자 장치 및 그 동작 방법에 관한 것이다.Various embodiments relate to an electronic device that performs an integrity check and a method of operating the same.

최근 이동통신 기술의 발전으로 다양한 기능을 가지는 휴대 단말기의 사용이 보편화됨에 따라, 증가 추세에 있는 무선 데이터 트래픽 수요를 충족시키기 위해 5G 통신 시스템을 개발하기 위한 노력이 이루어지고 있다. 5G 통신 시스템은 높은 데이터 전송률을 달성하기 위해, 보다 빠른 데이터 전송 속도를 제공할 수 있도록, 3G와 LTE에서 사용하던 주파수 대역(예: 6GHz 이하 대역)에 추가하여, 주파수가 더 높은 대역(예: 6GHz 초과 대역)에서의 구현도 고려되고 있다.As the use of portable terminals having various functions has become common due to the recent development of mobile communication technology, efforts are being made to develop a 5G communication system to meet the increasing demand for wireless data traffic. In addition to the frequency bands used by 3G and LTE (e.g., bands below 6 GHz), the 5G communication system provides a higher frequency band (e.g., implementations in bands above 6 GHz) are also being considered.

사용자 장치(user equipment: UE)는, 네트워크와 패킷을 송수신할 수 있다. 사용자 장치 및 네트워크 사이에서, PDCP(packet data convergence protocol) PDU(protocol data unit)에 기반한 패킷이 송수신될 수 있다. UL(uplink) 및 DL(downlink)에 대하여 PDCP PDU에는 HFN(hyper frame number) 값이 설정된다. HFN 값과 PDCP PDU의 헤더(header)에 포함되는 SN(sequence number)에 기반하여 카운트(COUNT)가 설정된다. 사용자 장치 및/또는 네트워크는, 카운트를 사용하여 PDCP PDU의 in-order delivery를 위한 동작을 수행할 수 있다. 사용자 장치 및/또는 네트워크는, 카운트를 사용하여 무결성(integrity) 검증 및/또는 ciphering/deciphering을 수행할 수 있다.A user equipment (UE) may transmit and receive packets to and from a network. A packet based on a packet data convergence protocol (PDCP) protocol data unit (PDU) may be transmitted and received between the user equipment and the network. For uplink (UL) and downlink (DL), a hyper frame number (HFN) value is set in the PDCP PDU. A count (COUNT) is set based on the HFN value and a sequence number (SN) included in the header of the PDCP PDU. The user equipment and/or the network may use the count to perform an operation for in-order delivery of the PDCP PDU. The user device and/or the network may use the count to perform integrity verification and/or ciphering/deciphering.

사용자 장치와 네트워크가 통신을 수행하는 경우, 송신 측에서 관리하는 HFN과, 수신 측에서 관리하는 HFN이 차이 나는 경우가 발생할 수 있다. 만약, HFN가 차이가 나는 경우에는, deciphering 및/또는 무결성 검증이 실패할 수 있다. HFN에 의하여 카운트가 설정될 수 있으므로, 송신 주체의 HFN과 수신 주체의 HFN의 차이는, 송신 주체의 카운트 및 수신 주체의 카운트의 차이를 야기할 수 있다. 특히, PDU 내의 SN에 오류가 발생하지 않더라도, 카운트의 차이가 야기될 수 있다. 카운트의 차이에 따라, deciphering 및/또는 무결성 검증이 실패하는 경우, 송수신되는 패킷이 폐기될 수 있다.When the user equipment and the network perform communication, there may be a case where the HFN managed by the transmitter and the HFN managed by the receiver are different. If the HFNs are different, deciphering and/or integrity verification may fail. Since the count may be set by the HFN, a difference between the HFN of the transmitting entity and the HFN of the receiving entity may cause a difference between the count of the transmitting entity and the count of the receiving entity. In particular, even if an error does not occur in the SN in the PDU, a difference in count may be caused. Depending on the difference in counts, when deciphering and/or integrity verification fails, a transmitted/received packet may be discarded.

다양한 실시예에 따른 전자 장치 및 그 동작 방법은, 송신 주체 및 수신 주체 각각에 대응하는 HFN이 불일치함을 확인하여, 불일치 해소를 위한 동작을 수행할 수 있다.The electronic device and the method of operating the same according to various embodiments of the present disclosure may perform an operation for resolving the inconsistency by checking that HFNs corresponding to each of the transmitting and receiving subjects do not match.

다양한 실시예에 따라서, 전자 장치는, 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 네트워크로부터 제 1 메시지를 수신하고, 상기 제 1 메시지의 제 1 부분에 대하여 deciphering을 수행하고, 상기 deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 제 1 무결성 검사를 수행하고, 상기 제 1 무결성 검사의 결과에 기반하여, 상기 전자 장치의 HFN(hyper frame number) 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하도록 설정될 수 있다. 그 밖의 다양한 실시예가 가능하다.According to various embodiments, an electronic device includes at least one processor, wherein the at least one processor receives a first message from a network, performs deciphering on a first portion of the first message, and A first integrity check is performed on a second part for confirming the integrity of the deciphered first part, and based on the result of the first integrity check, a hyper frame number (HFN) of the electronic device and an HFN of the network It can be set to determine whether there is a discrepancy between them. Various other embodiments are possible.

다양한 실시예에 따라서, 전자 장치의 동작 방법은, 네트워크로부터 제 1 메시지를 수신하는 동작, 상기 제 1 메시지의 제 1 부분에 대하여 deciphering을 수행하는 동작, 상기 deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 제 1 무결성 검사를 수행하는 동작, 및 상기 제 1 무결성 검사의 결과에 기반하여, 상기 전자 장치의 HFN(hyper frame number) 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하는 동작을 포함할 수 있다.According to various embodiments, a method of operating an electronic device includes receiving a first message from a network, performing deciphering on a first part of the first message, and checking the integrity of the deciphered first part. performing a first integrity check on the second part for may include.

다양한 실시예에 따라서, 송신 주체 및 수신 주체 각각에 대응하는 HFN이 불일치함을 확인하여, 불일치 해소를 위한 동작을 수행할 수 있는 전자 장치 및 그 동작 방법이 제공될 수 있다. 이에 따라, HFN 불일치에 따른 패킷의 폐기가 감소할 수 있다.According to various embodiments, an electronic device capable of performing an operation for resolving inconsistency by checking that HFNs corresponding to a transmitting entity and a receiving entity do not match may be provided, and an operating method thereof. Accordingly, packet discard due to HFN mismatch may be reduced.

도 1은, 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2a는 다양한 실시예들에 따른, 네트워크 통신 및 5G 네트워크 통신을 지원하기 위한 전자 장치의 블록도이다.
도 3은 다양한 실시예에 따른 프로토콜 구조를 도시한다.
도 4는, 다양한 실시예에 따른 PDCP 계층의 동작을 설명하기 위한 도면이다.
도 5a는 다양한 실시예에 따른 ciphering 및 deciphering 과정을 설명하기 위한 도면이다.
도 5b는 다양한 실시예에 따른 카운트의 포맷을 도시한다.
도 5c는 다양한 실시예에 따른 무결성 검증 과정을 설명하기 위한 도면이다.
도 6a는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 6b는, 다양한 실시예에 따른 PDCP 상태 보고(PDCP status report)를 위한 PDCP 제어 PDU(PDCP control PDU) 포맷을 도시한다.
도 7은 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 8a는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 8b는 다양한 실시예에 따른 PDCP 데이터 PDU의 포맷을 도시한다.
도 9는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 10a는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 10b는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 11은 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 12a는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 12b는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 13은 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 14a는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 14b는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 15는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 16a 및 16b는, 다양한 실시예에 따른 수신되는 PDU 및 카운트에 대한 예시이다.
도 17은 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 18은 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
도 19는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.
1 is a block diagram of an electronic device in a network environment, according to various embodiments of the present disclosure;
2A is a block diagram of an electronic device for supporting network communication and 5G network communication, according to various embodiments of the present disclosure;
3 illustrates a protocol structure according to various embodiments.
4 is a diagram for explaining an operation of a PDCP layer according to various embodiments.
5A is a view for explaining a ciphering and deciphering process according to various embodiments.
5B illustrates a format of a count in accordance with various embodiments.
5C is a diagram for explaining an integrity verification process according to various embodiments.
6A is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
6B illustrates a PDCP control PDU (PDCP control PDU) format for a PDCP status report according to various embodiments.
7 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
8A is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
8B illustrates a format of a PDCP data PDU according to various embodiments.
9 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
10A is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
10B is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
11 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
12A is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
12B is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
13 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
14A is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
14B is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
15 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
16A and 16B are examples of received PDUs and counts according to various embodiments.
17 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
18 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;
19 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments. Referring to FIG. 1 , in a network environment 100 , an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input device 150 , a sound output device 155 , a display device 160 , an audio module 170 , and a sensor module ( 176 , interface 177 , haptic module 179 , camera module 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or antenna module 197 . ) may be included. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as one integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).

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

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. The auxiliary processor 123 may be, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display device 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the coprocessor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 180 or the communication module 190). have.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 and 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or a part of operations executed in the electronic device 101 may be executed in one or more of the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. The one or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, or client-server computing technology may be used.

도 2a는 다양한 실시예들에 따른, 네트워크 통신 및 5G 네트워크 통신을 지원하기 위한 전자 장치(101)의 블록도(200)이다. 도 2a를 참조하면, 전자 장치(101)는 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 제 1 radio frequency integrated circuit(RFIC)(222), 제 2 RFIC(224), 제 3 RFIC(226), 제 4 RFIC(228), 제 1 radio frequency front end(RFFE)(232), 제 2 RFFE(234), 제 1 안테나 모듈(242), 제 2 안테나 모듈(244), 및 안테나(248)를 포함할 수 있다. 전자 장치(101)는 프로세서(120) 및 메모리(130)를 더 포함할 수 있다. 네트워크(199)는 제 1 네트워크(292)와 제2 네트워크(294)를 포함할 수 있다. 다른 실시예에 따르면, 전자 장치(101)는 도 1에 기재된 부품들 중 적어도 하나의 부품을 더 포함할 수 있고, 네트워크(199)는 적어도 하나의 다른 네트워크를 더 포함할 수 있다. 일실시예에 따르면, 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 제 1 RFIC(222), 제 2 RFIC(224), 제 4 RFIC(228), 제 1 RFFE(232), 및 제 2 RFFE(234)는 무선 통신 모듈(192)의 적어도 일부를 형성할 수 있다. 다른 실시예에 따르면, 제 4 RFIC(228)는 생략되거나, 제 3 RFIC(226)의 일부로서 포함될 수 있다. 2A is a block diagram 200 of an electronic device 101 for supporting network communication and 5G network communication, according to various embodiments. Referring to FIG. 2A , the electronic device 101 includes a first communication processor 212 , a second communication processor 214 , a first radio frequency integrated circuit (RFIC) 222 , a second RFIC 224 , and a third RFIC 226 , a fourth RFIC 228 , a first radio frequency front end (RFFE) 232 , a second RFFE 234 , a first antenna module 242 , a second antenna module 244 , and an antenna (248). The electronic device 101 may further include a processor 120 and a memory 130 . The network 199 may include a first network 292 and a second network 294 . According to another embodiment, the electronic device 101 may further include at least one component among the components illustrated in FIG. 1 , and the network 199 may further include at least one other network. According to one embodiment, a first communication processor 212 , a second communication processor 214 , a first RFIC 222 , a second RFIC 224 , a fourth RFIC 228 , a first RFFE 232 , and the second RFFE 234 may form at least a part of the wireless communication module 192 . According to another embodiment, the fourth RFIC 228 may be omitted or may be included as a part of the third RFIC 226 .

제 1 커뮤니케이션 프로세서(212)는 제 1 네트워크(292)와의 무선 통신에 사용될 대역의 통신 채널의 수립, 및 수립된 통신 채널을 통한 레거시 네트워크 통신을 지원할 수 있다. 다양한 실시예들에 따르면, 제 1 네트워크는 2세대(2G), 3G, 4G, 또는 long term evolution(LTE) 네트워크를 포함하는 레거시 네트워크일 수 있다. 제 2 커뮤니케이션 프로세서(214)는 제 2 네트워크(294)와의 무선 통신에 사용될 대역 중 지정된 대역(예: 약 6GHz ~ 약 60GHz)에 대응하는 통신 채널의 수립, 및 수립된 통신 채널을 통한 5G 네트워크 통신을 지원할 수 있다. 다양한 실시예들에 따르면, 제 2 네트워크(294)는 3GPP에서 정의하는 5G 네트워크일 수 있다. 추가적으로, 일실시예에 따르면, 제 1 커뮤니케이션 프로세서(212) 또는 제 2 커뮤니케이션 프로세서(214)는 제 2 네트워크(294)와의 무선 통신에 사용될 대역 중 다른 지정된 대역(예: 약 6GHz 이하)에 대응하는 통신 채널의 수립, 및 수립된 통신 채널을 통한 5G 네트워크 통신을 지원할 수 있다. The first communication processor 212 may support establishment of a communication channel of a band to be used for wireless communication with the first network 292 and legacy network communication through the established communication channel. According to various embodiments, the first network may be a legacy network including a second generation (2G), 3G, 4G, or long term evolution (LTE) network. The second communication processor 214 establishes a communication channel corresponding to a designated band (eg, about 6 GHz to about 60 GHz) among bands to be used for wireless communication with the second network 294 , and 5G network communication through the established communication channel can support According to various embodiments, the second network 294 may be a 5G network defined by 3GPP. Additionally, according to an embodiment, the first communication processor 212 or the second communication processor 214 is configured to correspond to another designated band (eg, about 6 GHz or less) among bands to be used for wireless communication with the second network 294 . It is possible to support establishment of a communication channel, and 5G network communication through the established communication channel.

제 1 커뮤니케이션 프로세서(212)는, 제 2 커뮤니케이션 프로세서(214)와 데이터를 송수신할 수 있다. 예를 들어, 제 2 셀룰러 네트워크(294)를 통하여 송신되기로 분류되었던 데이터가, 제 1 셀룰러 네트워크(292)를 통하여 송신되는 것으로 변경될 수 있다. 이 경우, 제 1 커뮤니케이션 프로세서(212)는 제 2 커뮤니케이션 프로세서(214)로부터 송신 데이터를 전달받을 수 있다. The first communication processor 212 may transmit/receive data to and from the second communication processor 214 . For example, data that was classified to be transmitted over the second cellular network 294 may be changed to be transmitted over the first cellular network 292 . In this case, the first communication processor 212 may receive transmission data from the second communication processor 214 .

예를 들어, 제 1 커뮤니케이션 프로세서(212)는 제 2 커뮤니케이션 프로세서(214)와 프로세서 간 인터페이스(213)를 통하여 데이터를 송수신할 수 있다. 상기 프로세서 간 인터페이스(213)는, 예를 들어 UART(universal asynchronous receiver/transmitter)(예: HS-UART(high speed-UART) 또는 PCIe(peripheral component interconnect bus express)) 인터페이스로 구현될 수 있으나, 그 종류에는 제한이 없다. 또는, 제1 커뮤니케이션 프로세서(212)와 제2 커뮤니케이션 프로세서(214)는, 예를 들어 공유 메모리(shared memory)를 이용하여 컨트롤 정보와 패킷 데이터 정보를 교환할 수 있다. 제1 커뮤니케이션 프로세서(212)는, 제2 커뮤니케이션 프로세서(214)와, 센싱 정보, 출력 세기에 대한 정보, RB(resource block) 할당 정보와 같은 다양한 정보를 송수신할 수 있다.For example, the first communication processor 212 may transmit/receive data through the interface 213 between the second communication processor 214 and the processor. The interprocessor interface 213 may be implemented as, for example, a universal asynchronous receiver/transmitter (UART) (eg, high speed-UART (HS-UART) or peripheral component interconnect bus express (PCIe)) interface, but the There is no restriction on the type. Alternatively, the first communication processor 212 and the second communication processor 214 may exchange control information and packet data information using, for example, a shared memory. The first communication processor 212 may transmit/receive various information to and from the second communication processor 214 , such as sensing information, information on output strength, and resource block (RB) allocation information.

구현에 따라, 제1 커뮤니케이션 프로세서(212)는 제2 커뮤니케이션 프로세서(214)와 직접 연결되지 않을 수도 있다. 이 경우, 제 1 커뮤니케이션 프로세서(212)는 제 2 커뮤니케이션 프로세서(214)와, 프로세서(120)(예: application processor)를 통하여 데이터를 송수신할 수도 있다. 예를 들어, 제 1 커뮤니케이션 프로세서(212) 및 제 2 커뮤니케이션 프로세서(214)는, 프로세서(120)(예: application processor)와 HS-UART 인터페이스 또는 PCIe 인터페이스를 통하여 데이터를 송수신할 수 있으나, 인터페이스의 종류에는 제한이 없다. 또는, 제 1 커뮤니케이션 프로세서(212) 및 제 2 커뮤니케이션 프로세서(214)는, 프로세서(120)(예: application processor)와 공유 메모리(shared memory)를 이용하여 컨트롤 정보와 패킷 데이터 정보를 교환할 수 있다.Depending on the implementation, the first communication processor 212 may not be directly connected to the second communication processor 214 . In this case, the first communication processor 212 may transmit and receive data through the second communication processor 214 and the processor 120 (eg, an application processor). For example, the first communication processor 212 and the second communication processor 214 may transmit and receive data with the processor 120 (eg, an application processor) through the HS-UART interface or the PCIe interface, but There is no restriction on the type. Alternatively, the first communication processor 212 and the second communication processor 214 may exchange control information and packet data information using a shared memory with the processor 120 (eg, an application processor). .

일실시예에 따르면, 제 1 커뮤니케이션 프로세서(212)와 제 2 커뮤니케이션 프로세서(214)는 단일(single) 칩 또는 단일 패키지 내에 구현될 수 있다. 다양한 실시예들에 따르면, 제 1 커뮤니케이션 프로세서(212) 또는 제 2 커뮤니케이션 프로세서(214)는 프로세서(120), 보조 프로세서(123), 또는 통신 모듈(190)과 단일 칩 또는 단일 패키지 내에 형성될 수 있다. 예를 들어, 도 2b에서와 같이, 통합 커뮤니케이션 프로세서(260)는, 제 1 셀룰러 네트워크, 및 제 2 셀룰러 네트워크와의 통신을 위한 기능을 모두 지원할 수 있다.According to one embodiment, the first communication processor 212 and the second communication processor 214 may be implemented in a single chip or a single package. According to various embodiments, the first communication processor 212 or the second communication processor 214 may be formed in a single chip or a single package with the processor 120 , the coprocessor 123 , or the communication module 190 . have. For example, as shown in FIG. 2B , the unified communication processor 260 may support both functions for communication with the first cellular network and the second cellular network.

제 1 RFIC(222)는, 송신 시에, 제 1 커뮤니케이션 프로세서(212)에 의해 생성된 기저대역(baseband) 신호를 제 1 네트워크(292)(예: 레거시 네트워크)에 사용되는 약 700MHz 내지 약 3GHz의 라디오 주파수(RF) 신호로 변환할 수 있다. 수신 시에는, RF 신호가 안테나(예: 제 1 안테나 모듈(242))를 통해 제 1 네트워크(292)(예: 레거시 네트워크)로부터 획득되고, RFFE(예: 제 1 RFFE(232))를 통해 전처리(preprocess)될 수 있다. 제 1 RFIC(222)는 전처리된 RF 신호를 제 1 커뮤니케이션 프로세서(212)에 의해 처리될 수 있도록 기저대역 신호로 변환할 수 있다.The first RFIC 222, when transmitting, transmits a baseband signal generated by the first communication processor 212 to about 700 MHz to about 3 GHz used in the first network 292 (eg, a legacy network). can be converted to a radio frequency (RF) signal of Upon reception, an RF signal is obtained from a first network 292 (eg, a legacy network) via an antenna (eg, a first antenna module 242 ), and via an RFFE (eg, a first RFFE 232 ). It can be preprocessed. The first RFIC 222 may convert the preprocessed RF signal into a baseband signal to be processed by the first communication processor 212 .

제 2 RFIC(224)는, 송신 시에, 제 1 커뮤니케이션 프로세서(212) 또는 제 2 커뮤니케이션 프로세서(214)에 의해 생성된 기저대역 신호를 제 2 네트워크(294)(예: 5G 네트워크)에 사용되는 Sub6 대역(예: 약 6GHz 이하)의 RF 신호(이하, 5G Sub6 RF 신호)로 변환할 수 있다. 수신 시에는, 5G Sub6 RF 신호가 안테나(예: 제 2 안테나 모듈(244))를 통해 제 2 네트워크(294)(예: 5G 네트워크)로부터 획득되고, RFFE(예: 제 2 RFFE(234))를 통해 전처리될 수 있다. 제 2 RFIC(224)는 전처리된 5G Sub6 RF 신호를 제 1 커뮤니케이션 프로세서(212) 또는 제 2 커뮤니케이션 프로세서(214) 중 대응하는 커뮤니케이션 프로세서에 의해 처리될 수 있도록 기저대역 신호로 변환할 수 있다. The second RFIC 224, when transmitting, transmits the baseband signal generated by the first communication processor 212 or the second communication processor 214 to the second network 294 (eg, a 5G network). It can be converted into an RF signal (hereinafter, 5G Sub6 RF signal) of the Sub6 band (eg, about 6 GHz or less). Upon reception, a 5G Sub6 RF signal is obtained from a second network 294 (eg, 5G network) via an antenna (eg, second antenna module 244 ), and RFFE (eg, second RFFE 234 ) can be pre-processed. The second RFIC 224 may convert the preprocessed 5G Sub6 RF signal into a baseband signal to be processed by a corresponding one of the first communication processor 212 or the second communication processor 214 .

제 3 RFIC(226)는 제 2 커뮤니케이션 프로세서(214)에 의해 생성된 기저대역 신호를 제 2 네트워크(294)(예: 5G 네트워크)에서 사용될 5G Above6 대역(예: 약 6GHz ~ 약 60GHz)의 RF 신호(이하, 5G Above6 RF 신호)로 변환할 수 있다. 수신 시에는, 5G Above6 RF 신호가 안테나(예: 안테나(248))를 통해 제 2 네트워크(294)(예: 5G 네트워크)로부터 획득되고 제 3 RFFE(236)를 통해 전처리될 수 있다. 제 3 RFIC(226)는 전처리된 5G Above6 RF 신호를 제 2 커뮤니케이션 프로세서(214)에 의해 처리될 수 있도록 기저대역 신호로 변환할 수 있다. 일실시예에 따르면, 제 3 RFFE(236)는 제 3 RFIC(226)의 일부로서 형성될 수 있다.The third RFIC 226 transmits the baseband signal generated by the second communication processor 214 to the RF of the 5G Above6 band (eg, about 6 GHz to about 60 GHz) to be used in the second network 294 (eg, 5G network). It can be converted into a signal (hereinafter referred to as 5G Above6 RF signal). Upon reception, a 5G Above6 RF signal may be obtained from the second network 294 (eg, 5G network) via an antenna (eg, antenna 248 ) and pre-processed via a third RFFE 236 . The third RFIC 226 may convert the preprocessed 5G Above6 RF signal into a baseband signal to be processed by the second communication processor 214 . According to one embodiment, the third RFFE 236 may be formed as part of the third RFIC 226 .

전자 장치(101)는, 일실시예에 따르면, 제 3 RFIC(226)와 별개로 또는 적어도 그 일부로서, 제 4 RFIC(228)를 포함할 수 있다. 이런 경우, 제 4 RFIC(228)는 제 2 커뮤니케이션 프로세서(214)에 의해 생성된 기저대역 신호를 중간(intermediate) 주파수 대역(예: 약 9GHz ~ 약 11GHz)의 RF 신호(이하, IF 신호)로 변환한 뒤, 상기 IF 신호를 제 3 RFIC(226)로 전달할 수 있다. 제 3 RFIC(226)는 IF 신호를 5G Above6 RF 신호로 변환할 수 있다. 수신 시에, 5G Above6 RF 신호가 안테나(예: 안테나(248))를 통해 제 2 네트워크(294)(예: 5G 네트워크)로부터 수신되고 제 3 RFIC(226)에 의해 IF 신호로 변환될 수 있다. 제 4 RFIC(228)는 IF 신호를 제 2 커뮤니케이션 프로세서(214)가 처리할 수 있도록 기저대역 신호로 변환할 수 있다.According to an embodiment, the electronic device 101 may include the fourth RFIC 228 separately from or as at least a part of the third RFIC 226 . In this case, the fourth RFIC 228 converts the baseband signal generated by the second communication processor 214 into an RF signal (hereinafter, IF signal) of an intermediate frequency band (eg, about 9 GHz to about 11 GHz). After conversion, the IF signal may be transmitted to the third RFIC 226 . The third RFIC 226 may convert the IF signal into a 5G Above6 RF signal. Upon reception, a 5G Above6 RF signal may be received from the second network 294 (eg, 5G network) via an antenna (eg, antenna 248 ) and converted into an IF signal by a third RFIC 226 . . The fourth RFIC 228 may convert the IF signal into a baseband signal for processing by the second communication processor 214 .

일실시예에 따르면, 제 1 RFIC(222)와 제 2 RFIC(224)는 단일 칩 또는 단일 패키지의 적어도 일부로 구현될 수 있다. 일실시예에 따르면, 제 1 RFFE(232)와 제 2 RFFE(234)는 단일 칩 또는 단일 패키지의 적어도 일부로 구현될 수 있다. 일실시예에 따르면, 제 1 안테나 모듈(242) 또는 제 2 안테나 모듈(244)중 적어도 하나의 안테나 모듈은 생략되거나 다른 안테나 모듈과 결합되어 대응하는 복수의 대역들의 RF 신호들을 처리할 수 있다.According to an embodiment, the first RFIC 222 and the second RFIC 224 may be implemented as at least a part of a single chip or a single package. According to an embodiment, the first RFFE 232 and the second RFFE 234 may be implemented as at least a part of a single chip or a single package. According to an embodiment, at least one antenna module of the first antenna module 242 or the second antenna module 244 may be omitted or may be combined with another antenna module to process RF signals of a plurality of corresponding bands.

일실시예에 따르면, 제 3 RFIC(226)와 안테나(248)는 동일한 서브스트레이트에 배치되어 제 3 안테나 모듈(246)을 형성할 수 있다. 예를 들어, 무선 통신 모듈(192) 또는 프로세서(120)가 제 1 서브스트레이트(예: main PCB)에 배치될 수 있다. 이런 경우, 제 1 서브스트레이트와 별도의 제 2 서브스트레이트(예: sub PCB)의 일부 영역(예: 하면)에 제 3 RFIC(226)가, 다른 일부 영역(예: 상면)에 안테나(248)가 배치되어, 제 3 안테나 모듈(246)이 형성될 수 있다. 제 3 RFIC(226)와 안테나(248)를 동일한 서브스트레이트에 배치함으로써 그 사이의 전송 선로의 길이를 줄이는 것이 가능하다. 이는, 예를 들면, 5G 네트워크 통신에 사용되는 고주파 대역(예: 약 6GHz ~ 약 60GHz)의 신호가 전송 선로에 의해 손실(예: 감쇄)되는 것을 줄일 수 있다. 이로 인해, 전자 장치(101)는 제 2 네트워크(294)(예: 5G 네트워크)와의 통신의 품질 또는 속도를 향상시킬 수 있다.According to an embodiment, the third RFIC 226 and the antenna 248 may be disposed on the same substrate to form the third antenna module 246 . For example, the wireless communication module 192 or the processor 120 may be disposed on the first substrate (eg, main PCB). In this case, the third RFIC 226 is located in a partial area (eg, the bottom surface) of the second substrate (eg, sub PCB) that is separate from the first substrate, and the antenna 248 is located in another partial region (eg, the top surface). is disposed, the third antenna module 246 may be formed. By disposing the third RFIC 226 and the antenna 248 on the same substrate, it is possible to reduce the length of the transmission line therebetween. This, for example, can reduce loss (eg, attenuation) of a signal in a high-frequency band (eg, about 6 GHz to about 60 GHz) used for 5G network communication by a transmission line. Accordingly, the electronic device 101 may improve the quality or speed of communication with the second network 294 (eg, a 5G network).

일실시예에 따르면, 안테나(248)는 빔포밍에 사용될 수 있는 복수개의 안테나 엘레멘트들을 포함하는 안테나 어레이로 형성될 수 있다. 이런 경우, 제 3 RFIC(226)는, 예를 들면, 제 3 RFFE(236)의 일부로서, 복수개의 안테나 엘레멘트들에 대응하는 복수개의 위상 변환기(phase shifter)(238)들을 포함할 수 있다. 송신 시에, 복수개의 위상 변환기(238)들 각각은 대응하는 안테나 엘레멘트를 통해 전자 장치(101)의 외부(예: 5G 네트워크의 베이스 스테이션)로 송신될 5G Above6 RF 신호의 위상을 변환할 수 있다. 수신 시에, 복수개의 위상 변환기(238)들 각각은 대응하는 안테나 엘레멘트를 통해 상기 외부로부터 수신된 5G Above6 RF 신호의 위상을 동일한 또는 실질적으로 동일한 위상으로 변환할 수 있다. 이것은 전자 장치(101)와 상기 외부 간의 빔포밍을 통한 송신 또는 수신을 가능하게 한다.According to an embodiment, the antenna 248 may be formed as an antenna array including a plurality of antenna elements that can be used for beamforming. In this case, the third RFIC 226 may include, for example, as a part of the third RFFE 236 , a plurality of phase shifters 238 corresponding to a plurality of antenna elements. During transmission, each of the plurality of phase shifters 238 may transform the phase of a 5G Above6 RF signal to be transmitted to the outside of the electronic device 101 (eg, a base station of a 5G network) through a corresponding antenna element. . Upon reception, each of the plurality of phase shifters 238 may convert the phase of the 5G Above6 RF signal received from the outside through a corresponding antenna element into the same or substantially the same phase. This enables transmission or reception through beamforming between the electronic device 101 and the outside.

제 2 네트워크(294)(예: 5G 네트워크)는 제 1 네트워크(292)(예: 레거시 네트워크)와 독립적으로 운영되거나(예: Stand-Alone (SA)), 연결되어 운영될 수 있다(예: Non-Stand Alone (NSA)). 예를 들면, 5G 네트워크에는 액세스 네트워크(예: 5G radio access network(RAN) 또는 next generation RAN(NG RAN))만 있고, 코어 네트워크(예: next generation core(NGC))는 없을 수 있다. 이런 경우, 전자 장치(101)는 5G 네트워크의 액세스 네트워크에 액세스한 후, 레거시 네트워크의 코어 네트워크(예: evolved packed core(EPC))의 제어 하에 외부 네트워크(예: 인터넷)에 액세스할 수 있다. 레거시 네트워크와 통신을 위한 프로토콜 정보(예: LTE 프로토콜 정보) 또는 5G 네트워크와 통신을 위한 프로토콜 정보(예: New Radio(NR) 프로토콜 정보)는 메모리(130)에 저장되어, 다른 부품(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 또는 제 2 커뮤니케이션 프로세서(214))에 의해 액세스될 수 있다.The second network 294 (eg, 5G network) may be operated independently (eg, Stand-Alone (SA)) or connected to the first network 292 (eg, legacy network) (eg: Non-Stand Alone (NSA)). For example, the 5G network may have only an access network (eg, 5G radio access network (RAN) or next generation RAN (NG RAN)) and no core network (eg, next generation core (NGC)). In this case, after accessing the access network of the 5G network, the electronic device 101 may access an external network (eg, the Internet) under the control of a core network (eg, evolved packed core (EPC)) of the legacy network. Protocol information for communication with a legacy network (eg, LTE protocol information) or protocol information for communication with a 5G network (eg, New Radio (NR) protocol information) is stored in the memory 130 , and other components (eg, processor 120 , the first communication processor 212 , or the second communication processor 214 ).

도 2a 및 2b에서는, 프로세서(120)가, 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 또는 통합 커뮤니케이션 프로세서(260)와 분리된 것과 같이 도시되어 있지만, 이는 단순히 예시적인 것이다. 다양한 실시예에서, 전자 장치(101)는 프로세서(120)의 기능, 제 1 커뮤니케이션 프로세서(212)의 제 1 네트워크 통신을 위한 기능, 제 2 커뮤니케이션 프로세서(214)의 제 2 네트워크 통신을 위한 기능을 모두 지원하는 통합 SoC(system on chip)을 포함할 수도 있다. 본 문서에서의 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 또는 제 2 커뮤니케이션 프로세서(214)의 동작은, 통합 SoC에 의하여 수행될 수도 있음을 당업자는 이해할 것이다.2A and 2B , the processor 120 is shown as separate from the first communication processor 212 , the second communication processor 214 , or the unified communication processor 260 , but this is merely exemplary. In various embodiments, the electronic device 101 provides a function of the processor 120 , a function for a first network communication of the first communication processor 212 , and a function for a second network communication of the second communication processor 214 . It may include an integrated system on chip (SoC) that supports both. It will be understood by those skilled in the art that operations of the processor 120 , the first communication processor 212 , or the second communication processor 214 in this document may be performed by an integrated SoC.

또는, 도시되지는 않았지만, 개시의 실시예는 LTE 통신만을 지원하는 전자 장치(101)에도 적용될 수도 있다. 이 경우, 전자 장치(101)는, 프로세서(120) 및/또는 제1커뮤니케이션 프로세서(212)와, 제 1 RFIC(222), 제 1 RFFE(232), 및 제 1 안테나 모듈(242)을 포함하고, 5G 통신과 연관된 구성 요소(예: 제 2 RFIC(224), 제 2 RFFE(234), 제 2 안테나 모듈(244), 제 2 커뮤니케이션 프로세서(214), 제 4 RFIC(238), 제 3 안테나 모듈(246) 중 적어도 하나)를 포함하지 않도록 구현될 수도 있다.Alternatively, although not shown, an embodiment of the disclosure may also be applied to the electronic device 101 supporting only LTE communication. In this case, the electronic device 101 includes a processor 120 and/or a first communication processor 212 , a first RFIC 222 , a first RFFE 232 , and a first antenna module 242 . and 5G communication-related components (eg, the second RFIC 224 , the second RFFE 234 , the second antenna module 244 , the second communication processor 214 , the fourth RFIC 238 , the third At least one of the antenna modules 246) may be implemented not to include.

도 3은 다양한 실시예에 따른 프로토콜 구조를 도시한다.3 illustrates a protocol structure according to various embodiments.

다양한 실시예에 따라서, 전자 장치(101)(예: UE)에 대응하는 프로토콜 구조는, PDCP 계층(301), RLC(radio link control) 계층(302), MAC 계층(303), 및 PHY 계층(304)으로 구성될 수 있다. 네트워크(예: 기지국)에 대응하는 프로토콜 구조는, PDCP 계층(311), RLC 계층(312), MAC 계층(313), 및 PHY 계층(314)으로 구성될 수 있다. According to various embodiments, a protocol structure corresponding to the electronic device 101 (eg, UE) may include a PDCP layer 301 , a radio link control (RLC) layer 302 , a MAC layer 303 , and a PHY layer ( 304) can be configured. A protocol structure corresponding to a network (eg, a base station) may include a PDCP layer 311 , an RLC layer 312 , a MAC layer 313 , and a PHY layer 314 .

PDCP 계층(301,311)은, IP 헤더 압축/복원 등의 동작을 담당할 수 있다. PDCP 계층(301,311)의 주요 기능은 하기와 같이 요약될 수 있다. The PDCP layers 301 and 311 may be in charge of operations such as IP header compression/restore. The main functions of the PDCP layers 301 and 311 can be summarized as follows.

- 헤더 압축 및 압축 해제 기능(header compression and decompression: ROHC only)- Header compression and decompression (ROHC only)

- 사용자 데이터 전송 기능 (transfer of user data)- User data transfer function (transfer of user data)

- 순차적 전달 기능(in-sequence delivery of upper layer PDUs at PDCP re-establishment procedure for RLC AM)- In-sequence delivery of upper layer PDUs at PDCP re-establishment procedure for RLC AM)

- 순서 재정렬 기능(for split bearers in DC (only support for RLC AM): PDCP PDU routing for transmission and PDCP PDU reordering for reception)- Order reordering function (for split bearers in DC (only support for RLC AM): PDCP PDU routing for transmission and PDCP PDU reordering for reception)

- 중복 탐지 기능(duplicate detection of lower layer SDUs at PDCP re-establishment procedure for RLC AM)- Duplicate detection of lower layer SDUs at PDCP re-establishment procedure for RLC AM)

- 재전송 기능(Retransmission of PDCP SDUs at handover and, for split bearers in DC, of PDCP PDUs at PDCP data-recovery procedure, for RLC AM)- Retransmission function (Retransmission of PDCP SDUs at handover and, for split bearers in DC, of PDCP PDUs at PDCP data-recovery procedure, for RLC AM)

- 암호화 및 복호화 기능(ciphering and deciphering)- Encryption and decryption function (ciphering and deciphering)

- 타이머 기반 SDU 삭제 기능(timer-based SDU discard in uplink.)- Timer-based SDU discard function (timer-based SDU discard in uplink.)

RLC 계층(302,312)는 PDCP PDU(packet data unit)를 적절한 크기로 재구성해서 ARQ 기능과 같은 동작을 수행할 수 있다. RLC 계층(302,312)의 주요 기능은 하기와 같이 요약될 수 있다.The RLC layers 302 and 312 may perform an operation such as an ARQ function by reconfiguring a PDCP packet data unit (PDU) to an appropriate size. The main functions of the RLC layers 302 and 312 can be summarized as follows.

- 데이터 전송 기능(transfer of upper layer PDUs)- Data transfer function (transfer of upper layer PDUs)

- ARQ 기능(error correction through ARQ (only for AM data transfer))- ARQ function (error correction through ARQ (only for AM data transfer))

- 접합, 분할, 재조립 기능(concatenation, segmentation and reassembly of RLC SDUs (only for UM and AM data transfer))- Concatenation, segmentation and reassembly of RLC SDUs (only for UM and AM data transfer)

- 재분할 기능(re-segmentation of RLC data PDUs (only for AM data transfer))- Re-segmentation of RLC data PDUs (only for AM data transfer)

- 순서 재정렬 기능(reordering of RLC data PDUs (only for UM and AM data transfer)- Reordering of RLC data PDUs (only for UM and AM data transfer)

- 중복 탐지 기능(duplicate detection (only for UM and AM data transfer))- Duplicate detection (only for UM and AM data transfer)

- 오류 탐지 기능(protocol error detection (only for AM data transfer))- Protocol error detection (only for AM data transfer)

- RLC SDU 삭제 기능(RLC SDU discard (only for UM and AM data transfer))- RLC SDU discard function (RLC SDU discard (only for UM and AM data transfer))

- RLC 재수립 기능(RLC re-establishment)- RLC re-establishment function (RLC re-establishment)

MAC 계층(303,313)은 한 단말에 구성된 여러 RLC 계층 장치들과 연결되며, RLC PDU들을 MAC PDU에 다중화하고 MAC PDU로부터 RLC PDU들을 역다중화하는 동작을 수행할 수 있다. MAC 계층(303,313)의 주요 기능은 하기와 같이 요약될 수 있다.The MAC layers 303 and 313 are connected to several RLC layer devices configured in one terminal, and may perform operations of multiplexing RLC PDUs into MAC PDUs and demultiplexing RLC PDUs from MAC PDUs. The main functions of the MAC layers 303 and 313 can be summarized as follows.

- 맵핑 기능(mapping between logical channels and transport channels)- Mapping function (mapping between logical channels and transport channels)

- 다중화 및 역다중화 기능(multiplexing/demultiplexing of MAC SDUs belonging to one or different logical channels into/from transport blocks (TB) delivered to/from the physical layer on transport channels)- Multiplexing and demultiplexing function (multiplexing/demultiplexing of MAC SDUs belonging to one or different logical channels into/from transport blocks (TB) delivered to/from the physical layer on transport channels)

- 스케쥴링 정보 보고 기능(scheduling information reporting)- Scheduling information reporting function (scheduling information reporting)

- HARQ 기능(error correction through HARQ)- HARQ function (error correction through HARQ)

- 로지컬 채널 간 우선 순위 조절 기능(priority handling between logical channels of one UE)- Priority handling between logical channels of one UE

- 단말간 우선 순위 조절 기능(priority handling between UEs by means of dynamic scheduling)- Priority handling between UEs by means of dynamic scheduling

- MBMS 서비스 확인 기능(MBMS service identification)- MBMS service identification

- 전송 포맷 선택 기능(transport format selection)- Transport format selection

- 패딩 기능(padding)- Padding function

물리(PHY) 계층(304,314)은 상위 계층 데이터를 채널 코딩 및 변조하고, OFDM 심벌로 만들어서 무선 채널로 전송하거나, 무선 채널을 통해 수신한 OFDM 심벌을 복조하고 채널 디코딩해서 상위 계층으로 전달하는 동작을 수행할 수 있다.Physical (PHY) layers 304 and 314 channel-code and modulate upper layer data, make OFDM symbols and transmit them over a wireless channel, or demodulate OFDM symbols received through a wireless channel, decode channels, and deliver to the upper layers. can be done

도 4는, 다양한 실시예에 따른 PDCP 계층의 동작을 설명하기 위한 도면이다.4 is a diagram for explaining an operation of a PDCP layer according to various embodiments.

다양할 실시예에 따라서, 송신측 PDCP 엔티티(transmitting PDCP entity)(410)는 SDU(431)를 입력받아, PDU(432)를 출력할 수 있다. 수신측 PDCP 엔티티(receiving PDCP entity)(420)는, PDU(432)를 입력받아, SDU(431)를 출력할 수 있다. PDCP 엔티티(410,420)들은, PDCP 계층에 위치할 수 있다. 도 4에서는, PDU(432)가 라디오 인터페이스(radio interface)(UU)(434)를 통하여, 송신측 PDCP 엔티티(410)로부터 수신측 PDCP 엔티티(420)로 직접 송신되는 것과 같이 도시되었지만, 이는 설명의 편의를 위한 것으로, PDU(432)가 RLC 계층, MAC 계층, 물리 계층을 통하여 송신이 수행됨을 당업자는 이해할 것이다.According to various embodiments, the transmitting PDCP entity 410 may receive the SDU 431 and output the PDU 432 . The receiving PDCP entity 420 may receive the PDU 432 and output the SDU 431 . The PDCP entities 410 and 420 may be located in the PDCP layer. In FIG. 4 , the PDU 432 is shown as being transmitted directly from the transmitting PDCP entity 410 to the receiving PDCP entity 420 via a radio interface (UU) 434 , but this is not described For the convenience of , those skilled in the art will understand that the PDU 432 is transmitted through the RLC layer, the MAC layer, and the physical layer.

다양한 실시예에 따라서, 송신측 PDCP 엔티티(410)는, 411 동작에서, 송신 버퍼(transmission buffer)에서 SDU(431)에 대하여 시퀀스 넘버링(sequence numbering)을 수행할 수 있다. 예를 들어, 송신측 PDCP 엔티티(410)는, SN을 SDU(431)에 할당할 수 있다. 송신측 PDCP 엔티티(410)는, 412 동작에서, SDU(431)에 대하여 헤더 압축(header compression)을 수행할 수 있다. 송신측 PDCP 엔티티(410)는, 송신되어야 할 패킷이 PDCP SDU와 연관된 경우에는(Packets associated to a PDCP SDU), 413 동작에서 무결성 보호(integrity protection) 절차를 수행할 수 있다. 송신측 PDCP 엔티티(410)는, 414 동작에서, 무결성 보호 절차 수행 결과 생성된 데이터 블록(data block)에 대하여, ciphering을 수행할 수 있다. 송신측 PDCP 엔티티(410)는, 415 동작에서 PDCP 헤더 추가(add PDCP header)를 수행할 수 있다. 패킷이 PDCP SDU와 연관되지 않은 경우에는(Packets not associated to a PDCP SDU), 송신측 PDCP 엔티티(410)는, 무결성 보호 동작 및 ciphering을 수행하지 않고, 바로 PDCP 헤더를 추가할 수도 있다. 송신측 PDCP 엔티티(410)는, 416 동작에서, PDU(432)의 라우팅(routing)/복제(duplication)를 수행할 수 있다.According to various embodiments, the transmitting-side PDCP entity 410 may perform sequence numbering on the SDU 431 in a transmission buffer in operation 411 . For example, the transmitting PDCP entity 410 may assign an SN to the SDU 431 . The transmitting-side PDCP entity 410 may perform header compression on the SDU 431 in operation 412 . The transmitting-side PDCP entity 410 may perform an integrity protection procedure in operation 413 when a packet to be transmitted is associated with a PDCP SDU (Packets associated to a PDCP SDU). The transmitting-side PDCP entity 410 may perform ciphering on a data block generated as a result of performing the integrity protection procedure in operation 414 . The transmitting-side PDCP entity 410 may perform add PDCP header in operation 415 . When the packet is not associated with a PDCP SDU (Packets not associated to a PDCP SDU), the transmitting-side PDCP entity 410 may directly add a PDCP header without performing integrity protection and ciphering. The transmitting-side PDCP entity 410 may perform routing/duplication of the PDU 432 in operation 416 .

다양한 실시예에 따라서, 수신측 PDCP 엔티티(420)는, 421 동작에서, 수신된 PDU(432)로부터 PDCP 헤더를 제거(remove PDCP header)(421)할 수 있다. 수신측 PDCP 엔티티(420)는, 422 동작에서 deciphering을 수행할 수 있으며, 423 동작에서 무결성 검증(integrity verification)을 수행할 수 있다. 수신측 PDCP 엔티티(420)는, 424 동작에서, 수신 버퍼(reception buffer)에서, 무결성 검증이 완료된 데이터 블록을 리오더링(reordering), 복제(duplicating), 또는 폐기(discarding) 중 적어도 하나를 수행하여, 상위 계층으로 전송할 수 있다. 수신측 PDCP 엔티티(420)는, 425 동작에서 헤더 압축해제(header decompression)를 수행할 수 있다. 만약, 패킷이 PDCP SDU와 관련되지 않으면, 수신측 PDCP 엔티티(420)는, PDCP 헤더 제거 후 헤더 압축 해제를 수행할 수도 있다. 수신측 PDCP 엔티티(420)는, 헤더 압축 해제된 SDU(433)를 상위 계층으로 전송할 수 있다.According to various embodiments, the receiving-side PDCP entity 420 may remove a PDCP header 421 from the received PDU 432 in operation 421 . The receiving-side PDCP entity 420 may perform deciphering in operation 422 and integrity verification in operation 423 . The receiving-side PDCP entity 420, in operation 424, performs at least one of reordering, duplicating, or discarding a data block for which integrity verification has been completed in a reception buffer. , can be transmitted to a higher layer. The receiving-side PDCP entity 420 may perform header decompression in operation 425 . If the packet is not related to the PDCP SDU, the receiving-side PDCP entity 420 may perform header decompression after removing the PDCP header. The receiving-side PDCP entity 420 may transmit the header decompressed SDU 433 to a higher layer.

도 5a는 다양한 실시예에 따른 ciphering 및 deciphering 과정을 설명하기 위한 도면이다.5A is a view for explaining a ciphering and deciphering process according to various embodiments.

다양한 실시예에 따라서, 송신측 PDCP 엔티티(410)는, 도 4의 414 동작에서와 같이 ciphering을 수행할 수 있다. 도 5a를 참조하면, 송신측 PDCP 엔티티(예: 도 4의 송신측 PDCP 엔티티(410))는, 암호화 키(cipher key)(KEY)(예: 128 비트), 카운트(COUNT)(예: 32 비트), 베어러 식별자(bearer identity)(BEARER)(예: 5 비트), 전송 디렉션(DIRECTION)(예: 1 비트), 요구되는 키스트림 렝스(length of keystream required)(LENGTH)를, NEA(NR encryption algorithm)로 입력할 수 있다. 전송 디렉션(DIRECTION)은, UL은 0이며, DL은 1일 수 있다. 송신측 PDCP 엔티티(410)는, NEA의 출력값으로서 키 스트림 블록(KEYSTREAM BLOCK)을 확인할 수 있다. NEA로 입력되는 값들 중, 카운트(COUNT)는, 패킷마다 달라질 수 있다. 예를 들어, 도 5b는 다양한 실시예에 따른 카운트의 포맷을 도시한다. 카운트는, 예를 들어 HFN(hyper frame number) 및 PDCP SN(PDCP sequence number)로 구성될 수 있다. HFN은 송신 PDCP 엔티티 및 수신 PDCP 엔티티에 의하여 유지될 수 있으며, SN은 PDU에 포함될 수 있다. 카운트는, 예를 들어 32 비트의 렝스를 가지며, HFN의 렝스는 32에서 PDCP SN 렝스를 뺀 값일 수 있다. PDCP SN은, PDU가 하나씩 전송될 때마다 1씩 증가될 수 있다. 아울러, PDCP SN이 최댓값에 도달하면, PDCP SN은 이후에 다시 시작값으로 복귀하면서, HFN이 1 증가할 수 있다. 이에 따라, 카운트(COUNT)는, 패킷마다 상이하게 설정될 수 있으며, NEA의 결과값인 키스트림 블록들 또한 패킷마다 상이하게 설정될 수 있다. 송신측 PDCP 엔티티(410)는, 평문 블록(PLAINTEXT BLOCK) 및 키 스트림 블록(KEYSTREAM BLOCK)에 기반하여, 암호문 블록(CIPHERTEXT BLOCK)을 제공할 수 있다. 예를 들어, 송신측 PDCP 엔티티(410)는, 평문 블록(PLAINTEXT BLOCK) 및 키 스트림 블록(KEYSTREAM BLOCK)의 연산(예: binary addition)을 수행함으로써, 암호문 블록(CIPHERTEXT BLOCK)을 제공할 수 있으나, 연산의 종류에는 제한이 없다.According to various embodiments, the transmitting-side PDCP entity 410 may perform ciphering as in operation 414 of FIG. 4 . Referring to FIG. 5A , the transmitting-side PDCP entity (eg, the transmitting-side PDCP entity 410 of FIG. 4 ) includes a cipher key (KEY) (eg, 128 bits), a count (COUNT) (eg, 32). bit), bearer identity (BEARER) (eg 5 bits), DIRECTION (eg 1 bit), length of keystream required (LENGTH), NEA (NR encryption algorithm). As for the transmission direction (DIRECTION), UL may be 0 and DL may be 1. The transmitting-side PDCP entity 410 may check a key stream block (KEYSTREAM BLOCK) as an output value of the NEA. Among the values input to the NEA, the count COUNT may vary for each packet. For example, FIG. 5B illustrates the format of a count in accordance with various embodiments. The count may be composed of, for example, a hyper frame number (HFN) and a PDCP sequence number (PDCP sequence number). The HFN may be maintained by the transmitting PDCP entity and the receiving PDCP entity, and the SN may be included in the PDU. The count may have, for example, a length of 32 bits, and the length of the HFN may be a value obtained by subtracting the PDCP SN length from 32. The PDCP SN may be incremented by one every time a PDU is transmitted one by one. In addition, when the PDCP SN reaches the maximum value, the PDCP SN may later return to the starting value, and HFN may increase by 1. Accordingly, the count COUNT may be set differently for each packet, and keystream blocks that are NEA result values may also be set differently for each packet. The transmitting-side PDCP entity 410 may provide a ciphertext block (CIPHERTEXT BLOCK) based on a plaintext block (PLAINTEXT BLOCK) and a key stream block (KEYSTREAM BLOCK). For example, the transmitting-side PDCP entity 410 may provide a ciphertext block (CIPHERTEXT BLOCK) by performing an operation (eg, binary addition) of a plaintext block (PLAINTEXT BLOCK) and a key stream block (KEYSTREAM BLOCK). , there is no limitation on the type of operation.

다양한 실시예에 따라서, 수신측 PDCP 엔티티(예: 도 4의 수신측 PDCP 엔티티(420))는, 도 4의 422 동작에서와 같이 deciphering을 수행할 수 있다. 수신측 PDCP 엔티티(420)는, 암호화 키(cipher key)(KEY)(예: 128 비트), 카운트(COUNT)(예: 32 비트), 베어러 식별자(bearer identity)(BEARER)(예: 5 비트), 전송 디렉션(DIRECTION)(예: 1 비트), 요구되는 키스트림 렝스(length of keystream required)(LENGTH)를, NEA(NR encryption algorithm)로 입력할 수 있다. 수신측 PDCP 엔티티(420)는, NEA의 출력값으로서 키 스트림 블록(KEYSTREAM BLOCK)을 확인할 수 있다. 수신측 PDCP 엔티티(420)는, 키 스트림 블록(KEYSTREAM BLOCK) 및 수신된 암호문 블록(CIPHERTEXT BLOCK)의 연산에 기반하여 평문 블록(PLAINTEXT BLOCK)을 확인할 수 있다. 수신측 PDCP 엔티티(420)는, 예를 들어 송신측 PDCP 엔티티(410)에서의 연산의 역과정일 수 있으며, 제한은 없다. 만약, 송신측 PDCP 엔티티(410) 및 수신측 PDCP 엔티티(420)가 확인하는 카운트(COUNT)가 상이하다면, 수신측 PDCP 엔티티(420)는, deciphering에 실패할 수 있다.According to various embodiments, the receiving-side PDCP entity (eg, the receiving-side PDCP entity 420 of FIG. 4 ) may perform deciphering as in operation 422 of FIG. 4 . The receiving-side PDCP entity 420 includes a cipher key (KEY) (eg, 128 bits), a count (COUNT) (eg, 32 bits), a bearer identity (BEARER) (eg, 5 bits). ), transmission direction (eg, 1 bit), length of keystream required (LENGTH), and NEA (NR encryption algorithm) can be input. The receiving-side PDCP entity 420 may identify a key stream block (KEYSTREAM BLOCK) as an output value of the NEA. The receiving-side PDCP entity 420 may check the plaintext block PLAINTEXT BLOCK based on the operation of the key stream block KEYSTREAM BLOCK and the received ciphertext block CIPHERTEXT BLOCK. The receiving-side PDCP entity 420 may, for example, be the reverse of the operation in the transmitting-side PDCP entity 410, and there is no limitation. If the counts (COUNT) checked by the transmitting-side PDCP entity 410 and the receiving-side PDCP entity 420 are different, the receiving-side PDCP entity 420 may fail deciphering.

도 5c는 다양한 실시예에 따른 무결성 보호 동작 및 검증을 설명하기 위한 도면이다.5C is a diagram for describing an integrity protection operation and verification according to various embodiments.

다양한 실시예에 따라서, 송신측 PDCP 엔티티(410)는, 도 4의 413 동작에서와 같이 무결성 보호 동작을 수행할 수 있다. 도 5c를 참조하면, 송신측 PDCP 엔티티(410)는, 무결성 키(integrity key)(KEY)(예: 128 비트), 카운트(COUNT)(예: 32 비트), 베어러 식별자(bearer identity)(BEARER)(예: 5 비트), 전송 디렉션(DIRECTION)(예: 1 비트), 메시지(MESSAGE)를, NIA(NR integrity algorithm)로 입력할 수 있다. 메시지(MESSAGE)의 비트 렝스는, LENGTH일 수 있다. 전송 디렉션(DIRECTION)은, UL은 0이며, DL은 1일 수 있다. 송신측 PDCP 엔티티(410)는, NIA의 출력값으로서 MAC-I/NAS-MAC을 확인할 수 있다. NIA로 입력되는 값들 중, 카운트(COUNT)는, 패킷마다 달라질 수 있으며, NIA의 결과값인 MAC-I/NAS-MAC 또한 패킷마다 상이하게 설정될 수 있다. MAC-I/NAS-MAC는, 32 비트 메시지 식별 코드일 수 있다. MAC-I/NAS-MAC는, 메시지가 송신 시에 첨부될 수 있다.According to various embodiments, the transmitting-side PDCP entity 410 may perform an integrity protection operation as in operation 413 of FIG. 4 . Referring to FIG. 5C , the transmitting-side PDCP entity 410 includes an integrity key (KEY) (eg, 128 bits), a count (COUNT) (eg, 32 bits), a bearer identity (BEARER). ) (eg, 5 bits), transmission direction (eg, 1 bit), and message (MESSAGE) can be input as NIA (NR integrity algorithm). The bit length of the message (MESSAGE) may be LENGTH. As for the transmission direction (DIRECTION), UL may be 0 and DL may be 1. The transmitting-side PDCP entity 410 may identify MAC-I/NAS-MAC as an output value of NIA. Among the values inputted to the NIA, a count (COUNT) may be different for each packet, and MAC-I/NAS-MAC, which is a result value of the NIA, may also be set differently for each packet. MAC-I/NAS-MAC may be a 32-bit message identification code. MAC-I/NAS-MAC may be appended to the message at the time of transmission.

다양한 실시예에 따라서, 수신측 PDCP 엔티티(420)는, 도 4의 424 동작에서와 같이 무결성 검증을 수행할 수 있다. 수신측 PDCP 엔티티(420)는, 무결성 키(integrity key)(KEY)(예: 128 비트), 카운트(COUNT)(예: 32 비트), 베어러 식별자(bearer identity)(BEARER)(예: 5 비트), 전송 디렉션(DIRECTION)(예: 1 비트), 메시지(MESSAGE)를, NIA로 입력할 수 있다. 수신측 PDCP 엔티티(420)는, NIA의 출력값으로서 XMAC-I/XNAS-MAC을 확인할 수 있다. XMAC-I/XNAS-MAC은, 예상되는 메시지 인증 코드일 수 있다. 수신측 PDCP 엔티티(420)는, 송신측 PDCP 엔티티(410)로부터 수신한 MAC-I/NAS-MAC과 계산한 XMAC-I/XNAS-MAC가 동일하면 무결성 검증이 성공한 것으로 확인하고, 동일하지 않으면 무결성 검증이 실패한 것으로 확인할 수 있다. 만약, 송신측 PDCP 엔티티(410) 및 수신측 PDCP 엔티티(420)가 확인하는 카운트(COUNT)가 상이하다면, 수신측 PDCP 엔티티(420)는, 무결성 검증에 실패할 수 있다.According to various embodiments, the receiving-side PDCP entity 420 may perform integrity verification as in operation 424 of FIG. 4 . The receiving-side PDCP entity 420 includes an integrity key (KEY) (eg, 128 bits), a count (COUNT) (eg, 32 bits), a bearer identity (BEARER) (eg, 5 bits). ), transmission direction (eg, 1 bit), and message (MESSAGE) can be entered as NIA. The receiving-side PDCP entity 420 may identify the XMAC-I/XNAS-MAC as an output value of the NIA. XMAC-I/XNAS-MAC may be an expected message authentication code. The receiving-side PDCP entity 420 checks that integrity verification is successful if the MAC-I/NAS-MAC received from the transmitting-side PDCP entity 410 and the calculated XMAC-I/XNAS-MAC are the same. It can be confirmed that the integrity verification has failed. If the counts (COUNT) checked by the transmitting-side PDCP entity 410 and the receiving-side PDCP entity 420 are different, the receiving-side PDCP entity 420 may fail integrity verification.

도 6a는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다. 도 6a의 실시예는 도 6b를 참조하여 설명하도록 한다. 도 6b는, 다양한 실시예에 따른 PDCP 상태 보고(PDCP status report)를 위한 PDCP 제어 PDU(PDCP control PDU) 포맷을 도시한다.6A is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure; The embodiment of FIG. 6A will be described with reference to FIG. 6B. 6B illustrates a PDCP control PDU (PDCP control PDU) format for a PDCP status report according to various embodiments.

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 601 동작에서, 네트워크로부터 PDCP 상태를 나타내는 제 1 메시지를 수신할 수 있다. 전자 장치(101)는, 예를 들어 네트워크로부터 PDCP 상태 보고(PDCP status report)를 위한 PDCP 제어 PDU(PDCP control PDU)를 수신할 수 있다. 예를 들어, 전자 장치(101)는 핸드 오버 시 PDCP 상태 보고를 위한 PDCP 제어 PDU를 수신할 수 있으나, 수신 시점에는 제한은 없다. 예를 들어, 전자 장치(101)는, 도 6b와 같은 포맷을 가지는 PDCP 제어 PDU를 수신할 수 있다. 도 6b를 참조하면, PDCP 제어 PDU는, 하나 이상의 옥텟(8비트)으로 구성될 수 있다. 제 1 옥텟(Oct1)에는, D/C(data/control) 필드(621), PDU type 필드(622)와 리저브드 필드(623)가 포함될 수 있다. D/C 필드(621)의 값은 해당 PDU가 데이터 PDU인지, 또는 컨트롤 PDU인지 여부를 나타낼 수 있다. PDU type 필드(622)의 값은, PDU의 타입을 나타낼 수 있으며, 예를 들어 000의 값은 PDCP 상태 보고 타입을 나타낼 수 있다. 제 2 옥텟(Oct2) 내지 제 5 옥텟(Oct4), 즉 40 비트에는 FMC(first missing count) 필드(624)가 포함될 수 있으며, FMC 필드(624) 내의 값은 수신측 PDCP 엔티티가 리오더링 윈도우에서 최초로 수신하지 못한 PDU의 카운트를 나타낼 수 있다. 제 6 옥텟(Oct 6) 내지 제 5+N 옥텟(Oct 5_N)에는 비트맵 필드(625)가 포함될 수 있다. 비트맵 필드(625)의 렝스는 가변적일 수 있으며, FMC로부터 이후 카운트 값에 대응하는 PDU의 수신/미수신 여부를 나타낼 수 있으나, 제한은 없다.According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , in operation 601 , a first message indicating a PDCP state may be received from the network. The electronic device 101 may receive, for example, a PDCP control PDU for a PDCP status report from the network. For example, the electronic device 101 may receive a PDCP control PDU for PDCP status report upon handover, but there is no limitation on the reception time. For example, the electronic device 101 may receive a PDCP control PDU having the format shown in FIG. 6B . Referring to FIG. 6B , the PDCP control PDU may consist of one or more octets (8 bits). The first octet Oct1 may include a data/control (D/C) field 621 , a PDU type field 622 , and a reserved field 623 . The value of the D/C field 621 may indicate whether the corresponding PDU is a data PDU or a control PDU. A value of the PDU type field 622 may indicate a PDU type, for example, a value of 000 may indicate a PDCP status report type. A first missing count (FMC) field 624 may be included in the second octet (Oct2) to the fifth octet (Oct4), that is, 40 bits, and the value in the FMC field 624 is determined by the receiving PDCP entity in the reordering window. It may indicate the count of PDUs not initially received. A bitmap field 625 may be included in the sixth octet (Oct 6) to the fifth +N octet (Oct 5_N). The length of the bitmap field 625 may be variable and may indicate whether a PDU corresponding to a subsequent count value is received/not received from the FMC, but there is no limitation.

다양한 실시예에 따라서, 전자 장치(101)는 603 동작에서, 네트워크의 최초 미수신 카운트를 확인할 수 있다. 예를 들어, 전자 장치(101)는, 도 6b의 PDCP 제어 PDU의 FMC 필드(624)의 값에 기반하여, 최초 미수신 카운트를 확인할 수 있다.According to various embodiments, in operation 603 , the electronic device 101 may check an initial non-reception count of the network. For example, the electronic device 101 may check the initial non-receipt count based on the value of the FMC field 624 of the PDCP control PDU of FIG. 6B .

다양한 실시예에 따라서, 전자 장치(101)는, 605 동작에서, 송신할 예정인 메시지의 카운트 및 최초 미수신 카운트를 비교할 수 있다. 전자 장치(101), 예를 들어, 송신 PDCP 엔티티는, 하기의 상태 변수들(state variables)을 유지할 수 있다.According to various embodiments, in operation 605 , the electronic device 101 may compare a count of a message scheduled to be transmitted and an initial not-received count. The electronic device 101, for example, the transmitting PDCP entity, may maintain the following state variables.

a)TX_NEXT: 이 상태 변수는, 송신되어야 할 다음 PDCP SDU의 카운트 값을 나타낼 수 있으며, 최초 값은 0으로 설정될 수 있다.a)TX_NEXT: This state variable may indicate the count value of the next PDCP SDU to be transmitted, and the initial value may be set to 0.

예를 들어, 전자 장치(101)는, TX_NEXT의 상태 변수와 최초 미수신 카운트를 비교할 수 있다. 전자 장치(101)는, 607 동작에서, 비교 결과에 기반하여, 송신할 예정인 메시지의 카운트를 조정할 수 있다. 예를 들어, 송신할 예정인 메시지의 카운트(예: TX_NEXT)보다, 네트워크의 최초 미수신 카운트(예: FMC)가 큰 경우는, 전자 장치(101)는 송신할 예정인 메시지 카운트를 조정하도록 설정될 수 있다. 이는, 송신할 예정인 메시지의 카운트보다, 네트워크가 더 큰 카운트를 기대하는 것으로, 전자 장치(101), 또는 네트워크 중 적어도 하나에서 발생한 오류에 기인한 것일 수 있다. 또는, 예를 들어, 송신할 예정인 메시지의 카운트(예: TX_NEXT)가 네트워크의 최초 미수신 카운트(예: FMC)보다 큰 경우, 예를 들어 TX_NEXT가 FMC와 지정된 값의 합보다 큰 경우는, 전자 장치(101)는 송신할 예정인 메시지 카운트를 조정하도록 설정될 수 있다. 일반적으로 송신할 예정인 메시지의 카운트는 최초 미수신 카운트보다 클 수 있다. 하지만, 송신할 예정인 메시지의 카운트가 최초 미수신 카운트보다 큰 경우, 예를 들어 지정된 값 이상 큰 경우는, 이는 전자 장치(101), 또는 네트워크 중 적어도 하나에서 발생한 오류에 기인한 것일 수 있다. 이하에서는, 상술한 실시예들 각각에 대한 조정 과정을 설명하도록 한다.For example, the electronic device 101 may compare the state variable of TX_NEXT with the initial non-receipt count. In operation 607 , the electronic device 101 may adjust the count of messages scheduled to be transmitted based on the comparison result. For example, when the initial non-received count (eg, FMC) of the network is greater than the count of messages scheduled to be transmitted (eg, TX_NEXT), the electronic device 101 may be set to adjust the message count scheduled to be transmitted. . This may be due to an error occurring in the electronic device 101 or at least one of the network as the network expects a larger count than the count of the message to be transmitted. Or, for example, when the count (eg, TX_NEXT) of the message to be transmitted is greater than the initial non-received count (eg, FMC) of the network, for example, when TX_NEXT is greater than the sum of the FMC and the specified value, the electronic device 101 can be set to adjust the message count to be sent. In general, the count of messages scheduled to be transmitted may be greater than the initial unreceived count. However, when the count of messages scheduled to be transmitted is greater than the initial non-received count, for example, greater than a specified value, this may be due to an error occurring in at least one of the electronic device 101 or the network. Hereinafter, an adjustment process for each of the above-described embodiments will be described.

도 7은 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.7 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 701 동작에서, 네트워크로부터 PDCP 상태를 나타내는 제 1 메시지를 수신할 수 있다. 예를 들어, 전자 장치(101)는, 도 6b와 같은 포맷을 가지는 PDCP 제어 PDU를 수신할 수 있다. 703 동작에서, 전자 장치(101)는, 네트워크의 최초 미수신 카운트를 확인할 수 있다. 예를 들어, 전자 장치(101)는, 도 6b와 같은 포맷을 가지는 PDCP 제어 PDU의 FMC 필드(624)의 값에 기반하여, 최초 미수신 카운트를 확인할 수 있다.According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , in operation 701 , a first message indicating a PDCP state may be received from the network. For example, the electronic device 101 may receive a PDCP control PDU having the format shown in FIG. 6B . In operation 703 , the electronic device 101 may check the initial non-receipt count of the network. For example, the electronic device 101 may check the initial non-receipt count based on the value of the FMC field 624 of the PDCP control PDU having the format shown in FIG. 6B .

다양한 실시예에 따라서, 전자 장치(101)는, 705 동작에서, 송신할 예정인 메시지의 카운트가 최초 미수신 카운트보다 작은 것(또는, 이하인 것)을 확인할 수 있다. 예를 들어, 전자 장치(101)는, 관리 중이 TX_NEXT가 수신된 FMC가 더 작은 것(또는, 이하인 것)을 확인할 수 있다. 전자 장치(101)는, 707 동작에서, 송신할 예정인 메시지의 카운트를 최초 미수신 카운트로 조정할 수 있다. 전자 장치(101)는, 예를 들어 TX_NEXT를 수신된 FMC로 조정할 수 있다.According to various embodiments, in operation 705 , the electronic device 101 may determine that the count of the message scheduled to be transmitted is less than (or less than) the initial non-received count. For example, the electronic device 101 may check that the FMC in which the TX_NEXT is received is smaller (or less than) during management. In operation 707 , the electronic device 101 may adjust the count of the message scheduled to be transmitted to the initial non-received count. The electronic device 101 may adjust, for example, TX_NEXT to the received FMC.

도 8a는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다. 도 8a의 실시예는 도 8b를 참조하여 설명하도록 한다. 도 8b는 다양한 실시예에 따른 PDCP 데이터 PDU의 포맷을 도시한다.8A is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure; The embodiment of FIG. 8A will be described with reference to FIG. 8B. 8B illustrates a format of a PDCP data PDU according to various embodiments.

도 8a에서, 전자 장치(101)의 업링크 메시지를 네트워크(800)로 송신하는 동작들을 도시한다.In FIG. 8A , operations of transmitting an uplink message of the electronic device 101 to the network 800 are illustrated.

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 801 동작에서, TX_NEXT의 SN 부분을 A1-1로 설정(또는, 유지)할 수 있다. 도 8a에 기재되는 A-1, A1, A2는 SN일 수 있으며, 예를 들어 자연수에 대응하는 값으로 도 8b의 PDCP SN 필드(833)에서 설정된 형식을 따를 수 있다. 803 동작에서, 전자 장치(101)는, 제 1 PDU(PDU #1)를 네트워크(800)로 송신할 수 있다. 제 1 PDU(PDU #1)의 SN은 A1-1일 수 있다. 예를 들어, 전자 장치(101)는, 도 8b와 같은 포맷을 가지는 PDCP 데이터 PDU를 네트워크(800)로 송신할 수 있다. PDCP 데이터 PDU는 예를 들어 N개의 옥텟을 가지도록 구성될 수 있다. 제 1 옥텟(Oct1)에는, D/C(data/control) 필드(831), 리저브드 필드(832), 및 PDCP SN 필드(833)의 일부가 포함될 수 있으며, 제 2 옥텟(Oct2) 및 제 3 옥텟(Oct3)에는 PDCP SN 필드(833)의 나머지가 포함될 수 있다. D/C 필드(831)의 값은 해당 PDU가 데이터 PDU인지, 또는 컨트롤 PDU인지 여부를 나타낼 수 있다. 제 4 옥텟(Oct 4) 내지 제 N-4 옥텟에는 데이터(data) 필드(834)가 포함될 수 있다. 제 N-3 옥텟(Oct N-3) 내지 제 N 옥텟(Oct 4)에는 선택적으로(optionally) MAC-I 필드(835)가 포함될 수 있다. 예를 들어, 전자 장치(101)는, 803 동작에서, PDCP SN 필드(833)에 A1-1을 나타내는 비트를 포함시킨 제 1 PDU(PDU #1)을 네트워크(800)로 송신할 수 있다.According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , 801, the SN portion of TX_NEXT may be set (or maintained) to A1-1. A-1, A1, and A2 described in FIG. 8A may be SNs, for example, a value corresponding to a natural number and may follow the format set in the PDCP SN field 833 of FIG. 8B. In operation 803 , the electronic device 101 may transmit the first PDU (PDU #1) to the network 800 . The SN of the first PDU (PDU #1) may be A1-1. For example, the electronic device 101 may transmit a PDCP data PDU having the format shown in FIG. 8B to the network 800 . A PDCP data PDU may be configured to have N octets, for example. The first octet (Oct1) may include a part of a data/control (D/C) field 831 , a reserved field 832 , and a PDCP SN field 833 , and the second octet (Oct2) and the second octet (Oct2) The remainder of the PDCP SN field 833 may be included in 3 octets (Oct3). The value of the D/C field 831 may indicate whether the corresponding PDU is a data PDU or a control PDU. A data field 834 may be included in the fourth octet (Oct 4) to the N-4 th octet. A MAC-I field 835 may optionally be included in the N-3 th octet (Oct N-3) to the N th octet (Oct 4). For example, in operation 803 , the electronic device 101 may transmit a first PDU (PDU #1) including a bit indicating A1-1 in the PDCP SN field 833 to the network 800 .

다양한 실시예에 따라서, 제 1 PDU(PDU #1)를 송신하고, 전자 장치(101)는, 805 동작에서, TX_NEXT를 갱신할 수 있다. 예를 들어, 전자 장치(101)는, TX_NEXT의 SN 부분을 A1으로 기존보다 1만큼 증가시킬 수 있다. 예를 들어, 도 8a의 예시는 HFN이 변경되지 않고 유지되는 경우를 상정하도록 한다. 다양한 실시예에 따라서, 전자 장치(101)는, 807 동작에서, 네트워크(800)로부터 PDCP status report의 control PDU를 수신할 수 있다. 예를 들어, 전자 장치(101)는 도 6b의 FMC 필드(624) 중 SN 부분이 A2인 control PDU를 수신할 수 있다. Control PDU의 FMC가 TX_NEXT보다 큰 것(또는, 이상인 것)을 상정하도록 한다.According to various embodiments, after transmitting the first PDU (PDU #1), the electronic device 101 may update TX_NEXT in operation 805 . For example, the electronic device 101 may increase the SN portion of TX_NEXT to A1 by 1 compared to the existing one. For example, the example of FIG. 8A assumes that the HFN remains unchanged. According to various embodiments, the electronic device 101 may receive a control PDU of the PDCP status report from the network 800 in operation 807 . For example, the electronic device 101 may receive a control PDU in which the SN portion of the FMC field 624 of FIG. 6B is A2. It is assumed that the FMC of the Control PDU is greater than (or greater than) TX_NEXT.

다양한 실시예에 따라서, 전자 장치(101)는, 807 동작에서 Control PDU의 FMC가 TX_NEXT보다 큰 것(또는, 이상인 것)에 기반하여, TX_NEXT를 수신한 FMC로 갱신할 수 있다. 이에 따라, 갱신된 TX_NEXT의 SN은 A2일 수 있다. 전자 장치(101)는, 이후 811 동작에서 제 2 PDU(PDU #2)를 네트워크(800)로 송신할 수 있다. 제 2 PDU(PDU #2)의 SN은 A1이 아닌 A2로 설정될 수 있다. 네트워크(800)는, 이에 따라 기대하고 있는 SN의 PDU가 수신될 때까지 패킷들을 폐기하지 않을 수 있다.According to various embodiments, the electronic device 101 may update TX_NEXT to the received FMC based on that the FMC of the Control PDU is greater than (or greater than) TX_NEXT in operation 807 . Accordingly, the SN of the updated TX_NEXT may be A2. The electronic device 101 may then transmit the second PDU (PDU #2) to the network 800 in operation 811 . The SN of the second PDU (PDU #2) may be set to A2 instead of A1. The network 800 may accordingly not discard packets until a PDU of the expected SN has been received.

도 9는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다. 도 9에서, 전자 장치(101)의 업링크 메시지를 네트워크(800)로 송신하는 동작들을 도시한다.9 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure; In FIG. 9 , operations of transmitting an uplink message of the electronic device 101 to the network 800 are illustrated.

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 901 동작에서, 네트워크(800)로부터 PDCP 상태를 나타내는 제 1 메시지를 수신할 수 있다. 예를 들어, 전자 장치(101)는, 도 6b와 같은 포맷을 가지는 PDCP 제어 PDU를 수신할 수 있다. 903 동작에서, 전자 장치(101)는, 네트워크의 최초 미수신 카운트를 확인할 수 있다. 예를 들어, 전자 장치(101)는, 도 6b와 같은 포맷을 가지는 PDCP 제어 PDU의 FMC 필드(624)의 값에 기반하여, 최초 미수신 카운트를 확인할 수 있다.According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) is , in operation 901 , a first message indicating a PDCP state may be received from the network 800 . For example, the electronic device 101 may receive a PDCP control PDU having the format shown in FIG. 6B . In operation 903 , the electronic device 101 may check the initial non-receipt count of the network. For example, the electronic device 101 may check the initial non-receipt count based on the value of the FMC field 624 of the PDCP control PDU having the format shown in FIG. 6B .

다양한 실시예에 따라서, 전자 장치(101)는, 905 동작에서, 송신할 예정인 메시지의 카운트 및 최초 미수신 카운트가 지정된 적어도 하나의 조건 중 적어도 하나를 만족함을 확인할 수 있다. 예를 들어, 전자 장치(101)는, 적어도 하나의 조건 중 제 1 조건이 만족하는지 여부를 확인하는 동작으로, 송신할 예정인 메시지의 카운트가 최초 미수신 카운트보다 작은지(또는, 이하인 지) 여부를 확인할 수 있다. 또는, 전자 장치(101)는, 적어도 하나의 조건 중 제 2 조건이 만족하는지 여부를 확인하는 동작으로, 송신할 예정인 메시지의 카운트가 최초 미수신 카운트보다 지정된 값 이상만큼 큰지 여부를 확인할 수 있다. 예를 들어, 전자 장치(101)는 수학식 1이 만족하는지 여부를 제 2 조건이 만족하는지 여부로서 확인할 수 있다.According to various embodiments, in operation 905 , the electronic device 101 may confirm that the count of the message scheduled to be transmitted and the initial non-received count satisfy at least one of at least one specified condition. For example, the electronic device 101 determines whether the first condition among the at least one condition is satisfied, and determines whether the count of the message scheduled to be transmitted is less than (or less than) the initial non-received count. can be checked Alternatively, the electronic device 101 may determine whether the count of messages scheduled to be transmitted is greater than the initial non-received count by a specified value or more as an operation of determining whether a second condition among at least one condition is satisfied. For example, the electronic device 101 may determine whether Equation 1 is satisfied as whether the second condition is satisfied.

Figure pat00001
Figure pat00001

수학식 1의 TX_NEXT는, 전자 장치(101)가 관리하는 TX_NEXT이며, FMC는 전자 장치(101)가 수신한 FMC일 수 있다. 수학식 1의 TX_NEXT - X의 값이 FMC보다 큰지 여부는, TX_NEXT - X의 값이 FMC보다 이상인지 여부로 변경될 수도 있다. 수학식 1의 X는, 하나의 예에서, 리오더링 타이머(reordering timer) 동안 전달될 수 있는 PDU의 개수에 기반하여 설정될 수 있다. X는, 예를 들어 수학식 2에 기반하여 설정될 수 있다.TX_NEXT in Equation 1 may be TX_NEXT managed by the electronic device 101 , and the FMC may be an FMC received by the electronic device 101 . Whether the value of TX_NEXT - X in Equation 1 is greater than FMC may be changed depending on whether the value of TX_NEXT - X is greater than FMC. X in Equation 1, in one example, may be set based on the number of PDUs that may be delivered during a reordering timer. X may be set, for example, based on Equation (2).

Figure pat00002
Figure pat00002

수학식 2의 Max throughput은 최대 쓰루풋이며, MTU size는 MTU(maximum transmission unit)의 크기이며, reordering timer는 리오더링 타이머의 시간일 수 있다. 예를 들어, Max throughput이 100Mbps, MTU size가 1500Byte, reordering timer가 100ms 경우, X는 100,000,000 / (1500Bytes*8bit) * 0.1 = 833 이 될 수 있다. 만약, reordering timer가 0인 경우에는, 전자 장치(101)는, reordering timer의 지정된 값(예: 1ms)을 수학식 2에 적용하여 X를 확인할 수도 있다.Max throughput in Equation 2 is maximum throughput, MTU size is the size of a maximum transmission unit (MTU), and the reordering timer may be the time of the reordering timer. For example, if Max throughput is 100Mbps, MTU size is 1500Byte, and reordering timer is 100ms, X may be 100,000,000 / (1500Bytes*8bit) * 0.1 = 833. If the reordering timer is 0, the electronic device 101 may identify X by applying a specified value (eg, 1 ms) of the reordering timer to Equation 2 .

다양한 실시예에 따라서, X는 패킷 서비스 중인 셀의 대역폭(bandwidth) 정보 에 따라 설정될 수도 있으며, 예를 들어 표 1과 같이 설정될 수도 있다.According to various embodiments, X may be set according to bandwidth information of a cell in which a packet is being serviced, for example, as shown in Table 1.

BandwidthBandwidth 55 1010 1515 2020 2525 3030 4040 XX 800800 16001600 24002400 32003200 40004000 48004800 64006400 BandwidthBandwidth 5050 6060 8080 9090 100100 200200 400400 XX 80008000 96009600 1280012800 1440014400 1600016000 3200032000 6400064000

다양한 실시예에 따라서, X는 Max throughput에 따라 설정될 수도 있으며, 예를 들어 표 2와 같이 설정될 수도 있다.According to various embodiments, X may be set according to Max throughput, for example, as shown in Table 2.

Max Throuput(X) Max Throughput(X) 100100 200200 300300 400400 500500 600600 800800 XX 800800 16001600 24002400 32003200 40004000 48004800 64006400 Max Throuput(X) Max Throughput(X) 10001000 12001200 16001600 18001800 20002000 40004000 80008000 XX 80008000 96009600 1280012800 1440014400 1600016000 3200032000 6400064000

다양한 실시예에서, X는 지정된 상수일 수도 있다.In various embodiments, X may be a designated constant.

다양한 실시예에 따라서, 전자 장치(101)는, 적어도 하나의 조건(예를 들어, 상술한 제 1 조건 및/또는 제 2 조건)이 만족됨을 확인하고, 이에 기반하여 907 동작에서, RLF(radio link failure) 절차를 통하여 송신할 예정인 메시지의 카운트를 조정할 수 있다. 전자 장치(101)는, 커넥션 재연결을 통하여 데이터 스톨(data stall)을 방지할 수 있으며, 카운터 불일치를 해소할 수 있다.According to various embodiments, the electronic device 101 checks that at least one condition (eg, the first condition and/or the second condition described above) is satisfied, and based on this, in operation 907 , a radio (RLF) link failure) procedure to adjust the count of messages scheduled to be transmitted. The electronic device 101 may prevent data stall through connection reconnection and may resolve counter mismatch.

도 10a는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.10A is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 1001 동작에서, 송신할 예정인 메시지의 카운트 및 최초 미수신 카운트가 지정된 적어도 하나의 조건 중 적어도 하나를 만족함을 확인할 수 있다. 예를 들어, 도 9를 참조하여 설명한 바와 같이, 전자 장치(101)는, TX_NEXT 및 FMC가, 예를 들어 수학식 1 또는 수학식 2를 만족함을 확인할 수 있다.According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) is , 1001 , it may be confirmed that the count of the message scheduled to be transmitted and the initial non-received count satisfy at least one of at least one specified condition. For example, as described with reference to FIG. 9 , the electronic device 101 may confirm that TX_NEXT and FMC satisfy Equation 1 or Equation 2, for example.

다양한 실시예에 따라서, 전자 장치(101)는, 1003 동작에서, RLF를 선언할 수 있다. 예를 들어, 전자 장치(101)는, RLF에 대응하여 설정된 적어도 하나의 동작을 수행할 수 있다. 전자 장치(101)는, UM(unacknowledged mode) 베어러에 문제가 발생한 경우, RRC 재형성 절차(RRC reestablishment procedure)를 수행할 수 있다. 예를 들어, 전자 장치(101)는, 1005 동작에서, 셀 선택(cell selection)을 수행할 수 있다. 전자 장치(101)는, 네트워크(800)(예: 셀)에 대한 측정 결과가 셀 선택 조건(cell selection condition)을 만족함에 기반하여, 셀 선택을 수행할 수 있다. 전자 장치(101)는, 예를 들어 suitable 셀에 캠프 온(camp on)할 수 있다. 1007 동작에서, 전자 장치(101)는, 캠프 온한 셀에 대하여 랜덤 억세스 프리앰블(random access preamble)을 송신할 수 있다. 1009 동작에서, 전자 장치(101)는, 캠프 온한 셀로부터 랜덤 억세스 응답(random access response)을 수신할 수 있다. 1011 동작에서, 전자 장치(101)는, RRC 재형성을 요청(RRC reestablishment request)을 송신할 수 있다. 1013 동작에서, 네트워크(800)는, RRC 재형성(RRC reestablishment)를 전자 장치(101)에 송신할 수 있다. 1015 동작에서, 전자 장치(101)는, RRC 재형성 완료(RRC reestablishment complete)를 네트워크(800)에 송신할 수 있다. 네트워크(800)는, 1017 동작에서, RRC 재설정(RRC reconfiguration)을 전자 장치(101)에 송신할 수 있다. 전자 장치(101)는, 1019 동작에서, RRC 재설정 완료(RRC reconfiguration complete)를 네트워크(800)로 송신할 수 있다. UM 베어러의 경우 PDCP re-establish 시에, TX_NEXT가 초기화되기 때문에, 전자 장치(101) 및 네트워크(800) 사이의 카운트 불일치가 해소될 수 있다.According to various embodiments, the electronic device 101 may declare the RLF in operation 1003 . For example, the electronic device 101 may perform at least one operation set in response to the RLF. When a problem occurs in an unacknowledged mode (UM) bearer, the electronic device 101 may perform an RRC reestablishment procedure. For example, the electronic device 101 may perform cell selection in operation 1005 . The electronic device 101 may perform cell selection on the basis that a measurement result of the network 800 (eg, a cell) satisfies a cell selection condition. The electronic device 101 may camp on, for example, a suitable cell. In operation 1007 , the electronic device 101 may transmit a random access preamble to the camped-on cell. In operation 1009 , the electronic device 101 may receive a random access response from the camped-on cell. In operation 1011 , the electronic device 101 may transmit an RRC reestablishment request. In operation 1013 , the network 800 may transmit an RRC reestablishment to the electronic device 101 . In operation 1015 , the electronic device 101 may transmit an RRC reestablishment complete to the network 800 . The network 800 may transmit an RRC reconfiguration to the electronic device 101 in operation 1017 . The electronic device 101 may transmit an RRC reconfiguration complete to the network 800 in operation 1019 . In the case of a UM bearer, since TX_NEXT is initialized during PDCP re-establishment, a count mismatch between the electronic device 101 and the network 800 may be resolved.

도 10b는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.10B is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 1021 동작에서, 송신할 예정인 메시지의 카운트 및 최초 미수신 카운트가 지정된 적어도 하나의 조건 중 적어도 하나를 만족함을 확인할 수 있다. 예를 들어, 도 9를 참조하여 설명한 바와 같이, 전자 장치(101)는, TX_NEXT 및 FMC가, 예를 들어 수학식 1 또는 수학식 2를 만족함을 확인할 수 있다.According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , 1021 , it may be confirmed that the count of the message scheduled to be transmitted and the initial non-received count satisfy at least one of at least one specified condition. For example, as described with reference to FIG. 9 , the electronic device 101 may confirm that TX_NEXT and FMC satisfy Equation 1 or Equation 2, for example.

다양한 실시예에 따라서, 전자 장치(101)는, 1023 동작에서, RLF를 선언할 수 있다. 예를 들어, 전자 장치(101)는, RLF에 대응하여 설정된 적어도 하나의 동작을 수행할 수 있다. 전자 장치(101)는, AM(acknowledged mode) 베어러에 문제가 발생한 경우, RRC_IDLE 상태로 천이하고, 이후 발생하는 데이터에 대하여서는 SERVICE REQEUST 절차를 통하여 RRC connection을 재연결할 수 있다. 예를 들어, 전자 장치(101)는, 1025 동작에서, 아이들 상태(예: RRC_IDLE 상태)에서 셀 선택을 수행할 수 있다. 1027 동작에서, 전자 장치(101)는, 셀 선택 결과 캠프온한 네트워크(800)(예: suitable 셀)에 랜덤 억세스 프리앰블(random access preamble)을 송신할 수 있다. 1029 동작에서, 네트워크(800)는, 랜덤 억세스 응답(random access response)를 전자 장치(101)로 송신할 수 있다.According to various embodiments, the electronic device 101 may declare the RLF in operation 1023 . For example, the electronic device 101 may perform at least one operation set in response to the RLF. When a problem occurs in the acknowledged mode (AM) bearer, the electronic device 101 may transition to the RRC_IDLE state and reconnect the RRC connection with respect to data generated thereafter through a SERVICE REQEUST procedure. For example, in operation 1025 , the electronic device 101 may perform cell selection in an idle state (eg, an RRC_IDLE state). In operation 1027 , the electronic device 101 may transmit a random access preamble to the network 800 (eg, a suitable cell) camped on as a result of the cell selection. In operation 1029 , the network 800 may transmit a random access response to the electronic device 101 .

다양한 실시예에 따라서, 1031 동작에서, 전자 장치(101)는, SERVICE REQUEST를 포함하는 RRC 연결 요청(RRC connection request)를 네트워크(800)로 송신할 수 있다. 네트워크(800)는, 1033 동작에서, RRC 셋업(RRC setup)을 전자 장치(101)로 송신할 수 있다. 1035 동작에서, 전자 장치(101)는, RRC 셋업 완료(RRC setup complete)를 네트워크(800)로 송신할 수 있다. 1037 동작에서, 네트워크(800)는, RRC 재설정(RRC reconfiguration)을 전자 장치(101)로 송신할 수 있다. 1039 동작에서, 전자 장치(101)는, RRC 재설정 완료(RRC connection complete)를 네트워크(800)로 송신할 수 있다. AM 베어러는, PDCP re-establish 시 TX_NEXT가 초기화되지 않기 때문에 상술한 방식을 통하여, 전자 장치(101) 및 네트워크(800) 사이의 카운트 불일치가 해소될 수 있다.According to various embodiments, in operation 1031 , the electronic device 101 may transmit an RRC connection request including a SERVICE REQUEST to the network 800 . The network 800 may transmit an RRC setup to the electronic device 101 in operation 1033 . In operation 1035 , the electronic device 101 may transmit an RRC setup complete to the network 800 . In operation 1037 , the network 800 may transmit an RRC reconfiguration to the electronic device 101 . In operation 1039 , the electronic device 101 may transmit an RRC connection complete to the network 800 . In the AM bearer, since TX_NEXT is not initialized during PDCP re-establishment, the count mismatch between the electronic device 101 and the network 800 may be resolved through the above-described method.

도 11은 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.11 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 1101 동작에서, 네트워크(800)로부터 PDCP 상태를 나타내는 제 1 메시지를 수신할 수 있다. 1103 동작에서, 전자 장치(101)는 네트워크(800)의 최초 미수신 카운트를 확인할 수 있다. 예를 들어, 전자 장치(101)는, 도 6b와 같은 포맷을 가지는 PDCP 제어 PDU를 수신할 수 있다. 1103 동작에서, 전자 장치(101)는, 네트워크의 최초 미수신 카운트를 확인할 수 있다. 예를 들어, 전자 장치(101)는, 도 6b와 같은 포맷을 가지는 PDCP 제어 PDU의 FMC 필드(624)의 값에 기반하여, 최초 미수신 카운트를 확인할 수 있다. 1105 동작에서, 전자 장치(101)는, 송신할 예정인 메시지의 카운트 및 최초 미수신 카운트가 지정된 적어도 하나의 조건 중 적어도 하나를 만족함을 확인할 수 있다. 예를 들어, 도 9를 참조하여 설명한 바와 같이, 전자 장치(101)는, TX_NEXT 및 FMC가, 예를 들어 수학식 1 또는 수학식 2를 만족함을 확인할 수 있다.According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , in operation 1101 , a first message indicating a PDCP status may be received from the network 800 . In operation 1103 , the electronic device 101 may check the initial non-receipt count of the network 800 . For example, the electronic device 101 may receive a PDCP control PDU having the format shown in FIG. 6B . In operation 1103 , the electronic device 101 may check the initial non-receipt count of the network. For example, the electronic device 101 may check the initial non-receipt count based on the value of the FMC field 624 of the PDCP control PDU having the format shown in FIG. 6B . In operation 1105 , the electronic device 101 may confirm that the count of the message scheduled to be transmitted and the initial non-received count satisfy at least one of at least one specified condition. For example, as described with reference to FIG. 9 , the electronic device 101 may confirm that TX_NEXT and FMC satisfy Equation 1 or Equation 2, for example.

다양한 실시예에 따라서, 전자 장치(101)는, 1107 동작에서, 리커버리를 요청하는 PDU를 네트워크(800)로 송신할 수 있다. 예를 들어, 전자 장치(101)는, 도 6b와 같은 포맷의 제어 PDU를 네트워크(800)로 송신할 수 있다. 전자 장치(101)는, 도 6b와 같은 포맷의 PDU type 필드(622)에 리커버리를 요청하는 값(예: 010)을 포함시킨 제어 PDU를 네트워크(800)로 송신할 수 있다. “010”은, 예를 들어 PDCP recovery required를 나타내는 것으로, 전자 장치(101) 및 네트워크(800)가 공유할 수 있다. 이에 따라, 네트워크(800)는, 전자 장치(101)가 카운트 불일치에 따른 리커버리를 요청하는지 여부를 확인할 수 있다. 네트워크(800)는, 리커버리 요청이 확인되면, RRC 재설정(reconfigure)을 통하여 PDCP를 다시 설정함으로써 리커버리를 수행할 수 있다.According to various embodiments, the electronic device 101 may transmit a PDU requesting recovery to the network 800 in operation 1107 . For example, the electronic device 101 may transmit a control PDU having the format shown in FIG. 6B to the network 800 . The electronic device 101 may transmit a control PDU including a recovery request value (eg, 010) to the network 800 in the PDU type field 622 of the format shown in FIG. 6B . “010” indicates, for example, PDCP recovery required, and may be shared by the electronic device 101 and the network 800 . Accordingly, the network 800 may check whether the electronic device 101 requests recovery according to the count mismatch. When the recovery request is confirmed, the network 800 may perform recovery by re-establishing the PDCP through RRC reconfiguration.

도 12a는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.12A is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 1201 동작에서, 송신할 예정인 메시지의 카운트 및 최초 미수신 카운트가 지정된 적어도 하나의 조건 중 적어도 하나를 만족함을 확인할 수 있다. 예를 들어, 도 9를 참조하여 설명한 바와 같이, 전자 장치(101)는, TX_NEXT 및 FMC가, 예를 들어 수학식 1 또는 수학식 2를 만족함을 확인할 수 있다According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , 1201 , it may be confirmed that the count of the message scheduled to be transmitted and the initial non-received count satisfy at least one of at least one specified condition. For example, as described with reference to FIG. 9 , the electronic device 101 may confirm that TX_NEXT and FMC satisfy, for example, Equation 1 or Equation 2

다양한 실시예에 따라서, 전자 장치(101)는, 1203 동작에서, 리커버리를 요청하는 PDU(예: PDCP Control PDU with PDU type Bit 010, PDCP Recovery required)를 네트워크(800)로 송신할 수 있다. 예를 들어, UM 베어러에서의 문제가 감지되면, 전자 장치(101)는, 도 6b와 같은 포맷의 PDU type 필드(622)에 리커버리를 요청하는 값(예: 010)을 포함시킨 제어 PDU를 네트워크(800)로 송신할 수 있다. 1205 동작에서, 네트워크(800)는, RRC 재설정 메시지(예를 들어, RRC reconfiguration with reestablishPDCP for the UM bearer)을 전자 장치(101)로 송신할 수 있다. 1207 동작에서, 전자 장치(101)는, RRC 재설정 완료 메시지(RRC reconfiguration complete)를 네트워크(800)로 송신할 수 있다. 이에 따라, 전자 장치(101) 및 네트워크(800)는 PDCP 재형성을 통하여, 카운트를 재설정할 수 있으며, 카운트 불일치가 해소될 수 있다.According to various embodiments, the electronic device 101 may transmit a recovery request PDU (eg, PDCP Control PDU with PDU type Bit 010, PDCP Recovery required) to the network 800 in operation 1203 . For example, when a problem in the UM bearer is detected, the electronic device 101 transmits a control PDU including a recovery request value (eg, 010) in the PDU type field 622 of the format shown in FIG. 6B to the network. (800). In operation 1205 , the network 800 may transmit an RRC reconfiguration message (eg, RRC reconfiguration with reestablishPDCP for the UM bearer) to the electronic device 101 . In operation 1207 , the electronic device 101 may transmit an RRC reconfiguration complete message to the network 800 . Accordingly, the electronic device 101 and the network 800 may reset the count through PDCP reformation, and the count mismatch may be resolved.

도 12b는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.12B is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 1211 동작에서, 송신할 예정인 메시지의 카운트 및 최초 미수신 카운트가 지정된 적어도 하나의 조건 중 적어도 하나를 만족함을 확인할 수 있다. 예를 들어, 도 9를 참조하여 설명한 바와 같이, 전자 장치(101)는, TX_NEXT 및 FMC가, 예를 들어 수학식 1 또는 수학식 2를 만족함을 확인할 수 있다According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , 1211 , it may be confirmed that the count of the message scheduled to be transmitted and the initial non-received count satisfy at least one of at least one specified condition. For example, as described with reference to FIG. 9 , the electronic device 101 may confirm that TX_NEXT and FMC satisfy, for example, Equation 1 or Equation 2

다양한 실시예에 따라서, 전자 장치(101)는, 1213 동작에서, 리커버리를 요청하는 PDU(예: PDCP Control PDU with PDU type Bit 010, PDCP Recovery required)를 네트워크(800)로 송신할 수 있다. 예를 들어, AM 베어러에서의 문제가 감지되면, 전자 장치(101)는, 도 6b와 같은 포맷의 PDU type 필드(622)에 리커버리를 요청하는 값(예: 010)을 포함시킨 제어 PDU를 네트워크(800)로 송신할 수 있다. 1215 동작에서, 네트워크(800)는, RRC reconfiguration 메시지(예를 들어: RRC Reconfiguration with fullconfig and DRB setup)을 전자 장치(101)로 송신할 수 있다. 1217 동작에서, 전자 장치(101)는, RRC 재설정 완료 메시지(RRC reconfiguration complete)를 네트워크(800)로 송신할 수 있다. 이에 따라, 전자 장치(101) 및 네트워크(800)는 full config 및 DRB 셋업을 통하여, 카운트를 재설정할 수 있으며, 카운트 불일치가 해소될 수 있다.According to various embodiments, the electronic device 101 may transmit a recovery request PDU (eg, PDCP Control PDU with PDU type Bit 010, PDCP Recovery required) to the network 800 in operation 1213 . For example, when a problem in the AM bearer is detected, the electronic device 101 transmits a control PDU including a recovery request value (eg, 010) in the PDU type field 622 of the format shown in FIG. 6B to the network. (800). In operation 1215 , the network 800 may transmit an RRC reconfiguration message (eg: RRC Reconfiguration with fullconfig and DRB setup) to the electronic device 101 . In operation 1217 , the electronic device 101 may transmit an RRC reconfiguration complete message to the network 800 . Accordingly, the electronic device 101 and the network 800 may reset the count through full config and DRB setup, and the count mismatch may be resolved.

도 13은 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.13 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 1301 동작에서, 네트워크(800)로부터 제 1 메시지를 수신할 수 있다. 예를 들어, 전자 장치(101)는, DL로서, 도 8b와 같은 포맷을 가지는 데이터 PDU를 네트워크(800)로부터 수신할 수 있다. 제 1 메시지에는, SN이 포함될 수 있으며, 예를 들어 도 8b의 PDCP SN 필드(833)에 SN이 포함될 수 있다.According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , in operation 1301 , a first message may be received from the network 800 . For example, the electronic device 101 may receive, as a DL, a data PDU having the format shown in FIG. 8B from the network 800 . The first message may include an SN, for example, the SN may be included in the PDCP SN field 833 of FIG. 8B .

다양한 실시예에 따라서, 전자 장치(101)는, 1303 동작에서, 제 1 메시지의 카운트 및 전자 장치에서 설정된 적어도 하나의 카운트를 비교할 수 있다. 전자 장치(101)는, 제 1 메시지에 포함된 SN과 관리하고 있는 HFN에 기반하여 제 1 메시지의 카운트를 확인할 수 있다. 한편, 수신측 PDCP 엔티티는 하기의 상태 변수들(state variables)을 관리(또는, 유지)할 수 있다.According to various embodiments, in operation 1303 , the electronic device 101 may compare the count of the first message with at least one count set in the electronic device. The electronic device 101 may check the count of the first message based on the SN included in the first message and the managed HFN. Meanwhile, the receiving-side PDCP entity may manage (or maintain) the following state variables.

a)RX_NEXT: 본 상태 변수는, 수신될 것으로 예상되는 다음 PDCP SDU의 카운트 값을 나타내며, 최초 값은 0일 수 있다.a)RX_NEXT: This state variable indicates the count value of the next PDCP SDU expected to be received, and the initial value may be 0.

b)RX_DELIV: 본 상태 변수는, upper layers로 전달되지 않으며 여전히 대기되는 첫번째 PDCP SDU의 카운트 값을 나타낼 수 있다.b) RX_DELIV: This state variable may indicate the count value of the first PDCP SDU that is not transferred to upper layers and is still waiting.

c)RX_REORD: 본 상태 변수는, t-Reordering을 트리거한 PDCP 데이터 PDU와 연관된 카운트 값을 따르는 카운트 값을 나타낼 수 있다.c) RX_REORD: This state variable may indicate a count value following the count value associated with the PDCP data PDU that triggered t-Reordering.

b)의 RX_DELIV는, 송신측 PDCP 엔티티로 보고되는 경우에는, FMC로서 보고될 수도 있다.The RX_DELIV of b) may be reported as FMC when reported to the transmitting PDCP entity.

전자 장치(101)는, 상술한 수신측 PDCP 엔티티에서 유지되는 상태 변수들 중 적어도 하나를, 제 1 메시지의 카운트와 비교할 수 있다. 1305 동작에서, 전자 장치(101)는, 비교 결과에 기반하여, 전자 장치(101)에서 설정된 적어도 하나의 카운트, 예를 들어 상태 변수들 중 적어도 하나를 조정할 수 있다. 하나의 예에서, 전자 장치(101)는, 수신한 메시지의 카운트가 RX_DELIV보다 작은 경우, 예를 들어 수신한 메시지의 카운트와 지정된 값의 합이 RX_DELIV보다 작은 경우에는, 전자 장치(101)는 조정을 위한 조건이 만족된 것으로 판단할 수 있다. 또는, 전자 장치(101)는, 수신한 메시지의 카운트가 RX_NEXT보다 큰 경우, 예를 들어 수신한 메시지의 카운트가, RX_NEXT와 지정된 값의 합 보다 큰 경우에는, 전자 장치(101)는 조정을 위한 조건이 만족된 것으로 판단할 수 있다. 지정된 값은, 예를 들어 수학식 1에서 설명하였던 예시와 같이 결정될 수 있으나(예: 833), 이는 예시적인 것으로 제한은 없다. 지정된 값의 설정 방법은, 도 14를 참조하여 설명하도록 한다. 도 13과 연관된 지정된 값들과, 도 6a와 수학식 1과 연관된 지정된 값은, 상이할 수 있으나, 동일하게 설정될 수도 있다. DL 채널 상황에 따라 HARQ, RLC 재전송으로 인한 카운트 불일치 문제의 해결을 위한 지정된 값들이 설정될 수 있으며, 이에 대하여 후술하도록 한다.The electronic device 101 may compare at least one of the state variables maintained in the aforementioned receiving-side PDCP entity with the count of the first message. In operation 1305 , the electronic device 101 may adjust at least one count set in the electronic device 101 , for example, at least one of state variables, based on the comparison result. In one example, when the count of the received message is less than RX_DELIV, for example, when the sum of the count of the received message and the specified value is less than RX_DELIV, the electronic device 101 adjusts It can be judged that the conditions for Alternatively, when the count of the received message is greater than RX_NEXT, for example, when the count of the received message is greater than the sum of RX_NEXT and the specified value, the electronic device 101 performs the adjustment It can be judged that the condition is satisfied. The specified value may be determined, for example, as in the example described in Equation 1 (eg, 833), but this is illustrative and not limited. A method of setting the designated value will be described with reference to FIG. 14 . The specified values associated with FIG. 13 and the specified values associated with FIG. 6A and Equation 1 may be different, but may be set to be the same. Specified values for solving the count mismatch problem due to HARQ and RLC retransmission may be set according to DL channel conditions, which will be described later.

도 14a는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.14A is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 1401 동작에서, 제 1 메시지를 수신할 수 있다. 1403 동작에서, 전자 장치(101)는, 제 1 메시지의 카운트 및 RX_DELIV를 확인할 수 있다. 전자 장치(101)는, 예를 들어 도 8b의 PDCP SN 필드(833)에 SN과 유지하고 있는 HFN에 기반하여 제 1 메시지의 카운트를 확인할 수 있다. 전자 장치(101)는, 유지하고 있는 RX_DELIV를 확인할 수 있다.According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , in operation 1401 , a first message may be received. In operation 1403 , the electronic device 101 may check the count and RX_DELIV of the first message. The electronic device 101 may, for example, check the count of the first message based on the SN and the HFN maintained in the PDCP SN field 833 of FIG. 8B . The electronic device 101 may check the maintained RX_DELIV.

다양한 실시예에 따라, 전자 장치(101)는 1405 동작에서, 제 1 메시지의 카운트 및 RX_DELIV가 지정된 조건을 만족함을 확인할 수 있다. 예를 들어, 전자 장치(101)는, 제 1 메시지의 카운트 및 RX_DELIV가 수학식 3을 만족함을 확인할 수 있다.According to various embodiments, in operation 1405 , the electronic device 101 may determine that the count of the first message and RX_DELIV satisfy a specified condition. For example, the electronic device 101 may confirm that the count and RX_DELIV of the first message satisfy Equation (3).

Figure pat00003
Figure pat00003

수학식 3의 RCVD_COUNT는 수신한 메시지의 카운트이며, Y는 지정된 값일 수 있다. 수학식 3의 RCVD_COUNT의 값이 RX_DELIV - Y보다 작은지 여부는, RCVD_COUNT의 값이 RX_DELIV - Y 보다 이하인지 여부로 변경될 수도 있다. Y는, 예를 들어 상술한 X를 설정하는 방식들 중 적어도 일부에 기반하여 설정될 수 있다. 또는, Y는, 이미 리오더링이 완료되고 RLC ACK가 전달된 PDU에 대한 SN을 다시 수신하는 경우에 대응하는 값이므로, 지정된 상수(예: 10)으로 설정될 수도 있다. 지정된 조건이 만족된 것(예를 들어, 수학식 3이 만족된 것)으로 확인되면, 전자 장치(101)는, 1407 동작에서, 전자 장치(101)에서 설정된 적어도 하나의 카운트(예: RX_NEXT, RX_DELIV, 또는 RX_REORD 중 적어도 하나)를 조정할 수 있다.RCVD_COUNT in Equation 3 is a count of a received message, and Y may be a specified value. Whether the value of RCVD_COUNT in Equation 3 is less than RX_DELIV - Y may be changed depending on whether the value of RCVD_COUNT is less than or equal to RX_DELIV - Y. Y may be set, for example, based on at least some of the above-described methods for setting X. Alternatively, since Y is a value corresponding to a case in which reordering is already completed and the SN for the PDU to which the RLC ACK is transmitted is received again, Y may be set to a designated constant (eg, 10). When it is confirmed that the specified condition is satisfied (eg, Equation 3 is satisfied), the electronic device 101 performs at least one count (eg, RX_NEXT, RX_NEXT, at least one of RX_DELIV and RX_REORD) can be adjusted.

도 14b는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.14B is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 1411 동작에서, 제 1 메시지를 수신할 수 있다. 1413 동작에서, 전자 장치(101)는, 제 1 메시지의 카운트 및 RX_NEXT를 확인할 수 있다. 전자 장치(101)는, 예를 들어 도 8b의 PDCP SN 필드(833)에 SN과 유지하고 있는 HFN에 기반하여 제 1 메시지의 카운트를 확인할 수 있다. 전자 장치(101)는, 유지하고 있는 RX_NEXT를 확인할 수 있다.According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , in operation 1411 , a first message may be received. In operation 1413 , the electronic device 101 may check the count and RX_NEXT of the first message. The electronic device 101 may, for example, check the count of the first message based on the SN and the HFN maintained in the PDCP SN field 833 of FIG. 8B . The electronic device 101 may check the maintained RX_NEXT.

다양한 실시예에 따라, 전자 장치(101)는 1415 동작에서, 제 1 메시지의 카운트 및 RX_NEXT가 지정된 조건을 만족함을 확인할 수 있다. 예를 들어, 전자 장치(101)는, 제 1 메시지의 카운트 및 RX_NEXT가 수학식 4를 만족함을 확인할 수 있다.According to various embodiments, in operation 1415 , the electronic device 101 may confirm that the count of the first message and RX_NEXT satisfy a specified condition. For example, the electronic device 101 may confirm that the count and RX_NEXT of the first message satisfy Equation (4).

Figure pat00004
Figure pat00004

수학식 4의 RCVD_COUNT는 수신한 메시지의 카운트이며, Z는 지정된 값일 수 있다. 수학식 3의 RCVD_COUNT의 값이 RX_NEXT + Z보다 큰지 여부는, RCVD_COUNT의 값이 RX_NEXT + Z 보다 이상인지 여부로 변경될 수도 있다. Z는, 예를 들어 상술한 X를 설정하는 방식들 중 적어도 일부에 기반하여 설정될 수 있다. 수학식 1, 수학식 3, 수학식 4의 X, Y, Z 중 적어도 일부는, 서로 동일할 수도 있거나, 또는 모두 상이할 수도 있다. 지정된 조건이 만족된 것(예를 들어, 수학식 4가 만족된 것)으로 확인되면, 전자 장치(101)는, 1417 동작에서, 전자 장치(101)에서 설정된 적어도 하나의 카운트(예: RX_NEXT, RX_DELIV, 또는 RX_REORD 중 적어도 하나)를 조정할 수 있다.RCVD_COUNT in Equation 4 is a count of a received message, and Z may be a specified value. Whether the value of RCVD_COUNT in Equation 3 is greater than RX_NEXT + Z may be changed depending on whether the value of RCVD_COUNT is greater than RX_NEXT + Z. Z may be set, for example, based on at least some of the above-described methods for setting X. At least some of X, Y, and Z in Equation 1, Equation 3, and Equation 4 may be the same as each other, or all may be different. When it is confirmed that the specified condition is satisfied (eg, Equation 4 is satisfied), the electronic device 101 performs at least one count (eg, RX_NEXT, RX_NEXT, at least one of RX_DELIV and RX_REORD) can be adjusted.

도 15는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다. 도 15의 실시예는 도 16a 및 16b를 참조하여 설명하도록 한다. 도 16a 및 16b는, 다양한 실시예에 따른 수신되는 PDU 및 카운트에 대한 예시이다.15 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure; The embodiment of FIG. 15 will be described with reference to FIGS. 16A and 16B. 16A and 16B are examples of received PDUs and counts according to various embodiments.

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 1501 동작에서, 제 1 메시지를 수신할 수 있다. 1503 동작에서, 전자 장치(101)는, 제 1 메시지의 카운트 및 전자 장치에서 설정된 적어도 하나의 카운트, 예를 들어 RX_NEXT, RX_DELIV, 또는 RX_REORD 중 적어도 하나와 비교할 수 있다. 1505 동작에서, 전자 장치(101)는, 비교 결과에 기반하여, 전자 장치(101)에서 설정된 적어도 하나의 카운트 조정이 요구됨을 확인할 수 있다. 예를 들어, 전자 장치(101)는, 수학식 3 또는 수학식 4가 만족함을 확인할 수 있다.According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , in operation 1501 , a first message may be received. In operation 1503 , the electronic device 101 may compare the count of the first message and at least one count set in the electronic device, for example, at least one of RX_NEXT, RX_DELIV, or RX_REORD. In operation 1505 , the electronic device 101 may determine that at least one count adjustment set in the electronic device 101 is required based on the comparison result. For example, the electronic device 101 may confirm that Equation 3 or Equation 4 is satisfied.

다양한 실시예에 따라서, 전자 장치(101)는, 1507 동작에서, 조정 규칙을 확인할 수 있다. 전자 장치(101)는, 복수 개의 조정 규칙 중 어느 하나의 조정 규칙을 선택할 수 있다. 예를 들어, 수학식 5는, 조정 규칙 선택을 위한 조건일 수 있다.According to various embodiments, the electronic device 101 may identify an adjustment rule in operation 1507 . The electronic device 101 may select any one adjustment rule from among a plurality of adjustment rules. For example, Equation 5 may be a condition for selecting an adjustment rule.

Figure pat00005
Figure pat00005

수학식 5에서, A는 카운트 불일치를 발생시키는 PDU의 카운트이며, B는 해당 PDU를 수신하기 직전의 RX_NEXT 값이며, C는 해당 PDU를 수신한 다음에 수신되는 PDU의 카운트일 수 있다. 예를 들어, 수학식 5가 만족됨이 확인되면 전자 장치(101)는 제 1 조정 규칙을 선택할 수 있으며, 수학식 5가 만족되지 않음이 확인되면 전자 장치(101)는 제 2 조정 규칙을 선택할 수 있다.In Equation 5, A is the count of the PDU causing the count mismatch, B is the RX_NEXT value immediately before receiving the PDU, and C is the count of the PDU received after receiving the PDU. For example, if it is confirmed that Equation 5 is satisfied, the electronic device 101 may select the first adjustment rule, and if it is confirmed that Equation 5 is not satisfied, the electronic device 101 selects the second adjustment rule can

다양한 실시예에 따라서, 제 1 조정 규칙이 선택되면, 1509 동작에서, 전자 장치(101)는, 제 1 조정 규칙에 기반하여 전자 장치에서 설정된 적어도 하나의 카운트를 조정할 수 있다. 예를 들어, 도 16a를 참조하면, 전자 장치(101)는, 제 1 시점에, 제 1 PDU(1601)를 네트워크(800)로부터 수신할 수 있다. 제 1 PDU(1601)의 카운트는 B-1일 수 있다. 전자 장치(101)는, RX_NEXT를 B로 관리할 수 있다. 전자 장치(101)는, 제 2 시점에, 제 2 PDU(1602)를 네트워크(800)로부터 수신할 수 있다. 제 2 PDU(1602)의 카운트는 A일 수 있다. 전자 장치(101)는, 제 2 PDU(1602)에 의하여 카운트 불일치를 확인할 수 있다. 예를 들어, 전자 장치(101)는, 수학식 4인 A > B + Z를 만족함을 확인할 수 있다. 전자 장치(101)는, 제 2 PDU(1602)가 카운트 불일치를 야기하는 PDU로 확인할 수 있다.According to various embodiments, if the first adjustment rule is selected, in operation 1509 , the electronic device 101 may adjust at least one count set in the electronic device based on the first adjustment rule. For example, referring to FIG. 16A , the electronic device 101 may receive the first PDU 1601 from the network 800 at a first time point. The count of the first PDU 1601 may be B-1. The electronic device 101 may manage RX_NEXT as B. The electronic device 101 may receive the second PDU 1602 from the network 800 at a second time point. The count of the second PDU 1602 may be A. The electronic device 101 may check the count mismatch based on the second PDU 1602 . For example, the electronic device 101 may confirm that Equation 4, A > B + Z, is satisfied. The electronic device 101 may identify the second PDU 1602 as a PDU causing a count mismatch.

이후, 전자 장치(101)는, 제 3 시점에, 제 3 PDU(1603)를 네트워크(800)로부터 수신할 수 있다. 제 2 PDU(1602)의 카운트는 C일 수 있다. 전자 장치(101)는, 예를 들어, 수학식 5인 |A - C| =< |B - C|가 만족함을 확인할 수 있으며, 이에 따라 제 1 조정 규칙을 선택할 수 있다. |A - C| =< |B - C|가 만족됨은, 네트워크(800)에서 전송하는 SN이 정확도가 높은 것을 의미할 수 있으며, 제 1 조정 규칙은 전자 장치(101)에서 유지되는 B가 아닌 수신된 SN에 따른 A에 기반한 것일 수 있다. 예를 들어, 도 16a에서와 같이, A가 C보다 큰 경우에는, 전자 장치(101)는 RX_NEXT를 A+1로 갱신할 수 있다. C가 A보다 큰 경우에는, 전자 장치(101)는 RX_NEXT를 C+1로 갱신할 수 있다. 이 경우, 전자 장치(101)는 제 2 PDU(1602)를 폐기하지 않을 수도 있다.Thereafter, the electronic device 101 may receive the third PDU 1603 from the network 800 at a third time point. The count of the second PDU 1602 may be C. The electronic device 101 is, for example, |A - C| It can be confirmed that =< |B - C| is satisfied, and accordingly, the first adjustment rule can be selected. |A - C| When =< |B - C| is satisfied, it may mean that the SN transmitted from the network 800 has high accuracy, and the first adjustment rule is based on the received SN other than the B maintained by the electronic device 101 . It may be based on A. For example, as shown in FIG. 16A , when A is greater than C, the electronic device 101 may update RX_NEXT to A+1. When C is greater than A, the electronic device 101 may update RX_NEXT to C+1. In this case, the electronic device 101 may not discard the second PDU 1602 .

다양한 실시예에 따라서, 제 2 조정 규칙이 선택되면, 1511 동작에서, 전자 장치(101)는, 제 2 조정 규칙에 기반하여 전자 장치에서 설정된 적어도 하나의 카운트를 조정할 수 있다. 전자 장치(101)는, 예를 들어, 수학식 5인 |A - C| =< |B - C|가 만족되지 않을 확인할 수 있으며, 이에 따라 제 2 조정 규칙을 선택할 수 있다. |A - C| =< |B - C|가 만족되지 않음은, 네트워크(800)에서 전송하는 SN이 정확도가 낮은 것을 의미할 수 있으며, 제 2 조정 규칙은 수신된 SN에 따른 A가 아닌 전자 장치(101)에서 유지되는 B에 기반한 것일 수 있다. 만약, A를 기준으로 상태 변수를 업데이트하는 경우에는, 이후 수신되는 A보다 작은 카운트의 PDU들이 모두 폐기되는 바, 제 2 조정 규칙은 전자 장치(101)에서 유지되는 B에 기반할 수 있다. 예를 들어, 도 16b에서와 같이, C가 B보다 큰 경우에는, 전자 장치(101)는 RX_NEXT를 C+1로 갱신할 수 있다. B가 C보다 큰 경우에는, 전자 장치(101)는 RX_NEXT를 B+1로 갱신할 수 있다.According to various embodiments, if the second adjustment rule is selected, in operation 1511 , the electronic device 101 may adjust at least one count set in the electronic device based on the second adjustment rule. The electronic device 101 is, for example, |A - C| It can be checked that =< |B - C| is not satisfied, and accordingly, the second adjustment rule can be selected. |A - C| =< |B - C| is not satisfied, it may mean that the SN transmitted from the network 800 has low accuracy, and the second adjustment rule is determined in the electronic device 101 other than A according to the received SN. It may be based on B being maintained. If the state variable is updated based on A, all PDUs with a count smaller than A are discarded. Therefore, the second adjustment rule may be based on B maintained in the electronic device 101 . For example, as shown in FIG. 16B , when C is greater than B, the electronic device 101 may update RX_NEXT to C+1. When B is greater than C, the electronic device 101 may update RX_NEXT to B+1.

한편, 상술한 RX_NEXT의 조정은 단순히 예시적인 것으로, 다양한 실시예에 따른 전자 장치(101)는, RX_NEXT 이외에도, RX_DELIV 및/또는 RX_REORD도 조정할 수 있다.Meanwhile, the aforementioned adjustment of RX_NEXT is merely exemplary, and the electronic device 101 according to various embodiments may also adjust RX_DELIV and/or RX_REORD in addition to RX_NEXT.

다양한 실시예에 따라서, 전자 장치(101)는, 상술한 제 1 조정 규칙 및 제 2 조정 규칙 외에도, 도 9, 도 10a, 및 도 10b를 참조하여 설명한 RLF를 통한 조정을 수행할 수도 있다. 또는, 전자 장치(101)는, 도 11, 도 12a 및 도 12b를 참조하여 설명한 리커버리를 요청하는 제어 PDU를 네트워크(800)로 송신함으로써 조정을 수행할 수도 있다.According to various embodiments, the electronic device 101 may perform the adjustment through the RLF described with reference to FIGS. 9, 10A, and 10B in addition to the first and second adjustment rules described above. Alternatively, the electronic device 101 may perform the adjustment by transmitting the control PDU requesting the recovery described with reference to FIGS. 11, 12A, and 12B to the network 800 .

도 17은 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.17 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 1701 동작에서, 네트워크(800)로부터 PDU를 수신할 수 있다. 예를 들어, 전자 장치(101)는, 도 8b와 같은 포맷을 가지는 PDCP 데이터 PDU를 수신할 수 있다.According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , in operation 1701 , a PDU may be received from the network 800 . For example, the electronic device 101 may receive a PDCP data PDU having the format shown in FIG. 8B .

다양한 실시예에 따라서, 전자 장치(101)는, 1703 동작에서, 무결성 검증 실패를 확인할 수 있다. 예를 들어, 전자 장치(101)는, MAC-I 필드(835)에 포함된 값에 기반하여, 수신된 MAC-I를 확인할 수 있다. 전자 장치(101)는, 도 5c에서 설명한 바와 같이, XMAC-I를 확인할 수 있다. 전자 장치(101)는, XMAC-I 및 MAC-I의 비교에 기반하여 무결성 검증을 수행할 수 있다. XMAC-I 및 MAC-I가 동일하면, 전자 장치(101)는 무결성 검증이 성공한 것으로 판단할 수 있다. XMAC-I 및 MAC-I가 동일하지 않으면, 전자 장치(101)는 무결성 검증이 실패한 것으로 판단할 수 있다. 만약, 무결성 검증이 실패한 것으로 판단되면, 전자 장치(101)는, 전자 장치(101)에서 관리하고 있는 HFN과 네트워크(800)에서 관리하고 있는 HFN이 차이가 있는 것으로 판단할 수도 있다.According to various embodiments, the electronic device 101 may identify an integrity verification failure in operation 1703 . For example, the electronic device 101 may identify the received MAC-I based on a value included in the MAC-I field 835 . As described with reference to FIG. 5C , the electronic device 101 may identify XMAC-I. The electronic device 101 may perform integrity verification based on the comparison of XMAC-I and MAC-I. If XMAC-I and MAC-I are the same, the electronic device 101 may determine that integrity verification is successful. If XMAC-I and MAC-I are not the same, the electronic device 101 may determine that integrity verification has failed. If it is determined that the integrity verification has failed, the electronic device 101 may determine that there is a difference between the HFN managed by the electronic device 101 and the HFN managed by the network 800 .

다양한 실시예에 따른 전자 장치(101)는, 무결성 검증 실패에 기반하여, 1705 동작에서, HFN을 조정할 수 있다. HFN의 조정 규칙을 후술하도록 하나, 제한은 없다. 1707 동작에서, 전자 장치(101)는, 조정된 HFN에 기반하여 무결성 검증이 성공한지 여부를 다시 확인할 수 있다. HFN이 조정됨에 따라서, 도 5c에서 수신측 PDCP 엔티티에서 NIA로 입력되는 카운트(COUNT)도 조정될 수 있다.The electronic device 101 according to various embodiments may adjust the HFN in operation 1705 based on the integrity verification failure. Although the adjustment rule of the HFN will be described later, there is no limitation. In operation 1707 , the electronic device 101 may check again whether the integrity verification is successful based on the adjusted HFN. As the HFN is adjusted, the count (COUNT) input from the receiving PDCP entity to the NIA in FIG. 5C may also be adjusted.

다양한 실시예에 따라서, 무결성 검증이 성공하면(1707-예), 전자 장치(101)는 HFN을 갱신할 수 있으며, 예를 들어 1705 동작에서 조정되었던 HFN을 확정할 수 있다. 무결성 검증이 다시 실패하면(1707-아니오), 전자 장치(101)는, 1705 동작에서 HFN을 다시 조정할 수 있다. 전자 장치(101)는, 무결성 검증이 성공할 때까지 HFN을 조정할 수 있거나, 또는 지정된 횟수만큼 무결성 검증 실패가 확인되면, HFN을 초기값으로 조정할 수도 있다.According to various embodiments, if integrity verification is successful (1707-Yes), the electronic device 101 may update the HFN, for example, determine the HFN adjusted in operation 1705 . If the integrity verification fails again (1707 - NO), the electronic device 101 may adjust the HFN again in operation 1705 . The electronic device 101 may adjust the HFN until integrity verification succeeds, or if integrity verification failure is confirmed for a specified number of times, the electronic device 101 may adjust the HFN to an initial value.

다양한 실시예에 따라서, 전자 장치(101)는, 예를 들어 전자 장치(101)에서 관리(또는, 유지)하고 있는 상태 변수의 조정 후에, HFN의 불일치 여부를 판단할 수 있으나, 그 판단 시점에는 제한이 없다. 전자 장치(101)는, PDU를 수신하면, 판단 시점, 또는 제한 없이 HFN의 불일치 여부를 판단하도록 설정될 수도 있다.According to various embodiments, the electronic device 101 may determine whether the HFN does not match, for example, after adjusting the state variable managed (or maintained) by the electronic device 101 , but at the time of determination no limits. Upon receiving the PDU, the electronic device 101 may be configured to determine whether the HFN does not match at a determination time or without limitation.

한편, 도 17은 전자 장치(101)의 동작으로 설명되었지만, 도 17, 그리고 후술할 도 18 및 19의 동작은 수신측 PDCP 엔티티에서 수행될 수 있는 것으로, UL인 경우에는 네트워크(800)에 의하여서도 수행될 수 있음을 당업자는 이해할 것이다.Meanwhile, although FIG. 17 has been described as an operation of the electronic device 101, the operations of FIG. 17 and FIGS. 18 and 19 to be described later may be performed by the receiving PDCP entity, and in the case of UL, by the network 800 It will be understood by those skilled in the art that this may also be performed.

참고적으로, LTE(예: 3GPP TS 36.323)에서는, MAC-I 필드가 제한되는 조건이 존재하였으며, 스마트 폰과 같은 단말 장치가 이용하는 DRB에 대하여서는 MAC-I 필드의 이용이 제한되었다. 예를 들어, NR에 따르면(예: 3GPP TS 38.323), 기존 LTE와는 달리, DRB에 MAC-I 필드가 선택적(optional)하게 이용 가능하며, MAC-I 필드의 이용에 제한이 없다. 이에 따라, NR에 따른 전자 장치(101)는, DRB의 종류에 관계없이 MAC-I 필드 내의 값에 기반하여 무결성 검증을 수행할 수 있다.For reference, in LTE (eg, 3GPP TS 36.323), there is a condition that the MAC-I field is restricted, and the use of the MAC-I field is restricted for a DRB used by a terminal device such as a smart phone. For example, according to NR (eg, 3GPP TS 38.323), unlike conventional LTE, the MAC-I field is optionally available in the DRB, and there is no restriction on the use of the MAC-I field. Accordingly, the NR-based electronic device 101 may perform integrity verification based on a value in the MAC-I field regardless of the type of DRB.

도 18은 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.18 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 1801 동작에서, 네트워크(800)로부터 PDU를 수신할 수 있다. 예를 들어, 전자 장치(101)는, 도 8b와 같은 포맷을 가지는 PDCP 데이터 PDU를 수신할 수 있다.According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , in operation 1801 , a PDU may be received from the network 800 . For example, the electronic device 101 may receive a PDCP data PDU having the format shown in FIG. 8B .

다양한 실시예에 따라서, 전자 장치(101)는 1803 동작에서, 수신된 PDU의 제 1 부분에 대하여 deciphering을 수행할 수 있다. 예를 들어, 전자 장치(101)는, 도 8b의 데이터 필드(834) 및 MAC-I 필드(835)에 대하여 deciphering을 수행할 수 있다. 예를 들어, 전자 장치(101)는, 도 5a에서 설명한 바와 같은 deciphering 동작을 수행할 수 있다. 전자 장치(101)는, 1805 동작에서, deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 무결성 검증을 수행할 수 있다. 전자 장치(101)는, deciphering된 제 2 부분인 MAC-I 필드(835) 내의 값과, 도 5c에서 설명한 바에 따라 생성한 XMAC-I를 비교하여, 무결성 검증을 수행할 수 있다. 전자 장치(101)는, 1807 동작에서, 무결성 검증 결과에 기반하여, 전자 장치(101)의 HFN 및 네트워크(800)의 HFN 사이의 불일치 여부를 결정할 수 있다. HFN 불일치 여부에 따라, 전자 장치(101)에서 관리하는 HFN을 수정할지 여부를 확인할 수 있다.According to various embodiments, the electronic device 101 may perform deciphering on the first part of the received PDU in operation 1803 . For example, the electronic device 101 may perform deciphering on the data field 834 and the MAC-I field 835 of FIG. 8B . For example, the electronic device 101 may perform the deciphering operation as described with reference to FIG. 5A . In operation 1805 , the electronic device 101 may perform integrity verification on the second portion for verifying the integrity of the deciphered first portion. The electronic device 101 may perform integrity verification by comparing the value in the MAC-I field 835, which is the deciphered second part, with the XMAC-I generated as described with reference to FIG. 5C . In operation 1807 , the electronic device 101 may determine whether there is a discrepancy between the HFN of the electronic device 101 and the HFN of the network 800 based on the integrity verification result. Whether to correct the HFN managed by the electronic device 101 may be checked according to whether the HFN does not match.

도 19는 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하기 위한 흐름도를 도시한다.19 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure;

다양한 실시예에 따라서, 전자 장치(101)(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 1901 동작에서, 네트워크(800)로부터 PDU를 수신할 수 있다. 예를 들어, 전자 장치(101)는, 도 8b와 같은 포맷을 가지는 PDCP 데이터 PDU를 수신할 수 있다. 전자 장치(101)는 1903 동작에서, 무결성 검증 실패를 확인할 수 있다. 1905 동작에서, 전자 장치(101)는, HFN을 현재 수치에 1을 더하여 갱신할 수 있다. 예를 들어, 전자 장치(101)가 관리(또는, 유지)하던 현재의 HFN이 "D"인 경우에는, 1905 동작에서 HFN을 "D+1"로 갱신할 수 있다. 1907 동작에서, 전자 장치(101)는, 무결성 검증 성공한지 여부를 판단할 수 있다. 예를 들어, 전자 장치(101)는, "D+1"의 HFN에 기반한 카운트(COUNT)를 확인할 수 있으며, 확인된 카운트에 기반하여 deciphering 및 무결성 검증을 다시 수행할 수 있다.According to various embodiments, the electronic device 101 (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , in operation 1901 , a PDU may be received from the network 800 . For example, the electronic device 101 may receive a PDCP data PDU having the format shown in FIG. 8B . In operation 1903 , the electronic device 101 may identify integrity verification failure. In operation 1905 , the electronic device 101 may update the HFN by adding 1 to the current value. For example, if the current HFN managed (or maintained) by the electronic device 101 is “D”, the HFN may be updated to “D+1” in operation 1905 . In operation 1907 , the electronic device 101 may determine whether the integrity verification is successful. For example, the electronic device 101 may check the count COUNT based on the HFN of "D+1", and may perform deciphering and integrity verification again based on the checked count.

무결성 검증이 성공한 것으로 판단되면(1907-예), 다양한 실시예에 따라서, 전자 장치(101)는 1909 동작에서, HFN의 갱신을 확정할 수 있다. 전자 장치(101)는, 예를 들어 "D+1"을 HFN으로 확정할 수 있다. 무결성 검증이 실패한 것으로 판단되면(1907-아니오), 전자 장치(101)는 1911 동작에서 HFN을 현재 수치에 1을 빼서 갱신할 수 있다. 예를 들어, 전자 장치(101)는, 동작에서 HFN을 "D-1"로 갱신할 수 있다. 1913 동작에서, 전자 장치(101)는, 무결성 검증 성공한지 여부를 판단할 수 있다. 예를 들어, 전자 장치(101)는, "D-1"의 HFN에 기반한 카운트(COUNT)를 확인할 수 있으며, 확인된 카운트에 기반하여 deciphering 및 무결성 검증을 다시 수행할 수 있다. 무결성 검증이 성공한 것으로 판단되면(1913-예), 전자 장치(101)는 1915 동작에서, HFN의 갱신을 확정할 수 있다. 전자 장치(101)는, 예를 들어 "D-1"을 HFN으로 확정할 수 있다. 무결성 검증이 실패한 것으로 판단되면(1913-아니오), 전자 장치(101)는 1917 동작에서 HFN을 HFN을 0으로 갱신할 수 있다. 1919 동작에서, 전자 장치(101)는 무결성 검증 성공한지 여부를 판단할 수 있다. 예를 들어, 전자 장치(101)는, "0"의 HFN에 기반한 카운트(COUNT)를 확인할 수 있으며, 확인된 카운트에 기반하여 deciphering 및 무결성 검증을 다시 수행할 수 있다. 무결성 검증이 성공한 것으로 판단되면(1919-예), 전자 장치(101)는 1921 동작에서, HFN의 갱신을 확정할 수 있다. 전자 장치(101)는, 예를 들어 "0"을 HFN으로 확정할 수 있다. 무결성 검증이 실패한 것으로 판단되면(1919-아니오), 전자 장치(101)는 1923 동작에서 무결성 검증의 실패를 확정하고, PDU를 폐기할 수 있다.If it is determined that the integrity verification is successful (1907 - Yes), according to various embodiments, the electronic device 101 may confirm the update of the HFN in operation 1909 . The electronic device 101 may determine, for example, “D+1” as the HFN. If it is determined that the integrity verification has failed (1907 - NO), the electronic device 101 may update the HFN by subtracting 1 from the current value in operation 1911 . For example, the electronic device 101 may update the HFN to “D-1” in operation. In operation 1913 , the electronic device 101 may determine whether the integrity verification is successful. For example, the electronic device 101 may check the count COUNT based on the HFN of "D-1", and may perform deciphering and integrity verification again based on the checked count. If it is determined that the integrity verification is successful (1913 - Yes), the electronic device 101 may confirm the update of the HFN in operation 1915 . The electronic device 101 may determine, for example, “D-1” as the HFN. If it is determined that the integrity verification has failed (1913 - NO), the electronic device 101 may update HFN and HFN to 0 in operation 1917 . In operation 1919 , the electronic device 101 may determine whether the integrity verification is successful. For example, the electronic device 101 may check a count COUNT based on an HFN of “0”, and may perform deciphering and integrity verification again based on the checked count. If it is determined that the integrity verification is successful (1919 - Yes), the electronic device 101 may confirm the update of the HFN in operation 1921 . The electronic device 101 may determine, for example, “0” as the HFN. If it is determined that the integrity verification has failed (1919 - NO), the electronic device 101 may determine the integrity verification failure in operation 1923 and discard the PDU.

다양한 실시예에 따라서, 1905 동작, 1911 동작, 1917 동작의 "+1", "-1", "0으로 설정"은, 단순히 예시적인 것이며, 그 순서에는 제한이 없으며, 그 수치는 변경될 수도 있다.According to various embodiments, “+1”, “-1”, and “set to zero” of operation 1905, operation 1911, and operation 1917 are merely exemplary, the order is not limited, and the numerical value may be changed have.

다양한 실시예에 따라서, 전자 장치(101)는, 적어도 하나의 프로세서(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)를 포함하고, 상기 적어도 하나의 프로세서(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 네트워크로부터 제 1 메시지를 수신하고, 상기 제 1 메시지의 제 1 부분에 대하여 deciphering을 수행하고, 상기 deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 제 1 무결성 검사를 수행하고, 상기 제 1 무결성 검사의 결과에 기반하여, 상기 전자 장치(101)의 HFN(hyper frame number) 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하도록 설정될 수 있다.According to various embodiments, the electronic device 101 may include at least one processor (eg, the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated communication processor 260 ). at least one SoC), wherein the at least one processor (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) One) receives a first message from a network, performs deciphering on a first part of the first message, and performs a first integrity check on a second part for verifying the integrity of the deciphered first part and determine whether there is a mismatch between a hyper frame number (HFN) of the electronic device 101 and the HFN of the network based on a result of the first integrity check.

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 상기 전자 장치(101)의 HFN 및 상기 네트워크의 HFN 사이의 불일치가 확인되면, 상기 전자 장치(101)의 HFN을 조정하도록 더 설정될 수 있다.According to various embodiments, the at least one processor (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , when a discrepancy between the HFN of the electronic device 101 and the HFN of the network is identified, it may be further configured to adjust the HFN of the electronic device 101 .

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 상기 전자 장치(101)의 HFN을 조정하는 동작의 적어도 일부로, 상기 전자 장치(101)의 HFN에 대하여 제 1 연산을 수행하도록 설정될 수 있다.According to various embodiments, the at least one processor (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , as at least a part of the operation of adjusting the HFN of the electronic device 101 , it may be configured to perform a first operation on the HFN of the electronic device 101 .

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 상기 제 1 연산을 수행한 HFN에 기반하여 상기 제 1 메시지의 제 1 부분에 대하여 deciphering을 수행하고, 제 1 연산을 수행한 HFN에 기반하여, 상기 deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 제 2 무결성 검사를 수행하고, 상기 제 2 무결성 검사의 결과에 기반하여, 상기 전자 장치(101)의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하도록 더 설정될 수 있다.According to various embodiments, the at least one processor (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , deciphering the first part of the first message based on the HFN on which the first operation is performed, and checking the integrity of the deciphered first part based on the HFN on which the first operation is performed. It may be further configured to perform a second integrity check on the second part, and determine whether there is a discrepancy between the HFN of the electronic device 101 and the HFN of the network based on a result of the second integrity check.

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 상기 제 2 무결성 검사가 성공한 것으로 확인되면, 상기 제 1 연산을 수행한 HFN을 상기 전자 장치(101)의 HFN으로 갱신하도록 더 설정될 수 있다.According to various embodiments, the at least one processor (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , when it is confirmed that the second integrity check succeeds, it may be further configured to update the HFN on which the first operation has been performed to the HFN of the electronic device 101 .

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 상기 제 2 무결성 검사가 실패한 것으로 확인되면, 상기 전자 장치(101)의 HFN에 대하여 제 2 연산을 수행하도록 더 설정될 수 있다.According to various embodiments, the at least one processor (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , when it is determined that the second integrity check has failed, it may be further configured to perform a second operation on the HFN of the electronic device 101 .

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 상기 제 2 연산을 수행한 HFN에 기반하여 상기 제 1 메시지의 제 1 부분에 대하여 deciphering을 수행하고, 제 2 연산을 수행한 HFN에 기반하여, 상기 deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 제 3 무결성 검사를 수행하고, 상기 제 3 무결성 검사의 결과에 기반하여, 상기 전자 장치(101)의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하도록 더 설정될 수 있다.According to various embodiments, the at least one processor (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , deciphering the first part of the first message based on the HFN on which the second operation is performed, and checking the integrity of the deciphered first part based on the HFN on which the second operation is performed. It may be further configured to perform a third integrity check on the second part and determine whether there is a discrepancy between the HFN of the electronic device 101 and the HFN of the network based on a result of the third integrity check.

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 상기 전자 장치(101)의 HFN을 조정하는 동작의 적어도 일부로, 상기 전자 장치(101)의 HFN을 지정된 값으로 조정하도록 설정될 수 있다.According to various embodiments, the at least one processor (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , as at least part of the operation of adjusting the HFN of the electronic device 101 , it may be set to adjust the HFN of the electronic device 101 to a specified value.

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 상기 조정된 HFN에 기반한 무결성 검증이 실패함이 확인되면, 상기 제 1 메시지를 폐기하도록 더 설정될 수 있다.According to various embodiments, the at least one processor (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , if it is confirmed that the integrity verification based on the adjusted HFN fails, it may be further configured to discard the first message.

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서(예: 프로세서(120), 제 1 커뮤니케이션 프로세서(212), 제 2 커뮤니케이션 프로세서(214), 통합 커뮤니케이션 프로세서(260), 또는 통합 SoC 중 적어도 하나)는, 상기 전자 장치(101)의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하는 동작의 적어도 일부로, 상기 전자 장치(101)에서 유지하는 적어도 하나의 상태 변수(state variable)가 조정됨에 기반하여, 상기 제 1 무결성 검사의 결과에 기반하여, 상기 전자 장치(101)의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하도록 설정될 수 있다.According to various embodiments, the at least one processor (eg, at least one of the processor 120 , the first communication processor 212 , the second communication processor 214 , the unified communication processor 260 , or the integrated SoC) may include: , based on at least one state variable maintained by the electronic device 101 being adjusted as at least part of the operation of determining whether there is a mismatch between the HFN of the electronic device 101 and the HFN of the network, Based on the result of the first integrity check, it may be configured to determine whether there is a mismatch between the HFN of the electronic device 101 and the HFN of the network.

다양한 실시예에 따라서, 전자 장치(101)의 동작 방법은, 네트워크로부터 제 1 메시지를 수신하는 동작, 상기 제 1 메시지의 제 1 부분에 대하여 deciphering을 수행하는 동작, 상기 deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 제 1 무결성 검사를 수행하는 동작, 및 상기 제 1 무결성 검사의 결과에 기반하여, 상기 전자 장치(101)의 HFN(hyper frame number) 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하는 동작을 포함할 수 있다.According to various embodiments, a method of operating the electronic device 101 includes receiving a first message from a network, performing deciphering on a first portion of the first message, and integrity of the deciphered first portion. performing a first integrity check on the second part to confirm It may include an operation of determining whether there is a discrepancy.

다양한 실시예에 따라서, 동작 방법은, 상기 전자 장치(101)의 HFN 및 상기 네트워크의 HFN 사이의 불일치가 확인되면, 상기 전자 장치(101)의 HFN을 조정하는 동작을 더 포함할 수 있다.According to various embodiments, the operating method may further include adjusting the HFN of the electronic device 101 when a mismatch between the HFN of the electronic device 101 and the HFN of the network is identified.

다양한 실시예에 따라서, 상기 전자 장치(101)의 HFN을 조정하는 동작은, 상기 전자 장치(101)의 HFN에 대하여 제 1 연산을 수행할 수 있다.According to various embodiments, the operation of adjusting the HFN of the electronic device 101 may perform a first operation on the HFN of the electronic device 101 .

다양한 실시예에 따라서, 동작 방법은, 상기 제 1 연산을 수행한 HFN에 기반하여 상기 제 1 메시지의 제 1 부분에 대하여 deciphering을 수행하는 동작, 제 1 연산을 수행한 HFN에 기반하여, 상기 deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 제 2 무결성 검사를 수행하는 동작, 및 상기 제 2 무결성 검사의 결과에 기반하여, 상기 전자 장치(101)의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하는 동작을 더 포함할 수 있다.According to various embodiments, the operating method includes an operation of performing deciphering on a first part of the first message based on the HFN on which the first operation is performed, and the deciphering based on the HFN on which the first operation is performed. performing a second integrity check on the second part for checking the integrity of the first part, and based on the result of the second integrity check, between the HFN of the electronic device 101 and the HFN of the network The method may further include an operation of determining whether .

다양한 실시예에 따라서, 동작 방법은, 상기 제 2 무결성 검사가 성공한 것으로 확인되면, 상기 제 1 연산을 수행한 HFN을 상기 전자 장치(101)의 HFN으로 갱신하는 동작을 더 포함할 수 있다.According to various embodiments, the operation method may further include updating the HFN on which the first operation has been performed to the HFN of the electronic device 101 when it is confirmed that the second integrity check succeeds.

다양한 실시예에 따라서, 동작 방법은, 상기 제 2 무결성 검사가 실패한 것으로 확인되면, 상기 전자 장치(101)의 HFN에 대하여 제 2 연산을 수행하는 동작을 더 포함할 수 있다.According to various embodiments, the operation method may further include performing a second operation on the HFN of the electronic device 101 when it is determined that the second integrity check has failed.

다양한 실시예에 따라서, 동작 방법은, 상기 제 2 연산을 수행한 HFN에 기반하여 상기 제 1 메시지의 제 1 부분에 대하여 deciphering을 수행하는 동작, 제 2 연산을 수행한 HFN에 기반하여, 상기 deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 제 3 무결성 검사를 수행하는 동작, 및 상기 제 3 무결성 검사의 결과에 기반하여, 상기 전자 장치(101)의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하는 동작을 더 포함할 수 있다.According to various embodiments, the operating method includes an operation of deciphering the first part of the first message based on the HFN on which the second operation is performed, and the deciphering based on the HFN on which the second operation is performed. performing a third integrity check on the second part for confirming the integrity of the first part, and based on the result of the third integrity check, between the HFN of the electronic device 101 and the HFN of the network The method may further include an operation of determining whether .

다양한 실시예에 따라서, 상기 전자 장치(101)의 HFN을 조정하는 동작은, 상기 전자 장치(101)의 HFN을 지정된 값으로 조정할 수 있다.According to various embodiments, the operation of adjusting the HFN of the electronic device 101 may adjust the HFN of the electronic device 101 to a specified value.

다양한 실시예에 따라서, 동작 방법은, 상기 조정된 HFN에 기반한 무결성 검증이 실패함이 확인되면, 상기 제 1 메시지를 폐기하는 동작을 더 포함할 수 있다.According to various embodiments, the operating method may further include, if it is determined that the integrity verification based on the adjusted HFN fails, discarding the first message.

다양한 실시예에 따라서, 상기 전자 장치(101)의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하는 동작은, 상기 전자 장치(101)에서 유지하는 적어도 하나의 상태 변수(state variable)가 조정됨에 기반하여, 상기 제 1 무결성 검사의 결과에 기반하여, 상기 전자 장치(101)의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정할 수 있다.According to various embodiments, the operation of determining whether there is a discrepancy between the HFN of the electronic device 101 and the HFN of the network is that at least one state variable maintained by the electronic device 101 is adjusted. Based on the result of the first integrity check, it is possible to determine whether there is a discrepancy between the HFN of the electronic device 101 and the HFN of the network.

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

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

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

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

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

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

Claims (20)

전자 장치에 있어서,
적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로세서는:
네트워크로부터 제 1 메시지를 수신하고,
상기 제 1 메시지의 제 1 부분에 대하여 deciphering을 수행하고,
상기 deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 제 1 무결성 검사를 수행하고,
상기 제 1 무결성 검사의 결과에 기반하여, 상기 전자 장치의 HFN(hyper frame number) 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하도록 설정된 전자 장치.
In an electronic device,
at least one processor;
The at least one processor comprises:
receive a first message from the network;
performing deciphering on a first part of the first message;
performing a first integrity check on the second part for confirming the integrity of the deciphered first part;
an electronic device configured to determine whether there is a discrepancy between a hyper frame number (HFN) of the electronic device and an HFN of the network, based on a result of the first integrity check.
제 1 항에 있어서,
상기 적어도 하나의 프로세서는,
상기 전자 장치의 HFN 및 상기 네트워크의 HFN 사이의 불일치가 확인되면, 상기 전자 장치의 HFN을 조정하도록 더 설정된 전자 장치.
The method of claim 1,
the at least one processor,
The electronic device further configured to adjust the HFN of the electronic device when a mismatch between the HFN of the electronic device and the HFN of the network is identified.
제 2 항에 있어서,
상기 적어도 하나의 프로세서는, 상기 전자 장치의 HFN을 조정하는 동작의 적어도 일부로, 상기 전자 장치의 HFN에 대하여 제 1 연산을 수행하도록 설정된 전자 장치.
3. The method of claim 2,
The at least one processor is configured to perform a first operation on the HFN of the electronic device as at least a part of the operation of adjusting the HFN of the electronic device.
제 3 항에 있어서,
상기 적어도 하나의 프로세서는,
상기 제 1 연산을 수행한 HFN에 기반하여 상기 제 1 메시지의 제 1 부분에 대하여 deciphering을 수행하고,
제 1 연산을 수행한 HFN에 기반하여, 상기 deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 제 2 무결성 검사를 수행하고,
상기 제 2 무결성 검사의 결과에 기반하여, 상기 전자 장치의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하도록 더 설정된 전자 장치.
4. The method of claim 3,
the at least one processor,
performing deciphering on the first part of the first message based on the HFN on which the first operation is performed;
Based on the HFN on which the first operation is performed, a second integrity check is performed on the second part for confirming the integrity of the deciphered first part,
The electronic device further configured to determine whether there is a discrepancy between the HFN of the electronic device and the HFN of the network based on a result of the second integrity check.
제 4 항에 있어서,
상기 적어도 하나의 프로세서는, 상기 제 2 무결성 검사가 성공한 것으로 확인되면, 상기 제 1 연산을 수행한 HFN을 상기 전자 장치의 HFN으로 갱신하도록 더 설정된 전자 장치.
5. The method of claim 4,
The at least one processor is further configured to update the HFN on which the first operation has been performed to the HFN of the electronic device when it is confirmed that the second integrity check is successful.
제 4 항에 있어서,
상기 적어도 하나의 프로세서는, 상기 제 2 무결성 검사가 실패한 것으로 확인되면, 상기 전자 장치의 HFN에 대하여 제 2 연산을 수행하도록 더 설정된 전자 장치.
5. The method of claim 4,
The at least one processor is further configured to perform a second operation on the HFN of the electronic device when it is determined that the second integrity check has failed.
제 6 항에 있어서,
상기 적어도 하나의 프로세서는,
상기 제 2 연산을 수행한 HFN에 기반하여 상기 제 1 메시지의 제 1 부분에 대하여 deciphering을 수행하고,
제 2 연산을 수행한 HFN에 기반하여, 상기 deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 제 3 무결성 검사를 수행하고,
상기 제 3 무결성 검사의 결과에 기반하여, 상기 전자 장치의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하도록 더 설정된 전자 장치.
7. The method of claim 6,
the at least one processor,
performing deciphering on the first part of the first message based on the HFN on which the second operation is performed;
Based on the HFN on which the second operation is performed, a third integrity check is performed on the second part for confirming the integrity of the deciphered first part,
The electronic device further configured to determine whether there is a discrepancy between the HFN of the electronic device and the HFN of the network based on a result of the third integrity check.
제 2 항에 있어서,
상기 적어도 하나의 프로세서는, 상기 전자 장치의 HFN을 조정하는 동작의 적어도 일부로, 상기 전자 장치의 HFN을 지정된 값으로 조정하도록 설정된 전자 장치.
3. The method of claim 2,
The at least one processor is configured to adjust the HFN of the electronic device to a specified value as at least part of the operation of adjusting the HFN of the electronic device.
제 2 항에 있어서,
상기 적어도 하나의 프로세서는,
상기 조정된 HFN에 기반한 무결성 검증이 실패함이 확인되면, 상기 제 1 메시지를 폐기하도록 더 설정된 전자 장치.
3. The method of claim 2,
the at least one processor,
The electronic device further configured to discard the first message when it is confirmed that the integrity verification based on the adjusted HFN fails.
제 1 항에 있어서,
상기 적어도 하나의 프로세서는, 상기 전자 장치의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하는 동작의 적어도 일부로,
상기 전자 장치에서 유지하는 적어도 하나의 상태 변수(state variable)가 조정됨에 기반하여, 상기 제 1 무결성 검사의 결과에 기반하여, 상기 전자 장치의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하도록 설정된 전자 장치.
The method of claim 1,
The at least one processor, as at least part of the operation of determining whether there is a mismatch between the HFN of the electronic device and the HFN of the network,
configured to determine whether there is a discrepancy between the HFN of the electronic device and the HFN of the network based on a result of the first integrity check based on adjustment of at least one state variable maintained by the electronic device electronic device.
전자 장치의 동작 방법에 있어서,
네트워크로부터 제 1 메시지를 수신하는 동작;
상기 제 1 메시지의 제 1 부분에 대하여 deciphering을 수행하는 동작;
상기 deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 제 1 무결성 검사를 수행하는 동작, 및
상기 제 1 무결성 검사의 결과에 기반하여, 상기 전자 장치의 HFN(hyper frame number) 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하는 동작
을 포함하는 전자 장치의 동작 방법.
A method of operating an electronic device, comprising:
receiving a first message from the network;
performing deciphering on a first portion of the first message;
performing a first integrity check on the second part to confirm the integrity of the deciphered first part; and
Determining whether there is a mismatch between a hyper frame number (HFN) of the electronic device and an HFN of the network based on a result of the first integrity check
A method of operating an electronic device comprising a.
제 11 항에 있어서,
상기 전자 장치의 HFN 및 상기 네트워크의 HFN 사이의 불일치가 확인되면, 상기 전자 장치의 HFN을 조정하는 동작
을 더 포함하는 전자 장치의 동작 방법.
12. The method of claim 11,
If mismatch between the HFN of the electronic device and the HFN of the network is identified, adjusting the HFN of the electronic device
The method of operating an electronic device further comprising a.
제 12 항에 있어서,
상기 전자 장치의 HFN을 조정하는 동작은, 상기 전자 장치의 HFN에 대하여 제 1 연산을 수행하는 전자 장치의 동작 방법.
13. The method of claim 12,
The operation of adjusting the HFN of the electronic device includes performing a first operation on the HFN of the electronic device.
제 13 항에 있어서,
상기 제 1 연산을 수행한 HFN에 기반하여 상기 제 1 메시지의 제 1 부분에 대하여 deciphering을 수행하는 동작;
제 1 연산을 수행한 HFN에 기반하여, 상기 deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 제 2 무결성 검사를 수행하는 동작, 및
상기 제 2 무결성 검사의 결과에 기반하여, 상기 전자 장치의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하는 동작
을 더 포함하는 전자 장치의 동작 방법.
14. The method of claim 13,
performing deciphering on the first part of the first message based on the HFN on which the first operation is performed;
performing a second integrity check on the second part for checking the integrity of the deciphered first part based on the HFN on which the first operation has been performed, and
Determining whether there is a discrepancy between the HFN of the electronic device and the HFN of the network based on a result of the second integrity check
The method of operating an electronic device further comprising a.
제 14 항에 있어서,
상기 제 2 무결성 검사가 성공한 것으로 확인되면, 상기 제 1 연산을 수행한 HFN을 상기 전자 장치의 HFN으로 갱신하는 동작
을 더 포함하는 전자 장치의 동작 방법.
15. The method of claim 14,
If it is confirmed that the second integrity check is successful, updating the HFN on which the first operation has been performed to the HFN of the electronic device
The method of operating an electronic device further comprising a.
제 14 항에 있어서,
상기 제 2 무결성 검사가 실패한 것으로 확인되면, 상기 전자 장치의 HFN에 대하여 제 2 연산을 수행하는 동작
을 더 포함하는 전자 장치의 동작 방법.
15. The method of claim 14,
If it is determined that the second integrity check has failed, performing a second operation on the HFN of the electronic device
The method of operating an electronic device further comprising a.
제 16 항에 있어서,
상기 제 2 연산을 수행한 HFN에 기반하여 상기 제 1 메시지의 제 1 부분에 대하여 deciphering을 수행하는 동작;
제 2 연산을 수행한 HFN에 기반하여, 상기 deciphering된 제 1 부분의 무결성을 확인하기 위한 제 2 부분에 대하여 제 3 무결성 검사를 수행하는 동작, 및
상기 제 3 무결성 검사의 결과에 기반하여, 상기 전자 장치의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하는 동작
을 더 포함하는 전자 장치의 동작 방법.
17. The method of claim 16,
performing deciphering on the first part of the first message based on the HFN on which the second operation is performed;
performing a third integrity check on the second part for checking the integrity of the deciphered first part based on the HFN on which the second operation is performed, and
Determining whether there is a discrepancy between the HFN of the electronic device and the HFN of the network based on the result of the third integrity check
The method of operating an electronic device further comprising a.
제 12 항에 있어서,
상기 전자 장치의 HFN을 조정하는 동작은, 상기 전자 장치의 HFN을 지정된 값으로 조정하는 전자 장치의 동작 방법.
13. The method of claim 12,
The operation of adjusting the HFN of the electronic device includes adjusting the HFN of the electronic device to a specified value.
제 12 항에 있어서,
상기 조정된 HFN에 기반한 무결성 검증이 실패함이 확인되면, 상기 제 1 메시지를 폐기하는 동작
을 더 포함하는 전자 장치의 동작 방법.
13. The method of claim 12,
If it is confirmed that the integrity verification based on the adjusted HFN fails, discarding the first message
The method of operating an electronic device further comprising a.
제 11 항에 있어서,
상기 전자 장치의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하는 동작은, 상기 전자 장치에서 유지하는 적어도 하나의 상태 변수(state variable)가 조정됨에 기반하여, 상기 제 1 무결성 검사의 결과에 기반하여, 상기 전자 장치의 HFN 및 상기 네트워크의 HFN 사이의 불일치 여부를 결정하는 전자 장치의 동작 방법.
12. The method of claim 11,
The operation of determining whether there is a discrepancy between the HFN of the electronic device and the HFN of the network is based on a result of the first integrity check based on adjustment of at least one state variable maintained by the electronic device to determine whether there is a discrepancy between the HFN of the electronic device and the HFN of the network.
KR1020200051664A 2020-04-28 2020-04-28 Electronic device performing integrity verification and method for operating thereof KR20210133017A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200051664A KR20210133017A (en) 2020-04-28 2020-04-28 Electronic device performing integrity verification and method for operating thereof
PCT/KR2021/004109 WO2021221329A1 (en) 2020-04-28 2021-04-02 Electronic device for performing integrity inspection and operating method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200051664A KR20210133017A (en) 2020-04-28 2020-04-28 Electronic device performing integrity verification and method for operating thereof

Publications (1)

Publication Number Publication Date
KR20210133017A true KR20210133017A (en) 2021-11-05

Family

ID=78373623

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200051664A KR20210133017A (en) 2020-04-28 2020-04-28 Electronic device performing integrity verification and method for operating thereof

Country Status (2)

Country Link
KR (1) KR20210133017A (en)
WO (1) WO2021221329A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115551010B (en) * 2022-09-06 2023-05-30 翱捷科技股份有限公司 Method and device for processing data radio bearer integrity protection verification failure

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0004178D0 (en) * 2000-02-22 2000-04-12 Nokia Networks Oy Integrity check in a communication system

Also Published As

Publication number Publication date
WO2021221329A1 (en) 2021-11-04

Similar Documents

Publication Publication Date Title
US11678221B2 (en) Electronic device supporting dual connectivity and method of operating the same
KR101597072B1 (en) Handling packet data convergence protocol data units
KR102530399B1 (en) Terminal device, base station device, communication method, and integrated circuit
US20210289430A1 (en) Electronic device and method for controlling same
EP4109949A1 (en) Method, management server, and base station for defending attack from fake base station in communication network
KR20210133017A (en) Electronic device performing integrity verification and method for operating thereof
US11895217B2 (en) Method for transmitting data, and device therefor
KR20210132864A (en) Electronic device transmitting and receiving packet and method for operating thereof
EP4135234A1 (en) Electronic device for retransmitting packets on basis of state of network and operation method thereof
US11277874B2 (en) Electronic device which receives data by using split bearer and operation method of electronic device
KR20200120456A (en) Electronic device for providing dual connectivy and method for operating thereof
CN110506436B (en) Wireless communication device, wireless communication method, and wireless communication system
CN116420346A (en) Layer 2 data processing apparatus and method using flexible layer 2 circuitry
WO2019095228A1 (en) Method, apparatus and computer program
KR20220014557A (en) Electronic device transmitting and receiving packet and method for operating thereof
KR20200133642A (en) Electronic device for providing dual connectivity and method for controlling power thereof
EP4322606A1 (en) Communication method and device
KR20220120958A (en) Electronic device for transmitting and receiving data and method for the same
US11438796B2 (en) Electronic device supporting dual connectivity and method of controlling power of electronic device
US20220346182A1 (en) Electronic device and method for controlling connection with communication network in electronic device
WO2023029013A1 (en) Communication devices and methods for concatenating service data units
KR20220064825A (en) Electronic device perfroming call and method for operating thereof
CN113573357A (en) Downlink data receiving method, system, storage medium and terminal
WO2021230800A1 (en) Reduced overhead radio bearer