CN116033493A - Data volume distribution method, equipment and storage medium for user plane function - Google Patents

Data volume distribution method, equipment and storage medium for user plane function Download PDF

Info

Publication number
CN116033493A
CN116033493A CN202211555144.4A CN202211555144A CN116033493A CN 116033493 A CN116033493 A CN 116033493A CN 202211555144 A CN202211555144 A CN 202211555144A CN 116033493 A CN116033493 A CN 116033493A
Authority
CN
China
Prior art keywords
module
data
deep packet
packet inspection
inspection module
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.)
Pending
Application number
CN202211555144.4A
Other languages
Chinese (zh)
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211555144.4A priority Critical patent/CN116033493A/en
Publication of CN116033493A publication Critical patent/CN116033493A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a data volume distribution method, equipment and storage medium of a user plane function, and relates to the technical field of communication. The method comprises the following steps: the method comprises the steps that the resource utilization rate of a deep packet detection module and a charging module is obtained, the deep packet detection module is used for obtaining a classification result after application layer analysis is carried out on data, the classification result comprises different kinds of data, and the charging module is used for carrying out statistics charging according to the different kinds of data; determining a current resource occupation value according to the sum of the resource utilization rates of the deep packet inspection module and the charging module; and determining whether to send the data to the deep packet inspection module and the service quality module according to the current resource occupation value, wherein the service quality module is used for carrying out differential processing on transmission quality of different kinds of data and sending the processed different kinds of data to the charging module. According to the method, the function of reasonably distributing the data volume according to the current resource occupation value is achieved, and the problem that the server runs slowly due to the fact that the deep packet inspection module is high in resource occupation is avoided.

Description

Data volume distribution method, equipment and storage medium for user plane function
Technical Field
The present invention relates to communications technologies, and in particular, to a method, an apparatus, and a storage medium for allocating data amounts of user plane functions.
Background
The user plane function (User Plane Function, UPF) is an important component of the third generation partnership project fifth generation mobile telephone mobile communication standard (3rd Generation Partnership Project 5th generation,3GPP 5G) core network architecture, which is primarily responsible for forwarding 5G core network user plane packets.
With the deployment of 5G networks and the demanding requirements of industry users on the ductility of service processing, UPF is stripped from the traditional core network and becomes a single device. Within the UPF device there are different types of functional modules that are different for the occupancy of the underlying resources.
However, the UPF is a miniaturized core network device, and its internal resources are very limited, so that it is necessary to reasonably allocate the internal resource scheduling of the user plane function, so that the core computing resources of the UPF can be efficiently utilized.
Disclosure of Invention
The application provides a data volume distribution method, equipment and storage medium of a user plane function, which are used for solving the problem that the core computing resources of the UPF can be efficiently utilized by an internal resource scheduling mechanism without the user plane function of the conventional UPF.
In a first aspect, the present application provides a method for allocating data volume of a user plane function, including:
the method comprises the steps that the resource utilization rate of a deep packet detection module and a charging module is obtained, the deep packet detection module is used for obtaining a classification result after application layer analysis is carried out on data, the classification result comprises different kinds of data, and the charging module is used for carrying out statistics charging according to the different kinds of data;
determining a current resource occupation value according to the sum of the resource utilization rates of the deep packet inspection module and the charging module;
and determining whether to send the data to a deep packet inspection module and a service quality module according to the current resource occupation value, wherein the service quality module is used for carrying out differentiation processing on transmission quality of different kinds of data and sending the processed different kinds of data to the charging module.
In one possible design, the determining whether to send data to the deep packet inspection module and the quality of service module according to the current resource occupation value includes:
judging whether the current resource occupation value is smaller than a first resource threshold value or not;
if yes, the current data are controlled to be sent to the deep packet inspection module, and the deep packet inspection module sends the classification result to the service quality module;
if not, controlling part of the current data to be sent to a deep packet inspection module and the rest to be sent to the service quality module, wherein the deep packet inspection module sends the classification result of the part of the data to the service quality module.
In one possible design, the controlling the sending of the part of the current data to the deep packet inspection module and the remaining part to the qos module includes:
acquiring a category identifier of each data in the current data;
determining a data set according to the category identification, wherein each data in the data set has the same category identification;
and transmitting at least one item of data in the data set to the deep packet detection module, transmitting part of the residual data to the deep packet detection module according to the current resource occupation value, and transmitting the residual part to the service quality module.
In one possible design, the sending the part of the remaining data to the deep packet inspection module and the remaining part to the qos module according to the current resource occupancy value includes:
and if the current resource occupation value is smaller than a second resource threshold, controlling the residual data of the first proportion to be sent to the deep packet inspection module, and sending the residual data to the service quality module, wherein the first resource threshold is smaller than the second resource threshold.
In one possible design, the sending the part of the remaining data to the deep packet inspection module and the remaining part to the qos module according to the current resource occupancy value includes:
and if the current resource occupation value is not smaller than a second resource threshold value, controlling the remaining data of a second proportion to be sent to a deep packet inspection module, and sending the remaining data to a service quality module, wherein the first proportion is larger than the second proportion.
In one possible design, the resources include at least one of a processor, a memory, or a storage.
In a second aspect, the present application provides a data volume allocation apparatus for a user plane function, including:
the system comprises a processing module, a deep packet inspection module, a service quality module and a charging module;
the processing module is used for executing a data volume distribution method of the user plane function.
In a third aspect, the present application provides an apparatus for a user plane function, the apparatus comprising:
the system comprises an input port, a processing module, a deep packet inspection module, a service quality module, a charging module and an output port;
the processing module is used for executing a data volume distribution method of the user plane function.
In a fourth aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes the computer-executed instructions stored in the memory to implement a data size allocation method for the user plane function.
In a fifth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, are operable to implement a method of data size distribution for user plane functions.
In a sixth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, performs a method of data volume allocation for a user plane function.
According to the data volume distribution method, the device and the storage medium for the user plane function, the deep packet detection module and the charging module are used for obtaining the classification result after application layer analysis is carried out on the data, the classification result comprises different kinds of data, and the charging module is used for carrying out statistics charging according to the different kinds of data; determining a current resource occupation value according to the sum of the resource utilization rates of the deep packet inspection module and the charging module; and determining whether to send the data to a deep packet inspection module and a service quality module according to the current resource occupation value, wherein the service quality module is used for carrying out differential processing on transmission quality of different kinds of data and sending the processed different kinds of data to the charging module, so that the function of reasonably distributing data according to the current resource occupation value is realized, and slow running and system blocking of a server caused by higher resource occupation of the deep packet inspection module are avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an application scenario schematic diagram of data size distribution of a user plane function provided in an embodiment of the present application;
fig. 2a is a schematic flow chart of a data size allocation method of a user plane function according to an embodiment of the present application;
fig. 2b is a schematic diagram of data trend inside the user plane function device according to the embodiment of the present application;
fig. 3 is a second flow chart of a data size allocation method of a user plane function according to an embodiment of the present application;
fig. 4 is a flowchart of a data size allocation method of a user plane function according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a data volume allocation device of a user plane function according to an embodiment of the present application;
fig. 6 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application, as detailed in the accompanying claims, rather than all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Related concepts or nouns referred to in this application are explained first:
deep packet inspection (Deep Packet Inspection, DPI) module: the processing module is a computer network data packet filtering technology, which is used for checking the data part (possibly including the header) of the data packet passing through the detection point to search the protocol, virus, junk mail and intrusion of the unmatched specification, or determining whether the data packet can pass or need to be routed to other different destinations according to a preset criterion, or for the purpose of collecting statistical data, or realizing the functions of traffic shaping and the like.
Quality of service (Quality of Service, qoS) module: the module performs differentiated processing on service messages belonging to different types according to the classification result of the service data, and a specific mode may be a promised access rate (CommittedAccessRate, CAR) or traffic shaping (shaping).
A general packet radio service technology tunneling protocol (General Packet Radio Service Transportation Protocol, GTP) module: the method is to establish a communication tunnel with 5G base station equipment and encapsulate and decapsulate data according to protocol standards.
And a charging module: the method is to perform statistical charging according to the classification result of the network message, and the statistical dimension of the statistical charging is related to the service and can be flexibly configured.
Internet protocol (Internet Protocol, IP) forwarding module: the method is to package the service message in the IP data format and transmit the service message to the output port module.
An input port: the optical module is used for receiving the wireless signal sent by the 5G base station side, converting the optical signal into an electrical signal and taking the physical form of an input port as the optical module.
An output port: refers to the conversion of message data from electrical signals to optical signals and into a data network.
And (3) a safety module: the method is characterized in that operations such as packet verification and distributed denial of service attack (Distributed Denial of Service, DDoS) prevention are performed on received data, validity and safety of a message are checked, and data which do not meet requirements are discarded.
Public Clouds (Public Clouds): typically, the third party provider provides a cloud capable of being used for users, and public cloud can be used through the Internet, and may be free or low-cost, and the core attribute of the public cloud is shared resource service, such as ali cloud or messenger cloud.
Private cloud (Private Clouds): is constructed for use by a single customer, thus providing the most effective control over data, security, and quality of service, a company owns the infrastructure and can control the manner in which applications are deployed on this infrastructure, and private clouds can be deployed within the firewall of an enterprise data center or at a secure hosting site, the core attribute of which is proprietary resources.
Resource utilization rate: mainly refers to the use condition of computer hardware, including: the CPU utilization, memory occupancy, hard disk occupancy, etc. can be generally obtained directly.
Multi-access edge computation (Mobile Edge Computing, MEC): the cloud computing system can be regarded as a cloud server running on the edge of a mobile network and running specific tasks, namely cloud computing on the edge of the network, and the cloud computing system deploys computing power at a position closer to a user, so that network time delay can be reduced, computing power and application can be provided for the user nearby, and service experience can be greatly improved.
The application scene is as follows:
fig. 1 is an application scenario schematic diagram of a data size distribution method of a user plane function provided in an embodiment of the present application. As shown in fig. 1, the network data transmission path of the fifth generation mobile phone mobile communication standard+user plane function+multiple access edge computing (5th generation+User Plane Function+Multi-access Edge Computing, 5g+upf+mec) is from the service terminal, and sequentially passes through the service terminal 101, the 5G base station 102, and the UPF103, and then reaches the enterprise private cloud 104 or the central cloud 105, where the UPF reaches the central cloud and further needs to pass through the MEC edge node 106 and the core network device 107.
The service terminal 101 transmits information to the 5G base station 102,5G base station 102 in a wireless manner, receives a wireless signal, converts the wireless signal into a light signal of wired communication, transmits the light signal to the UPF103, and the UPF103 equipment finishes the distribution of service data, at this time, the data flow of the UPF103 has two directions, one direction is transmitted to the MEC edge node 106 and is transmitted to the central cloud 105 through the MEC edge node 106 and the core network equipment 107, the central cloud 105 is also called public cloud, and the other direction is directly transmitted to the enterprise private cloud 104, and the enterprise private cloud 104 is often deployed inside an enterprise self-park, generally through enterprise self-building, and compared with the public cloud, the enterprise maintains the infrastructure of the private cloud.
In general, the UPF device is a transfer station for service data, and user service data can be forwarded in time through UPF.
Inside the UPF device there are different types of functional modules that are different for the occupation of underlying resources, which are very limited since the UPF acts as a miniaturized relay device. However, at present, the UPF devices are all operated by default configuration, and no special internal resource scheduling mechanism is configured to reasonably allocate the data volume, so that the core computing resources of the UPF can be efficiently utilized.
The data volume distribution method of the user plane function determines the distribution mode of the internal data volume by acquiring and analyzing the resource occupancy rate of the deep packet detection module and the charging module with larger occupied resources in UPF equipment in real time, and aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2a is a schematic flow chart of a data size allocation method of a user plane function according to an embodiment of the present application. Fig. 2b is a schematic diagram of data trend inside the user plane function device according to the embodiment of the present application. The data volume allocation method is described in detail with reference to fig. 2a and 2 b.
As shown in fig. 2b, the user plane function device includes an input port 201, a security module 202 and a GTP module 203 which are sequentially connected, after the data are sequentially processed by the above modules, the data are distributed to a deep packet inspection module 209 and a quality of service module 205 through a preset rule module 204, and the data are finally received by the quality of service module 205 and are correspondingly distributed, so that a charging module 206 is connected with the quality of service module 205, thereby facilitating classified charging of the classified data, and after charging is completed, the data processing process of the data in the user plane function device is completed through an output port 208 connected with an IP module 207.
The following describes in detail the manner of determining the allocation of the internal data amount according to the resource occupancy of the deep packet inspection module and the billing module with reference to fig. 2 a. As shown in fig. 2a, the method comprises:
s201, acquiring resource utilization rates of a deep packet inspection module and a charging module, wherein the deep packet inspection module is used for obtaining a classification result after application layer analysis is carried out on data, the classification result comprises different kinds of data, and the charging module is used for carrying out statistics charging according to the different kinds of data;
specifically, the deep packet inspection module has very important meaning in the user plane function, and can analyze the application layer of the data received by the user plane function, judge the category of the data, realize the function of data classification, and occupy a large amount of computing resources because the classification process needs to analyze the data.
The charging module is used for counting service items related to data after the data are classified, different data classifications correspond to different services, different services correspond to different charging rules, and in order to achieve flexible charging dimension and granularity, logic is complex, so that the charging module also needs to spend certain computing resources for classifying and counting, and especially when new services and charging demands are met, the original charging logic may also need to be modified, and resources are more consumed.
In summary, the deep packet inspection module and the charging module are both modules consuming computing resources in the user plane function, and in order to improve the processing efficiency of the user plane function, it is necessary to perform reasonable allocation of data volume on the two modules.
S202, determining a current resource occupation value according to the sum of the resource utilization rates of the deep packet inspection module and the charging module;
specifically, since the deep packet inspection module and the charging module occupy the computing resources of the same central processing unit (central processing unit, CPU), after the resource utilization rates of the deep packet inspection module and the charging module are obtained, the deep packet inspection module and the charging module are added and processed, so that the current resource occupation value capable of judging whether the current computing resources are abundant is obtained.
S203, determining whether to send the data to a deep packet inspection module and a service quality module according to the current resource occupation value, wherein the service quality module is used for carrying out differentiation processing on transmission quality of different kinds of data and sending the processed different kinds of data to the charging module.
Specifically, the user plane function further comprises a service quality module, which is used for carrying out differentiated processing on service messages belonging to different types according to the classification result of service data, the specific mode can be promised access rate or traffic shaping and the like, faster and more reliable forwarding service can be provided for messages with high priority, the service quality can not increase network broadband, and therefore network resources occupied by the service quality module is not required to be calculated.
After the current resource occupation value is obtained, the affiliated range of the current resource occupation value needs to be judged according to a preset rule, the resource occupation value is divided into three sections, namely a low occupation section, a medium occupation section and a high occupation section which are divided by a first resource threshold and a second resource threshold, wherein the low occupation section indicates that the current resource occupation value is very low, data can be slowly analyzed by a deep packet detection module without influencing the normal operation of a server, the high occupation section indicates that the current resource occupation value is higher, and the normal operation of the server is influenced.
According to the method provided by the embodiment, the resource utilization rate of the deep packet inspection module and the charging module is obtained, the deep packet inspection module is used for obtaining a classification result after application layer analysis is carried out on data, the classification result comprises different kinds of data, and the charging module is used for carrying out statistics charging according to the different kinds of data; determining a current resource occupation value according to the sum of the resource utilization rates of the deep packet inspection module and the charging module; and determining whether to send the data to a deep packet inspection module and a service quality module according to the current resource occupation value, wherein the service quality module is used for carrying out differential processing on transmission quality of different kinds of data and sending the processed different kinds of data to the charging module, so that the function of reasonably distributing data according to the current resource occupation value is realized, and slow running and system blocking of a server caused by higher resource occupation of the deep packet inspection module are avoided.
The data volume allocation method of the user plane function of the present application will be described in detail with reference to a specific embodiment.
Fig. 3 is a schematic flow chart of a data size allocation method of a user plane function according to an embodiment of the present application. As shown in fig. 3, the method includes:
s301, acquiring resource utilization rates of a deep packet inspection module and a charging module;
the deep packet inspection module is used for obtaining a classification result after application layer analysis is carried out on data, the classification result comprises different kinds of data, the charging module is used for carrying out statistical charging according to the different kinds of data, and the resources comprise at least one of a processor, a memory or a storage;
specifically, the deep packet inspection module and the charging module are both modules consuming computing resources in the user plane function, and in order to improve the processing efficiency of the user plane function, the statistics of the data amounts of the two modules needs to be emphasized, so that the resource occupancy rates of the two modules are firstly acquired.
S302, determining a current resource occupation value according to the sum of the resource utilization rates of the deep packet inspection module and the charging module;
specifically, for the server, the resources occupied by the user plane function determine the running speed of the whole system, so that the resource utilization rates of two modules with the largest consumption of resources in the user plane function are added to approximately represent the resource occupancy rate of the whole user plane function, and the sum value of the two added modules is the current resource occupancy value.
S303, judging whether the current resource occupation value is smaller than a first resource threshold, if so, executing S304, and if not, executing S305;
specifically, the first resource threshold is the sum of the maximum resource utilization rates of the servers in the idle state, so that whether the current resources are enough to support the analysis work of the deep packet inspection module on all data can be judged by comparing the current resource occupation value with the first resource threshold.
S304, controlling the current data to be sent to the deep packet inspection module;
the deep packet inspection module sends the classification result to the service quality module, the deep packet inspection module sends the classification result of partial data to the service quality module, and the service quality module is used for carrying out transmission quality differentiation processing on different kinds of data and sending the processed different kinds of data to the charging module;
specifically, when the current resource occupation value is smaller than the first resource threshold value, it indicates that the computing resources of the server are abundant at this time, and the deep packet inspection module can analyze the data in all aspects and perform traffic shaping on the data, so that the data is sent to the deep packet inspection module for processing without considering the limited resources.
And S305, controlling part of the current data to be sent to a deep packet inspection module and the rest to be sent to the service quality module.
Specifically, when the current resource occupation value is greater than or equal to the first resource threshold, it is indicated that the computing resource of the server is generally, in order to better use the computing resource, only a part, for example, 60-80% of the data volume is allocated to the deep packet inspection module, and the remaining data volume is directly sent to the quality of service module, so that no further analysis processing is required.
According to the method provided by the embodiment, the resource utilization rate of the deep packet inspection module and the charging module is obtained; determining a current resource occupation value according to the sum of the resource utilization rates of the deep packet inspection module and the charging module; judging whether the current resource occupation value is smaller than a first resource threshold value, if yes, controlling current data to be sent to the deep packet inspection module; if not, controlling part of the current data to be sent to the deep packet inspection module and the rest to be sent to the service quality module, so as to realize reasonable distribution of data volume under the condition of low current resource occupation value, and enabling the data to be comprehensively analyzed by the deep packet inspection module preferentially while not affecting normal operation of the server, thereby improving the processing effect of the data.
Fig. 4 is a flowchart of a data size allocation method of a user plane function according to an embodiment of the present application. As shown in fig. 4, on the basis of the above embodiment, the present embodiment describes in detail the operation of controlling a part of current data to be sent to the deep packet inspection module and the rest to be sent to the quality of service module.
S401, acquiring a category identifier of each piece of data in the current data;
specifically, the data is split into a plurality of small data packets due to the limitation of the transmission size in the transmission process, and the small data packets all have the same category identification, for example, the head character strings are the same, so that the small data packets can be conveniently recombined into complete data according to the same category identification after being received.
S402, determining a data set according to the category identification, wherein each data in the data set has the same category identification;
specifically, the data identified by the same category is divided into the same data set, and the data in the same data set has similar structures, for example, all belong to the same video data or all belong to the same audio data, so that the data in the data set can be further distributed.
S403, at least one item of data in the data set is sent to the deep packet inspection module;
specifically, at least one item of data is sent to the deep packet inspection module for processing, and the rest of data in the data set is classified according to the processing result of the deep packet inspection module, so that the processing speed is improved and the resource occupation of the server is reduced while the classification is accurate.
S404, if the current resource occupation value is smaller than a second resource threshold, controlling the residual data of a first proportion to be sent to the deep packet inspection module, and the residual data to be sent to the service quality module, wherein the first resource threshold is smaller than the second resource threshold;
specifically, when the current resource occupation value is between the first resource threshold value and the second resource threshold value, the server resource occupation situation is indicated to be general, and at this time, more than half of data in the data set can be properly sent to the deep packet inspection module for analysis.
And S405, if the current resource occupation value is not smaller than a second resource threshold, controlling the remaining data of a second proportion to be sent to a deep packet inspection module, and sending the remaining data to a service quality module, wherein the first proportion is larger than the second proportion.
Specifically, when the current resource occupation value is greater than the second resource threshold value, the server resource occupation is indicated to be higher, and the server resource occupation is likely to be in full-load operation or in cartoon operation at any time, in order to avoid the occurrence of the situation, only a small amount of data sets are sent to the deep packet detection module, for example, only the first data set is extracted from each data set and sent to the deep packet detection module, and the rest data sets are all sent to the service quality module, so that the calculation amount of the server is reduced.
According to the method provided by the embodiment, the category identification of each data in the current data is obtained; determining a data set according to the category identification, wherein each data in the data set has the same category identification; transmitting at least one item of data in the data set to the deep packet inspection module; if the current resource occupation value is smaller than a second resource threshold, controlling the residual data of a first proportion to be sent to the deep packet inspection module, and the residual data to be sent to the service quality module, wherein the first resource threshold is smaller than the second resource threshold; if the current resource occupation value is not smaller than the second resource threshold, the remaining data of the second proportion is controlled to be sent to the deep packet inspection module, the remaining data is sent to the service quality module, and the means that the first proportion is larger than the second proportion realizes that the data packet inspection module is not passed as much as possible under the condition that the current resource occupation value is higher so as to avoid that the operation of the server is influenced by larger resource occupation rate, but at least one piece of data of the same category identification is analyzed and processed by the deep packet inspection module so as to take the data of other same category identifications as processing references.
The embodiment of the invention can divide the functional modules of the electronic device or the main control device according to the method example, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated in one processing unit. The integrated units may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present invention, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
Fig. 5 is a schematic structural diagram of a data volume allocation device of a user plane function according to an embodiment of the present application. As shown in fig. 5, the apparatus 50 includes:
a processing module 501, a deep packet inspection module 502, a quality of service module 503, and a billing module 504;
the processing module 501 is configured to perform a data volume allocation method of a user plane function.
Specifically, the processing module 501 is specifically configured to:
the method comprises the steps that the resource utilization rate of a deep packet detection module and a charging module is obtained, the deep packet detection module is used for obtaining a classification result after application layer analysis is carried out on data, the classification result comprises different kinds of data, and the charging module is used for carrying out statistics charging according to the different kinds of data;
determining a current resource occupation value according to the sum of the resource utilization rates of the deep packet inspection module and the charging module;
and determining whether to send the data to a deep packet inspection module and a service quality module according to the current resource occupation value, wherein the service quality module is used for carrying out differentiation processing on transmission quality of different kinds of data and sending the processed different kinds of data to the charging module.
In one possible design, the determining whether to send data to the deep packet inspection module and the quality of service module according to the current resource occupation value includes:
judging whether the current resource occupation value is smaller than a first resource threshold value or not;
if yes, the current data are controlled to be sent to the deep packet inspection module, and the deep packet inspection module sends the classification result to the service quality module;
if not, controlling part of the current data to be sent to a deep packet inspection module and the rest to be sent to the service quality module, wherein the deep packet inspection module sends the classification result of the part of the data to the service quality module.
In one possible design, the controlling the sending of the part of the current data to the deep packet inspection module and the remaining part to the qos module includes:
acquiring a category identifier of each data in the current data;
determining a data set according to the category identification, wherein each data in the data set has the same category identification;
and transmitting at least one item of data in the data set to the deep packet detection module, transmitting part of the residual data to the deep packet detection module according to the current resource occupation value, and transmitting the residual part to the service quality module.
In one possible design, the sending the part of the remaining data to the deep packet inspection module and the remaining part to the qos module according to the current resource occupancy value includes:
and if the current resource occupation value is smaller than a second resource threshold, controlling the residual data of the first proportion to be sent to the deep packet inspection module, and sending the residual data to the service quality module, wherein the first resource threshold is smaller than the second resource threshold.
In one possible design, the sending the part of the remaining data to the deep packet inspection module and the remaining part to the qos module according to the current resource occupancy value includes:
and if the current resource occupation value is not smaller than a second resource threshold value, controlling the remaining data of a second proportion to be sent to a deep packet inspection module, and sending the remaining data to a service quality module, wherein the first proportion is larger than the second proportion.
In one possible design, the resources include at least one of a processor, a memory, or a storage.
The data volume allocation device for the user plane function provided in this embodiment may perform the data volume allocation method for the user plane function in the foregoing embodiment, and its implementation principle and technical effects are similar, which is not described herein again.
In another embodiment, there is also provided an apparatus for a user plane function, the apparatus including:
the system comprises an input port, a processing module, a deep packet inspection module, a service quality module, a charging module and an output port;
the processing module is configured to execute the data size distribution method of the user plane function in the above embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein.
In the foregoing specific implementation of the data volume allocation apparatus of the 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 foregoing data volume allocation method of the user plane function.
Fig. 6 is a schematic hardware structure of an electronic device according to an embodiment of the present application. As shown in fig. 6, the electronic device 60 includes: at least one processor 601 and a memory 602. The electronic device 60 further comprises a communication component 603. The processor 601, the memory 602, and the communication section 603 are connected via a bus 604.
In a specific implementation process, the at least one processor 601 executes computer-executed instructions stored in the memory 602, so that the at least one processor 601 executes the data size allocation method of the user plane function executed on the electronic device side as above.
The specific implementation process of the processor 601 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the above embodiment, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise high speed RAM memory or may further comprise non-volatile storage NVM, such as at least one disk memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
The scheme provided by the embodiment of the invention is introduced aiming at the functions realized by the electronic equipment and the main control equipment. It will be appreciated that the electronic device or the master device, in order to implement the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. The present embodiments can be implemented in hardware or a combination of hardware and computer software in combination with the various exemplary elements and algorithm steps described in connection with the embodiments disclosed in the embodiments of the present invention. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application, but such implementation is not to be considered as beyond the scope of the embodiments of the present invention.
The present application also provides a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement a data volume allocation method for the above user-interface functions.
The computer readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or 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, magnetic disk, or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). The processor and the readable storage medium may reside as discrete components in an electronic device or a master device.
The application also provides a computer program product comprising a computer program which, when executed by a processor, implements the method for processing a network transmission path described above.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; while the invention has been described in detail with reference to the foregoing embodiments, it will be appreciated by those skilled in the art that variations may be made in the techniques described in the foregoing embodiments, or equivalents may be substituted for in part or in whole; such modifications and substitutions do not depart from the spirit of the invention.

Claims (10)

1. A method for allocating data volume of a user plane function, comprising:
the method comprises the steps that the resource utilization rate of a deep packet detection module and a charging module is obtained, the deep packet detection module is used for obtaining a classification result after application layer analysis is carried out on data, the classification result comprises different kinds of data, and the charging module is used for carrying out statistics charging according to the different kinds of data;
determining a current resource occupation value according to the sum of the resource utilization rates of the deep packet inspection module and the charging module;
and determining whether to send the data to a deep packet inspection module and a service quality module according to the current resource occupation value, wherein the service quality module is used for carrying out differentiation processing on transmission quality of different kinds of data and sending the processed different kinds of data to the charging module.
2. The method of claim 1, wherein determining whether to send data to a deep packet inspection module and a quality of service module based on the current resource occupancy value comprises:
judging whether the current resource occupation value is smaller than a first resource threshold value or not;
if yes, the current data are controlled to be sent to the deep packet inspection module, and the deep packet inspection module sends the classification result to the service quality module;
if not, controlling part of the current data to be sent to a deep packet inspection module and the rest to be sent to the service quality module, wherein the deep packet inspection module sends the classification result of the part of the data to the service quality module.
3. The method of claim 2, wherein the controlling the portion of the current data to be sent to a deep packet inspection module and the remaining portion to be sent to the quality of service module comprises:
acquiring a category identifier of each data in the current data;
determining a data set according to the category identification, wherein each data in the data set has the same category identification;
and transmitting at least one item of data in the data set to the deep packet detection module, transmitting part of the residual data to the deep packet detection module according to the current resource occupation value, and transmitting the residual part to the service quality module.
4. A method according to claim 3, wherein said sending the portion of the remaining data to the deep packet inspection module and the remaining portion to the quality of service module according to the current resource occupancy value comprises:
and if the current resource occupation value is smaller than a second resource threshold, controlling the residual data of the first proportion to be sent to the deep packet inspection module, and sending the residual data to the service quality module, wherein the first resource threshold is smaller than the second resource threshold.
5. The method of claim 4, wherein the sending the portion of the remaining data to the deep packet inspection module and the remaining portion to the quality of service module based on the current resource occupancy value comprises:
and if the current resource occupation value is not smaller than a second resource threshold value, controlling the remaining data of a second proportion to be sent to a deep packet inspection module, and sending the remaining data to a service quality module, wherein the first proportion is larger than the second proportion.
6. The method of claim 1, wherein the resource comprises at least one of a processor, a memory, or a storage.
7. A data volume allocation device for a user plane function, the device comprising:
the system comprises a processing module, a deep packet inspection module, a service quality module and a charging module;
the processing module is configured to perform the method of any of claims 1 to 6.
8. An apparatus for user plane functionality, the apparatus comprising:
the system comprises an input port, a processing module, a deep packet inspection module, a service quality module, a charging module and an output port;
the processing module is configured to perform the method of any of claims 1 to 6.
9. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1 to 6.
10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1 to 6.
CN202211555144.4A 2022-12-06 2022-12-06 Data volume distribution method, equipment and storage medium for user plane function Pending CN116033493A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211555144.4A CN116033493A (en) 2022-12-06 2022-12-06 Data volume distribution method, equipment and storage medium for user plane function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211555144.4A CN116033493A (en) 2022-12-06 2022-12-06 Data volume distribution method, equipment and storage medium for user plane function

Publications (1)

Publication Number Publication Date
CN116033493A true CN116033493A (en) 2023-04-28

Family

ID=86073174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211555144.4A Pending CN116033493A (en) 2022-12-06 2022-12-06 Data volume distribution method, equipment and storage medium for user plane function

Country Status (1)

Country Link
CN (1) CN116033493A (en)

Similar Documents

Publication Publication Date Title
CN111770028B (en) Method and network device for computer network
CN111683011B (en) Message processing method, device, equipment and system
WO2021207922A1 (en) Packet transmission method, device, and system
EP2806602A1 (en) Feature extraction device, network traffic identification method, device and system.
US20200142734A1 (en) Service scheduling method and apparatus, and network device
CN112202930B (en) Method, POP and system for accessing mobile equipment to SD-WAN (secure digital-to-WAN) network
CN110944039B (en) Micro-service discovery method, system and device for 5G access network
CN112954069A (en) Method, device and system for accessing mobile equipment to SD-WAN (secure digital-Wide area network)
CN114285781B (en) SRV6 service flow statistics method, device, electronic equipment and medium
EP3962157A1 (en) Mdbv determining method, apparatus, and system
CN104160735A (en) Packet processing method, forwarder, packet processing device and packet processing system
CN111556530A (en) Data processing method and UPF unit
CN116033493A (en) Data volume distribution method, equipment and storage medium for user plane function
CN110708678A (en) Communication method and device
CN114270788A (en) Traffic monitoring in a network node
CN115426320A (en) Security resource scheduling method and device, electronic equipment and storage medium
US20220116305A1 (en) Message sending and receiving methods and apparatuses, and communication system
US20220210091A1 (en) Bandwidth management and configuration method for cloud service, and related apparatus
CN116074784A (en) Vehicle-mounted data transmission method and device and storage medium
CN116033495A (en) Service data processing method, equipment and storage medium for user plane function
WO2016000481A1 (en) Path switching method and network device
CN113630809B (en) Service forwarding method and device and computer readable storage medium
WO2020103420A1 (en) Data transmission method and receiving method, devices and system
CN114615155A (en) Method and device for deploying service
CN114866488A (en) Information flow identification method, network chip and network equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination