Communication method and device, equipment, storage medium and product

By implementing data flow detection and interception functions in UPF, combined with security gateway and NRF registration, the security and complexity issues of UPF equipment are solved, the security of information open services is improved, and the subscription process is simplified.

CN118803779APending Publication Date: 2024-10-18CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410405711.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-03
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Current UPF equipment has problems such as being bound to the same manufacturer as the core network control plane, having complex functions, and having too large starting specifications. Moreover, the security of open UPF is low and it faces risks such as physical attacks and protocol vulnerabilities.

Method used

By implementing the detection and interception function of specific data flows in UPF, using the security gateway to provide user plane information, and registering the data flow detection and processing capabilities in NRF, automatic detection and interception based on requests are realized, and the authorization of subscribing to user plane information is simplified. process to improve the security of information open services.

Benefits of technology

It effectively improves the security of user plane information open services, simplifies the subscription process, enhances the ability to monitor and intercept specific data flows, and reduces the risk of attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803779A_ABST
    Figure CN118803779A_ABST
Patent Text Reader

Abstract

The invention discloses a communication method and device, equipment, a storage medium and a product. The method comprises the following steps: a first network function receives first request information of a second network function, wherein the first request information is used for requesting specific data flow detection and / or data flow processing; thus, the first network function can perform specific data flow detection and / or data flow processing according to the first request information of the second network function, thereby realizing processing such as automatic detection and / or interception of the specific data flow based on the request, and effectively improving the security of the user plane information open service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of mobile communications, and in particular to a communication method, apparatus, device, storage medium and product. Background Art

[0002] UPF (User Plane Function) is the golden key to unlocking the 5G (fifth generation mobile communications) vertical industry. It is the connection point, starting point, and control point for 5G to empower vertical industries. However, current UPF equipment is bound to the same manufacturer as the core network control plane, has relatively complex functions, and has too large starting specifications. These problems have become difficulties that operators must overcome in order to expand into the vertical industry market.

[0003] Open UPF is a UPF deployed on the edge side for 2B (to-Business), mainly for life park scenarios such as science and technology parks, hospitals, offices, campuses, and production and manufacturing scenarios such as factories, logistics ports, power grids, and coal mines. These application scenarios generally require UPF to be deployed to the edge business side or even the park, and have a stronger demand for the flexibility and openness of UPF. For example, information can be directly opened to the set NF (Network Function) through the information opening service, including the registration / deregistration of the UPF information opening service in the NRF (Network Repository Function) and UPF discovery.

[0004] However, the physical environment facilities and security of the UPF are not as good as those of the core network room, and it may become the target of physical or communication attacks. In addition, the openness of UPF reduces the threshold for attackers to exploit protocol vulnerabilities, general operating systems, middleware, etc. Therefore, the security of open UPF needs to be improved. Summary of the invention

[0005] In view of this, embodiments of the present application provide a communication method, apparatus, device, storage medium and product, which aim to improve the security of user plane information disclosure services.

[0006] The technical solution of the embodiment of the present application is implemented as follows:

[0007] In a first aspect, an embodiment of the present application provides a communication method, the method comprising:

[0008] The first network function receives first request information of the second network function, where the first request information is used to request specific data flow detection and / or data flow processing.

[0009] In the above solution, the first request information includes at least one of the following:

[0010] detection rule information and / or processing rule information;

[0011] Identifier information;

[0012] Testing condition information;

[0013] Action information and / or behavior information;

[0014] Reporting condition information;

[0015] Report content information.

[0016] In the above solution, the first network function has data flow detection and / or data flow processing capabilities.

[0017] In the above scheme, the method further comprises:

[0018] The first network function sends or registers or updates the data flow detection and / or data flow processing capability to a third network function.

[0019] In the above solution, the third network function is a network repository function (NRF).

[0020] In the above solution, the first network function is a user plane function (UPF), and the second network function is an application function (AF).

[0021] In the above scheme, the method further comprises:

[0022] The first network function performs at least one of the following operations according to the first request information:

[0023] identifying the specific data stream;

[0024] identifying the particular data flow over a period of time;

[0025] Identify data flows for specific services based on Uniform Resource Identifiers (URIs);

[0026] Detect the URI of the data stream;

[0027] reporting an event to the second network function when the specific data flow is detected;

[0028] reporting traffic to the second network function when the specific data flow is detected;

[0029] When the specific data stream is detected, packet loss processing is performed.

[0030] In a second aspect, an embodiment of the present application provides a communication method, the method comprising:

[0031] The first network function receives second request information of the fourth network function, where the second request information is used to request subscription to user plane information;

[0032] The first network function generates and returns a subscription result to the fourth network function.

[0033] In the above solution, the second request information carries an information identifier indicating the information to be subscribed; and generating the subscription result includes:

[0034] The subscription result is generated based on the information identifier and the historical authorization record stored locally.

[0035] In the above scheme, the locally stored historical authorization records include: a white list representing user plane information that is allowed to be authorized and a black list representing user plane information that is not allowed to be authorized, and the subscription result is generated based on the information identifier and the locally stored historical authorization records, including:

[0036] If it is determined that the information identifier falls into the whitelist, generating a first subscription result indicating that the subscription is successful;

[0037] If it is determined that the information identifier falls into the blacklist, a second subscription result indicating a subscription failure is generated.

[0038] In the above scheme, the method further includes:

[0039] If it is determined that the information identifier does not fall into the whitelist and the blacklist, an authorization request is sent to the fifth network function, and a subscription result is generated and sent to the fourth network function based on the authorization result of the fifth network function.

[0040] In the above scheme, the method further includes:

[0041] The whitelist and / or the blacklist is updated based on the authorization result.

[0042] In the above solution, the fifth network function includes: a session management function (SMF) and / or a policy control function (PCF).

[0043] In the above solution, the first network function is UPF, and the fourth network function includes at least one of the following: AF, network data analysis function (NWDAF) and time-sensitive network application function (TSNAF).

[0044] In the above solution, the information identifier includes at least one of the following:

[0045] Application identification;

[0046] Slice identification;

[0047] User equipment (UE) address identifier;

[0048] Data Network Name (DNN).

[0049] In a third aspect, an embodiment of the present application provides a communication device, applied to a first network function, the device comprising:

[0050] The first receiving module is used to receive first request information of a second network function, where the first request information is used to request specific data flow detection and / or data flow processing.

[0051] In a fourth aspect, an embodiment of the present application provides a communication device, applied to a first network function, the device comprising:

[0052] A second receiving module, configured to receive second request information of a fourth network function, where the second request information is used to request subscription to user plane information;

[0053] The processing module is used to generate and return a subscription result to the fourth network function.

[0054] In a fifth aspect, an embodiment of the present application provides a first network function, comprising: a processor and a memory for storing a computer program that can be run on the processor, wherein the processor, when used to run the computer program, executes the steps of the method described in any aspect of the embodiment of the present application.

[0055] In a sixth aspect, an embodiment of the present application provides a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in any aspect of the embodiment of the present application are implemented.

[0056] In a seventh aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method described in any aspect of the embodiment of the present application.

[0057] In the technical solution provided by the embodiment of the present application, the first network function receives the first request information of the second network function, and the first request information is used to request specific data flow detection and / or data flow processing. In this way, the first network function can perform specific data flow detection and / or data flow processing according to the first request information of the second network function, thereby realizing automatic detection and / or interception of specific data flows based on the request, and can effectively improve the security of the user plane information open service. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 This is a flow chart of a communication method according to an embodiment of the present application;

[0059] Figure 2 This is a flow chart of a communication method according to another embodiment of the present application;

[0060] Figure 3 This is a flow chart of a communication method according to an application example of the present application;

[0061] Figure 4 This is a flow chart of a communication method according to another application embodiment of the present application;

[0062] Figure 5 This is a schematic diagram of the structure of a communication device according to an embodiment of the present application;

[0063] Figure 6 This is a schematic diagram of the structure of a communication device according to another embodiment of the present application;

[0064] Figure 7 This is a schematic diagram of the structure of the first network function of an embodiment of the present application. DETAILED DESCRIPTION

[0065] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0066] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0067] In the related technology, in order to enhance the security of UPF, an external security gateway can be used to legally intercept some unsafe data. UPF will provide user plane information to the security gateway. However, UPF itself does not have the function of securely intercepting specific data flows and will not process related data.

[0068] Based on this, an embodiment of the present application provides a communication method, specifically a communication method based on user plane information, which can effectively improve the security of user plane information open services. The communication method is applied to a first network function, which has data flow detection and / or data flow processing capabilities, for example, a configuration supports a legal interception capability for detecting and intercepting data flows.

[0069] It should be noted that the network function in the embodiment of the present application can also be referred to as a function, a function body, a functional network element, a network element, a network node or a device, etc., and the embodiment of the present application does not limit this, as long as the corresponding function is realized. For example, in a 5G network, the first network function can be a UPF.

[0070] like Figure 1 As shown, the control method of the embodiment of the present application includes:

[0071] Step 101: A first network function receives first request information from a second network function, where the first request information is used to request specific data flow detection and / or data flow processing.

[0072] Here, specific data flow detection can be understood as UPF detecting whether there is a specific data flow in the user plane data flow, and data flow processing can be understood as UPF intercepting, dropping packets, reporting, etc. on the detected specific data flow.

[0073] It can be understood that the first network function can perform specific data flow detection and / or data flow processing based on the first request information of the second network function, thereby realizing automatic detection and / or interception of specific data flows based on the request, which can effectively improve the security of user plane information exposure services.

[0074] Exemplarily, the first request information includes at least one of the following:

[0075] detection rule information and / or processing rule information;

[0076] Identifier information;

[0077] Testing condition information;

[0078] Action information and / or behavior information;

[0079] Reporting condition information;

[0080] Report content information.

[0081] It should be noted that the detection rule information and / or processing rule information include rules for detecting and / or processing specific data flows, the identifier information may include a set data flow identifier (for example, a URI identifier), the detection condition information may include a set detection time period, the action information and / or behavior information may be understood as an action, for example, may include but is not limited to: interception, packet loss and other actions, the reporting condition information may be the timing for initiating reporting, for example, reporting when a specific data flow is detected, and the reporting content information may specify the form of the reporting information, for example, the form of information that a specific data flow has been detected and intercepted.

[0082] In actual applications, the above-mentioned detection information and / or processing rule information, identifier information, detection condition information, action information, reporting condition information and reporting content information can be reasonably designed based on needs, and the embodiments of the present application do not limit this.

[0083] It should be noted that the first network function needs to have data flow detection and / or data flow processing capabilities. In an application example, a security gateway can be co-located on the UPF, so that the UPF has the detection and legal interception capabilities of specific data flows.

[0084] Exemplarily, the method further includes:

[0085] The first network function sends or registers or updates the data flow detection and / or data flow processing capability to a third network function.

[0086] Exemplarily, the third network function may be an NRF, and the first network function may send or register or update the data flow detection and / or data flow processing capability to the NRF. For example, the first network function registers or updates capability information to the NRF, and the NRF may store a list of network functions having the data flow detection and / or data flow processing capability.

[0087] Exemplarily, the first network function performs at least one of the following operations according to the first request information:

[0088] identifying the specific data stream;

[0089] identifying the particular data flow over a period of time;

[0090] Identify the data flow of a specific service based on a Uniform Resource Identifier (URI);

[0091] Detect the URI of the data stream;

[0092] reporting an event to the second network function when the specific data flow is detected;

[0093] reporting traffic to the second network function when the specific data flow is detected;

[0094] When the specific data stream is detected, packet loss processing is performed.

[0095] For example, the first network function can identify a specific data flow based on the identifier information and / or detection rule information in the first request information; the first network function can also determine the detection time period based on the detection condition information, and identify the specific data flow within the detection time period; the first network function can also detect the URI of the data flow, and identify the data flow of the specific service based on the URI; the first network function can also report an event to the second network function when the specific data flow is detected. Exemplarily, the event can be an event indicating that a data flow of a specific service has been detected; the first network function can also report traffic to the second network function when the specific data flow is detected, for example, reporting the traffic of the specific data flow to the second network function; the first network function can also perform packet loss processing when the specific data flow is detected.

[0096] It should be noted that the first network function can perform one or more of the above operations, which is not limited in this embodiment of the present application.

[0097] Exemplarily, the second network function can be understood as consumer NF (consumer network function). The core network element can convert the first request information of the second network function into a control rule and send it to the first network function that supports the data flow detection and / or data flow processing capability, and the first network function performs automatic detection and / or data flow processing of specific data flows.

[0098] Exemplarily, the second network function is AF. In an application example, AF may send a request for the service of a PDU (Protocol Data Unit) session to influence the SMF routing decision. The AF request may affect the UPF selection and allow the user service to be routed to the local access to the data network. Exemplarily, the AF sends an AF request carrying the aforementioned first request information, and the AF request may be sent to the PCF (Policy Control Function) via the NEF (Network Exposure Function). The AF request is sent through the NEF targeting multiple UEs or any UE for existing or future PDU sessions, and may be targeted at multiple PCFs. The PCF converts the AF request into a policy applied to the PDU session, for example, a PCC rule (Policy and Charging Control rule). Based on NRF, SMF can select a suitable UPF that supports data flow detection and / or data flow processing capabilities for the PDU session, and send corresponding packet detection rules (Packet Detection Rule, PDR), forwarding action rules (Forwarding Action Rules, FAR) and usage reporting rules (Usage Reporting Rules, URR) to UPF; in this way, UPF can implement data flow detection according to the received control rules, and intercept the target data flow when the conditions are met, and send an interception notification to AF indicating the interception of the target data flow, thereby realizing automatic detection and interception of the target data flow based on AF request, which can effectively improve the security of user plane information exposure services.

[0099] In the related art, some consumer NFs (for example, AF) need to subscribe to UPF information open services indirectly through PCF and SMF. AF needs to find the target PCF / SMF / UPF, which is a cumbersome process.

[0100] Based on this, the embodiment of the present application also provides a communication method, such as Figure 2 As shown, the method includes:

[0101] Step 201: A first network function receives second request information of a fourth network function, where the second request information is used to request subscription to user plane information.

[0102] Step 202: The first network function generates and returns a subscription result to the fourth network function.

[0103] In the embodiment of the present application, since the first network function can generate and return a subscription result to the fourth network function based on the second request information, the fourth network function can directly subscribe to the user plane information open service of the first network function, thereby eliminating the defect of cumbersome process caused by traditional indirect authorization.

[0104] Here, the first network function may be UPF, and the fourth network function includes but is not limited to at least one of the following: AF, NWDAF, and TSNAF.

[0105] Exemplarily, the second request information carries an information identifier indicating the information to be subscribed; and generating the subscription result includes:

[0106] The subscription result is generated based on the information identifier and the historical authorization record stored locally.

[0107] It is understandable that the first network function may generate and return a subscription result to the fourth network function based on the information identifier and the historical authorization record stored locally, wherein the subscription result indicates whether the information to be subscribed is successfully subscribed.

[0108] Exemplarily, the locally stored historical authorization record includes: a white list representing user plane information that is allowed to be authorized and a black list of user plane information that is not allowed to be authorized, and generating the subscription result based on the information identifier and the locally stored historical authorization record includes:

[0109] If it is determined that the information identifier falls into the whitelist, generating and sending a first subscription result indicating that the subscription is successful;

[0110] If it is determined that the information identifier falls into the blacklist, a second subscription result indicating a subscription failure is generated and sent.

[0111] Here, the information identifier may include but is not limited to: one or more of: application identifier, slice identifier, UE address identifier and DNN (Data Network name).

[0112] Exemplarily, the PCF may put the user plane information that has been requested for authorization to be opened into a whitelist, and put the user plane information that is not allowed to be authorized to be opened into a blacklist, and send the whitelist and blacklist to the UPF, which decides whether to open the relevant subscription information to the consumer NF.

[0113] Exemplarily, the method further includes:

[0114] If it is determined that the information identifier does not fall into the whitelist and the blacklist, an authorization request is sent to the fourth network element, and the subscription result is generated based on the authorization result of the fourth network element.

[0115] Here, if the first network function cannot generate a subscription result of whether to authorize the subscription information based on the locally stored whitelist and blacklist, the first network function needs to send an authorization request to the fifth network function, and the fifth network function decides whether to authorize the subscription information. Exemplarily, the fifth network function includes: SMF and PCF, UPF needs to ask SMF and PCF whether the information to be subscribed can be opened, and SMF and PCF make a decision and return the authorization result to UPF. If the authorization is determined to be passed based on the authorization result, UPF sends the first subscription result indicating that the subscription is successful to the fourth network function; if the authorization is determined to be not passed based on the authorization result, UPF sends the second subscription result indicating that the subscription failed to the fourth network function.

[0116] Exemplarily, the method further includes:

[0117] The whitelist and / or the blacklist is updated based on the authorization result.

[0118] Exemplarily, PCF can set up a whitelist, and put the information that has been requested for authorization to be opened, as well as some information of UPF itself, in the whitelist. Among them, the information of UPF itself may include UPF load and QoS parameters (quality of service parameters), and the QoS parameters may include but are not limited to: stream bit rate, packet rate, usage report, etc. PCF can also set up a blacklist, and put the information that UPF is not allowed to open in the blacklist. PCF sends the whitelist and blacklist to UPF, so that UPF can decide whether to open the subscription information based on the whitelist and blacklist. In this way, UPF can be supported to directly authorize the information subscription request (i.e., the aforementioned second request information) sent by the consumer NF, that is, to realize the direct authorization of the user plane information opening service and simplify the authorization process.

[0119] The present application is further described in detail below in conjunction with application examples.

[0120] Application Example 1

[0121] This application embodiment implements the detection and interception functions of the UPF to perform specific data flows, such as Figure 3 As shown in the figure, a security gateway is set up on the UPF to enable the UPF to have the ability of legal interception. The UPF reports that it supports the legal interception capability when registering with the NRF. The AF requests the UPF to intercept when a specific data flow is detected and report the interception notification. The specific process includes:

[0122] Step 300: UPF registers with NRF and carries the lawful intercept capability.

[0123] Here, the UPF registers capability information with the NRF, where the capability information includes a first identifier indicating a lawful interception capability, so that the NRF can record the lawful interception capability of the UPF.

[0124] Step 301: Send an AF request, which carries an interception rule for performing legal interception when a target data flow is detected.

[0125] Here, the AF request sent by the AF carries interception rules, which may include: flow identification, UPF behavior (for example, detection and interception behavior), reporting conditions (for example, target data flow is detected) and reporting content (for example, target data flow is detected and has been intercepted), etc.

[0126] Step 302: NEF authorizes the request and stores the rule content in UDR.

[0127] Here, the NEF authorizes the AF request, and stores and updates the rule content of the aforementioned interception rule in the UDR.

[0128] Step 303: UDR notifies PCF, and PCF verifies and converts the rule content into policy information.

[0129] Here, UDR notifies PCF, PCF verifies the rule content, converts the rule content into policy information and puts it into PCCrule.

[0130] Step 304: The PCF updates the PCC rule.

[0131] Step 305: SMF searches for a suitable UPF through NRF and issues a policy.

[0132] Here, SMF can select a suitable UPF for the PDU session according to NRF, for example, select a UPF that supports legal interception capability, and issue corresponding PDR, FAR, and URR based on PFCP (Packet Forwarding Control Protocol).

[0133] Step 306a: When the UPF detects the target data flow, it intercepts it.

[0134] In step 306b, the UPF notifies the AF that the lawful interception has been implemented.

[0135] Application Example 2

[0136] This application embodiment implements that when the consumer NF directly subscribes to the UPF information open service, the UPF authorizes the opening of the subscription information through the blacklist and whitelist sent by the PCF. It should be noted that the PCF can set up a whitelist and put the information that has been requested to be authorized to open, as well as some information of the UPF itself, in the whitelist. Among them, the information of the UPF itself may include UPF load and QoS parameters (quality of service parameters). The QoS parameters may include but are not limited to: stream bit rate, packet rate, usage report, etc. The PCF can also set up a blacklist and put the information that the UPF is not allowed to open in the blacklist. The PCF sends the whitelist and blacklist to the UPF, so that the UPF can decide whether to open the subscription information based on the whitelist and blacklist. Figure 4 As shown, the method of this application embodiment includes the following steps:

[0137] Step 401: Send an information subscription request.

[0138] Here, the consumer NF may send a request to subscribe to the UPF information exposure service (ie, the aforementioned second request information) to the UPF through the Nupf_EventExposure_Subscribe service operation.

[0139] Exemplarily, the information subscription request may carry an identifier indicating the information to be subscribed, for example, including but not limited to: an application identifier, a slice identifier, a UE address identifier, and one or more of a DNN, so as to realize subscription requirements for user plane information of different granularities.

[0140] Step 402: Authorize the information subscription request based on the blacklist and the whitelist.

[0141] Here, the UPF authorizes the information subscription request based on the identifier indicating the information to be subscribed, the blacklist, and the whitelist.

[0142] Step 403a: If an authorization result can be generated based on the blacklist and the whitelist, the subscription result is sent.

[0143] Here, if the UPF determines that the identifier falls into the whitelist, it generates and sends a first subscription result indicating a successful subscription to the consumer NF; if it determines that the identifier falls into the blacklist, it generates and sends a second subscription result indicating a failed subscription to the consumer NF.

[0144] Step 403b: If no authorization result can be generated based on the blacklist and the whitelist, an authorization request is sent.

[0145] Here, UPF determines that the identifier does not fall into the whitelist and the blacklist, then sends an authorization request to SMF and PCF, and PCF makes an authorization decision. The PCF decision-making mechanism can refer to relevant technologies and will not be elaborated here.

[0146] Step 404, notify the authorization result.

[0147] Receive the authorization result generated by the PCF decision.

[0148] Step 405: Send subscription result.

[0149] Based on the authorization result generated by the PCF decision, the UPF generates and sends the subscription result to the consumer NF.

[0150] In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a communication device applied to the first network function.

[0151] like Figure 5 As shown, the communication device includes: a first receiving module 501, used to receive first request information of a second network function, wherein the first request information is used to request specific data flow detection and / or data flow processing.

[0152] Exemplarily, the first request information includes at least one of the following:

[0153] detection rule information and / or processing rule information;

[0154] Identifier information;

[0155] Testing condition information;

[0156] Action information and / or behavior information;

[0157] Reporting condition information;

[0158] Report content information.

[0159] Exemplarily, the first network function has data flow detection and / or data flow processing capabilities.

[0160] Exemplarily, the communication device further includes: a first sending module 502, configured to send or register or update the data flow detection and / or data flow processing capability to a third network function.

[0161] Exemplarily, the third network function is a network repository function (NRF).

[0162] Exemplarily, the first network function is a user plane function (UPF), and the second network function is an application function (AF).

[0163] Exemplarily, the communication device further includes: a first processing module 503, configured to perform at least one of the following operations according to the first request information:

[0164] identifying the specific data stream;

[0165] identifying the particular data flow over a period of time;

[0166] Identify data flows for specific services based on Uniform Resource Identifiers (URIs);

[0167] Detect the URI of the data stream;

[0168] reporting an event to the second network function when the specific data flow is detected;

[0169] reporting traffic to the second network function when the specific data flow is detected;

[0170] When the specific data stream is detected, packet loss processing is performed.

[0171] In actual application, the first receiving module 501, the first sending module 502 and the first processing module 503 can be implemented by a processor in the communication device. Of course, the processor needs to run the computer program in the memory to implement its function.

[0172] In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a communication device applied to the first network function.

[0173] like Figure 6 As shown, the communication device includes: a second receiving module 601 and a second processing module 602, the second receiving module 601 is used to receive the second request information of the fourth network function, and the second request information is used to request subscription to user plane information; the second processing module 602 is used to generate and return the subscription result to the fourth network function.

[0174] Exemplarily, the second request information carries an information identifier indicating the information to be subscribed; and generating the subscription result includes:

[0175] The subscription result is generated based on the information identifier and the historical authorization record stored locally.

[0176] Exemplarily, the locally stored historical authorization record includes: a white list representing user plane information that is allowed to be authorized and a black list representing user plane information that is not allowed to be authorized, and generating the subscription result based on the information identifier and the locally stored historical authorization record includes:

[0177] If it is determined that the information identifier falls into the whitelist, generating a first subscription result indicating that the subscription is successful;

[0178] If it is determined that the information identifier falls into the blacklist, a second subscription result indicating a subscription failure is generated.

[0179] Exemplarily, the second processing module 602 is further used for:

[0180] If it is determined that the information identifier does not fall into the whitelist and the blacklist, an authorization request is sent to the fifth network function, and a subscription result is generated and sent to the fourth network function based on the authorization result of the fifth network function.

[0181] Exemplarily, the second processing module 602 is further used for:

[0182] The whitelist and / or the blacklist is updated based on the authorization result.

[0183] Exemplarily, the fifth network function includes: a session management function (SMF) and / or a policy control function (PCF).

[0184] Exemplarily, the first network function is a UPF, and the fourth network function includes at least one of the following: an AF, a network data analysis function (NWDAF), and a time-sensitive network application function (TSNAF).

[0185] Exemplarily, the information identifier includes at least one of the following:

[0186] Application identification;

[0187] Slice identification;

[0188] User equipment (UE) address identifier;

[0189] Data Network Name (DNN).

[0190] In actual application, the second receiving module 601 and the second processing module 602 can be implemented by a processor in the communication device. Of course, the processor needs to run the computer program in the memory to realize its function.

[0191] It should be noted that: when the communication device provided in the above embodiment performs communication, only the division of the above program modules is used as an example. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the communication device and the communication method embodiment provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0192] In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a first network function. Figure 7 Only an exemplary structure of the first network function is shown, not the entire structure, and can be implemented as needed. Figure 7 Partial or complete structure shown.

[0193] like Figure 7 As shown, the first network function 700 provided in the embodiment of the present application includes: at least one processor 701, a memory 702, a user interface 703 and at least one network interface 704. The various components in the first network function 700 are coupled together through a bus system 705. It can be understood that the bus system 705 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 705 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in Figure 7 Various buses are labeled as bus system 705.

[0194] The user interface 703 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.

[0195] The memory 702 in the embodiment of the present application is used to store various types of data to support the operation of the first network function. Examples of such data include: any computer program used to operate on the first network function.

[0196] The communication method disclosed in the embodiment of the present application can be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the communication method can be completed by the hardware integrated logic circuit or software instructions in the processor 701. The above-mentioned processor 701 can be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 701 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 702, and the processor 701 reads the information in the memory 702, and completes the steps of the communication method provided in the embodiment of the present application in combination with its hardware.

[0197] In an exemplary embodiment, the first network function 700 can be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.

[0198] It can be understood that the memory 702 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.

[0199] In an exemplary embodiment, the embodiment of the present application further provides a computer storage medium, which may be a computer-readable storage medium, for example, a memory 702 for storing a computer program, and the computer program may be executed by the processor 701 of the first network function to complete the steps described in the method of the embodiment of the present application. The computer-readable storage medium may be a memory such as a ROM, a PROM, an EPROM, an EEPROM, a Flash Memory, a magnetic surface memory, an optical disk, or a CD-ROM.

[0200] In an exemplary embodiment, the embodiment of the present application further provides a computer program product, including a computer program, which can be executed by the processor 701 of the first network function 700 to complete the steps described in the method of the embodiment of the present application.

[0201] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0202] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0203] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A communication method, It is characterized in that The method comprises: The first network function receives first request information of the second network function, where the first request information is used to request specific data flow detection and / or data flow processing.

2. The method according to claim 1, It is characterized in that The first request information includes at least one of the following: detection rule information and / or processing rule information; Identifier information; Testing condition information; Action information and / or behavior information; Reporting condition information; Report content information.

3. The method according to claim 1, It is characterized in that The first network function has data flow detection and / or data flow processing capabilities.

4. The method according to claim 3, It is characterized in that The method further comprises: The first network function sends or registers or updates the data flow detection and / or data flow processing capability to a third network function.

5. The method according to claim 4, It is characterized in that The third network function is the network repository function NRF.

6. The method according to claim 1, It is characterized in that The first network function is a user plane function UPF, and the second network function is an application function AF.

7. The method according to claim 1, It is characterized in that The method further comprises: The first network function performs at least one of the following operations according to the first request information: identifying the specific data stream; identifying the particular data flow over a period of time; Identify the data flow of a specific service based on the uniform resource identifier URI; Detect the URI of the data stream; reporting an event to the second network function when the specific data flow is detected; reporting traffic to the second network function when the specific data flow is detected; When the specific data stream is detected, packet loss processing is performed.

8. A communication method, It is characterized in that The method comprises: The first network function receives second request information of the fourth network function, where the second request information is used to request subscription to user plane information; The first network function generates and returns a subscription result to the fourth network function.

9. The method according to claim 8, It is characterized in that The second request information carries an information identifier indicating the information to be subscribed; Generating the subscription result includes: The subscription result is generated based on the information identifier and the historical authorization record stored locally.

10. The method according to claim 9, It is characterized in that The locally stored historical authorization records include: a white list representing user plane information that is allowed to be authorized and a black list representing user plane information that is not allowed to be authorized, and generating the subscription result based on the information identifier and the locally stored historical authorization records includes: If it is determined that the information identifier falls into the whitelist, generating a first subscription result indicating that the subscription is successful; If it is determined that the information identifier falls into the blacklist, a second subscription result indicating a subscription failure is generated.

11. The method according to claim 10, It is characterized in that The method further comprises: If it is determined that the information identifier does not fall into the whitelist and the blacklist, an authorization request is sent to the fifth network function, and a subscription result is generated and sent to the fourth network function based on the authorization result of the fifth network function.

12. The method according to claim 11, It is characterized in that The method further comprises: The whitelist and / or the blacklist is updated based on the authorization result.

13. The method according to claim 10, It is characterized in that The fifth network function includes: a session management function SMF and / or a policy control function PCF.

14. The method according to claim 8, It is characterized in that The first network function is UPF, and the fourth network function includes at least one of the following: AF, network data analysis function NWDAF and time sensitive network application function TSNAF.

15. The method according to claim 9, It is characterized in that The information identifier includes at least one of the following: Application identification; Slice identification; User equipment UE address identifier; Data network name DNN.

16. A communication device, applied to a first network function, the device include: The first receiving module is used to receive first request information of a second network function, where the first request information is used to request specific data flow detection and / or data flow processing.

17. A communication device, applied to a first network function, the device include: A second receiving module, configured to receive second request information of a fourth network function, where the second request information is used to request subscription to user plane information; The processing module is used to generate and return a subscription result to the fourth network function.

18. A first network function, It is characterized in that include: A processor and a memory for storing a computer program that can be executed on the processor, wherein: The processor is used to execute the steps of the method according to any one of claims 1 to 7 or 8 to 15 when running a computer program.

19. A computer storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 or 8 to 15 are implemented.

20. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 or 8 to 15 are implemented.

Citation Information

Cited By

  • Communication method and apparatus, device, storage medium, and product

    WO2025209251A1

  • Data processing method and apparatus, and network device, network function and medium

    WO2026118694A1