Data subscription notification method and apparatus
By saving the latest contract data attributes and paths synchronized to the session management function (SMF) in Unified Data Management (UDM), and sending accurate subscription notification messages when the attributes are modified, the problem of unreliable subscription notifications in 5G networks is solved, improving the reliability of notifications and the quality of user data services.
Patent Information
- Application Number
- PCT/CN2024/116037
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-19
- Filing Date
- 2024-08-30
- Publication Date
- 2025-06-26
AI Technical Summary
In 5G network, when the session management function (SMF) subscribes to the contracted data management service, the Unified Data Management (UDM) cannot obtain the path information that was last synchronized to SMF, resulting in unreliability of subscription notifications and affecting the use of user data services.
UDM saves the relevant attributes and corresponding paths of the session management contract data that have been recently synchronized to SMF. When the relevant attributes of the SMF subscription are modified, UDM determines the path and value of the modified attribute based on the saved information, and sends a subscription notification message carrying this information to SMF.
By ensuring that the path information carried in the subscription notification message is consistent with the SMF side, the problem of unreliability of the subscription notification message is solved, the reliability of the subscription notification message is improved, and the accuracy and user experience of the data service are ensured.
Smart Images

Figure CN2024116037_26062025_PF_FP_ABST
Abstract
Description
Data subscription notification method and device
[0001] Cross-references to related publications
[0002] This disclosure is based on Chinese Patent Publication No. 2023117599438, filed on December 19, 2023, entitled “Data Subscription Notification Method and Device,” and claims priority to the patent disclosure, all of which are incorporated herein by reference. Technical Field
[0003] The present disclosure relates to the field of communications, and in particular to a data subscription notification method and device. Background Art
[0004] 3GPP introduced 5G networks as the fifth generation of mobile communication networks. With the increasing refinement of usage scenarios, the Nudm_SDM_Subscribe request (a request to subscribe to the contracted data management service) of the Session Management Function (SMF) introduced the Data Network Name (DNN) and singleNssai (single network slice) parameters. Unified Data Management (UDM) can refine subscription notifications based on the parameters carried in the subscription request. For scenarios where the refined SMF subscription request carries DNN or singleNssai, UDM is required to match the DNN or singleNssai carried in the subscription request for accurate subscription notifications. UDM needs to determine the op (change type, such as ADD or REPLACE), path (JSON pointer, the target location in the resource to be changed), and attribute value (the value of the modified attribute).
[0005] To ensure the accuracy of subscription notifications, the path of the currently modified attribute carried by the UDM must be consistent with the path of the attribute's most recent synchronization (via Nudm_SDM_Get) to the SMF. Otherwise, the notification to the SMF side may result in data errors, affecting the use of user data services.
[0006] When SMF obtains sm-data (session management contract data) through Nudm_SDM_Get (a request to obtain user data pointing to SDM), it does not carry slice and DNN information. UDM returns all contracted slice and DNN information to SMF (when the user contracts two groups of slices, one group of slices is 1-ABC321 and the associated DNN is NET, and the other group of slices is 2-ABC320 and the associated DNN is WAP). When SMF subscribes, it carries the specified slice and DNN (the slice is 2-ABC320 and the DNN is WAP). Because the Nudm_SDM_Get request does not contain SMF information, UDM cannot obtain the path information most recently synchronized to SMF. When the contract data associated with the DNN value being WAP changes, UDM can only construct the notification path "path": " / 0 / dnnConfigurations / WAP" based on the subscription request. However, SMF sends the Nudm_SDM_Get message to two groups of DNNs, with the paths " / 0 / dnnConfigurations / NET" and " / 1 / dnnConfigurations / WAP" respectively. Therefore, after receiving the subscription notification, SMF cannot locate the DNN record that needs to be modified through this path, resulting in a data update failure on the SMF side.
[0007] The 3GPP protocol also allows the Nudm_SDM_Get procedure to carry the DNN and singleNssai parameters. However, in actual application scenarios, it is not strictly guaranteed that the SMF Nudm_SDM_Get and subscription strictly carry consistent DNN and singleNssai information. The 3GPP protocol does not provide associated SMF information (nfInstanceId) for the Nudm_SDM_Get procedure. Therefore, the UDM side cannot perceive and obtain the path information most recently synchronized to the SMF, and therefore cannot guarantee the reliability of sm-data subscription notifications.
[0008] Summary of the Invention
[0009] The embodiments of the present disclosure provide a data subscription notification method and apparatus to solve the problem of unreliable subscription notification messages in related technologies.
[0010] According to an embodiment of the present disclosure, a data subscription notification method is provided, comprising: a unified data management (UDM) saving relevant attributes and corresponding paths of session management subscription data that is most recently synchronized to a session management function (SMF);
[0011] In the case that the relevant attributes of the session management contract data subscribed by the SMF are modified, the UDM determines the path and value of the modified relevant attributes based on the saved relevant attributes and corresponding paths of the session management contract data, and sends a subscription notification message of the session management contract data to the SMF, wherein the subscription notification message carries the path and value of the modified relevant attributes.
[0012] According to another embodiment of the present disclosure, a data subscription notification device is provided, including: a saving module, configured to save relevant attributes and corresponding paths of the session management contract data that are most recently synchronized to the session management function SMF; a sending module, configured to, when the relevant attributes of the session management contract data subscribed to by the SMF are modified, determine the path and value of the modified relevant attributes based on the saved relevant attributes and corresponding paths of the session management contract data, and send a subscription notification message of the session management contract data to the SMF; wherein the subscription notification message carries the path and value of the modified relevant attributes.
[0013] According to another embodiment of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when running.
[0014] According to another embodiment of the present disclosure, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] 1 is a hardware structure block diagram of a computer terminal according to a data subscription notification method according to an embodiment of the present disclosure;
[0016] FIG2 is a flow chart of a data subscription notification method according to an embodiment of the present disclosure;
[0017] FIG3 is a structural block diagram of a data subscription notification device according to an embodiment of the present disclosure;
[0018] FIG4 is a structural block diagram of a data subscription notification device according to yet another embodiment of the present disclosure;
[0019] FIG5 is a structural block diagram of a data subscription notification method according to another embodiment of the present disclosure;
[0020] FIG6 is a flowchart of a data subscription notification method according to yet another embodiment of the present disclosure. DETAILED DESCRIPTION
[0021] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings and in conjunction with embodiments.
[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0023] The method embodiments provided in the embodiments of the present disclosure can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a computer terminal as an example, FIG1 is a hardware structure block diagram of a computer terminal of a data subscription notification method of an embodiment of the present disclosure. As shown in FIG1 , the computer terminal may include one or more (only one is shown in FIG1 ) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 configured to store data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input and output device 108 configured to have a communication function. It can be understood by those skilled in the art that the structure shown in FIG1 is only for illustration and does not limit the structure of the above-mentioned computer terminal. For example, the computer terminal may also include more or fewer components than those shown in FIG1 , or have a configuration different from that shown in FIG1 .
[0024] The memory 104 can be configured to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the data subscription notification method in the embodiment of the present disclosure. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implements the above-mentioned method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories may be connected to the computer terminal 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.
[0025] The transmission device 106 is configured to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by a communications provider of a computer terminal. In one embodiment, the transmission device 106 includes a network interface controller (NIC) that can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 106 may be a radio frequency (RF) module that is configured to communicate with the Internet wirelessly.
[0026] FIG2 is a flow chart of a data subscription notification method according to an embodiment of the present disclosure. As shown in FIG2 , the flow includes the following steps:
[0027] Step S202, the unified data management (UDM) saves the latest attributes and corresponding paths of the session management contract data synchronized to the session management function (SMF);
[0028] It should be noted that the relevant attributes of the session management contract data in the embodiment of the present disclosure may include: allowed protocol data unit (PDU) session type, quality of service (QoS) information, static IP address, user plane security policy, billing characteristics associated with the PDU session, etc. The corresponding path refers to the storage location of the data or the access path of the data.
[0029] In step S202 of this embodiment, it also includes: the UDM receives a first request message triggered by the SMF to obtain session management contract data, wherein the first request message carries the SMF identifier; the UDM returns a first response message to the SMF in response to the first request message, wherein the first response message carries the session management contract data; the UDM saves the SMF identifier and the relevant attributes and corresponding path of the session management contract data that is most recently synchronized to the SMF.
[0030] In an exemplary embodiment of the present disclosure, the session management subscription data is sm-data information, the first request message may be a Nudm_SDM_Get request, and the SMF identifier may be the nfInstanceId of the SMF itself.
[0031] In an exemplary embodiment, after the UDM returns a get request response message to the SMF, it also includes: the UDM receives a second request message of the subscription session management contract data change notification triggered by the SMF, wherein the second request message carries: the SMF identifier and the session management contract data to be subscribed; the UDM saves the information carried in the second request message, and returns a second response message to the SMF indicating that the subscription is successful.
[0032] In an exemplary embodiment, the second request message also carries at least one of the following: a data network name DNN and single network slice selection auxiliary information.
[0033] Step S204, when the relevant attributes of the session management contract data subscribed by the SMF are modified, the UDM determines the path and value of the modified relevant attributes based on the saved relevant attributes and corresponding paths of the session management contract data, and sends a subscription notification message of the session management contract data to the SMF, wherein the subscription notification message carries the path and value of the modified relevant attributes.
[0034] Before the UDM in step S204 of this embodiment determines the path of the modified relevant attributes based on the saved relevant attributes and corresponding paths of the session management contract data, it also includes: the UDM receives a third request message for modifying the session management contract data triggered by the business operation support system BOSS; the UDM modifies the relevant attributes of the local session management contract data based on the third request message, and returns a third response message to the BOSS indicating that the session management contract data is successfully modified.
[0035] In step S204 of this embodiment, the UDM determines the path and value of the modified relevant attributes based on the relevant attributes and corresponding paths of the saved session management contract data, including: when the UDM determines that the relevant attributes of the session management contract data subscribed by the SMF have been modified, the UDM determines the path and value of the modified relevant attributes based on the relevant attributes and corresponding paths of the session management contract data latest synchronized to the SMF; wherein, the UDM obtains the relevant attributes and corresponding paths of the session management contract data latest synchronized to the SMF, including: the UDM obtains the relevant attributes and corresponding paths of the session management contract data latest synchronized to the SMF according to the SMF identifier in the subscription message.
[0036] It should be noted that the application environment of the embodiment of the present disclosure is: in a 5G network, the data transmission function between the user equipment (UE) and the data network (DN) is realized by establishing a PDU session. During the PDU session establishment process, the SMF needs to obtain relevant contract information through the Nudm_SDM_Get request. The relevant contract information includes: allowed PDU session types, QoS information, billing attributes related to the PDU, etc. It also supports the modification of PDU sessions. The trigger conditions for the SMF to modify the session include changes in the sm-data contract data in the UDM, changes in the local configuration, etc. The SMF can decide whether to send the update to the Policy Control Function (PCF).
[0037] Through the embodiments of the present disclosure, when the relevant attributes of the session management contract data subscribed to by the SMF are modified, since the UDM saves the relevant attributes and corresponding paths of the session management contract data most recently synchronized to the SMF, the UDM determines the path and value of the modified relevant attributes based on the saved relevant attributes and corresponding paths of the session management contract data, and sends a subscription notification message for the session management contract data carrying the path and value of the modified relevant attributes to the SMF, ensuring that the path information obtained by the UDM for the subscription notification is consistent with that on the SMF side. This can solve the problem of unreliable subscription notification messages in related technologies, thereby achieving the effect of improving the reliability of subscription notification messages.
[0038] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present disclosure.
[0039] This embodiment also provides a data subscription notification device, which is configured to implement the above-mentioned embodiments and preferred implementations. Details already described will not be repeated here. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.
[0040] FIG3 is a structural block diagram of a data subscription notification device according to an embodiment of the present disclosure. As shown in FIG3 , the device includes a storage module 10 and a sending module 20 .
[0041] A saving module 10 is configured to save the relevant attributes and corresponding paths of the session management contract data that is most recently synchronized to the session management function SMF;
[0042] The sending module 20 is configured to determine the path and value of the modified relevant attributes based on the saved relevant attributes and corresponding paths of the session management contract data when the relevant attributes of the session management contract data subscribed by the SMF are modified, and send a subscription notification message of the session management contract data to the SMF, wherein the subscription notification message carries the path and value of the modified relevant attributes.
[0043] FIG4 is a structural block diagram of a data subscription notification device according to another embodiment of the present disclosure. As shown in FIG4 , in addition to all the modules shown in FIG3 , the storage module further includes: a receiving unit 11 , a sending unit 12 , and a storage unit 13 .
[0044] A receiving unit 11 is configured to receive a first request message for obtaining session management subscription data triggered by an SMF, wherein the first request message carries an SMF identifier;
[0045] The sending unit 12 is configured to return a first response message to the SMF in response to the first request message, wherein the first response message carries session management subscription data;
[0046] The saving unit 13 is configured to save the SMF identifier and the relevant attributes and corresponding paths of the session management subscription data that is most recently synchronized to the SMF.
[0047] It should be noted that the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0048] To facilitate understanding of the technical solutions provided by the present disclosure, embodiments of specific scenarios will be described in detail below.
[0049] FIG5 is a structural block diagram of a data subscription notification method according to another embodiment of the present disclosure, which includes:
[0050] PCF, the 5G policy control center, is set up to issue policy rules to SMF and User Plane Function (UPF);
[0051] SMF, configured for session management such as session establishment, modification, and release;
[0052] UDM, in the disclosed embodiment, is mainly responsible for the management of user contract data and data subscription notification;
[0053] Business Operation Support System (BOSS) is responsible for the activation and modification of operator services.
[0054] FIG6 is a flow chart of a data subscription notification method according to another embodiment of the present disclosure, as shown in FIG6 , including the following steps:
[0055] S601, SMF triggers a GET request to UDM through the Nudm_SDM_Get interface;
[0056] Specifically, the triggered GET request carries the resource sm-data and SMF identification information (nfInstanceId) that needs to be subscribed.
[0057] S602, UDM returns a response message carrying sm-data information to SMF;
[0058] Specifically, UDM saves nfInstanceId and the path information corresponding to the sm-data related attributes actually synchronized to SMF, and dynamically updates and maintains them.
[0059] S603, SMF triggers a subscription request to UDM through the Nudm_SDM_Subscribe interface;
[0060] Specifically, the triggered subscription request carries the sm-data resource that needs to be subscribed, as well as nfInstanceId, DNN, and singleNssai information.
[0061] S604, UDM returns a success response message to SMF;
[0062] Specifically, the UDM stores subscription information.
[0063] S605, BOSS triggers a request to UDM to modify the contract data, and modifies the contract data related to sm-data;
[0064] S606, UDM returns a success response message to BOSS;
[0065] Specifically, UDM modifies the local subscription.
[0066] S607, UDM triggers a notification request to SMF;
[0067] Specifically, UDM determines that SMF has subscribed to the sm-data change, obtains the historical synchronization information saved in step 2 based on the nfInstanceId in the locally saved subscription record, determines the historical path and value information of the attribute field modified for the local contract data, and uses this path to construct a notification message to trigger a notification request to SMF.
[0068] S608, SMF returns a success response message to UDM.
[0069] Specifically, SMF updates data and triggers the PDU session modification process.
[0070] In an exemplary embodiment, the specific method of refining the subscription notification is as follows: if the SMF subscription request does not contain singleNssai or dnn, the UDM notifies all DNN configurations and network slices of data changes; if the SMF subscription request contains "singleNssai" but does not contain "dnn", the UDM notifies the data changes of the network slice identified by "singleNssai" and all DNN configurations of the requested network slice identified by "singleNssai"; if the SMF subscription request does not contain "singleNssai" and contains "dnn", the UDM needs to notify all network slices of the DNN of data changes and all DNN configurations identified by "dnn"; if the SMF subscription request contains "singleNssai" and "dnn", the UDM notifies the data changes of the network slice identified by "singleNssai", and the DNN has a DNN configuration identified by "dnn".
[0071] An embodiment of the present disclosure further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when run.
[0072] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0073] An embodiment of the present disclosure further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0074] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0075] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.
[0076] The embodiments of the present disclosure achieve the following technical effects: Through the data subscription notification method of the embodiments of the present disclosure, it can be ensured that when the sm-data related attributes on the UDM side change, the SMF can be accurately notified, thereby triggering the modification of the PDU session, ensuring the accuracy of data services, and improving the user data service experience.
[0077] It will be apparent to those skilled in the art that the modules or steps of the present disclosure described above can be implemented using a general-purpose computing device, centralized on a single computing device, or distributed across a network of multiple computing devices. They can be implemented using program code executable by the computing device, and thus stored in a storage device and executed by the computing device. In some cases, the steps shown or described herein can be performed in a different order than described herein, or can be implemented as separate integrated circuit modules, or multiple modules or steps can be implemented as a single integrated circuit module. Thus, the present disclosure is not limited to any particular combination of hardware and software.
[0078] The foregoing description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Those skilled in the art will readily appreciate that various modifications and variations of the present disclosure are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present disclosure shall be included within the scope of protection of the present disclosure.
Claims
1. A data subscription notification method, comprising: The unified data management (UDM) stores the latest attributes and corresponding paths of the session management contract data synchronized to the session management function (SMF); In the case where the relevant attributes of the session management subscription data subscribed by the SMF are modified, the UDM determines the path and value of the modified relevant attributes based on the saved relevant attributes and corresponding paths of the session management subscription data, and sends a subscription notification message of the session management subscription data to the SMF; The subscription notification message carries the path and value of the modified related attribute.
2. The method according to claim 1, wherein: The UDM stores the latest attributes and corresponding paths of the session management contract data synchronized to the SMF, including: The UDM receives a first request message for acquiring session management subscription data triggered by the SMF, wherein the first request message carries an SMF identifier; The UDM returns a first response message to the SMF in response to the first request message, wherein the first response message carries session management subscription data; The UDM saves the SMF identifier and the relevant attributes and corresponding paths of the session management contract data most recently synchronized to the SMF.
3. The method according to claim 2, wherein: After the UDM returns the acquisition request response message to the SMF, the method further includes: The UDM receives a second request message for subscription to session management subscription data change notification triggered by the SMF, wherein the second request message carries the SMF identifier and the session management subscription data to be subscribed; The UDM saves the information carried in the second request message, and returns a second response message indicating successful subscription to the SMF.
4. The method according to claim 1, wherein: Before the UDM determines the modified path of the relevant attribute based on the relevant attribute and the corresponding path of the saved session management subscription data, the method further includes: The UDM receives a third request message for modifying session management subscription data triggered by the business operation support system BOSS; The UDM modifies relevant attributes of the local session management subscription data based on the third request message, and returns a third response message to the BOSS indicating that the session management subscription data has been successfully modified.
5. The method according to claim 1, wherein: The UDM determines the modified path and value of the relevant attribute based on the relevant attribute and corresponding path of the saved session management subscription data, including: When the UDM determines that the relevant attributes of the session management subscription data subscribed by the SMF have been modified, the UDM determines the path and value of the modified relevant attributes based on the latest relevant attributes and corresponding paths of the session management subscription data synchronized to the SMF; The UDM obtaining the relevant attributes and corresponding paths of the session management contract data that are most recently synchronized to the SMF includes: the UDM obtaining the relevant attributes and corresponding paths of the session management contract data that are most recently synchronized to the SMF according to the SMF identifier in the subscription message.
6. The method according to claim 3, wherein: The second request message also carries at least one of the following: data network name DNN and single network slice selection auxiliary information.
7. A data subscription notification device, comprising: A saving module, configured to save the latest attributes and corresponding paths of the session management contract data synchronized to the session management function SMF; The sending module is configured to determine the path and value of the modified relevant attributes based on the saved relevant attributes and corresponding paths of the session management contract data when the relevant attributes of the session management contract data subscribed by the SMF are modified, and send a subscription notification message of the session management contract data to the SMF; wherein the subscription notification message carries the path and value of the modified relevant attributes.
8. The device according to claim 7, characterized in that The storage module also includes: A receiving unit, configured to receive a first request message for obtaining session management subscription data triggered by an SMF, wherein the first request message carries an SMF identifier; A sending unit, configured to return a first response message to the SMF in response to the first request message, wherein the first response message carries session management subscription data; The storage unit is configured to store the SMF identifier and the relevant attributes and corresponding paths of the session management contract data that are most recently synchronized to the SMF.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 6 when executed by a processor.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Subscription record identification method, subscription record management method and system, network equipment and storage medium
CN113709198A
DNN acquisition method for establishing session, network element, communication system and medium
CN114598737A
Secondary or Splice-Specific Access Control in a Wireless Communication Network
US20230171598A1