Service Data Processing Method, Device, and Storage Medium for User Plane Function

By introducing negotiation mechanisms and policy mechanisms into UPF devices, the status of MEC devices and enterprise private cloud devices is dynamically perceived, and the forwarding failure caused by inflexible forwarding of UPF devices is solved, achieving more flexible and reliable service data forwarding.

CN116033495BActive Publication Date: 2025-07-29CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211697894.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-28
Publication Date
2025-07-29
Estimated Expiration
2042-12-28

AI Technical Summary

Technical Problem

Existing UPF devices lack flexibility in forwarding business data, resulting in the problem of forwarding failure.

Method used

By introducing negotiation mechanisms and policy mechanisms, UPF devices dynamically perceive the status of MEC devices and enterprise private cloud devices and determine the forwarding strategy of business data.

Benefits of technology

It realizes the flexibility and reliability of service data forwarding, and avoids forwarding failures caused by high equipment resource occupancy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116033495B_ABST
    Figure CN116033495B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a method, device, and storage medium for processing service data of a user plane function, which relates to the field of communication technologies. The method includes: obtaining service information sent by a deep packet inspection module, where the service information includes the target IP address of service data; sending first negotiation information to a first negotiation module corresponding to the target IP address according to the target IP address; where the first negotiation information is used to indicate obtaining first status information of a first device corresponding to the target IP address; receiving a first negotiation response including the first status information sent by the first negotiation module; determining a forwarding policy for the service data according to the first status information, and sending the forwarding policy to an IP module so that the IP module executes the forwarding policy; where the forwarding policy includes forwarding the service data to the first device through a first output port, or forwarding the service data to a second device through a second output port. This provides more flexible and reliable guarantee for the forwarding of service data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to communication technologies, and in particular, to a method, device, and storage medium for processing service data of a user plane function. Background Art

[0002] The User Plane Function (UPF) is an important part of the core network architecture of the 3rd Generation Partnership Project 5th generation (3GPP 5G) mobile communication standard. It is mainly responsible for forwarding user plane data packets of the 5G core network.

[0003] Originally, the UPF was a network element inside the core network device. With the deployment of 5G networks and the stringent requirements of industry users for service processing latency, the UPF has been separated from the traditional core network and become a separate device. The UPF device can be used for forwarding service data. For example, if the destination of a certain service data is set to a MEC device or an enterprise private cloud device, etc., the UPF device will forward the service data to the set destination.

[0004] However, forwarding service data to the set destination in this way lacks flexibility and easily leads to service data forwarding failures. Summary of the Invention

[0005] The embodiments of the present application provide a method, device, and storage medium for processing service data of a user plane function, so as to solve the problem that the existing UPF has a fixed configured destination, lacks flexibility, and easily leads to service data forwarding failures.

[0006] In a first aspect, the embodiments of the present application provide a method for processing service data of a user plane function, including:

[0007] Obtain service information sent by a deep packet inspection module, where the service information includes the target IP address of service data;

[0008] Send first negotiation information to a first negotiation module corresponding to the target IP address according to the target IP address; wherein, the first negotiation information is used to indicate obtaining the first status information of a first device corresponding to the target IP address, and the first status information includes the resource occupancy rate of the first device;

[0009] Receive a first negotiation response sent by the first negotiation module, where the first negotiation response includes the first status information;

[0010] Determine the forwarding policy for service data according to the first status information, and send the forwarding policy to the IP module so that the IP module executes the forwarding policy; wherein, the forwarding policy includes forwarding the service data to the first device through the first output port, or forwarding the service data to the second device through the second output port.

[0011] In a possible implementation, determining the forwarding policy for service data according to the first status information includes:

[0012] If the resource occupancy rate of the first device in the first status information is greater than or equal to the first preset threshold, send second negotiation information to the second negotiation module; wherein, the second negotiation information is used to indicate obtaining the second status information of the second device, and the second status information includes the resource occupancy rate of the second device.

[0013] Receive the second negotiation response sent by the second negotiation module, and the second negotiation response includes the second status information.

[0014] Determine the forwarding policy according to the second status information.

[0015] In a possible implementation, determining the forwarding policy according to the second status information includes:

[0016] If the resource occupancy rate of the second device in the second status information is less than the first preset threshold, determine the forwarding policy as forwarding the service data to the second device through the second output port.

[0017] If the resource occupancy rate of the second device in the second status information is greater than or equal to the first preset threshold, determine the forwarding policy as forwarding the service data to the first device through the first output port.

[0018] In a possible implementation, the service information further includes the priority of the service data and the type of the service data, the first status information further includes the resource occupancy rate corresponding to various service types in the first device, and if the resource occupancy rate of the second device in the second status information is greater than or equal to the first preset threshold, it further includes:

[0019] When the resource occupancy rate corresponding to the service type in the first device that is the same as the type of the service data is higher than the second preset threshold and the priority of the service data is higher than the preset priority, send an adjustment policy to the IP module, and the adjustment policy is used to instruct the IP module to lower the priority of the service data, wherein the second preset threshold is greater than or equal to the first preset threshold.

[0020] In a possible implementation, if the resource occupancy rate of the first device in the first status information is less than the first preset threshold, the method further includes:

[0021] Determine the forwarding policy as forwarding the service data to the first device through the first output port.

[0022] In a possible implementation, the first negotiation information is specifically used to instruct the first negotiation module to generate a first negotiation message according to the first negotiation information and send the first negotiation message to the first device to obtain the first status information of the first device.

[0023] In a possible implementation, the second negotiation information is specifically used to instruct the second negotiation module to generate a second negotiation message according to the second negotiation information and send the second negotiation message to the second device to obtain the second status information of the second device.

[0024] In a possible implementation, the resource includes at least one of a processor, a memory, or a storage.

[0025] In a second aspect, an embodiment of the present application provides a service data processing device for a user plane function, including:

[0026] A deep packet inspection module, a decision module, a first negotiation module, a second negotiation module, and an IP module;

[0027] The decision module is used to execute the service data processing method for the user plane function described in the first aspect.

[0028] In a third aspect, an embodiment of the present application provides a device for a user plane function, the device including:

[0029] An input port, a deep packet inspection module, a decision module, a first negotiation module, a second negotiation module, an IP module, a first output port, and a second output port; wherein,

[0030] The input port is used to receive service data;

[0031] The deep packet inspection module is used to analyze the priority of the service data;

[0032] The first negotiation module is used to obtain the first status information of the first device;

[0033] The second negotiation module is used to obtain the second status information of the second device;

[0034] The IP module is used to execute a forwarding policy and / or an adjustment policy;

[0035] The first output port is used to send the service data to the first device;

[0036] The second output port is used to send the service data to the second device;

[0037] The decision module is used to execute the service data processing method for the user plane function described in the first aspect.

[0038] Fourthly, an embodiment of the present application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;

[0039] The memory stores computer-executable instructions;

[0040] The processor executes the computer-executable instructions stored in the memory to implement the service data processing method of the user plane function described in the first aspect.

[0041] Fifthly, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the service data processing method of the user plane function described in the first aspect.

[0042] Sixthly, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the service data processing method of the user plane function described in the first aspect.

[0043] In the embodiment of the present application, the decision module obtains service information sent by the deep packet inspection module. The service information includes the target IP address of the service data; the first negotiation information is sent to the first negotiation module corresponding to the target IP address according to the target IP address. The first negotiation information is used to indicate obtaining the first status information of the first device corresponding to the target IP address, and the first status information includes the resource occupancy rate of the first device; the first negotiation response sent by the first negotiation module is received, and the first status information is included in the first negotiation response; the forwarding policy of the service data is determined according to the first status information, and the forwarding policy is sent to the IP module, so that the IP module executes the forwarding policy. The forwarding policy includes that the service data is forwarded to the first device through the first output port, or the service data is forwarded to the second device through the second output port. Obtaining the status information of the first device in this way enables the UPF device to dynamically sense the status of the first device and determine the forwarding policy according to the sensed status of the first device, thereby providing a more flexible and reliable guarantee for the forwarding of service data. Description of the Drawings

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained according to these drawings without creative efforts.

[0045] Figure 1 It is a schematic diagram of an end-to-end 5G+UPF+MEC network structure;

[0046] Figure 2 A schematic diagram of the business data flow inside a user plane function device provided by an embodiment of the present application;

[0047] Figure 3 A flowchart of a method for processing business data of a user plane function provided by an embodiment of the present application Figure 1 ;

[0048] Figure 4 A flowchart of a method for processing business data of a user plane function provided by an embodiment of the present application Figure 2 ;

[0049] Figure 5 A schematic diagram of the structure of a device for processing business data of a user plane function provided by an embodiment of the present application;

[0050] Figure 6 A schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0051] To make the objectives, technical solutions, and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the embodiments of the present application. Apparently, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without making creative efforts shall fall within the protection scope of the present application.

[0052] In the embodiments of the present application, terms such as "first" and "second" are used to distinguish identical or similar items with basically the same functions and effects. For example, the first chip and the second chip are only used to distinguish different chips, and their sequence is not limited. Those skilled in the art can understand that terms such as "first" and "second" do not limit the quantity and execution order, and "first" and "second" do not necessarily mean different.

[0053] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific manner.

[0054] In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B may be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (item)" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural item(s). For example, at least one (item) of a, b, or c may represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c may be single or multiple.

[0055] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data that have been authorized by the user or fully authorized by all parties. Moreover, the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of the relevant countries and regions, and corresponding operation entrances are provided for users to choose to authorize or reject.

[0056] First, the relevant concepts or terms involved in the embodiments of the present application are explained:

[0057] Input port: It is used to receive the wireless signal sent by the 5G base station side and convert the optical signal into an electrical signal. The physical form of the input port is an optical module.

[0058] Security module: It is used to perform operations such as packet verification and prevention of distributed denial of service (DDoS) attacks on the received data, check the validity and security of the message, and discard the data that does not meet the requirements.

[0059] General Packet Radio Service Transportation Protocol (GTP) module: It is used to establish a communication tunnel with the 5G base station device and perform encapsulation and decapsulation processing on the data according to the protocol standard. Since the UPF device and the 5G base station follow the GTP-U protocol, the encapsulation and decapsulation of data need to be performed in accordance with the provisions of this protocol.

[0060] Deep Packet Inspection (DPI) module: This module obtains the application layer data stream by unpacking the protocol of the service data, and then analyzes the data at the application layer. Through analysis, the DPI module classifies the service data and sends the classification results to the Quality of Service (QoS) module. The DPI module can also analyze the priority of the service data to obtain the priority of the service data.

[0061] QoS module: Used to differentially process service packets belonging to different categories according to the classification results of service data. The specific method can be Committed Access Rate (CAR) or traffic shaping, etc. Through the QoS module, faster and more reliable forwarding services can be provided for high-priority packets.

[0062] Rule lookup module: Used to select the traffic entering the DPI module. Since the DPI module's processing of service data packets consumes a lot of underlying resources, in actual operation, if all service packets are processed by the DPI module, it may cause the CPU to be fully occupied, resulting in the entire device being unable to operate. Therefore, to save resources, the Rule lookup module generally performs the following processing: After processing some packets in a flow through DPI to obtain the classification of the packet, then the Rule lookup module queries and compares the data headers. If the service packet belongs to the same flow, it is no longer sent into the DPI module but directly sent to the QoS module for subsequent processing. This processing method and process are also called fast process. The Rule lookup module determines whether a network packet can be processed by the fast process before the DPI module. Packets that can be processed by the fast process enter the fast process for processing, and packets that cannot be processed by the fast process enter the slow process (through DPI) for processing.

[0063] Billing module: Used to perform statistical billing according to the classification results of network packets. Its statistical dimension is related to the service and can be flexibly configured.

[0064] Internet Protocol (IP) module: Used to encapsulate service packets in the IP data format and transmit them to the output port module. Since the network between the UPF device and the Mobile Edge Computing (MEC) device or the enterprise private cloud device is a wired transmission network and follows the TCP / IP protocol, this module needs to perform encapsulation that meets the network protocol requirements on the packets.

[0065] Output port: Used to convert packet data from an electrical signal to an optical signal and send it to the data network.

[0066] Public Clouds: Generally refers to the cloud that can be used provided by a third-party provider for users. Public clouds can generally be used through the Internet and may be free or low-cost. The core attribute of public clouds is shared resource services, such as Alibaba Cloud or Tencent Cloud, etc.

[0067] Private Clouds: Is built for the exclusive use of a single customer, thus providing the most effective control over data, security, and quality of service. The enterprise owns the infrastructure and can control the way applications are deployed on this infrastructure. Private clouds can be deployed within the firewall of the enterprise data center or can also be deployed in a secure colocation facility. The core attribute of private clouds is proprietary resources.

[0068] Resource occupancy rate: Mainly refers to the usage of computer hardware, including CPU usage rate, memory occupancy rate, hard disk occupancy rate, etc., which can usually be obtained directly.

[0069] Mobile Edge Computing (MEC): Can be regarded as a cloud server running specific tasks at the edge of the mobile network, referring to cloud computing at the edge of the network. It deploys computing power closer to users, can reduce network latency, and provide computing power and applications for users nearby, thus greatly improving the business experience.

[0070] User Plane Function (UPF) is an important part of the core network architecture of the 3rd Generation Partnership Project 5th generation (3GPP 5G) mobile communication standard. It is mainly responsible for forwarding user plane data packets of the 5G core network. UPF was originally a network element inside the core network device. With the deployment of the 5G network and the stringent requirements of industry users for service processing latency, UPF has been separated from the traditional core network and become a separate device, and has been deployed closer to the user service side. Due to the shortening of the physical distance, user service data can be forwarded in a timely manner through UPF, and the end-to-end service processing latency is greatly reduced.

[0071] Exemplarily, Figure 1 Shows a schematic diagram of an end-to-end 5G + UPF + MEC network structure. As Figure 1As shown in the figure, the network data transmission path of the 5th generation + User Plane Function + Multi-access Edge Computing (5G + UPF + MEC) starts from the service terminal and sequentially passes through the service terminal 101, the 5G base station 102, and the UPF device 103 before reaching the enterprise private cloud 104 or the central cloud 105. The UPF device 103 needs to pass through the MEC edge node 106 and the core network device 107 to reach the central cloud 105.

[0072] The service terminal 101 transmits information to the 5G base station 102 wirelessly. After receiving the wireless signal, the 5G base station 102 converts it into an optical signal for wired communication and transmits it to the UPF device 103. The UPF device 103 completes the traffic splitting of the service data. At this time, the data stream of the UPF device 103 has two directions. One direction is to send it to the MEC edge node 106, and through the MEC edge node 106 and the core network device 107, it is transmitted to the central cloud 105. The central cloud 105 is also called the public cloud. The other direction is to directly send it to the enterprise private cloud 104. The enterprise private cloud 104 is often deployed within the enterprise's own park and is generally completed by the enterprise's self-construction. Compared with the public cloud, the enterprise itself maintains the infrastructure of the private cloud.

[0073] Generally speaking, the UPF device is a transfer station for service data, enabling the timely forwarding of user service data through the UPF device.

[0074] In some implementations, the traffic splitting strategy of the UPF is relatively fixed. For example, the destination of a certain service data is fixedly set to the MEC device or the enterprise private cloud device. However, the fixed configuration is only suitable for some services with inertia and not for some services with flexible requirements. In addition, there is a lack of an interaction mechanism between the UPF device and the MEC device, and between the UPF device and the enterprise private cloud device. The real-time states of both parties are unaware of each other, which makes the UPF device lack the necessary judgment basis during the forwarding of service data.

[0075] Exemplarily, assume that the destination of a certain service data is set to the MEC device, and the resource occupancy rate of the MEC device is relatively high, such as exceeding 98%. However, due to the lack of an interaction mechanism between the UPF device and the MEC device, the UPF device cannot perceive the resource occupancy rate of the MEC device. Therefore, the UPF device still forwards the service data to the fixedly configured destination. However, due to the high resource occupancy rate of the MEC device, it cannot process more services. Therefore, it is easy to cause the failure of the UPF device to forward service data to the MEC device at this time.

[0076] In view of this, an embodiment of the present application provides a method for processing service data of a user plane function. By introducing a negotiation mechanism, a policy mechanism, and corresponding components or functional modules, the UPF device can dynamically perceive the status of the MEC device and the enterprise private cloud device, thereby providing a more flexible and reliable guarantee for the forwarding of service data.

[0077] The following uses specific embodiments to detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. These several specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.

[0078] Exemplarily, Figure 2 shows a schematic diagram of the service data flow inside a user plane function device provided by an embodiment of the present application.

[0079] As Figure 2 shown, the user plane function device 200 includes an input port 201, a security module 202, and a GTP module 203 that are connected in sequence. After the service data sent by the 5G base station is processed by the above modules in sequence, it is then distributed to the deep packet inspection module 205 and the quality of service module 206 through the Rule lookup module 204. The service data will ultimately be received and forwarded by the quality of service module 206. Therefore, the charging module 207 is connected to the quality of service module 206, facilitating the classification and charging of the classified service data. After the charging is completed, it is sent to the IP module 208.

[0080] As Figure 2 shown, the user plane function device 200 may further include a decision module 209, a first negotiation module 210, and a second negotiation module 211. Among them, the decision module 209 is respectively connected to the deep packet inspection module 205, the first negotiation module 210, the second negotiation module 211, and the IP module 208; the first negotiation module 210 is further connected to the first output port 212; the second negotiation module 211 is further connected to the second output port 213.

[0081] Among them, the first negotiation module 210 can be used to obtain the first status information of the first device (such as an enterprise private cloud device); the second negotiation module 211 can be used to obtain the second status information of the second device (such as an MEC device); the decision module 209 can be used to send the forwarding policy of the service data to the IP module 208, and the IP module 208 executes the forwarding policy, and sends the service data to the corresponding device through the first output port 212 and the second output port 213 that are respectively connected to the IP module 208, completing the service data processing process of the service data in the user plane function device 200.

[0082] Next, based on Figure 2 and in combination with Figure 3 , the method for processing service data in the embodiments of the present application will be described in detail. Exemplarily, Figure 3 shows a flowchart of a method for processing service data of a user plane function provided in an embodiment of the present application Figure 1 . This method is applied to a decision-making module. As Figure 3 shown, this method may include:

[0083] S301. Obtain service information sent by a deep packet inspection module, where the service information includes the target IP address of service data.

[0084] Among them, the target IP address of service data can be understood as the IP address of the destination of the service data. The destination can be, for example, an MEC device or an enterprise private cloud device.

[0085] In a possible implementation, the deep packet inspection module may send service information to the decision-making module according to the received service data. The service information includes the target IP address of the service data, that is, the IP address of the destination where the service data should be delivered, so that the decision-making module can obtain the status information of the destination through the negotiation module corresponding to the IP address of the destination, realize the interaction between the UPF device and the destination, and thus provide a judgment condition for the forwarding of service data.

[0086] S302. Send first negotiation information to a first negotiation module corresponding to the target IP address according to the target IP address; where the first negotiation information is used to indicate obtaining the first status information of a first device corresponding to the target IP address, and the first status information includes the resource occupancy rate of the first device.

[0087] Among them, the first device may be an enterprise private cloud device or an MEC device. In the embodiments of the present application, the first device is taken as an enterprise private cloud device as an example for exemplary description.

[0088] Among them, the first status information may further include the link bandwidth occupancy. In a possible implementation, the decision-making module may determine the forwarding policy of service data based on the link bandwidth occupancy and the resource occupancy rate. The determination method is similar or the same as the method for the decision-making module to determine the forwarding policy of service data based on the resource occupancy rate. The specific method for the decision-making module to determine the forwarding policy of service data based on the resource occupancy rate will be described in detail in the subsequent steps and will not be elaborated here.

[0089] It should be noted that the service information includes the target IP address of service data, and the target IP address corresponds to a source path. The source path can be understood as that the negotiation module is connected to the destination of service data through an output port. As Figure 2In the illustrated example, assuming that the destination of the service data is an enterprise private cloud device, the source path is that the first negotiation module is connected to the enterprise private cloud device through the output port.

[0090] In a possible implementation, after the decision module receives the service information sent by the deep packet inspection module, the decision module sends the first negotiation information to the first negotiation module in the source path corresponding to the destination IP address in the service information, so that the first negotiation module can communicate with the first device to obtain the first status information of the first device.

[0091] S303. Receive the first negotiation response sent by the first negotiation module, where the first negotiation response includes the first status information.

[0092] In the embodiment of the present application, the first negotiation response is sent by the first device to the first negotiation module through the first output port, and the first negotiation module forwards the first negotiation response to the decision module, so that the decision module can determine the forwarding policy of the service data based on the first status information of the first device in the first negotiation response.

[0093] S304. Determine the forwarding policy of the service data according to the first status information, and send the forwarding policy to the IP module, so that the IP module executes the forwarding policy; where the forwarding policy includes forwarding the service data to the first device through the first output port, or forwarding the service data to the second device through the second output port.

[0094] Wherein, the second device may be an enterprise private cloud device or an MEC device. In the embodiment of the present application, the case where the second device is an MEC device is taken as an example for illustrative description.

[0095] In a possible implementation, the decision module determines whether to forward the service data to the first device according to the resource occupancy rate of the first device in the first status information, that is, the resource occupancy situation of the first device, that is, determines the forwarding policy, and sends the forwarding policy to the IP module, so that the IP module can forward the service data to the corresponding device according to the forwarding policy.

[0096] Exemplarily, as Figure 2 shown, the service data enters the UPF device through the input port, and is sent to the IP module through the security module, GTP module, Rule lookup module, deep packet inspection module, quality of service module and charging module in the UPF device, and the IP module forwards the service data to the corresponding device according to the forwarding policy sent by the decision module.

[0097] It is understood that both the first device and the second device can provide corresponding services for the service data. Therefore, the service data can be sent to either the first device or the second device. When the forwarding policy is to forward the service data to the first device via the first output port, the IP module forwards the service data to the first device via the first output port; when the forwarding policy is to forward the service data to the second device via the second output port, the IP module forwards the service data to the second device via the second output port.

[0098] In an embodiment of the present application, a decision module obtains service information sent by a deep packet inspection module, the service information including the target IP address of the service data; sends first negotiation information to a first negotiation module corresponding to the target IP address based on the target IP address; wherein the first negotiation information indicates obtaining first status information of a first device corresponding to the target IP address, the first status information including the resource occupancy rate of the first device; receives a first negotiation response sent by the first negotiation module, the first negotiation response including the first status information; determines a forwarding policy for the service data based on the first status information, and sends the forwarding policy to the IP module, causing the IP module to execute the forwarding policy; wherein the forwarding policy includes forwarding the service data to the first device via a first output port, or forwarding the service data to the second device via a second output port. Obtaining the status information of the first device in this manner enables the UPF device to dynamically perceive the status of the first device and determine the forwarding policy based on the perceived status of the first device, thereby providing more flexible and reliable guarantees for forwarding service data.

[0099] On the basis of the above embodiments, in order to more clearly describe the technical solution of the present application, for example, please refer to Figure 4 , Figure 4 A schematic diagram of a process for processing service data of a user plane function provided in an embodiment of the present application is shown. Figure 2 The method is applied to decision modules such as Figure 4 As shown, the method may include:

[0100] S401. Obtain service information sent by a deep packet inspection module, where the service information includes a target IP address of the service data.

[0101] S402: Send first negotiation information to a first negotiation module corresponding to the target IP address according to the target IP address.

[0102] The first negotiation information may be specifically used to instruct the first negotiation module to generate a first negotiation message according to the first negotiation information, and send the first negotiation message to the first device through the first output port to obtain the first status information of the first device.

[0103] S403: Receive a first negotiation response sent by the first negotiation module.

[0104] After the first device receives the first negotiation message, it sends the corresponding first negotiation response to the first negotiation module through the first output port, and the first negotiation module forwards the first negotiation response to the decision module.

[0105] The content of the above steps S401 to S403 is similar to or the same as the content of the above steps S301 to S303, and will not be elaborated here.

[0106] S404. Determine whether the resource occupancy rate of the first device is greater than or equal to a first preset threshold. If so, perform step S405; if not, perform step S408.

[0107] S405. If the resource occupancy rate of the first device in the first status information is greater than or equal to the first preset threshold, send second negotiation information to the second negotiation module; wherein, the second negotiation information is used to instruct to obtain the second status information of the second device, and the second status information includes the resource occupancy rate of the second device; receive the second negotiation response sent by the second negotiation module, and the second negotiation response includes the second status information; determine the forwarding policy according to the second status information.

[0108] Specifically, the second negotiation information may be used to instruct the second negotiation module to generate a second negotiation message according to the second negotiation information and send the second negotiation message to the second device through the second output port to obtain the second status information of the second device.

[0109] In the embodiment of the present application, the second negotiation response is sent by the second device to the second negotiation module through the second output port, and the second negotiation module forwards the second negotiation response to the decision module, so that the decision module can determine the forwarding policy of the service data based on the second status information of the second device in the second negotiation response.

[0110] When the resource occupancy rate of the first device in the first status information is greater than or equal to the first preset threshold, that is, the resource occupancy rate of the first device is already relatively high and it is unable to receive and process more service data, or when the link between the first device and the UPF device is disconnected, or when the first device fails, in order to enable the successful forwarding of service data, the decision module sends the second negotiation information to the second negotiation module, so that the second negotiation module can communicate with the second device to obtain the second status information of the second device.

[0111] Based on the above introduction, it can be understood that when the decision-making module perceives that the state of the first device on the source path is poor (high resource occupancy rate, or the link with the UPF device is disconnected, or the first device fails), the decision-making module can instead perceive the state of the second device, with the expectation that when the state of the second device is good, it determines to forward the service data to the second device, thereby providing a more flexible and reliable guarantee for the forwarding of service data.

[0112] The state of the second device may be good or poor. When the resource occupancy rate of the second device in the second status information is less than the first preset threshold, that is, when the state of the second device is good, step S406 is performed; otherwise, step S407 is performed.

[0113] S406. If the resource occupancy rate of the second device in the second status information is less than the first preset threshold, it is determined that the forwarding policy is to forward the service data to the second device through the second output port.

[0114] When the decision-making module perceives that the state of the first device is poor, and the resource occupancy rate of the second device in the second status information is less than the first preset threshold, that is, when the state of the second device is good, the decision-making module determines that the forwarding policy is to forward the service data to the second device through the second output port, so that the service data can be successfully forwarded from the UPF device to the second device for corresponding processing.

[0115] S407. If the resource occupancy rate of the second device in the second status information is greater than or equal to the first preset threshold, it is determined that the forwarding policy is to forward the service data to the first device through the first output port.

[0116] When the decision-making module perceives that the state of the first device is poor, and the resource occupancy rate of the second device in the second status information is greater than or equal to the first preset threshold, that is, when the state of the second device is poor, the decision-making module determines that the forwarding policy is to forward the service data to the first device through the first output port.

[0117] However, before the service data is forwarded to the first device, it can be downgraded according to the priority of the service data.

[0118] Optionally, the service information may further include the priority of the service data and the type of the service data, the first status information may further include the resource occupancy rate corresponding to various service types in the first device. If the resource occupancy rate of the second device in the second status information is greater than or equal to the first preset threshold, it further includes:

[0119] When the resource occupancy rate corresponding to the service type that is the same as the type of service data in the first device is higher than a second preset threshold, and the priority of the service data is higher than a preset priority, send an adjustment policy to the IP module, where the adjustment policy is used to instruct the IP module to lower the priority of the service data, and the second preset threshold is greater than or equal to the first preset threshold.

[0120] Among them, the priority of the service data can be understood as the order in which the service data is processed, and the service data with a higher priority will be processed first. The types of service data can include video, control, voice, and so on.

[0121] The priority of the service data and the type of the service data can be analyzed and obtained by the deep packet inspection module. Exemplarily, the deep packet inspection module can perform application layer analysis on the service data received by the user plane function to determine the category of the service data and implement the function of classifying the service data.

[0122] When the decision module senses that the state of the first device is poor, and the resource occupancy rate of the second device in the second state information is greater than or equal to the first preset threshold, that is, the state of the second device is poor, when the resource occupancy rate corresponding to the service type that is the same as the type of service data in the first device is higher than the second preset threshold, and the priority of the service data is higher than the preset priority, send an adjustment policy to the IP module, where the adjustment policy is used to instruct the IP module to lower the priority of the service data.

[0123] Exemplarily, when there is a shortage of video processing basic resources in the MEC device and the enterprise private cloud device, the decision module sends an adjustment policy to the IP module, and the IP module executes the adjustment policy to lower the priority of the video service.

[0124] In the embodiments of the present application, the adjustment of the priority of the service data not only considers the data type or requirements on the service side, but also considers external networks and processing devices, such as the factors of the first device and the second device. Or it can be said that more judgment factors are introduced in the adjustment of the priority of such service data. After lowering the priority of the service data with a relatively high resource occupancy rate corresponding to the service type and sending it to the first device, the first device with a relatively high resource occupancy rate processes the service data with a relatively low resource occupancy rate and a higher priority corresponding to other service types.

[0125] S408: If the resource occupancy rate of the first device in the first state information is less than the first preset threshold, determine that the forwarding policy is that the service data is forwarded to the first device through the first output port.

[0126] When the resource occupancy rate of the first device in the first status information is less than the first preset threshold, that is, when the resources of the first device are abundant, the service data can be forwarded to the first device along the source path. Therefore, it is determined that the forwarding policy is to forward the service data to the first device through the first output port.

[0127] In the embodiments of the present application, an interaction mechanism between the UPF device and the first device, and between the UPF device and the second device is added. That is, the decision-making module in the UPF dynamically senses the status of the first device and the status of the second device respectively through the first negotiation module and the second negotiation module, and determines the forwarding policy according to the sensed status of the first device and the status of the second device, thereby providing a more flexible and reliable guarantee for the forwarding of service data.

[0128] The embodiments of the present application can divide the functional modules of the electronic device or the main control device according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional module. It should be noted that the division of modules in the embodiments of the present invention is illustrative, only a logical function division, and there may be other division methods in actual implementation.

[0129] Figure 5 It is a schematic structural diagram of a service data processing device with a user plane function provided by the embodiments of the present application. As Figure 5 shown, the device 500 includes:

[0130] A deep packet detection module 501, a decision-making module 502, a first negotiation module 503, a second negotiation module 504, and an IP module 505;

[0131] The decision-making module 502 is used to execute the service data processing method of the user plane function.

[0132] Specifically, the decision-making module 502 is used for:

[0133] Obtain the service information sent by the deep packet detection module, where the service information includes the destination IP address of the service data;

[0134] Send the first negotiation information to the first negotiation module corresponding to the destination IP address according to the destination IP address; wherein, the first negotiation information is used to indicate to obtain the first status information of the first device corresponding to the destination IP address, and the first status information includes the resource occupancy rate of the first device;

[0135] Receive the first negotiation response sent by the first negotiation module, and the first negotiation response includes the first status information;

[0136] Determine the forwarding policy for the service data according to the first status information, and send the forwarding policy to the IP module so that the IP module executes the forwarding policy; wherein, the forwarding policy includes forwarding the service data to the first device through the first output port, or forwarding the service data to the second device through the second output port.

[0137] In a possible implementation, determining the forwarding policy for the service data according to the first status information includes:

[0138] If the resource occupancy rate of the first device in the first status information is greater than or equal to the first preset threshold, send second negotiation information to the second negotiation module; wherein, the second negotiation information is used to indicate obtaining the second status information of the second device, and the second status information includes the resource occupancy rate of the second device.

[0139] Receive the second negotiation response sent by the second negotiation module, where the second negotiation response includes the second status information.

[0140] Determine the forwarding policy according to the second status information.

[0141] In a possible implementation, determining the forwarding policy according to the second status information includes:

[0142] If the resource occupancy rate of the second device in the second status information is less than the first preset threshold, determine the forwarding policy as forwarding the service data to the second device through the second output port.

[0143] If the resource occupancy rate of the second device in the second status information is greater than or equal to the first preset threshold, determine the forwarding policy as forwarding the service data to the first device through the first output port.

[0144] In a possible implementation, the service information further includes the priority of the service data and the type of the service data, the first status information further includes the resource occupancy rate corresponding to various service types in the first device, and if the resource occupancy rate of the second device in the second status information is greater than or equal to the first preset threshold, it further includes:

[0145] When the resource occupancy rate corresponding to the service type in the first device that is the same as the type of the service data is higher than the second preset threshold and the priority of the service data is higher than the preset priority, send an adjustment policy to the IP module, where the adjustment policy is used to instruct the IP module to lower the priority of the service data, and the second preset threshold is greater than or equal to the first preset threshold.

[0146] In a possible implementation, if the resource occupancy rate of the first device in the first status information is less than the first preset threshold, the method further includes:

[0147] Determine the forwarding policy as forwarding the service data to the first device through the first output port.

[0148] In a possible implementation, the first negotiation information is specifically used to instruct the first negotiation module to generate a first negotiation message according to the first negotiation information and send the first negotiation message to the first device to obtain the first status information of the first device.

[0149] In a possible implementation, the second negotiation information is specifically used to instruct the second negotiation module to generate a second negotiation message according to the second negotiation information and send the second negotiation message to the second device to obtain the second status information of the second device.

[0150] In a possible implementation, the resource includes at least one of a processor, a memory, or a storage.

[0151] The service data processing device of the user plane function provided by the embodiments of the present application can execute the service data processing method of the user plane function in the above embodiments, and the implementation principles and technical effects are similar, and will not be elaborated herein.

[0152] In another embodiment, a device of the user plane function is further provided, and the device includes:

[0153] An input port, a deep packet inspection module, a decision module, a first negotiation module, a second negotiation module, an IP module, a first output port, and a second output port; wherein,

[0154] The input port is used to receive service data;

[0155] The deep packet inspection module is used to analyze the priority of the service data;

[0156] The first negotiation module is used to obtain the first status information of the first device;

[0157] The second negotiation module is used to obtain the second status information of the second device;

[0158] The IP module is used to execute a forwarding policy and / or an adjustment policy;

[0159] The first output port is used to send service data to the first device;

[0160] The second output port is used to send service data to the second device;

[0161] The decision module is used to execute the service data processing method of the user plane function in the above embodiments, and the implementation principles and technical effects are similar, and will not be elaborated herein.

[0162] In the specific implementation of the service data processing device of the foregoing user plane function, each module may be implemented as a processor, and the processor may execute computer-executable instructions stored in the memory, so that the processor executes the service data processing method of the foregoing user plane function.

[0163] Figure 6 This is a schematic diagram of the hardware structure of the electronic device provided by the embodiments of the present application. As Figure 6 shown, the electronic device 600 includes: at least one processor 601 and a memory 602. The electronic device 600 also includes a communication component 603. Among them, the processor 601, the memory 602, and the communication component 603 are connected through a bus 604.

[0164] In the specific implementation process, at least one processor 601 executes the computer-executable instructions stored in the memory 602, so that at least one processor 601 executes the service data processing method of the user plane function executed on the electronic device side as described above.

[0165] For the specific implementation process of the processor 601, reference may be made to the foregoing method embodiments, and their implementation principles and technical effects are similar, so they will not be elaborated here in this embodiment.

[0166] In the above embodiments, it should be understood that the processor may be a central processing unit (English: Central Processing Unit, abbreviated: CPU), or may also be other general-purpose processors, digital signal processors (English: Digital Signal Processor, abbreviated: DSP), application-specific integrated circuits (English: Application Specific Integrated Circuit, abbreviated: ASIC), etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the invention can be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor.

[0167] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory.

[0168] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the buses in the drawings of this application are not limited to only one bus or one type of bus.

[0169] The functions implemented for the electronic device and the master device are introduced for the solution provided in the embodiments of this application. It can be understood that, in order to implement the above functions, the electronic device or the master device includes the corresponding hardware structures and / or software modules for executing each function. Combining the units and algorithm steps of each example described in the embodiments disclosed in the embodiments of this application, the embodiments of this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiments of this application.

[0170] The embodiments of this application also provide a computer-readable storage medium, in which computer-executable instructions are stored. When the processor executes the computer-executable instructions, the method for processing service data of the user plane function as described above is implemented.

[0171] For the above computer-readable storage medium, the above-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk or an optical disc. The readable storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0172] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an Application Specific Integrated Circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in an electronic device or a master device.

[0173] An embodiment of the present application also provides a computer program product, including a computer program which, when executed by a processor, implements the above-mentioned processing method for the network transmission path.

[0174] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps including those of the above-mentioned method embodiments; and the foregoing storage medium includes various media such as ROM, RAM, magnetic disks, or optical discs that can store program codes.

[0175] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for processing service data of a user plane function, characterized in that, Applied to the decision-making module, including: Obtain the service information sent by the deep packet inspection module, where the service information includes the target IP address of the service data; Send the first negotiation information to the first negotiation module corresponding to the target IP address according to the target IP address; wherein, the first negotiation information is used to indicate obtaining the first status information of the first device corresponding to the target IP address, and the first status information includes the resource occupancy rate of the first device; Receive the first negotiation response sent by the first negotiation module, and the first negotiation response includes the first status information; Determine the forwarding policy of the service data according to the first status information, and send the forwarding policy to the IP module so that the IP module executes the forwarding policy; wherein, the forwarding policy includes forwarding the service data to the first device through the first output port, or forwarding the service data to the second device through the second output port.

2. The method according to claim 1, wherein The determining the forwarding policy of the service data according to the first status information includes: If the resource occupancy rate of the first device in the first status information is greater than or equal to the first preset threshold, send the second negotiation information to the second negotiation module; wherein, the second negotiation information is used to indicate obtaining the second status information of the second device, and the second status information includes the resource occupancy rate of the second device; Receive the second negotiation response sent by the second negotiation module, and the second negotiation response includes the second status information; Determine the forwarding policy according to the second status information.

3. The method according to claim 2, wherein The determining the forwarding policy according to the second status information includes: If the resource occupancy rate of the second device in the second status information is less than the first preset threshold, determine the forwarding policy as forwarding the service data to the second device through the second output port; If the resource occupancy rate of the second device in the second status information is greater than or equal to the first preset threshold, determine the forwarding policy as forwarding the service data to the first device through the first output port.

4. The method according to claim 3, wherein The service information further includes the priority of the service data and the type of the service data, and the first status information further includes the resource occupancy rate corresponding to various service types in the first device. If the resource occupancy rate of the second device in the second status information is greater than or equal to the first preset threshold, it further includes: When the resource occupancy rate corresponding to the service type in the first device that is the same as the type of the service data is higher than the second preset threshold, and the priority of the service data is higher than the preset priority, send an adjustment policy to the IP module, and the adjustment policy is used to instruct the IP module to lower the priority of the service data, wherein the second preset threshold is greater than or equal to the first preset threshold.

5. The method according to claim 2, wherein If the resource occupancy rate of the first device in the first status information is less than the first preset threshold, the method further includes: Determine the forwarding policy as forwarding the service data to the first device through the first output port.

6. The method according to any one of claims 1 to 5, characterized in that, The first negotiation information is specifically used to instruct the first negotiation module to generate a first negotiation message according to the first negotiation information and send the first negotiation message to the first device, so as to obtain the first status information of the first device.

7. The method according to any one of claims 2 to 5, characterized in that, The second negotiation information is specifically used to instruct the second negotiation module to generate a second negotiation message according to the second negotiation information and send the second negotiation message to the second device, so as to obtain the second status information of the second device.

8. The method according to claim 1, wherein The resource includes at least one of a processor, a memory or a storage.

9. A device for user plane function, characterized in that, The device includes: an input port, a deep packet detection module, a decision module, a first negotiation module, a second negotiation module, an IP module, a first output port and a second output port; wherein, the input port is used for receiving service data; the deep packet detection module is used for analyzing the priority of the service data; the first negotiation module is used for obtaining the first status information of the first device; the second negotiation module is used for obtaining the second status information of the second device; the IP module is used for executing a forwarding policy and / or an adjustment policy; the first output port is used for sending the service data to the first device; the second output port is used for sending the service data to the second device; The decision module is used for executing the method according to any one of claims from 1 to 8.

10. An electronic device, characterized in that, including: a processor and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims from 1 to 8.

11. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims from 1 to 8.

Citation Information

Patent Citations

  • Data processing method and device, computer equipment and storage medium

    CN110769045A

  • Mirror image management method, network system, equipment and storage medium

    CN111638935A