KR20220037321A - Method and apparatus for providing local breakout over f1 interface - Google Patents

Method and apparatus for providing local breakout over f1 interface Download PDF

Info

Publication number
KR20220037321A
KR20220037321A KR1020200169383A KR20200169383A KR20220037321A KR 20220037321 A KR20220037321 A KR 20220037321A KR 1020200169383 A KR1020200169383 A KR 1020200169383A KR 20200169383 A KR20200169383 A KR 20200169383A KR 20220037321 A KR20220037321 A KR 20220037321A
Authority
KR
South Korea
Prior art keywords
packet
lbo
interface
packets
local
Prior art date
Application number
KR1020200169383A
Other languages
Korean (ko)
Inventor
유우성
장서균
현재섭
Original Assignee
주식회사 케이티
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 케이티 filed Critical 주식회사 케이티
Publication of KR20220037321A publication Critical patent/KR20220037321A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • H04W88/085Access point devices with remote components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/16Interfaces between hierarchically similar devices
    • H04W92/20Interfaces between hierarchically similar devices between access points
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/16Interfaces between hierarchically similar devices
    • H04W92/24Interfaces between hierarchically similar devices between backbone network devices

Landscapes

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

Abstract

The present invention relates to a method for providing a local breakout (LBO) by a device located inline in an F1 interface, which comprises the steps of: extracting packet encryption/decryption information used in an F1 tunnel created in an F1 interface, by using signaling messages exchanged in an X2 interface and the F1 interface; decoding a packet passing through the F1 tunnel, by using the packet encryption/decryption information; and bypassing the packet to a local data network when IP address information extracted from the decoded packet meets an LBO rule.

Description

F1 인터페이스에서 로컬브레이크아웃을 제공하는 방법 및 장치{METHOD AND APPARATUS FOR PROVIDING LOCAL BREAKOUT OVER F1 INTERFACE}METHOD AND APPARATUS FOR PROVIDING LOCAL BREAKOUT OVER F1 INTERFACE

본 개시는 5G 초저지연 제공 기술에 관한 것이다.The present disclosure relates to a technology for providing 5G ultra-low latency.

5G 망은 LTE 망에 비해 초저지연, 초고속, 초연결을 제공할 수 있고, 특히 초저지연은 V2X 통신 기반 자율 주행, 공장 자동화를 통한 스마트팩토리 등에 필수적으로 요구되는 사항이다. 이를 위해, 사용자 평면 기능(User Plane Function, UPF)의 UL-CL(Uplink Classifier)를 이용하는 방안, S1-U 인터페이스에 MEC(Mobile edge computing)를 배치하는 방안을 통해 트래픽을 우회시키는 방안이 제안되었다.Compared to LTE networks, 5G networks can provide ultra-low latency, high-speed, and ultra-connectivity. In particular, ultra-low latency is essential for V2X communication-based autonomous driving and smart factories through factory automation. To this end, a method of using uplink classifier (UL-CL) of a user plane function (UPF) and a method of detouring traffic through a method of placing MEC (Mobile edge computing) on the S1-U interface have been proposed. .

한편, LTE 망에서 5G 망으로 진화하는 과정에서, 현재 5G 망은 LTE 망에 연동하는 비단독(Non-Standalone, NSA) 구조로 구축되고 있다. 3GPP에서 제시하는 NSA 옵션은 다수 존재하는데, 일반적으로 이동통신사업자는 5G 통신 서비스를 사용자들에게 빠르게 제공할 수 있는 NSA Option 3x를 선택하고 있다. NSA Option 3x는 LTE 망의 코어(Evolved Packet Core, EPC)와 기지국(eNB)을 그대로 활용하면서, 5G 기지국(gNB)을 접속망에 추가하는 구조이다. NSA Option 3x 구조에서 제어 평면(Control Plane)에 해당하는 시그널링 메시지는 기본적으로 LTE 망을 사용하고, 사용자 평면(User Plane)에 해당하는 데이터 트래픽은 상황에 따라 LTE 망과 5G 망을 혼합하여 사용한다. 이러한 NSA 구조에서 초저지연을 제공하기 위한 방안이 필요하다. Meanwhile, in the process of evolving from the LTE network to the 5G network, the current 5G network is being built in a Non-Standalone (NSA) structure that interworks with the LTE network. There are a number of NSA options proposed by 3GPP, but in general, mobile operators choose NSA Option 3x, which can quickly provide 5G communication services to users. NSA Option 3x is a structure in which a 5G base station (gNB) is added to the access network while utilizing the LTE network's Evolved Packet Core (EPC) and base station (eNB) as it is. In the NSA Option 3x structure, the signaling message corresponding to the control plane basically uses the LTE network, and the data traffic corresponding to the user plane uses a mix of the LTE network and the 5G network depending on the situation. . A method for providing ultra-low latency in such an NSA structure is needed.

해결하고자 하는 과제는, 5G-NSA 구조의 F1 인터페이스에서 로컬브레이크아웃(LBO)을 제공하는 F1-LBO 장치 및 이의 동작 방법에 관한 것이다.The problem to be solved relates to an F1-LBO device providing a local breakout (LBO) in an F1 interface of a 5G-NSA structure, and an operating method thereof.

해결하고자 하는 과제는, F1-LBO 장치가 X2 인터페이스 및 F1 인터페이스에서 교환되는 시그널링 메시지를 분석하여 패킷의 암복호화 정보를 추출하고, 이를 통해 암호화된 패킷이 전송되는 F1 인터페이스에서 LBO를 제공하는 방법에 관한 것이다.The task to be solved is that the F1-LBO device analyzes the signaling messages exchanged in the X2 interface and the F1 interface, extracts encryption/decryption information of the packet, and provides LBO in the F1 interface through which the encrypted packet is transmitted. it's about

해결하고자 하는 과제는, F1-LBO 장치가 외부망에 연결되는 별도 인터페이스를 통해 단말과 연결되는 터널을 생성하고, 터널을 통한 간접 페이징으로 단말과의 연결을 제공하는 방법에 관한 것이다. The problem to be solved relates to a method in which an F1-LBO device creates a tunnel connected to a terminal through a separate interface connected to an external network, and provides a connection to the terminal through indirect paging through the tunnel.

한 실시예에 따라 F1 인터페이스에 인라인으로 위치하는 장치가 로컬브레이크아웃(Local Breakout, LBO)을 제공하는 방법으로서, X2 인터페이스 및 상기 F1 인터페이스에서 교환되는 시그널링 메시지들을 이용하여, 상기 F1 인터페이스에 생성된 F1 터널에서 사용되는 패킷 암복호화 정보를 추출하는 단계, 상기 패킷 암복호화 정보를 이용하여, 상기 F1 터널을 지나는 패킷을 복호화하는 단계, 그리고 복호화한 패킷에서 추출한 IP 주소 정보가 로컬브레이크아웃 규칙에 부합하는 경우, 상기 패킷을 로컬 데이터망으로 우회 전송하는 단계를 포함한다.According to an embodiment, as a method for providing a local breakout (LBO) by a device located inline in the F1 interface, the X2 interface and the signaling messages exchanged in the F1 interface are used to generate the generated in the F1 interface. Extracting packet encryption/decryption information used in the F1 tunnel, using the packet encryption/decryption information to decrypt a packet passing through the F1 tunnel, and IP address information extracted from the decrypted packet conforms to the local breakout rule In this case, it includes the step of bypassing the packet to a local data network.

상기 암복호화 정보를 추출하는 단계는 상기 X2 인터페이스 및 상기 F1 인터페이스에서 교환되는 시그널링 메시지들에 포함된 식별자를 기준으로 동일 단말에 대한 시그널링 메시지들을 취합하고, 취합한 시그널링 메시지들로부터 해당 단말의 암복호화 정보를 추출할 수 있다.The extracting of the encryption/decryption information includes collecting signaling messages for the same terminal based on the identifier included in the signaling messages exchanged in the X2 interface and the F1 interface, and encrypting/decrypting the corresponding terminal from the collected signaling messages. information can be extracted.

상기 패킷 암복호화 정보를 추출하는 단계는 상기 F1 터널을 통해 전송되는 패킷의 암호화 알고리즘, 그리고 상기 암호화 알고리즘의 암복호에 필요한 정보를 추출할 수 있다.The extracting of the packet encryption/decryption information may include extracting an encryption algorithm of a packet transmitted through the F1 tunnel, and information necessary for encryption/decryption of the encryption algorithm.

상기 로컬브레이크아웃 제공 방법은 상기 로컬 데이터망으로 우회 전송한 패킷 수를 상향 LBO 패킷 수에 누적하는 단계를 더 포함할 수 있다.The method for providing a local breakout may further include accumulating the number of packets detoured to the local data network in the number of uplink LBO packets.

상기 로컬브레이크아웃 제공 방법은 상기 IP 주소 정보가 상기 로컬브레이크아웃 규칙에 부합하지 않는 경우, 상기 상향 LBO 패킷 수를 참조하여, 상기 복호화한 패킷의 시퀀스 번호(Sequence number)를 보정하는 단계, 그리고 상기 시퀀스 번호가 보정된 패킷을 암호화하고, 암호화된 패킷을 상향 바이패스 전달하는 단계를 더 포함할 수 있다.The method for providing a local breakout includes correcting a sequence number of the decoded packet with reference to the number of uplink LBO packets when the IP address information does not conform to the local breakout rule, and The method may further include encrypting the packet having the sequence number corrected and transmitting the encrypted packet by uplink bypass.

상기 시퀀스 번호를 보정하는 단계는 상기 복호화한 패킷의 시퀀스 번호에서, 상기 상향 LBO 패킷 수를 차감하는 보정을 할 수 있다.The step of correcting the sequence number may be performed by subtracting the number of uplink LBO packets from the sequence number of the decoded packet.

다른 실시예에 따라 F1 인터페이스에 인라인으로 위치하는 장치가 로컬브레이크아웃(Local Breakout, LBO)을 제공하는 방법으로서, 유입된 상향 패킷이 로컬브레이크아웃 규칙에 부합하는 지 판단하는 단계, 상기 로컬브레이크아웃 규칙에 부합하는 경우, 상기 상향 패킷을 로컬 데이터망으로 우회 전송하는 단계, 그리고 상기 로컬 데이터망으로 우회 전송한 패킷 수를 상향 LBO 패킷 수에 누적하는 단계를 포함한다.According to another embodiment, there is provided a method of providing a local breakout (LBO) by a device located inline on an F1 interface, the method comprising: determining whether an incoming uplink packet meets a local breakout rule; the local breakout If the rule is satisfied, detour-transmitting the uplink packet to the local data network, and accumulating the number of packets detour-transmitted to the local data network in the number of uplink LBO packets.

상기 로컬브레이크아웃 제공 방법은 상기 상향 패킷이 로컬브레이크아웃 규칙에 부합하지 않는 경우, 상기 상향 LBO 패킷 수를 참조하여, 상기 상향 패킷의 시퀀스 번호(Sequence number)를 보정하는 단계, 그리고 상기 시퀀스 번호가 보정된 상향 패킷을 바이패스 전달하는 단계를 포함할 수 있다.The method for providing a local breakout includes correcting a sequence number of the uplink packet with reference to the number of uplink LBO packets when the uplink packet does not conform to the local breakout rule, and the sequence number is It may include bypassing the corrected uplink packet.

상기 로컬 데이터망으로 우회 전송하는 단계는 상기 상향 패킷에 관계된 암복호화 정보를 이용하여, 상기 상향 패킷을 복호화하는 단계, 그리고 복호화한 패킷에서 추출한 IP 주소 정보가 상기 로컬브레이크아웃 규칙에 부합하는 경우, 상기 상향 패킷을 로컬 데이터망으로 우회 전송하는 단계를 포함할 수 있다.The detour transmission to the local data network includes decoding the uplink packet using encryption/decryption information related to the uplink packet, and when the IP address information extracted from the decoded packet meets the local breakout rule, The method may include bypassing the uplink packet to a local data network.

상기 로컬브레이크아웃 제공 방법은 X2 인터페이스 및 상기 F1 인터페이스에서 교환되는 시그널링 메시지들을 이용하여, 상기 암복호화 정보를 추출하는 단계를 더 포함할 수 있다.The method for providing local breakout may further include extracting the encryption/decryption information by using signaling messages exchanged in the X2 interface and the F1 interface.

상기 로컬브레이크아웃 제공 방법은 상기 F1 인터페이스에 생성된 F1 터널을 지나는 하향 패킷이 유입되면, 하향 LBO 패킷 수를 참조하여, 상기 하향 패킷의 시퀀스 번호를 보정하는 단계, 그리고 상기 시퀀스 번호가 보정된 하향 패킷을 바이패스 전달하는 단계를 더 포함할 수 있다. 상기 하향 LBO 패킷 수는 상기 로컬 데이터망으로부터 유입되어 하향 전송된 패킷 수일 수 있다.The method for providing a local breakout includes correcting a sequence number of the downlink packet with reference to the number of downlink LBO packets when a downlink packet passing through the F1 tunnel created in the F1 interface is introduced, and the downlink sequence number is corrected. The method may further include bypass forwarding the packet. The number of downlink LBO packets may be the number of downlink transmitted packets flowing in from the local data network.

상기 로컬브레이크아웃 제공 방법은 상기 로컬 데이터망에서 단말로 향하는 로컬 데이터망 패킷이 유입되면, 상기 로컬 데이터망 패킷의 시퀀스 번호를 보정하고, 상기 단말로 상기 시퀀스 번호가 보정된 패킷을 전송하는 단계, 그리고 상기 단말로 전송한 패킷 수를 상기 하향 LBO 패킷 수에 누적하는 단계를 더 포함할 수 있다.The method for providing a local breakout includes correcting a sequence number of the local data network packet when a local data network packet from the local data network to the terminal is introduced, and transmitting the corrected sequence number packet to the terminal; The method may further include accumulating the number of packets transmitted to the terminal to the number of downlink LBO packets.

상기 시퀀스 번호가 보정된 패킷을 전송하는 단계는 상기 시퀀스 번호가 보정된 패킷을 암호화하고, 암호화한 패킷을 상기 F1 터널로 전송할 수 있다.The transmitting of the sequence number-corrected packet may include encrypting the sequence number-corrected packet and transmitting the encrypted packet through the F1 tunnel.

상기 로컬브레이크아웃 제공 방법은 상기 로컬 데이터망 패킷이 유입되면, 상기 F1 터널이 존재하는 지 확인하는 단계, 그리고 상기 F1 터널이 존재하지 않으면, 외부망을 통해 상기 단말과 연결된 터널로 메시지를 전송하는 단계를 더 포함할 수 있다. 상기 메시지가 상기 단말로 전송되는 과정에서 상기 F1 터널이 생성될 수 있다.The method for providing a local breakout includes, when the local data network packet is introduced, checking whether the F1 tunnel exists, and if the F1 tunnel does not exist, transmitting a message to a tunnel connected to the terminal through an external network It may include further steps. The F1 tunnel may be created while the message is transmitted to the terminal.

또 다른 실시예에 따른 장치가 로컬브레이크아웃(Local Breakout, LBO)을 제공하는 방법으로서, X2 인터페이스 및 F1 인터페이스에서 전송되는 트래픽의 타입을 확인하는 단계, 상기 트래픽의 타입이 단말의 망 접속을 위한 시그널링 메시지인 경우, 상기 시그널링 메시지로부터 상기 F1 인터페이스에 생성된 F1 터널에서 사용되는 패킷 암복호화 정보를 추출하는 단계, 상기 F1 인터페이스에서 전송되는 트래픽의 타입이 데이터 트래픽인 경우, 상기 패킷 암복호화 정보를 이용하여 상기 데이터 트래픽에 포함된 패킷을 복호화하는 단계, 복호화한 패킷과 로컬브레이크아웃 규칙을 비교하여, 상기 데이터 트래픽을 로컬 데이터망으로 우회 전송하거나, 상기 F1 인터페이스로 바이패스 전달하는 단계를 포함한다.A method for a device to provide a local breakout (LBO) according to another embodiment, the method comprising: checking a type of traffic transmitted in an X2 interface and an F1 interface; In the case of a signaling message, extracting packet encryption/decryption information used in the F1 tunnel created in the F1 interface from the signaling message; When the type of traffic transmitted in the F1 interface is data traffic, the packet encryption/decryption information Decrypting the packet included in the data traffic by using .

상기 장치는 상기 F1 인터페이스에 인라인으로 위치할 수 있다.The device may be located inline to the F1 interface.

상기 장치는 상기 X2 인터페이스를 태핑(tapping)할 수 있다.The device may tap the X2 interface.

상기 장치는 일반 데이터망과 연결되는 인터페이스를 통해, 상기 단말로 메시지를 전송할 수 있는 논리적인 터널을 생성할 수 있다.The device may create a logical tunnel through which a message can be transmitted to the terminal through an interface connected to a general data network.

상기 로컬브레이크아웃 제공 방법은 상기 로컬 데이터망으로 우회 전송한 패킷 수를 누적한 LBO 패킷 수를 관리하는 단계, 그리고 상기 LBO 패킷 수를 참조하여, 상기 F1 인터페이스로 바이패스 전달하는 상향 패킷의 시퀀스 번호(Sequence number)를 보정하는 단계를 더 포함할 수 있다.The method for providing a local breakout includes managing the number of LBO packets accumulating the number of packets detoured to the local data network, and referring to the number of LBO packets, a sequence number of uplink packets bypassed to the F1 interface (Sequence number) may further include the step of correcting.

상기 로컬브레이크아웃 제공 방법은 상기 로컬 데이터망으로부터 상기 단말로 전송된 패킷 수를 누적한 LBO 패킷 수를 관리하는 단계, 그리고 상기 LBO 패킷 수를 참조하여, 상기 F1 인터페이스로 바이패스 전달하는 하향 패킷의 시퀀스 번호(Sequence number)를 보정하는 단계를 더 포함할 수 있다.The method for providing a local breakout includes managing the number of LBO packets accumulating the number of packets transmitted from the local data network to the terminal, and referring to the number of LBO packets, the number of downlink packets bypassed to the F1 interface The method may further include correcting a sequence number.

실시예에 따르면, F1 인터페이스에서 전달되는 패킷을 복호화하여 LBO 규칙을 적용하기 위한 정보를 추출할 수 있으므로, 단말과 가장 인접한 gNB-DU와 gNB-CU 구간에서 로컬 데이터망으로 사용자 트래픽을 우회할 수 있다. According to the embodiment, information for applying the LBO rule can be extracted by decoding the packet transmitted from the F1 interface, so that user traffic can be bypassed to the local data network in the gNB-DU and gNB-CU sections closest to the terminal. there is.

실시예에 따르면, S1 인터페이스에서의 LBO보다 지연을 줄여 5G 망의 초저지연을 극대화할 수 있다. According to the embodiment, it is possible to maximize the ultra-low latency of the 5G network by reducing the delay compared to the LBO in the S1 interface.

실시예에 따르면, 유휴 단말이 F1 터널을 위한 자원을 반환하더라도, F1-LBO 장치가 일반 데이터망에 연결되는 별도 인터페이스를 통해 유휴 단말로 간접적인 페이징을 할 수 있고, 재생성된 F1 터널을 통해 로컬 데이터망에서 들어온 데이터 트래픽을 유휴 단말로 전송할 수 있다. According to the embodiment, even if the idle terminal returns the resource for the F1 tunnel, the F1-LBO device may indirectly perform paging to the idle terminal through a separate interface connected to the general data network, and local through the regenerated F1 tunnel Data traffic from the data network can be transmitted to an idle terminal.

실시예에 따르면, 일반 데이터망을 통해 생성된 단말과 형성된 터널을 통해단말 연결성을 확보할 수 있고, 단말의 상태에 영향받지 않고 지속적인 F1-LBO를 제공할 수 있다.According to the embodiment, terminal connectivity can be secured through a tunnel formed with a terminal created through a general data network, and continuous F1-LBO can be provided without being affected by the state of the terminal.

도 1은 5G망 비단독(5G-NSA) 구조의 예시이다.
도 2는 한 실시예에 따른 F1-LBO 장치를 포함하는 5G-NSA 구조이다.
도 3은 F1 인터페이스에서 전달되는 패킷 구조의 예시이다.
도 4는 X2 및 F1 인터페이스에서 교환되는 시그널링 메시지들을 설명하는 도면이다.
도 5는 한 실시예에 따른 F1-LBO 장치의 암호키 생성 방법을 설명하는 도면이다.
도 6은 한 실시예에 따른 F1 인터페이스에서의 암복호화 알고리즘을 설명하는 도면이다.
도 7은 한 실시예에 따른 F1-LBO 장치의 터널링 기반 간접 페이징 방법을 설명하는 도면이다.
도 8은 한 실시예에 따른 로컬 브레이크아웃 제공 방법의 흐름도이다.
도 9는 다른 실시예에 따른 로컬 브레이크아웃 제공 방법의 흐름도이다.
도 10은 또 다른 실시예에 따른 로컬 브레이크아웃 제공 방법의 흐름도이다.
도 11부터 도 13 각각은 F1-LBO 장치의 동작을 도식적으로 설명하는 도면이다.
1 is an example of a 5G network non-exclusive (5G-NSA) structure.
2 is a 5G-NSA structure including an F1-LBO device according to an embodiment.
3 is an example of the structure of a packet transmitted in the F1 interface.
4 is a diagram for explaining signaling messages exchanged in X2 and F1 interfaces.
5 is a view for explaining a method of generating an encryption key of the F1-LBO device according to an embodiment.
6 is a diagram for explaining an encryption/decryption algorithm in an F1 interface according to an embodiment.
7 is a diagram illustrating a tunneling-based indirect paging method of an F1-LBO device according to an embodiment.
8 is a flowchart of a method for providing a local breakout according to an embodiment.
9 is a flowchart of a method for providing a local breakout according to another embodiment.
10 is a flowchart of a method for providing a local breakout according to another embodiment.
11 to 13 are diagrams schematically illustrating the operation of the F1-LBO device.

아래에서는 첨부한 도면을 참고로 하여 본 개시의 실시예에 대하여 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 개시는 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 개시를 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, with reference to the accompanying drawings, the embodiments of the present disclosure will be described in detail so that those of ordinary skill in the art to which the present disclosure pertains can easily implement them. However, the present disclosure may be implemented in several different forms and is not limited to the embodiments described herein. And in order to clearly explain the present disclosure in the drawings, parts irrelevant to the description are omitted, and similar reference numerals are attached to similar parts throughout the specification.

명세서에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 네트워크를 구성하는 장치들은 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.In the specification, when a part "includes" a certain component, it means that other components may be further included, rather than excluding other components, unless otherwise stated. The devices constituting the network may be implemented by hardware or software or a combination of hardware and software.

본 개시의 장치들은적어도 하나의 프로세서에 의해 동작하고, 하나 이상의 프로세서, 프로세서에 의하여 수행되는 프로그램을 로드하는 메모리, 컴퓨터 프로그램 및 각종 데이터를 저장하는 스토리지, 통신 인터페이스를 포함할 수 있다. 컴퓨터 프로그램은 메모리에 로드될 때 프로세서로 하여금 본 개시의 다양한 실시예에 따른 방법/동작을 수행하도록 하는 명령어들(instruction)을 포함할 수 있다. 즉, 프로세서는 명령어들을 실행함으로써, 본 개시의 다양한 실시예에 따른 방법/동작들을 수행할 수 있다. 명령어는 기능을 기준으로 묶인 일련의 컴퓨터 판독가능 명령어들로서 컴퓨터 프로그램의 구성 요소이자 프로세서에 의해 실행되는 것을 가리킨다.The devices of the present disclosure are operated by at least one processor, and may include one or more processors, a memory for loading a program executed by the processor, a storage for storing a computer program and various data, and a communication interface. A computer program may include instructions that, when loaded into memory, cause a processor to perform methods/operations according to various embodiments of the present disclosure. That is, the processor may perform the method/operations according to various embodiments of the present disclosure by executing the instructions. An instruction refers to a set of computer readable instructions grouped by function, which is a component of a computer program and is executed by a processor.

설명에서, 단말(User equipment, UE)은 접속망(Access Network)/무선 접속망(Radio Access network, RAN)의 기지국(eNB, gNB)에 접속하여 코어망(Core Network)에 연결될 수 있다. 단말은 휴대 단말, IoT 단말, 차량 단말(vehicle), 디스플레이 단말, 방송 단말, 게임 단말 등 다양한 형태 및 용도의 단말일 수 있다. In the description, a user equipment (UE) may be connected to a core network by accessing a base station (eNB, gNB) of an access network/radio access network (RAN). The terminal may be a terminal of various types and uses, such as a portable terminal, an IoT terminal, a vehicle terminal, a display terminal, a broadcasting terminal, and a game terminal.

설명에서, 로컬 브레이크아웃(Local Breakout, LBO)은 데이터 트래픽을 로컬 데이터망(Local Data Network, Local DN)으로 우회하는 기술로서, 상향 데이터를 코어망이 아닌 로컬 데이터망으로 전달하거나, 로컬 데이터망에서 발생한 하향 데이터를 단말로 전달할 수 있다. 로컬 브레이크아웃(LBO)은 트래픽 오프로딩(Traffic Offloading), 트래픽 스티어링(Traffic Steering) 등으로 부를 수 있다. In the description, local breakout (LBO) is a technology that bypasses data traffic to a local data network (Local Data Network, Local DN), and transmits upstream data to the local data network rather than the core network, or Downlink data generated in . Local breakout (LBO) may be referred to as traffic offloading, traffic steering, or the like.

설명에서, 표준에 정의된 내용 및 장치의 동작에 대한 자세한 설명을 생략할 수 있다.In the description, a detailed description of the content defined in the standard and the operation of the device may be omitted.

도 1은 5G망 비단독(5G-NSA) 구조의 예시이다.1 is an example of a 5G network non-exclusive (5G-NSA) structure.

도 1을 참고하면, 5G 망의 비단독(Non-Standalone, NSA) 구조 중에서, 3GPP에서 제시하는 NSA Option 3x를 예로 들어 설명한다. NSA Option 3x에 따르면, LTE 망의 코어(Evolved Packet Core, EPC)(10)를 LTE 기지국(eNB)(20)과 5G 기지국(gNB)(30)이 공유할 수 있다. gNB(30)는 RU(Radio Unit)(미도시), gNB-CU(Central Unit)(31), gNB-DU(Distributed Unit)(33)로 분리될 수 있다. eNB(20)는 RU(미도시)가 분리된 eNB-DU로 설명할 수 있다. EPC(10)는 일반 데이터망인 PDN(Packet Data Network)(50)에 연결될 수 있다.Referring to FIG. 1 , among the Non-Standalone (NSA) structures of the 5G network, NSA Option 3x suggested by 3GPP will be described as an example. According to NSA Option 3x, the LTE network core (Evolved Packet Core, EPC) 10 can be shared by the LTE base station (eNB) 20 and the 5G base station (gNB) 30 . The gNB 30 may be divided into a Radio Unit (RU) (not shown), a Central Unit (gNB-CU) 31 , and a Distributed Unit (gNB-DU) 33 . The eNB 20 may be described as an eNB-DU in which an RU (not shown) is separated. The EPC 10 may be connected to a packet data network (PDN) 50 which is a general data network.

단말(User Equipment, UE)(40)은 eNB(20)에 접속하여 EPC(10)에 연결될 수 있다. 여기서, 제어 평면(Control Plane)에 해당하는 시그널링 메시지는 LTE 망을 통해 전달되고, 사용자 평면(User Plane)에 해당하는 UE(40)의 데이터 트래픽은 상황에 따라 eNB(20) 또는 gNB(30)를 통해 전송될 수 있다.A terminal (User Equipment, UE) 40 may be connected to the EPC 10 by accessing the eNB 20 . Here, the signaling message corresponding to the control plane is transmitted through the LTE network, and the data traffic of the UE 40 corresponding to the user plane is the eNB 20 or gNB 30 depending on the situation. can be transmitted through

EPC(10)와 eNB(20), EPC(10)와 gNB(30)는 S1 인터페이스로 연결된다. eNB(20)와 gNB-CU(31)는 X2 인터페이스로 연결된다. gNB-CU(31)와 gNB-DU(33)는 F1 인터페이스로 연결된다. 각 인터페이스는 제어 평면과 사용자 평면(S1-C 및 S1-U, X2-C 및 X2-U, F1-C 및 F1-U)으로 구분될 수 있다.The EPC (10) and the eNB (20), the EPC (10) and the gNB (30) are connected to the S1 interface. The eNB 20 and the gNB-CU 31 are connected through an X2 interface. The gNB-CU 31 and the gNB-DU 33 are connected to the F1 interface. Each interface can be divided into a control plane and a user plane (S1-C and S1-U, X2-C and X2-U, F1-C and F1-U).

한편, 5G 망에서 로컬브레이크아웃(Local Breakout, LBO)을 통해 저지연을 구현하는 방안으로서, 예를 들면, 사용자 평면 기능(User Plane Function, UPF)의 UL-CL(Uplink Classifier)을 이용하여, UE와 가까운 로컬 데이터망으로 트래픽을 우회시키는 방안이 있다. On the other hand, as a method to implement a low delay through a local breakout (LBO) in the 5G network, for example, using the UL-CL (Uplink Classifier) of the user plane function (User Plane Function, UPF), There is a way to divert traffic to a local data network close to the UE.

UL-CL보다 더 나은 저지연 성능을 위해, S1-U 인터페이스에 배치된 MEC(Mobile edge computing)를 통해 트래픽을 로컬 데이터망으로 우회시킬 수 있다. 이러한 LBO 방법은, GTP(GPRS Tunneling Protocol) 패킷의 헤더를 분석하여 획득한 단말 IP 정보와 목적지 IP 정보를 이용한다. 단말 IP 정보와 목적지 IP 정보로서 일반적으로 5-Tuple (Source IP Address, Source Port, Destination Address, Destination Port, Protocol Number)이 활용될 수 있다. S1-U 인터페이스에 배치된 MEC는 GTP 헤더를 파싱하여 5-Tuple을 추출하고, 5-Tuple이 LBO 규칙에 일치하는지 판단한 후, 트래픽을 로컬 데이터망으로 전달하거나 그대로 통과시킬 수 있다. For better low-latency performance than UL-CL, mobile edge computing (MEC) deployed on the S1-U interface allows traffic to be diverted to the local data network. The LBO method uses terminal IP information and destination IP information obtained by analyzing a header of a GTP (GPRS Tunneling Protocol) packet. In general, 5-Tuple (Source IP Address, Source Port, Destination Address, Destination Port, Protocol Number) may be utilized as terminal IP information and destination IP information. The MEC placed on the S1-U interface parses the GTP header to extract the 5-tuple, determines whether the 5-tuple matches the LBO rule, and then forwards the traffic to the local data network or passes it as it is.

한편, S1-U 인터페이스는 EPC(10)와 gNB-CU(31)의 연결 구간인데, gNB-CU(31)는 일반적으로 집중국사에 위치하기 한다. 따라서, gNB-CU(31)와 UE(40)의 물리적 거리로 인해 지연이 발생하게 된다. 따라서, UE(40)와의 거리가 가장 가까운 gNB-DU(33) 근처에서 LBO를 제공한다면 초저지연을 극대화할 수 있다.On the other hand, the S1-U interface is a connection section between the EPC 10 and the gNB-CU 31, and the gNB-CU 31 is generally located in a centralized office. Accordingly, a delay occurs due to the physical distance between the gNB-CU 31 and the UE 40 . Accordingly, if the LBO is provided near the gNB-DU 33 closest to the UE 40, the ultra-low latency can be maximized.

하지만, 단순히 GTP 헤더를 파싱하여 5-Tuple을 추출할 수 있는 S1-U 인터페이스에서의 LBO와 달리, F1 인터페이스에서 LBO를 제공하는 것이 어렵다. 왜냐하면, F1 인터페이스는 헤더에서 5-Tuple을 획득할 수 있는 GTP 패킷 외에도, PDCP(Packet Data Convergence Protocol) 패킷에 대한 처리가 요구되는데, PDCP 패킷은 보안을 위한 암호화가 적용되어 있다. 따라서, F1 인터페이스에서의 LBO를 위해, 패킷의 암복호화 기능, 그리고 암복호화에 사용할 키(Key) 추출 방법이 필요하다. 또한 PDCP 패킷은 모든 상향/하향 패킷에 부여된 고유한 시퀀스 번호(Sequence Number)를 가지는데, 시퀀스 번호는 암복호화 키로 활용되면서 흐름 제어(Flow Control)에도 사용되므로, 시퀀스 번호관리가 필요하다.However, unlike LBO in the S1-U interface that can extract 5-tuple by simply parsing the GTP header, it is difficult to provide LBO in the F1 interface. Because the F1 interface requires processing of a Packet Data Convergence Protocol (PDCP) packet in addition to a GTP packet capable of obtaining a 5-tuple from a header, and encryption for security is applied to the PDCP packet. Therefore, for LBO in the F1 interface, a packet encryption/decryption function and a key extraction method to be used for encryption/decryption are required. In addition, PDCP packets have a unique sequence number assigned to all uplink/downlink packets. Since the sequence number is used as an encryption/decryption key and is also used for flow control, sequence number management is required.

한편, 무선 자원의 효율적인 사용을 위해, UE(40)는 데이터 통신이 일정 기간 없을 경우 자원을 반환하고 유휴(Idle) 상태에 진입한다. 이때, F1 및 S1-U 인터페이스에서 데이터 무선 베어러(Data Radio Bearer, DRB), S1 베어러가 반환된다. 따라서, UE(40)가 유휴 상태이면, 로컬 데이터망에서 UE(40)로 향하는 데이터가 발생하더라도, UE(40)로의 데이터 전송에 활용할 베어러가 없어서 F1 인터페이스에서 패킷이 정상적으로 유입될 수 없다. 따라서, 상향 데이터에 대한 LBO 뿐만 아니라, 하향 데이터에 대한 LBO를 위해 단말의 연결성 제공 방법이 필요하다.Meanwhile, for efficient use of radio resources, the UE 40 returns the resource when there is no data communication for a certain period and enters an idle state. In this case, a data radio bearer (DRB) and an S1 bearer are returned in the F1 and S1-U interfaces. Accordingly, when the UE 40 is in the idle state, even if data destined for the UE 40 occurs in the local data network, there is no bearer to be used for data transmission to the UE 40 , and thus a packet cannot be normally introduced from the F1 interface. Accordingly, there is a need for a method for providing connectivity of a terminal for LBO for downlink data as well as LBO for uplink data.

다음에서, 이러한 요구 사항을 해결하고, S1-U 인터페이스 대신, F1 인터페이스에서 LBO를 제공하는 방법에 대해 자세히 설명한다.In the following, we describe in detail how to address these requirements and provide LBO in the F1 interface instead of the S1-U interface.

도 2는 한 실시예에 따른 F1-LBO 장치를 포함하는 5G-NSA 구조이다. 2 is a 5G-NSA structure including an F1-LBO device according to an embodiment.

도 2를 참고하면, F1-LBO 장치(100)는 도 1에서 설명한 5G-NSA 구조의 F1 인터페이스에 배치되고, 규칙에 따라 로컬 데이터망(Local DN, LDN)(60)으로 데이터 트래픽을 우회하는 로컬브레이크아웃(LBO)을 제공한다. F1-LBO 장치(100)은 F1 인터페이스에 인라인으로 위치할 수 있다. F1-LBO 장치(100)의 이름은 다양하게 붙여질 수 있다. 설명에서, 규칙은 LBO 규칙이라고 부른다.Referring to FIG. 2 , the F1-LBO device 100 is disposed on the F1 interface of the 5G-NSA structure described in FIG. 1 , and bypasses data traffic to the local data network (Local DN, LDN) 60 according to a rule. Local breakout (LBO) is provided. The F1-LBO device 100 may be located inline on the F1 interface. The name of the F1-LBO device 100 may be variously assigned. In the description, the rules are referred to as LBO rules.

eNB-DU(20)와 gNB-CU(31)는 EPC(10)에 연결되어 시그널링 메시지와 사용자 데이터를 송수신한다. EPC(10)는 일반 데이터망인 PDN(Packet Data Network)(50)에 연결될 수 있다. The eNB-DU 20 and the gNB-CU 31 are connected to the EPC 10 to transmit and receive signaling messages and user data. The EPC 10 may be connected to a packet data network (PDN) 50 which is a general data network.

eNB-DU(20)와 gNB-DU(33)는 UE(40)에 연결될 수 있다. UE(40)는 상황에 따라 gNB-DU(33)로 상향 데이터를 전송할 수 있다.The eNB-DU 20 and the gNB-DU 33 may be connected to the UE 40 . The UE 40 may transmit uplink data to the gNB-DU 33 according to circumstances.

F1-LBO 장치(100)는 gNB-CU(31)와 gNB-DU(33) 사이에 배치된다. F1-LBO 장치(100)는 gNB-DU(33)에 인접한 위치에 배치될 수 있다. F1-LBO 장치(100)는 gNB-DU(33)에서 gNB-CU(31)로 향하는 상향 데이터를 로컬 데이터망(60)으로 우회 전송하거나, gNB-CU(31)로 바이패스 전달할 수 있다. F1-LBO 장치(100)는 집중국사에 위치하는 gNB-CU(31)보다 UE(40)에 가까운 거리에서, UE(40)의 데이터 트래픽을 로컬 데이터망(60)으로 우회시킬 수 있다. 따라서, F1 인터페이스에서의 LBO를 통해, UE(40)과의 거리에 의해 발생하는 지연이 최소화될 수 있다. The F1-LBO device 100 is disposed between the gNB-CU 31 and the gNB-DU 33 . The F1-LBO device 100 may be disposed adjacent to the gNB-DU 33 . The F1-LBO device 100 may bypass the uplink data from the gNB-DU 33 to the gNB-CU 31 to the local data network 60 , or may bypass the gNB-CU 31 . The F1-LBO device 100 may divert data traffic of the UE 40 to the local data network 60 at a distance closer to the UE 40 than the gNB-CU 31 located in the centralized office. Accordingly, through the LBO in the F1 interface, the delay caused by the distance to the UE 40 can be minimized.

F1-LBO 장치(100)는 F1 인터페이스에서 전달되는 패킷에서 LBO 규칙을 적용하기 위한 정보(예를 들면, 목적지 IP 주소, 단말 IP 주소)를 추출한다. 이때, F1 인터페이스에서 전달되는 패킷은 암호화되어 있다. 따라서, F1-LBO 장치(100)는 F1 인터페이스에서의 LBO를 위해, 패킷의 암복호화 기능, 그리고 암복호화에 사용할 키(Key)를 추출한다. The F1-LBO device 100 extracts information (eg, destination IP address, terminal IP address) for applying the LBO rule from a packet transmitted from the F1 interface. At this time, the packet transmitted from the F1 interface is encrypted. Accordingly, the F1-LBO device 100 extracts a packet encryption/decryption function and a key to be used for encryption/decryption for LBO in the F1 interface.

한편, 패킷의 시퀀스 번호는 패킷의 암복호화에 사용될 뿐만 아니라, F1 인터페이스에서의 흐름 제어(Flow Control)에 사용되는 중요한 정보이다. 그런데, 상향 데이터 중 일부가 로컬 데이터망(60)으로 우회 전송되거나, 로컬 데이터망(60)으로부터 유입된 데이터가 하향 데이터로 F1 인터페이스에 추가되면, F1 인터페이스에서 LBO 패킷 수만큼 시퀀스 번호 차이가 발생한다. On the other hand, the sequence number of the packet is important information not only used for encryption/decryption of the packet, but also used for flow control in the F1 interface. However, if some of the uplink data is detoured to the local data network 60, or data flowing in from the local data network 60 is added to the F1 interface as downlink data, a sequence number difference occurs in the F1 interface by the number of LBO packets. do.

이러한 시퀀스 번호 차이를 보정하기 위해, F1-LBO 장치(100)는, gNB-CU(31)로 전송되는 상향 시퀀스 번호, 그리고 gNB-DU(33)로 전송되는 하향 시퀀스 번호를 관리할 수 있다. 또한, F1-LBO 장치(100)는 LBO 패킷 수를 누적하고, 누적된 LBO 패킷 수를 이용하여, 바이패스 전송되는 패킷의 시퀀스 번호를 보정한다. LBO 패킷 수는 상향 LBO 패킷 수와 하향 LBO 패킷 수로 구분될 수 있다. 구체적으로, F1-LBO 장치(100)는 gNB-CU(31)로 패킷을 바이패스 전송하는 경우, 패킷의 시퀀스 번호를 상향 LBO 패킷 수만큼 차감하는 보정을 한 후, gNB-CU(31)로 전달할 수 있다. F1-LBO 장치(100)는 gNB-DU(33)로 패킷을 바이패스 전송하는 경우, 패킷의 시퀀스 번호를 하향 LBO 패킷 수만큼 추가하는 보정을 한 후, gNB-DU(33)로 전달할 수 있다To compensate for this sequence number difference, the F1-LBO device 100 may manage an uplink sequence number transmitted to the gNB-CU 31 and a downlink sequence number transmitted to the gNB-DU 33 . In addition, the F1-LBO device 100 accumulates the number of LBO packets, and corrects the sequence number of the bypass-transmitted packet by using the accumulated number of LBO packets. The number of LBO packets may be divided into the number of uplink LBO packets and the number of downlink LBO packets. Specifically, when the F1-LBO device 100 bypasses the packet transmission to the gNB-CU 31 , the F1-LBO device 100 performs correction by subtracting the sequence number of the packet by the number of uplink LBO packets, and then sends the packet to the gNB-CU 31 . can transmit When the F1-LBO device 100 bypasses the packet transmission to the gNB-DU 33 , the F1-LBO device 100 may transmit the packet to the gNB-DU 33 after performing correction by adding the sequence number of the packet as much as the number of downlink LBO packets.

이처럼, F1-LBO 장치(100)가 LBO를 제공하면서, 바이패스 전송되는 패킷의 시퀀스 번호를 보정을 하므로, F1 인터페이스에서 진행되는 LBO과 무관하게 gNB-CU(31) 및 gNB-DU(33)는 시퀀스 번호가 순차적으로 증가하는 패킷들을 수신할 수 있다. F1-LBO 장치(100)는 시퀀스 번호 보정을 통해 F1 인터페이스에서의 흐름을 방해하지 않으면서, UE(40)에 가장 가까운 지점에서 LBO를 제공할 수 있다.In this way, since the F1-LBO device 100 corrects the sequence number of the bypass-transmitted packet while providing the LBO, the gNB-CU 31 and the gNB-DU 33 are irrespective of the LBO in the F1 interface. may receive packets with sequentially increasing sequence numbers. The F1-LBO device 100 may provide the LBO at a point closest to the UE 40 without interfering with the flow in the F1 interface through sequence number correction.

이를 위해, F1-LBO 장치(100)는 eNB-DU(20)와 gNB-CU(31) 사이의 X2 인터페이스에서 교환되는 시그널링 메시지를 수집한다. X2 인터페이스에서 교환되는 시그널링 메시지를 수집하는 방법은 다양하게 구현될 수 있다. 예를 들면, F1-LBO 장치(100)는 X2 인터페이스를 태핑(tapping)하여 X2 인터페이스에서 교환되는 시그널링 메시지를 수집할 수 있다.To this end, the F1-LBO device 100 collects signaling messages exchanged in the X2 interface between the eNB-DU 20 and the gNB-CU 31 . A method of collecting signaling messages exchanged in the X2 interface may be implemented in various ways. For example, the F1-LBO device 100 may collect signaling messages exchanged in the X2 interface by tapping the X2 interface.

F1-LBO 장치(100)는 X2 인터페이스에서 수집한 시그널링 메시지, 그리고 F1 인터페이스에서 수집한 시그널링 메시지를 이용하여, F1 인터페이스에서 전송되는 패킷의 암복호화를 위한 정보를 추출할 수 있다. F1-LBO 장치(100)는 수집한 시그널링 메시지를 기초로 UE(40)의 암복호화 정보를 추출할 수 있다. F1-LBO 장치(100)는 UE(40)의 암복호화 정보를 통해 F1 인터페이스로 유입된 패킷을 암복호화해서 LBO에 필요한 정보를 획득하고, LBO 규칙에 해당하는 데이터 트래픽을 로컬 데이터망(60)으로 우회 전송하거나, gNB-CU(31)로 바이패스 전달하거나, gNB-DU(33)로 바이패스 전달할 수 있다. 이때, F1-LBO 장치(100)는 UE(40)에 관계된 시그널링 메시지들로부터 추출한 정보, 그리고 이를 통해 복호화한 패킷에서 추출한 정보를 단말 관리 테이블로 기록하고, 시그널링 메시지에 따라 업데이트할 수 있다.The F1-LBO device 100 may extract information for encryption/decryption of a packet transmitted through the F1 interface by using the signaling message collected from the X2 interface and the signaling message collected from the F1 interface. The F1-LBO device 100 may extract encryption/decryption information of the UE 40 based on the collected signaling message. The F1-LBO device 100 encrypts/decrypts packets flowing into the F1 interface through the encryption/decryption information of the UE 40 to obtain information necessary for LBO, and transmits data traffic corresponding to the LBO rule to the local data network 60 Bypass transmission to , bypass transmission to the gNB-CU (31), or bypass transmission to the gNB-DU (33). In this case, the F1-LBO device 100 may record information extracted from signaling messages related to the UE 40 and information extracted from a packet decoded through this into the terminal management table, and may update it according to the signaling message.

F1-LBO 장치(100)는 외부망인 PDN(50)과 연결되는 PDN 인터페이스를 추가로 가진다. 이를 통해, F1-LBO 장치(100), PDN(50), EPC(10), 그리고 UE(40)가 논리적으로 연결되는 터널(Logical Tunnel)이 생성되고, PDN 인터페이스를 통해 형성된 터널을 이용하여, 유휴 상태의 UE(40)로 메시지를 보낼 수 있고, 이를 통해 간접 페이징을 할 수 있다. The F1-LBO device 100 further has a PDN interface connected to the PDN 50 as an external network. Through this, a tunnel (Logical Tunnel) is created in which the F1-LBO device 100, the PDN 50, the EPC 10, and the UE 40 are logically connected, and using the tunnel formed through the PDN interface, A message may be sent to the UE 40 in an idle state, and through this, an indirect paging may be performed.

F1-LBO 장치(100)는 PDN 인터페이스를 통해, 유휴 상태의 UE(40)로 Wake-up 메시지를 전송할 수 있다. 그러면, 메시지가 EPC(10)를 통해 UE(40)로 전달되는 과정에서 신규 베어러가 생성되고, F1-LBO 장치(100)는 X2 및 F1 인터페이스에서 신규 베어러 생성을 위해 교환되는 시그널링 메시지를 기초로 단말 관리 테이블을 업데이트할 수 있다. F1-LBO 장치(100)는 F1 인터페이스에서 신규 베이러인 F1 터널이 생성되면, 로컬 데이터망(60)에서 UE(40)로 향하는 데이터를 gNB-DU(33)로 전달할 수 있다. The F1-LBO device 100 may transmit a wake-up message to the UE 40 in the idle state through the PDN interface. Then, a new bearer is generated while the message is transmitted to the UE 40 through the EPC 10, and the F1-LBO device 100 based on the signaling message exchanged for new bearer creation in the X2 and F1 interfaces. The terminal management table may be updated. The F1-LBO device 100 may transmit data from the local data network 60 to the UE 40 to the gNB-DU 33 when the F1 tunnel, which is a new bayer, is created in the F1 interface.

도 3은 F1 인터페이스에서 전달되는 패킷 구조의 예시이고, 도 4는 X2 및 F1 인터페이스에서 교환되는 시그널링 메시지들을 설명하는 도면이다.FIG. 3 is an example of a packet structure transmitted in the F1 interface, and FIG. 4 is a diagram illustrating signaling messages exchanged in the X2 and F1 interfaces.

도 3을 참고하면, F1 인터페이스에서 전달되는 사용자 데이터는 암호화(Encapsulation)된 PDCP 패킷으로 전송된다. Referring to FIG. 3 , user data transmitted through the F1 interface is transmitted as an encrypted PDCP packet.

gNB-DU(33)에서 gNB-CU(31)로 전달되는 상향 데이터 패킷(200)을 살펴보면, 패킷(200)은 F1 패킷 헤더(F1 packet Header)(210) 그리고 F1 패킷 페이로드(F1 packet Payload)(230)로 구성된다. F1 패킷 페이로드(230)는 암호화될 수 있다.Looking at the uplink data packet 200 transferred from the gNB-DU 33 to the gNB-CU 31 , the packet 200 includes an F1 packet header 210 and an F1 packet payload. ) (230). The F1 packet payload 230 may be encrypted.

F1 패킷 헤더(210)는 전송 단계에서 부가된 헤더들로 구성된다. 아우터 헤더(211)는 목적지 IP 주소(상향 데이터인 경우 gNB-CU의 IP 주소) 및 출발지 IP 주소(상향 데이터인 경우 gNB-DU의 IP 주소)를 포함한다. GTP 헤더(213)는 F1 터널 식별자(Tunnel ID, TEID)를 포함할 수 있다. PDCP 헤더(215)는 PDU 타입(PDU type)과 PDCP 시퀀스 번호를 포함할 수 있다.The F1 packet header 210 is composed of headers added in the transmission step. The outer header 211 includes a destination IP address (IP address of gNB-CU in case of uplink data) and a source IP address (IP address of gNB-DU in case of uplink data). The GTP header 213 may include an F1 tunnel identifier (Tunnel ID, TEID). The PDCP header 215 may include a PDU type and a PDCP sequence number.

F1-LBO 장치(100)는 F1 인터페이스에서 전달되는 패킷의 F1 패킷 헤더(210)에서, F1 TEID, PDU type, PDCP 시퀀스 번호를 추출할 수 있다. F1 TEID는 단말별로 할당되는 상향/하향 베어러에 매칭되는 값으로서, 각 단말의 트래픽을 구분하고 패킷 암복호화에 사용된다. PDU Type은 데이터 트래픽인지 시그널 메시지인지를 판별하는 데 사용된다. PDCP 시퀀스 번호는 F1 인터페이스에서 흐름 제어에 사용되고, 또한 패킷 암복호화에도 사용된다. The F1-LBO device 100 may extract an F1 TEID, a PDU type, and a PDCP sequence number from the F1 packet header 210 of a packet transmitted through the F1 interface. The F1 TEID is a value matching the uplink/downlink bearer allocated to each terminal, and is used to classify traffic of each terminal and to encrypt/decrypt packets. The PDU Type is used to determine whether it is data traffic or a signal message. The PDCP sequence number is used for flow control in the F1 interface and is also used for packet encryption and decryption.

F1 패킷 페이로드(230)는 사용자 패킷 헤더(User Pcaket Header)(231)와 사용자 패킷 페이로드(User Packet Payload)(233)를 포함할 수 있다. 사용자 패킷 헤더(231)는 목적지 IP 주소(상향 데이터인 경우 응용 서버의 IP 주소) 및 출발지 IP 주소(상향 데이터인 경우 단말의 IP 주소)를 포함한다.The F1 packet payload 230 may include a user packet header 231 and a user packet payload 233 . The user packet header 231 includes a destination IP address (in the case of uplink data, the IP address of the application server) and a source IP address (in the case of uplink data, the IP address of the terminal).

F1-LBO 장치(100)는 데이터 트래픽을 로컬 데이터망(60)으로 우회할지 판단하기 위한 LBO 규칙을 가지고 있다. LBO 규칙은 단말 IP 주소 및/또는 목적지인 응용 서버의 IP 주소를 포함할 수 있다. 따라서, F1-LBO 장치(100)는 F1 인터페이스에서 전달되는 패킷에서 LBO 규칙을 적용하기 위한 정보를 추출해야 하는데, 이를 포함하는 F1 패킷 페이로드(230)는 암호화되어 있으므로, 패킷의 암복호화 정보를 알아내야 한다. 암복호화 정보는 암호키암호화 알고리즘, 그리고 암호화 알고리즘에서 요구되는 정보를 알아내야 한다. The F1-LBO device 100 has an LBO rule for determining whether to bypass the data traffic to the local data network 60 . The LBO rule may include the terminal IP address and/or the IP address of the destination application server. Accordingly, the F1-LBO device 100 needs to extract information for applying the LBO rule from the packet transmitted from the F1 interface. Since the F1 packet payload 230 including this is encrypted, the encryption/decryption information of the packet must be extracted. have to find out For encryption/decryption information, it is necessary to find out the encryption key encryption algorithm and information required by the encryption algorithm.

F1-LBO 장치(100)는 X2 인터페이스에서 수집한 시그널링 메시지, 그리고 F1 인터페이스에서 수집한 시그널링 메시지를 이용하여, F1 인터페이스에서 전송되는 패킷의 암복호화 정보를 추출할 수 있다. The F1-LBO device 100 may extract encryption/decryption information of a packet transmitted through the F1 interface by using the signaling message collected from the X2 interface and the signaling message collected from the F1 interface.

F1-LBO 장치(100)는 시그널링 메시지들로부터 추출한 암복호화 정보를 기초로 F1 패킷 페이로드(230)를 복호화하고, 사용자 패킷 헤더(231)에 포함된 IP 주소를 확인할 수 있다. F1-LBO 장치(100)는 패킷에서 확인한 IP 주소가 LBO 규칙에 해당하는 경우, LBO를 위해 해당 패킷을 지정된 주소로 전송한다.The F1-LBO device 100 may decrypt the F1 packet payload 230 based on encryption/decryption information extracted from the signaling messages, and check the IP address included in the user packet header 231 . When the IP address checked in the packet corresponds to the LBO rule, the F1-LBO device 100 transmits the packet to the designated address for LBO.

만약, 패킷에서 확인한 IP 주소가 LBO 규칙에 해당하지 않는 경우, F1-LBO 장치(100)는 해당 패킷의 시퀀스 번호를 보정하고, 다시 암호화한 후, gNB-CU(31)로 전달한다. F1-LBO 장치(100)는 LBO 규칙에 해당하지 않는 패킷의 시퀀스 번호를 상향 LBO 패킷 수만큼 차감하는 보정을 한 후, gNB-CU(31)로 바이패스 전송한다. 이를 위해, F1-LBO 장치(100)는 상향 데이터 중 적어도 일부를 로컬 데이터망(60)으로 우회 전송하면, 우회 전송한 패킷 수를 누적해서 상향 LBO 패킷 수를 관리한다. If the IP address checked in the packet does not correspond to the LBO rule, the F1-LBO device 100 corrects the sequence number of the corresponding packet, re-encrypts it, and transmits it to the gNB-CU 31 . The F1-LBO device 100 performs a correction by subtracting the sequence number of a packet that does not correspond to the LBO rule by the number of uplink LBO packets, and then transmits the bypass to the gNB-CU 31 . To this end, the F1-LBO device 100 manages the number of uplink LBO packets by accumulating the number of bypassed packets when at least a portion of uplink data is bypassed to the local data network 60 .

도 4를 참고하면, F1-LBO 장치(100)는 X2 및 F1 인터페이스에서 교환되는 시그널링 메시지들을 분석하여, F1 인터페이스에서 전송되는 패킷의 암복호화를 위한 정보를 추출할 수 있다. Referring to FIG. 4 , the F1-LBO device 100 may extract information for encryption/decryption of a packet transmitted through the F1 interface by analyzing the signaling messages exchanged in the X2 and F1 interfaces.

5G NSA Initial Attach Call Flow에 정의된 시그널링 메시지들을 예로 들어 설명한다.The signaling messages defined in the 5G NSA Initial Attach Call Flow will be described as examples.

eNB-DU(20)가 gNB-CU(31)로 SGNB Addition Request 메시지를 전송한다(S110). gNB-CU(31)는 gNB-DU(33)로 UE Context Setup Request 메시지를 전송한다(S120). gNB-DU(33)는 gNB-CU(31)로 UE Context Setup Response 메시지를 전송한다(S130). gNB-CU(31)는 eNB-DU(20)로 SGNB Addition Acknowledge 메시지를 전송한다(S140). eNB-DU(20)는 UE(40)로 RRC connection reconfiguration 메시지를 전송한다(S150). UE(40)는 eNB-DU(20)로 RRC connection reconfiguration complete 메시지를 전송한다(S160). eNB-DU(20)는 gNB-CU(31)로 SGNB reconfiguration complete 메시지를 전송한다(S170). 임의 접속 절차(Random Access Procedure)가 진행된 후, eNB-DU(20)는 gNB-CU(31)로 SN Status Transfer 메시지를 전송한다(S180). The eNB-DU 20 transmits an SGNB Addition Request message to the gNB-CU 31 (S110). The gNB-CU 31 transmits a UE Context Setup Request message to the gNB-DU 33 (S120). The gNB-DU 33 transmits a UE Context Setup Response message to the gNB-CU 31 (S130). The gNB-CU 31 transmits an SGNB Addition Acknowledge message to the eNB-DU 20 (S140). The eNB-DU 20 transmits an RRC connection reconfiguration message to the UE 40 (S150). The UE 40 transmits an RRC connection reconfiguration complete message to the eNB-DU 20 (S160). The eNB-DU 20 transmits the SGNB reconfiguration complete message to the gNB-CU 31 (S170). After the random access procedure is performed, the eNB-DU 20 transmits an SN Status Transfer message to the gNB-CU 31 (S180).

이와 같이, F1-LBO 장치(100)는 UE(40)의 망 접속(attach) 단계에서 교환되는 시그널링 메시지들을 수집하고, 표 1과 같이, 각 시그널링 메시지에 포함된 정보를 추출할 수 있다. In this way, the F1-LBO device 100 may collect signaling messages exchanged in the network attach step of the UE 40, and as shown in Table 1, extract information included in each signaling message.

시그널링 메시지signaling message 메시지에 포함된 정보information contained in the message SGNB Addition Request 메시지SGNB Addition Request message eNB-UE-X2AP-IDgNB-Security-KeyeNB-UE-X2AP-IDgNB-Security-Key UE Context Setup Request 메시지UE Context Setup Request message gNB-CU-UE-F1AP-ID
F1 DRB ID (UL)
F1 GTP TEID (UL)
gNB-CU-UE-F1AP-ID
F1 DRB ID (UL)
F1 GTP TEID (UL)
UE Context Setup Response 메시지UE Context Setup Response Message gNB-CU-UE-F1AP-ID
gNB-DU-UE-F1AP-ID
F1 DRB ID (UL)
F1 GTP TEID (UL)
gNB-CU-UE-F1AP-ID
gNB-DU-UE-F1AP-ID
F1 DRB ID (UL)
F1 GTP TEID (UL)
SGNB Addition Acknowledge 메시지SGNB Addition Acknowledgment Message eNB-UE-X2AP-ID
gNB-UE-X2AP-ID
Ciphering Algorithm
eNB-UE-X2AP-ID
gNB-UE-X2AP-ID
Ciphering Algorithm
SN Status Transfer 메시지SN Status Transfer message eNB-UE-X2AP-ID
gNB-UE-X2AP-ID
Hyper Frame Number
PDCP Sequence Number
eNB-UE-X2AP-ID
gNB-UE-X2AP-ID
Hyper Frame Number
PDCP Sequence Number

시그널링 메시지는 각 장비가 단말을 구분하기 위해 할당한 식별자(ID)가 포함되어 있으므로, F1-LBO 장치(100)는 ID를 기준으로 동일 단말에 대한 시그널링 메시지들의 정보를 취합하고, 표 2와 같은 단말별 암복호화 정보 테이블을 생성할 수 있다. Since the signaling message includes an identifier (ID) assigned by each device to identify a terminal, the F1-LBO device 100 collects information of signaling messages for the same terminal based on the ID, and as shown in Table 2 An encryption/decryption information table for each terminal may be created.

UE indexUE index IDID 시그널링 메시지로부터 수집한 정보Information collected from signaling messages 1One eNB-UE-X2AP-ID
gNB-UE-X2AP-ID
gNB-CU-UE-F1AP-ID
eNB-UE-X2AP-ID
gNB-UE-X2AP-ID
gNB-CU-UE-F1AP-ID
gNB-Security-Key
Ciphering Algorithm
Hyper Frame Number
PDCP Sequence Number
F1 DRB ID (UL)
F1 GTP TEID (UL)
gNB-Security-Key
Ciphering Algorithm
Hyper Frame Number
PDCP Sequence Number
F1 DRB ID (UL)
F1 GTP TEID (UL)

표 2와 같은 암복호화 정보 테이블은 다음과 같이 생성될 수 있다. The encryption/decryption information table shown in Table 2 may be generated as follows.

표 1의 SGNB Addition Request 메시지, SGNB Addition Acknowledge 메시지, SN Status Transfer 메시지는 공통된 “eNB-UE-X2AP-ID”를 포함하고 있다. 따라서, F1-LBO 장치(100)는 동일한 “eNB-UE-X2AP-ID”를 가진 시그널링 정보에 포함된 키(gNB-Security-Key), 암호화 알고리즘(Ciphering Algorithm), 하이퍼 프레임 번호(Hyper Frame Number), PDCP 시퀀스 번호(Sequence Number)를 수집하고, 특정 단말의 암복호화 정보로서 표 2의 암복호화 정보 테이블을 생성할 수 있다.The SGNB Addition Request message, SGNB Addition Acknowledge message, and SN Status Transfer message in Table 1 include a common “eNB-UE-X2AP-ID”. Accordingly, the F1-LBO device 100 includes a key (gNB-Security-Key), an encryption algorithm (Ciphering Algorithm), and a hyper frame number included in the signaling information having the same “eNB-UE-X2AP-ID”. ), PDCP sequence numbers may be collected, and the encryption/decryption information table of Table 2 may be generated as encryption/decryption information of a specific terminal.

한편, 표 1에서 “gNB-UE-X2AP-ID”와 “gNB-CU-UE-F1AP-ID”는 상이하게 명명되어 있지만, gNB-CU(31)에서 UE(40)를 구분하는 ID로서 동일한 값을 가진다. 따라서, “gNB-UE-X2AP-ID”와 동일한 “gNB-CU-UE-F1AP-ID”를 가지는 UE Context Setup Request 메시지와 UE Context Setup Response 메시지는, 동일 단말의 시그널링 정보로 확인될 수 있다. F1-LBO 장치(100)는 UE Context Setup Request 메시지와 UE Context Setup Response 메시지에 포함된 F1 DRB ID (UL), F1 GTP TEID (UL)를 UE1의 테이블에 저장할 수 있다.On the other hand, in Table 1, “gNB-UE-X2AP-ID” and “gNB-CU-UE-F1AP-ID” are named differently, but as an ID for distinguishing the UE 40 from the gNB-CU 31 have a value Accordingly, the UE Context Setup Request message and the UE Context Setup Response message having the same “gNB-CU-UE-F1AP-ID” as “gNB-UE-X2AP-ID” may be identified as signaling information of the same UE. The F1-LBO device 100 may store the F1 DRB ID (UL) and the F1 GTP TEID (UL) included in the UE Context Setup Request message and the UE Context Setup Response message in the table of UE1.

이와 같이, F1-LBO 장치(100)는 5개의 시그널링 메시지들을 그룹 짓고, 각 메시지의 내부 정보를 추출하면, 하나의 단말에 대한 gNB-Security-Key, Ciphering Algorithm, Hyper Frame Number, PDCP Sequence Number, F1 DRB ID, F1 TEID를 확보할 수 있다. F1-LBO 장치(100)는 이를 이용하여 F1 터널을 통과하는 패킷 복호화하고, 복호화된 패킷에서 추출한 IP 정보를 기초로 LBO 규칙에 부합하는 지 판단한 후, 로컬 데이터망으로 우회 전송 또는 바이패스 전달할 수 있다.In this way, the F1-LBO device 100 groups five signaling messages and extracts internal information of each message, gNB-Security-Key, Ciphering Algorithm, Hyper Frame Number, PDCP Sequence Number, F1 DRB ID and F1 TEID can be secured. The F1-LBO device 100 uses this to decode the packet passing through the F1 tunnel, determines whether it meets the LBO rule based on the IP information extracted from the decoded packet, and then transfers it to the local data network by detour or bypass transmission. there is.

도 5는 한 실시예에 따른 F1-LBO 장치의 암호키 생성 방법을 설명하는 도면이고, 도 6은 한 실시예에 따른 F1 인터페이스에서의 암복호화 알고리즘을 설명하는 도면이다. 5 is a diagram for explaining a method of generating an encryption key of an F1-LBO device according to an embodiment, and FIG. 6 is a diagram for explaining an encryption/decryption algorithm in the F1 interface according to an embodiment.

도 5를 참고하면, F1 인터페이스에서 사용되는 암호키(KEY)는 eNB-DU(20)로부터 전송되는 S-KgNB를 이용하여 생성될 수 있다. S-KgNB는 표 2의 “gNB-Security-Key”일 수 있다.Referring to FIG. 5 , an encryption key (KEY) used in the F1 interface may be generated using the SK gNB transmitted from the eNB-DU 20 . SK gNB may be “gNB-Security-Key” of Table 2.

F1-LBO 장치(100)는 키 추출 기능(Key Derivation Function, KDF)을 포함하고, 알고리즘 구분자(Alg-Distinguisher), 알고리즘 식별자(Alg-ID), 그리고 eNB-DU(20)로부터 전송되는 S-KgNB를 KDF에 입력하여 PDCP 패킷의 암복호에 사용되는 암호키 KSgNB-UP-enc를 추출할 수 있다. 지정된 표준에 따르면, 암복호화할 데이터가 사용자 데이터이므로 Alg-Distinguisher는 UP-int-alg의 값 0x06이고, Alg-ID는 이후 시그널링 메시지에서 파악한 알고리즘 번호에 해당하는 값이 선택될 수 있다. 3GPP에서 정의하는 KDF는 HMAC-SHA-256이며, 이를 128-bit Truncate 함수에 통과시켜 최종적인 KSgNB-UP-enc를 생성할 수 있다.F1-LBO device 100 includes a key extraction function (Key Derivation Function, KDF), algorithm identifier (Alg-Distinguisher), algorithm identifier (Alg-ID), and SK gNB transmitted from the eNB-DU (20) can be input into the KDF to extract the encryption key KS gNB-UP-enc used for encryption and decryption of PDCP packets. According to the specified standard, since data to be encrypted/decrypted is user data, Alg-Distinguisher is the value 0x06 of UP-int-alg, and Alg-ID is a value corresponding to the algorithm number identified in the subsequent signaling message. The KDF defined by 3GPP is HMAC-SHA-256, and by passing it through the 128-bit Truncate function, the final KS gNB-UP-enc can be generated.

F1-LBO 장치(100)는 암복호화 정보 테이블의 Ciphering Algorithm을 기초로 F1 인터페이스에서 사용되는 암복호화 알고리즘(예를 들면, NEA)을 알 수 있다.The F1-LBO device 100 may know the encryption/decryption algorithm (eg, NEA) used in the F1 interface based on the Ciphering Algorithm of the encryption/decryption information table.

도 6을 참고하면, F1 인터페이스에서 사용되는 암복호화 알고리즘이 예를 들면, NEA(Niching Evolutionary Algorithm)일 수 있다. NEA는 암호키(KEY), 카운트(COUNT), 베어러(BEARER), 방향(DIRECTION), 길이(LENGTH)를 사용해 키스트림 블록(KEYSTREAM BLOCK)을 만들고, 키스트림 블록을 데이터의 암복호화에 활용하는 알고리즘이다.Referring to FIG. 6 , the encryption/decryption algorithm used in the F1 interface may be, for example, a Niching Evolutionary Algorithm (NEA). NEA uses encryption key (KEY), count (COUNT), bearer (BEARER), direction (DIRECTION) and length (LENGTH) to create a keystream block (KEYSTREAM BLOCK), and uses the keystream block for data encryption and decryption. It is an algorithm.

암호키(KEY)는 도 5에서 KDF를 통해 추출한 암호키 KSgNB-UP-enc가 사용될 수 있다.As the encryption key (KEY), the encryption key KS gNB-UP-enc extracted through KDF in FIG. 5 may be used.

카운트(COUNT)는 표 2의 하이퍼 프레임 번호와 PDCP 시퀀스 번호 의 조합값이 사용될 수 있다.For the count (COUNT), a combination value of the hyper frame number and PDCP sequence number in Table 2 may be used.

베어러(BEARER)는 표 2의 DRB ID에서 1을 뺀 값이 사용될 수 있다.For the bearer (BEARER), a value obtained by subtracting 1 from the DRB ID of Table 2 may be used.

방향(DIRECTION)은 패킷의 방향(UL/DL)을 나타내는 값으로 표 2에서 확인할 수 있고, 0이 UL, 1이 DL을 나타낼 수 있다.The direction (DIRECTION) is a value indicating the direction (UL/DL) of the packet, and can be confirmed in Table 2, where 0 may indicate UL and 1 may indicate DL.

길이(LENGTH)는 데이터 패킷의 길이가 사용된다.As the length (LENGTH), the length of the data packet is used.

F1-LBO 장치(100)는 암호키 KSgNB-UP-enc, 그리고 시그널링 메시지들로부터 추출한 암복호화 정보(Hyper Frame Number, PDCP Sequence Number, DRB ID, UL/DL)를 이용하여, 동일한 TEID를 가진 패킷의 암호화된 페이로드를 복호화할 수 있다. F1-LBO 장치(100)는 복호화된 패킷의 사용자 패킷 헤더에서 LBO 규칙에서 요구되는 목적지 IP 주소, 출발지 IP 주소(UE IP 주소)를 확인할 수 있다. The F1-LBO device 100 uses the encryption key KS gNB-UP-enc , and encryption/decryption information extracted from the signaling messages (Hyper Frame Number, PDCP Sequence Number, DRB ID, UL/DL) with the same TEID. The encrypted payload of the packet can be decrypted. The F1-LBO device 100 may check the destination IP address and the source IP address (UE IP address) required in the LBO rule in the user packet header of the decrypted packet.

F1-LBO 장치(100)는 단말에 관계된 시그널링 메시지들로부터 추출한 암복호화 정보, 그리고 이를 통해 복호화한 패킷에 관계된 정보를 표 3과 같이 단말 관리 테이블로 생성하고, 시그널링 메시지에 따라 업데이트할 수 있다.The F1-LBO device 100 may generate encryption/decryption information extracted from signaling messages related to the terminal and information related to a packet decoded through this as a terminal management table as shown in Table 3, and may update it according to the signaling message.

UE indexUE index UE IPUE IP DRB ID
(UL/DL)
DRB ID
(UL/DL)
TEID
(UL/DL)
TEID
(UL/DL)
Ciphering AlgorithmCiphering Algorithm Hyper Frame Number
(UL/DL)
Hyper Frame Number
(UL/DL)
PDCP Sequence NumberPDCP Sequence Number LBO data
volume
(UL/DL)
LBO data
volume
(UL/DL)
1One Address1Address1 1/11/1 b00000001/b000F0001b00000001/b000F0001 NEA2NEA2 0/00/0 0/00/0 X/XX/X 22 Address2Address2 1/11/1 b00000002/b000F0002b00000002/b000F0002 NEA2NEA2 0/00/0 0/00/0 Y/YY/Y

F1-LBO 장치(100)는 X2 또는 F1 인터페이스에서, 단말의 Release 메시지를 확인할 때까지, 해당 단말의 정보를 단말 관리 테이블에 보관할 수 있다.The F1-LBO device 100 may store information on the corresponding terminal in the terminal management table until the release message of the terminal is checked in the X2 or F1 interface.

F1-LBO 장치(100)는 단말 관리 테이블을 참조하여, F1 인터페이스에서 전송되는 패킷을 복호화하고, 헤더에 포함된 정보를 기초로 LBO를 제공할 수 있다. The F1-LBO device 100 may decode a packet transmitted through the F1 interface with reference to the terminal management table, and provide the LBO based on information included in the header.

단말 관리 테이블에서 관리되는 정보 중에서, 하이퍼 프레임 번호 및 PDCP 시퀀스 번호는 데이터 송수신 과정에서 변하는 값이므로, F1-LBO 장치(100)는 이를 실시간으로 업데이트한다. Among the information managed in the terminal management table, since the hyper frame number and the PDCP sequence number are values that change during data transmission/reception, the F1-LBO device 100 updates them in real time.

하이퍼 프레임 번호는 코어망과 단말간 시간 동기를 위한 값이고 패킷 전달 시 값이 카운트된다. F1-LBO 장치(100)는, SN Status Transfer 메시지에서 얻은 하이퍼 프레임 번호를 시작값으로 설정하고, 단말 데이터 송수신 시 업데이트하면서 암복호화에 활용할 수 있다.The hyper frame number is a value for time synchronization between the core network and the terminal, and the value is counted during packet delivery. The F1-LBO device 100 may set the hyper frame number obtained from the SN Status Transfer message as a starting value and utilize it for encryption/decryption while updating the terminal data transmission/reception time.

PDCP 시퀀스 번호는 F1 메시지의 흐름 제어를 위한 값이고 암복호화에도 활용된다. 일부 상향 데이터가 로컬 데이터망(60)으로 우회 전송된 이후, F1-LBO 장치(100)는 gNB-CU(31)로 가는 상향 바이패스 패킷의 시퀀스 번호를 낮추는 보정을 하고, 이를 통해 gNB-CU(31)가 순차적으로 증가하는 시퀀스 번호의 패킷들을 수신할 수 있다. 한편, F1-LBO 장치(100)는 로컬 데이터망(60)으로부터 유입된 패킷(LDN 패킷)을 gNB-DU(33)로 전송할 때, gNB-DU(33)가 순차적으로 증가하는 시퀀스 번호의 패킷들을 수신하도록, LDN 패킷의 시퀀스 번호를 변경해서 전송한다. 따라서, LDN 패킷을 gNB-DU(33)로 전송한 이후, F1-LBO 장치(100)는 gNB-DU(33)로 가는 하향 바이패스 패킷의 시퀀스 번호를 높이는 보정을 하고, 이를 통해 gNB-DU(33)가 순차적으로 증가하는 시퀀스 번호의 패킷들을 수신할 수 있다. The PDCP sequence number is a value for controlling the flow of the F1 message and is also used for encryption/decryption. After some uplink data is detoured to the local data network 60, the F1-LBO device 100 makes a correction to lower the sequence number of the uplink bypass packet to the gNB-CU 31, and through this, the gNB-CU 31 may receive packets of sequentially increasing sequence numbers. On the other hand, when the F1-LBO device 100 transmits a packet (LDN packet) introduced from the local data network 60 to the gNB-DU 33, the gNB-DU 33 sequentially increases the packet of the sequence number. In order to receive the LDN packets, the sequence number of the LDN packet is changed and transmitted. Therefore, after transmitting the LDN packet to the gNB-DU 33 , the F1-LBO device 100 performs a correction to increase the sequence number of the downlink bypass packet going to the gNB-DU 33 , and through this, the gNB-DU (33) may receive packets of sequentially increasing sequence numbers.

F1-LBO 장치(100)는 LBO로 우회 전송된 데이터량(LBO data volume)을 표 3과 같이 기록할 수 있다. LBO 데이터량은 상향 데이터/하향 데이터로 구분될 수 있다. LBO 데이터량에 따라, LBO 서비스 사용자에게 과금할 수 있다. LBO 데이터량은 과금 시스템으로 전달될 수 있다. The F1-LBO device 100 may record the amount of data detoured to the LBO (LBO data volume) as shown in Table 3. The amount of LBO data may be divided into upstream data/downstream data. According to the amount of LBO data, it is possible to charge the LBO service user. The amount of LBO data may be transferred to the billing system.

도 7은 한 실시예에 따른 F1-LBO 장치의 터널링 기반 간접 페이징 방법을 설명하는 도면이다.7 is a diagram illustrating a tunneling-based indirect paging method of an F1-LBO device according to an embodiment.

도 7을 참고하면, 일반적으로, 무선 자원의 효율적인 사용을 위해, UE(40)는 데이터 통신이 일정 기간 없을 경우 자원을 반환하고 유휴(Idle) 상태에 진입한다. 이때, F1 및 S1-U 인터페이스에서 데이터 무선 베어러(Data Radio Bearer, DRB), S1 베어러가 반환되고, F1 터널 관련 정보인 TEID, DRB ID 등도 반환된다. 따라서, UE(40)가 유휴 상태이면, F1-LBO 장치(100)는 로컬 데이터망에서 UE(40)로 향하는 데이터를 유입할 수 없게 된다. Referring to FIG. 7 , in general, for efficient use of radio resources, the UE 40 returns the resource and enters an idle state when there is no data communication for a certain period of time. In this case, a data radio bearer (DRB) and an S1 bearer are returned from the F1 and S1-U interfaces, and the TEID and DRB ID, which are information related to the F1 tunnel, are also returned. Accordingly, when the UE 40 is in an idle state, the F1-LBO device 100 cannot flow data from the local data network to the UE 40.

이후, UE(40) 또는 PDN(50)에서 데이터가 발생해야, 페이징을 거쳐 F1 인터페이스에 데이터를 전송할 수 있는 F1 터널이 생성된다. 그런데, EPC(10)는 NAT를 통해 UE IP 주소를 할당하고, PDN(50)으로 전송할 때 공인 IP 주소로 변환해서 전송하기 때문에, F1-LBO 장치(100)는 사설 IP 주소만을 알고 있다. 따라서, F1-LBO 장치(100)는 PDN(50)을 통해 UE(40)로 데이터를 보낼 수 없어서, 페이징을 유발하기 어렵다.Thereafter, when data is generated from the UE 40 or the PDN 50 , an F1 tunnel through which data can be transmitted to the F1 interface through paging is created. However, since the EPC 10 allocates a UE IP address through NAT and converts it into a public IP address when transmitting to the PDN 50 , the F1-LBO device 100 knows only the private IP address. Therefore, the F1-LBO device 100 cannot send data to the UE 40 through the PDN 50, so it is difficult to cause paging.

이를 해결하기 위해, F1-LBO 장치(100)는 외부망을 통해 UE(40)와 터널을 형성하고, 터널을 통한 메시지를 전송하여 간접 페이징을 유발시킬 수 있다. F1-LBO 장치(100)는 PDN 인터페이스를 통해 일반 데이터망인 PDN(50)과 연결되고, PDN(50), EPC(10), 그리고 UE(40)를 논리적으로 연결하는 터널(Logical Tunnel)을 위한 서버를 개방할 수 있다. To solve this, the F1-LBO device 100 may form a tunnel with the UE 40 through an external network, and may cause indirect paging by transmitting a message through the tunnel. The F1-LBO device 100 is connected to the PDN 50, which is a general data network, through the PDN interface, and the PDN 50, the EPC 10, and the UE 40 are logically connected for a tunnel (Logical Tunnel) for Server can be opened.

F1 LBO를 이용하기 위한 UE(40)는 EPC(10)에 연결되면, PDN(50)을 통해 F1-LBO 장치(100)와 논리적 터널 연결을 시도한다. F1-LBO 장치(100)는 UE(40)와의 터널을 형성하고, 터널 정보를 관리할 수 있다. 이후, UE(40)가 Release 메시지를 전송하고 자원을 반환한 후, 유휴 상태로 진입할 수 있다. 그러면, F1-LBO 장치(100)는 표 3의 단말 관리 테이블에서 UE(40)의 정보를 삭제 또는 비활성화할 수 있다.When the UE 40 for using the F1 LBO is connected to the EPC 10 , it attempts a logical tunnel connection with the F1-LBO device 100 through the PDN 50 . The F1-LBO device 100 may form a tunnel with the UE 40 and manage tunnel information. Thereafter, after the UE 40 transmits a Release message and returns a resource, it may enter an idle state. Then, the F1-LBO device 100 may delete or deactivate information of the UE 40 in the terminal management table of Table 3.

F1-LBO 장치(100)는 로컬 데이터망(60)에서 유휴 상태의 UE(40)로 향하는 트래픽이 들어오면, 트래픽을 버퍼에 저장한 뒤, UE(40)와 형성한 터널로 Wake-up 메시지를 보낸다. The F1-LBO device 100 receives traffic from the local data network 60 to the UE 40 in an idle state, stores the traffic in a buffer, and then sends a wake-up message to the tunnel formed with the UE 40 to send

Wake-up 메시지가 EPC(10)를 통해 UE(40)에 전달되는 과정에서 신규 베이러가 생성되고, F1-LBO 장치(100)는 X2 및 F1 인터페이스에서 교환되는 시그널링 메시지를 기반으로 UE(40)의 단말 관리 테이블을 생성할 수 있다. F1-LBO 장치(100)는 UE(40)의 단말 관리 테이블을 기초로 버퍼에 저장해 둔 패킷들을 F1 인터페이스를 통해 UE(40)로 전달할 수 있다.In the process of transmitting the wake-up message to the UE 40 through the EPC 10 , a new bayer is generated, and the F1-LBO device 100 is based on the signaling message exchanged in the X2 and F1 interfaces to the UE 40 ) of the terminal management table can be created. The F1-LBO device 100 may transmit packets stored in the buffer based on the terminal management table of the UE 40 to the UE 40 through the F1 interface.

F1-LBO 장치(100)와 UE(40)는 터널 연결을 확인할 수 있는 Heartbeat 메시지를 주기적으로 교환할 수 있다. 이를 통해, F1-LBO 장치(100)는 로컬 데이터망에서 F1 인터페이스로의 패킷 유입을 빠르게 제공할 수 있다. PDN(50)이 일반 인터넷망을 포함하는 경우, 터널을 통해 전송되는 메시지의 보안을 위해 SSL 암호화 등의 보안 기술이 적용될 수 있다.The F1-LBO device 100 and the UE 40 may periodically exchange a heartbeat message for confirming the tunnel connection. Through this, the F1-LBO device 100 may quickly provide a packet inflow from the local data network to the F1 interface. When the PDN 50 includes a general Internet network, a security technology such as SSL encryption may be applied to secure a message transmitted through a tunnel.

도 8은 한 실시예에 따른 로컬 브레이크아웃 제공 방법의 흐름도이다.8 is a flowchart of a method for providing a local breakout according to an embodiment.

도 8을 참고하면, F1-LBO 장치(100)는 단말들의 망 접속 단계에서 교환되는 시그널링 메시지들을 X2 및 F1 인터페이스에서 수집한다(S210). Referring to FIG. 8 , the F1-LBO device 100 collects signaling messages exchanged in the network access phase of terminals in the X2 and F1 interfaces (S210).

F1-LBO 장치(100)는 시그널링 메시지들에 포함된 식별자를 기준으로 동일 단말에 관계된 시그널링 메시지들을 구분하고, 단말별 시그널링 메시지들로부터 추출한 암복호화 정보를 단말 관리 테이블에 저장한다(S220). 암복호화 정보는 예를 들면, 표 2와 같은 키(gNB-Security-Key), 암호화 알고리즘(Ciphering Algorithm), 암호화 알고리즘에서 필요한 정보를 생성하도록 지정된 정보(Hyper Frame Number, PDCP Sequence Number, DRB ID, GTP TEID)를 포함할 수 있다. F1-LBO 장치(100)는 단말별 시그널링 메시지들로부터 암복호화 정보를 도 3과 같은 단말 관리 테이블에 저장할 수 있다.The F1-LBO device 100 classifies the signaling messages related to the same terminal based on the identifier included in the signaling messages, and stores encryption/decryption information extracted from the signaling messages for each terminal in the terminal management table (S220). The encryption/decryption information includes, for example, the key (gNB-Security-Key), the encryption algorithm (Ciphering Algorithm) as shown in Table 2, and information designated to generate information necessary for the encryption algorithm (Hyper Frame Number, PDCP Sequence Number, DRB ID, GTP TEID). The F1-LBO device 100 may store encryption/decryption information from signaling messages for each terminal in a terminal management table as shown in FIG. 3 .

F1-LBO 장치(100)는 단말의 암복호화 정보를 이용하여, F1 인터페이스에 생성된 F1 터널을 통해 전송되는 패킷을 복호화하고, 복호화한 패킷에서 LBO 규칙 적용을 위한 정보(예를 들면, 목적지 IP 주소, 출발지 IP 주소)를 추출한다(S230). F1-LBO 장치(100)는 F1 인터페이스에 인라인으로 배치되므로, 유입된 패킷을 복호화할 수 있다.The F1-LBO device 100 decrypts a packet transmitted through the F1 tunnel created in the F1 interface using the encryption/decryption information of the terminal, and information for LBO rule application in the decrypted packet (eg, destination IP address, source IP address) is extracted (S230). Since the F1-LBO device 100 is disposed inline on the F1 interface, it can decode the incoming packet.

F1-LBO 장치(100)는 복호화한 패킷에서 추출한 정보를 기초로 로컬 데이터망으로 우회 전송할지 판단해서 LBO를 제공하고, 상향 LBO 패킷 수를 누적한다(S240). F1-LBO 장치(100)는 우회 전송한 데이터량을 단말 관리 테이블에 저장할 수 있다. F1-LBO 장치(100)는 로컬 데이터망으로 패킷들을 우회 전송할 때마다, 우회 전송한 패킷 수를 상향 LBO 패킷 수에 누적한다. F1-LBO 장치(100)는 새로운 상향 데이터를 바이패스 전송하는 경우, 상향 LBO 패킷 수를 이용하여 바이패스 패킷의 PDCP 시퀀스 번호를 보정(시퀀스 번호를 상향 LBO 패킷 수만큼 낮추는 보정)할 수 있다.The F1-LBO device 100 provides LBO by determining whether to transmit by detour to the local data network based on information extracted from the decoded packet, and accumulates the number of uplink LBO packets (S240). The F1-LBO device 100 may store the amount of detoured data in the terminal management table. The F1-LBO device 100 accumulates the number of bypass-transmitted packets in the number of uplink LBO packets whenever packets are bypassed to the local data network. When the F1-LBO device 100 bypasses transmission of new uplink data, the PDCP sequence number of the bypass packet may be corrected using the number of uplink LBO packets (correction by lowering the sequence number by the number of uplink LBO packets).

F1-LBO 장치(100)는 데이터 송수신에 따라 가변하는 정보를 단말 관리 테이블에 업데이트한다(S250). 데이터 송수신에 따라 가변하는 정보는 예를 들면, Hyper Frame Number 및 PDCP Sequence Number를 포함할 수 있다.The F1-LBO device 100 updates information that varies according to data transmission/reception in the terminal management table (S250). Information that varies according to data transmission/reception may include, for example, a Hyper Frame Number and a PDCP Sequence Number.

F1-LBO 장치(100)는 X2 및 F1 인터페이스에서 수집되는 시그널링 메시지를 기초로 단말에 할당된 자원이 반환되면, 단말 관리 테이블에서 해당 단말의 정보를 삭제한다(S260).When the resource allocated to the terminal is returned based on the signaling messages collected from the X2 and F1 interfaces, the F1-LBO device 100 deletes information on the corresponding terminal from the terminal management table (S260).

도 9는 다른 실시예에 따른 로컬 브레이크아웃 제공 방법의 흐름도이다.9 is a flowchart of a method for providing a local breakout according to another embodiment.

도 9를 참고하면, F1-LBO 장치(100)는 외부망을 통해 단말과 터널을 형성한다(S310). 외부망(PDN)을 통해 논리적으로 연결되는 터널을 위해, F1-LBO 장치(100)는 별도 인터페이스의 서버를 개방하고, UE(40)는 F1 LBO를 이용하기 위해 F1-LBO 장치(100)와 논리적 터널 연결을 시도할 수 있다. Referring to FIG. 9 , the F1-LBO device 100 forms a tunnel with the terminal through an external network ( S310 ). For a tunnel logically connected through an external network (PDN), the F1-LBO device 100 opens a server of a separate interface, and the UE 40 uses the F1-LBO device 100 and the F1-LBO device 100 to use the F1 LBO. A logical tunnel connection may be attempted.

F1-LBO 장치(100)는 로컬 데이터망에서 단말로 향하는 패킷이 유입되면, 단말 관리 테이블에서 단말의 F1 터널이 존재하는 지 확인한다(S320). F1-LBO 장치(100)는 유입된 패킷들을 버퍼에 저장해 둘 수 있다.When a packet from the local data network to the terminal is introduced, the F1-LBO device 100 checks whether an F1 tunnel of the terminal exists in the terminal management table (S320). The F1-LBO device 100 may store the incoming packets in a buffer.

단말의 F1 터널이 존재하면, F1-LBO 장치(100)는 단말 관리 테이블의 암복호화 정보로 패킷을 암호화한 후, F1 터널을 통해 단말로 패킷을 전송한다(S330). When the F1 tunnel of the terminal exists, the F1-LBO device 100 encrypts the packet with encryption/decryption information of the terminal management table, and then transmits the packet to the terminal through the F1 tunnel (S330).

F1-LBO 장치(100)는 로컬 데이터망에서 유입된 패킷 수를 하향 LBO 패킷 수에 누적한다(S332). F1-LBO 장치(100)는 새로운 하향 데이터를 바이패스 전송하는 경우, 하향 LBO 패킷 수를 이용하여 바이패스 패킷의 PDCP 시퀀스 번호를 보정(시퀀스 번호를 하향 LBO 패킷 수만큼 높이는 보정)할 수 있다.The F1-LBO device 100 accumulates the number of packets introduced from the local data network to the number of downlink LBO packets (S332). When the F1-LBO device 100 bypasses transmission of new downlink data, the PDCP sequence number of the bypass packet may be corrected using the number of downlink LBO packets (correction to increase the sequence number by the number of downlink LBO packets).

단말의 F1 터널이 존재하지 않으면, F1-LBO 장치(100)는 단말과 외부망을 통해 형성한 터널로 Wake-up 메시지를 보낸다(S340).If the F1 tunnel of the terminal does not exist, the F1-LBO device 100 sends a wake-up message to the tunnel formed through the terminal and the external network (S340).

F1-LBO 장치(100)는 Wake-up 메시지가 코어망을 통해 단말에 전달되는 과정에서 X2 및 F1 인터페이스에서 교환되는 시그널링 메시지를 기반으로 F1 터널 식별자(F1 TEID)가 포함된 단말 관리 테이블을 생성한다(S350).The F1-LBO device 100 generates a terminal management table including the F1 tunnel identifier (F1 TEID) based on the signaling message exchanged in the X2 and F1 interfaces in the process where the wake-up message is delivered to the terminal through the core network. do (S350).

단말의 F1 터널이 생성되었으므로, F1-LBO 장치(100)는 단계(S330)로 이동하여 단말 관리 테이블의 암복호화 정보로 버퍼에 저장된 패킷을 암호화한 후, F1 터널을 통해 단말로 트래픽을 전송한다. Since the F1 tunnel of the terminal is created, the F1-LBO device 100 moves to step S330 to encrypt the packet stored in the buffer with encryption/decryption information of the terminal management table, and then transmits traffic to the terminal through the F1 tunnel. .

도 10은 또 다른 실시예에 따른 로컬 브레이크아웃 제공 방법의 흐름도이다.10 is a flowchart of a method for providing a local breakout according to another embodiment.

도 10을 참고하면, F1-LBO 장치(100)는 로컬 데이터망으로의 LBO가 적용되는 IP 정보를 포함하는 LBO 규칙을 저장하고, LBO 규칙을 기초로 생성된 단말 관리 테이블을 관리한다(S410). F1-LBO 장치(100)는 시그널링 메시지들을 이용하여 단말 관리 테이블을 업데이트할 수 있다. Referring to FIG. 10 , the F1-LBO device 100 stores an LBO rule including IP information to which LBO to a local data network is applied, and manages a terminal management table generated based on the LBO rule (S410) . The F1-LBO device 100 may update the terminal management table using signaling messages.

F1-LBO 장치(100)는 X2 및 F1 인터페이스에서 전송되는 트래픽을 대기한다(S412). The F1-LBO device 100 waits for traffic transmitted from the X2 and F1 interfaces (S412).

F1-LBO 장치(100)는 X2 또는 F1 인터페이스에서 전송되는 트래픽의 타입을 확인한다(S420).The F1-LBO device 100 checks the type of traffic transmitted through the X2 or F1 interface (S420).

X2 또는 F1 인터페이스에서 전송되는 트래픽의 타입이 단말의 망 접속을 위한 시그널링 메시지인 경우, F1-LBO 장치(100)는 시그널링 메시지에 포함된 식별자를 기준으로 추출한 암복호화 정보를 단말 관리 테이블에 기록한다(S430). 한편, X2 또는 F1 인터페이스에서 전송되는 트래픽의 타입이 단말의 접속 해제(release)를 위한 시그널링 메시지인 경우, F1-LBO 장치(100)는 단말 관리 테이블에서 시그널링 메시지에 관계된 단말의 정보를 삭제할 수 있다. When the type of traffic transmitted in the X2 or F1 interface is a signaling message for network access of the terminal, the F1-LBO device 100 records encryption/decryption information extracted based on the identifier included in the signaling message in the terminal management table. (S430). On the other hand, when the type of traffic transmitted in the X2 or F1 interface is a signaling message for release of the terminal, the F1-LBO device 100 may delete information on the terminal related to the signaling message from the terminal management table. .

F1 인터페이스에서 전송되는 트래픽의 타입이 데이터 트래픽인 경우, F1-LBO 장치(100)는 단말 관리 테이블에 저장된 단말의 암복호화 정보를 이용하여 패킷을 복호화한다(S440).When the type of traffic transmitted through the F1 interface is data traffic, the F1-LBO device 100 decrypts the packet using encryption/decryption information of the terminal stored in the terminal management table (S440).

F1-LBO 장치(100)는 복호화한 패킷이 상향 데이터인지 판단한다(S450). F1-LBO 장치(100)는 복호화한 패킷의 전송 방향이 상향인지 하향인지 판단한다.The F1-LBO device 100 determines whether the decoded packet is uplink data (S450). The F1-LBO device 100 determines whether the transmission direction of the decoded packet is uplink or downlink.

복호화한 패킷이 상향 데이터인 경우, F1-LBO 장치(100)는 패킷에서 추출한 IP 정보를 기초로 LBO 규칙에 부합하는 지 판단한다(S460).When the decoded packet is uplink data, the F1-LBO device 100 determines whether the LBO rule is satisfied based on the IP information extracted from the packet (S460).

LBO 규칙에 부합하는 경우, F1-LBO 장치(100)는 데이터 트래픽을 로컬 데이터망으로 우회 전송한다(S462).If the LBO rule is met, the F1-LBO device 100 bypasses the data traffic to the local data network (S462).

LBO 규칙에 부합하지 않는 경우, F1-LBO 장치(100)는 복호화한 패킷을 암호화한 후, 상향 바이패스 전송한다(S464). 이때, 이전에 로컬 데이터망으로 우회 전송된 트래픽이 있더라도 바이패스 전송되는 패킷들의 시퀀스 번호가 순차적으로 증가해야 하므로, F1-LBO 장치(100)는 상향 바이패스 전송 전에 PDCP 시퀀스 번호를 누적된 상향 LBO 패킷 수만큼 낮추는 보정을 한 후, 암호화할 수 있다. F1-LBO 장치(100)는 이전에 LBO 규칙에 부합한 트래픽을 로컬 데이터망으로 우회 전송한 경우, 이를 반영하여 PDCP 시퀀스 번호를 보정할 수 있다.If the LBO rule is not met, the F1-LBO device 100 encrypts the decrypted packet and then transmits the decrypted packet by uplink bypass (S464). At this time, even if there is traffic previously detoured to the local data network, the sequence numbers of bypass-transmitted packets must be sequentially increased, so the F1-LBO device 100 accumulates the PDCP sequence numbers before the uplink bypass transmission. After correction is made to decrease the number of packets, encryption can be performed. The F1-LBO device 100 may correct the PDCP sequence number by reflecting this when the traffic conforming to the LBO rule has previously been bypassed to the local data network.

복호화한 패킷이 하향 데이터인 경우, F1-LBO 장치(100)는 복호화한 패킷을 암호화한 후, 하향 바이패스 전송한다(S466). 이때, 이전에 로컬 데이터망에서 유입된 트래픽이 있더라도 바이패스 전송되는 패킷들의 시퀀스 번호가 순차적으로 증가해야 하므로, F1-LBO 장치(100)는 하향 바이패스 전송 전에 PDCP 시퀀스 번호를 누적된 하향 LBO 패킷 수만큼 높이는 보정을 한 후, 암호화할 수 있다.When the decrypted packet is downlink data, the F1-LBO device 100 encrypts the decrypted packet and then transmits the decrypted packet by downlink bypass (S466). At this time, even if there is traffic previously introduced from the local data network, the sequence numbers of the bypass-transmitted packets must be sequentially increased, so the F1-LBO device 100 accumulates the PDCP sequence numbers before the downlink bypass transmission. After correcting the height by the number, it can be encrypted.

도 11부터 도 13 각각은 F1-LBO 장치의 동작을 도식적으로 설명하는 도면이다.11 to 13 are diagrams schematically illustrating the operation of the F1-LBO device.

도 11을 참고하면, F1-LBO 장치(100)는 gNB-DU(33)로부터 상향(UL) 패킷이 유입되면(S510), 패킷을 복호화하고(S520), 복호화된 패킷에서 추출한 IP 정보를 기초로 LBO 규칙에 부합하는 지 판단한다(S530).Referring to FIG. 11 , when an uplink (UL) packet is received from the gNB-DU 33 ( S510 ), the F1-LBO device 100 decodes the packet ( S520 ), and based on the IP information extracted from the decoded packet to determine whether the LBO rule is met (S530).

LBO 규칙에 부합하는 경우, F1-LBO 장치(100)는 복호화된 패킷을 로컬 데이터망(60)으로 LBO 전송(S540)하고, 상향 LBO 패킷 수를 누적한다(S550).If the LBO rule is satisfied, the F1-LBO device 100 LBO transmits the decoded packets to the local data network 60 (S540), and accumulates the number of uplink LBO packets (S550).

LBO 규칙에 부합하지 않는 경우, F1-LBO 장치(100)는 상향 LBO 패킷 수를 참조하여, 패킷의 시퀀스 번호를 보정(상향 LBO 패킷 수만큼 차감)하고(S560), 복호화된 패킷을 암호화한 후(S570), 암호화된 패킷을 gNB-CU(31)로 상향(UL) 바이패스 전달한다(S580).If the LBO rule is not met, the F1-LBO device 100 refers to the number of uplink LBO packets, corrects the sequence number of the packet (subtracts by the number of uplink LBO packets) (S560), and encrypts the decrypted packet (S570), the encrypted packet is transferred to the gNB-CU 31 by an uplink (UL) bypass (S580).

도 12를 참고하면, F1-LBO 장치(100)는 로컬 데이터망(60)으로부터 패킷(“LDN 패킷”이라고 함)이 유입되면(S610), 패킷의 시퀀스 번호를 보정하고(S620), 시퀀스 번호가 보정된 패킷을 암호화한 후(S630), 암호화된 패킷을 gNB-DU(33)로 하향(DL) 전송한다(S640). 그리고, F1-LBO 장치(100)는 하향 LBO 패킷 수를 누적한다(S650). Referring to FIG. 12 , when a packet (referred to as “LDN packet”) is received from the local data network 60 ( S610 ), the F1-LBO device 100 corrects the sequence number of the packet ( S620 ), and the sequence number After encrypting the corrected packet (S630), the encrypted packet is transmitted downlink (DL) to the gNB-DU 33 (S640). Then, the F1-LBO device 100 accumulates the number of downlink LBO packets (S650).

F1-LBO 장치(100)는, gNB-DU(33)로 전송되는 하향 시퀀스 번호를 관리하고, 이를 기초로 LDN 패킷의 시퀀스 번호를 보정한다. 즉, F1-LBO 장치(100)는, gNB-DU(33)로 전송된 최신 패킷보다 “1” 증가된 시퀀스 번호로 LDN 패킷을 보정함으로써, gNB-DU(33)가 LDN 패킷에 의해 흐름 제어를 방해받지 않도록 할 수 있다.The F1-LBO device 100 manages the downlink sequence number transmitted to the gNB-DU 33, and corrects the sequence number of the LDN packet based on this. That is, the F1-LBO device 100 corrects the LDN packet with a sequence number increased by “1” from the latest packet transmitted to the gNB-DU 33, so that the gNB-DU 33 controls the flow by the LDN packet. can be prevented from being disturbed.

도 13을 참고하면, F1-LBO 장치(100)는 gNB-CU(31)로부터 패킷(“PDN 패킷”이라고 함)이 유입되면(S710), 패킷을 복호화하고(S720), 하향 LBO 패킷 수를 참조하여, 패킷의 시퀀스 번호를 보정(하향 LBO 패킷 수만큼 증가)하고(S730), 복호화된 패킷을 암호화한 후(S740), 암호화된 패킷을 gNB-DU(33)로 하향(DL) 바이패스 전달한다(S750).Referring to FIG. 13 , when a packet (referred to as a “PDN packet”) is received from the gNB-CU 31 (S710), the F1-LBO device 100 decodes the packet (S720) and calculates the number of downlink LBO packets. With reference, the sequence number of the packet is corrected (increased by the number of downlink LBO packets) (S730), the decrypted packet is encrypted (S740), and the encrypted packet is downlinked (DL) bypassed to the gNB-DU (33). It transmits (S750).

여기서, F1-LBO 장치(100)는 X2 및 F1 인터페이스에서 교환되는 시그널링 메시지들로부터 추출한 암복호화 정보를 이용하여 유입된 패킷을 복호화 및 암호화할 수 있다.Here, the F1-LBO device 100 may decrypt and encrypt the incoming packet using encryption/decryption information extracted from signaling messages exchanged in the X2 and F1 interfaces.

이와 같이, 실시예에 따르면, F1 인터페이스에서 전달되는 패킷을 복호화하여 LBO 규칙을 적용하기 위한 정보를 추출할 수 있으므로, 단말과 가장 인접한 gNB-DU와 gNB-CU 구간에서 로컬 데이터망으로 사용자 트래픽을 우회할 수 있다. As described above, according to the embodiment, information for applying the LBO rule can be extracted by decoding a packet transmitted from the F1 interface, so that user traffic is transferred to the local data network in the gNB-DU and gNB-CU sections closest to the terminal. can be bypassed

실시예에 따르면, S1 인터페이스에서의 LBO보다 지연을 줄여 5G 망의 초저지연을 극대화할 수 있다. According to the embodiment, it is possible to maximize the ultra-low latency of the 5G network by reducing the delay compared to the LBO in the S1 interface.

실시예에 따르면, 유휴 단말이 F1 터널을 위한 자원을 반환하더라도, F1-LBO 장치가 일반 데이터망에 연결되는 별도 인터페이스를 통해 유휴 단말로 간접적인 페이징을 할 수 있고, 재생성된 F1 터널을 통해 로컬 데이터망에서 들어온 데이터 트래픽을 유휴 단말로 전송할 수 있다. According to the embodiment, even if the idle terminal returns the resource for the F1 tunnel, the F1-LBO device may indirectly perform paging to the idle terminal through a separate interface connected to the general data network, and local through the regenerated F1 tunnel Data traffic from the data network can be transmitted to an idle terminal.

실시예에 따르면, 일반 데이터망을 통해 생성된 단말과 형성된 터널을 통해단말 연결성을 확보할 수 있고, 단말의 상태에 영향받지 않고 지속적인 F1-LBO를 제공할 수 있다.According to the embodiment, terminal connectivity can be secured through a tunnel formed with a terminal created through a general data network, and continuous F1-LBO can be provided without being affected by the state of the terminal.

이상에서 설명한 본 개시의 실시예는 장치 및 방법을 통해서만 구현이 되는 것은 아니며, 본 개시의 실시예의 구성에 대응하는 기능을 실현하는 프로그램 또는 그 프로그램이 기록된 기록 매체를 통해 구현될 수도 있다.The embodiments of the present disclosure described above are not implemented only through apparatus and methods, and may be implemented through a program for realizing a function corresponding to the configuration of the embodiment of the present disclosure or a recording medium in which the program is recorded.

이상에서 본 개시의 실시예에 대하여 상세하게 설명하였지만 본 개시의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 개시의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 개시의 권리범위에 속하는 것이다.Although the embodiments of the present disclosure have been described in detail above, the scope of the present disclosure is not limited thereto, and various modifications and improved forms of the present disclosure are also provided by those skilled in the art using the basic concept of the present disclosure as defined in the following claims. is within the scope of the right.

Claims (20)

F1 인터페이스에 인라인으로 위치하는 장치가 로컬브레이크아웃(Local Breakout, LBO)을 제공하는 방법으로서,
X2 인터페이스 및 상기 F1 인터페이스에서 교환되는 시그널링 메시지들을 이용하여, 상기 F1 인터페이스에 생성된 F1 터널에서 사용되는 패킷 암복호화 정보를 추출하는 단계,
상기 패킷 암복호화 정보를 이용하여, 상기 F1 터널을 지나는 패킷을 복호화하는 단계, 그리고
복호화한 패킷에서 추출한 IP 주소 정보가 로컬브레이크아웃 규칙에 부합하는 경우, 상기 패킷을 로컬 데이터망으로 우회 전송하는 단계
를 포함하는, 로컬브레이크아웃 제공 방법.
A method for providing a local breakout (LBO) by a device located inline to an F1 interface, the method comprising:
extracting packet encryption/decryption information used in the F1 tunnel created in the F1 interface by using the signaling messages exchanged in the X2 interface and the F1 interface;
Decrypting the packet passing through the F1 tunnel by using the packet encryption/decryption information, and
If the IP address information extracted from the decoded packet meets the local breakout rule, bypassing the packet to the local data network
Including, a local breakout providing method.
제1항에서,
상기 암복호화 정보를 추출하는 단계는
상기 X2 인터페이스 및 상기 F1 인터페이스에서 교환되는 시그널링 메시지들에 포함된 식별자를 기준으로 동일 단말에 대한 시그널링 메시지들을 취합하고, 취합한 시그널링 메시지들로부터 해당 단말의 암복호화 정보를 추출하는, 로컬브레이크아웃 제공 방법.
In claim 1,
The step of extracting the encryption/decryption information
A local breakout is provided that collects signaling messages for the same terminal based on the identifier included in the signaling messages exchanged in the X2 interface and the F1 interface, and extracts encryption/decryption information of the corresponding terminal from the aggregated signaling messages method.
제1항에서,
상기 패킷 암복호화 정보를 추출하는 단계는
상기 F1 터널을 통해 전송되는 패킷의 암호화 알고리즘, 그리고 상기 암호화 알고리즘의 암복호에 필요한 정보를 추출하는, 로컬브레이크아웃 제공 방법.
In claim 1,
The step of extracting the packet encryption/decryption information
A method of providing a local breakout for extracting an encryption algorithm of a packet transmitted through the F1 tunnel, and information necessary for encryption/decryption of the encryption algorithm.
제1항에서,
상기 로컬 데이터망으로 우회 전송한 패킷 수를 상향 LBO 패킷 수에 누적하는 단계
를 더 포함하는, 로컬브레이크아웃 제공 방법.
In claim 1,
accumulating the number of packets detoured to the local data network in the number of uplink LBO packets
Further comprising, a local breakout providing method.
제4항에서,
상기 IP 주소 정보가 상기 로컬브레이크아웃 규칙에 부합하지 않는 경우, 상기 상향 LBO 패킷 수를 참조하여, 상기 복호화한 패킷의 시퀀스 번호(Sequence number)를 보정하는 단계, 그리고
상기 시퀀스 번호가 보정된 패킷을 암호화하고, 암호화된 패킷을 상향 바이패스 전달하는 단계
를 더 포함하는, 로컬브레이크아웃 제공 방법.
In claim 4,
correcting a sequence number of the decoded packet with reference to the number of uplink LBO packets when the IP address information does not conform to the local breakout rule; and
encrypting the packet in which the sequence number is corrected, and transmitting the encrypted packet by uplink bypass
Further comprising, a local breakout providing method.
제5항에서,
상기 시퀀스 번호를 보정하는 단계는
상기 복호화한 패킷의 시퀀스 번호에서, 상기 상향 LBO 패킷 수를 차감하는 보정을 하는, 로컬브레이크아웃 제공 방법.
In claim 5,
The step of correcting the sequence number is
Compensating by subtracting the number of uplink LBO packets from the sequence number of the decoded packet, a method for providing a local breakout.
F1 인터페이스에 인라인으로 위치하는 장치가 로컬브레이크아웃(Local Breakout, LBO)을 제공하는 방법으로서,
유입된 상향 패킷이 로컬브레이크아웃 규칙에 부합하는 지 판단하는 단계,
상기 로컬브레이크아웃 규칙에 부합하는 경우, 상기 상향 패킷을 로컬 데이터망으로 우회 전송하는 단계, 그리고
상기 로컬 데이터망으로 우회 전송한 패킷 수를 상향 LBO 패킷 수에 누적하는 단계
를 포함하는, 로컬브레이크아웃 제공 방법.
A method for providing a local breakout (LBO) by a device located inline to an F1 interface, the method comprising:
determining whether the incoming uplink packet conforms to the local breakout rule;
If the local breakout rule is satisfied, detour-transmitting the uplink packet to a local data network; and
accumulating the number of packets detoured to the local data network in the number of uplink LBO packets
Including, a local breakout providing method.
제7항에서,
상기 상향 패킷이 로컬브레이크아웃 규칙에 부합하지 않는 경우, 상기 상향 LBO 패킷 수를 참조하여, 상기 상향 패킷의 시퀀스 번호(Sequence number)를 보정하는 단계, 그리고
상기 시퀀스 번호가 보정된 상향 패킷을 바이패스 전달하는 단계
를 포함하는, 로컬브레이크아웃 제공 방법.
In claim 7,
If the uplink packet does not conform to the local breakout rule, correcting a sequence number of the uplink packet with reference to the number of uplink LBO packets; and
Bypass-delivering the uplink packet with the sequence number corrected
Including, a local breakout providing method.
제7항에서,
상기 로컬 데이터망으로 우회 전송하는 단계는
상기 상향 패킷에 관계된 암복호화 정보를 이용하여, 상기 상향 패킷을 복호화하는 단계, 그리고
복호화한 패킷에서 추출한 IP 주소 정보가 상기 로컬브레이크아웃 규칙에 부합하는 경우, 상기 상향 패킷을 로컬 데이터망으로 우회 전송하는 단계
를 포함하는, 로컬브레이크아웃 제공 방법.
In claim 7,
The detour transmission to the local data network is
decoding the uplink packet by using encryption/decryption information related to the uplink packet; and
If the IP address information extracted from the decoded packet meets the local breakout rule, bypassing the uplink packet to a local data network
Including, a local breakout providing method.
제9항에서,
X2 인터페이스 및 상기 F1 인터페이스에서 교환되는 시그널링 메시지들을 이용하여, 상기 암복호화 정보를 추출하는 단계
를 더 포함하는, 로컬브레이크아웃 제공 방법.
In claim 9,
Extracting the encryption/decryption information using signaling messages exchanged in the X2 interface and the F1 interface
Further comprising, a local breakout providing method.
제7항에서,
상기 F1 인터페이스에 생성된 F1 터널을 지나는 하향 패킷이 유입되면, 하향 LBO 패킷 수를 참조하여, 상기 하향 패킷의 시퀀스 번호를 보정하는 단계, 그리고
상기 시퀀스 번호가 보정된 하향 패킷을 바이패스 전달하는 단계를 더 포함하며,
상기 하향 LBO 패킷 수는 상기 로컬 데이터망으로부터 유입되어 하향 전송된 패킷 수인, 로컬브레이크아웃 제공 방법.
In claim 7,
correcting the sequence number of the downlink packet by referring to the number of downlink LBO packets when a downlink packet passing through the F1 tunnel created in the F1 interface is introduced; and
The method further comprises the step of bypassing forwarding the downlink packet in which the sequence number is corrected,
The number of downlink LBO packets is the number of downlink transmitted packets flowing in from the local data network.
제11항에서,
상기 로컬 데이터망에서 단말로 향하는 로컬 데이터망 패킷이 유입되면, 상기 로컬 데이터망 패킷의 시퀀스 번호를 보정하고, 상기 단말로 상기 시퀀스 번호가 보정된 패킷을 전송하는 단계, 그리고
상기 단말로 전송한 패킷 수를 상기 하향 LBO 패킷 수에 누적하는 단계
를 더 포함하는, 로컬브레이크아웃 제공 방법.
In claim 11,
When a local data network packet from the local data network to the terminal is received, correcting the sequence number of the local data network packet and transmitting the corrected sequence number packet to the terminal; and
accumulating the number of packets transmitted to the terminal to the number of downlink LBO packets
Further comprising, a local breakout providing method.
제12항에서,
상기 시퀀스 번호가 보정된 패킷을 전송하는 단계는
상기 시퀀스 번호가 보정된 패킷을 암호화하고, 암호화한 패킷을 상기 F1 터널로 전송하는, 로컬브레이크아웃 제공 방법.
In claim 12,
The step of transmitting the packet in which the sequence number is corrected
A method for providing a local breakout by encrypting a packet having the sequence number corrected and transmitting the encrypted packet to the F1 tunnel.
제13항에서,
상기 로컬 데이터망 패킷이 유입되면, 상기 F1 터널이 존재하는 지 확인하는 단계, 그리고
상기 F1 터널이 존재하지 않으면, 외부망을 통해 상기 단말과 연결된 터널로 메시지를 전송하는 단계를 더 포함하고,
상기 메시지가 상기 단말로 전송되는 과정에서 상기 F1 터널이 생성되는, 로컬브레이크아웃 제공 방법.
In claim 13,
When the local data network packet is introduced, checking whether the F1 tunnel exists; and
If the F1 tunnel does not exist, further comprising the step of transmitting a message to a tunnel connected to the terminal through an external network,
The method for providing a local breakout, wherein the F1 tunnel is created in the process of transmitting the message to the terminal.
장치가 로컬브레이크아웃(Local Breakout, LBO)을 제공하는 방법으로서,
X2 인터페이스 및 F1 인터페이스에서 전송되는 트래픽의 타입을 확인하는 단계,
상기 트래픽의 타입이 단말의 망 접속을 위한 시그널링 메시지인 경우, 상기 시그널링 메시지로부터 상기 F1 인터페이스에 생성된 F1 터널에서 사용되는 패킷 암복호화 정보를 추출하는 단계,
상기 F1 인터페이스에서 전송되는 트래픽의 타입이 데이터 트래픽인 경우, 상기 패킷 암복호화 정보를 이용하여 상기 데이터 트래픽에 포함된 패킷을 복호화하는 단계,
복호화한 패킷과 로컬브레이크아웃 규칙을 비교하여, 상기 데이터 트래픽을 로컬 데이터망으로 우회 전송하거나, 상기 F1 인터페이스로 바이패스 전달하는 단계
를 포함하는 로컬브레이크아웃 제공 방법.
A method for a device to provide a local breakout (LBO), comprising:
checking the types of traffic transmitted on the X2 interface and the F1 interface;
extracting packet encryption/decryption information used in the F1 tunnel created in the F1 interface from the signaling message when the traffic type is a signaling message for network access of the terminal;
decrypting a packet included in the data traffic using the packet encryption/decryption information when the type of traffic transmitted through the F1 interface is data traffic;
Comparing the decoded packet with the local breakout rule, and bypassing the data traffic to the local data network or bypassing the F1 interface
A method of providing a local breakout that includes.
제15항에서,
상기 장치는 상기 F1 인터페이스에 인라인으로 위치하는, 로컬브레이크아웃 제공 방법.
In claim 15,
wherein the device is located inline to the F1 interface.
제15항에서,
상기 장치는 상기 X2 인터페이스를 태핑(tapping)하는, 로컬브레이크아웃 제공 방법.
In claim 15,
wherein the device taps the X2 interface.
제15항에서,
상기 장치는 일반 데이터망과 연결되는 인터페이스를 통해, 상기 단말로 메시지를 전송할 수 있는 논리적인 터널을 생성하는, 로컬브레이크아웃 제공 방법.
In claim 15,
The apparatus creates a logical tunnel through which a message can be transmitted to the terminal through an interface connected to a general data network, the method of providing a local breakout.
제15항에서,
상기 로컬 데이터망으로 우회 전송한 패킷 수를 누적한 LBO 패킷 수를 관리하는 단계, 그리고
상기 LBO 패킷 수를 참조하여, 상기 F1 인터페이스로 바이패스 전달하는 상향 패킷의 시퀀스 번호(Sequence number)를 보정하는 단계
를 더 포함하는, 로컬브레이크아웃 제공 방법.
In claim 15,
managing the number of LBO packets accumulating the number of packets detoured to the local data network, and
Correcting a sequence number of an uplink packet that is bypassed to the F1 interface with reference to the number of LBO packets
Further comprising, a local breakout providing method.
제15항에서,
상기 로컬 데이터망으로부터 상기 단말로 전송된 패킷 수를 누적한 LBO 패킷 수를 관리하는 단계, 그리고
상기 LBO 패킷 수를 참조하여, 상기 F1 인터페이스로 바이패스 전달하는 하향 패킷의 시퀀스 번호(Sequence number)를 보정하는 단계
를 더 포함하는, 로컬브레이크아웃 제공 방법.
In claim 15,
managing the number of LBO packets accumulating the number of packets transmitted from the local data network to the terminal; and
Correcting a sequence number of a downlink packet that bypasses the F1 interface with reference to the number of LBO packets
Further comprising, a local breakout providing method.
KR1020200169383A 2020-09-17 2020-12-07 Method and apparatus for providing local breakout over f1 interface KR20220037321A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020200119797 2020-09-17
KR20200119797 2020-09-17

Publications (1)

Publication Number Publication Date
KR20220037321A true KR20220037321A (en) 2022-03-24

Family

ID=80935862

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200169383A KR20220037321A (en) 2020-09-17 2020-12-07 Method and apparatus for providing local breakout over f1 interface

Country Status (1)

Country Link
KR (1) KR20220037321A (en)

Similar Documents

Publication Publication Date Title
US10893558B2 (en) Method for processing received RLC PDUs for D2D communication system and device therefor
KR102263336B1 (en) Security Implementation Methods, Devices and Systems
US11689920B2 (en) System and method for security protection of NAS messages
US8811617B2 (en) Efficient security-related processing
AU2013260295A1 (en) Method and system for connectionless transmission during uplink and downlink of data packets
EP1881660A1 (en) A method, apparatus and system for wireless access
US20120297474A1 (en) Relay node authentication method, apparatus, and system
KR20160109060A (en) Method and apparatus for providing web services
KR101936662B1 (en) Access node device for forwarding data packets
WO2013097504A1 (en) Decryption device and method for nas signalling in lte protocol monitoring and analysis
WO2010025658A1 (en) Routing method, equipment and system in relay network
US20230156468A1 (en) Secure Communication Method, Related Apparatus, and System
US20230379853A1 (en) Core network system
KR20100021384A (en) Non -access stratum protocol management method and system in mobile telecommunication system
US20210168614A1 (en) Data Transmission Method and Device
US20220386120A1 (en) Operating method for ausf and udm for authentication and authorization for each network slice
WO2020221067A1 (en) Method and device for mobile registration
CN114205814B (en) Data transmission method, device and system, electronic equipment and storage medium
KR20220037321A (en) Method and apparatus for providing local breakout over f1 interface
CN111989942A (en) Apparatus and method for information security in wireless communication
US20210250850A1 (en) Network access method and apparatus
US8644514B2 (en) Security model for a relay network system
KR101094057B1 (en) Method and apparatus for processing an initial signalling message in a mobile communication system
US20120304246A1 (en) System and Method for Selective Security of Wireless Bearers
CN107529156B (en) Uplink transmission method, device and network architecture

Legal Events

Date Code Title Description
E902 Notification of reason for refusal