A session management method, wherein user equipment, UE , has a first protocol data unit session between the UE and a first user plane function entity corresponding to the first protocol data unit session, the first protocol data unit session is in an inactive state, and the method comprises: receiving (S110), by a session management function entity , a first message from an access and mobility management function entity , wherein the first message carries location information of the UE ; determining (S111), by the session management function entity based on the location information of the UE comprised in the first message, that the UE moves out of a service area of the first user plane function entity corresponding to the first protocol data unit session; sending (S112), by the session management function entity , a first parameter to the UE when a session and service continuity mode of the first protocol data unit session is determined as a mode comprising establishing a new protocol data unit session after releasing an existing protocol data unit session, wherein the first parameter comprises an identifier of the first protocol data unit session and a first indication, the identifier is used to identify the first protocol data unit session, and the first indication indicates to re-establish the first protocol data unit session, wherein re-establishing the first protocol data unit session comprises establishing a second protocol data unit session to a same data network; selecting (S107), by the session management function entity , a second user plane function entity to establish the second protocol data unit session for the UE ; and establishing (S107), by the session management function entity , the second protocol data unit session between the UE and the second user plane function entity . receiving (S110), by a session management function entity , a first message from an access and mobility management function entity , wherein the first message carries location information of the UE ; determining (S111), by the session management function entity based on the location information of the UE comprised in the first message, that the UE moves out of a service area of the first user plane function entity corresponding to the first protocol data unit session; sending (S112), by the session management function entity , a first parameter to the UE when a session and service continuity mode of the first protocol data unit session is determined as a mode comprising establishing a new protocol data unit session after releasing an existing protocol data unit session, wherein the first parameter comprises an identifier of the first protocol data unit session and a first indication, the identifier is used to identify the first protocol data unit session, and the first indication indicates to re-establish the first protocol data unit session, wherein re-establishing the first protocol data unit session comprises establishing a second protocol data unit session to a same data network; selecting (S107), by the session management function entity , a second user plane function entity to establish the second protocol data unit session for the UE ; and establishing (S107), by the session management function entity , the second protocol data unit session between the UE and the second user plane function entity . <EOS>