Data processing method and apparatus, and network device, network function and medium
By defining a data processing model, the limitations of data processing rules in 5G networks are addressed, enabling flexible management of data streams and data transmission under various topologies in 6G networks, ensuring efficient, accurate, and secure transmission of data packets.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- DATANG MOBILE COMM EQUIP CO LTD
- Filing Date
- 2025-10-21
- Publication Date
- 2026-06-11
Smart Images

Figure CN2025129088_11062026_PF_FP_ABST
Abstract
Description
A data processing method, apparatus, network device, network function, and medium
[0001] Cross-references to related applications
[0002] This disclosure claims priority to Chinese Patent Application No. 202411772433.9, filed on December 4, 2024, entitled “A data processing method, apparatus, network device, network function and medium”, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This disclosure relates to the field of communications, specifically to a data processing method, apparatus, network device, network function, and medium. Background Technology
[0004] The fifth-generation mobile communication technology (5G) network architecture mainly provides connectivity services. In the future, the sixth-generation mobile communication technology (6G) network will add new capabilities such as artificial intelligence (AI), data, and computing. The 6G network will add non-user plane data such as intelligence, perception, and network operation itself. In order to systematically solve the needs of 6G network for the management and value-added of non-user plane data, the 6G network proposes a data plane architecture that is independent of the traditional user plane.
[0005] Traditional 5G core network (5GC) controls and users are connected via the N4 interface through Packet Forwarding Control Protocol Sessions (PFCP Sessions). This allows for the distribution of rules for user plane data processing between the Session Management Function (SMF) and User Plane Function (UPF) functions within the control plane. However, the traditional user plane only supports point-to-point forwarding of user data without parsing or processing the data content. Introducing a data plane allows for the in-path processing of new 6G network data (AI, sensing, computing, etc.) in addition to traditional user plane data, and supports data processing on paths with arbitrary topologies. Therefore, network functions with data processing capabilities are not limited to the original user plane functions, and existing user plane rules are inapplicable to the data plane. Thus, data processing rules need to be redefined, and the distribution method redesigned. Summary of the Invention
[0006] At least one embodiment of this disclosure provides a data processing method, apparatus, network device, network function, and medium, which realizes the definition and distribution of data processing rules, and supports point-to-point, point-to-multipoint, and multipoint-to-multipoint data transmission and data in-path processing.
[0007] In a first aspect, embodiments of this disclosure propose a data processing method applied to a network device, the method comprising:
[0008] A data processing model is received, comprising: a first rule and at least one second rule; wherein the first rule is used to match the data stream to be processed, and at least one second rule is used to process the data stream matched by the first rule;
[0009] Based on the first rule, determine the first data stream that matches the first rule;
[0010] The first data stream is processed based on at least one second rule.
[0011] In some embodiments, a first rule corresponds to a data service, and a data service corresponds to at least one first rule; the first rule is used to match one or more data streams belonging to the same data service.
[0012] In some embodiments, the first rule is also used to define the identifier and logical relationship of at least one second rule.
[0013] In some embodiments, the first rule includes at least one of the following:
[0014] First rule identifier, first rule priority, and at least one optional element;
[0015] At least one of the following options is included:
[0016] Data service identifier, data service type, data service requester identifier, protocol stack type, data flow description information list, first rule lifetime, first rule expiration time, at least one second rule identifier, and at least one logical relationship between second rules.
[0017] In some embodiments, at least one second rule includes at least one of the following:
[0018] Data management rules, data processing rules, data service quality control rules, and task statistics rules.
[0019] In some embodiments, data management rules include at least one of the following:
[0020] Data management rule identifier, management action, execution action time, forwarding parameter list, cache / storage parameters, replication parameters, segmentation parameters, and protocol stack processing parameters.
[0021] In some embodiments, the data processing rules include at least one of the following:
[0022] Data processing rule identifier, data processing rule priority, data processing action list, data processing parameters, data processing method, and data processing algorithm.
[0023] In some embodiments, data service quality control rules include at least one of the following:
[0024] Data service quality control rule identifier, data service quality control rule priority, maximum data transmission rate, maximum data processing rate, data storage overhead, data processing energy consumption, data processing computational load, data service business priority, data processing requirements, data security requirements, data processing accuracy, data compression ratio, bandwidth guarantee, traffic scheduling, packet loss control, latency sensitivity, bandwidth limitation, and congestion control.
[0025] In some embodiments, task statistics rules include at least one of the following:
[0026] Task statistics rule identifier, task statistics rule priority, reporting method, task execution progress, traffic usage, data volume, error indication report, load balancing information, overload control information, additional task statistics report information, data processing rate, and data transmission rate.
[0027] In some embodiments, the receiving data processing model includes:
[0028] Receive a first message, which includes a data processing model and at least one of the following:
[0029] Data service identifier, first network function identifier, network device identifier, data processing model identifier, user group information, and lifetime timestamp.
[0030] In some embodiments, after receiving the data processing model, the method further includes:
[0031] Accept all or part of the rules in the data processing model.
[0032] In some embodiments, after accepting all or part of the rules in the data processing model, the method further includes:
[0033] Send a data processing model response, which includes at least one of the following:
[0034] Instruction information, reason information;
[0035] The indication information is used to indicate the received result of the data processing model, and the reason information is the reason corresponding to the received result.
[0036] In some embodiments, the method further includes:
[0037] The second data stream is either discarded or processed based on the default data processing procedure; the second data stream is the one that does not match the first rule.
[0038] In some embodiments, the method further includes:
[0039] Receive subscription requests, which are used to subscribe to the status of the data processing model and / or the status of data service operations. The subscription request includes at least one of the following:
[0040] Subscription identifier, subscription event identifier, first network function identifier, network device identifier, data processing model identifier, data service identifier;
[0041] Send subscription information if the subscription event changes.
[0042] In some embodiments, the method further includes:
[0043] Receive an update request, which includes at least one of the following:
[0044] Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
[0045] In some embodiments, after receiving an update request, the method further includes:
[0046] Send an update response, which includes at least one of the following:
[0047] Instruction information, reason information;
[0048] The indication information indicates the update result of the data processing model, and the reason information is the reason for the update result.
[0049] In some embodiments, the method further includes:
[0050] Send an update request, which includes at least one of the following:
[0051] Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
[0052] In some embodiments, after sending the update request, the method further includes:
[0053] Receive an update response, which includes at least one of the following:
[0054] Instruction information, reason information;
[0055] The indication information indicates the update result of the data processing model, and the reason information is the reason for the update result.
[0056] In some embodiments, the method further includes:
[0057] Receive a release request, which includes at least one of the following:
[0058] Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
[0059] In some embodiments, after receiving a release request, the method further includes:
[0060] Delete the data processing model stored locally and update the data processing context;
[0061] Send a release response, which includes at least one of the following:
[0062] Instruction information, reason information;
[0063] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0064] In some embodiments, the method further includes:
[0065] Send a release message, which includes at least one of the following:
[0066] Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
[0067] In some embodiments, after sending the release message, the method further includes:
[0068] Receive a release response, which includes at least one of the following:
[0069] Instruction information, reason information;
[0070] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0071] In some embodiments, the indication information includes any of the following:
[0072] Success indicator, partial success indicator, failure indicator;
[0073] Among them, the success indication is used to indicate that all rules in the data processing model have been accepted or that all rules in the update request have been updated;
[0074] A partial success indication is used to indicate that a portion of the rules in the data processing model has been accepted or that a portion of the rules in the update request has been updated.
[0075] Failure indicators are used to indicate that none of the rules in the data processing model have been accepted or none of the rules in the update request have been updated.
[0076] Secondly, embodiments of this disclosure propose a data processing method applied to network functions, the method comprising:
[0077] A data processing model is sent to a network device. The data processing model includes a first rule and at least one second rule. The first rule is used to match the data stream to be processed, and at least one second rule is used to process the data stream matched by the first rule.
[0078] In some embodiments, the data processing model is generated by the network function, or generated by the policy control function and sent to the network function.
[0079] In some embodiments, sending a data processing model to a network device includes:
[0080] Send a first message to the network device, the first message including a data processing model and at least one of the following:
[0081] Data service identifier, first network function identifier, network device identifier, data processing model identifier, user group information, and lifetime timestamp.
[0082] In some embodiments, sending a data processing model to a network device includes at least one of the following:
[0083] If the network device is a terminal, the data processing model is transparently transmitted to the network device through the access and mobility management functions and the radio access network.
[0084] If the network device is a wireless access network device, the data processing model is transparently transmitted to the network device through the access and mobility management functions;
[0085] If the network device is a user plane function, the data processing model is transparently transmitted to the network device through the session management function;
[0086] If the network device is a data processing function or a control plane network function, then send the data processing model to the network device.
[0087] In some embodiments, before sending the data processing model to the network device, the method further includes:
[0088] Receive data service requests;
[0089] Select network devices based on data service requests.
[0090] In some embodiments, the method further includes:
[0091] Receive a data processing model response, which includes at least one of the following:
[0092] Instruction information, reason information;
[0093] The indication information is used to indicate the received result of the data processing model, and the reason information is the reason corresponding to the received result.
[0094] In some embodiments, the method further includes:
[0095] If the indication is a partial success indication, which indicates that some rules in the data processing model have been accepted and the data processing model meets the data service requirements of the network device, then the data processing model is resent to the network device.
[0096] In some embodiments, the method further includes:
[0097] Send a subscription request, which is used to subscribe to the state of the data processing model and / or the state of the data service business. The subscription request includes at least one of the following:
[0098] Subscription identifier, subscription event identifier, first network function identifier, network device identifier, data processing model identifier, data service identifier.
[0099] In some embodiments, the method further includes:
[0100] Send an update request, which includes at least one of the following:
[0101] Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
[0102] In some embodiments, after sending the update request, the method further includes:
[0103] Receive an update response, which includes at least one of the following:
[0104] Instruction information, reason information;
[0105] The indication information indicates the update result of the data processing model, and the reason information is the reason for the update result.
[0106] In some embodiments, the method further includes:
[0107] Receive an update request, which includes at least one of the following:
[0108] Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
[0109] In some embodiments, after receiving an update request, the method further includes:
[0110] Send an update response, which includes at least one of the following:
[0111] Instruction information, reason information;
[0112] The indication information indicates the update result of the data processing model, and the reason information is the reason for the update result.
[0113] In some embodiments, the method further includes:
[0114] Send a release request, which includes at least one of the following:
[0115] Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
[0116] In some embodiments, after sending the release request, the method further includes:
[0117] Receive a release response, which includes at least one of the following:
[0118] Instruction information, reason information;
[0119] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0120] In some embodiments, the method further includes:
[0121] Receive a release message, which includes at least one of the following:
[0122] Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
[0123] In some embodiments, after receiving the release message, the method further includes:
[0124] Send a release response, which includes at least one of the following:
[0125] Instruction information, reason information;
[0126] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0127] In some embodiments, the indication information includes any of the following:
[0128] Success indicator, partial success indicator, failure indicator;
[0129] Among them, the success indication is used to indicate that all rules in the data processing model have been accepted or that all rules in the update request have been updated;
[0130] A partial success indication is used to indicate that a portion of the rules in the data processing model has been accepted or that a portion of the rules in the update request has been updated.
[0131] Failure indicators are used to indicate that none of the rules in the data processing model have been accepted or none of the rules in the update request have been updated.
[0132] Thirdly, embodiments of this disclosure also propose a data processing apparatus for use in network devices, the apparatus comprising:
[0133] A receiving unit is used to receive a data processing model, which includes a first rule and at least one second rule; wherein the first rule is used to match the data stream to be processed, and at least one second rule is used to process the data stream matched by the first rule.
[0134] The determining unit is used to determine a first data stream that matches the first rule based on the first rule;
[0135] A processing unit for processing a first data stream based on at least one second rule.
[0136] Fourthly, embodiments of this disclosure also propose a data processing apparatus applied to network functions, the method comprising:
[0137] The sending unit is used to send a data processing model to the network device. The data processing model includes a first rule and at least one second rule. The first rule is used to match the data stream to be processed, and the at least one second rule is used to process the data stream matched by the first rule.
[0138] Fifthly, embodiments of this disclosure also provide a network device, wherein the network device includes a memory, a transceiver, and a processor;
[0139] Memory is used to store computer programs; transceiver is used to send and receive data under the control of the processor; processor is used to read the computer program from memory and execute it.
[0140] A data processing model is received, comprising: a first rule and at least one second rule; wherein the first rule is used to match the data stream to be processed, and at least one second rule is used to process the data stream matched by the first rule;
[0141] Based on the first rule, determine the first data stream that matches the first rule;
[0142] The first data stream is processed based on at least one second rule.
[0143] In a sixth aspect, embodiments of this disclosure also provide a network function, wherein the network function includes a memory, a transceiver, and a processor;
[0144] Memory is used to store computer programs; transceiver is used to send and receive data under the control of the processor; processor is used to read the computer program from memory and execute it.
[0145] A data processing model is sent to a network device. The data processing model includes a first rule and at least one second rule. The first rule is used to match the data stream to be processed, and at least one second rule is used to process the data stream matched by the first rule.
[0146] In a seventh aspect, embodiments of this disclosure also provide a processor-readable storage medium, wherein the processor-readable storage medium stores a program for causing the processor to execute the data processing method of any embodiment of the first aspect or to execute the data processing method of any embodiment of the second aspect.
[0147] In at least one embodiment of this disclosure, a data processing model is received. The data processing model is used to manage and distribute rules for the data plane, realize the definition and distribution of data processing rules, and support point-to-point, point-to-multipoint, and multipoint-to-multipoint data transmission. Furthermore, the data stream is matched by a first rule defined in the data processing model, and the data stream is processed by a second rule defined in the data processing model, thereby enabling data processing along the path. Attached Figure Description
[0148] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings.
[0149] Figure 1 is a schematic flowchart of a data processing method provided in an embodiment of this disclosure;
[0150] Figure 2 is a flowchart illustrating another data processing method provided in an embodiment of this disclosure;
[0151] Figure 3 is a schematic diagram of the deployment of a data processing function provided in an embodiment of this disclosure;
[0152] Figure 4 is a schematic diagram of different data processing models provided in the embodiments of this disclosure;
[0153] Figure 5 is a schematic diagram of a data stream being copied and then processed independently according to an embodiment of this disclosure;
[0154] Figure 6 is a schematic diagram of a data processing model distribution process provided in an embodiment of this disclosure;
[0155] Figures 7A and 7B are schematic diagrams of the update process of two data processing models provided in the embodiments of this disclosure;
[0156] Figures 8A and 8B are schematic diagrams of the release process of two data processing models provided in the embodiments of this disclosure;
[0157] Figure 9 is a schematic diagram of a data processing apparatus provided in an embodiment of this disclosure;
[0158] Figure 10 is a schematic diagram of another data processing apparatus provided in an embodiment of this disclosure;
[0159] Figure 11 is a schematic diagram of a network device provided in an embodiment of this disclosure;
[0160] Figure 12 is a schematic diagram of a network function provided in an embodiment of this disclosure. Detailed Implementation
[0161] To better understand the above-described objectives, features, and advantages of this disclosure, the present disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It is to be understood that the described embodiments are only some, not all, of the embodiments of this disclosure. The specific embodiments described herein are merely for explaining this disclosure and are not intended to limit it. All other embodiments obtained by those skilled in the art based on the described embodiments of this disclosure are within the scope of protection of this disclosure.
[0162] It should be noted that in this article, relational terms such as “first” and “second” are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0163] In 5G networks, Packet Forwarding Control Protocol (PFCP) messages are used as the N4 interface between Control Plane Function (CPF) and User Plane Function (UPF) for interaction between the control plane and the user plane.
[0164] Control plane functions (such as Session Management Function (SMF)) control message processing and forwarding of user plane functions (such as UPF) by establishing, modifying, or deleting PFCP sessions.
[0165] The PFCP protocol controls the forwarding of user plane packets and is used to transmit forwarding rules for user plane packets between different network nodes. The main functions of the PFCP protocol include:
[0166] 1. Communication between the control plane and the user plane: The PFCP protocol is used in the 5G core network for communication between the control plane and the user plane, allowing elements in the core network control plane to configure and control elements in the user plane.
[0167] 2. Forwarding of user plane packets: The PFCP protocol is used to control the forwarding of user plane packets, including defining the rules and policies for packet forwarding.
[0168] 3. User plane session management: The PFCP protocol also supports user plane session management, allowing elements in the core network control plane to manage session states and traffic in the user plane.
[0169] The PECP protocol consists of three parts: message type, message header, message body, and TLV (Type-Length-Value). The message type defines the message type, the message header contains metadata information, the message body contains the actual message content, and the TLV is used to transmit parameter information within the message body.
[0170] It is important to note that the PFCP protocol is an extension and improvement of the GTP-U (GPRS Tunneling Protocol-User Plane) protocol, designed to support more efficient and flexible user plane packet forwarding and control.
[0171] The PFCP protocol is used to control the forwarding of user plane data packets, including defining the rules and policies for packet forwarding. Its message exchange process generally consists of the following steps:
[0172] 1. Establishing a Session: When user plane data streams need to be forwarded, elements in the control plane need to initiate a session establishment request to elements in the user plane. At this time, the control plane element sends a Session Establishment Request message to the user plane element, which contains some necessary parameter information, such as the Session ID.
[0173] 2. Confirm Session: When the user plane element receives a Session Establishment Request message, it will confirm whether a session can be established based on the parameters contained in the message. If the session can be established, the user plane element sends a Session Establishment Response message to the control plane element, which contains necessary parameter information such as the Session ID.
[0174] 3. Configuration Rules: After the session is established, the control plane element can send a PFCP message to the user plane element to configure the forwarding rules for the user plane data stream. At this time, the control plane element sends a PFCP rule configuration request message to the user plane element, which contains some necessary parameter information, such as rule ID, rule priority, and matching rule.
[0175] 4. Rule Confirmation: When the user plane element receives a PFCP rule configuration request message, it will confirm whether the rule can be configured based on the parameter information contained in the message. If it can be configured, the user plane element sends a PFCP rule configuration response message to the control plane element. This message contains some necessary parameter information, such as rule ID and result status.
[0176] 5. Update Rules: When user plane data streams need to be forwarded, control plane elements can send PFCP messages to user plane elements to update the forwarding rules for user plane data streams. At this time, the control plane element sends a PFCP rule update request message to the user plane element, which contains necessary parameter information such as the rule ID and the new matching rule.
[0177] 6. Update Confirmation: When the user plane element receives a PFCP rule update request message, it will confirm whether the update can proceed based on the parameters contained in the message. If it can proceed, the user plane element sends a PFCP rule update response message to the control plane element. This message contains some necessary parameter information, such as rule ID and result status.
[0178] Currently, the Packet Forwarding Control Protocol Session (PFCP Session) in 5G networks only supports information exchange between the Session Management Function (SMF) and the User Plane Function (UPF) in the control plane and the distribution of user plane data processing rules. It does not support the distribution of data processing rules for non-user plane functions, non-point-to-point data transmission modes, or in-path processing of data packets.
[0179] In the packet processing flow of user plane functions in 5G, during the Packet Data Unit (PDU) session establishment process, the policies issued by the SMF to the Radio Access Network (RAN) and the terminal (UE) mainly target Quality of Service (QoS) level parameters and charging controls, including QoS rules and QoS configuration files. The RAN determines the N3 tunnel information with the N3 UPF based on the issued CN Tunnel Info, which does not involve user plane data processing.
[0180] It is evident that 5G is a session-connection-oriented network, carrying only session content, i.e., information exchange between communication nodes. 6G, on the other hand, is a data-oriented network. Multi-dimensional, heterogeneous, and massive real-time data needs to be carried through a data pipeline comprised of functions such as collection, processing, transmission, storage, analysis, and privacy protection. In the 6G data plane, data management and processing take the form of a pipeline. Data not only travels through the pipeline but also undergoes collection, privacy de-sampling, processing, storage, and analysis at the nodes it flows through. Furthermore, in 5G, session establishment is predicated on the construction of a communication path, and the nodes on the path (usually routers or switches) are only responsible for forwarding session packets without processing them. However, in 6G networks, to meet the needs of new services and scenarios, the data forwarding entity (DA) on the data pipeline needs to process packets as needed before forwarding them to the next node. Therefore, the 6G data plane requires the construction of a new data-oriented forwarding mechanism.
[0181] In 5G, sessions are established point-to-point, aiming to establish a communication path between two points in complex network topologies. Unlike the point-to-point exchange of bit information in a session, the 6G data plane is distributed, therefore the data pipeline (such as data aggregation and distribution) needs to support arbitrary topologies.
[0182] To address at least one existing problem, embodiments of this disclosure provide a data processing method, apparatus, network device, network function, or medium. Before a network device with data processing capabilities (such as a user equipment (UE), radio access network (RAN) device (e.g., a base station), core network function (e.g., user plane function (UPF), data processing function (DPF), and other control plane network functions (CP NFs)) executes a data processing task, a data processing model is received. The data processing model defines the rules and strategies for data processing; that is, it manages and distributes data plane rules, enabling the definition and distribution of data processing rules and supporting point-to-point, point-to-multipoint, and multipoint-to-multipoint data transmission. This allows the network device to execute data processing tasks according to the data processing rules and strategies defined in the data processing model, achieving data processing along the path.
[0183] Figure 1 is a flowchart illustrating a data processing method provided in an embodiment of this disclosure. This data processing method is applied to a network device with data processing capabilities. The network device can be a terminal (UE), a radio access network (RAN) device (e.g., a base station), a core network function (e.g., user plane function (UPF), data processing function (DPF), and other control plane network functions (CP NFs)), supporting data services such as data processing, storage, and forwarding. As shown in Figure 1, the method may include, but is not limited to, steps 101 to 103:
[0184] In step 101, a data processing model is received, which includes a first rule and at least one second rule; wherein the first rule is used to match the data stream to be processed, and at least one second rule is used to process the data stream matched by the first rule.
[0185] In this model, a first rule corresponds to a data service, and a data service corresponds to at least one first rule. The first rule is used to match one or more data streams belonging to the same data service. If the data processing model includes multiple second rules, the first rule is also used to define the identifiers and logical relationships between the multiple second rules.
[0186] The data processing model defines at least one second rule for processing data streams, which enables operations such as forwarding, dropping, copying, encapsulation and decapsulation of data packets, ensuring efficient (e.g., copying data packets), accurate (e.g., dropping erroneous data packets), and secure (e.g., encapsulating data packets) transmission and processing of data packets in the network.
[0187] Furthermore, since the data processing model can define at least one second rule for processing data streams, it can define how data packets flow between network nodes, including but not limited to point-to-point, point-to-multipoint, and multipoint-to-multipoint transmission modes.
[0188] In step 102, a first data stream matching the first rule is determined based on the first rule.
[0189] For example, after receiving a data processing model, a network device can match one or more data streams belonging to the same data service as the data stream to be processed, denoted as the first data stream, based on the first rule defined in the data processing model. Here, the data service refers to the data service supported by the network device.
[0190] In addition, network devices may discard the second data stream or process the second data stream based on the default data processing procedure, where the second data stream is the data stream that does not match the first rule.
[0191] In step 103, the first data stream is processed based on at least one second rule.
[0192] For example, a network device processes a first data stream based on the logical relationship between at least one second rule defined by a data processing model and at least one second rule defined by a first rule.
[0193] As can be seen, in this embodiment, a receiving data processing model is used to manage and distribute rules for the data plane, realize the definition and distribution of data processing rules, and support point-to-point, point-to-multipoint, and multipoint-to-multipoint data transmission; furthermore, the data stream is matched by the first rule defined in the data processing model, and the data stream is processed by the defined second rule, which enables data processing along the path.
[0194] In some embodiments, the first rule defined by the data processing model for matching the data stream to be processed includes at least one of the following:
[0195] The first rule identifier, the first rule priority, and at least one optional feature.
[0196] At least one of the following options is included:
[0197] Data service identifier, data service type, data service requester identifier, protocol stack type, list of data flow description information (e.g., source IP address, source port number, previous hop network device identifier), first rule time-to-live, first rule expiration time, at least one second rule identifier, and logical relationship of at least one second rule.
[0198] For example, the first rule is the Data Detection Rule (DDR), which instructs network devices how to match the data stream to be processed (e.g., how to detect and classify received data packets).
[0199] Taking a network device as an example with a Data Processing Function (DPF), the Data Identification Rule (DDR) includes at least one of the following:
[0200] DDR identifier, DDR priority, data service identifier, data service type, data service requester identifier, protocol stack type, list of data flow description information (e.g., source IP address, source port number, previous hop data processing function (DPF) identifier), DDR time to live, DDR time to expire, at least one second rule identifier, and at least one logical relationship of second rules.
[0201] When a data packet received by the Data Processing Function (DPF) matches the DDR, the DPF performs subsequent data processing operations on the data packet. That is, the DPF performs subsequent data processing operations on the data packet based on at least one second rule defined by the data processing model for processing the data stream.
[0202] A DDR can only uniquely match one data service, but through a list of data stream description information, a DDR can match one or more data streams belonging to the same data service.
[0203] In scenarios requiring the matching of multiple data streams, the Data Processing Function (DPF) can determine how to handle these successfully matched data streams based on preset strategies. For example, the DPF can choose to wait for all relevant data streams to be successfully matched by the Data Provider (DDR) before sending the matched data streams to the backend for subsequent data processing; alternatively, the DPF can process them one by one, sending a matched data stream to the backend immediately for further processing. This flexibility ensures that data processing can be executed efficiently and systematically according to actual needs.
[0204] It should be noted that if the first rule does not include optional elements, it means that the first rule can match all data streams.
[0205] In some embodiments, a possible implementation scheme for detecting and classifying received data packets may be as follows: enhance the existing packet detection rule (PDR) defined in 5G by adding some data service-related information to the parameters {such as data service identifier, data service type, data service requester identifier, protocol stack type, data flow description information list (source IP address, source port number, previous hop DPF identifier), DDR time to live, DDR time to expire, at least one second rule identifier, and at least one logical relationship of the second rule}, and use PDR to distinguish between data service data flows and user plane data flows.
[0206] In some embodiments, at least one second rule defined by the data processing model for processing data streams includes at least one of the following (1) to (4):
[0207] (1) Data Management Rule (DMR).
[0208] Data Management Rules (DMRs) are used to describe how network devices manage packets that match a first rule (e.g., Data Identification Rule (DDR)). A Data Management Rule (DMR) includes at least one of the following:
[0209] Data management rule identifier (DMR identifier), management actions (e.g., deletion, forwarding, caching, storage, replication, splitting, etc.), execution action time (actions performed before data processing, actions performed after data processing), forwarding parameter list (e.g., destination IP address, destination port number, next-hop network device identifier (e.g., data processing function (DPF) identifier), data receiving network entity, forwarding priority, forwarding format), caching / storage parameters (e.g., storage type, storage time, storage format, storage location, storage priority, storage memory limit), replication parameters (e.g., replication content, replication quantity, replication address), splitting parameters (e.g., number of splits, splitting principle), protocol stack processing parameters (e.g., content that needs to be updated in the packet header, data protocol stack change indication, modified data protocol stack).
[0210] Data Management Rules (DMRs) can flexibly combine various management actions, such as combining "caching" with "forwarding", or "copying" and then "forwarding", to adapt to different data processing needs.
[0211] The forwarding parameter list allows packets to be sent to multiple different IP addresses, different ports of the same IP address, multiple network devices (such as Data Processing Functions (DPFs)), and multiple different types of data receiving network entities for processing. More flexibly, the priority of packets destined for different destinations can be set individually, ensuring that critical data receives priority processing. Furthermore, these packets can be sent in different forwarding formats as needed to meet the compatibility requirements of different systems or protocols.
[0212] By using protocol stack processing parameters, network devices (such as Data Processing Functions (DPFs)) can support different protocol stack formats for data as it enters and leaves. Specifically, when a data packet first enters the DPF, it can be decapsulated to extract the original data. Subsequently, this data is recapsulated according to the rules defined in the protocol stack processing parameters, which may change its protocol stack structure to adapt to different network requirements or security policies.
[0213] (2) Data Processing Rule (DPR).
[0214] Data Processing Rules (DPRs) describe the data processing performed by network devices on packets that match a first rule (e.g., Data Identification Rule (DDR)). A Data Processing Rule (DPR) includes at least one of the following:
[0215] Data processing rule identifier (DPR identifier), data processing rule priority (DPR priority), list of data processing actions (e.g., collection, cleaning, preprocessing, fusion, storage, analysis, mining, etc.), data processing parameters (e.g., duration, frequency, size), data processing methods (e.g., filling missing values, grouping, visualization, data mining, etc.), and data processing algorithms (e.g., machine learning algorithms, distributed AI algorithms, discrete AI algorithms, etc.).
[0216] The management actions defined in Data Management Rules (DMR) focus on the overall processing of data packets or are limited to operations on the packet header, without directly extracting and processing the specific payload content inside the packet. In contrast, the processing actions defined in Data Processing Rules (DPR) target advanced processing flows for data packets, including but not limited to decapsulation and encapsulation operations. This process involves in-depth design and processing of the detailed content inside the packet, especially performing necessary operations and transformations on the payload data.
[0217] (3) Data QoS Enforcement Rule (DQER).
[0218] Data Quality of Service (DQER) rules are used to describe the Quality of Service (QoS) policy of network devices for packets that match a first rule (e.g., Data Identification Rule DDR). A DQER rule includes at least one of the following:
[0219] Data Service Quality Control Rule Identifier (DQER Identifier), Data Service Quality Control Rule Priority (DQER Priority), Maximum Data Transmission Rate, Maximum Data Processing Rate, Data Storage Overhead, Data Processing Energy Consumption, Data Processing Computational Load, Data Service Business Priority, Data Processing Requirements (e.g., quality, consistency, bandwidth requirements, latency requirements, format requirements, accuracy, reliability, etc.), Data Security Requirements (e.g., readability, data encryption algorithms, etc.), Data Processing Accuracy, Data Compression Ratio, Bandwidth Guarantee, Traffic Scheduling, Packet Loss Control, Latency Sensitivity, Bandwidth Limitation, Congestion Control.
[0220] As the real-time network status and user needs change, DQER can be dynamically adjusted and optimized accordingly to achieve reasonable resource allocation and provide quality of service assurance, support network performance optimization, and enable flexible configuration and policy adjustment.
[0221] Another possible implementation scheme for defining QoS policies is to enhance the QER defined in existing 5G by adding some data service QoS policy-related information to the parameters (such as parameters defined in DQER other than DQER identifier and DQER priority).
[0222] (4) Task Reporting Rule (TRR).
[0223] Task statistics rules (TRRs) are used to describe how network devices report the task progress, traffic usage, and data volume of data processing tasks detected by a first rule (e.g., Data Identification Rule (DDR)). A Task Statistics Rule (TRR) includes at least one of the following:
[0224] Task statistics rule identifier (TRR identifier), task statistics rule priority (TRR priority), reporting method (periodic reporting, passively triggered reporting, conditional active reporting), task execution progress (completed, incomplete), traffic usage (used traffic, available traffic), data volume (processed data volume, pending data volume), error indication report, load balancing information, overload control information, additional task statistics report information (such as the number of reports), data processing rate, and data transmission rate.
[0225] If the reporting method is periodic reporting, it needs to include the reporting period and reporting duration; if the reporting method is passively triggered reporting, it needs to include the triggering conditions and the triggering object; if the reporting method is condition-driven reporting, it needs to include condition indicators, such as traffic reaching the condition, time reaching the condition, task progress reaching the condition, etc.
[0226] Another possible implementation scheme for defining task progress, traffic usage, and data volume reporting is to enhance the URR and / or SRR defined in existing 5G by adding some data-related parameters / status reporting (such as parameters defined in TRR other than TRR identifier and TRR priority).
[0227] In some embodiments, step 101, receiving the data processing model includes:
[0228] Receive a first message, which includes a data processing model and at least one of the following:
[0229] Data service identifier, first network function identifier, network device identifier, data processing model identifier, user group information, and lifetime timestamp.
[0230] The first network function can be the Data Management and Control Function (DMF), and the first network function is identified by the DMF identifier. The DMF is used to receive data service requests and manage the service status of each data service, and to manage and orchestrate data services (including selecting, sorting, generating control commands, and issuing control commands).
[0231] Network devices can be Data Processing Functions (DPFs), and the network device identifier is the DPF identifier. After receiving a data processing model, a network device (such as a Data Processing Function (DPF) can accept all or part of the rules in the data processing model based on whether its own performance meets the rules defined in the data processing model.
[0232] For example, if the network device's performance meets all the rules defined in the data processing model, then the network device accepts all the rules in the data processing model, stores the data processing model locally, and generates a data processing context locally. If the network device's performance does not meet all the rules defined in the data processing model, or only meets some of the rules defined in the data processing model, then the network device does not store the data processing model.
[0233] After receiving all or part of the rules in the data processing model, the network device may send a data processing model response, which includes at least one of the following (1) and (2):
[0234] (1) Instruction information.
[0235] The indication information is used to indicate the received result of the data processing model. The indication information includes any of the following:
[0236] Success indicator, partial success indicator, failure indicator;
[0237] The success indicator indicates that all rules in the data processing model have been accepted. The partial success indicator indicates that some rules in the data processing model have been accepted. The failure indicator indicates that none of the rules in the data processing model have been accepted.
[0238] (2) Cause information.
[0239] The reason information corresponds to the received result. If the indication information is a success indication, meaning all rules in the data processing model have been accepted, the reason information is empty. If the indication information is a partial success indication, the reason information is the reason why some rules were accepted. If the indication information is a failure indication, the reason information is the reason why none of the rules were accepted.
[0240] In some embodiments, the network device (e.g., a data processing function (DPF)) may also receive a subscription request for subscribing to the state of the data processing model and / or the state of data service operations, and the subscription request includes at least one of the following:
[0241] Subscription identifier, subscription event identifier, first network function (e.g., data plane management and control function (DMF)) identifier, network device (e.g., data processing function (DPF)) identifier, data processing model identifier, data service identifier.
[0242] If a subscription event changes, the network device sends subscription information. For example, if a subscription event changes, the network device (e.g., the Data Processing Function (DPF)) sends subscription information to the Data Plane Management and Control Function (DMF).
[0243] In some embodiments, the network device (e.g., a Data Processing Function (DPF)) may also receive update requests for updating the data processing model stored by the network device. Updating the data processing model includes: configuring (or creating) new rules and policies, modifying existing rules and policies, and / or deleting existing rules and policies. The update request includes at least one of the following:
[0244] Data service identifier, first network function (e.g., data plane management and control function (DMF)) identifier, network device (e.g., data processing function (DPF)) identifier, data processing model identifier, updated rule identifier and rule content, user group information, and timestamp of life.
[0245] The updated rule identifier and rule content include at least one of the following:
[0246] Data Identification Rules (DDR) identify and update DDR content;
[0247] Data Management Rules (DMR) identify and update DMR content;
[0248] Data Processing Rules (DPR) identification and updated DPR content;
[0249] Data Service Quality Control Rules (DQER) identification and updated DQER content;
[0250] Task Statistics Rules (TRR) identification and updated TRR content.
[0251] Network devices can update their locally stored data processing models and update their data processing contexts according to the updated rule identifiers and rule content. Network devices can also refuse to update rules and policies that do not exist.
[0252] After receiving an update request, the network device may send an update response, which includes at least one of the following (1) and (2):
[0253] (1) Instruction information.
[0254] The indication information is used to indicate the update result of the data processing model. The indication information includes any of the following:
[0255] Success indicator, partial success indicator, failure indicator;
[0256] The success indicator indicates that all rules in the update request were updated. The partial success indicator indicates that some rules in the update request were updated. The failure indicator indicates that none of the rules in the update request were updated.
[0257] (2) Cause information.
[0258] The reason information corresponds to the update result. If the indication is a success indication, meaning all rules in the update request were updated, the reason information is empty. If the indication is a partial success indication, the reason information is the reason why some rules in the update request were updated. If the indication is a failure indication, the reason information is the reason why none of the rules in the update request were updated.
[0259] In some embodiments, the network device (e.g., a Data Processing Function (DPF)) may also send an update request to update the data processing model stored by the network device. Updating the data processing model includes: configuring (or creating) new rules and policies, modifying existing rules and policies, and / or deleting existing rules and policies. The update request includes at least one of the following:
[0260] Data service identifier, first network function (e.g., data plane management and control function (DMF)) identifier, network device (e.g., data processing function (DPF)) identifier, data processing model identifier, updated rule identifier and rule content, user group information, and timestamp of life.
[0261] The updated rule identifier and rule content include at least one of the following:
[0262] Data Identification Rules (DDR) identify and update DDR content;
[0263] Data Management Rules (DMR) identify and update DMR content;
[0264] Data Processing Rules (DPR) identification and updated DPR content;
[0265] Data Service Quality Control Rules (DQER) identification and updated DQER content;
[0266] Task Statistics Rules (TRR) identification and updated TRR content.
[0267] In this embodiment, after receiving an update request, the first network function (e.g., the Data Plane Management and Control Function (DMF)) can authenticate the identity of the network device sending the update request to determine whether it has the authority to update the data processing model. If authentication fails, the DMF sends an update response, which includes a failure indication and a reason for failure. The failure indication indicates that all rules in the data processing model have not been updated. If authentication succeeds, the DMF will continue to determine whether the updated rules and policies meet the data service requirements. If they do, the update request succeeds; otherwise, the update request fails. The DMF can refuse to update non-existent rules and policies.
[0268] After a network device sends an update request, it can receive an update response, which includes at least one of the following (1) and (2):
[0269] (1) Instruction information.
[0270] The indication information is used to indicate the update result of the data processing model. The indication information includes any of the following:
[0271] Success indicator, partial success indicator, failure indicator;
[0272] The success indicator indicates that all rules in the update request were updated. The partial success indicator indicates that some rules in the update request were updated. The failure indicator indicates that none of the rules in the update request were updated.
[0273] (2) Cause information.
[0274] The reason information corresponds to the update result. If the indication is a success indication, meaning all rules in the update request were updated, the reason information is empty. If the indication is a partial success indication, the reason information is the reason why some rules in the update request were updated. If the indication is a failure indication, the reason information is the reason why none of the rules in the update request were updated.
[0275] In this embodiment, the network device performs an update operation corresponding to the update result on the locally stored data processing model based on the update result in the update response, and updates the data processing context.
[0276] In some embodiments, the network device (e.g., a data processing function (DPF)) may also receive a release request, which includes at least one of the following:
[0277] Data service identifier, first network function (e.g., data plane management and control function (DMF)) identifier, network device (e.g., data processing function (DPF)) identifier, data processing model identifier, and release reason.
[0278] After receiving a release request, the network device deletes the locally stored data processing model (i.e., the data processing model corresponding to the data processing model identifier) and updates the data processing context. The network device may also refuse to release a non-existent data processing model.
[0279] After a network device deletes a data processing model or refuses to release a non-existent data processing model, it can send a release response, which includes at least one of the following:
[0280] Instruction information, reason information;
[0281] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0282] In this embodiment, the network device (e.g., the Data Processing Function (DPF)) can receive a release request sent by the Data Plane Management and Control Function (DMF) and delete the locally stored data processing model based on the release request. After deleting the data processing model or refusing to release a non-existent data processing model, the network device can send a release response to the DMF.
[0283] In some embodiments, the network device (e.g., a data processing function (DPF)) may also send a release message. The release message includes at least one of the following:
[0284] Data service identifier, first network function (e.g., data plane management and control function (DMF)) identifier, network device (e.g., data processing function (DPF)) identifier, data processing model identifier, and release reason.
[0285] In this embodiment, the network device can send a data service release request to the Data Plane Management and Control Function (DMF), or proactively delete the locally stored data processing model and update the data processing context after the currently executed data service expires. If the DMF has subscribed to data processing events from the network device in advance, the network device can send a release message (e.g., a release notification) to the DMF.
[0286] After sending a release message, the network device can also receive a release response, which includes at least one of the following:
[0287] Instruction information, reason information;
[0288] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0289] In this embodiment, after deleting the locally stored data processing model, the network device (e.g., the data processing function (DPF)) can send a release message (e.g., a release notification) to the data plane management and control function (DMF) and receive a release response (e.g., a release notification response) sent by the DMF.
[0290] Figure 2 is a flowchart illustrating another data processing method provided in an embodiment of this disclosure, which is applied to a network function. The network function is, for example, a Data Plane Management and Control Function (DMF). As shown in Figure 2, the method includes, but is not limited to, step 201:
[0291] In step 201, a data processing model is sent to the network device. The data processing model includes a first rule and at least one second rule. The first rule is used to match the data stream to be processed, and at least one second rule is used to process the data stream matched by the first rule.
[0292] The data processing model is generated by network functions (such as the Data Plane Management and Control Function (DMF)) or by the Policy Control Function (PCF) and sent to network functions (such as the Data Plane Management and Control Function (DMF)).
[0293] Network devices can be terminals (UEs), radio access network (RAN) devices (such as base stations), core network functions (such as user plane functions (UPF), data processing functions (DPF), and other control plane network functions (CP NFs)), supporting data services such as data processing, storage, and forwarding.
[0294] The first rule corresponds to one data service, and a data service corresponds to at least one first rule. The first rule is used to match one or more data streams belonging to the same data service. If the data processing model includes multiple second rules, the first rule is also used to define the identifiers and logical relationships between the multiple second rules.
[0295] The data processing model defines at least one second rule for processing data streams, which enables operations such as forwarding, dropping, copying, encapsulation and decapsulation of data packets, ensuring efficient (e.g., copying data packets), accurate (e.g., dropping erroneous data packets), and secure (e.g., encapsulating data packets) transmission and processing of data packets in the network.
[0296] Furthermore, since the data processing model can define at least one second rule for processing data streams, it can define how data packets flow between network nodes, including but not limited to point-to-point, point-to-multipoint, and multipoint-to-multipoint transmission modes.
[0297] As can be seen, in this embodiment, by sending a data processing model, data processing rules for the data plane are managed and distributed, supporting point-to-point, point-to-multipoint, and multipoint-to-multipoint data transmission. This enables network devices to match data streams using the first rule defined in the data processing model and process the data streams using the defined second rule, achieving data processing along the path.
[0298] In some embodiments, in step 201, sending a data processing model to the network device includes:
[0299] Send a first message to the network device, the first message including a data processing model and at least one of the following:
[0300] Data service identifier, first network function identifier, network device identifier, data processing model identifier, user group information, and lifetime timestamp.
[0301] The first network function can be a Data Management and Control Function (DMF), and the first network function is identified by the DMF identifier. The network device can be a Data Processing Function (DPF), and the network device is identified by the DPF identifier.
[0302] In this embodiment, the data processing model for the network function to send data to the network device includes at least one of the following (1) to (4):
[0303] (1) If the network device is a terminal, the data processing model is transmitted to the network device through the access and mobility management functions and the wireless access network.
[0304] (2) If the network device is a wireless access network device, the data processing model is transmitted to the network device through the access and mobility management functions.
[0305] (3) If the network device is a user plane function, the data processing model is transmitted to the network device through the session management function.
[0306] (4) If the network device is a data processing function or a control plane network function, then send the data processing model directly to the network device.
[0307] In some embodiments, before sending the data processing model to the network device in step 201, the network function may also receive a data service request and select a network device based on the data service request.
[0308] For example, a network function receives a data service request sent by a user, parses the data service request to obtain the user's data service requirement information, and then selects a network device that meets the data service requirement information to perform the data service operation.
[0309] In some embodiments, after sending the data processing model to the network device in step 201, the network function may also receive a data processing model response, which includes at least one of the following (1) and (2):
[0310] (1) Instruction information.
[0311] The indication information is used to indicate the received result of the data processing model. The indication information includes any of the following:
[0312] Success indicator, partial success indicator, failure indicator;
[0313] The success indicator indicates that all rules in the data processing model have been accepted. The partial success indicator indicates that some rules in the data processing model have been accepted. The failure indicator indicates that none of the rules in the data processing model have been accepted.
[0314] (2) Cause information.
[0315] The reason information corresponds to the received result. If the indication information is a success indication, meaning all rules in the data processing model have been accepted, the reason information is empty. If the indication information is a partial success indication, the reason information is the reason why some rules were accepted. If the indication information is a failure indication, the reason information is the reason why none of the rules were accepted.
[0316] In this embodiment, if the indication information is a partial success indication and the data processing model meets the data service requirements of the network device, the network function will resend the data processing model to the network device.
[0317] In some embodiments, after sending the data processing model to the network device in step 201, the network function may also send a subscription request to the network device. The subscription request is used to subscribe to the state of the data processing model and / or the state of the data service business, and the subscription request includes at least one of the following:
[0318] Subscription identifier, subscription event identifier, first network function (e.g., data plane management and control function (DMF)) identifier, network device (e.g., data processing function (DPF)) identifier, data processing model identifier, data service identifier.
[0319] In some embodiments, the network function may also send update requests to network devices (e.g., data processing function (DPF)). These update requests are used to update the data processing model stored by the network device. Updating the data processing model includes: configuring (or creating) new rules and policies, modifying existing rules and policies, and / or deleting existing rules and policies. The update request includes at least one of the following:
[0320] Data service identifier, first network function (e.g., data plane management and control function (DMF)) identifier, network device (e.g., data processing function (DPF)) identifier, data processing model identifier, updated rule identifier and rule content, user group information, and timestamp of life.
[0321] The updated rule identifier and rule content include at least one of the following:
[0322] Data Identification Rules (DDR) identify and update DDR content;
[0323] Data Management Rules (DMR) identify and update DMR content;
[0324] Data Processing Rules (DPR) identification and updated DPR content;
[0325] Data Service Quality Control Rules (DQER) identification and updated DQER content;
[0326] Task Statistics Rules (TRR) identification and updated TRR content.
[0327] In this embodiment, after sending an update request, the network function can also receive an update response sent by the network device, and the update response includes at least one of the following (1) and (2):
[0328] (1) Instruction information.
[0329] The indication information is used to indicate the update result of the data processing model. The indication information includes any of the following:
[0330] Success indicator, partial success indicator, failure indicator;
[0331] The success indicator indicates that all rules in the update request were updated. The partial success indicator indicates that some rules in the update request were updated. The failure indicator indicates that none of the rules in the update request were updated.
[0332] (2) Cause information.
[0333] The reason information corresponds to the update result. If the indication is a success indication, meaning all rules in the update request were updated, the reason information is empty. If the indication is a partial success indication, the reason information is the reason why some rules in the update request were updated. If the indication is a failure indication, the reason information is the reason why none of the rules in the update request were updated.
[0334] In some embodiments, the network function may also receive update requests from network devices (e.g., data processing function (DPF)). These update requests are used to update the data processing model stored by the network device. Updating the data processing model includes: configuring (or creating) new rules and policies, modifying existing rules and policies, and / or deleting existing rules and policies. The update request includes at least one of the following:
[0335] Data service identifier, first network function (e.g., data plane management and control function (DMF)) identifier, network device (e.g., data processing function (DPF)) identifier, data processing model identifier, updated rule identifier and rule content, user group information, and timestamp of life.
[0336] The updated rule identifier and rule content include at least one of the following:
[0337] Data Identification Rules (DDR) identify and update DDR content;
[0338] Data Management Rules (DMR) identify and update DMR content;
[0339] Data Processing Rules (DPR) identification and updated DPR content;
[0340] Data Service Quality Control Rules (DQER) identification and updated DQER content;
[0341] Task Statistics Rules (TRR) identification and updated TRR content.
[0342] In this embodiment, after receiving the update request, the network function can send an update response to the network device, and the update response includes at least one of the following (1) and (2):
[0343] (1) Instruction information.
[0344] The indication information is used to indicate the update result of the data processing model. The indication information includes any of the following:
[0345] Success indicator, partial success indicator, failure indicator;
[0346] The success indicator indicates that all rules in the update request were updated. The partial success indicator indicates that some rules in the update request were updated. The failure indicator indicates that none of the rules in the update request were updated.
[0347] (2) Cause information.
[0348] The reason information corresponds to the update result. If the indication is a success indication, meaning all rules in the update request were updated, the reason information is empty. If the indication is a partial success indication, the reason information is the reason why some rules in the update request were updated. If the indication is a failure indication, the reason information is the reason why none of the rules in the update request were updated.
[0349] For example, after receiving an update request, the network function can authenticate the network device that sent the request to determine if it has the authority to update the data processing model. If authentication fails, the network function sends an update response, which includes a failure indication and the reason for failure. The failure indication indicates that all rules in the data processing model have not been updated. If authentication succeeds, the DMF will continue to determine whether the updated rules and policies meet the data service requirements. If they do, the update request succeeds; otherwise, the update request fails. The DMF can refuse to update non-existent rules and policies.
[0350] In some embodiments, the network function may also send a release request to a network device (e.g., a data processing function (DPF)), the release request including at least one of the following:
[0351] Data service identifier, first network function (e.g., data plane management and control function (DMF)) identifier, network device (e.g., data processing function (DPF)) identifier, data processing model identifier, and release reason.
[0352] After sending a release request, the network function can also receive a release response from the network device, which includes at least one of the following:
[0353] Instruction information, reason information;
[0354] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0355] In some embodiments, the network function may also receive a release message sent by a network device (e.g., a data processing function (DPF)), the release message including at least one of the following:
[0356] Data service identifier, first network function (e.g., data plane management and control function (DMF)) identifier, network device (e.g., data processing function (DPF)) identifier, data processing model identifier, and release reason.
[0357] After receiving the release message, the network function can also send a release response, which includes at least one of the following:
[0358] Instruction information, reason information;
[0359] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0360] Example 1
[0361] Figure 3 is a schematic diagram of the deployment of a data processing function provided in an embodiment of this disclosure. In Figure 3, there are five deployment methods for the data processing function (DPF): (1) DPF1 is built into the terminal (UE); (2) DPF2 is built into the radio access network (eRAN); (3) DPF3 is an independent network function (NF) that is connected to the data plane management and control function (DMF) in a point-to-point manner; (4) DPF4 is an independent NF that is connected to the control bus in a service-oriented manner; (5) DPF5 is built into other core network network functions (NFs). In Figure 3, the one built into the user plane function (UPF) is taken as an example, and it is connected to the session management function (eSMF) in a point-to-point manner. It should be noted that the deployment method of DPF built into the control plane NF is the same as that of DPF4 as an independent NF connected to the control bus in a service-oriented manner in (4), so it is not exemplified in Figure 3.
[0362] In Figure 3, the Data Plane Management and Control Function (DMF) is used to receive data service requests and manage the service status of each data service, as well as to manage and orchestrate data services (including selecting, sorting, generating control commands, and issuing control commands for data service nodes).
[0363] In Figure 3, the Data Processing Function (DPF) supports data service operations such as data processing, data storage, and data forwarding. A DPF may optionally possess some of these functions; it can be a standalone new NF or built into other NFs (such as the UPF in Figure 3). Data is forwarded between DPFs via a data transmission protocol.
[0364] In Figure 3, solid lines represent interfaces with physical entities, while dashed lines indicate interfaces with logical entities. A logical interface is similar to the N1 interface, which is the signaling plane interface between the UE and the Access and Mobility Management Function (AMF). The N1 interface is a logical concept and does not have a physical port. The actual control signaling path between the UE and the Data Plane Management and Control Function (DMF) is UE(DPF1)-RAN-AMF-DMF; the actual control signaling path between the RAN and DMF is RAN(DPF2)-AMF-DMF; and the actual control signaling path between the eUPF and DMF is eUPF(DPF5)-SMF-DMF.
[0365] Example 2
[0366] Network devices with data processing capabilities (such as Data Processing Functions (DPF)) need to perform corresponding actions for data flow and processing based on the rules and policies defined in the received data processing model.
[0367] The data processing model can be generated by the Data Surface Management and Control Function (DMF) and sent to the Data Processing Function (DPF), or it can be generated by the Policy Control Function (PCF) and sent to the DMF, and then sent to the DMF by the DMF through different methods.
[0368] The data processing model includes Data Identification Rules (DDR), Data Management Rules (DMR), Data Processing Rules (DPR), Data Service Quality Control Rules (DQER), and Task Statistics Rules (TRR).
[0369] Traditional Packet Data Unit (PDU) sessions only support point-to-point user plane data transmission, while the data plane supports point-to-point, point-to-multipoint, and multipoint-to-multipoint data transmission and data in-path processing. Furthermore, traditional PDU sessions only transparently forward data packets in user plane data traffic without parsing their content. However, data service processing overcomes these shortcomings. Therefore, a data service can correspond to multiple Data Identification Rules (DDRs), but a DDR can only uniquely identify one data service. When one or more data streams belonging to a data service enter the Data Processing Function (DPF), the DPF needs to match the DDR based on information such as the data service identifier, data service type, data service requester identifier, protocol stack type, and data stream description information list. When multiple DDRs can be matched, the highest priority DDR will be matched. Only data streams that successfully match a DDR will be processed by the DPF according to the rules and policies defined by the Data Management Rules (DMR) and the Data Processing Rules (DPR). Throughout the entire data service lifecycle, it meets the rules and policies defined by the Data Service Quality Control Rules (DQER) and reports relevant data service information in accordance with the rules and policies stipulated by the Task Statistics Rules (TRR).
[0370] In a data processing model, the same data identification rule (DDR) or data stream can match one or more data management rules (DMR), data processing rules (DPR), data service quality control rules (DQER), and task statistics rules (TRR). The execution order of DMR, DPR, DQER, and TRR rules is not fixed and needs to be executed according to the logical relationships defined in the DDR.
[0371] For example, Figure 4 is a schematic diagram of different data processing models provided in the embodiments of this disclosure. In Figure 4, the execution order of data management rules (DMR), data processing rules (DPR), data service quality control rules (DQER), and task statistics rules (TRR) is executed according to the logical relationship defined by the data identification rules (DDR) in the data processing model.
[0372] If a matching Data Identification Rule (DDR) exists in the data stream, the data processing continues; otherwise, the current data stream is discarded, or subsequent data processing is performed according to the default rule. The default rule may vary depending on the data processing capability, performance, and network device type (UE / RAN / UPF / DPF / other CP NFs) of the Data Processing Function (DPF).
[0373] Example 3
[0374] Figure 5 is a schematic diagram illustrating the independent data processing after data stream replication according to an embodiment of this disclosure. As shown in Figure 5, the process of independently processing data after data stream replication includes the following steps 1 to 5e:
[0375] 1. After the initial data stream enters the Data Processing Function (DPF), the DPF first matches the Data Recognition Rule (DDR) based on information such as the data service identifier, data service type, data service requester identifier, protocol stack type, and data stream description information list. Multiple successfully matched DDRs may exist; the DDR with the highest priority is selected. If the matching information is the same, but the identifiers and logical relationships of the subsequently bound Data Management Rule (DMR), Data Processing Rule (DPR), Data Service Quality Control Rule (DQER), and Task Statistics Rule (TRR) are different, the successfully matched data stream continues to execute subsequent data processing according to the issued rules, while the unmatched data stream is discarded.
[0376] 2. The successfully matched data streams will execute corresponding actions according to the rules defined in the Data Identification Rules (DDR) to determine the identifiers and logical relationships of the bound Data Management Rules (DMR), Data Processing Rules (DPR), Data Service Quality Control Rules (DQER), and Task Statistics Rules (TRR).
[0377] 3. Execute according to Data Management Rules (DMR). This is optional. DMR can be executed before Data Processing Rules (DPR), such as for data stream replication or splitting. Alternatively, DMR can be executed after DPR, such as for data stream forwarding or storage. In this embodiment, data flow is performed according to the data stream replication rules.
[0378] 4a, 5a: After replication, the two data streams perform corresponding data processing operations according to their respective data processing rules (DPR). For example, 4a may correspond to data cleaning operations, and 5a may correspond to data analysis operations using AI models.
[0379] 4b, 5b: After data processing, the two streams perform corresponding actions according to the Data Management Rules (DMR), such as data forwarding and data storage.
[0380] 4c, 5c, 5d: Data Service Quality Control Rules (DQER) define QoS rules for the entire data lifecycle. Therefore, QoS must meet the rules defined in the DQER throughout the entire data processing and flow process. A single data flow can correspond to one DQER or multiple DQERs; data can be bound to one DQER or correspond to multiple DQERs throughout its entire lifecycle, including processing, management, and flow.
[0381] 4d, 4e, 5e: Task Statistics Rules (TRR) define the reporting rules for the entire lifecycle of data. A data stream can correspond to one TRR or multiple TRRs. Data can be bound to one TRR or correspond to multiple TRRs throughout its entire lifecycle, including processing, management, and transfer.
[0382] Example 4
[0383] Figure 6 is a schematic diagram of a data processing model distribution process provided in an embodiment of this disclosure. As shown in Figure 6, the data processing model distribution process includes the following steps 0a to 7:
[0384] 0a. The Data Plane Management and Control Function (DMF) has received a data service request from the user, and based on the request, it parses the user's data service requirements and selects a UE / RAN / UPF / DPF / other CP NFs that meet the user's requirements to perform data service operations.
[0385] 0b. In some embodiments, the Data Plane Management Control Function (DMF) can obtain data processing rules and policies from the Policy Control Function (PCF), specifically through either a subscription-notification or request-response method. The PCF can generate rules and policies that meet the user's needs based on the user's requirements.
[0386] 1. The Data Plane Management and Control Function (DMF) distributes data processing models to network devices with data processing capabilities through various methods, and the messages include, but are not limited to: data service service identifier, DMF identifier, data processing function (DPF) identifier, data processing model identifier, data processing model (including created data identification rules (DDR), created data management rules (DMR), created data processing rules (DPR), created data service quality control rules (DQER), created task statistics rules (TRR), etc.), user group information, and lifetime timestamp.
[0387] When a UE can function as a DPF and has data processing capabilities, the Data Plane Management and Control Function (DMF) transmits the data processing model to the UE through the Access and Mobility Management Function (AMF) and the Radio Access Network (RAN).
[0388] When the RAN can act as a DPF with data processing capabilities, the DMF transmits the data processing model to the RAN through the AMF.
[0389] When the UPF can function as a DPF and has data processing capabilities, the DMF transmits the data processing model to the UPF through the Session Management Function (SMF).
[0390] When the DPF is an independent network function with data processing capabilities or has data processing capabilities inherent in other control plane network functions (CP NFs), the DMF directly issues the data processing model to the DPF.
[0391] 2. UE / RAN / UPF / DPF / other CP NFs determine whether their own performance meets the rules and policies issued to them by DMF. If all are met, the network device will store the data processing model locally and generate a data processing context locally; otherwise, it will not store the rules and policies issued to it by DMF.
[0392] 3. Network devices (UE / RAN / UPF / DPF / other CP NFs) with data processing capabilities return a data processing model response to the DMF, carrying indication and reason information in the response. If all rules and policies are accepted and stored, the indication information carries "success"; if only some policies and rules are accepted, the indication information carries "partial success" and the reason information carries a description of partial success; if no policies and rules are accepted, the indication information carries "failure" and the reason information carries a description of failure.
[0393] Steps 4 and 5 are performed only if the indication message indicates partial success.
[0394] 4. When network devices (UE / RAN / UPF / DPF / other CP NFs) with data processing capabilities only support some policies and rules, the Data Plane Management and Control Function (DMF) determines whether the user's data service requirements can be met. If they are met, the data processing model is reissued to the UE / RAN / UPF / DPF / other CP NFs through different methods; if they are not met, the data processing model is not reissued to the UE / RAN / UPF / DPF / other CP NFs.
[0395] 5. UE / RAN / UPF / DPF / other CP NFs return a data processing model response to DMF, carrying indication and cause information in the response.
[0396] Subsequently, the UE / RAN / UPF / DPF / other CP NFs will each perform the data processing procedure according to the received data processing model.
[0397] 6. The Data Plane Management and Control Function (DMF) can send data processing event subscription requests to the UE / RAN / UPF / DPF / other CP NFs respectively, for the state of the data processing model before subscription and / or the state of the current data service. The message includes, but is not limited to, subscription identifier, subscription event identifier, DMF identifier, DPF identifier, data processing model identifier, and data service identifier.
[0398] 7. When a subscription event changes, the UE / RAN / UPF / DPF / other CP NFs report the subscription information to the DMF respectively.
[0399] Note: The data processing model re-deployment process in Example 4 refers to the re-deployment of the data processing model when not all rules and strategies in the initial deployment succeeded, i.e., when the network device did not save the data processing model. The data processing model update in Example 5 refers to modifying the existing saved data processing model of the network device.
[0400] Example 5
[0401] Figures 7A and 7B are schematic diagrams illustrating the processes for updating two data processing models according to embodiments of this disclosure. The data processing model update process is used to modify existing, saved data processing models of network devices, such as configuring new rules and policies, modifying existing rules and policies, or deleting existing rules and policies.
[0402] In Figure 7A, the data processing model update is triggered by the Data Surface Management Control (DMF) function, including the following steps 0 to 3:
[0403] 0. The DMF has received the data service request sent by the user, and has parsed the user's data service requirements according to the request. It has selected the UE / RAN / UPF / DPF / other CP NFs that meet the user's requirements to perform data service operations. At the same time, the DMF has issued the data processing model to the UE / RAN / UPF / DPF / other CP NFs.
[0404] 1. The DMF sends data processing model update requests to network devices (UE / RAN / UPF / DPF / other CP NFs) with data processing capabilities through different methods. The update request includes, but is not limited to, data service identifier, DMF identifier, DPF identifier, data processing model identifier, update rules and policies (DDR identifier and corresponding DDR content to be updated, DMR identifier and corresponding DMR content to be updated, DPR identifier and corresponding DPR content to be updated, DQER identifier and corresponding DQER content to be updated, TRR identifier and corresponding TRR content to be updated, etc.), user group information, and timestamps.
[0405] A data processing model update request can include three actions: creating, modifying, and deleting rules and policies.
[0406] 2. Update the rules and policies for UE / RAN / UPF / DPF / other CP NFs respectively, and update the data processing context.
[0407] UE / RAN / UPF / DPF / other CP NFs can refuse to update rules and policies that do not exist.
[0408] 3. UE / RAN / UPF / DPF / other CP NFs return a data processing model update response to the DMF, carrying indication and reason information in the update response. If all rules and policies in the update request are updated, the indication information carries "success"; if some rules and policies in the update request are updated, the indication information carries "partial success" and the reason information carries a description of partial success; if none of the rules in the update request are updated, the indication information carries "failure" and the reason information carries a description of failure.
[0409] In Figure 7B, the data processing model update is triggered by network devices (UE / RAN / UPF / DPF / other CP NFs) with data processing capabilities, including the following steps 0 to 4:
[0410] 0. The DMF has received the data service request sent by the user, and has parsed the user's data service requirements according to the request. It has selected the UE / RAN / UPF / DPF / other CP NFs that meet the user's requirements to perform data service operations. At the same time, the DMF has issued the data processing model to the UE / RAN / UPF / DPF / other CP NFs.
[0411] 1. Network devices (UE / RAN / UPF / DPF / other CP NFs) with data processing capabilities send data processing models to the DMF in different ways. The update request includes, but is not limited to, data service identifier, DMF identifier, DPF identifier, data processing model identifier, update rules and policies (DDR identifier and corresponding DDR content to be updated, DMR identifier and corresponding DMR content to be updated, DPR identifier and corresponding DPR content to be updated, DQER identifier and corresponding DQER content to be updated, TRR identifier and corresponding TRR content to be updated, etc.), user group information, and timestamps.
[0412] A data processing model update request can include three actions: creating, modifying, and deleting rules and policies.
[0413] 2. The DMF will authenticate the identity of the network device sending the data processing model update request to determine whether it has the authority to update the data processing model. If the authentication fails, the result of the request failure will be directly included in the update response in step 3. If the authentication is successful, the DMF will continue to determine whether the rules and policies to be updated meet the data service requirements. If they do, the request will succeed; otherwise, the request will fail.
[0414] DMF can reject requests to update rules and policies that do not exist.
[0415] 3. The DMF returns a data processing model update response to the UE / RAN / UPF / DPF / other CP NFs, carrying indication and reason information in the update response. If all rules and policies in the update request are updated, the indication information carries "success"; if some rules and policies in the update request are updated, the indication information carries "partial success" and the reason information carries a description of partial success; if none of the rules in the update request are updated, the indication information carries "failure" and the reason information carries a description of failure.
[0416] 4. UE / RAN / UPF / DPF / other CP NFs update rules and policies and update data processing context according to the instruction information.
[0417] Example 6
[0418] Figures 8A and 8B are schematic diagrams of the release process of two data processing models provided in the embodiments of this disclosure.
[0419] In Figure 8A, the release of the data processing model is triggered by the Data Surface Management Control (DMF) function, including the following steps 0 to 3:
[0420] 0. The DMF has received a data service release request from the user, or the currently executing data service has expired.
[0421] 1. The DMF sends a data processing model release request to network devices (UE / RAN / UPF / DPF / other CP NFs) with data processing capabilities through different methods. The release request includes, but is not limited to, the data service identifier, DMF identifier, DPF identifier, data processing model identifier, and release reason.
[0422] 2. Delete the locally stored rules and policies for UE / RAN / UPF / DPF / other CP NFs respectively, and update the data processing context.
[0423] UE / RAN / UPF / DPF / other CP NFs can refuse to release rules and policies that do not exist.
[0424] 3. UE / RAN / UPF / DPF / other CP NFs return a data processing model release response to the DMF, carrying indication and cause information in the release response. The indication information indicates the release result of the data processing model, and the cause information is the reason corresponding to the release result.
[0425] In Figure 8B, the data processing model release is triggered by network devices (UE / RAN / UPF / DPF / other CP NFs) with data processing capabilities, including the following steps 0 to 3:
[0426] 0. The DMF has received a data service release request from the user, or the currently executing data service has expired.
[0427] 1. UE / RAN / UPF / DPF / other CP NFs actively delete the locally stored rules and policies and update the data processing context.
[0428] 2. If the DMF has subscribed to data processing events in advance from the UE / RAN / UPF / DPF / other CP NFs, the network devices (UE / RAN / UPF / DPF / other CP NFs) with data processing capabilities send a data processing model release notification to the DMF in different ways, and the release notification includes, but is not limited to, the data service identifier, DMF identifier, DPF identifier, data processing model identifier, and release reason.
[0429] 3. The UE / RAN / UPF / DPF / other CP NFs receive the data processing model release response returned by the DMF, and carry indication information and reason information in the release response. Among them, the indication information is used to indicate the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0430] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art will understand that the embodiments of this disclosure are not limited to the described order of actions, because according to the embodiments of this disclosure, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art will understand that the embodiments described in the specification are all optional embodiments.
[0431] Figure 9 is a schematic diagram of a data processing apparatus provided in an embodiment of this disclosure. This apparatus is applied to a network device, which can be a terminal (UE), a radio access network (RAN) device (e.g., a base station), a core network function (e.g., user plane function (UPF), data processing function (DPF), and other control plane network functions (CP NFs)). It supports data services such as data processing, storage, and forwarding. As shown in Figure 9, the apparatus includes, but is not limited to, a receiving unit 91, a determining unit 92, and a processing unit 93, as detailed below:
[0432] The receiving unit 91 is used to receive a data processing model, which includes a first rule and at least one second rule; wherein the first rule is used to match the data stream to be processed, and at least one second rule is used to process the data stream matched by the first rule.
[0433] Determining unit 92 is used to determine a first data stream that matches the first rule based on the first rule;
[0434] Processing unit 93 is used to process the first data stream based on at least one second rule.
[0435] In some embodiments, a first rule corresponds to a data service, and a data service corresponds to at least one first rule; the first rule is used to match one or more data streams belonging to the same data service.
[0436] In some embodiments, the first rule is also used to define the identifier and logical relationship of at least one second rule.
[0437] In some embodiments, the first rule includes at least one of the following:
[0438] First rule identifier, first rule priority, and at least one optional element;
[0439] At least one of the following options is included:
[0440] Data service identifier, data service type, data service requester identifier, protocol stack type, data flow description information list, first rule lifetime, first rule expiration time, at least one second rule identifier, and at least one logical relationship between second rules.
[0441] In some embodiments, the absence of a second rule includes at least one of the following:
[0442] Data management rules, data processing rules, data service quality control rules, and task statistics rules.
[0443] In some embodiments, data management rules include at least one of the following:
[0444] Data management rule identifier, management action, execution action time, forwarding parameter list, cache / storage parameters, replication parameters, segmentation parameters, and protocol stack processing parameters.
[0445] In some embodiments, the data processing rules include at least one of the following:
[0446] Data processing rule identifier, data processing rule priority, data processing action list, data processing parameters, data processing method, and data processing algorithm.
[0447] In some embodiments, data service quality control rules include at least one of the following:
[0448] Data service quality control rule identifier, data service quality control rule priority, maximum data transmission rate, maximum data processing rate, data storage overhead, data processing energy consumption, data processing computational load, data service business priority, data processing requirements, data security requirements, data processing accuracy, data compression ratio, bandwidth guarantee, traffic scheduling, packet loss control, latency sensitivity, bandwidth limitation, and congestion control.
[0449] In some embodiments, task statistics rules include at least one of the following:
[0450] Task statistics rule identifier, task statistics rule priority, reporting method, task execution progress, traffic usage, data volume, error indication report, load balancing information, overload control information, additional task statistics report information, data processing rate, and data transmission rate.
[0451] In some embodiments, the receiving unit 91 is configured to:
[0452] Receive a first message, which includes a data processing model and at least one of the following:
[0453] Data service identifier, first network function identifier, network device identifier, data processing model identifier, user group information, and lifetime timestamp.
[0454] In some embodiments, the device further includes a receiving unit for:
[0455] After receiving the data processing model, the receiving unit 91 accepts all or part of the rules in the data processing model.
[0456] In some embodiments, the apparatus further includes a transmitting unit for:
[0457] After the receiving unit receives all or part of the rules in the data processing model, it sends a data processing model response, which includes at least one of the following:
[0458] Instruction information, reason information;
[0459] The indication information is used to indicate the received result of the data processing model, and the reason information is the reason corresponding to the received result.
[0460] In some embodiments, the processing unit 93 is further configured to:
[0461] The second data stream is either discarded or processed based on the default data processing procedure; the second data stream is the one that does not match the first rule.
[0462] In some embodiments, the receiving unit 91 is further configured to:
[0463] Receive subscription requests, which are used to subscribe to the status of the data processing model and / or the status of data service operations. The subscription request includes at least one of the following:
[0464] Subscription identifier, subscription event identifier, first network function identifier, network device identifier, data processing model identifier, data service identifier;
[0465] The device also includes a sending unit for sending subscription information if the subscription event changes.
[0466] In some embodiments, the receiving unit 91 is further configured to:
[0467] Receive an update request, which includes at least one of the following:
[0468] Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
[0469] In some embodiments, the apparatus further includes a transmitting unit for:
[0470] After receiving the update request, receiving unit 91 sends an update response, which includes at least one of the following:
[0471] Instruction information, reason information;
[0472] The indication information indicates the update result of the data processing model, and the reason information is the reason for the update result.
[0473] In some embodiments, the apparatus further includes a transmitting unit for:
[0474] Send an update request, which includes at least one of the following:
[0475] Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
[0476] In some embodiments, the receiving unit 91 is further configured to:
[0477] After the sending unit sends the update request, it receives an update response, which includes at least one of the following:
[0478] Instruction information, reason information;
[0479] The indication information indicates the update result of the data processing model, and the reason information is the reason for the update result.
[0480] In some embodiments, the receiving unit 91 is further configured to:
[0481] Receive a release request, which includes at least one of the following:
[0482] Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
[0483] In some embodiments, the processing unit 93 is further configured to:
[0484] After receiving the release request, the receiving unit 91 deletes the locally stored data processing model and updates the data processing context;
[0485] The device further includes a transmitting unit for transmitting a release response, the release response including at least one of the following:
[0486] Instruction information, reason information;
[0487] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0488] In some embodiments, the apparatus further includes a transmitting unit for:
[0489] Send a release message, which includes at least one of the following:
[0490] Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
[0491] In some embodiments, the receiving unit 91 is further configured to:
[0492] After the sending unit sends the release message, it receives a release response, which includes at least one of the following:
[0493] Instruction information, reason information;
[0494] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0495] In some embodiments, the indication information includes any of the following:
[0496] Success indicator, partial success indicator, failure indicator;
[0497] Among them, the success indication is used to indicate that all rules in the data processing model have been accepted or that all rules in the update request have been updated;
[0498] A partial success indication is used to indicate that a portion of the rules in the data processing model has been accepted or that a portion of the rules in the update request has been updated.
[0499] Failure indicators are used to indicate that none of the rules in the data processing model have been accepted or none of the rules in the update request have been updated.
[0500] For details of the various embodiments of the data processing apparatus shown in Figure 9, please refer to the various embodiments of the data processing method shown in Figure 1. To avoid repetition, they will not be described again.
[0501] Figure 10 is a schematic diagram of another data processing apparatus provided in an embodiment of this disclosure. This apparatus is applied to a network function, such as a data plane management and control function (DMF). As shown in Figure 10, the apparatus includes, but is not limited to, a transmitting unit 1001, which is described in detail below:
[0502] The sending unit 1001 is used to send a data processing model to the network device. The data processing model includes a first rule and at least one second rule. The first rule is used to match the data stream to be processed, and at least one second rule is used to process the data stream matched by the first rule.
[0503] In some embodiments, the data processing model is generated by the network function, or generated by the policy control function and sent to the network function.
[0504] In some embodiments, the sending unit 1001 is configured to:
[0505] Send a first message to the network device, the first message including a data processing model and at least one of the following:
[0506] Data service identifier, first network function identifier, network device identifier, data processing model identifier, user group information, and lifetime timestamp.
[0507] In some embodiments, the sending unit 1001 is configured to perform at least one of the following:
[0508] If the network device is a terminal, the data processing model is transparently transmitted to the network device through the access and mobility management functions and the radio access network.
[0509] If the network device is a wireless access network device, the data processing model is transparently transmitted to the network device through the access and mobility management functions;
[0510] If the network device is a user plane function, the data processing model is transparently transmitted to the network device through the session management function;
[0511] If the network device is a data processing function or a control plane network function, then send the data processing model to the network device.
[0512] In some embodiments, the device further includes a receiving unit and a selecting unit:
[0513] The receiving unit is used to receive a data service request before the sending unit 1001 sends the data processing model to the network device;
[0514] The selection unit is used to select network devices based on data service requests.
[0515] In some embodiments, the device further includes a receiving unit for:
[0516] Receive a data processing model response, which includes at least one of the following:
[0517] Instruction information, reason information;
[0518] The indication information is used to indicate the received result of the data processing model, and the reason information is the reason corresponding to the received result.
[0519] In some embodiments, the sending unit 1001 is further configured to:
[0520] If the indication is a partial success indication, which indicates that some rules in the data processing model have been accepted and the data processing model meets the data service requirements of the network device, then the data processing model is resent to the network device.
[0521] In some embodiments, the sending unit 1001 is further configured to:
[0522] Send a subscription request, which is used to subscribe to the state of the data processing model and / or the state of the data service business. The subscription request includes at least one of the following:
[0523] Subscription identifier, subscription event identifier, first network function identifier, network device identifier, data processing model identifier, data service identifier.
[0524] In some embodiments, the sending unit 1001 is further configured to:
[0525] Send an update request, which includes at least one of the following:
[0526] Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
[0527] In some embodiments, the device further includes a receiving unit for:
[0528] After sending the update request, the sending unit 1001 receives an update response, which includes at least one of the following:
[0529] Instruction information, reason information;
[0530] The indication information indicates the update result of the data processing model, and the reason information is the reason for the update result.
[0531] In some embodiments, the device further includes a receiving unit for:
[0532] Receive an update request, which includes at least one of the following:
[0533] Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
[0534] In some embodiments, the sending unit 1001 is further configured to:
[0535] After receiving the update request, the receiving unit sends an update response, which includes at least one of the following:
[0536] Instruction information, reason information;
[0537] The indication information indicates the update result of the data processing model, and the reason information is the reason for the update result.
[0538] In some embodiments, the sending unit 1001 is further configured to:
[0539] Send a release request, which includes at least one of the following:
[0540] Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
[0541] In some embodiments, the device further includes a receiving unit for:
[0542] After sending a release request, the sending unit 1001 receives a release response, which includes at least one of the following:
[0543] Instruction information, reason information;
[0544] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0545] In some embodiments, the device further includes a receiving unit for:
[0546] Receive a release message, which includes at least one of the following:
[0547] Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
[0548] In some embodiments, the sending unit 1001 is further configured to:
[0549] After receiving the release message, the receiving unit sends a release response, which includes at least one of the following:
[0550] Instruction information, reason information;
[0551] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0552] In some embodiments, the indication information includes any of the following:
[0553] Success indicator, partial success indicator, failure indicator;
[0554] Among them, the success indication is used to indicate that all rules in the data processing model have been accepted or that all rules in the update request have been updated;
[0555] A partial success indication is used to indicate that a portion of the rules in the data processing model has been accepted or that a portion of the rules in the update request has been updated.
[0556] Failure indicators are used to indicate that none of the rules in the data processing model have been accepted or none of the rules in the update request have been updated.
[0557] For details of the various embodiments of the data processing apparatus shown in Figure 10, please refer to the various embodiments of the data processing method shown in Figure 2. To avoid repetition, they will not be described again.
[0558] This disclosure also provides a processor-readable storage medium storing a program for causing a processor to execute the steps of various embodiments of the data processing method. The processor-readable storage medium can be any available medium or data storage device accessible to the processor, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0559] Figure 11 is a schematic diagram of a network device provided in an embodiment of this disclosure. The network device can be a terminal (UE), a radio access network (RAN) device (e.g., a base station), a core network function (e.g., user plane function (UPF), data processing function (DPF), and other control plane network functions (CP NFs)), which supports data services such as data processing, storage, and forwarding.
[0560] As shown in Figure 11, the network device provided in this embodiment includes a memory 1101, a transceiver 1102, and a processor 1103.
[0561] Memory 1101 is used to store computer programs; transceiver 1102 is used to send and receive data under the control of the processor; processor 1103 is used to read the computer program from the memory and execute it.
[0562] A data processing model is received, comprising: a first rule and at least one second rule; wherein the first rule is used to match the data stream to be processed, and at least one second rule is used to process the data stream matched by the first rule;
[0563] Based on the first rule, determine the first data stream that matches the first rule;
[0564] The first data stream is processed based on at least one second rule.
[0565] In some embodiments, a first rule corresponds to a data service, and a data service corresponds to at least one first rule; the first rule is used to match one or more data streams belonging to the same data service.
[0566] In some embodiments, the first rule is also used to define the identifier and logical relationship of at least one second rule.
[0567] In some embodiments, the first rule includes at least one of the following:
[0568] First rule identifier, first rule priority, and at least one optional element;
[0569] At least one of the following options is included:
[0570] Data service identifier, data service type, data service requester identifier, protocol stack type, data flow description information list, first rule lifetime, first rule expiration time, at least one second rule identifier, and at least one logical relationship between second rules.
[0571] In some embodiments, at least one second rule includes at least one of the following:
[0572] Data management rules, data processing rules, data service quality control rules, and task statistics rules.
[0573] In some embodiments, data management rules include at least one of the following:
[0574] Data management rule identifier, management action, execution action time, forwarding parameter list, cache / storage parameters, replication parameters, segmentation parameters, and protocol stack processing parameters.
[0575] In some embodiments, the data processing rules include at least one of the following:
[0576] Data processing rule identifier, data processing rule priority, data processing action list, data processing parameters, data processing method, and data processing algorithm.
[0577] In some embodiments, data service quality control rules include at least one of the following:
[0578] Data service quality control rule identifier, data service quality control rule priority, maximum data transmission rate, maximum data processing rate, data storage overhead, data processing energy consumption, data processing computational load, data service business priority, data processing requirements, data security requirements, data processing accuracy, data compression ratio, bandwidth guarantee, traffic scheduling, packet loss control, latency sensitivity, bandwidth limitation, and congestion control.
[0579] In some embodiments, task statistics rules include at least one of the following:
[0580] Task statistics rule identifier, task statistics rule priority, reporting method, task execution progress, traffic usage, data volume, error indication report, load balancing information, overload control information, additional task statistics report information, data processing rate, and data transmission rate.
[0581] In some embodiments, the receiving data processing model includes:
[0582] Receive a first message, which includes a data processing model and at least one of the following:
[0583] Data service identifier, first network function identifier, network device identifier, data processing model identifier, user group information, and lifetime timestamp.
[0584] In some embodiments, after receiving the data processing model, the processor 1103 is further configured to:
[0585] Accept all or part of the rules in the data processing model.
[0586] In some embodiments, after accepting all or part of the rules in the data processing model, the processor 1103 is further configured to:
[0587] Send a data processing model response, which includes at least one of the following:
[0588] Instruction information, reason information;
[0589] The indication information is used to indicate the received result of the data processing model, and the reason information is the reason corresponding to the received result.
[0590] In some embodiments, the processor 1103 is further configured to:
[0591] The second data stream is either discarded or processed based on the default data processing procedure; the second data stream is the one that does not match the first rule.
[0592] In some embodiments, the processor 1103 is further configured to:
[0593] Receive subscription requests, which are used to subscribe to the status of the data processing model and / or the status of data service operations. The subscription request includes at least one of the following:
[0594] Subscription identifier, subscription event identifier, first network function identifier, network device identifier, data processing model identifier, data service identifier;
[0595] Send subscription information if the subscription event changes.
[0596] In some embodiments, the processor 1103 is further configured to:
[0597] Receive an update request, which includes at least one of the following:
[0598] Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
[0599] In some embodiments, after receiving an update request, the processor 1103 is further configured to:
[0600] Send an update response, which includes at least one of the following:
[0601] Instruction information, reason information;
[0602] The indication information indicates the update result of the data processing model, and the reason information is the reason for the update result.
[0603] In some embodiments, the processor 1103 is further configured to:
[0604] Send an update request, which includes at least one of the following:
[0605] Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
[0606] In some embodiments, after sending the update request, the processor 1103 is further configured to:
[0607] Receive an update response, which includes at least one of the following:
[0608] Instruction information, reason information;
[0609] The indication information indicates the update result of the data processing model, and the reason information is the reason for the update result.
[0610] In some embodiments, the processor 1103 is further configured to:
[0611] Receive a release request, which includes at least one of the following:
[0612] Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
[0613] In some embodiments, after receiving a release request, the processor 1103 is further configured to:
[0614] Delete the data processing model stored locally and update the data processing context;
[0615] Send a release response, which includes at least one of the following:
[0616] Instruction information, reason information;
[0617] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0618] In some embodiments, the processor 1103 is further configured to:
[0619] Send a release message, which includes at least one of the following:
[0620] Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
[0621] In some embodiments, after sending the release message, the network device further includes:
[0622] Receive a release response, which includes at least one of the following:
[0623] Instruction information, reason information;
[0624] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0625] In some embodiments, the indication information includes any of the following:
[0626] Success indicator, partial success indicator, failure indicator;
[0627] Among them, the success indication is used to indicate that all rules in the data processing model have been accepted or that all rules in the update request have been updated;
[0628] A partial success indication is used to indicate that a portion of the rules in the data processing model has been accepted or that a portion of the rules in the update request has been updated.
[0629] Failure indicators are used to indicate that none of the rules in the data processing model have been accepted or none of the rules in the update request have been updated.
[0630] For details of the various embodiments of the network devices shown in Figure 11, please refer to the various embodiments of the data processing method shown in Figure 1. To avoid repetition, they will not be described again.
[0631] Figure 12 is a schematic diagram of a network function provided in an embodiment of this disclosure. The network function is, for example, a Data Plane Management and Control (DMF) function. As shown in Figure 12, the network function provided in this embodiment includes a memory 1201, a transceiver 1202, and a processor 1203.
[0632] Memory 1201 is used to store computer programs; transceiver 1202 is used to send and receive data under the control of the processor; processor 1203 is used to read the computer program from the memory and execute it.
[0633] A data processing model is sent to a network device. The data processing model includes a first rule and at least one second rule. The first rule is used to match the data stream to be processed, and at least one second rule is used to process the data stream matched by the first rule.
[0634] In some embodiments, the data processing model is generated by the network function, or generated by the policy control function and sent to the network function.
[0635] In some embodiments, sending a data processing model to a network device includes:
[0636] Send a first message to the network device, the first message including a data processing model and at least one of the following:
[0637] Data service identifier, first network function identifier, network device identifier, data processing model identifier, user group information, and lifetime timestamp.
[0638] In some embodiments, sending a data processing model to a network device includes at least one of the following:
[0639] If the network device is a terminal, the data processing model is transparently transmitted to the network device through the access and mobility management functions and the radio access network.
[0640] If the network device is a wireless access network device, the data processing model is transparently transmitted to the network device through the access and mobility management functions;
[0641] If the network device is a user plane function, the data processing model is transparently transmitted to the network device through the session management function;
[0642] If the network device is a data processing function or a control plane network function, then send the data processing model to the network device.
[0643] In some embodiments, before sending the data processing model to the network device, the processor 1203 is further configured to:
[0644] Receive data service requests;
[0645] Select network devices based on data service requests.
[0646] In some embodiments, the processor 1203 is further configured to:
[0647] Receive a data processing model response, which includes at least one of the following:
[0648] Instruction information, reason information;
[0649] The indication information is used to indicate the received result of the data processing model, and the reason information is the reason corresponding to the received result.
[0650] In some embodiments, the processor 1203 is further configured to:
[0651] If the indication is a partial success indication, which indicates that some rules in the data processing model have been accepted and the data processing model meets the data service requirements of the network device, then the data processing model is resent to the network device.
[0652] In some embodiments, the processor 1203 is further configured to:
[0653] Send a subscription request, which is used to subscribe to the state of the data processing model and / or the state of the data service business. The subscription request includes at least one of the following:
[0654] Subscription identifier, subscription event identifier, first network function identifier, network device identifier, data processing model identifier, data service identifier.
[0655] In some embodiments, the processor 1203 is further configured to:
[0656] Send an update request, which includes at least one of the following:
[0657] Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
[0658] In some embodiments, after sending the update request, the processor 1203 is further configured to:
[0659] Receive an update response, which includes at least one of the following:
[0660] Instruction information, reason information;
[0661] The indication information indicates the update result of the data processing model, and the reason information is the reason for the update result.
[0662] In some embodiments, the processor 1203 is further configured to:
[0663] Receive an update request, which includes at least one of the following:
[0664] Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
[0665] In some embodiments, after receiving an update request, the processor 1203 is further configured to:
[0666] Send an update response, which includes at least one of the following:
[0667] Instruction information, reason information;
[0668] The indication information indicates the update result of the data processing model, and the reason information is the reason for the update result.
[0669] In some embodiments, the processor 1203 is further configured to:
[0670] Send a release request, which includes at least one of the following:
[0671] Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
[0672] In some embodiments, after sending the release request, the processor 1203 is further configured to:
[0673] Receive a release response, which includes at least one of the following:
[0674] Instruction information, reason information;
[0675] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0676] In some embodiments, the processor 1203 is further configured to:
[0677] Receive a release message, which includes at least one of the following:
[0678] Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
[0679] In some embodiments, after receiving the release message, the processor 1203 is further configured to:
[0680] Send a release response, which includes at least one of the following:
[0681] Instruction information, reason information;
[0682] The indication information indicates the release result of the data processing model, and the reason information is the reason corresponding to the release result.
[0683] In some embodiments, the indication information includes any of the following:
[0684] Success indicator, partial success indicator, failure indicator;
[0685] Among them, the success indication is used to indicate that all rules in the data processing model have been accepted or that all rules in the update request have been updated;
[0686] A partial success indication is used to indicate that a portion of the rules in the data processing model has been accepted or that a portion of the rules in the update request has been updated.
[0687] Failure indicators are used to indicate that none of the rules in the data processing model have been accepted or none of the rules in the update request have been updated.
[0688] For details of the network function embodiments shown in Figure 12, please refer to the data processing method embodiments shown in Figure 2. To avoid repetition, they will not be described again.
[0689] In the above embodiments, the transceiver is used to receive and transmit data under the control of the processor. The bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits of one or more processors (represented by the processor) and memory (represented by the memory). The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver can be multiple components, including a transmitter and a receiver, providing a unit for communicating with various other devices over a transmission medium, including wireless channels, wired channels, optical fibers, etc. The processor is responsible for managing the bus architecture and general processing, and the memory can store data used by the processor during operation.
[0690] A processor can be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above methods can be completed through integrated logic circuits in the processor's hardware or through software instructions. The processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor can be a microprocessor or any conventional processor.
[0691] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0692] Those skilled in the art will understand that although some embodiments described herein include certain features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of this disclosure and form different embodiments.
[0693] Those skilled in the art will understand that the descriptions of the various embodiments have different focuses, and for parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0694] Although embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present disclosure, and all such modifications and variations fall within the scope defined by the appended claims.
Claims
1. A data processing method applied to a network device, the method comprising: A receiving data processing model is provided, the data processing model comprising: a first rule and at least one second rule; wherein the first rule is used to match a data stream to be processed, and the at least one second rule is used to process the data stream matched by the first rule; Based on the first rule, determine the first data stream that matches the first rule; The first data stream is processed based on at least one second rule.
2. The method according to claim 1, wherein, The first rule corresponds to a data service, and the data service corresponds to at least one first rule; the first rule is used to match one or more data streams belonging to the same data service.
3. The method according to claim 1, wherein, The first rule is also used to define the identifier and logical relationship of the at least one second rule.
4. The method according to any one of claims 1 to 3, wherein, The first rule includes at least one of the following: First rule identifier, first rule priority, and at least one optional element; The at least one option includes at least one of the following: Data service identifier, data service type, data service requester identifier, protocol stack type, data flow description information list, first rule lifetime, first rule expiration time, at least one second rule identifier, and at least one logical relationship between second rules.
5. The method according to claim 1, wherein, The at least one second rule includes at least one of the following: Data management rules, data processing rules, data service quality control rules, and task statistics rules.
6. The method according to claim 5, wherein, The data management rules include at least one of the following: Data management rule identifier, management action, execution action time, forwarding parameter list, cache / storage parameters, replication parameters, segmentation parameters, protocol stack processing parameters; The data processing rules include at least one of the following: Data processing rule identifier, data processing rule priority, data processing action list, data processing parameters, data processing method, and data processing algorithm; The data service quality control rules include at least one of the following: Data service quality control rule identifier, data service quality control rule priority, maximum data transmission rate, maximum data processing rate, data storage overhead, data processing energy consumption, data processing computational load, data service business priority, data processing requirements, data security requirements, data processing accuracy, data compression ratio, bandwidth guarantee, traffic scheduling, packet loss control, latency sensitivity, bandwidth limitation, and congestion control. The task statistics rules include at least one of the following: Task statistics rule identifier, task statistics rule priority, reporting method, task execution progress, traffic usage, data volume, error indication report, load balancing information, overload control information, additional task statistics report information, data processing rate, and data transmission rate.
7. The method according to claim 1, wherein, The received data processing model includes: Receive a first message, the first message including the data processing model and at least one of the following: Data service identifier, first network function identifier, network device identifier, data processing model identifier, user group information, and lifetime timestamp.
8. The method according to claim 1, wherein, Following the data receiving and processing model, the method further includes: Accept all or part of the rules in the data processing model.
9. The method according to claim 8, wherein, After accepting all or part of the rules in the data processing model, the method further includes: Sending a data processing model response, wherein the data processing model response includes at least one of the following: Instruction information, reason information; The indication information is used to indicate the receiving result of the data processing model, and the reason information is the reason corresponding to the receiving result.
10. The method according to claim 1, wherein, The method further includes: The second data stream is either discarded or processed based on the default data processing procedure, where the second data stream is a data stream that does not match the first rule.
11. The method according to claim 1, wherein, The method further includes: Receive a subscription request, the subscription request being used to subscribe to the state of the data processing model and / or the state of the data service business, the subscription request including at least one of the following: Subscription identifier, subscription event identifier, first network function identifier, network device identifier, data processing model identifier, data service identifier; Send subscription information if the subscription event changes.
12. The method according to claim 1, wherein, The method further includes: Receive an update request, wherein the update request includes at least one of the following: Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and timestamp.
13. The method according to claim 12, wherein, After receiving the update request, the method further includes: Send an update response, which includes at least one of the following: Instruction information, reason information; The indication information is used to indicate the update result of the data processing model, and the reason information is the reason corresponding to the update result.
14. The method according to claim 1, wherein, The method further includes: Send an update request, the update request including at least one of the following: Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
15. The method according to claim 14, wherein, After sending the update request, the method further includes: Receive an update response, which includes at least one of the following: Instruction information, reason information; The indication information is used to indicate the update result of the data processing model, and the reason information is the reason corresponding to the update result.
16. The method according to claim 1, wherein, The method further includes: Receive a release request, the release request including at least one of the following: Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
17. The method according to claim 16, wherein, After receiving the release request, the method further includes: Delete the data processing model stored locally and update the data processing context; Send a release response, the release response including at least one of the following: Instruction information, reason information; The indication information is used to indicate the release result of the data processing model, and the reason information is the reason corresponding to the release result.
18. The method according to claim 1, wherein, The method further includes: Send a release message, the release message including at least one of the following: Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
19. The method according to claim 18, wherein, After sending the release message, the method further includes: Receive a release response, the release response including at least one of the following: Instruction information, reason information; The indication information is used to indicate the release result of the data processing model, and the reason information is the reason corresponding to the release result.
20. The method according to claim 9, 13 or 15, wherein, The instruction information includes any of the following: Success indicator, partial success indicator, failure indicator; The success indication is used to indicate that all rules in the data processing model have been accepted or all rules in the update request have been updated. The partial success indication is used to indicate that a portion of the rules in the data processing model has been accepted or that a portion of the rules in the update request has been updated. The failure indication is used to indicate that all rules in the data processing model have not been accepted or that all rules in the update request have not been updated.
21. A data processing method applied to network functions, the method comprising: A data processing model is sent to a network device, the data processing model comprising: a first rule and at least one second rule; wherein the first rule is used to match a data stream to be processed, and the at least one second rule is used to process the data stream matched by the first rule.
22. The method according to claim 21, wherein, The data processing model is generated by the network function, or generated by the policy control function and sent to the network function.
23. The method according to claim 21, wherein, The step of sending the data processing model to the network device includes: Send a first message to the network device, the first message including the data processing model and at least one of the following: Data service identifier, first network function identifier, network device identifier, data processing model identifier, user group information, and lifetime timestamp.
24. The method according to claim 21, wherein, The data processing model for sending data to network devices includes at least one of the following: If the network device is a terminal, the data processing model is transparently transmitted to the network device through the access and mobility management function and the wireless access network; If the network device is a wireless access network device, the data processing model is transparently transmitted to the network device through the access and mobility management functions; If the network device is a user plane function, the data processing model is transparently transmitted to the network device through the session management function; If the network device is a data processing function or a control plane network function, then send the data processing model to the network device.
25. The method according to claim 24, wherein, Before sending the data processing model to the network device, the method further includes: Receive data service requests; Based on the data service request, select a network device.
26. The method according to claim 21, wherein, The method further includes: Receive a data processing model response, wherein the data processing model response includes at least one of the following: Instruction information, reason information; The indication information is used to indicate the receiving result of the data processing model, and the reason information is the reason corresponding to the receiving result.
27. The method according to claim 26, wherein, The method further includes: If the indication information is a partial success indication, the partial success indication is used to indicate that some rules in the data processing model are accepted and the data processing model meets the data service requirements of the network device, then the data processing model is resent to the network device.
28. The method according to claim 21, wherein, The method further includes: Send a subscription request, the subscription request being used to subscribe to the state of the data processing model and / or the state of the data service business, the subscription request including at least one of the following: Subscription identifier, subscription event identifier, first network function identifier, network device identifier, data processing model identifier, data service identifier.
29. The method according to claim 21, wherein, The method further includes: Send an update request, the update request including at least one of the following: Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
30. The method according to claim 29, wherein, After sending the update request, the method further includes: Receive an update response, which includes at least one of the following: Instruction information, reason information; The indication information is used to indicate the update result of the data processing model, and the reason information is the reason corresponding to the update result.
31. The method according to claim 21, wherein, The method further includes: Receive an update request, wherein the update request includes at least one of the following: Data service identifier, first network function identifier, network device identifier, data processing model identifier, updated rule identifier and rule content, user group information, and live timestamp.
32. The method according to claim 31, wherein, After receiving the update request, the method further includes: Send an update response, which includes at least one of the following: Instruction information, reason information; The indication information is used to indicate the update result of the data processing model, and the reason information is the reason corresponding to the update result.
33. The method according to claim 21, wherein, The method further includes: Send a release request, the release request including at least one of the following: Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
34. The method according to claim 33, wherein, After sending the release request, the method further includes: Receive a release response, the release response including at least one of the following: Instruction information, reason information; The indication information is used to indicate the release result of the data processing model, and the reason information is the reason corresponding to the release result.
35. The method according to claim 21, wherein, The method further includes: Receive a release message, the release message including at least one of the following: Data service identifier, first network function identifier, network device identifier, data processing model identifier, release reason.
36. The method according to claim 35, wherein, After receiving the release message, the method further includes: Send a release response, the release response including at least one of the following: Instruction information, reason information; The indication information is used to indicate the release result of the data processing model, and the reason information is the reason corresponding to the release result.
37. The method according to claim 26, 30 or 32, wherein, The instruction information includes any of the following: Success indicator, partial success indicator, failure indicator; The success indication is used to indicate that all rules in the data processing model have been accepted or all rules in the update request have been updated. The partial success indication is used to indicate that a portion of the rules in the data processing model has been accepted or that a portion of the rules in the update request has been updated. The failure indication is used to indicate that all rules in the data processing model have not been accepted or that all rules in the update request have not been updated.
38. A network device, wherein, The network device includes a memory, a transceiver, and a processor; The memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor. The processor is configured to read and execute the computer program in the memory: A receiving data processing model is provided, the data processing model comprising: a first rule and at least one second rule; wherein the first rule is used to match a data stream to be processed, and the at least one second rule is used to process the data stream matched by the first rule; Based on the first rule, determine the first data stream that matches the first rule; The first data stream is processed based on at least one second rule.
39. A network function, wherein, The network functions include a memory, a transceiver, and a processor; The memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor. The processor is configured to read and execute the computer program in the memory: A data processing model is sent to a network device, the data processing model comprising: a first rule and at least one second rule; wherein the first rule is used to match a data stream to be processed, and the at least one second rule is used to process the data stream matched by the first rule.
40. A processor-readable storage medium, wherein, The processor-readable storage medium stores a program for causing the processor to perform the data processing method as described in any one of claims 1 to 20 or the data processing method as described in any one of claims 21 to 37.