A communication method and a communication device
By analyzing traffic characteristics and generating traffic pattern analysis results through functional network elements, the problem of user plane performance degradation caused by abnormal traffic in wireless networks is solved. This enables the identification and processing of abnormal traffic, thereby improving user plane transmission performance.
Patent Information
- Application Number
- CN202510595272.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-08
- Publication Date
- 2026-11-10
AI Technical Summary
In wireless networks, sudden or abnormal traffic can cause user plane network elements to be overwhelmed by a large number of malicious data packets, leading to network congestion, incorrect dropping of normal service data packets, increased load on N3 and Uu interfaces, and reduced user plane performance.
By analyzing the traffic characteristics received by functional network elements, traffic pattern analysis results are generated to assist user plane network elements in identifying and processing abnormal traffic, reducing signaling load, and improving user plane performance.
Effectively identify and handle abnormal traffic to avoid loss of normal business data packets due to network congestion and improve user plane transmission performance.
Smart Images

Figure CN123075438A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and more specifically, to a communication method and a communication device. Background Technology
[0002] In wireless networks, during the transmission of data packets, there may be sudden or abnormal traffic, such as a large number of abnormal or malicious Internet Protocol (IP) data packets, IP data streams, abnormal sudden traffic, or abnormal synchronization sequence number acknowledgment (SYN-ACK) signaling. In such cases, the network side cannot correctly identify and judge the received sudden data packets, which may lead to the user plane network elements being overwhelmed by a large number of malicious data packets. This may result in the erroneous dropping of normal service data packets due to network congestion, causing increased load on the N3 and Uu interfaces and reduced user plane performance.
[0003] Therefore, improving user-facing performance is a problem that needs to be considered. Summary of the Invention
[0004] This application provides a communication method and a communication device that can improve user plane performance.
[0005] Firstly, a secure communication method is provided. This method can be applied to analytical function network elements. For example, analytical function network elements, or communication and / or computing modules within analytical function network elements, or circuits or chips responsible for communication functions within analytical function network elements (such as modem chips, also known as baseband chips, or system-on-chip (SoC) chips or system-in-package (SIP) chips containing modem cores), or circuits or chips responsible for communication and / or computing functions within analytical function network elements (such as graphics processing units (GPUs), artificial intelligence (AI) processors, or application-specific integrated circuits (ASICs)), or it can also be a logic module or software capable of implementing all or part of the analytical function network element. The method is described using the application of this method to an analytical function network element as an example.
[0006] In this method, the analysis function network element receives a first message from a first network element. The first message is used to subscribe to or request traffic pattern analysis for a first data stream. The traffic pattern analysis is used to analyze the traffic characteristics of the first data stream. The first message includes an analysis identifier, which is used to indicate the traffic pattern analysis. The analysis function network element then acquires traffic characteristic information, which is used to characterize the traffic characteristics of the first data stream. Based on the traffic characteristic information, the analysis function network element generates a traffic pattern analysis result, which is used to process the first data stream. Finally, the analysis function network element sends a second message to the first network element, which includes the traffic pattern analysis result.
[0007] For example, the analysis function network element can be called an analysis network element or a network data analysis function network element, etc., and this application does not limit its specific name. For example, the analysis function network element can be a network data analytics function (NWDAF).
[0008] For example, the first network element may be referred to as a consumer network element, analytics consumer, network data analysis function (NWDAF) service consumer user, requester, network function (NF), network management (e.g., OAM), terminal equipment, access network equipment, application function network element, or core network element (e.g., policy control function (PCF), access and mobility management function (AMF), session management function (SMF), or user plane function (UPF), etc.).
[0009] Using the above method, a traffic pattern analysis method for the first data stream is proposed. The first network element subscribes to or requests traffic pattern analysis for the first data stream from the analysis function network element. The analysis function network element generates traffic pattern analysis results based on the acquired traffic feature information and feeds back the traffic pattern analysis results to the first network element. That is, the analysis function network element supports traffic pattern analysis for the user plane, which can assist the first network element or the user plane network element in identifying abnormal traffic based on the traffic pattern analysis results and handling abnormal traffic, so as to avoid the user plane performance degradation due to abnormal traffic.
[0010] In conjunction with the first aspect, in some implementations of the first aspect, traffic characteristic information is used to characterize the traffic characteristics of a first data stream from the data network.
[0011] Alternatively, the first data stream can be a data stream transmitted between the data network and the user plane network element, that is, the first data stream comes from the data network.
[0012] Using the above method, the first data stream is a downlink data stream sent from the data network to the user plane network element. Subsequently, the user plane network element can judge the type of data packets from the data network and process them accordingly based on the traffic pattern of the data stream, so as to avoid the degradation of user plane performance caused by abnormal traffic.
[0013] In conjunction with the first aspect, in some implementations of the first aspect, the first message also includes analysis filter information used to indicate the first data stream.
[0014] For example, the analysis filter information includes at least one of the following: the data network name corresponding to the first data stream, the slice name corresponding to the first data stream, the application identifier, the Internet Protocol (IP) address or prefix corresponding to the first data stream, and the packet filtering information corresponding to the first data stream; wherein, the application identifier is used to indicate the first application, which is associated with the first data stream.
[0015] By using the above method, by carrying analysis filter information in the first message, the analysis function network element can clearly understand the first network element's request or subscription to traffic pattern analysis for the first data stream, that is, to perform targeted traffic pattern analysis and subscription, which helps to reduce signaling load and makes it easier for subsequent user plane network elements to take effective measures to process data traffic and improve user plane performance.
[0016] In conjunction with the first aspect, in some implementations of the first aspect, the first data stream is associated with a first session, and / or the first data stream is associated with a first application; wherein the first information further includes a session identifier and / or an application identifier, the session identifier being used to indicate the first session between the terminal device and the user plane network element, and the application identifier being used to indicate the first application.
[0017] By using the above method, the first data stream is associated with the first session or the first application. In other words, the first data stream can be one or more data streams corresponding to the first session, or one or more data streams corresponding to the first application. By carrying the session identifier and / or application identifier in the first information, the analysis function network element can clearly understand the traffic pattern analysis requested or subscribed by the first network element for the first data stream associated with the first session and / or the first application. That is, it can perform traffic pattern analysis and subscription in a targeted manner, which helps to reduce signaling load and makes it easier for subsequent user plane network elements to take effective measures to process data traffic in order to improve user plane performance.
[0018] In conjunction with the first aspect, in some implementations of the first aspect, obtaining traffic characteristic information includes: sending a third message to a user plane network element, the third message being used to subscribe to or request traffic characteristic information; and receiving traffic characteristic information from a user plane network element.
[0019] Using the above method, the analysis function network element can obtain traffic characteristic information for the first data stream by interacting with the user plane network element. This facilitates the generation of traffic pattern analysis results based on the traffic characteristic information, which instructs the user plane network element on how to process the first data stream, identify or interpret abnormal traffic, and avoid abnormal traffic causing a decline in user plane performance.
[0020] In conjunction with the first aspect, in some implementations of the first aspect, the third message includes indication information of the triggering condition, which is used to instruct the user plane network element to send traffic characteristic information when the triggering condition is met.
[0021] For example, the triggering conditions include at least one of the following: the bandwidth occupied by the first data flow is greater than or equal to a first threshold; the data volume of the first data flow is greater than or equal to a second threshold; the congestion information (or congestion percentage, congestion ratio, or congestion level) of the quality of service (QoS) flow associated with the first data flow is greater than or equal to a third threshold; or, the load of the user plane network element is greater than or equal to a fourth threshold.
[0022] By using the above method, by carrying indication information of triggering conditions in the first message (e.g., the analysis report parameters in the first message), the user plane network element is instructed to send traffic characteristic information to the analysis function network element when the triggering conditions are met. This helps to reduce the signaling interaction frequency between the first network element and NWDAF and reduce the signaling load.
[0023] In conjunction with the first aspect, in some implementations of the first aspect, the third message includes at least one of the following: the measurement time corresponding to the flow characteristic information, the measurement frequency corresponding to the flow characteristic information, the measurement period corresponding to the flow characteristic information, or the measurement time interval corresponding to the flow characteristic information.
[0024] By using the above method, by carrying data reporting requirements or traffic characteristic information measurement requirements in the third message, user plane network elements can collect traffic characteristic information for the first data stream at specific measurement times and / or using specific measurement frequencies, and then report the traffic characteristic information to the analysis function network element, reducing signaling load, and at the same time facilitating the analysis function network element to generate more accurate traffic pattern analysis results for processing the first data stream.
[0025] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: obtaining first traffic pattern information; wherein, generating traffic pattern analysis results based on traffic feature information includes: generating traffic pattern analysis results based on traffic feature information and first traffic pattern information.
[0026] It is understood that the first traffic pattern information may include normal traffic pattern information and / or abnormal traffic pattern information, without limitation.
[0027] Using the above method, the analysis function network element can generate traffic pattern analysis results for processing the first data stream based on the acquired first traffic pattern information and traffic characteristic information, so that subsequent user plane network elements can identify or judge abnormal traffic and process abnormal traffic, thereby improving user plane transmission performance.
[0028] In conjunction with the first aspect, in some implementations of the first aspect, obtaining the first traffic pattern information includes: sending a fourth message to the application function network element, the fourth message being used to subscribe to or request the first traffic pattern information; and receiving the first traffic pattern information from the application function network element.
[0029] Using the above method, the analysis function network element can obtain the first traffic pattern information for the first data stream by interacting with the application function network element. This facilitates the generation of traffic pattern analysis results based on the first traffic pattern information, which instructs the user plane network element on how to process the first data stream, identify or judge abnormal traffic, avoid the loss of normal service data packets due to network congestion, and improve user plane transmission performance.
[0030] In conjunction with the first aspect, in some implementations of the first aspect, a traffic pattern analysis result is generated based on traffic feature information and first traffic pattern information, including: obtaining a traffic pattern classifier based on the first traffic pattern information; and generating a traffic pattern analysis result based on the traffic pattern classifier and traffic feature information.
[0031] Using the above method, the analysis function network element first trains a model based on the first traffic pattern information obtained from the application function network element to obtain a traffic pattern classifier (or, traffic pattern analysis model). Then, the traffic feature information from the user plane network element is used as the input of the traffic pattern classifier, and the output is the traffic pattern analysis result for processing the first data stream, so as to improve the user plane performance.
[0032] In conjunction with the first aspect, in certain implementations of the first aspect, the traffic characteristic information includes at least one of the following: application identifier, filtering information, traffic detection start time of the first data stream, traffic detection end time of the first data stream, traffic detection end time of the first data stream, uplink data rate of the first data stream, downlink data rate of the first data stream, uplink data volume of the first data stream, downlink data volume of the first data stream, bandwidth occupied by the first data stream, and a list of uniform resource locators (URLs) in the detected user plane packets of the first data stream; address distribution information, or a list of domain names in the detected user plane packets of the first data stream.
[0033] The application identifier indicates the first application associated with the first data stream. Filtering information indicates the first data stream. Address distribution information indicates the address distribution of application servers that have communicated with user plane network elements.
[0034] For example, the filtering information includes at least one of the following: the data network name corresponding to the first data stream, the slice name corresponding to the first data stream, the application identifier, the Internet Protocol IP address or prefix corresponding to the first data stream, or the packet filtering information corresponding to the first data stream, wherein the application identifier is used to indicate the first application, which is associated with the first data stream.
[0035] In conjunction with the first aspect, in some implementations of the first aspect, exemplarily, the first traffic pattern information includes at least one of the following: application identifier, session identifier, filtering information, source address or source address prefix, traffic category, address distribution information, average number of UEs communicating with the server per unit time, traffic detection or communication start time of the first data stream, traffic detection or communication end time of the first data stream, uplink data rate of the first data stream, downlink data rate of the first data stream, uplink data volume of the first data stream, downlink data volume of the first data stream, bandwidth occupied by the first data stream, maximum burst data volume of the first data stream, data burst period of the first data stream, URL list information in the user plane packets detected in the first data stream, or, domain name list information in the user plane packets detected in the first data stream.
[0036] The application identifier is used to indicate the first application associated with the first data stream, the source address or source address prefix is used to indicate the first application associated with the first data stream, the traffic category is used to indicate whether the first data stream is normal traffic or abnormal traffic, and the address distribution information is used to indicate the address distribution of the terminal devices that have communicated with the application server.
[0037] In conjunction with the first aspect, in some implementations of the first aspect, the traffic pattern analysis results include second traffic pattern information (also known as traffic pattern statistics or traffic pattern prediction information), which is determined based on traffic characteristic information.
[0038] For example, the second traffic pattern information includes at least one of the following: traffic category; abnormal traffic level; uplink data volume of the first data stream under one or more traffic categories; downlink data volume of the first data stream under one or more traffic categories; uplink data rate of the first data stream under one or more traffic categories; downlink data rate of the first data stream under one or more traffic categories; packet size distribution of the first data stream under one or more traffic categories; presence time of the first data stream under one or more traffic categories; or, data burst range or burst period of the first data stream under one or more traffic categories.
[0039] The traffic category is used to indicate whether the first data stream is normal or abnormal.
[0040] By using the above method, by carrying second traffic pattern information in the traffic pattern analysis results, the first network element can determine how to handle the traffic corresponding to the traffic pattern through the second traffic pattern information, namely the traffic pattern statistics or traffic pattern prediction information for the first data stream, so as to avoid the degradation of user plane performance due to abnormal traffic.
[0041] In conjunction with the first aspect, in some implementations of the first aspect, the traffic pattern analysis results also include at least one of the following: the traffic pattern analysis results include at least one of the following: analysis filter information, recommended actions, or address information.
[0042] For example, the analysis filter information includes at least one of the following: the data network name corresponding to the first data stream, the slice name corresponding to the first data stream, the application identifier, the IP address or prefix corresponding to the first data stream, or the packet filtering information corresponding to the first data stream.
[0043] For example, the recommended action is used to instruct processing actions for the first data stream.
[0044] For example, the address information is used to indicate at least one of the following: a first address, a second address, or a third address, wherein the first address is the address of a first terminal device that is allowed to use the first application associated with the first data stream or is allowed to communicate with the application server, the second address is the address of a second terminal device that is prohibited from using the first application associated with the first data stream or is prohibited from communicating with the application server, and the third address is the address distribution of a third terminal device that has communicated with the application server.
[0045] By using the above method, by including analysis filter information, recommended actions, or address information in the traffic pattern analysis results, the first network element can determine the subsequent processing actions for the first data flow. For example, after receiving data traffic, the user plane network element can process the data traffic according to the recommended actions carried in the traffic pattern analysis results. Alternatively, the first network element can determine the whitelist, blacklist, or IP address distribution of the IP addresses for the first data flow, which facilitates the user plane network element to perform targeted traffic processing in the future to improve user plane performance.
[0046] Secondly, a communication method is provided. This method can be applied to a first network element. For example, the first network element, or a communication module and / or computing module within the first network element, or a circuit or chip responsible for communication functions in a session management network element (such as a modem chip, also known as a baseband chip, or a SoC chip or SIP chip containing a modem core), or a circuit or chip responsible for communication and / or computing functions in the first network element (such as a GPU, AI processor, ASIC), or it can also be a logic module or software capable of implementing all or part of the functions of the first network element. The method is described using the application of this method to a first network element as an example.
[0047] In this method, a first network element sends a first message to an analysis function network element. The first message is used to subscribe to or request traffic pattern analysis for a first data stream. The traffic pattern analysis service is used to analyze the traffic characteristics of the first data stream. The first information includes an analysis identifier, which is used to indicate the traffic pattern analysis. A second message is received from the analysis function network element. The second message includes a traffic pattern analysis result. The traffic pattern analysis result is used to process the first data stream. The traffic pattern analysis result is generated based on traffic characteristic information, which is used to characterize the traffic characteristics of the first data stream.
[0048] Using the above method, a traffic pattern analysis method for the first data stream is proposed. The first network element subscribes to or requests traffic pattern analysis for the first data stream from the analysis function network element. The analysis function network element generates traffic pattern analysis results based on the acquired traffic feature information and feeds back the traffic pattern analysis results to the first network element. That is, the analysis function network element supports user plane traffic pattern analysis, which can assist the first network element or the user plane network element in identifying abnormal traffic based on the traffic pattern analysis results and processing abnormal traffic, thereby avoiding user plane performance degradation caused by abnormal traffic.
[0049] In conjunction with the second aspect, in some implementations of the second aspect, the method further includes: determining a first rule based on the traffic pattern analysis results, the first rule being used to process the first data stream.
[0050] In conjunction with the second aspect, in some implementations of the second aspect, the method further includes: sending a fifth message to the user plane network element, the fifth message including the first rule.
[0051] Using the above method, the first network element (e.g., NF, OAM, PCF, SMF, AMF, etc.) can generate or update a first rule based on the traffic pattern analysis results obtained from the analysis function network element. This first rule could be an N4 rule, a traffic pattern rule, or a policy and charging control (PCC) rule, used by the user plane network element for subsequent processing of received data traffic. Furthermore, the first network element (e.g., SMF) can send the generated first rule, such as an N4 rule or a traffic pattern rule, to the user plane network element, allowing the user plane network element to process received data traffic based on the acquired first rule, thereby improving user plane performance. In other words, under this implementation, the core network element can update its rules for handling abnormal traffic in a timely manner, helping the user plane network element mitigate the impact of abnormal traffic.
[0052] In conjunction with the second aspect, in some implementations of the second aspect, the fifth message also includes second traffic pattern information. For example, the second traffic pattern information is carried in the first rule and is determined based on traffic characteristic information.
[0053] By using the above method, by carrying the second traffic pattern information in the fifth message, the user plane network element can process the received data traffic based on the second traffic pattern information, thereby improving the user plane performance.
[0054] In conjunction with the second aspect, in some implementations of the second aspect, the first rule is used to process the first data stream, including at least one of the following: the first rule is used to discard data packets in the first data stream, or reduce the QoS level of the first data stream, or reduce the transmission rate of the first data stream.
[0055] Using the above method, after the user plane network element performs traffic pattern analysis on the received data traffic, it determines that the data traffic is abnormal traffic. Then, based on the first rule, it can discard the abnormal traffic, reduce the QoS level of the data flow, or reduce the transmission rate of the data flow to improve user plane performance.
[0056] In conjunction with the second aspect, in some implementations of the second aspect, the fifth message is an N4 session establishment request message, an N4 session update request message, or a traffic mode management message.
[0057] In conjunction with the second aspect, in some implementations of the second aspect, traffic characteristic information is used to characterize the traffic characteristics of the first data stream from the data network, that is, the first data stream comes from the data network.
[0058] In conjunction with the second aspect, in some implementations of the second aspect, the first message also includes analysis filter information used to indicate the first data stream.
[0059] In conjunction with the second aspect, in some implementations of the second aspect, the analysis filter information includes at least one of the following: the data network name corresponding to the first data stream, the slice name corresponding to the first data stream, the application identifier, the IP address or prefix corresponding to the first data stream, or the packet filtering information corresponding to the first data stream; wherein, the application identifier is used to indicate the first application, and the first application is associated with the first data stream.
[0060] In conjunction with the second aspect, in some implementations of the second aspect, the first data stream is associated with a first session, and / or the first data stream is associated with a first application; wherein the first information further includes a session identifier and / or an application identifier, the session identifier being used to indicate the first session between the terminal device and the user plane network element, and the application identifier being used to indicate the first application.
[0061] In conjunction with the second aspect, in certain implementations of the second aspect, the traffic characteristic information includes at least one of the following: an application identifier, used to indicate a first application associated with the first data stream; filtering information, used to indicate the first data stream; the start time of traffic detection or communication for the first data stream; the end time of traffic detection or communication for the first data stream; the uplink data rate of the first data stream; the downlink data rate of the first data stream; the uplink data volume of the first data stream; the downlink data volume of the first data stream; the bandwidth occupied by the first data stream; URL list information in the user plane packets detected in the first data stream; address distribution information; or, domain name list information in the user plane packets detected in the first data stream.
[0062] In conjunction with the second aspect, in some implementations of the second aspect, the first traffic pattern information includes at least one of the following: application identifier, session identifier, filtering information, source address or source address prefix, traffic category, address distribution information, average number of UEs communicating with the server per unit time, traffic detection or communication start time of the first data stream, traffic detection or communication end time of the first data stream, uplink data rate of the first data stream, downlink data rate of the first data stream, uplink data volume of the first data stream, downlink data volume of the first data stream, bandwidth occupied by the first data stream, maximum burst data volume of the first data stream, data burst period of the first data stream, URL list information in the user plane packets detected in the first data stream, or, domain name list information in the user plane packets detected in the first data stream.
[0063] In conjunction with the second aspect, in some implementations of the second aspect, the traffic pattern analysis results include second traffic pattern information, which is determined based on traffic characteristic information.
[0064] In conjunction with the second aspect, in certain implementations of the second aspect, the second traffic pattern information includes at least one of the following: traffic category, which indicates whether the first data stream is normal or abnormal traffic; abnormal traffic level; uplink data volume of the first data stream under one or more traffic categories; downlink data volume of the first data stream under one or more traffic categories; uplink data rate of the first data stream under one or more traffic categories; downlink data rate of the first data stream under one or more traffic categories; packet size distribution of the first data stream under one or more traffic categories; duration of the first data stream under one or more traffic categories; or, data burst range or burst period of the first data stream under one or more traffic categories.
[0065] In conjunction with the second aspect, in some implementations of the second aspect, the traffic pattern analysis results also include at least one of the following: the traffic pattern analysis results include at least one of the following: analysis filter information, recommended actions, or address information.
[0066] For example, the analysis filter information includes at least one of the following: the data network name corresponding to the first data stream, the slice name corresponding to the first data stream, the application identifier, the IP address or prefix corresponding to the first data stream, or the packet filtering information corresponding to the first data stream.
[0067] For example, the recommended action is used to instruct processing actions for the first data stream.
[0068] For example, the address information is used to indicate at least one of the following: a first address, a second address, or a third address, wherein the first address is the address of a first terminal device that is allowed to use the first application associated with the first data stream or is allowed to communicate with the application server, the second address is the address of a second terminal device that is prohibited from using the first application associated with the first data stream or is prohibited from communicating with the application server, and the third address is the address distribution of a third terminal device that has communicated with the application server.
[0069] The beneficial effects of the second aspect and some of its implementations can be referred to in the relevant descriptions of the beneficial effects of the first aspect and some of its implementations mentioned above, and will not be repeated here.
[0070] Thirdly, a communication method is provided. This method can be applied to the user plane network element side, such as a session management network element or a communication module and / or computing module within a session management network element, or a circuit or chip responsible for communication functions within a session management network element (such as a modem chip, also known as a baseband chip, or a SoC chip or SIP chip containing a modem core), or a circuit or chip responsible for communication and / or computing functions within a session management network element (such as a GPU, AI processor, or ASIC), or it can also be a logic module or software capable of implementing all or part of the functions of a session management network element. The method is described using the application of this method to a user plane network element as an example.
[0071] In this method, the user plane network element receives traffic pattern analysis results from the analysis function network element. The traffic pattern analysis results are generated based on traffic feature information, which is used to characterize the traffic features of the first data stream. Alternatively, the user plane network element receives a first rule from the first network element. The first rule is determined based on the traffic pattern analysis results and is used to process the first data stream. The first data stream is processed based on the traffic pattern analysis results or the first rule.
[0072] Using the above method, the user plane network element receives the traffic pattern analysis result or the first rule, and processes the first data stream according to the traffic pattern analysis result or the first rule. This implementation proposes a traffic pattern analysis method for the first data stream, which can assist the first network element or the user plane network element in identifying abnormal traffic based on the traffic pattern analysis result and processing abnormal traffic, avoiding the loss of data packets for normal services due to network congestion, and improving user plane transmission performance.
[0073] In conjunction with the third aspect, in some implementations of the third aspect, the first data stream is processed according to the traffic pattern analysis results or the first rule, including: determining the traffic pattern of the first data stream according to the traffic pattern analysis results or the first rule; and processing the first data stream according to the second rule or recommended action corresponding to the traffic pattern of the first data stream, wherein the second rule belongs to the first rule and the recommended action belongs to the traffic pattern analysis results.
[0074] In conjunction with the third aspect, in some implementations of the third aspect, the traffic pattern analysis results or the first rule include second traffic pattern information, which is determined based on traffic characteristic information.
[0075] For example, the second traffic pattern information includes at least one of the following: traffic category, used to indicate whether the first data stream is normal or abnormal traffic; abnormal traffic level; uplink data volume of the first data stream under one or more traffic categories; downlink data volume of the first data stream under one or more traffic categories; uplink data rate of the first data stream under one or more traffic categories; downlink data rate of the first data stream under one or more traffic categories; packet size distribution of the first data stream under one or more traffic categories; duration of the first data stream under one or more traffic categories; or, data burst range or burst period of the first data stream under one or more traffic categories.
[0076] The beneficial effects of the third aspect and some of its implementations can be referred to in the relevant descriptions of the beneficial effects of the first aspect and some of its implementations mentioned above, and will not be repeated here.
[0077] Fourthly, a communication device is provided, which has the functions of the first aspect above. For example, the communication device includes modules, units or means corresponding to the operations involved in the first aspect above. The modules, units or means can be implemented by software, or by hardware, or by a combination of software and hardware.
[0078] For example, the communication device can be the analysis function network element described above, such as a module or unit (e.g., a chip, a chip system, or a circuit) that corresponds to the method, operation, step, or action described in the first aspect above.
[0079] In one possible implementation, the communication device includes: a communication unit (or communication module), and a processing unit (or processing module) connected to the communication unit.
[0080] For example, the transceiver unit is configured to receive a first message from a first network element, the first message being used to subscribe to or request traffic pattern analysis for a first data stream, the traffic pattern analysis being used to analyze the traffic characteristics of the first data stream, the first message including an analysis identifier, the analysis identifier being used to indicate the traffic pattern analysis; the processing unit is configured to acquire traffic characteristic information, the traffic characteristic information being used to characterize the traffic characteristics of the first data stream; the processing unit is further configured to generate a traffic pattern analysis result based on the traffic characteristic information, the traffic pattern analysis result being used to process the first data stream; the transceiver unit is further configured to send a second message to the first network element, the second message including the traffic pattern analysis result.
[0081] Fifthly, a communication device is provided, which has the functions of the second aspect above. For example, the communication device includes modules, units or means corresponding to the operations involved in the second aspect above. The modules, units or means can be implemented by software, or by hardware, or by a combination of software and hardware.
[0082] For example, the communication device can be the first network element mentioned above, such as a module or unit (e.g., a chip, a chip system, or a circuit) that corresponds to the method, operation, step, or action described in the second aspect above.
[0083] In one possible implementation, the communication device includes: a communication unit (or communication module), and a processing unit (or processing module) connected to the communication unit.
[0084] For example, the transceiver unit is configured to send a first message to the analysis function network element, the first message being used to subscribe to or request traffic pattern analysis for a first data stream, the traffic pattern analysis service being used to analyze the traffic characteristics of the first data stream, the first information including an analysis identifier, the analysis identifier being used to indicate traffic pattern analysis; the transceiver unit is further configured to receive a second message from the analysis function network element, the second message including a traffic pattern analysis result, the traffic pattern analysis result being used to process the first data stream, the traffic pattern analysis result being generated based on traffic characteristic information, the traffic characteristic information being used to characterize the traffic characteristics of the first data stream.
[0085] In a sixth aspect, a communication device is provided, which has the functions of the third aspect above. For example, the communication device includes modules, units or means corresponding to the operations involved in the third aspect above. The modules, units or means can be implemented by software, or by hardware, or by a combination of software and hardware.
[0086] For example, the communication device can be the aforementioned user plane network element, such as a module or unit (e.g., a chip, a chip system, or a circuit) corresponding to the method, operation, step, or action described in the third aspect above.
[0087] In one possible implementation, the communication device includes: a communication unit (or communication module), and a processing unit (or processing module) connected to the communication unit.
[0088] For example, the transceiver unit is configured to receive traffic pattern analysis results from the analysis function network element, the traffic pattern analysis results being generated based on traffic feature information, the traffic feature information being used to characterize the traffic features of the first data stream; or, the transceiver unit is further configured to receive a first rule from the first network element, the first rule being determined based on the traffic pattern analysis results, the first rule being used to process the first data stream; the processing unit is configured to process the first data stream based on the traffic pattern analysis results or the first rule.
[0089] In a seventh aspect, a communication device is provided. The communication device may be the aforementioned analysis function network element, or a first network element, or a user plane network element. The communication device includes a processor configured to retrieve and execute the computer program or instructions from a memory, causing the communication device to perform the methods described in the first to third aspects and any possible implementation thereof.
[0090] Optionally, the communication device may further include a transceiver and / or a memory, wherein the processor controls the transceiver to transmit and receive signals, and the memory stores computer programs or instructions.
[0091] Optionally, the processor may be one or more, the memory may be one or more, and the transceiver may be one or more.
[0092] Alternatively, the memory can be integrated with the processor, or the memory can be set separately from the processor. In other words, the memory can be built into the processor or set independently of the processor.
[0093] Optionally, the transceiver includes a transmitter and a receiver.
[0094] Eighthly, a communication device is provided. The communication device includes one or more processors configured to execute computer programs or instructions, which, when executed, cause the communication device to implement the methods described in the first to third aspects and any possible implementation thereof.
[0095] Optionally, the communication device further includes a memory for storing part or all of the computer program or instructions that implement the functions involved in the first to third aspects and any possible implementation thereof.
[0096] Optionally, the communication device further includes an interface circuit, through which the processor communicates with other devices or components. In one possible design, the one or more processors are used to communicate with other devices or components through the interface circuit.
[0097] The aforementioned communication device may be an analysis function network element, such as an analysis function network element or a communication module and / or computing module within an analysis function network element, or a circuit or chip (such as a modem chip, also known as a baseband chip, or a SoC chip or SIP chip containing a modem core) responsible for communication functions within an analysis function network element, or a circuit or chip responsible for communication and / or computing functions within an analysis function network element, or it may be a logic module or software that can implement all or part of the functions of the analysis function network element.
[0098] The aforementioned communication device may be a first network element, such as a first network element or a communication module and / or computing module in the first network element, or a circuit or chip in the first network element responsible for communication functions, or a circuit or chip in the first network element responsible for communication and / or computing functions, or it may be a logic module or software that can realize all or part of the functions of the first network element.
[0099] The aforementioned communication device can be a user plane network element, such as a user plane network element or a communication module and / or computing module in a user plane network element, or a circuit or chip in a user plane network element responsible for communication functions, or a circuit or chip in a user plane network element responsible for communication and / or computing functions, or it can be a logic module or software that can implement all or part of the functions of a user plane network element.
[0100] Ninthly, a communication system is provided. The communication system includes one or more of an analysis function network element, a first network element, or a user plane network element, wherein the analysis function network element is used to perform the methods described in the first aspect and any possible implementation thereof, the first network element is used to perform the methods described in the second aspect and any possible implementation thereof, and the user plane network element is used to perform the methods described in the third aspect and any possible implementation thereof.
[0101] Optionally, the communication system may also include a session management network element, an application server, an application function network element, a policy control function network element, or a terminal device.
[0102] A tenth aspect provides a chip or chip system. It includes at least one processing circuit for executing computer programs or instructions, causing the chip or chip system to perform the methods described in the first to third aspects and any possible implementation thereof.
[0103] The chip or chip system may include output circuits or interfaces for transmitting information or data, and input circuits or interfaces for receiving information or data.
[0104] Eleventhly, a computer-readable storage medium is provided. This computer-readable storage medium stores computer program code or instructions to cause the methods of the first to third aspects and any possible implementations thereof to be implemented. For example, when the computer program code or instructions are executed, the methods of the first to third aspects and any possible implementations thereof are implemented.
[0105] In a twelfth aspect, a computer program product is provided. This computer program product includes computer program code or instructions to cause the methods of the first to fifth aspects and any possible implementation thereof to be implemented. For example, when a computer reads and executes the computer program product, the methods of the first to third aspects and any possible implementation thereof are implemented.
[0106] In a thirteenth aspect, a computer program is provided. When the computer program is run, it causes the methods of the first to third aspects and any possible implementation thereof to be implemented.
[0107] The beneficial effects of the fourth to thirteenth aspects mentioned above can be referred to the first to third aspects mentioned above and any possible implementation methods, which will not be elaborated here. Attached Figure Description
[0108] Figures 1 to 3 This is a schematic diagram of a network architecture applicable to embodiments of this application;
[0109] Figure 4 A flowchart illustrating a method for analyzing network data related to abnormal behavior is shown.
[0110] Figure 5 This is a flowchart illustrating a communication method 500 provided in an embodiment of this application;
[0111] Figure 6 This is a flowchart illustrating a communication method 600 provided in an embodiment of this application;
[0112] Figure 7 This is a flowchart illustrating a communication method 700 provided in an embodiment of this application;
[0113] Figure 8 This is a flowchart illustrating a communication method 800 provided in an embodiment of this application;
[0114] Figure 9 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application;
[0115] Figure 10 This is a schematic diagram of another communication device provided in an embodiment of this application;
[0116] Figure 11 This is a schematic diagram of the chip system provided in the embodiments of this application. Detailed Implementation
[0117] The technical solutions in this application will now be described with reference to the accompanying drawings.
[0118] Before introducing the scheme of this application, the following points should be made first.
[0119] First, in this application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationship.
[0120] Second, in this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, or B exists alone, where A and B can be singular or plural. In the textual description of this application, the character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can mean: a, or, b, or, c, or, a and b, or, a and c, or, b and c, or, a, b, and c. Here, a, b, and c can each be single or multiple.
[0121] Third, in this application, the terms "first," "second," "#1," and "#2," as well as various numerical designations, are used for ease of description and are not intended to limit the scope of the embodiments of this application. For example, they are used to distinguish different messages, rather than to describe a specific order or sequence. It should be understood that such descriptions can be interchanged where appropriate to describe solutions other than those in the embodiments of this application.
[0122] Fourth, in this application, "instruction" or "for instruction" can include both direct and indirect instruction. When describing instruction information as being used to instruct A, it can include whether the instruction information directly or indirectly instructs A, but does not necessarily mean that the instruction information carries A.
[0123] The indication methods involved in the embodiments of this application should be understood to cover various methods that enable the party to be indicated to obtain the information to be indicated. The information to be indicated can be sent as a whole or divided into multiple sub-information and sent separately. Moreover, the sending period and / or sending time of these sub-information can be the same or different. This application does not limit the sending method, for example.
[0124] The "instruction information" in the embodiments of this application can be an explicit instruction, that is, a direct instruction through signaling, or an instruction obtained by combining other rules or parameters with the parameters indicated by the signaling, or by deduction. It can also be an implicit instruction, that is, an instruction obtained based on rules or relationships, or based on other parameters, or by deduction. This application does not specifically limit it in this regard.
[0125] Fifth, in this application, "protocol" can refer to a standard protocol in the field of communications, such as fifth-generation (5G) protocols. th This application does not limit the scope of network protocols such as generation (5G), New Radio (NR) protocols, and related protocols applied in future communication systems. "Predefined" may include predefined terms, such as protocol definitions. "Preconfiguration" can be achieved by pre-storing corresponding codes, tables, or other means of indicating relevant information in the device; this application does not limit the implementation method.
[0126] Sixth, in this application, terms such as "message," "information," "signal," or "information element (IE, which may be abbreviated as information element)" can be used interchangeably. There is no limitation on the name of the message or information, as long as it can achieve the corresponding function.
[0127] "Sending information to XX (device)" can be understood as the destination of the information being that device. This can include sending information to that device directly or indirectly. "Receiving information from XX (device), or receiving information from XX (device)" can be understood as the source of the information being that device. This can include receiving information from that device directly or indirectly. Information may undergo necessary processing between the source and destination, such as format changes, but the destination can understand the valid information from the source. Similar expressions in this application can be interpreted similarly, and will not be elaborated further here.
[0128] "Communication" can also be described as data transmission, information transmission, data processing, etc. "Transmission" includes sending and / or receiving. "Transmission" can be described as output. "Sending" can also be understood as the output of a chip interface, and "receiving" can be understood as the input of a chip interface. In other words, "sending" or "receiving" can occur between devices, for example, device 1 and device 2 sending or receiving data via an air interface. "Sending" or "receiving" can also occur within a device, for example, sending or receiving data between components, modules, chips, software modules, or hardware modules within the device via a bus, wiring, or interface.
[0129] For example, "sending information" can be understood as one device sending information to another device, or it can also be understood as one logic module within a device sending information to another logic module. For instance, "device 1 sending information" can be understood as device 1 sending information to device 2, or it can be understood as logic module 1 within device 1 sending information to logic module 2 within device 1. Similarly, "receiving information" can be understood as device 1 receiving information from device 2, or it can also be understood as logic module 1 within device 1 receiving information from logic module 2. For instance, "device 1 receiving information" can be understood as device 1 receiving information from device 2, or it can be understood as logic module 1 within device 1 receiving information from logic module 2 within device 1.
[0130] Seventh, in this application, the words "exemplarily," "for example," etc., are used to indicate examples, illustrations, or descriptions. Any embodiment or design scheme described as an "example" in this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the word "example" is intended to present concepts in a concrete manner. In the embodiments of this application, "of," "corresponding, relevant," "corresponding," and "associate" may sometimes be used interchangeably, and it should be noted that their intended meanings are consistent unless their distinctions are emphasized.
[0131] Eighth, in this application, when comparing A and B, the description "when A is greater than or equal to B, execute method A; when A is less than or equal to B, execute method B" can be implemented in a specific way such as "when A is greater than or equal to B, execute method A; when A is less than B, execute method B"; or it can be "when A is greater than B, execute method A; or when A is less than or equal to B, execute method B". This application does not limit this. For ease of description, the implementation methods provided in this application are all illustrated using "when A is greater than or equal to B, execute method A; or when A is less than B, execute method B" as an example. In other words, "<" means less than, "≤" means less than or equal to, and "<" and "≤" can sometimes be interchanged without limitation. Similarly, ">" means greater than, "≥" means greater than or equal to, and ">" and "≥" can sometimes be interchanged without limitation. The examples provided in this application are merely illustrative and do not constitute a limitation on this application.
[0132] Below, in conjunction with Figure 1 and Figure 2 This paper introduces the communication system applicable to the embodiments of this application.
[0133] The technical solutions of this application embodiment can be applied to various communication systems, such as: Long Term Evolution (LTE) systems, LTE Frequency Division Duplex (FDD) systems, LTE Time Division Duplex (TDD) systems, 5G or NR systems and future communication systems, vehicle-to-everything (V2X) connectivity, where V2X can include vehicle-to-network (V2N), vehicle-to-vehicle (V2V), vehicle-to-infrastructure (V2I), vehicle-to-pedestrian (V2P), etc., long term evolution-vehicle (LTE-V) communication, vehicle-to-everything (V2X), machine-type communication (MTC), Internet of Things (IoT), long term evolution-machine (LTE-M) communication, machine-to-machine (M2M), etc.
[0134] In a communication system, a device can send signals to or receive signals from another device. These signals may include reference signals, information, signaling, or data. In this application, "device" can be replaced by an entity, a network entity, a network function entity, a communication device, a communication module, a node, or a communication node, etc.
[0135] Figure 1 This is a schematic diagram of a communication system applicable to an embodiment of this application. For example... Figure 1 As shown, the communication system 100 includes at least one terminal (such as...) Figure 1 The 120a-120j, collectively referred to as 120, comprise the radio access network (RAN) and core network (CN) 200. The RAN includes at least one RAN node (e.g., ...). Figure 1 110a and 110b in the RAN are collectively referred to as 110. The RAN may also include other RAN nodes, such as wireless relay devices and / or wireless backhaul devices. Figure 1(Not shown in the image). Terminal 120 is connected to RAN node 110 wirelessly. RAN node 110 is connected to core network 200 wirelessly or via wired connection. The core network equipment in core network 200 and RAN node 110 in RAN can be different physical devices, or they can be the same physical device integrating core network logical functions and radio access network logical functions.
[0136] RAN can be used for the third-generation partner program (3 rd Cellular systems related to the Generation Partnership Project (3GPP), such as fourth-generation (4G) cellular systems. th RAN can be a generation (4G) mobile communication system, a 5G mobile communication system, or a future-oriented communication system. RAN can also be an open radio access network (O-RAN or ORAN), a cloud radio access network (CRAN), or a wireless fidelity (WiFi) system. RAN can also be a communication system that integrates two or more of the above systems.
[0137] RAN node 110, sometimes also referred to as network equipment, access network equipment, RAN entity, or access node, constitutes part of the communication system and is used to help terminals achieve wireless access. Multiple RAN nodes 110 in communication system 100 can be of the same type or different types. In some scenarios, the roles of RAN node 110 and terminal 120 are relative, for example... Figure 1 Network element 120i can be a helicopter or a drone, and it can be configured as a mobile base station. For terminals 120j that access the RAN through network element 120i, network element 120i is a base station; however, for 110a, 120i is a terminal. RAN node 110 and terminal 120 are sometimes referred to as communication devices, for example... Figure 1 In the middle, 110a and 110b can be understood as communication devices with base station functions, and network elements 120a-120j can be understood as communication devices with terminal functions.
[0138] In one possible scenario, a RAN node can be a base station (BS), an evolved NodeB (eNodeB), an access point (AP), a transmission reception point (TRP), a base station in a future communication system, or an access node in a WiFi system, etc. Figure 1 110a), micro base stations or indoor stations (such as Figure 1 In V2X technology, the access network equipment can be a roadside unit (RSU), such as a relay node or donor node (110b), or a radio controller in a CRAN scenario. Alternatively, the RAN node can also be a server, wearable device, vehicle, or in-vehicle equipment. For example, the access network equipment in V2X technology can be a roadside unit (RSU).
[0139] In another possible scenario, multiple RAN nodes collaborate to assist the terminal in achieving wireless access, with different RAN nodes each implementing some of the base station's functions. For example, RAN nodes can be central units (CU), distributed units (DU), CU-control plane (CU-CP), CU-user plane (CU-UP), radio units (RU), or CU-radio units (CU-RU), etc. CUs and DUs can be set up separately or included in the same network element, such as a baseband unit (BBU). RUs can be included in radio frequency equipment or radio frequency units, such as remote radio units (RRUs), active antenna units (AAUs), or remote radioheads (RRHs).
[0140] In different systems, CU (including open CU-CP (O-CU-CP) and open CU-UP (O-CU-UP), DU, or RU may have different names, but those skilled in the art will understand their meaning. For example, in an ORAN system, CU can also be called an open central unit (O-CU), DU can also be called an open distributed unit (O-DU), CU-CP can also be called O-CU-CP, CU-UP can also be called O-CU-UP, and RU can also be called O-RU. For ease of description, this application uses CU, CU-CP, CU-UP, DU, and RU as examples. Any of the CU (or CU-CP, CU-UP), DU, and RU in this application can be implemented through software modules, hardware modules, or a combination of software and hardware modules.
[0141] Terminal 120 can be a device or module that accesses the aforementioned communication system and has corresponding communication functions. A terminal can also be referred to as user equipment (UE), terminal device, user apparatus, access terminal, user unit, user station, mobile station, mobile station (MS), remote station, remote terminal, mobile device, user terminal, terminal unit, terminal station, terminal apparatus, wireless communication equipment, user agent, or user apparatus. A terminal typically contains a communication module, circuit, or chip that performs the corresponding communication functions. The terminal may also be configured with program instructions for performing these communication functions.
[0142] For example, the terminal in this application embodiment can be a mobile phone, a personal digital assistant (PDA) computer, a laptop computer, a tablet computer, a drone, a computer with wireless transceiver capabilities, an MTC terminal, a virtual reality (VR) terminal, an augmented reality (AR) terminal, an IoT terminal, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical care, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home (such as game consoles, smart TVs, smart speakers, smart refrigerators, and fitness equipment), a transportation vehicle with wireless communication capabilities, a communication module, or an RSU with terminal functionality.
[0143] The RAN and terminal 120 can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on water; and they can also be deployed in the air on aircraft, balloons, and satellites. The embodiments of this application do not limit the scenario in which the RAN and terminal 120 are located.
[0144] Communication between access network devices and terminal devices follows a specific protocol layer structure. This protocol layer may include a control plane protocol layer and a user plane protocol layer. The control plane protocol layer may include at least one of the following: radio resource control (RRC) layer, packet data convergence protocol (PDCP) layer, radio link control (RLC) layer, medium access control (MAC) layer, or physical (PHY) layer, etc. The user plane protocol layer may include at least one of the following: service data adaptation protocol (SDAP) layer, PDCP layer, RLC layer, MAC layer, or physical layer, etc.
[0145] The correspondence between network elements and their achievable protocol layer functions in the ORAN system can be found in Table 1 below.
[0146] Table 1
[0147] ORAN network elements 3GPP protocol layer functions O-CU-CP RRC+PDCP-Control Plane (PDCP-C) O-CU-UP SDAP+PDCP - User Plane (PDCP-U) O-DU RLC+MAC+PHY-high O-RU PHY-low
[0148] CN 200 can be a 5G core network or an evolved 5G core network. Taking a 5G core network as an example, CN 200 can include, but is not limited to, the following network elements (NFs): User Plane Function (UPF), Network Exposure Function (NEF), Network Repository Function (NRF), PCF, Unified Data Management (UDM), Unified Data Repository (UDR), Application Function (AF), Authentication Server Function (AUSF), Access and Mobility Management Function (AMF), Session Management Function (SMF), or Security Anchor Function (SEAF), etc. These core network elements can operate independently or be combined to implement certain control functions; for example, AMF, SMF, and PCF can be combined into a single core network device.
[0149] It is understandable that the aforementioned network elements or functions can be physical entities in hardware devices, software instances running on dedicated hardware, or virtualization functions instantiated on a shared platform (e.g., a cloud platform). Simply put, an NF can be implemented in hardware or software.
[0150] The communication system 100 provided in this application may further include AI network elements for implementing some or all AI-related operations. AI network elements may also be referred to as AI nodes, AI devices, AI entities, AI modules, AI models, or AI units, etc. The AI network elements may be built into the network elements of the communication system. For example, an AI network element may be an AI module built into an access network device, core network device, cloud server, or OAM (Operational Access Management) system to implement AI-related functions. The OAM may act as the network management system for the core network device and / or the access network device. Alternatively, the AI network element may be an independently configured network element within the communication system. Optionally, the terminal or its built-in chip may also include an AI entity for implementing AI-related functions.
[0151] Figure 2 This is a schematic diagram of another communication system applicable to embodiments of this application. For example... Figure 2As shown, network elements in a communication system are connected via interfaces (e.g., NG, Xn) or air interfaces. These network element nodes, such as core network equipment, access network nodes (RAN nodes), terminals, or one or more devices in the OAM, are equipped with one or more AI modules (for clarity, ...). Figure 2 (Only one is shown in the image). The access network node can be a single RAN node or can include multiple RAN nodes, such as CU and DU. The CU and / or DU can also be configured with one or more AI modules. Optionally, the CU can also be split into CU-CP and CU-UP. One or more AI models are configured in CU-CP and / or CU-UP.
[0152] The AI module is used to implement corresponding AI functions. AI modules deployed in different network elements can be the same or different. Depending on the parameter configuration, the AI module can implement different functions. The AI module model can be configured based on one or more of the following parameters: structural parameters (e.g., at least one of the following: number of neural network layers, neural network width, inter-layer connections, neuron weights, neuron activation function, or bias in the activation function), input parameters (e.g., type and / or dimension of input parameters), or output parameters (e.g., type and / or dimension of output parameters). The bias in the activation function can also be referred to as the neural network bias.
[0153] An AI module can have one or more models. A model can infer an output, which includes one or more parameters. The learning, training, or inference processes of different models can be deployed on different nodes or devices, or they can be deployed on the same node or device.
[0154] In this application, the portion of the communication system operated by the operator may be referred to as a public land mobile network (PLMN), or an operator network, etc. A PLMN is primarily a public network provided by a mobile network operator (MNO) to users for mobile broadband access services. The PLMN described in the embodiments of this application may specifically be a network conforming to 3GPP standards, or simply a 3GPP network. 3GPP networks typically include, but are not limited to, 5G networks, 4G networks, and other future communication systems.
[0155] For ease of description, this application will use PLMN or 5G networks as examples in its embodiments.
[0156] Figure 3This is a schematic diagram of another communication system applicable to embodiments of this application, taking a 5G network architecture based on service-based architecture (SBA) in a non-roaming scenario as defined in the 3GPP standardization process as an example. Figure 3 As shown, the network architecture 300 may include a terminal equipment portion (e.g., UE 310), a data network (DN) portion (e.g., DN 340), and a carrier network PLMN portion. The carrier network PLMN portion may include, but is not limited to, RAN 320 and CN portions. Optionally, RAN 320 is connected to OAM 350, which is mainly used for network and service analysis, prediction, planning, and configuration, as well as testing and fault management of the network and its services. DN 340, also known as a packet data network (PDN), is typically a network located outside the carrier network, such as a third-party network. For a functional description of UE 310 and RAN 320, please refer to the relevant descriptions above; for brevity, they will not be explained here.
[0157] The CN component may include, but is not limited to, the following network functions: UPF 330, Network Exposure Function (NEF) 331, Network Function Repository Function (NRF) 332, PCF 333, Unified Data Management (UDM) 334, Unified Data Repository (UDR) 335, Application Function (AF) 336, Network Data Analysis Function (NWDAF) 337, Access and Mobility Management Function (AMF) 338, Session Management Function (SMF) 339.
[0158] The following is a brief explanation of the NF functions included in CN.
[0159] 1. The UPF 330 is a gateway provided by the operator, serving as the gateway for communication between the operator's network and the DN 340. The UPF 330 includes user plane-related functions such as packet routing and transmission, packet inspection, service usage reporting, QoS processing, legality monitoring, uplink packet inspection, and downlink packet storage.
[0160] 2. NEF 331 is a control plane function provided by the operator, which mainly enables third parties to use the services provided by the network, supports the network to open its capabilities, events and data analysis, provides security configuration information to the PLMN from external applications, and converts information between the PLMN and external parties.
[0161] 3. NRF 332 is a control plane function provided by the operator, which can be used to maintain real-time information on network functions and services in the network.
[0162] 4. PCF 333 is a control plane function provided by the operator. It mainly supports providing a unified policy framework to control network behavior, providing policy rules to the control layer network functions, and is also responsible for obtaining user subscription information related to policy decisions.
[0163] 5. UDM 334 is a control plane function provided by the operator, responsible for storing information such as the subscriber permanent identifier (SUPI), the generic public subscription identifier (GPSI), and the credential of the subscriber in the operator's network.
[0164] 6. UDR 335 is a control plane function provided by the operator, which provides UDM with the ability to save and retrieve subscription data, PCF with the ability to save and retrieve policy data, and save and retrieve user NF group identity (group ID) information, etc.
[0165] 7. AF 336 is a control plane function provided by the operator. It mainly provides corresponding services by interacting with other NFs in the PLMN, such as providing network selection information for roaming UE visits, routing data flows, and accessing NEF 331.
[0166] 8. NWDAF 337 is a control plane function provided by the operator, featuring data collection, model training, data analysis, and model inference capabilities. It can collect relevant data from network elements, third-party service servers, terminal devices, or network management systems, perform analysis and training based on this data, and provide the analysis results to these network elements, third-party service servers, terminal devices, or network management systems. These analysis results can assist the network in selecting service quality parameters, performing traffic routing, or selecting background data transmission strategies. NWDAF can be a standalone network element or shared with other network elements. For example, an NWDAF network element can be shared with AMF or SMF.
[0167] 9. AMF 338 is a control plane network function provided by the operator network, which is responsible for the access control and mobility management of UE 310 accessing the operator network, including functions such as mobility state management, assigning temporary user identities, authenticating and authorizing users.
[0168] 10. SMF 339 is a control plane network function provided by the operator's network, responsible for managing the Protocol Data Unit (PDU) sessions of UE 310 (including session establishment, modification, and release). It is used for user plane function element selection and reselection, IP address allocation for terminal devices, and Quality of Service (QoS) control. A PDU session is a channel for transmitting PDUs; terminal devices exchange PDUs with DN 340 through PDU sessions. SMF 339 is responsible for establishing, maintaining, and deleting PDU sessions. SMF 339 includes session management (e.g., session establishment, modification, and release, including tunnel maintenance between UPF 330 and RAN 320), UPF 330 selection and control, service and session continuity (SSC) mode selection, roaming, and other session-related functions.
[0169] It is understandable that the aforementioned network elements or functions can be physical entities in hardware devices, software instances running on dedicated hardware, or virtualization functions instantiated on a shared platform (e.g., a cloud platform). Simply put, an NF can be implemented in hardware or software.
[0170] Figure 3 Nnef, Nnrf, Npcf, Nudm, Nudr, Naf, Nausf, Namf, Nsmf, N1, N2, N3, N4, and N6 are interface sequence numbers. For example, the meaning of the above interface sequence numbers can be found in the definitions in the 3GPP standard protocols; this application does not limit the meaning of the above interface sequence numbers. It should be noted that... Figure 3 The interface names between the various network functions in this document are merely examples. In specific implementations, the interface names of this system architecture may be other names, and this application does not limit them. Furthermore, the names of the messages (or signaling) transmitted between the aforementioned network elements are also merely examples and do not constitute any limitation on the function of the messages themselves.
[0171] It should be noted that, in Figure 3In the architecture shown, the interface between (R)AN and CN can also be called the NG interface (not shown in the figure). (R)AN and CN are connected through the NG interface. The NG interface can include the NG-C interface and the NG-U interface. The NG-C interface is the control plane interface, connecting (R)AN and AMF, and is used to transmit control plane data. The NG-U interface is the user plane interface, connecting (R)AN and UPF, and is used to transmit user plane data.
[0172] It should be understood that the network architecture described above 300 is only from the perspective of a service-based architecture. In this service-based architecture, the PLMN can combine some or all network functions on demand according to specific scenario requirements, thereby customizing network capabilities and services, and deploying dedicated networks for different services, i.e., realizing 5G network slicing. Network slicing technology enables operators to respond to customer needs more flexibly and quickly, and supports the flexible allocation of network resources.
[0173] For ease of explanation, in the embodiments of this application, network functions (such as NEF 331...SMF 339) are collectively referred to as NF, that is, the NF described in the following embodiments of this application can be replaced by any network function. Figure 3 The diagram illustrates some network functions; the NFs described below are not limited to these. Figure 1 The network functions shown in the image.
[0174] It should be understood that Figure 3 The AMF, SMF, UPF, NEF, AUSF, NRF, PCF, and UDM shown can be understood as network elements in the core network used to implement different functions, such as network slices that can be combined as needed. These core network elements can be independent devices or integrated into the same device to implement different functions. This application does not limit the specific form of the above network elements.
[0175] It should also be understood that the above naming is defined only for the convenience of distinguishing different functions and should not be construed as limiting this application. This application does not exclude the possibility of using other naming in 5G networks and other future networks. For example, in future networks, some or all of the above network elements may use the terminology from 5G, or they may use other names, etc.
[0176] It should be noted that the above Figures 1 to 3 This is merely an example and does not constitute a limitation on the scope of protection of this application. The communication method provided in the embodiments of this application may also involve... Figures 1 to 3 The network elements not shown in the diagram may also include, of course, the communication method provided in this application embodiment, only network elements not shown in the diagram. Figures 1 to 3 Some of the network elements are shown.
[0177] One task of AI / ML is to investigate whether and how to enhance 5G system (5GS) analytics to support efficient user plane performance. For example, user plane traffic analysis (such as traffic patterns or packet information) and network-side action processing of the analysis can improve user plane performance. However, in real-world applications, if the application server (AS) is attacked, it may send a large number of meaningless data packets to terminal devices; or it may automatically download large files / automatically update the system; or, if there are problems with the uplink channel, the acknowledgement (ACK) message for downlink data packets may never be sent to the AS, and the AS will continuously retransmit the downlink data packets. The network side cannot correctly identify and judge the generation of these sudden or abnormal traffic events, leading to situations such as UPF dropping normal service data packets due to congestion, or excessive load on the N3 interface or Uu interface, which undoubtedly degrades user plane performance.
[0178] Figure 4 A flowchart illustrating a network data analysis method related to abnormal behavior is shown. This method primarily focuses on identifying UEs exhibiting abnormal behavior (e.g., misused or hijacked UEs (i.e., UEs running malicious applications or stolen UEs) with the assistance of NWDAF) as an example. Figure 4 As shown, the method includes the following steps.
[0179] S401, the Consumer NF (e.g., a consumer network element) sends an analysis subscription message or request message to the NWDAF;
[0180] Correspondingly, NWDAF sends and receives analytics subscription messages or analytics request messages from Consumer NF.
[0181] The analysis subscription message is used to subscribe to the analysis results of a specific analysis, and the analysis request message is used to request the analysis results of a specific analysis. For example, the specific analysis here could be abnormal behavior analysis, that is, Consumer NF subscribes to or requests the analysis results for abnormal behavior analysis from NWDAF.
[0182] For example, the analytics subscription message could be Nnwdaf_AnalyticsSubscription_Subscribe, and the analytics request message could be Nnwdaf_AnalyticsInfo_Request; there are no restrictions on this.
[0183] The aforementioned analysis subscription message or analysis request message may include at least one of the following parameters:
[0184] (1) Analytics ID(s): Used to indicate the type of analytics results requested by the Consumer NF, such as analytics ID = abnormal behavior, i.e., abnormal behavior analysis. For example, analytics ID refers to the NWDAF's identification of abused or hijacked UEs through abnormal behavior analysis.
[0185] In this application, the analytics ID(s) can also be referred to as the event ID(s).
[0186] (2) Analytics / Event Filtering Information: This indicates the applicable conditions for the analytics results, such as expected UE behavior parameters, expected analytics type (e.g., mobility-related, and / or UE communication-related), a list of anomaly IDs with anomaly level thresholds, area of interest (AoI), single network slice selection assistance information (S-NSSAI), data network name (DNN), or application ID (App ID), etc. In one example, when the analytics filter information is cell 1, i.e., analytics filter information = cell 1, it means that the Consumer NF wants to obtain the analytics results of anomalous behavior within cell 1.
[0187] Table 2 shows an example illustration of the expected analysis types and their matching anomaly IDs contained in the analysis filter information.
[0188] Table 2
[0189]
[0190] (3) Target of analytics reporting / target of event reporting: Indicates the target to which the analytics request applies, such as a specific UE, a group of UEs, or any UE. For example, if the Consumer NF wants to obtain recommended QoS parameters and specifies the target of the analytics report as Subscription Permanent Identifier (SUPI) 1, i.e., target of analytics reporting = SUPI 1, then the Consumer NF wants to obtain the recommended QoS parameters for SUPI 1; another example is target of analytics reporting = any UE, indicating that the target of the analytics report can be any UE (i.e., all UEs).
[0191] (4) Analytics target period: indicates the time period to which the analysis results are applicable, or the statistical / predictive time period corresponding to the requested analysis results, that is, which time period Consumer NF wants to obtain the analysis results for.
[0192] (5) Notification Association ID + Notification Target Address: This indicates the address for which notifications are subscribed, allowing the event receiving NF to associate notifications received from the event provider with this subscription. In other words, the subscription is associated with a unique notification target address (+Notification Association ID). When an NF consumer subscribes to an NF producer on behalf of other NFs, the NF consumer will use the notification target address (+Notification Related Identifier) of the other NFs to indicate that the subscribed content (the content corresponding to the event ID subscribed to by the other NFs) will be directly notified to the other NFs.
[0193] (6) The maximum number of objects to be analyzed and the maximum number of SUPIs.
[0194] (7) Analytics reporting parameter: This may be present in the subscription request message and indicates how the analytics should be reported, i.e., under what circumstances the analytics results need to be reported to Consumer NF.
[0195] S402, the AF (e.g., another example of a consumer element) sends an analysis subscription message or analysis request message to the NEF;
[0196] Correspondingly, NEF receives analytics subscription messages from AF.
[0197] S403, NEF sends an analytics subscription message to NWDAF;
[0198] Correspondingly, NWDAF receives analytics subscription messages from NEF.
[0199] The analysis subscription message or analysis request message is used to subscribe to or request analysis results for a specific analysis from NWDAF. For example, the analysis subscription message can be Nnwdaf_AnalyticsSubscription_Subscriberequest or Nnwdaf_AnalyticsInfo_Request. The parameters contained in the analysis subscription message and their specific interpretations can be found in the relevant description of step S401 above, and will not be described further here for the sake of brevity.
[0200] It should be noted that the analytics reporting / event reporting target included in this analytics subscription message can be a set of external-group-identifiers for UEs, or any UE ID, or an external UE ID; there are no restrictions on this. Specifically, if the AF provides an external-group-identifier, the NEF queries the UDM to map the external-group-identifier to an internal-group-identifier and obtain the SUPI list corresponding to the internal-group-identifier.
[0201] In other words, for AFs that are not trusted by the core network, i.e. untrusted AFs, the AF can subscribe to / request abnormal behavior notifications / responses from the NWDAF for a group of UEs, a specific UE, or any UE through the NEF.
[0202] Optionally, for an AF trusted by the core network, that is, a trusted AF, the AF can directly send analysis subscription messages or analysis request messages to the NWDAF without going through the NEF to send analysis subscription requests to the NWDAF.
[0203] S404, NWDAF sends a subscription event request message to AMF;
[0204] Correspondingly, the AMF receives event subscription request messages from the NWDAF.
[0205] S405, AMF sends an event report to NWDAF;
[0206] Correspondingly, NWDAF receives event reports from AMF.
[0207] For example, steps S404-S405 above are optional. For instance, if the NWDAF has not subscribed to UE behavior information, the NWDAF sends an event subscription request message to the AMF to collect UE behavior information. The event subscription request message can be Namf_EventExposure_Subscribe, which includes the event ID that the NWDAF requests to subscribe to, event filter information, or internal-group-identifier / any UE / SUPI. For a detailed explanation, please refer to the relevant description above.
[0208] Correspondingly, the AMF sends an event report to the NWDAF based on the reporting requirements in the event subscription request message sent by the NWDAF.
[0209] In one implementation, if the NWDAF sends an event subscription request through an event filter, the AMF checks whether the UE's behavior matches its expected UE behavior information. In this case, when the AMF detects that the UE's behavior deviates from its expected UE behavior, the AMF sends an event report to the NWDAF.
[0210] Optionally, NWDAF can also collect data from OAM based on the anomaly ID carried in the event filter information. For example, UE mobility information from OAM (UE location information carried in the minimized drive tests (MDT) data).
[0211] S406, NWDAF sends an event subscription request message to SMF;
[0212] Correspondingly, SMF receives event subscription request messages from NWDAF.
[0213] S407, SMF sends an event report to NWDAF;
[0214] Correspondingly, NWDAF receives event reports from SMF.
[0215] For example, steps S406-S407 above are optional. For instance, if the NWDAF has not subscribed to UE behavior information, the NWDAF sends an event subscription request message to the SMF to collect UE behavior information. The event subscription request message can be Nsmf_EventExposure_Subscribe, which includes the event ID that the NWDAF requests to subscribe to, event filter information, or internal-group-identifier / any UE / SUPI. For a detailed explanation, please refer to the relevant description above.
[0216] In addition to analyzing filter information, the Consumer NF (analytics consumer) can also use other mechanisms, such as setting a maximum number of SUPIs and / or using the sampling rate as part of the analysis report parameters based on event reports, to limit signaling load. When the analysis report parameters include a maximum number of SUPIs, the NWDAF subscribes to events of that number of SUPIs from the SMF to reduce signaling load.
[0217] Correspondingly, SMF sends an event report to NWDAF based on the reporting requirements in the event subscription request message sent by NWDAF.
[0218] In one implementation, if the NWDAF sends an event subscription request through an event filter, the AMF checks whether the UE's behavior matches its expected UE behavior information. In this case, when the SMF detects that the UE's behavior deviates from its expected UE behavior, the AMF sends an event report to the NWDAF.
[0219] It should be noted that the execution order of the above steps S404-S405 and steps S406-S407 is not limited, that is, this application does not limit the order in which NWDAF subscribes to or requests UE behavior information from SMF and AMF.
[0220] S408, NWDAF performs data analysis to identify UEs with abnormal behavior (e.g., UEs that are misused or hijacked).
[0221] Furthermore, based on analytics and operator policies, NWDAF determines whether to send subscription analytics notifications to Consumer NF or AF.
[0222] For example, the inputs for NWDAF to perform data analysis may include at least one of the information shown in Table 3 below, namely, service data related to UE communication from the 5G core network (5G core, 5GC).
[0223] Table 3
[0224]
[0225]
[0226] Table 4 below shows the exception information from AF. NWDAF can compare this exception information with the UE behavior information collected from AMF and SMF.
[0227] Table 4 Abnormal Information
[0228]
[0229] For example, the analysis results obtained by NWDAF through data analysis in step S408 above may include abnormal behavior statistics or abnormal behavior prediction, as shown in Tables 5 and 6 below.
[0230] Table 5 Statistics of Abnormal Behaviors
[0231] information describe exceptions(1..max) List of observed anomalies; >Abnormal indicators Risks detected by NWDAF; >Abnormal level A scalar value indicating the severity of abnormal behavior; abnormal trends Actual trend (upward / downward / unknown / stable); UE features Internal group identifier, TAC; >SUPI list (1..SUPImax) SUPI(s) of UEs affected by anomalies; >proportion The analysis report estimates the percentage of UEs affected by the anomaly within the target scope; Quantity The estimated number of UEs affected by the anomaly (applicable to the analysis report target = "any UE"); Additional Measurements Specific information on each risk is shown in Table 7 below;
[0232] Table 6 Prediction of Abnormal Behavior
[0233]
[0234]
[0235] S409, NWDAF sends an analytics subscription notification message to Consumer NF;
[0236] Correspondingly, Consumer NF receives analytics subscription notification messages from NWDAF.
[0237] The analysis subscription notification message includes the analysis results.
[0238] For example, in response to step S401, NWDAF sends an analytics subscription notification message or an analytics request response message to Consumer NF, carrying the analytics results. The analytics subscription notification message can be an analytics subscription notification Nnwdaf_AnalyticsSubscription_Notify, and the analytics request response message can be an analytics information request response Nnwdaf_AnalyticsInfo_Request Response.
[0239] The aforementioned analytics subscription notification message or analytics request response message may include at least one of the following:
[0240] (1) Analysis results: The analysis results of each analytics ID in the requested analytics target period, such as analytics ID, anomaly ID, internal group identifier / SUPI, or anomaly level, etc., as described in 4 above or Table 5.
[0241] (2) Timestamp: Indicates the time when the analytics results were generated.
[0242] (3) Validity period: This refers to the effective period of the analysis results.
[0243] (4) Recommendation information, such as providing recommended back-off timers to the AMF or recommended quality of service (QoS) parameters to the PCF, to assist the Consumer NF in making communication decisions so as to provide better communication services to users.
[0244] Furthermore, Consumer NF can take configured actions to address / reduce / avoid risks based on the received analytics subscription notification messages or analytics request response messages, as described in Table 7 below.
[0245] Table 7 Examples of Additional Measurements and NF Measures for Risk Resolution
[0246]
[0247] S410, NWDAF sends an analytics subscription notification message to NEF;
[0248] Correspondingly, NEF receives analytics subscription notification messages from NWDAF.
[0249] The analysis of subscription notification messages includes the analysis results.
[0250] S411, NEF sends an analytics subscription notification message to AF;
[0251] Correspondingly, AF receives analytics subscription notification messages from NEF.
[0252] The analysis of subscription notification messages includes the analysis results.
[0253] For example, in response to steps S402-S403, NWDAF sends an analytics subscription notification message or an analytics request response message to AF, carrying the analytics results. The analytics subscription notification message can be Nnwdaf_AnalyticsSubscription_Notify, and the analytics request response message can be an analytics information request response Nnwdaf_AnalyticsInfo_Request response.
[0254] The aforementioned analysis subscription notification message or analysis request response message may include at least one of the following: Analysis results: The analysis results of the analytics ID within the requested analysis target period, such as analysis ID, anomaly ID, external UEID / SUPI, or anomaly level, etc. Other parameters not detailed here are described in step S409 above and will not be elaborated upon for brevity. Correspondingly, the AF can take appropriate actions based on the notification, such as adjusting the recommended transmission control protocol (TCP) window size or adjusting the recommended service start and end times.
[0255] Understandably, the abnormal behavior analysis in the above method targets the communication behavior of the UE, and does not involve the abnormal communication behavior analysis of the AS in the DN. That is, the analysis granularity of the above method is UE granularity, not AS (App) granularity.
[0256] Furthermore, when the SMF detects events (such as QoS changes or UE IP address changes) or service-related information reported by the AF, it can trigger updates to the session management (SM) policy. This means that the triggering conditions for SM policy adjustments are limited, relying on changes in certain parameters (such as QoS changes or UE IP address changes) or service information reported by the AF. It can be seen that SM policy updates are also UE-level. The SM policy determines the packet processing rules, which are then provided by the SMF to the UPF.
[0257] Understandably, since the UPF manages a large volume of uplink and downlink traffic from the UE's application (App) or application server (AS), it needs to be robust and resilient to abnormal data traffic (e.g., large numbers of abnormal or malicious IP packets, flows, bursts, or synchronization sequence number acknowledgment (SYN-ACK) signaling). However, currently, the UPF cannot identify abnormal traffic patterns, which may cause user plane performance degradation.
[0258] In view of this, this application provides a communication method and a communication device, wherein a first network element subscribes to or requests traffic pattern analysis for a first data stream from an analysis function network element, the analysis function network element generates traffic pattern analysis results based on the acquired traffic feature information, and feeds back the traffic pattern analysis results to the first network element, thereby enabling the first network element or the user plane network element to identify and process abnormal traffic based on the traffic pattern analysis results, so as to improve user plane performance.
[0259] The communication method provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings. The embodiments provided in this application can be applied to scenarios where a sending end device and a receiving end device communicate, such as the communication system described above. It is understood that this application uses a first network element (e.g., a consumer of the analysis service) and an analysis function network element (e.g., NWDAF) as examples to illustrate the execution subjects of the interaction, but this application does not limit the execution subjects of the interaction. It is understood that the first network element can be the device itself, or a module (e.g., a circuit, chip, or chip system) in the first network element, or a logical node, logical module, or software that can implement all or part of the first network element. Similarly, the analysis function network element can be the device itself, or a module (e.g., a circuit, chip, or chip system) in the analysis function network element, or a logical node, logical module, or software that can implement all or part of the analysis function network element, and there is no limitation in this regard.
[0260] In this application, the analysis function network element may also be referred to as an analysis network element, a network data analysis function network element, or a network analysis function network element, etc., and this application does not limit its specific name. For example, the analysis function network element may be an NWDAF.
[0261] In this application, the first network element may also be referred to as a consumer network element, analytics consumer, network data analysis function service consumer user, requester, network function (NF), network management (e.g., OAM), traffic characteristic management (TCF) terminal equipment, access network equipment, application function network element, or core network element (e.g., policy control function (PCF), access and mobility management function (AMF), session management function (SMF), or user plane function (UPF), etc., without limitation.
[0262] It should be noted that the TCF can / supports recording the traffic patterns of one or more data streams corresponding to one or more application identifiers / session identifiers, such as normal traffic patterns or abnormal traffic patterns. Specifically, the TCF can be deployed for measurement purposes, in which case the first network element can also be the TCF; alternatively, the TCF can be deployed together with analysis function network elements, meaning the analysis function network elements can / support recording the traffic patterns of one or more data streams corresponding to one or more application identifiers / session identifiers; or, the TCF can be deployed together with PCF / SMF / UPF, meaning the PCF / SMF / UPF can / support recording the traffic patterns of one or more data streams corresponding to one or more application identifiers / session identifiers, without limitation.
[0263] In this application, the executing entity, such as the first network element, the analysis function network element, or the user plane network element, can be a network function entity, such as a physical entity in a hardware device, a software instance running on dedicated hardware, or a virtualization function instantiated on a shared platform (e.g., a cloud platform), or a logical network element, without limitation.
[0264] Figure 5 This is a flowchart illustrating a communication method provided in an embodiment of this application. For example... Figure 5 As shown, the method 500 includes the following steps; for parts not described in detail, please refer to existing relevant descriptions.
[0265] S510, the first network element sends the first message to the analysis function network element;
[0266] Specifically, the first message is used to subscribe to or request traffic pattern analytics for the first data stream, which is used to analyze the traffic characteristics of the first data stream; or, in other words, the first message is used to subscribe to or request the results of traffic pattern analytics for the first data stream. That is, the analysis subscribed to or requested by the first network element from the analysis function network element is traffic pattern analytics for the first data stream.
[0267] For example, the first message may include an analytics ID, which is used to indicate traffic pattern analysis, or in other words, to indicate that the type of analysis or analysis result requested by the first network element is traffic pattern analysis, such as analytics ID = traffic patterns analytics, i.e., traffic pattern analysis.
[0268] In this application, the analytics ID can also be referred to as the event ID.
[0269] For example, the first message may be an analytics subscription message (e.g., Nnwdaf_AnalyticsSubscription_Subscribe) or an analytics information request message (e.g., Nnwdaf_AnalyticsInfo_Request), without limitation.
[0270] For example, traffic pattern analysis can also be described as: user plane traffic pattern analysis, or traffic analysis, or traffic pattern and feature analysis, or user plane traffic analysis, etc. This application does not limit the specific name of the analysis.
[0271] In this application, the first data stream can be a single data stream or multiple data streams; there is no limitation on this. That is, the first network element can subscribe to or request analysis of the traffic characteristics of one or more data streams from the analysis function network element.
[0272] For example, the traffic characteristics of the first data stream may include at least one of the following: the IP 5-tuple of the data packets in the first data stream (e.g., source IP address, source port, destination IP address, destination port, transport layer protocol), the start time of the first data stream being detected or communicating, the end time of the first data stream being detected or communicating, the uplink data volume of the first data stream, the downlink data volume of the first data stream, the uplink data rate of the first data stream, the downlink data rate of the first data stream, or the downlink data bandwidth, etc.
[0273] In this embodiment of the application, the downlink data rate (or downlink data volume) may refer to the downlink transmission rate (or downlink data volume) between the data network (e.g., AS in DN) and the user plane network element, or it may refer to the downlink transmission rate (or downlink data volume) between the user plane network element and the base station or terminal equipment, or it may refer to the transmission rate (or data volume) of data packets in the first data stream from the data network to the user plane network element, or it may refer to the transmission rate (or data volume) of the user plane network element sending data packets in the first data stream to the UE / RAN, and there is no limitation thereto.
[0274] In this embodiment of the application, the uplink data rate (or uplink data volume) may refer to the uplink transmission rate (or uplink data volume) between the user plane network element and the data network (e.g., AS in DN), or it may refer to the uplink transmission rate (or uplink data volume) between the base station or terminal equipment and the user plane network element, or it may refer to the transmission rate (or data volume) of data packets in the first data stream from the user plane network element to the data network, or it may refer to the transmission rate (or data volume) of the user plane network element sending data packets in the first data stream to the UE / RAN, and there is no limitation thereto.
[0275] Understandably, the interface between the data network and the user plane network element can be described as the N6 interface, and the interface between the user plane network element and the base station or terminal equipment can be described as the N3 interface. Therefore, the connection from the user plane network element to the data network (e.g., AS in DN) can refer to the N6 interface uplink, or the connection from the base station or terminal equipment to the user plane network element can refer to the N3 interface uplink. The connection from the data network (e.g., AS in DN) to the user plane network element can refer to the N6 interface downlink, or the connection from the user plane network element to the base station or terminal equipment can refer to the N3 interface downlink. No limitation is made in this regard.
[0276] It should be noted that the uplink / downlink data volume or uplink / downlink data rate in the embodiments of this application can be a specific value or a range of values. When it is a range of values, it can be expressed as a maximum and a minimum value, and there is no limitation on this. For example, the data rate, data volume, or bandwidth information included in the traffic characteristic information reported by the user plane network element to the analysis function network element (see step S520) can be a specific value; as another example, the data rate, data volume, or bandwidth information included in the traffic characteristic information reported by the application function network element to the analysis function network element (see step S502) can be a range of values, and there is no limitation on this.
[0277] In this embodiment, bandwidth can be used to measure the data transmission capacity of a network or communication link. Bandwidth can be expressed as the bit rate transmitted per unit time. Bandwidth can also be replaced by bandwidth rate or bandwidth speed, etc., without limitation. Downlink data bandwidth can refer to the bandwidth occupied when the user plane network element sends data to the terminal device, or it can refer to the bandwidth when the first data stream arrives at the user plane network element, without limitation.
[0278] In one possible implementation, the first data stream is associated with a first session, and / or the first data stream is associated with a first application. In this case, the first information may also include a session identifier (such as a PDU session ID) and / or an application identifier (App ID). The session identifier is used to indicate the first session (e.g., a PDU session) between the terminal device and the user plane network element, and the application identifier is used to indicate the first application (e.g., an App), indicating that the first network element subscribes to or requests traffic pattern analysis for the first session or the first application from the analysis function network element.
[0279] In other words, the first data stream can be one or more data streams associated with the first session, and the first data stream can be one or more data streams associated with the first application. Here, the session identifier can be understood as the identifier of the session to which the first data stream belongs, and the application identifier can be understood as the identifier of the application to which the first data stream belongs.
[0280] In this application, the first message is used to subscribe to or request traffic pattern analysis for the first data stream. Alternatively, it can be described as: the first message is used to subscribe to or request traffic pattern analysis for the first session or the first application, wherein the first session or the first application is associated with the first data stream, without limitation.
[0281] Optionally, the first message may further include analytics filter information / event filtering information, indicating the applicable conditions for the traffic pattern analysis requested or subscribed to by the first network element. This analytics filter information is used to indicate the first data stream. The analytics filter information includes at least one of the following: the data network name (DNN) corresponding to the first data stream, the slice name (S-NSSAI) corresponding to the first data stream, the application identifier (APP ID), the IP address or prefix corresponding to the first data stream, or packet filter information (or packet filter set) corresponding to the first data stream. The application identifier indicates the first application, which is associated with the first data stream.
[0282] Understandably, the data network name (DNN) corresponding to the first data stream means that the first data stream comes from or belongs to that data network (DN); the slice name (S-NSSAI) corresponding to the first data stream means that the first data stream belongs to the session corresponding to that slice; the IP address or prefix corresponding to the first data stream means that the source IP address of the first data stream is that IP address, or the source IP address prefix of the first data stream is that prefix, which can also be understood as the first data packet coming from the server corresponding to that IP address or prefix; for example, assuming that the packet filtering information is the source address, then the source address of the first data stream is that source address, or in other words, the data stream with that source address is the first data stream.
[0283] For example, packet filtering information in QoS rules and packet detection rules (PDR) is used to identify one or more packet (IP or Ethernet) flows, that is, to identify one or more first data flows. For example, the packet filtering information corresponding to the first data flow can be at least one of the following: source / destination IP address or IPv6 prefix, source / destination port number, protocol ID above the IP / Next header type, type of service (TOS) (IPv4) / traffic class (IPv6) and mask, flow label (IPv6), security parameter index, real-time transport protocol ((S)RTP) multiplexed media identification information, source / destination MAC address, Ethernet type, client-virtual local area network (VLAN) label, service-building local area network (BLAN) label (VLAN ID, VID) field, client-VLAN label, or service-BLAN label priority code point (PCP) / drop eligible indicator. The indicator (DEI) label is explained in detail in the relevant standard descriptions, and will not be explained here for the sake of brevity.
[0284] For example, if the analysis filter information is the DNN corresponding to the first data stream, it means that the first network element requests the analysis function network element to analyze the traffic characteristics of the first data stream belonging to that DN; if the analysis filter information is the App ID, it means that the first network element requests the analysis function network element to analyze the traffic characteristics of the first data stream corresponding to that App, and so on.
[0285] Optionally, the first message may also include indication information of the triggering condition (or triggering reporting condition, or triggering reporting event), which may be included in the analysis report parameters. The indication information of the triggering condition is used to instruct the user plane network element to send traffic characteristic information to the analysis function network element when the triggering condition is determined to be met. The triggering condition may be predefined or preconfigured, or it may be configured by the network side via signaling; there is no limitation on this.
[0286] For example, the triggering conditions include at least one of the following: the bandwidth occupied by the first data stream is greater than or equal to a first threshold; the volume of the first data stream is greater than or equal to a second threshold; the congestion information of the QoS stream associated with the first data stream is greater than or equal to a third threshold; or, the load of the user plane network element is greater than or equal to a fourth threshold.
[0287] The bandwidth of a data stream can be understood as the maximum rate at which data can be transmitted. For example, assuming the first threshold is 2 megabits per second (Mbps), if the bandwidth occupied by the first data stream is 3 Mbps, it means the triggering condition is met, and the user plane network element can subsequently report the measured traffic characteristics of the first data stream to the analysis function network element; conversely, if the bandwidth occupied by the first data stream is 1 Mbps, it means the triggering condition is not met, and the user plane network element does not need to report the measured traffic characteristics of the first data stream to the analysis function network element.
[0288] The data volume of a data stream can be understood as the total amount of data transmitted (received + sent) within a certain period of time. For example, suppose a pre-configured first data stream corresponds to the amount of data arriving or going downlink (e.g., from the data network to the user plane network element). For example, suppose the second threshold is A megabytes (MB). If the data volume of the first data stream is BMB (B≥A), the triggering condition is met, and the user plane network element can subsequently report the measured traffic characteristics of the first data stream to the analysis function network element. Conversely, if the data volume of the first data stream is C MB (C<A), the triggering condition is not met, and the user plane network element does not need to report the measured traffic characteristics of the first data stream to the analysis function network element.
[0289] Congestion information for a QoS flow associated with a data flow can be understood as the congestion percentage, congestion level, and congestion ratio of that QoS flow. When a user plane network element detects congestion, it can mark the uplink or downlink data packets sent by that QoS flow to the RAN. The RAN then calculates the percentage of marked packets, performs congestion monitoring, and returns the congestion information to the user plane network element. For example, assuming the third threshold is 60%, meaning 60% of the data packets in the data flow are marked, the RAN returns the congestion information to the user plane network element. It can be understood that the RAN's calculation of the percentage of marked packets can be considered as performing congestion monitoring.
[0290] The load of a user plane network element can be understood as its current buffer (e.g., data to be transmitted), which may include downlink data from the data network and / or uplink data from the terminal device. For example, assuming the fourth threshold is A, if the load of the user plane network element is C (C≥A), the triggering condition is met, and the user plane network element can subsequently report the measured traffic characteristics of the first data stream to the analysis function network element. Conversely, if the load of the user plane network element is B (B<A), the triggering condition is not met, and the user plane network element does not need to report the measured traffic characteristics of the first data stream to the analysis function network element.
[0291] Understandably, the above examples are provided only for ease of understanding of the solution, and other possible implementations are not excluded. The first, second, third, or fourth thresholds can be predefined or preconfigured, or they can be configured by the network side via signaling. Furthermore, the values of the first, second, third, or fourth thresholds can be the same or different; this is not limited.
[0292] Optionally, the first message may also include at least one of the following: a target of analytics reporting / target of event reporting, an analytics target period, or analytics reporting parameters, etc. The analytics reporting parameters instruct the analytics function network element how to report traffic pattern analysis results, or in other words, instruct the analytics function network element under what circumstances to feed back the traffic pattern analysis results to the first network element. For example, reporting may occur when the analysis results change (e.g., assuming the traffic category of the first data stream in the analysis results is A when the subscription is first completed, and then the traffic category changes, such as to B, then the analysis results are reported). Specific explanations of other parameters can be found in the relevant description of step S401 of method 400 above, and for brevity, will not be elaborated here.
[0293] For example, before the first network element sends the first message, the first network element may determine whether to initiate a subscription or request for traffic pattern analysis of the first data stream. Optionally, before performing step S510, the method further includes the following step S501 (not shown in the figure).
[0294] S501, the first network element determines whether to subscribe to or request traffic pattern analysis for the first data stream.
[0295] In one implementation, if the first network element is a PCF, when the PCF generates a PCC rule, if it finds that it does not store the traffic characteristics (also known as normal traffic characteristics / service traffic characteristics) of the first data stream in the PCC rule, it determines to subscribe to or request traffic pattern analysis for the first data stream; if the first network element is an SMF, when the SMF receives a PCC rule, if it finds that it does not store the traffic characteristics of the first data stream in the PCC rule, it determines to subscribe to or request traffic pattern analysis for the first data stream; if the first network element is a UPF, when the UPF receives a PDR, if it finds that it does not store the traffic characteristics of the first data stream in the PDR, it determines to subscribe to or request traffic pattern analysis for the first data stream.
[0296] In another implementation, the first network element can determine the traffic pattern analysis for the first data stream based on predefined or preconfigured parameters. In this case, the first network element can be a network management device, such as an OAM (Operational Management Controller).
[0297] In another implementation, the first network element can determine whether to subscribe to or request traffic pattern analysis for the first data stream based on the load of the user plane network element. For example, if the load of the user plane network element is greater than or equal to the fourth threshold, the first network element determines to subscribe to or request traffic pattern analysis for the first data stream; conversely, if the load of the user plane network element is less than the fourth threshold, the first network element determines not to subscribe to or request traffic pattern analysis for the first data stream.
[0298] In another implementation, the first network element (e.g., PCF / SMF) can determine whether to subscribe to or request traffic pattern analysis for the first data stream based on the terminal device's subscription information. For example, when a session is established or modified, the PCF / SMF, through interaction with the UDM, discovers that the terminal device's subscription information contains indication information used to indicate whether to subscribe to or request traffic pattern analysis for the first data stream. The first network element then determines to subscribe to or request traffic pattern analysis for the first data stream from the analysis function network element.
[0299] In another implementation, the first network element (e.g., PCF / SMF) can determine whether to subscribe to or request traffic pattern analysis for the first data stream based on the indication information in the session establishment / modification request message sent by the terminal device and the terminal device's subscription information. For example, if the session establishment / modification request message sent by the terminal device to the SMF carries indication information for traffic pattern analysis, which indicates whether to subscribe to or request traffic pattern analysis for the first data stream in the session, then the first network element can query the UDM for the terminal device's subscription information. If the subscription information indicates that the terminal device can subscribe to or request traffic pattern analysis for the first data stream, or if the DNN or S-NSSAI corresponding to the session allows traffic pattern analysis, then the first network element determines whether to subscribe to or request traffic pattern analysis for the first data stream from the analysis function network element.
[0300] The above implementation is merely an example to facilitate understanding of the solution; other solutions are not excluded.
[0301] S520 analyzes network elements to obtain traffic characteristic information.
[0302] The traffic characteristic information is used to characterize the traffic characteristics of the first data stream.
[0303] For example, traffic characteristic information can be traffic characteristic information (1…N) or traffic flow information (1..max)).
[0304] In one example, the first data stream can be a data stream from the data network, specifically the N6 interface. In this case, the traffic characteristic information can be used to characterize the traffic characteristics of the first data stream from the data network (or, in other words, the application server AS in the data network), representing the downlink data stream sent by the data network to the user plane network element.
[0305] In another example, the first data stream can be a data stream sent to the UE / RAN, i.e., a data stream from the N3 interface. In this case, the traffic characteristic information can be used to characterize the traffic characteristics of the first data stream sent to the UE / RAN, that is, to represent the data stream between the user plane network element and the UE / RAN.
[0306] For example, traffic feature information can also be described as: traffic information, traffic pattern related information, traffic pattern related feature information, or traffic pattern associated information, etc. This application does not limit the specific name of the traffic feature information.
[0307] For example, the traffic characteristic information includes at least one of the following: application ID, filter set or filter information, starttime or communication start time of the first data stream, end time or communication stop time of the first data stream, uplink data rate (UL data rate), downlink data rate (DL data rate), uplink data volume (UL data volume), downlink data volume (DL data volume), bandwidth occupied by the first data stream, URL list information in the detected user plane packets in the first data stream, address distribution information, or domain name list information in the detected user plane packets in the first data stream. For specific interpretations, please refer to the relevant descriptions above or the relevant descriptions in the standards. For the sake of brevity, they will not be explained here.
[0308] The address distribution information is used to indicate the address distribution of application servers that have communicated with user plane network elements.
[0309] Understandably, the traffic detection start time of the first data stream can also be the start time of the first data stream, indicating the time when transmission of the first data stream or communication begins. Similarly, the traffic detection end time of the first data stream can also be the end time of the first data stream, indicating the time when transmission of the first data stream or communication ends. When the first data stream is a data stream between DN and UPF, the uplink data rate of the first data stream can also be expressed as the transmission rate of the first data stream; the downlink data rate of the first data stream can also be expressed as the reception rate of the first data stream; the uplink data volume of the first data stream can also be expressed as the amount of data transmitted; the downlink data volume of the first data stream can also be expressed as the amount of data received; and the bandwidth occupied by the first data stream can also be expressed as the transmission or reception bandwidth of the first data stream.
[0310] The filtering information is used to indicate the first data stream, and includes at least one of the following: the data network name corresponding to the first data stream, the slice name corresponding to the first data stream, the application identifier, the IP address or prefix corresponding to the first data stream, or the data packet corresponding to the first data stream. The application identifier indicates the first application, which is associated with the first data stream. For a detailed explanation, please refer to the relevant description of step S510 above; for brevity, it will not be explained further here.
[0311] Optionally, the traffic characteristic information may further include data flow direction indication information, which indicates whether the traffic characteristic corresponds to the N3 interface or the N6 interface. In other words, the user plane network element sends the data flow direction indication information to the analysis function network element to indicate whether the reported traffic characteristic information is from a data flow originating from the data network (DN) or from a data flow originating from the UE / RAN. That is, the data flow direction indication information is used to indicate whether the first data flow is an uplink data flow or a downlink data flow.
[0312] The following is an example illustrating how network elements with analytical functions acquire traffic characteristic information.
[0313] In one possible implementation, the analysis function network element obtains traffic characteristic information from the user plane network element. For example, the analysis function network element sends a third message to the user plane network element, which is used to subscribe to or request traffic characteristic information for the first data stream. Correspondingly, the user plane network element sends traffic characteristic information to the analysis function network element.
[0314] In another possible implementation, the analysis function network element obtains traffic characteristic information from the user plane network element. For example, assuming that the first message in step S510 above includes indication information of triggering conditions, such as the analysis report parameters in the first message including indication information of triggering conditions, then the analysis function network element sends a third message to the user plane network element. This third message is used to subscribe to or request traffic characteristic information. Correspondingly, when the triggering conditions are met, the user plane network element sends traffic characteristic information to the analysis function network element.
[0315] For example, the third message may also include at least one of the following: analysis / event identifier, application identifier, session identifier, filtering information, or data reporting request (or, measurement request for traffic characteristic information), wherein the data reporting request includes the measurement time corresponding to the traffic characteristic information (e.g., time period A), the measurement frequency corresponding to the traffic characteristic information (e.g., measurement once every 1 minute), the measurement cycle corresponding to the traffic characteristic information (e.g., 10 minutes), or the measurement time interval corresponding to the traffic characteristic information (e.g., 1 minute). For specific interpretations, please refer to the relevant descriptions above. For the sake of brevity, they will not be explained here.
[0316] For example, the analysis function network element can send a third message to request the user plane network element to measure the traffic characteristic information of the first data stream, wherein the measurement time is from 10:00 to 12:00 and the measurement frequency is every 10 seconds; or, the measurement frequency corresponding to the measurement time from 10:00 to 11:00 is every 10 seconds, and the measurement frequency corresponding to the measurement time from 11:00 to 12:00 is every 1 minute, and there is no limitation on this.
[0317] For example, the analysis function network element can subscribe to or request traffic characteristic information for the first data stream from the user network element by sending a Nupf_eventExposure_Subscribe message. Correspondingly, the user plane network element can send the traffic characteristic information back to the analysis function network element by sending a Nupf_eventExposure_Notify message, or alternatively, the user plane network element can call the Nupf_eventExposure_Notify service to send the traffic characteristic information back to the analysis function network element.
[0318] The S530 analysis function network element generates traffic pattern analysis results based on traffic characteristic information.
[0319] The results of this traffic pattern analysis are used to process the first data stream.
[0320] It is understandable that the results of traffic pattern analysis can refer to the statistical results of traffic pattern-related information, or it can refer to the prediction results of traffic pattern analysis, without any limitation.
[0321] For example, the traffic pattern analysis result includes second traffic pattern information (also known as traffic pattern statistics or traffic pattern prediction information, etc.), which is determined based on traffic characteristic information. That is, the analysis function network element generates or determines the second traffic pattern information based on the traffic characteristic information reported by the user plane network element, or the analysis function network element generates or determines the second traffic pattern information based on the traffic characteristic information reported by the user plane network element and the first traffic pattern information obtained from the application function network element. For the specific implementation method of the analysis function network element obtaining the first traffic pattern information from the application function network element, please refer to the relevant description of step S502 below, which will not be explained here.
[0322] For example, the second traffic pattern information includes at least one of the following: traffic category, abnormal traffic level, uplink data volume of the first data stream under one or more traffic categories, downlink data volume of the first data stream under one or more traffic categories, uplink data rate of the first data stream under one or more traffic categories, downlink data rate of the first data stream under one or more traffic categories, packet size distribution of the first data stream under one or more traffic categories, existence time of the first data stream under one or more traffic categories, or data burst range or burst period of the first data stream under one or more traffic categories, as specifically interpreted below.
[0323] (1) Traffic type (e.g., traffic type) is used to indicate whether the first data flow is normal or abnormal traffic. The traffic type may also be described as traffic pattern type (e.g., traffic pattern type / class) or traffic pattern identifier (e.g., traffic pattern id), and its name is not limited.
[0324] For example, the traffic pattern category is used to distinguish whether the first data stream corresponds to normal traffic or abnormal traffic. The traffic category indicates the traffic pattern (e.g., normal traffic, abnormal traffic, malicious IP packets, abnormal bursts, or abnormal SYN-ACK signaling). In one example, when the traffic pattern of the first data stream is an abnormal traffic pattern, the traffic category can be an abnormal traffic category, indicating abnormal traffic types, such as network attacks (e.g., DDoS attacks or traffic floods causing a large number of data packets to be sent frequently in a short period of time), repeated retransmission of data packets (e.g., regular retransmission of small packets caused by excessive retransmission of ACK packets), or malware (e.g., bandwidth surges caused by viruses or worms).
[0325] There are no restrictions on the method of indicating traffic categories or the size of the bits used. For example, traffic categories can be indicated by bits, where "0" represents an abnormal traffic pattern and "1" represents a normal traffic pattern, or "00" represents a network attack, "01" represents repeated packet retransmission, and "10" represents malware, etc. There are no restrictions on this. For another example, traffic categories can also be indicated by bitmaps, such as a bitmap size of 2 bits, where "10" represents a normal traffic pattern and "01" represents an abnormal traffic pattern. Or, a bitmap size of 4 bits, where "1000" represents a normal traffic pattern, "0100" represents a network attack, "0010" represents repeated packet retransmission, and "0001" represents malware, etc. For yet another example, traffic categories can also be indicated by bytes, using a field to indicate the type of abnormal traffic. For example, the data type of the abnormal traffic pattern can be string, such as traffic pattern = network attack, or traffic pattern = abnormal syn-ack synalling, etc. There are no restrictions on this.
[0326] (2) Abnormal traffic level, for example, can be expressed as a percentage (such as 10%, 50%, 80%, or 100%), or can be expressed as “high, medium, low”, without limitation;
[0327] For example, the traffic pattern analysis result indicates that the traffic pattern of the first data stream is an abnormal traffic pattern, with a corresponding abnormal traffic level of 90%, or a corresponding abnormal traffic level of high; as another example, the traffic pattern analysis result indicates that the traffic pattern of the first data stream is a normal traffic pattern, with a corresponding abnormal traffic level of 0%, or a corresponding abnormal traffic level of low.
[0328] (3) The amount of uplink data in the first data stream under one or more traffic categories;
[0329] For example, the amount of uplink data in the first data stream under the normal traffic category is A1, and the amount of uplink data under the abnormal traffic category is B1.
[0330] (4) Downlink data volume of the first data stream under one or more traffic categories;
[0331] For example, the downlink data volume of the first data stream is A2 under the normal traffic category, and the downlink data volume is B2 under the abnormal traffic category.
[0332] (5) The uplink data rate of the first data stream under one or more traffic categories;
[0333] For example, the uplink data rate of the first data stream is C1 under the normal traffic category and D1 under the abnormal traffic category.
[0334] (6) Downlink data rate of the first data stream under one or more traffic categories;
[0335] For example, the downlink data rate of the first data stream is C2 under the normal traffic category, and the downlink data rate is D2 under the abnormal traffic category.
[0336] (7) The duration of the first data stream under one or more traffic categories (also known as the traffic lifecycle);
[0337] For example, the first data stream exists from 10:00 to 12:00. The traffic pattern from 10:00 to 11:00 is the normal traffic pattern, and the traffic pattern from 11:00 to 12:00 is the abnormal traffic pattern, such as a network attack, with an abnormal traffic level of 100%.
[0338] (8) The packet size distribution of the first data stream under one or more traffic categories, used to indicate the proportion of packets of different sizes under different traffic modes.
[0339] For example, in normal traffic mode, assuming the data packets in the first data stream are A, A, B, and C, then in normal traffic mode, the number of data packets with a size of A accounts for 50%, the number of data packets with a size of B accounts for 25%, and the number of data packets with a size of C accounts for 25%. In abnormal traffic mode, assuming the data packets in the first data stream are X, Y, Z, Z, and Z, then in normal traffic mode, the number of data packets with a size of X accounts for 20%, the number of data packets with a size of Y accounts for 20%, and the number of data packets with a size of Z accounts for 60%.
[0340] (9) The range or period of data bursts in one or more traffic categories for the first data stream.
[0341] This parameter indicates the burst behavior of data under different traffic patterns, and can also be replaced by one or more of the burst data volume range, burst frequency, burst duration, and burst interval / cycle.
[0342] For example, in normal traffic mode, the data burst cycle is once every 20 seconds, and the burst volume ranges from 100M to 150M; if the data burst cycle in the data stream is once every 2 seconds and the burst volume is 300M, then it is an abnormal traffic mode.
[0343] (10) The downlink data packet arrival interval of the first data stream under one or more traffic categories, used to indicate the interval between the sending / arrival of data packets to user plane network elements under different traffic modes.
[0344] (11) Valid time information, such as the valid time corresponding to the traffic pattern or address information, is used to indicate the valid time period corresponding to different traffic patterns or address information. It can be the start and end time, or it can be the start time and the valid time period.
[0345] It is understandable that the valid time information usually exists simultaneously with one or more parameters contained in the above-mentioned second flow pattern information. For example, if the second flow pattern information with flow pattern A is valid in the analysis results from 8:00 to 9:00, then the second flow pattern information includes both flow pattern A and valid time information of 8:00 to 9:00.
[0346] For a detailed explanation of the uplink and downlink data volume and uplink and downlink data rate in the above parameters, please refer to the relevant description in step S510 above. For the sake of brevity, it will not be repeated here.
[0347] It should be noted that if the traffic pattern analysis result determined by the analysis function network element is a prediction result, the second traffic pattern information may also include a confidence level to indicate the credibility of the traffic pattern analysis result, such as 80%.
[0348] Optionally, the traffic pattern analysis results may also include at least one of the following: analysis filter information, recommended action, or address information, as specifically defined below.
[0349] (12) Analyze the filter information to indicate the first data stream. The parameters contained therein and their specific interpretations can be found in the relevant description of step S510 above. For the sake of brevity, they will not be explained here.
[0350] (13) Recommended action, used to instruct the analysis function network element to recommend the processing action for the first data stream;
[0351] For example, recommended actions include, but are not limited to: changing the threshold state (e.g., from on to off), or dropping data packets, or reducing the QoS level of the first data stream associated with the first application or the first session, or reducing the maximum bit rate (MBR) of the QoS stream of the first data stream corresponding to the first application or the first session, or changing the downlink data notification latency of the first data stream associated with the first application or the first session (e.g., increasing latency, decreasing latency, or providing latency distribution information).
[0352] (14) Address information, used to indicate at least one of the following: a first address (also known as an IP address whitelist), a second address (also known as an IP address blacklist), or a third address (also known as an IP address distribution).
[0353] For example, the first address is the address of the first application associated with the first data stream, or the address of the first terminal device that is allowed to communicate with the application server; or, for the same App ID, session ID, or AS IP address, the allowed IP address of the first terminal device; or, for the same IP address of the first terminal device, the allowed AS IP address. It can also be expressed as the allowed destination IP address(s) for the same source IP address or a group of source IP addresses, or the allowed source IP address(s) for the same destination IP address or a group of destination IP addresses. For example, the first address can be in the form of a list, text, or code, or other forms, without limitation. When the meaning of the first address is expressed as: the allowed AS IP address associated with the App ID or session ID for the same terminal device IP address, it can also be expressed as: for the same destination IP address, the allowed source IP address for the downlink channel.
[0354] For example, the second address is the address of the first application associated with the first data stream that is prohibited (or not allowed), or the address of the second terminal device that is prohibited (or not allowed) from communicating with the application server. In other words, for the same App ID, session ID, or AS IP address, the IP address of the second terminal device that is prohibited, or the AS IP address of the same first terminal device that is prohibited. It can also be expressed as the destination IP address(s) prohibited for the same source IP address or a group of source IP addresses, or the source IP address(s) prohibited for the same destination IP address or a group of destination IP addresses. For example, the second address can be in the form of a list, text, or code, or other forms, without limitation. When the meaning of the second address is expressed as: for the same terminal device IP address, the AS IP address associated with the App ID or session ID that is prohibited, it can also be expressed as: for the downlink channel, for the same destination IP address, the source IP address that is prohibited.
[0355] For example, the third address is the address distribution of third terminal devices that have communicated with the application server. For instance, the third address can be the IP address distribution of third terminal devices. That is, for a specific App ID, session ID, or AS IP address (which, for a downlink channel, can also be called the source IP address), the IP address distribution of third terminal devices that have communicated with that App, session, or AS IP address.
[0356] It should be noted that the examples of the traffic pattern analysis results above are only provided to facilitate understanding of the solutions, and other possible solutions are not excluded.
[0357] Optionally, the second flow pattern information carried in the above flow pattern analysis results may be one or more (groups), and a group of second flow pattern information may include at least one of the above parameters (1) to (14), without limitation.
[0358] The following example illustrates how network elements with analytical functions generate traffic pattern analysis results based on traffic characteristic information.
[0359] In one implementation, the analysis function network element can use traffic feature information as input to a traffic pattern classifier (also called a traffic pattern analysis model) to calculate the traffic pattern analysis result; that is, the output of the traffic pattern classifier is the traffic pattern analysis result. The traffic pattern classifier can be pre-configured or pre-defined, or it can be trained by the analysis function network element based on the first traffic pattern information received from the application function network element; there is no limitation on this.
[0360] In another implementation, the analysis function network element generates a traffic pattern analysis result based on traffic feature information and first traffic pattern information. For example, the analysis function network element obtains a traffic pattern classifier based on the first traffic pattern information, and then generates the traffic pattern analysis result based on the traffic pattern classifier and traffic feature information. In other words, the analysis function network element trains a model to obtain a traffic pattern classifier based on the received first traffic pattern information, then uses the traffic feature information as input to the traffic pattern classifier, and the output is the traffic pattern analysis result.
[0361] The following section, in conjunction with Table 8, explains the traffic patterns included in the traffic pattern analysis results, their corresponding traffic characteristics, and recommended actions.
[0362] Table 8
[0363]
[0364] Understandably, Table 8 is an example provided to facilitate understanding of the solution. Other forms of representation are not excluded. For example, traffic pattern analysis results can also be implemented in the form of code, functions, text, strings, or other ways that can be used to indicate relevant information. This application does not limit the specific implementation method.
[0365] Optionally, the positions of the columns in Table 8 above are merely examples, and this application does not limit them. Optionally, this application does not limit the number of correspondences in Table 8 (e.g., one row in the table), such as adding or removing one or more rows. Optionally, Table 8 above can be split into multiple independent tables, and this application does not limit the splitting method. For example, the first two rows and other rows in Table 8 can be independently formed into a new table, or the first two columns and other columns in Table 8 can be independently formed into a new table, and this application does not limit them.
[0366] Optionally, before the analysis function network element generates the traffic pattern analysis result based on the traffic characteristic information and the first traffic pattern information, the method further includes: the analysis function network element acquiring the first traffic pattern information. That is, before executing step S530, the method may also include the following step S502 (not shown in the figure).
[0367] S502, the analysis function network element obtains the first traffic pattern information.
[0368] In one implementation, the analysis function network element sends a fourth message to the application function network element, the fourth message being used to subscribe to or request the first traffic pattern information; correspondingly, the application function network element sends the first traffic pattern information to the analysis function network element.
[0369] For example, the fourth message includes at least one of the following: analysis / event identifier, application identifier, session identifier, or filtering information, etc. For specific interpretations, please refer to the relevant descriptions above. For the sake of brevity, they will not be explained here again.
[0370] For example, the first traffic pattern information includes at least one of the following: application identifier, session identifier, filtering information, source address or source address prefix, traffic category, address distribution information, average number of UEs communicating with the server per unit time, traffic detection or communication start time of the first data stream, traffic detection or communication end time of the first data stream, uplink data rate of the first data stream, downlink data rate of the first data stream, uplink data volume of the first data stream, downlink data volume of the first data stream, bandwidth occupied by the first data stream, maximum burst data volume of the first data stream, data burst period of the first data stream, URL list information in the user plane packets detected in the first data stream, or domain name list information in the user plane packets detected in the first data stream. For specific interpretations, please refer to the relevant descriptions above. For the sake of brevity, they will not be explained here.
[0371] The source address or source address prefix is used to indicate the first application associated with the first data stream, and the address distribution information is used to indicate the address distribution of the terminal devices that have communicated with the application server. In other words, it represents the address distribution of the UEs that have communicated with the AS for a specific appid / session id / first data stream / source address (downlink direction, i.e., the AS address) and the UEs such as the UE's IP address distribution.
[0372] Regarding the first traffic pattern information reported by the application function network element, since there is an interface (e.g., N6 interface) between the application function network element and the user plane network element, the uplink data rate of the first data stream in the first traffic pattern information can also be described as the receiving data rate of the first data stream; the uplink data volume of the first data stream can also be described as the receiving data volume of the first data stream; the downlink data rate of the first data stream can also be described as the sending data rate of the first data stream; and the downlink data volume of the first data stream can also be described as the sending data volume of the first data stream. There are no restrictions on this.
[0373] It is understood that the first traffic mode information reported by the application function network element in this embodiment may include traffic characteristic information corresponding to normal traffic mode and / or abnormal traffic mode.
[0374] It should be noted that different traffic patterns can correspond to different traffic characteristics. For example, each traffic pattern can correspond to a set of traffic characteristic information, which may include at least one or more of the following: the start time of traffic detection or communication of the first data stream, the end time of traffic detection or communication of the first data stream, the uplink / receive data rate of the first data stream, the downlink / transmit data rate of the first data stream, the uplink / receive data volume of the first data stream, the downlink / transmit data volume of the first data stream, the bandwidth occupied by the first data stream, the URL list information in the user plane packets detected in the first data stream, or the domain name list information in the user plane packets detected in the first data stream.
[0375] For example, the analytics function network element can subscribe to or receive first traffic pattern information from the application function network element by sending a Naf_eventExposure_Subscribe message. Correspondingly, the application function network element can send the first traffic pattern information back to the analytics function network element by sending a Naf_eventExposure_Notify message, or alternatively, the application function network element can call the Naf_eventExposure_Notify service to send the first traffic pattern information back to the analytics function network element.
[0376] It should be noted that the first traffic pattern information collected by the application function network element may include normal traffic pattern information and / or abnormal traffic pattern information, mainly used for analyzing the traffic pattern analysis results derived by the function network element. For example, it can be used to train a traffic pattern classifier (or traffic pattern analysis model) for the analysis function network element. This is primarily because the first traffic pattern information collected from the application function network element is traffic pattern information collected historically by the application function network element, and is not limited to the traffic pattern information currently sent to the user plane network element.
[0377] S540, the analysis function network element sends a second message to the first network element;
[0378] Correspondingly, the first network element receives the second message from the analysis function network element.
[0379] The second message includes the results of traffic pattern analysis.
[0380] For example, the analysis function network element can send the traffic pattern analysis results to the first network element by sending the Nnwdaf_AnalyticsSubscription_Notify message.
[0381] The following example illustrates how the first network element processes the first data stream based on the traffic pattern analysis results after receiving them.
[0382] Scenario 1: The first network element is a user plane network element.
[0383] In one implementation, the user plane network element processes the downlink traffic received from the application server based on the received traffic pattern analysis results, for example, by processing the received downlink traffic according to the recommended actions in the traffic pattern analysis results.
[0384] For example, the user plane network element determines the traffic pattern (e.g., normal or abnormal traffic pattern) of the first data stream based on the traffic pattern analysis results. Then, it processes the first data stream according to the second rule or recommended action corresponding to the traffic pattern, where the second rule is a subset of the first rule, and the recommended action is a subset of the traffic pattern analysis results. In other words, the user plane network element first determines the traffic pattern of the received data traffic, and then processes the data traffic according to the processing rules or recommended actions corresponding to the determined traffic pattern to improve user plane performance.
[0385] For example, when downlink traffic arrives at a user plane network element, the user plane network element determines the type of traffic pattern based on the characteristics of the downlink traffic. For instance, if the data packets in the data stream corresponding to the same source port number arrive at a fast rate and have a large downlink / arrival data volume, the user plane network element can consider it to meet the characteristics of DDoS attack traffic and belong to the network attack traffic pattern (an abnormal traffic pattern). Furthermore, the user plane network element can process the downlink traffic, such as dropping the data packets, based on the recommended action corresponding to the network attack traffic pattern carried in the obtained traffic pattern analysis results (e.g., drop), or the second rule corresponding to the network attack traffic pattern in the first rule (e.g., the threshold state for the data stream in the second rule is closed).
[0386] For example, user plane network elements can process received data traffic based on recommended actions carried in the traffic pattern analysis results or the first rule sent by the first network element. That is, user plane network elements do not need to determine the traffic pattern to which the received data traffic belongs; they can directly process the data traffic according to the acquired processing rules or recommended actions to improve user plane performance.
[0387] For example, when a user plane network element reports downlink traffic characteristic information to an analysis function network element for traffic pattern analysis, the user plane network element processes the downlink traffic based on the recommended action carried in the traffic pattern analysis results, such as dropping, or the first rule received from the first network element (e.g., SMF), such as the threshold state corresponding to the data flow being closed.
[0388] Scenario 2: The first network element is a non-user plane network element (e.g., PCF, SMF, TCF, or OAM).
[0389] In one implementation, the first network element determines a first rule based on the traffic pattern analysis result, and then sends a fifth message to the user plane network element, the fifth message including the first rule. This first rule is used to process the first data stream. Correspondingly, the user plane network element processes the first data stream according to the first rule, or the user plane network element determines the traffic pattern of the first data stream according to the first rule, and then processes the first data stream according to a second rule or recommended action corresponding to the traffic pattern of the first data stream, wherein the second rule is a subset of the first rule, and the recommended action is a result of the traffic pattern analysis.
[0390] The following example illustrates how to determine the specific implementation of the first rule based on the traffic pattern analysis results, for the first network element being PCF, SMF, TCF, or OAM.
[0391] For example, if the first network element is an SMF (Service Provider Function), the SMF generates or updates the N4 rule, or generates a new rule (e.g., a traffic pattern rule), based on the traffic pattern analysis results. This generated or updated N4 rule or traffic pattern rule (referred to as rule #1 for ease of description) instructs the user plane network element how to handle the traffic. Then, the SMF sends rule #1 to the user plane network element. Optionally, the SMF may also send the second traffic pattern information from the traffic pattern analysis results to the user plane network element. In one example, the SMF may generate / modify / update the QoS enforcement rule (QER), buffering action rule (BAR), or forwarding action rule (FAR) associated with the first application / first session / first data flow based on the traffic pattern analysis results. For example, for abnormal traffic patterns, SMF can set / modify / update the apply action in the FAR associated with the first application / first session / first data stream to drop, i.e., set the bit corresponding to drop to 1; or set / modify / update the gate status in the QER associated with the first application / first session / first data stream to close; or reduce the maximum bit rate (MBR) in the QER of the first application / first session / first data stream; or increase the downlink notification delay in the BAR associated with the first application / first session / first data stream, etc., without limitation.
[0392] For example, if the first network element is a PCF, the PCF generates or updates PCC rules or generates new rules (e.g., traffic pattern rules) based on traffic pattern analysis results, and sends the generated or updated PCC rule or traffic pattern rule (referred to as rule #2 for ease of description) and the second traffic pattern information to the SMF. Correspondingly, the SMF generates or updates N4 rules based on rule #2, and sends the generated or updated N4 rules and the second traffic pattern information to the user plane network element. In one example, the PCF can generate / modify / update PCC rules associated with the first application / first session / first data flow, or PCC rules associated with the service dataflow (SDF) corresponding to the first application / first session / first data flow. For example, for abnormal traffic patterns, PCF can change the threshold status in rule #2 to off; or, PCF can reduce the downlink / uplink maximum bit rate (MBR) in rule #2; or, PCF can reduce the risk of address resolution protocol (ARP) attacks or lower their priority; or, PCF can limit the maximum data burst volume (MDBV), etc., without making any restrictions.
[0393] For example, if the first network element is TCF / OAM, then TCF / OAM can send the traffic pattern analysis results to PCF or SMF. SMF / PCF generates / updates rules based on the acquired traffic pattern analysis results and sends the generated or updated rules to the user plane network element. For specific implementation details, please refer to the relevant descriptions above. If the traffic pattern analysis results include a recommendation action, TCF / OAM can also directly send the traffic pattern analysis results to the user plane network element (via node-level messages), allowing the subsequent user plane network element to process the received downlink traffic based on this recommendation action.
[0394] For example, the fifth message may also include second traffic pattern information, or the first rule may include second traffic pattern information. The second traffic pattern information is determined based on traffic characteristic information from user plane network elements, or the second traffic pattern information is determined based on traffic characteristic information from user plane network elements and first traffic pattern information from application function network elements. For the specific determination method of the second traffic pattern information, please refer to the relevant description of step S530 above. For the sake of brevity, it will not be described here again.
[0395] For example, the fifth message may be an N4 session establishment request, an N4 session modification / update request, a traffic patterns management message, or other signaling, without limitation.
[0396] For example, the user plane network element processes the first data stream using a first rule, including at least one of the following: changing the threshold state, discarding data packets in the first data stream, reducing the QoS level of the first data stream, reducing the MBR of the QoS stream of the first data stream, reducing the transmission rate of the first data stream, or changing the downlink data notification delay of the first data stream.
[0397] Based on the above scheme, a traffic pattern analysis method for the first data stream is proposed. The first network element subscribes to or requests traffic pattern analysis for the first data stream from the analysis function network element. The analysis function network element generates traffic pattern analysis results based on the acquired traffic feature information and feeds back the traffic pattern analysis results to the first network element. Then, the first network element or the user plane network element can identify and handle abnormal traffic based on the traffic pattern analysis results. In this method, the analysis function network element supports user plane traffic pattern analysis, which can assist the user plane network element in identifying abnormal or malicious traffic, thereby improving user plane performance.
[0398] To facilitate understanding, the following will be combined with Figures 6 to 8 Specific processes applicable to the embodiments of this application are described for different scenarios. In the examples below, the first network element is PCF / UPF / SMF / OAM (i.e., consumer), the analysis function network element is NWDAF, the user plane network element is UPF, the application function network element is AF, and the application server is AS. It should be understood that the processes described below are merely illustrative examples, and the embodiments of this application are not limited thereto. Content not described in detail below can be referred to the description in method 500 above, and will not be repeated hereafter.
[0399] Figure 6 This is a flowchart illustrating a communication method 600 provided in an embodiment of this application. It mainly focuses on NWDAF requesting traffic pattern information from UPF and AF based on the consumer's request, obtaining traffic pattern analysis results by analyzing the obtained traffic pattern information, sending the traffic pattern analysis results to the consumer, and UPF determining whether the received downlink traffic is abnormal traffic based on the traffic pattern analysis results, and then processing the abnormal traffic based on the obtained processing rules or recommended actions in the traffic analysis results.
[0400] S601, PCF / UPF / SMF / OAM determines the subscription traffic pattern analysis, that is, the traffic pattern analysis for the first data stream.
[0401] For the specific implementation method, please refer to the relevant description of step S501 of method 500 above. For the sake of brevity, it will not be repeated here.
[0402] S602, PCF / UPF / SMF / OAM sends request message #1 to NWDAF (i.e., an example of the first message, such as Nnwdaf_AnalyticsSubscription_Subscribe or Nnwdaf_AnalyticsInfo_Request);
[0403] Correspondingly, NWDAF receives request message #1 from PCF / UPF / SMF / OAM.
[0404] The request message #1 is used to subscribe to / request traffic pattern analysis for the first data stream, which is used to analyze the traffic characteristics of the first data stream.
[0405] For example, request message #1 includes an analytics ID that indicates traffic pattern analytics, such as analytics ID = traffic patterns analytics.
[0406] Optionally, the first message may also include at least one of the following: session ID, application ID, analytics filter information / event filtering information, target of analytics reporting / target of event reporting, analytics target period, or analytics reporting parameter, etc. For specific interpretations, please refer to the relevant description of step S510 of method 500 above. For the sake of brevity, it will not be explained here.
[0407] S603, NWDAF sends request message #2 to AF (i.e., an example of the fourth message, such as Naf_eventExposure_Subscribe);
[0408] Correspondingly, AF receives request message #2 from NWDAF.
[0409] In this context, request message #2 is used to subscribe to / request traffic pattern information #1 (i.e., an example of the first traffic pattern information).
[0410] For example, the request message #2 may include at least one of the following: analysis / event identifier, application identifier, session identifier, or filtering information, etc. For specific interpretations, please refer to the relevant description of step S502 of the method 500 above. For the sake of brevity, it will not be explained here.
[0411] S604, AF sends notification message #1 (e.g., Naf_eventExposure_Notify) to NWDAF;
[0412] Correspondingly, NWDAF receives notification message #1 from AF.
[0413] The notification message #1 includes traffic pattern information #1. For details on the parameters and their specific meanings contained in the traffic pattern information #1, please refer to the relevant description of step S502 of the method 500 above. For the sake of brevity, it will not be explained here.
[0414] Optionally, steps S603 and S604 above are optional steps. In this case, in step S607, NWDAF generates traffic pattern analysis results based on traffic feature information. It is understood that NWDAF obtains traffic pattern information #1 from AF primarily for training and generating a traffic pattern classifier. If steps S603 and S604 are not executed, then in step S607, NWDAF can use the traffic feature information obtained from UPF as input to a predefined or pre-configured traffic pattern classifier to output traffic pattern analysis results.
[0415] S605, NWDAF sends request message #3 to UPF (i.e., an example of a third message, such as Nupf_eventExposure_Subscribe);
[0416] Correspondingly, the UPF receives request message #3 from the NWDAF.
[0417] Optionally, when the target of analytics reporting = any UE is carried in the request message #1 in step S602, the NWDAF can send request message #3 to multiple UPFs to request the feature information corresponding to the first data stream.
[0418] The request message #3 is used to subscribe to / request traffic characteristic information for the first data stream, which is used to characterize the traffic characteristics of the first data stream.
[0419] For example, the request message #3 may include at least one of the following: analysis / event identifier, application identifier, session identifier, filtering information, measurement time corresponding to traffic feature information, measurement frequency corresponding to traffic feature information, measurement cycle corresponding to traffic feature information, or measurement time interval corresponding to traffic feature information. For specific interpretations, please refer to the relevant description of step S520 of the method 500 above. For the sake of brevity, it will not be explained here.
[0420] S606, UPF sends notification message #2 to NWDAF (e.g., Nupf_eventExposure_Notify);
[0421] Correspondingly, NWDAF receives notification message #2 from UPF.
[0422] The notification message #1 includes traffic characteristic information. For details on the parameters and their specific interpretations included in the traffic characteristic information, please refer to the relevant description of step S520 of method 500 above. For the sake of brevity, it will not be explained here.
[0423] S607, NWDAF generates traffic pattern analysis results based on traffic pattern information #1 and traffic characteristic information.
[0424] The traffic pattern analysis results are used to process the first data stream. It is understood that the traffic pattern analysis results can refer to statistical results related to traffic patterns, or they can refer to traffic pattern analysis and prediction results; there is no limitation on this.
[0425] For details on the specific implementation of NWDAF in generating traffic pattern analysis results based on traffic pattern information #1 and traffic characteristic information, as well as the parameters included in the traffic pattern analysis results and their specific interpretations, please refer to the relevant description of step S530 of the above method 500. For the sake of brevity, it will not be explained here.
[0426] S608, NWDAF sends notification message #3 to PCF / UPF / SMF / OAM (i.e., an example of the second message, such as Nnwdaf_AnalyticsSubscription_Notify);
[0427] Correspondingly, PCF / UPF / SMF / OAM receives notification message #3 from NWDAF.
[0428] Notification message #3 includes traffic pattern analysis results.
[0429] S609, PCF / SMF / OAM sends updated N4 rule / traffic pattern rules to UPF (i.e., an example of the first rule);
[0430] Correspondingly, the UPF receives updated N4 rules / traffic pattern rules from the PCF / SMF / OAM.
[0431] In one implementation, the PCF / SMF / OAM sends an N4 session establishment request, or an N4 session modification / update request, or traffic patterns management (i.e., an example of the fifth message) to the UPF, carrying updated N4 rules or traffic pattern rules. For other parameters carried in the fifth message and their interpretations, please refer to the relevant description of step S540 of the above method 500. For the sake of brevity, it will not be explained here.
[0432] For example, the updated N4 rule or traffic pattern rule may include one or more traffic patterns (e.g., an example of second traffic pattern information) and a corresponding flow processing policy rule for each traffic pattern (i.e., an example of a second rule, including flow rules and flow actions).
[0433] S610, AS sends downlink traffic to UPF (i.e., an example of the first data stream, such as downlink traffic);
[0434] Correspondingly, the UPF receives downlink traffic from the AS.
[0435] S611, UPF processes downlink traffic based on traffic pattern analysis results or updated N4 rules / traffic pattern rules.
[0436] For example, the UPF determines the traffic pattern (e.g., normal traffic pattern or abnormal traffic pattern) of the received downlink traffic based on the traffic pattern analysis results, and then processes the downlink traffic according to the second rule or recommended action corresponding to the obtained traffic pattern. The second rule belongs to the updated N4 rule / traffic pattern rule, and the recommended action belongs to the traffic pattern analysis results.
[0437] For the specific implementation method, please refer to the relevant description of step S540 of method 500 above. For the sake of brevity, it will not be explained here.
[0438] Based on the above scheme, PCF / UPF / SMF / OAM subscribes to or requests traffic pattern analysis for the first data stream from NWDAF. NWDAF generates traffic pattern analysis results based on the traffic characteristic information obtained from UPF and feeds back the traffic pattern analysis results to PCF / UPF / SMF / OAM. UPF combines the traffic pattern analysis results to determine whether the received downlink traffic is abnormal traffic, and processes the abnormal traffic accordingly based on the obtained processing rules or recommended actions in the traffic pattern analysis results. In this method, NWDAF supports user plane traffic pattern analysis, which can assist UPF in identifying abnormal or malicious traffic, thereby improving user plane performance.
[0439] Figure 7 This is a flowchart illustrating a communication method 700 provided in an embodiment of this application. It mainly addresses the NWDAF requesting traffic pattern information from the UPF and AF based on a consumer request. The UPF, upon determining that triggering conditions are met, sends the collected traffic pattern information, enabling the NWDAF to obtain traffic pattern analysis results based on the real-time acquired traffic pattern information. The NWDAF then sends the traffic pattern analysis results to the consumer. The UPF then processes the traffic according to the recommended actions or processing rules obtained from the acquired traffic pattern analysis results. (Example provided). Figure 7 As shown, the method includes the following steps; for parts not described in detail, please refer to the existing protocol mentioned above.
[0440] S701, PCF / UPF / SMF / OAM determines the subscription traffic pattern analysis, that is, the traffic pattern analysis for the first data stream.
[0441] S702, PCF / UPF / SMF / OAM sends request message #1 to NWDAF (i.e., an example of the first message, such as Nnwdaf_AnalyticsSubscription_Subscribe or Nnwdaf_AnalyticsInfo_Request);
[0442] Correspondingly, NWDAF receives request message #1 from PCF / UPF / SMF / OAM.
[0443] The request message #1 is used to subscribe to / request traffic pattern analysis for the first data stream, which is used to analyze the traffic characteristics of the first data stream.
[0444] The specific implementation of steps S701-S702 can be found in the description of steps S601-S602 of method 600 above. For the sake of brevity, it will not be repeated here.
[0445] S703, NWDAF sends request message #2 to UPF (i.e., an example of a third message, such as Nupf_eventExposure_Subscribe);
[0446] Correspondingly, the UPF receives request message #2 from the NWDAF.
[0447] The request message #2 is used to subscribe to / request traffic characteristic information for the first data stream, which is used to characterize the traffic characteristics of the first data stream.
[0448] For example, the request message #2 may include indication information of triggering conditions. This indication information instructs the UPF to send traffic characteristic information to the NWDAF if it determines that the triggering conditions are met. The triggering conditions may be predefined or preconfigured, or they may be configured by the network side via signaling; there is no limitation on this.
[0449] For specific examples and meanings of the triggering conditions, please refer to the relevant description of step S510 of method 500 above. For the sake of brevity, it will not be explained here.
[0450] For example, the request message #2 may also include at least one of the following: analysis / event identifier, application identifier, session identifier, filtering information, measurement time corresponding to traffic feature information, measurement frequency corresponding to traffic feature information, measurement cycle corresponding to traffic feature information, or measurement time interval corresponding to traffic feature information. For specific interpretations, please refer to the relevant description of step S520 of the method 500 above. For the sake of brevity, it will not be explained here.
[0451] S704, AS sends downlink traffic to UPF (i.e., an example of the first data stream, such as downklink traffic);
[0452] Correspondingly, the UPF receives downlink traffic from the AS.
[0453] The aforementioned step S704 may occur before or between steps S701-S703, and this application does not limit this.
[0454] S705, UPF sends notification message #1 to NWDAF (e.g., Nupf_eventExposure_Notify);
[0455] Correspondingly, NWDAF receives notification message #1 from UPF.
[0456] The notification message #1 includes traffic characteristic information. For details on the parameters and their specific interpretations included in the traffic characteristic information, please refer to the relevant description of step S520 of method 500 above. For the sake of brevity, it will not be explained here.
[0457] Optionally, when the target of analytics reporting = any UE is carried in the request message #1 in step S702, the NWDAF can collect traffic feature information corresponding to the first data stream from multiple UPFs after executing step S705. For specific implementation methods, please refer to the relevant description of step S520 of the above method 500, which will not be elaborated here.
[0458] S706, NWDAF sends request message #3 to AF (i.e., an example of the fourth message, such as Naf_eventExposure_Subscribe);
[0459] Correspondingly, AF receives request message #3 from NWDAF.
[0460] Specifically, request message #3 is used to subscribe to / request traffic pattern information #1 (i.e., an example of the first traffic pattern information).
[0461] For example, the request message #3 may include at least one of the following: analysis / event identifier, application identifier, session identifier, or filtering information, etc. For specific interpretations, please refer to the relevant description of step S502 of the method 500 above. For the sake of brevity, it will not be explained here.
[0462] S707, AF sends notification message #2 to NWDAF (e.g., Naf_eventExposure_Notify);
[0463] Correspondingly, NWDAF receives notification message #2 from AF.
[0464] The notification message #1 includes traffic pattern information #1. For details on the parameters and their specific meanings contained in the traffic pattern information #1, please refer to the relevant description of step S502 of the method 500 above. For the sake of brevity, it will not be explained here.
[0465] Optionally, steps S706 and S707 are optional. In this case, in step S708, NWDAF generates traffic pattern analysis results based on traffic feature information. It is understood that NWDAF obtains traffic pattern information #1 from AF primarily for training and generating a traffic pattern classifier. If steps S706 and S707 are not executed, then in step S708, NWDAF can use the traffic feature information obtained from UPF as input to a predefined or pre-configured traffic pattern classifier to output traffic pattern analysis results.
[0466] S708, NWDAF generates traffic pattern analysis results based on traffic pattern information #1 and traffic characteristic information.
[0467] S709, NWDAF sends notification message #3 to PCF / UPF / SMF / OAM;
[0468] Correspondingly, PCF / UPF / SMF / OAM receives notification message #3 from NWDAF.
[0469] Notification message #3 includes traffic pattern analysis results.
[0470] S710, PCF / SMF / OAM sends updated N4 rules / traffic pattern rules to UPF;
[0471] Correspondingly, the UPF receives updated N4 rules / traffic pattern rules from the PCF / SMF / OAM.
[0472] S711, UPF processes downlink traffic based on traffic pattern analysis results or updated N4 rules / traffic pattern rules.
[0473] For details on the specific implementation of steps S708-S711 above, please refer to the relevant descriptions of steps S607-S611 in method 600 above. For the sake of brevity, they will not be explained here.
[0474] Based on the above scheme, NWDAF requests traffic pattern information from UPF and AF based on consumer requests. It analyzes the obtained traffic pattern information to obtain traffic pattern analysis results, which are then sent to the consumer. UPF then processes abnormal traffic based on recommended actions or processing rules derived from the obtained traffic pattern analysis results. Specifically, UPF sends real-time collected traffic feature information when triggering conditions are met. This not only reduces signaling overhead but also enables NWDAF to generate traffic pattern analysis results based on the real-time acquired traffic feature information. This helps UPF process user plane traffic, reduces the impact of abnormal or malicious traffic, and ultimately improves user plane performance.
[0475] Figure 8 This is a flowchart illustrating a communication method 800 provided in an embodiment of this application. It mainly focuses on the NWDAF requesting traffic pattern information from the UPF and AF based on a consumer request, analyzing the obtained traffic pattern information to obtain traffic pattern analysis results, and sending these results to the consumer to assist the core network in identifying the traffic pattern of the data stream. It also illustrates how the UPF processes the traffic based on the obtained processing rules or recommended actions from the traffic analysis results. Figure 8 As shown, the method includes the following steps; for parts not described in detail, please refer to the existing protocol mentioned above.
[0476] S801, PCF / UPF / SMF / OAM determines the subscription traffic pattern analysis, that is, the traffic pattern analysis for the first data stream.
[0477] S802, PCF / UPF / SMF / OAM sends request message #1 to NWDAF (i.e., an example of the first message, such as Nnwdaf_AnalyticsSubscription_Subscribe or Nnwdaf_AnalyticsInfo_Request);
[0478] Correspondingly, NWDAF receives request message #1 from PCF / UPF / SMF / OAM.
[0479] The request message #1 is used to subscribe to / request traffic pattern analysis for the first data stream, which is used to analyze the traffic characteristics of the first data stream.
[0480] The specific implementation of steps S801-S802 can be found in the description of steps S701-S702 of method 600 above. For the sake of brevity, it will not be repeated here.
[0481] S803, NWDAF sends request message #2 to UPF (i.e., an example of a third message, such as Nupf_eventExposure_Subscribe);
[0482] Correspondingly, the UPF receives request message #2 from the NWDAF.
[0483] The request message #2 is used to subscribe to / request traffic characteristic information for the first data stream, which is used to characterize the traffic characteristics of the first data stream.
[0484] For example, the request message #2 may include at least one of the following: analysis / event identifier, application identifier, session identifier, filtering information, measurement time corresponding to traffic feature information, measurement frequency corresponding to traffic feature information, measurement cycle corresponding to traffic feature information, or measurement time interval corresponding to traffic feature information. For specific interpretations, please refer to the relevant description of step S520 of the method 500 above. For the sake of brevity, it will not be explained here.
[0485] S804, AS sends downlink traffic to UPF (i.e., an example of the first data stream, such as downklink traffic);
[0486] Correspondingly, the UPF receives downlink traffic from the AS.
[0487] S805, UPF sends notification message #1 to NWDAF (e.g., Nupf_eventExposure_Notify);
[0488] Correspondingly, NWDAF receives notification message #1 from UPF.
[0489] The notification message #1 includes traffic characteristic information. For details on the parameters and their specific interpretations included in the traffic characteristic information, please refer to the relevant description of step S520 of method 500 above. For the sake of brevity, it will not be explained here.
[0490] S806, NWDAF sends request message #3 to AF;
[0491] Correspondingly, AF receives request message #3 from NWDAF (i.e., an example of the fourth message, such as Naf_eventExposure_Subscribe).
[0492] Specifically, request message #3 is used to subscribe to / request traffic pattern information #1 (i.e., an example of the first traffic pattern information).
[0493] For example, the request message #3 may include at least one of the following: analysis / event identifier, application identifier, session identifier, or filtering information, etc. For specific interpretations, please refer to the relevant description of step S502 of the method 500 above. For the sake of brevity, it will not be explained here.
[0494] S807, AF sends notification message #2 to NWDAF (e.g., Naf_eventExposure_Notify);
[0495] Correspondingly, NWDAF receives notification message #2 from AF.
[0496] The notification message #1 includes traffic pattern information #1. For details on the parameters and their specific meanings contained in the traffic pattern information #1, please refer to the relevant description of step S502 of the method 500 above. For the sake of brevity, it will not be explained here.
[0497] S808, NWDAF generates traffic pattern analysis results based on traffic pattern information #1 and traffic characteristic information.
[0498] S809, NWDAF sends notification message #3 to PCF / UPF / SMF / OAM;
[0499] Correspondingly, PCF / UPF / SMF / OAM receives notification message #3 from NWDAF.
[0500] Notification message #3 includes traffic pattern analysis results.
[0501] S810, PCF / SMF / OAM sends updated N4 rules / traffic pattern rules to UPF;
[0502] Correspondingly, the UPF receives updated N4 rules / traffic pattern rules from the PCF / SMF / OAM.
[0503] S811, UPF processes downlink traffic based on traffic pattern analysis results or updated N4 rules / traffic pattern rules.
[0504] The specific implementation of steps S808-S811 can be found in the description of steps S707-S711 of method 700 above. For the sake of brevity, it will not be explained here.
[0505] Based on the above scheme, NWDAF requests traffic pattern information from UPF and AF based on consumer requests. It analyzes this information to obtain traffic pattern analysis results, which are then sent to the consumer. UPF then processes abnormal traffic based on recommended actions or processing rules derived from the traffic pattern analysis results. Specifically, UPF sends real-time collected traffic feature information to NWDAF, enabling NWDAF to generate traffic pattern analysis results based on this information. This helps UPF handle user plane traffic, reducing the impact of abnormal or malicious traffic and ultimately improving user plane performance.
[0506] It should be noted that the above Figures 5 to 8 In the provided embodiments, the sequence of steps in each method is merely an example; other sequences are possible as long as they conform to the execution logic and should not limit the implementation of the methods. Furthermore, some steps in each method may be optional, as long as they are logically sound and should not limit the implementation of the methods. Regarding the above... Figures 5 to 8 The methods shown, the explanations of terms or implementations in each method, can be referenced from each other as long as they are logically consistent, and should not impose restrictions on the implementation of the methods.
[0507] As described above, the network equipment (e.g., RAN) involved in the technical solution of this application can be O-RAN. Under the O-RAN architecture, the RAN intelligent controller (RIC) can directly control both the gNB-CU and the gNB-DU, requiring the above-mentioned... Figures 5 to 8The RAN involved in the illustrated communication method can be extended to CU and DU. Optionally, in various embodiments of this application, if the RAN is a CU-DU separated architecture, the CU can forward the information to the DU after receiving information from a core network element (e.g., SMF or UPF); or, the DU can forward the information to the CU after receiving information from a terminal device (e.g., UE). The remaining steps can be referred to the above. Figures 5 to 8 The relevant descriptions will not be repeated here.
[0508] The above combination Figures 1 to 8 The communication method embodiments of this application have been described in detail below, and will be discussed in conjunction with... Figures 9 to 11 This application describes in detail the communication device-side embodiments. It should be understood that the descriptions of the device embodiments correspond to the descriptions of the method embodiments; therefore, any parts not described in detail can be found in the preceding method embodiments.
[0509] Figure 9 This is a schematic block diagram of a communication device provided in an embodiment of this application. Figure 9 As shown, the communication device 1000 may include modules or units for implementing the methods described in the above embodiments. In one possible design, the communication device 1000 includes a communication unit 1003 and a processing unit 1002. Optionally, the communication device 1000 may further include a storage unit 1001 for storing device program code and / or data. The communication unit 1003 may also be referred to as an input / output circuit, input / output interface, communication interface, transceiver unit, communication module, transceiver module, transceiver circuit, or interface unit, etc. The transceiver unit includes a receiving unit and / or a sending unit; the sending unit may also be referred to as an output unit, and the receiving unit may also be referred to as an input unit. The processing unit 1002 can read instructions and / or data from the storage unit 1001 to enable the device to implement the aforementioned method embodiments.
[0510] The communication device 1000 can be the analysis function network element in the above embodiments, such as the analysis function network element or the communication module (e.g., circuit, chip or chip system) in the analysis function network element, or a logic node or logic module that can realize all or part of the analysis function network element functions.
[0511] For example, in one embodiment, the communication unit 1003 is configured to receive a first message from a first network element, the first message being used to subscribe to or request traffic pattern analysis for a first data stream, the traffic pattern analysis being used to analyze the traffic characteristics of the first data stream, the first message including an analysis identifier, the analysis identifier being used to indicate the traffic pattern analysis; the processing unit 1002 is configured to acquire traffic feature information, the traffic feature information being used to characterize the traffic characteristics of the first data stream; the processing unit 1002 is further configured to generate a traffic pattern analysis result based on the traffic feature information, the traffic pattern analysis result being used to process the first data stream; the communication unit 1003 is further configured to send a second message to the first network element, the second message including the traffic pattern analysis result.
[0512] In one possible design, when the communication device 1000 is an analysis function network element or a communication module within an analysis function network element, the function of the processing unit 1002 can be implemented by one or more processors. Specifically, the processor may include a modem chip, or a system-on-a-chip (SoC) chip or a SIP chip containing a modem core. The function of the communication unit 1003 can be implemented by a transceiver circuit.
[0513] In one possible design, when the communication device 1000 is a circuit or chip responsible for communication functions within an analysis function network element, such as a modem chip or a system-on-a-chip (SoC) or SIP chip containing a modem core, the function of the processing unit 1002 can be implemented by a circuit system in the aforementioned chip that includes one or more processors or processor cores. The function of the communication unit 1003 can be implemented by interface circuits or data transceiver circuits on the aforementioned chip.
[0514] The communication device 1000 can be the first network element in the above embodiments, such as the first network element or the communication module (e.g., circuit, chip or chip system) in the first network element, or a logic node or logic module that can realize all or part of the functions of the first network element.
[0515] For example, in one embodiment, the communication unit 1003 is configured to send a first message to the analysis function network element. The first message is used to subscribe to or request traffic pattern analysis for a first data stream. The traffic pattern analysis service is used to analyze the traffic characteristics of the first data stream. The first information includes an analysis identifier, which is used to indicate the traffic pattern analysis. The communication unit 1003 is also configured to receive a second message from the analysis function network element. The second message includes a traffic pattern analysis result, which is used to process the first data stream. The traffic pattern analysis result is generated based on traffic characteristic information, which is used to characterize the traffic characteristics of the first data stream.
[0516] In one possible design, when the communication device 1000 is a first network element or a communication module within the first network element, the function of the processing unit 1002 can be implemented by one or more processors. Specifically, the processor may include a chip. The function of the communication unit 1003 can be implemented by a transceiver circuit.
[0517] In one possible design, when the communication device 1000 is a circuit or chip responsible for communication functions in the first network element, the function of the processing unit 1002 can be implemented by a circuit system in the chip that includes one or more processors or processor cores. The function of the communication unit 1003 can be implemented by an interface circuit or data transceiver circuit on the chip.
[0518] The communication device 1000 can be a user plane network element in the above embodiments, such as a user plane network element or a communication module in the user plane (e.g., a circuit, a chip or a chip system, etc.), or a logic node or logic module that can implement all or part of the user plane functions.
[0519] For example, in one embodiment, the communication unit 1003 is used to receive traffic pattern analysis results from the analysis function network element. The traffic pattern analysis results are generated based on traffic feature information, which is used to characterize the traffic features of the first data stream. Alternatively, the communication unit 1003 is used to receive a first rule from the first network element. The first rule is determined based on the traffic pattern analysis results and is used to process the first data stream. The processing unit 1002 is used to process the first data stream based on the traffic pattern analysis results or the first rule.
[0520] In one possible design, when the communication device 1000 is a user plane network element or a communication module within a user plane network element, the function of the processing unit 1002 can be implemented by one or more processors. Specifically, the processor may include a chip. The function of the communication unit 1003 can be implemented by a transceiver circuit.
[0521] In one possible design, when the communication device 1000 is a circuit or chip responsible for communication functions in a user plane network element, the function of the processing unit 1002 can be implemented by a circuit system in the chip that includes one or more processors or processor cores. The function of the communication unit 1003 can be implemented by an interface circuit or data transceiver circuit on the chip.
[0522] Understandably, the division of units in the above-mentioned device is merely a logical functional division. One function can correspond to one functional unit, or two or more functions can be integrated into one functional unit. In actual implementation, all or some units can be integrated onto a single physical entity, or distributed across different physical entities. Furthermore, the aforementioned functional units can be implemented in hardware, software, or a combination of both.
[0523] In one example, the functional unit in any of the above devices may be one or more integrated circuits configured to implement the above methods, such as: one or more application-specific integrated circuits (ASICs), or one or more central processing units (CPUs), one or more microprocessor units (MPUs), one or more microcontroller units (MCUs), one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
[0524] In one example, storage unit 1001 may include random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory and / or registers, etc.
[0525] Furthermore, the aforementioned communication unit 1003 can also be a transceiver circuit (e.g., it may include a receiving circuit and a transmitting circuit), and the processing unit 1002 can be a processing circuit. In embodiments of this application, Figure 9 The device in the above embodiment can be the analysis function network element, the first network element, or the user plane network element, or it can be a chip or a chip system, such as a SoC. The communication unit 1003 can be an input / output circuit or a communication interface. The processing unit 1002 is a processor, microprocessor, or integrated circuit integrated on the chip. No limitations are imposed here.
[0526] Figure 10 This is a schematic block diagram of another communication device provided in an embodiment of this application. Figure 10As shown, the communication device 2000 includes a transceiver 2020 and a processor 2010. The transceiver 2020 is used for receiving and / or transmitting signals. The processor 2010 and the transceiver 2020 communicate with each other through an internal connection path. The processor 2010 is used to execute instructions to control the transceiver 2020 to transmit and / or receive signals.
[0527] Optionally, the communication device 2000 may further include a memory 2030 for storing computer programs or instructions and / or data. The memory 2030 communicates with the processor 2010 and transceiver 2020 via internal connection paths. The memory 2030 stores instructions, and the processor 2010 can execute the instructions stored in the memory 2030. The processor 2010 is coupled to the memory 2030 and is used to execute the computer programs or instructions stored in the memory 2030, or to read the data stored in the memory 2030, to perform the methods in the above-described method embodiments.
[0528] Optionally, the transceiver 2020 may include a transmitter and / or a receiver to respectively implement the sending and receiving operations in the embodiments; if the transceiver 2020 is an input / output interface, then it sends the corresponding output and receives the corresponding input.
[0529] Optionally, there may be one or more processors 2010.
[0530] Optionally, there may be one or more transceivers 2020.
[0531] Optionally, the memory 2030 may be one or more.
[0532] Alternatively, the memory 2030 can be integrated with the processor 2010, or it can be set up separately.
[0533] As an example, processor 2010 may have Figure 9 The processing unit 1002 shown has the function of a storage unit, the memory 2030 can have the function of a storage unit, and the transceiver 2020 can have the function of a storage unit. Figure 9 The function of the communication unit 1003 shown.
[0534] As one approach, the communication device 2000 is used to implement the operations performed by the communication device (such as an analysis function network element, a first network element, or a user plane network element) in the various method embodiments described above. For example, the processor 2010 is used to execute computer programs or instructions stored in the memory 2030 to implement the relevant operations of the communication device in the various method embodiments described above.
[0535] Alternatively, if the transceiver 2020 is replaced with an input / output circuit or input / output interface, the communication device 2000 can be considered as a chip or chip system.
[0536] In one implementation, the communication device 2000 is used to implement the various processes and steps corresponding to the analysis function network element in the above method embodiments.
[0537] In another implementation, the communication device 2000 is used to implement the various processes and steps corresponding to the first network element in the above method embodiments.
[0538] In another implementation, the communication device 2000 is used to implement the various processes and steps corresponding to the user plane network elements in the above method embodiments.
[0539] Optionally, the memory 2030 may include read-only memory and random access memory, and provide instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, the memory may also store device type information. The processor 2010 may be used to execute instructions stored in the memory, and when the processor 2010 executes instructions stored in the memory, the processor 2010 is used to perform the various steps and / or processes of the method embodiments corresponding to the analysis function network element, or the first network element, or the user plane network element described above.
[0540] In implementation, each step of the above method can be completed by integrated logic circuits in the processor hardware or by instructions in software. The steps of the method claimed in the embodiments of this application can be directly implemented by a hardware processor, or by a combination of hardware and software modules in the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method. To avoid repetition, detailed descriptions are omitted here.
[0541] It should be noted that the processor in the embodiments of this application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiments can be completed by the integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, a digital signal processor, 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. The processor in the embodiments of this application can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method applied in conjunction with the embodiments of this application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method.
[0542] In one implementation, the processor mentioned above can also be an AI processor such as a neural processing unit (NPU) or a GPU, without limitation.
[0543] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0544] Figure 11 This is a schematic block diagram of a chip system provided in an embodiment of this application. For example... Figure 11 As shown, the chip system 3000 (or processing system) includes logic circuitry 3010 and input / output interface 3020.
[0545] The logic circuit 3010 can be a processing circuit in the chip system 3000. The logic circuit 3010 can be coupled to a memory unit, calling instructions from the memory unit, enabling the chip system 3000 to implement the methods and functions of the embodiments of this application. The input / output interface 3020 can be an input / output circuit in the chip system 3000, outputting processed information from the chip system 3000, or inputting data or signaling information to be processed into the chip system 3000 for processing.
[0546] As one approach, the chip system 3000 is used to implement the operations performed by the analysis function network element in the various method embodiments described above.
[0547] For example, logic circuit 3010 is used to implement processing-related operations performed by the analysis function network element in the above method embodiment, such as... Figure 5 The illustrated embodiment analyzes the processing-related operations performed by the analysis function network element; the input / output interface 3020 is used to implement the sending and / or receiving-related operations performed by the analysis function network element in the above method embodiment, such as... Figure 5 The analysis function network element in the illustrated embodiment performs transmission and / or reception-related operations.
[0548] As an alternative, the chip system 3000 is used to implement the operations performed by the first network element in the various method embodiments described above.
[0549] For example, logic circuit 3010 is used to implement the processing-related operations performed by the first network element in the above method embodiment, such as... Figure 5 The illustrated embodiment shows the processing-related operations performed by the first network element; the input / output interface 3020 is used to implement the sending and / or receiving-related operations performed by the first network element in the above method embodiment, such as... Figure 5 The first network element in the illustrated embodiment performs transmission and / or reception-related operations.
[0550] As an alternative, the chip system 3000 is used to implement the operations performed by the user plane network elements in the various method embodiments described above.
[0551] For example, logic circuit 3010 is used to implement the processing-related operations performed by the user plane network element in the above method embodiment, such as... Figure 5 The illustrated embodiment shows the processing-related operations performed by the user plane network element; the input / output interface 3020 is used to implement the sending and / or receiving-related operations performed by the user plane network element in the above method embodiment, such as... Figure 5 The user plane network element in the illustrated embodiment performs transmission and / or reception-related operations.
[0552] This application also provides a computer-readable storage medium storing computer instructions for implementing the methods executed by a communication device (such as an analysis function network element, a first network element, or a user plane network) in the above-described method embodiments.
[0553] This application also provides a computer program product comprising instructions which, when executed by a computer, implement the methods described above, performed by a communication device (such as an analysis function network element, a first network element, or a user plane network element).
[0554] This application also provides a communication system, which includes at least one of the analysis function network element, the first network element, or the user plane network element in the above embodiments.
[0555] The explanations and beneficial effects of the relevant contents in any of the devices provided above can be found in the corresponding method embodiments provided above, and will not be repeated here.
[0556] In the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0557] This application will present various aspects, embodiments, or features relating to systems that may include multiple devices, components, modules, etc. It should be understood and appreciated that individual systems may include additional devices, components, modules, etc., and / or may not include all the devices, components, modules, etc. discussed in conjunction with the accompanying drawings. Furthermore, combinations of these approaches are also possible.
[0558] In this application, examples may reference each other without logical contradiction. For example, methods and / or terms between method embodiments may reference each other, functions and / or terms between device embodiments may reference each other, and functions and / or terms between device examples and method examples may reference each other.
[0559] It should be understood that the above embodiments are mainly illustrated using devices in existing network architectures as examples, and the specific form of the devices is not limited in the embodiments of this application. For example, any device that can achieve the same function in the future is applicable to the embodiments of this application.
[0560] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for specific applications, but such implementations should not be considered beyond the scope of this application.
[0561] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.
[0562] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0563] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this implementation scheme according to actual needs.
[0564] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0565] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, essentially, or the part that contributes to existing solutions, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0566] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A communication method, characterized in that, include: A first message is received from a first network element. The first message is used to subscribe to or request traffic pattern analysis for a first data stream. The traffic pattern analysis is used to analyze the traffic characteristics of the first data stream. The first message includes an analysis identifier, which is used to indicate the traffic pattern analysis. Obtain traffic characteristic information, which is used to characterize the traffic characteristics of the first data stream; A traffic pattern analysis result is generated based on the traffic characteristic information, and the traffic pattern analysis result is used to process the first data stream; A second message is sent to the first network element, the second message including the traffic pattern analysis results.
2. The method according to claim 1, characterized in that, The first data stream originates from a data network.
3. The method according to claim 1 or 2, characterized in that, The first message also includes analysis filter information, which is used to indicate the first data stream.
4. The method according to claim 3, characterized in that, The analysis filter information includes at least one of the following: the data network name corresponding to the first data stream, the slice name corresponding to the first data stream, the application identifier, the Internet Protocol IP address or prefix corresponding to the first data stream, or the packet filtering information corresponding to the first data stream. The application identifier is used to indicate a first application, which is associated with the first data stream.
5. The method according to any one of claims 1 to 4, characterized in that, The first data stream is associated with a first session, and / or the first data stream is associated with a first application; The first information further includes a session identifier and / or an application identifier, wherein the session identifier is used to indicate a first session between the terminal device and the user plane network element, and the application identifier is used to indicate the first application.
6. The method according to any one of claims 1 to 5, characterized in that, The acquisition of traffic characteristic information includes: Send a third message to the user plane network element, the third message being used to subscribe to or request the traffic characteristic information; Receive the traffic characteristic information from the user plane network element.
7. The method according to claim 6, characterized in that, The third message includes indication information of the triggering condition, which is used to instruct the user plane network element to send the traffic characteristic information when the triggering condition is met.
8. The method according to claim 7, characterized in that, The triggering condition includes at least one of the following: The bandwidth occupied by the first data stream is greater than or equal to the first threshold; The amount of data in the first data stream is greater than or equal to the second threshold; The congestion information of the QoS stream associated with the first data stream is greater than or equal to the third threshold; or, The load of the user plane network element is greater than or equal to the fourth threshold.
9. The method according to any one of claims 6 to 8, characterized in that, The third message includes the measurement time corresponding to the flow characteristic information, and / or the measurement frequency corresponding to the flow characteristic information.
10. The method according to any one of claims 1 to 9, characterized in that, The method further includes: Obtain the first traffic pattern information; The step of generating traffic pattern analysis results based on the traffic feature information includes: The traffic pattern analysis result is generated based on the traffic characteristic information and the first traffic pattern information.
11. The method according to claim 10, characterized in that, The acquisition of the first traffic pattern information includes: Send a fourth message to the application function network element, the fourth message being used to subscribe to or request the first traffic pattern information; Receive the first traffic pattern information.
12. The method according to claim 10 or 11, characterized in that, Based on the traffic characteristic information and the first traffic pattern information, the traffic pattern analysis result is generated, including: Based on the first traffic pattern information, obtain the traffic pattern classifier; The traffic pattern analysis results are generated based on the traffic pattern classifier and the traffic feature information.
13. The method according to any one of claims 1 to 12, characterized in that, The traffic characteristic information includes at least one of the following: Application identifier, which indicates the first application associated with the first data stream; Filtering information, the filtering information being used to indicate the first data stream; Address distribution information, which is used to indicate the address distribution of application servers that have communicated with user plane network elements; The start time of traffic detection for the first data stream; The end time of traffic detection for the first data stream; The uplink data rate of the first data stream; The downlink data rate of the first data stream; The amount of upstream data in the first data stream; The downlink data volume of the first data stream; The bandwidth occupied by the first data stream; The list of Uniform Resource Locators (URLs) in the user plane packets detected in the first data stream; or, The domain name list information in the user plane messages detected in the first data stream.
14. The method according to any one of claims 1 to 13, characterized in that, The traffic pattern analysis results include second traffic pattern information, which is determined based on the traffic feature information.
15. The method according to claim 14, characterized in that, The second traffic pattern information includes at least one of the following: Traffic category, which is used to indicate whether the first data stream is normal traffic or abnormal traffic; Abnormal traffic level; The amount of uplink data in the first data stream under one or more traffic categories; The amount of downlink data in the first data stream under one or more traffic categories; The uplink data rate of the first data stream under one or more traffic categories; The downlink data rate of the first data stream under one or more traffic categories; The packet size distribution of the first data stream under one or more traffic categories; The duration of the first data stream under one or more traffic categories; or, The first data stream is defined as the range or period of data bursts under one or more traffic categories.
16. The method according to claim 14 or 15, characterized in that, The traffic pattern analysis results also include at least one of the following: analysis filter information, recommended actions, or address information; The recommended action is used to indicate the processing action for the first data stream; The address information is used to indicate at least one of the following: a first address, a second address, or a third address, wherein the first address is the address of a first terminal device that is allowed to use the first application associated with the first data stream or is allowed to communicate with the application server, the second address is the address of a second terminal device that is prohibited from using the first application associated with the first data stream or is prohibited from communicating with the application server, and the third address is the address distribution of a third terminal device that has communicated with the application server.
17. A communication method, characterized in that, include: Send a first message to the analysis function network element. The first message is used to subscribe to or request traffic pattern analysis for the first data stream. The traffic pattern analysis service is used to analyze the traffic characteristics of the first data stream. The first information includes an analysis identifier, which is used to indicate the traffic pattern analysis. The system receives a second message from the analysis function network element. The second message includes traffic pattern analysis results, which are used to process the first data stream. The traffic pattern analysis results are generated based on traffic feature information, which is used to characterize the traffic features of the first data stream.
18. The method according to claim 17, characterized in that, The method further includes: A first rule is determined based on the traffic pattern analysis results, and the first rule is used to process the first data stream.
19. The method according to claim 18, characterized in that, The method further includes: A fifth message is sent to the user plane network element, the fifth message including the first rule.
20. The method according to claim 19, characterized in that, The fifth message also includes second traffic pattern information, which is determined based on the traffic feature information.
21. The method according to any one of claims 18 to 20, characterized in that, The first rule is used to process the first data stream and includes at least one of the following: The first rule is used to discard data packets in the first data stream, or reduce the QoS level of the first data stream, or reduce the transmission rate of the first data stream.
22. The method according to any one of claims 19 to 21, characterized in that, The fifth message is an N4 session establishment request message, an N4 session update request message, or a traffic mode management message.
23. A communication method, characterized in that, include: Receive traffic pattern analysis results from the analysis function network element. These results are generated based on traffic characteristic information, which characterizes the traffic characteristics of the first data stream. Receive a first rule from a first network element, the first rule being determined based on traffic pattern analysis results, and the first rule being used to process the first data stream; The first data stream is processed based on the traffic pattern analysis results or the first rule.
24. The method according to claim 23, characterized in that, Based on the traffic pattern analysis results or the first rule, process the first data stream, including: Based on the traffic pattern analysis results or the first rule, determine the traffic pattern of the first data stream; The first data stream is processed according to the second rule or recommended action corresponding to the traffic pattern of the first data stream, wherein the second rule belongs to the first rule and the recommended action belongs to the traffic pattern analysis result.
25. A communication device, characterized in that, It includes modules or units for implementing the method as described in any one of claims 1 to 17, or modules or units for implementing the method as described in any one of claims 18 to 23, or modules or units for implementing the method as described in claim 24 or 25.
26. A communication device, characterized in that, It includes at least one processor, the at least one processor being configured to execute a computer program or instructions in memory to cause the method of any one of claims 1 to 17 to be performed, or to cause the method of any one of claims 18 to 23 to be performed, or to cause the method of claim 24 or 25 to be performed.
27. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program that, when run on a computer, causes the method as described in any one of claims 1 to 25 to be performed.
28. A computer program product, characterized in that, Includes a computer program or instructions that, when executed by a processor, cause the method as described in any one of claims 1 to 25 to be performed.
29. A communication system, characterized in that, It includes an analysis function network element, a first network element, and a user plane network element, wherein the analysis function network element is used to perform the method as described in any one of claims 1 to 16, the first network element is used to perform the method as described in any one of claims 17 to 22, and the user plane network element is used to perform the method as described in claim 23 or 24.
30. A chip, characterized in that, It includes at least one processor, said at least one processor being configured to execute a computer program or instructions to cause the method as described in any one of claims 1 to 24 to be performed.
