Movatterモバイル変換


[0]ホーム

URL:


CN115314409B - Network status information acquisition method and system - Google Patents

Network status information acquisition method and system
Download PDF

Info

Publication number
CN115314409B
CN115314409BCN202210851138.7ACN202210851138ACN115314409BCN 115314409 BCN115314409 BCN 115314409BCN 202210851138 ACN202210851138 ACN 202210851138ACN 115314409 BCN115314409 BCN 115314409B
Authority
CN
China
Prior art keywords
int
plane device
user plane
gtp
message
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202210851138.7A
Other languages
Chinese (zh)
Other versions
CN115314409A (en
Inventor
马骁
周傲
任蒙
邢若粼
徐梦炜
李元哲
孙其博
王尚广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and TelecommunicationsfiledCriticalBeijing University of Posts and Telecommunications
Priority to CN202210851138.7ApriorityCriticalpatent/CN115314409B/en
Publication of CN115314409ApublicationCriticalpatent/CN115314409A/en
Application grantedgrantedCritical
Publication of CN115314409BpublicationCriticalpatent/CN115314409B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention provides a method and a system for acquiring network state information, and relates to the technical field of communication. The method comprises the following steps: firstly, a first user plane device analyzes a first GTP-U message, collects first INT metadata of the first user plane device according to INT instructions issued by control plane devices in advance, generates a second GTP-U message and sends the second GTP-U message to second user plane devices, then the second user plane device analyzes the second GTP-U message, collects second INT metadata of the second user plane device according to the INT instructions, sends the first INT metadata and the second INT metadata to the control plane device, and finally, the control plane device receives the first INT metadata and the second INT metadata and stores the first INT metadata and the second INT metadata in a preset database. In the application, the application of in-band network telemetry in a core network is realized by collecting the INT metadata of each user plane device, and the network state information perception of high-precision and various service flows can be realized based on the INT metadata.

Description

Translated fromChinese
网络状态信息获取方法及系统Network status information acquisition method and system

技术领域Technical field

本发明涉及通信技术领域,尤其涉及一种网络状态信息获取方法及系统。The present invention relates to the field of communication technology, and in particular, to a method and system for obtaining network status information.

背景技术Background technique

近年来,随着虚拟现实和户外直播等新型网络应用的不断涌现以及用户对网络服务质量保证要求的不断提高,移动数据流量正飞速增长。如此庞大的流量负载增加了移动运营商UPF(User Plane Function,用户平面功能)的部署和后续运维、管理的难度和开销。同时,为了适应多接入边缘计算(MEC)的高速发展,核心网采用的控制面与用户面分离(CUPS)架构:即核心网控制面集中部署,一个控制面SMF(Session Management Function,会话管理功能)同时管理多个UPF,而不影响核心网的性能;核心网用户面分散部署,多个UPF可以按需灵活分布部署。如何高效地监控和管理核心网用户面流量并快速定位网络故障位置成为亟待解决的技术问题。In recent years, with the continuous emergence of new network applications such as virtual reality and outdoor live broadcasts and the continuous improvement of users' requirements for network service quality assurance, mobile data traffic is growing rapidly. Such a huge traffic load increases the difficulty and cost of mobile operator UPF (User Plane Function) deployment and subsequent operation, maintenance, and management. At the same time, in order to adapt to the rapid development of multi-access edge computing (MEC), the core network adopts the control plane and user plane separation (CUPS) architecture: that is, the core network control plane is deployed centrally, and a control plane SMF (Session Management Function, session management Function) Manage multiple UPFs at the same time without affecting the performance of the core network; the user plane of the core network is deployed in a decentralized manner, and multiple UPFs can be flexibly deployed as needed. How to efficiently monitor and manage core network user plane traffic and quickly locate network faults has become an urgent technical issue to be solved.

相关技术中,通过采用SNMP技术,监控并采集网络底层设备的基本流量信息,但是,该种测量方式所采集的数据类型较少且粒度较粗,同时只能监测某一个UPF本地状态信息而无法监测整个核心网用户面的网络状态等全局信息,因此具有一定的局限性。In related technologies, SNMP technology is used to monitor and collect basic traffic information of network underlying devices. However, this measurement method collects fewer types of data and has coarser granularity. At the same time, it can only monitor the local status information of a certain UPF and cannot It monitors global information such as the network status of the entire core network user plane, so it has certain limitations.

发明内容Contents of the invention

本发明实施例提供一种网络状态信息获取方法及系统,旨在解决上述背景技术中存在的问题。Embodiments of the present invention provide a method and system for obtaining network status information, aiming to solve the problems existing in the above background technology.

为了解决上述技术问题,本发明是这样实现的:In order to solve the above technical problems, the present invention is implemented as follows:

第一方面,本发明实施例提供了一种网络状态信息获取方法,方法包括:In a first aspect, embodiments of the present invention provide a method for obtaining network status information. The method includes:

第一用户面设备解析第一GTP-U报文,并根据控制面设备预先下发的INT指示收集第一用户面设备的第一INT元数据,生成包括INT指示和第一INT元数据的第二GTP-U报文,并发送至第二用户面设备;The first user plane device parses the first GTP-U message, collects the first INT metadata of the first user plane device according to the INT instruction pre-delivered by the control plane device, and generates the first INT metadata including the INT instruction and the first INT metadata. Two GTP-U messages are sent to the second user plane device;

第二用户面设备解析第二GTP-U报文,获得INT指示和第一INT元数据,并根据INT指示收集第二用户面设备的第二INT元数据,并将第一INT元数据和第二INT元数据,发送给控制面设备;The second user plane device parses the second GTP-U message, obtains the INT indication and the first INT metadata, collects the second INT metadata of the second user plane device according to the INT indication, and combines the first INT metadata and the first INT metadata. 2. INT metadata, sent to the control plane device;

控制面设备接收第一INT元数据和第二INT元数据,并储存在预设数据库中。The control plane device receives the first INT metadata and the second INT metadata and stores them in a preset database.

可选地,在第一用户面设备接收第一GTP-U报文的步骤之前,方法还包括:Optionally, before the first user plane device receives the first GTP-U message, the method further includes:

控制面设备根据各个用户面设备是否支持INT功能,确定目标用户面设备;The control plane device determines the target user plane device based on whether each user plane device supports the INT function;

根据用户输入的网络状态监控需求,从目标用户面设备中确定第一用户面设备和第二用户面设备;According to the network status monitoring requirements input by the user, determine the first user plane device and the second user plane device from the target user plane devices;

控制面设备向第一用户面设备发送第一部署指令和INT指示,向第二用户面设备发送部署指令发送第二部署指令;The control plane device sends the first deployment instruction and INT instruction to the first user plane device, and sends the deployment instruction and the second deployment instruction to the second user plane device;

第一用户面设备接收到第一部署指令之后,将工作模式切换为与第一部署指令匹配的工作模式,并更新第一用户面设备的网络监控表;After receiving the first deployment instruction, the first user plane device switches the working mode to a working mode that matches the first deployment instruction, and updates the network monitoring table of the first user plane device;

第二用户面设备接收到第二部署指令之后,将工作模式切换为与第二部署指令匹配的工作模式,并更新第二用户面设备的网络监控表。After receiving the second deployment instruction, the second user plane device switches the working mode to a working mode matching the second deployment instruction, and updates the network monitoring table of the second user plane device.

可选地,生成包括INT指示和第一INT元数据的第二GTP-U报文的步骤,包括:Optionally, the step of generating a second GTP-U message including the INT indication and the first INT metadata includes:

获取第一GTP-U报文中的业务流量数据包和隧道端点标识符;Obtain the service traffic data packet and tunnel endpoint identifier in the first GTP-U message;

根据隧道端点标识符,确定业务流量数据包是否需要添加INT报头;Based on the tunnel endpoint identifier, determine whether the business traffic data packet needs to add an INT header;

在确定业务流量数据包需要添加INT报头的情况下,确定INT报头和第一INT元数据占用的目标存储空间与预设存储空间阈值的大小关系;When it is determined that the business traffic data packet needs to add an INT header, determine the size relationship between the target storage space occupied by the INT header and the first INT metadata and the preset storage space threshold;

在目标存储空间小于或等于存储空间阈值的情况下,将第一INT元数据和INT指示插入第一GTP-U报文,并与业务流量数据包一起封装,生成第二GTP-U报文。When the target storage space is less than or equal to the storage space threshold, the first INT metadata and INT indication are inserted into the first GTP-U message and encapsulated together with the service traffic data packet to generate a second GTP-U message.

可选地,在目标存储空间大于存储空间阈值的情况下,方法还包括:Optionally, when the target storage space is greater than the storage space threshold, the method also includes:

将第一GTP-U报文直接转发至第二用户面设备,并将第一INT元数据插入空的GTP-U报文,并对INT报头的标志位进行更新,生成第三GTP-U报文;其中,第三GTP-U报文不包含业务流量数据包,或Forward the first GTP-U message directly to the second user plane device, insert the first INT metadata into the empty GTP-U message, update the flag bit of the INT header, and generate the third GTP-U message. message; wherein the third GTP-U message does not contain business traffic data packets, or

将第一GTP-U报文直接转发至第二用户面设备,生成事件报告,并将事件报告发送给控制面设备。Forward the first GTP-U message directly to the second user plane device, generate an event report, and send the event report to the control plane device.

可选地,在将第一INT元数据和第二INT元数据,发送给控制面设备的步骤之后,方法还包括:Optionally, after the step of sending the first INT metadata and the second INT metadata to the control plane device, the method further includes:

第二用户面设备将第二GTP-U报文中的业务流量数据包,封装成第四GTP-U报文,并发送至目标边缘服务器;The second user plane device encapsulates the service traffic data packet in the second GTP-U message into a fourth GTP-U message and sends it to the target edge server;

目标边缘服务器根据第四GTP-U报文,执行对应的业务任务。The target edge server performs corresponding service tasks according to the fourth GTP-U message.

可选地,方法还包括:通过第一线程将第一INT元数据和第二INT元数据发送给控制面设备,并同时通过第二线程将第四GTP-U报文,发送至目标边缘服务器。Optionally, the method further includes: sending the first INT metadata and the second INT metadata to the control plane device through the first thread, and simultaneously sending the fourth GTP-U message to the target edge server through the second thread. .

可选地,方法还包括:Optionally, methods also include:

响应于用户输入的网络状态分析需求,从预设数据库中提取与网络状态分析需求匹配的信息,并进行设备级网络状态参数的分析;和/或In response to the network status analysis requirements input by the user, extract information matching the network status analysis requirements from the preset database, and perform analysis of device-level network status parameters; and/or

响应于用户输入的网络状态分析需求,从预设数据库中提取与网络状态分析指令匹配的信息,并进行数据流级网络状态参数的分析;其中,设备级网络状态参数至少包括CPU负载,数据流级网络状态参数至少包括网络时延。In response to the network status analysis requirements input by the user, extract information matching the network status analysis instructions from the preset database, and analyze the data flow level network status parameters; wherein the device level network status parameters at least include CPU load, data flow Level network status parameters include at least network delay.

本发明实施例第二方面提出一种网络状态信息获取系统,系统包括:The second aspect of the embodiment of the present invention proposes a network status information acquisition system. The system includes:

第一采集模块,用于第一用户面设备解析第一GTP-U报文,并根据控制面设备预先下发的INT指示收集第一用户面设备的第一INT元数据,生成包括INT指示和第一INT元数据的第二GTP-U报文,并发送至第二用户面设备;The first collection module is used by the first user plane device to parse the first GTP-U message, collect the first INT metadata of the first user plane device according to the INT instruction issued in advance by the control plane device, and generate the first INT metadata including the INT instruction and The second GTP-U message of the first INT metadata is sent to the second user plane device;

第二采集模块,用于第二用户面设备解析第二GTP-U报文,获得INT指示和第一INT元数据,并根据INT指示收集第二用户面设备的第二INT元数据,并将第一INT元数据和第二INT元数据,发送给控制面设备;The second collection module is used by the second user plane device to parse the second GTP-U message, obtain the INT indication and the first INT metadata, and collect the second INT metadata of the second user plane device according to the INT indication, and The first INT metadata and the second INT metadata are sent to the control plane device;

数据存储模块,用于控制面设备接收第一INT元数据和第二INT元数据,并储存在预设数据库中。The data storage module is used for the control plane device to receive the first INT metadata and the second INT metadata, and store them in a preset database.

可选地,系统还包括部署模块,部署模块包括:Optionally, the system also includes a deployment module, which includes:

属性获取子模块,用于控制面设备根据各个用户面设备是否支持INT功能,确定目标用户面设备;The attribute acquisition submodule is used by the control plane device to determine the target user plane device based on whether each user plane device supports the INT function;

设备筛选子模块,用于根据用户输入的网络状态监控需求,从目标用户面设备中确定第一用户面设备和第二用户面设备;The device screening submodule is used to determine the first user plane device and the second user plane device from the target user plane device according to the network status monitoring requirements input by the user;

指令发送子模块,用于控制面设备向第一用户面设备发送第一部署指令和INT指示,向第二用户面设备发送部署指令发送第二部署指令;The instruction sending submodule is used for the control plane device to send the first deployment instruction and INT instruction to the first user plane device, and to send the deployment instruction and the second deployment instruction to the second user plane device;

第一执行子模块,用于第一用户面设备接收到第一部署指令之后,将工作模式切换为与第一部署指令匹配的工作模式,并更新第一用户面设备的网络监控表;The first execution submodule is used for the first user plane device to switch the working mode to a working mode matching the first deployment instruction after receiving the first deployment instruction, and update the network monitoring table of the first user plane device;

第二执行子模块,用于第二用户面设备接收到第二部署指令之后,将工作模式切换为与第二部署指令匹配的工作模式,并更新第二用户面设备的网络监控表。The second execution submodule is configured to, after the second user plane device receives the second deployment instruction, switch the working mode to the working mode matching the second deployment instruction, and update the network monitoring table of the second user plane device.

可选地,第一采集模块包括:Optionally, the first collection module includes:

标识获取子模块,用于获取第一GTP-U报文中的业务流量数据包和隧道端点标识符;The identification acquisition submodule is used to obtain the service traffic data packet and tunnel endpoint identifier in the first GTP-U message;

第一判断子模块,用于根据隧道端点标识符,确定业务流量数据包是否需要添加INT报头;The first judgment sub-module is used to determine whether the business traffic data packet needs to add an INT header based on the tunnel endpoint identifier;

第二判断子模块,用于在确定业务流量数据包需要添加INT报头的情况下,确定INT报头和第一INT元数据占用的目标存储空间与预设存储空间阈值的大小关系;The second judgment submodule is used to determine the size relationship between the target storage space occupied by the INT header and the first INT metadata and the preset storage space threshold when it is determined that the business traffic data packet needs to be added with an INT header;

报文生成子模块,用于在目标存储空间小于或等于存储空间阈值的情况下,将第一INT元数据和INT指示插入第一GTP-U报文,并与业务流量数据包一起封装,生成第二GTP-U报文。The message generation submodule is used to insert the first INT metadata and INT indication into the first GTP-U message when the target storage space is less than or equal to the storage space threshold, and encapsulate it together with the business traffic data packet to generate The second GTP-U message.

本发明实施例第三方面提出一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;The third aspect of the embodiment of the present invention proposes an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;

存储器,用于存放计算机程序;Memory, used to store computer programs;

处理器,用于执行存储器上所存放的程序时,实现本发明实施例第一方面提出方法步骤。The processor is used to implement the method steps proposed in the first aspect of the embodiment of the present invention when executing the program stored in the memory.

本发明实施例第四方面提出一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明实施例第一方面提出方法。The fourth aspect of the embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method proposed in the first aspect of the embodiment of the present invention is implemented.

本发明实施例包括以下优点:首先,第一用户面设备解析第一GTP-U报文,并根据控制面设备预先下发的INT指示收集第一用户面设备的第一INT元数据,生成包括INT指示和第一INT元数据的第二GTP-U报文,并发送至第二用户面设备,然后,第二用户面设备解析第二GTP-U报文,获得INT指示和第一INT元数据,并根据INT指示收集第二用户面设备的第二INT元数据,并将第一INT元数据和第二INT元数据,发送给控制面设备,最后,控制面设备接收第一INT元数据和第二INT元数据,并储存在预设数据库中。在本申请中,通过收集各个用户面设备的INT元数据,实现了带内网络遥测在核心网中的应用,并且基于INT元数据能够实现高精度、多种类的业务流量的网络状态信息感知。Embodiments of the present invention include the following advantages: first, the first user plane device parses the first GTP-U message, and collects the first INT metadata of the first user plane device according to the INT instruction issued in advance by the control plane device, and generates the first INT metadata including: The second GTP-U message contains the INT indication and the first INT metadata and is sent to the second user plane device. Then, the second user plane device parses the second GTP-U message and obtains the INT indication and the first INT metadata. data, and collects the second INT metadata of the second user plane device according to the INT instruction, and sends the first INT metadata and the second INT metadata to the control plane device. Finally, the control plane device receives the first INT metadata. and second INT metadata, and stored in the default database. In this application, by collecting INT metadata of each user plane device, the application of in-band network telemetry in the core network is realized, and based on INT metadata, high-precision and network status information perception of multiple types of business traffic can be realized.

在本申请的一些实施例中,本发明具有良好的兼容性,使得不能够支持本发明的技术的用户面设备,也能对携带有INT元数据的GTP-U报文进行正确的转发。In some embodiments of the present application, the present invention has good compatibility, so that user plane devices that cannot support the technology of the present invention can also correctly forward GTP-U messages carrying INT metadata.

在本申请的一些实施例中,在采集INT元数据的过程中,不会影响对业务流量的转发,即能保证用户对业务流量传输速度的需求。In some embodiments of the present application, during the process of collecting INT metadata, the forwarding of business traffic will not be affected, that is, the user's demand for business traffic transmission speed can be ensured.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.

图1是本发明实施例中核心网用户面设备拓扑结构图;Figure 1 is a topological structure diagram of core network user plane equipment in an embodiment of the present invention;

图2是本发明实施例中一种网络状态信息获取方法的步骤流程图;Figure 2 is a step flow chart of a method for obtaining network status information in an embodiment of the present invention;

图3是本发明实施例中具有INT信息的GTP-U报文格式图;Figure 3 is a GTP-U message format diagram with INT information in the embodiment of the present invention;

图4是本发明实施例中一种网络状态信息获取系统的模块示意图。Figure 4 is a schematic module diagram of a network status information acquisition system in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of the present invention.

在传统的流量监控方法中,运营商往往采用SNMP(Simple Network ManagementProtocol,简单网络管理协议)技术,监控并采集网络底层设备的基本流量信息,例如:数据包的接收数、字节数等。但是,该种测量方式具有一定的局限性,例如,所采集的数据类型较少且粒度较粗,同时只能监测某一个UPF(User Plane Function,用户平面功能)本地状态信息而无法监测整个核心网用户面的网络状态等全局信息。这极大地限制了运营商网络故障定位和对每个用户的会话流量进行的细粒度调度的实现。In traditional traffic monitoring methods, operators often use SNMP (Simple Network Management Protocol) technology to monitor and collect basic traffic information of underlying network devices, such as the number of data packets received, the number of bytes, etc. However, this measurement method has certain limitations. For example, the collected data types are small and the granularity is coarse. At the same time, it can only monitor the local status information of a certain UPF (User Plane Function) and cannot monitor the entire core. Global information such as the network status of the network user interface. This greatly limits the implementation of operator network fault location and fine-grained scheduling of session traffic for each user.

带内网络遥测(In-band Network Telemetry,INT)技术的提出为网络状态感知提供了一种全新的网络测量方式的框架。带内网络遥测是一种不需要网络控制平面干预,网络数据平面收集和报告网络状态的框架。在该框架中,其主要的数据包处理流程为:1.普通数据报文到达带内网络遥测系统的第一个节点时,带内网络遥测模块通过一定的采样方式向对应报文插入INT头部和相关遥测信息;2.报文转发到中间节点时,对应设备匹配INT头部并插入相关遥测信息;3.报文转发到遥测系统的最后一跳时,对应设备匹配INT头部并插入最后一个遥测信息,随后提取所有遥测信息并将其发送给遥测服务器;4.遥测服务器解析并提取各个节点发送的遥测信息,上报给上层应用程序处理。将INT技术应用于核心网用户面中能够为核心网的故障监测、流量调度、流量可视化等相关功能提供有效的支撑。但是,目前带内网络遥测实现方案均聚焦于IP层,无法直接应用于核心网的UPF。The introduction of In-band Network Telemetry (INT) technology provides a new network measurement framework for network status awareness. In-band network telemetry is a framework in which the network data plane collects and reports network status without the need for network control plane intervention. In this framework, its main data packet processing flow is: 1. When an ordinary data packet reaches the first node of the in-band network telemetry system, the in-band network telemetry module inserts an INT header into the corresponding packet through a certain sampling method. and related telemetry information; 2. When the message is forwarded to the intermediate node, the corresponding device matches the INT header and inserts the relevant telemetry information; 3. When the message is forwarded to the last hop of the telemetry system, the corresponding device matches the INT header and inserts The last telemetry information is then extracted and sent to the telemetry server. 4. The telemetry server parses and extracts the telemetry information sent by each node and reports it to the upper-layer application for processing. Applying INT technology to the core network user plane can provide effective support for core network fault monitoring, traffic scheduling, traffic visualization and other related functions. However, current in-band network telemetry implementation solutions focus on the IP layer and cannot be directly applied to the UPF of the core network.

所以,针对目前核心网UPF不支持INT技术的现状以及对用户面流量在核心网内部的状态进行更细粒度、更高精度的网络状态信息感知需求,发明人提出了本申请的技术构思:UPF设备通过在承载核心网用户面实际业务流量的GTP-U报文的中添加INT数据信息和INT头部,其余相关UPF设备根据已添加的INT头部的指示收集自身的相关INT元数据并更新对应GTP-U报文的INT数据信息。最后,通过收集和分析所有的INT元数据从而实现整个核心网用户面的带内网络遥测,提供更细粒度、更高精度的网络状态信息感知功能。Therefore, in view of the current situation that the core network UPF does not support INT technology and the need for finer-grained and higher-precision network status information perception of the status of user plane traffic within the core network, the inventor proposed the technical concept of this application: UPF The device adds INT data information and INT headers to the GTP-U packets that carry actual business traffic on the core network user plane. Other related UPF devices collect their own relevant INT metadata and update them according to the instructions of the added INT headers. Corresponding to the INT data information of the GTP-U message. Finally, by collecting and analyzing all INT metadata, in-band network telemetry of the entire core network user plane is achieved, providing a more fine-grained and higher-precision network status information perception function.

如图1所示的核心网用户面设备拓扑图,包括:5G RAN(Radio Access Network,无线电接入网),可以理解的是,5G RAN可以理解为基站设备,用于接收用户通过移动终端发送的业务流量数据包,I-UPF(Intermediate UPF,中继UPF),用于传递5G RAN与A-UPF间的上下行的业务流量数据包。A-UPF(Anchor UPF,锚点UPF),用于将用户的业务流量数据包发送给对应的边缘服务器DN,和接收边缘服务器DN根据业务数据生成的反馈数据。现有的方法只能对某一个UPF的状态信息进行监控,作为示例的,采用现有的方法只能对I-UPF数据包的接收数、字节数等数据进行监控,而无法同时对A-UPF和5G RAN等设备的网络状态信息进行监控。并且,当整个网络发生故障时,无法进行网络故障定位。As shown in Figure 1, the core network user plane equipment topology includes: 5G RAN (Radio Access Network, radio access network). It can be understood that 5G RAN can be understood as base station equipment, used to receive users’ transmissions through mobile terminals. The business traffic data packet, I-UPF (Intermediate UPF, relay UPF), is used to transmit uplink and downlink business traffic data packets between 5G RAN and A-UPF. A-UPF (Anchor UPF) is used to send the user's business traffic data packets to the corresponding edge server DN, and receive feedback data generated by the edge server DN based on the business data. Existing methods can only monitor the status information of a certain UPF. As an example, the existing method can only monitor the number of received I-UPF data packets, number of bytes and other data, but cannot monitor A at the same time. -Monitor network status information of equipment such as UPF and 5G RAN. Moreover, when the entire network fails, network fault location cannot be performed.

在实现本申请的方法步骤之前,首先需要对核心网中的用户面设备进行功能配置,具体包括:Before implementing the method steps of this application, it is first necessary to functionally configure the user plane equipment in the core network, specifically including:

控制面设备根据各个用户面设备是否支持INT功能,确定目标用户面设备;The control plane device determines the target user plane device based on whether each user plane device supports the INT function;

根据用户输入的网络状态监控需求,从目标用户面设备中确定第一用户面设备和第二用户面设备;According to the network status monitoring requirements input by the user, determine the first user plane device and the second user plane device from the target user plane devices;

控制面设备向第一用户面设备发送第一部署指令和INT指示,向第二用户面设备发送部署指令发送第二部署指令;The control plane device sends the first deployment instruction and INT instruction to the first user plane device, and sends the deployment instruction and the second deployment instruction to the second user plane device;

第一用户面设备接收到第一部署指令之后,将工作模式切换为与第一部署指令匹配的工作模式,并更新第一用户面设备的网络监控表;After receiving the first deployment instruction, the first user plane device switches the working mode to a working mode that matches the first deployment instruction, and updates the network monitoring table of the first user plane device;

第二用户面设备接收到第二部署指令之后,将工作模式切换为与第二部署指令匹配的工作模式,并更新第二用户面设备的网络监控表。After receiving the second deployment instruction, the second user plane device switches the working mode to a working mode matching the second deployment instruction, and updates the network monitoring table of the second user plane device.

在本实施方式中,继续如图1所示,在现有的核心网用户面设备拓扑结构上,增加了控制面设备,控制面设备可以为INT数据收集服务器,用户面设备可以为A-UPF、5G RAN、I-UPF等设备,图1中实线双向箭头部分代表的是包含业务流量数据包的GTP-U报文的数据传输过程,虚线箭头部分代表的是用户面设备与控制面设备的数据交互过程。INT数据收集服务器收集核心网中各个用户面设备的设备属性,设备属性是指A-UPF、5G RAN、I-UPF是否具有支持INT功能的能力,即用户面的设备的软件和硬件能否达到安装INT功能的要求,对于用户面设备来说,其首先需要支持安装INT功能之后才能继续为其分配INT节点功能,即支持INT功能的用户面设备即为目标用户面设备。一个INT域中包含3种类型的INT功能节点,分别是INT Source功能节点、INT Sink功能节点和INT Transit Hop功能节点。其中INTSource功能节点、INT Sink功能节点是遥测线路的起点和终点,INT Source功能节点负责指出需要收集信息的流量和要收集的信息,INT Sink功能节点负责将收到的信息进行整理并上报给INT数据收集服务器;INT Transit Hop功能节点则可认为是线路上支持INT遥测的所有设备。若用户面设备支持INT功能,则其默认的是启用的工作模式即为INT节点功能中的INT Transit Hop功能节点,而第一用户面设备是表征该用户面设备启用的INT节点功能是INT Source功能节点,第二用户面设备是表征该用户面设备启用的INT节点功能是INTSink功能节点。In this implementation, as shown in Figure 1, a control plane device is added to the existing core network user plane device topology. The control plane device can be an INT data collection server, and the user plane device can be an A-UPF. , 5G RAN, I-UPF and other equipment. The solid two-way arrow part in Figure 1 represents the data transmission process of GTP-U packets containing business traffic data packets, and the dotted arrow part represents the user plane equipment and control plane equipment. data interaction process. The INT data collection server collects the device attributes of each user plane device in the core network. The device attributes refer to whether A-UPF, 5G RAN, and I-UPF have the ability to support the INT function, that is, whether the software and hardware of the user plane device can achieve Requirements for installing the INT function. For user plane devices, they first need to support the installation of the INT function before they can continue to be assigned the INT node function. That is, the user plane device that supports the INT function is the target user plane device. An INT domain contains three types of INT function nodes, namely INT Source function node, INT Sink function node and INT Transit Hop function node. Among them, the INTSource function node and INT Sink function node are the starting point and end point of the telemetry line. The INT Source function node is responsible for pointing out the traffic and information to be collected. The INT Sink function node is responsible for sorting the received information and reporting it to INT. Data collection server; INT Transit Hop function node can be considered as all devices on the line that support INT telemetry. If the user plane device supports the INT function, its default enabled working mode is the INT Transit Hop function node in the INT node function, and the first user plane device indicates that the INT node function enabled by the user plane device is INT Source Function node, the second user plane device represents the INT node function enabled by the user plane device and is an INTSink function node.

因此,在确定目标用户面设备之后,可以根据用户的网络状态监控需求进行设定用户面设备的功能,在从目标用户面设备中选择一用户面设备和第二用户面设备,作为示例的,若用户的网络信息监控需求是从5G RAN开始监控,到A-UPF为止,结束监控,则可以确定I-UPF启用INT Transit Hop功能节点工作模式,即第一用户面设备为5G RAN,需要其启用INTSource功能节点工作模式,第二用户面设备为A-UPF,需要其启用INT Sink功能节点工作模式,而如果存在I-UPF,则I-UPF启用INT Transit Hop功能节点工作模式。若用户的网络信息监控需求是从I-UPF开始,到A-UPF结束,则可以确定第一用户面设备为I-UPF,需要其启用的INT Source功能节点工作模式,第二用户面设备为A-UPF,需要其启用INT Sink功能节点工作模式,即一个INT域中可以包括多个INT Transit Hop功能节点,也可以不包括INT Transit Hop功能节点,但是必须包括一个第一用户面设备(INT Source功能节点)和一个第二用户面设备(INT Sink功能节点)。Therefore, after determining the target user plane device, the functions of the user plane device can be set according to the user's network status monitoring requirements, and a user plane device and a second user plane device are selected from the target user plane devices. As an example, If the user's network information monitoring requirement is to start monitoring from the 5G RAN and end the monitoring until the A-UPF, it can be determined that the I-UPF enables the INT Transit Hop function node working mode, that is, the first user plane device is the 5G RAN and requires its To enable the INTSource function node working mode, the second user plane device is A-UPF, which needs to enable the INT Sink function node working mode. If there is an I-UPF, the I-UPF enables the INT Transit Hop functional node working mode. If the user's network information monitoring requirements start from I-UPF and end with A-UPF, it can be determined that the first user plane device is I-UPF, and the INT Source function node working mode needs to be enabled, and the second user plane device is A-UPF requires it to enable the INT Sink function node working mode, that is, an INT domain can include multiple INT Transit Hop function nodes, or it may not include INT Transit Hop function nodes, but it must include a first user plane device (INT Source function node) and a second user plane device (INT Sink function node).

当确定出目标节点以及目标节点对应的功能之后,控制面设备向各个目标用户面设备下发部署指令和INT指示,向第一用户面设备发送第一部署指令,第一部署指令用于将用户面设备从默认的INT Transit Hop功能节点工作模式切换为INT Source功能节点工作模式,第二部署指令用于将目标设备从默认的INT Transit Hop功能节点工作模式切换为INT Sink功能节点工作模式,INT指示是指希望用户面设备采集的网络状态信息的类型和数量,总体上可以分为两个级别的数据,设备层级别和数据流级别,设备层级别的数据包括:UPF编号、CPU利用率等数据,数据流级别的数据包括:Qos Flow Id,入端口时间戳,出端口时间戳,缓存队列长度、处理时延、当前包计数、当前字节计数等数据,即INT指示规定了需要采集的目标INT元素的那些,并且对应的数据量的大小。INT指示只需要向第一用户面设备进行下发。After determining the target node and the corresponding function of the target node, the control plane device issues deployment instructions and INT instructions to each target user plane device, and sends a first deployment instruction to the first user plane device. The first deployment instruction is used to transfer the user The target device switches from the default INT Transit Hop function node working mode to the INT Source function node working mode. The second deployment instruction is used to switch the target device from the default INT Transit Hop functional node working mode to the INT Sink functional node working mode. INT Instructions refer to the type and quantity of network status information that user plane devices are expected to collect. Generally speaking, it can be divided into two levels of data, device layer level and data flow level. Device layer level data includes: UPF number, CPU utilization, etc. Data, data at the data flow level includes: Qos Flow Id, incoming port timestamp, outgoing port timestamp, cache queue length, processing delay, current packet count, current byte count and other data, that is, the INT instruction specifies the data that needs to be collected. Those of the target INT elements, and the size of the corresponding data volume. The INT instruction only needs to be issued to the first user plane device.

当第一用户面设备接收到第一部署指令之后,将当前的工作模式由默认的INTTransit Hop功能节点工作模式切换为INT Source功能节点工作模式,并根据INT指示采集目标类型的网络状态信息,并更新第一用户面设备的网络监控表,当第二用户面设备接收到第二部署指令之后,将当前的工作模式由默认的INT Transit Hop功能节点工作模式切换为INT Sink功能节点工作模式,并更新第二用户面设备的网络监控表。当各个用户面设备完成工作模式的切换后,则完成了部署任务。而用户可以更新网络状态监控需求,从而实现用户面设备的网络监控表的更新。After receiving the first deployment instruction, the first user plane device switches the current working mode from the default INTTransit Hop functional node working mode to the INT Source functional node working mode, and collects the network status information of the target type according to the INT instruction, and Update the network monitoring table of the first user plane device. After receiving the second deployment instruction, the second user plane device switches the current working mode from the default INT Transit Hop functional node working mode to the INT Sink functional node working mode, and Update the network monitoring table of the second user plane device. When each user plane device completes the switching of working modes, the deployment task is completed. Users can update network status monitoring requirements to update the network monitoring table of user plane devices.

在完成了系统的部署之后,下面以完整的业务流量数据发送的过程为例,对本申请的网络状态信息获取方法进行说明,如图2所示,图2示出了本申请的一种网络状态信息获取方法的流程示意图。After completing the deployment of the system, the following takes the complete process of sending business traffic data as an example to explain the method of obtaining network status information of this application, as shown in Figure 2. Figure 2 shows a network status of this application. Flowchart of the information acquisition method.

S201:第一用户面设备解析第一GTP-U报文,并根据控制面设备预先下发的INT指示收集第一用户面设备的第一INT元数据,生成包括INT指示和第一INT元数据的第二GTP-U报文,并发送至第二用户面设备。S201: The first user plane device parses the first GTP-U message, collects the first INT metadata of the first user plane device according to the INT instruction issued in advance by the control plane device, and generates the first INT metadata including the INT instruction and the first INT metadata. The second GTP-U message is sent to the second user plane device.

在本实施方式中,首先,用户通过移动终端发送业务请求数据,5G RAN接收该业务请求数据的数据包,并准备封装成为第一GTP-U报文,并将第一GTP-U报文发送至第一用户面设备,生成包括INT指示和第一INT元数据的第二GTP-U报文,具体的步骤可以为:In this implementation, first, the user sends service request data through the mobile terminal, the 5G RAN receives the data packet of the service request data, prepares to encapsulate it into the first GTP-U message, and sends the first GTP-U message To the first user plane device, generate the second GTP-U message including the INT indication and the first INT metadata. The specific steps may be:

S201-1:获取第一GTP-U报文中的业务流量数据包和隧道端点标识符。S201-1: Obtain the service traffic data packet and tunnel endpoint identifier in the first GTP-U message.

在本实施方式中,以第一用户面设备为I-UPF为例,I-UPF在接收到第一GTP-U报文之后,首先记录入端口时间戳和等待队列长度等信息,然后对第一GTP-U报文进行解析,解析之后可以得到第一GTP-U报文中的GTP-U Header部分的Qos(Quality of Service,服务质量)Flow Id或者TEID(Tunnel Endpoint Identifier,隧道端点标识符)。In this implementation, taking the first user plane device as I-UPF as an example, after receiving the first GTP-U message, I-UPF first records information such as the incoming port timestamp and waiting queue length, and then processes the first GTP-U message. A GTP-U message is parsed. After parsing, the Qos (Quality of Service, Quality of Service) Flow Id or TEID (Tunnel Endpoint Identifier, Tunnel Endpoint Identifier) of the GTP-U Header part of the first GTP-U message can be obtained. ).

S201-2:根据隧道端点标识符,确定业务流量数据包是否需要添加INT报头。S201-2: Determine whether the service traffic data packet needs to add an INT header based on the tunnel endpoint identifier.

在本实施方式中,根据Qos Flow Id或者隧道端点标识符,查阅预设的存储的监控表,存储的监控表是一种哈希表,存储了应该开启INT进行网络状态信息感知的业务流量的Qos Flow Id或隧道端点标识符,若第一GTP-U报文解析得到的Qos Flow Id或隧道端点标识符能够在存储的监控表中进行查询,则确定需要在业务流量数据包添加INT报头,相反,若第一GTP-U报文解析得到的Qos Flow Id或隧道端点标识符不能够在存储的监控表中进行查询,则确定不需要在业务流量数据包添加INT报头,并按照普通GTP-U报文的转发方式进行转发。In this implementation, the preset stored monitoring table is consulted based on the Qos Flow Id or the tunnel endpoint identifier. The stored monitoring table is a hash table that stores the business flows for which INT should be enabled for network status information sensing. Qos Flow Id or tunnel endpoint identifier. If the Qos Flow Id or tunnel endpoint identifier obtained by parsing the first GTP-U message can be queried in the stored monitoring table, it is determined that an INT header needs to be added to the business flow data packet. On the contrary, if the Qos Flow Id or tunnel endpoint identifier obtained by parsing the first GTP-U message cannot be queried in the stored monitoring table, it is determined that there is no need to add an INT header to the business flow data packet, and the normal GTP-U packet is processed according to the normal GTP-U message. U packets are forwarded in the forwarding mode.

在一种可行的实施方式中,除了根据隧道端点标识符判断是否需要添加INT报头的方法外,还可以以根据其他用户的监控需求如qos flow id和pdu session id来判断业务流量数据包是否需要添加INT报头。In a feasible implementation, in addition to the method of judging whether the INT header needs to be added based on the tunnel endpoint identifier, it is also possible to judge whether the business traffic data packet is needed based on other users' monitoring needs such as qos flow id and pdu session id. Add INT header.

在一种可行的实施方式中,如图3给出适用于核心网用户面网络状态信息感知的INT数据报文格式;其中:第一部分为4bit的Ver字段表示INT数据包的版本,固定为2。第二部分为1bit标志位D,如果置为1,则表示该报文在提取INT信息后需丢弃。第三部分为1bit标志位E,如果置为1,则表示已经达到MAX Hop Count(网络最大跳数)。第四部分为1bit标志位M,如果置为1,则表示该报文为已经超过MTU设定。第五部分为12bit为Reserved,未使用。第六部分为5bit Hop ML,记录每一跳插入的INT元数据有多少字节,以4Byte为一个单位。第七部分为8bit RemainingHopCnt,记录剩余多少跳能够插入INT信息。第八部分为16bit Instruction Bitmap,其中每一个bit代表一种INT元数据类型,该字段表明了每一跳需要在INT Metadata Stack(元数据栈)中,填写的INT元数据的类型和顺序,例如:UPF编号,Qos Flow Id,入端口时间戳,出端口时间戳,缓存队列长度、处理时延、CPU利用率、当前包计数、当前字节计数等信息。In a feasible implementation, Figure 3 shows the INT data message format suitable for core network user plane network status information sensing; wherein: the first part is a 4-bit Ver field indicating the version of the INT data packet, which is fixed at 2 . The second part is the 1-bit flag D. If set to 1, it means that the message needs to be discarded after extracting the INT information. The third part is the 1-bit flag E. If set to 1, it means that the MAX Hop Count (the maximum number of hops in the network) has been reached. The fourth part is the 1-bit flag M. If set to 1, it means that the message has exceeded the MTU setting. The fifth part is 12bit which is Reserved and unused. The sixth part is 5bit Hop ML, which records how many bytes of INT metadata are inserted into each hop, with 4Byte as a unit. The seventh part is 8bit RemainingHopCnt, which records how many remaining hops can insert INT information. The eighth part is the 16-bit Instruction Bitmap, where each bit represents an INT metadata type. This field indicates the type and order of INT metadata that needs to be filled in the INT Metadata Stack for each hop, for example : UPF number, Qos Flow Id, incoming port timestamp, outgoing port timestamp, cache queue length, processing delay, CPU utilization, current packet count, current byte count and other information.

第九部分为16bit Domain Specific ID,记录本次网络状态信息感知的区域ID,主要目的是能够实现面向不同区域实现不同的INT元数据插入,即Instruction Bitmap仅在特定ID的区域内有效。The ninth part is the 16-bit Domain Specific ID, which records the area ID of this network status information sensing. The main purpose is to enable different INT metadata insertion for different areas, that is, the Instruction Bitmap is only valid in the area with a specific ID.

第十部分为剩余部分则为INT Metadata Stack(元数据栈),该栈存储各个UPF上采集的INT元数据,其顺序与Instruction Bitmap顺序一致。每一个UPF插入的INT元数据大小应该均为4Byte的倍数。The tenth part is the remaining part, which is the INT Metadata Stack. This stack stores the INT metadata collected on each UPF, and its order is consistent with the order of the Instruction Bitmap. The size of INT metadata inserted by each UPF should be a multiple of 4Byte.

具体的来说,即在INT数据报文的各个部分映射对应的数据,比如第八部分映射的数据即为INT指示,用于指导后续的用户面设备收集目标INT元数据,第十部分映射的数据即为第一用户面设备按照INT指示收集的第一INT元数据。Specifically, the corresponding data is mapped in each part of the INT data message. For example, the data mapped in the eighth part is the INT indication, which is used to guide subsequent user plane devices to collect target INT metadata. The mapped data in the tenth part The data is the first INT metadata collected by the first user plane device according to the INT instruction.

S201-3:在确定业务流量数据包需要添加INT报头的情况下,确定INT报头和第一INT元数据占用的目标存储空间与预设存储空间阈值的大小关系。S201-3: When it is determined that the business traffic data packet needs to add an INT header, determine the size relationship between the target storage space occupied by the INT header and the first INT metadata and the preset storage space threshold.

S201-4:在目标存储空间小于或等于存储空间阈值的情况下,将第一INT元数据和INT指示插入第一GTP-U报文,生成第二GTP-U报文;S201-4: When the target storage space is less than or equal to the storage space threshold, insert the first INT metadata and INT indication into the first GTP-U message and generate the second GTP-U message;

在S201-3至S201-4的实施方式中,在确定业务流量数据包需要添加INT报头的情况下;In the implementation of S201-3 to S201-4, when it is determined that the business traffic data packet needs to add an INT header;

将由控制面设备下发的INT指示添加到INT报头中,从而生成新的INT报头。确定业务流量数据包的存储空间阈值,即确定业务流量数据包对应的MTU(最大传输单元)。即判断业务流量数据包是否有足够的空间去储存INT元数据和INT报头,可以根据INT报头中的INT指示字段来进行判断,由于INT指示字段规定了收集的INT元数据的数据类型,而INT元数据的数据类型对应的数据大小是固定的,因此,可以计算出需要收集的第一INT元数据的数据大小,即第一INT元数据占用的目标存储空间的大小,业务流量数据包的存储空间阈值等于业务流量数据包的MTU对应的存储空间的数值减去业务流量数据占用的存储空间的数值,若目标存储空间小于或等于存储空间阈值,则确定业务流量数据包有足够的空间去储存INT元数据。The INT indication issued by the control plane device is added to the INT header to generate a new INT header. Determine the storage space threshold of the business traffic data packet, that is, determine the MTU (Maximum Transmission Unit) corresponding to the business traffic data packet. That is, to determine whether the business traffic data packet has enough space to store INT metadata and INT header, the judgment can be made based on the INT indication field in the INT header, because the INT indication field specifies the data type of the collected INT metadata, and INT The data size corresponding to the data type of metadata is fixed. Therefore, the data size of the first INT metadata that needs to be collected can be calculated, that is, the size of the target storage space occupied by the first INT metadata, and the storage of business traffic data packets. The space threshold is equal to the value of the storage space corresponding to the MTU of the business traffic data packet minus the value of the storage space occupied by the business traffic data. If the target storage space is less than or equal to the storage space threshold, it is determined that the business traffic data packet has enough space to store INT metadata.

在业务流量数据包是有足够的空间去储存INT元数据的情况下;When the business traffic data packet has enough space to store INT metadata;

然后按照INT指示字段(具体是Instruction Bitmap字段)的对应的指示内容对第一用户面设备进行目标INT元数据的采集,从而获得第一INT元数据,第一INT元数据可以为UPF ID、Qos Flow Id、出端口时间戳、入端口时间戳、处理时延、队列长度、CPU负载中的一种或多种。在第一INT元数据收集完成后,作为示例的,在如图2所示的报文中,首先在则向GTP-UExtension Header中添加INT Data Container以携带INT报头和第一INT元数据,作为一个新的GTP-U Extension Header,然后将第一INT元数据和INT报头按照INT指示对应的顺序依次插入INT Data Container,其中INT Data Container所属的GTP-U ExtensionHeader Type应为0x8F。最后,第一用户面设备封装带有第一INT元数据和INT指示的GTP-U报文,然后封装UDP和IP报头,更新长度和校验,更新GTP-U报文的Message length(数据长度)这一参数,在封装UDP和IP报头的过程中,由于已经添加了INT报头和第一INT元数据,则需要更新UDP报头和IP报头的Total Length(报文长度),生成第二GTP-U报文。Then, the first user plane device collects the target INT metadata according to the corresponding instruction content of the INT instruction field (specifically, the Instruction Bitmap field), thereby obtaining the first INT metadata. The first INT metadata can be UPF ID, Qos One or more of the flow ID, outgoing port timestamp, incoming port timestamp, processing delay, queue length, and CPU load. After the first INT metadata collection is completed, as an example, in the message shown in Figure 2, first add the INT Data Container to the GTP-UExtension Header to carry the INT header and the first INT metadata, as A new GTP-U Extension Header, and then insert the first INT metadata and INT header into the INT Data Container in the order corresponding to the INT indication, where the GTP-U ExtensionHeader Type to which the INT Data Container belongs should be 0x8F. Finally, the first user plane device encapsulates the GTP-U message with the first INT metadata and INT indication, then encapsulates the UDP and IP headers, updates the length and checksum, and updates the Message length (data length) of the GTP-U message. ) this parameter, during the process of encapsulating UDP and IP headers, since the INT header and the first INT metadata have been added, the Total Length (message length) of the UDP header and IP header needs to be updated to generate the second GTP- U message.

在业务流量数据包没有足够的空间去储存INT元数据的情况下;When the business traffic data packet does not have enough space to store INT metadata;

S201-5:将第一GTP-U报文直接转发至第二用户面设备,并将第一INT元数据插入空的GTP-U报文,并对INT报头的标志位进行更新,生成第三GTP-U报文;或S201-5: Forward the first GTP-U message directly to the second user plane device, insert the first INT metadata into the empty GTP-U message, update the flag bit of the INT header, and generate the third GTP-U message; or

将第一GTP-U报文直接转发至第二用户面设备,生成事件报告,并将事件报告发送给控制面设备。Forward the first GTP-U message directly to the second user plane device, generate an event report, and send the event report to the control plane device.

在这种情况下,则可以另行发送一个空的GTP-U报文,其UDP和IP层报头格式与原GTP-U报文的相同,但GTP-U payload为空,并且同样在GTP-U Extension Header中添加INTData Container,只不过其INT Header的M标志位置为1,D标志位置为1,以表示该报文为单独的INT报文;或者采取忽略策略,即不向该数据报添加INT信息,但向INT收集服务器报告该事件。作为示例的,若第一用户面设备对第一GTP-U报文(编号为A)进行解析后,发现A中没有足够的存储空间来存储采集的第一用户面设备的第一INT元数据,则将A按照普通报文的封装方式进行封装后,直接转发至下一个用户面设备,然后另行生成一个GTP-U报文(编号为B),B的UDP和IP层报头格式与A相同,但是该B的Data字段不存在业务流量数据,可以这样去理解,即B是A的复制报文,但是剔除了业务流量数据的部分,然后在B的GTP-UExtension Header中添加INT Data Container,然后将第一INT元数据和INT报头按照INT指示对应的顺序依次插入INT Data Container,并将INT数据报文的第二部分D标志位和第四部分M标志位置为1,以表示该报文为单独的INT报文,并在提取后舍去。然后进行封装,生成第三GTP-U报文(编号为B),并发送至下一个用户面设备。In this case, you can send an empty GTP-U message. Its UDP and IP layer header formats are the same as those of the original GTP-U message, but the GTP-U payload is empty and also in the GTP-U message. Add INTData Container to the Extension Header, except that the M flag position of the INT Header is 1 and the D flag position is 1 to indicate that the message is a separate INT message; or an ignore strategy is adopted, that is, INT is not added to the datagram. information, but reports the event to the INT collection server. As an example, if the first user plane device parses the first GTP-U message (numbered A), it is found that there is insufficient storage space in A to store the collected first INT metadata of the first user plane device. , then A is encapsulated according to the ordinary packet encapsulation method and forwarded directly to the next user plane device, and then another GTP-U packet (numbered B) is generated. The UDP and IP layer header formats of B are the same as those of A. , but there is no business traffic data in the Data field of B. It can be understood in this way, that is, B is a copied message of A, but the business traffic data part is removed, and then the INT Data Container is added to the GTP-UExtension Header of B. Then insert the first INT metadata and INT header into the INT Data Container in the order corresponding to the INT indication, and set the D flag bit of the second part and the M flag bit of the fourth part of the INT data message to 1 to represent the message. It is a separate INT message and is discarded after extraction. Then it is encapsulated, generates a third GTP-U message (numbered B), and sends it to the next user plane device.

或者,若第一用户面设备对第一GTP-U报文(编号为A)进行解析后,发现A中没有足够的存储空间来存储采集的第一用户面设备的第一INT元数据,则采取忽略策略,即不向该数据报添加第一用户面设备的第一INT元数据,但向控制面设备发送一条事件报告,事件报告的内容可以为:无法进行第一用户面设备的第一INT元数据收集。并按照普通GTP-U报文的转发方式进行转发。Or, if the first user plane device parses the first GTP-U message (numbered A) and finds that there is insufficient storage space in A to store the collected first INT metadata of the first user plane device, then Adopt an ignore strategy, that is, do not add the first INT metadata of the first user plane device to the datagram, but send an event report to the control plane device. The content of the event report can be: Unable to perform the first INT metadata of the first user plane device. INT metadata collection. And forwarded according to the forwarding method of ordinary GTP-U packets.

在第一用户面设备中,由于在原有GTP-U报头的Extension Header中实现了INT技术,并且基于INT技术在第一用户面设备中实现了Qos Flow级别的高精度、实时、多种类的网络状态数据采集,为后续对用户面设备的细粒度网络状态分析,提供了数据基础。In the first user plane equipment, because INT technology is implemented in the Extension Header of the original GTP-U header, and based on INT technology, a high-precision, real-time, and multi-type network at the Qos Flow level is implemented in the first user plane equipment. Status data collection provides a data basis for subsequent fine-grained network status analysis of user plane devices.

上述实施方式给出了当第一用户面设备为I-UPF的实施过程,第一用户面设备也可以是5G RAN,第一用户面设备具体是哪一个设备,是根据用户需要从哪一个设备开始进行网络状态信息监控来进行确定的,因此第一用户面设备是最初的用户面设备,当第一用户面设备为5G RAN时,首先需要将业务流量数据包封装成第一GTP-U报文,然后再对第一GTP-U报文进行解析和第一INT元数据的收集,并封装生成第二GTP-U报文,并发送下一个用户面设备。The above embodiments provide the implementation process when the first user plane device is I-UPF. The first user plane device can also be 5G RAN. Which device the first user plane device is depends on which device the user needs. Start monitoring the network status information to determine, so the first user plane device is the initial user plane device. When the first user plane device is 5G RAN, the service traffic data packet first needs to be encapsulated into the first GTP-U packet. message, and then parses the first GTP-U message and collects the first INT metadata, encapsulates and generates the second GTP-U message, and sends it to the next user plane device.

而在确定业务流量数据包不需要添加INT报头的情况下,直接将第一GTP-U报文按照普通报文的封装方式进行封装后,并按照普通GTP-U报文的转发方式直接转发至下一个用户面设备。When it is determined that the business traffic data packet does not need to add an INT header, the first GTP-U message is directly encapsulated according to the ordinary message encapsulation method, and forwarded directly to the Next user plane device.

当第一用户面设备将生成的第二GTP-U报文发送给下一个用户面设备之后,下一个用户面设备可能是中间用户面设备,中间用户面设备的工作模式为INT Transit Hop功能节点,也可能是第二用户面设备,第二用户面设备的工作模式为INT Sink功能节点,还有可能是不支持INT功能的用户面设备。After the first user plane device sends the generated second GTP-U message to the next user plane device, the next user plane device may be an intermediate user plane device, and the working mode of the intermediate user plane device is an INT Transit Hop function node. , or it may be a second user plane device. The working mode of the second user plane device is an INT Sink function node, or it may be a user plane device that does not support the INT function.

在下一个用户面设备是不支持INT功能的用户面设备的情况下;In the case where the next user plane device is a user plane device that does not support the INT function;

在本实施方式中,首先对第二GTP-U报文进行解析,然后直接将解析后的第二GTP-U报文按照普通报文的封装方式进行封装后,并按照普通GTP-U报文的转发方式进转发至下一个用户面设备。In this implementation, the second GTP-U message is first parsed, and then the parsed second GTP-U message is directly encapsulated according to the encapsulation method of an ordinary message, and then the second GTP-U message is encapsulated according to the ordinary GTP-U message encapsulation method. forwarding method to the next user plane device.

在下一个用户面设备的工作模式是INT Transit Hop功能节点的情况下;When the working mode of the next user plane device is the INT Transit Hop function node;

在本实施方式中,若用户面设备的工作模式是INT Transit Hop功能节点,则该用户面设备是中间用户面设备,首先对第二GTP-U报文进行解析,然后判断GTP-U报文的Extension Header是否具有INT Data Container,如果没有INT Data Container,则将解析后的第二GTP-U报文按照普通报文的封装方式进行封装后,直接转发至下一个用户面设备。如果有INT Data Container(即GTP-U Extension Header Type=0x8F时),则继续判断业务流量数据包是否有足够的空间去储存INT元数据,其判断的方式与判断执行的结果与上述实施例相同,因此不再进行赘述,然后生成包含该用户面设备的INT元数据的GTP-U报文。并发送至下一个的用户面设备,若下一个用户面设备的工作模式是INT Transit Hop功能节点,则继续执行本实施例的步骤,采集下一个用户面设备的INT元数据,直至下一个用户面设备的工作模式是Sink功能节点。In this implementation, if the working mode of the user plane device is an INT Transit Hop function node, then the user plane device is an intermediate user plane device. The second GTP-U message is first parsed, and then the GTP-U message is judged. Whether the Extension Header has an INT Data Container. If there is no INT Data Container, the parsed second GTP-U message will be encapsulated according to the ordinary message encapsulation method and forwarded directly to the next user plane device. If there is an INT Data Container (that is, when GTP-U Extension Header Type=0x8F), continue to judge whether the business traffic data packet has enough space to store INT metadata. The judgment method and judgment execution result are the same as in the above embodiment. , so no details will be given, and then a GTP-U message containing the INT metadata of the user plane device is generated. and sent to the next user plane device. If the working mode of the next user plane device is the INT Transit Hop function node, continue to perform the steps of this embodiment to collect the INT metadata of the next user plane device until the next user The working mode of the surface device is the Sink function node.

在下一个用户面设备的工作模式是Sink功能节点的情况下,方法包括:In the case where the working mode of the next user plane device is the Sink function node, the method includes:

S202:第二用户面设备解析第二GTP-U报文,获得INT指示和第一INT元数据,并根据INT指示收集第二用户面设备的第二INT元数据,并将第一INT元数据和第二INT元数据,发送给控制面设备。S202: The second user plane device parses the second GTP-U message, obtains the INT indication and the first INT metadata, collects the second INT metadata of the second user plane device according to the INT indication, and converts the first INT metadata and second INT metadata, sent to the control plane device.

在本实施方式中,当第二用户面设备接收到第二GTP-U报文之后,以第二GTP-U报文是由第一用户面设备直接发送的为例,首先记录入端口时间戳和等待队列长度等信息,然后判断解析后的第二GTP-U报文的Extension Header是否具有INT Data Container,即判断GTP-U Extension Header Type=0x8F,在判断通过的情况下,进入对第二GTP-U报文解析流程,第二用户面设备根据INT报头根据对应INT报文格式,解析INT报头,获取INT指示、剩余跳数等相关信息。具体是按照INT指示字段(具体是Instruction Bitmap字段)的对应的指示内容对第二用户面设备进行目标INT元数据的采集,从而获得第二INT元数据,第二INT元数据可以为UPF ID、Qos Flow Id、出端口时间戳、入端口时间戳、处理时延、队列长度、CPU负载中的一种或多种。当完成第二INT元数据的采集后,将第二INT元数据按照INT指示对应的顺序依次插入向GTP-U Extension Header中的INT Data Container,然后将所有的INT元数据从GTP-U Extension Header中提取出来,至少包括第一INT元数据和第二INT元数据,如果存在中间用户面设备,则还包括中间用户面设备的INT元数据,当提取工作完成后,需要将提取出来的所有INT元数据以及INT头部,然后发送给控制面设备。In this embodiment, after the second user plane device receives the second GTP-U message, assuming that the second GTP-U message is directly sent by the first user plane device, the incoming port timestamp is first recorded. and waiting queue length and other information, and then determine whether the Extension Header of the parsed second GTP-U message has an INT Data Container, that is, determine whether the GTP-U Extension Header Type = 0x8F, and if the judgment passes, enter the second GTP-U message parsing process: the second user plane device parses the INT header according to the INT header and the corresponding INT message format, and obtains INT indication, remaining hop count and other related information. Specifically, the target INT metadata is collected from the second user plane device according to the corresponding instruction content of the INT instruction field (specifically, the Instruction Bitmap field), thereby obtaining the second INT metadata. The second INT metadata may be UPF ID, One or more of the Qos Flow Id, outgoing port timestamp, incoming port timestamp, processing delay, queue length, and CPU load. After completing the collection of the second INT metadata, insert the second INT metadata into the INT Data Container in the GTP-U Extension Header in the order corresponding to the INT instructions, and then transfer all INT metadata from the GTP-U Extension Header Extracted from INT, including at least the first INT metadata and the second INT metadata. If there is an intermediate user plane device, it also includes the INT metadata of the intermediate user plane device. When the extraction work is completed, all extracted INTs need to be Metadata and INT header are then sent to the control plane device.

在一种可行的实施方式中,为了保证业务流量数据包的发送效率,需要同时进行INT元数据和务流量数据包的发送过程,其具体步骤包括:In a feasible implementation, in order to ensure the efficiency of sending business traffic data packets, the sending process of INT metadata and business traffic data packets needs to be carried out at the same time. The specific steps include:

通过第一线程将第一INT元数据和第二INT元数据发送给控制面设备,并同时通过第二线程将第四GTP-U报文,发送至目标边缘服务器。The first INT metadata and the second INT metadata are sent to the control plane device through the first thread, and the fourth GTP-U message is sent to the target edge server through the second thread at the same time.

在本实施方式中,通过多线程并发的方式将INT元数据发送给控制面设备,多线程并发是可以是指一部分线程将INT元数据以及INT头部发送给控制面设备,另一部分线程将业务流量数据包进行正常封装发送,然后发送给边缘服务器,即将INT元数据以及INT头部发送和业务流量数据包的转发是同时进行的,从而避免先后发送而降低业务流量数据包的发送效率。In this implementation, INT metadata is sent to the control plane device through multi-thread concurrency. Multi-thread concurrency may mean that some threads send the INT metadata and INT header to the control plane device, and another part of the threads sends the business The traffic data packet is encapsulated and sent normally, and then sent to the edge server. That is, the INT metadata and INT header are sent at the same time as the business traffic data packet is forwarded, thereby avoiding sending the business traffic data packet one after another and reducing the sending efficiency of the business traffic data packet.

S203:控制面设备接收第一INT元数据和第二INT元数据,并储存在预设数据库中。S203: The control plane device receives the first INT metadata and the second INT metadata, and stores them in the default database.

在本实施方式中,当控制面设备接收到各个第二用户面设备发出的INT元数据信息后,同样采用多线程的方式将原始数据信息存储到INT信息数据库中,并同时通过控制面设备中的INT数据处理模块将INT元数据解析,然后以用户可以直接进行读取的方式存储INT元数据至INT信息数据库中。在储存时,可以按照具体的数据类型将不同类型的数据存储在不同的INT信息数据子库中,也可以按照用户面设备的类型进行储存。In this implementation, when the control plane device receives the INT metadata information sent by each second user plane device, it also uses a multi-threaded method to store the original data information in the INT information database, and simultaneously passes it through the control plane device. The INT data processing module parses the INT metadata, and then stores the INT metadata into the INT information database in a way that users can directly read it. When storing, different types of data can be stored in different INT information data sub-databases according to specific data types, or can be stored according to the type of user plane device.

而为了不影响第二用户面设备中正常的报文转发,同时,该UPF需要根据规则封装、解封装原业务流量的GTP-U报文,并进行转发,其具体包括:In order not to affect the normal packet forwarding in the second user plane device, at the same time, the UPF needs to encapsulate and decapsulate the GTP-U packets of the original service traffic according to the rules, and forward them, which specifically includes:

第二用户面设备将第二GTP-U报文中的业务流量数据包,封装成第四GTP-U报文,并发送至目标边缘服务器;The second user plane device encapsulates the service traffic data packet in the second GTP-U message into a fourth GTP-U message and sends it to the target edge server;

目标边缘服务器根据第四GTP-U报文,执行对应的业务任务。The target edge server performs corresponding service tasks according to the fourth GTP-U message.

在本实施方式中,当第二用户面设备将采集的所有用户面设备的INT元数据都发送给控制面设备之后,将原本的业务流量数据包按照预设的规则进行封装,封装成第四GTP-U报文,第四GTP-U报文是由第二用户面设备封装,且不包含INT元数据,只包含业务流量数据包的GTP-U报文。若第二用户面设备为A-UPF,则通过第二用户面设备将第四GTP-U报文转发给目标边缘服务器,目标边缘服务器可以为支持业务流量数据包对应的业务请求的边缘服务器中物理位置最近一个的边缘服务器。当目标边缘服务器接收到第四GTP-U报文中,对其进行解析,提取出其中的业务流量数据包,然后根据业务流量数据包中的数据执行对应的业务,生成对应的业务结果,然后将业务结果按照原始的传递过程,返回给移动端,从而使得用户获得本次业务任务的结果,作为示例的,用户发送的业务流量数据包可以是某张图片的处理请求,然后业务流量数据包封装成GTP-U报文进入核心网,然后在GTP-U报文在核心网用户面设备的传输过程中,将用户面设备的INT元数据插入,用于核心网用户面设备之间网络状态分析,当不断更新的GTP-U报文发送到INT Sink功能节点时,将采集的INT元数据提取出来,并将业务流量数据包发送给边缘服务器,然后边缘服务器收到业务流量数据包后,对图片进行处理,并将处理后的图片发送给用户。从而实现了的INT元数据的收集,也不影响用户的业务使用请求。In this embodiment, after the second user plane device sends the collected INT metadata of all user plane devices to the control plane device, it encapsulates the original service traffic data packet according to the preset rules and encapsulates it into a fourth GTP-U message, the fourth GTP-U message is encapsulated by the second user plane device and does not contain INT metadata, but only contains the GTP-U message of the service traffic data packet. If the second user plane device is A-UPF, the fourth GTP-U message is forwarded to the target edge server through the second user plane device. The target edge server may be an edge server that supports the service request corresponding to the service traffic packet. The closest physically located edge server. When the target edge server receives the fourth GTP-U message, it parses it, extracts the business traffic data packet, and then executes the corresponding business based on the data in the business traffic data packet to generate the corresponding business result, and then The business results are returned to the mobile terminal according to the original delivery process, so that the user can obtain the results of this business task. As an example, the business traffic data packet sent by the user can be a processing request for a certain picture, and then the business traffic data packet It is encapsulated into a GTP-U message and enters the core network. Then during the transmission process of the GTP-U message on the user plane device of the core network, the INT metadata of the user plane device is inserted for network status between user plane devices of the core network. After analysis, when the constantly updated GTP-U messages are sent to the INT Sink function node, the collected INT metadata is extracted and the business traffic data packet is sent to the edge server. Then, after the edge server receives the business traffic data packet, Process the image and send the processed image to the user. This enables the collection of INT metadata without affecting the user's business usage requests.

在整个系统运行的过程中,对于某些网络参数,其关注度较高,因此需要对其进行重点的关注,作为示例的,对于队列长度这一个参数,用户重点关注,需要通过其来判断是否出现等待队列过长的情况,而有的网络参数,其关注度比较低,因此,不需要时刻对其关注,而这些参数的采集频率和是否需要采集是根据用户的设置需求来进行调整的,具体可以包括:During the operation of the entire system, some network parameters are of high concern, so they need to be focused on. As an example, users focus on the queue length parameter and need to use it to determine whether The waiting queue is too long, and some network parameters have relatively low attention, so there is no need to pay attention to them all the time. The collection frequency of these parameters and whether they need to be collected are adjusted according to the user's setting requirements. Specifics may include:

控制面设备根据用户输入网络状态监控需求,更新第一用户面设备和第二用户面设备的部署指令;The control plane device updates the deployment instructions of the first user plane device and the second user plane device according to the network status monitoring requirements input by the user;

根据更新后的第一用户面设备和第二用户面设备的部署指令,调整的各个用户面设备的网络监控表。The network monitoring table of each user plane device is adjusted according to the updated deployment instructions of the first user plane device and the second user plane device.

在本实施方式中,用户需要监测的用户面设备的网络状态信息是可以进行实时调整的,作为示例的,用户第一次需要监控的用户面设备是从5G RAN开始,然后到A-UPF结束,在这个链路中,5G RAN充当的是INT SOUSE节点的功能,数据采集周期是每间隔0.1s一次,A-UPF启用的是INT Sink功能节点的功能,而在后续的监测过程中,若需要从监控的用户面设备是从I-UPF开始,然后到A-UPF结束,数据采集周期是每间隔0.2s一次在这个链路中,I-UPF充当的是INT SOUSE节点的功能,A-UPF启用的是INT Sink功能节点的功能。由于数据采集周期和需要检测的用户面设备发生了变化,因此,需要对用户面设备的INT功能节点和采集频率进行调整,即需要更新第一用户面设备和第二用户面设备的部署指令,然后重新进行下发。In this implementation, the network status information of the user plane equipment that the user needs to monitor can be adjusted in real time. As an example, the user plane equipment that the user needs to monitor for the first time starts from 5G RAN and then ends with A-UPF. , in this link, 5G RAN acts as the function of the INT SOUSE node. The data collection cycle is once every 0.1s. A-UPF enables the function of the INT Sink function node. During the subsequent monitoring process, if The user plane equipment that needs to be monitored starts from I-UPF and ends with A-UPF. The data collection cycle is once every 0.2s. In this link, I-UPF acts as an INT SOUSE node. A- UPF enables the function of the INT Sink function node. Since the data collection cycle and the user plane equipment that needs to be detected have changed, the INT function node and collection frequency of the user plane equipment need to be adjusted, that is, the deployment instructions of the first user plane device and the second user plane device need to be updated. Then re-deliver.

而当完成INT元数据采集之后,可以根据采集的INT元数据进行细粒度的网络状态分析,具体方法包括:After the INT metadata collection is completed, fine-grained network status analysis can be performed based on the collected INT metadata. Specific methods include:

响应于用户输入的网络状态分析需求,从预设数据库中提取与网络状态分析需求匹配的信息,并进行设备级网络状态参数的分析;和/或In response to the network status analysis requirements input by the user, extract information matching the network status analysis requirements from the preset database, and perform analysis of device-level network status parameters; and/or

响应于用户输入的网络状态分析需求,从预设数据库中提取与网络状态分析指令匹配的信息,并进行数据流级网络状态参数的分析;其中,设备级网络状态参数至少包括CPU负载,数据流级网络状态参数至少包括网络时延。In response to the network status analysis requirements input by the user, extract information matching the network status analysis instructions from the preset database, and analyze the data flow level network status parameters; wherein the device level network status parameters at least include CPU load, data flow Level network status parameters include at least network delay.

在本实施方式中,当用户需要对用户面设备的网络状况进行分析时,用户输入的网络状态分析需求,网络状态分析需求可以包括用户面设备的编号,网络状态数据的类型等,作为示例的,若用户向了解5G RAN与A-UPF之间的时延信息,则用户输入的网络状态分析指令中至少需要包含A-UPF以及5G RAN的设备编号,以及网络状态数据的类型为时延的信息,然后控制面设备接收到网络状态分析指令之后,以设备编号为索引,查找所预设数据库,获得GTP-U报文达到5G RAN以及A-UPF的端口时间戳,然后,根据5G RAN以及A-UPF的端口时间戳,即可确定5G RAN以及A-UPF之间的时延信息,从而实现数据流级的网络状态参数的分析,还可以根据5G RAN的入端口时间戳和出端口时间戳之差确定5G RAN的处理时延。同理,基于上述过程,还可以实现CPU利用率等设备级的网络状态参数的分析状况的分析。可以理解的是,用户需要对哪种层级,哪些网络状态信息进行分析,是根据用户的使用需求进行调整的,本申请对此不进行限定。In this embodiment, when the user needs to analyze the network status of the user plane device, the user inputs the network status analysis requirements. The network status analysis requirements may include the number of the user plane device, the type of network status data, etc., as an example , if the user wants to know the delay information between 5G RAN and A-UPF, the network status analysis command input by the user must at least include the device numbers of A-UPF and 5G RAN, and the type of network status data is delay. information, and then after the control plane device receives the network status analysis command, it uses the device number as an index to search the preset database and obtains the port timestamp of the GTP-U message reaching 5G RAN and A-UPF. Then, based on the 5G RAN and The port timestamp of A-UPF can determine the delay information between 5G RAN and A-UPF, thereby realizing the analysis of network status parameters at the data flow level. It can also be based on the ingress port timestamp and egress port time of 5G RAN. The difference between the stamps determines the processing delay of 5G RAN. In the same way, based on the above process, the analysis of device-level network status parameters such as CPU utilization can also be realized. It can be understood that which level and which network status information the user needs to analyze are adjusted according to the user's usage requirements, and this application does not limit this.

在一种可行的实施方式中,本发明还提供一种核心网用户面网络状态信息感知系统来实现本申请第一方面的步骤。该系统部署在核心网用户面设备(例如基站或者UPF)上,通过向GTP-U Extension Header中加入INT Data Container,并在PSA或指定的UPF提取这些信息,该系统具体包括:In a feasible implementation manner, the present invention also provides a core network user plane network status information sensing system to implement the steps of the first aspect of the present application. The system is deployed on core network user plane equipment (such as base stations or UPF). By adding INT Data Container to the GTP-U Extension Header, and extracting this information in the PSA or designated UPF, the system specifically includes:

INT数据生成模块。该模块位于核心网用户面设备上,例如基站或者UPF。主要功能为收集INT元数据、生成INT Header、向GTP-U报头的Extension Header添加对应的INT元数据及INT Header。INT data generation module. This module is located on the core network user plane equipment, such as a base station or UPF. The main functions are to collect INT metadata, generate INT Header, and add corresponding INT metadata and INT Header to the Extension Header of the GTP-U header.

INT数据提取模块。该模块位于核心网用户面设备上,例如基站或者UPF。主要功能为将GTP-U报文中的INT Data Container提取出来并将其通过多线程并发的方式发送给INT数据收集服务器。INT data extraction module. This module is located on the core network user plane equipment, such as a base station or UPF. The main function is to extract the INT Data Container in the GTP-U message and send it to the INT data collection server through multi-thread concurrency.

INT数据收集服务器,该功能模块为整个系统的控制模块,应部署于特定服务器上。主要功能有控制核心网用户面设备是否开启网络状态信息感知功能、调节采样频率、修改UPF的INT功能角色、更新各UPF的监控表、存储并分析INT元数据、提过核心网用户面网络状态信息报告(例如:不同时间段某个PDU会话在各个UPF之间的时延等)。INT数据收集服务器与INT数据提取模块的通信采用多线程并发方式。INT data collection server, this functional module is the control module of the entire system and should be deployed on a specific server. The main functions include controlling whether the core network user plane device enables network status information sensing function, adjusting the sampling frequency, modifying the INT function role of UPF, updating the monitoring table of each UPF, storing and analyzing INT metadata, and raising the core network user plane network status. Information reports (for example: the delay between various UPFs for a certain PDU session in different time periods, etc.). The communication between the INT data collection server and the INT data extraction module adopts multi-threaded concurrent mode.

本发明实施例还提供了一种网络状态信息获取系统,参照图4,示出了本发明一种网络状态信息获取系统实施例第一方面的功能模块图,系统包括:The embodiment of the present invention also provides a network status information acquisition system. Referring to Figure 4, a functional module diagram of the first aspect of an embodiment of the network status information acquisition system of the present invention is shown. The system includes:

第一采集模块401,用于第一用户面设备解析第一GTP-U报文,并根据控制面设备预先下发的INT指示收集第一用户面设备的第一INT元数据,生成包括INT指示和第一INT元数据的第二GTP-U报文,并发送至第二用户面设备;The first collection module 401 is used by the first user plane device to parse the first GTP-U message, collect the first INT metadata of the first user plane device according to the INT instruction pre-delivered by the control plane device, and generate the first INT metadata including the INT instruction. and the second GTP-U message of the first INT metadata, and send it to the second user plane device;

第二采集模块402,用于第二用户面设备解析第二GTP-U报文,获得INT指示和第一INT元数据,并根据INT指示收集第二用户面设备的第二INT元数据,并将第一INT元数据和第二INT元数据,发送给控制面设备;The second collection module 402 is used by the second user plane device to parse the second GTP-U message, obtain the INT indication and the first INT metadata, and collect the second INT metadata of the second user plane device according to the INT indication, and Send the first INT metadata and the second INT metadata to the control plane device;

数据存储模块403,用于控制面设备接收第一INT元数据和第二INT元数据,并储存在预设数据库中。The data storage module 403 is used by the control plane device to receive the first INT metadata and the second INT metadata, and store them in a preset database.

在一种可行的实施方式中,系统还包括部署模块,部署模块包括:In a feasible implementation, the system also includes a deployment module, which includes:

属性获取子模块,用于控制面设备根据各个用户面设备是否支持INT功能,确定目标用户面设备;The attribute acquisition submodule is used by the control plane device to determine the target user plane device based on whether each user plane device supports the INT function;

设备筛选子模块,用于根据用户输入的网络状态监控需求,从目标用户面设备中确定第一用户面设备和第二用户面设备;The device screening submodule is used to determine the first user plane device and the second user plane device from the target user plane device according to the network status monitoring requirements input by the user;

指令发送子模块,用于控制面设备向第一用户面设备发送第一部署指令和INT指示,向第二用户面设备发送部署指令发送第二部署指令;The instruction sending submodule is used for the control plane device to send the first deployment instruction and INT instruction to the first user plane device, and to send the deployment instruction and the second deployment instruction to the second user plane device;

第一执行子模块,用于第一用户面设备接收到第一部署指令之后,将工作模式切换为与第一部署指令匹配的工作模式,并更新第一用户面设备的网络监控表;The first execution submodule is used for the first user plane device to switch the working mode to a working mode matching the first deployment instruction after receiving the first deployment instruction, and update the network monitoring table of the first user plane device;

第二执行子模块,用于第二用户面设备接收到第二部署指令之后,将工作模式切换为与第二部署指令匹配的工作模式,并更新第二用户面设备的网络监控表。The second execution submodule is configured to, after the second user plane device receives the second deployment instruction, switch the working mode to the working mode matching the second deployment instruction, and update the network monitoring table of the second user plane device.

在一种可行的实施方式中,第二采集模块包括:In a feasible implementation, the second collection module includes:

多线程并发子模块,用于通过第一线程将第一INT元数据发送给控制面设备,并同时通过第二线程将第二INT元数据发送给控制面设备。The multi-thread concurrency submodule is configured to send the first INT metadata to the control plane device through the first thread, and simultaneously send the second INT metadata to the control plane device through the second thread.

在一种可行的实施方式中,第一采集模块包括:In a feasible implementation, the first collection module includes:

标识获取子模块,用于获取第一GTP-U报文中的业务流量数据包和隧道端点标识符;The identification acquisition submodule is used to obtain the service traffic data packet and tunnel endpoint identifier in the first GTP-U message;

第一判断子模块,用于根据隧道端点标识符,确定业务流量数据包是否需要添加INT报头;The first judgment submodule is used to determine whether the business traffic data packet needs to add an INT header based on the tunnel endpoint identifier;

第二判断子模块,用于在确定业务流量数据包需要添加INT报头的情况下,确定INT报头和第一INT元数据占用的目标存储空间与预设存储空间阈值的大小关系;The second judgment submodule is used to determine the size relationship between the target storage space occupied by the INT header and the first INT metadata and the preset storage space threshold when it is determined that the business traffic data packet needs to be added with an INT header;

报文生成子模块,用于在目标存储空间小于或等于存储空间阈值的情况下,将第一INT元数据和INT指示插入第一GTP-U报文,并与业务流量数据包一起封装,生成第二GTP-U报文。The message generation submodule is used to insert the first INT metadata and INT indication into the first GTP-U message when the target storage space is less than or equal to the storage space threshold, and encapsulate it together with the business traffic data packet to generate The second GTP-U message.

在一种可行的实施方式中,第一采集模块还包括:In a feasible implementation, the first collection module also includes:

事件报告生成模块,将第一GTP-U报文直接转发至第二用户面设备,并将第一INT元数据插入空的GTP-U报文,并对INT报头的标志位进行更新,生成第三GTP-U报文;其中,第三GTP-U报文不包含业务流量数据包;或The event report generation module directly forwards the first GTP-U message to the second user plane device, inserts the first INT metadata into the empty GTP-U message, updates the flag bit of the INT header, and generates the first Three GTP-U messages; among them, the third GTP-U message does not contain business traffic data packets; or

将第一GTP-U报文直接进行转发,生成事件报告,并将事件报告发送给控制面设备。Forward the first GTP-U message directly, generate an event report, and send the event report to the control plane device.

在一种可行的实施方式中,系统还包括:In a feasible implementation, the system also includes:

转发模块,用于第二用户面设备将第二GTP-U报文中的业务流量数据包,封装成第四GTP-U报文,并发送至目标边缘服务器;The forwarding module is used by the second user plane device to encapsulate the business traffic data packet in the second GTP-U message into a fourth GTP-U message and send it to the target edge server;

执行模块,用于目标边缘服务器根据第四GTP-U报文,执行对应的业务任务。The execution module is used for the target edge server to execute corresponding business tasks according to the fourth GTP-U message.

在一种可行的实施方式中,系统还包括:In a feasible implementation, the system also includes:

第一分析模块,用于响应于用户输入的网络状态分析需求,从预设数据库中提取与网络状态分析需求匹配的信息,并进行设备级网络状态参数的分析;和/或The first analysis module is used to respond to the network status analysis requirements input by the user, extract information matching the network status analysis requirements from the preset database, and perform analysis of device-level network status parameters; and/or

第二分析模块,用于响应于用户输入的网络状态分析需求,从预设数据库中提取与网络状态分析指令匹配的信息,并进行数据流级网络状态参数的分析;其中,设备级网络状态参数至少包括CPU负载,数据流级网络状态参数至少包括网络时延。The second analysis module is used to respond to the network status analysis requirements input by the user, extract information matching the network status analysis instructions from the preset database, and analyze the data flow level network status parameters; wherein, the device level network status parameters At least it includes the CPU load, and the data flow level network status parameters at least include the network delay.

基于同一发明构思,本申请的实施例还提出了一种电子设备,电子设备包括:Based on the same inventive concept, embodiments of the present application also provide an electronic device. The electronic device includes:

至少一个处理器;以及,与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行本申请实施例的网络状态信息获取方法。At least one processor; and, a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the present application. The method for obtaining network status information of the embodiment.

此外,为实现上述目的,本申请的实施例还提出了一种计算机可读存储介质,存储有计算机程序,计算机程序被处理器执行时实现本申请实施例的网络状态信息获取方法。In addition, to achieve the above objectives, embodiments of the present application also provide a computer-readable storage medium that stores a computer program. When the computer program is executed by a processor, the network status information acquisition method of the embodiment of the present application is implemented.

本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用储存介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It should be understood by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Thus, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明实施例是参照根据本发明实施例的方法、终端设备(装置)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the invention are described with reference to flowcharts and/or block diagrams of methods, terminal devices (devices), and computer program products according to embodiments of the invention. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine such that the instructions are executed by the processor of the computer or other programmable data processing terminal device. Means are generated for implementing the functions specified in the process or processes of the flowchart diagrams and/or the block or blocks of the block diagrams.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing terminal equipment to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction means, the The instruction means implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, so that a series of operating steps are performed on the computer or other programmable terminal equipment to produce computer-implemented processing, thereby causing the computer or other programmable terminal equipment to perform a computer-implemented process. The instructions executed on provide steps for implementing the functions specified in a process or processes of the flow diagrams and/or a block or blocks of the block diagrams.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。“和/或”表示可以选择两者之中的任意一个,也可以两者都选择。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or any such actual relationship or sequence between operations. "And/or" means you can choose either one or both. Furthermore, the terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or end device that includes a list of elements includes not only those elements, but also elements not expressly listed or other elements inherent to such process, method, article or terminal equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or terminal device including the stated element.

以上对本发明所提供的一种网络状态信息获取方法及系统,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above is a detailed introduction to a method and system for obtaining network status information provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the present invention. The method of the invention and its core idea; at the same time, for those of ordinary skill in the field, there will be changes in the specific implementation and scope of application based on the idea of the invention. In summary, the contents of this specification should not be understood are limitations of the present invention.

Claims (9)

Translated fromChinese
1.一种网络状态信息获取方法,其特征在于,所述方法包括:1. A method for obtaining network status information, characterized in that the method includes:第一用户面设备解析第一GTP-U报文,并根据控制面设备预先下发的INT指示收集所述第一用户面设备的第一INT元数据,生成包括所述INT指示和所述第一INT元数据的第二GTP-U报文,并发送至第二用户面设备;The first user plane device parses the first GTP-U message, collects the first INT metadata of the first user plane device according to the INT instruction pre-delivered by the control plane device, and generates the first INT metadata including the INT instruction and the first A second GTP-U message with INT metadata and sent to the second user plane device;所述第二用户面设备解析所述第二GTP-U报文,获得所述INT指示和所述第一INT元数据,并根据所述INT指示收集所述第二用户面设备的第二INT元数据,并将所述第一INT元数据和所述第二INT元数据,发送给控制面设备;The second user plane device parses the second GTP-U message, obtains the INT indication and the first INT metadata, and collects the second INT of the second user plane device according to the INT indication. metadata, and send the first INT metadata and the second INT metadata to the control plane device;所述控制面设备接收所述第一INT元数据和所述第二INT元数据,并储存在预设数据库中;The control plane device receives the first INT metadata and the second INT metadata, and stores them in a preset database;生成包括所述INT指示和所述第一INT元数据的第二GTP-U报文的步骤,包括:The step of generating a second GTP-U message including the INT indication and the first INT metadata includes:获取所述第一GTP-U报文中的业务流量数据包和隧道端点标识符;Obtain the service traffic data packet and tunnel endpoint identifier in the first GTP-U message;根据所述隧道端点标识符,确定所述业务流量数据包是否需要添加INT报头;Determine whether the service traffic data packet needs to add an INT header according to the tunnel endpoint identifier;在确定所述业务流量数据包需要添加INT报头的情况下,确定所述INT报头和所述第一INT元数据占用的目标存储空间与预设存储空间阈值的大小关系;When it is determined that the business traffic data packet needs to add an INT header, determine the size relationship between the target storage space occupied by the INT header and the first INT metadata and the preset storage space threshold;在所述目标存储空间小于或等于所述存储空间阈值的情况下,将所述第一INT元数据和所述INT指示插入所述第一GTP-U报文,并与所述业务流量数据包一起封装,生成所述第二GTP-U报文。When the target storage space is less than or equal to the storage space threshold, the first INT metadata and the INT indication are inserted into the first GTP-U message and combined with the service traffic data packet. are encapsulated together to generate the second GTP-U message.2.根据权利要求1所述的方法,其特征在于,在第一用户面设备接收第一GTP-U报文的步骤之前,所述方法还包括:2. The method according to claim 1, characterized in that, before the step of receiving the first GTP-U message by the first user plane device, the method further includes:所述控制面设备根据各个用户面设备是否支持INT功能,确定目标用户面设备;The control plane device determines the target user plane device based on whether each user plane device supports the INT function;根据用户输入的网络状态监控需求,从所述目标用户面设备中确定第一用户面设备和所述第二用户面设备;Determine the first user plane device and the second user plane device from the target user plane device according to the network status monitoring requirements input by the user;所述控制面设备向所述第一用户面设备发送第一部署指令和所述INT指示,向所述第二用户面设备发送部署指令发送第二部署指令;The control plane device sends a first deployment instruction and the INT instruction to the first user plane device, and sends a deployment instruction and a second deployment instruction to the second user plane device;所述第一用户面设备接收到所述第一部署指令之后,将工作模式切换为与所述第一部署指令匹配的工作模式,并更新所述第一用户面设备的网络监控表;After receiving the first deployment instruction, the first user plane device switches the working mode to a working mode matching the first deployment instruction, and updates the network monitoring table of the first user plane device;所述第二用户面设备接收到所述第二部署指令之后,将工作模式切换为与所述第二部署指令匹配的工作模式,并更新所述第二用户面设备的网络监控表。After receiving the second deployment instruction, the second user plane device switches the working mode to the working mode matching the second deployment instruction, and updates the network monitoring table of the second user plane device.3.根据权利要求1所述的方法,其特征在于,在所述目标存储空间大于所述存储空间阈值的情况下,所述方法还包括:3. The method according to claim 1, characterized in that when the target storage space is greater than the storage space threshold, the method further includes:将所述第一GTP-U报文直接转发至所述第二用户面设备,并将所述第一INT元数据插入空的GTP-U报文,并对所述INT报头的标志位进行更新,生成第三GTP-U报文;其中,所述第三GTP-U报文不包含所述业务流量数据包,或Forward the first GTP-U message directly to the second user plane device, insert the first INT metadata into the empty GTP-U message, and update the flag bit of the INT header. , generate a third GTP-U message; wherein the third GTP-U message does not contain the service traffic data packet, or将所述第一GTP-U报文直接转发至所述第二用户面设备,生成事件报告,并将所述事件报告发送给所述控制面设备。Forward the first GTP-U message directly to the second user plane device, generate an event report, and send the event report to the control plane device.4.根据权利要求1所述的方法,其特征在于,在将所述第一INT元数据和所述第二INT元数据,发送给控制面设备的步骤之后,所述方法还包括:4. The method according to claim 1, characterized in that, after the step of sending the first INT metadata and the second INT metadata to the control plane device, the method further includes:所述第二用户面设备将所述第二GTP-U报文中的业务流量数据包,封装成第四GTP-U报文,并发送至目标边缘服务器;The second user plane device encapsulates the service traffic data packet in the second GTP-U message into a fourth GTP-U message, and sends it to the target edge server;所述目标边缘服务器根据所述第四GTP-U报文,执行对应的业务任务。The target edge server performs corresponding service tasks according to the fourth GTP-U message.5.根据权利要求4所述的方法,其特征在于,所述方法还包括:5. The method according to claim 4, characterized in that, the method further comprises:通过第一线程将所述第一INT元数据和所述第二INT元数据发送给所述控制面设备,并同时通过第二线程将所述第四GTP-U报文,发送至所述目标边缘服务器。The first INT metadata and the second INT metadata are sent to the control plane device through the first thread, and the fourth GTP-U message is sent to the target through the second thread at the same time. Edge server.6.根据权利要求1所述的方法,其特征在于,所述方法还包括:6. The method according to claim 1, characterized in that, the method further comprises:响应于用户输入的网络状态分析需求,从所述预设数据库中提取与所述网络状态分析需求匹配的信息,并进行设备级网络状态参数的分析;和/或In response to the network status analysis requirements input by the user, extract information matching the network status analysis requirements from the preset database, and perform analysis of device-level network status parameters; and/or响应于用户输入的网络状态分析需求,从所述预设数据库中提取与所述网络状态分析指令匹配的信息,并进行数据流级网络状态参数的分析;其中,所述设备级网络状态参数至少包括CPU负载,所述数据流级网络状态参数至少包括网络时延。In response to the network status analysis requirements input by the user, extract information matching the network status analysis instructions from the preset database, and perform analysis of data flow level network status parameters; wherein the device level network status parameters are at least Including CPU load, the data flow level network status parameters at least include network delay.7.一种网络状态信息获取系统,其特征在于,所述系统包括:7. A network status information acquisition system, characterized in that the system includes:第一采集模块,用于第一用户面设备解析第一GTP-U报文,并根据控制面设备预先下发的INT指示收集所述第一用户面设备的第一INT元数据,生成包括所述INT指示和所述第一INT元数据的第二GTP-U报文,并发送至第二用户面设备;The first collection module is used by the first user plane device to parse the first GTP-U message, and collect the first INT metadata of the first user plane device according to the INT instruction issued in advance by the control plane device, and generate the first INT metadata including the The second GTP-U message of the INT indication and the first INT metadata is sent to the second user plane device;生成包括所述INT指示和所述第一INT元数据的第二GTP-U报文的步骤,包括:The step of generating a second GTP-U message including the INT indication and the first INT metadata includes:获取所述第一GTP-U报文中的业务流量数据包和隧道端点标识符;Obtain the service traffic data packet and tunnel endpoint identifier in the first GTP-U message;根据所述隧道端点标识符,确定所述业务流量数据包是否需要添加INT报头;Determine whether the service traffic data packet needs to add an INT header according to the tunnel endpoint identifier;在确定所述业务流量数据包需要添加INT报头的情况下,确定所述INT报头和所述第一INT元数据占用的目标存储空间与预设存储空间阈值的大小关系;When it is determined that the business traffic data packet needs to add an INT header, determine the size relationship between the target storage space occupied by the INT header and the first INT metadata and the preset storage space threshold;在所述目标存储空间小于或等于所述存储空间阈值的情况下,将所述第一INT元数据和所述INT指示插入所述第一GTP-U报文,并与所述业务流量数据包一起封装,生成所述第二GTP-U报文;When the target storage space is less than or equal to the storage space threshold, the first INT metadata and the INT indication are inserted into the first GTP-U message and combined with the service traffic data packet. Encapsulate them together to generate the second GTP-U message;第二采集模块,用于第二用户面设备解析所述第二GTP-U报文,获得所述INT指示和所述第一INT元数据,并根据所述INT指示收集所述第二用户面设备的第二INT元数据,并将所述第一INT元数据和所述第二INT元数据,发送给控制面设备;The second collection module is used by the second user plane device to parse the second GTP-U message, obtain the INT indication and the first INT metadata, and collect the second user plane according to the INT indication. the second INT metadata of the device, and send the first INT metadata and the second INT metadata to the control plane device;数据存储模块,用于控制面设备接收所述第一INT元数据和所述第二INT元数据,并储存在预设数据库中。A data storage module is used for the control plane device to receive the first INT metadata and the second INT metadata, and store them in a preset database.8.根据权利要求7所述的系统,其特征在于,所述系统还包括部署模块,所述部署模块包括:8. The system according to claim 7, characterized in that the system further includes a deployment module, the deployment module includes:属性获取子模块,用于所述控制面设备根据各个用户面设备是否支持INT功能,确定目标用户面设备;The attribute acquisition submodule is used for the control plane device to determine the target user plane device according to whether each user plane device supports the INT function;设备筛选子模块,用于根据用户输入的网络状态监控需求,从所述目标用户面设备中确定第一用户面设备和所述第二用户面设备;A device screening submodule, configured to determine the first user plane device and the second user plane device from the target user plane device according to the network status monitoring requirements input by the user;指令发送子模块,用于所述控制面设备向所述第一用户面设备发送第一部署指令和所述INT指示,向所述第二用户面设备发送部署指令发送第二部署指令;An instruction sending submodule, configured for the control plane device to send a first deployment instruction and the INT instruction to the first user plane device, and to send a deployment instruction and a second deployment instruction to the second user plane device;第一执行子模块,用于所述第一用户面设备接收到所述第一部署指令之后,将工作模式切换为与所述第一部署指令匹配的工作模式,并更新所述第一用户面设备的网络监控表;The first execution sub-module is used for the first user plane device to switch the working mode to the working mode matching the first deployment instruction and update the first user plane after receiving the first deployment instruction. Device network monitoring table;第二执行子模块,用于所述第二用户面设备接收到所述第二部署指令之后,将工作模式切换为与所述第二部署指令匹配的工作模式,并更新所述第二用户面设备的网络监控表。The second execution submodule is used for the second user plane device to switch the working mode to the working mode matching the second deployment instruction after receiving the second deployment instruction, and update the second user plane Network monitoring table for the device.9.根据权利要求7所述的系统,其特征在于,所述第一采集模块包括:9. The system according to claim 7, characterized in that the first collection module includes:标识获取子模块,用于获取所述第一GTP-U报文中的业务流量数据包和隧道端点标识符;Identity acquisition submodule, used to acquire the service traffic data packet and tunnel endpoint identifier in the first GTP-U message;第一判断子模块,用于根据所述隧道端点标识符,确定所述业务流量数据包是否需要添加INT报头;The first judgment sub-module is used to determine whether the service traffic data packet needs to add an INT header according to the tunnel endpoint identifier;第二判断子模块,用于在确定所述业务流量数据包需要添加INT报头的情况下,确定所述INT报头和所述第一INT元数据占用的目标存储空间与预设存储空间阈值的大小关系;The second judgment sub-module is used to determine the size of the target storage space occupied by the INT header and the first INT metadata and the preset storage space threshold when it is determined that the business traffic data packet needs to be added with an INT header. relation;报文生成子模块,用于在所述目标存储空间小于或等于所述存储空间阈值的情况下,将所述第一INT元数据和所述INT指示插入所述第一GTP-U报文,并与所述业务流量数据包一起封装,生成所述第二GTP-U报文。A message generation submodule configured to insert the first INT metadata and the INT indication into the first GTP-U message when the target storage space is less than or equal to the storage space threshold, and encapsulates the service traffic data packet together to generate the second GTP-U message.
CN202210851138.7A2022-07-202022-07-20 Network status information acquisition method and systemActiveCN115314409B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210851138.7ACN115314409B (en)2022-07-202022-07-20 Network status information acquisition method and system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210851138.7ACN115314409B (en)2022-07-202022-07-20 Network status information acquisition method and system

Publications (2)

Publication NumberPublication Date
CN115314409A CN115314409A (en)2022-11-08
CN115314409Btrue CN115314409B (en)2024-02-06

Family

ID=83857791

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210851138.7AActiveCN115314409B (en)2022-07-202022-07-20 Network status information acquisition method and system

Country Status (1)

CountryLink
CN (1)CN115314409B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN119562306B (en)*2025-01-202025-08-05恒安嘉新(北京)科技股份公司 User traffic screening method, device, electronic device and storage medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2014138962A1 (en)*2013-03-152014-09-18Alcatel LucentA method and apparatus for processing gprs tunneling protocol user plane traffic in a cloud-based mobile network
WO2018028667A1 (en)*2016-08-122018-02-15中国移动通信有限公司研究院Information transmission method, apparatus, system, and related device, and storage medium
US10686671B1 (en)*2018-11-052020-06-16Keysight Technologies, Inc.Methods, systems, and computer readable media for testing network elements of an in-band network telemetry capable network
WO2020225092A1 (en)*2019-05-032020-11-12Nokia Technologies OyMapping gtp-u extension headers
CN112019427A (en)*2020-08-282020-12-01浙江九州云信息科技有限公司 A mobile cellular network wireless side edge gateway
CN112422498A (en)*2020-09-042021-02-26网络通信与安全紫金山实验室 In-band network telemetry method, system and computer-readable storage medium
CN112423340A (en)*2019-08-212021-02-26华为技术有限公司User plane information reporting method and device
CN112866075A (en)*2020-12-212021-05-28网络通信与安全紫金山实验室In-band network telemetering method, system and related device for Overlay network
CN113328956A (en)*2021-06-072021-08-31新华三技术有限公司Message processing method and device
WO2021257974A1 (en)*2020-06-192021-12-23Intel CorporationMulti-access management service frameworks for cloud and edge networks
WO2022000189A1 (en)*2020-06-292022-01-06北京交通大学In-band network telemetry bearer stream selection method and system
WO2022033340A1 (en)*2020-08-102022-02-17大唐移动通信设备有限公司Data processing method, user plane function, and device
US11258719B1 (en)*2020-08-242022-02-22Keysight Technologies, Inc.Methods, systems and computer readable media for network congestion control tuning
CN114189905A (en)*2020-09-152022-03-15华为技术有限公司 A message processing method and related equipment
WO2022143373A1 (en)*2020-12-282022-07-07华为技术有限公司Communication method and node
CN114727337A (en)*2021-01-052022-07-08中国移动通信有限公司研究院Message transmission method, user plane function, SMF (simple message Filter) and communication equipment
CN114727340A (en)*2021-01-062022-07-08华为技术有限公司Method and device for transmitting message

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2014138962A1 (en)*2013-03-152014-09-18Alcatel LucentA method and apparatus for processing gprs tunneling protocol user plane traffic in a cloud-based mobile network
WO2018028667A1 (en)*2016-08-122018-02-15中国移动通信有限公司研究院Information transmission method, apparatus, system, and related device, and storage medium
US10686671B1 (en)*2018-11-052020-06-16Keysight Technologies, Inc.Methods, systems, and computer readable media for testing network elements of an in-band network telemetry capable network
WO2020225092A1 (en)*2019-05-032020-11-12Nokia Technologies OyMapping gtp-u extension headers
CN112423340A (en)*2019-08-212021-02-26华为技术有限公司User plane information reporting method and device
WO2021257974A1 (en)*2020-06-192021-12-23Intel CorporationMulti-access management service frameworks for cloud and edge networks
WO2022000189A1 (en)*2020-06-292022-01-06北京交通大学In-band network telemetry bearer stream selection method and system
WO2022033340A1 (en)*2020-08-102022-02-17大唐移动通信设备有限公司Data processing method, user plane function, and device
US11258719B1 (en)*2020-08-242022-02-22Keysight Technologies, Inc.Methods, systems and computer readable media for network congestion control tuning
CN112019427A (en)*2020-08-282020-12-01浙江九州云信息科技有限公司 A mobile cellular network wireless side edge gateway
CN112422498A (en)*2020-09-042021-02-26网络通信与安全紫金山实验室 In-band network telemetry method, system and computer-readable storage medium
CN114189905A (en)*2020-09-152022-03-15华为技术有限公司 A message processing method and related equipment
CN112866075A (en)*2020-12-212021-05-28网络通信与安全紫金山实验室In-band network telemetering method, system and related device for Overlay network
WO2022143373A1 (en)*2020-12-282022-07-07华为技术有限公司Communication method and node
CN114727337A (en)*2021-01-052022-07-08中国移动通信有限公司研究院Message transmission method, user plane function, SMF (simple message Filter) and communication equipment
CN114727340A (en)*2021-01-062022-07-08华为技术有限公司Method and device for transmitting message
WO2022148371A1 (en)*2021-01-062022-07-14华为技术有限公司Message transmission method and apparatus
CN113328956A (en)*2021-06-072021-08-31新华三技术有限公司Message processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《移动边缘环境下可靠性增强的服务部署方法研究》;高思怡;《 中国优秀硕士学位论文全文数据库信息科技辑》(第01期);全文*

Also Published As

Publication numberPublication date
CN115314409A (en)2022-11-08

Similar Documents

PublicationPublication DateTitle
EP4092965A1 (en)Method and device for network performance detection, and network device
CN103532784A (en)Method and system for transmitting heartbeat messages, terminal and network equipment
US20190150065A1 (en)Packet Transmission Method, Device, and Communications System
CN103595660A (en)IP data packet encapsulating method and method for compressing packet head of data packet
EP3193483A1 (en)Flow table ageing method, device and system and computer-readable medium
CN115314409B (en) Network status information acquisition method and system
US20200112523A1 (en)Data Flow Processing Method and Device
JP2015511790A (en) Message processing method and apparatus
CN118227343B (en) A data processing method, system, device, equipment, medium and product
JP2019506807A (en) Data packet transmission method, reception method, transmission device and reception device
CN104954165B (en)A kind of method, equipment and the system of link analysis
CN108574627B (en) A kind of SDN network multi-control domain collaborative management method and system
CN116389598A (en)Computing power route dispatching system and method thereof
US8189459B2 (en)Method and system for guiding packet data protocol activation
CN104253763A (en)Method for realizing data transmission in gateway equipment of ubiquitous network and gateway equipment using method
CN106850268B (en)device and method for realizing linear protection switching
CN113783825A (en)Message flow statistical method and device
CN100499495C (en)A remote login implementation method based on SNMP protocol
CN115460638B (en)Network service time delay monitoring method, device, equipment and storage medium
CN115486041B (en)Data message format for communication across different networks
WO2022152230A1 (en)Information flow identification method, network chip, and network device
CN110351202A (en)5G core net traffic packet method, apparatus, equipment and computer storage medium
CN101827026A (en)Method for managing transmission of IEC61850 high layer protocol message
EP3989498A1 (en)Method for sending network message, device and network processor
CN112769923A (en)Method, device and storage medium for monitoring network equipment performance index in big data scene

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp