WO2022017380A1 - 用户ip地址分配管理方法、装置及会话管理功能实体 - Google Patents

用户ip地址分配管理方法、装置及会话管理功能实体 Download PDF

Info

Publication number
WO2022017380A1
WO2022017380A1 PCT/CN2021/107356 CN2021107356W WO2022017380A1 WO 2022017380 A1 WO2022017380 A1 WO 2022017380A1 CN 2021107356 W CN2021107356 W CN 2021107356W WO 2022017380 A1 WO2022017380 A1 WO 2022017380A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
smf
information
user
allocation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2021/107356
Other languages
English (en)
French (fr)
Inventor
王荣
周越
宋月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Publication of WO2022017380A1 publication Critical patent/WO2022017380A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a user IP address allocation management method, device, and session management functional entity.
  • 5GC next generation mobile communication technology core network, namely 5G core network
  • SMF session management function
  • PSA protocol data unit session anchor point
  • UPF user plane function
  • the IP address pool allocates an IP address to the UE (that is, the SMF allocates the UE IP address), and also supports the SMF to request the UPF to allocate an IP address to the UE and obtain the UE IP address allocated by the UPF through the N4 interface (the interface between the SMF and the UPF) process ( i.e. UPF assigns UE IP address).
  • the assignment of UE IP addresses by SMF is a required function, and the assignment of UE IP addresses by UPF is optional.
  • 5GC supports the formation of multiple SMFs into an SMF set (set).
  • SMF Packet Forwarding Control Protocol
  • PFCP Packet Forwarding Control Protocol
  • MPAS meaning that different SMFs in the SMF set are coupled through multiple PFCPs (one SMF and one pair) Association) for session continuous control
  • each SMF in the SMF set establishes a connection with the UPF.
  • the method of assigning UE IP addresses by SMF is adopted, since multiple SMFs control the UE IP address pool of the same UPF at the same time, there may be a situation that the same UE IP address is assigned by multiple SMFs.
  • the related art suggests that if the SMF set is used to connect the UPF (SSET scheme or MPAS scheme), the UE IP address is allocated by the UPF to avoid the address allocation conflict that may be caused by the SMF allocation of the UE IP address.
  • SSET scheme SSET scheme or MPAS scheme
  • the purpose of this application is to provide a user IP address allocation management method, device and session management functional entity, so as to solve the problem that the session may not be realized in the related art.
  • the embodiment of the present application provides a method for managing the IP address allocation of the IP address of the user internetworking protocol, which is applied to the SMF entity in the session management function SMF concentration, including:
  • the allocation information includes the first correspondence information between the target IP address and the SMF entity and the occupancy information of the target IP address;
  • the target IP address refers to at least one user IP address that can be allocated by the SMF entity
  • Different SMF entities in the SMF set correspond to different target IP addresses.
  • performing user IP address allocation according to the allocation information including:
  • an unoccupied user IP address is selected from the target IP addresses for allocation.
  • the record information includes second correspondence information between the other SMF entities and user IP addresses that can be allocated by the other SMF entities, and the user IP addresses that can be allocated by the other SMF entities in the SMF Occupancy information on the entity.
  • the allocation information and logging information are maintained dynamically.
  • the dynamic maintenance of the allocation information includes:
  • the occupancy information of the allocated user IP address is updated.
  • the dynamic maintenance of the allocation information and record information includes:
  • the SMF entity In the case that the control plane of the session is switched from the SMF entity to the other SMF entity, and the user IP address occupied by the session belongs to the target IP address of the SMF entity, the SMF entity's The occupancy information of the user IP address occupied by the session in the allocation information is occupied; or,
  • the SMF entity In the case that the control plane of the session is switched from the SMF entity to the other SMF entity, and the user IP address occupied by the session does not belong to the target IP address of the SMF entity, the SMF entity's all The occupancy status information of the user IP address occupied by the session in the record information is updated from occupied to unoccupied.
  • the dynamic maintenance of the allocation information and record information includes:
  • the SMF entity's said SMF entity is maintained.
  • the occupancy information of the user IP address occupied by the session in the allocation information is occupied; or,
  • the SMF entity In the case that the control plane of the session is switched from the other SMF entity to the SMF entity, and the user IP address occupied by the session does not belong to the target IP address of the SMF entity, the SMF entity's all The occupancy status information of the user IP address occupied by the session in the record information is updated from unoccupied to occupied.
  • the dynamic maintenance of the allocation information and record information includes:
  • the occupancy information of the released user IP address in the allocation information of the SMF entity is set by Occupied updated to unoccupied; or,
  • the occupancy information of the released user IP address in the record information of the SMF entity Update from occupied to unoccupied; and broadcast the message of the released user IP address.
  • the dynamic maintenance of the allocation information and record information includes:
  • the occupancy status information of the released user IP address is updated from occupied to unoccupied.
  • the dynamic maintenance of the allocation information and record information includes:
  • the response message includes at least the first correspondence of the SMF entity and the occupancy information of the target IP address;
  • the set of response messages includes response messages fed back by all other SMF entities in the SMF set.
  • the re-determining the allocation information according to the set of response messages includes:
  • the re-determined allocation information is obtained according to the first corresponding relationship and the re-determined occupancy information.
  • re-determining the occupancy information corresponding to the target IP address according to the set of response messages includes:
  • the occupancy information corresponding to the target IP address is re-determined according to the re-determined target IP address and the occupancy information of the target IP address in the response message set.
  • re-determining the occupancy information corresponding to the target IP address according to the re-determined target IP address and the occupancy information of the target IP address in the response message set including:
  • the first occupancy information is occupancy information indicating that the first user IP address is occupied
  • the first user IP address is any user IP address in the target IP addresses.
  • the response message set further includes the second correspondence information respectively corresponding to all the other SMF entities in the SMF set;
  • redetermining the record information according to the set of response messages includes:
  • the user IP addresses that can be allocated by the other SMF entities corresponding to each of the second correspondences determine the user IP addresses that can be allocated by the other SMF entities.
  • the occupancy information of the assigned user IP address on the SMF entity is not occupied;
  • the re-determined record information is obtained according to all the second correspondence information in the response message set and each determined occupancy situation information.
  • dynamically maintaining the record information includes:
  • the response message includes at least information on the occupation of user IP addresses that can be allocated by the other SMF entities.
  • the embodiment of the present application also provides an IP address allocation management device for the user internetworking protocol, which is applied to the SMF entity in the session management function SMF concentration, including:
  • a first obtaining module configured to obtain allocation information of the target IP address, where the allocation information includes the first correspondence information between the target IP address and the SMF entity and the occupancy information of the target IP address;
  • a first allocation module configured to allocate user IP addresses according to the allocation information
  • the target IP address refers to at least one user IP address that can be allocated by the SMF entity
  • Different SMF entities in the SMF set correspond to different target IP addresses.
  • the first distribution module includes:
  • a first determining submodule configured to determine the occupancy information of the target IP address according to the allocation information
  • the first allocation sub-module is configured to select an unoccupied user IP address from the target IP addresses for allocation according to the occupancy information.
  • the second obtaining module is used to obtain the record information of user IP addresses that can be allocated by other SMF entities in the SMF set;
  • the record information includes second correspondence information between the other SMF entities and user IP addresses that can be allocated by the other SMF entities, and the user IP addresses that can be allocated by the other SMF entities in the SMF Occupancy information on the entity.
  • the first maintenance module is used to dynamically maintain the allocation information and record information.
  • the first maintenance module includes:
  • the first update sub-module is configured to update the occupancy information of the allocated user IP address after the user IP address is allocated according to the allocation information.
  • the first maintenance module includes:
  • the first processing submodule is configured to, when the control plane of the session is switched from the SMF entity to the other SMF entity, and the user IP address occupied by the session belongs to the target IP address of the SMF entity, Maintain the occupancy status information of the user IP address occupied by the session in the allocation information of the SMF entity as occupied; or,
  • the SMF entity In the case that the control plane of the session is switched from the SMF entity to the other SMF entity, and the user IP address occupied by the session does not belong to the target IP address of the SMF entity, the SMF entity's all The occupancy status information of the user IP address occupied by the session in the record information is updated from occupied to unoccupied.
  • the first maintenance module includes:
  • the second processing submodule is configured to, when the control plane of the session is switched from the other SMF entity to the SMF entity, and the user IP address occupied by the session belongs to the target IP address of the SMF entity, Maintain the occupancy status information of the user IP address occupied by the session in the allocation information of the SMF entity as occupied; or,
  • the first maintenance module includes:
  • the third processing submodule is configured to, when there is a session release user IP address, and the released user IP address belongs to the target IP address of the SMF entity, release the released user IP address in the allocation information of the SMF entity.
  • the occupancy information of the user's IP address is updated from occupied to unoccupied; or,
  • the occupancy information of the released user IP address in the record information of the SMF entity Update from occupied to unoccupied; and broadcast the message of the released user IP address.
  • the first maintenance module includes:
  • the first receiving submodule for receiving the message of releasing the user IP address broadcasted by the other SMF entities
  • the second update sub-module is configured to update the occupancy information of the released user IP address from occupied to unoccupied according to the message.
  • the first maintenance module includes:
  • a first broadcasting sub-module configured to broadcast a message of restarting the SMF entity to the other SMF entities when the allocation information and the recording information are lost;
  • a second determination submodule configured to re-determine the allocation information and the record information according to the response message set
  • the response message includes at least the first correspondence of the SMF entity and the occupancy information of the target IP address;
  • the set of response messages includes response messages fed back by all other SMF entities in the SMF set.
  • the second determination submodule includes:
  • a first determining unit for re-determining the occupancy information corresponding to the target IP address according to the set of response messages
  • a first processing unit configured to obtain the re-determined allocation information according to the first corresponding relationship and the re-determined occupancy information.
  • the first determining unit includes:
  • a first determination subunit configured to re-determine the target IP address according to the first correspondence in the response message set
  • the second determining subunit is configured to re-determine the occupancy information corresponding to the target IP address according to the re-determined target IP address and the occupancy information of the target IP address in the response message set.
  • the second determination subunit is specifically used for:
  • the first occupancy information is occupancy information indicating that the first user IP address is occupied
  • the first user IP address is any user IP address in the target IP addresses.
  • the response message set further includes the second correspondence information respectively corresponding to all the other SMF entities in the SMF set;
  • the second determination submodule includes:
  • a second determining unit configured to determine, according to all the second correspondence information in the response message set, the user IP addresses that can be allocated by the other SMF entities corresponding to each of the second correspondences, and determine The occupancy information on the SMF entity of the user IP addresses that can be allocated by the other SMF entities is not occupied;
  • a third determining unit configured to obtain the re-determined record information according to all the second correspondence information in the response message set and each determined occupancy situation information.
  • the first maintenance module includes:
  • a second receiving submodule configured to receive the SMF restart message broadcast by the other SMF entities
  • a first feedback submodule configured to feed back a response message to the other SMF entities according to the SMF restart message
  • the response message includes at least information on the occupation of user IP addresses that can be allocated by the other SMF entities.
  • the embodiment of the present application also provides a session management function SMF entity, where the SMF entity is an SMF entity in the SMF concentration, including: a processor and a transceiver;
  • the processor is configured to obtain allocation information of the target IP address, where the allocation information includes the first correspondence information between the target IP address and the SMF entity and the occupancy information of the target IP address;
  • the target IP address refers to at least one user IP address that can be allocated by the SMF entity
  • Different SMF entities in the SMF set correspond to different target IP addresses.
  • the processor is used for, including:
  • an unoccupied user IP address is selected from the target IP addresses for allocation.
  • the processor is also used for:
  • the record information includes second correspondence information between the other SMF entities and user IP addresses that can be allocated by the other SMF entities, and the user IP addresses that can be allocated by the other SMF entities in the SMF Occupancy information on the entity.
  • the processor is also used for:
  • the allocation information and logging information are maintained dynamically.
  • the processor is specifically used for:
  • the occupancy information of the allocated user IP address is updated.
  • the processor is specifically used for:
  • the SMF entity In the case that the control plane of the session is switched from the SMF entity to the other SMF entity, and the user IP address occupied by the session belongs to the target IP address of the SMF entity, the SMF entity's The occupancy information of the user IP address occupied by the session in the allocation information is occupied; or,
  • the SMF entity In the case that the control plane of the session is switched from the SMF entity to the other SMF entity, and the user IP address occupied by the session does not belong to the target IP address of the SMF entity, the SMF entity's all The occupancy status information of the user IP address occupied by the session in the record information is updated from occupied to unoccupied.
  • the processor is specifically used for:
  • the SMF entity's said SMF entity is maintained.
  • the occupancy information of the user IP address occupied by the session in the allocation information is occupied; or,
  • the SMF entity In the case that the control plane of the session is switched from the other SMF entity to the SMF entity, and the user IP address occupied by the session does not belong to the target IP address of the SMF entity, the SMF entity's all The occupancy status information of the user IP address occupied by the session in the record information is updated from unoccupied to occupied.
  • the processor is specifically used for:
  • the occupancy information of the released user IP address in the allocation information of the SMF entity is set by Occupied updated to unoccupied; or,
  • the occupancy information of the released user IP address in the record information of the SMF entity It is updated from being occupied to not being occupied; and the message of the released user IP address is broadcasted through the transceiver.
  • the processor is specifically used for:
  • the occupancy status information of the released user IP address is updated from occupied to unoccupied.
  • the processor is specifically used for:
  • the response message includes at least the first correspondence of the SMF entity and the occupancy information of the target IP address;
  • the set of response messages includes response messages fed back by all other SMF entities in the SMF set.
  • the processor is specifically used for:
  • the re-determined allocation information is obtained according to the first corresponding relationship and the re-determined occupancy information.
  • the processor is specifically used for:
  • the occupancy information corresponding to the target IP address is re-determined according to the re-determined target IP address and the occupancy information of the target IP address in the response message set.
  • the processor is specifically used for:
  • the first occupancy information is occupancy information indicating that the first user IP address is occupied
  • the first user IP address is any user IP address in the target IP addresses.
  • the response message set further includes the second correspondence information respectively corresponding to all the other SMF entities in the SMF set;
  • processor is specifically used for:
  • the user IP addresses that can be allocated by the other SMF entities corresponding to each of the second correspondences determine the user IP addresses that can be allocated by the other SMF entities.
  • the occupancy information of the assigned user IP address on the SMF entity is not occupied;
  • the re-determined record information is obtained according to all the second correspondence information in the response message set and each determined occupancy situation information.
  • the processor is specifically used for:
  • the response message includes at least information on the occupation of user IP addresses that can be allocated by the other SMF entities.
  • Embodiments of the present application also provide a session management function SMF entity, including a memory, a processor, and a computer program stored in the memory and running on the processor; the processor implements the program when the processor executes the program.
  • a session management function SMF entity including a memory, a processor, and a computer program stored in the memory and running on the processor; the processor implements the program when the processor executes the program.
  • Embodiments of the present application further provide a readable storage medium, on which a program is stored, and when the program is executed by a processor, implements the steps in the above-mentioned method for managing the IP address allocation of the User Internet Protocol.
  • the IP address allocation management method of the User Internet Protocol obtains the allocation information of the target IP address, and the allocation information includes the first correspondence information between the target IP address and the SMF entity and all the corresponding information.
  • FIG. 1 is a schematic diagram of an SSET scheme in the related art
  • Fig. 2 is the MPAS scheme schematic diagram in the related art
  • FIG. 3 is a schematic flowchart of a method for managing user IP address allocation according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of UE IP address pool division according to an embodiment of the application.
  • FIG. 5 is a schematic diagram of a UE IP address pool table according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of UE IP address allocation according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of dynamic marking of UE IP addresses according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a UE IP address dynamic marking and an on-demand broadcast release message according to an embodiment of the application
  • FIG. 9 is a schematic diagram of SMF restarting according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a user IP address allocation management device according to an embodiment of the application.
  • FIG. 11 is a schematic structural diagram of a session management function SMF entity according to an embodiment of the present application.
  • the present application provides a user Internet Internet Protocol IP address allocation management method, which is applied to the SMF entity in the session management function SMF concentration, as shown in Figure 3, including:
  • Step 31 Obtain allocation information of the target IP address, where the allocation information includes the first correspondence information between the target IP address and the SMF entity and the occupancy information of the target IP address;
  • Step 32 according to the allocation information, perform user IP address allocation
  • the target IP address refers to at least one user IP address that can be allocated by the SMF entity
  • Different SMF entities in the SMF set correspond to different target IP addresses.
  • the IP address allocation management method obtains the allocation information of the target IP address, where the allocation information includes the first correspondence information between the target IP address and the SMF entity and the occupancy information of the target IP address; according to the allocation information, perform user IP address allocation; wherein, the target IP address refers to at least one user IP address that can be allocated by the SMF entity; the SMF centralized Different SMF entities corresponding to different target IP addresses; it can realize the use of SMF in the SMF set to allocate UE IP addresses, and avoid address allocation conflicts, ensure the normal realization of UE IP address allocation, and then ensure the normal realization of sessions, very good It solves the problem that the session may not be realized in the related art.
  • the performing user IP address allocation according to the allocation information includes: determining occupancy information of the target IP address according to the allocation information; and obtaining information from the target IP address according to the occupancy information Select an unoccupied user IP address to assign.
  • the method for managing IP address allocation of the User Internet Protocol further includes: acquiring record information of user IP addresses that can be allocated by other SMF entities in the SMF set; wherein the record information includes the other SMFs The second correspondence relationship information between the entity and the user IP addresses that can be allocated by the other SMF entities, and the occupancy information on the SMF entity of the user IP addresses that can be allocated by the other SMF entities.
  • other SMF entities refer to SMF entities other than the SMF entity.
  • the number of other SMF entities is at least one.
  • the method for managing the IP address allocation of the IP address further includes: dynamically maintaining the allocation information and recording information.
  • the dynamically maintaining the allocation information includes: after allocating the user IP addresses according to the allocation information, updating the information on the occupation of the allocated user IP addresses.
  • the occupancy information is updated from unoccupied (available) to occupied (unavailable).
  • any SMF control in the set for example: when SMF A assigns a UE IP address to a session, the session may be switched to SMF B in the set, when the session is migrated from SMF A to SMF B, if no special processing, SMF A will consider that the initially allocated UE IP address can be allocated again, and the UE IP address may be repeatedly allocated in the next session request.
  • SMF A assigns a UE IP address to a session
  • the session may be switched to SMF B in the set, when the session is migrated from SMF A to SMF B, if no special processing, SMF A will consider that the initially allocated UE IP address can be allocated again, and the UE IP address may be repeatedly allocated in the next session request.
  • the dynamic maintenance of the allocation information and the record information includes: switching from the SMF entity to the other SMF entity on a control plane where a session exists, and the user IP address occupied by the session belongs to In the case of the target IP address of the SMF entity, the occupancy status information of the user IP address occupied by the session in the allocation information of the SMF entity is maintained as occupied; When the SMF entity is switched to the other SMF entity, and the user IP address occupied by the session does not belong to the target IP address of the SMF entity, the record information of the SMF entity is stored in the session. The occupancy status information of the occupied user IP address is updated from occupied to unoccupied.
  • the dynamic maintenance of the allocation information and the record information includes: switching from the other SMF entity to the SMF entity on the control plane where the session exists, and the user IP address occupied by the session belongs to the In the case of the target IP address of the SMF entity, the occupancy status information of the user IP address occupied by the session in the allocation information of the SMF entity is maintained as occupied; If the other SMF entity is switched to the SMF entity, and the user IP address occupied by the session does not belong to the target IP address of the SMF entity, the record information of the SMF entity is stored in the session. The occupancy status information of the occupied user IP address is updated from unoccupied to occupied.
  • the dynamic maintenance of the allocation information and the record information includes: in the case that a session releases the user IP address and the released user IP address belongs to the target IP address of the SMF entity, The occupancy information of the released user IP address in the allocation information of the SMF entity is updated from occupied to unoccupied; or, the user IP address is released when there is a session, and the released user IP address does not belong to the SMF entity In the case of the target IP address of the SMF entity, the occupancy information of the released user IP address in the record information of the SMF entity is updated from being occupied to not being occupied; And broadcast the message of the released user IP address .
  • the second exemplary measure, the dynamic maintenance of the allocation information and the record information includes: receiving a message of releasing the user IP address broadcast by the other SMF entities; according to the message, the occupancy situation of the user IP address to be released The information is updated from occupied to unoccupied.
  • the dynamic maintenance of the allocation information and the record information includes: in the case that the allocation information and the record information are lost, broadcasting a message of restarting the SMF entity to the other SMF entities; The response message fed back by all other SMF entities in the SMF set according to the restart message of the SMF entity; according to the response message set, the allocation information and the record information are re-determined; wherein, the response message at least includes all the SMF entity's information.
  • the first correspondence relationship and the occupancy information of the target IP address; the response message set includes the response messages fed back by all other SMF entities in the SMF set.
  • the re-determining the allocation information according to the set of response messages includes: re-determining the occupancy information corresponding to the target IP address according to the set of response messages; according to the first correspondence and the re-determined occupancy situation information, the re-determined allocation information is obtained.
  • the re-determining the occupancy information corresponding to the target IP address according to the response message set includes: re-determining the target IP address according to the first correspondence in the response message set;
  • the occupancy information corresponding to the target IP address is re-determined according to the re-determined target IP address and the occupancy information of the target IP address in the response message set.
  • re-determining the occupancy information corresponding to the target IP address according to the re-determined target IP address and the occupancy information of the target IP address in the response message set includes: In the case where there is first occupancy information in the occupancy information of the first user IP address in the response message set, determine that the occupancy information of the first user IP address is occupied; otherwise, determine that the first user The occupancy information of the IP address is not occupied; wherein, the first occupancy information is occupancy information indicating that the first user IP address is occupied; the first user IP address is one of the target IP addresses any user IP address.
  • the response message set further includes the second correspondence information respectively corresponding to all the other SMF entities in the SMF set; wherein, redetermining the record information according to the response message set includes: : According to all the second correspondence information in the response message set, determine the user IP addresses that can be allocated by the other SMF entities corresponding to each of the second correspondences, and determine the user IP addresses of the other SMF entities.
  • the occupancy information of the user IP addresses that can be allocated on the SMF entity is all unoccupied; according to all the second correspondence information in the response message set and the determined occupancy information, a re-determined occupancy information is obtained. the record information.
  • the second exemplary measure, dynamically maintaining the record information includes: receiving an SMF restart message broadcast by the other SMF entity; feeding back a response message to the other SMF entity according to the SMF restart message; wherein the The response message at least includes information on the occupancy status of user IP addresses that can be allocated by the other SMF entities.
  • the user IP addresses that can be allocated by other SMF entities are the target IP addresses corresponding to other SMF entities; the measures here can be understood as the SMF maintaining the record information of the SMF, or it can be understood as assisting in maintaining the allocation of other SMF entities information.
  • the following describes the method for managing the IP address allocation of the IP address provided by the embodiment of the present application by way of example.
  • the embodiment of the present application provides a user IP address allocation management method, which can be specifically implemented as a method for UE IP address allocation by SMF in an SMF set and preventing address allocation conflicts, specifically:
  • the UE IP address pool (that is, the set of IP addresses that can be allocated by all SMF entities in the SMF set) is divided according to the total number of SMFs in the SMF set (Set), and divided into multiple UE IP address blocks.
  • the allocatable UE IP address pool is divided into M blocks. This solution has no specific requirements on the segmentation target and segmentation method of the UE IP address pool, and can be flexibly formulated according to the operator's needs.
  • segmentation method For example, the following segmentation method can be used:
  • the allocatable UE IP address pool is divided into M blocks of UE IP address blocks.
  • Each SMF in the SMF set (set) has only its own controllable and assignable UE IP address block (that is, the above-mentioned target IP address);
  • the UE IP address blocks are numbered sequentially, starting from 1 to m (m corresponds to M, and m is an integer greater than or equal to 2).
  • n represents the number of any UE IP address block.
  • An SMF in the set uniquely corresponds to a UE IP address block number (that is, different SMF entities correspond to different target IP addresses).
  • Each SMF records (m,n) two parameters.
  • m represents the total number of SMFs in the Set (that is, the total number of UE IP address blocks), and n represents the number of UE IP address blocks that SMF can control and assign.
  • XX.XX.XX.XX in the figure represents an IP address
  • Each SMF in the SMF set (set) records (maintains) a UE IP address pool table (that is, records the above allocation information and the total information of the recorded information, the table is a presentation form), including all UE IP addresses block information.
  • a UE IP address pool table that is, records the above allocation information and the total information of the recorded information, the table is a presentation form
  • Each SMF maintains a UE IP address pool table, which contains UE IP address information of all UE IP address blocks in the set.
  • Each UE IP address corresponds to two attributes, one is the address block number to which the UE IP address belongs; the other is the identification of whether the UE IP address is occupied (that is, the above occupancy information, occupied corresponds to the following unavailable, Occupied corresponds to the following available).
  • each SMF has its own controllable and assignable UE IP address block n, and also knows the UE IP address information that is not available to this SMF.
  • y means available
  • n means unavailable
  • XX.XX.XX.XX means an IP address
  • Each SMF in the SMF set marks whether the UE IP address is available as needed, and dynamically maintains the UE IP address pool table.
  • the SMF in the SMF set can only select and assign the UE IP address from the n-number UE IP address block that can be assigned and controlled by itself, and at the same time change the (assigned) UE Status flag of the IP address, from available to unavailable.
  • the SMF obtains the list of UE IP addresses that can be allocated by the SMF from the n-numbered UE IP address block.
  • SMF selects UE IP address from its own n-number UE IP address block and marks this (selected) UE IP address It has been allocated to be unavailable (that is, the occupancy information is changed from available to unavailable), as shown in Figure 6 (the PDU Session Establish in the figure indicates that the protocol data unit session is established, and y ⁇ n indicates that the status changes from available to unavailable). , other refer to the meaning represented in Figure 5).
  • the SMF can and can only select and assign from its own n-number UE IP address block.
  • SMF A and B can dynamically mark the availability of this UE IP address.
  • SMF B After the session control plane is switched to SMF B, SMF B serves this session; see Figure 7 for details (see Figure 5 for the meaning of each symbol):
  • SMF A When the UE IP address occupied by the session belongs to the n-number UE IP address block owned by this SMF, the mark remains unchanged, and the UE IP address is still unavailable; when the UE IP address occupied by the session does not belong to this SMF Owned block of UE IP address n, then change the flag from unavailable to available.
  • SMF B When the UE IP address occupied by the session belongs to the n-number UE IP address block owned by this SMF, the mark remains unchanged, and the UE IP address is still unavailable; when the UE IP address occupied by the session does not belong to this SMF owns the n-number UE IP address block, then the flag is changed from available to unavailable.
  • SMF A releases the UE IP address
  • SMF A broadcasts the UE IP address release message on demand, and SMF A and other SMFs in the set dynamically mark the available state of the UE IP address.
  • SMF may release some UE IP addresses due to session release, session update, etc.
  • Available UE IP Address list in Figure 8 represents the list of available UE IP addresses, and add represents the list of available UE IP addresses.
  • UE IP address, 1 address of address block No. 1, 2 addresses of address block No. 2, and 1 address of address block No. m are released in Figure 8):
  • SMF A When the released UE IP address belongs to the nth UE IP address block owned by this SMF, the flag is changed from unavailable to available; this UE IP address release message is not broadcast.
  • SMF A When the released UE IP address does not belong to the n-number UE IP address block owned by this SMF, change the mark from unavailable to available, and broadcast the release message of the UE IP address (in order to allow the IP address to be released) Allocator knows).
  • Broadcast messages can contain the following:
  • a list of released UE IP addresses including one or more UE IP addresses.
  • SMFs in the set When receiving the UE IP address release message, check and confirm that the UE IP address is marked as available in the locally maintained UE IP address pool table. If the UE IP address is marked as unavailable, the marking will be changed. is available.
  • the SMF In the case that the allocation information and record information are lost, for example, after a certain SMF in the SMF set (set) restarts, the SMF broadcasts a restart message, and other SMFs in the set share the locally maintained UE IP address pool table, and restart the SMF Create and maintain the UE IP address pool table accordingly.
  • the restart message can contain the following:
  • the SMF in the SMF set (set) shares the UE IP address pool table maintained by the node.
  • Shared information can include the following:
  • the restarted SMF integrates the UE IP address pool table sent by each SMF, and creates and maintains its own UE IP address pool table.
  • Restart SMF to mark whether the UE IP address is available according to the information shared by other nodes:
  • IP addresses in the UE IP address block that are not owned (controllable and assignable) by the SMF are marked as available.
  • SMF A, SMF B, and SMF C form a set.
  • SMF A assigns a UE IP address to a session from its own UE IP address block.
  • the session control plane is switched from SMF A to SMF B.
  • SMF C the session control plane is switched from SMF A to SMF B.
  • SMF C the session control plane is switched from SMF A to SMF B.
  • SMF C the session control plane is switched from SMF A to SMF B.
  • SMF C fails and restarts, and the session is switched from SMF C to SMF A.
  • SMF A is not faulty, then SMF A allocates a UE IP address for a session from its own assignable UE IP address block, and changes the flag (status flag) of this UE IP address to unavailable.
  • SMF A fails, and the session control plane is switched from SMF A to SMF B.
  • SMF B processes the session, and SMF B changes the marking of the UE IP address maintained by this SMF (SMF B) from available to unavailable.
  • SMF B changes the marking of the UE IP address maintained by this SMF (SMF B) from unavailable to available.
  • SMF C processes the session and changes the flag of the UE IP address maintained by this SMF (SMFC) from available to unavailable.
  • the restarted SMF A summarizes the shared information and rebuilds its own UE IP address pool table.
  • SMF A receives the marking of the above-mentioned UE IP address from SMF B as available, and SMF C marks the UE IP address as unavailable, then take the OR of the two markings, SMF A This UE IP address will be marked as unavailable.
  • control plane of the session is swapped from SMF C back to SMF A.
  • SMF C changes the marking of the UE IP address maintained by this SMF (SMFC) from unavailable to available.
  • SMF A handles the session, the UE IP address mark remains unchanged, and it is still unavailable.
  • Sub-scenario 1 SMF A releases this session.
  • SMF A releases the UE IP address and changes the marking of the UE IP address from unavailable to available.
  • Sub-scenario 2 The control plane of the session is switched from SMF A to SMF C. SMFC releases this session.
  • the session control plane is switched from SMF A to SMF C.
  • SMF C processes the session and changes the flag of the UE IP address maintained by this SMF (SMFC) from available to unavailable.
  • the SMF C releases the session and the UE IP address is also released.
  • SMF C marks the UE IP address maintained by this SMF (SMFC C) as available.
  • SMF C broadcasts the UE IP address release message.
  • SMF A receives the UE IP address release message from SMF C, checks the locally maintained UE IP address pool table, and finds that the UE IP address is marked as unavailable, then changes it to available.
  • SMF B receives the UE IP address release message from SMF C, checks the locally maintained UE IP address pool table, and finds that the UE IP address is marked as available, and does not handle it.
  • the "initial marking state" involved in the accompanying drawings refers to the marking state of the UE IP address pool table ( Including the marking status of the UE IP occupancy, that is, the marking status of the occupancy information).
  • the UE IP address is allocated by the SMF.
  • Each SMF in the SMF set has only its own controllable and assignable UE IP address block.
  • Each SMF in the SMF set records (maintains) a UE IP address pool table, including all UE IP address block information.
  • Each SMF in the SMF set marks whether the UE IP address is available as needed, and dynamically maintains the UE IP address pool table.
  • the SMF in the SMF set can only select and allocate the UE IP address from the n-number UE IP address block that can be controlled and allocated by itself, and at the same time change the UE IP address. mark, from available to unavailable.
  • SMF A and B can dynamically mark the available state of the UE IP address.
  • SMF A When SMF A releases the UE IP address, SMF A broadcasts the UE IP address release message as needed, and SMF A and other SMFs in the set dynamically mark the available state of the UE IP address.
  • the SMF After a SMF in the SMF set (set) restarts, the SMF broadcasts a restart message, and other SMFs in the set share the UE IP address pool table maintained locally, and the restart SMF creates and maintains the UE IP address pool table accordingly.
  • the restarted SMF integrates the UE IP address pool table sent by each SMF, and creates and maintains its own UE IP address pool table.
  • the solution provided by the embodiments of the present application can realize the introduction of the concept of SMF set (set), and the user IP address allocation is performed by the SMF, while avoiding conflicts;
  • the realization mechanism is: the user IP address pool is centralized according to the SMF.
  • the total number of SMFs is divided, and each SMF is assigned to a corresponding non-conflicting IP address block, and each SMF maintains a general table of user IP address pools in the SMF, that is, each SMF has a list of exclusive available user IP addresses, and It also knows the IP address pool to which the user IP addresses that are not available to the SMF belong, and because the SMF marks the assigned IP addresses, the address assignment conflict caused by the SMF switching can be avoided.
  • the embodiment of the present application also provides an IP address allocation management device of the User Internet Protocol, which is applied to the SMF entity in the session management function SMF concentration, as shown in FIG. 10 , including:
  • a first obtaining module 101 configured to obtain allocation information of a target IP address, where the allocation information includes first correspondence information between the target IP address and the SMF entity and information on the occupancy of the target IP address;
  • a first allocation module 102 configured to allocate user IP addresses according to the allocation information
  • the target IP address refers to at least one user IP address that can be allocated by the SMF entity
  • Different SMF entities in the SMF set correspond to different target IP addresses.
  • the IP address allocation management device acquires the allocation information of the target IP address, where the allocation information includes the first correspondence information between the target IP address and the SMF entity and the occupancy information of the target IP address; according to the allocation information, perform user IP address allocation; wherein, the target IP address refers to at least one user IP address that can be allocated by the SMF entity; the SMF centralized Different SMF entities corresponding to different target IP addresses; it can realize the use of SMF in the SMF set to allocate UE IP addresses, and avoid address allocation conflicts, ensure the normal realization of UE IP address allocation, and then ensure the normal realization of sessions, very good It solves the problem that the session may not be realized in the related art.
  • the first allocation module includes: a first determination submodule, configured to determine the occupancy information of the target IP address according to the allocation information; a first allocation submodule, used to determine the occupancy information according to the occupancy information, and select an unoccupied user IP address from the target IP addresses for allocation.
  • the user Internet Protocol IP address allocation management device further includes: a second acquisition module, configured to acquire the record information of user IP addresses that can be allocated by other SMF entities in the SMF set; wherein, the The record information includes the second correspondence information between the other SMF entities and the user IP addresses that can be allocated by the other SMF entities, and the occupation of the user IP addresses that can be allocated by the other SMF entities on the SMF entity situation information.
  • a second acquisition module configured to acquire the record information of user IP addresses that can be allocated by other SMF entities in the SMF set; wherein, the The record information includes the second correspondence information between the other SMF entities and the user IP addresses that can be allocated by the other SMF entities, and the occupation of the user IP addresses that can be allocated by the other SMF entities on the SMF entity situation information.
  • the user Internet Protocol IP address allocation management device further includes: a first maintenance module, configured to dynamically maintain the allocation information and record information.
  • the first maintenance module includes: a first update sub-module, configured to update the occupancy information of the allocated user IP addresses after the user IP address allocation is performed according to the allocation information.
  • any SMF control in the set for example: when SMF A assigns a UE IP address to a session, the session may be switched to SMF B in the set, when the session is migrated from SMF A to SMF B, if no special processing, SMF A will consider that the initially allocated UE IP address can be allocated again, and the UE IP address may be repeatedly allocated in the next session request.
  • SMF A assigns a UE IP address to a session
  • the session may be switched to SMF B in the set, when the session is migrated from SMF A to SMF B, if no special processing, SMF A will consider that the initially allocated UE IP address can be allocated again, and the UE IP address may be repeatedly allocated in the next session request.
  • the first maintenance module includes: a first processing sub-module for switching from the SMF entity to the other SMF entity on the control plane where a session exists, and the user occupied by the session
  • the occupancy status information of the user IP address occupied by the session in the allocation information of the SMF entity is maintained as occupied; or, when there is a session control
  • the SMF entity is switched to the other SMF entity, and the user IP address occupied by the session does not belong to the target IP address of the SMF entity, the record information of the SMF entity
  • the occupancy status information of the user IP address occupied by the session is updated from occupied to unoccupied.
  • the first maintenance module includes: a second processing sub-module for switching from the other SMF entity to the SMF entity on the control plane of the existing session, and the user occupied by the session
  • the occupancy status information of the user IP address occupied by the session in the allocation information of the SMF entity is maintained as occupied; or, when there is a session control
  • the record information of the SMF entity The occupancy status information of the user IP address occupied by the session is updated from unoccupied to occupied.
  • the first maintenance module includes: a third processing submodule, configured to release the user IP address in the presence of a session, and the released user IP address belongs to the target IP address of the SMF entity, Update the occupancy information of the released user IP address in the allocation information of the SMF entity from occupied to unoccupied; or, release the user IP address in the presence of a session, and the released user IP address does not belong to the In the case of the target IP address of the SMF entity, update the occupancy information of the released user IP address in the record information of the SMF entity from being occupied to being unoccupied; and broadcast the released user IP address address message.
  • a third processing submodule configured to release the user IP address in the presence of a session, and the released user IP address belongs to the target IP address of the SMF entity, Update the occupancy information of the released user IP address in the allocation information of the SMF entity from occupied to unoccupied; or, release the user IP address in the presence of a session, and the released user IP address does not belong to the In the case of the target IP address of
  • the first maintenance module includes: a first receiving sub-module for receiving a message of releasing the user IP address broadcast by the other SMF entities; a second updating sub-module for receiving the message according to the message , and the occupancy status information of the released user IP address is updated from occupied to unoccupied.
  • the first maintenance module includes: a first broadcast sub-module, configured to broadcast a message of restarting the SMF entity to the other SMF entities when the allocation information and the record information are lost ; Receive the response message fed back by all other SMF entities in the SMF set according to the restart message of the SMF entity; the second determination sub-module is used to re-determine the allocation information and the record information according to the response message set; wherein, the The response message includes at least the first correspondence of the SMF entity and the occupancy information of the target IP address; the response message set includes response messages fed back by all other SMF entities in the SMF set.
  • the second determination sub-module includes: a first determination unit, configured to re-determine the occupancy information corresponding to the target IP address according to the response message set; a first processing unit, configured to A corresponding relationship and the re-determined occupancy information to obtain the re-determined allocation information.
  • the first determining unit includes: a first determining subunit, configured to re-determine the target IP address according to the first correspondence in the response message set; a second determining subunit, using The occupancy information corresponding to the target IP address is re-determined according to the re-determined target IP address and the occupancy information of the target IP address in the response message set.
  • the second determining subunit is specifically configured to: in the case where the first occupancy information exists in the occupancy information of the first user IP address in the response message set, determine the first user The occupancy information of the IP address is occupied; otherwise, it is determined that the occupancy information of the first user IP address is not occupied; wherein, the first occupancy information is the information indicating that the first user IP address is occupied Occupancy information; the first user IP address is any user IP address in the target IP addresses.
  • the response message set further includes the second correspondence information respectively corresponding to all the other SMF entities in the SMF set;
  • the second determination sub-module includes: a second determination unit, is used to determine, according to all the second correspondence information in the response message set, user IP addresses that can be allocated by the other SMF entities corresponding to each of the second correspondences, and determine the other SMF entities The occupancy information of the user IP addresses that can be allocated on the SMF entity is all unoccupied; the third determining unit is used for all the second correspondence information in the response message set and the determined each The occupancy information is obtained to obtain the re-determined record information.
  • the first maintenance module includes: a second receiving sub-module for receiving the SMF restart message broadcasted by the other SMF entities; a first feedback sub-module for receiving the SMF restart message according to the SMF restart message, and feed back a response message to the other SMF entity; wherein, the response message at least includes information on the occupation of the user IP address that can be allocated by the other SMF entity.
  • the above-mentioned implementation embodiments of the user Internet Protocol IP address allocation management method are all applicable to the embodiments of the user Internet Protocol IP address allocation management device, and can also achieve the same technical effect.
  • the embodiment of the present application further provides a session management function SMF entity.
  • the SMF entity is an SMF entity in the SMF set. As shown in FIG. 11 , the SMF entity includes: a processor 111 and a transceiver 112;
  • the processor 111 is configured to obtain allocation information of the target IP address, where the allocation information includes first correspondence information between the target IP address and the SMF entity and information on the occupancy of the target IP address;
  • the target IP address refers to at least one user IP address that can be allocated by the SMF entity
  • Different SMF entities in the SMF set correspond to different target IP addresses.
  • the session management function SMF entity provided in the embodiment of the present application obtains allocation information of a target IP address, where the allocation information includes first correspondence information between the target IP address and the SMF entity and the target IP address address occupancy information; according to the allocation information, perform user IP address allocation; wherein, the target IP address refers to at least one user IP address that can be allocated by the SMF entity; different SMF entities in the SMF set correspond to Different target IP addresses; can realize the use of SMF in the SMF set to allocate UE IP addresses, and avoid address allocation conflicts, ensure the normal implementation of UE IP address allocation, and then ensure the normal implementation of sessions, which is a good solution to related technologies. An issue where the session might not be possible.
  • the processor is configured to include: determining occupancy information of the target IP address according to the allocation information; selecting an unoccupied user IP address from the target IP addresses according to the occupancy information to allocate.
  • the processor is further configured to: obtain record information of user IP addresses that can be allocated by other SMF entities in the SMF set; wherein the record information includes the other SMF entities and the other SMF entities that can be assigned by the other SMF entities.
  • the processor is further configured to: dynamically maintain the allocation information and record information.
  • the processor is specifically configured to: update the occupancy information of the assigned user IP address after assigning the user IP address according to the assignment information.
  • any SMF control in the set for example: when SMF A assigns a UE IP address to a session, the session may be switched to SMF B in the set, when the session is migrated from SMF A to SMF B, if no special processing, SMF A will consider that the initially allocated UE IP address can be allocated again, and the UE IP address may be repeatedly allocated in the next session request.
  • SMF A assigns a UE IP address to a session
  • the session may be switched to SMF B in the set, when the session is migrated from SMF A to SMF B, if no special processing, SMF A will consider that the initially allocated UE IP address can be allocated again, and the UE IP address may be repeatedly allocated in the next session request.
  • the processor is specifically configured to: switch from the SMF entity to the other SMF entity on the control plane where a session exists, and the user IP address occupied by the session belongs to the target of the SMF entity
  • the occupancy status information of the user IP address occupied by the session in the allocation information of the SMF entity is maintained as occupied; or, the SMF entity switches over the control plane where the session exists to the user IP address occupied by the session.
  • the user IP address occupied by the session in the record information of the SMF entity
  • the occupancy information is updated from occupied to unoccupied.
  • the processor is specifically configured to: switch from the other SMF entity to the SMF entity on the control plane of the existing session, and the user IP address occupied by the session belongs to the target of the SMF entity
  • the occupancy status information of the user IP address occupied by the session in the allocation information of the SMF entity is maintained as occupied; or, the other SMF entity switches to the control plane where the session exists.
  • the user IP address occupied by the session in the record information of the SMF entity is used.
  • the occupancy information is updated from unoccupied to occupied.
  • the processor is specifically configured to: in the case that a session releases the user IP address and the released user IP address belongs to the target IP address of the SMF entity, the allocation of the SMF entity The occupancy information of the released user IP address in the information is updated from being occupied to being unoccupied; or, in the presence of a session that releases the user IP address, and the released user IP address does not belong to the target IP address of the SMF entity Next, the occupancy information of the released user IP address in the record information of the SMF entity is updated from occupied to unoccupied; and the message of the released user IP address is broadcast through the transceiver.
  • the processor is specifically configured to: receive a message of releasing the user IP address broadcast by the other SMF entities through the transceiver; according to the message, obtain information on the occupation of the user IP address to be released Updated from occupied to unoccupied.
  • the processor is specifically configured to: in the case that the allocation information and the recording information are lost, broadcast the message of restarting the SMF entity to the other SMF entities through the transceiver;
  • the transceiver receives a response message fed back by all other SMF entities in the SMF set according to the restart message of the SMF entity; re-determines the allocation information and record information according to the response message set; wherein the response message at least includes the The first correspondence of the SMF entity and the occupancy information of the target IP address; the response message set includes the response messages fed back by all other SMF entities in the SMF set.
  • the processor is specifically configured to: re-determine the occupancy information corresponding to the target IP address according to the set of response messages; obtain the re-determined occupancy information according to the first correspondence and the re-determined occupancy information distribution information.
  • the processor is specifically configured to: re-determine the target IP address according to the first correspondence in the response message set; according to the re-determined target IP address and the response message set The occupancy information of the target IP address is determined, and the occupancy information corresponding to the target IP address is re-determined.
  • the processor is specifically configured to: determine the occupation of the first user IP address in the case where the first occupation situation information exists in the occupation situation information of the first user IP address in the response message set The situation information is occupied; otherwise, it is determined that the occupancy information of the first user IP address is not occupied; wherein, the first occupancy information is occupancy information indicating that the first user IP address is occupied; The first user IP address is any user IP address in the target IP addresses.
  • the response message set further includes the second correspondence information respectively corresponding to all the other SMF entities in the SMF set; wherein, the processor is specifically configured to: according to the response message set All the second corresponding relationship information, determine the user IP addresses that can be allocated by the other SMF entities corresponding to each of the second corresponding relationships, and determine the user IP addresses that can be allocated by the other SMF entities.
  • the occupancy information on the SMF entity is all unoccupied; the re-determined record information is obtained according to all the second correspondence information in the response message set and each determined occupancy information.
  • the processor is specifically configured to: receive, through the transceiver, an SMF restart message broadcast by the other SMF entity; The entity feeds back a response message; wherein, the response message at least includes information on the occupation of user IP addresses that can be allocated by the other SMF entities.
  • the above-mentioned implementation embodiments of the IP address allocation management method of the User Internet Protocol are all applicable to the embodiments of the session management function SMF entity, and the same technical effect can also be achieved.
  • Embodiments of the present application also provide a session management function SMF entity, including a memory, a processor, and a computer program stored in the memory and running on the processor; the processor implements the program when the processor executes the program.
  • a session management function SMF entity including a memory, a processor, and a computer program stored in the memory and running on the processor; the processor implements the program when the processor executes the program.
  • the above-mentioned implementation embodiments of the IP address allocation management method of the User Internet Protocol are all applicable to the embodiments of the session management function SMF entity, and the same technical effect can also be achieved.
  • Embodiments of the present application further provide a readable storage medium, on which a program is stored, and when the program is executed by a processor, implements the steps in the above-mentioned method for managing the IP address allocation of the User Internet Protocol.
  • the above-mentioned implementation embodiments of the IP address allocation management method of the user Internet Protocol are all applicable to the embodiments of the readable storage medium, and the same technical effect can also be achieved.
  • modules/submodules/units/subunits may be implemented in software so as to be executed by various types of processors.
  • an identified executable code module may comprise one or more physical or logical blocks of computer instructions, which may be structured as objects, procedures, or functions, for example. Nonetheless, the executable code of the identified modules need not be physically located together, but may include different instructions stored in different bits which, when logically combined, constitute the module and implement the specification of the module Purpose.
  • an executable code module may be a single instruction or many instructions, and may even be distributed over multiple different code segments, among different programs, and across multiple memory devices.
  • operational data may be identified within modules, and may be implemented in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations (including over different storage devices), and may exist at least in part only as electronic signals on a system or network.
  • modules can be implemented by software, taking into account the level of existing hardware technology, all modules that can be implemented by software, regardless of cost, can build corresponding hardware circuits to implement corresponding functions.
  • the hardware circuits include conventional very large scale integration (VLSI) circuits or gate arrays as well as off-the-shelf semiconductors such as logic chips, transistors, or other discrete components.
  • VLSI very large scale integration
  • a module may also be implemented in programmable hardware devices, such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本申请提供了一种用户IP地址分配管理方法、装置及会话管理功能实体,其中,用户IP地址分配管理方法,应用于SMF集中的SMF实体,包括:获取目标IP地址的分配信息,分配信息包括目标IP地址与SMF实体之间的第一对应关系信息以及目标IP地址的占用情况信息;根据分配信息,进行用户IP地址分配;其中,目标IP地址是指SMF实体所能分配的至少一个用户IP地址;SMF集中的不同SMF实体对应不同的目标IP地址。

Description

用户IP地址分配管理方法、装置及会话管理功能实体
相关申请的交叉引用
本申请主张在2020年7月21日在中国提交的中国专利申请号No.202010704449.1的优先权,其全部内容通过引用包含于此。
技术领域
本申请涉及通信技术领域,尤其涉及一种用户IP地址分配管理方法、装置及会话管理功能实体。
背景技术
目前,5GC(第五代移动通信技术核心网,即5G核心网)支持SMF(会话管理功能)从被选中的PSA(协议数据单元会话锚点)UPF(用户面功能)对应的UE(终端)IP地址池中为UE分配IP地址(即SMF分配UE IP地址),也支持SMF请求UPF为UE分配IP地址并通过N4接口(SMF和UPF之间的接口)流程获取UPF分配的UE IP地址(即UPF分配UE IP地址)。SMF分配UE IP地址为必选功能,UPF分配UE IP地址为可选功能。
为实现SMF的冗余性和可伸缩性,5GC支持将多个SMF组成一个SMF集(set),具体的,SMF组成一个SMF集有两种方案,SSET(是指SMF集合的不同SMF通过单PFCP(分组转发控制协议)偶联进行会话连续控制;如图1所示,SMF集与UPF仅建立一条偶联)和MPAS(是指SMF集合的不同SMF通过多PFCP偶联(一个SMF一个偶联)进行会话连续控制;如图2所示,SMF集中的每一个SMF都与UPF建立一条偶联)。但如果采用SMF分配UE IP地址的方法,由于多个SMF同时控制同一个UPF的UE IP地址池,那么可能存在同一个UE IP地址被多个SMF分配的情况。
对此,相关技术建议如果采用SMF集连接UPF(SSET方案或者MPAS方案),由UPF来进行UE IP地址分配以规避SMF分配UE IP地址可能带来的地址分配冲突。但是,存在以下问题:
通过上述相关技术方案虽然能够实现UE IP地址分配,但考虑到网络演 进过程中,可能有些运营商在网络建设初期已经选择由SMF分配UE IP地址,那么在网络建设后期希望引入SSET或者MPAS方案以实现SMF的冗余性和可伸缩性时,仅提供UPF分配UE IP地址的方案,而缺乏由SMF分配UE IP地址的方案;可能会导致UE IP地址分配方案的无法实现,从而引起会话的无法实现。
发明内容
本申请的目的在于提供一种用户IP地址分配管理方法、装置及会话管理功能实体,以解决相关技术中会话可能无法实现的问题。
为了解决上述技术问题,本申请实施例提供一种用户网际互连协议IP地址分配管理方法,应用于会话管理功能SMF集中的SMF实体,包括:
获取目标IP地址的分配信息,所述分配信息包括所述目标IP地址与所述SMF实体之间的第一对应关系信息以及所述目标IP地址的占用情况信息;
根据所述分配信息,进行用户IP地址分配;
其中,所述目标IP地址是指所述SMF实体所能分配的至少一个用户IP地址;
所述SMF集中的不同SMF实体对应不同的目标IP地址。
可选的,所述根据所述分配信息,进行用户IP地址分配,包括:
根据所述分配信息,确定所述目标IP地址的占用情况信息;
根据所述占用情况信息,从所述目标IP地址中选择未被占用的用户IP地址进行分配。
可选的,还包括:
获取所述SMF集中其他SMF实体所能分配的用户IP地址的记录信息;
其中,所述记录信息包括所述其他SMF实体与所述其他SMF实体所能分配的用户IP地址之间的第二对应关系信息以及所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息。
可选的,还包括:
动态维护所述分配信息以及记录信息。
可选的,所述动态维护所述分配信息,包括:
在根据所述分配信息,进行用户IP地址分配之后,更新被分配的用户IP地址的占用情况信息。
可选的,所述动态维护所述分配信息以及记录信息,包括:
在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情况信息为被占用;或者,
在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由被占用更新为未被占用。
可选的,所述动态维护所述分配信息以及记录信息,包括:
在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情况信息为被占用;或者,
在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由未被占用更新为被占用。
可选的,所述动态维护所述分配信息以及记录信息,包括:
在存在会话释放用户IP地址,且释放的用户IP地址属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述分配信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;或者,
在存在会话释放用户IP地址,且释放的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;并广播所述释放的用户IP地址的消息。
可选的,所述动态维护所述分配信息以及记录信息,包括:
接收所述其他SMF实体广播的释放用户IP地址的消息;
根据所述消息,将被释放的用户IP地址的占用情况信息由被占用更新为未被占用。
可选的,所述动态维护所述分配信息以及记录信息,包括:
在所述分配信息及记录信息丢失的情况下,向所述其他SMF实体广播所述SMF实体重启的消息;
接收所述SMF集中所有其他SMF实体根据所述SMF实体重启的消息反馈的响应消息;
根据响应消息集合,重新确定所述分配信息以及记录信息;
其中,所述响应消息中至少包括所述SMF实体的所述第一对应关系和目标IP地址的占用情况信息;
所述响应消息集合包括所述SMF集中所有其他SMF实体反馈的响应消息。
可选的,所述根据响应消息集合,重新确定所述分配信息,包括:
根据所述响应消息集合,重新确定所述目标IP地址对应的占用情况信息;
根据所述第一对应关系和重新确定的占用情况信息,得到重新确定的所述分配信息。
可选的,所述根据所述响应消息集合,重新确定所述目标IP地址对应的占用情况信息,包括:
根据所述响应消息集合中的所述第一对应关系,重新确定所述目标IP地址;
根据重新确定的所述目标IP地址和所述响应消息集合中的所述目标IP地址的占用情况信息,重新确定所述目标IP地址对应的占用情况信息。
可选的,所述根据重新确定的所述目标IP地址和所述响应消息集合中的所述目标IP地址的占用情况信息,重新确定所述目标IP地址对应的占用情况信息,包括:
在所述响应消息集合中的第一用户IP地址的占用情况信息中存在第一占用情况信息的情况下,确定所述第一用户IP地址的占用情况信息为被占用;
否则,确定所述第一用户IP地址的占用情况信息为未被占用;
其中,所述第一占用情况信息为指示所述第一用户IP地址被占用的占用情况信息;
所述第一用户IP地址为所述目标IP地址中的任意一个用户IP地址。
可选的,所述响应消息集合中还包括所述SMF集中的所有所述其他SMF实体分别对应的所述第二对应关系信息;
其中,根据所述响应消息集合,重新确定所述记录信息,包括:
根据所述响应消息集合中的所有所述第二对应关系信息,确定各个所述第二对应关系分别对应的所述其他SMF实体所能分配的用户IP地址,并确定所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息均为未被占用;
根据所述响应消息集合中的所有所述第二对应关系信息和确定的各个占用情况信息,得到重新确定的所述记录信息。
可选的,动态维护所述记录信息,包括:
接收所述其他SMF实体广播的SMF重启的消息;
根据所述SMF重启的消息,向所述其他SMF实体反馈响应消息;
其中,所述响应消息中至少包括所述其他SMF实体所能分配的用户IP地址的占用情况信息。
本申请实施例还提供了一种用户网际互连协议IP地址分配管理装置,应用于会话管理功能SMF集中的SMF实体,包括:
第一获取模块,用于获取目标IP地址的分配信息,所述分配信息包括所述目标IP地址与所述SMF实体之间的第一对应关系信息以及所述目标IP地址的占用情况信息;
第一分配模块,用于根据所述分配信息,进行用户IP地址分配;
其中,所述目标IP地址是指所述SMF实体所能分配的至少一个用户IP地址;
所述SMF集中的不同SMF实体对应不同的目标IP地址。
可选的,所述第一分配模块,包括:
第一确定子模块,用于根据所述分配信息,确定所述目标IP地址的占用情况信息;
第一分配子模块,用于根据所述占用情况信息,从所述目标IP地址中选择未被占用的用户IP地址进行分配。
可选的,还包括:
第二获取模块,用于获取所述SMF集中其他SMF实体所能分配的用户IP地址的记录信息;
其中,所述记录信息包括所述其他SMF实体与所述其他SMF实体所能分配的用户IP地址之间的第二对应关系信息以及所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息。
可选的,还包括:
第一维护模块,用于动态维护所述分配信息以及记录信息。
可选的,所述第一维护模块,包括:
第一更新子模块,用于在根据所述分配信息,进行用户IP地址分配之后,更新被分配的用户IP地址的占用情况信息。
可选的,所述第一维护模块,包括:
第一处理子模块,用于在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情况信息为被占用;或者,
在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由被占用更新为未被占用。
可选的,所述第一维护模块,包括:
第二处理子模块,用于在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情况信息为被占用;或者,
在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下, 将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由未被占用更新为被占用。
可选的,所述第一维护模块,包括:
第三处理子模块,用于在存在会话释放用户IP地址,且释放的用户IP地址属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述分配信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;或者,
在存在会话释放用户IP地址,且释放的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;并广播所述释放的用户IP地址的消息。
可选的,所述第一维护模块,包括:
第一接收子模块,用于接收所述其他SMF实体广播的释放用户IP地址的消息;
第二更新子模块,用于根据所述消息,将被释放的用户IP地址的占用情况信息由被占用更新为未被占用。
可选的,所述第一维护模块,包括:
第一广播子模块,用于在所述分配信息及记录信息丢失的情况下,向所述其他SMF实体广播所述SMF实体重启的消息;
接收所述SMF集中所有其他SMF实体根据所述SMF实体重启的消息反馈的响应消息;
第二确定子模块,用于根据响应消息集合,重新确定所述分配信息以及记录信息;
其中,所述响应消息中至少包括所述SMF实体的所述第一对应关系和目标IP地址的占用情况信息;
所述响应消息集合包括所述SMF集中所有其他SMF实体反馈的响应消息。
可选的,所述第二确定子模块,包括:
第一确定单元,用于根据所述响应消息集合,重新确定所述目标IP地址 对应的占用情况信息;
第一处理单元,用于根据所述第一对应关系和重新确定的占用情况信息,得到重新确定的所述分配信息。
可选的,所述第一确定单元,包括:
第一确定子单元,用于根据所述响应消息集合中的所述第一对应关系,重新确定所述目标IP地址;
第二确定子单元,用于根据重新确定的所述目标IP地址和所述响应消息集合中的所述目标IP地址的占用情况信息,重新确定所述目标IP地址对应的占用情况信息。
可选的,所述第二确定子单元,具体用于:
在所述响应消息集合中的第一用户IP地址的占用情况信息中存在第一占用情况信息的情况下,确定所述第一用户IP地址的占用情况信息为被占用;
否则,确定所述第一用户IP地址的占用情况信息为未被占用;
其中,所述第一占用情况信息为指示所述第一用户IP地址被占用的占用情况信息;
所述第一用户IP地址为所述目标IP地址中的任意一个用户IP地址。
可选的,所述响应消息集合中还包括所述SMF集中的所有所述其他SMF实体分别对应的所述第二对应关系信息;
其中,所述第二确定子模块,包括:
第二确定单元,用于根据所述响应消息集合中的所有所述第二对应关系信息,确定各个所述第二对应关系分别对应的所述其他SMF实体所能分配的用户IP地址,并确定所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息均为未被占用;
第三确定单元,用于根据所述响应消息集合中的所有所述第二对应关系信息和确定的各个占用情况信息,得到重新确定的所述记录信息。
可选的,所述第一维护模块,包括:
第二接收子模块,用于接收所述其他SMF实体广播的SMF重启的消息;
第一反馈子模块,用于根据所述SMF重启的消息,向所述其他SMF实体反馈响应消息;
其中,所述响应消息中至少包括所述其他SMF实体所能分配的用户IP地址的占用情况信息。
本申请实施例还提供了一种会话管理功能SMF实体,所述SMF实体为SMF集中的SMF实体,包括:处理器和收发机;
所述处理器,用于获取目标IP地址的分配信息,所述分配信息包括所述目标IP地址与所述SMF实体之间的第一对应关系信息以及所述目标IP地址的占用情况信息;
根据所述分配信息,进行用户IP地址分配;
其中,所述目标IP地址是指所述SMF实体所能分配的至少一个用户IP地址;
所述SMF集中的不同SMF实体对应不同的目标IP地址。
可选的,所述处理器用于,包括:
根据所述分配信息,确定所述目标IP地址的占用情况信息;
根据所述占用情况信息,从所述目标IP地址中选择未被占用的用户IP地址进行分配。
可选的,所述处理器还用于:
获取所述SMF集中其他SMF实体所能分配的用户IP地址的记录信息;
其中,所述记录信息包括所述其他SMF实体与所述其他SMF实体所能分配的用户IP地址之间的第二对应关系信息以及所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息。
可选的,所述处理器还用于:
动态维护所述分配信息以及记录信息。
可选的,所述处理器具体用于:
在根据所述分配信息,进行用户IP地址分配之后,更新被分配的用户IP地址的占用情况信息。
可选的,所述处理器具体用于:
在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情 况信息为被占用;或者,
在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由被占用更新为未被占用。
可选的,所述处理器具体用于:
在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情况信息为被占用;或者,
在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由未被占用更新为被占用。
可选的,所述处理器具体用于:
在存在会话释放用户IP地址,且释放的用户IP地址属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述分配信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;或者,
在存在会话释放用户IP地址,且释放的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;并通过所述收发机广播所述释放的用户IP地址的消息。
可选的,所述处理器具体用于:
通过所述收发机接收所述其他SMF实体广播的释放用户IP地址的消息;
根据所述消息,将被释放的用户IP地址的占用情况信息由被占用更新为未被占用。
可选的,所述处理器具体用于:
在所述分配信息及记录信息丢失的情况下,通过所述收发机向所述其他SMF实体广播所述SMF实体重启的消息;
通过所述收发机接收所述SMF集中所有其他SMF实体根据所述SMF实体重启的消息反馈的响应消息;
根据响应消息集合,重新确定所述分配信息以及记录信息;
其中,所述响应消息中至少包括所述SMF实体的所述第一对应关系和目标IP地址的占用情况信息;
所述响应消息集合包括所述SMF集中所有其他SMF实体反馈的响应消息。
可选的,所述处理器具体用于:
根据所述响应消息集合,重新确定所述目标IP地址对应的占用情况信息;
根据所述第一对应关系和重新确定的占用情况信息,得到重新确定的所述分配信息。
可选的,所述处理器具体用于:
根据所述响应消息集合中的所述第一对应关系,重新确定所述目标IP地址;
根据重新确定的所述目标IP地址和所述响应消息集合中的所述目标IP地址的占用情况信息,重新确定所述目标IP地址对应的占用情况信息。
可选的,所述处理器具体用于:
在所述响应消息集合中的第一用户IP地址的占用情况信息中存在第一占用情况信息的情况下,确定所述第一用户IP地址的占用情况信息为被占用;
否则,确定所述第一用户IP地址的占用情况信息为未被占用;
其中,所述第一占用情况信息为指示所述第一用户IP地址被占用的占用情况信息;
所述第一用户IP地址为所述目标IP地址中的任意一个用户IP地址。
可选的,所述响应消息集合中还包括所述SMF集中的所有所述其他SMF实体分别对应的所述第二对应关系信息;
其中,所述处理器具体用于:
根据所述响应消息集合中的所有所述第二对应关系信息,确定各个所述第二对应关系分别对应的所述其他SMF实体所能分配的用户IP地址,并确定所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况 信息均为未被占用;
根据所述响应消息集合中的所有所述第二对应关系信息和确定的各个占用情况信息,得到重新确定的所述记录信息。
可选的,所述处理器具体用于:
通过所述收发机接收所述其他SMF实体广播的SMF重启的消息;
根据所述SMF重启的消息,通过所述收发机向所述其他SMF实体反馈响应消息;
其中,所述响应消息中至少包括所述其他SMF实体所能分配的用户IP地址的占用情况信息。
本申请实施例还提供了一种会话管理功能SMF实体,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;所述处理器执行所述程序时实现上述的用户网际互连协议IP地址分配管理方法。
本申请实施例还提供了一种可读存储介质,其上存储有程序,该程序被处理器执行时实现上述的用户网际互连协议IP地址分配管理方法中的步骤。
本申请的上述技术方案的有益效果如下:
上述方案中,所述用户网际互连协议IP地址分配管理方法通过获取目标IP地址的分配信息,所述分配信息包括所述目标IP地址与所述SMF实体之间的第一对应关系信息以及所述目标IP地址的占用情况信息;根据所述分配信息,进行用户IP地址分配;其中,所述目标IP地址是指所述SMF实体所能分配的至少一个用户IP地址;所述SMF集中的不同SMF实体对应不同的目标IP地址;能够实现采用SMF集内的SMF分配UE IP(即上述用户IP)地址,并且避免地址分配冲突,保证了UE IP地址分配的正常实现,进而保证了会话的正常实现,很好的解决了相关技术中会话可能无法实现的问题。
附图说明
图1为相关技术中的SSET方案示意图;
图2为相关技术中的MPAS方案示意图;
图3为本申请实施例的用户IP地址分配管理方法流程示意图;
图4为本申请实施例的UE IP地址池划分示意图;
图5为本申请实施例的UE IP地址池表示意图;
图6为本申请实施例的UE IP地址分配示意图;
图7为本申请实施例的UE IP地址动态标记示意图;
图8为本申请实施例的UE IP地址动态标记以及按需广播释放消息示意图;
图9为本申请实施例的SMF重启示意图;
图10为本申请实施例的用户IP地址分配管理装置结构示意图;
图11为本申请实施例的会话管理功能SMF实体结构示意图。
具体实施方式
为使本申请要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。
本申请针对现有的技术中会话可能无法实现的问题,提供一种用户网际互连协议IP地址分配管理方法,应用于会话管理功能SMF集中的SMF实体,如图3所示,包括:
步骤31:获取目标IP地址的分配信息,所述分配信息包括所述目标IP地址与所述SMF实体之间的第一对应关系信息以及所述目标IP地址的占用情况信息;
步骤32:根据所述分配信息,进行用户IP地址分配;
其中,所述目标IP地址是指所述SMF实体所能分配的至少一个用户IP地址;
所述SMF集中的不同SMF实体对应不同的目标IP地址。
本申请实施例提供的所述用户网际互连协议IP地址分配管理方法通过获取目标IP地址的分配信息,所述分配信息包括所述目标IP地址与所述SMF实体之间的第一对应关系信息以及所述目标IP地址的占用情况信息;根据所述分配信息,进行用户IP地址分配;其中,所述目标IP地址是指所述SMF实体所能分配的至少一个用户IP地址;所述SMF集中的不同SMF实体对应不同的目标IP地址;能够实现采用SMF集内的SMF分配UE IP地址,并且避免地址分配冲突,保证了UE IP地址分配的正常实现,进而保证了会话的 正常实现,很好的解决了相关技术中会话可能无法实现的问题。
具体的,所述根据所述分配信息,进行用户IP地址分配,包括:根据所述分配信息,确定所述目标IP地址的占用情况信息;根据所述占用情况信息,从所述目标IP地址中选择未被占用的用户IP地址进行分配。
进一步的,所述的用户网际互连协议IP地址分配管理方法,还包括:获取所述SMF集中其他SMF实体所能分配的用户IP地址的记录信息;其中,所述记录信息包括所述其他SMF实体与所述其他SMF实体所能分配的用户IP地址之间的第二对应关系信息以及所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息。
其中,其他SMF实体是指除所述SMF实体外的SMF实体。其他SMF实体的数量为至少一个。
更进一步的,所述的用户网际互连协议IP地址分配管理方法,还包括:动态维护所述分配信息以及记录信息。
具体的,所述动态维护所述分配信息,包括:在根据所述分配信息,进行用户IP地址分配之后,更新被分配的用户IP地址的占用情况信息。
具体是指,将占用情况信息由未被占用(可用),更新为被占用(不可用)。
此外,考虑到:仅通过给SMF集内的SMF分配不同的UE IP地址进行UE IP地址分配的方案并不能完全的避免地址分配冲突的风险,因为SSET或者MPAS方案要求,任何一个会话可以由SMF集内的任一SMF控制,例如:当SMF A为某会话分配了UE IP地址后,此会话可能会切换到集合内的SMF B,当会话由SMF A迁移到SMF B时,如果不做特殊处理,则SMF A会认为最初分配的UE IP地址又可以分配,在下一个会话请求时也可能出现重复分配该UE IP地址的情况。为防止此类地址分配冲突的风险,本申请实施例中提供以下两种示例措施:
第一种示例措施,所述动态维护所述分配信息以及记录信息,包括:在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情况信息为被占用;或者,在存在会话的控制面由所述SMF实体切换到所述其他SMF 实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由被占用更新为未被占用。
第二种示例措施,所述动态维护所述分配信息以及记录信息,包括:在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情况信息为被占用;或者,在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由未被占用更新为被占用。
针对IP地址释放的情况,本申请实施例中提供以下两种示例措施:
第一种示例措施,所述动态维护所述分配信息以及记录信息,包括:在存在会话释放用户IP地址,且释放的用户IP地址属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述分配信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;或者,在存在会话释放用户IP地址,且释放的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;并广播所述释放的用户IP地址的消息。
第二种示例措施,所述动态维护所述分配信息以及记录信息,包括:接收所述其他SMF实体广播的释放用户IP地址的消息;根据所述消息,将被释放的用户IP地址的占用情况信息由被占用更新为未被占用。
针对SMF重启的情况,本申请实施例中提供以下两种示例措施:
第一种示例措施,所述动态维护所述分配信息以及记录信息,包括:在所述分配信息及记录信息丢失的情况下,向所述其他SMF实体广播所述SMF实体重启的消息;接收所述SMF集中所有其他SMF实体根据所述SMF实体重启的消息反馈的响应消息;根据响应消息集合,重新确定所述分配信息以及记录信息;其中,所述响应消息中至少包括所述SMF实体的所述第一对应关系和目标IP地址的占用情况信息;所述响应消息集合包括所述SMF集中 所有其他SMF实体反馈的响应消息。
其中,所述根据响应消息集合,重新确定所述分配信息,包括:根据所述响应消息集合,重新确定所述目标IP地址对应的占用情况信息;根据所述第一对应关系和重新确定的占用情况信息,得到重新确定的所述分配信息。
具体的,所述根据所述响应消息集合,重新确定所述目标IP地址对应的占用情况信息,包括:根据所述响应消息集合中的所述第一对应关系,重新确定所述目标IP地址;根据重新确定的所述目标IP地址和所述响应消息集合中的所述目标IP地址的占用情况信息,重新确定所述目标IP地址对应的占用情况信息。
更具体的,所述根据重新确定的所述目标IP地址和所述响应消息集合中的所述目标IP地址的占用情况信息,重新确定所述目标IP地址对应的占用情况信息,包括:在所述响应消息集合中的第一用户IP地址的占用情况信息中存在第一占用情况信息的情况下,确定所述第一用户IP地址的占用情况信息为被占用;否则,确定所述第一用户IP地址的占用情况信息为未被占用;其中,所述第一占用情况信息为指示所述第一用户IP地址被占用的占用情况信息;所述第一用户IP地址为所述目标IP地址中的任意一个用户IP地址。
进一步的,所述响应消息集合中还包括所述SMF集中的所有所述其他SMF实体分别对应的所述第二对应关系信息;其中,根据所述响应消息集合,重新确定所述记录信息,包括:根据所述响应消息集合中的所有所述第二对应关系信息,确定各个所述第二对应关系分别对应的所述其他SMF实体所能分配的用户IP地址,并确定所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息均为未被占用;根据所述响应消息集合中的所有所述第二对应关系信息和确定的各个占用情况信息,得到重新确定的所述记录信息。
第二种示例措施,动态维护所述记录信息,包括:接收所述其他SMF实体广播的SMF重启的消息;根据所述SMF重启的消息,向所述其他SMF实体反馈响应消息;其中,所述响应消息中至少包括所述其他SMF实体所能分配的用户IP地址的占用情况信息。
其中,其他SMF实体所能分配的用户IP地址即其他SMF实体对应的目 标IP地址;这里的措施可以理解为所述SMF维护所述SMF的记录信息,也可以理解为协助维护其他SMF实体的分配信息。
下面对本申请实施例提供的所述用户网际互连协议IP地址分配管理方法进行举例说明。
针对上述技术问题,本申请实施例提供了一种用户IP地址分配管理方法,具体可实现为一种SMF集内由SMF进行UE IP地址分配并防止地址分配冲突的方法,具体的:
本方案中可以是:将UE IP地址池(即上述SMF集中的所有SMF实体所能分配的IP地址集合)按SMF集(Set)中SMF总数进行分割,分割成多个UE IP地址块。
假设SMF集(set)中SMF总数为M(M为大于或等于2的整数),则将可分配的UE IP地址池分割成M块。本方案对UE IP地址池的分割目标、分割方法不做具体要求,可根据运营商需求灵活制定。
例如可以实现如下分割目标:
平均分;
按SMF的处理能力等比例分;或者,
按SMF的选择优先级权重分。
例如可以使用如下分割方法:
顺序分割;或者,
哈希分割;
最终将可分配的UE IP地址池分为M块UE IP地址块。
(一)SMF集(set)内每一个SMF拥有仅自己可控可分配的UE IP地址块(即上述目标IP地址);
为方便描述,本方案中,将UE IP地址块依次编号,从1开始到m(m与M对应,m为大于或等于2的整数)。n代表任意一个UE IP地址块的编号。
集合内一个SMF唯一对应一个UE IP地址块编号(也就是不同SMF实体对应不同的目标IP地址)。
对于某一个UE IP地址块,它被唯一的分配给SMF集内的某一个SMF。
每个SMF记录(m,n)两个参数。m代表Set中SMF总数(即UE IP地址块总数),n代表SMF可控可分配的UE IP地址块的编号,具体可参见图4(图中XX.XX.XX.XX表示一个IP地址)。
(二)SMF集(set)内每一个SMF记录(维护)一张UE IP地址池表(即记录了上述分配信息以及记录信息的总信息,表格是一种呈现形式),包含所有UE IP地址块信息。
每个SMF维护一个UE IP地址池表,表内包含集内所有UE IP地址块的UE IP地址信息。
每个UE IP地址对应两个属性,一是此UE IP地址所属的地址块编号;二是此UE IP地址是否被占用的标识(即上述占用情况信息,被占用对应于下述不可用,未被占用对应于下述可用)。
通过这张UE IP地址池表,每个SMF均拥有专属可控可分配的n号UE IP地址块,并且也知道非本SMF可用的UE IP地址信息,具体可参见图5(图中表示UE IP地址是否可用那一列中y表示可用,n表示不可用,XX.XX.XX.XX表示一个IP地址)。
(三)SMF集内的每一个SMF按需标记UE IP地址是否可用,动态维护UE IP地址池表。
3a.当需要SMF分配新UE IP地址,SMF集(set)内的SMF仅能从自己可控可分配的n号UE IP地址块中选择并分配UE IP地址,同时变更此(分配的)UE IP地址的状态标记,从可用变为不可用。
结合记录的(m,n)参数以及UE IP地址池表,SMF从n号UE IP地址块获得本SMF可分配的UE IP地址列表。
在会话建立或者会话修改过程中,如果需要SMF分配UE IP地址,SMF(根据占用情况信息)从属于自己的n号UE IP地址块内进行UE IP地址选择并标记此(选中的)UE IP地址已被分配不可用(也就是将占用情况信息从可用变为不可用),具体可参见图6(图中的PDU Session Establish表示协议数据单元会话建立,y→n表示状态由可用变为不可用,其他参见图5中所表示的含义)。
此处要求SMF能且仅能从属于自己的n号UE IP地址块中选择并分配。
3b.当会话的控制面从SMF A换到SMF集中的另一个SMF B时,SMF A和B可以动态标记此UE IP地址的可用状态。
会话控制面换到SMF B后,SMF B为此会话服务;具体可参见图7(各个符号的含义参见图5):
SMF A:当会话所占用的UE IP地址属于本SMF所拥有的n号UE IP地址块,则标记不变,此UE IP地址依然不可用;当会话所占用的UE IP地址不属于本SMF所拥有的n号UE IP地址块,则变更标记,从不可用变为可用。
SMF B:当会话所占用的UE IP地址属于本SMF所拥有的n号UE IP地址块,则标记不变,此UE IP地址依然不可用;当会话所占用的UE IP地址不属于本SMF所拥有的n号UE IP地址块,则变更标记,从可用变为不可用。
3c.当SMF A释放UE IP地址时,SMF A按需广播此UE IP地址释放消息,SMF A以及集内的其他SMF动态标记此UE IP地址的可用状态。
SMF可能会由于会话释放,会话更新等原因释放一些UE IP地址,具体可参见图8(各个符号的含义参见图5,图8中的available UE IP Address list表示可用的UE IP地址列表,add表示UE IP地址,图8中释放了1号地址块的1个地址,2号地址块的2个地址,m号地址块的1个地址):
SMF A:当释放的UE IP地址属于本SMF所拥有的n号UE IP地址块,则变更标记,从不可用变为可用;不广播此UE IP地址释放消息。
SMF A:当释放的UE IP地址不属于本SMF所拥有的n号UE IP地址块,则变更标记,从不可用变为可用,并广播发送此UE IP地址释放的消息(为了让IP地址的分配者知晓)。
广播消息可包含如下内容:
(1)m,本集合内SMF总个数;
(2)n,本SMF拥有的IP地址块编号;
(3)释放的UE IP地址列表,包含一个或多个UE IP地址。
集内其他SMF:当收到UE IP地址释放的消息,检查并确认本地维护的UE IP地址池表中此UE IP地址标记为可用,如果此UE IP地址被标记为不 可用,则将标记变更为可用。
(四)在所述分配信息及记录信息丢失的情况下,比如SMF集(set)内某SMF重启后,此SMF广播重启消息,集内其他SMF共享本地维护的UE IP地址池表,重启SMF据此创建并维护UE IP地址池表。
4a.SMF集(set)内某SMF重启后,此SMF向所属集内的所有SMF广播本节点重启消息。
重启消息可包含如下内容:
(1)m,本集合内SMF总个数;
(2)n,本SMF拥有的IP地址块编号;
(3)Recovery time,本节点重启时间点。
4b:SMF集(set)内SMF收到某节点重启消息后,共享本节点维护的UE IP地址池表。
共享信息可包含如下内容:
(1)m,本集合内SMF总个数;
(2)n,本SMF拥有的IP地址块编号;
(3)UE IP地址池表。
UE IP地址池表内容参考上述部分(二)的内容。
4c:重启的SMF整合各SMF发来的UE IP地址池表,创建并维护自己的UE IP地址池表。
重启SMF根据其他节点共享的信息对UE IP地址标注是否可用:
(1)非本SMF拥有(可控可分配)的UE IP地址块内的IP地址,均标注为可用。
(2)本SMF拥有的UE IP地址块内的IP地址,从所有收集来的标注信息中取或进行确定。
其中,4a和4b的流程具体可如图9所示。
(五)以具体场景举例,描述此避免地址分配冲突的处理逻辑及方法。
场景:SMF A,SMF B,SMF C组成一个集合,SMF A从自己的UE IP地址块内为某一个会话分配UE IP地址,之后SMF A故障,该会话控制面由SMF A换到SMF B上,之后又换到SMF C上,然后SMF A故障恢复重启, 会话从SMF C换到SMF A上。
1.SMF A未故障,则SMF A从自己可分配的UE IP地址块为一个会话分配UE IP地址,并变更此UE IP地址的标记(状态标记)为不可用。
2.SMF A发生故障,会话控制面从SMF A换到SMF B。
a)SMF A故障不可用。
b)SMF B处理会话,SMF B将本SMF(SMF B)所维护的该UE IP地址的标记从可用变更为不可用。
3.由于某种原因,会话控制面从SMF B换到SMF C。
a)SMF B将本SMF(SMF B)所维护的该UE IP地址的标记从不可用变更为可用。
b)SMF C处理会话,将本SMF(SMF C)所维护的该UE IP地址的标记从可用变更为不可用。
4.SMF A重启。
a)SMF广播发送重启消息给集内所有其他的SMF。
b)集内其他SMF收到重启消息,共享本节点的(即其他SMF所维护的)UE IP地址池表。
c)重启的SMF A汇总共享信息,重建自己的UE IP地址池表。
1)非本节点可分配的UE IP地址全都标记为可用;
2)本节点可分配的UE IP地址根据收到的标记信息取或进行确认。
具体的,在此场景中,比如:SMF A收到SMF B对上述UE IP地址的标记为可用,而SMF C对此UE IP地址的标记为不可用,则对两个标记取或,SMF A会标记此UE IP地址为不可用。
5.由于某种原因,会话的控制面从SMF C换回SMF A。
a)SMF C将本SMF(SMF C)所维护的该UE IP地址的标记从不可用变更为可用。
b)SMF A处理会话,UE IP地址标记不变,依然是不可用。
子场景1:SMF A释放此会话。
6.SMF A释放此UE IP地址,将UE IP地址的标记从不可用变更为可用。
子场景2:会话的控制面从SMF A换到SMF C。SMF C释放此会话。
6.会话控制面从SMF A换到SMF C。
a)SMF A继续标记此UE IP地址不可用。
b)SMF C处理会话,将本SMF(SMF C)所维护的该UE IP地址的标记从可用变更为不可用。
7.SMF C释放此会话,UE IP地址也被释放。
a)SMF C标记本SMF(SMF C)所维护的此UE IP地址为可用。
b)SMF C广播发送此UE IP地址释放消息。
c)SMF A收到SMF C的UE IP地址释放消息,查看本地维护的UE IP地址池表,发现此UE IP地址被标记为不可用,则变更为可用。
d)SMF B收到SMF C的UE IP地址释放消息,查看本地维护的UE IP地址池表,发现此UE IP地址被标记为可用,则不做处理。
在此说明,附图中涉及的“初始标记状态”是指会话切换SMF或者释放UE IP等操作引起的UE IP的占用状态(占用情况信息)发生变化之前的UE IP地址池表的标记状态(包括UE IP占用情况的标记状态,即占用情况信息的标记状态)。
由上可知,本申请实施例提供的方案涉及:
1.在SMF集(set)与UPF连接的方案中(例如SSET、MPAS),由SMF分配UE IP地址。
2.SMF集(set)内每一个SMF拥有仅自己可控可分配的UE IP地址块。
3.SMF集(set)内每一个SMF记录(维护)一张UE IP地址池表,包含所有UE IP地址块信息。
4.SMF集内的每一个SMF按需标记UE IP地址是否可用,动态维护UE IP地址池表。
(1)当需要SMF分配新UE IP地址,SMF集(set)内的SMF仅能从自己可控可分配的n号UE IP地址块中选择并分配UE IP地址,同时变更此UE IP地址的标记,从可用变为不可用。
(2)当会话的控制面从SMF A换到SMF集中的另一个SMF B时,SMF A和B可以动态标记此UE IP地址的可用状态。
(3)当SMF A释放UE IP地址时,SMF A按需广播此UE IP地址释放 消息,SMF A以及集内的其他SMF动态标记此UE IP地址的可用状态。
5.SMF集(set)内某SMF重启后,此SMF广播重启消息,集内其他SMF共享各自本地维护的UE IP地址池表,重启SMF据此创建并维护UE IP地址池表。
(1)SMF集(set)内某SMF重启后,此SMF向所属集内的所有SMF广播本节点重启消息。
(2)SMF集(set)内SMF收到某节点重启消息后,共享本节点维护的UE IP地址池表。
(3)重启的SMF整合各SMF发来的UE IP地址池表,创建并维护自己的UE IP地址池表。
综上,本申请实施例提供的方案是能够实现SMF集(set)概念引入下,由SMF进行用户IP地址分配,同时又可避免冲突;实现的机制是:将用户IP地址池按SMF集中的SMF总数进行分割,每个SMF分到对应的不冲突的IP地址块,且每个SMF均维护SMF集中用户IP地址池的总表,即每个SMF均拥有专属可用的用户IP地址列表,并且也知道非本SMF可用的用户IP地址属于的IP地址池,且由于SMF对已分配的IP地址作标记,可避免由于SMF切换导致的地址分配冲突。
本申请实施例还提供了一种用户网际互连协议IP地址分配管理装置,应用于会话管理功能SMF集中的SMF实体,如图10所示,包括:
第一获取模块101,用于获取目标IP地址的分配信息,所述分配信息包括所述目标IP地址与所述SMF实体之间的第一对应关系信息以及所述目标IP地址的占用情况信息;
第一分配模块102,用于根据所述分配信息,进行用户IP地址分配;
其中,所述目标IP地址是指所述SMF实体所能分配的至少一个用户IP地址;
所述SMF集中的不同SMF实体对应不同的目标IP地址。
本申请实施例提供的所述用户网际互连协议IP地址分配管理装置通过获取目标IP地址的分配信息,所述分配信息包括所述目标IP地址与所述SMF实体之间的第一对应关系信息以及所述目标IP地址的占用情况信息;根据所 述分配信息,进行用户IP地址分配;其中,所述目标IP地址是指所述SMF实体所能分配的至少一个用户IP地址;所述SMF集中的不同SMF实体对应不同的目标IP地址;能够实现采用SMF集内的SMF分配UE IP地址,并且避免地址分配冲突,保证了UE IP地址分配的正常实现,进而保证了会话的正常实现,很好的解决了相关技术中会话可能无法实现的问题。
具体的,所述第一分配模块,包括:第一确定子模块,用于根据所述分配信息,确定所述目标IP地址的占用情况信息;第一分配子模块,用于根据所述占用情况信息,从所述目标IP地址中选择未被占用的用户IP地址进行分配。
进一步的,所述的用户网际互连协议IP地址分配管理装置,还包括:第二获取模块,用于获取所述SMF集中其他SMF实体所能分配的用户IP地址的记录信息;其中,所述记录信息包括所述其他SMF实体与所述其他SMF实体所能分配的用户IP地址之间的第二对应关系信息以及所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息。
更进一步的,所述的用户网际互连协议IP地址分配管理装置,还包括:第一维护模块,用于动态维护所述分配信息以及记录信息。
具体的,所述第一维护模块,包括:第一更新子模块,用于在根据所述分配信息,进行用户IP地址分配之后,更新被分配的用户IP地址的占用情况信息。
此外,考虑到:仅通过给SMF集内的SMF分配不同的UE IP地址进行UE IP地址分配的方案并不能完全的避免地址分配冲突的风险,因为SSET或者MPAS方案要求,任何一个会话可以由SMF集内的任一SMF控制,例如:当SMF A为某会话分配了UE IP地址后,此会话可能会切换到集合内的SMF B,当会话由SMF A迁移到SMF B时,如果不做特殊处理,则SMF A会认为最初分配的UE IP地址又可以分配,在下一个会话请求时也可能出现重复分配该UE IP地址的情况。为防止此类地址分配冲突的风险,本申请实施例中提供以下两种示例措施:
第一种示例措施,所述第一维护模块,包括:第一处理子模块,用于在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所 占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情况信息为被占用;或者,在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由被占用更新为未被占用。
第二种示例措施,所述第一维护模块,包括:第二处理子模块,用于在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情况信息为被占用;或者,在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由未被占用更新为被占用。
针对IP地址释放的情况,本申请实施例中提供以下两种示例措施:
第一种示例措施,所述第一维护模块,包括:第三处理子模块,用于在存在会话释放用户IP地址,且释放的用户IP地址属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述分配信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;或者,在存在会话释放用户IP地址,且释放的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;并广播所述释放的用户IP地址的消息。
第二种示例措施,所述第一维护模块,包括:第一接收子模块,用于接收所述其他SMF实体广播的释放用户IP地址的消息;第二更新子模块,用于根据所述消息,将被释放的用户IP地址的占用情况信息由被占用更新为未被占用。
针对SMF重启的情况,本申请实施例中提供以下两种示例措施:
第一种示例措施,所述第一维护模块,包括:第一广播子模块,用于在所述分配信息及记录信息丢失的情况下,向所述其他SMF实体广播所述SMF 实体重启的消息;接收所述SMF集中所有其他SMF实体根据所述SMF实体重启的消息反馈的响应消息;第二确定子模块,用于根据响应消息集合,重新确定所述分配信息以及记录信息;其中,所述响应消息中至少包括所述SMF实体的所述第一对应关系和目标IP地址的占用情况信息;所述响应消息集合包括所述SMF集中所有其他SMF实体反馈的响应消息。
其中,所述第二确定子模块,包括:第一确定单元,用于根据所述响应消息集合,重新确定所述目标IP地址对应的占用情况信息;第一处理单元,用于根据所述第一对应关系和重新确定的占用情况信息,得到重新确定的所述分配信息。
具体的,所述第一确定单元,包括:第一确定子单元,用于根据所述响应消息集合中的所述第一对应关系,重新确定所述目标IP地址;第二确定子单元,用于根据重新确定的所述目标IP地址和所述响应消息集合中的所述目标IP地址的占用情况信息,重新确定所述目标IP地址对应的占用情况信息。
更具体的,所述第二确定子单元,具体用于:在所述响应消息集合中的第一用户IP地址的占用情况信息中存在第一占用情况信息的情况下,确定所述第一用户IP地址的占用情况信息为被占用;否则,确定所述第一用户IP地址的占用情况信息为未被占用;其中,所述第一占用情况信息为指示所述第一用户IP地址被占用的占用情况信息;所述第一用户IP地址为所述目标IP地址中的任意一个用户IP地址。
进一步的,所述响应消息集合中还包括所述SMF集中的所有所述其他SMF实体分别对应的所述第二对应关系信息;其中,所述第二确定子模块,包括:第二确定单元,用于根据所述响应消息集合中的所有所述第二对应关系信息,确定各个所述第二对应关系分别对应的所述其他SMF实体所能分配的用户IP地址,并确定所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息均为未被占用;第三确定单元,用于根据所述响应消息集合中的所有所述第二对应关系信息和确定的各个占用情况信息,得到重新确定的所述记录信息。
第二种示例措施,所述第一维护模块,包括:第二接收子模块,用于接收所述其他SMF实体广播的SMF重启的消息;第一反馈子模块,用于根据所 述SMF重启的消息,向所述其他SMF实体反馈响应消息;其中,所述响应消息中至少包括所述其他SMF实体所能分配的用户IP地址的占用情况信息。
其中,上述用户网际互连协议IP地址分配管理方法的所述实现实施例均适用于该用户网际互连协议IP地址分配管理装置的实施例中,也能达到相同的技术效果。
本申请实施例还提供了一种会话管理功能SMF实体,所述SMF实体为SMF集中的SMF实体,如图11所示,所述SMF实体包括:处理器111和收发机112;
所述处理器111,用于获取目标IP地址的分配信息,所述分配信息包括所述目标IP地址与所述SMF实体之间的第一对应关系信息以及所述目标IP地址的占用情况信息;
根据所述分配信息,进行用户IP地址分配;
其中,所述目标IP地址是指所述SMF实体所能分配的至少一个用户IP地址;
所述SMF集中的不同SMF实体对应不同的目标IP地址。
本申请实施例提供的所述会话管理功能SMF实体通过获取目标IP地址的分配信息,所述分配信息包括所述目标IP地址与所述SMF实体之间的第一对应关系信息以及所述目标IP地址的占用情况信息;根据所述分配信息,进行用户IP地址分配;其中,所述目标IP地址是指所述SMF实体所能分配的至少一个用户IP地址;所述SMF集中的不同SMF实体对应不同的目标IP地址;能够实现采用SMF集内的SMF分配UE IP地址,并且避免地址分配冲突,保证了UE IP地址分配的正常实现,进而保证了会话的正常实现,很好的解决了相关技术中会话可能无法实现的问题。
具体的,所述处理器用于,包括:根据所述分配信息,确定所述目标IP地址的占用情况信息;根据所述占用情况信息,从所述目标IP地址中选择未被占用的用户IP地址进行分配。
进一步的,所述处理器还用于:获取所述SMF集中其他SMF实体所能分配的用户IP地址的记录信息;其中,所述记录信息包括所述其他SMF实体与所述其他SMF实体所能分配的用户IP地址之间的第二对应关系信息以 及所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息。
更进一步的,所述处理器还用于:动态维护所述分配信息以及记录信息。
具体的,所述处理器具体用于:在根据所述分配信息,进行用户IP地址分配之后,更新被分配的用户IP地址的占用情况信息。
此外,考虑到:仅通过给SMF集内的SMF分配不同的UE IP地址进行UE IP地址分配的方案并不能完全的避免地址分配冲突的风险,因为SSET或者MPAS方案要求,任何一个会话可以由SMF集内的任一SMF控制,例如:当SMF A为某会话分配了UE IP地址后,此会话可能会切换到集合内的SMF B,当会话由SMF A迁移到SMF B时,如果不做特殊处理,则SMF A会认为最初分配的UE IP地址又可以分配,在下一个会话请求时也可能出现重复分配该UE IP地址的情况。为防止此类地址分配冲突的风险,本申请实施例中提供以下两种示例措施:
第一种示例措施,所述处理器具体用于:在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情况信息为被占用;或者,在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由被占用更新为未被占用。
第二种示例措施,所述处理器具体用于:在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情况信息为被占用;或者,在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由未被占用更新为被占用。
针对IP地址释放的情况,本申请实施例中提供以下两种示例措施:
第一种示例措施,所述处理器具体用于:在存在会话释放用户IP地址,且释放的用户IP地址属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述分配信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;或者,在存在会话释放用户IP地址,且释放的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;并通过所述收发机广播所述释放的用户IP地址的消息。
第二种示例措施,所述处理器具体用于:通过所述收发机接收所述其他SMF实体广播的释放用户IP地址的消息;根据所述消息,将被释放的用户IP地址的占用情况信息由被占用更新为未被占用。
针对SMF重启的情况,本申请实施例中提供以下两种示例措施:
第一种示例措施,所述处理器具体用于:在所述分配信息及记录信息丢失的情况下,通过所述收发机向所述其他SMF实体广播所述SMF实体重启的消息;通过所述收发机接收所述SMF集中所有其他SMF实体根据所述SMF实体重启的消息反馈的响应消息;根据响应消息集合,重新确定所述分配信息以及记录信息;其中,所述响应消息中至少包括所述SMF实体的所述第一对应关系和目标IP地址的占用情况信息;所述响应消息集合包括所述SMF集中所有其他SMF实体反馈的响应消息。
其中,所述处理器具体用于:根据所述响应消息集合,重新确定所述目标IP地址对应的占用情况信息;根据所述第一对应关系和重新确定的占用情况信息,得到重新确定的所述分配信息。
具体的,所述处理器具体用于:根据所述响应消息集合中的所述第一对应关系,重新确定所述目标IP地址;根据重新确定的所述目标IP地址和所述响应消息集合中的所述目标IP地址的占用情况信息,重新确定所述目标IP地址对应的占用情况信息。
更具体的,所述处理器具体用于:在所述响应消息集合中的第一用户IP地址的占用情况信息中存在第一占用情况信息的情况下,确定所述第一用户IP地址的占用情况信息为被占用;否则,确定所述第一用户IP地址的占用情 况信息为未被占用;其中,所述第一占用情况信息为指示所述第一用户IP地址被占用的占用情况信息;所述第一用户IP地址为所述目标IP地址中的任意一个用户IP地址。
进一步的,所述响应消息集合中还包括所述SMF集中的所有所述其他SMF实体分别对应的所述第二对应关系信息;其中,所述处理器具体用于:根据所述响应消息集合中的所有所述第二对应关系信息,确定各个所述第二对应关系分别对应的所述其他SMF实体所能分配的用户IP地址,并确定所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息均为未被占用;根据所述响应消息集合中的所有所述第二对应关系信息和确定的各个占用情况信息,得到重新确定的所述记录信息。
第二种示例措施,所述处理器具体用于:通过所述收发机接收所述其他SMF实体广播的SMF重启的消息;根据所述SMF重启的消息,通过所述收发机向所述其他SMF实体反馈响应消息;其中,所述响应消息中至少包括所述其他SMF实体所能分配的用户IP地址的占用情况信息。
其中,上述用户网际互连协议IP地址分配管理方法的所述实现实施例均适用于该会话管理功能SMF实体的实施例中,也能达到相同的技术效果。
本申请实施例还提供了一种会话管理功能SMF实体,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;所述处理器执行所述程序时实现上述的用户网际互连协议IP地址分配管理方法。
其中,上述用户网际互连协议IP地址分配管理方法的所述实现实施例均适用于该会话管理功能SMF实体的实施例中,也能达到相同的技术效果。
本申请实施例还提供了一种可读存储介质,其上存储有程序,该程序被处理器执行时实现上述的用户网际互连协议IP地址分配管理方法中的步骤。
其中,上述用户网际互连协议IP地址分配管理方法的所述实现实施例均适用于该可读存储介质的实施例中,也能达到相同的技术效果。
需要说明的是,此说明书中所描述的许多功能部件都被称为模块/子模块/单元/子单元,以便更加特别地强调其实现方式的独立性。
本申请实施例中,模块/子模块/单元/子单元可以用软件实现,以便由各种类型的处理器执行。举例来说,一个标识的可执行代码模块可以包括计算机 指令的一个或多个物理或者逻辑块,举例来说,其可以被构建为对象、过程或函数。尽管如此,所标识模块的可执行代码无需物理地位于一起,而是可以包括存储在不同位里上的不同的指令,当这些指令逻辑上结合在一起时,其构成模块并且实现该模块的规定目的。
实际上,可执行代码模块可以是单条指令或者是许多条指令,并且甚至可以分布在多个不同的代码段上,分布在不同程序当中,以及跨越多个存储器设备分布。同样地,操作数据可以在模块内被识别,并且可以依照任何适当的形式实现并且被组织在任何适当类型的数据结构内。所述操作数据可以作为单个数据集被收集,或者可以分布在不同位置上(包括在不同存储设备上),并且至少部分地可以仅作为电子信号存在于系统或网络上。
在模块可以利用软件实现时,考虑到现有硬件工艺的水平,所有可以以软件实现的模块,在不考虑成本的情况下,本领域技术人员都可以搭建对应的硬件电路来实现对应的功能,所述硬件电路包括常规的超大规模集成(VLSI)电路或者门阵列以及诸如逻辑芯片、晶体管之类的现有半导体或者是其它分立的元件。模块还可以用可编程硬件设备,诸如现场可编程门阵列、可编程阵列逻辑、可编程逻辑设备等实现。
以上所述的是本申请的可选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本申请所述原理前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。

Claims (35)

  1. 一种用户网际互连协议IP地址分配管理方法,应用于会话管理功能SMF集中的SMF实体,包括:
    获取目标IP地址的分配信息,所述分配信息包括所述目标IP地址与所述SMF实体之间的第一对应关系信息以及所述目标IP地址的占用情况信息;
    根据所述分配信息,进行用户IP地址分配;
    其中,所述目标IP地址是指所述SMF实体所能分配的至少一个用户IP地址;
    所述SMF集中的不同SMF实体对应不同的目标IP地址。
  2. 根据权利要求1所述的用户网际互连协议IP地址分配管理方法,其中,所述根据所述分配信息,进行用户IP地址分配,包括:
    根据所述分配信息,确定所述目标IP地址的占用情况信息;
    根据所述占用情况信息,从所述目标IP地址中选择未被占用的用户IP地址进行分配。
  3. 根据权利要求1或2所述的用户网际互连协议IP地址分配管理方法,其中,还包括:
    获取所述SMF集中其他SMF实体所能分配的用户IP地址的记录信息;
    其中,所述记录信息包括所述其他SMF实体与所述其他SMF实体所能分配的用户IP地址之间的第二对应关系信息以及所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息。
  4. 根据权利要求3所述的用户网际互连协议IP地址分配管理方法,其中,还包括:
    动态维护所述分配信息以及记录信息。
  5. 根据权利要求4所述的用户网际互连协议IP地址分配管理方法,其中,所述动态维护所述分配信息,包括:
    在根据所述分配信息,进行用户IP地址分配之后,更新被分配的用户IP地址的占用情况信息。
  6. 根据权利要求4所述的用户网际互连协议IP地址分配管理方法,其 中,所述动态维护所述分配信息以及记录信息,包括:
    在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情况信息为被占用;或者,
    在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由被占用更新为未被占用。
  7. 根据权利要求4所述的用户网际互连协议IP地址分配管理方法,其中,所述动态维护所述分配信息以及记录信息,包括:
    在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情况信息为被占用;或者,
    在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由未被占用更新为被占用。
  8. 根据权利要求4所述的用户网际互连协议IP地址分配管理方法,其中,所述动态维护所述分配信息以及记录信息,包括:
    在存在会话释放用户IP地址,且释放的用户IP地址属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述分配信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;或者,
    在存在会话释放用户IP地址,且释放的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;并广播所述释放的用户IP地址的消息。
  9. 根据权利要求4所述的用户网际互连协议IP地址分配管理方法,其 中,所述动态维护所述分配信息以及记录信息,包括:
    接收所述其他SMF实体广播的释放用户IP地址的消息;
    根据所述消息,将被释放的用户IP地址的占用情况信息由被占用更新为未被占用。
  10. 根据权利要求4所述的用户网际互连协议IP地址分配管理方法,其中,所述动态维护所述分配信息以及记录信息,包括:
    在所述分配信息及记录信息丢失的情况下,向所述其他SMF实体广播所述SMF实体重启的消息;
    接收所述SMF集中所有其他SMF实体根据所述SMF实体重启的消息反馈的响应消息;
    根据响应消息集合,重新确定所述分配信息以及记录信息;
    其中,所述响应消息中至少包括所述SMF实体的所述第一对应关系和目标IP地址的占用情况信息;
    所述响应消息集合包括所述SMF集中所有其他SMF实体反馈的响应消息。
  11. 根据权利要求10所述的用户网际互连协议IP地址分配管理方法,其中,所述根据响应消息集合,重新确定所述分配信息,包括:
    根据所述响应消息集合,重新确定所述目标IP地址对应的占用情况信息;
    根据所述第一对应关系和重新确定的占用情况信息,得到重新确定的所述分配信息。
  12. 根据权利要求11所述的用户网际互连协议IP地址分配管理方法,其中,所述根据所述响应消息集合,重新确定所述目标IP地址对应的占用情况信息,包括:
    根据所述响应消息集合中的所述第一对应关系,重新确定所述目标IP地址;
    根据重新确定的所述目标IP地址和所述响应消息集合中的所述目标IP地址的占用情况信息,重新确定所述目标IP地址对应的占用情况信息。
  13. 根据权利要求12所述的用户网际互连协议IP地址分配管理方法,其中,所述根据重新确定的所述目标IP地址和所述响应消息集合中的所述目 标IP地址的占用情况信息,重新确定所述目标IP地址对应的占用情况信息,包括:
    在所述响应消息集合中的第一用户IP地址的占用情况信息中存在第一占用情况信息的情况下,确定所述第一用户IP地址的占用情况信息为被占用;
    否则,确定所述第一用户IP地址的占用情况信息为未被占用;
    其中,所述第一占用情况信息为指示所述第一用户IP地址被占用的占用情况信息;
    所述第一用户IP地址为所述目标IP地址中的任意一个用户IP地址。
  14. 根据权利要求10所述的用户网际互连协议IP地址分配管理方法,其中,所述响应消息集合中还包括所述SMF集中的所有所述其他SMF实体分别对应的所述第二对应关系信息;
    其中,根据所述响应消息集合,重新确定所述记录信息,包括:
    根据所述响应消息集合中的所有所述第二对应关系信息,确定各个所述第二对应关系分别对应的所述其他SMF实体所能分配的用户IP地址,并确定所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息均为未被占用;
    根据所述响应消息集合中的所有所述第二对应关系信息和确定的各个占用情况信息,得到重新确定的所述记录信息。
  15. 根据权利要求4所述的用户网际互连协议IP地址分配管理方法,其中,动态维护所述记录信息,包括:
    接收所述其他SMF实体广播的SMF重启的消息;
    根据所述SMF重启的消息,向所述其他SMF实体反馈响应消息;
    其中,所述响应消息中至少包括所述其他SMF实体所能分配的用户IP地址的占用情况信息。
  16. 一种用户网际互连协议IP地址分配管理装置,应用于会话管理功能SMF集中的SMF实体,包括:
    第一获取模块,用于获取目标IP地址的分配信息,所述分配信息包括所述目标IP地址与所述SMF实体之间的第一对应关系信息以及所述目标IP地址的占用情况信息;
    第一分配模块,用于根据所述分配信息,进行用户IP地址分配;
    其中,所述目标IP地址是指所述SMF实体所能分配的至少一个用户IP地址;
    所述SMF集中的不同SMF实体对应不同的目标IP地址。
  17. 根据权利要求16所述的用户网际互连协议IP地址分配管理装置,其中,所述第一分配模块,包括:
    第一确定子模块,用于根据所述分配信息,确定所述目标IP地址的占用情况信息;
    第一分配子模块,用于根据所述占用情况信息,从所述目标IP地址中选择未被占用的用户IP地址进行分配。
  18. 根据权利要求16或17所述的用户网际互连协议IP地址分配管理装置,其中,还包括:
    第二获取模块,用于获取所述SMF集中其他SMF实体所能分配的用户IP地址的记录信息;
    其中,所述记录信息包括所述其他SMF实体与所述其他SMF实体所能分配的用户IP地址之间的第二对应关系信息以及所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息。
  19. 根据权利要求18所述的用户网际互连协议IP地址分配管理装置,其中,还包括:
    第一维护模块,用于动态维护所述分配信息以及记录信息。
  20. 根据权利要求19所述的用户网际互连协议IP地址分配管理装置,其中,所述第一维护模块,包括:
    第一更新子模块,用于在根据所述分配信息,进行用户IP地址分配之后,更新被分配的用户IP地址的占用情况信息。
  21. 根据权利要求19所述的用户网际互连协议IP地址分配管理装置,其中,所述第一维护模块,包括:
    第一处理子模块,用于在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的 用户IP地址的占用情况信息为被占用;或者,
    在存在会话的控制面由所述SMF实体切换到所述其他SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由被占用更新为未被占用。
  22. 根据权利要求19所述的用户网际互连协议IP地址分配管理装置,其中,所述第一维护模块,包括:
    第二处理子模块,用于在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址属于所述SMF实体的目标IP地址的情况下,维持所述SMF实体的所述分配信息中所述会话所占用的用户IP地址的占用情况信息为被占用;或者,
    在存在会话的控制面由所述其他SMF实体切换到所述SMF实体,且所述会话所占用的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述会话所占用的用户IP地址的占用情况信息由未被占用更新为被占用。
  23. 根据权利要求19所述的用户网际互连协议IP地址分配管理装置,其中,所述第一维护模块,包括:
    第三处理子模块,用于在存在会话释放用户IP地址,且释放的用户IP地址属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述分配信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;或者,
    在存在会话释放用户IP地址,且释放的用户IP地址不属于所述SMF实体的目标IP地址的情况下,将所述SMF实体的所述记录信息中所述释放的用户IP地址的占用情况信息由被占用更新为未被占用;并广播所述释放的用户IP地址的消息。
  24. 根据权利要求19所述的用户网际互连协议IP地址分配管理装置,其中,所述第一维护模块,包括:
    第一接收子模块,用于接收所述其他SMF实体广播的释放用户IP地址的消息;
    第二更新子模块,用于根据所述消息,将被释放的用户IP地址的占用情况信息由被占用更新为未被占用。
  25. 根据权利要求19所述的用户网际互连协议IP地址分配管理装置,其中,所述第一维护模块,包括:
    第一广播子模块,用于在所述分配信息及记录信息丢失的情况下,向所述其他SMF实体广播所述SMF实体重启的消息;
    接收所述SMF集中所有其他SMF实体根据所述SMF实体重启的消息反馈的响应消息;
    第二确定子模块,用于根据响应消息集合,重新确定所述分配信息以及记录信息;
    其中,所述响应消息中至少包括所述SMF实体的所述第一对应关系和目标IP地址的占用情况信息;
    所述响应消息集合包括所述SMF集中所有其他SMF实体反馈的响应消息。
  26. 根据权利要求25所述的用户网际互连协议IP地址分配管理装置,其中,所述第二确定子模块,包括:
    第一确定单元,用于根据所述响应消息集合,重新确定所述目标IP地址对应的占用情况信息;
    第一处理单元,用于根据所述第一对应关系和重新确定的占用情况信息,得到重新确定的所述分配信息。
  27. 根据权利要求26所述的用户网际互连协议IP地址分配管理装置,其中,所述第一确定单元,包括:
    第一确定子单元,用于根据所述响应消息集合中的所述第一对应关系,重新确定所述目标IP地址;
    第二确定子单元,用于根据重新确定的所述目标IP地址和所述响应消息集合中的所述目标IP地址的占用情况信息,重新确定所述目标IP地址对应的占用情况信息。
  28. 根据权利要求27所述的用户网际互连协议IP地址分配管理装置,其中,所述第二确定子单元,具体用于:
    在所述响应消息集合中的第一用户IP地址的占用情况信息中存在第一占用情况信息的情况下,确定所述第一用户IP地址的占用情况信息为被占用;
    否则,确定所述第一用户IP地址的占用情况信息为未被占用;
    其中,所述第一占用情况信息为指示所述第一用户IP地址被占用的占用情况信息;
    所述第一用户IP地址为所述目标IP地址中的任意一个用户IP地址。
  29. 根据权利要求25所述的用户网际互连协议IP地址分配管理装置,其中,所述响应消息集合中还包括所述SMF集中的所有所述其他SMF实体分别对应的所述第二对应关系信息;
    其中,所述第二确定子模块,包括:
    第二确定单元,用于根据所述响应消息集合中的所有所述第二对应关系信息,确定各个所述第二对应关系分别对应的所述其他SMF实体所能分配的用户IP地址,并确定所述其他SMF实体所能分配的用户IP地址在所述SMF实体上的占用情况信息均为未被占用;
    第三确定单元,用于根据所述响应消息集合中的所有所述第二对应关系信息和确定的各个占用情况信息,得到重新确定的所述记录信息。
  30. 根据权利要求19所述的用户网际互连协议IP地址分配管理装置,其中,所述第一维护模块,包括:
    第二接收子模块,用于接收所述其他SMF实体广播的SMF重启的消息;
    第一反馈子模块,用于根据所述SMF重启的消息,向所述其他SMF实体反馈响应消息;
    其中,所述响应消息中至少包括所述其他SMF实体所能分配的用户IP地址的占用情况信息。
  31. 一种会话管理功能SMF实体,所述SMF实体为SMF集中的SMF实体,包括:处理器和收发机;
    所述处理器,用于获取目标IP地址的分配信息,所述分配信息包括所述目标IP地址与所述SMF实体之间的第一对应关系信息以及所述目标IP地址的占用情况信息;
    根据所述分配信息,进行用户IP地址分配;
    其中,所述目标IP地址是指所述SMF实体所能分配的至少一个用户IP地址;
    所述SMF集中的不同SMF实体对应不同的目标IP地址。
  32. 一种会话管理功能SMF实体,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;其中,所述处理器执行所述程序时实现如权利要求1至15中任一项所述的用户网际互连协议IP地址分配管理方法。
  33. 一种可读存储介质,其上存储有程序,其中,该程序被处理器执行时实现如权利要求1至15中任一项所述的用户网际互连协议IP地址分配管理方法中的步骤。
  34. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-15任一项所述的用户网际互连协议IP地址分配管理方法。
  35. 一种会话管理功能SMF实体,所述会话管理功能SMF实体被配置成用于执行如权利要求1-15任一项所述的用户网际互连协议IP地址分配管理方法。
PCT/CN2021/107356 2020-07-21 2021-07-20 用户ip地址分配管理方法、装置及会话管理功能实体 Ceased WO2022017380A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010704449.1 2020-07-21
CN202010704449.1A CN114039945B (zh) 2020-07-21 2020-07-21 用户ip地址分配管理方法、装置及会话管理功能实体

Publications (1)

Publication Number Publication Date
WO2022017380A1 true WO2022017380A1 (zh) 2022-01-27

Family

ID=79728970

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/107356 Ceased WO2022017380A1 (zh) 2020-07-21 2021-07-20 用户ip地址分配管理方法、装置及会话管理功能实体

Country Status (2)

Country Link
CN (1) CN114039945B (zh)
WO (1) WO2022017380A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022289A (zh) * 2022-05-31 2022-09-06 苏州浪潮智能科技有限公司 一种连续可用ip地址检测方法、装置、设备及存储介质
CN117014372A (zh) * 2022-04-28 2023-11-07 中国移动通信集团重庆有限公司 数据传输方法、装置、设备及计算机存储介质
WO2025117544A1 (en) 2023-11-29 2025-06-05 The Broad Institute, Inc. Engineered omega guide molecule and iscb compositions, systems, and methods of use thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110120988A (zh) * 2018-02-07 2019-08-13 华为技术有限公司 地址管理方法、设备及系统
CN110166580A (zh) * 2018-02-13 2019-08-23 华为技术有限公司 资源管理的方法、设备及系统
CN110557791A (zh) * 2018-05-31 2019-12-10 华为技术有限公司 会话管理方法、设备及系统
CN110661894A (zh) * 2018-06-29 2020-01-07 中兴通讯股份有限公司 用户ip地址的分配方法、网络设备和存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295117B (zh) * 2017-06-16 2019-11-12 杭州迪普科技股份有限公司 一种地址池的分配方法及装置
KR102364802B1 (ko) * 2017-06-23 2022-02-17 후아웨이 테크놀러지 컴퍼니 리미티드 서비스 연속성 구현 방법, 장치 및 서비스 연속성 구현 시스템
CN108881520B (zh) * 2018-08-30 2021-04-16 中国联合网络通信集团有限公司 一种IPv6地址的分配方法及SMF、通信系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110120988A (zh) * 2018-02-07 2019-08-13 华为技术有限公司 地址管理方法、设备及系统
CN110166580A (zh) * 2018-02-13 2019-08-23 华为技术有限公司 资源管理的方法、设备及系统
CN110557791A (zh) * 2018-05-31 2019-12-10 华为技术有限公司 会话管理方法、设备及系统
CN110661894A (zh) * 2018-06-29 2020-01-07 中兴通讯股份有限公司 用户ip地址的分配方法、网络设备和存储介质

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HUAWEI, HISILICON: "Resource management of UPF shared by multiple SMFs", 3GPP DRAFT; S2-184096 WAS3458 PCR_RESOURCE MANAGEMENT OF UPF SHARED BY MULTIPLE SMFS..., 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Sanya, China; 20180416 - 20180420, 19 April 2018 (2018-04-19), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051432660 *
HUAWEI, HISILICON: "Solution: IP address allocation", 3GPP DRAFT; S2-182477_2222 PCR_ETSUN-IP ADDRESS ALLOCATION_V1.0, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Montreal, Canada; 20180226 - 20180302, 1 March 2018 (2018-03-01), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051394050 *
NOKIA, ALCATEL-LUCENT SHANGHAI BELL, T-MOBILE USA: "23.501 § 5.8: IP address allocation for a PDU session and forwarding realms", 3GPP DRAFT; S2-175307_E-MAIL_REV4_S2-175281, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Los Cabos, Mexico; 20170626 - 20170630, 9 July 2017 (2017-07-09), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051310276 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117014372A (zh) * 2022-04-28 2023-11-07 中国移动通信集团重庆有限公司 数据传输方法、装置、设备及计算机存储介质
CN115022289A (zh) * 2022-05-31 2022-09-06 苏州浪潮智能科技有限公司 一种连续可用ip地址检测方法、装置、设备及存储介质
CN115022289B (zh) * 2022-05-31 2023-08-15 苏州浪潮智能科技有限公司 一种连续可用ip地址检测方法、装置、设备及存储介质
WO2025117544A1 (en) 2023-11-29 2025-06-05 The Broad Institute, Inc. Engineered omega guide molecule and iscb compositions, systems, and methods of use thereof

Also Published As

Publication number Publication date
CN114039945B (zh) 2023-03-28
CN114039945A (zh) 2022-02-11

Similar Documents

Publication Publication Date Title
US11711335B2 (en) Communication method applied to edge computing scenario, storage medium, and electronic device
WO2022017380A1 (zh) 用户ip地址分配管理方法、装置及会话管理功能实体
CN102882989B (zh) 一种多nvr监控网络分配ip地址的方法和装置
JPH10301871A (ja) 通信システムで比較的大きなデータ・オブジェクトの伝送を制御するシステムと方法
JPH10301873A (ja) 通信システムで比較的大きなデータ・オブジェクトの伝送を制御するシステムと方法
CN110661894A (zh) 用户ip地址的分配方法、网络设备和存储介质
WO2015074396A1 (zh) 一种软件定义网络sdn的自动配置方法、设备及系统
CN1030885C (zh) 多信道通信树生成和控制的方法及装置
CN114070822B (zh) 一种Kubernetes Overlay IP地址管理方法
WO2016180189A1 (zh) 接入多媒体会议系统的方法及装置
CN111131445B (zh) Dhcp集群的调度方法和dhcp集群系统
CN102299932A (zh) 一种dhcp服务器备份方法和dhcp服务器
CN106790084A (zh) 一种基于ice中间件的异构资源集成框架及其集成方法
US11140091B2 (en) Openflow protocol-based resource control method and system, and apparatus
CN109495593B (zh) 地址分配方法及系统
CN101167307B (zh) 一种可动态自适应的分布式资源管理系统和方法
CN103929506A (zh) 为ip硬盘分配ip地址的方法和装置
CN115622891A (zh) 通信方法、装置及系统
CN118694746A (zh) Pod的IP地址分配的方法、装置、介质及电子设备
CN113596188B (zh) 一种多设备管理方法和装置
CN113961319A (zh) 作业热迁移的方法、装置、电子设备及存储介质
WO2009094933A1 (fr) Procédé de traitement du tunnel d'un réseau par paquets, système de communication, et appareil associé
CN113452729A (zh) 序列号确定方法、设备及存储介质
CN120017617B (zh) 组播通信方法和装置、系统、存储介质及程序产品
CN114363291A (zh) 地址分配方法、装置、控制面功能实体及用户面功能实体

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 08/05/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21846124

Country of ref document: EP

Kind code of ref document: A1