Session management function entity discovery method, network function node, access and mobility management function entity, electronic device, and computer readable storage medium
The present disclosure provides a session management function entity discovery method, applied in a session creation process, including: in response to receiving a first request message sent by an access and mobility management function entity (AMF), determining a session management function entity (SMF) set including an SMF that a virtual network (VN) group belongs to, with the VN group including a user equipment (UE) accessing the AMF and requesting to create a session; and determining a preferred SMF of the VN group from the SMF set, and sending information of the preferred SMF to the AMF. The present disclosure further provides a network function node, an access and mobility management function entity, an electronic device, and a computer-readable storage medium.
1 . A session management function entity discovery method, performed by an access and mobility management function entity (AMF), comprising:
in response to receiving a session creation request message sent by a user equipment (UE) in a virtual network (VN) group including a plurality of UEs, sending a first request message to a network function node (NF), the first request message being configured to instruct the NF to determine a preferred session management function entity (SMF) of the virtual network (VN) group from an SMF set including a plurality of SMFs, the VN group, including the plurality of UEs, belonging to the plurality of SMFs in the SMF set;
receiving information of the preferred SMF sent by the NF;
sending a session creation request message to the preferred SMF corresponding to the information of the preferred SMF, in response to a session creation request message sent by any UE in the VN group; and
selecting another SMF from the SMF set except the preferred SMF and sending the session creation request message to the another SMF, in response to receiving a session creation request failure message sent by the preferred SMF.
2 . The method of claim 1 , further comprising:
before sending the session creation request message to the preferred SMF corresponding to the information of the preferred SMF, acquiring the SMF set.
3 . The method of claim 2 , wherein the first request message is an SMF discovery request message carrying information of the VN group that the UE belongs to, and the receiving information of the preferred SMF sent by the NF and the acquiring the SMF set comprise:
receiving an SMF discovery response message sent by the NF, and acquiring the information of the preferred SMF and the SMF set carried in the SMF discovery response message, the SMF set being determined by the NF according to the information of the VN group and a second mapping relationship between the information of the VN group and information of the SMF.
4 . The method of claim 1 , wherein the NF comprises a first NF and a second NF, the first request message is a VN group preferred SMF selection request message, the SMF discovery method further comprises:
before sending the first request message to the NF, sending an SMF discovery request message carrying the information of the VN group to the first NF, the SMF discovery request message being configured to instruct the first NF to determine the SMF set; and
receiving an SMF discovery response message sent by the first NF, and acquiring the SMF set carried in the SMF discovery response message;
the sending a first request message to an NF comprises:
sending the VN group preferred SMF selection request message carrying the SMF set to the second NF, the VN group preferred SMF selection request message being configured to instruct the second NF to determine the preferred SMF of the VN group.
5 . The method of claim 4 , wherein the VN group preferred SMF selection request message further carries the information of the VN group.
6 . The method of claim 2 , wherein the NF comprises a first NF and a second NF, the first request message is a VN group preferred SMF selection request message, the SMF discovery method further comprises:
before sending the first request message to the NF, sending an SMF discovery request message carrying the information of the VN group to the first NF, the SMF discovery request message being configured to instruct the first NF to determine the SMF set; and
receiving an SMF discovery response message sent by the first NF, and acquiring the SMF set carried in the SMF discovery response message;
the sending a first request message to an NF comprises:
sending the VN group preferred SMF selection request message carrying the SMF set to the second NF, the VN group preferred SMF selection request message being configured to instruct the second NF to determine the preferred SMF of the VN group.
7 . An electronic device, comprising:
at least one processor; and
a storage device having at least one computer program stored thereon; the at least one computer program, executed by the at least one processor, causes the at least one processor to implement the SMF discovery method of claim 1 .
8 . A non-transitory computer-readable storage medium having a computer program stored thereon, the computer program, executed by a processor, causes the processor to perform the SMF discovery method according to claim 1 .