UPF data collection method and device and computer equipment
By establishing a PFCP session between UPF and SMF and receiving preset tags, optimizing event subscription and notification mechanisms, the problem of inefficient UPF data collection is solved, and refined management and real-time data transmission of specific users or PDU sessions are realized. Improve network efficiency and stability.
Patent Information
- Application Number
- CN202411493032.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2024-12-31
AI Technical Summary
Existing UPF data collection methods are inefficient due to large amounts of subscriptions and frequent signaling interactions, increasing network load and affecting stability and performance.
Establish a PFCP session with the session management function SMF, receive preset tags and store them in the PFCP session context, receive network data analysis function NWDAF subscribes to target events, and sends target events through the same message notification, optimizes event subscription and notification mechanisms, and reduces the signal order overhead.
It realizes refined management of specific users or PDU sessions, ensures real-time and accuracy of data, reduces signaling interactions, and improves network utilization and efficiency.
Smart Images

Figure CN119233436A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a UPF data collection method, device and computer equipment. Background Art
[0002] Operators often need to collect user plane measurements for PDU sessions with specific attributes, such as specific user categories, including VIP users or users classified by gold / silver / bronze levels. However, according to the current design of the user plane function UPF event reporting service, the only way to achieve this requirement is to create a separate event reporting subscription for each such PDU session, for example, for each VIP user.
[0003] However, this approach will lead to a large number of subscription records accumulated on the UPF, accompanied by a large amount of signaling overhead during the subscription creation process; in addition, since operators need to collect user data frequently, this will lead to a large number of signaling interactions between the UPF and the user data management or analysis system. Therefore, this data collection method based on a large number of subscriptions and frequent signaling interactions is very inefficient, which not only increases the network load, but also may have an adverse impact on the stability and performance of the network. Summary of the invention
[0004] In view of this, the present invention provides a UPF data collection method, apparatus and computer equipment to solve the problem that the current UPF data collection method is inefficient due to a large number of subscriptions and frequent signaling interactions.
[0005] In a first aspect, the present invention provides a UPF data collection method, which is performed by a user plane function UPF, and the method includes:
[0006] Establish a PFCP session with the session management function SMF;
[0007] receiving a preset tag sent by the session management function SMF, associating the preset tag with a target user or a target PDU session, and storing the preset tag in the context of the PFCP session; the preset tag is used to identify a target user or a target PDU session having preset characteristics;
[0008] The receiving network data analysis function NWDAF subscribes to a target event; the target event includes a PDU session initiated by a target user associated with a preset tag or a target PDU session;
[0009] When a target event is detected, the target event is sent to the network data analysis function NWDAF through the same message notification.
[0010] The UPF data collection method provided by the embodiment of the present invention, first, through marking, the operator can implement more refined management and policy execution for specific users or PDU sessions. UPF can create event public subscriptions for specifically marked PDU sessions, which means that when specific events occur in these PDU sessions, such as session establishment, modification, deletion, etc., UPF can promptly send notifications to related NF service users through the same notification message. This event subscription and notification mechanism ensures the real-time and accuracy of the data, allowing NWDAF to obtain the required data in a timely manner, and also reduces the signaling in the UPF event disclosure process, thereby improving network utilization.
[0011] In an optional implementation, the PFCP session is established based on the subscription data and the policy rules of the target user returned by the unified data management function UDM and the policy control function PCF and received by the session management function SMF.
[0012] The UPF data collection method provided in the embodiment of the present invention obtains subscription data from UDM and policy rules from PCF through SMF to establish a PFCP session, and specifically obtains key information such as the user's service rights, priorities, and access policies, which not only ensures the accuracy and completeness of user information but also enables the network to adapt to changing service requirements and user behaviors, ensuring that the PFCP session can continue to meet user needs.
[0013] In an optional implementation, before establishing the PFCP session with the session management function SMF, the method further includes:
[0014] Obtain a PDU session establishment request or the target PDU session initiated by the target user and received by a session management function SMF; the PDU session establishment request or the target PDU session initiated by the target user both contain the preset tag.
[0015] According to the UPF data collection method provided by the embodiment of the present invention, before the UPF establishes a PFCP session with the SMF, the UPF can already obtain a PDU session establishment request or a target PDU session containing a preset tag. By knowing in advance which PDU sessions carry preset tags, the operator can allocate network resources more effectively and reserve specific bandwidth or quality of service (QoS) levels for these specific sessions.
[0016] In an optional implementation, the subscription data and the policy rules of the target user are determined based on a PDU session establishment request or a target PDU session initiated by the target user and received by the session management function SMF.
[0017] The UPF data collection method provided in the embodiment of the present invention includes the tag information of the user or PDU session in the PDU session establishment request stage, so that the relevant components in the network can identify the special user or session type at the beginning of the session establishment, and obtain the subscription data and policy rules for the target user according to the tag, which provides convenience for the subsequent processing flow. In addition, providing complete tag information at the beginning of the session establishment can also avoid additional signaling interactions caused by the lack of necessary information in the subsequent process, which helps to reduce the network load and delay.
[0018] In an optional implementation manner, receiving the network data analysis function NWDAF subscription target event is that the network data analysis function NWDAF sends an NF discovery request to the NFR based on an information request or a subscription request to discover the target UPF;
[0019] An information request or subscription request is sent by a network data analysis function NWDAF service consumer to the network data analysis function NWDAF.
[0020] In the UPF data collection method provided by the embodiment of the present invention, NWDAF first finds the target UPF through the NF discovery request, thereby improving the accuracy of event subscription and ensuring that only the UPF where the target user or PDU session associated with a specific tag is located will receive the subscription request, so as to avoid sending subscription requests to unnecessary UPFs, thereby reducing redundant signaling in the network.
[0021] In an optional implementation, the UPF is updated by the session management function SMF based on the response of the base station to the wireless resource request.
[0022] The UPF data collection method provided by the embodiment of the present invention is that after establishing a PFCP session, the SMF needs to promptly request the required wireless resources from the base station to ensure that when the user attempts to establish or modify a PDU session, there are sufficient resources available. After the base station allocates resources according to the request of the SMF, the SMF ensures that user data can be transmitted continuously and efficiently in the user plane by establishing a tunnel between the UPF and the base station.
[0023] In an optional implementation, when a target event is detected, the target event is sent to the network data analysis function NWDAF through the same message notification, including:
[0024] If one notification message can accommodate all types of PDU sessions initiated by the target user or target PDU sessions, the target event is reported through one notification message;
[0025] If one notification message cannot accommodate all types of PDU sessions or target PDU sessions initiated by target users, it is ensured that the amount of PDU sessions contained in each notification message is the maximum.
[0026] The UPF data collection method provided by the embodiment of the present invention, if a notification message can accommodate all types of PDU sessions or target PDU sessions initiated by target users, reports are made through a single message, thereby greatly reducing the number of messages, thereby reducing the signaling overhead in the network. If all target events cannot be accommodated, the amount of PDU sessions contained in each message is optimized to ensure that as much data as possible is transmitted within a limited number of times, thereby improving the efficiency of data transmission.
[0027] In an optional implementation, the target event is subscribed to from the target UPF by the network data analysis function NWDAF based on subscription parameters; the subscription parameters are determined by the network data analysis function NWDAF according to the collected UPF data, and the subscription parameters include preset tags, traffic data, and QoS data.
[0028] In the UPF data collection method provided by the embodiment of the present invention, NWDAF can determine subscription parameters based on the collected UPF data, thereby ensuring that only events related to a specific user or PDU session are subscribed. Since NWDAF can subscribe to target events in real time based on subscription parameters, when these events occur, UPF can promptly send notifications to NWDAF through the same notification message.
[0029] In a second aspect, the present invention provides a UPF data collection device, which is arranged in a user plane function UPF, and includes:
[0030] Establishing module, used to establish PFCP session with session management function SMF;
[0031] A receiving module, used for receiving a preset tag sent by the session management function SMF, associating the preset tag with a target user or a target PDU session, and storing the preset tag in the context of the PFCP session; the preset tag is used for identifying a target user or a target PDU session with preset characteristics;
[0032] A subscription module, used for receiving a network data analysis function NWDAF subscription target event; the target event includes a PDU session initiated by a target user associated with a preset tag or a target PDU session;
[0033] The notification module is used to send the target event to the network data analysis function NWDAF through the same message notification when a target event is detected.
[0034] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the UPF data collection method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0035] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the UPF data collection method of the first aspect or any corresponding embodiment thereof.
[0036] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the UPF data collection method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0038] Figure 1 is a flow chart of a UPF data collection method according to an embodiment of the present invention;
[0039] Figure 2 is an interactive schematic diagram of a UPF data collection method according to an embodiment of the present invention;
[0040] Figure 3 is an interactive schematic diagram of another UPF data collection method according to an embodiment of the present invention;
[0041] Figure 4 is a structural block diagram of a UPF data collection device according to an embodiment of the present invention;
[0042] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0044] Operators often need to collect user plane measurement data for PDU sessions or specific user groups such as VIP users or classified according to gold / silver / bronze levels during operations. However, according to the current UPF event disclosure service design, the only way to achieve this requirement is to create an event disclosure subscription for each such PDU session or specific user category.
[0045] However, this approach will first lead to a large number of subscriptions accumulating on the UPF, which not only increases the complexity of the system, but may also affect the performance and scalability of the UPF. Secondly, the process of creating a large number of these subscriptions itself requires frequent signaling interactions, which not only increases the burden on the network, but also may bring challenges to the operator's network management and maintenance.
[0046] Therefore, operators need to seek more efficient data collection methods.
[0047] According to an embodiment of the present invention, an embodiment of a UPF data collection method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0048] In this embodiment, a UPF data collection method is provided. Figure 1 is a flow chart of a UPF data collection method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0049] Step S101, establishing a PFCP session with the session management function SMF.
[0050] Specifically, UPF first sends an initialization PFCP connection request to SMF. After confirming that UPF's request is valid, SMF will send a PFCP connection response to UPF. After UPF receives the connection response from SMF, it will parse the parameters in the response and establish a PFCP session with SMF based on these parameters.
[0051] Furthermore, during the PFCP session establishment process, UPF will store context information related to the session, including session ID, user information, QoS parameters, etc. This information will be used for subsequent data transmission and session management.
[0052] Step S102: receiving a preset tag sent by the session management function SMF, associating the preset tag with a target user or target PDU session, and storing it in the context of the PFCP session.
[0053] Specifically, the preset tag is included in the PFCP session establishment request, and the UPF extracts the preset tag information by parsing the establishment request. The preset tag is used to identify the target user or target PDU session with preset characteristics. The preset tag information can be VIP1, VIP2 or gold / silver / bronze users, etc.
[0054] Furthermore, the UPF associates the tag with the target user or PDU session requesting to establish the PFCP session, that is, a mapping relationship is established to associate the preset tag with a specific user or PDU session ID.
[0055] Furthermore, the UPF stores the preset tags in the context of the PFCP session to ensure that these tags can be easily accessed and used during the session.
[0056] Step S103: receiving a subscription target event of the network data analysis function NWDAF.
[0057] Specifically, NWDAF calls the UPF event public subscription service. When NWDAF needs to subscribe to a specific event, it sends a subscription request to UPF. This request contains specific information about the subscription, such as the event type subscribed, the target user's tag or the PDU session tag, the UE's SUPIs, IP address, application ID, etc.
[0058] Furthermore, the UPF establishes a subscription relationship internally, associating the subscription information of the NWDAF with the tag of the target user or PDU session.
[0059] Step S104: When a target event is detected, the target event is sent to the network data analysis function NWDAF through the same message notification.
[0060] Specifically, the UPF continuously monitors the data streams and session states it processes to detect whether events associated with the target user or PDU session tag have occurred. These events may include the start, end, anomaly, QoS change, etc. of data transmission.
[0061] Furthermore, when UPF detects an event, it builds the data that is publicly subscribed through the same notification message based on the recorded event information.
[0062] In summary, the UPF data collection method provided in the embodiment of the present invention enables operators to associate operator-defined tags with user or PDU sessions, UDM (subscription data), SMF (local policy), and PCF (policy data).
[0063] Specifically, if Figure 2As shown in the figure, when SMF receives a PDU session establishment request containing a user or PDU session tag such as VIP1, VIP2 or gold / silver / bronze user, it will establish a PFCP session with UPF to build a user plane connection. To ensure the correct routing of user data, SMF then passes specific tag information to UPF. If the tag is directly related to the user, SMF will provide this tag to UPF for each PDU session of the user. After receiving these tags, UPF will store them in the context of the PFCP session for identification and matching in subsequent data processing.
[0064] Subsequently, at the network data analysis level, NWDAF may subscribe to specific events from UPF based on business needs. This subscription process begins with NWDAF sending an NF discovery request to the network function repository NRF to obtain relevant information about UPF. After NRF responds, NWDAF uses the UPF information obtained from NRF, combined with parameters such as UE tag, PDU session tag, UE SUPIs, IP address, application ID, etc., to call UPF's event public subscription service to subscribe to the target event, so that NWDAF can obtain all events detected by UPF and associated with preset tags in real time. For example, UPF can monitor all PDU sessions marked as VIP1 or VIP2, or target PDU sessions that match both tag targets A and B.
[0065] When UPF detects these events, it will encapsulate them in the same notification message and send it to the NWDAF that has subscribed to the event. This simplifies the event notification process and improves the efficiency of data transmission. Through this mechanism, NWDAF can fully and comprehensively grasp the key information such as the behavior of target users in the network, data flow, and service quality.
[0066] In some optional implementations, before establishing the PFCP session with the session management function SMF, the method further includes:
[0067] Obtain a PDU session establishment request or the target PDU session initiated by the target user and received by a session management function SMF; the PDU session establishment request or the target PDU session initiated by the target user both contain the preset tag.
[0068] The target user marked by the operator initiates a PDU session establishment request, or the PDU session requested by the user is a target PDU session marked by the operator. In addition to the information carried by the establishment of an ordinary PDU session, the PDU session establishment request in this embodiment also includes the preset tag of the user or PDU session, and tag information, such as VIP1, VIP2 or gold / silver / bronze user.
[0069] In some optional implementations, the PFCP session is established based on the subscription data and the policy rules of the target user returned by the unified data management function UDM and the policy control function PCF and received by the session management function SMF.
[0070] like Figure 2 As shown in the figure, when SMF receives a PDU session establishment request initiated by a user, it will query UDM for relevant subscription data accordingly. After UDM responds, SMF will obtain subscription data containing user service details and permissions. Then, SMF will turn to PCF to request policy rules for this user type. These rules define key parameters such as the quality of service and data traffic restrictions that users can use. After receiving the policy rules returned by PCF, SMF will comprehensively consider these subscription data and policy rules, and then establish a PFCP session with UPF. This not only provides a transmission channel for user data, but also ensures that SMF can pass key tag information to UPF so that UPF can accurately identify and manage users or PDU sessions.
[0071] In some optional implementations, the subscription data and the policy rules of the target user are determined based on a PDU session establishment request or a target PDU session initiated by the target user and received by the session management function SMF.
[0072] When a user initiates a PDU session establishment request with a preset tag, this request not only contains standard session establishment information, but also clearly indicates the specific tag of the user or PDU session, such as VIP1, VIP2, or gold / silver / bronze users. After receiving such a request, SMF will first retrieve the subscription data related to the user or PDU session from UDM based on the tag information in the request. The subscription data contains key information such as the user's identity and service rights. Subsequently, SMF will also query PCF for policy rules applicable to this user type. These rules define the service quality, data traffic and other restrictions that the user can enjoy. Based on these subscription data and policy rules, SMF can establish PDU sessions for users more accurately and ensure that the establishment of sessions meets the operator's set requirements while also meeting the actual needs of users.
[0073] In some optional implementations, receiving the network data analysis function NWDAF subscription target event is that the network data analysis function NWDAF sends an NF discovery request to the NFR based on an information request or a subscription request to discover the target UPF;
[0074] An information request or subscription request is sent by a network data analysis function NWDAF service consumer to the network data analysis function NWDAF.
[0075] like Figure 3As shown in the figure, the NWDAF service user sends an NWDAF analysis information request or an NWDAF analysis subscription request to the NWDAF; when the NWDAF receives these requests, it first determines the type of data to be collected and the target network function NF based on the content of the request. If the request involves data analysis of a specific user equipment (UE) or PDU session, the NWDAF will further determine whether the data comes from an ongoing session or only focuses on the behavior of the service user plane function (UPF) within a specific time period.
[0076] Based on this evaluation, NWDAF decides whether it needs to collect UPF data indirectly through the session management function (SMF) or whether it can obtain the required information directly from UPF. In a specific embodiment of the present invention, in order to improve the efficiency of data collection, when it is not necessary to track the PDU session of a specific UE in real time, NWDAF chooses to collect data directly from UPF. To this end, NWDAF sends an NF discovery request to the network function repository (NRF) to locate and obtain the information of the target UPF.
[0077] Once the NRF responds and provides detailed information about the target UPF, the NWDAF can use this information, combined with parameters such as UE tags, PDU session tags, UE SUPIs, IP addresses or application IDs in the request, to directly call the event public subscription service of the UPF. In this way, the NWDAF can efficiently collect and analyze relevant events detected by the UPF, providing strong support for network optimization, fault diagnosis or user behavior analysis.
[0078] In some optional embodiments, the UPF is updated by the session management function SMF based on the response of the base station to the wireless resource request.
[0079] When the SMF initiates a wireless resource request to the base station, the base station will configure the corresponding wireless resources based on the current network status and the specific content of the request. Once the resource configuration is completed, the base station will send a response to the SMF to confirm the allocation of wireless resources. Subsequently, the SMF will update the information of the user plane function UPF based on this response to ensure that the UPF can correctly establish a data transmission tunnel with the base station to ensure that the newly established PDU session can successfully access the network and enjoy high-quality data transmission services. At the same time, the SMF can flexibly adjust the configuration of the UPF according to the resource allocation of the base station, thereby providing users with a more stable and efficient network connection.
[0080] In some optional implementations, when a target event is detected, the target event is sent to the network data analysis function NWDAF through the same message notification, including:
[0081] If one notification message can accommodate all types of PDU sessions initiated by the target user or target PDU sessions, the target event is reported through one notification message;
[0082] If one notification message cannot accommodate all types of PDU sessions or target PDU sessions initiated by target users, it is ensured that the amount of PDU sessions contained in each notification message is the maximum.
[0083] When UPF receives the tag information from SMF, it can create an event public subscription for all PDU sessions with a specific UE tag or PDU session tag. For example, UPF can monitor all PDU sessions marked with VIP1 or VIP2, or target PDU sessions that match tags A and B at the same time. Once the target events in these PDU sessions are detected, UPF will try to send these events to the NWDAF that has subscribed to the event through the same notification message. If a notification message cannot accommodate the event information of all related PDU sessions, UPF will intelligently split it to ensure that each notification message sent contains as much PDU session event information as possible, thereby improving the efficiency and accuracy of event reporting, reducing the signaling in the UPF event disclosure process, and improving network utilization.
[0084] In some optional embodiments, the target event is subscribed by the network data analysis function NWDAF from the target UPF based on subscription parameters; the subscription parameters are determined by the network data analysis function NWDAF according to the collected UPF data, and the subscription parameters include preset tags, traffic data, and QoS data.
[0085] When a user marked by an operator initiates a PDU session request, it carries a specific tag. SMF processes the request, obtains subscription data and policy rules, establishes a PFCP session with UPF and passes the tag. After the base station responds to the SMF's wireless resource request, SMF updates UPF and establishes a tunnel to the base station. At this time, NWDAF determines the subscription parameters based on the collected UPF data, such as preset tags, traffic data, and QoS data, and sends an NF discovery request to NRF to obtain UPF information. After obtaining the UPF information, NWDAF uses these subscription parameters to call the UPF event public subscription service. UPF monitors and detects events that meet the subscription parameters, and sends all related events to NWDA through the same notification message.
[0086] In this embodiment, a UPF data collection device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0087] This embodiment provides a UPF data collection device, as shown in FIG. UPF data collection, including:
[0088] Establishing module 401, used to establish a PFCP session with the session management function SMF;
[0089] The receiving module 402 is used to receive a preset tag sent by the session management function SMF, associate the preset tag with the target user or target PDU session, and store it in the context of the PFCP session; the preset tag is used to identify the target user or target PDU session with preset characteristics;
[0090] Subscription module 403, used to receive a network data analysis function NWDAF subscription target event; the target event includes a PDU session initiated by a target user associated with a preset tag or a target PDU session;
[0091] The notification module 404 is used to send the target event to the network data analysis function NWDAF through the same message notification when a target event is detected.
[0092] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0093] The UPF data collection device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0094] The embodiment of the present invention also provides a computer device having the above Figure 4 The UPF data collection device shown.
[0095] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.
[0096] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0097] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0098] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0099] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0100] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0101] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0102] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0103] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A UPF data collection method, characterized in that: The method is performed by a user plane function UPF, and the method includes: Establish a PFCP session with the session management function SMF; receiving a preset tag sent by a session management function SMF, associating the preset tag with a target user or a target PDU session, and storing the preset tag in the context of the PFCP session; the preset tag is used to identify the target user or the target PDU session with preset characteristics; Receiving a target event subscribed by a network data analysis function NWDAF; the target event includes a PDU session initiated by the target user or the target PDU session associated with the preset tag; When the target event is detected, the target event is sent to the network data analysis function NWDAF through the same message notification.
2. The method according to claim 1, characterized in that Before establishing the PFCP session with the session management function SMF, the method further includes: Obtain a PDU session establishment request or the target PDU session initiated by the target user and received by a session management function SMF; the PDU session establishment request or the target PDU session initiated by the target user both contain the preset tag.
3. The method according to claim 2, characterized in that The PFCP session is established based on the subscription data and the policy rules of the target user returned by the unified data management function UDM and the policy control function PCF and received by the session management function SMF.
4. The method according to claim 3, characterized in that The subscription data and the policy rules of the target user are determined based on the PDU session establishment request initiated by the target user or the target PDU session received by the session management function SMF.
5. The method according to claim 3, characterized in that: The receiving network data analysis function NWDAF subscription target event is that the network data analysis function NWDAF sends an NF discovery request to the NFR based on an information request or a subscription request to discover the target UPF; The information request or subscription request is sent by the network data analysis function NWDAF service consumer to the network data analysis function NWDAF.
6. The method according to any one of claims 1 to 5, characterized in that: The user plane function UPF is updated by the session management function SMF based on the response of the base station to the radio resource request.
7. The method according to any one of claims 1 to 5, characterized in that: When the target event is detected, the target event is sent to the network data analysis function NWDAF through the same message notification, including: If one notification message can accommodate all types of PDU sessions initiated by the target user or the target PDU sessions, the target event is reported through one notification message; If one notification message cannot accommodate all types of PDU sessions initiated by the target user or the target PDU sessions, it is ensured that the amount of PDU sessions contained in each notification message is the maximum.
8. The method according to claim 5, characterized in that The target event is subscribed by the network data analysis function NWDAF from the target UPF based on subscription parameters; The subscription parameters are determined by the network data analysis function NWDAF according to the collected UPF data, and the subscription parameters include the preset tag, traffic data and QoS data.
9. A UPF data collection device, characterized in that: The device is arranged in a user plane function UPF, and the device comprises: Establishing module, used to establish PFCP session with session management function SMF; A receiving module, configured to receive a preset tag sent by a session management function SMF, associate the preset tag with a target user or a target PDU session, and store the preset tag in the context of the PFCP session; the preset tag is used to identify the target user or the target PDU session with preset characteristics; A subscription module, configured to receive a network data analysis function NWDAF subscription target event; the target event includes a PDU session initiated by the target user or the target PDU session associated with the preset tag; The notification module is used to send the target event to the network data analysis function NWDAF through the same message notification when the target event is detected.
10. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the UPF data collection method according to any one of claims 1 to 8 by executing the computer instructions.
