Communication method and communications apparatus
11570665 · 2023-01-31
Assignee
Inventors
Cpc classification
H04W36/0016
ELECTRICITY
H04W36/18
ELECTRICITY
International classification
Abstract
According to a communication method and a communications apparatus, in a process in which an access network device serving a terminal is handed over from a source access network device to a target access network device, a user plane function network element may transmit first information to the source access network device. The first information is used to indicate that the user plane function network element bicasts downlink packets to the source access network device and the target access network device, so that after determining that a data packet received before the first information is sent to the terminal, the source access network device triggers an air interface handover, to avoid a packet loss in a handover process, or so that the source access network device synchronizes a PDCP SN of the source access network device with a PDCP SN of the target access network device.
Claims
1. A communication method performed during a process in which an access network device serving a terminal is handed over from a source access network device to a target access network device, the communication method comprising: determining, by a user plane function network element, to bicast downlink packets to the source access network device and the target access network device; and sending, by the user plane function network element, first information to the source access network device, wherein the first information indicates that the user plane function network element bicasts the downlink packets to the source access network device and the target access network device.
2. The communication method according to claim 1, wherein the sending, by the user plane function network element, the first information to the source access network device comprises: bicasting, by the user plane function network element, the downlink packets to the source access network device and the target access network device, wherein the downlink packets bicast by the user plane function network element to the source access network device comprise the first information.
3. The communication method according to claim 2, wherein a quantity N of the first downlink packets bicast by the user plane function network element to the source access network device all carry the first information, and N is a positive integer.
4. The communication method according to claim 1, wherein the communication method further comprises: bicasting, by the user plane function network element, the downlink packets to the source access network device and the target access network device after sending the first information.
5. A communication method performed during a process in which an access network device serving a terminal is handed over from a source access network device to a target access network device, the communication method comprising: receiving, by the source access network device, first information from a user plane function network element, wherein the first information indicates that the user plane function network element bicasts downlink packets to the source access network device and the target access network device; and triggering, by the source access network device, an air interface handover after sending a data packet received before the first information to the terminal.
6. The communication method according to claim 5, wherein the triggering, by the source access network device, the air interface handover comprises: sending, by the source access network device, a handover command message to the terminal; or stopping, by the source access network device, sending downlink data to the terminal.
7. The communication method according to claim 5, wherein the receiving, by the source access network device, the first information from the user plane function network element comprises: receiving, by the source access network device, the downlink packets bicast by the user plane function network element to the source access network device and the target access network device, wherein the downlink packets bicast by the user plane function network element to the source access network device comprise the first information.
8. The communication method according to claim 7, wherein the first N downlink packets bicast by the user plane function network element to the source access network device all carry the first information, and N is a positive integer.
9. The communication method according to claim 5, wherein the communication method further comprises: receiving, by the source access network device after receiving the first information, the downlink packets bicast by the user plane function network element to the source access network device and the target access network device.
10. The communication method according to claim 5, wherein the communication method further comprises: starting, by the source access network device, to detect whether the first information is received, after receiving a handover command from an access and mobility management function network element, or after sending a handover required message to the access and mobility management function network element.
11. A communications apparatus operating during a process in which an access network device serving a terminal is handed over from a source access network device to a target access network device, comprising: a processor, configured to determine to bicast downlink packets to the source access network device and the target access network device; and a transmitter, configured to send first information to the source access network device, wherein the first information indicates that a user plane function network element bicasts the downlink packets to the source access network device and the target access network device.
12. The communications apparatus according to claim 11, wherein the transmitter is specifically configured to bicast the downlink packets to the source access network device and the target access network device, wherein the downlink packets bicast by the user plane function network element to the source access network device comprise the first information.
13. The communications apparatus according to claim 12, wherein a quantity N of the first downlink packets bicast by the communications apparatus to the source access network device all carry the first information, and N is a positive integer.
14. The communications apparatus according to claim 11, wherein the transmitter is specifically configured to bicast the downlink packets to the source access network device and the target access network device after sending the first information.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
DESCRIPTION OF EMBODIMENTS
(13) The following describes technical solutions in this application with reference to accompanying drawings.
(14) As shown in
(15) UE may also be referred to as a terminal device. The terminal device may communicate with one or more core networks (core network, CN) by using a RAN device. The terminal device may also be referred to as an access terminal, a terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a wireless network device, a user agent, or a user apparatus. The terminal may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device having a wireless communication function, a computing device, another device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in an internet of things, a terminal device in an internet of vehicles, any form of terminal device in a future network, or the like.
(16) An example of a RAN device is a base station (BS). The base station may also be referred to as base station equipment, is a device that connects the terminal to a wireless network, and includes but is not limited to: a transmission reception point (TRP), a 5G NodeB (gNB), an evolved NodeB (evolved node B, eNB), a radio network controller (RNC), a NodeB (node B, NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (for example, a home evolved nodeB or a home node B, HNB), a base band unit (BBU), a Wi-Fi access point (AP), a pico base station (pico), or the like.
(17) It should be understood that a specific type of the base station is not limited in this specification. In systems using different radio access technologies, names of devices having functions of the base station may be different. For ease of description, in all embodiments of this application, the foregoing apparatuses that provide a wireless communication function to the terminal are collectively referred to as base stations.
(18) A UPF network element has functions such as packet forwarding, encapsulation, and statistics collection of the terminal device.
(19) An AMF network element is responsible for access and mobility management of the terminal device. For example, the AMF network element is responsible for UE location update, registration of the UE with a network, or UE handover.
(20) An SMF network element is responsible for selection and reselection of the UPF network element, assignment of an internet protocol (IP) address, and the like, and may be further responsible for session establishment, modification, release, and the like.
(21) It should be understood that the embodiments of this application are not limited to a system architecture shown in
(22) In a communications system shown in
(23) In some scenarios, the UE 101 needs to be handed over from the RAN device 102 to the RAN device 103. For example, the RAN device 102 may determine, based on a measurement report reported by the UE 101, to hand over the UE 101 to the RAN device 103. That is, the UE 101 communicates with the UPF network element 104 or another UPF network element by using the RAN device 103. The RAN device 102 may be referred to as an S-RAN device, namely, a source access network device. The RAN device 103 may be referred to as a T-RAN device, namely, a target access network device.
(24) After it is determined that the UE 101 needs to be handed over from the RAN device 102 to the RAN device 103, the RAN device 102 may complete interaction with the RAN device 103, so that the RAN device 103 determines a packet data unit (packet data unit, PDU) session that allows to be handed over and a quality of service (quality of service, QoS) flow (flow) that is included in the PDU session.
(25) In addition, the RAN device 102 provides information about the RAN device 103 to the AMF network element 105. The information about the RAN device 103 may include an identity (ID) and N3 tunnel information (tunnel Info) of the RAN device 103. The N3 tunnel information is used to establish a data transmission tunnel between the UPF network element and the RAN device 103. After obtaining the N3 tunnel information of the RAN device 103, the UPF may send a downlink packet to the RAN device 103 based on the tunnel information.
(26) The AMF network element 105 provides the information about the RAN device 103 to the SMF network element 106, and then the SMF network element 106 delivers indication information or a forwarding rule to the UPF network element 104 (certainly, may alternatively be another UPF network element) based on the information about the RAN device 103. The indication information or the forwarding rule is used to indicate the UPF network element 104 to process and forward the uplink data packet and/or the downlink data packet. In this embodiment of this application, the SMF network element may indicate, in the indication information or the forwarding rule, the UPF network element 104 to start to bicast downlink packets to the RAN device 102 and the RAN device 103 after receiving the indication information or the forwarding rule.
(27) The AMF network element 105 not only provides the information about the RAN device 103 to the SMF network element 106, but also sends a handover command to the RAN device 102 to trigger the RAN device to perform an air interface handover.
(28)
(29) It should be understood that
(30) S201: In a process in which an access network device serving a terminal is handed over from a source access network device to a target access network device, a user plane function network element determines to bicast downlink packets to the source access network device and the target access network device.
(31) For example, a session management function network element delivers indication information or a forwarding rule to the user plane function network element. After receiving the indication information or the forwarding rule, the user plane function network element may determine that the user plane function network element needs to bicast the downlink packets to the source access network device and the target access network device.
(32) That the user plane function network element bicasts the downlink packets to the source access network device and the target access network device may be understood as that the user plane function network element sends downlink packets received from a data network (DN) to the source access network device and the target access network device at the same time.
(33) For example, the user plane function network element encapsulates the downlink packets received from the DN, and then sends encapsulated downlink packets to the source access network device and the target access network device.
(34) For example, the user plane function network element encapsulates the downlink packets, to generate first downlink packets and second downlink packets, sends the first downlink packets to the source access network device, and sends the second downlink packets to the target access network device.
(35) For example, the user plane function network element may add different general packet radio service (GPRS) tunneling protocol (tunneling protocol for the user plane, GTP-U) headers to the downlink packets received from the DN, to generate the first downlink packets and the second downlink packets, and send the first downlink packets and the second downlink packets to the source access network device and the target access network device respectively.
(36) The user plane function network element may be the UPF network element 104, the terminal may be the UE 101, the source access network device may be the RAN device 102, and the target access network device may be the RAN device 103.
(37) S202: The user plane function network element sends first information to the source access network device, where the first information is used to indicate that the user plane function network element bicasts the downlink packets to the source access network device and the target access network device.
(38) In other words, after determining that the user plane function network element may bicast the downlink packets to the source access network device and the target access network device, the user plane function network element may send, to the source access network device, the first information indicating that the user plane function network element bicasts the downlink packets to the source access network device and the target access network device.
(39) Optionally, when the user plane function network element sends the first information to the source access network device serving the terminal, the user plane function network element may have started to bicast the downlink packets to the source access network device and the target access network device. Correspondingly, the source access network device and the target access network device receive the downlink packets from the user plane function network element.
(40) In this implementation, the user plane function network element may carry the first information only in downlink packets (for example, the first downlink packets) sent to the source access network device, or may carry the first information in all the downlink packets (for example, the first downlink packets and the second downlink packets) sent to the source access network device and the target access network device.
(41) For example, the first information may be carried in the first one of the downlink packets bicast by the user plane function network element to the source access network device.
(42) In this implementation, to improve transmission reliability of the first information, for example, to avoid a case in which the source access network device does not receive the first one of the downlink packets bicast by the user plane function network element and consequently does not receive the first information, the user plane function network element may carry the first information in the first N downlink packets sent to the source access network device.
(43) In this implementation, the user plane function network element may set a flag bit in a GTP-U header of a packet to indicate the first information.
(44) For example, flag bits may be set in GTP-U headers of the second downlink packets in step S201 to indicate the first information.
(45) For example, a specific flag bit of a GTP-U header may be set to “0” or “1”, to indicate that the user plane function network element bicasts the downlink packets to the source access network device and the target access network device, where “0” or “1” is the first information.
(46) Optionally, the user plane function network element may send the first information to the source access network device serving the terminal before starting to bicast the downlink packets to the source access network device and the target access network device. In other words, the user plane function network element starts to bicast the downlink packets to the source access network device and the target access network device after sending the first information. Correspondingly, the source access network device and the target access network device receive the downlink packets from the user plane function network element.
(47) For example, before bicasting the first one of the downlink packets, the user plane function network element may send, to the source access network device, one or more first downlink packets that carry the first information, to indicate that the bicast is about to start, and subsequently sent packets are bicast packets.
(48) S203: The source access network device triggers an air interface handover after sending a data packet received before the first information to the terminal.
(49) The air interface handover may be a Uu interface handover.
(50) That the source access network device triggers an air interface handover may include: The source access network device sends a handover command message to the terminal, to instruct a terminal device to start to perform the handover; and/or, the source access network device stops sending downlink data to the terminal.
(51) In this embodiment of this application, the user plane function network element sends the first information to the source access network device serving the terminal, to indicate starting of the bicast. After receiving the first information from the user plane function network element, and after sending the data packet received before the first information to the terminal, the source access network device triggers the air interface handover, to ensure that before the terminal device is handed over to the target access network device, the source access network device has sent a packet before the bicast starts to the terminal device, and prevents a packet loss in a handover process.
(52)
(53) It should be understood that
(54) S301: In a process in which an access network device serving a terminal is handed over from a source access network device to a target access network device, a user plane function network element determines to bicast downlink packets to the source access network device and the target access network device.
(55) S302: The user plane function network element sends first information to the source access network device, where the first information is used to indicate that the user plane function network element bicasts the downlink packets to the source access network device and the target access network device.
(56) For steps S301 and S302, refer to descriptions of S201 and S202 in
(57) S303: The source access network device sends second information to the target access network device, where the second information is used to determine PDCP SNs of downlink data in the downlink packets bicast by the user plane function network element to the source access network device and the target access network device. Correspondingly, the target access network device receives the second information from the source access network device.
(58) In other words, the second information is used by the target access network device to determine the PDCP SNs of the downlink data in the downlink packets bicast by the user plane function network element.
(59) In other words, after detecting the first information, the source access network device may send the second information to the target access network device, so that the target access network device determines, based on the second information, the PDCP SNs of the downlink data in the downlink packets received from the user plane function network element. The downlink packets are the downlink packets bicast by the user plane function network element to the source access network device and the target access network device.
(60) In some possible implementations, the second information may be carried in a sequence number status transfer (SN status transfer) message sent by the source access network device to the target access network device. In some possible implementations, the second information may include a PDCP SN allocated by the source access network device to the first bicast packet. In some possible implementations, the second information may include a PDCP SN allocated by the source access network device to a packet before the first bicast packet.
(61) S304: The target access network device generates PDCP packets based on the second information received from the source access network device and the downlink packets received from the user plane function network element. The downlink packets include the downlink packets bicast by the user plane function network element to the source access network device and the target access network device.
(62) For example, when the second information includes the PDCP SN allocated by the source access network device to the first bicast packet, the target access network device may allocate the PDCP SN to the first bicast downlink packet received from the user plane function network element. When the second information includes the PDCP SN allocated by the source access network device to the packet before the first bicast packet, the target access network device may increase the PDCP SN by 1, and allocate the increased PDCP SN to the first bicast downlink packet received from the user plane function network element.
(63) In this embodiment of this application, the user plane function network element sends the first information to the source access network device serving the terminal, to indicate starting of the bicast, so that the source access network device can synchronize downlink PDCP sequence numbers of the source access network device with downlink PDCP sequence numbers of the target access network device, and the target access network device can send PDCP packets encapsulated based on the sequence numbers to the terminal. In this way, the terminal can sort and deduplicate the received packets based on the sequence numbers in the received PDCP packets.
(64) Optionally, the communication method shown in
(65) Optionally, in the communication method shown in
(66) The access and mobility management function network element may be the AMF network element 105.
(67) In the following, an example is used to describe a schematic flowchart of a communication method according to one of the embodiments of this application with reference to
(68) That the S-RAN device and the T-RAN device exchange signaling messages through an Xn interface may mean that the S-RAN device and the T-RAN device directly exchange signaling messages through the Xn interface between the S-RAN device and the T-RAN device.
(69) It should be understood that
(70) S401: After determining, based on a measurement report received from a terminal device, that the terminal device meets a handover condition, the S-RAN device sends a handover request message to the T-RAN device.
(71) S402: After receiving the handover request message, the T-RAN device performs admission control, and determines an accepted PDU session and a QoS flow included in the session.
(72) S403: The T-RAN device sends a handover request acknowledge message to the S-RAN device. The message includes information about the T-RAN device. For example, the information about the T-RAN device in the step includes N3 tunnel information of the T-RAN device. The message may further include an identity of the accepted PDU session and an identity of the QoS flow included in the session.
(73) S404: The S-RAN device sends a handover required (Handover Required) message to the AMF network element, where the message includes information about the T-RAN device. For example, the information about the T-RAN device in this step includes an identity (identity, ID) of the T-RAN device and the N3 tunnel information of the T-RAN device. The message may further include the identity of the accepted PDU session and the identity of the QoS flow included in the session.
(74) S405: The AMF network element sends a PDU session context update request (Nsmf_PDU Session_UpdateSMContextRequest) message to the SMF network element, where the message includes the information about the T-RAN device obtained in step S404, the identity of the PDU session that can be accepted, and the identity of the QoS flow included in the session.
(75) S406: The SMF network element determines, based on information included in the PDU session context update request message received from the AMF network element in step 405, that the downlink packets need to be bicast, and delivers indication information or a forwarding rule to the UPF network element based on the information about the T-RAN device, to indicate the UPF to start to bicast the downlink packets to the S-RAN and the T-RAN. The indication information or the forwarding rule is sent to the UPF network element through an N4 session modification request message.
(76) S407: The AMF network element sends a handover command (Handover command) to the S-RAN, to indicate that a core network side of the S-RAN has completed handover preparation.
(77) S408: After receiving the indication information or the forwarding rule, the UPF network element may determine to bicast the downlink packets to the S-RAN device and the T-RAN device, and bicast the downlink packets to the S-RAN device and the T-RAN device, where the downlink packets carry the first information.
(78) For example, the UPF network element may carry the first information only in downlink packets sent to the S-RAN device, or may carry the first information in all the downlink packets sent to the S-RAN device and the T-RAN device.
(79) For example, flag bits may be set in GTP-U headers of the downlink packets to carry the first information.
(80) For example, a specific flag bit of a GTP-U header may be set to “0” or “1”, to indicate that the user plane function network element bicasts the downlink packets to the source access network device and the target access network device, where “0” or “1” is the first information.
(81) To improve reliability and avoid a case in which the S-RAN device cannot receive the first bicast packet and further cannot complete an indication of the UPF network element for bicast, the UPF network element may carry the first information in the first several bicast downlink packets.
(82) After receiving the bicast downlink packets, the T-RAN device may buffer the downlink packets.
(83) S409: After detecting the first information, the S-RAN device sends an SN status transfer message to the T-RAN device, where the message carries second information, so that the T-RAN device can determine, based on the second information, a PDCP SN that can be allocated to the first bicast packet.
(84) S410: After receiving the second information from the S-RAN device, the T-RAN device encapsulates the buffered downlink packets by using PDCP SNs indicated by the second information, to obtain PDCP packets.
(85) S411: After determining that a data packet received before the first information has been sent to the UE, the S-RAN device triggers the UE to perform an air interface handover, and the UE is handed over to the T-RAN device and completes an RRC handover process, that is, disconnects an air interface connection to the S-RAN device and establishes an air interface connection to the T-RAN device. The T-RAN starts to receive an uplink packet from the UE and sends a downlink packet to the UE.
(86) It should be understood that there is no sequence between steps S407 and S408. That is, steps S407 and S408 may be performed simultaneously, S407 may be performed first, or S408 may be performed first. S411 is performed after both S407 and S408 are completed. There is no sequence between S411 and S409.
(87) S412: The T-RAN device sends an N2 path switch request (N2 Path Switch Request) to the AMF network element.
(88) S413: After receiving the N2 path switch request from the T-RAN device, the AMF network element sends a PDU session context update request to the SMF network element, to request the SMF network element to update a session context.
(89) S414: After receiving the PDU session context update request from the AMF network element, the SMF network element sends the N4 session modification request to the UPF network element, to indicate the UPF network element to stop bicasting the downlink packets and forward a downlink packet of the UE only to the T-RAN device.
(90) In the following, an example is used to describe a schematic flowchart of a communication method according to one of the embodiments of this application with reference to
(91) That the S-RAN device and the T-RAN device exchange signaling messages through an Xn interface may mean that the S-RAN device and the T-RAN device directly exchange signaling messages through the Xn interface between the S-RAN device and the T-RAN device.
(92) It should be understood that
(93) For S501 to S507, refer to S401 to S407. Details are not described herein again.
(94) S508: After receiving the indication information or the forwarding rule, the UPF network element may determine to bicast the downlink packets to the S-RAN device and the T-RAN device, the UPF network element sends one or more first downlink packets that carry the first information to the S-RAN device, to indicate starting of the bicast, and subsequently sent packets are bicast packets.
(95) The first information may be carried in the first downlink packet. For example, if a first downlink packet is a GTP data packet, the first information may be set in a specific flag bit of a GTP-U header. For example, the specific flag bit is set to “0” or “1”. In this case, the first information in the specific flag bit may also be referred to as an end marker. The end marker is used to indicate that the bicast is about to start, and the subsequently sent packets are the bicast packets. In addition to the specific flag bit, the GTP-U header of the first downlink data packet that carries first indication information further carries downlink GTP-U tunnel information of the session associated with the bicast packets transmitted between the S-RAN and the UPF network element.
(96) S509: The UPF network element bicasts the downlink packets to the S-RAN device and the T-RAN device.
(97) After receiving the bicast downlink packets, the T-RAN device may buffer the downlink packets.
(98) For S510 to S515, refer to S409 to S414. Details are not described herein again.
(99) It should be understood that the communication method shown in
(100) In the following, an example is used to describe a schematic flowchart of a communication method according to one of the embodiments of this application with reference to
(101) That the S-RAN device and the T-RAN device exchange signaling messages through an N2 interface may mean that message exchange between the S-RAN device and the T-RAN device is implemented by using the N2 interface. For example, the S-RAN device sends a message to the T-RAN. The S-RAN device sends the message to the AMF network element through the N2 interface, and then the AMF network element sends the message to the T-RAN device through the N2 interface.
(102) It should be understood that
(103) S601: After determining, based on a measurement report received from a terminal device, that the terminal device meets a handover condition, the S-RAN device sends a handover required message to the AMF network element, where the handover required message includes information about the T-RAN device, for example, the handover required message may include a T-RAN device ID carried in the measurement report, and an identity of a PDU session that requires to be handed over.
(104) S602: After receiving the handover required message, the AMF network element sends a PDU session context update request message to the SMF network element, where the message includes the information about the T-RAN device and the identity of the PDU session that requires to be handed over.
(105) S603: The SMF network element determines, based on information included in the PDU session context update request message received from the AMF network element in step 602, a PDU session that can be accepted, and determines, based on a UPF selection criterion, whether an intermediate UPF network element needs to be added.
(106) For ease of description, in this embodiment of this application, it is assumed that the intermediate UPF network element does not need to be added. It should be noted that the method in this embodiment of this application is also applicable to a scenario in which the intermediate UPF network element needs to be added.
(107) S604: The SMF network element sends a PDU session context update response message to the AMF network element, where the message includes information about an identity of an accepted PDU session.
(108) S605: After receiving the PDU session context update response message from the SMF network element, the AMF network element sends a handover request (Handover Request) message to the T-RAN device based on the T-RAN ID obtained in step 601, where the request message includes information received by the AMF network element from the SMF network element in step 504.
(109) S606: The T-RAN device sends a handover request acknowledgment (Handover Request Acknowledge) message to the AMF network element, where the message includes the identity of the PDU session that is accepted by the T-RAN device and an identity of a QoS flow included in the session, and further includes N3 tunnel information of the T-RAN device.
(110) S607: The AMF network element sends a PDU session context update request message to the SMF network element, where the message includes the N3 tunnel information of the T-RAN device, the identity of the PDU session that is accepted by the T-RAN device, and the identity of the QoS flow included in the session.
(111) S608: The SMF network element determines, based on information included in the PDU session context update request message received from the AMF network element in step 607, that the downlink packets need to be bicast, and delivers indication information or a forwarding rule to the UPF network element based on the information about the T-RAN device, to indicate the UPF to start to bicast the downlink packets to the S-RAN and the T-RAN. The indication information or the forwarding rule is sent to the UPF network element through an N4 session modification request.
(112) S609: The AMF network element sends a handover command to the S-RAN, to indicate that a core network side of the S-RAN has completed handover preparation.
(113) S610: After receiving the indication information or the forwarding rule, the UPF network element may determine to bicast the downlink packets to the S-RAN device and the T-RAN device, and bicast the downlink packets to the S-RAN device and the T-RAN device, where the downlink packets carry the first information.
(114) For example, the UPF network element may carry the first information only in downlink packets sent to the S-RAN device, or may carry the first information in all the downlink packets sent to the S-RAN device and the T-RAN device.
(115) For example, flag bits may be set in GTP-U headers of the downlink packets to carry the first information.
(116) For example, a specific flag bit of a GTP-U header may be set to “0” or “1”, to indicate that the user plane function network element bicasts the downlink packets to the source access network device and the target access network device, where “0” or “1” is the first information.
(117) To improve reliability and avoid a case in which the S-RAN device cannot receive the first bicast packet and further cannot complete an indication of the UPF network element for bicast, the UPF network element may carry the first information in the first several bicast downlink packets.
(118) After receiving the bicast downlink packets, the T-RAN device may buffer the downlink packets.
(119) S611: After detecting the first information, the S-RAN device sends an SN status transfer message to the T-RAN device, where the message carries second information, so that the T-RAN device can determine, based on the second information, a PDCP SN that can be allocated to the first bicast packet.
(120) It should be noted that, because the S-RAN device interacts with the T-RAN device through the N2 interface, the SN status transfer message is also forwarded by the AMF network element, that is, the S-RAN device sends the SN status transfer message to the AMF network element, and then the AMF network element sends the SN status transfer message to the T-RAN device.
(121) S612: After receiving the second information from the S-RAN device, the T-RAN device encapsulates the buffered downlink packets by using PDCP SNs indicated by the second information, to obtain PDCP packets.
(122) S613: After determining that a data packet received before the first information has been sent to the UE, the S-RAN device triggers the UE to perform an air interface handover, and the UE is handed over to the T-RAN device and completes an RRC handover process, that is, disconnects an air interface connection to the S-RAN device and establishes an air interface connection to the T-RAN device. The T-RAN starts to receive an uplink packet from the UE and sends a downlink packet to the UE.
(123) S614: The T-RAN device sends a handover notification message to the AMF.
(124) S615: After receiving the handover notification message from the T-RAN device, an AMF device sends a PDU session context update request to an SMF device, to request the SMF device to update a session context.
(125) S616: After receiving the PDU session context update request from the AMF device, the SMF device sends the N4 session modification request to the UPF, to indicate the UPF to stop bicasting the downlink packets and send a downlink packet of the UE only to the T-RAN device.
(126) It should be understood that there is no sequence between steps S609 and S610. That is, steps S609 and S610 may be performed simultaneously, S609 may be performed first, or S610 may be performed first. S613 is performed after both S610 and S611 are completed. There is no sequence between S613 and S611.
(127) In the following, an example is used to describe a schematic flowchart of a communication method according to one of the embodiments of this application with reference to
(128) That the S-RAN device and the T-RAN device exchange signaling messages through an N2 interface may mean that message exchange between the S-RAN device and the T-RAN device is implemented by using the N2 interface. For example, the S-RAN device sends a message to the T-RAN. The S-RAN device sends the message to the AMF network element through the N2 interface, and then the AMF network element sends the message to the T-RAN device through the N2 interface.
(129) The first information may be carried in a first downlink packet. For example, if the first downlink packet is a GTP data packet, the first information may be set in a specific flag bit of a GTP-U header. For example, the specific flag bit is set to “0” or “1”. In this case, the first information in the specific flag bit may also be referred to as an end marker. The end marker is used to indicate that the bicast is about to start, and the subsequently sent packets are the bicast packets. In addition to the specific flag bit, the GTP-U header of the first downlink data packet that carries a first indication information further carries downlink GTP-U tunnel information of the session associated with the bicast packets transmitted between the S-RAN and the UPF network element.
(130) It should be understood that
(131) For S701 to S709, refer to S601 to S609. Details are not described herein again.
(132) For S710 and S711, refer to S508 and S509. Details are not described herein again.
(133) For S712 to S717, refer to S611 to S616. Details are not described herein again.
(134) It should be understood that the communication method shown in
(135) It should be understood that, in the communication methods shown in
(136)
(137) In some implementations, the communications apparatus 800 may be a user plane function network element.
(138) A processing module 810 is configured to: in a process in which an access network device serving a terminal is handed over from a source access network device to a target access network device, determine to bicast downlink packets to the source access network device and the target access network device.
(139) A sending module 820 is configured to send first information to the source access network device. The first information is used to indicate that the user plane function network element bicasts the downlink packets to the source access network device and the target access network device.
(140) Optionally, the sending module is specifically configured to bicast the downlink packets to the source access network device and the target access network device. The downlink packets bicast by the user plane function network element to the source access network device include the first information.
(141) Optionally, the first N downlink packets bicast by the communications apparatus to the source access network device all carry the first information, and N is a positive integer.
(142) Optionally, the sending module is specifically configured to bicast the downlink packets to the source access network device and the target access network device after sending the first information.
(143) The communications apparatus 800 may be configured to perform the steps performed by the user plane function network element in the methods described in
(144)
(145) In some implementations, the communications apparatus 900 may be an access network device.
(146) A receiving module 910 is configured to: in a process in which the access network device serving a terminal is handed over from a source access network device to a target access network device, receive first information from a user plane function network element. The first information is used to indicate that the user plane function network element bicasts downlink packets to the source access network device and the target access network device.
(147) A sending module 920 is configured to send second information to the target access network device after receiving the first information from the user plane function network element. The second information is used to determine packet data convergence protocol sequence numbers of downlink data in the downlink packets.
(148) Optionally, the receiving module is specifically configured to receive the downlink packets bicast by the user plane function network element to the source access network device and the target access network device. The downlink packets bicast by the user plane function network element to the source access network device include the first information.
(149) Optionally, the first N downlink packets bicast by the user plane function network element to the source access network device all carry the first information, and N is a positive integer.
(150) Optionally, the receiving module is specifically configured to receive, after receiving the first information, the downlink packets bicast by the user plane function network element to the source access network device and the target access network device.
(151) Optionally, the communication apparatus 900 further includes a handover module 930, configured to trigger an air interface handover after a data packet received before the first information is sent to the terminal.
(152) Optionally, the handover module is specifically configured to send a handover command message to the terminal; or is specifically configured to stop sending downlink data to the terminal.
(153) Optionally, the communications apparatus further includes a detection module 940, configured to start to detect whether the first information is received, after a handover command is received from an access and mobility management function network element, or after a handover required message is sent to the access and mobility management function network element.
(154) The communications apparatus 900 may be configured to perform the steps performed by the source access network device in the methods described in
(155)
(156) In some implementations, the communications apparatus 1000 may be an access network device.
(157) A receiving module 1010 is configured to: in a process in which the access network device serving a terminal is handed over from a source access network device to a target access network device, receive first information from a user plane function network element. The first information is used to indicate that the user plane function network element bicasts downlink packets to the source access network device and the target access network device.
(158) A handover module 1020 is configured to trigger an air interface handover after a data packet received before the first information is sent to the terminal.
(159) Optionally, the handover module is specifically configured to send a handover command message to the terminal; or is specifically configured to stop sending downlink data to the terminal.
(160) Optionally, the receiving module is specifically configured to receive the downlink packets bicast by the user plane function network element to the source access network device and the target access network device. The downlink packets bicast by the user plane function network element to the source access network device include the first information.
(161) Optionally, the first N downlink packets bicast by the user plane function network element to the source access network device all carry the first information, and N is a positive integer.
(162) Optionally, the receiving module is specifically configured to receive, after receiving the first information, the downlink packets bicast by the user plane function network element to the source access network device and the target access network device.
(163) Optionally, the communications apparatus 1000 further includes a detection module 1030, configured to start to detect whether the first information is received, after a handover command is received from an access and mobility management function network element, or after a handover required message is sent to the access and mobility management function network element.
(164) Optionally, the communications apparatus 1000 further includes a sending module 1040, configured to send second information to the target access network device. The second information is used to determine packet data convergence protocol sequence numbers of downlink data in the downlink packets.
(165) The communications apparatus 1000 may be configured to perform the steps performed by the source access network device in the methods described in
(166)
(167) In some implementations, the communications apparatus 1100 may be an access network device.
(168) A receiving module 1110 is configured to: in a process in which the access network device serving a terminal is handed over from a source access network device to a target access network device, receive, from a user plane function network element, downlink packets bicast by the user plane function network element to the source access network device and the target access network device.
(169) The receiving module 1110 is further configured to receive second information from the source access network device, where the second information is used to determine packet data convergence protocol sequence numbers of downlink data in the downlink packets.
(170) A processing module 1120 is configured to generate packet data convergence protocol packets based on the second information and the downlink packets.
(171) Optionally, the communications apparatus further includes a buffer module 1130, configured to buffer the downlink packets before the second information is received.
(172) The communications apparatus 1100 may be configured to perform the steps performed by the target access network device in the methods described in
(173)
(174) The communications apparatus 1200 may include one or more processors 1210, one or more memories 1220, a receiver 1230, and a transmitter 1240. The receiver 1230 and the transmitter 1240 may be integrated together to obtain a transceiver. The memory 1220 is configured to store program code executed by the processor 1210. The processor 1210 may be integrated with the memory 1220, or the processor 1210 is coupled to one or more memories 1220, and is configured to invoke an instruction in the memory 1220.
(175) In an embodiment, the processor 1210 may be configured to implement operations or steps that can be implemented by the processing module 810 in
(176) In another embodiment, the processor 1210 may be configured to implement operations or steps that can be implemented by the handover module 930 and the detection module 940 in
(177) In another embodiment, the processor 1210 may be configured to implement operations or steps that can be implemented by the handover module 1020 and the detection module 1030 in
(178) In still another embodiment, the processor 1210 may be configured to implement operations or steps that can be implemented by the processing module 1120 in
(179) A person of ordinary skill in the art may be aware that, in combination with the examples described in the embodiments disclosed in this specification, units and algorithm steps can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed by hardware or software depends on particular applications and design constraints of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of this application.
(180) It may be clearly understood by a person skilled in the art that, for the purpose of convenient and brief description, for a detailed working process of the foregoing system, apparatus, and unit, refer to a corresponding process in the foregoing method embodiments. Details are not described herein again.
(181) In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus, and method may be implemented in another manner. For example, the described apparatus embodiments are merely examples. For example, division into the units is merely logical function division and may be other division in an actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings, direct couplings, or communication connections may be implemented through some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electrical, mechanical, or other forms.
(182) The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected based on actual requirements to achieve the objectives of the solutions in the embodiments.
(183) In addition, functional units in the embodiments of this application may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units may be integrated into one unit.
(184) When the functions are implemented in a form of a software functional unit and sold or used as an independent product, the functions may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions in this application essentially, or the part contributing to the prior art, or some of the technical solutions may be implemented in a form of a software product. The computer software product is stored in a storage medium, and includes several instructions for enabling a computer device (may be a personal computer, a server, a network device, or the like) to perform all or some of the steps of the methods according to the embodiments of this application. The storage medium includes: any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc.
(185) The foregoing descriptions are merely specific implementations of this application, but are not intended to limit the protection scope of this application. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in this application shall fall within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.