Session management message association method and related equipment based on 5G control plane network elements
By using session management to initialize bidirectional service messages in 5G networks to generate SMF network element address association information and then cross-merging and combining it, the problem of decision condition failure caused by control plane network element address switching is solved, and efficient packet self-association is achieved.
Patent Information
- Application Number
- CN202511362377.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-23
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2045-09-23
AI Technical Summary
In 5G networks, when control plane network element addresses are switched, existing technologies cannot achieve self-association of session management messages without increasing additional access and processing overhead, causing the decision conditions to fail.
The SMF network element address is associated by initializing bidirectional service messages through session management, generating the first association information, and then combining it in a cross-merging manner to obtain the second association information. The SMF server address is stored as a key-value index for message association during the session management update process.
It achieves packet self-association during control plane network element address switching, improving self-association efficiency and accuracy, and avoiding increased access and processing complexity.
Smart Images

Figure CN121038010B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a method and related equipment for association of session management messages based on 5G control plane network elements. Background Technology
[0002] 5G (Fifth Generation Mobile Communication Technology) adopts a Service Based Architecture (SBA), and control plane network elements can use a dual-stack IPv4 / IPv6 approach. When performing message self-association processing on the session management interface, the control plane network element address may switch, causing the session association message self-association to fail.
[0003] In existing technologies, the session management process typically relies on the control plane network element address obtained during the session management creation phase as one of the fundamental conditions for the self-association decision of session management messages. This approach cannot resolve the issue of decision condition failure caused by control plane network element IP switching during a session management process. Furthermore, the core network typically obtains peer network element IP address groups through local settings or accessing the 5G Network Repository Function (NRF) of the N27 interface. Local settings are not reflected in the core network communication process, while obtaining them through the N27 interface adds additional access and processing overhead. Therefore, how to achieve message self-association during control plane network element address switching without increasing additional access and processing overhead has become an urgent problem to be solved. Summary of the Invention
[0004] This invention provides a session management message association method and related equipment based on 5G control plane network elements, which solves the shortcomings of the prior art in how to achieve message self-association during control plane network element address switching without increasing additional access and processing overhead.
[0005] This invention provides a session management message association method based on 5G control plane network elements, comprising: Based on the session management initialization bidirectional service message, SMF network element address association is performed to obtain the first association information; Based on the first association information, the obtained SMF network element addresses are combined to obtain the second association information; wherein, the second association information includes multiple groups of SMF network element address groups; Based on the second association information, the session management messages in the session management update process are associated.
[0006] According to the present invention, a session management message association method based on 5G control plane network elements is provided, wherein the first association information is obtained by associating SMF network element addresses according to the session management initialization bidirectional service message, including: The SMF server address is initialized based on the session creation message when the SMF network element acts as a service provider. Based on the N1N2 transmission messages when the SMF network element acts as the service initiator, the SMF client address is associated. The first association information is formed based on the SMF server address and the SMF client address.
[0007] According to the present invention, a session management message association method based on 5G control plane network elements is provided, wherein the method involves combining the already acquired SMF network element addresses based on the first association information to obtain second association information, including: The first association information corresponding to the same SMF network element that has been obtained is combined by cross-merging to form the second association information; wherein, the second association information includes multiple groups of SMF network element address groups composed of SMF server address and SMF client address.
[0008] According to a session management message association method based on 5G control plane network elements provided by the present invention, after combining the first association information corresponding to the same SMF network element that has been acquired through cross-merging to form the second association information, the method further includes: The second association information is stored using the SMF server address as a key-value index and the SMF client address as structured data.
[0009] According to the present invention, a method for associating session management messages based on 5G control plane network elements, wherein associating session management messages during the session management update process based on the second association information includes: Based on the session update message received when the SMF network element acts as a service provider, the first target address of the session update message is obtained, and session association is performed based on the first target address; If session association fails, obtain the first target association information corresponding to the first target address; wherein, the first target association information is obtained based on the second association information; Session association is performed based on the SMF network element addresses other than the first target address in the first target association information.
[0010] According to the present invention, a session management message association method based on a 5G control plane network element is provided. Before obtaining the first target address of the session update message received based on the session update message received when the SMF network element acts as a service provider, the method further includes: Based on the session creation message received by the SMF network element when acting as a service provider, the second target address of the session creation message is obtained, and the second target association information corresponding to the second target address is obtained; wherein, the second target association information is obtained based on the second association information; Session creation and management are performed based on the second target association information.
[0011] The present invention also provides a session management message association device based on 5G control plane network elements, comprising: The first association module is configured to perform SMF network element address association based on the session management initialization bidirectional service message to obtain the first association information; The combination module is configured to combine the already acquired SMF network element addresses based on the first association information to obtain the second association information; wherein the second association information includes multiple groups of SMF network element address groups; The second association module is configured to associate session management messages during the session management update process based on the second association information.
[0012] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the session management message association method based on 5G control plane network elements as described above.
[0013] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the session management message association method based on 5G control plane network elements as described above.
[0014] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the session management message association method based on 5G control plane network elements as described above.
[0015] The present invention provides a method and related equipment for association of session management messages based on 5G control plane network elements. This method associates SMF network element addresses according to the session management initialization bidirectional service message to obtain first association information. It then combines the obtained SMF network element addresses to obtain second association information containing SMF network element address groups. Based on the second association information, it performs message self-association on messages during the session management update process. The second association information contains multiple SMF network element address groups. Even during the session management process and control plane network element address switching, message self-association can be achieved, avoiding increased access and processing complexity while improving self-association efficiency and accuracy. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0017] Figure 1 This is a flowchart illustrating the session management message association method based on 5G control plane network elements provided by the present invention.
[0018] Figure 2 This is a schematic diagram of the structure of the session management message association device based on 5G control plane network elements provided by the present invention.
[0019] Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0021] In 5G networks, the dual-stack configuration of IPv4 and IPv6 for control plane network elements has been widely used. Session management messages are mainly communication messages between AMF (Access and Mobility Management Function) network elements and SMF (Session Management function) network elements.
[0022] During the message creation and update processes in session management, the AMF network element, acting as the service initiator, uses an IPv4 or IPv6 address for client purposes, while the SMF network element, acting as the service provider, uses an IPv4 or IPv6 address for server purposes. During the N1N2 message transmission process in session management, the AMF network element, acting as the service provider, uses an IPv4 or IPv6 address for server purposes, while the SMF network element, acting as the service initiator, uses an IPv4 or IPv6 address for client purposes.
[0023] A complete session management process includes the session management message creation process, the message update process, the N1N2 message transmission process, and the message release process. A single session management cycle refers to the set of all message processes from the creation message process (which completes the creation of session resources based on a specific identity), the update message process, and the release message process (which completes the reclamation of session resources).
[0024] Each message process may use different IP addresses, but they must belong to the same control plane network element address group.
[0025] Control network elements can obtain the IP address of peer network elements through local configuration or protocol interfaces. Protocol interface acquisition primarily involves discovering control network element instances via the N27 interface's NRF (Network Repository Function) to obtain IP address information. For example, the process by which an AMF network element discovers an SMF network element instance via NRF is as follows: AMF network elements initiate a query service to the associated NRF by sending an Nnrf_NFDiscovery_Request. The Nnrf_NFDiscovery_Request includes at least the following information elements: S-NSSAI (Single Network Slice Selection Assistance Information), SUPI (Subscription Permanent Identifier), PLMN ID (Public Land Mobile Network Identifier), and DNN (Data Network Name). The associated NRF provides the endpoint address of the SMF network element instance or SMF network element service instance to the AMF network element through the Nnrf_NFDiscovery_Rsponese response message.
[0026] In this embodiment of the invention, without relying on N27 or other interfaces for access and parsing, the synthesis and application of associated information are mainly achieved through the correlation relationships of various sub-processes in a complete session management process, thereby achieving the integrity and accuracy of self-association of session management messages. The following is in conjunction with... Figures 1-3 This invention describes the session management message association method and related equipment based on 5G control plane network elements.
[0027] Figure 1 This is a flowchart illustrating a session management message association method based on 5G control plane network elements, according to an exemplary embodiment. Figure 1 As shown in an exemplary embodiment, the session management message association method based on 5G control plane network elements includes steps 110 to 130, which are described in detail below.
[0028] Step 110: Perform SMF network element address association based on the session management initialization bidirectional service message to obtain the first association information.
[0029] In this embodiment of the invention, the session management initialization bidirectional service message includes a session creation message when the SMF network element acts as the service provider and an N1N2 transport message when the SMF network element acts as the service initiator. The parsable information elements in both the session creation message and the N1N2 transport message share an IMSI as a common index identifier.
[0030] When an SMF network element acts as a service provider, it obtains the AMF Client IP address and SMF Server IP address by managing the flow node in the session creation message, and at the same time parses the information element to obtain the IMSI index identifier and initializes the session management structure.
[0031] In this embodiment, when SMF acts as the service initiator, the N1N2 transmission message obtains the AMFServer IP address and SMF Client IP address by stream node management, i.e., the SMF server address and the SMF client address. At the same time, it parses the information cells to obtain the IMSI index identifier and associates it with the session management structure.
[0032] Specifically, the N1N2 transmission message identifies the session structure created by the associated session creation message through the IMSI index. When the association is successful, a time threshold check is performed, and the SMF server address and SMF client address obtained from the session creation message and N1N2 transmission message within the same session management period are associated. The associated SMF server address and the SMF client address form the first association information.
[0033] Multiple sets of first association information can exist from the same SMF network element. Different sets of first association information can be generated through different session management cycles, which can be manifested as follows: SMF Server IPv4 address / -SMF Client IPv4 address pair; SMF Server IPv4 address / -SMF Client IPv6 address pair; SMF Server IPv6 address / -SMF Client IPv4 address pair; SMF Server IPv6 address / -SMF Client IPv6 address pair.
[0034] It should be noted that, due to the extremely short interaction process of 5G session management initialization, the threshold verification time for generating the first association information is generally within 1 second, which prevents erroneous associations from occurring during a single session management initialization process.
[0035] In the initialization phase of the session management process, this embodiment of the invention performs multi-concurrency management based on the IMSI index identifier, and the first association information is managed using the SMF server address as the index of the HASH chain.
[0036] Step 120: Based on the first association information, combine the already obtained SMF network element addresses to obtain the second association information; wherein, the second association information includes multiple groups of SMF network element address groups.
[0037] In this embodiment of the invention, the first association information corresponding to the same SMF network element obtained during the initialization phase is combined using a cross-merging method to form second association information containing multiple SMF server addresses and SMF client addresses. Each SMF network element address group includes multiple SMF client addresses corresponding to the SMF server address of the same SMF network element. Step 130: Based on the second association information, the session management messages in the session management update process are associated.
[0038] In this embodiment of the invention, SMF network element addresses are associated according to the session management initialization bidirectional service message to obtain first association information. The obtained SMF network element addresses are combined to obtain second association information containing SMF network element address groups. Based on the second association information, packets in the session management update process are self-associated. The second association information contains multiple groups of SMF network element addresses. Even during the session management process and control plane network element address switching, packet self-association can be achieved, avoiding increased access and processing complexity while improving self-association efficiency and accuracy.
[0039] In this embodiment of the invention, session management messages during the session management update process are associated based on the generated second association information. In an exemplary embodiment of the invention, the step of associating SMF network element addresses based on the session management initialization bidirectional service message to obtain the first association information includes: The SMF server address is initialized based on the session creation message when the SMF network element acts as a service provider. Based on the N1N2 transmission messages when the SMF network element acts as the service initiator, the SMF client address is associated. The first association information is formed based on the SMF server address and the SMF client address.
[0040] In this embodiment of the invention, the SMF server address is initialized based on the session creation message when the SMF network element acts as a service provider. Then, based on the N1N2 transmission messages when the SMF network element acts as a service initiator, the SMF server address and the SMF client address are associated. The association method uses user identity verification within a time threshold. The associated SMF server address and SMF client address then form first association information. Multiple sets of first association information can be formed by the same SMF network element.
[0041] In an exemplary embodiment of the present invention, the step of combining the already acquired SMF network element addresses based on the first association information to obtain the second association information includes: The first association information corresponding to the same SMF network element that has been obtained is combined by cross-merging to form the second association information; wherein, the second association information includes multiple groups of SMF network element address groups composed of SMF server address and SMF client address.
[0042] In this embodiment of the invention, multiple sets of first association information corresponding to the same SMF network element that have been acquired are combined using a cross-merging method to form second association information containing multiple SMF server addresses and SMF client addresses.
[0043] Specifically, the SMF Client IPv4 / IPv6 address combination is associated using the SMF Server IP as an index in the first association information; the SMF Server IPv4 / IPv6 is reversed using the SMF Client IP as an index in the first association information; and finally, the two are cross-merged into the second association information, which includes both the SMF Server IPv4 / IPv6 and the SMF Client IPv4 / IPv6.
[0044] In an exemplary embodiment of the present invention, after combining the first association information corresponding to the same SMF network element that has been acquired through cross-merging to form the second association information, the method further includes: The second association information is stored using the SMF server address as a key-value index and the SMF client address as structured data.
[0045] In this embodiment of the invention, the second association information is stored using the SMF server address as a key-value index, while other SMF client addresses are stored as structured data. When there are multiple SMF server addresses, multiple index entries are needed, such as indexing the second association information separately by SMF Server IPv4 and IPv6 addresses.
[0046] In an exemplary embodiment of the present invention, the step of associating session management messages during the session management update process based on the second association information includes: Based on the session update message received when the SMF network element acts as a service provider, the first target address of the session update message is obtained, and session association is performed based on the first target address; If session association fails, obtain the first target association information corresponding to the first target address; wherein, the first target association information is obtained based on the second association information; Session association is performed based on the SMF network element addresses other than the first target address in the first target association information.
[0047] In this embodiment of the invention, when an SMF network element receives a session update message as a service provider, it first obtains the SMF server address corresponding to the session update message, i.e., the first target address. Using this SMF server address, it coordinates with other key elements of session management to perform session association lookup. If the lookup is successful, the session association is successful; otherwise, the session association fails.
[0048] When the first session association fails when using the session update message provided by the SMF network element as the service provider, the obtained first target address is used as the key index to obtain the second association information corresponding to the first target address. The first target association information is obtained, and other key elements of session management in the first target association information are used to perform session creation management lookup. If the lookup is successful, the association is completed.
[0049] It should be noted that the session creation message at this time belongs to a new session management cycle after the second associated information is generated. It may have the same IMSI index identifier as the session management process of the generated second associated information, or it may have a different IMSI index identifier than the session management process of the generated second associated information.
[0050] In this step, within the same session management cycle, the session update message with SMF as the service provider first obtains the SMF Server IPv4 address or SMF Server IPv6 address. Using this SMF server address, it coordinates with other key elements of session management to perform the first session association lookup. If the lookup is successful, the association is completed. If the first association fails, the second SMF Server IP mapped by the second association information is used to coordinate with other key elements of session management to perform a session creation management lookup. If the lookup is successful, the association is completed.
[0051] In an exemplary embodiment of the present invention, before obtaining the first target address of the session update message received based on the session update message received when the SMF network element acts as a service provider, the method further includes: Based on the session creation message received by the SMF network element when acting as a service provider, the second target address of the session creation message is obtained, and the second target association information corresponding to the second target address is obtained; wherein, the second target association information is obtained based on the second association information; Session creation and management are performed based on the second target association information.
[0052] In this embodiment of the invention, based on the session creation message received when the SMF network element acts as a service provider, the SMF server address of the session creation message, i.e. the second target address, is obtained. Using this second target address as a key-value index, the second association information corresponding to the second target address is obtained, thus obtaining the second target association information.
[0053] The second target-related information is used in conjunction with other key elements of session management for session creation and management. These other key elements include, but are not limited to, IMSI (International Mobile Subscriber Identity), DNN, PDU Session ID (Packet Data Unit Session Identifier), smContextRef (SM Context Reference), AMF IP (Access and Mobility Management Function Internet Protocol Address), PORT, and other information.
[0054] In this embodiment of the invention, during the initialization phase, the SMF server address is obtained based on the session creation message when the SMF network element acts as the service provider. In addition, if the second association information already exists, the corresponding second association information is obtained using this SMF server address as a key-value index, and the second association information is used together with other key elements of session management for session creation management.
[0055] The following describes the session management message association device based on 5G control plane network elements provided by the present invention. The session management message association device based on 5G control plane network elements described below can be referred to in correspondence with the session management message association method based on 5G control plane network elements described above. It should be noted that the device provided in the following embodiments belongs to the same concept as the method provided in the above embodiments, and the specific way in which each module and unit performs operations has been described in detail in the method embodiments, and will not be repeated here.
[0056] In one exemplary embodiment of the present invention, please refer to Figure 2 , Figure 2 This is an exemplary embodiment of a session management message association device based on a 5G control plane network element, comprising the following modules.
[0057] The first association module 210 is configured to perform SMF network element address association based on the session management initialization bidirectional service message to obtain the first association information; The combination module 220 is configured to combine the already acquired SMF network element addresses based on the first association information to obtain the second association information; wherein, the second association information includes multiple groups of SMF network element address groups; The second association module 230 is configured to associate session management messages during the session management update process based on the second association information.
[0058] In an exemplary embodiment of the present invention, the first association module 210 includes: The initialization submodule is configured to initialize the SMF server address based on the session creation message when the SMF network element acts as a service provider. The association submodule is configured to associate SMF client addresses based on the N1N2 transmission messages when the SMF network element acts as the service initiator. A submodule is formed and configured to generate the first association information based on the SMF server address and the SMF client address.
[0059] In an exemplary embodiment of the present invention, the combination module 220 includes: The combination submodule is configured to combine the first association information corresponding to the same SMF network element that has been acquired through cross-merging to form the second association information; wherein, the second association information includes multiple groups of SMF network element address groups composed of SMF server address and SMF client address.
[0060] In an exemplary embodiment of the present invention, the session management message association device based on a 5G control plane network element further includes: The storage module is configured to use the SMF server address as a key-value index and the SMF client address as structured data to store the second association information.
[0061] In an exemplary embodiment of the present invention, the second association module 230 includes: The first session association submodule is configured to obtain the first target address of the session update message received when the SMF network element acts as a service provider, and perform session association based on the first target address; The acquisition submodule is configured to acquire the first target association information corresponding to the first target address if the session association fails; wherein the first target association information is obtained based on the second association information; The second session association submodule is configured to perform session association based on other SMF network element addresses besides the first target address in the first target association information.
[0062] In an exemplary embodiment of the present invention, the session management message association device based on a 5G control plane network element further includes: The acquisition module is configured to acquire the second target address of the session creation message received when the SMF network element acts as a service provider, and acquire the second target association information corresponding to the second target address; wherein the second target association information is obtained based on the second association information. The session creation management module is configured to manage session creation based on the second target association information.
[0063] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3As shown, the electronic device may include a processor 310, a communications interface 320, a memory 330, and a communication bus 340. The processor 310, communications interface 320, and memory 330 communicate with each other via the communication bus 340. The processor 310 can call logical instructions in the memory 330 to execute a session management message association method based on 5G control plane network elements. This method includes: associating SMF network element addresses based on session management initialization bidirectional service messages to obtain first association information. Based on the first association information, the obtained SMF network element addresses are combined to obtain the second association information; wherein, the second association information includes multiple groups of SMF network element address groups; Based on the second association information, the session management messages in the session management update process are associated.
[0064] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0065] On the other hand, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being able to be stored on a non-transitory computer-readable storage medium, the computer program being executed by a processor, the computer being able to execute the session management message association method based on 5G control plane network elements provided by the above methods, the method including: associating SMF network element addresses according to session management initialization bidirectional service messages to obtain first association information; Based on the first association information, the obtained SMF network element addresses are combined to obtain the second association information; wherein, the second association information includes multiple groups of SMF network element address groups; Based on the second association information, the session management messages in the session management update process are associated.
[0066] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it implements the session management message association method based on 5G control plane network elements provided by the above methods. The method includes: associating SMF network element addresses according to session management initialization bidirectional service messages to obtain first association information. Based on the first association information, the obtained SMF network element addresses are combined to obtain the second association information; wherein, the second association information includes multiple groups of SMF network element address groups; Based on the second association information, the session management messages in the session management update process are associated.
[0067] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0068] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0069] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for associating session management messages based on a 5G control plane network element, characterized in that, include: SMF network element addresses are associated based on the session management initialization bidirectional service message to obtain the first association information. The session management initialization bidirectional service message includes a session creation message when the SMF network element acts as a service provider and an N1N2 transmission message when the SMF network element acts as a service initiator. The parsable information elements in both the session creation message and the N1N2 transmission message have an IMSI as a common index identifier. The N1N2 transmission message is associated with the session structure created by the session creation message through the IMSI index identifier. Upon successful association, a time threshold check is performed. The SMF server address and SMF client address obtained from the session creation message and the N1N2 transmission message within the same session management period are associated, and the associated SMF server address and SMF client address form the first association information. Based on the first association information, the obtained SMF network element addresses are combined to obtain the second association information; wherein, the second association information includes multiple groups of SMF network element addresses; wherein, the first association information formed by the same SMF network element includes multiple groups of first association information generated through different session management cycles; the SMF Client IPv4 / IPv6 address combination associated with the SMF Server IP of the first association information as an index, and the reverse combination of SMF Server IPv4 / IPv6 with the SMF Client IP of the first association information as an index, are cross-merged into the second association information containing SMF Server IPv4 / IPv6 and SMF Client IPv4 / IPv6; Based on the second association information, the session management messages in the session management update process are associated. 2.The method for associating session management messages based on a 5G control plane network element according to claim 1, characterized in that, The step of associating SMF network element addresses based on the session management initialization bidirectional service message to obtain first association information includes: The SMF server address is initialized based on the session creation message when the SMF network element acts as a service provider. Based on the N1N2 transmission messages when the SMF network element acts as the service initiator, the SMF client address is associated. The first association information is formed based on the SMF server address and the SMF client address.
3. The session management message association method based on 5G control plane network elements according to claim 1, characterized in that, The second association information is obtained by combining the acquired SMF network element addresses based on the first association information, including: The first association information corresponding to the same SMF network element that has been obtained is combined by cross-merging to form the second association information; wherein, the second association information includes multiple groups of SMF network element address groups composed of SMF server address and SMF client address.
4. The session management message association method based on 5G control plane network elements according to claim 3, characterized in that, After combining the first association information corresponding to the same SMF network element that has already been acquired through cross-merging to form the second association information, the method further includes: The second association information is stored using the SMF server address as a key-value index and the SMF client address as structured data.
5. The session management message association method based on 5G control plane network elements according to any one of claims 1 to 4, characterized in that, The step of associating session management messages during the session management update process based on the second association information includes: Based on the session update message received when the SMF network element acts as a service provider, the first target address of the session update message is obtained, and session association is performed based on the first target address; If session association fails, obtain the first target association information corresponding to the first target address; wherein, the first target association information is obtained based on the second association information; Session association is performed based on the SMF network element addresses other than the first target address in the first target association information.
6. The session management message association method based on 5G control plane network elements according to claim 5, characterized in that, Before obtaining the first destination address of the session update message received when the SMF network element acts as a service provider, the method further includes: Based on the session creation message received by the SMF network element when acting as a service provider, the second target address of the session creation message is obtained, and the second target association information corresponding to the second target address is obtained; wherein, the second target association information is obtained based on the second association information; Session creation and management are performed based on the second target association information.
7. A session management message association device based on 5G control plane network elements, characterized in that, include: The first association module is configured to associate SMF network element addresses based on the session management initialization bidirectional service message to obtain first association information. The session management initialization bidirectional service message includes a session creation message when the SMF network element acts as a service provider and an N1N2 transmission message when the SMF network element acts as a service initiator. The parsable information elements in both the session creation message and the N1N2 transmission message have an IMSI as a common index identifier. The N1N2 transmission message associates with the session structure created by the session creation message through the IMSI index identifier. Upon successful association, a time threshold check is performed. The SMF server address and SMF client address obtained from the session creation message and the N1N2 transmission message within the same session management period are then associated. The associated SMF server address and SMF client address form the first association information. The combination module is configured to combine the acquired SMF network element addresses based on the first association information to obtain second association information; wherein the second association information includes multiple groups of SMF network element addresses; wherein the first association information formed by the same SMF network element includes multiple groups of first association information generated through different session management cycles; the SMF client IPv4 / IPv6 addresses are combined using the SMF server IP of the first association information as an index, and the SMF client IP of the first association information is used as an index to perform reverse combination of SMF server IPv4 / IPv6, and cross-merged into the second association information containing SMF server IPv4 / IPv6 and SMF client IPv4 / IPv6; The second association module is configured to associate session management messages during the session management update process based on the second association information.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the session management message association method based on 5G control plane network elements as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the session management message association method based on 5G control plane network elements as described in any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the session management message association method based on 5G control plane network elements as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Multi-reference-point association method and system based on 5G core network
CN110944365A
