Subscription record identification, management method, system, network device and storage medium
Through the cooperation between UDM and subscription-initiated NF, redundant subscription records are identified and deleted, which solves the problem of too many redundant subscription records on the UDM side and ensures the normal fluency of data subscriptions.
Patent Information
- Application Number
- CN202010434741.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-21
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-05-21
AI Technical Summary
The existence of redundant subscription records on the UDM side causes the total number of user subscription records to be too large, affecting NF's normal subscription operation for the user data.
The UDM sends a redundant record identification request to the subscription initiating NF, and the NF determines and deletes the redundant subscription records by identifying and clearing the redundant subscription records in the UDR.
It avoids redundant subscription records occupying user subscription record indicators, reduces the possibility that NF cannot initiate data subscription operations due to too many total data subscription records, and ensures the normality and continuity of data subscription services.
Smart Images

Figure CN113709198B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to, but are not limited to, the field of communications, and specifically, to, but are not limited to, a subscription record identification and management method, system, network device, and storage medium. Background Art
[0002] Usually, when initiating a registration message, NFs (Network Function) such as AMF (Access And Mobility Management Function), SMF (Session Management Function), and SMSF will call and initiate data subscription operations to UDM (Unified Data Management), and the UDM side will store the corresponding subscription records. According to the requirements, when NFs such as AMF, SMF, and SMSF initiate a de-registration message, they will also initiate a de-subscription to UDM to notify UDM to delete the corresponding subscription records. However, in some abnormal scenarios, such as when NFs such as AMF, SMF, and SMSF handle abnormalities and fail to initiate a de-subscription process simultaneously with the de-registration process, or when the de-subscription message of NF is lost due to network abnormalities, some invalid subscription records, i.e., redundant subscription records, will be left in UDM. However, there is an upper limit on the total number of subscription records of a user on the UDM side. If the number of subscription records of the user reaches the system threshold on the UDM side, it will affect the subsequent normal subscription operation of NF for the user's data. Summary of the invention
[0003] The subscription record identification and management method, system, network device and storage medium provided in the embodiments of the present invention mainly solve the technical problem that the existence of redundant subscription records on the UDM side leads to an excessive total number of user subscription records, thereby affecting the normal data subscription operation initiated by the NF for the user.
[0004] In order to solve the above technical problems, an embodiment of the present invention provides a subscription record management method, including:
[0005] Send a redundant record identification request to the subscription initiating NF, where the redundant record identification request is used to request the subscription initiating NF to identify whether the target subscription record is a redundant subscription record;
[0006] receiving a redundant record identification result sent by the subscription initiating NF according to the redundant record identification request, where the redundant record identification result can indicate whether the target subscription record is a redundant subscription record;
[0007] Delete the redundant subscription records in the UDR based on the redundant record identification result.
[0008] The embodiment of the present invention also provides a subscription record identification method, comprising:
[0009] Receive a redundant record identification request sent by the unified data management (UDM);
[0010] Determining a target subscription record that needs to be redundantly identified according to a redundant record identification request;
[0011] Determine whether the target subscription record is a redundant subscription record, and obtain a redundant record identification result;
[0012] The redundant record identification results are sent to the UDM.
[0013] An embodiment of the present invention further provides a network device, the network device comprising a processor, a memory and a communication bus;
[0014] The communication bus is used to realize the connection and communication between the processor and the memory;
[0015] The processor is used to execute one or more programs stored in the memory to implement the steps of the above-mentioned subscription record management method; or, the processor is used to execute one or more programs stored in the memory to implement the steps of the above-mentioned subscription record identification method.
[0016] An embodiment of the present invention also provides a subscription record management system, which includes a UDM, a UDR and at least one subscription initiating NF, wherein the UDM is respectively communicated with the UDR and each subscription initiating NF; the UDM is a network device for implementing the above-mentioned subscription record management method, and the subscription initiating NF is a network device for implementing the above-mentioned subscription record identification method.
[0017] An embodiment of the present invention also provides a storage medium, which stores at least one of a subscription record management program and a subscription record identification program. The subscription record management program can be executed by one or more processors to implement the steps of the above-mentioned subscription record management method; the subscription record identification program can be executed by one or more processors to implement the steps of the above-mentioned subscription record identification method.
[0018] The beneficial effects of the present invention are:
[0019] The subscription record identification and management method, system, network device and storage medium provided by the embodiment of the present invention, the UDM sends a redundant record identification request to the subscription initiating NF, and the redundant record identification request is used to request the subscription initiating NF to identify whether the target subscription record is an invalid redundant subscription record. After receiving the redundant record identification request, the subscription initiating NF first determines the target subscription record that needs to be redundantly identified, and then redundantly identifies the target subscription record to determine whether the target subscription record is an invalid redundant subscription record, and sends the redundant record identification result to the UDM. The UDM deletes the redundant subscription records in the UDR according to the redundant record identification result. The embodiment of the present invention provides a redundant subscription record clearing solution. The UDM determines the redundant subscription records stored in the UDR with the cooperation of the subscription initiating NF, and then actively deletes these redundant subscription records, which can avoid redundant subscription records occupying the user subscription record index, reduce the possibility that the NF cannot initiate the data subscription operation because the total number of user data subscription records on the UDM side is too large, and ensure the normal and continuity of the data subscription service.
[0020] Other features and corresponding beneficial effects of the present invention are described in the latter part of the specification, and it should be understood that at least part of the beneficial effects become obvious from the description in the specification of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 An interactive flow chart of the subscription record management solution provided in the first embodiment of the present invention;
[0022] Figure 2 A flow chart of the subscription initiating NF determining the target subscription record shown in the first embodiment of the present invention;
[0023] Figure 3 An interactive flow chart of the subscription record management solution provided in the second embodiment of the present invention;
[0024] Figure 4 An interactive flow chart of the subscription record management solution provided in Embodiment 3 of the present invention;
[0025] Figure 5 A flow chart for preliminary screening of the UDM provided in the fourth embodiment of the present invention;
[0026] Figure 6 A flow chart of the UDM and the subscription initiating NF cooperating to perform redundancy identification in the fourth embodiment of the present invention;
[0027] Figure 7 A schematic diagram of a hardware structure of a network device provided in Embodiment 5 of the present invention;
[0028] Figure 8A schematic diagram of a subscription record management system provided in Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the following is a further detailed description of the embodiments of the present invention through specific implementation methods combined with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0030] Embodiment 1:
[0031] Because the existence of redundant subscription records will occupy the user's subscription record quota on the UDM side, the total number of subscription records may exceed the limit when the user currently has few valid subscription records, and normal data subscription cannot be successfully initiated. To avoid this problem, the following two mechanisms are provided in the relevant technology to solve the problem:
[0032] Mechanism 1:
[0033] Set the validity period in the subscription request: When initiating a subscription request, NFs such as AMF, SMF, and SMSF will set the subscription validity period (expires) synchronously. In this way, when a subscription record expires but is not deleted, UDM can delete it automatically. However, in actual operation, in order to simplify its own implementation, NF may set a permanent / long-term validity period, thus invalidating this mechanism.
[0034] Mechanism 2:
[0035] The implicitUnsubscribe tag is carried in the subscription request. The implicitUnsubscribe tag can indicate that the subscription request will become invalid when the NF deregisters: When the NF initiates the subscription request, it carries the implicitUnsubscribe tag. When the NF deregisters, it does not need to send a special desubscription request to the UDM. When the UDM is sorting out the subscription records, if it finds that the subscription record carries the implicitUnsubscribe tag, and the NF corresponding to the subscription record has been deregistered, the UDM can directly clean up the subscription record. However, in the actual operation process, it cannot be guaranteed that all subscription initiating NFs will carry the implicitUnsubscribe tag in the subscription request. For subscription records that do not carry the implicitUnsubscribe tag, mechanism 2 will also fail.
[0036] Therefore, a new subscription record management solution is urgently needed to identify and clear the redundant subscription records of users on the UDM side, so as to avoid the total number of subscription records of users on the UDM side reaching the system threshold due to the influence of a large number of redundant subscription records, affecting the normal data subscription operation of NF. The redundant subscription record management solution requires the cooperation between UDM and subscription initiating NF to implement - UDM implements the subscription record management method, and subscription initiating NF implements the subscription record identification method. Figure 1 The subscription record management solution provided in this embodiment is introduced:
[0037] S102: UDM sends a redundant record identification request to the subscription initiating NF.
[0038] The so-called "subscription initiating NF" refers to a specific subscription record. If a subscription record is initiated by an NF, then the NF is the subscription initiating NF of the subscription record. The purpose of the subscription initiating NF initiating a subscription request to the UDM is to timely understand the data changes of the target user. After the subscription request is accepted by the UDM, a corresponding subscription record will be generated in the UDR. For example, if a subscription record is initiated by AMF to UDM, then the AMF is the subscription initiating NF of the subscription record. When the data of the target user changes, the UDM will notify the AMF according to the subscription record. It can be understood that in addition to AMF, the subscription initiating NF can also be SMF, SMSF or any other NF that needs to initiate a data subscription request to the UDM.
[0039] The redundant record identification request is used to request the subscription initiating NF to identify whether the target subscription record is a redundant subscription record. The so-called redundant subscription record is actually an invalid subscription record. When a subscription record becomes a redundant subscription record, it means that the subscription initiating NF of the subscription record no longer needs to know the subscription request in the subscription record. When the UDM needs to determine whether the target subscription record is already a redundant subscription record, it can "inquire" the subscription initiating NF of the subscription record, and the subscription initiating NF will determine whether the subscription record is already invalid.
[0040] S104: The subscription initiating NF determines the target subscription record that needs to be redundantly identified according to the redundant record identification request.
[0041] The redundant record identification request is used to request the subscription initiating NF to identify whether the target subscription record is a redundant subscription record. Therefore, after receiving the redundant record identification request, the subscription initiating NF needs to first determine which target subscription records are to be identified.
[0042] In some examples of this embodiment, the UDM may carry record indication information in the redundant record identification request, so that the subscription initiating NF may extract the record indication information from the redundant record identification request, and then determine which subscription records the target subscription records are based on the record indication information. It is understandable that the UDM may indicate to the subscription initiating NF a specific one or several subscription records as the target subscription records. For example, the record indication information carried by the UDM in the redundant record identification request is the subscription identifier (subscription ID) of the specific subscription record. The so-called subscription identifier is information that can uniquely distinguish a subscription record on the UDM side. The subscription identifier of each subscription record on the UDM side is unique. In other cases, the UDM may also use some information to indicate to the subscription initiating NF a general category of subscription records as the target subscription record. For example, in an example of this embodiment, the record indication information carried by the UDM in the redundant record identification request is the user identifier. When the user identifier is used as the record indication information, it indicates that the subscription initiating NF shall use all subscription records of the user corresponding to the user identifier initiated by it as the target subscription record.
[0043] It is understandable that the record indication information includes but is not limited to the above-mentioned subscription identifier and user identifier. For example, in some examples of the present embodiment, the record indication information may also be time indication information. The UDM indicates a period of time by carrying the time indication information in the redundant record identification request. In this case, the subscription initiating NF may use all subscription records initiated by it within the time period as target subscription records. Of course, it is understandable to those skilled in the art that the above-mentioned various record indication information may be used alone or in combination of two or more. For example, in one example, the record indication information provided by the UDM to the subscription initiating NF through the redundant record identification request includes both the user identifier and the time indication information. Then, the subscription initiating NF may use all subscription records initiated by it for the corresponding user within the corresponding time period as target subscription records.
[0044] In an example of this embodiment, the redundant record identification request received by the subscription initiating NF carries one or more subscription identifiers, and the subscription initiating NF Figure 2 The process shown below determines the target subscription record:
[0045] S202: The subscription initiating NF determines the user corresponding to the subscription identifier.
[0046] The subscription initiating NF extracts the record indication information from the redundant record identification request, and determines the corresponding subscription record according to the subscription identifier in the record indication information. After determining the corresponding subscription record, the subscription initiating NF can determine the user to whom the subscription record belongs, and the user is the user corresponding to the subscription identifier.
[0047] S204: The subscription initiating NF takes all subscription records initiated by itself for the user as target subscription records.
[0048] After determining the user corresponding to the subscription identifier, the subscription initiating NF may take all subscription records initiated by itself for the user as target subscription records, that is, all subscription records initiated by itself and belonging to the user as target subscription records.
[0049] In the above example, the subscription initiating NF can determine the target subscription record simply based on the record indication information in the redundant record identification request, or it can determine the target subscription record based on the record indication information combined with some preset rules. Of course, such preset rules should be pre-agreed between the subscription initiating NF and the UDM. In some other examples of this embodiment, the subscription initiating NF can also simply rely on the rules pre-agreed between itself and the UDM to determine the target subscription record. In this case, the UDM does not need to carry the record indication information in the redundant record identification request. For example, in one example of this embodiment, the subscription initiating NF and the UDM pre-agreed that after receiving the redundant record identification request, the subscription initiating NF will perform redundant identification on all subscription records initiated by itself, that is, all subscription records initiated by the NF will be used as target identification records. In another example, the subscription initiating NF and the UDM pre-agreed that after receiving the redundant record identification request, the subscription initiating NF will perform redundant identification on all subscription records initiated by itself 10 days ago as target subscription records.
[0050] S106: The subscription initiating NF determines whether the target subscription record is a redundant subscription record, and obtains a redundant record identification result.
[0051] After the subscription initiating NF determines the target subscription record indication, it can determine the valid subscription records in the target subscription record according to its current data subscription needs. Naturally, the remaining target subscription records except the valid subscription records are redundant subscription records. In some other examples of this embodiment, the subscription initiating NF can also identify the target subscription record in other ways. For example, the subscription initiating NF generates a corresponding request record on the local side when initiating the subscription request. When the subscription initiating NF initiates the corresponding deregistration request, the request record maintained on the local side is marked to mark the invalid request record. In this way, when the subscription initiating NF receives the redundant record identification request from the UDM, it can directly determine the redundant subscription record based on the request record maintained on the local side.
[0052] S108: The subscription initiating NF sends the redundant record identification result to the UDM.
[0053] After identifying the redundant subscription records in the target subscription records, the subscription initiating NF can obtain the redundant record identification result. After obtaining the redundant record identification result, the subscription initiating NF will send the redundant record identification result to the UDM.
[0054] S110: UDM deletes the redundant subscription records in the UDR according to the redundant record identification result.
[0055] After receiving the redundant record identification result, the UDM can determine the redundant subscription records according to the redundant record identification result, and then the UDM can delete these redundant subscription record sub-UDRs.
[0056] It is understandable that the redundant record identification result may include the subscription identifier of the redundant subscription record, which is used to indicate to the UDM which redundant subscription records are, so that the UDM can directly determine which subscription records are to be deleted after receiving the redundant record identification result. Alternatively, in another example of this embodiment, the redundant record identification result may also carry the subscription identifier of the valid subscription record to indicate to the UDM which valid subscription records are in the target subscription record, and the UDM can also determine the redundant subscription record to be deleted based on the subscription identifier of the valid subscription record.
[0057] The above two different redundant record identification results actually correspond to two different ways for the subscription initiating NF to indicate redundant subscription records to the UDM. In the former way, after receiving the redundant record identification result, the UDM can directly determine the object to be deleted without caring about which target subscription records are. However, in the latter way, the UDM is required to determine the target subscription record first, otherwise, the UDM cannot filter out the redundant subscription records by excluding the valid subscription records in the target subscription record. Therefore, the former way is conducive to reducing the operational burden of the UDM.
[0058] The subscription record management solution provided by the embodiment of the present invention cooperates with the subscription initiating NF through the UDM and the subscription initiating NF. The subscription initiating NF can filter out redundant subscription records in the target subscription records, and then the UDM deletes the filtered redundant subscription records, thereby avoiding the backlog of the user's redundant subscription records on the UDM side, affecting the normal data subscription process initiated by the NF for the user, and ensuring the smoothness of the data subscription process.
[0059] Embodiment 2:
[0060] This embodiment will continue to introduce the above subscription record management solution based on the first embodiment. Figure 3 :
[0061] S302: The UDM determines that the number of existing subscription records of a certain user reaches a preset threshold.
[0062] In some examples of this embodiment, UDM may periodically count the total number of existing subscription records of each user in the UDR. For example, UDM may count the total number of subscription records of each user in a 24-hour period. If it is found that a certain user currently has a large number of subscription records in the UDR, and in the near future it may affect the normal operation of each NF initiating data subscription for the user, UDM may determine that the subscription records corresponding to the user need to be redundantly identified in order to delete the invalid subscription records and reserve space for subsequent subscription records that need to be initiated.
[0063] In some other examples of this embodiment, the period for UDM to count the total number of subscription records of each user may not be exactly the same, and even the statistical period for the total number of subscription records of the same user may be different. For example, in one example, after UDM counts the total number of subscription records of each user, it can determine the time for the next statistical count of the total number of subscription records of the user according to the number of subscription records currently owned by each user in the UDR. For example, user a currently has a small number of subscription records in the UDR, so UDM can determine a time far from the current time as the next statistical time for user a. However, user b currently has a large number of subscription records in the UDR, so UDM can determine a time close to the current time as the next statistical time for user b.
[0064] In addition to the above-mentioned statistical methods, in an example of this embodiment, after receiving a subscription request for a user, UDM can count the total number of subscription records of the user currently in the UDR. In this way, the subscription request initiated by the user is the condition that triggers UDM to count the total number of subscription records for the user.
[0065] For the UDM in this embodiment, whether the total number of subscription records of a user in the UDR is too many is measured by a preset threshold: if the total number of subscription records of a user in the UDR reaches the preset threshold, the UDM can determine that the current total number of subscription records of the user is too many; otherwise, it can be determined that the current total number of subscription records of the user is still within the normal range.
[0066] In the related art, the UDM side has set a system threshold for the total number of user subscription records. Once the UDM determines that the total number of user subscription records in the UDR reaches the system threshold, the NF can no longer successfully initiate a subscription request for the user. In this embodiment, when the total number of user subscription records on the UDR side reaches the preset threshold, it only means that the UDM needs to delete the redundant subscription records of the user in the UDR, and does not mean that the NF can no longer successfully initiate a subscription request for the user. Therefore, it can be understood that the preset threshold is smaller than the system threshold on the UDM side, so that the UDM can delete the redundant subscription records of the user in advance before the total number of user subscription records reaches the system threshold, avoiding affecting the normal data subscription process of the NF for the user. Therefore, in this embodiment, the UDM manages the user's subscription records in the UDR through a preset threshold that is smaller than the system threshold, which is a "preventive management mechanism" to solve the problem of the total number of user subscription records exceeding the limit in advance.
[0067] S304: UDM sends a redundant record identification request carrying record indication information to the subscription initiating NF.
[0068] After the UDM determines that the total number of subscription records of a user in the UDR reaches a preset threshold, it can send a redundant record identification request to the subscription initiating NF, instructing the subscription initiating NF to perform redundant identification on the subscription records initiated by it and belonging to the user. It can be understood that the subscription records of a user stored in the UDR are not necessarily initiated by a single NF. For example, in one example, the UDR stores the subscription records initiated by the AMF for user a, and also stores the subscription records initiated by the SMF and SMSF for the user a. Therefore, although for a single subscription record, its subscription initiating NF is unique, all subscription records of a user may correspond to multiple subscription initiating NFs respectively. Therefore, if all subscription records of the user in the UDR are initiated by the same subscription initiating NF, the UDM will only send a redundant record identification request to this subscription initiating NF when performing redundant identification according to the user's request for subscription initiating NF; but if all subscription records of the user in the UDR are initiated by two or more subscription initiating NFs, the UDM will send redundant record identification requests to these subscription initiating NFs respectively when performing redundant identification according to the user's request for subscription initiating NF.
[0069] In this embodiment, since the UDM is currently managing the subscription records of a user (for ease of introduction, the user is referred to as the "target user" here), the redundant record identification request sent by the UDM needs to carry record indication information, so as to indicate to each subscription initiating NF that the target subscription record is the subscription record of the target user. In some examples of this embodiment, no matter which subscription initiating NF is sent to, the redundant record identification request contains the user ID of the target user as the record indication information. After receiving the redundant record identification request, each subscription initiating NF identifies the subscription record initiated by itself and belonging to the target user. In this way, it can be simpler for the UDM to generate redundant record identification requests for each subscription initiating NF respectively.
[0070] In some other examples of this embodiment, the UDM can filter out all subscription records belonging to the target user from the UDR, and then classify all subscription records of the target user according to different subscription initiating NFs, and then determine which subscription records are initiated by each subscription initiating NF for the target user. In this way, when the UDM sends a redundant record identification request to one of the subscription initiating NFs, the subscription identifier of the subscription record initiated by the subscription initiating NF can be carried as record indication information in the redundant record identification request.
[0071] In some other examples of this embodiment, when UDM sends a redundant record identification request for a target user to a subscription initiating NF, it is not necessary to carry the subscription identifiers of all subscription records initiated by the subscription initiating NF for the target user in the redundant record identification request, but only carries the subscription identifiers of one or part of the subscription records. In this way, after receiving the redundant record identification request, although the subscription initiating NF can only determine part of the target subscription records according to the record indication information therein, the subscription initiating NF can also determine other target subscription records in combination with the rules agreed upon in advance with UDM.
[0072] S306: The subscription initiating NF identifies redundancy of subscription records belonging to the user.
[0073] After receiving the redundant record identification request, the subscription initiating NF first determines the target subscription record according to the record indication information in the redundant record identification request. In this embodiment, the target subscription record is all subscription records initiated by the subscription initiating NF for the target user. Subsequently, the subscription initiating NF performs redundant identification on these target subscription records and obtains corresponding redundant record identification results.
[0074] S308: The subscription initiating NF sends the redundant record identification result to the UDM.
[0075] After obtaining the redundant record identification result, the subscription initiating NF sends it to the UDM so that the UDM can clear and manage the identified redundant subscription records.
[0076] S310: UDM deletes the redundant subscription records corresponding to the user in the UDR according to redundant record identification.
[0077] In some examples of this embodiment, the redundant record identification result sent by the subscription initiating NF to the UDM includes the subscription identifier of the redundant subscription record identified by the subscription initiating NF. In these examples, the UDM can directly delete the subscription record according to the subscription identifier in the redundant record identification result. In some other examples of this embodiment, the redundant record identification result sent by the subscription initiating NF to the UDM carries the subscription identifier of the valid subscription record. It can be understood that the subscription record corresponding to the subscription identifier in the redundant record identification result is the current valid subscription record of the target user, but this does not mean that all the remaining subscription records of the target user are redundant subscription records. This is mainly because the target user may have more than one subscription initiating NF corresponding to it. The UDM cannot determine that all other subscription records are redundant subscription records based on the subscription identifier of the valid subscription record fed back by one of the subscription initiating NFs. The UDM needs to identify the valid subscription record corresponding to the target user in combination with the valid subscription identifiers fed back by all subscription initiating NFs, and then the remaining subscription records can be cleared as redundant subscription records.
[0078] The subscription record management solution provided in this embodiment can not only identify and delete the redundant subscription records left by the user in the UDR through the cooperation between the UDM and the subscription initiation NF, but also, before requesting the corresponding subscription initiation NF to identify the corresponding subscription records of a certain user, the UDM needs to determine whether the total number of subscription records currently stored in the UDR of the user has reached a preset threshold. In this way, the UDM only needs to perform redundant identification and removal of the subscription records to be used when the total number of the current subscription records of the user reaches a certain threshold. For those users whose current total number of subscription records has not reached the preset threshold, the management intervention of the redundant subscription records may be temporarily omitted, which can reduce the burden of the UDM in performing subscription record management.
[0079] Embodiment three:
[0080] In order to make the advantages and details of the above subscription record management solution more clear to those skilled in the art, this embodiment continues to explain the subscription record management solution. Figure 4 The flowchart shown:
[0081] S402: UDM detects and screens subscription records in the UDR to obtain suspected redundant subscription records.
[0082] In this embodiment, when the UDM needs to perform redundancy removal on all subscription records in the UDR or the subscription records of a certain user, it will not directly send a redundant record identification request to the corresponding subscription initiating NF, but will first perform a preliminary screening on the subscription records to be identified, thereby obtaining suspected redundant subscription records. As the name implies, the so-called "suspected redundant subscription records" refers to subscription records that are suspected to be redundant subscription records according to the preliminary screening results of the UDM, that is, subscription records that may be redundant subscription records.
[0083] It is understandable that the object for which the UDM performs preliminary screening can be determined according to the user, that is, preliminary screening is performed on all subscription records corresponding to a certain user ID. In some examples of this embodiment, the reason for triggering the UDM to perform preliminary screening may be the arrival of the time for the UDM to perform regular screening on user subscription records; or it may be because the total number of existing subscription records of a certain user in the UDR has reached a preset threshold, so the UDM needs to perform preliminary screening on the subscription records corresponding to the user.
[0084] It is undoubted that UDM will follow certain screening rules when performing preliminary screening of subscription records. In some examples of this embodiment, UDM will identify at least one of the following subscription records as a suspected redundant subscription record according to the screening rules:
[0085] (1) The first subscription record is initiated by the first session management function SMF, but the UDM side does not have the registration information of the first SMF;
[0086] (2) The second subscription record is initiated by the first S-NSSAI under the second SMF, but the UDM side does not have the registration data of any SMF corresponding to the first S-NSSAI;
[0087] (3) A third subscription record, which is initiated by the first DNN under the third SMF, but the UDM side does not have the registration data of any SMF corresponding to the first DNN;
[0088] (4) A fourth subscription record, which is initiated by the second DNN corresponding to the second S-NSSAI under the fourth SMF, but there is no SMF registration data corresponding to the second S-NSSAI or the second DNN on the UDM side;
[0089] (5) The fifth subscription record is initiated by the fifth SMF, but the UDM side does not have the valid AMF registration information of the fifth SMF, and also does not have the valid MME registration information of the fifth SMF;
[0090] (6) The sixth subscription record is initiated by the sixth SMF. Although the UDM side has the registration information of the sixth SMF and the MME registration information of the sixth SMF, it does not have the AMF registration information of the sixth SMF, nor does it have the access point APN corresponding to the session DNN of the sixth SMF;
[0091] (7) The seventh subscription record is initiated by the access mobility management function AMF, but the UDM side does not have the 3GPP registration information or NON-3GPP registration information of the AMF;
[0092] (8) An eighth subscription record, which is initiated by the SMSF, but the UDM side does not have the 3GPP registration information or NON-3GPP registration information of the SMSF;
[0093] (9) A ninth subscription record, wherein the eighth subscription record is a subscription record that has exceeded its validity period.
[0094] It is understandable that the first SMF mentioned above does not specifically refer to a specific SMF. It is only the SMF that initiates the first subscription record, so any SMF can be the first SMF that initiates the first subscription record. The "second SMF", "third SMF"... "sixth SMF" and "first DNN", "second DNN", "first S-NSSA", "second S-NSSA", etc. need to be understood in the same way. On this basis, the first SMF and the second SMF can be the same SMF or different SMFs, the first S-NSSA and the second S-NSSA can be the same S-NSSA or different S-NSSAs, and the same is true for other objects.
[0095] S404: The UDM uses the screened suspected redundant subscription records as target subscription records, and sends a redundant record identification request to the corresponding subscription initiating NF.
[0096] After preliminary screening, UDM will identify suspected redundant subscription records. Whether the suspected redundant subscription records are really redundant subscription records requires further identification by the corresponding subscription initiating NF. Therefore, in this embodiment, UDM can use the screened suspected redundant subscription records as target subscription records and send redundant record identification requests to the subscription initiating NFs corresponding to these target subscription records.
[0097] S406: The subscription initiating NF performs redundant identification on the subscription records belonging to the user.
[0098] After the subscription initiating NF receives the redundant record identification request, it first determines the target subscription record according to the record indication information in the redundant record identification request. In an example of this embodiment, in order to accurately specify the target subscription record to the subscription initiating NF, the UDM may carry the subscription identifier of the suspected redundant subscription record corresponding to the subscription initiating NF in the redundant record identification request, or the UDM carries the subscription identifiers of all the suspected redundant subscription records determined by itself in the redundant record identification request, and the subscription initiating NF determines which subscription records are initiated by itself and are the target subscription records that it needs to perform redundant identification based on the subscription identifier. Subsequently, the subscription initiating NF identifies and processes the target subscription records that need to be redundantly identified by itself, and obtains the corresponding redundant record identification results.
[0099] S408: The subscription initiating NF sends the redundant record identification result to the UDM.
[0100] After obtaining the redundant record identification result, the subscription initiating NF sends it to the UDM so that the UDM can clear and manage the identified redundant subscription records.
[0101] S410: UDM deletes the redundant subscription records corresponding to the user in the UDR according to redundant record identification.
[0102] In some examples, the redundant record identification result sent by the subscription initiating NF contains the subscription identifier of the redundant subscription record identified by the subscription initiating NF, so the UDM can directly delete the subscription record according to the subscription identifier in the redundant record identification result. In some other examples of this embodiment, the redundant record identification result sent by the subscription initiating NF to the UDM carries the subscription identifier of the valid subscription record, so the UDM will first identify the valid subscription record corresponding to the target user in combination with the valid subscription identifiers fed back by all subscription initiating NFs, and then clear the remaining subscription records as redundant subscription records.
[0103] In the subscription record management solution provided in this embodiment, before sending a redundant record identification request to the subscription initiating NF, the UDM first performs a preliminary screening of the subscription records by itself, excludes the subscription records that are obviously still valid, and only inquires the subscription initiating NF whether the possible redundant subscription records are really invalid. This can reduce the objects for which the subscription initiating NF performs redundant identification, thereby reducing the identification burden of the subscription initiating NF.
[0104] Embodiment 4:
[0105] This embodiment will continue to introduce the above solution with reference to the accompanying drawings and examples. Figure 5 A flow chart showing a UDM's initial screening:
[0106] S502: The subscription initiating NF initiates a subscription request;
[0107] In this embodiment, the subscription initiating NF may be at least one of AMF, SMF, SMSF, etc.
[0108] S504: UDM obtains the user's subscription record from UDR;
[0109] It is understandable that the subscription request sent by the subscription initiating NF will indicate to the UDM which user's data change notification it wants to subscribe to. Therefore, when the UDM receives the subscription request, it can determine the user corresponding to the subscription request, and then the UDM sends a message to the UDR to obtain the subscription record of the user stored in the UDR.
[0110] S506: UDM performs business logic verification on the subscription request;
[0111] Business logic verification is UDM verifying whether the subscription request complies with the requirements of the protocol, etc.
[0112] S508: UDM determines that the user's subscription record reaches a preset threshold;
[0113] In some examples of this embodiment, the preset threshold value may also be a ratio value, such as a preset ratio value, which identifies the ratio between the total number of subscription records of the user currently in the UDR and the system threshold value of the UDM. For example, in some examples of this embodiment, the preset ratio value may be configured as 80%.
[0114] S510: UDM screens suspected redundant subscription records according to the preliminary screening rules configured locally;
[0115] The so-called preliminary screening rules are actually rules for UDM to identify which subscription records are suspected redundant subscription records. The preliminary screening rules configured locally by UDM in this embodiment can be found in the introduction of Embodiment 3, which will not be described here.
[0116] When the UDM identifies a suspected redundant subscription record, it can immediately initiate a redundant record identification request to the corresponding subscription initiating NF, that is, the initial screening process of the UDM is continuous with the redundant identification process of the subscription initiating NF. However, in some other examples of this embodiment, the UDM may not immediately initiate a redundant record identification request, but may mark these seemingly redundant subscription records, and then request the subscription initiating NF to perform redundant identification in a subsequent process.
[0117] S512: UDM updates the subscription table record to UDR;
[0118] S514: UDM returns a subscription response message indicating a successful subscription to the subscription initiating NF.
[0119] It is understandable that in Figure 5 The timing of some processes may be changed. For example, in one example of this embodiment, the UDM first performs a business logic check on the subscription request, and obtains the user's subscription record from the UDR only after the check passes.
[0120] See below Figure 6 The flowchart of the redundancy identification process performed by the subscription initiating NF is shown as follows:
[0121] S602: UDM obtains user subscription information from UDR;
[0122] Because UDM was previously based on Figure 5 The flowchart shown has marked the suspected redundant subscription records in the subscription records, so after the UDM obtains the user subscription information from the UDR, it can determine which suspected redundant subscription records currently need to be further identified.
[0123] S604: UDM determines the callbackReference corresponding to the suspected redundant subscription record;
[0124] After determining the suspected redundant subscription record, UDM can obtain the callbackReference corresponding to the suspected redundant subscription record.
[0125] S606: UDM sends a redundant record identification request to the corresponding subscription initiating NF according to callbackReference;
[0126] In some examples of this embodiment, when the UDM sends a redundant record identification request to a subscription initiating NF, the subscription identifier of the suspected redundant subscription record initiated by the subscription initiating NF may be carried in the redundant record identification request as record indication information.
[0127] In some other examples of this embodiment, when the UDM sends a redundant record identification request for a certain user to the subscription initiating NF, it is not necessary to carry the subscription identifiers of all suspected redundant subscription records initiated by the subscription initiating NF for the user, but only carries the subscription identifiers of one or part of the suspected redundant subscription records. After receiving the redundant record identification request, the subscription initiating NF determines some target subscription records according to the record indication information therein, but determines other target subscription records in combination with the rules agreed upon in advance with the UDM.
[0128] S608: The subscription initiating NF performs redundancy identification on the target subscription record and returns the redundant record identification result to the UDM;
[0129] Assuming that the redundant record identification request sent by the UDM to the subscription initiating NF only includes the subscription identifier of a suspected redundant subscription record initiated by the subscription initiating NF for the corresponding user, in this embodiment, the subscription initiating NF can carry information in the redundant record identification result to specifically indicate whether the subscription record indicated in the redundant record identification request is valid. At the same time, the subscription initiating NF can also indicate whether other subscription records initiated by it for the same user are still valid.
[0130] S610: UDM determines redundant subscription records according to the redundant record identification result;
[0131] The redundant record identification result sent by the subscription initiating NF contains the subscription identifier of the redundant subscription record identified by the subscription initiating NF, so the UDM can directly delete the subscription record according to the subscription identifier in the redundant record identification result. In some other examples of this embodiment, the redundant record identification result sent by the subscription initiating NF to the UDM carries the subscription identifier of the valid subscription record, so the UDM will first identify the valid subscription record corresponding to the target user in combination with the valid subscription identifiers fed back by all subscription initiating NFs, and then clear the remaining subscription records as redundant subscription records.
[0132] S612: UDM deletes the corresponding redundant subscription record.
[0133] The subscription record management method provided in this embodiment does not require the NF to carry a reasonable validity period or an implicitUnsubscribe tag in the subscription request when initiating the subscription request. Before determining that the subscription record of a certain user in the UDR is about to reach the system threshold, the UDM can communicate with the NF that initiates the subscription record and request the corresponding NF to perform redundancy identification, thereby determining the redundant subscription records and clearing them in time, thereby clearing the redundant records in abnormal scenarios and ensuring the continuity of the subscription business.
[0134] Embodiment five:
[0135] This embodiment provides a storage medium, which may store one or more computer programs that can be read, compiled and executed by one or more processors. In this embodiment, the storage medium may store a subscription record management program, which may be executed by one or more processors to implement the subscription record management method flow on the UDM side in any subscription record management solution described in any of the aforementioned embodiments. In another example of this embodiment, the storage medium may store a subscription record identification program, which may be executed by one or more processors to implement the subscription record identification method flow on the subscription initiating NF side in any subscription record identification solution described in any of the aforementioned embodiments.
[0136] This embodiment also provides a network device, such as Figure 7 As shown: the network device 7 includes a processor 71, a memory 72, and a communication bus 73 for connecting the processor 71 and the memory 72. In some examples, the network device is a UDM. In this case, the memory 72 of the network device 7 can be the storage medium storing the subscription record management program, and the processor 71 can read the subscription record management program, compile and execute the process of implementing the subscription record management method on the UDM side introduced in any of the above embodiments:
[0137] The processor 71 sends a redundant record identification request to the subscription initiating NF, requesting the subscription initiating NF to identify whether the target subscription record is a redundant subscription record. Subsequently, the processor 71 receives the redundant record identification result sent by the subscription initiating NF according to the redundant record identification request, and deletes the redundant subscription record in the UDR according to the redundant record identification result.
[0138] In some examples of this embodiment, the redundant record identification request includes record indication information, where the record indication information is used to indicate a target subscription record that needs to be subscribed to and identified redundantly by the initiating NF.
[0139] Optionally, the record indication information includes any one of the following two types: a subscription identifier of the subscription record, and a user identifier of a user to which the subscription record belongs; the user identifier is used to instruct the subscription initiating NF to use the subscription record belonging to the user as a target subscription record.
[0140] In some examples of this embodiment, before the processor 71 sends a redundant record identification request to the subscription initiating NF, it will first perform a preliminary screening of the subscription records in the UDR to obtain suspected redundant subscription records. Then, the processor 71 uses the screened suspected redundant subscription records as the target subscription records.
[0141] In some examples of this embodiment, the suspected redundant subscription record includes at least one of the following:
[0142] The first subscription record is initiated by the first SMF, but the registration information of the first SMF does not exist on the UDM side;
[0143] The second subscription record is initiated by the first S-NSSAI under the second SMF, but the UDM side does not have registration data of any SMF corresponding to the first S-NSSAI;
[0144] The third subscription record is initiated by the first DNN under the third SMF, but the UDM side does not have the registration data of any SMF corresponding to the first DNN;
[0145] The fourth subscription record is initiated by the second DNN corresponding to the second S-NSSAI under the fourth SMF, but there is no SMF registration data corresponding to the second S-NSSAI or the second DNN on the UDM side;
[0146] The fifth subscription record is initiated by the fifth SMF, but the UDM side does not have the valid AMF registration information of the fifth SMF, and also does not have the valid MME registration information of the fifth SMF;
[0147] The sixth subscription record is initiated by the sixth SMF. Although the UDM side has the registration information of the sixth SMF and the MME registration information of the sixth SMF, there is no AMF registration information of the sixth SMF, nor the APN corresponding to the session DNN of the sixth SMF;
[0148] The seventh subscription record is initiated by the AMF, but the UDM side does not have the 3GPP registration information or NON-3GPP registration information of the AMF;
[0149] An eighth subscription record, where the eighth subscription record is initiated by the SMSF, but the UDM side does not have the 3GPP registration information or NON-3GPP registration information of the SMSF;
[0150] The ninth subscription record, the eighth subscription record is a subscription record that exceeds its validity period.
[0151] Optionally, before the processor 71 detects the existing subscription records in the UDR, it will first determine whether the number of existing subscription records of a certain user in the UDR reaches a preset threshold. When the processor 71 detects the existing subscription records in the UDR, the existing subscription records of the user in the UDR can be detected.
[0152] In some other examples, the network device is a subscription initiating NF. In this case, the memory 72 of the network device 7 may be the aforementioned storage medium storing the subscription record identification program, and the processor 71 may read the subscription record identification program, compile and execute the process of implementing the subscription record identification method on the subscription initiating NF side described in any one of the aforementioned embodiments:
[0153] Processor 71 receives the redundant record identification request sent by UDM, and then determines the target subscription record that needs to be redundantly identified based on the redundant record identification request. Subsequently, processor 71 determines whether the target subscription record is a redundant subscription record, obtains the redundant record identification result, and sends the redundant record identification result to UDM.
[0154] In some examples of this embodiment, the redundant record identification request includes record indication information, and the record indication information is a subscription identifier of the subscription record. When the processor 71 determines the target subscription record that needs to be redundantly identified according to the redundant record identification request, all subscription records of the user corresponding to the subscription identifier can be used as the target subscription record.
[0155] This embodiment also provides a subscription record management system, see Figure 8 As shown, the subscription record management system 8 includes a UDM 81, a UDR 82 and at least one subscription initiating NF 83, wherein the UDM 81 is respectively connected to the UDR 82 and each subscription initiating NF 83. The UDR 82 is used to store the subscription records initiated by each subscription initiating NF 83, and the UDM 81 is used to store the subscription records initiated by each subscription initiating NF 83. Figure 7 The processor executes the subscription record management program, implements the network device of the subscription record management method, and the subscription initiator NF 83 is Figure 7 The processor executes the subscription record identification program to implement the network device of the subscription record identification method.
[0156] For details of the subscription record management method implemented by UDM 81 and the subscription record identification method implemented by subscription initiating NF 83, please refer to the introduction of Embodiments 1 to 4, which will not be repeated here.
[0157] The subscription record management system, network device and storage medium provided in this embodiment, UDM sends a redundant record identification request to the subscription initiating NF, and the redundant record identification request is used to request the subscription initiating NF to identify whether the target subscription record is an invalid redundant subscription record. After receiving the redundant record identification request, the subscription initiating NF first determines the target subscription record that needs to be redundantly identified, and then redundantly identifies the target subscription record to determine whether the target subscription record is an invalid redundant subscription record, and sends the redundant record identification result to UDM. UDM deletes the redundant subscription records in the UDR according to the redundant record identification result. An embodiment of the present invention provides a redundant subscription record clearing solution. The UDM determines the redundant subscription records stored in the UDR with the cooperation of the subscription initiating NF, and then actively deletes these redundant subscription records, which can avoid redundant subscription records occupying the user subscription record index, reduce the possibility that the NF cannot initiate the data subscription operation because the total number of user data subscription records on the UDM side is too large, and ensure the normal and continuity of the data subscription service.
[0158] Obviously, those skilled in the art should understand that all or some steps, systems, and functional modules / units in the above disclosed methods can be implemented as software (which can be implemented with program code executable by a computing device), firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component can have multiple functions, or a function or step can be performed by several physical components in cooperation. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, executed by a computing device, and in some cases, the steps shown or described can be performed in a different order than herein, and the computer-readable medium can include a computer storage medium (or a non-transitory medium) and a communication medium (or a transient medium). As is well known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storing information (such as computer readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium. Therefore, the present invention is not limited to any particular combination of hardware and software.
[0159] In addition, it is well known to those skilled in the art that communication media generally contain computer readable instructions, data structures, computer program modules or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery media. Therefore, the present invention is not limited to any specific hardware and software combination.
[0160] The above contents are further detailed descriptions of the embodiments of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A subscription record management method, include: Sending a redundant record identification request to a subscription initiating network function NF, wherein the redundant record identification request is used to request the subscription initiating NF to identify whether a target subscription record is a redundant subscription record; receiving a redundant record identification result sent by the subscription initiating NF according to the redundant record identification request, wherein the redundant record identification result can indicate whether the target subscription record is a redundant subscription record; The redundant subscription records in the unified data storage UDR are deleted according to the redundant record identification result.
2. The subscription record management method according to claim 1, It is characterized in that The redundant record identification request includes record indication information, where the record indication information is used to indicate a target subscription record that needs to be redundantly identified by the subscription initiating NF.
3. The subscription record management method according to claim 2, It is characterized in that The record indication information includes any one of the following two types: a subscription identifier of a subscription record and a user identifier of a user to which the subscription record belongs; the user identifier is used to instruct the subscription initiating NF to use the subscription record belonging to the user as a target subscription record.
4. The subscription record management method according to any one of claims 1 to 3, It is characterized in that Before sending the redundant record identification request to the subscription initiating NF, the method further includes: Performing a preliminary screening of the subscription records in the UDR to obtain suspected redundant subscription records; The screened suspected redundant subscription records are used as target subscription records.
5. The subscription record management method according to claim 4, It is characterized in that The suspected redundant subscription record includes at least one of the following: A first subscription record, where the first subscription record is initiated by a first session management function SMF, but the registration information of the first SMF does not exist on the UDM side; The second subscription record is initiated by the first S-NSSAI under the second SMF, but the UDM side does not have registration data of any SMF corresponding to the first S-NSSAI; A third subscription record, where the third subscription record is initiated by the first DNN under the third SMF, but the UDM side does not have registration data of any SMF corresponding to the first DNN; The fourth subscription record is initiated by the second DNN corresponding to the second S-NSSAI under the fourth SMF, but there is no SMF registration data corresponding to the second S-NSSAI or the second DNN on the UDM side; The fifth subscription record is initiated by the fifth SMF, but the UDM side does not have valid AMF registration information of the fifth SMF, and there is no valid MME registration information of the fifth SMF; The sixth subscription record is initiated by the sixth SMF. Although the UDM side has the registration information of the sixth SMF and the MME registration information of the sixth SMF, there is no AMF registration information of the sixth SMF, and there is no access point APN corresponding to the session DNN of the sixth SMF; A seventh subscription record, where the seventh subscription record is initiated by the access mobility management function AMF, but the UDM side does not have 3GPP registration information or NON-3GPP registration information of the AMF; An eighth subscription record, where the eighth subscription record is initiated by the SMSF, but the UDM side does not have 3GPP registration information or NON-3GPP registration information of the SMSF; The ninth subscription record, wherein the eighth subscription record is a subscription record that exceeds its validity period.
6. The subscription record management method according to claim 4, It is characterized in that Before detecting the existing subscription record in the UDR, the following steps are also included: Determining that the number of existing subscription records of a certain user in the UDR reaches a preset threshold; The detection of the existing subscription record in the UDR includes: The existing subscription record of the user in the UDR is detected.
7. A subscription record identification method, include: Receive a redundant record identification request sent by the unified data management (UDM); Determining a target subscription record that needs to be redundantly identified according to the redundant record identification request; Determine whether the target subscription record is a redundant subscription record, and obtain a redundant record identification result; The redundant record identification result is sent to the UDM.
8. The subscription record identification method according to claim 7, It is characterized in that The redundant record identification request includes record indication information, where the record indication information is a subscription identifier of the subscription record; The step of determining the target subscription record that needs to be redundantly identified according to the redundant record identification request includes: All subscription records of the user corresponding to the subscription identifier are used as target subscription records.
9. A network device, comprising a processor, a memory and a communication bus; The communication bus is used to realize the connection and communication between the processor and the memory; The processor is used to execute one or more programs stored in the memory to implement the steps of the subscription record management method as described in any one of claims 1 to 6; or, the processor is used to execute one or more programs stored in the memory to implement the steps of the subscription record identification method as described in claim 7 or 8.
10. A subscription record management system, comprising a UDM, a UDR and at least one subscription initiation NF, in, The UDM is respectively connected to the UDR and each subscription initiating NF for communication; the UDM is a network device for implementing the subscription record management method in claim 9, and the subscription initiating NF is a network device for implementing the subscription record identification method in claim 9.
11. A storage medium, It is characterized in that The storage medium stores at least one of a subscription record management program and a subscription record identification program. The subscription record management program can be executed by one or more processors to implement the steps of the subscription record management method as described in any one of claims 1 to 6; the subscription record identification program can be executed by one or more processors to implement the steps of the subscription record identification method as described in claim 7 or 8.
Citation Information
Patent Citations
Event subscription method and network element equipment
CN110166983A
Subscription processing method, network node and user database
CN110351111A
Method for enabling automation of management and orchestration of network slices
US20180241635A1
