Session management method and apparatus
Abstract
Embodiments of the present disclosure disclose a session management method and an apparatus. The technology is specifically related to sending, by user equipment, a NAS message to an AGF, where the NAS message includes a PDU session establishment request message used to request to establish a PDU session, receiving, by the user equipment, a PDU session establishment accept message returned by a network side device, and establishing, by the user equipment, an access session with the AGF, where the access session is an access session related to the PDU session. The user equipment sends the NAS message to establish the PDU session, and establishes the access session with the AGF. Because the access session is related to the PDU session, the user equipment can map the PDU session to the access session, so that the user equipment accesses a 5G CN through a fixed network.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A session management method, comprising:
sending, by user equipment, a non-access stratum (NAS) message to an access gateway function (AGF) device, wherein the NAS message comprises a packet data unit (PDU) session establishment request message used to request to establish a PDU session;
receiving, by the user equipment, a PDU session establishment accept message from a network side device;
establishing, by the user equipment, a first point-to-point protocol over Ethernet (PPPoE) session with the AGF device, wherein the first PPPoE session is related to the PDU session;
determining, by the user equipment, an identifier of the first PPPoE session corresponding to the PDU session;
encapsulating a data packet of the PDU session by the identifier of the first PPPoE session; and
sending the encapsulated data packet to the AGF device.
2. The method according to claim 1 , wherein
the NAS message is encapsulated by a NAS message identifier identifying the NAS message.
3. The method according to claim 2 , further comprising:
before sending the NAS message to the AGF device by the user equipment, establishing a second PPPoE session between the user equipment and the AGF device, wherein the NAS message is sent to the AGF device by using a message in a network control protocol process corresponding to the second PPPoE session.
4. The method according to claim 3 , wherein
the PDU session establishment accept message comprises an identifier of the second PPPoE session, or the PDU session establishment accept message is encapsulated by an identifier of the second PPPoE session.
5. The method according to claim 2 , wherein
the NAS message is encapsulated in a data packet of a predetermined protocol layer, and the NAS message identifier comprises information of the predetermined protocol layer.
6. An access gateway function (AGF) device, comprising a transceiver and a processor,
the transceiver is configured to:
receive a non-access stratum (NAS) message from user equipment, wherein the NAS message comprises a packet data unit (PDU) session establishment request message used to request to establish a PDU session;
send the NAS message to a mobility management function; and
after receiving a PDU session establishment accept message, send the PDU session establishment accept message to the user equipment; and
the processor is configured to establish a first point-to-point protocol over Ethernet (PPPoE) session with the user equipment, wherein the first PPPoE session is related to the PDU session,
wherein the transceiver is further configured to: receive a data packet from the user equipment; and
wherein the processor is further configured to: when the data packet is encapsulated by an identifier of the first PPPoE session, determine, based on the identifier of the first PPPoE session, the data packet corresponding to the PDU session.
7. The AGF device according to claim 6 , wherein
the NAS message is encapsulated by a NAS message identifier identifying the NAS message.
8. The AGF device according to claim 7 , wherein the processor is further configured to:
establish a second PPPoE session between the user equipment and the AGF device before receiving the NAS message; and
the transceiver is further configured to receive the NAS message from the user equipment to the AGF device by using a message in a network control protocol process corresponding to the second PPPoE session.
9. The AGF device according to claim 8 , wherein the transceiver is further configured to
receive the PDU session establishment accept message from a session management function (SMF); and
the processor is further configured to: encapsulate the PDU session establishment accept message by an identifier of the second PPPoE session, the identifier of the second PPPoE session being assigned by the AGF; and
the transceiver is further configured to send the encapsulated PDU session establishment accept message to the user equipment.
10. The AGF device according to claim 6 , wherein the transceiver is further configured to:
send the data packet to the PDU session corresponding to the identifier of the first PPPoE session.
11. User equipment, comprising a transceiver and a processor,
wherein the transceiver is configured to: send a non-access stratum (NAS) message to an access gateway function (AGF) device, wherein the NAS message comprises a packet data unit (PDU) session establishment request message used to request to establish a PDU session, and receive a PDU session establishment accept message from a network side device,
wherein the processor is configured to: establish a first point-to-point protocol over Ethernet (PPPoE) session with the AGF device, wherein the first PPPoE session is related to the PDU session,
wherein the processor is further configured to determine an identifier of the first PPPoE session corresponding to the PDU session, and encapsulate a data packet of the PDU session by the identifier of the first PPPoE session; and
wherein the transceiver is further configured to send the encapsulated data packet to the AGF device.
12. The user equipment according to claim 11 , wherein the NAS message is encapsulated by a NAS message identifier identifying the NAS message.
13. The user equipment according to claim 11 , wherein the processor is further configured to:
establish a second PPPoE session between the user equipment and the AGF device; and
wherein the transceiver is further configured to send the NAS message to the AGF device by using a message in a network control protocol process corresponding to the second PPPoE session.
14. The user equipment according to claim 13 , wherein the PDU session establishment accept message comprises an identifier of the second PPPoE session, or the PDU session establishment accept message is encapsulated by the identifier of the second PPPoE session.
15. The user equipment according to claim 12 , wherein the NAS message is encapsulated in a data packet of a predetermined protocol layer, and the NAS message identifier comprises information of the predetermined protocol layer.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.