Switching registration method between SMFs, switching registration device between SMFs and storage medium
By checksum retaining session registration and cancellation requests between SMFs in the unified data management UDM of 5G network, the error deletion of session information caused by network delay is solved, and the reliability of SMF switching registration is improved.
Patent Information
- Application Number
- CN202310808466.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-12-31
AI Technical Summary
In 5G networks, due to network delay, the registration message of the new SMF may arrive at UDM earlier than the cancel message of the old SMF, resulting in the error deletion of the new SMF session information, resulting in the problem of SMF handover failure.
In the unified data management UDM, when receiving the session registration request and cancellation request of the first SMF and the second SMF, verification is performed to ensure information consistency, retain the first session registration request, avoid mistaken deletion, and realize switching between SMFs register.
Improve the reliability of mobile registration for 5G users in different SMFs, and avoid switching registration failures caused by network delay.
Smart Images

Figure CN119233232A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of 5G core network, and in particular to an inter-SMF handover registration method, an inter-SMF handover registration device and a storage medium. Background Art
[0002] Network delay may cause the registration message of the new SMF (Session Management function) to arrive at UDM (Unified Data Management) earlier than the deregistration message of the old SMF. The pdu (Protocol Data Unit) Session id of the new and old SMFs are the same, causing UDM to delete the session just registered by the new SMF, thus causing SMF switching failure. Solution to this problem.
[0003] In the prior art, when a 5G (The Fifth Generation) user moves and registers between two SMFs, the old SMF will first send a deregistration message to the UDM, and then the new SMF will send a registration message to the UDM. When the network fluctuates and causes delays, the order in which the two messages arrive at the UDM is disrupted, resulting in the following problem: If the pduSessionld of the old and new SMFs is the same, the session information registered by the new SMF will be abnormally deleted by the deregistration message of the old SMF, and the SMF switching will fail. Therefore, how to reduce network latency in the 5GC (5G Core Network) field to improve the reliability of 5G users' mobile registration in different SMFs has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] The embodiments of the present invention provide an inter-SMF handover registration method, an inter-SMF handover registration device and a storage medium, aiming to improve the reliability of mobile registration of 5G users in different SMFs.
[0005] In a first aspect, an embodiment of the present invention provides a SMF inter-handover registration method, including:
[0006] The unified data management UDM receives the first session registration request sent by the first session management function SMF, triggering a switching registration instruction;
[0007] In response to the switching registration instruction, the UDM receives a session deregistration request sent by the first SMF and a second session registration request sent by the second SMF;
[0008] In the case of network delay, the UDM verifies the second session registration request and the session deregistration request;
[0009] If the verification is passed, the first session registration request is retained, and the second SMF is registered in the UDM to implement the switching registration between the second SMF and the first SMF by the UDM.
[0010] In a second aspect, an embodiment of the present invention further provides an inter-SMF switching registration device, which includes a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein when the computer program is executed by the processor, any one of the inter-SMF switching registration methods provided in the specification of the present invention is implemented.
[0011] In a third aspect, an embodiment of the present invention further provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any one of the SMF inter-handover registration methods provided in the specification of the present invention.
[0012] The embodiment of the present invention provides an inter-SMF handover registration method, an inter-SMF handover registration device and a storage medium. The embodiment of the present invention includes: a unified data management (UDM) receives a first session registration request sent by a first session management function (SMF) to trigger a handover registration instruction; in response to the handover registration instruction, the UDM receives a session deregistration request sent by the first SMF and a second session registration request sent by a second SMF; in the presence of network delay, the UDM verifies the second session registration request and the session deregistration request; if the verification passes, the first session registration request is retained, and the second SMF is registered in the UDM to implement the UDM handover registration between the second SMF and the first SMF. In the embodiment of the present invention, the first session registration request is sent by the first SMF, and the UDM verifies the second session registration request and the session deregistration request, and retains the first session registration request if the verification passes, so as to avoid the situation where some information in the first session registration request and the second session registration request is the same, and the second session registration request is mistakenly deleted, thereby causing multiple SMFs to fail to switch registration in the UDM, thereby improving the reliability of 5G users' mobile registration in different SMFs. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0014] Figure 1 A schematic diagram of a flow chart of a SMF handover registration method provided by the first embodiment of the present invention;
[0015] Figure 2 A flow chart of a method for handover registration between SMFs provided in accordance with a second embodiment of the present invention;
[0016] Figure 3 A schematic diagram of a flow chart of a SMF handover registration method provided by the third embodiment of the present invention;
[0017] Figure 4 A schematic diagram of a flow chart of a SMF handover registration method provided in a fourth embodiment of the present invention;
[0018] Figure 5 A structural schematic block diagram of an inter-SMF switching registration device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0021] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0022] The embodiment of the present invention provides an SMF handover registration method, an SMF handover registration device and a storage medium. The SMF handover registration method can be applied to a mobile terminal, which can be an electronic device such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant and a wearable device.
[0023] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0024] The following will be combined Figure 1 The scenario in the embodiment of the present invention provides a detailed introduction to the SMF handover registration method. It should be noted that Figure 1 The scenario is only used to explain the SMF handover registration method provided in the embodiment of the present invention, but does not constitute a limitation on the application scenario of the SMF handover registration method provided in the embodiment of the present invention.
[0025] Please refer to Figure 1 , Figure 1 A flowchart of an inter-SMF handover registration method provided in the first embodiment of the present invention.
[0026] like Figure 1 As shown, the inter-SMF handover registration method includes steps S10 to S40.
[0027] Step S10: The unified data manager UDM receives a first session registration request sent by the first session management function SMF, triggering a switching registration instruction;
[0028] In a specific embodiment, UDM (Unified Data Management) is a network functional unit in the 5G core network responsible for terminal authentication and sharing between AUSF (Authentication Server Function) and UDM.
[0029] The first SMF (Session Management function) is the old SMF of the user that has been registered in the UDM, and the second SMF is the SMF to be registered by the user. The session information between the two is the same, and the difference is that the names of the SMFs are different.
[0030] For example, when the user sends the first session registration request through the first SMF, the following parameters are included, such as SmfInstance Id (SMF name) = A, pdu Session Id (session information name of the protocol data unit) = C, and the triggered switching registration instruction is sent to the UDM.
[0031] Step S20: In response to the switch registration instruction, the UDM receives the session deregistration request sent by the first SMF and the second session registration request sent by the second SMF;
[0032] In a specific embodiment, when the user is preparing to register a second SMF in the UDM, a session deregistration request is sent through the first SMF, and a second session registration request is sent through the second SMF to be registered.
[0033] The user moves to a new SMF, which triggers a logout request from the first SMF to the UDM and a second session registration request from the second SMF to the UDM. The logout request includes the parameters Smf Instance Id = A, pdu Session Id = C, while the parameters included in the second session registration request may be Smf Instance Id = B, pdu Session Id = C. After receiving the second session registration request, the UDM updates the session information in the second session registration request. It can be understood that the session information is the same in the first session registration request and the second session registration request, the difference is that the SMF names are different, that is, the above-mentioned SmfInstance Ids are A and B respectively.
[0034] Step S30: In the case of network delay, the UDM verifies the second session registration request and the session deregistration request;
[0035] In the specific embodiment, it has been explained in step S20 that the user moves to the new SMF, which triggers the logout request of the first SMF and the second session registration request of the second SMF in turn. However, in the prior art, there is no logout request sent by the first SMF to the UDM, that is, in the case of network delay, after the second session registration request reaches the UDM, the UDM detects that the session information in the first session registration request is the same as that in the second session registration request and directly deletes the second session registration request, resulting in a switch registration failure.
[0036] This embodiment adds a new step of sending a deregistration request through the first SMF, and this request contains the same parameters as those in the session registration request, namely, Smf Instance Id and pdu Session Id. When the UDM receives the second session registration request, it verifies these parameters in the second session registration request and the deregistration request to determine whether the same user is registered through different SMFs.
[0037] Step S40: If the verification is passed, retain the first session registration request, and register the second SMF in the UDM to implement the switching registration between the second SMF and the first SMF by the UDM.
[0038] In a specific embodiment, the second session registration request and the deregistration request are verified according to the UDM in step S30, that is, whether the session information is the same. If the session information is the same, it is first determined that the first SMF requesting deregistration and the second SMF to be registered are both the actions of the same user. Then, based on the verification result of the deregistration SMF name and the second SMF name, it is determined whether to execute the deregistration and switch registration instructions.
[0039] If the name of the deregistered SMF is different from the name of the second SMF, and the corresponding session information of the two is the same, UDM can determine that the two requests are from the same user, so it first retains the first session registration request, and registers the second SMF in UDM to complete the switching registration of the first SMF and the second SMF in UDM.
[0040] The embodiment of the present invention provides an inter-SMF handover registration method, an inter-SMF handover registration device and a storage medium. The embodiment of the present invention includes: a unified data management (UDM) receives a first session registration request sent by a first session management function (SMF) to trigger a handover registration instruction; in response to the handover registration instruction, the UDM receives a session deregistration request sent by the first SMF and a second session registration request sent by a second SMF; in the presence of network delay, the UDM verifies the second session registration request and the session deregistration request; if the verification passes, the first session registration request is retained, and the second SMF is registered in the UDM to implement the UDM handover registration between the second SMF and the first SMF. In the embodiment of the present invention, the first session registration request is sent by the first SMF, and the UDM verifies the second session registration request and the session deregistration request, and retains the first session registration request if the verification passes, so as to avoid the situation where some information in the first session registration request and the second session registration request is the same, and the second session registration request is mistakenly deleted, thereby causing multiple SMFs to fail to switch registration in the UDM, thereby improving the reliability of 5G users' mobile registration in different SMFs.
[0041] based on Figure 1 In the embodiment shown, in this embodiment, step S10 includes:
[0042] The UDM receives the first SMF name and the session information and saves the first SMF name and the session information.
[0043] In a specific embodiment, the user initiates session registration to the UDM via the first SMF, carrying the mandatory parameters SmfInstance Id=A, pdu Session Id=C during registration, and the UDM saves the session information of the first SMF, including Smf InstanceId, pdu Session Id, etc.
[0044] based on Figure 1 In the embodiment shown, in this embodiment, step S10 further includes:
[0045] The UDM sends a first SMF registration creation identifier to the first SMF.
[0046] In a specific embodiment, the UDM returns the first SMF registration creation identifier to the first SMF as a return signal.
[0047] Please refer to Figure 2 , Figure 2 A flowchart of an inter-SMF handover registration method provided for the second embodiment of the present invention.
[0048] based on Figure 1 The embodiment shown, this embodiment Figure 2 As shown, step S20 includes step S201 to step S202.
[0049] Step S201, the UDM receives the second SMF name and the session information sent by the second SMF;
[0050] It is easy to understand that the second SMF name sent by the second SMF can be represented by Smf Instance Id = B as described in the above embodiment. Since the second SMF, like the first SMF, belongs to the instruction of the same user, the session information is the same, that is, the session information included in the second session registration request can also be represented by pdu Session Id = C.
[0051] Step S202: When the UDM receives the second SMF name and the session information, the UDM updates the session information and sends a second SMF registration creation identifier to the second SMF.
[0052] In a specific embodiment, when UDM receives a second session registration request, it updates the SMF name corresponding to the session information, that is, according to pdu Session Id=C, it determines the corresponding SMF name. At this time, the SMF name corresponding to pdu Session Id=C includes the first SMF name and the second SMF name, that is, Smf Instance Id=A and Smf Instance Id=B.
[0053] An embodiment of the present invention provides an inter-SMF switching registration method, an inter-SMF switching registration device and a storage medium. The embodiment of the present invention includes: a unified data management (UDM) receives a first session registration request sent by a first session management function (SMF), triggering a switching registration instruction; the UDM receives the second SMF name and the session information sent by the second SMF; when the UDM receives the second SMF name and the session information, the UDM updates the session information and sends a second SMF registration creation identifier to the second SMF; in the presence of network delay, the UDM verifies the second session registration request and the session deregistration request; when the verification passes, the first session registration request is retained, and the second SMF is registered in the UDM, so as to implement the switching registration between the second SMF and the first SMF by the UDM. In the embodiment of the present invention, a first session registration request is sent through a first SMF, and the UDM verifies the second session registration request and the session deregistration request, and retains the first session registration request if the verification passes, thereby avoiding the situation where some information in the first session registration request is the same as that in the second session registration request, and the second session registration request is deleted by mistake, thereby causing multiple SMFs to fail to switch registration in the UDM, thereby improving the reliability of 5G users' mobile registration in different SMFs.
[0054] based on Figure 2 In the illustrated embodiment, the session deregistration request in this embodiment includes a deregistration SMF name and deregistration session information.
[0055] Specifically, when the same user registers in the UDM through different SMFs, the logout session information is the same as the content of the session information.
[0056] Please refer to Figure 3 , Figure 3 A flowchart of an inter-SMF handover registration method provided for the third embodiment of the present invention.
[0057] based on Figure 1 The embodiment shown, this embodiment Figure 3 As shown, step S30 includes steps S301 to S303.
[0058] Step S301, the UDM obtains the logout SMF name and the logout session information;
[0059] Step S302: The UDM verifies the deregistered SMF name and the second SMF name;
[0060] Step S303: When the deregistered SMF name and the second SMF name are different, the UDM determines that the verification is successful.
[0061] In one embodiment, in combination Figure 1 and Figure 2 In the provided embodiment, the deregistered SMF name is the first SMF name, which can be represented by Smf Instance Id=A, and the deregistered session information is the session information in the first session registration request, which can also be represented by pdu Session Id=C.
[0062] When the UDM receives the deregistration request, it verifies the parameters contained in the deregistration request with the parameters in the second session registration request. As described in this embodiment, if the session information is the same as the deregistration session information, and the deregistration SMF name is different from the second SMF name, it is determined that the second SMF can be registered in the UDM, and the switching registration of different SMFs of the user in the UDM is completed.
[0063] Please refer to Figure 4 , Figure 4 A flowchart of an inter-SMF handover registration method provided for the fourth embodiment of the present invention.
[0064] based on Figure 1 The embodiment shown, this embodiment Figure 4 As shown, step S30 includes steps S21 to S22.
[0065] Step S21, the UDM uses the time when the session deregistration request is received as the first time, and the time when the second session registration request is received as the second time;
[0066] Step S22: The UDM calculates a difference between the first moment and the second moment, and when the difference is not less than a threshold, determines the difference as a network delay.
[0067] In a specific embodiment, delay refers to the time required for a message or packet to be transmitted from one end of a network to another. It includes sending delay, propagation delay, processing delay, and queuing delay. (Delay = sending delay + propagation delay + processing delay + queuing delay) Generally, sending delay and propagation delay are the main considerations. For the case where the message length is large, the sending delay is the main contradiction; for the case where the message length is small, the propagation delay is the main contradiction. In combination with the above embodiment, there is a sequence between the deregistration request sent by the first SMF and the second session registration request sent by the second SMF. Therefore, in an ideal case, the UDM should receive the deregistration request first and then the second session registration request. However, due to the existence of network delay, the UDM may receive the second session registration request first, and before receiving the deregistration request, because the session information is consistent, the UDM deletes the second session registration request, resulting in the inability to complete the registration of the second SMF in the UDM, that is, the user cannot complete the switching registration between multiple SMFs in the UDM.
[0068] This embodiment determines whether there is a network delay based on the time when the UDM receives the logout request and the second session registration request. The time when the logout request is received is taken as the first time, and the time when the second session registration request is received is taken as the second time. The difference between the first time and the second time should ideally be less than 0, that is, the first time is earlier and the second time is later. Therefore, the threshold in this embodiment can be set by the user.
[0069] An embodiment of the present invention provides an inter-SMF switching registration method, an inter-SMF switching registration device and a storage medium. The embodiment of the present invention includes: a unified data management (UDM) receives a first session registration request sent by a first session management function (SMF) to trigger a switching registration instruction; in response to the switching registration instruction, the UDM receives a session deregistration request sent by the first SMF and a second session registration request sent by a second SMF; in the presence of a network delay, the UDM verifies the second session registration request and the session deregistration request; the UDM uses the moment of receiving the session deregistration request as the first moment and the moment of receiving the second session registration request as the second moment; the UDM calculates the difference between the first moment and the second moment, and determines the difference as the network delay if the difference is not less than a threshold; if the verification passes, the first session registration request is retained, and the second SMF is registered in the UDM to implement the switching registration between the second SMF and the first SMF by the UDM. In the embodiment of the present invention, a first session registration request is sent through a first SMF, and the UDM verifies the second session registration request and the session deregistration request, and retains the first session registration request if the verification passes, thereby avoiding the situation where some information in the first session registration request is the same as that in the second session registration request, and the second session registration request is deleted by mistake, thereby causing multiple SMFs to fail to switch registration in the UDM, thereby improving the reliability of 5G users' mobile registration in different SMFs.
[0070] Based on all the above embodiments, in this embodiment, after step S40, the following steps are further included:
[0071] The UDM sends a switching registration success flag to the first SMF.
[0072] See also Figure 5 , Figure 5 A schematic block diagram of the structure of an inter-SMF switching registration device provided in an embodiment of the present invention.
[0073] like Figure 5 As shown, the inter-SMF handover registration device 300 includes a processor 301 and a memory 302, and the processor 301 and the memory 302 are connected via a bus 303, such as an I2C (Inter-integrated Circuit) bus.
[0074] Specifically, the processor 301 is used to provide computing and control capabilities to support the operation of the entire SMF inter-handover registration device. The processor 301 can be a central processing unit (CPU), and the processor 301 can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0075] Specifically, the memory 302 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.
[0076] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a partial structure related to the embodiment of the present invention, and does not constitute a limitation on the SMF switching registration device to which the embodiment of the present invention is applied. The specific SMF switching registration device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0077] The processor 301 is used to run a computer program stored in the memory 302, and implement any one of the SMF handover registration methods provided by the embodiments of the present invention when executing the computer program.
[0078] In one embodiment, the processor 301 is used to run a computer program stored in a memory, and implement the following steps when executing the computer program:
[0079] The unified data management UDM receives the first session registration request sent by the first session management function SMF, triggering a switching registration instruction;
[0080] In response to the switching registration instruction, the UDM receives a session deregistration request sent by the first SMF and a second session registration request sent by the second SMF;
[0081] In the case of network delay, the UDM verifies the second session registration request and the session deregistration request;
[0082] If the verification is passed, the first session registration request is retained, and the second SMF is registered in the UDM to implement the switching registration between the second SMF and the first SMF by the UDM.
[0083] In one embodiment, the unified data management UDM receives a first session registration request sent by the first session management function SMF, and triggers a switching registration instruction to implement:
[0084] The UDM receives the first SMF name and the session information and saves the first SMF name and the session information.
[0085] In one embodiment, after receiving the first SMF name and the session information and saving the first SMF name and the session information, the UDM is used to implement:
[0086] The UDM sends a first SMF registration creation identifier to the first SMF.
[0087] In one embodiment, in response to the switching registration instruction, the UDM receives a session deregistration request sent by the first SMF and a second session registration request sent by the second SMF, to implement:
[0088] The UDM receives the second SMF name and the session information sent by the second SMF;
[0089] When the UDM receives the second SMF name and the session information, the UDM updates the session information and sends a second SMF registration creation identifier to the second SMF.
[0090] In one embodiment, in the presence of network delay, the UDM verifies the second session registration request and the session deregistration request to achieve:
[0091] The UDM obtains the logout SMF name and the logout session information;
[0092] The UDM verifies the deregistration SMF name and the second SMF name;
[0093] In the case where the deregistered SMF name and the second SMF name are not the same, the UDM determines that the verification is passed.
[0094] In one embodiment, in the presence of network delay, before the UDM verifies the second session registration request and the session deregistration request, it is used to implement:
[0095] The UDM uses the time when the session deregistration request is received as the first time, and the time when the second session registration request is received as the second time;
[0096] The UDM calculates a difference between the first moment and the second moment, and if the difference is not less than a threshold, determines the difference as a network delay.
[0097] In one embodiment, if the verification is passed, the first session registration request is retained, and the second SMF is registered in the UDM to implement the switching registration between the second SMF and the first SMF by the UDM, and then used to implement:
[0098] The UDM sends a switching registration success flag to the first SMF.
[0099] It should be noted that technical personnel in the relevant field can clearly understand that for the convenience and conciseness of description, the specific working process of the SMF switching registration device described above can refer to the corresponding process in the aforementioned SMF switching registration method embodiment, and will not be repeated here.
[0100] An embodiment of the present invention also provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any SMF switching registration method provided in the description of the embodiment of the present invention.
[0101] The storage medium may be an internal storage unit of the SMF inter-switching registration device described in the aforementioned embodiment, such as a hard disk or memory of the SMF inter-switching registration device. The storage medium may also be an external storage device of the SMF inter-switching registration device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the SMF inter-switching registration device.
[0102] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware embodiment, 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 may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may 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 may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, 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 transport mechanism, and may include any information delivery media.
[0103] It should be understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.
[0104] The serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for handover registration between SMFs, characterized in that: include: The unified data management UDM receives the first session registration request sent by the first session management function SMF, triggering a switching registration instruction; In response to the switching registration instruction, the UDM receives a session deregistration request sent by the first SMF and a second session registration request sent by the second SMF; In the case of network delay, the UDM verifies the second session registration request and the session deregistration request; If the verification is passed, the first session registration request is retained, and the second SMF is registered in the UDM to implement the switching registration between the second SMF and the first SMF by the UDM.
2. The SMF handover registration method according to claim 1, characterized in that: The first session registration request includes the first SMF name and session information, the unified data management UDM receives the first session registration request sent by the first session management function SMF, and triggering the switching registration instruction includes: The UDM receives the first SMF name and the session information and saves the first SMF name and the session information.
3. The SMF handover registration method according to claim 2, characterized in that: After the UDM receives the first SMF name and the session information and saves the first SMF name and the session information, the method includes: The UDM sends a first SMF registration creation identifier to the first SMF.
4. The SMF handover registration method according to claim 2, characterized in that: The second session registration request includes the second SMF name and the session information, and the UDM receives, in response to the switching registration instruction, the session deregistration request sent by the first SMF and the second session registration request sent by the second SMF, including: The UDM receives the second SMF name and the session information sent by the second SMF; When the UDM receives the second SMF name and the session information, the UDM updates the session information and sends a second SMF registration creation identifier to the second SMF.
5. The SMF handover registration method according to claim 4, characterized in that: The session deregistration request includes a deregistration SMF name and deregistration session information.
6. The SMF handover registration method according to claim 5, characterized in that: In the case where there is a network delay, the UDM verifies the second session registration request and the session deregistration request, including: The UDM obtains the logout SMF name and the logout session information; The UDM verifies the deregistration SMF name and the second SMF name; In the case where the deregistered SMF name and the second SMF name are not the same, the UDM determines that the verification is passed.
7. The SMF handover registration method according to claim 1, characterized in that: In the case where there is a network delay, before the UDM verifies the second session registration request and the session deregistration request, the method includes: The UDM uses the time when the session deregistration request is received as the first time, and the time when the second session registration request is received as the second time; The UDM calculates a difference between the first moment and the second moment, and if the difference is not less than a threshold, determines the difference as a network delay.
8. The SMF handover registration method according to any one of claims 1 to 7, characterized in that: In the case where the verification is passed, the first session registration request is retained, and the second SMF is registered in the UDM to implement the switching registration between the second SMF and the first SMF by the UDM, including: The UDM sends a switching registration success flag to the first SMF.
9. A SMF inter-handover registration device, characterized in that: The inter-SMF switching registration device includes a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for realizing connection communication between the processor and the memory, wherein when the computer program is executed by the processor, the steps of the inter-SMF switching registration method as described in any one of claims 1 to 8 are implemented.
10. A storage medium for computer-readable storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the method for switching registration between SMFs as described in any one of claims 1 to 8.