Address allocation method, session management function entity and communication system
By using the session management function SMF entity in the 5G SA network to query and record the address of the user terminal, or allocate an IPv6 address segment with a preset prefix, the problem of terminal address changes is solved, and the fixed IP address allocation of the user terminal is realized to meet the requirements meet the needs of dedicated line customers.
Patent Information
- Application Number
- CN202210479921.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-05
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-05-05
AI Technical Summary
In the 5G SA network, the IPv6 address assigned to the terminal will change every time it accesses the network, and a fixed IP address cannot be provided.
The session management function SMF entity extracts the session parameters of the user terminal from the session creation request of the access and mobility management function AMF entity, queries whether there are used addresses recorded, and if so, sends them to the AMF entity, and the user terminal uses these addresses. Perform business access; if not, send an address reporting policy to the UPF entity and allocate an IPv6 address segment with a preset prefix. The user terminal selects an address in the address segment for business access and records the address.
It enables user terminals to use fixed IP addresses every time they go online, meeting the needs of specific users for fixed IP addresses and supporting the diverse business needs of dedicated line customers.
Smart Images

Figure CN114980075B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communications, and in particular to an address allocation method, a session management function entity and a communication system. Background Art
[0002] The current 5G SA (Standalone) network is based on the characteristics of user mobility. Every time a user goes online and creates a PDU (Protocol Data Unit) session, the SMF (Session Management Function) network element in the 5GC (5G Core) will allocate an IPv6 address segment to the user in the pre-configured address pool based on the user's location and the DNN (Data Network Name) of the user's PDU session. The terminal randomly selects one of the IPv6 addresses in the allocated address segment for service access, and the IP address used by the user will change each time the user accesses. Summary of the invention
[0003] The inventors have noticed that in the related art, the terminal randomly selects one of the IPv6 addresses in the allocated address segment to access services, which causes the IP address used by the terminal to change each time it accesses the network, that is, it is impossible to provide a fixed IP address for a specific user.
[0004] Accordingly, the present disclosure provides an address allocation solution that can meet the needs of specific users for fixed IP addresses.
[0005] According to the first aspect of an embodiment of the present disclosure, there is provided an address allocation method, which is executed by a session management function SMF entity, and includes: extracting session parameters of a user terminal from a session creation request sent by an access and mobility management function AMF entity; querying whether an address used by the user terminal is recorded according to the session parameters; if an address used by the user terminal is recorded, sending the used address to the AMF entity, so that the AMF entity sends the used address to the user terminal, and the user terminal uses the used address to access services.
[0006] In some embodiments, the session parameters include a terminal identifier and a network identifier of the user terminal.
[0007] In some embodiments, the terminal identifier is an international mobile subscriber identity IMSI; and the network identifier is a data network name DNN.
[0008] In some embodiments, the session creation request is a Nsmf_PDUSession_CreateSMContext message.
[0009] In some embodiments, if the address used by the user terminal is not recorded, a user address reporting policy is sent to the user plane function UPF entity; an IPv6 address segment with a preset prefix is allocated to the user terminal; the IPv6 address segment is sent to the AMF entity, so that the AMF entity sends the IPv6 address segment to the user terminal, and the user terminal selects an address in the IPv6 address segment as a service address, and uses the service address to access the service; after receiving the service address of the user terminal sent by the UPF entity, the service address and the session parameters are recorded, wherein the UPF entity obtains the service address according to the user address reporting policy and reports it to the SMF entity.
[0010] In some embodiments, sending the user address reporting policy to the user plane function UPF entity includes: sending the user address reporting policy to the UPF entity using a message forwarding control protocol PFCP session establishment request.
[0011] In some embodiments, the length of the prefix is 64.
[0012] According to the second aspect of an embodiment of the present disclosure, a session management function entity is provided, including: a first processing module, configured to extract session parameters of a user terminal from a session creation request sent by an access and mobility management function AMF entity; a second processing module, configured to query whether an address used by the user terminal is recorded according to the session parameters; and a third processing module, configured to send the used address to the AMF entity if the address used by the user terminal is recorded, so that the AMF entity sends the used address to the user terminal, so that the user terminal uses the used address for service access.
[0013] In some embodiments, the session parameters include a terminal identifier and a network identifier of the user terminal.
[0014] In some embodiments, the terminal identifier is an international mobile subscriber identity IMSI; and the network identifier is a data network name DNN.
[0015] In some embodiments, the session creation request is a Nsmf_PDUSession_CreateSMContext message.
[0016] In some embodiments, the session management function entity also includes: a fourth processing module, configured to send a user address reporting policy to a user plane function UPF entity if the address used by the user terminal is not recorded, and allocate an IPv6 address segment with a preset prefix to the user terminal; a fifth processing module, configured to send the IPv6 address segment to the AMF entity, so that the AMF entity sends the IPv6 address segment to the user terminal, and the user terminal selects an address in the IPv6 address segment as a service address and uses the service address for service access; a sixth processing module, configured to record the service address and the session parameters after receiving the service address of the user terminal sent by the UPF entity, wherein the UPF entity obtains the service address according to the user address reporting policy and reports it to the SMF entity.
[0017] In some embodiments, the fourth processing module is configured to send the user address reporting policy to the UPF entity using a message forwarding control protocol PFCP session establishment request.
[0018] In some embodiments, the length of the prefix is 64.
[0019] According to a third aspect of an embodiment of the present disclosure, a session management functional entity is provided, comprising: a memory configured to store instructions; a processor coupled to the memory, the processor being configured to execute a method as described in any of the above embodiments based on the instructions stored in the memory.
[0020] According to the fourth aspect of an embodiment of the present disclosure, a communication system is provided, comprising: a session management function SMF entity as described in any of the above embodiments; an access and mobility management function AMF entity, configured to send a session creation request to the SMF entity, wherein the session creation request includes session parameters of a user terminal, and sends the address used by the user terminal sent by the SMF entity to the user terminal; and the user terminal is configured to access services using the used address.
[0021] In some embodiments, the session parameters include a terminal identifier and a network identifier of the user terminal.
[0022] In some embodiments, the terminal identifier is an international mobile subscriber identity IMSI; and the network identifier is a data network name DNN.
[0023] In some embodiments, the session creation request is a Nsmf_PDUSession_CreateSMContext message.
[0024] In some embodiments, the system also includes a user plane function UPF entity, wherein the AMF entity is configured to send the IPv6 address segment sent by the SMF entity to the user terminal; the user terminal is configured to select an address in the IPv6 address segment as a service address, and use the service address for service access; the user plane function UPF entity is configured to receive a user address reporting policy sent by the SMF entity, obtain the service address according to the user address reporting policy, and report it to the SMF entity.
[0025] In some embodiments, the UPF entity utilizes a message forwarding control protocol PFCP session establishment request to receive a user address reporting policy sent by the SMF entity.
[0026] According to a fifth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the method described in any of the above embodiments is implemented.
[0027] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0029] Figure 1 A flowchart of an address allocation method according to an embodiment of the present disclosure;
[0030] Figure 2 A flowchart of an address allocation method according to another embodiment of the present disclosure;
[0031] Figure 3 A schematic diagram of the structure of an SMF entity according to an embodiment of the present disclosure;
[0032] Figure 4 A schematic diagram of the structure of an SMF entity according to another embodiment of the present disclosure;
[0033] Figure 5 A schematic diagram of the structure of an SMF entity according to another embodiment of the present disclosure;
[0034] Figure 6 A schematic diagram of the structure of a communication system according to an embodiment of the present disclosure;
[0035] Figure 7 A schematic diagram of the structure of a communication system according to another embodiment of the present disclosure;
[0036] Figure 8 The present invention is a flowchart of an address allocation method according to another embodiment of the present invention. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present disclosure and its application or use. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0038] The relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
[0039] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0040] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.
[0041] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0042] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0043] Figure 1 The following is a flowchart of an address allocation method according to an embodiment of the present disclosure. In some embodiments, the following address allocation method is executed by an SMF entity.
[0044] In step 101, session parameters of the user terminal are extracted from a session creation request sent by an AMF (Access and Mobility Management Function) entity.
[0045] In some embodiments, the session creation request is a Nsmf_PDUSession_CreateSMContext message.
[0046] In some embodiments, the session parameters include a terminal identifier and a network identifier of the user terminal.
[0047] For example, the terminal identifier is IMSI (International Mobile Subscriber Identity) and the network identifier is DNN.
[0048] For example, the IMSI of the user terminal is: 460111000010000. The DNN is: 5gzx.
[0049] In step 102, it is inquired whether there is a record of the address used by the user terminal according to the session parameters.
[0050] For example, it is queried in the cache according to the session parameters whether there is a record of the address used by the user terminal.
[0051] In step 103, if the address used by the user terminal is recorded, the address used by the user terminal is sent to the AMF entity, so that the AMF entity sends the address used by the user terminal to the user terminal, and the user terminal uses the used address to access the service.
[0052] In the address allocation method provided in the above embodiment of the present disclosure, when a user terminal goes online, an IPv6 address used by the user terminal is allocated to the user terminal, thereby satisfying the demand of a specific user for a fixed IP address.
[0053] Figure 2 FIG. 1 is a flow chart of an address allocation method according to another embodiment of the present disclosure. In some embodiments, the following address allocation method is executed by an SMF entity.
[0054] In step 201, the session parameters of the user terminal are extracted from the session creation request sent by the AMF entity.
[0055] In some embodiments, the session creation request is a Nsmf_PDUSession_CreateSMContext message.
[0056] In some embodiments, the session parameters include a terminal identifier and a network identifier of the user terminal.
[0057] For example, the terminal identifier is IMSI, and the network identifier is DNN.
[0058] For example, the IMSI of the user terminal is: 460111000010000. The DNN is: 5gzx.
[0059] In step 202, it is inquired whether there is a record of the address used by the user terminal according to the session parameters.
[0060] For example, it is queried in the cache according to the session parameters whether there is a record of the address used by the user terminal.
[0061] In step 203, if there is no record of the address used by the user terminal, a user address reporting policy is sent to a UPF (User Plane Function) entity.
[0062] In some embodiments, the user address reporting policy is sent to the UPF entity using a PFCP (Packet Forwarding Control Protocol) Session Establishment request.
[0063] In step 204, an IPv6 address segment with a preset prefix is allocated to the user terminal.
[0064] In some embodiments, the length of the prefix is 64.
[0065] For example, the IPv6 address segment is: 240e:0180:0001:0010:: / 64.
[0066] In step 205, the IPv6 address segment is sent to the AMF entity so that the AMF entity sends the IPv6 address segment to the user terminal. The user terminal selects an address in the IPv6 address segment as a service address and uses the service address to access the service.
[0067] For example, the user terminal selects one of the following addresses in the IPv6 address segment as the service address:
[0068] 240e:0180:0001:0010:000F:000F:000F:000F
[0069] In step 206, after receiving the service address of the user terminal sent by the UPF entity, the service address and session parameters are recorded, wherein the UPF entity obtains the service address according to the user address reporting policy and reports it to the SMF entity.
[0070] By recording the IPv6 address used by the user terminal, when the user terminal comes online again, the service address used by the user terminal is allocated to the user terminal, thereby meeting the needs of specific users for fixed IP addresses.
[0071] Figure 3FIG. 1 is a schematic diagram of the structure of an SMF entity according to an embodiment of the present disclosure. Figure 3 As shown, the SMF entity includes a first processing module 31 , a second processing module 32 and a third processing module 33 .
[0072] The first processing module 31 is configured to extract the session parameters of the user terminal from the session creation request sent by the access and mobility management function AMF entity.
[0073] In some embodiments, the session creation request is a Nsmf_PDUSession_CreateSMContext message.
[0074] In some embodiments, the session parameters include a terminal identifier and a network identifier of the user terminal.
[0075] For example, the terminal identifier is IMSI, and the network identifier is DNN.
[0076] For example, the IMSI of the user terminal is: 460111000010000. The DNN is: 5gzx.
[0077] The second processing module 32 is configured to query whether there is a record of an address used by the user terminal according to the session parameters.
[0078] For example, the second processing module 32 queries in the cache whether there is a record of an address used by the user terminal according to the session parameters.
[0079] The third processing module 33 is configured to send the used address to the AMF entity if there is a record of the address used by the user terminal, so that the AMF entity sends the used address to the user terminal, and the user terminal uses the used address to access the service.
[0080] Figure 4 A schematic diagram of the structure of an SMF entity according to another embodiment of the present disclosure. Figure 4 and Figure 3 The difference is that in Figure 4 In the illustrated embodiment, the SMF entity further includes a fourth processing module 34 , a fifth processing module 35 and a sixth processing module 36 .
[0081] The fourth processing module 34 is configured to send a user address reporting policy to the user plane function UPF entity if there is no record of an address used by the user terminal, and allocate an IPv6 address segment with a preset prefix to the user terminal.
[0082] In some embodiments, the fourth processing module 34 sends the user address reporting policy to the UPF entity using the PFCP Session Establishment request.
[0083] In some embodiments, the length of the prefix is 64.
[0084] For example, the IPv6 address segment is: 240e:0180:0001:0010:: / 64.
[0085] The fifth processing module 35 is configured to send the IPv6 address segment to the AMF entity, so that the AMF entity sends the IPv6 address segment to the user terminal, and the user terminal selects an address in the IPv6 address segment as the service address and uses the service address for service access.
[0086] For example, the user terminal selects one of the following addresses in the IPv6 address segment as the service address:
[0087] 240e:0180:0001:0010:000F:000F:000F:000F
[0088] The sixth processing module 36 is configured to record the service address and session parameters after receiving the service address of the user terminal sent by the UPF entity, wherein the UPF entity obtains the service address according to the user address reporting policy and reports it to the SMF entity.
[0089] Figure 5 FIG. 1 is a schematic diagram of the structure of an SMF entity according to another embodiment of the present disclosure. Figure 5 As shown, the SMF entity includes a memory 51 and a processor 52.
[0090] The memory 51 is used to store instructions. The processor 52 is coupled to the memory 51. The processor 52 is configured to execute the instructions stored in the memory to implement the following. Figure 1 or Figure 2 The method of any one of the embodiments.
[0091] like Figure 5 As shown, the SMF entity also includes a communication interface 53 for information exchange with other devices. At the same time, the SMF entity also includes a bus 54, through which the processor 52, the communication interface 53, and the memory 51 communicate with each other.
[0092] The memory 51 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory. The memory 51 may also be a memory array. The memory 51 may also be divided into blocks, and the blocks may be combined into virtual volumes according to certain rules.
[0093] In addition, the processor 52 may be a central processing unit (CPU), or may be an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present disclosure.
[0094] The present disclosure also relates to a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the following are implemented: Figure 1 or Figure 2 The method of any one of the embodiments.
[0095] Figure 6 FIG. 1 is a schematic diagram of the structure of a communication system according to an embodiment of the present disclosure. Figure 6 As shown, the communication system includes an SMF entity 61, an AMF entity 62 and a user terminal 63. The SMF entity 61 is Figure 3-Figure 5 The SMF entity involved in any embodiment.
[0096] The AMF entity 62 is configured to send a session creation request to the SMF entity 61, wherein the session creation request includes the session parameters of the user terminal, and also sends the address used by the user terminal sent by the SMF entity 61 to the user terminal 63.
[0097] In some embodiments, the session creation request is a Nsmf_PDUSession_CreateSMContext message.
[0098] In some embodiments, the session parameters include a terminal identifier and a network identifier of the user terminal.
[0099] For example, the terminal identifier is IMSI, and the network identifier is DNN.
[0100] For example, the IMSI of the user terminal is: 460111000010000. The DNN is: 5gzx.
[0101] The user terminal 63 is configured to access the service using the used address.
[0102] Figure 7 A schematic diagram of the structure of a communication system according to another embodiment of the present disclosure. Figure 7 and Figure 6 The difference is that in Figure 7 In the illustrated embodiment, the communication system further includes a UPF entity 64 .
[0103] The AMF entity 62 is configured to send the IPv6 address segment sent by the SMF entity 61 to the user terminal 63.
[0104] The user terminal 63 is configured to select an address in the IPv6 address segment as a service address and use the service address to access the service.
[0105] The UPF entity 64 is configured to receive the user address reporting policy sent by the SMF entity 61, obtain the service address used by the user terminal 63 according to the user address reporting policy, and report it to the SMF entity 61.
[0106] In some embodiments, the UPF entity 64 utilizes the PFCP Session Establishment request to receive the user address reporting policy sent by the SMF entity.
[0107] Figure 8 The present invention is a flowchart of an address allocation method according to another embodiment of the present invention.
[0108] In step 801, the AMF entity sends a session creation request to the SMF entity.
[0109] In some embodiments, the session creation request is a Nsmf_PDUSession_CreateSMContext message.
[0110] In step 802, the SMF entity extracts the session parameters of the user terminal from the session creation request, and queries whether there is a record of the address used by the user terminal based on the session parameters.
[0111] In some embodiments, the session parameters include a terminal identifier and a network identifier of the user terminal.
[0112] For example, the terminal identifier is IMSI, and the network identifier is DNN.
[0113] For example, the IMSI of the user terminal is: 460111000010000. The DNN is: 5gzx.
[0114] In some embodiments, the SMF entity queries the cache based on the session parameters to see whether there is a record of an address used by the user terminal.
[0115] In step 803, if there is no record of the address used by the user terminal, the SMF entity sends the user address reporting policy to the UPF entity.
[0116] In some embodiments, the user address reporting policy is sent to the UPF entity using a PFCP Session Establishment request.
[0117] In step 804, the SMF entity allocates an IPv6 address segment with a preset prefix to the user terminal.
[0118] In some embodiments, the length of the prefix is 64.
[0119] For example, the IPv6 address segment is: 240e:0180:0001:0010:: / 64.
[0120] In step 805, the SMF entity sends the IPv6 address segment to the AMF entity.
[0121] In step 806, the AMF entity sends the IPv6 address segment to the user terminal.
[0122] In step 807, the user terminal selects an address in the IPv6 address segment as a service address.
[0123] For example, the user terminal selects one of the following addresses in the IPv6 address segment as the service address:
[0124] 240e:0180:0001:0010:000F:000F:000F:000F
[0125] In step 808, the user terminal uses the service address to access the service.
[0126] In step 809, the UPF entity obtains the service address used by the user terminal according to the user address reporting policy.
[0127] In step 810, the UPF entity reports the service address used by the user terminal to the SMF entity.
[0128] In step 811, the SMF entity records the service address and session parameters.
[0129] In step 812, when the user terminal comes online again, the AMF entity sends a session creation request to the SMF entity again.
[0130] In step 813, the SMF entity extracts the session parameters of the user terminal from the session creation request, and queries whether there is a record of the address used by the user terminal based on the session parameters.
[0131] In step 814, if the address used by the user terminal is recorded, the SMF entity sends the address used by the user terminal to the AMF entity.
[0132] In step 815, the AMF entity sends the address used by the user terminal to the user terminal.
[0133] In step 816, the user terminal uses the used address to access the service.
[0134] By implementing the above embodiments of the present disclosure, the following beneficial effects can be obtained:
[0135] 1. Every time a user terminal goes online, the SMF entity can assign a fixed IP address to the user terminal, so that the user terminal uses the fixed IP address to access the service, meeting the demand of dedicated line customers for fixed IP.
[0136] 2. Dedicated line customers can query the user IP address of dedicated line users from the SMF entity in real time. The customer intranet can actively initiate downlink requests to online dedicated line users to meet the diverse business needs of dedicated line customers.
[0137] In some embodiments, the functional unit described above can be implemented as a general-purpose processor, a programmable logic controller (PLC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component or any appropriate combination thereof for performing the functions described in the present disclosure.
[0138] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0139] The description of the present disclosure is given for the purpose of illustration and description, and is not intended to be exhaustive or to limit the present disclosure to the disclosed form. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present disclosure, and to enable those of ordinary skill in the art to understand the present disclosure and thereby design various embodiments with various modifications suitable for specific uses.
Claims
1. An address allocation method, performed by a session management function SMF entity, comprising: Extract the session parameters of the user terminal from the session creation request sent by the access and mobility management function AMF entity; querying whether there is a record of an address used by the user terminal according to the session parameters; If an address used by the user terminal is recorded, the used address is sent to the AMF entity, so that the AMF entity sends the used address to the user terminal, so that the user terminal uses the used address to access the service; If the address used by the user terminal is not recorded, sending the user address reporting policy to the user plane function UPF entity; Allocating an IPv6 address segment with a preset prefix to the user terminal; Sending the IPv6 address segment to the AMF entity, so that the AMF entity sends the IPv6 address segment to the user terminal, and the user terminal selects an address in the IPv6 address segment as a service address and uses the service address to access the service; After receiving the service address of the user terminal sent by the UPF entity, the service address and the session parameters are recorded, wherein the UPF entity obtains the service address according to the user address reporting policy and reports it to the SMF entity.
2. The method according to claim 1, wherein: The session parameters include a terminal identifier and a network identifier of the user terminal.
3. The method according to claim 2, wherein: The terminal identifier is the International Mobile Subscriber Identity IMSI; The network identifier is a data network name DNN.
4. The method according to claim 1, wherein: The session creation request is a Nsmf_PDUSession_CreateSMContext message.
5. The method according to any one of claims 1 to 4, wherein: The sending of the user address reporting strategy to the user plane function UPF entity includes: The user address reporting policy is sent to the UPF entity using a message forwarding control protocol PFCP session establishment request.
6. The method according to any one of claims 1 to 4, wherein: The length of the prefix is 64.
7. A session management function SMF entity, comprising: A first processing module is configured to extract a session parameter of a user terminal from a session creation request sent by an access and mobility management function AMF entity; A second processing module is configured to query whether an address used by the user terminal is recorded according to the session parameter; A third processing module is configured to send the used address to the AMF entity if the address used by the user terminal is recorded, so that the AMF entity sends the used address to the user terminal, so that the user terminal uses the used address to access the service; The fourth processing module is configured to send a user address reporting policy to a user plane function UPF entity if the address used by the user terminal is not recorded, and allocate an IPv6 address segment with a preset prefix to the user terminal; a fifth processing module, configured to send the IPv6 address segment to the AMF entity, so that the AMF entity sends the IPv6 address segment to the user terminal, and the user terminal selects an address in the IPv6 address segment as a service address and uses the service address for service access; The sixth processing module is configured to record the service address and the session parameters after receiving the service address of the user terminal sent by the UPF entity, wherein the UPF entity obtains the service address according to the user address reporting policy and reports it to the SMF entity.
8. The session management function SMF entity according to claim 7, wherein: The session parameters include a terminal identifier and a network identifier of the user terminal.
9. The session management function SMF entity according to claim 8, wherein: The terminal identifier is the International Mobile Subscriber Identity IMSI; The network identifier is a data network name DNN.
10. The session management function SMF entity according to claim 7, wherein: The session creation request is a Nsmf_PDUSession_CreateSMContext message.
11. The session management function SMF entity according to any one of claims 7 to 10, wherein: The fourth processing module is configured to send the user address reporting policy to the UPF entity using a message forwarding control protocol PFCP session establishment request.
12. The session management function (SMF) entity according to any one of claims 7 to 10, wherein: The length of the prefix is 64.
13. A session management function SMF entity, comprising: a memory configured to store instructions; A processor is coupled to the memory, and the processor is configured to execute the method according to any one of claims 1 to 6 based on instructions stored in the memory.
14. A communication system comprising: A session management function SMF entity as claimed in any one of claims 7 to 13; An access and mobility management function AMF entity is configured to send a session creation request to the SMF entity, wherein the session creation request includes session parameters of the user terminal, and sends the address used by the user terminal sent by the SMF entity to the user terminal; The user terminal is configured to use the used address to access the service.
15. The system of claim 14, wherein: The session parameters include a terminal identifier and a network identifier of the user terminal.
16. The system of claim 15, wherein: The terminal identifier is the International Mobile Subscriber Identity IMSI; The network identifier is a data network name DNN.
17. The system of claim 14, wherein: The session creation request is a Nsmf_PDUSession_CreateSMContext message.
18. The system according to any one of claims 14 to 17, further comprising a user plane function (UPF) entity, wherein: The AMF entity is configured to send the IPv6 address segment sent by the SMF entity to the user terminal; The user terminal is configured to select an address in the IPv6 address segment as a service address and use the service address to access the service; The user plane function UPF entity is configured to receive the user address reporting policy sent by the SMF entity, obtain the service address according to the user address reporting policy and report it to the SMF entity.
19. The system of claim 18, wherein: The UPF entity utilizes the Message Forwarding Control Protocol PFCP session establishment request to receive the user address reporting policy sent by the SMF entity.
20. A non-transitory computer-readable storage medium, wherein: The computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.
