Static address allocation method and device, core network and storage medium

By configuring static address subscription information for different session ID values ​​in the UDM network element, the conflict between session and service continuity modes caused by the mixed use of static addresses in 5G networks is resolved, thus achieving service continuity and stability for user terminals.

CN116489129BActive Publication Date: 2026-06-09ULITON COMM SERVICE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ULITON COMM SERVICE CO LTD
Filing Date
2022-01-14
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

In existing technologies, static addresses are used to allocate multiple sessions of user equipment in 5G networks, resulting in the mixing of static and dynamic addresses and causing conflicts due to different session and service continuity modes.

Method used

By configuring corresponding static addresses for different session ID values ​​in the Unified Data Management (UDM) network element, preset static address subscription information is formed. This ensures that the UDM network element can find the corresponding static address based on the subscription information request and return it to the Session Management Function (SMF) network element, which is then used by the user terminal.

Benefits of technology

It ensures service continuity across different sessions, avoids conflicts between sessions and service continuity modes caused by the mixing of dynamic and static addresses, and ensures the stability and continuity of multiple sessions on user terminals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116489129B_ABST
    Figure CN116489129B_ABST
Patent Text Reader

Abstract

The application relates to a static address allocation method and device, a core network and a storage medium, and relates to the technical field of communication. The method comprises the following steps: in the case of receiving a subscription information acquisition request initiated by an SMF network element, analyzing a session ID field in the subscription information acquisition request to obtain a session ID value, wherein the session ID value is configured by a user terminal when the user terminal initiates a session creation request, and the session ID value is sent to the SMF network element through the session creation request; determining a static address corresponding to the session ID value according to preset static address subscription information; and returning the static address to the SMF network element, so that the user terminal creates a session based on the static address. In this way, the service continuity of different sessions can be ensured, and the problem that multiple sessions of the user terminal exist in conflict due to different session and service continuity modes caused by mixed use of dynamic and static addresses can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a method, apparatus, core network, and storage medium for allocating static addresses. Background Technology

[0002] When a user equipment (UE) creates a session, the 5G Core Network (5GC) needs to allocate an IP address for the session. There are two ways to allocate an IP address: one is to obtain a dynamic IP address from the address pool, and the other is to obtain a static address from the subscription information.

[0003] A static address refers to the IP address of a UE configured under a Data Network Name (DNN) on a Unified Data Management (UDM) network element. During session establishment, the UDM network element sends this address to the Session Management Function (SMF) network element, and then informs the user through the SMF network element—Access and Mobility Management Function (AMF)—Base Station—User Equipment pathway. A static address allows the UE's IP address to remain unchanged throughout the DNN session, maintaining a certain level of service continuity even with repeated online / offline cycles. Therefore, it offers advantages in complex and dynamic mobile network scenarios, maintaining service continuity and clear logic. However, in existing technologies, when the same UE creates multiple sessions under a single DNN, a static address can only be assigned to one session, forcing other sessions to use dynamic IP addresses. This not only compromises the service continuity of sessions using dynamic IP addresses but also leads to conflicts due to the mixing of static and dynamic addresses, resulting in different Session and Service Continuity Modes (SSC modes) for the UE's multiple sessions. Summary of the Invention

[0004] This application provides a method, apparatus, core network, and storage medium for allocating static addresses to solve the problem that existing static addresses use a mix of dynamic and static addresses, leading to conflicts due to different session and service continuity modes for multiple sessions of the UE.

[0005] Firstly, this application provides a static address allocation method applied to a Unified Data Management (UDM) network element, wherein the UDM network element is connected to a Session Management Function (SMF) network element, and the method includes:

[0006] Upon receiving a subscription information retrieval request initiated by the SMF network element, the session ID field in the subscription information retrieval request is parsed to obtain a session ID value. The session ID value is configured by the user terminal when the user terminal initiates a session creation request, and the session ID value is sent to the SMF network element through the session creation request.

[0007] The static address corresponding to the session ID value is determined based on the preset static address subscription information;

[0008] The static address is returned to the SMF network element so that the user terminal can create a session based on the static address.

[0009] Optionally, determining the static address corresponding to the session ID value based on preset static address subscription information includes:

[0010] Based on the preset static address subscription information, determine whether the session ID value exists in the pre-configured specified static address;

[0011] If the session ID value has a pre-configured specified static address, the specified static address will be determined as the static address corresponding to the session ID value;

[0012] If the session ID value does not have a pre-configured specified static address, determine whether the session ID value has a pre-configured default static address. The default static address refers to a static address that can be adapted to all session ID values ​​of the user terminal, and the priority of the default static address is lower than that of the specified static address.

[0013] If the session ID value has a pre-configured default static address, the default static address will be determined as the static address corresponding to the session ID value.

[0014] Optionally, after determining whether the session ID value has a pre-configured default static address, the method further includes:

[0015] If the session ID value does not have a pre-configured default static address, the null value will be assigned the static address corresponding to the session ID value and returned.

[0016] Optionally, before determining the static address corresponding to the session ID value based on preset static address subscription information, the method further includes:

[0017] The system receives configuration operations from the operator on the static address configuration interface and generates the preset static address subscription information based on the configuration operations. The preset static address subscription information includes optional fields and required fields. The optional fields include a session ID field, and the required fields include a static address field. When the session ID field is empty, the address of the static address field is the default static address. When the session ID field is a valid session ID value, the address of the static address field is the specified static address.

[0018] Optionally, the value range of the specified static address is 1 to 255.

[0019] Secondly, this application also provides a method for allocating static addresses, applied to a Session Management Function (SMF) network element, wherein the SMF network element is connected to a user terminal and a Unified Data Management (UDM) network element, the method comprising:

[0020] Upon receiving a session creation request initiated by the user terminal, the session ID value carried in the session creation request is obtained, wherein the session ID value is configured by the user terminal when the user terminal initiates the session creation request;

[0021] A subscription information acquisition request is initiated to the UDM network element. The subscription information acquisition request includes a session ID field, which is used to indicate the session ID value. The UDM network element is used to parse the session ID field in the subscription information acquisition request to obtain the session ID value, and determine the static address corresponding to the session ID value according to the preset static address subscription information.

[0022] The user terminal receives the static address returned by the UDM network element so that it can create a session based on the static address.

[0023] Thirdly, this application also provides a static address allocation device applied to a Unified Data Management (UDM) network element, wherein the UDM network element is connected to an SMF network element, and the device includes:

[0024] The parsing module is used to parse the session ID field in the subscription information acquisition request initiated by the SMF network element when it receives the subscription information acquisition request to obtain the session ID value. The session ID value is configured by the user terminal when the user terminal initiates a session creation request, and the session ID value is sent to the SMF network element through the session creation request.

[0025] The determination module is used to determine the static address corresponding to the session ID value based on the preset static address subscription information;

[0026] The return module is used to return the static address to the SMF network element so that the user terminal can create a session based on the static address.

[0027] Fourthly, this application also provides a static address allocation device applied to a Session Management Function (SMF) network element, wherein the SMF network element is connected to a user terminal and a Unified Data Management (UDM) network element, and the device includes:

[0028] The acquisition module is used to acquire the session ID value carried in the session creation request when it receives the session creation request initiated by the user terminal, wherein the session ID value is configured by the user terminal when the user terminal initiates the session creation request;

[0029] The initiating module is used to initiate a subscription information acquisition request to the UDM network element. The subscription information acquisition request includes a session ID field, which is used to indicate the session ID value. The UDM network element is used to parse the session ID field in the subscription information acquisition request to obtain the session ID value, and determine the static address corresponding to the session ID value according to the preset static address subscription information.

[0030] The receiving module is used to receive the static address returned by the UDM network element, so that the user terminal can create a session based on the static address.

[0031] Fifthly, this application also provides a core network, which includes a unified data management (UDM) network element and a session management function (SMF) network element;

[0032] The UDM network element is used to perform the steps of the static address allocation method as described in the first aspect;

[0033] The SMF network element is used to perform the steps of the static address allocation method as described in the second aspect.

[0034] In a sixth aspect, this application also provides a storage medium containing computer-executable instructions, which are executed by a computer processor in the steps of the static address allocation method as described in the first aspect; or in the steps of the static address allocation method as described in the second aspect.

[0035] In this embodiment, upon receiving a subscription information retrieval request initiated by an SMF network element, the session ID field in the request is parsed to obtain a session ID value. This session ID value is configured by the user terminal when it initiates a session creation request and is sent to the SMF network element via the session creation request. Based on preset static address subscription information, the static address corresponding to the session ID value is determined. The static address is then returned to the SMF network element so that the user terminal can create a session based on the static address. In this way, corresponding static addresses can be configured for different session ID values ​​in the UDM network element, forming preset static address subscription information. When the SMF network element initiates a subscription information retrieval request to the UDM network element, the UDM network element can find the static address corresponding to the session ID value in the subscription information retrieval request based on the preset static address subscription information and return it to the SMF network element, thereby achieving the function of assigning corresponding static addresses to different sessions of the user terminal. This not only ensures the service continuity of different sessions but also avoids conflicts caused by the mixing of dynamic and static addresses, which could lead to different session and service continuity modes for multiple sessions of the user terminal. Attached Figure Description

[0036] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0037] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0038] Figure 1 One of the flowcharts illustrating the static address allocation method provided in this application embodiment;

[0039] Figure 2 This is an interactive schematic diagram of a 5G communication system provided in an embodiment of this application;

[0040] Figure 3 A schematic diagram of the interface for configuring a default static address on a UDM network element provided in this application embodiment;

[0041] Figure 4 A schematic diagram of the interface for configuring a specified static address on a UDM network element provided in this application embodiment;

[0042] Figure 5 A second schematic flowchart illustrating the static address allocation method provided in this application embodiment;

[0043] Figure 6 One of the structural schematic diagrams of a static address allocation device provided in an embodiment of this application;

[0044] Figure 7 This is a second schematic diagram of the structure of the static address allocation device provided in the embodiments of this application. Detailed Implementation

[0045] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0046] See Figure 1 , Figure 1 This is one of the flowcharts illustrating a static address allocation method provided in an embodiment of this application. For example... Figure 1 As shown, this static address allocation method is applied to the Unified Data Management (UDM) network element, which is connected to the Session Management Function (SMF) network element. The method includes the following steps:

[0047] Step 101: Upon receiving a subscription information retrieval request initiated by the SMF network element, the session ID field in the subscription information retrieval request is parsed to obtain the session ID value. The session ID value is configured by the user terminal when the user terminal initiates a session creation request, and the session ID value is sent to the SMF network element through the session creation request.

[0048] It should be noted that the static address allocation method provided in this application embodiment is applied to a unified data management UDM network element, which belongs to a fifth-generation mobile communication technology (5G) communication system. Figure 2As shown, this 5G communication system includes user terminals, Session Management Function (SMF) network elements, and Unified Data Management (UDM) network elements. When a user terminal initiates a session creation request, the SMF network element sends a subscription information retrieval request to the UDM network element, such as a GET / nudm-sdm / message. This subscription information retrieval request may carry fields such as Network Slice Selection Assistance Information (NSSAI), Data Network Name (DNN), Public Land Mobility Network (PLMN), and Session ID. The NSSAI, DNN, and PLMN fields are used by the UDM network element to determine whether the user terminal has subscription information under the DNN for that data network name. The Session ID field is used to further locate the corresponding static address subscription information based on the Session ID value when the user terminal has subscription information under the DNN for that data network name. After the UDM network element completes its processing, it replies with a response message to the SMF network element. If the user terminal has configured a static address under the requested data network name (DNN), it can return that static address to the SMF network element via the `staticIpAddress` field in the response message. If the user terminal has not configured a static address under the requested data network name (DNN), the response message will not include the `staticIpAddress` field. Of course, this 5G communication system can also include Radio Access Network (RAN), Access and Mobility Management Function (AMF) network elements, User Plane Function (UPF) network elements, Policy Control Function (PCF) network elements, Unified Data Management (UDM) network elements, and Data Network (DN) network elements, which together complete the entire session establishment process.

[0049] In this step, when a user terminal initiates a session creation request, it automatically configures a session ID value, such as an integer less than or equal to 255, like 5 or 6. The user terminal sends this session ID value along with the session creation request to the SMF network element. Upon receiving the session creation request, the SMF network element sends a subscription information retrieval request to the UDM network element. This request includes fields such as the session ID. Upon receiving this subscription information retrieval request, the UDM network element parses the session ID field to obtain the session ID value.

[0050] In this embodiment, the aforementioned subscription information acquisition request, in addition to carrying fields such as Network Segment Selection Assistance Information (NSSAI), Data Network Name (DNN), and Public Land Mobile Network (PLMN) as specified in the original protocol version, also adds a session ID field, such as the PduSessionID field. This session ID field is used to represent the session ID value configured by the user equipment. This session ID field is optional. When the UDM network element is using the original protocol version (i.e., parsing the newly added session ID field is not allowed), the newly added session ID field will not be parsed; when the UDM network element is using the new protocol version (i.e., parsing the newly added session ID field is allowed), the newly added session ID field will be parsed. This not only facilitates the parsing of session ID values ​​by UDM network elements of the new protocol version but also ensures compatibility with UDM network elements of the original protocol version.

[0051] Step 102: Determine the static address corresponding to the session ID value based on the preset static address subscription information.

[0052] Upon receiving a subscription information retrieval request, the UDM network element matches the static address corresponding to the session ID value based on the preset static address subscription information. It should be noted that this preset static address subscription information is obtained through the operator's configuration and is used to represent the correspondence between the session ID value and the static address. When configuring the static address of user equipment under the Data Network Name (DNN) on the UDM network element, the operator can also add an optional session ID field. This session ID field can be configured with multiple sets of session ID values, each corresponding to a static address. This static address can be any combination of two of the following: IPv4 address, IPv6 address, and IPv6 address prefix. The session ID field is optional, while the static address is mandatory. When the session ID field is omitted, it represents the default session, and the default static address for the default session is required. This allows for configuring corresponding static addresses for multiple sessions separately, and the default static address of the default session can be used when no static address with a specified session ID is configured, maintaining backward compatibility.

[0053] Step 103: Return a static address to the SMF network element so that the user terminal can create a session based on the static address.

[0054] After determining the static address corresponding to the session ID value, the UDM network element can return the static address to the SMF network element, which in turn returns the static address to the user terminal. Finally, the user terminal can create a session based on the static address.

[0055] In this embodiment, static addresses can be configured for different session ID values ​​in the UDM network element to form preset static address subscription information. When the SMF network element initiates a subscription information retrieval request to the UDM network element, the UDM network element can find the static address corresponding to the session ID value in the subscription information retrieval request based on the preset static address subscription information, and then return it to the SMF network element, thereby realizing the function of allocating corresponding static addresses for different sessions of the user terminal. In this way, not only can the service continuity of different sessions be guaranteed, but also the problem of conflict caused by the use of mixed dynamic and static addresses leading to different session and service continuity modes of multiple sessions of the user terminal can be avoided.

[0056] Further, step 102 above, determining the static address corresponding to the session ID value based on the preset static address subscription information, includes:

[0057] Based on the preset static address subscription information, determine whether the session ID value exists in the pre-configured specified static address;

[0058] If a pre-configured static address exists for the session ID value, the specified static address will be determined as the static address corresponding to the session ID value.

[0059] If the session ID value does not have a pre-configured specified static address, determine whether the session ID value has a pre-configured default static address. The default static address refers to a static address that can be adapted to all session ID values ​​of the user terminal. The default static address has a lower priority than the specified static address.

[0060] If a default static address is pre-configured for the session ID value, the default static address will be determined as the static address corresponding to the session ID value.

[0061] In one embodiment, the operator can configure a default static address and a specified static address on the UDM network element. The default static address refers to the static address of the default session ID field (i.e., without limiting the size of the session ID value), which can match any session ID value. See also... Figure 3 , Figure 3 A diagram illustrating the interface for configuring a default static address on a UDM network element. (See diagram below.) Figure 3As shown, the Session ID field does not have a specific session ID value configured; it only configures the corresponding IP address in the IPv4 address, IPv6 address, and IPv6 address prefix fields. Specifying a static address, on the other hand, refers to assigning a specific static address to a given session ID value. See [link to documentation]. Figure 4 , Figure 4 A diagram illustrating the interface for configuring a specified static address on a UDM network element. (Example) Figure 4 As shown, the session ID field is configured with a session ID value of 5, and the corresponding IP addresses are configured in the IPv4 address, IPv6 address, and IPv6 address prefix fields.

[0062] It should be noted that the specified static address has higher priority than the default static address. For example, in the prior art, the session ID field is omitted in the subscription information retrieval request. In this case, the UDM network element will first obtain the static address of the default session (i.e., the default static address mentioned above). If the default static address is configured on the UDM network element, the default static address will be carried in the returned message; otherwise, the static address will not be carried in the returned message.

[0063] In this application, the request for obtaining subscription information includes a session ID field, such as the PduSessionID field. The UDM network element first retrieves the static address of the specified session (i.e., the specified static address mentioned above). If the specified static address for that session ID value is configured on the UDM network element, the returned message includes the specified static address. If the specified static address is not configured on the UDM network element, but a default static address is configured, the default static address is returned. If the default static address is not configured either, the returned message does not include the static address. In this way, the specified static address configured for the session ID value on the UDM network element can be used preferentially, enabling multiple Packet Data Unit (PDU) sessions to use the specified static address for business data transmission.

[0064] Furthermore, after determining whether the session ID value exists in a pre-configured default static address, the method also includes:

[0065] If the session ID value does not have a pre-configured default static address, the empty value will be determined as the static address corresponding to the session ID value and returned.

[0066] In one embodiment, when neither a specified static address nor a default static address is configured on the UDM network element, the returned message does not carry the static address; instead, the null value is assigned as the static address corresponding to the session ID value and returned to the SMF network element. In this case, session creation fails, and the process ends.

[0067] Furthermore, before determining the static address corresponding to the session ID value, the method also includes:

[0068] The system receives configuration operations from the operator on the static address configuration interface and generates preset static address subscription information based on the configuration operations. The preset static address subscription information includes optional fields and required fields. Optional fields include the session ID field, and required fields include the static address field. When the session ID field is empty, the address in the static address field is the default static address. When the session ID field is a valid session ID value, the address in the static address field is the specified static address.

[0069] In one embodiment, the operator can configure the static address of the session ID value in the static address configuration interface. Specifically, a default static address and a specified static address are configured on the UDM network element. The default static address refers to the static address of the default session ID field (i.e., without limiting the size of the session ID value), and this static address can match any session ID value. See also Figure 3 , Figure 3 A diagram illustrating the interface for configuring a default static address on a UDM network element. (See diagram below.) Figure 3 As shown, the Session ID field does not have a specific session ID value configured; it only configures the corresponding IP address in the IPv4 address, IPv6 address, and IPv6 address prefix fields. Specifying a static address, on the other hand, refers to assigning a specific static address to a given session ID value. See [link to documentation]. Figure 4 , Figure 4 A diagram illustrating the interface for configuring a specified static address on a UDM network element. (Example) Figure 4 As shown, the Session ID field is configured with a value of 5, and the corresponding IP addresses are configured in the IPv4 address, IPv6 address, and IPv6 address prefix fields. This not only allows multiple PDU sessions to use static addresses, but also enables the use of a default static address when no static address is specified with a session ID value, maintaining forward protocol compatibility.

[0070] Furthermore, the range of values ​​for the specified static address is 1 to 255.

[0071] It should be noted that the static address can be configured from 1 to 255 groups, each group including a session ID value and a static address. In this way, according to the operator's needs, multiple session ID values ​​can be configured with their respective corresponding static addresses to meet the needs of different business scenarios.

[0072] See Figure 5 , Figure 5The second flowchart illustrates the static address allocation method provided in this application embodiment. This static address allocation method is applied to a Session Management Function (SMF) network element, which is connected to a user terminal and a Unified Data Management (UDM) network element. The method includes:

[0073] Step 501: Upon receiving a session creation request initiated by the user terminal, obtain the session ID value carried in the session creation request. The session ID value is configured by the user terminal when the user terminal initiates the session creation request.

[0074] In this step, when a user terminal initiates a session creation request, the user terminal automatically configures a session ID value, such as an integer less than or equal to 255, such as 5 or 6. The user terminal sends this session ID value along with the session creation request to the SMF network element. After receiving the session creation request from the user terminal, the SMF network element retrieves the session ID value carried in the session creation request.

[0075] Step 502: Initiate a subscription information retrieval request to the UDM network element. The subscription information retrieval request includes a session ID field, which is used to indicate the session ID value. The UDM network element is used to parse the session ID field in the subscription information retrieval request to obtain the session ID value, and determine the static address corresponding to the session ID value based on the preset static address subscription information.

[0076] The SMF network element packages the session ID value and sends a subscription information retrieval request to the UDM network element. This request carries fields such as the session ID field, which identifies the session ID value. The session ID field is optional. When the UDM network element uses the original protocol version (i.e., it does not allow parsing the newly added session ID field), it will not parse the new session ID field. When the UDM network element uses the new protocol version (i.e., it allows parsing the new session ID field), it will parse the new session ID field. This not only facilitates the parsing of session ID values ​​by UDM network elements with newer protocol versions but also ensures compatibility with UDM network elements using older protocol versions.

[0077] Upon receiving the subscription information retrieval request, the UDM network element parses the session ID field in the request to obtain the session ID value. The UDM network element then matches the static address corresponding to the session ID value based on the preset static address subscription information. It should be noted that this preset static address subscription information is obtained based on the operator's configuration operations and is used to represent the correspondence between the session ID value and the static address. When configuring the static address of user equipment under the Data Network Name (DNN) on the UDM network element, the operator can also add an optional session ID field. This session ID field can be configured with multiple sets of session ID values, each corresponding to a static address. The static address can be any combination of two of the following: IPv4 address, IPv6 address, and IPv6 address prefix. The session ID field is optional, while the static address is mandatory. When the session ID field is omitted, it represents the default session, and the default static address for the default session is required. This allows for configuring corresponding static addresses for multiple sessions separately, and the default static address of the default session can be used when no static address with a specified session ID is configured, maintaining forward protocol compatibility.

[0078] Step 503: Receive the static address returned by the UDM network element so that the user terminal can create a session based on the static address.

[0079] After determining the static address corresponding to the session ID value, the UDM network element can return the static address to the SMF network element, which in turn returns the static address to the user terminal. Finally, the user terminal can create a session based on the static address.

[0080] In this embodiment, static addresses can be configured for different session ID values ​​in the UDM network element to form preset static address subscription information. When the SMF network element initiates a subscription information retrieval request to the UDM network element, the UDM network element can find the static address corresponding to the session ID value in the subscription information retrieval request based on the preset static address subscription information, and then return it to the SMF network element, thereby realizing the function of allocating corresponding static addresses for different sessions of the user terminal. In this way, not only can the service continuity of different sessions be guaranteed, but also the problem of conflict caused by the use of mixed dynamic and static addresses leading to different session and service continuity modes of multiple sessions of the user terminal can be avoided.

[0081] See Figure 6 , Figure 6 This is one of the structural schematic diagrams of a static address allocation device provided in an embodiment of this application. For example... Figure 6 As shown, the static address allocation device 600 is applied to a Unified Data Management (UDM) network element, which is connected to an SMF network element. The static address allocation device 600 includes:

[0082] The parsing module 601 is used to parse the session ID field in the subscription information acquisition request when it receives the subscription information acquisition request initiated by the SMF network element, and obtain the session ID value. The session ID value is configured by the user terminal when the user terminal initiates the session creation request, and the session ID value is sent to the SMF network element through the session creation request.

[0083] The determination module 602 is used to determine the static address corresponding to the session ID value based on the preset static address subscription information;

[0084] The return module 603 is used to return a static address to the SMF network element so that the user terminal can create a session based on the static address.

[0085] Optionally, the determining module 602 includes:

[0086] The first judgment submodule is used to determine whether the session ID value exists in the pre-configured specified static address based on the preset static address subscription information;

[0087] The first determination submodule is used to determine the specified static address as the static address corresponding to the session ID value when the session ID value has a pre-configured specified static address.

[0088] The second judgment submodule is used to determine whether a pre-configured default static address exists for the session ID value if the specified static address is not pre-configured. The default static address refers to a static address that can be adapted to all session ID values ​​of the user terminal. The default static address has a lower priority than the specified static address.

[0089] The second determination submodule is used to determine the default static address as the static address corresponding to the session ID value when a pre-configured default static address exists for the session ID value.

[0090] Optionally, the determining module 602 further includes:

[0091] The third determination submodule is used to determine the null value as the static address corresponding to the session ID value and return it when the session ID value does not have a pre-configured default static address.

[0092] Optionally, the static address allocation device 600 further includes:

[0093] The generation module is used to receive configuration operations from the operator on the static address configuration interface and generate preset static address subscription information based on the configuration operations. The preset static address subscription information includes optional fields and required fields. Optional fields include the session ID field, and required fields include the static address field. When the session ID field is empty, the address in the static address field is the default static address. When the session ID field is a valid session ID value, the address in the static address field is the specified static address.

[0094] Optionally, the static address can be specified to have a value between 1 and 255.

[0095] It should be noted that the static address allocation device 600 can perform the above-described... Figure 5 The steps of the static address allocation method shown are identical to those of the method, and can achieve the same technical effect, so they will not be repeated here.

[0096] See Figure 7 , Figure 7 This is a second schematic diagram of the structure of a static address allocation device provided in an embodiment of this application. For example... Figure 7 As shown, the static address allocation device is applied to the Session Management Function (SMF) network element, which is connected to the user terminal and the Unified Data Management (UDM) network element. The static address allocation device includes:

[0097] The acquisition module is used to acquire the session ID value carried in the session creation request when a session creation request is received from the user terminal. The session ID value is configured by the user terminal when the user terminal initiates the session creation request.

[0098] The initiation module is used to initiate a subscription information retrieval request to the UDM network element. The subscription information retrieval request includes a session ID field, which is used to indicate the session ID value. The UDM network element is used to parse the session ID field in the subscription information retrieval request to obtain the session ID value, and determine the static address corresponding to the session ID value based on the preset static address subscription information.

[0099] The receiving module is used to receive the static address returned by the UDM network element so that the user terminal can create a session based on the static address.

[0100] It should be noted that the static address allocation device can perform the above-mentioned... Figure 1 The steps of the static address allocation method shown are identical to those of the method, and can achieve the same technical effect, so they will not be repeated here.

[0101] In addition, this application embodiment also provides a core network, which includes a unified data management (UDM) network element and a session management function (SMF) network element;

[0102] Among them, the UDM network element is used to perform the above. Figure 1 The steps of the static address allocation method;

[0103] SMF network elements are used to perform the above. Figure 3 The steps of the static address allocation method.

[0104] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the static address allocation method provided in any of the foregoing method embodiments.

[0105] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0106] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method of allocating a static address, characterized by, The method is applied to a unified data management (UDM) network element, which is connected to a session management function (SMF) network element, and includes: Upon receiving a subscription information retrieval request initiated by the SMF network element, the session ID field in the subscription information retrieval request is parsed to obtain a session ID value. The session ID value is configured by the user terminal when the user terminal initiates a session creation request, and the session ID value is sent to the SMF network element through the session creation request. The static address corresponding to the session ID value is determined based on the preset static address subscription information; The static address is returned to the SMF network element so that the user terminal can create a session based on the static address; The step of determining the static address corresponding to the session ID value based on preset static address subscription information includes: Based on the preset static address subscription information, determine whether the session ID value has a pre-configured specified static address; If the session ID value has a pre-configured specified static address, the specified static address will be determined as the static address corresponding to the session ID value; If the session ID value does not have a pre-configured specified static address, determine whether the session ID value has a pre-configured default static address. The default static address refers to a static address that can be adapted to all session ID values ​​of the user terminal, and the priority of the default static address is lower than that of the specified static address. If the session ID value has a pre-configured default static address, the default static address will be determined as the static address corresponding to the session ID value.

2. The method according to claim 1, characterized in that, After determining whether the session ID value has a pre-configured default static address, the method further includes: If the session ID value does not have a pre-configured default static address, the null value will be assigned the static address corresponding to the session ID value and returned.

3. The method according to claim 1, characterized in that, Before determining the static address corresponding to the session ID value based on the preset static address subscription information, the method further includes: The system receives configuration operations from the operator on the static address configuration interface and generates the preset static address subscription information based on the configuration operations. The preset static address subscription information includes optional fields and required fields. The optional fields include a session ID field, and the required fields include a static address field. When the session ID field is empty, the address of the static address field is the default static address. When the session ID field is a valid session ID value, the address of the static address field is the specified static address.

4. The method according to claim 3, characterized in that, The value range of the specified static address is 1 to 255.

5. A method for allocating static addresses, characterized in that, The method, applied to a Session Management Function (SMF) network element connected to a user terminal and a Unified Data Management (UDM) network element, includes: Upon receiving a session creation request initiated by the user terminal, the session ID value carried in the session creation request is obtained, wherein the session ID value is configured by the user terminal when the user terminal initiates the session creation request; A subscription information acquisition request is initiated to the UDM network element. The subscription information acquisition request includes a session ID field, which is used to indicate the session ID value. The UDM network element is used to parse the session ID field in the subscription information acquisition request to obtain the session ID value, and determine the static address corresponding to the session ID value according to the preset static address subscription information. The user terminal receives the static address returned by the UDM network element so that it can create a session based on the static address. The process of determining the static address corresponding to the session ID value based on preset static address subscription information includes: Based on the preset static address subscription information, determine whether the session ID value has a pre-configured specified static address; If the session ID value has a pre-configured specified static address, the specified static address will be determined as the static address corresponding to the session ID value; If the session ID value does not have a pre-configured specified static address, determine whether the session ID value has a pre-configured default static address. The default static address refers to a static address that can be adapted to all session ID values ​​of the user terminal, and the priority of the default static address is lower than that of the specified static address. If the session ID value has a pre-configured default static address, the default static address will be determined as the static address corresponding to the session ID value.

6. A static address allocation device, characterized in that, The device is applied to a unified data management (UDM) network element, which is connected to an SMF network element, and includes: The parsing module is used to parse the session ID field in the subscription information acquisition request initiated by the SMF network element when it receives the subscription information acquisition request to obtain the session ID value. The session ID value is configured by the user terminal when the user terminal initiates a session creation request, and the session ID value is sent to the SMF network element through the session creation request. The determination module is used to determine the static address corresponding to the session ID value based on the preset static address subscription information; The return module is used to return the static address to the SMF network element so that the user terminal can create a session based on the static address; The determining module includes: The first judgment submodule is used to determine whether the session ID value exists in the pre-configured specified static address based on the preset static address subscription information; The first determination submodule is used to determine the specified static address as the static address corresponding to the session ID value when the session ID value has a pre-configured specified static address. The second judgment submodule is used to determine whether a pre-configured default static address exists for the session ID value if the specified static address is not pre-configured. The default static address refers to a static address that can be adapted to all session ID values ​​of the user terminal. The default static address has a lower priority than the specified static address. The second determination submodule is used to determine the default static address as the static address corresponding to the session ID value when a pre-configured default static address exists for the session ID value.

7. A static address allocation device, characterized in that, An apparatus for use with a Session Management Function (SMF) network element, wherein the SMF network element is connected to a user terminal and a Unified Data Management (UDM) network element, the apparatus comprising: The acquisition module is used to acquire the session ID value carried in the session creation request when it receives the session creation request initiated by the user terminal, wherein the session ID value is configured by the user terminal when the user terminal initiates the session creation request; The initiating module is used to initiate a subscription information acquisition request to the UDM network element. The subscription information acquisition request includes a session ID field, which is used to indicate the session ID value. The UDM network element is used to parse the session ID field in the subscription information acquisition request to obtain the session ID value, and determine the static address corresponding to the session ID value according to the preset static address subscription information. The process of determining the static address corresponding to the session ID value based on preset static address subscription information includes: Based on the preset static address subscription information, determine whether the session ID value has a pre-configured specified static address; If the session ID value has a pre-configured specified static address, the specified static address will be determined as the static address corresponding to the session ID value; If the session ID value does not have a pre-configured specified static address, determine whether the session ID value has a pre-configured default static address. The default static address refers to a static address that can be adapted to all session ID values ​​of the user terminal, and the priority of the default static address is lower than that of the specified static address. If the session ID value has a pre-configured default static address, the default static address will be determined as the static address corresponding to the session ID value; The receiving module is used to receive the static address returned by the UDM network element, so that the user terminal can create a session based on the static address.

8. A core network, characterized in that, The core network includes Unified Data Management (UDM) network elements and Session Management Function (SMF) network elements. The UDM network element is used to perform the steps of the static address allocation method according to any one of claims 1-4; The SMF network element is used to perform the steps of the static address allocation method as described in claim 6.

9. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the steps of the static address allocation method as described in any one of claims 1-4, or to perform the steps of the static address allocation method as described in claim 5.