WO2021174377A1 - 切换方法和通信装置 - Google Patents

切换方法和通信装置 Download PDF

Info

Publication number
WO2021174377A1
WO2021174377A1 PCT/CN2020/077375 CN2020077375W WO2021174377A1 WO 2021174377 A1 WO2021174377 A1 WO 2021174377A1 CN 2020077375 W CN2020077375 W CN 2020077375W WO 2021174377 A1 WO2021174377 A1 WO 2021174377A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
access network
network device
data packet
multicast
Prior art date
Application number
PCT/CN2020/077375
Other languages
English (en)
French (fr)
Inventor
赵丰豫
李濛
葛翠丽
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP20922903.8A priority Critical patent/EP4099760A4/en
Priority to PCT/CN2020/077375 priority patent/WO2021174377A1/zh
Priority to CN202080097000.1A priority patent/CN115136651A/zh
Publication of WO2021174377A1 publication Critical patent/WO2021174377A1/zh
Priority to US17/896,920 priority patent/US20220408317A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0007Control or signalling for completing the hand-off for multicast or broadcast services, e.g. MBMS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0009Control or signalling for completing the hand-off for a plurality of users or terminals, e.g. group communication or moving wireless networks

Definitions

  • the present application relates to the field of communication, and more specifically, to a handover method and communication device.
  • network devices can transmit data to terminal devices through the convergence of unicast and broadcast (or "pseudo broadcast").
  • the core network device can use the unicast transmission path of the terminal device to transmit the multicast data of a multicast group to the access network device, and the access network device can transmit to multiple terminal devices in the multicast group through multicast.
  • the multicast data can be used to transmit data to terminal devices through the convergence of unicast and broadcast (or "pseudo broadcast").
  • the core network device can use the unicast transmission path of the terminal device to transmit the multicast data of a multicast group to the access network device, and the access network device can transmit to multiple terminal devices in the multicast group through multicast.
  • the multicast data can be used to transmit the multicast data of a multicast group to the access network device.
  • the terminal device may perform cell switching while receiving multicast data. How the terminal device performs cell handover in the case of receiving multicast data has become a technical problem to be solved urgently.
  • the present application provides a switching method and a communication device, so as to realize switching from a source access network device to a target access network device when a terminal device receives multicast data.
  • a handover method is provided.
  • the method can be executed by, for example, a target access network device, or can also be executed by a component (such as a circuit, a chip, or a chip system, etc.) configured in the target access network device.
  • a component such as a circuit, a chip, or a chip system, etc.
  • the method includes: acquiring a first message, the first message being used to request the establishment of resources for the terminal device to switch to the target access network device; acquiring information for transmitting multicast data; sending a second message, the second message The message is used to indicate the established resources on the target access network device; to receive the first data packet from the user plane function (UPF), and the first data packet corresponds to the multicast data transmission Information; send the first data packet to the terminal device.
  • UPF user plane function
  • the information used to transmit the multicast data may include, for example, one or more of the following: the data identifier of the multicast data, the identifier of the multicast group corresponding to the multicast data, and the multicast group corresponding to the multicast data.
  • IP Internet Protocol
  • the terminal device can complete the handover from the source access network device to the target access network device after receiving the multicast data. While requesting the target access network device to establish resources, the source access network device can send the information used to transmit multicast data to the target access network device, so that the target access network device will communicate with the target access network device based on the information. The data corresponding to the information is sent to the terminal device. Therefore, the terminal device can switch while receiving the multicast data without affecting the reception of the multicast data.
  • the obtaining the first message includes: obtaining the first message from a source access network device.
  • the obtaining the information used for transmitting the multicast data includes: obtaining the information used for transmitting the multicast data from the source access network device.
  • the sending the second message includes sending the second message to the source access network device.
  • the method further includes: receiving a second data packet from the source access network device, the second data packet corresponding to the information for transmitting the multicast data, the second data packet including the second data packet The corresponding first serial number.
  • the target access network device may receive the data packet of the multicast data from the source access network device, that is, the second data packet.
  • the target access network device may be based on the sequence number of the first data packet and the sequence of the first End Marker data packet from the source access network device. The size relationship of the number determines whether to forward the second data packet to the terminal device.
  • the method further includes: receiving a first end marker (End Marker) data packet from the source access network device, where the first End Marker data packet includes a second sequence number corresponding to the first End Marker data packet.
  • End Marker end marker
  • the target access network device After the target access network device receives the first End Marker data packet, it starts to consider forwarding the first data packet received from the UPF to the terminal device.
  • the second data packet is sent to the terminal device.
  • the sending the first data packet to the terminal device includes: if the first sequence number is greater than or equal to the second sequence number, sending the first data packet to the terminal device.
  • the target access network device may determine whether to forward the first data packet or the second data packet to the terminal device based on a comparison of the size relationship between the first serial number and the second serial number. In this way, packet loss of the multicast data can be avoided, which is beneficial to obtain complete data, and ensures data transmission performance.
  • the target access network device may determine whether to forward the second data packet to the terminal device according to the relationship between the serial number of the first data packet and the serial number of the second data packet. data pack.
  • the UPF may, for example, send the second data packet to the terminal device in an IP multicast manner or through a multicast transmission channel.
  • the first data packet includes a third serial number corresponding to the first data packet; the sending the first data packet to the terminal device includes: if the third serial number is less than or equal to the first serial number, sending the first data packet to the terminal device Send the first data packet.
  • the second data packet is sent to the terminal device.
  • the target access network device may determine whether to forward the first data packet or the second data packet to the terminal device based on a comparison of the magnitude relationship between the first serial number and the third serial number. In this way, packet loss of the multicast data can be avoided, which is beneficial to obtain complete data, and ensures data transmission performance.
  • the method further includes: sending access network tunnel information to the source access network device, where the access network tunnel information is used to indicate a forwarding tunnel for forwarding multicast data Of the logo.
  • the access network tunnel information may be carried in the aforementioned second message.
  • the target access network device when the target access network device sends the second message, it also sends the access network tunnel information. That is, the step of sending the access network tunnel information and the step of sending the second message described above may be combined into one sending step.
  • the access network tunnel information may also be carried in other signaling. This application does not limit this.
  • the source access network device and the target access network device can establish a forwarding tunnel between them, so that the source access network device can transfer to the target access network device. Forward the packet. Therefore, when the core network has not completed the path switching, the source access network device can forward the multicast data to the target access network device through the forwarding tunnel, and then the target access network device sends the multicast data to the terminal device. Therefore, the loss of packets of multicast data can be avoided.
  • the forwarding tunnel between the source access network device and the target access network device may include or exclude core network elements (such as access and mobility management function (AMF), etc.) tunnel.
  • core network elements such as access and mobility management function (AMF), etc.
  • AMF access and mobility management function
  • the forwarding tunnel may not include the core network element; in the N2 handover scenario, the forwarding tunnel may include the core network element. This application does not limit this.
  • a handover method is provided.
  • the method may be executed by, for example, a source access network device, or may also be executed by a component (such as a circuit, a chip, or a chip system, etc.) configured in the source access network device.
  • a component such as a circuit, a chip, or a chip system, etc.
  • the method includes: sending a first message for requesting the establishment of resources for the terminal device to switch to the target access network device; sending information for transmitting multicast data to the target access network device; receiving the first message A second message, the second message is used to indicate the established resources on the target access network device; a second data packet is sent to the terminal device, and the second data packet corresponds to the information used to transmit multicast data.
  • the information used to transmit the multicast data may include, for example, one or more of the following: the data identifier of the multicast data, the identifier of the multicast group corresponding to the multicast data, and the multicast data
  • the identification information of the multicast data wherein the identification information of the multicast data includes one or more of the source IP address, source port number, destination IP address, or destination port number of the multicast data.
  • the terminal device can complete the handover from the source access network device to the target access network device after receiving the multicast data. While requesting the target access network device to establish resources, the source access network device can send the information used to transmit multicast data to the target access network device, so that the target access network device will communicate with the target access network device based on the information. The data corresponding to the information is sent to the terminal device. Therefore, the terminal device can switch while receiving the multicast data without affecting the reception of the multicast data.
  • the sending the first message includes: sending the first message to the target access network device.
  • the sending the information for transmitting the multicast data includes: sending the information for transmitting the multicast data to the target access network device.
  • the receiving the second message includes: receiving the second message from the target access network device.
  • the method further includes: receiving a second End Marker data packet from UPF, where the second End Marker data packet includes a second End Marker data packet corresponding to the first End Marker data packet. Serial number, the second End Marker data packet is transmitted on the channel for transmitting multicast data of the terminal device; based on the received second End Marker data packet, the first End Marker data packet is sent to the target access network device.
  • the second End Marker data packet sent by the UPF to the source access network device may be understood as an End Marker data packet sent for the multicast data.
  • the source access network device can send the first End Marker data packet to the target access network device based on the second End Marker data packet.
  • the target access network device can start to consider forwarding the first data packet received from the UPF to Terminal Equipment.
  • first End Marker data packet and the second End Marker data packet may be the same data packet or different data packets. This application does not limit this.
  • the source access network device may determine whether to forward the second data packet to the target access network device based on the sequence number of the second End Marker data packet and the sequence number of the second data packet received from the UPF.
  • the method further includes: if the first sequence number is smaller than the second sequence number, sending a second data packet to the target access network device.
  • the first sequence number is smaller than the second sequence number, indicating that there is still a packet of multicast data before the second End Marker packet has not arrived. If the device directly stops forwarding the second packet to the target access network, it may cause multicast Packet loss of data. Therefore, the source access network device may send the second data packet to the target access network device when the first sequence number is less than the second sequence number. In this way, packet loss of multicast data can be avoided.
  • the second End Marker data packet may be transmitted through a transmission channel used for transmitting multicast data of the terminal device.
  • the source access network device may determine to which multicast data the second End Marker data packet is transmitted based on the pre-obtained mapping relationship between the multicast data and the transmission channel and the transmission channel through which the second End Marker data packet is transmitted.
  • the method further includes: receiving a second End Marker data packet from the UPF, where the second End Marker data packet carries identification information of the transmission channel of the multicast data, The second End Marker data packet is transmitted on the transmission channel of the multicast data; based on the received second End Marker data packet, the first End Marker data packet is sent to the target access network device.
  • the source access network device can transmit the second End Marker data packet based on the mapping relationship between the multicast data and the transmission channel obtained in advance.
  • the transmission channel determines to which multicast data the second End Marker data packet is transmitted.
  • a communication method is provided.
  • the method may be executed by a session management function (SMF), or may also be performed by components (such as circuits, chips, or chip systems, etc.) configured in the SMF. implement.
  • SMF session management function
  • components such as circuits, chips, or chip systems, etc.
  • the method includes: receiving a third message, which is used to indicate information for transmitting multicast data, and the third message is used to request configuration of data transmission on a transmission channel of a terminal device.
  • the data requested by the terminal device corresponds to the foregoing information for transmitting multicast data; and send a fourth message, which is used to indicate a forwarding behavior of the data requested by the terminal device.
  • the information used to transmit the multicast data may include, for example, one or more of the following: the data identifier of the multicast data, the identifier of the multicast group corresponding to the multicast data, and the multicast data
  • the identification information of the multicast data wherein the identification information of the multicast data includes one or more of the source IP address, source port number, destination IP address, or destination port number of the multicast data.
  • the SMF can determine the forwarding behavior of the data. For example, the data requested by the terminal device is filtered or not filtered. If the terminal device needs to switch the access network device while receiving the multicast data, the data forwarding behavior can be determined to ensure that the data requested by the terminal device does not lose packets.
  • the receiving the third message includes: receiving the third message from an access and mobility management function (AMF).
  • the third message may be an N11 message, for example.
  • the sending the fourth message includes: sending the fourth message to the UPF.
  • the fourth message may be an N4 message, for example.
  • the fourth message includes any one or more of the following: an indication of the forwarding behavior of the data requested by the terminal device, the Multicast data information, identification rules, forwarding behavior rules and related information about end-marked data packets.
  • the SMF can indicate to the UPF through the fourth message; it can also send the information used to transmit multicast data, identification rules, forwarding behavior rules and other information to the UPF.
  • UPF determines by itself the forwarding behavior of the data requested by the terminal device.
  • the related information of the End Marker packet included in the fourth message may be, for example, an End Marker packet generated by the SMF and sent to the UPF, or may be information instructing the UPF to generate an End Marker packet. This application does not limit this.
  • a communication method is provided.
  • the method may be executed by UPF, or may also be executed by a component (such as a circuit, a chip, or a chip system, etc.) configured in the UPF. This application does not limit this.
  • the method includes: receiving a fourth message, the fourth message including information for transmitting the multicast data, the information for transmitting the multicast data corresponds to the data requested by the terminal device; according to the information used for transmitting the multicast data Information to determine the forwarding behavior of the data requested by the terminal device.
  • the information used to transmit the multicast data may include, for example, one or more of the following: the data identifier of the multicast data, the identifier of the multicast group corresponding to the multicast data, and the multicast data
  • the identification information of the multicast data wherein the identification information of the multicast data includes one or more of the source IP address, source port number, destination IP address, or destination port number of the multicast data.
  • the UPF can determine the forwarding behavior of the data requested by the terminal device according to the information used to transmit the multicast data. For example, to filter the data, or not to filter, etc. If the terminal device needs to switch the access network device while receiving the multicast data, the data forwarding behavior can be determined to ensure that the data requested by the terminal device does not lose packets.
  • the receiving the fourth message includes: receiving the fourth message from the SMF.
  • the fourth message may be an N11 message.
  • the fourth message includes any one or more of the following: identification rules, forwarding behavior rules, and end-marked data packet related information.
  • the forwarding behavior includes: transmitting the data requested by the terminal device on a transmission channel of the terminal device.
  • the data requested by it may be merged or filtered on the UPF side or the RAN side.
  • the SMF or UPF can determine the forwarding behavior of the data when the terminal device is switched, so that after the terminal device is switched to the target access network device, the requested data is not filtered. That is, the terminal device can receive the data requested by it through its own transmission channel after switching to the target access network device.
  • the data requested by the terminal device can be transmitted on the transmission channel of the terminal device.
  • the fourth message is further used to instruct to transmit the second End Marker data packet on the transmission channel of the terminal device.
  • the fourth message is also used to instruct to transmit the second End Marker data packet on the transmission channel of the multicast data.
  • the two transmission channels for transmitting the second End Marker data packet are listed above. That is, in the former implementation manner, the second End Marker data packet is transmitted in the same transmission channel as the data requested by the terminal device; in the latter implementation manner, the second End Marker data packet is in the multicast data That is, the data requested by the terminal device is not transmitted on the same transmission channel.
  • the fourth message further includes: identification information of the transmission channel of the terminal device.
  • Carrying the identification information of the transmission channel of the terminal device in the fourth message can facilitate the source access network device to determine which data of which terminal device the second End Marker data packet is sent, or in other words, which data packet is for which terminal device is sent. If the broadcast data is sent, the first End Marker data packet may be sent to the target access network device through the corresponding forwarding tunnel.
  • the transmission channel of the terminal device is the user plane Channel between the network element and the source access network device; after the terminal device is switched from the source access network device to the target access network device, the transmission channel of the terminal device is the user plane network element and The channel between the target access network devices.
  • the methods provided in the third aspect and the fourth aspect are not limited to use when the terminal device is switched.
  • the SMF can use the above method to determine different forwarding behaviors of the data requested by the terminal device. This application does not limit the applicable scope of this method.
  • a communication device which includes various modules or units for executing the method in any one of the possible implementation manners of the first aspect to the fourth aspect.
  • a communication device including a processor.
  • the processor is coupled with the memory and can be used to execute instructions or data in the memory to implement the method in any one of the possible implementation manners of the first aspect to the fourth aspect.
  • the communication device further includes a memory.
  • the communication device further includes a communication interface, and the processor is coupled with the communication interface.
  • the communication device is a terminal device.
  • the communication interface may be a transceiver, or an input/output interface.
  • the communication device is a chip configured in a terminal device.
  • the communication interface may be an input/output interface.
  • the transceiver may be a transceiver circuit.
  • the input/output interface may be an input/output circuit.
  • a processor including: an input circuit, an output circuit, and a processing circuit.
  • the processing circuit is configured to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor executes the method in any one of the possible implementation manners of the first aspect to the fourth aspect.
  • the above-mentioned processor can be one or more chips
  • the input circuit can be an input pin
  • the output circuit can be an output pin
  • the processing circuit can be a transistor, a gate circuit, a flip-flop, and various logic circuits, etc.
  • the input signal received by the input circuit may be received and input by, for example, but not limited to, a receiver
  • the signal output by the output circuit may be, for example, but not limited to, output to the transmitter and transmitted by the transmitter
  • the circuit can be the same circuit, which is used as an input circuit and an output circuit at different times.
  • the embodiments of the present application do not limit the specific implementation manners of the processor and various circuits.
  • a processing device including a processor and a memory.
  • the processor is used to read instructions stored in the memory, receive signals through a receiver, and transmit signals through a transmitter, so as to execute the method in any one of the possible implementation manners of the first aspect to the fourth aspect.
  • processors there are one or more processors, and one or more memories.
  • the memory may be integrated with the processor, or the memory and the processor may be provided separately.
  • the memory can be a non-transitory (non-transitory) memory, such as a read only memory (ROM), which can be integrated with the processor on the same chip, or can be set in different On the chip, the embodiment of the present application does not limit the type of the memory and the setting mode of the memory and the processor.
  • ROM read only memory
  • sending instruction information may be a process of outputting instruction information from the processor
  • receiving capability information may be a process of receiving input capability information by the processor.
  • the data output by the processor can be output to the transmitter, and the input data received by the processor can come from the receiver.
  • the transmitter and receiver can be collectively referred to as a transceiver.
  • the processing device in the above eighth aspect may be one or more chips.
  • the processor in the processing device can be implemented by hardware or software.
  • the processor may be a logic circuit, integrated circuit, etc.; when implemented by software, the processor may be a general-purpose processor, which is implemented by reading software codes stored in the memory, and the memory may Integrated in the processor, can be located outside the processor, and exist independently.
  • a computer program product includes: a computer program (also called code, or instruction), which when the computer program is executed, causes the computer to execute the first aspect to the first aspect. Any one of the four possible implementation methods.
  • a computer-readable storage medium stores a computer program (also called code, or instruction) when it runs on a computer, so that the computer executes the above-mentioned first aspect To any one of the possible implementation methods of the fourth aspect.
  • a communication system which includes one or more of the aforementioned source access network equipment, target access network equipment, SMF, UPF, and terminal equipment.
  • FIG. 1 is a schematic diagram of a network structure suitable for a handover method provided by an embodiment of the present application
  • Figures 2 and 3 show a specific implementation process of multicast provided by an embodiment of the present application
  • FIG. 4 is a schematic flowchart of a handover method provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a handover method provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a handover method provided by another embodiment of the present application.
  • FIG. 7 is a schematic diagram of a handover method provided by another embodiment of the present application.
  • FIG. 8 is a schematic flowchart of a handover method provided by another embodiment of the present application.
  • FIG. 9 is a schematic diagram of a handover method provided by another embodiment of the present application.
  • FIG. 10 is a schematic flowchart of a handover method provided by still another embodiment of the present application.
  • FIG. 11 is a schematic diagram of a part of the process of Xn handover provided by an embodiment of the present application.
  • FIG. 12 and FIG. 13 are schematic diagrams of part of the N2 handover process provided by the embodiments of the present application.
  • FIG. 14 is a schematic block diagram of a communication device provided by an embodiment of the present application.
  • FIG. 15 is another schematic block diagram of a communication device provided by an embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of an access network device provided by an embodiment of the present application.
  • the technical solution provided in this application can be applied to various communication systems, for example: a fifth generation (5th Generation, 5G) mobile communication system or a new radio access technology (NR).
  • 5G mobile communication system may include non-standalone (NSA) and/or standalone (SA).
  • the technical solution provided in this application can also be applied to machine type communication (MTC), inter-machine communication long-term evolution technology (Long Term Evolution-machine, LTE-M), and device-to-device (D2D) Network, machine to machine (M2M) network, Internet of things (IoT) network or other networks.
  • the IoT network may include, for example, the Internet of Vehicles.
  • vehicle-to-other devices vehicle-to-X, V2X, X can represent anything
  • the V2X may include: vehicle-to-vehicle (V2V) communication.
  • Infrastructure vehicle to infrastructure, V2I) communication, vehicle to pedestrian communication (V2P) or vehicle to network (V2N) communication, etc.
  • FIG. 1 is a schematic diagram of a network architecture applicable to the method provided in the embodiment of the present application.
  • the network architecture is, for example, the 5G system (the 5h generation system, 5GS) defined in the 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP) protocol TS23.501.
  • the network architecture can be divided into two parts: access network (AN) and core network (CN).
  • the access network can be used to implement wireless access-related functions.
  • the core network mainly includes the following key logical network elements: access and mobility management function (AMF), session management network element ( session management function (SMF), user plane function (UPF), policy control function (PCF), unified data management network element (unified data management, UDM), etc.
  • AMF access and mobility management function
  • SMF session management network element
  • UPF user plane function
  • PCF policy control function
  • UDM unified data management network element
  • User equipment it can be called terminal equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile equipment, user terminal, terminal, wireless communication equipment, User agent or user device.
  • the terminal device may be a device that provides voice/data connectivity to the user, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and so on.
  • some examples of terminals can be: mobile phones (mobile phones), tablets (pads), computers with wireless transceiver functions (such as laptops, palmtop computers, etc.), mobile Internet devices (mobile internet devices, MID), virtual reality Virtual reality (VR) equipment, augmented reality (AR) equipment, wireless terminals in industrial control, wireless terminals in self-driving (self-driving), and wireless in remote medical (remote medical) Terminals, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless Telephone, session initiation protocol (SIP) telephone, wireless local loop (WLL) station, personal digital assistant (PDA), handheld device with wireless communication function, computing device or connection Other processing equipment to wireless modems, in-vehicle equipment, wearable equipment, terminal equipment in the 5G network, or
  • the terminal device may also be a terminal device in the Internet of Things (IoT) system.
  • IoT Internet of Things
  • IoT is an important part of the development of information technology in the future. Its main technical feature is to connect objects to the network through communication technology, so as to realize the intelligent network of human-machine interconnection and interconnection of things. IoT technology can achieve massive connections, deep coverage, and power-saving terminals through, for example, narrowband NB technology.
  • terminal devices can also include sensors such as smart printers, train detectors, gas stations, etc.
  • the main functions include collecting data (some terminal devices), receiving control information and downlink data from network devices, and sending electromagnetic waves to transmit uplink data to network devices. .
  • Access network The access network can provide network access functions for authorized users in a specific area, and can use transmission tunnels of different quality according to user levels and service requirements.
  • the access network may be an access network using different access technologies.
  • 3GPP access technologies such as those used in 3G, 4G, or 5G systems
  • non-3GPP (non-3GPP) access technologies There are two types of current wireless access technologies: 3GPP access technologies (such as those used in 3G, 4G, or 5G systems) and non-3GPP (non-3GPP) access technologies.
  • the 3GPP access technology refers to an access technology that complies with the 3GPP standard specifications.
  • the access network equipment in the 5G system is called the next generation Node Base station (gNB).
  • gNB next generation Node Base station
  • a non-3GPP access technology refers to an access technology that does not comply with the 3GPP standard specifications, for example, an air interface technology represented by an access point (AP) in wireless fidelity (WiFi).
  • AP access point
  • An access network that implements access network functions based on wireless communication technology may be called a radio access network (RAN).
  • the wireless access network can manage wireless resources, provide access services for terminal devices, and then complete the forwarding of control signals and user data between the terminal and the core network.
  • the radio access network may include but is not limited to: radio network controller (RNC), node B (Node B, NB), base station controller (BSC), base transceiver station (base transceiver station) , BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (BBU), AP in WiFi system, wireless relay node, wireless backhaul node, transmission point (transmission point, TP) or transmission and reception point (transmission and reception point, TRP), etc.
  • RNC radio network controller
  • Node B Node B
  • BSC base station controller
  • BTS base transceiver station
  • BTS home base station
  • home base station for example, home evolved NodeB, or home Node B, HNB
  • BBU baseband unit
  • AP in WiFi system
  • wireless relay node wireless backhaul node
  • transmission point transmission point
  • TP transmission point
  • TRP transmission and reception point
  • the antenna panel can also be a gNB or transmission point (TRP or TP) in a 5G (eg, NR) system, or one or a group of base stations in a 5G system (Including multiple antenna panels)
  • the antenna panel can also be a network node that constitutes a gNB or transmission point, such as a baseband unit (BBU), or a distributed unit (DU), or in the next-generation communication 6G system Base station and so on.
  • BBU baseband unit
  • DU distributed unit
  • the embodiment of the present application does not limit the specific technology and specific device form adopted by the radio access network device.
  • the access network can provide services for the community.
  • the terminal device can communicate with the cell through transmission resources (for example, frequency domain resources, or spectrum resources) allocated by the access network device.
  • Access and mobility management network element Mainly used for mobility management and access management, such as user location update, user registration network, user handover, etc.
  • AMF can also be used to implement other functions besides session management in a mobility management entity (MME). For example, functions such as lawful interception, or access authorization (or authentication).
  • Session Management Network Element Mainly used for session management, UE's Internet Protocol (IP) address allocation and management, selection of end points that can manage user plane functions, policy control, or charging function interfaces, and downlink Data notification, etc.
  • IP Internet Protocol
  • the main user of the SMF is responsible for session management in the mobile network, such as session establishment, modification, and release.
  • Specific functions may include, for example, assigning an IP address to a terminal device, selecting a UPF that provides a message forwarding function, and so on.
  • User plane network element namely, data plane gateway. It can be used for packet routing and forwarding, or quality of service (QoS) processing of user plane data, etc.
  • User data can be connected to a data network (data network, DN) through this network element. In the embodiment of the present application, it can be used to realize the function of the user plane gateway.
  • Data network An operator network used to provide users with data services.
  • an operator s service network, the Internet, a third-party service network, and an IP multi-media service (IP multi-media service) network.
  • IP multi-media service IP multi-media service
  • AUSF Authentication server function
  • Network exposure function used to safely open services and capabilities provided by 3GPP network functions to the outside.
  • Network storage network element (network function (NF) repository function, NRF): used to store network function entities and description information of the services they provide, and support service discovery, network element entity discovery, etc.
  • PCF Policy control function network element
  • Unified data management network element used to store user data, such as contract information, authentication/authorization information, etc.
  • Application function network element responsible for providing services to the 3GPP network, such as influencing service routing, interacting with the PCF for policy control, and so on.
  • each network element can communicate through the interfaces shown in the figure.
  • the N1 interface is the reference point between terminal equipment and AMF
  • the N2 interface is the reference point between RAN and AMF, used for non-access stratum (NAS) message transmission, etc.
  • the N3 interface is The reference point between RAN and UPF is used to transmit user plane data, etc.
  • the N4 interface is the reference point between SMF and UPF, used to transmit, for example, N3 connection tunnel identification information, data buffer indication information, and downlink data notification Messages and other information
  • N6 interface is the reference point between UPF and DN, used to transmit user plane data, etc.
  • the relationship between other interfaces and each network element is shown in Figure 1. For the sake of brevity, it is not detailed here.
  • the above-mentioned network architecture applied to the embodiment of the present application is only an example of a network architecture described from the perspective of a traditional point-to-point architecture and a service-oriented architecture, and the network architecture applicable to the embodiment of the present application is not limited to this. Any network architecture that can realize the functions of the above-mentioned network elements is applicable to the embodiments of the present application.
  • AMF, SMF, UPF, network slice selection function (NSSF), NEF, AUSF, NRF, PCF, and UDM shown in Figure 1 can be understood as the core network used to implement different Functional network elements, for example, can be combined into network slices as needed.
  • These core network network elements may be independent devices, or they may be integrated in the same device to implement different functions. This application does not limit the specific forms of the foregoing network elements.
  • Protocol data unit (PDU) session PDU session: 5G core network (5G corenet, 5GC) supports PDU connection services.
  • the PDU connection service may refer to the service of exchanging PDU data packets between the terminal device and the DN.
  • the PDU connection service is realized by the establishment of a PDU session initiated by the terminal device. After a PDU session is established, a data transmission channel between the terminal device and the DN is established. In other words, the PDU session is at the UE level.
  • Each terminal device can establish one or more PDU sessions.
  • the main user of SMF is responsible for session management in the mobile network.
  • the PDU session can be established, modified or released between the terminal device and the SMF through NAS session management (session management, SM) signaling.
  • NAS session management session management, SM
  • a PDU session can be identified by a PDU session identifier (PDU session identifier, PDU session ID). Since the PDU session is at the UE level, each PDU session identifier can also correspond to a terminal device.
  • PDU session identifier PDU session ID
  • Tunnel Data transmission between the core network and the access network can be based on the GPRS tunnel protocol (GPRS tunnel protocol, GTP).
  • GTP GPRS tunnel protocol
  • a tunnel can be understood as a transmission channel with a smaller granularity in a PDU session, which can be used to transmit GTP data packets.
  • QoS Flow is the finest QoS differentiation granularity in PDU sessions.
  • a QoS Flow identifier QFI
  • a PDU session can include multiple QoS Flows, but the QFI of each QoS Flow is different. In other words, a QFI is unique in a PDU session.
  • Convergence of unicast and multicast it can also be called “pseudo broadcast”.
  • a unicast transmission path of a terminal device is used for transmission, but the data transmitted on the unicast transmission path can be received by multiple terminal devices. Since multiple terminal devices receive data transmitted on the same unicast transmission path as if they receive broadcast data, this transmission mode is called “pseudo broadcast”.
  • the core network realizes the transmission of multicast data through unicast, and can support multicast at the air interface on the access network side. Therefore, the convergence of unicast and multicast can be regarded as a technology for realizing multicast in the core network.
  • the technical solution provided by the embodiments of the present application mainly relates to the improvement of the transmission of multicast data between the core network and the access network, and the air interface transmission between the access network device and the terminal device is unchanged. Since the core network can achieve air interface multicasting in a unicast manner, the data transmitted between the core network and the access network equipment and that can achieve air interface multicasting can become multicast data.
  • the descriptions of multicast data, multicast groups, and multicast sessions described in the following are all for the data transmitted between the core network and the access network equipment, and should not constitute the data transmitted on the air interface on the access network side. limited.
  • pseudo-broadcasting is not the same as broadcasting in the traditional sense.
  • Traditional broadcasting requires the establishment of a dedicated broadcasting channel.
  • Pseudo-broadcasting can be realized only by using a unicast transmission path of a certain terminal device, or using a common transmission path.
  • a PDU session used to transmit multicast data may be referred to as a multicast session, and multiple terminal devices receiving the same multicast data may belong to a multicast group.
  • a multicast data can correspond to a multicast group, or in other words, a multicast session.
  • a multicast group can include one or more terminal devices.
  • the multiple terminal devices may be terminal devices that reside in the same cell or may be terminal devices that reside in multiple different cells. This application does not limit this.
  • the same multicast data can be indicated by a data identifier.
  • the same multicast group can also be indicated by the identifier of a multicast group.
  • the same multicast session can also be indicated by a multicast session identifier.
  • the data identifier of the multicast data has a corresponding relationship with the identifier of the multicast group and the identifier of the multicast session.
  • the data identifier of the multicast data, the identifier of the multicast group, and the identifier of the multicast session are introduced here only for ease of understanding and description.
  • the data identification of the above-mentioned multicast data, the identification of the multicast group, and the identification of the multicast session may not all be configured. Due to the one-to-one correspondence between the three, it can be considered that the data identifier of the multicast data, the identifier of the multicast group, and the identifier of the multicast session are replaceable, or equivalent.
  • the precondition for multicast may be that for some applications (applications, APPs, such as APPs that send live broadcast services), the core network can identify whether the transmitted data belongs to the same multicast group based on the identification information, or whether Data transmitted for the same multicast group.
  • applications applications, APPs, such as APPs that send live broadcast services
  • the core network can identify whether the transmitted data belongs to the same multicast group based on the identification information, or whether Data transmitted for the same multicast group.
  • the identification information on which the core network is based may be, for example, one or more of a source IP address, a destination IP address, a source port number, and a destination port.
  • the identification information may specifically be: source IP address, or source port number, or source IP address and source port number, or destination IP address, or destination port number, or destination IP address and destination port number, or source IP address , Source port number, destination IP address and destination port number.
  • the terminal device when it sends a request to the core network, it can carry the above identification information at the same time, or it can also carry the identification information of the multicast group, the identification information of the multicast data, and the identification information of the multicast session.
  • the core network may determine, based on the above identification information, whether the data requested by the terminal device can be transmitted in a multicast manner.
  • the core network determines that the data #1 and data #2 requested by the terminal device for transmission have the same identification information, it can be determined that the terminal device requesting the data #1 and data #2 belongs to the same multicast group. For example, if the source IP addresses of data #1 and data #2 are the same, it can be determined that the terminal device requesting the data #1 and data #2 belongs to the same multicast group; or, if the source IP addresses of data #1 and data #2 are If the destination IP address is the same, it can be determined that the terminal device requesting the data #1 and the data #2 belong to the same multicast group; or, if the source IP addresses of the data #1 and the data #2 are the same, and the data #1 and the data
  • the source port number of #2 is also the same, it can be determined that the terminal device requesting the data #1 and data #2 belong to the same multicast group; or, if the destination IP addresses of the data #1 and data #2 are the same, and the data If the destination port numbers of #1 and data #2 are the same, it can be determined that the terminal device requesting the same multi
  • the identification information of the application server can also be understood as a type of identification information.
  • the PCF may generate a PCC rule carrying the identification information according to the identification information carried when the terminal device sends a request to the core network as described above.
  • the SMF can create a special mapping rule based on the identification information in the PCC rule, and map the data corresponding to the identification information to a QoS Flow. This ensures that in a PDU session, a live content of an application can be mapped to the same QoS Flow. When the live content is mapped to a QoS Flow, the QoS Flow carries the multicast data.
  • the QoS Flow used to carry multicast data can be a QoS Flow in a multicast dedicated PDU session; it can also be a QoS Flow in a multicast dedicated tunnel; it can also be a multicast dedicated QoS flow.
  • Flow It can also be a unicast QoS Flow, but the QoS Flow carries an indication information to indicate that the QoS Flow carries multicast data.
  • the multicast dedicated PDU session may refer to a PDU session specially created for the multicast data.
  • the so-called multicast dedicated PDU session that is, the PDU session will not be shared with unicast data or other multicast data.
  • the PDU session may be created for a certain terminal device, or may be created for the multicast group, which is not limited in this application.
  • the multicast dedicated PDU session may include a multicast dedicated tunnel created for the multicast data, where the QoS Flow is a QoS Flow dedicated to carrying the multicast data.
  • the multicast dedicated tunnel may refer to a tunnel specially created for the multicast data.
  • the multicast dedicated tunnel may be a tunnel in a multicast dedicated PDU session, or a tunnel in a non-multicast dedicated PDU session, for example, it may be a tunnel created for the multicast group in a unicast PDU session.
  • the QoS Flow in the multicast dedicated tunnel may be a QoS Flow dedicated to carrying multicast data.
  • the multicast dedicated QoS Flow may refer to a QoS Flow created specifically for the multicast data.
  • the multicast dedicated QoS Flow can be a QoS Flow in a multicast dedicated PDU session or a QoS Flow in a non-multicast dedicated PDU session.
  • it can be a QoS Flow created for the multicast group in a unicast PDU session. .
  • Figure 2 shows a schematic diagram of multicast data merging on the UPF side.
  • Step 1 In the process of establishing or modifying the PDU session, that is, when the UE requests data from the application server, the SMF may send a recognition rule (packet detection rule, PDR) and a forwarding action rule (FAR) to the UPF.
  • PDR packet detection rule
  • FAR forwarding action rule
  • the identification rule can be used to indicate which multicast group the UPF identification data corresponds to.
  • the forwarding behavior rule can be used to indicate whether the UPF forwards the data and on which transmission channel.
  • the application server may send one or more multicast session requests to the core network (for example, NEF).
  • the core network for example, NEF
  • the following takes a request for a multicast session as an example.
  • the request may carry part of the identification information of a multicast session, for example, may include the IP address and/or port number of the application server.
  • the IP address and/or port number of the application server that sent the request for the multicast session may be used as the source IP address and/or source port number of the multicast session.
  • NEF can return the entry information of the multicast session to the application server.
  • NEF may configure UPF for the multicast session and return the IP address and/or port number of the UPF.
  • the IP address and/or port number of the UPF configured for the multicast session can be used as the destination IP address and/or the destination port number of the multicast session.
  • the NEF can obtain the correspondence between the source IP address and/or source port number and the destination IP address and/or destination port number of the multicast session.
  • NEF may send the corresponding relationship to the SMF, for example, when the UE requests data, or send it after obtaining the corresponding relationship, regardless of whether the UE requests data.
  • NEF may also send the corresponding relationship to other network elements for storage, such as UDM, Unified Data Repository (UDR), and so on.
  • UDM Unified Data Repository
  • the SMF may further determine the correspondence between the multicast data requested by the UE and the aforementioned identification information based on the request of the UE.
  • the SMF may send the corresponding relationship as an identification rule to the UPF.
  • the following table shows an example of the correspondence between the multicast data and the aforementioned identification information. It should be understood that the following table is only an example for ease of understanding, and should not constitute any limitation to the application. The above corresponding relationship does not necessarily exist in the form of a table.
  • Serial number Identification information of multicast data Identification information 1 Logo 1 Source IP address 1, source port number 1, destination IP address 1, destination port number 1 2 Logo 2 Source IP address 2, source port number 2, destination IP address 2, destination port number 2 ... ... ... ...
  • the SMF may not send the identification information of the multicast data to the UPF, but only send the identification information to the UPF. At this time, the SMF will also send the following configuration information to the UPF.
  • the SMF can send configuration information to the UPF and the RAN, for example, with the PDU session as the granularity, send the configuration information to the UPF and the RAN.
  • the configuration information may include one or more of the indication of the mapping relationship between the multicast data and the transmission channel, the indication of the multicast data, or the indication of the transmission channel.
  • the indication of the multicast data may be, for example, one or more of the above-mentioned data identification of the multicast data, the identification of the multicast group, or the identification of the multicast session.
  • the indication of the transmission channel may be, for example, one or more of a multicast dedicated PDU session identifier, a multicast dedicated tunnel identifier, or a QoS Flow identifier (ie, QFI).
  • a multicast dedicated PDU session identifier ie, a multicast dedicated tunnel identifier
  • QoS Flow identifier ie, QFI
  • the SMF sends the corresponding relationship between the identification information and the configuration information to the UPF.
  • the following table shows the correspondence between the identification information sent by the SMF to the UPF and the configuration information. It should be understood that the following table is only an example for ease of understanding, and should not constitute any limitation to the application. The above corresponding relationship does not necessarily exist in the form of a table.
  • the mapping relationship between the multicast data and the transmission channel may be the indication of the multicast data and the multicast dedicated PDU session identifier.
  • Mapping relationship another example, when the QoS Flow used to carry the multicast data is the QoS Flow in the multicast dedicated tunnel, the mapping relationship between the multicast data and the transmission channel may be the mapping between the indication of the multicast data and the tunnel identifier Relationship; In another example, the mapping relationship between the multicast data and the transmission channel may be the mapping relationship between the indication of the multicast indication and the QFI.
  • the UPF and the RAN can determine that the multiple terminal devices belong to the same multicast group.
  • the RAN can send an RRC message to each terminal device in the same multicast group, and the RRC message carries a group-radio network temporary identifier (G-RNTI) to facilitate the multicast group
  • G-RNTI group-radio network temporary identifier
  • the above-mentioned configuration information may be defined based on the RAN.
  • the SMF can determine configuration information based on each RAN, and the data corresponding to the multicast group contained in each configuration information can be data transmitted through the RAN, or in other words, can be transmitted with the cell served by the RAN Corresponding to the data.
  • the same data identifier in the same RAN can correspond to one or more QoS Flows.
  • QoS Flows can be used to transmit data with the same content.
  • some or all of the data in the QoS Flow may be filtered among the multiple QoS Flows.
  • Step 2 UPF sends data to the RAN.
  • the application server can send data to the UPF based on requests from multiple terminal devices. If the data requested by multiple terminal devices is data with the same content, the application server can send unicast data separately for each terminal device, as shown in Figure 2; the application server can also send data in response to the request of the multiple terminal devices To UPF, the UPF copies the data into multiple copies to obtain multiple copies of unicast data for multiple terminal devices.
  • FIG. 2 is only one possible implementation manner, which should not constitute any limitation to this application.
  • the application server may also only send one piece of data to the UPF. This application does not limit this.
  • the UPF When the UPF sends data to the RAN, it can combine and send the data corresponding to the same multicast group in each PDU session according to the mapping relationship sent by the SMF. Specifically, the UPF can transmit the data identified by the data identifier through the QoS Flow in the PDU session of a certain terminal device, or the network can separately establish a dedicated QoS Flow to transmit data.
  • the UPF may receive one piece of data from the application server, or it may receive multiple pieces of data from the application server, and the multiple pieces of data are data corresponding to the same data identifier.
  • the UPF receives multiple copies of data
  • the UPF can filter other data in the QoS Flow corresponding to the data identifier, or in other words, discard .
  • other QoS Flows corresponding to the data identifier may not transmit data.
  • the UPF transmits data through a separate dedicated QoS Flow, the UPF can filter, or discard, the data transmitted in the QoS Flow of each terminal device corresponding to the data identification.
  • the mapping relationship includes data identifier 1 and its corresponding QoS Flow.
  • the data identifier 1 corresponds to the QoS Flow 1 of the UE 1, the QoS Flow 2 of the UE 2, the QoS Flow 3 of the UE 3, and the QoS Flow 4 of the UE 4.
  • the QoS Flow 1 of UE 1, the QoS Flow 2 of UE 2, the QoS Flow 3 of UE 3, and the QoS Flow 4 of UE 4 have the same content of data transmitted, and they are all data identified by data identifier 1.
  • UPF can select any QoS Flow among QoS Flow 1, QoS Flow 2, QoS Flow 3, and QoS Flow 4 to transmit data, for example, select QoS Flow 1 to transmit data. If UPF receives multiple pieces of data corresponding to data identifier 1 from the application server, the multiple pieces of data can originally be transmitted through QoS Flow 2, QoS Flow 3, and QoS Flow 4, but in this case, UPF can transfer QoS Flow 2, QoS Flow Data filtering in 3 and QoS Flow 4, in other words, discarding, or in other words, not transmitting data. Alternatively, the network can also establish a dedicated QoS Flow to transmit data.
  • UPF receives multiple pieces of data corresponding to data identifier 1 from the application server, the multiple pieces of data can pass QoS Flow 1, QoS Flow 2, QoS Flow 3, and QoS Flow 4, but in this case, UPF can change QoS Flow 1.
  • the data transmitted in QoS Flow 2, QoS Flow 3, and QoS Flow 4 are filtered, in other words, discarded, or in other words, no data is transmitted.
  • the discarding of data transmitted in a certain QoS Flow does not mean that the QoS Flow is discarded.
  • the QoS Flow still exists in the PDU session of the terminal device, but the data originally required to be transmitted through the QoS Flow is transmitted through other QoS Flows.
  • UPF can also carry a special identifier in the general packet radio service tunneling protocol user plane (general packet radio service tunneling protocol user, GTP-U) header sent to the RAN to indicate that there are QoS with the same data identifier in the UPF.
  • GTP-U general packet radio service tunneling protocol user
  • Step 3 The RAN forwards the QoS Flow from the UPF to the terminal device.
  • the RAN When the RAN receives the QoS Flow from the UPF and the identifier of the GTP-U packet header, it can send the data carried in the QoS Flow to the multicast group based on the predetermined multicast group corresponding to the QoS Flow The various terminal equipment.
  • the above-mentioned data can be sent to multiple terminal devices through shared resources, or it can be sent separately to a specific terminal device, which is not limited here.
  • Figure 3 is a schematic diagram of multicast data merging on the RAN side.
  • the SMF may also send configuration information to the RAN instead of sending the configuration information to the UPF.
  • the RAN can determine the terminal devices in the same multicast group based on the configuration information.
  • the UPF may send data corresponding to each terminal device to the RAN in a unicast form. That is, the same data is carried in the QoS Flow from UPF to RAN in the PDU session of each terminal device.
  • step 3 the RAN combines the data corresponding to the same multicast group and sends it to each terminal device in the multicast group.
  • the process of merging on the RAN side is basically similar to the process of merging on the UPF side above, except that the step of merging data by the UPF is transferred to the RAN for execution.
  • the description of the same or similar content is omitted here.
  • the terminal equipment may frequently switch between multiple cells. However, how to complete the handover when the terminal device receives multicast data remains to be resolved.
  • This application provides a handover method, which provides a variety of possible handover procedures for a terminal device in a multicast scenario, so as to solve the problem of how the terminal device completes the handover when receiving multicast data.
  • the access network device shown in the following embodiments can be replaced with components (such as a circuit, a chip, or a chip system, etc.) configured in the access network device.
  • the embodiments shown below do not specifically limit the specific structure of the execution body of the method provided in the embodiments of the application, as long as the program can be run and recorded with the code of the method provided in the embodiments of the application to provide the method according to the embodiments of the application.
  • the method can realize the switching of the terminal equipment.
  • UE1 The terminal device that receives multicast data in the source cell.
  • UE2 A terminal device in the source cell that receives the same multicast data, and belongs to the same multicast group as UE1. In this embodiment of the present application, UE2 is about to switch from the source access network device to the terminal device of the target access network device.
  • Multicast data includes the data corresponding to the multicast group received by the UE2 before handover, that is, the data corresponding to the multicast group received by the UE2 in the source cell. It also includes the data corresponding to the multicast group received by the UE2 after the handover, that is, the data corresponding to the multicast group received by the UE2 in the target cell. It is understandable that the data of the multicast group received by UE2 before and after the handover is called multicast data.
  • Data #1 Data requested when UE2 is in the source cell.
  • the UPF or source access network device was originally intended to be sent to UE2, but it was not sent to UE2 due to the transmission of multicast data with the same content.
  • the data requested by the UE2 may be multicast data or unicast data, which is not limited in this application.
  • multicast data and data #1 are only defined for the convenience of distinguishing the above differences, and they are essentially data with the same content.
  • the same content can mean that the data packet used to carry multicast data and the data packet used to carry data #1 have the same payload, or it can refer to the data packet used to carry multicast data and the data packet used to carry data.
  • the header of the data packet of #1 is the same, and the payload part is also the same. This application does not limit this.
  • data can be carried in multiple data packets for transmission.
  • a data packet of multicast data may indicate a data packet that carries the multicast data.
  • a receiving device (such as a terminal device) may combine multiple received data packets corresponding to the same data, and then obtain the data carried therein.
  • the receiving device can obtain the data carried in the multicast data based on the received data packet of the multicast data.
  • the data obtained in this way is multicast data, or it can be said that it is data #1.
  • the source access network device described in the text sends a message or data packet to the target access network device, and does not limit the source access network device to directly send a message or data packet to the target access network device.
  • the communication between the source access network device and the target access network device can be forwarded through AMF.
  • the source access network device and the target access network device support Xn interface communication, the source access network device and the target access network device can interact directly without AMF forwarding .
  • used to indicate can include both used for direct indication and used for indirect indication.
  • the indication information may directly indicate A or indirectly indicate A, but it does not mean that A must be carried in the indication information.
  • the information indicated by the instruction information is called the information to be indicated.
  • the information to be indicated can be directly indicated, such as the information to be indicated or the information to be indicated. Indicates the index of the information, etc.
  • the information to be indicated can also be indicated indirectly by indicating other information, where there is an association relationship between the other information and the information to be indicated. It is also possible to indicate only a part of the information to be indicated, while other parts of the information to be indicated are known or agreed in advance. For example, it is also possible to realize the indication of specific information by means of a pre-arranged order (for example, stipulated in an agreement) of various information, so as to reduce the indication overhead to a certain extent. At the same time, it can also identify the common parts of each information and give unified instructions, so as to reduce the instruction overhead caused by separately indicating the same information.
  • the information to be instructed can be sent together as a whole, or divided into multiple sub-information to be sent separately, and the sending period and/or sending timing of these sub-information can be the same or different.
  • the specific sending method is not limited in this application.
  • the first, second, and various numerical numbers are only for easy distinction for description, and are not used to limit the scope of the embodiments of the present application. For example, distinguish different multicast data, different UEs, different PDU sessions, and so on.
  • At least one refers to one or more, and “multiple” refers to two or more.
  • And/or describes the association relationship of the associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an “or” relationship.
  • "The following at least one item (a)” or similar expressions refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a).
  • At least one of a, b, and c can mean: a, or, b, or, c, or, a and b, or, a and c, or, b and c, or, a , B, and c.
  • a, b, and c can be single or multiple.
  • the source access network can correspond to the source access network equipment
  • the target access network can correspond to the target Access network equipment
  • AMF can correspond to access and mobility management network elements
  • source AMF source AMF, S-AMF
  • SMF source access and mobility management network elements
  • SMF session management network elements
  • UPF User plane network element
  • the SMF network elements in the multiple embodiments and drawings shown below may be unicast session management network elements; it may also be management for multicast sessions (or, multicast groups, multicast data, etc.) And the specific session management network element used. If SMF is a specific session management network element used for the management of multicast sessions, the interaction between AMF and the SMF may involve other processes. Although not shown in the following and in the drawings, those skilled in the art should understand that, Other interaction procedures between AMF and SMF do not affect the implementation of the embodiments of this application. It should also be understood that this application does not limit whether the SMF is a unicast session management network element or a specific session management network element. It should also be understood that if the SMF is a unicast session management network element, it may have the ability to manage multicast sessions (for example, sending configuration information to UPF and RAN, etc.).
  • the UPF can be a specific user plane network element or a unicast user plane network element.
  • UE2 switches from the source access network device to the target access network device while receiving multicast data; in the latter implementation manner, UE2 switches from receiving multicast data to receiving multicast data in the source cell. After unicasting the data, switch to the target access network device.
  • FIGS. 4 to 9 show the specific process in the foregoing implementation manner
  • FIGS. 10 to 12 show the specific process in the foregoing implementation manner. The embodiments are described in detail below with reference to the drawings.
  • FIG. 4 is a schematic flowchart of a handover method 400 provided by an embodiment of the present application. As shown in FIG. 4, the method 400 may include steps 401 to 419. The steps in the method 400 are described in detail below.
  • each terminal device in the source cell belonging to the same multicast group receives the multicast data.
  • the multicast group is a multicast group corresponding to the multicast data.
  • the multiple terminal devices may include, but are not limited to, UE1 and UE2 that reside in the source cell, for example. It should be understood that the multicast group may also include terminal devices in other cells, which is not limited in this application.
  • the source access network device may allocate a G-RNTI to each terminal device belonging to the multicast group in the source cell through an RRC message in advance.
  • Each terminal device can receive multicast data from the source access network device based on the received G-RNTI.
  • the source access network device may also pre-assign a cell-radio network temporary identifier (cell-radio network temporary identifier, C-RNTI).
  • C-RNTI cell-radio network temporary identifier
  • the source access network device may individually send the multicast data to each terminal device in the source cell belonging to the multicast group. Each terminal device can receive the multicast data based on the C-RNTI.
  • each terminal device receiving multicast data based on G-RNTI and the specific process of receiving multicast data based on C-RNTI are similar to the specific process of receiving unicast data based on C-RNTI. For brevity, it will not be described in detail here. .
  • each terminal device can receive the above-mentioned multicast data based on an existing transmission channel (eg, PDU session), or can create a transmission channel based on the transmission of the above-mentioned multicast data, and then based on the newly created transmission channel Receive the above-mentioned multicast data.
  • an existing transmission channel eg, PDU session
  • the method further includes step 402, in which each terminal device in the source cell creates a multicast transmission channel.
  • the transmission channel created by each terminal device is a channel for transmitting multicast data, and specifically may be a channel for transmitting multicast data from the UPF to the source access network device.
  • the transmission channel created by each terminal device can transmit data requested by each terminal device.
  • the transmission channel of UE2 can be used to transmit data requested by UE2.
  • the multicast transmission channel created by each terminal device may include, but is not limited to: a multicast dedicated PDU session, a multicast dedicated tunnel, a multicast dedicated QoS Flow, and a unicast QoS carrying indication information for carrying multicast data.
  • Each terminal device may create a dedicated multicast transmission channel, for example, it may include, but is not limited to: a dedicated multicast PDU session, a dedicated multicast tunnel, a dedicated multicast QoS Flow, or other channels that can be dedicated to the transmission of multicast data.
  • the terminal equipment that receives the multicast data in the source cell may include, but is not limited to, the foregoing UE1 and UE2, for example.
  • UE1 can create multicast transmission channel 1 based on the multicast data
  • UE2 can create multicast transmission channel 2 based on the multicast data.
  • each terminal device in the source cell that receives the multicast data can create its own multicast transmission channel based on the multicast data. The following is only for ease of understanding and description. It is assumed that the terminal devices receiving multicast data in the source cell include UE1 and UE2, that is, UE1 and UE2 are terminal devices belonging to the same multicast group.
  • each terminal device may request multicast data when sending a request to the core network. Based on the request, each terminal device can create a multicast transmission channel for the multicast data.
  • the specific process for each terminal device to create the multicast transmission channel is the same as the specific process for the terminal device to create the transmission channel in the prior art.
  • the specific process for each terminal device to create a multicast dedicated PDU session is the same as the specific process for the terminal device to create a PDU session in the prior art.
  • the UPF can merge the multicast data in multiple multicast transmission channels. For example, in the first possible implementation manner, the UPF can transmit the multicast data through the multicast transmission channel 1 of UE1, and filter the data originally transmitted through the multicast transmission channel 2 of UE2, so the multicast transmission channel 2 of UE2 No multicast data is being transmitted in. In the second possible implementation manner, UPF can also transmit multicast data through multicast transmission channel 2 of UE2, and filter the data originally transmitted through multicast transmission channel 1 of UE1, so UE1’s multicast transmission channel 1 is not Transmit multicast data.
  • the network can also create a separate multicast shared transmission channel for the multicast data, and the multicast shared transmission channel is not created for any terminal device in the above-mentioned multicast group.
  • UPF can transmit multicast data through the multicast shared transmission channel, and filter the data originally transmitted through the multicast transmission channel 1 of UE1, and filter the data originally transmitted through the multicast transmission channel 2 of UE2, so the multicast data of UE1 No multicast data is transmitted in the broadcast transmission channel 1, and no multicast data is transmitted in the multicast transmission channel 2 of the UE2.
  • UPF merging multicast data is only one possible implementation manner.
  • the source access network device can also merge the multicast data. In this case, UPF does not merge the multicast data. Since the previous section describes the difference between the two in detail in conjunction with FIG. 2 and FIG. 3, for the sake of brevity, it will not be repeated here.
  • the transmission channel of the multicast data is recorded as the multicast transmission channel 0.
  • the multicast transmission channel 0 can be the above-mentioned multicast transmission channel 1, and the multicast transmission channel 2 is the channel used to transmit multicast data of the UE2; in the second implementation In the method, the multicast transmission channel 0 can be the above-mentioned multicast transmission channel 2, and the multicast transmission channel 1 is the channel used to transmit multicast data of the UE1; in the third implementation manner, the multicast transmission channel 0 can be A separately created multicast shared transmission channel, and the multicast transmission channel 1 is the channel used for transmitting multicast data of UE1, and the multicast transmission channel 2 is the channel used for transmitting multicast data of UE2.
  • the multicast shared transmission channel is not limited to PDU sessions.
  • it can also be a multicast shared transmission channel.
  • the multicast transmission channel 0 can be the multicast transmission channel 1, or it can be a separately created multicast shared transmission channel.
  • the multicast transmission channels corresponding to each terminal device belonging to the same multicast group in the source cell may not all actually transmit the multicast data, it can still guarantee the data of each multicast transmission channel. Synchronization of packet sequence number information.
  • the synchronization of the sequence number information of the data packets in the multicast transmission channel 1 and the multicast transmission channel 2 can be expressed as the two data packets (
  • the sequence numbers of GTP-U data packets are the same.
  • the serial number can be understood as a type of serial number information.
  • the multicast transmission channel can maintain a sequence number to count the data packets sent from the UPF. This can be achieved through the configuration of UPF.
  • the multicast transmission channel 0 is the multicast transmission channel 1.
  • the sequence numbers of the multicast transmission channels of other terminal devices in the same multicast group (for example, the multicast transmission channel 2 of the UE2) can be updated synchronously.
  • the UPF transmits multicast data through the multicast transmission channel 1 it can count the transmitted data packets through the sequence number. For example, each time UPF transmits a data packet through the multicast transmission channel 1, its sequence number is increased by one. While the UPF counts the data packets in the multicast transmission channel 1, it can also update the serial number of the multicast transmission channel 2 so that the serial number of the multicast transmission channel 2 is synchronized with the serial number of the multicast transmission channel 1.
  • the multicast transmission channel 0 is the multicast shared transmission channel instead of the above-mentioned multicast transmission channel 1.
  • UPF updates the sequence number of the multicast transmission channel 0 created by the network, it can simultaneously update the multicast transmission channels of other terminal devices in the same multicast group (such as the multicast transmission channel 1 of UE1 and the multicast transmission channel of UE2). 2) The serial number.
  • the UPF transmits multicast data through the multicast transmission channel 0, it can count the transmitted data packets through the sequence number. For example, each time the UPF transmits a data packet through the multicast transmission channel 0, its sequence number is increased by one.
  • UPF when UPF updates the sequence number of multicast transmission channel 0, it will not immediately update the sequence numbers of the multicast transmission channels of the same multicast group (such as multicast transmission channel 1 and multicast transmission channel 2). , And based on specific events, trigger the update of the sequence numbers of the multicast transmission channel 1 and the multicast transmission channel 2. For example, when a handover occurs, the SMF configures the UPF to send an End Marker packet. At this time, the UPF can update the multicast transmission channel 1 and the multicast transmission channel 2 to the sequence number of the multicast transmission channel 0.
  • the above sequence number can be realized by referring to the existing GTP-U sequence number mechanism, or it can be realized by adding a GTP-U sequence number, or alternatively, it can be realized by adding extra in the GTP-U data packet.
  • the serial number information is realized, which is not limited in this application.
  • step 403 the source access network device determines that UE2 needs to handover according to the measurement report reported by UE2.
  • Each UE can perform measurement control and reporting in the source cell.
  • the source access network determines whether the handover condition is satisfied based on the measurement report reported by each UE, and executes the handover procedure when the handover condition is satisfied.
  • the specific content of the source access network device to determine whether the handover condition is satisfied based on the measurement report reference may be made to the prior art. For the sake of brevity, it will not be described in detail here.
  • the source access network device determines that UE2 needs to handover according to the measurement report reported by UE2.
  • the target access network device obtains a first message, which is used to request the establishment of resources for UE2 to switch to the target access network device.
  • the context information related to UE2 is established in the target access network device, or in other words, UE2 is handed over to the target access network device.
  • the first message is used to request the establishment of resources for UE2 to switch to the target access network device, and may include establishing UE2-related context information for UE2 to switch to the target access network device, UE2, and the context of the PDU session.
  • step 404 the source access network device may send the first message to the target access network device based on the Xn interface.
  • the source access network device and the target access network device can be managed by the same AMF, or the source access network device and the target access network device support Xn interface communication.
  • the first message may be, for example, a handover request (Handover Request) message.
  • step 404 the source access network device sends a handover request (Handover Requied) message to the core network element (for example, AMF), and the core network element can access the target based on the handover request message.
  • the network device sends the first message.
  • the first message may also be a handover request (Handover Request) message, for example.
  • This application does not limit the transmission path of the first message, the specific implementation of step 404, and the specific signaling name of the first message.
  • the first message may carry information used to transmit multicast data.
  • the information used to transmit the multicast data may specifically include the data identification of the multicast data, the identification of the multicast group, the identification of the multicast session, the identification of the multicast PDU session, the identification of the multicast tunnel, and the identification of the multicast data.
  • Identification information, or QFI, etc. can be used to identify the multicast data (or in other words, the multicast group corresponding to the multicast data).
  • the SMF can send configuration information to the RAN, and the configuration information can include the mapping relationship between the multicast data and the transmission channel. Therefore, the target access network device can identify the multicast session after acquiring any one of the information of the indication of the multicast session or the indication of the transmission channel. In this step 404, the target access network device may further obtain information for transmitting the multicast data from the first message.
  • the above-mentioned first message may not carry information used to transmit multicast data.
  • the source access network device may send information for transmitting multicast data to the target access network device through other signaling.
  • the target access network device may obtain the first message and the information used to transmit the multicast data from the source access network device, respectively. This application does not limit whether the first message carries information used to transmit multicast data.
  • step 405 the target access network device sends a second message, which is used to notify the source access network device of the resources that have been established on the target access network device.
  • the resources established on the target access network device include resources established for UE2 to switch to the target access network device.
  • the target access network device may establish related resources for UE2 to access the target access network device according to the first message, for example, including context information related to UE2, context of a PDU session, and the like.
  • the target access network device may send a second message to notify the source access network device of the resources established for UE2.
  • a possible implementation of step 405 is that the target access network device sends the second message to the source access network device.
  • the target access network device and the source access network device may be managed by the same AMF, or the communication between the target access network device and the source access network device supports Xn interface.
  • the second message may be, for example, a Handover Request Response (Handover Request Response) message.
  • step 405 the target access network device may send the second message to a core network element (such as AMF).
  • the core network element may combine and send a handover command (Handover Command) message to the source access network according to the second message.
  • the second message may be, for example, a Handover Request Acknowledge (Handover Request Acknowledge) message.
  • the second message carries related information about UE2 accessing the target access network device.
  • the related information of the UE2 accessing the target access network device may include, for example, access network tunnel information (tunnel information) or GTP tunnel information (GTP tunnel).
  • the access network tunnel information can be used to indicate the forwarding tunnel ID used to forward multicast data, or it can be used to indicate the transport layer address (transport layer address) and the GTP tunnel endpoint identifier (GTP-tunnel endpoint). identifier, GTP-TEID).
  • the forwarding tunnel can be used for the source access network device to forward multicast data to the target access network device.
  • the source access network device may further obtain the access network tunnel information from the second message.
  • the target access network device may send the access network tunnel information to the source access network device through other signaling.
  • the source access network device may obtain the second message and the access network tunnel information from the target access network device respectively. This application does not limit whether the second message carries access network tunnel information.
  • the second message may also carry container information sent to UE2, for example, including the RRC reconfiguration message sent by the target access network device to UE2, for example, including the cell identity, C-RNTI, G-RNTI, and C-RNTI of the target cell.
  • container information sent to UE2, for example, including the RRC reconfiguration message sent by the target access network device to UE2, for example, including the cell identity, C-RNTI, G-RNTI, and C-RNTI of the target cell.
  • the security identification information, etc. to facilitate the UE2 to switch to the target access network device.
  • the above steps 401 to 405 can be classified as a handover preparation phase.
  • step 406 UE2 switches from the source access network device to the target access network device.
  • the handover of the UE2 from the source access network device to the target access network device may also be referred to as the handover of the UE2 from the source cell to the target cell.
  • the completion of the UE2 handover from the source access network device to the target access network device can be understood as the completion of the air interface handover.
  • the UE2 that has completed the air interface handover can receive data from the target access network device instead of directly receiving data from the source access network device.
  • step 407 the source access network device forwards the data packet of the multicast data to the target access network device through the forwarding tunnel.
  • the target access network device receives the data packet from the source access network device.
  • the source access network device can still receive multicast data from UPF through multicast transmission channel 0 and send it to other UEs in the same multicast group in the source cell (such as UE1 above) The multicast data.
  • the source access network device may forward the multicast data received in the multicast transmission channel 0 to the target access network device.
  • the data packet of the multicast data received by the source access network device from the UPF through the multicast transmission channel 0 is recorded as the second data packet. Therefore, the data packet of the multicast data that the target access network device receives from the source access network device through the forwarding tunnel is also the second data packet, and the target access network device in the following text receives it from the UPF without accessing the source.
  • the data packet of the multicast data forwarded by the network device is recorded as the first data packet.
  • the target access network device may further send a message to the core network to complete the switching of the core network side transmission path.
  • step 408 the target access network device sends an N2 message to the AMF, and the N2 message is used to notify UE2 that the air interface handover has been completed.
  • the AMF receives the N2 message from the target access network device.
  • the N2 message may be a path switch request (path switch request) message or a handover nodify message. This depends on whether the target access network device and the source access network device are switched through the Xn interface or the N2 interface. For example, if the target access network device and the source access network device are access network devices under the same AMF, or the target access network device and the source access network device currently support Xn interface transmission, then the switch For Xn-based handover (Xn-based handover), the N2 message may be a path switch request message.
  • path switch request path switch request
  • the switch is N2-based handover (N2-based handover)
  • the N2 message may be a handover notification message.
  • N2 messages is only an example, and should not constitute any limitation to this application. This application does not limit the specific name of the N2 message.
  • the N2 message includes a list of transmission channels (such as PDU sessions, etc.) established in the target access network device and list information of QoS flows successfully established in the corresponding session.
  • a list of transmission channels such as PDU sessions, etc.
  • step 409 the AMF sends a third message to the SMF, and the third message is used to indicate the foregoing information for transmitting multicast data.
  • the SMF receives the third message from the AMF.
  • the AMF may request the SMF to configure the transmission of data on the multicast transmission channel 2 of the UE2 through the third message.
  • the multicast transmission channel 2 can be used to transmit the data requested by UE2, that is, data #1.
  • the data #1 corresponds to the above-mentioned information used to transmit the multicast data, that is, it is data with the same content as the above-mentioned multicast data, so the third message can also be considered to request the SMF to configure the transmission of the multicast data.
  • the third message may be an N11 message.
  • the third message may be an N smf interface PDU session update session management context request (N smf _PDUSession_UpdateSMContext Request) message.
  • the third message carries one or more of the following: identification information of a transmission channel (such as a PDU session, etc.), identification information of a session management (session management, SM) context, and N2 SM information.
  • identification information of a transmission channel such as a PDU session, etc.
  • identification information of a session management (session management, SM) context such as a PDU session, etc.
  • session management, SM session management
  • N2 SM information contains list information of successfully established QoS flows, or list information of failed QoS flows.
  • the SMF can obtain the multicast context information according to the third message.
  • the SMF locally stores the corresponding relationship between the multicast context information and the unicast information.
  • the following table shows the correspondence between multicast context information and unicast information. It should be understood that the following table is only an example for ease of understanding, and should not constitute any limitation to the application. The above corresponding relationship does not necessarily exist in the form of a table.
  • the SMF can determine the foregoing information used to transmit the multicast data.
  • the SMF before the multicast data is transmitted, the SMF has pre-generated configuration information, and the configuration information contains the mapping relationship between the multicast data and the transmission channel. Therefore, when SMF receives the information used to transmit multicast data from AMF in step 408, it can determine based on this that the data received by UE2 in the source cell is multicast data and the multicast group corresponding to the multicast data. One or more of the group, multicast session, data identification, and transmission channel information.
  • step 410 the SMF sends a fourth message to the UPF, and the fourth message is used to request to configure the transmission of data on the multicast transmission channel 2 of the UE2. Accordingly, in step 410, the UPF receives the fourth message from the SMF.
  • the fourth message may be an N4 message.
  • the SMF may indicate the forwarding behavior of the data #1 requested by the UE2 by the UPF through the fourth message.
  • the data packet of data #1 requested by UE2 is the aforementioned first data packet. That is, the SMF may indicate the forwarding behavior of the first data packet through the fourth message.
  • the fourth message includes one or more of the following: an indication of the forwarding behavior of the first data packet, information for transmitting multicast data, identification rules, and forwarding behavior rules.
  • the SMF may send an indication of the forwarding behavior of the first data packet to the UPF through an N4 message.
  • the first data packet received by the access network device from the UPF has the same content as the aforementioned data #1 requested by the UE2 when it is in the source cell.
  • the data #1 was originally sent to the UE2, but it was filtered due to the transmission of multicast data with the same content.
  • the SMF can determine the indication of the forwarding behavior of the data #1 (that is, the forwarding behavior of the first data packet).
  • the indication of the forwarding behavior of the data #1 may specifically include: whether to continue to filter the data #1; and without filtering, it may be further determined which transmission channel the data #1 is mapped to.
  • the SMF may determine that the UE2 belongs to the multicast group corresponding to the multicast data according to the identification information of the data #1 requested by the UE2. SMF may be based on UE2 switching to the target access network device, determining that the data #1 requested by UE2 will no longer be filtered, and may further determine the data #1 according to the predetermined mapping relationship between the multicast data and the transmission channel Map to which transmission channel to transmit.
  • the SMF may determine whether there is a transmission of multicast data with the same content in the target cell according to the identification information of the data #1 requested by the UE2. In the case of multicast data transmission in the target cell, the SMF can determine to continue to filter the data #1.
  • the SMF may directly indicate to the UPF that the forwarding behavior rule for data #1 (that is, the forwarding behavior rule of the first data packet) is to filter the data #1.
  • SMF can determine not to filter the data #1, and can further determine which data #1 is mapped to based on the predetermined mapping relationship between the multicast data and the transmission channel Transmission on the transmission channel.
  • data #1 is to specifically explain the processing of the data requested by UE2 before and after UE2 is handed over to the target access network device.
  • the data packet received by the target access network device from the UPF after the UE2 is handed over to the target access network device is still referred to as the first data packet in the following.
  • the SMF may send the information used to transmit the multicast data, the identification rules, and the forwarding behavior rules to the UPF through the N4 message.
  • SMF can also directly send identification rules and forwarding behavior rules to UPF, and UPF identifies which multicast group the received multicast data corresponds to based on the recognition rules, and determines whether to forward data #1 based on the forwarding behavior rules and On which channel to forward.
  • the UPF may also determine the forwarding behavior rule for the first data packet according to the configuration information received in advance from the SMF.
  • the UPF can first determine that the UE2 belongs to the multicast group corresponding to the multicast data according to the identification information of the data #1. UPF can determine that the data #1 requested by UE2 will no longer be filtered based on UE2 switching to the target access network device, and can further determine the data #1 according to the mapping relationship between the multicast data sent by SMF and the transmission channel Map to which transmission channel to transmit.
  • the UPF may determine whether there is a transmission of the same multicast data content as the data #1 in the target cell based on the identification rule. In the case where there is multicast data with the same content as data #1, UPF can determine to filter the data #1; in the case where there is no multicast data with the same content as data #1, UPF can determine the The data #1 is not filtered, and the transmission channel to which the data #1 is mapped can be determined for transmission according to the forwarding behavior rule.
  • the N4 message also includes related information of the End Marker data packet.
  • the related information of the End Marker data packet may include, for example, an End Marker data packet carrying identification information of the multicast transmission channel 2 or information indicating the creation of the End Marker data packet.
  • the reason why the identification information of the multicast transmission channel 2 is carried in the End Marker data packet is because there is a correspondence between the multicast transmission channel 2 and the forwarding tunnel. Since there may be multiple forwarding tunnels between the source access network device and the target access network device, the multiple forwarding tunnels can be used to send data of different terminal devices, such as data of other terminal devices other than UE2; Send the data of the same terminal device in different transmission channels (such as different PDU sessions). Each forwarding tunnel may correspond to a multicast transmission channel of each terminal device.
  • the End Marker data packet can carry the identifier of the multicast transmission channel 2 Information so that the source access network device determines the corresponding forwarding tunnel according to the identification information of the multicast transmission channel 2. Therefore, it is possible to avoid sending the End Marker data packet in the wrong forwarding tunnel, which will affect the data transmission in the forwarding tunnels of other UEs or other forwarding tunnels of UE2.
  • the SMF may generate the End Marker data packet by itself, or may instruct the UPF to generate the End Marker data packet. If the SMF instructs the UPF to generate the End Marker data packet, the identification information of the multicast transmission channel 2 can be indicated to the UPF.
  • the identification information of the multicast transmission channel 2 may be, for example, the identification information of the multicast dedicated PDU session 2, the identification information of the multicast dedicated tunnel, the QFI of the multicast dedicated QoS Flow, or the unicast that carries the instruction information for transmitting the multicast data.
  • QFI of QoS Flow, etc., this application does not limit this.
  • the identification information of the multicast transmission channel 2 can also be used as information for indicating the transmission channel for transmitting End Marker data packets.
  • UPF can transmit End Marker data in the multicast transmission channel 2 based on the identification information of the multicast transmission channel 2. Bag.
  • the identification information of the multicast transmission channel 2 may not be used as information for indicating the transmission channel for transmitting the End Marker data packet.
  • the UPF may send the End Marker data packet through any one of the PDU session 1 or the PDU session 2. This application does not limit this.
  • the specific role of the identification information of the transmission channel 2 can be defined in advance, for example, defined in the protocol, which is not limited in this application.
  • step 411 the UPF sends a second End Marker data packet to the source access network device.
  • the source access network device receives the second End Marker data packet from the UPF.
  • step 412 the source access network device sends the first End Marker data packet to the target access network device.
  • the End Marker data packet sent by the source access network device to the target access network device is recorded as the first End Marker data packet
  • the End Marker data packet sent by the UPF to the source access network device is recorded as The second End Marker packet.
  • the UPF can send the second End Marker data packet through the multicast transmission channel 2 based on the instruction of the SMF.
  • the multicast transmission channel may be a multicast dedicated PDU session.
  • the source access network device may directly forward the second End Marker data packet received in the PDU session 2 to the target access network device. That is, the second End Marker data packet and the first End Marker data packet may be the same data packet.
  • the source access network device may directly determine the transmission channel for which the second End Marker data packet is sent according to the transmission channel through which the second End Marker data packet is transmitted. Therefore, the first End Marker data packet can be sent to the target access network device based on the forwarding tunnel corresponding to the multicast transmission channel 2.
  • the multicast transmission channel can also be a channel with a smaller granularity, such as a multicast dedicated tunnel, a multicast dedicated QoS flow, and a unicast QoS flow. Since End Marker packets are sent based on the granularity of the PDU session, when the multicast transmission channel is a channel smaller than the granularity of the PDU session, the source access network device may not necessarily respond to the multicast transmission channel received from the UPF.
  • the second End Marker data packet of the data is directly forwarded to the target access network device, but the End Marker data packet for unicast data received in the PDU session to which the multicast transmission channel belongs (for example, recorded as the third End Marker data) Packet) is sent to the target access network device to instruct the target access network device, and the source access network device stops forwarding data to the target access network device.
  • the second End Marker data packet and the first End Marker data packet are different data packets.
  • the first End Marker data packet in step 412 may be the foregoing third End Marker data packet.
  • the source access network device can wait After the End Marker data packets for the data of each transmission channel in the PDU session (such as the second End Marker data packet and the third End Marker data packet) have arrived, the third End Marker data packet is sent to the target access ⁇ Net equipment.
  • the source access network device may also generate the first End Marker data packet and send it to the target access network device after all End Marker data packets for the data of each transmission channel in the PDU session to which the multicast transmission channel belongs have arrived. This application does not limit this.
  • the first End Marker packet sent by the source access network device to the target access network device is the End Marker packet for unicast data, so the target access network device can refer to the method in the prior art. Process the first End Marker data packet.
  • the UPF may also decide by itself to transmit the second End Marker data packet through the multicast transmission channel 0 or the multicast transmission channel 2. Since the second End Marker data packet carries the identification information of the multicast transmission channel 2, the source access network device can send to the target access network device through the corresponding forwarding tunnel based on the identification information of the multicast transmission channel 2. The End Marker packet.
  • the header of the second End Marker data packet carries the identification information of the multicast transmission channel 2. Therefore, it can also be It is considered that the second End Marker data packet carries the identification information of the multicast transmission channel 2.
  • the payload part of the second End Marker data packet may also carry the identification information of the multicast transmission channel 2, which is not limited in this application.
  • the source access network device Since the channel through which the source access network device receives the second data packet and the channel through which the second End Marker data packet from UPF is received are not the same, it may cause the source access network device to send the first End Marker data to the target access network device. Packets and multicast data packets (such as the second data packet) are not synchronized. For example, the first End Marker data packet with the sequence number first arrives at the target access network device, and the second data packet with the sequence number before arrives at the target. Access network equipment, resulting in disorder or packet loss. Therefore, the sequence number can be used to ensure that the data packets of the multicast data received by the target access network device are not out of order or packet loss.
  • serial number corresponding to the second data packet included in the second data packet is marked as the first serial number.
  • sequence number corresponding to the first End Marker data packet included in the first End Marker data packet is recorded as the second sequence number.
  • both the first End Marker data packet and the second data packet can be sent to the target access network device via the forwarding tunnel between the source access network device and the target access network device.
  • the target access network device can determine whether to forward the second data packet based on the size relationship between the sequence numbers of the data packets, that is, whether to perform step 413, and the target access network device sends the second data packet to UE2.
  • the target access network device may send the second data packet to the terminal device.
  • the target access network device can receive the data packet from the source access network device.
  • the data packet is forwarded to UE2. If the first sequence number is greater than or equal to the second sequence number, the target access network device may send the first data packet received from the UPF to UE2, that is, step 415 is performed.
  • the following describes the processing logic when the source access network device and the target access network device receive the second data packet and the first End Marker data packet with specific examples.
  • the sequence number of the packet in which UPF recently sent multicast data through multicast transmission channel 0 is 20 (that is, an example of the first sequence number)
  • UPF can send sequence number 21 through multicast transmission channel 2 (that is, , An example of the second sequence number) the first End Marker data packet.
  • the source access network device may forward the data packet with a sequence number of 20 and the first End Marker data packet with a sequence number of 21 to the target access network device. After the target access network device receives the first End Marker data packet with a sequence number of 21, it will start to consider sending data from the UPF that is not forwarded by the source access network device.
  • the target access network device only needs to send data packets with a sequence number of 20 and before received from the source access network device (for example, including data packets with a sequence number less than or equal to 20) to the terminal device.
  • the target access network device may not receive it from the source access network device.
  • the source access network device After the source access network device receives the first End Marker data packet with a sequence number of 21, it can perform data packets with a sequence number of 21 (for example, including data with a sequence number greater than or equal to 22). Packet) is not forwarded. In other words, the source access network device only needs to forward data packets with a sequence number of 20 and before received in the multicast transmission channel 0 (for example, including data packets with a sequence number less than or equal to 20) to the target access network device.
  • the target access network device also stops receiving multicast data from the source access network device when the sequence number of the first End Marker data packet is the same as the sequence number of the data packet received from the source access network device. Data packets, or the source access network device no longer forwards the multicast data packet to the target access network device. For the sake of brevity, no examples are given here.
  • the target access network device sends the second data packet received from the source access network device to UE2.
  • the target access network device may determine whether to forward the second data packet to the UE2 based on the size relationship between the first sequence number and the second sequence number described above. Therefore, it is possible to avoid the occurrence of packet loss of the multicast data by the UE2, and to ensure the complete reception of the multicast data.
  • step 414 the UPF sends the first data packet to the target access network device.
  • the target access network device receives the first data packet from the UPF.
  • the UPF after the UPF finishes sending the second End Marker data packet in step 411, it can send the first data packet through the downlink user connection with the target access network device.
  • the downlink user connection between the UPF and the target access network device is also the multicast transmission channel 2 after the UE2 handover.
  • the UPF can send the first data packet to the target access network device through the switched multicast transmission channel 2 (hereinafter referred to as the multicast transmission channel 2'). Since the multicast transmission channel 2 is a multicast transmission channel created based on multicast data, the first data packet is transmitted in the multicast transmission channel 2'.
  • the UPF can implicitly indicate the sequence of each data packet through the sequence number, and will not cause the loss of the data packet.
  • step 415 the target access network device sends the first data packet to UE2.
  • the target access network device may send the first data packet to UE2.
  • the target access network device can start to consider the data received from the UPF The packet is forwarded to UE2, and the data packet received from the source access network device is no longer forwarded to UE2.
  • the target access network device stops receiving data packets from the source access network device; or, sends a first instruction to the source access network device, the first The indication is used to instruct the source access network device to stop sending multicast data; or, to notify the source access network device that it no longer receives multicast data from the source access network device.
  • the target access network device may perform step 415 to send the first data packet received from the UPF to UE2. Therefore, the sequence number (for example, the third sequence number) corresponding to the first data packet may be greater than or equal to the second sequence number.
  • the target access network device may continue to perform the above step 413 until the first sequence number is greater than or equal to the second sequence number, and the target access network device may perform step 415 thereafter.
  • the target access network device may also skip step 413 and directly execute step 415. For example, when the first serial number is greater than or equal to the second serial number.
  • the following describes the processing logic of the target access network device when it receives the second data packet, the first End Marker data packet, and the first data packet from the source access network device with specific examples.
  • data packets with sequence numbers 19 and 20 that is, two examples of the first sequence number sent by UPF through multicast transmission channel 0 have not yet reached the source access network device, but UPF is sent through multicast transmission channel 2.
  • the End Marker data packet with the sequence number 21 (that is, an example of the second sequence number) has reached the source access network device.
  • the target access network may first receive the End Marker data packet with the sequence number 21, and then receive the data packet with the sequence number 19 and 20.
  • the target access network device can continue to send data packets from the source access network device to the UE2 until the data packet with the sequence number 20 is sent. Thereafter, the target access network device no longer receives data packets from the source access network device through the forwarding tunnel.
  • the target access network device can release the forwarding tunnel with the source access network device for this purpose, or it can release the forwarding with the source access network device after sending the resource release request message in the subsequent step 419 tunnel. This application does not limit this.
  • the UPF may further send the first data packet through the multicast transmission channel 2'.
  • the first data packet sent by the UPF through the multicast transmission channel 2' can be sent from the sequence number 22 (ie, an example of the third sequence number), or before the sequence number 22 (ie, another example of the third sequence number)
  • the data packet starts to be sent, which is not limited in this application.
  • the target access network device may first buffer the data packet received from the multicast transmission channel 2'locally, and after completing the transmission of the data packet with the sequence number 20, continue to send the data packet with the sequence number 22.
  • the target access network device can cache the data packets from the multicast transmission channel 2'locally, and on the other hand, it can store the data packets from the source access network device from the multicast transmission channel 0. Forward to UE2. Until the sequence number of the data packet from the multicast transmission channel 0 is greater than or equal to the sequence number of the first End Marker data packet, the target access network device can stop processing data packets from the source access network device (that is, multicast data). Then, the data packet from the multicast transmission channel 2'(that is, the first data packet) is sent to UE2. Thereafter, the data packet sent by the target access network device to UE2 is the data packet received from the multicast transmission channel 2'.
  • the foregoing multicast transmission channel 2'and the forwarding tunnel between the source access network device and the target access network device may be a direct forwarding path and an indirect forwarding path of the same PDU session.
  • It can also be two different dedicated transmission tunnels, which are not limited here.
  • the UPF may also send the second End Marker data packet through the multicast transmission channel 0. Therefore, after the UPF receives the N4 message from the SMF, it can transmit data through the downlink user connection with the target access network device. That is to say, this step 414 is not necessarily executed after step 413, and can also be executed after step 410.
  • the data packets received by the target access network device may also be out of sequence.
  • the target access network device can still determine whether to continue to send the second data packet from the source access network device to UE2 according to the sequence number of the received data packet, or to send the second data packet received in the multicast transmission channel 2'to UE2 The first data packet.
  • the specific content please refer to the above description, for the sake of brevity, it will not be repeated here.
  • step 411 to step 414 in the above two implementation manners is slightly different, but this is only a different implementation manner and should not constitute any limitation to the application.
  • the UPF sends an N4 message to the SMF.
  • the N4 message can be understood as a response to the fourth message in step 411, and can be used to indicate that the configuration of data transmission on the multicast transmission channel of UE2 is complete. Accordingly, in step 416, the SMF receives the N4 message from the UPF.
  • step 417 the SMF sends an N11 message to the AMF.
  • the N11 message can be understood as a response to the third message in step 410, and can be used to indicate that the path switching is completed.
  • the AMF receives the N11 message from the SMF.
  • the N11 message may be an N smf interface PDU session update session management context response (N smf _PDUSession_UpdateSMContext Response) message.
  • the AMF may send an N2 message to the target access network device.
  • the N2 message may be understood as a response to the N2 message in step 408, and may be used to indicate that the path switching is completed.
  • the target access network device receives the N2 message from the AMF.
  • the N2 message may be a path switch response (path switch response) message.
  • step 418 may be a step executed in an Xn switching scenario. In the N2 handover scenario, this step 418 is not necessarily performed.
  • step 419 the target access network device sends a resource release request message to the source access network device to request to release the context of UE2.
  • the source access network device receives the resource release request message from the target access network device.
  • the context of UE2 may forward the resources of the tunnel, for example. Therefore, releasing the context of UE2 may include releasing the resources of the forwarding tunnel.
  • step 419 may be a step executed in an Xn switching scenario. In the N2 handover scenario, this step 419 is not necessarily performed.
  • UE2 completes the handover while receiving the multicast data.
  • the source access network device sends the information used to transmit multicast data to the target access network device, so that the target access network device forwards the multicast to UE2 based on the information.
  • the multicast data or the data with the same content as the multicast data is sent to the UE2, so that the loss of the data packet of the multicast data can be avoided, which is beneficial to obtain complete data. This ensures that the UE2 has no delay in handover during the reception of the multicast data, and at the same time ensures the data transmission performance.
  • the transmission channel is a PDU session, where the specific form of transmission channel 0 may be UE1's PDU session 1, and the specific form of transmission channel 2 may be UE2's PDU session 2.
  • both UE1 and UE2 are terminal devices that reside in the source cell.
  • both PDU session 1 and PDU session 2 are transmission channels established between the source access network device and the UPF.
  • the UPF can send multicast data to the source access network device through the PDU session 1 of the UE1.
  • the source access network device sends the received multicast data to the terminal devices in the multicast group corresponding to the multicast data in the source cell, for example, including the foregoing UE1 and UE2.
  • the sequence number of PDU session 1 and the sequence number of PDU session 2 can be synchronized. For example, when UPF updates the sequence number of PDU session 1, it can update the sequence number of PDU session 2 synchronously.
  • UE2 is handed over from the source access network device to the target access network device, or in other words, is handed over from the source cell to the target cell.
  • the source access network device can forward the multicast data packet received in PDU session 1 (for example, the above-mentioned second data packet) to the target access through the forwarding tunnel between the source access network device and the target access network device. ⁇ Net equipment.
  • the target access network device then sends the second data packet received from the forwarding tunnel to UE2.
  • the UPF can send End Marker packet 1 for multicast data in PDU session 2, and can send multicast data packets in PDU session 1 in parallel.
  • the source access network device receives the End Marker data packet 1 from the PDU session 2, it can send it to the target access network device together with the multicast data packet received from the PDU session 1.
  • the target access network device can continue to send the multicast data packet received from the source access network device to UE2 until the sequence number of the End Marker packet is less than the sequence number of the multicast data packet, and the target access The network device can stop receiving the data packet of the multicast data from the source access network device.
  • the transmission path of PDU session 2 has changed, and it is no longer a transmission channel established between the UPF and the source access network device. Instead, it establishes a transmission channel between the UPF and the target access network device.
  • the UPF may send a data packet of data #1 (for example, the above-mentioned first data packet) to the target access network device through the PDU session 2.
  • the forwarding tunnel between the source access network device and the target access network device has been released.
  • the target access network device sends the received data packet of data #1 to UE2.
  • the UE2 can still ensure complete reception of the multicast data while switching to the target access network device.
  • FIG. 6 is a schematic flowchart of a handover method 600 provided by another embodiment of the present application. As shown in FIG. 6, the method 600 may include step 601 to step 619. The steps in the method 600 are described in detail below.
  • step 601 each terminal device belonging to the same multicast group in the source cell receives the multicast data.
  • step 601 is the same as the specific process of step 401 in the above method 400, and for the sake of brevity, it will not be repeated here.
  • each terminal device can receive the above-mentioned multicast data through an existing transmission channel (such as a PDU session), or can create a transmission channel based on the transmission of the above-mentioned multicast data, and then based on the newly created transmission channel Receive the above-mentioned multicast data.
  • an existing transmission channel such as a PDU session
  • the method 600 further includes: each terminal device in the source cell creates a transmission channel.
  • the transmission channel is a transmission channel from the UPF to the source access network device for transmitting multicast data.
  • the transmission channel created by each terminal device can be used to transmit the data requested by each terminal device.
  • the transmission channel of UE2 can be used to transmit data requested by UE2.
  • the transmission channel may include, but is not limited to: PDU session, tunnel, QoS Flow, or other channels that can be used to transmit data, for example.
  • the terminal equipment in the source cell may include, but is not limited to, UE1 and UE2, for example.
  • Each terminal device can create its own transmission channel to transmit data.
  • UE1 can create transmission channel 1
  • UE2 can create transmission channel 2.
  • the specific process of each terminal device creating a transmission channel can refer to the prior art, and for the sake of brevity, it will not be described in detail here.
  • transmission channel 1 may be a unicast transmission channel or a multicast transmission channel.
  • transmission channel 2 can be a unicast transmission channel or a multicast transmission channel. This application does not limit this.
  • UPF can combine the data with the same content in transmission channel 1 and transmission channel 2, and send the data to UE1 and UE2 in the source cell through multicast.
  • data The UE1 and UE2 belong to the same multicast group.
  • UPF sends data to the multicast group through multicast.
  • the data corresponding to the multicast group may be referred to as multicast data.
  • the terminal devices receiving multicast data in the source cell include UE1 and UE2, but this should not constitute any limitation to this application.
  • the terminal devices that receive the multicast data may include a larger number of terminal devices, for example, may also include other terminal devices in the source cell and/or terminal devices in other cells. This application does not limit the number of terminal devices in the multicast group.
  • the multicast data can be transmitted through the transmission channel of either UE1 or UE2, or the multicast data can be transmitted through a dedicated network established by the network.
  • the multicast shared transmission channel used to transmit this multicast data is transmitted.
  • the transmission channel for transmitting the multicast data is transmission channel 0.
  • the transmission channel 0 may be, for example, the transmission channel 1 of the UE1, or may be the above-mentioned separately established multicast shared transmission channel.
  • the multicast data may be carried on a QoS Flow in a tunnel of a certain PDU session.
  • the PDU session may be, for example, a PDU session of UE1, or a dedicated multicast PDU session established for the multicast data separately. This application does not limit this.
  • the PDU session is a multicast dedicated PDU session; the PDU session may be a PDU session created based on multicast data; the above tunnel is a tunnel created based on multicast data, and the above QoS Flow may be dedicated to carrying multicast data QoS Flow.
  • the PDU session is a unicast PDU session;
  • the above-mentioned tunnel is a multicast dedicated tunnel.
  • the tunnel can be a multicast dedicated tunnel created based on multicast data;
  • the above QoS Flow can be a QoS Flow dedicated to carrying multicast data, or a QoS Flow used to carry unicast data, but it carries indication information.
  • the indication information is used to indicate that multicast data is carried in the QoS Flow.
  • the PDU session is a unicast PDU session; the aforementioned tunnel is a unicast tunnel, and the aforementioned QoS Flow is a QoS Flow dedicated to carrying multicast data.
  • the PDU session is a unicast PDU session;
  • the above-mentioned tunnel is a unicast tunnel, and the above-mentioned QoS Flow is a QoS Flow used to carry unicast data, but carries indication information, which is used to indicate the QoS Flow Carrying multicast data.
  • transmission channel 2 does not transmit the data requested by UE2 (for example, denoted as data #1), nor does it transmit multicast data. .
  • the transmission channel 2 can also transmit data other than data #1 and multicast data. Other data. This application does not limit this.
  • step 603 the source access network device determines that UE2 needs to handover according to the measurement report reported by UE2.
  • step 604 the source access network device sends a first message to the target access network device, where the first message is used to request the establishment of resources for UE2 to switch to the target access network device.
  • the target access network device receives the first message from the source access network device.
  • the first message carries information used to transmit multicast data.
  • the information used to transmit the multicast data may specifically include: the data identifier of the multicast data, the identifier of the multicast group, the identifier of the multicast session, the identifier of the multicast PDU session, the identifier of the multicast tunnel, and the multicast data.
  • the identification information, or QFI, etc. can be used to identify the multicast data (or in other words, the multicast group corresponding to the multicast data).
  • the information used to transmit the multicast data is described in detail, for the sake of brevity, it will not be repeated here.
  • step 605 the target access network device sends a second message to the source access network device, where the second message is used to indicate the resources established on the target access network device.
  • the source access network device receives the second message from the target access network device.
  • the resources established on the target access network device include resources established for UE2 to switch to the target access network device.
  • the relevant information about the UE2 accessing the target access network device includes access network tunnel information, and the access network tunnel information may be used to indicate the identifier of the forwarding tunnel used to forward the multicast data, or may be used to indicate transmission Layer address (transport layer address) and GTP tunnel endpoint identifier (GTP-tunnel endpoint identifier, GTP-TEID).
  • the forwarding tunnel can be used for the source access network device to forward multicast data to the target access network device.
  • step 606 UE2 switches from the source access network device to the target access network device.
  • step 607 the source access network device forwards the data packet of the multicast data to the target access network device through the forwarding tunnel.
  • the target access network device receives the data packet from the source access network device through the forwarding tunnel.
  • the source access network device can receive the multicast data from transmission channel 0. Therefore, the source access network device forwards the multicast data packet to the target access network device through the forwarding tunnel. That is, the data packet received through transmission channel 0. Similar to the method 400, the data packet of the multicast data received by the source access network device from transmission channel 0 can be recorded as the second data packet, and the target access network device receives the data packet from the source access network device through the forwarding tunnel. The data packet of the multicast data is also the second data packet.
  • the target access network device may send the second data packet received from the source access network device to UE2.
  • UE2 receives the second data packet from the target access network device.
  • step 609 the target access network device sends an N2 message to the AMF, and the N2 message is used to notify UE2 that the air interface handover has been completed.
  • the AMF receives the N2 message from the target access network device.
  • step 610 the AMF sends a third message to the SMF, and the third message is used to indicate the foregoing information for transmitting the multicast data.
  • the SMF receives the third message from the AMF.
  • the AMF may request the SMF to configure the transmission of data on the transmission channel 2 of the UE2 through the third message.
  • the transmission channel 2 can be used to transmit the data requested by UE2, that is, data #1.
  • the data #1 corresponds to the above-mentioned information used to transmit the multicast data, that is, it is data with the same content as the above-mentioned multicast data, so the third message can also be considered to request the SMF to configure the transmission of the multicast data.
  • the third message may be an N11 message.
  • step 602 to step 607 and step 609 to step 610 is the same as the specific process from step 402 to step 409 in the above method 400, and reference may be made to the relevant description of step 402 to step 409 above. For brevity, I won't repeat it here.
  • step 611 the SMF sends a fourth message to the UPF, which is used to configure the transmission of multicast data. Accordingly, in step 611, the UPF receives the fourth message from the SMF.
  • the fourth message may be an N4 message.
  • the fourth message may include one or more of the following: instructions for forwarding behavior of data #1, information for transmitting multicast data, identification rules, and forwarding behavior rules, And the related information of the end marker (End Marker) data packet.
  • the information used to transmit multicast data, and the specific content of the forwarding rule for data #1 please refer to the relevant description in step 410 in the method 400 above. For brevity, I won't repeat it here.
  • the End Marker data packet may include an End Marker data packet created for the multicast data transmitted in transmission channel 0, and may also include an End Marker data packet created for other data transmitted in transmission channel 2.
  • the End Marker data packet created for multicast data is marked as End Marker data packet 1
  • the End Marker data packet created for other data transmitted in the transmission channel 2 is marked as End Marker data packet 2. If the other data transmitted in the transmission channel 2 includes unicast data, the specific process of creating the End Marker data packet 2 for the unicast data in the transmission channel 2 is the prior art, and for the sake of brevity, it will not be described in detail here.
  • the specific process of creating End Marker data packet 2 for the multicast data in transmission channel 2 is the same as the specific process of creating End Marker data packet 1 for multicast data in this embodiment.
  • the process is the same, and can be implemented with reference to the process of this embodiment. It can be understood that when the other data transmitted in the transmission channel 2 includes both unicast data and multicast data, there may be multiple End Marker data packets 2 created for the other data transmitted in the transmission channel 2. This application does not limit this.
  • the related information of the End Marker data packet may specifically refer to the related information of the End Marker data packet 1.
  • the related information of the End Marker data packet 1 may include, for example, the End Marker data packet 1 carrying identification information of the transmission channel 2 or information indicating the creation of the End Marker data packet 1.
  • End Marker data packet 1 is transmitted on transmission channel 0 but carries the identification information of transmission channel 2 is:
  • the forwarding tunnels can be used to send data of different terminal devices, such as data of other terminal devices other than UE2. It can be used to send data transmitted by UE2 in other transmission channels.
  • Each forwarding tunnel may correspond to the transmission channel of each UE.
  • the End Marker data packet 1 can carry the transmission channel 2 Identification information, so that the source access network device determines the corresponding forwarding tunnel according to the identification information of the transmission channel 2.
  • the source access network device that receives the End Marker data packet 1 can be determined, and there is no need to continue to pass through the forwarding tunnel corresponding to the transmission channel 2.
  • the target access network device forwards the multicast data without affecting other terminal devices to receive the multicast data.
  • the target access network device may also determine to no longer receive multicast data from the forwarding tunnel based on the reception of the End Marker data packet 1.
  • the End Marker data packet 1 may be generated by SMF and sent to UPF, or generated by SMF instructed by UPF. This application does not limit this. If the SMF instructs the UPF to generate End Marker data packet 1, the SMF may send information indicating the creation of End Marker data packet 1 to the UPF. For example, the SMF may send the identification information of the transmission channel 2 to the UPF, so that the UPF can create an End Marker data packet 1 that carries the identification information of the transmission channel 2.
  • the SMF may further indicate on which transmission channel the UPF sends the End Marker data packet 1.
  • the SMF may instruct the UPF to send the End Marker data packet 1 in the transmission channel 0. Since the sequence of the multicast data packet and End Marker data packet arriving at the source access network device via transmission channel 0 is consistent with the sequence of UPF transmission, there will be no disorder or packet loss.
  • the source access network device may determine that after receiving the End Marker data packet 1, it no longer forwards the multicast data to the target access network device through the forwarding tunnel.
  • step 612 the UPF sends a second End Marker data packet to the source access network device.
  • the source access network device receives the second End Marker data packet from the UPF.
  • step 613 the source access network device sends the first End Marker data packet to the target access network device.
  • the target access network device receives the first End Marker data packet from the source access network device.
  • UPF can send End Marker data packet 1 for multicast data in transmission channel 0, and can also send End Marker data packet 2 for other data in transmission channel 2. It should be understood that End Marker data packet 1 and End Marker data packet 2 are not necessarily sent at the same time, and this application does not limit the sending order of End Marker data packet 1 and End Marker data packet 2.
  • the source access network device may send the first End Marker data packet to the target access network device through the forwarding tunnel. Similar to the embodiment shown in method 400, the first End Marker data packet sent by the source access network device to the target access network device may be the second End Marker data packet for multicast data received from the UPF; or It is based on the second End Marker data packet for multicast data received from the UPF (that is, the End Marker data packet 1 above) and the End Marker data packet for unicast data (that is, the End Marker data packet 2 above), and End Marker packet 2 for unicast data sent. That is, the first End Marker data packet and the second End Marker data packet may be the same End Marker data packet, or may be different End Marker data packets. This application does not limit this.
  • UPF sends End Marker packet 1 for multicast data in transmission channel 0 (such as PDU session 0), and can also send End Marker packets for other data in transmission channel 2 (such as PDU session 2). Marker data package 2.
  • the source access network device can directly forward the received End Marker data packet 1 and End Marker data packet 2 to the target access network device. After the target access network device receives End Marker data packet 1 and End Marker data packet 2, it can determine that it will no longer receive data from the forwarding tunnel.
  • the UPF can send End Marker packet 1 for multicast data in transmission channel 0 (such as a multicast dedicated QoS Flow in PDU session 0), or in transmission channel 2 (such as PDU A unicast QoS Flow in session 2 sends an End Marker packet 2 for other data (such as unicast data transmitted in a unicast QoS Flow).
  • the source access network device can send End Marker data packet 2 in the unicast QoS Flow to the target base station after receiving End Marker data packet 1 and End Marker data packet 2 instead of sending End in the multicast dedicated QoS Flow Marker data packet 1. After the target access network device receives the End Marker data packet 2, it can determine that it will no longer receive data from the forwarding tunnel.
  • the source access network device forwards End Marker data packet 2, it needs to ensure that the data packets transmitted through multicast dedicated QoS Flow and unicast QoS Flow no longer need to be forwarded by the source access network device, such as when receiving Send after End Marker packet 1 and End Marker packet 2 from UPF.
  • the source access network device does not send End Marker packets for multicast data, that is, End Marker packet 1, to the target access network devices, but only sends End Marker packets for unicast data. , That is, End Marker packet 2. Therefore, the target access network device can refer to the method in the prior art to process the End Marker data packet.
  • the target access network device after the target access network device receives the first End Marker data packet, it can release the forwarding tunnel with the source access network device, or, after sending the resource release request message in the subsequent step 619, Release the forwarding tunnel with the source access network device.
  • This application does not limit this.
  • the target access network device may stop receiving the second data packet from the source access network device after receiving the first End Marker data packet.
  • step 614 the UPF sends a data packet of data #1 to the target access network device.
  • the target access network device receives the data packet from the UPF.
  • UPF After UPF sends End Marker data packet 1 to the target access network device, it can determine that the target access network device no longer needs to receive multicast data packets from the forwarding tunnel. The UPF can then send the data packet of data #1 through the downlink user connection with the target access network device. Similar to the method 400, the data packet of data #1 can be recorded as the first data packet. Due to the handover of UE2, the transmission path of transmission channel 2 has changed. The UPF can send the first data packet to the target access network device through the transmission channel 2. At the same time, other data originally transmitted through the transmission channel 2 can also continue to be sent to the target access network device.
  • step 615 the target access network device sends the first data packet to UE2.
  • the target access network device After receiving the End Marker data packet 1, the target access network device can send the first data packet received from the transmission channel 2 to the UE2.
  • the UPF sends an N4 message to the SMF.
  • the N4 message can be understood as a response to the fourth message in step 611, and can be used to indicate that the configuration of UE2's multicast data transmission is completed. Accordingly, in step 616, the SMF receives the N4 message from the UPF.
  • step 617 the SMF sends an N11 message to the AMF.
  • the N11 message can be understood as a response to the third message in step 410, and can be used to indicate that the path switching is completed.
  • the AMF receives the N11 message from the SMF.
  • the N11 message may be an N smf interface PDU session update session management context response (N smf _PDUSession_UpdateSMContext Response) message.
  • the AMF may send an N2 message to the target access network device in step 618, and the N2 message may be understood as a response to the N2 message in step 609, and may be used to indicate that the path switching is completed.
  • the target access network device may receive the N2 message from the AMF in step 618.
  • step 618 may be a step executed in an Xn switching scenario. In the N2 handover scenario, this step 618 is not necessarily performed.
  • the N2 message may be a path switch response (path switch response) message.
  • step 619 the target access network device sends a resource release request message to the source access network device to request to release the context of UE2.
  • the source access network device receives a resource release request message from the target access network device.
  • the context of UE2 may forward the resources of the tunnel, for example. Therefore, releasing the context of UE2 may include releasing the resources of the forwarding tunnel.
  • step 619 may be a step executed in an Xn switching scenario. In the N2 handover scenario, this step 619 is not necessarily performed.
  • UE2 completes the handover while receiving the multicast data.
  • the source access network device sends the information used to transmit multicast data to the target access network device, so that the target access network device forwards the multicast to UE2 based on the information.
  • Data and send data #1 with the same content to UE2 after the path switch, so as to avoid the loss of data packets of the multicast data, which is conducive to obtaining complete data. This ensures that the UE2 has no delay in handover during the reception of the multicast data, and at the same time ensures the data transmission performance.
  • the transmission channel is a PDU session, where the specific form of transmission channel 0 may be PDU session 1 of UE1, and the specific form of transmission channel 2 may be PDU session 2 of UE2.
  • both UE1 and UE2 are terminal devices that reside in the source cell.
  • both PDU session 1 and PDU session 2 are transmission channels established between the source access network device and the UPF.
  • the UPF can send multicast data to the source access network device through the PDU session 1 of the UE1.
  • the source access network device may send the received multicast data to the terminal devices in the multicast group corresponding to the multicast data in the source cell, for example, including the foregoing UE1 and UE2.
  • UE2 is handed over from the source access network device to the target access network device, or in other words, is handed over from the source cell to the target cell.
  • the source access network device can forward the multicast data packet received in PDU session 1 (for example, the above-mentioned second data packet) to the target access through the forwarding tunnel between the source access network device and the target access network device. ⁇ Net equipment.
  • the target access network device may then send the second data packet received from the forwarding tunnel to UE2.
  • the UPF can send End Marker data packet 1 for multicast data in PDU session 1, and can also send End Marker data packet 2 for other data in PDU session 2.
  • the source access network device may forward the foregoing End Marker data packet 1 and End Marker data packet 2 to the target access network device through the forwarding tunnel.
  • End Marker data packet 1 and End Marker data packet 2 are not necessarily sent at the same time, and this application does not limit the sending order of End Marker data packet 1 and End Marker data packet 2.
  • the transmission path of PDU session 2 has changed, and it is no longer a transmission channel established between the UPF and the source access network device. Instead, it establishes a transmission channel between the UPF and the target access network device.
  • the UPF may send data packets of data #1 (for example, the above-mentioned first data packet) and other data packets to the target access network device through the PDU session 2.
  • the target access network device sends the received data packet of data #1 and other data packets to UE2.
  • the UE2 can still ensure complete reception of the multicast data while switching to the target access network device.
  • FIG. 8 is a schematic flowchart of a handover method 800 provided by another embodiment of the present application. As shown in FIG. 8, the method 800 may include step 801 to step 811. The steps in the method 800 are described in detail below.
  • step 801 the UPF sends multicast data to the source access network device and the target access network device.
  • the source access network device and the target access network device respectively receive the multicast data from the UPF.
  • the application server may send the requested data to the UPF based on the data request from the UE in the source cell.
  • UPF can send data to the source access network device through IP multicast (IP multicast) or through a multicast transmission channel. This data is multicast data.
  • the terminal equipment in the target cell can also request multicast data.
  • UPF can also send multicast data to the target access network device through IP multicast or a multicast transmission channel.
  • the data packet of the multicast data received by the target access network device from the UPF but not forwarded by the source access network device is recorded as the first data packet.
  • UPF sends multicast data through IP multicast.
  • the source host can send data to multiple target hosts. These multiple target hosts can be called a multicast group.
  • the destination host in the multicast group requests data
  • the source host only needs to send a copy of the data and set the destination address of the data to the address of the multicast group. In this way, all members belonging to the multicast group can receive a copy of the data sent by the source host.
  • one solution is that if the UPF wants to send multicast data to the source access network device through IP multicast, the destination address of the multicast data can be set as the address of the source access network device. If UPF wants to send multicast data to other devices through IP multicast, it can also set the destination address of the multicast data to the address of other devices. Or another solution is that if UPF wants to send multicast data to the source access network device through IP multicast, the destination address of the multicast data can be set as the IP multicast address corresponding to the multicast data. If UPF wants to send multicast data to other devices through IP multicast, it can also set the destination address of the multicast data to the IP multicast address corresponding to the multicast data.
  • the destination address of the multicast data can be multiple. Multicast data can reach different devices via different paths. For example, the path for multicast data to reach the source access network device after being forwarded by one or more routers after being sent from the UPF can be recorded as path 1. The path for multicast data to reach the target access network device after being forwarded by one or more routers after being sent from the UPF can be marked as path 2. This application does not limit the destination address for UPF to send multicast data. When the UPF sends multicast data to the source access network device, it can also send the multicast data to other devices.
  • UPF Since UPF only needs to send one piece of data, the data can reach multiple devices. Therefore, the data packets sent by UPF can be considered as naturally synchronized. It is just that the paths sent to different access network devices have undergone forwarding by different routers, and the arrival time may be inconsistent. However, it can be understood that as long as a certain data packet is sent by the UPF, the data packet will reach the access network device if there is no abnormality in the transmission path.
  • UPF sends multicast data through a multicast transmission channel.
  • the multicast data can reach the source access network device via the multicast transmission channel between the UPF and the source access network device.
  • the multicast transmission channel may include, but is not limited to, a multicast dedicated PDU session, a multicast dedicated tunnel, a multicast dedicated QoS Flow, a unicast QoS Flow that carries indication information for the transmission of multicast data, or other available options.
  • a channel dedicated to the transmission of multicast data may include, but is not limited to, a multicast dedicated PDU session, a multicast dedicated tunnel, a multicast dedicated QoS Flow, a unicast QoS Flow that carries indication information for the transmission of multicast data, or other available options.
  • the UPF when the UPF sends data to different access network devices through different multicast transmission channels, it can also be asynchronous (for example, for different access network devices, at a certain moment, the data sent out The serial number of the data is different), but UPF will maintain the serial number of the data packet from the UPF to each access network device, that is, the serial number of the data packet in each multicast transmission channel. In this way, the UPF can dynamically adjust the data transmission rate according to the path status.
  • sequence numbers of the multicast data carried by different multicast transmission channels are the same, the content of the payload part of the data packets carried in the different multicast transmission channels may be the same.
  • step 802 the source access network device sends the multicast data to each UE in the multicast group.
  • each UE in the multicast group receives multicast data.
  • step 803 the source access network device determines that UE2 needs to handover according to the measurement report reported by UE2.
  • step 804 the source access network device sends a first message to the target access network device, and the first message is used to request the establishment of resources for UE2 to be handed over to the target access network device.
  • the target access network device receives the first message from the source access network device.
  • the first message carries information used to transmit multicast data.
  • step 805 the target access network device sends a second message to the source access network device, where the second message is used to indicate the resources established on the target access network device.
  • the source access network device receives the second message from the target access network device.
  • the resources established on the target access network device may include resources established for UE2 to switch to the target access network device.
  • the second message carries access network tunnel information, and the access network tunnel information may be used to indicate an identifier of a forwarding tunnel used for forwarding multicast data.
  • the forwarding tunnel can be used for the source access network device to forward multicast data to the target access network device.
  • the forwarding tunnel may be a forwarding tunnel created for a multicast transmission channel, or the forwarding tunnel may be used to transmit data on the multicast transmission channel.
  • step 806 UE2 switches from the source access network device to the target access network device.
  • step 807 the source access network device forwards the data packet received in path 1 to the target access network device through the forwarding tunnel.
  • the target access network device receives the data packet from the source access network device through the forwarding tunnel.
  • the data packet from the source access network device received by the target access network device through the forwarding tunnel is, for example, recorded as the second data packet.
  • the second data packet is also the data packet of the aforementioned multicast data.
  • the target access network device may be able to receive multicast data packets from the source access network device and the UPF respectively in a certain period of time.
  • the data packet of the multicast data received from the source access network device is the second data packet transmitted through path 1
  • the data packet of the multicast data received from the UPF is the first data packet transmitted through path 2.
  • path 1 may include one or more routers between the UPF and the source access network device, and may also refer to the multicast transmission channel between the UPF and the source access network device.
  • path 2 can include one or more routers between the UPF and the target access network device, or it can refer to the multicast transmission channel between the UPF and the target access network device. This application does not limit this.
  • step 809 the target access network device sends a data packet to UE2.
  • the paths experienced in Path 1 and Path 2 are different.
  • the routers may be different, and the number may also be different; for another example, the transmission channels are different. This may result in different transmission rates of data packets in path 1 and path 2.
  • the target access network device may temporarily cache the data packet received on path 2 locally. Determine which data packet to forward to UE2 according to the size relationship of the sequence numbers of the data packets received from the two paths.
  • the sequence number (for example, the first sequence number) of the second data packet received from the source access network device is less than the sequence number (for example, the third sequence number) of the first data packet received from path 2
  • the sequence number for example, the third sequence number
  • the transmission rate of the data packet of path 2 is faster.
  • the data packet corresponding to the sequence number between the first sequence number and the third sequence number is not received. If the forwarding tunnel is released at this time, the target access network device will lose some data packets. Therefore, when the first sequence number is less than the third sequence number, the target access network device can continue to forward the second data packet from the source access network device.
  • the target access network device can forward the first data packet from path 2, instead of receiving the second data packet from the source access network device through the forwarding tunnel. data pack.
  • step 810 the source access network device stops forwarding the data packet to the target access network device.
  • the source access network device can stop forwarding data packets to the target access network device based on a variety of different conditions.
  • the target access network device sends a resource release request message to the source access network device to request to release the context of UE2 when it is determined that the sequence number of path 1 is greater than or equal to the sequence number of path 2.
  • the source access network device may stop forwarding the data packet to the target access network device based on the received resource release request message.
  • the target access network device may directly send the resource release request message to the source access network device, and may send the resource release request message to the source access network device through the forwarding of the core network device. This depends on whether the target access network device and the source access network device support Xn interface communication. For example, if the target access network device and the source access network device support Xn interface communication, the target access network device may directly send a resource release request message to the source access network device, and the resource release request message is an Xn interface message .
  • the target access network device can send a resource release request message to the source access network device via the core network element, such as AMF, and the resource
  • the release request message is an N2 message.
  • the core network device can determine by itself whether to release the context resource of UE2. For example, the AMF can send a resource release request message to the source access network device by itself. The source access network device may stop forwarding data packets to the target access network device based on the resource release request message, and release the context of UE2.
  • the source access network device may determine whether to release the context of UE2 based on the length of the local timer. For example, the source access network device may automatically release the context of UE2 after the local timer expires (or expires). The source access network device also stops forwarding data packets to the target access network device.
  • the core network device may determine whether to release the context of UE2 based on the length of the timer. For example, the AMF may send a resource release request message to the source access network device after the time counted by the local timer reaches a preset threshold to instruct the source access network device to release the context of UE2. The source access network device may stop forwarding data packets to the target access network device based on the resource release request message, and release the context of UE2.
  • the aforementioned resource release request message carries handover completion information.
  • the source access network device can determine that the context of UE2 can be released based on the handover completion information.
  • the source access network device may stop forwarding data packets to the target access network device based on the handover completion information, and release the context of UE2.
  • the method 800 further includes step 811 in which the source access network device releases the context of UE2.
  • releasing the context of UE2 may include releasing the resources of the forwarding tunnel between the source access network device and the target access network device.
  • UE2 realizes cell handover while receiving multicast data. While requesting handover from the target access network device, the source access network device sends information for transmitting multicast data to the target access network device, so that the target access network device forwards the multicast data to UE2 based on the information , And send data #1 with the same content to UE2 after the path switch, so as to avoid the loss of multicast data packets, which is beneficial to obtain complete data. This ensures that the UE2 has no delay in handover during the reception of the multicast data, and at the same time ensures the data transmission performance.
  • UPF sends multicast data through IP multicast.
  • both UE1 and UE2 are terminal devices that reside in the source cell.
  • the multicast data can reach the source access network device via the forwarding of one or more routers between the UPF and the source access network device. That is, the UPF can send multicast data to the source access network device through path 1.
  • the source access network device may send the received multicast data to the terminal devices in the multicast group corresponding to the multicast data in the source cell, for example, including the foregoing UE1 and UE2.
  • UE2 is handed over from the source access network device to the target access network device, or in other words, is handed over from the source cell to the target cell.
  • the source access network device may forward the second data packet received in path 1 to the target access network device through the forwarding tunnel between the source access network device and the target access network device.
  • the multicast data can be forwarded to the target access network device via one or more routers between the UPF and the target access network device. That is, the UPF can send the multicast data to the target access network device through path 2.
  • the target access network device may receive the first data packet through path 2.
  • the target access network device can receive it from the forwarding tunnel
  • the data packet is sent to UE2, and the data packet received from path 2 can be temporarily buffered locally.
  • sequence number of the second data packet received by the target access network device from path 2 is less than or equal to the sequence number of the first data packet received from the forwarding tunnel, it can stop receiving the second data packet from the forwarding tunnel.
  • the target access network device can send the first data packet buffered locally to UE2, and can continue to receive subsequent data packets through path 2, and forward the received data packets to UE2.
  • the UE2 can still ensure complete reception of the multicast data while switching to the target access network device. Based on the method described above, UE2 completes the handover while receiving the multicast data. While requesting handover from the target access network device, the source access network device sends the information used to transmit multicast data to the target access network device, so that the target access network device forwards the multicast to UE2 based on the information. Data, and send data #1 with the same content to UE2 after the path switch, so as to avoid the loss of data packets of the multicast data, which is conducive to obtaining complete data. This ensures that the UE2 has no delay in handover during the reception of the multicast data, and at the same time ensures the data transmission performance.
  • FIG. 10 is a schematic flowchart of a handover method 1000 provided by an embodiment of the present application. As shown in FIG. 10, the method 1000 may include steps 1001 to 1012. The steps in the method 400 are described in detail below.
  • step 1001 each terminal device belonging to the same multicast group in the source cell receives the multicast data.
  • step 601 is the same as the specific process of step 401 in the above method 400, and for the sake of brevity, it will not be repeated here.
  • each terminal device can receive the above-mentioned multicast data through an existing transmission channel (such as a PDU session), or can create a transmission channel based on the transmission of the above-mentioned multicast data, and then based on the newly created transmission channel Receive the above-mentioned multicast data.
  • an existing transmission channel such as a PDU session
  • the method further includes, in step 1002, each UE in the source cell creates its own transmission channel.
  • the terminal equipment in the source cell may include, but is not limited to, UE1 and UE2, for example.
  • Each terminal device can create its own transmission channel to transmit data.
  • UE1 can create transmission channel 1
  • UE2 can create transmission channel 2.
  • the specific process for each UE to create a transmission channel can refer to the prior art. For brevity, it will not be described in detail here.
  • transmission channel 1 may be a unicast transmission channel or a multicast transmission channel.
  • transmission channel 2 can be a unicast transmission channel or a multicast transmission channel. This application does not limit this.
  • UPF can combine the data with the same content in transmission channel 1 and transmission channel 2, and send the data to UE1 and UE2 in the source cell through multicast.
  • data The UE1 and UE2 constitute a multicast group.
  • UPF sends data to the multicast group through multicast.
  • the data corresponding to the multicast group may be referred to as multicast data.
  • the multicast data can be transmitted through the transmission channel of either UE1 or UE2, or the multicast data can be transmitted through a dedicated network established by the network.
  • the multicast shared transmission channel used to transmit this multicast data is sent for transmission. This application does not limit this.
  • the transmission channel for transmitting multicast data is transmission channel 0.
  • the transmission channel 0 may be, for example, the transmission channel 1 of the UE1, or may be the above-mentioned separately established multicast shared transmission channel.
  • step 1002 For the specific content of step 1002, reference may be made to the detailed description of step 602 in the above method 600. For brevity, it will not be repeated here.
  • step 1003 the source access network device determines that UE2 needs to handover according to the measurement report reported by UE2.
  • step 1004 the source access network device sends an N2 message to the AMF.
  • the N2 message is used to notify the AMF that UE2 will switch to the target access network device.
  • the AMF receives the N2 message from the source access network device.
  • the N2 message includes a list of transmission channels (such as PDU sessions, etc.) established in the target access network device and list information of QoS flows successfully established in the corresponding session.
  • a list of transmission channels such as PDU sessions, etc.
  • the N2 message may also carry a handover indication.
  • the handover indication is used to instruct UE2 to handover from the source access network device to the target access network device.
  • the handover indication is not only used to instruct UE2 to switch from the source access network device to the target access network device, but also to instruct UE2 to switch from receiving multicast data to receiving unicast data.
  • the multicast data received by UE2 in the source cell is multicast data
  • the data received after switching to receiving unicast data is data #1.
  • the data #1 is the same data as the content of the multicast data.
  • the data #1 is the data requested by UE2, but it is filtered because of the transmission of multicast data with the same content in the source cell.
  • the source access network device may determine that it no longer sends multicast data to UE2, but sends data #1.
  • the N2 message is an N2 interface PDU Session Request (N2 PDU Session Request) message.
  • step 1005 the AMF sends a third message to the SMF.
  • the third message is used to indicate the foregoing information for transmitting multicast data, and the third message carries a handover instruction.
  • the SMF receives the third message from the AMF.
  • the AMF may request the SMF to configure the transmission of data on the transmission channel of UE2 through the third message.
  • This transmission channel can be used to transmit the data requested by UE2, namely data #1.
  • the data #1 corresponds to the above-mentioned information used to transmit the multicast data, that is, it is data with the same content as the above-mentioned multicast data, so the third message can also be considered to request the SMF to configure the transmission of the multicast data.
  • the third message may be an N11 message.
  • the handover indication may be used to indicate that the UE2 will handover from the source cell to the target access network device.
  • the SMF can determine that UE2's data #1 is no longer filtered according to the handover instruction.
  • SMF can also determine that UE2 is switched from receiving multicast data to receiving unicast data.
  • the handover indication is not only used to instruct UE2 to switch from the source access network device to the target access network device, but also to instruct UE2 to switch from receiving multicast data to receiving unicast data.
  • the SMF can further determine which transmission channel the data #1 is mapped to according to the information used to transmit the multicast data. Since SMF has pre-stored the mapping relationship between the multicast data and the transmission channel, after receiving the N11 message, the transmission channel of data #1 can be determined according to the information used to transmit the multicast data, and it can also be determined to map data #1 On which transmission channel. As mentioned earlier, data #1 was originally intended to be transmitted through PDU session 2, but was not transmitted due to being filtered. However, based on this, SMF can pre-store the corresponding relationship between multicast data and PDU session 2. Therefore, after SMF determines that data #1 is no longer filtered, it can determine that data #1 is mapped to PDU session 2 for transmission.
  • SMF can also be uncertain or not indicate to UPF which transmission channel to map data #1 to, and send the above-mentioned mapping relationship between multicast data and transmission channel to UPF, and UPF will determine which transmission channel to map data #1 to. superior.
  • the third message is an N smf interface PDU session update session management context request (N smf _PDUSession_UpdateSMContext Request) message.
  • step 1006 the SMF sends a fourth message to the UPF, which is used to request to modify the N4 session. Accordingly, in step 1006, the UPF receives the fourth message from the SMF.
  • the fourth message is used to request that UE2 be switched from receiving multicast data to receiving data #1.
  • This can be achieved by the configuration of UPF.
  • the UPF may not filter the data #1, but map it to the transmission channel indicated by the SMF for transmission.
  • the fourth message may be an N4 message.
  • the fourth message is an N4 Session Modification Request (N4 Session Modification Request) message.
  • step 1007 the UPF sends an N4 message to the SMF.
  • the N4 message is used to indicate that the modification of the N4 session has been completed.
  • the SMF receives the N4 message from the UPF.
  • the N4 message can be understood as a response to the third message in step 1006, and can be used to notify the SMF that the modification of the N4 session has been completed. More specifically, the N4 message can be used to notify SMF that UE2 has switched from receiving multicast data to receiving unicast data.
  • the N4 message is an N4 Session Modification Response (N4 Session Modification Response) message.
  • step 1008 SMF sends a N11 message to AMF.
  • the AMF receives the N11 message from the SMF.
  • step 1009 the AMF sends an N2 message to the source access network device.
  • the source access network device receives the N2 message from the AMF.
  • the N11 message can be understood as a response to the third message in step 1005, and can be used to notify SMF that UE2 has switched from receiving multicast data to receiving unicast data.
  • the AMF may further send an N2 message to the source access network device to notify the source access network device that the core network has switched UE2 from receiving multicast data to receiving unicast data. Based on this, the source access network device can determine that it no longer sends multicast data to UE2, but sends unicast data.
  • the N11 message is an N smf interface PDU session update session management context response (N smf _PDUSession_UpdateSMContext Response) message.
  • the N2 message is a PDU Session Response (PDU Session Response) message.
  • PDU Session Response PDU Session Response
  • the source access network device sends an RRC reconfiguration message to UE2, where the RRC reconfiguration message is used to indicate that UE2 no longer receives multicast data.
  • UE2 receives the RRC reconfiguration message from the source access network device.
  • UPF no longer filters data #1 based on the fourth message from SMF received in step 1006.
  • step 1011 the UPF sends data #1 to the source access network device through the PDU session 2.
  • the source access network device receives data #1 from the UPF through the PDU session 2.
  • UPF can map data #1 to PDU session 2 for transmission according to the instructions of SMF.
  • the UPF may also determine which transmission channel to map data #1 to based on the mapping relationship between the multicast data sent by the SMF and the transmission channel.
  • the specific determination process is the same as that of the SMF determination, and for the sake of brevity, it will not be repeated here.
  • the source access network device can receive the data #1 in PDU session 2, but may not have received the notification of UPF sending unicast data to UE2. Therefore, it is still unknown that the data sent to UE2 has been switched from multicast data (ie, multicast data) to unicast data (ie, data #1), so the source access network device still sends multicast data to UE2.
  • multicast data ie, multicast data
  • unicast data ie, data #1
  • step 1012 the source access network device sends data #1 to UE2.
  • step 1012 UE2 receives data #1 from the source access network device.
  • the source access network device may determine based on the N2 message received in step 1010 to no longer send multicast data to UE2, but to send unicast data. Therefore, the source access network device can send an RRC reconfiguration message to UE2.
  • the RRC reconfiguration message can be used to instruct UE2 to no longer use G-RNTI to receive multicast data, but to use the C-RNTI pre-configured for UE2 to receive multicast data.
  • UPF can still continue to send multicast data to the source access network device, and the source access network device can also continue to send multicast data to the multicast group corresponding to the multicast data in the source cell.
  • the source access network device can also continue to send multicast data to the multicast group corresponding to the multicast data in the source cell.
  • UEs including UE1, for example
  • send multicast data in addition to UE2 to be handed over, other UEs in the source cell belonging to the multicast group can still receive multicast data.
  • UE2 switches from receiving multicast data to receiving unicast data. After that, UE2 can perform handover from the source access network device to the target access network device according to the method in the prior art.
  • step 1004 to step 1012 may be executed after step 1003.
  • step 1003 For ease of understanding and description, the following further describes the timing of performing step 1004 to step 1012 in conjunction with the handover process in the prior art.
  • this article is only shown for the convenience of explaining the order of execution of the above steps 1004 to 1012, so only the steps and steps are shown in the process below. Part of the processes related to steps 1004 to 1012, but the complete switching process is not shown.
  • the steps shown in the figure are only part of the steps in the switching process, and should not constitute any limitation to this application.
  • For the specific process of handover please refer to related descriptions in 3GPP protocols TS23.502, TS38.300, etc., which will not be repeated here.
  • Figure 11 shows a partial flow of Xn handover.
  • the AMF provides mobility control information to each access network device (for example, including the source access network device and the target access network device).
  • step 1101 the UE in the source cell (for example, the UE2 described above) performs measurement control and reporting.
  • UE2 can report the measurement report to the source access network device.
  • step 1102 the source access network device determines that UE2 needs to switch to the target access network device according to the measurement report.
  • step 1101 and step 1102 may correspond to step 1003 in method 1000 above.
  • step 1103 the source access network device sends a handover request (handover request) message to the target access network device.
  • the target access network device determines that UE2 is allowed to switch to the cell, and in step 1105 sends a handover request acknowledgement (handover request acknowledge) message to the source access network device.
  • the handover request confirmation message carries the container information sent to UE2.
  • the container information includes, for example, the target cell identity, the C-RNTI allocated to the UE2 by the target access network device, and security identification information.
  • step 1106 the source access network device initiates a handover to UE2, and sends the container information to UE2.
  • UE2 can perform a handover procedure from the source access network device to the target access network device.
  • steps 1004 to 1012 can be executed between step 1102 and step 1103, or between step 1105 and step 1106, for example. This application does not limit this.
  • Figure 12 and Figure 13 show part of the N2 handover process. Among them, the flow shown in FIG. 12 is a partial flow of the preparation phase of the N2 handover; the flow shown in FIG. 13 is a partial flow of the execution phase of the N2 handover.
  • step 1201 the source access network device determines that UE2 needs to perform N2 handover.
  • the source access network device may determine, for example, to switch UE2 to the target access network device according to the measurement report reported by UE2. Since the communication of the Xn interface is not supported between the target access network device and the source access network device, the handover is N2 handover. Thus, the source access network device can trigger the N2 handover of UE2.
  • step 1202 the source access network device sends a handover required (Handover Required) message to the source AMF.
  • the handover request message may include the identification information of the target access network device, the identification information of the PDU session that needs to be switched, and the container information to be sent to the target access network device.
  • the source AMF determines the target AMF according to the identification information of the target access network device.
  • the source AMF can determine whether it can continue to provide services for the UE2 according to the identification information of the target access network device. If the service cannot be continued, the source AMF can select a new AMF (that is, the target AMF) to provide service for UE2.
  • the foregoing steps 1004 to 1012 may be performed before step 1202, for example.
  • step 1301 the source AMF sends a handover command (Handover Command) to the source access network device.
  • a handover command Handover Command
  • the handover command carries handover information, such as the identification information of the PDU session of the UE that needs to be handed over, the identification information of the target access network device, the identification of the target cell, etc. This application does not limit this.
  • step 1302 the source access network device forwards the handover command to the UE (such as UE2) that needs to be handed over.
  • step 1303 the source access network device forwards the data to be sent to the UE2 to the target access network device, so as to forward the data to the UE2 through the target access network device.
  • step 1304 UE2 synchronizes with the target cell.
  • step 1305 UE2 sends a handover confirmation (Handover Confirm) message to the source access network device.
  • step 1306 the target access network device sends the data received from the source access network device to UE2.
  • step 1302 If the execution process of the UE2 in the N2 handover is changed from receiving multicast data to receiving unicast data, the foregoing steps 1004 to 1012 may be executed before step 1302, for example.
  • step 1004 does not involve the execution sequence of step 1004 to step 1012, and the switching process is in the prior art, for the sake of brevity, it will not be described in detail here.
  • UE2 when UE2 needs to switch, it can switch from receiving multicast data to receiving unicast data first, and then can implement cell switching based on the existing switching process.
  • the loss of data packets of the multicast data can be avoided, which is beneficial to obtaining complete data. This ensures that UE2 realizes a delay-free handover in the scenario of multicast data, and at the same time ensures data transmission performance.
  • the data received by UE2 after switching to the target access network device is unicast data. But this does not indicate that UE2 will always receive unicast data in the target cell. If there is also multicast data transmission in the target cell, UE2 can also switch from receiving unicast data to receiving multicast data again.
  • the specific process of the UE2 switching from receiving unicast data to receiving multicast data is similar to the specific process of switching from receiving multicast data to receiving unicast data. For the sake of brevity, it will not be described in detail here.
  • each network element may execute part or all of the steps in each embodiment. These steps or operations are only examples, and the embodiments of the present application may also perform other operations or variations of various operations.
  • each step may be performed in a different order presented in each embodiment, and it may not be necessary to perform all operations in the embodiments of the present application.
  • the size of the sequence number of each step does not mean the order of execution.
  • the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
  • FIG. 14 is a schematic block diagram of a communication device provided by an embodiment of the present application.
  • the communication device 1400 may include a processing unit 1410 and a transceiving unit 1420.
  • the communication device 1400 may correspond to the target access network device in the above method embodiment, for example, it may be the target access network device, or a component configured in the target access network device (such as circuits, chips or chip systems, etc.).
  • the communication device 1400 may correspond to the target access network device in the method 400, the method 600, the method 800, and the method 1000 according to the embodiments of the present application, and the communication device 1400 may include a method for executing the method 400 in FIG. , The method 600 in FIG. 6, the method 800 in FIG. 8, and the method 1000 in FIG. 10 in the method executed by the target access network device.
  • the units in the communication device 1400 and the other operations and/or functions described above are used to implement the method 400 in FIG. 4, the method 600 in FIG. 6, the method 800 in FIG. 8, and the method 1000 in FIG. 10, respectively. Process.
  • the communication device 1400 may correspond to the source access network device in the above method embodiment, for example, it may be the source access network device, or a component configured in the source access network device (Such as circuits, chips, or chip systems, etc.).
  • the communication device 1400 may correspond to the source access network device in the method 400, the method 600, the method 800, and the method 1000 according to the embodiments of the present application, and the communication device 1400 may include a method for executing the method 400 in FIG. 4 ,
  • the method 600 in FIG. 6, the method 800 in FIG. 8, and the method 1000 in FIG. 10 are units of the method executed by the source access network device.
  • the units in the communication device 1400 and the other operations and/or functions described above are used to implement the method 400 in FIG. 4, the method 600 in FIG. 6, the method 800 in FIG. 8, and the method 1000 in FIG. 10, respectively. Process.
  • the transceiver unit 1420 in the communication device 1400 may be implemented by a transceiver, for example, may correspond to the communication device shown in FIG. 15
  • the processing unit 1410 in the communication device 1400 may be implemented by at least one processor, for example, may correspond to the processor 1510 in the communication device 1500 shown in FIG. 15 or the BBU 1620 in the base station 1600 shown in FIG. 16.
  • the transceiver unit 1420 in the communication device 1400 may be implemented through an input/output interface.
  • the processing unit 1410 in the device 1400 may be implemented by a processor, a microprocessor, or an integrated circuit integrated on the chip or chip system.
  • the communication device 1400 may correspond to the SMF in the above method embodiment, for example, it may be an SMF, or a component (such as a circuit, a chip, or a chip system, etc.) configured in the SMF.
  • the communication device 1400 may correspond to the SMF in the method 400, the method 600, the method 800, and the method 1000 according to the embodiments of the present application, and the communication device 1400 may include a method for executing the method 400 in FIG. The method 600 in FIG. 8, the method 800 in FIG. 8, and the method performed by the SMF in the method 1000 in FIG. 10.
  • the units in the communication device 1400 and the other operations and/or functions described above are used to implement the method 400 in FIG. 4, the method 600 in FIG. 6, the method 800 in FIG. 8, and the method 1000 in FIG. 10, respectively. Process.
  • the transceiver unit 1420 in the communication device 1400 may be implemented by a transceiver, for example, it may correspond to the transceiver 1520 in the communication device 1500 shown in FIG. 15.
  • the processing unit 1410 in the communication device 1400 may be implemented by at least one processor, for example, may correspond to the processor 1510 in the communication device 1500 shown in FIG. 15.
  • the transceiver unit 1420 in the communication device 1400 may be implemented through an input/output interface.
  • the processing unit 1410 in the device 1400 may be implemented by a processor, a microprocessor, or an integrated circuit integrated on the chip or chip system.
  • the communication device 1400 may correspond to the UPF in the above method embodiment, for example, it may be a UPF, or a component (such as a circuit, a chip, or a chip system, etc.) configured in the UPF.
  • the communication device 1400 may correspond to the UPF in the method 400, the method 600, the method 800, and the method 1000 according to the embodiments of the present application, and the communication device 1400 may include a method for executing the method 400 in FIG. The method 600 in FIG. 8, the method 800 in FIG. 8, and the method performed by the UPF in the method 1000 in FIG. 10.
  • the units in the communication device 1400 and the other operations and/or functions described above are used to implement the method 400 in FIG. 4, the method 600 in FIG. 6, the method 800 in FIG. 8, and the method 1000 in FIG. 10, respectively. Process.
  • the transceiver unit 1420 in the communication device 1400 may be implemented by a transceiver, for example, it may correspond to the transceiver 1520 in the communication device 1500 shown in FIG. 15.
  • the processing unit 1410 in the communication device 1400 may be implemented by at least one processor, for example, may correspond to the processor 1510 in the communication device 1500 shown in FIG. 15.
  • the transceiver unit 1420 in the communication device 1400 may be implemented through an input/output interface.
  • the processing unit 1410 in the device 1400 may be implemented by a processor, a microprocessor, or an integrated circuit integrated on the chip or chip system.
  • FIG. 15 is another schematic block diagram of a communication device 1500 according to an embodiment of the present application.
  • the communication device 1500 includes a processor 1510, a transceiver 1520, and a memory 1530.
  • the processor 1510, the transceiver 1520, and the memory 1530 communicate with each other through an internal connection path.
  • the memory 1530 is used to store instructions, and the processor 1510 is used to execute the instructions stored in the memory 1530 to control the transceiver 1520 to send signals and / Or receive the signal.
  • the communication apparatus 1500 may correspond to the terminal device in the foregoing method embodiment, and may be used to execute various steps and/or processes performed by the network device or terminal device in the foregoing method embodiment.
  • the memory 1530 may include a read-only memory and a random access memory, and provide instructions and data to the processor. A part of the memory may also include a non-volatile random access memory.
  • the memory 1530 may be a separate device or integrated in the processor 1510.
  • the processor 1510 may be used to execute instructions stored in the memory 1530, and when the processor 1510 executes the instructions stored in the memory, the processor 1510 is configured to execute each of the foregoing method embodiments corresponding to network devices or terminal devices. Steps and/or processes.
  • the aforementioned communication apparatus 1500 may be the target access network device, the source access network device, SMF or UPF in the foregoing embodiment.
  • the transceiver 1520 may include a transmitter and a receiver.
  • the transceiver 1520 may further include an antenna, and the number of antennas may be one or more.
  • the processor 1510, the memory 1530, and the transceiver 1520 may be devices integrated on different chips.
  • the processor 1510 and the memory 1530 may be integrated in a baseband chip, and the transceiver 1520 may be integrated in a radio frequency chip.
  • the processor 1510, the memory 1530 and the transceiver 1520 may also be devices integrated on the same chip. This application does not limit this.
  • the communication apparatus 1500 may be a component configured in a target access network device, a source access network device, SMF or UPF, such as a chip, a chip system, and so on.
  • the transceiver 1520 may also be a communication interface, such as an input/output interface.
  • the transceiver 1520, the processor 1510 and the memory 1520 can be integrated in the same chip, such as a baseband chip.
  • FIG. 16 is a schematic structural diagram of an access network device provided by an embodiment of the present application, for example, it may be a schematic structural diagram of a base station.
  • the base station 1600 can be applied to the system shown in FIG. 1 to perform the functions of the target access network device or the source access network device in the foregoing method embodiment.
  • the base station 1600 may include one or more radio frequency units, such as a remote radio unit (RRU) 1610 and one or more baseband units (BBU) (also known as distributed units (DU)). )) 1620.
  • RRU remote radio unit
  • BBU baseband units
  • DU distributed units
  • the RRU 1610 may be referred to as a transceiving unit, which corresponds to the transceiving unit 1420 in FIG. 14.
  • the transceiver unit 1610 may also be called a transceiver, a transceiver circuit, or a transceiver, etc., and it may include at least one antenna 1611 and a radio frequency unit 1612.
  • the transceiving unit 1610 may include a receiving unit and a transmitting unit, the receiving unit may correspond to a receiver (or receiver, receiving circuit), and the transmitting unit may correspond to a transmitter (or transmitter, transmitting circuit).
  • the RRU 1610 part is mainly used for receiving and sending of radio frequency signals and conversion of radio frequency signals and baseband signals, for example, for sending data packets to terminal equipment.
  • the 1620 part of the BBU is mainly used to perform baseband processing, control the base station, and so on.
  • the RRU 1610 and the BBU 1620 may be physically set together, or may be physically separated, that is, a distributed base station.
  • the BBU 1620 is the control center of the base station, and may also be called a processing unit, which may correspond to the processing unit 1410 in FIG. 14, and is mainly used to complete baseband processing functions, such as channel coding, multiplexing, modulation, and spreading.
  • the BBU processing unit
  • the BBU may be used to control the base station to execute the operation procedure of the network device in the foregoing method embodiment, for example, to generate the foregoing indication information.
  • the BBU 1620 may be composed of one or more single boards, and multiple single boards may jointly support a radio access network of a single access standard (such as an LTE network), or support different access standards. Wireless access network (such as LTE network, 5G network or other networks).
  • the BBU 1620 also includes a memory 1621 and a processor 1622.
  • the memory 1621 is used to store necessary instructions and data.
  • the processor 1622 is used to control the base station to perform necessary actions, for example, used to control the base station to execute the operation procedure of the network device in the foregoing method embodiment.
  • the memory 1621 and the processor 1622 may serve one or more single boards. In other words, the memory and the processor can be set separately on each board. It can also be that multiple boards share the same memory and processor. In addition, necessary circuits can be provided on each board.
  • the base station 1600 shown in FIG. 16 can implement each process of the target access network device or the source access network device involved in the method embodiment of FIG. 4, FIG. 6, FIG. 8 or FIG. 10.
  • the operations and/or functions of the various modules in the base station 1600 are to implement the corresponding procedures in the foregoing method embodiments.
  • the above-mentioned BBU 1620 can be used to execute the actions described in the previous method embodiment by the target access network device or the source access network device, and the RRU 1610 can be used to execute the target access network device described in the previous method embodiment Or an action sent or received by a source access network device, such as an action sent to or received from a terminal device.
  • a source access network device such as an action sent to or received from a terminal device.
  • An embodiment of the present application further provides a processing device, including a processor and an interface; the processor is configured to execute the communication method in any of the foregoing method embodiments.
  • the aforementioned processing device may be one or more chips.
  • the processing device may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), or It is a central processor unit (CPU), it can also be a network processor (NP), it can also be a digital signal processing circuit (digital signal processor, DSP), or it can be a microcontroller (microcontroller unit). , MCU), it can also be a programmable logic device (PLD) or other integrated chips.
  • FPGA field programmable gate array
  • ASIC application specific integrated circuit
  • SoC system on chip
  • CPU central processor unit
  • NP network processor
  • DSP digital signal processing circuit
  • microcontroller unit microcontroller unit
  • MCU programmable logic device
  • PLD programmable logic device
  • each step of the above method can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software.
  • the steps of the method disclosed in combination with the embodiments of the present application may be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor.
  • the software module can be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
  • the processor in the embodiment of the present application may be an integrated circuit chip with signal processing capability.
  • the steps of the foregoing method embodiments may be completed by hardware integrated logic circuits in the processor or instructions in the form of software.
  • the above-mentioned processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components .
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
  • the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • static random access memory static random access memory
  • dynamic RAM dynamic RAM
  • DRAM dynamic random access memory
  • synchronous dynamic random access memory synchronous DRAM, SDRAM
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • synchronous connection dynamic random access memory serial DRAM, SLDRAM
  • direct rambus RAM direct rambus RAM
  • the present application also provides a computer program product, the computer program product includes: computer program code, when the computer program code runs on a computer, the computer executes Figure 4, Figure 6, The method of any one of the embodiments shown in FIG. 8 or FIG. 10.
  • the present application also provides a computer-readable medium that stores program code, and when the program code runs on a computer, the computer executes FIG. 4, FIG. 6, and FIG. The method of any one of the embodiments shown in FIG. 8 or FIG. 10.
  • the present application also provides a system, which includes one or more of the aforementioned target access network device, source access network device, SMF, UPF, and terminal device.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a high-density digital video disc (digital video disc, DVD)), or a semiconductor medium (for example, a solid state disk (solid state disc, SSD)) etc.
  • the network equipment in each of the above-mentioned device embodiments corresponds completely to the network equipment or terminal equipment in the terminal equipment and method embodiments, and the corresponding modules or units execute the corresponding steps.
  • the communication unit executes the receiving or the terminal equipment in the method embodiments.
  • the processing unit executes the functions of specific units, refer to the corresponding method embodiments. Among them, there may be one or more processors.
  • component used in this specification are used to denote computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution.
  • the component may be, but is not limited to, a process, a processor, an object, an executable file, an execution thread, a program, and/or a computer running on a processor.
  • the application running on the computing device and the computing device can be components.
  • One or more components may reside in processes and/or threads of execution, and components may be located on one computer and/or distributed among two or more computers.
  • these components can be executed from various computer readable media having various data structures stored thereon.
  • the component can be based on, for example, a signal having one or more data packets (e.g. data from two components interacting with another component in a local system, a distributed system, and/or a network, such as the Internet that interacts with other systems through a signal) Communicate through local and/or remote processes.
  • a signal having one or more data packets (e.g. data from two components interacting with another component in a local system, a distributed system, and/or a network, such as the Internet that interacts with other systems through a signal) Communicate through local and/or remote processes.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • each functional unit may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software When implemented by software, it can be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions (programs).
  • programs When the computer program instructions (programs) are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disks or optical disks and other media that can store program codes. .

Abstract

本申请提供了一种切换方法和通信装置。该方法包括:目标接入网设备获取第一消息和用于传输多播数据的信息;该第一消息用于请求为终端设备切换至目标接入网设备建立资源;该目标接入网设备发送第二消息,该第二消息用于指示目标接入网设备上已建立的资源;接收来自用户面网元的第一数据包,该第一数据包对应于所述用于传输多播数据的信息;向终端设备发送该第一数据包。从而使得终端设备在接收多播数据的情况下实现从源接入网设备至目标接入网设备的切换。

Description

切换方法和通信装置 技术领域
本申请涉及通信领域,并且更具体地,涉及一种切换方法和通信装置。
背景技术
目前,在某些通信系统中,例如第五代(5th Generation,5G)移动通信系统中,网络设备可以通过单播和广播融合(或者称“伪广播”)的传输方式为终端设备传输数据。核心网设备可以利用终端设备的单播传输路径向接入网设备传输一个多播群组的多播数据,接入网设备可通过多播方式向该多播群组中的多个终端设备传输该多播数据。
然而,由于终端设备的高移动性,终端设备在接收多播数据的同时可能会进行小区切换。终端设备在接收多播数据的情况下如何进行小区切换,成为了亟待解决的技术问题。
发明内容
本申请提供一种切换方法和通信装置,以期在终端设备接收多播数据的情况下实现从源接入网设备至目标接入网设备的切换。
第一方面,提供了一种切换方法,该方法例如可以由目标接入网设备执行,或者也可以由配置在目标接入网设备中的部件(如电路、芯片或芯片系统等)执行。本申请对此不作限定。
具体地,该方法包括:获取第一消息,该第一消息用于请求为终端设备切换至目标接入网设备建立资源;获取用于传输多播数据的信息;发送第二消息,该第二消息用于指示目标接入网设备上已建立的资源;接收来自用户面网元(user plane function,UPF)的第一数据包,该第一数据包对应于所述用于传输多播数据的信息;向终端设备发送该第一数据包。
其中,用于传输多播数据的信息例如可以包括以下一项或多项:该多播数据的数据标识、与该多播数据对应的多播群组的标识、与该多播数据对应的多播会话的标识、用于传输该多播数据的协议数据单元(protocol data unit,PDU)会话的标识、用于传输该多播数据的隧道的标识、用于传输该多播数据的服务质量流(QoS Flow)的标识、该多播数据的识别信息,其中,多播数据的识别信息包括该多播数据的源网际协议(Internet Protocol,IP)地址、源端口号、目的IP地址或目的端口号中的一项或多项。
基于上述方案,终端设备可以在接收多播数据的完成从源接入网设备至目标接入网设备的切换。源接入网设备在向目标接入网设备请求建立资源的同时,可以将用于传输多播数据的信息发送给目标接入网设备,以便于目标接入网设备基于该信息,将与该信息对应的数据发送给终端设备。因此,终端设备可以在接收多播数据的同时进行切换,而不对该多播数据的接收造成影响。
可选地,所述获取第一消息,包括:从源接入网设备获取第一消息。
可选地,所述获取用于传输多播数据的信息,包括:从源接入网设备获取用于传输多播数据的信息。
可选地,所述发送第二消息,包括,向源接入网设备发送第二消息。
进一步地,该方法还包括:接收来自源接入网设备的第二数据包,该第二数据包对应于所述用于传输多播数据的信息,该第二数据包包括该第二数据包对应的第一序列号。
为了避免对多播数据的丢包,该目标接入网设备可以从源接入网设备接收该多播数据的数据包,即第二数据包。
结合第一方面,在第一方面的某些实现方式中,目标接入网设备可以根据第一数据包的序列号与来自源接入网设备的第一结束标记(End Marker)数据包的序列号的大小关系,确定是否向终端设备转发第二数据包。
可选地,该方法还包括:接收来自源接入网设备的第一结束标记(End Marker)数据包,该第一End Marker数据包包括该第一End Marker数据包对应的第二序列号。
目标接入网设备接收到该第一End Marker数据包之后,开始考虑将从UPF接收的第一数据包转发给终端设备。
可选地,若第一序列号小于第二序列号,向终端设备发送第二数据包。
可选地,所述向终端设备发送第一数据包,包括:若第一序列号大于或等于第二序列号,向终端设备发送第一数据包。
目标接入网设备可以基于对第一序列号与第二序列号的大小关系的比较,确定向终端设备转发第一数据包还是第二数据包。由此可以避免对该多播数据的丢包,有利于获得完整的数据,保证了数据传输性能。
结合第一方面,在第一方面的某些实现方式中,目标接入网设备可以根据第一数据包的序列号与第二数据包的序列号的大小关系,确定是否向终端设备转发第二数据包。在这种实现方式中,UPF例如可以通过IP多播的方式或通过多播传输通道向终端设备发送第二数据包。
可选地,第一数据包包括该第一数据包对应的第三序列号;所述向终端设备发送第一数据包,包括:若第三序列号小于或等于第一序列号,向终端设备发送第一数据包。
可选地,若第三序列号大于第一序列号,向终端设备发送第二数据包。
目标接入网设备可以基于对第一序列号和第三序列号的大小关系的比较,确定向终端设备转发第一数据包还是第二数据包。由此可以避免对该多播数据的丢包,有利于获得完整的数据,保证了数据传输性能。
结合第一方面,在第一方面的某些实现方式中,该方法还包括:向源接入网设备发送接入网隧道信息,该接入网隧道信息用于指示转发多播数据的转发隧道的标识。
在一种可能的设计中,该接入网隧道信息可以携带在上述第二消息中。此情况下,目标接入网设备发送第二消息的同时也即发送了该接入网隧道信息。即,发送接入网隧道信息的步骤和上述发送第二消息的步骤可以合为一个发送步骤。
应理解,该接入网隧道信息也可以携带在其他信令中。本申请对此不作限定。
通过向源接入网设备发送接入网隧道信息,以便于源接入网设备与目标接入网设备建立二者之间的转发隧道,从而可以实现源接入网设备向目标接入网设备转发数据包。因此,当核心网还未完成路径切换时,源接入网设备可以通过该转发隧道向目标接入网设备转发 多播数据,进而由目标接入网设备发送给终端设备。因此可以避免多播数据的数据包的丢失。
这里,源接入网设备与目标接入网设备之间的转发隧道,可以是包含或者未包含核心网网元(如接入和移动管理网元(access and mobility management function,AMF)等)的隧道。例如在Xn切换场景下,该转发隧道可以不包含核心网网元;在N2切换场景下,该转发隧道可以包含核心网网元。本申请对此不作限定。
第二方面,提供了一种切换方法,该方法例如可以由源接入网设备执行,或者,也可以由配置在源接入网设备中的部件(如电路、芯片或芯片系统等)执行。本申请对此不作限定。
具体地,该方法包括:发送第一消息,该第一消息用于请求为终端设备切换至目标接入网设备建立资源;向目标接入网设备发送用于传输多播数据的信息;接收第二消息,该第二消息用于指示目标接入网设备上已建立的资源;向终端设备发送第二数据包,该第二数据包对应于所述用于传输多播数据的信息。
其中,用于传输多播数据的信息例如可以包括以下一项或多项:所述多播数据的数据标识、与所述多播数据对应的多播群组的标识、与所述多播数据对应的多播会话的标识、用于传输所述多播数据的PDU会话的标识、用于传输所述多播数据的隧道的标识、用于传输所述多播数据的服务质量流的标识、所述多播数据的识别信息,其中所述多播数据的识别信息包括所述多播数据的源IP地址、源端口号、目的IP地址或目的端口号中的一项或多项。
基于上述方案,终端设备可以在接收多播数据的完成从源接入网设备至目标接入网设备的切换。源接入网设备在向目标接入网设备请求建立资源的同时,可以将用于传输多播数据的信息发送给目标接入网设备,以便于目标接入网设备基于该信息,将与该信息对应的数据发送给终端设备。因此,终端设备可以在接收多播数据的同时进行切换,而不对该多播数据的接收造成影响。
可选地,所述发送第一消息,包括:向目标接入网设备发送第一消息。
可选地,所述发送用于传输多播数据的信息,包括:向目标接入网设备发送用于传输多播数据的信息。
可选地,所述接收第二消息,包括:从目标接入网设备接收第二消息。
结合第二方面,在第二方面的某些实现方式中,该方法还包括:接收来自UPF的第二End Marker数据包,该第二End Marker数据包包括第一End Marker数据包对应的第二序列号,该第二End Marker数据包在终端设备的用于传输多播数据的通道上传输;基于接收到的第二End Marker数据包,向目标接入网设备发送第一End Marker数据包。
UPF向源接入网设备发送的第二End Marker数据包可以理解为是针对该多播数据发送的End Marker数据包。源接入网设备基于该第二End Marker数据包可以向目标接入网设备发送第一End Marker数据包,由此,目标接入网设备可以开始考虑将从UPF接收的第一数据包转发给终端设备。
应理解,第一End Marker数据包和第二End Marker数据包可以是相同的数据包,也可以是不同的数据包。本申请对此不作限定。
源接入网设备可以基于该第二End Marker数据包的序列号和从UPF接收到的第二数 据包的序列号,确定是否向目标接入网设备转发第二数据包。
可选地,该方法还包括:若第一序列号小于第二序列号,向目标接入网设备发送第二数据包。
第一序列号小于第二序列号,说明在第二End Marker数据包之前还有多播数据的数据包未到达,如果直接停止向目标接入网是设备转发第二数据包可能会造成多播数据的丢包。因此,源接入网设备可以在第一序列号小于第二序列号的情况下,向目标接入网设备发送第二数据包。从而可以避免多播数据的丢包。
该第二End Marker数据包可以通过终端设备的用于传输多播数据的传输通道传输。源接入网设备可以基于预先获得的多播数据与传输通道间的映射关系,以及传输该第二End Marker数据包的传输通道确定该第二End Marker数据包是针对哪个多播数据传输的。
结合第二方面,在第二方面的某些实现方式中,该方法还包括:接收来自UPF的第二End Marker数据包,该第二End Marker数据包携带多播数据的传输通道的标识信息,该第二End Marker数据包在多播数据的传输通道上传输;基于接收到的第二End Marker数据包,向目标接入网设备发送第一End Marker数据包。
通过在第二End Marker数据包中携带多播数据的传输通道的标识信息,源接入网设备可以基于预先获得的多播数据与传输通道间的映射关系,以及传输该第二End Marker数据包的传输通道确定该第二End Marker数据包是针对哪个多播数据传输的。
第三方面,提供了一种通信方法,该方法例如可以由会话管理网元(session management function,SMF)执行,或者,也可以由配置在SMF中的部件(如电路、芯片或芯片系统等)执行。本申请对此不作限定。
具体地,该方法包括:接收第三消息,该第三消息用于指示用于传输多播数据的信息,该第三消息用于请求配置终端设备的传输通道上的数据传输,该传输通道用于传输该终端设备请求的数据,该终端设备请求的数据对应于上述用于传输多播数据的信息;发送第四消息,该第四消息用于指示对终端设备请求的数据的转发行为。
其中,用于传输多播数据的信息例如可以包括以下一项或多项:所述多播数据的数据标识、与所述多播数据对应的多播群组的标识、与所述多播数据对应的多播会话的标识、用于传输所述多播数据的PDU会话的标识、用于传输所述多播数据的隧道的标识、用于传输所述多播数据的服务质量流的标识、所述多播数据的识别信息,其中所述多播数据的识别信息包括所述多播数据的源IP地址、源端口号、目的IP地址或目的端口号中的一项或多项。
基于上述方案,由于终端设备请求的数据对应于用于传输多播数据的信息,SMF可以确定对该数据的转发行为。比如,对该终端设备请求的数据进行过滤,或者不过滤等。在终端设备在接收多播数据的同时若要切换接入网设备,则可以通过确定对数据的转发行为,保证终端设备请求的数据不丢包。可选地,所述接收第三消息,包括:从接入和移动性管理网元(access and mobility management function,AMF)接收第三消息。该第三消息例如可以是N11消息。
可选地,所述发送第四消息,包括:向UPF发送第四消息。该第四消息例如可以是N4消息。
结合第三方面,在第三方面的某些实现方式中,该第四消息包括以下任意一项或多项: 针对所述终端设备请求的数据的转发行为的指示、所述用于传输所述多播数据的信息、识别规则、转发行为规则和结束标记数据包的相关信息。
SMF可以在确定了对终端设备请求的数据的转发行为之后,通过第四消息向UPF指示;也可以将用于传输多播数据的信息、识别规则、转发行为规则等信息都发送给UPF,由UPF自行确定对该终端设备请求的数据的转发行为。
该第四消息中包含的End Marker数据包的相关信息例如可以是SMF生成并发送给UPF的End Marker数据包,也可以是指示UPF生成End Marker数据包的信息。本申请对此不做限定。
第四方面,提供了一种通信方法,该方法例如可以由UPF执行,或者,也可以由配置在UPF中的部件(如电路、芯片或芯片系统等)执行。本申请对此不作限定。
具体地,该方法包括:接收第四消息,该第四消息包括用于传输多播数据的信息,用于传输多播数据的信息与终端设备请求的数据对应;根据该用于传输多播数据的信息,确定对终端设备请求的数据的转发行为。
其中,用于传输多播数据的信息例如可以包括以下一项或多项:所述多播数据的数据标识、与所述多播数据对应的多播群组的标识、与所述多播数据对应的多播会话的标识、用于传输所述多播数据的PDU会话的标识、用于传输所述多播数据的隧道的标识、用于传输所述多播数据的服务质量流的标识、所述多播数据的识别信息,其中所述多播数据的识别信息包括所述多播数据的源IP地址、源端口号、目的IP地址或目的端口号中的一项或多项。
基于上述方案,由于终端设备请求的数据对应于用于传输多播数据的信息,UPF可以根据该用于传输多播数据的信息,确定对该终端设备请求的数据的转发行为。比如,对该数据进行过滤,或者不过滤等。在终端设备在接收多播数据的同时若要切换接入网设备,则可以通过确定对数据的转发行为,保证终端设备请求的数据不丢包。可选地,所述接收第四消息,包括:从SMF接收第四消息。该第四消息可以是N11消息。
结合第四方面,在第四方面的某些实现方式中,该第四消息包括以下任意一项或多项:识别规则、转发行为规则和结束标记数据包的相关信息。
关于识别规则、转发行为规则和结束标记数据包的相关信息的相关说明可参看第三方面中的相关描述,为了简洁,这里不再重复。
结合第三方面或第四方面,在某些实现方式中,该转发行为包括:在该终端设备的传输通道上传输该终端设备请求的数据。
终端设备在接收多播数据的时候,其所请求的数据可能在UPF侧或RAN侧被合并,或者说被过滤。SMF或UPF可以在该终端设备切换时确定对该数据的转发行为,使得终端设备在切换到目标接入网设备之后,所请求的数据不被过滤。也即,终端设备在切换到目标接入网设备之后可以通过自己的传输通道接收它所请求的数据。
对于UPF来说,在确定了对该终端设备请求的数据的转发行为之后,便可以在该终端设备的传输通道上传输该终端设备请求的数据。
结合第三方面或第四方面,在某些实现方式中,该第四消息还用于指示在该终端设备的传输通道上传输第二End Marker数据包。
结合第三方面或第四方面,在某些实现方式中,该第四消息还用于指示在多播数据的 传输通道上传输所述第二End Marker数据包。
上文列举了两种传输第二End Marker数据包的传输通道。即,在前一种实现方式中,该第二End Marker数据包与终端设备请求的数据在同一个传输通道中传输;在后一种实现方式中,该第二End Marker数据包在多播数据的传输通道上传输,也即与终端设备请求的数据不在同一个传输通道上传输。
可选地,该第四消息中还包括:所述终端设备的传输通道的标识信息。
在该第四消息中携带该终端设备的传输通道的标识信息,可以便于源接入网设备确定该第二End Marker数据包是针对哪个终端设备的哪个数据发送的,或者说,是针对哪个多播数据发送的,进而可以通过相应的转发隧道向目标接入网设备发送第一End Marker数据包。
结合第三方面或第四方面,在某些可能的实现方式中,在所述终端设备由源接入网设备切换至目标接入网设备之前,所述终端设备的传输通道是所述用户面网元与所述源接入网设备之间的通道;在所述终端设备由源接入网设备切换至目标接入网设备之后,所述终端设备的传输通道是所述用户面网元与所述目标接入网设备之间的通道。
应理解,第三方面和第四方面所提供的方法并不仅限于在终端设备切换时使用。SMF可以利用上述方法确定终端设备请求的数据的不同的转发行为。本申请对于该方法所适用的范围不作限定。
第五方面,提供了一种通信装置,包括用于执行第一方面至第四方面任一种可能实现方式中的方法的各个模块或单元。
第六方面,提供了一种通信装置,包括处理器。该处理器与存储器耦合,可用于执行存储器中的指令或者数据,以实现上述第一方面至第四方面任一种可能实现方式中的方法。可选地,该通信装置还包括存储器。可选地,该通信装置还包括通信接口,处理器与通信接口耦合。
在一种实现方式中,该通信装置为终端设备。当该通信装置为终端设备时,所述通信接口可以是收发器,或,输入/输出接口。
在另一种实现方式中,该通信装置为配置于终端设备中的芯片。当该通信装置为配置于终端设备中的芯片时,所述通信接口可以是输入/输出接口。
可选地,所述收发器可以为收发电路。可选地,所述输入/输出接口可以为输入/输出电路。
第七方面,提供了一种处理器,包括:输入电路、输出电路和处理电路。所述处理电路用于通过所述输入电路接收信号,并通过所述输出电路发射信号,使得所述处理器执行第一方面至第四方面中任一种可能实现方式中的方法。
在具体实现过程中,上述处理器可以为一个或多个芯片,输入电路可以为输入管脚,输出电路可以为输出管脚,处理电路可以为晶体管、门电路、触发器和各种逻辑电路等。输入电路所接收的输入的信号可以是由例如但不限于接收器接收并输入的,输出电路所输出的信号可以是例如但不限于输出给发射器并由发射器发射的,且输入电路和输出电路可以是同一电路,该电路在不同的时刻分别用作输入电路和输出电路。本申请实施例对处理器及各种电路的具体实现方式不做限定。
第八方面,提供了一种处理装置,包括处理器和存储器。该处理器用于读取存储器中 存储的指令,并可通过接收器接收信号,通过发射器发射信号,以执行第一方面至第四方面任一种可能实现方式中的方法。
可选地,所述处理器为一个或多个,所述存储器为一个或多个。
可选地,所述存储器可以与所述处理器集成在一起,或者所述存储器与处理器分离设置。
在具体实现过程中,存储器可以为非瞬时性(non-transitory)存储器,例如只读存储器(read only memory,ROM),其可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请实施例对存储器的类型以及存储器与处理器的设置方式不做限定。
应理解,相关的数据交互过程例如发送指示信息可以为从处理器输出指示信息的过程,接收能力信息可以为处理器接收输入能力信息的过程。具体地,处理器输出的数据可以输出给发射器,处理器接收的输入数据可以来自接收器。其中,发射器和接收器可以统称为收发器。
上述第八方面中的处理装置可以是一个或多个芯片。该处理装置中的处理器可以通过硬件来实现也可以通过软件来实现。当通过硬件实现时,该处理器可以是逻辑电路、集成电路等;当通过软件来实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现,该存储器可以集成在处理器中,可以位于该处理器之外,独立存在。
第九方面,提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序(也可以称为代码,或指令),当所述计算机程序被运行时,使得计算机执行上述第一方面至第四方面中任一种可能实现方式中的方法。
第十方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序(也可以称为代码,或指令)当其在计算机上运行时,使得计算机执行上述第一方面至第四方面中任一种可能实现方式中的方法。
第十一方面,提供了一种通信系统,包括前述的源接入网设备、目标接入网设备、SMF、UPF和终端设备中的一个或多个。
附图说明
图1是适用于本申请实施例提供的切换方法的网络结构的示意图;
图2和图3示出了本申请实施例提供的多播的具体实现流程;
图4是本申请一实施例提供的切换方法的示意性流程图;
图5是本申请一实施例提供的切换方法的示意图;
图6是本申请另一实施例提供的切换方法的示意性流程图;
图7是本申请另一实施例提供的切换方法的示意图;
图8是本申请又一实施例提供的切换方法的示意性流程图;
图9是本申请又一实施例提供的切换方法的示意图;
图10是本申请再一实施例提供的切换方法的示意性流程图;
图11是本申请实施例提供的Xn切换的部分流程的示意图;
图12和图13是本申请实施例提供的N2切换的部分流程的示意图;
图14是本申请实施例提供的通信装置的示意性框图;
图15是本申请实施例提供的通信装置的另一示意性框图;
图16是本申请实施例提供的接入网设备的结构示意图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
本申请提供的技术方案可以应用于各种通信系统,例如:第五代(5th Generation,5G)移动通信系统或新无线接入技术(new radio access technology,NR)。其中,5G移动通信系统可以包括非独立组网(non-standalone,NSA)和/或独立组网(standalone,SA)。
本申请提供的技术方案还可以应用于机器类通信(machine type communication,MTC)、机器间通信长期演进技术(Long Term Evolution-machine,LTE-M)、设备到设备(device-to device,D2D)网络、机器到机器(machine to machine,M2M)网络、物联网(internet of things,IoT)网络或者其他网络。其中,IoT网络例如可以包括车联网。其中,车联网系统中的通信方式统称为车到其他设备(vehicle to X,V2X,X可以代表任何事物),例如,该V2X可以包括:车辆到车辆(vehicle to vehicle,V2V)通信,车辆与基础设施(vehicle to infrastructure,V2I)通信、车辆与行人之间的通信(vehicle to pedestrian,V2P)或车辆与网络(vehicle to network,V2N)通信等。
本申请提供的技术方案还可以应用于未来的通信系统,如第六代移动通信系统等。本申请对此不作限定。
图1是适用于本申请实施例提供的方法的网络架构的示意图。如图1所示,该网络架构例如是第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)协议TS23.501中定义的5G系统(the 5h generation system,5GS)。该网络架构可以分为接入网(access network,AN)和核心网(core network,CN)两部分。其中,接入网可用于实现无线接入有关的功能,核心网主要包括以下几个关键逻辑网元:接入和移动性管理网元(access and mobility management function,AMF)、会话管理网元(session management function,SMF)、用户面网元(user plane function,UPF)、策略控制网元(policy control function,PCF)和统一数据管理网元(unified data management,UDM)等。
下面对图1中示出的各网元做简单介绍:
1、用户设备(user equipment,UE):可以称终端设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。
终端设备可以是一种向用户提供语音/数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。目前,一些终端的举例可以为:手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑(如笔记本电脑、掌上电脑等)、移动互联网设备(mobile internet device,MID)、虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字 助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,5G网络中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等。
此外,终端设备还可以是物联网(Internet of things,IoT)系统中的终端设备。IoT是未来信息技术发展的重要组成部分,其主要技术特点是将物品通过通信技术与网络连接,从而实现人机互连,物物互连的智能化网络。IoT技术可以通过例如窄带(narrow band)NB技术,做到海量连接,深度覆盖,终端省电。
此外,终端设备还可以包括智能打印机、火车探测器、加油站等传感器,主要功能包括收集数据(部分终端设备)、接收网络设备的控制信息与下行数据,并发送电磁波,向网络设备传输上行数据。
2、接入网(access network,AN):接入网可以为特定区域的授权用户提供入网功能,并能够根据用户的级别、业务的需求等使用不同质量的传输隧道。接入网络可以为采用不同接入技术的接入网络。目前的无线接入技术有两种类型:3GPP接入技术(例如3G、4G或5G系统中采用的无线接入技术)和非3GPP(non-3GPP)接入技术。3GPP接入技术是指符合3GPP标准规范的接入技术,例如,5G系统中的接入网设备称为下一代基站节点(next generation Node Base station,gNB)。非3GPP接入技术是指不符合3GPP标准规范的接入技术,例如,以无线保真(wireless fidelity,WiFi)中的接入点(access point,AP)为代表的空口技术。
基于无线通信技术实现接入网络功能的接入网可以称为无线接入网(radio access network,RAN)。无线接入网能够管理无线资源,为终端设备提供接入服务,进而完成控制信号和用户数据在终端和核心网之间的转发。
无线接入网例如可以包括但不限于:无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(baseband unit,BBU),WiFi系统中的AP、无线中继节点、无线回传节点、传输点(transmission point,TP)或者发送接收点(transmission and reception point,TRP)等,还可以为5G(如,NR)系统中的gNB或传输点(TRP或TP),5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或者,还可以为构成gNB或传输点的网络节点,如基带单元(BBU),或,分布式单元(distributed unit,DU),或者下一代通信6G系统中的基站等。本申请实施例对无线接入网设备所采用的具体技术和具体设备形态不做限定。
接入网可以为小区提供服务。终端设备可以通过接入网设备分配的传输资源(例如,频域资源,或者说,频谱资源)与小区通信。
3、接入和移动性管理网元(AMF):主要用于移动性管理和接入管理等,如用户位置更新、用户注册网络、用户切换等。AMF还可用于实现移动性管理实体(mobility management entity,MME)中除会话管理之外的其它功能。例如,合法监听、或接入授权(或鉴权)等功能。
4、会话管理网元(SMF):主要用于会话管理、UE的网际协议(Internet Protocol,IP)地址分配和管理、选择可管理用户平面功能、策略控制、或收费功能接口的终结点以 及下行数据通知等。在本申请实施例中,SMF主要用户负责移动网络中的会话管理,如会话建立、修改、释放等。具体功能例如可以包括为终端设备分配IP地址、选择提供报文转发功能的UPF等。
5、用户面网元(UPF):即,数据面网关。可用于分组路由和转发、或用户面数据的服务质量(quality of service,QoS)处理等。用户数据可通过该网元接入到数据网络(data network,DN)。在本申请实施例中,可用于实现用户面网关的功能。
6、数据网络(DN):用于为用户提供数据服务的运营商网络。例如,运营商业务的网络、因特网(Internet)、第三方的业务网络、IP多媒体服务业务(IP multi-media service)网络等。
7、认证服务网元(authentication server function,AUSF):主要用于用户鉴权等。
8、网络开放网元(network exposure function,NEF):用于安全地向外部开放由3GPP网络功能提供的业务和能力等。
9、网络存储网元((network function(NF)repository function,NRF):用于保存网络功能实体以及其提供服务的描述信息,以及支持服务发现,网元实体发现等。
10、策略控制功能网元(PCF):用于指导网络行为的统一策略框架,为控制平面功能网元(例如AMF,SMF网元等)提供策略规则信息等。
11、统一数据管理网元(UDM):用于存储用户数据,如签约信息、鉴权/授权信息等。
12、应用功能网元(application function,AF):负责向3GPP网络提供业务,如影响业务路由、与PCF之间交互以进行策略控制等。
在图1所示的网络架构中,各网元之间可以通过图中所示的接口通信。如图所示,N1接口为终端设备与AMF之间的参考点;N2接口为RAN和AMF的参考点,用于非接入层(non-access stratum,NAS)消息的发送等;N3接口为RAN和UPF之间的参考点,用于传输用户面的数据等;N4接口为SMF和UPF之间的参考点,用于传输例如N3连接的隧道标识信息,数据缓存指示信息,以及下行数据通知消息等信息;N6接口为UPF和DN之间的参考点,用于传输用户面的数据等。其他接口与各网元之间的关系如图1中所示,为了简洁,这里不一一详述。
应理解,上述应用于本申请实施例的网络架构仅是举例说明的从传统点到点的架构和服务化架构的角度描述的网络架构,适用本申请实施例的网络架构并不局限于此,任何能够实现上述各个网元的功能的网络架构都适用于本申请实施例。
还应理解,图1中所示的AMF、SMF、UPF、网络切片选择功能网元(network slice selection function,NSSF)、NEF、AUSF、NRF、PCF、UDM可以理解为核心网中用于实现不同功能的网元,例如可以按需组合成网络切片。这些核心网网元可以各自独立的设备,也可以集成于同一设备中实现不同的功能,本申请对于上述网元的具体形态不作限定。
还应理解,上述命名仅为便于区分不同的功能而定义,不应对本申请构成任何限定。本申请并不排除在5G网络以及未来其它的网络中采用其他命名的可能。例如,在6G网络中,上述各个网元中的部分或全部可以沿用5G中的术语,也可能采用其他名称等。图1中的各个网元之间的接口名称只是一个示例,具体实现中接口的名称可能为其他的名称,本申请对此不作具体限定。此外,上述各个网元之间的所传输的消息(或信令)的名称也 仅仅是一个示例,对消息本身的功能不构成任何限定。
为便于理解本申请实施例,首先对本申请中涉及到的术语做简单说明。
1、协议数据单元(protocol data unit,PDU)会话(PDU session):5G核心网(5G corenet,5GC)支持PDU连接业务。PDU连接业务可以是指终端设备与DN之间交换PDU数据包的业务。PDU连接业务通过终端设备发起PDU会话的建立来实现。一个PDU会话建立后,也就是建立了一条终端设备和DN的数据传输通道。换句话说,PDU会话是UE级别的。每个终端设备可以建立一个或多个PDU会话。
如前所述,SMF主要用户负责移动网络中的会话管理。PDU会话在终端设备和SMF之间可以通过NAS会话管理(session management,SM)信令进行建立、修改或释放。
在本申请实施例中,一个PDU会话可以通过一个PDU会话标识(PDU session identifier,PDU session ID)来标识。由于PDU会话是UE级别的,因此每个PDU会话标识也可对应于一个终端设备。
2、隧道(tunnel):核心网与接入网之间可以基于GPRS隧道协议(GPRS tunnel protocol,GTP)来实现数据传输。在本申请实施例中,隧道可以理解为是PDU会话中更小粒度的传输通道,可用于传输GTP数据包。
3、QoS流(QoS Flow):QoS Flow是PDU会话中最精细的QoS区分粒度。在5G系统中,一个QoS Flow标识(QoS Flow identifier,QFI)可用于标识一条QoS Flow。一个PDU会话中可以包括多条QoS Flow,但每条QoS Flow的QFI都是不同的。换言之,一个QFI在一个PDU会话中是唯一的。
4、单播和多播融合:也可以称为“伪广播”。在5G核心网(5G corenet,5GC)中,利用终端设备的单播传输路径进行传输,但该单播传输路径上传输的数据可以被多个终端设备接收。由于多个终端设备接收同一单播传输路径上传输的数据,就好像接收广播数据一样,因此将该传输模式称为“伪广播”。换言之,核心网通过单播的方式实现了多播数据的传输,并可以支持在接入网侧空口的多播。因此单播和多播融合可以视为核心网实现多播的一种技术。
本申请实施例提供的技术方案主要涉及核心网与接入网之间的多播数据的传输的改进,而对接入网设备与终端设备之间的空口传输并没有改动。由于核心网可以通过单播的方式实现空口的多播,故可以将该核心网和接入网设备之间传输的、可实现空口多播的数据成为多播数据。下文中所述的多播数据、多播群组、多播会话等描述均是针对核心网与接入网设备之间传输的数据而言的,不应对接入网侧在空口传输的数据构成限定。
但需要注意的是,伪广播并不同于传统意义上的广播。传统的广播需要建立专门的广播信道。而伪广播仅需使用某一终端设备的单播传输路径,或者使用公共的传输路径便可以实现。
用于传输多播数据的PDU会话可以称为多播会话,接收同一多播数据的多个终端设备可以属于一个多播群组。也就是说,一个多播数据可以对应一个多播群组,或者说,一个多播会话。
一个多播群组可以包括一个或多个终端设备。同一多播群组中的终端设备为多个时,该多个终端设备可能是驻留在同一小区的终端设备,也可能是驻留在多个不同小区中的终端设备。本申请对此不作限定。
同一个多播数据可以通过一个数据标识来指示。同一个多播群组也可以通过一个多播群组的标识来指示。同一个多播会话也可以通过一个多播会话的标识来指示。换言之,多播数据的数据标识与多播群组的标识和多播会话的标识具有对应关系。
应理解,这里仅为便于理解和说明,引入了多播数据的数据标识、多播群组的标识以及多播会话的标识。在实际的传输配置过程中,上述多播数据的数据标识、多播群组的标识以及多播会话的标识可能并不一定都会配置。由于三者间一一对应的关系,因此可以认为,多播数据的数据标识、多播群组的标识和多播会话的标识是可替换的,或者说,等价的。
多播的前提条件可以是,对于某些应用(application,APP),例如发送直播业务的APP),核心网可以依据识别信息识别其传输的数据是否属于同一个多播群组,或者说,是否为针对同一多播群组而传输的数据。
这里,核心网所依据的识别信息例如可以是源IP地址、目的IP地址、源端口号和目的端口中的一项或多项。比如,该识别信息具体可以是:源IP地址,或源端口号,或源IP地址和源端口号,或目的IP地址,或目的端口号,或目的IP地址和目的端口号,或源IP地址、源端口号、目的IP地址和目的端口号。
在本申请实施例中,当终端设备向核心网发送请求时,可以同时携带上述识别信息、或者,也可以携带多播群组的标识信息、多播数据的标识信息和多播会话的标识信息中的一种或多种。核心网可以基于上述识别信息确定该终端设备所请求传输的数据是否可以通过多播的方式传输。
具体来说,若核心网确定终端设备请求传输的数据#1和数据#2具有相同的识别信息,则可以确定请求该数据#1和数据#2的终端设备属于同一多播群组。比如,若数据#1和数据#2的源IP地址相同,则可确定请求该数据#1和数据#2的终端设备属于同一多播群组;或,若数据#1和数据#2的目的IP地址相同,则可确定请求该数据#1和数据#2的终端设备属于同一多播群组;或,若数据#1和数据#2的源IP地址相同,且数据#1和数据#2的源端口号也相同,则可确定请求该数据#1和数据#2的终端设备属于同一多播群组;或,若数据#1和数据#2的目的IP地址相同,且数据#1和数据#2的目的端口号相同,则可确定请求该数据#1和数据#2的终端设备属于同一多播群组;或,若数据#1和数据#2的源IP地址相同,数据#1和数据#2的源端口号也相同,数据#1和数据#2的目的IP地址相同,且数据#1和数据#2的目的端口号也相同,则可确定请求该数据#1和数据#2的终端设备属于同一多播群组。为了简洁,这里不一一举例说明。其中,若数据#1和数据#2的源IP地址相同,和/或,数据#1和数据#2的源端口号相同,可以认为数据#1和数据#2是来源于同一应用服务器的数据。换言之,应用服务器的标识信息也可以理解为是识别信息的一种。
应理解,上文仅为便于理解,以数据#1和数据#2为例来说明识别信息与多播群组,但这不应对本申请构成任何限定。本申请对于多播群组中的终端设备数量不作限定,数据#1和数据#2可理解为是多播群组中的任意两个终端设备请求的数据的两个示例。通过多播的方式传输数据的具体实现方式可以如下:PCF可以根据上文所述的终端设备向核心网发送请求时所携带的识别信息生成携带该识别信息的PCC规则。SMF可以根据该PCC规则中的识别信息创建特殊的映射规则,将识别信息对应的数据映射到一个QoS Flow上。从而可以确保在一个PDU会话中,一个应用的一个直播内容可以被映射到同一个QoS  Flow上。当直播内容被映射到一个QoS Flow上,该QoS Flow便承载了多播数据。
在本申请实施例中,用于承载多播数据的QoS Flow可以是多播专用PDU会话中的一个QoS Flow;也可以是多播专用隧道中的一个QoS Flow;也可以是一个多播专用QoS Flow;还可以是一个单播QoS Flow,但该QoS Flow中携带了一指示信息,用于指示该QoS Flow中承载了多播数据。
需要说明的是,多播专用PDU会话可以是指,针对该多播数据专门创建的PDU会话。所谓多播专用PDU会话,也就是说,该PDU会话不会与单播数据或其他多播数据共享。该PDU会话可以是针对某一终端设备创建,也可以是针对该多播群组创建,本申请对此不作限定。该多播专用PDU会话中可以包含针对该多播数据而创建的多播专用隧道,其中的QoS Flow是专用于承载多播数据的QoS Flow。
多播专用隧道可以是指,针对该多播数据专门创建的隧道。该多播专用隧道可以是多播专用PDU会话中的一个隧道,也可以是非多播专用PDU会话中的一个隧道,比如可以是单播PDU会话中针对该多播群组创建的一个隧道。该多播专用隧道中的QoS Flow可以是专用于承载多播数据的QoS Flow。
多播专用QoS Flow可以是指,针对该多播数据专门创建的QoS Flow。该多播专用QoS Flow可以是多播专用PDU会话中的QoS Flow,也可以是非多播专用PDU会话中的QoS Flow,比如可以是单播PDU会话中针对该多播群组创建的一个QoS Flow。为便于理解,下文结合图2和图3简单介绍多播的具体实现流程。
图2示出了多播数据在UPF侧合并的示意图。
步骤1、在PDU会话建立或修改过程中,也即UE向应用服务器请求数据的过程中,SMF可以向UPF发送识别规则(packet detection rule,PDR)和转发行为规则(forwarding action rule,FAR)。其中,识别规则可用于指示UPF识别数据对应于哪个多播群组。转发行为规则可用于指示UPF是否对数据进行转发以及在哪个传输通道上转发。
需要说明的是,识别数据对应于哪个多播群组,可以依据该数据的识别信息来确定。
在一种可能的实现方式中,在PDU会话建立或修改之前,也即,UE向应用服务器请求数据之前,应用服务器可以向核心网(例如NEF)发送一个或多个多播会话的请求。为方便说明,下面以一个多播会话的请求为例。该请求中可以携带一个多播会话的部分识别信息,例如可以包括该应用服务器的IP地址和/或端口号。发送该多播会话的请求的应用服务器的IP地址和/端口号可以作为该多播会话的源IP地址和/或源端口号。
NEF可以向应用服务器返回该多播会话的入口信息。例如,NEF可以为该多播会话配置UPF,并返回该UPF的IP地址和/或端口号。为该多播会话配置的UPF的IP地址和/或端口号可以作为该多播会话的目的IP地址和/或目的端口号。
由此,NEF可以获取该多播会话的源IP地址和/或源端口号与目的IP地址和/或目的端口号的对应关系。NEF可以将该对应关系发送至SMF,例如在UE请求数据的过程中发送,或者,在获取到该对应关系之后就发送,不管UE是否请求数据。NEF也可以将该对应关系发送至其他用于存储的网元,例如UDM、统一数据存储库(Unified Data Repository,UDR)等。
在PDU会话建立或修改过程中,SMF可以基于UE的请求,进一步确定UE请求的多播数据与上述识别信息的对应关系。可选地,SMF可以将该对应关系作为识别规则发 送给UPF。下表示出了该多播数据与上述识别信息的对应关系的一例。应理解,下表仅为便于理解而示例,不应对本申请构成任何限定。上述对应关系也并不一定以表格的形式存在。
序号 多播数据的标识信息 识别信息
1 标识1 源IP地址1、源端口号1、目的IP地址1、目的端口号1
2 标识2 源IP地址2、源端口号2、目的IP地址2、目的端口号2
…… …… ……
是否对数据进行转发以及在哪个传输通道上转发可以依据多播数据与传输通道的映射关系来确定。
再一示例中,SMF可以不向UPF发送多播数据的标识信息,仅向UPF发送识别信息,这时SMF还会向UPF发送下述配置信息。
在PDU会话建立或修改过程中,SMF可以分别向UPF和RAN发送配置信息,例如以PDU会话为粒度,向UPF和RAN发送配置信息。该配置信息中可以包含多播数据与传输通道的映射关系的指示、多播数据的指示或者传输通道的指示的一项或多项。其中,对多播数据的指示例如可以是上述多播数据的数据标识、多播群组的标识或多播会话的标识中的一项或多项。对传输通道的指示例如可以是多播专用PDU会话标识、多播专用隧道标识或QoS Flow标识(即QFI)中的一项或多项。本申请对此不作限定。其中,多播数据、多播群组和多播会话的关系在上文中已经说明,为了简洁,这里不再重复。SMF可以预先确定多播数据与多播群组和/或多播会话的对应关系。
一种示例中,SMF向UPF发送识别信息和配置信息的对应关系。下表示出了SMF向UPF发送的识别信息和配置信息的对应关系。应理解,下表仅为便于理解而示例,不应对本申请构成任何限定。上述对应关系也并不一定以表格的形式存在。
序号 配置信息 识别信息
1 配置信息1 源IP地址1、源端口号1、目的IP地址1、目的端口号1
2 配置信息2 源IP地址2、源端口号2、目的IP地址2、目的端口号2
…… …… ……
下文示出了配置信息的几个示例。
一示例,当用于承载多播数据的QoS Flow为多播专用PDU会话中的QoS Flow时,该多播数据与传输通道的映射关系可以是多播数据的指示与多播专用PDU会话标识的映射关系;另一示例,当用于承载多播数据的QoS Flow为多播专用隧道中的QoS Flow时,该多播数据与传输通道的映射关系可以是多播数据的指示与隧道标识的映射关系;再一示例,该多播数据与传输通道的映射关系可以是多播指示的指示与QFI的映射关系。
应理解,上文多个示例仅为便于理解而示出,不应对本申请构成任何限定。
若SMF针对多个终端设备的请求而向UPF和RAN发送的配置信息中包含了相同的多播数据的指示,则UPF和RAN可以确定该多个终端设备属于同一多播群组。
RAN可以向同一多播群组中的每个终端设备发送RRC消息,在该RRC消息中携带组无线网络临时标识(group-radio network temporary identifier,G-RNTI),以便于该多播群组中的各终端设备基于该G-RNTI接收数据。
应理解,终端设备基于G-RNTI接收数据的具体过程与终端设备基于C-RNTI接收数 据的具体过程相似,由于终端设备基于C-RNTI接收数据的具体过程为现有技术。为了简洁,这里不作详述。
在本申请实施例中,上述配置信息可以基于RAN而定义。例如,该SMF可以基于每个RAN确定配置信息,每个配置信息中包含的多播群组所对应的数据可以是通过该RAN传输的数据,或者说,可以与该RAN提供服务的小区中传输的数据对应。同一个RAN中的同一个数据标识,可以与一个或多个QoS Flow对应。但应理解,若某一个数据标识所对应的QoS Flow为多个时,这并不代表该数据标识所对应的数据被映射到了该多个QoS Flow上传输,而是说,与该数据标识对应的多个QoS Flow可以用于传输内容相同的数据。但如后文所述,该多个QoS Flow中可能存在部分或全部的QoS Flow中的数据被过滤。
步骤2、UPF向RAN发送数据。
应用服务器可以基于多个终端设备的请求,向UPF发送数据。若多个终端设备请求的数据是内容相同的数据,则应用服务器可以针对每个终端设备分别发送单播数据,如图2中所示;应用服务器也可以针对该多个终端设备的请求发送数据至UPF,由UPF将该数据复制为多份,得到针对多个终端设备的多份单播数据。
应理解,图2所示仅为一种可能的实现方式,不应对本申请构成任何限定。例如在另一种实现方式中,应用服务器也可以仅向UPF发送一份数据。本申请对此不作限定。
UPF在向RAN发送数据时,可以根据SMF发送的映射关系,将每个PDU会话中对应于同一个多播群组的数据合并在一起发送。具体来说,UPF可以通过某一个终端设备的PDU会话中的QoS Flow来传输该数据标识所标识的数据,或者,网络可以单独建立一条专用的QoS Flow来传输数据。
如前所述,UPF可能从应用服务器接收到一份数据,也可能从应用服务器接收到多份数据,且该多份数据是对应于同一数据标识的数据。UPF在接收到多份数据的情况下,若UPF通过某一个终端设备的PDU会话中的QoS Flow来传输数据,UPF可以将其他对应于该数据标识的QoS Flow中的数据过滤,或者说,丢弃。换言之,其他对应于该数据标识的QoS Flow可以不传输数据。若UPF通过单独建立的一条专用QoS Flow来传输数据,UPF可以将对应于该数据标识的每个终端设备的QoS Flow中传输的数据过滤,或者说,丢弃。换言之,其他对应于该数据标识的QoS Flow可以不传输数据。举例来说,假设映射关系中包含有数据标识1及其对应的QoS Flow。比如,数据标识1对应于UE 1的QoS Flow 1,UE 2的QoS Flow 2,UE 3的QoS Flow 3,UE 4的QoS Flow 4。这表示,UE 1的QoS Flow 1,UE 2的QoS Flow 2,UE 3的QoS Flow 3以及UE 4的QoS Flow 4上传输的数据内容相同,都是由数据标识1所标识的数据。UPF可以选择QoS Flow 1、QoS Flow 2、QoS Flow 3和QoS Flow 4中的任意一个QoS Flow来传输数据,例如选择QoS Flow 1来传输数据。若UPF从应用服务器接收到多份对应于数据标识1的数据,该多份数据原本可通过QoS Flow 2、QoS Flow 3和QoS Flow 4传输,但此时,UPF可以将QoS Flow 2、QoS Flow 3和QoS Flow 4中的数据过滤,或者说,丢弃,或者说,不传输数据。或者,网络也可以单独建立一条专用的QoS Flow,来传输数据。若UPF从应用服务器接收到多份对应于数据标识1的数据,该多份数据原本可通过QoS Flow 1、QoS Flow 2、QoS Flow 3和QoS Flow 4,但此时,UPF可以而将QoS Flow 1、QoS Flow 2、QoS Flow 3和QoS Flow 4中传输的数据过滤,或者说,丢弃,或者说,不传输数据。
应理解,这里所说的将某一QoS Flow中传输的数据丢弃,并不代表将该QoS Flow丢弃。该QoS Flow仍然存在于终端设备的PDU会话中,只是原本需要通过该QoS Flow传输的数据通过其他QoS Flow传输了。
UPF还可以在向RAN发送的通用分组无线服务隧道协议用户面(general packet radio service tunneling protocol user,GTP-U)包头中携带一个特殊的标识,以用于指示该UPF中存在数据标识相同的QoS Flow,且UPF选择了其中某一个QoS Flow发送。
步骤3、RAN向终端设备转发来自UPF的QoS Flow。
RAN接收到来自UPF的QoS Flow和GTP-U包头的标识时,便可以基于预先确定的与该QoS Flow对应的多播群组,将该QoS Flow中承载的数据发送给该多播群组中的各终端设备。RAN在发送时,可以将上述数据通过共享资源发送给多个终端设备,也可以单独地发送给某个特定终端设备,在此并不做限制。
图3是多播数据在RAN侧合并的示意图。
在步骤1中,SMF也可以向RAN发送配置信息,而不向UPF发送该配置信息。RAN可以基于该配置信息确定同一多播群组中的终端设备。
在步骤2中,UPF可以以单播形式向RAN发送与各终端设备对应的数据。即,在各终端设备的PDU会话中由UPF至RAN的QoS Flow中均承载了相同的数据。
在步骤3中,RAN将对应于同一多播群组的数据合并发送给该多播群组中的各终端设备。
在RAN侧合并的过程与上文在UPF侧合并的过程基本相似,只是将UPF对数据进行合并的步骤转由RAN来执行。为了简洁,这里省略对相同或相似内容的描述。
由于终端设备的高移动性,终端设备可能在多个小区之间频繁切换。但终端设备在接收多播数据的情况下如何完成切换,仍有待解决。
本申请提供了一种切换方法,为多播场景下的终端设备提供了多种可能的切换流程,以解决终端设备在接收多播数据的情况下如何完成切换的问题。
下面结合多个附图来详细说明本申请实施例提供的切换方法。
应理解,下文仅为便于理解和说明,以设备之间的交互为例详细说明本申请实施例所提供的方法。但这不应对本申请提供的方法的执行主体构成任何限定。例如,下文实施例示出的接入网设备可以替换为配置于接入网设备中的部件(如电路、芯片或芯片系统等)。
下文示出的实施例并未对本申请实施例提供的方法的执行主体的具体结构特别限定,只要能够通过运行记录有本申请实施例的提供的方法的代码的程序,以根据本申请实施例提供的方法实现终端设备的切换即可。
此外,附图中仅为便于理解,将UPF、SMF、AMF等核心网网元单独示出,但这不应对本申请构成任何限定。本申请对于核心网网元的具体形态不作限定。
为了更好地理解本申请实施例,首先做出如下几点说明:
第一,为方便理解和说明,做出如下假设和定义:
UE1:源小区中接收多播数据的终端设备。
UE2:源小区中接收同一多播数据的终端设备,与UE1属于同一个多播群组。在本申请实施例中,UE2即将从源接入网设备切换到目标接入网设备的终端设备。
多播数据:包括UE2在进行切换前接收到的该多播群组对应的数据,即该UE2在源 小区中接收到的该多播群组对应的数据。也包括UE2在切换后接收到的该多播群组对应的数据,即该UE2在目标小区中接收的该多播群组对应的数据。可以理解的是,切换前后UE2所接收的该多播群组的数据都称之为多播数据。
数据#1:UE2在源小区中时请求的数据。UPF或源接入网设备原本要发给UE2,但由于存在内容相同的多播数据的传输而未发送给UE2。UE2请求的数据可以是多播数据,也可以是单播数据,本申请对此不作限定。
应理解,多播数据和数据#1只是为了便于区分上述不同而定义,二者本质上是内容相同的数据。这里,内容相同可以是指用于承载多播数据的数据包和用于承载数据#1的数据包的净荷部分相同,也可以是指用于承载多播数据的数据包和用于承载数据#1的数据包的包头相同,净荷部分也相同。本申请对此不作限定。
第二,在本申请实施例中,数据可以承载在多个数据包中传输。例如,多播数据的数据包可以表示承载了该多播数据的数据包。接收设备(如终端设备)可以对接收到的对应于同一数据的多个数据包合并后,可以获取其中承载的数据。
在本申请实施例中,由于多播数据与数据#1是内容相同的数据,故接收设备(如终端设备)可以基于接收到的多播数据的数据包,获取其中承载的数据。由此获取到的数据为多播数据,或者也可以说是数据#1。
下文中在涉及数据#1的传输、发送和接收的描述,可以理解为对多播数据的数据包的传输、发送和接收。本领域的技术人员可以理解其含义。
第三,在本申请中,涉及网元A向网元B发送消息或数据包,以及网元B接收来自网元A的消息或数据包的相关描述,旨在说明该消息或数据包是要发给哪个网元,而并不限定它们之间是直接发送还是经由其他网元间接发送。
比如,文中所述的源接入网设备向目标接入网是设备发送消息或数据包,并不限定源接入网设备是直接向目标接入网设备发送消息或数据包。在N2切换场景下,由于源接入网设备与目标接入网设备之间不支持Xn接口的通信,故,源接入网设备与目标接入网设备之间的通信可以通过AMF来转发。而在Xn切换场景下,由于源接入网设备与目标接入网设备之间支持Xn接口的通信,故源接入网设备与目标接入网设备之间可以直接交互,而无需AMF的转发。文中虽未一一罗列,但本领域的技术人员可以理解其含义。
第四,在本申请中,“用于指示”可以包括用于直接指示和用于间接指示。当描述某一指示信息用于指示A时,可以包括该指示信息直接指示A或间接指示A,而并不代表该指示信息中一定携带有A。
将指示信息所指示的信息称为待指示信息,则具体实现过程中,对待指示信息进行指示的方式有很多种,例如但不限于,可以直接指示待指示信息,如待指示信息本身或者该待指示信息的索引等。也可以通过指示其他信息来间接指示待指示信息,其中该其他信息与待指示信息之间存在关联关系。还可以仅仅指示待指示信息的一部分,而待指示信息的其他部分则是已知的或者提前约定的。例如,还可以借助预先约定(例如协议规定)的各个信息的排列顺序来实现对特定信息的指示,从而在一定程度上降低指示开销。同时,还可以识别各个信息的通用部分并统一指示,以降低单独指示同样的信息而带来的指示开销。
待指示信息可以作为一个整体一起发送,也可以分成多个子信息分开发送,而且这些 子信息的发送周期和/或发送时机可以相同,也可以不同。具体发送方法本申请不进行限定。
第五,在本申请实施例中,“当……时”、“在……的情况下”、“若”以及“如果”等描述均指在某种客观情况下设备(如,终端设备或者网络设备)会做出相应的处理,并非是限定时间,且也不要求设备(如,终端设备或者网络设备)在实现时一定要有判断的动作,也不意味着存在其它限定。
第六,在下文示出的实施例中第一、第二以及各种数字编号仅为描述方便进行的区分,并不用来限制本申请实施例的范围。例如,区分不同的多播数据、不同的UE、不同的PDU会话等。
第七,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a、b和c中的至少一项(个),可以表示:a,或,b,或,c,或,a和b,或,a和c,或,b和c,或,a、b和c。其中a、b和c分别可以是单个,也可以是多个。
第八,下文实施例所结合的多个附图中,源接入网(source RAN,S-RAN)可对应源接入网设备,目标接入网(target RAN,T-RAN)可对应目标接入网设备,AMF可对应接入和移动性管理网元,源AMF(source AMF,S-AMF)可对应源接入和移动性管理网元,SMF可对应会话管理网元,UPF可对应用户面网元。
第九,下文示出的多个实施例中,都是假设多播数据在UPF侧合并的情况下示出的。但这不应对本申请构成任何限定。基于相同的构思,本领域的技术人员在以下实施例所提供的方法的基础上做出相应的变化,即可实现多播多播场景下终端设备的切换。
第十,下文示出的多个实施例和附图中SMF网元可能为单播会话管理网元;也可能为针对多播会话(或者说,多播群组、多播数据等)的管理而使用的特定会话管理网元。若SMF为针对多播会话的管理而使用的特定会话管理网元,AMF与该SMF的交互可能会涉及其他流程,下文及附图中虽未予以示出,但本领域的技术人员应当理解,AMF与SMF的其他交互流程并不影响本申请各实施例的实施。还应理解,本申请对SMF是单播会话管理网元还是特定会话管理网元并不加以限定。还应理解,如果SMF为单播会话管理网元,其可以具备管理多播会话的能力(比如,向UPF和RAN发送配置信息等)。
当SMF是特定会话管理网元时,那么此处的UPF可以是特定的用户面网元,也可以是单播用户面网元。
下文多个实施例示出了两种不同的实现方式。在一种实现方式中,UE2在接收多播数据的同时由源接入网设备切换至目标接入网设备;在后一种实现方式中,UE2在源小区中由接收多播数据切换为接收单播数据后再切换至目标接入网设备。下文结合图4至图9描述的实施例示出了上述前一种实现方式下的具体流程,结合图10至图12描述的实施例示出了上述后一种实现方式下的具体流程。下面结合附图详细说明各实施例。
图4是本申请一实施例提供的切换方法400的示意性流程图。如图4所示,该方法400可以包括步骤401至419。下面对方法400中的各步骤做详细说明。
在步骤401中,源小区中属于同一多播群组中的各终端设备接收多播数据。
源小区中可能存在多个终端设备接收多播数据,该多个终端设备为同一多播群组中的终端设备。该多播群组是与该多播数据对应的多播群组。该多个终端设备例如可以包括但不限于驻留在源小区中的UE1和UE2。应理解,该多播群组还可以包括其他小区中的终端设备,本申请对此不作限定。
在一种实现方式中,源接入网设备可以预先通过RRC消息为源小区中的属于该多播群组的各终端设备分配G-RNTI。各终端设备可以基于接收到的G-RNTI接收来自源接入网设备的多播数据。
在另一种实现方式中,源接入网设备也可以预先通过RRC消息为源小区中的属于该多播群组的各终端设备分配各自的小区无线网络临时标识(cell-radio network temporary identifier,C-RNTI)。源接入网设备可以将该多播数据单独地发给源小区中属于该多播群组中的各个终端设备。各终端设备可以基于C-RNTI接收该多播数据。
应理解,各终端设备基于G-RNTI接收多播数据的具体过程、基于C-RNTI接收多播数据的具体过程与基于C-RNTI接收单播数据的具体过程相似,为了简洁,这里不作详述。
在本申请实施例中,各终端设备可以基于已有的传输通道(如,PDU会话)来接收上述多播数据,也可以基于上述多播数据的传输创建传输通道,进而基于新创建的传输通道接收上述多播数据。
可选地,在步骤401之前,该方法还包括步骤402,源小区中的各终端设备创建多播传输通道。
在本申请实施例中,各终端设备创建的传输通道为用于传输多播数据的通道,具体可以为由UPF到源接入网设备的传输多播数据的通道。各终端设备创建的传输通道可用传输各终端设备请求的数据。例如,UE2的传输通道可用于传输UE2请求的数据。
示例性地,各终端设备创建的多播传输通道例如可以包括但不限于:多播专用PDU会话、多播专用隧道、多播专用QoS Flow、携带了承载多播数据的指示信息的单播QoS Flow或其他可用于传输多播数据的通道。各终端设备创建的可以是多播专用传输通道,例如可以包括但不限于:多播专用PDU会话、多播专用隧道、多播专用QoS Flow或其他可专门用于传输多播数据的通道。
该源小区中接收多播数据的终端设备例如可以包括但不限于上述UE1和UE2。UE1可基于多播数据创建多播传输通道1,UE2可基于多播数据创建多播传输通道2。可以理解,源小区中接收多播数据的各终端设备均可以基于多播数据创建自己的多播传输通道。下文中仅为便于理解和说明,假设源小区中接收多播数据的终端设备包括UE1和UE2,也就是说,UE1和UE2是属于同一多播群组的终端设备。
需要说明的是,各终端设备在向核心网发送请求时,可以请求多播数据。基于该请求,各终端设备可以各自为多播数据创建多播传输通道。
各终端设备创建多播传输通道的具体过程与现有技术中终端设备创建传输通道的具体过程相同。例如,各终端设备创建多播专用PDU会话的具体过程与现有技术中终端设备创建PDU会话的具体过程相同。为了简洁,这里不做详述。
由于该源小区中的多播群组中的各终端设备所创建的多播传输通道都是针对多播数据而创建的,因此UPF可以对多个多播传输通道中的多播数据进行合并。例如,第一种 可能的实现方式,UPF可以通过UE1的多播传输通道1传输该多播数据,而将原本通过UE2的多播传输通道2传输的数据过滤,故UE2的多播传输通道2中未传输多播数据。第二种可能的实现方式,UPF也可以通过UE2的多播传输通道2传输多播数据,而将原本通过UE1的多播传输通道1传输的数据过滤,故UE1的多播传输通道1中未传输多播数据。第三种可能的实现方式,网络也可以针对该多播数据单独创建一个多播共享传输通道,该多播共享传输通道并非针对上述多播群组中的任意一个终端设备而创建。UPF可以通过该多播共享传输通道传输多播数据,而将原本通过UE1的多播传输通道1传输的数据过滤,并将原本通过UE2的多播传输通道2传输的数据过滤,故UE1的多播传输通道1中未传输多播数据,UE2的多播传输通道2中也未传输多播数据。应理解,UPF对多播数据进行合并仅为一种可能的实现方式。如前所述,源接入网设备也可以对多播数据进行合并,此情况下,UPF不对多播数据进行合并。由于前文结合图2和图3详细说明了二者的区别,为了简洁,这里不再赘述。
为方便说明,将多播数据的传输通道记为多播传输通道0。如前所述,在第一种实现方式中,多播传输通道0可以是上述多播传输通道1,而多播传输通道2为UE2的用于传输多播数据的通道;在第二种实现方式中,多播传输通道0可以是上述多播传输通道2,而多播传输通道1为UE1的用于传输多播数据的通道;在第三种实现方式中,多播传输通道0可以是单独创建的一个多播共享传输通道,而多播传输通道1为UE1的用于传输多播数据的通道,多播传输通道2为UE2的用于传输多播数据的通道。
应注意,即便UE1和UE2分别各自创建了多播专用PDU会话,若网络基于多播数据单独创建了多播共享传输通道,该多播共享传输通道也并不限于PDU会话,例如也可以是多播专用隧道、多播专用QoS Flow等。本申请对此不作限定。
在本实施例中,假设该多播数据未通过多播传输通道2传输。即,多播传输通道0可以是多播传输通道1,也可以是单独创建的一个多播共享传输通道。
在本申请实施例中,该源小区中属于同一多播群组的各终端设备分别对应的多播传输通道虽然并不是都真正传输了多播数据,但仍可以保证各多播传输通道数据包的序号信息的同步。
以UE1和UE2分别对应的多播传输通道1和多播传输通道2为例,多播传输通道1和多播传输通道2中的数据包的序号信息的同步可以表现为二者的数据包(例如GTP-U数据包)的序列号(sequence number)相同。这里,序列号可以理解为序号信息的一种。多播传输通道可以维护一个序列号,用来对自UPF发送的数据包进行计数。这可以通过UPF的配置来实现。
举例来说,假设UPF选择通过UE1的多播传输通道1传输多播数据,此情况下,多播传输通道0即多播传输通道1。当UPF更新UE1的多播传输通道1的序列号时,可以同步更新同一多播群组的其他终端设备的多播传输通道(如UE2的多播传输通道2)的序列号。示例性地,UPF在通过多播传输通道1传输多播数据时,可以通过序列号来对发送的数据包进行计数。例如UPF每通过该多播传输通道1传输一个数据包,其序列号加一。UPF在为多播传输通道1中的数据包计数的同时,也可以更新多播传输通道2的序列号,以使得多播传输通道2的序列号与多播传输通道1的序列号同步。
另一示例,假设网络针对该多播数据单独创建一个多播共享传输通道,此情况下,多 播传输通道0是该多播共享传输通道,而非上述多播传输通道1。当UPF更新网络创建的多播传输通道0的序列号时,可以同步更新同一多播群组的其他终端设备的多播传输通道(如UE1的多播传输通道1和UE2的多播传输通道2)的序列号。示例性地,UPF在通过多播传输通道0传输多播数据时,可以通过序列号来对发送的数据包进行计数。例如UPF每通过该多播传输通道0传输一个数据包,其序列号加一。UPF在为多播传输通道0中的数据包计数的同时,也可以更新多播传输通道1和多播传输通道2的序列号,以使得多播传输通道1和多播传输通道2的序列号与多播传输通道0的序列号同步。
又一示例,UPF在更新多播传输通道0的序列号时,不会立即同步更新同一多播群组的多播传输通道(如多播传输通道1和多播传输通道2)的序列号,而基于具体的事件,触发进行多播传输通道1和多播传输通道2的序列号的更新。例如,当切换发生时,SMF配置UPF发送End Marker数据包,此时UPF可以将多播传输通道1和多播传输通道2更新为多播传输通道0的序列号。
值得注意的是,上述同步机制仅做示例,不应对本申请构成任何限定。
上述序列号例如可以参考现有的GTP-U序列号的机制来实现,或者,也可以通过新增一个GTP-U序列号来实现,又或者,可以通过在GTP-U数据包内部加入额外的序号信息实现,本申请对此不作限定。
在步骤403中,源接入网设备根据UE2上报的测量报告确定UE2需要切换。
各UE在源小区中都可以执行测量控制和上报。源接入网基于各UE上报的测量报告,确定是否满足切换条件,并在满足切换条件的情况下执行切换流程。源接入网设备基于测量报告确定是否满足切换条件的具体内容可以参考现有技术,为了简洁,这里不作详述。
在本实施例中,假设源接入网设备根据UE2上报的测量报告确定UE2需要切换。
在步骤404中,目标接入网设备获取第一消息,该第一消息用于请求为UE2切换至目标接入网设备建立资源。在目标接入网设备建立UE2相关的上下文信息,或者说,将UE2切换至目标接入网设备。
在本实施例中,该第一消息用于请求为UE2切换至目标接入网设备建立资源,可以包括,为UE2切换至目标接入网设备建立UE2相关的上下文信息UE2、PDU会话的上下文。
步骤404的一种实现方式是,源接入网设备可以基于Xn接口向目标接入网设备发送该第一消息。例如在Xn切换场景下,源接入网设备和目标接入网设备可以由同一AMF管理,或者,源接入网设备和目标接入网设备之间支持Xn接口的通信。在这种实现方式中,该第一消息例如可以是切换请求(Handover Request)消息。
步骤404的另一种可能的实现方式是,源接入网设备向核心网网元(例如AMF)发送切换要求(Handover Requied)消息,核心网网元可以基于该切换要求消息,向目标接入网设备发送第一消息。例如在N2切换场景下,源接入网设备和目标接入网设备之间不支持Xn接口的通信。在这种实现方式中,该第一消息例如也可以是切换请求(Handover Request)消息。
本申请对于第一消息的传输路径、步骤404的具体实现方式以及第一消息的具体信令名称均不作限定。
可选地,该第一消息中可以携带用于传输多播数据的信息。
这里,用于传输多播数据的信息具体可以包括多播数据的数据标识、多播群组的标识、多播会话的标识、多播PDU会话的标识、多播隧道的标识、多播数据的识别信息,或QFI等可用于识别多播数据(或者说,该多播数据所对应的多播群组)的信息。在上文中已经说明,SMF可以向RAN发送配置信息,该配置信息中可以包含多播数据与传输通道的映射关系。因此,目标接入网设备获取到多播会话的指示或传输通道的指示中的任意一项信息便可以识别出该多播会话。在该步骤404中,目标接入网设备还可以进一步从该第一消息中获取用于传输多播数据的信息。
当然,上述第一消息中也可以不携带用于传输多播数据的信息。源接入网设备可以通过其他信令向目标接入网设备发送用于传输多播数据的信息。目标接入网设备可以从源接入网设备分别获取到第一消息和用于传输多播数据的信息。本申请对于第一消息是否携带用于传输多播数据的信息并不作限定。
在步骤405中,目标接入网设备发送第二消息,该第二消息用于通知源接入网设备目标接入网设备上已建立的资源。
在本实施例中,目标接入网设备上已建立的资源包括为UE2切换到目标接入网设备而建立的资源。目标接入网设备在步骤404中接收到第一消息后,可以根据第一消息,建立UE2接入目标接入网设备的相关资源,例如包括UE2相关的上下文信息、PDU会话的上下文等。目标接入网设备可以发送第二消息,以将为UE2建立的资源通知给源接入网设备。
与步骤404相对应,步骤405的一种可能的实现方式是,目标接入网设备向源接入网设备发送该第二消息。例如在Xn切换场景下,目标接入网设备和源接入网设备可以由同一个AMF管理,或者,目标接入网设备和源接入网设备之间支持Xn接口的通信。在这种实现方式中,该第二消息例如可以是切换请求响应(Handover Request Response)消息。
步骤405的另一种可能的实现方式是,目标接入网设备可以向核心网网元(如AMF)发送该第二消息。核心网网元可以根据该第二消息,向源接入网合并发送切换命令(Handover Command)消息。例如在N2切换场景下,目标接入网设备和源接入网设备之间不支持Xn接口的通信。在这种实现方式中,该第二消息例如可以是切换请求确认(Handover Request Acknowledge)消息。
应理解,本申请对于第二消息的传输路径、步骤405的具体实现方式以及第二消息的具体信令名称均不作限定。
可选地,该第二消息中携带UE2接入目标接入网设备的相关信息。UE2接入目标接入网设备的相关信息例如可以包括接入网隧道信息(tunnel information),或者是GTP隧道信息(GTP tunnel)。该接入网隧道信息可用于指示用于转发多播数据的转发隧道的标识(forwarding tunnel ID),或者可以用于指示传输层的地址(transport layer address)以及GTP隧道端点标识(GTP-tunnel endpoint identifier,GTP-TEID)。在本实施例中,该转发隧道可用于源接入网设备向目标接入网设备转发多播数据。
在该步骤405中,源接入网设备还可以进一步从该第二消息中获取该接入网隧道信息。
当然,该第二消息中也可以不携带上述接入网隧道信息。目标接入网设备可以通过其他信令向源接入网设备发送该接入网隧道信息。源接入网设备可以从目标接入网设备分别 获取到第二消息和接入网隧道信息。本申请对于第二消息是否携带接入网隧道信息并不作限定。
此外,该第二消息中还可以携带发给UE2的容器信息,例如包括目标接入网设备发送给UE2的RRC重配消息,例如包括该目标小区的小区标识、C-RNTI、G-RNTI、安全识别信息等中的一项或多项,以便于UE2切换至目标接入网设备。
上述步骤401至步骤405可以归为切换准备(handover preparation)阶段。
在步骤406中,UE2从源接入网设备切换至目标接入网设备。
UE2从源接入网设备切换至目标接入网设备也可以称为,UE2从源小区切换至目标小区。UE2从源接入网设备切换至目标接入网设备的完成可以理解为是空口切换的完成。完成了空口切换的UE2可以从目标接入网设备接收数据,而不再从源接入网设备直接接收数据。
UE2进行空口切换的具体过程可以参考现有技术,为了简洁,这里不做详述。
在步骤407中,源接入网设备通过转发隧道向目标接入网设备转发多播数据的数据包。相应地,目标接入网设备接收来自该源接入网设备的数据包。
虽然UE2切换至目标接入网设备,源接入网设备仍可以通过多播传输通道0从UPF接收多播数据,并向源小区中同一多播群组的其他UE(如上述UE1)发送该多播数据。
源接入网设备可以将在多播传输通道0中接收到的多播数据转发给目标接入网设备。为便于区分和说明,在本实施例中,将源接入网设备通过多播传输通道0从UPF接收到的多播数据的数据包记为第二数据包。因此,该目标接入网设备通过转发隧道从源接入网设备接收到的多播数据的数据包也为第二数据包,将后文中目标接入网设备从UPF接收而无需经由源接入网设备转发的多播数据的数据包记为第一数据包。
另一方面,UE2切换到目标接入网设备后,目标接入网设备可以进一步向核心网发送消息,以完成核心网侧传输路径的切换。
在步骤408中,目标接入网设备向AMF发送N2消息,该N2消息用于通知UE2的空口切换已完成。相应地,在步骤408中,AMF接收来自目标接入网设备的N2消息。
该N2消息可以是路径切换请求(path switch request)消息,也可以是切换通知(handover nodify)消息。这取决于该目标接入网设备和源接入网设备之间是通过Xn接口还是通过N2接口进行切换的。例如,若目标接入网设备和源接入网设备为同一个AMF下的接入网设备,或者,目标接入网设备和源接入网设备之间当前支持Xn接口的传输,则该切换为基于Xn接口的切换(Xn-based handover),该N2消息可以是路径切换请求消息。若目标接入网设备和源接入网设备为不同AMF下的接入网设备,或者目标接入网设备和源接入网设备之间当前仅支持N2接口的信令传输,则该切换为基于N2接口的切换(N2-based handover),该N2消息可以是切换通知消息。
应理解,上文对N2消息的列举仅为示例,不应对本申请构成任何限定。本申请对于该N2消息的具体名称不作限定。
可选地,该N2消息中包含在目标接入网设备建立的传输通道(例如PDU会话等)的列表以及对应的会话中成功建立的QoS flow的列表信息。
在步骤409中,AMF向SMF发送第三消息,该第三消息用于指示上述用于传输多播数据的信息。相应地,在步骤409中,SMF接收来自AMF的第三消息。
AMF可以通过第三消息请求SMF配置UE2的多播传输通道2上的数据的传输。该多播传输通道2可用于传输UE2请求的数据,即数据#1。而数据#1对应于上述用于传输多播数据的信息,也即与上述多播数据是内容相同的数据,故也可以认为该第三消息是用于请求SMF配置多播数据的传输。
该第三消息可以是N11消息。
在一种可能的设计中,该第三消息可以是N smf接口PDU会话更新会话管理上下文请求(N smf_PDUSession_UpdateSMContext Request)消息。
可选地,该第三消息中携带以下一项或多项:传输通道(例如PDU会话等)的标识信息、会话管理(session managemenet,SM)上下文的标识信息、N2 SM信息。其中,N2 SM信息中包含了成功建立的QoS flow的列表信息,或者建立失败的QoS flow的列表信息。
由此,SMF可以根据第三消息,获取多播上下文信息。一种示例中,SMF本地存储了多播上下文信息与单播信息的对应关系。下表示出了多播上下文信息与单播信息的对应关系。应理解,下表仅为便于理解而示例,不应对本申请构成任何限定。上述对应关系也并不一定以表格的形式存在。
Figure PCTCN2020077375-appb-000001
基于上述多播上下文信息,SMF可以确定上述用于传输多播数据的信息。
在前文中已经说明,在传输多播数据之前,SMF就已经预先生成了配置信息,该配置信息中包含多播数据与传输通道的映射关系。因此,当SMF在步骤408中接收到来自AMF的用于传输多播数据的信息时,便可以基于此确定UE2在源小区中接收的数据为多播数据以及该多播数据对应的多播群组、多播会话、数据标识、传输通道这些信息中的一个或多个。
在步骤410中,SMF向UPF发送第四消息,该第四消息用于请求配置UE2的多播传输通道2上的数据的传输。相应地,在步骤410中,UPF接收来自SMF的第四消息。
该第四消息可以是N4消息。
SMF可以通过第四消息指示UPF对UE2请求的数据#1的转发行为。在本实施例中,UE2请求的数据#1的数据包即上述第一数据包。即,该SMF可以通过第四消息指示对第一数据包的转发行为。
可选地,该第四消息中包括以下一项或多项:针对第一数据包的转发行为的指示、用于传输多播数据的信息、识别规则、转发行为规则。
在一种实现方式中,SMF可以将针对第一数据包的转发行为的指示通过N4消息发送给UPF。
其中,可以理解的是,接入网设备从UPF接收的第一数据包和上述的UE2在源小区 中时请求的数据#1内容相同。在该UE2切换到目标接入网设备前,该数据#1原本要发送给UE2,但由于存在内容相同的多播数据的传输而被过滤。在该UE2切换到目标接入网设备后,SMF可以确定针对该数据#1的转发行为(即第一数据包的转发行为)的指示。针对该数据#1的转发行为的指示具体可以包括:是否继续过滤该数据#1;并可以在不过滤的情况下,进一步确定将该数据#1映射到哪个传输通道上。
具体地,SMF可以根据UE2所请求的数据#1的识别信息,确定该UE2属于多播数据所对应的多播群组。SMF可以基于UE2切换至目标接入网设备,确定对该UE2所请求的数据#1不再进行过滤,并可进一步根据预先确定的多播数据与传输通道的映射关系,确定将该数据#1映射到哪个传输通道上传输。
或者,SMF可以根据UE2所请求的数据#1的识别信息,确定在目标小区中是否存在内容相同的多播数据的传输。在目标小区中存在多播数据传输的情况下,SMF可以确定继续过滤该数据#1。SMF可以直接向UPF指示对数据#1的转发行为规则(即第一数据包的转发行为规则)为过滤该数据#1。在目标小区不存在多播数据传输的情况下,SMF可以确定不对该数据#1进行过滤,并可进一步根据预先确定的多播数据与传输通道的映射关系,确定将该数据#1映射到哪个传输通道上传输。
应理解,上述对数据#1的说明是为了具体解释UE2所请求的数据在UE2切换至目标接入网设备前后的处理。为作区分,下述将UE2切换至目标接入网设备后目标接入网设备从UPF接收的数据包仍称为第一数据包。
在另一种实现方式中,该SMF可以将用于传输多播数据的信息、识别规则以及转发行为规则通过N4消息发送给UPF。
SMF也可以直接将识别规则和转发行为规则发送给UPF,由UPF基于识别规则来识别接收到的多播数据对应于哪个多播群组,并基于转发行为规则确定是否对数据#1进行转发以及在哪个通道上转发。
关于识别规则和转发行为规则的具体内容在上文中已经做了详细说明,为了简洁,这里不再赘述。
在本实施例中,UPF也可以根据预先从SMF接收到的配置信息,确定对第一数据包的转发行为规则。
由于UPF从SMF接收到的配置信息中包含了多播数据和传输通道的映射关系。当UPF接收到第一数据包时,UPF首先可以根据数据#1的识别信息,确定该UE2属于多播数据所对应的多播群组。UPF可以基于UE2切换至目标接入网设备,确定对该UE2所请求的数据#1不再进行过滤,并可进一步根据SMF发送的多播数据与传输通道的映射关系,确定将该数据#1映射到哪个传输通道上传输。
或者,UPF可以基于识别规则判断目标小区中是否存在与该数据#1内容相同的多播数据内容的传输。在存在与数据#1内容相同的多播数据的情况下,UPF可以确定对该数据#1进行过滤;在不存在与该数据#1内容相同的多播数据的情况下,UPF可以确定对该数据#1不进行过滤,并可进一步根据转发行为规则中,确定将该数据#1映射到哪个传输通道上传输。
进一步可选地,该N4消息中还包括End Marker数据包的相关信息。
End Marker数据包的相关信息例如可以包括:携带多播传输通道2的标识信息的End  Marker数据包或指示创建该End Marker数据包的信息。
之所以在该End Marker数据包中携带多播传输通道2的标识信息,是因为多播传输通道2与转发隧道间具有对应关系。由于源接入网设备与目标接入网设备之间可能存在多个转发隧道,该多个转发隧道可用于发送不同终端设备的数据,比如除了UE2之外的其他终端设备的数据;还可用于发送同一终端设备在不同传输通道(如不同PDU会话)中的数据。各转发隧道可以与与各终端设备的多播传输通道对应。为了便于源接入网设备在接收到该End Marker数据包时,确定通过哪个转发隧道向目标接入网设备发送该End Marker数据包,该End Marker数据包中可以携带多播传输通道2的标识信息,以便于源接入网设备根据该多播传输通道2的标识信息确定与之对应的转发隧道。从而可以避免在错误的转发隧道发送该End Marker数据包,对其他UE的转发隧道或UE2的其他转发隧道中的数据传输造成影响。
在本申请实施例中,SMF可以自行生成该End Marker数据包,也可以指示UPF生成该End Marker数据包。若SMF指示UPF生成该End Marker数据包,则可以将多播传输通道2的标识信息指示给UPF。
该多播传输通道2的标识信息例如可以是多播专用PDU会话2的标识信息、多播专用隧道的标识信息、多播专用QoS Flow的QFI或携带了传输多播数据的指示信息的单播QoS Flow的QFI,等,本申请对此不作限定。
该多播传输通道2的标识信息还可作为用于指示传输End Marker数据包的传输通道的信息,UPF可基于该多播传输通道2的标识信息,在多播传输通道2中传输End Marker数据包。
该多播传输通道2的标识信息也可以不作为用于指示传输End Marker数据包的传输通道的信息,例如UPF可以通过PDU会话1或PDU会话2中的任意一个发送End Marker数据包。本申请对此不作限定。
上述传输通道2的标识信息的具体作用可预先定义,例如在协议中定义,本申请对此不作限定。
在步骤411中,UPF向源接入网设备发送第二End Marker数据包。相应地,在步骤411中,源接入网设备接收来自UPF的第二End Marker数据包。
在步骤412中,源接入网设备向目标接入网设备发送第一End Marker数据包。
为了便于区分和理解,这里将源接入网设备向目标接入网设备发送的End Marker数据包记为第一End Marker数据包,将UPF向源接入网设备发送的End Marker数据包记为第二End Marker数据包。如前所述,UPF可以基于SMF的指示,通过多播传输通道2发送第二End Marker数据包。
如,多播传输通道可以是多播专用PDU会话。此情况下,源接入网设备可以将在PDU会话2中接收到的第二End Marker数据包直接转发给目标接入网设备。也即,该第二End Marker数据包和第一End Marker数据包可以是相同的数据包。源接入网设备可以直接根据传输该第二End Marker数据包的传输通道来确定该第二End Marker数据包是针对哪个传输通道中的数据发送的。从而可以基于与多播传输通道2对应的转发隧道向目标接入网设备发送第一End Marker数据包。又如,多播传输通道也可以是更小粒度的通道,如多播专用隧道、多播专用QoS Flow、单播QoS Flow等。由于End Marker数据包是基于PDU 会话的粒度而发送的,因此当多播传输通道是小于PDU会话粒度的通道时,源接入网设备可能并不一定会将从UPF接收到的针对该多播数据的第二End Marker数据包直接转发给目标接入网设备,而是将该多播传输通道所属PDU会话中接收到的针对单播数据的End Marker数据包(例如记为第三End Marker数据包)发送给目标接入网设备,以指示目标接入网设备,源接入网设备停止向目标接入网设备转发数据。此情况下,第二End Marker数据包与第一End Marker数据包是不同的数据包。比如,该412步骤中的第一End Marker数据包可以是上述第三End Marker数据包。
需注意,源接入网设备如果将该多播传输通道所属PDU会话中接收到的针对单播数据的第三End Marker数据包发送给目标接入网设备,则该源接入网设备可以等待针对该PDU会话中各传输通道的数据的End Marker数据包(如上述第二End Marker数据包和第三End Marker数据包)都到达后,再将该第三End Marker数据包发送给目标接入网设备。
当然,源接入网设备也可以在针对该多播传输通道所属PDU会话中各传输通道的数据的End Marker数据包都到达后,自行生成第一End Marker数据包发送给目标接入网设备。本申请对此不作限定。
由于此情况下,源接入网设备发送给目标接入网设备的第一End Marker数据包是针对单播数据的End Marker数据包,因此目标接入网设备可以参照已有技术中的方法来处理该第一End Marker数据包。
在本实施例中,UPF也可以自行决定通过多播传输通道0或多播传输通道2来传输第二End Marker数据包。由于该第二End Marker数据包中携带多播传输通道2的标识信息,源接入网设备可以基于该多播传输通道2的标识信息,通过与之对应的转发隧道向目标接入网设备发送该End Marker数据包。
在某些可能的设计中,当UPF通过多播传输通道2发送第二End Marker数据包时,该第二End Marker数据包的包头中携带了多播传输通道2的标识信息,因此,也可以认为该第二End Marker数据包中携带了多播传输通道2的标识信息。或者,该第二End Marker数据包的净荷(payload)部分也可以携带多播传输通道2的标识信息,本申请对此不作限定。而当UPF通过多播传输通道0发送第二End Marker数据包时,该第二End Marker数据包的包头中携带了多播传输通道2的标识信息,上述多播传输通道2的标识信息可以通过该第二End Marker数据包的净荷部分来携带。
由于源接入网设备接收第二数据包的通道和接收来自UPF的第二End Marker数据包的通道并非同一个,可能使得源接入网设备发送给目标接入网设备的第一End Marker数据包和多播数据的数据包(如第二数据包)不同步,例如序列号在后的第一End Marker数据包先到达目标接入网设备,序列号在前的第二数据包后到达目标接入网设备,从而导致乱序或丢包。因此可以通过序列号的方式,保证目标接入网设备接收到多播数据的数据包不乱序、不丢包。
为便于理解和说明,这里将第二数据包中包括的该第二数据包所对应的序列号记作第一序列号。将上述第一End Marker数据包中包括的该第一End Marker数据包所对应的序列号记作第二序列号。
可以理解,该第一End Marker数据包和第二数据包都可经由源接入网设备与目标接入网设备之间的转发隧道发送至目标接入网设备。目标接入网设备可以基于数据包的序列 号之间的大小关系,确定是否转发该第二数据包,也即可以是否执行步骤413,目标接入网设备向UE2发送第二数据包。
在本实施例中,若第一序列号小于第二序列号,则目标接入网设备可以向终端设备发送该第二数据包。换言之,只要目标接入网设备从源接入网设备接收到的数据包的序列号小于第一End Marker数据包的序列号,目标接入网设备便可将从源接入网设备接收到的数据包转发给UE2。若第一序列号大于或等于第二序列号,则目标接入网设备可将从UPF接收的第一数据包发送给UE2,即执行步骤415。
下面结合具体的例子来说明源接入网设备和目标接入网设备在接收到第二数据包、第一End Marker数据包时的处理逻辑。
例如,UPF最近一次通过多播传输通道0发送多播数据的数据包的序列号为20(即,第一序列号的一例),则UPF可以通过多播传输通道2发送序列号为21(即,第二序列号的一例)的第一End Marker数据包。源接入网设备可以将该序列号为20的数据包和序列号为21的第一End Marker数据包转发给目标接入网设备。目标接入网设备在接收到序列号为21的第一End Marker数据包之后,会开始考虑发送来自UPF并且不经过源接入网设备转发的数据。换言之,目标接入网设备只需要将从源接入网设备接收到的序列号为20及之前的数据包(例如包括序列号小于或等于20的数据包)发送给终端设备。而针对序列号为21的数据包(例如包括序列号大于21的数据包),目标接入网设备可以不从源接入网设备接收。
另一种可能性是,源接入网设备在接收到序列号为21的第一End Marker数据包之后,便可以对序列号为21之后的数据包(例如包括序列号大于或等于22的数据包)不作转发。换言之,源接入网设备只需要将多播传输通道0中接收到的序列号为20及之前的数据包(例如包括序列号小于或等于20的数据包)转发给目标接入网设备。
当然,目标接入网设备也在第一End Marker数据包的序列号与从源接入网设备接收到的数据包的序列号相同的情况下,停止从源接入网设备接收多播数据的数据包,或者,源接入网设备不再向目标接入网设备转发该多播数据的数据包。为了简洁,这里不再举例说明。在步骤413中,目标接入网设备向UE2发送从源接入网设备接收到的第二数据包。
目标接入网设备可以基于上文所述的对第一序列号和第二序列号的大小关系来确定是否向UE2转发该第二数据包。从而可以避免UE2对多播数据的丢包的发生,保证多播数据的完整接收。
在步骤414中,UPF向目标接入网设备发送第一数据包。相应地,在步骤414中,目标接入网设备接收来自UPF的第一数据包。
在一种实现方式中,UPF在执行完步骤411中第二End Marker数据包的发送之后,便可以通过与目标接入网设备间的下行用户连接发送第一数据包。该UPF与目标接入网设备之间的下行用户连接也即UE2切换后的多播传输通道2。UPF可以通过切换后的多播传输通道2(以下称之为多播传输通道2’)向目标接入网设备发送第一数据包。由于该多播传输通道2为基于多播数据而创建的多播传输通道,故该第一数据包传输在多播传输通道2’中。
由于多播传输通道0和多播传输通道2’中数据包的序列号是同步的,UPF可以通过序列号来隐式地指示各数据包的先后顺序,不会造成数据包的丢失。
在步骤415中,目标接入网设备向UE2发送第一数据包。
若第一序列号大于或等于第二序列号,目标接入网设备可以向UE2发送第一数据包。换言之,如果目标接入网设备从源接入网设备接收到的数据包的序列号大于或等于第一End Marker数据包的序列号,目标接入网设备可以开始考虑将从UPF接收到的数据包转发给UE2,而不再向UE2转发从源接入网设备接收到的数据包。
可选地,若第一序列号大于或等于第二序列号,该目标接入网设备停止接收来自源接入网设备数据包;或者,向源接入网设备发送第一指示,该第一指示用于指示源接入网设备停止发送多播数据;或者,通知源接入网设备不再从源接入网设备接收多播数据。
此后,目标接入网设备可以执行步骤415,将从UPF接收到的第一数据包发送给UE2。因此,第一数据包所对应的序列号(例如记作第三序列号)可以大于或等于第二序列号。
也就是说,目标接入网设备可以一直执行上述步骤413,直到第一序列号大于或等于第二序列号,目标接入网设备此后可以执行步骤415。当然,目标接入网设备也可能跳过步骤413,直接执行步骤415。比如在第一序列号大于或等于第二序列号的情况下。
下面结合具体的例子来说明目标接入网设备在接收到来自源接入网设备的第二数据包、第一End Marker数据包和第一数据包时的处理逻辑。比如,UPF通过多播传输通道0发送的序列号为19、20(即,第一序列号的两例)的数据包还未到达源接入网设备,但UPF通过多播传输通道2发送的序列号为21(即,第二序列号的一例)的End Marker数据包已经到达源接入网设备。目标接入网可能先接收到序列号为21的End Marker数据包,再接收到序列号为19、20的数据包。由于序列号20小于21,则目标接入网设备可以继续向UE2发送来自源接入网设备的数据包,直到将序列号20的数据包发送完。此后,目标接入网设备不再通过该转发隧道从源接入网设备接收数据包。可选地,目标接入网设备可以就此释放与源接入网设备之间的转发隧道,或者,也可以在后续步骤419发送资源释放请求消息之后,释放与源接入网设备之间的转发隧道。本申请对此不作限定。
另一方面,由于UPF通过多播传输通道2发送完序列号为21的End Marker数据包之后可能进一步通过多播传输通道2’发送第一数据包。UPF通过多播传输通道2’发送的第一数据包可以从序列号22(即,第三序列号的一例)开始发送,也可以从序列号22之前(即,第三序列号的又一例)的数据包开始发送,本申请对此不作限定。目标接入网设备可以先将从多播传输通道2’接收到的数据包缓存在本地,待到完成了序列号为20的数据包的发送后,从序列号22的数据包开始继续发送。
也就是说,目标接入网设备一方面可以将来自多播传输通道2’中的数据包缓存在本地,另一方面可以将来自源接入网设备的来自多播传输通道0中的数据包转发给UE2。直到来自多播传输通道0中的数据包的序列号大于或等于第一End Marker数据包的序列号,目标接入网设备可以停止对来自源接入网设备的数据包(也即多播数据的数据包)的转发,继而将来自多播传输通道2’中的数据包(也即第一数据包)发送给UE2。此后,目标接入网设备向UE2发送的数据包是从多播传输通道2’中接收到的数据包。
可以理解,上述多播传输通道2’和源接入网设备与目标接入网设备之间的转发隧道可以是同一PDU会话的直接转发路径(direct forwarding path)和间接转发路径(indirect forwarding path),也可以是两个不同的专用的传输隧道,此处不予限定。
在另一种实现方式中,UPF也可以通过多播传输通道0发送第二End Marker数据包。 因此,UPF在接收到来自SMF的N4消息后,便可以通过与目标接入网设备的下行用户连接传输数据。也就是说,该步骤414并不一定在步骤413之后执行,也可以在步骤410之后执行。
在这种实现方式中,目标接入网设备接收到的数据包也可能会发生乱序。目标接入网设备仍然可以根据接收到的数据包的序列号来确定是继续向UE2发送来自源接入网设备的第二数据包,还是向UE2发送在多播传输通道2’中接收到的第一数据包。具体内容可参考上文描述,为了简洁,这里不再赘述。
应理解,上文所述两种实现方式中对步骤411至步骤414的执行顺序略有不同,但这仅为不同的实现方式,不应对本申请构成任何限定。
在步骤416中,UPF向SMF发送N4消息,该N4消息可理解为是对步骤411中的第四消息的响应,可用于指示UE2的多播传输通道上的数据传输的配置完成。相应地,在步骤416中,SMF接收来自UPF的N4消息。
在步骤417中,SMF向AMF发送N11消息,该N11消息可理解为是对步骤410中的第三消息的响应,可用于指示路径切换完成。相应地,在步骤417中,AMF接收来自SMF的N11消息。
与步骤410对应,该N11消息可以是N smf接口PDU会话更新会话管理上下文响应(N smf_PDUSession_UpdateSMContext Response)消息。
在步骤418中,AMF可以向目标接入网设备发送N2消息,该N2消息可以理解为是对步骤408中的N2消息的响应,可用于指示路径切换完成。相应地,在步骤418中,目标接入网设备接收来自AMF的N2消息。
与步骤408对应,该N2消息可以是路径切换响应(path switch response)消息。
应理解,步骤418可以是Xn切换场景下执行的步骤。在N2切换场景下,该步骤418并不一定执行。
在步骤419中,目标接入网设备向源接入网设备发送资源释放请求消息,以请求释放UE2的上下文。相应地,在步骤419中,源接入网设备接收来自目标接入网设备的资源释放请求消息。
在本实施例中,UE2的上下文例如可以转发隧道的资源。因此释放UE2的上下文可以包括释放转发隧道的资源。
应理解,步骤419可以是Xn切换场景下执行的步骤。在N2切换场景下,该步骤419并不一定执行。
由此,目标接入网设备与源接入网设备间的转发隧道得以释放。
基于上文所述的方法,UE2在接收多播数据的同时完成了切换。源接入网设备在向目标接入网设备请求切换的同时,将用于传输多播数据的信息发送给目标接入网设备,以便于目标接入网设备基于该信息向UE2转发该多播数据,并在路径切换后向UE2发送该多播数据或者与该多播数据内容相同的数据,从而可以避免对多播数据的数据包的丢失,有利于获得完整的数据。保证了UE2在多播数据的接收过程中无延迟的切换,同时保证了数据传输性能。
为了更好地理解本实施例,下面结合图5所示的例子来说明上述方法400。图5所示的示例中,传输通道为PDU会话,其中,传输通道0的具体形式可以是UE1的PDU会 话1,传输通道2的具体形式可以是UE2的PDU会话2。
如图5所示,在图5的a)中,UE1和UE2均为驻留在源小区中的终端设备。此时,PDU会话1和PDU会话2均为建立在源接入网设备与UPF之间的传输通道。UPF可以通过UE1的PDU会话1向源接入网设备发送多播数据。源接入网设备将接收到的多播数据发送给源小区中与该多播数据对应的多播群组中的终端设备,比如包括上述UE1和UE2。
在本实施例中,PDU会话1的序列号与PDU会话2的序列号可以同步。比如,UPF在更新PDU会话1的序列号时,可以同步更新PDU会话2的序列号。
在图5的b)中,UE2由源接入网设备切换至目标接入网设备,或者说,由源小区切换到目标小区。源接入网设备可以将PDU会话1中接收到的多播数据的数据包(例如上述第二数据包)通过源接入网设备与目标接入网设备之间的转发隧道转发给目标接入网设备。目标接入网设备继而将从转发隧道接收到的第二数据包发送给UE2。
在图5的c)中,UPF可以在PDU会话2中发送针对多播数据的End Marker数据包1,并可并行地在PDU会话1中发送多播数据的数据包。源接入网设备从PDU会话2中接收到该End Marker数据包1后,便可与从PDU会话1中接收到的多播数据的数据包一起发送给目标接入网设备。目标接入网设备可以将从源接入网设备接收到的多播数据的数据包继续发送给UE2,直到该End Marker数据包的序列号小于多播数据的数据包的序列号,目标接入网设备可以停止从源接入网设备接收该多播数据的数据包。
在图5的d)中,不同于a)、b)、c)中所示,PDU会话2的传输路径发生了改变,不再是建立在UPF和源接入网设备之间的传输通道,而是建立在UPF和目标接入网设备之间的传输通道。UPF可以通过PDU会话2向目标接入网设备发送数据#1的数据包(例如上述第一数据包)。
在图5的e)中,源接入网设备与目标接入网设备之间的转发隧道已被释放。目标接入网设备将接收到的数据#1的数据包发送给UE2。
由此,UE2在切换到目标接入网设备的同时,仍然可以保证对多播数据的完整接收。
图6是本申请另一实施例提供的切换方法600的示意性流程图。如图6所示,该方法600可以包括步骤601至步骤619。下面对方法600中的各步骤做详细说明。
在步骤601中,源小区中属于同一多播群组的各终端设备接收多播数据。
应理解,步骤601的具体过程与上文方法400中的步骤401的具体过程相同,为了简洁,这里不再重复。
在本申请实施例中,各终端设备可以通过已有的传输通道(如,PDU会话)来接收上述多播数据,也可以基于上述多播数据的传输创建传输通道,进而基于新创建的传输通道接收上述多播数据。
可选地,在步骤601之前,该方法600还包括:源小区中的各终端设备创建传输通道。
在本申请实施例中,该传输通道为用于传输多播数据的由UPF到源接入网设备的传输通道。各终端设备创建的传输通道可用于传输各终端设备请求的数据。例如,UE2的传输通道可用于传输UE2请求的数据。
示例性地,传输通道例如可以包括但不限于:PDU会话、隧道、QoS Flow或其他可用于传输数据的通道。
该源小区中的终端设备例如可以包括但不限于UE1和UE2。各终端设备可以各自创 建传输通道,以便传输数据。例如,UE1可以创建传输通道1,UE2可以创建传输通道2。各终端设备创建传输通道的具体过程可以参考现有技术,为了简洁,这里不做详述。
在本实施例中,传输通道1可以是单播传输通道,也可以是多播传输通道。与之相似,传输通道2可以是单播传输通道,也可以是多播传输通道。本申请对此不做限定。
假设该源小区中的UE1和UE2请求的数据内容相同,因此UPF可以对传输通道1和传输通道2中内容相同的数据进行合并,通过多播的方式来向源小区中的UE1和UE2发送该数据。该UE1和UE2属于同一个多播群组。UPF通过多播的方式为该多播群组发送数据。该多播群组对应的数据可以称为多播数据。
应理解,本实施例中仅为便于理解和说明,假设源小区中接收多播数据的终端设备包括UE1和UE2,但这不应对本申请构成任何限定。接收多播数据的终端设备可以包括更多数量的终端设备,例如还可以包括源小区中的其他终端设备和/或其他小区中的终端设备。本申请对该多播群组中终端设备的数量不作限定。
在本实施例中,对于源小区中接收多播数据的终端设备来说,该多播数据可以通过UE1或UE2中任一个的传输通道来传输,或者,该多播数据可以通过网络建立的专门用于传输此多播数据的多播共享传输通道来传输。
为便于说明,本实施例中假设传输该多播数据的传输通道为传输通道0。该传输通道0例如可以是UE1的传输通道1,也可以是上述单独建立的多播共享传输通道。
作为一个示例,该多播数据可以承载在某一PDU会话的一个隧道中的一个QoS Flow上。
该PDU会话例如可以是UE1的PDU会话,也可以是单独为该多播数据建立的多播专用PDU会话。本申请对此不作限定。
可选地,该PDU会话是多播专用PDU会话;该PDU会话可以是基于多播数据创建的PDU会话;上述隧道是基于多播数据创建的隧道,上述QoS Flow可以是专用于承载多播数据的QoS Flow。
可选地,该PDU会话是单播PDU会话;上述隧道是多播专用隧道。该隧道可以是基于多播数据创建的多播专用隧道;上述QoS Flow可以是专用于承载多播数据的QoS Flow,也可以是用于承载单播数据的QoS Flow,但携带了指示信息,该指示信息用于指示该QoS Flow中承载了多播数据。
可选地,该PDU会话是单播PDU会话;上述隧道是单播隧道,上述QoS Flow是专用于承载多播数据的QoS Flow。
可选地,该PDU会话是单播PDU会话;上述隧道是单播隧道,上述QoS Flow是用于承载单播数据的QoS Flow,但携带了指示信息,该指示信息用于指示该QoS Flow中承载了多播数据。
由于UPF通过多播的方式通过传输通道0发送与数据#1内容相同的多播数据,传输通道2中并未传输该UE2请求的数据(例如记为数据#1),也未传输多播数据。
图中虽未示出,但可以理解,由于UE2还可以并行地接收其他数据,如其他单播数据和/或多播数据,故该传输通道2中也可以传输除数据#1和多播数据之外的其他数据。本申请对此不作限定。
UE2通过传输通道2接收其他数据的具体过程可以与现有技术相同,为了简洁,这里 不作详述。
在步骤603中,源接入网设备根据UE2上报的测量报告确定UE2需要切换。
在步骤604中,源接入网设备向目标接入网设备发送第一消息,该第一消息用于请求为UE2切换至目标接入网设备建立资源。相应地,在步骤604中,目标接入网设备接收来自源接入网设备的第一消息。
可选地,该第一消息中携带用于传输多播数据的信息。这里,用于传输多播数据的信息具体可以包括:多播数据的数据标识、多播群组的标识、多播会话的标识、多播PDU会话的标识、多播隧道的标识、多播数据的识别信息,或QFI等可用于识别多播数据(或者说,该多播数据所对应的多播群组)的信息。上文方法400中对用于传输多播数据的信息做了详细说明,为了简洁,这里不再重复。
在步骤605中,目标接入网设备向源接入网设备发送第二消息,该第二消息用于指示目标接入网设备上建立的资源。相应地,在步骤605中,源接入网设备接收来自目标接入网设备的第二消息。
在本实施例中,目标接入网设备上已建立的资源包括为UE2切换到目标接入网设备而建立的资源。
可选地,该UE2接入目标接入网设备的相关信息包括接入网隧道信息,该接入网隧道信息可用于指示用于转发多播数据的转发隧道的标识,或者可以用于指示传输层的地址(transport layer address)以及GTP隧道端点标识(GTP-tunnel endpoint identifier,GTP-TEID)。在本实施例中,该转发隧道可用于源接入网设备向目标接入网设备转发多播数据。
在步骤606中,UE2从源接入网设备切换至目标接入网设备。
在步骤607中,源接入网设备通过转发隧道向目标接入网设备转发多播数据的数据包。相应地,在步骤607中,目标接入网设备通过转发隧道接收来自源接入网设备的数据包。
应理解,在本实施例中,源接入网设备可以从传输通道0中接收该多播数据,因此,源接入网设备通过转发隧道向目标接入网设备转发的多播数据的数据包也即通过传输通道0接收到的数据包。与方法400相似,源接入网设备从传输通道0接收到的多播数据的数据包可以记为第二数据包,该目标接入网设备通过转发隧道接收到的来自源接入网设备的多播数据的数据包也为第二数据包。
可选地,在步骤608中,目标接入网设备可以向UE2发送从源接入网设备接收到的第二数据包。相应地,在步骤608中,UE2接收来自目标接入网设备的第二数据包。
在步骤609中,目标接入网设备向AMF发送N2消息,该N2消息用于通知UE2的空口切换已完成。相应地,在步骤609中,AMF接收来自目标接入网设备的N2消息。
在步骤610中,AMF向SMF发送第三消息,该第三消息用于指示上述用于传输多播数据的信息。相应地,在步骤610中,SMF接收来自AMF的第三消息。
AMF可以通过第三消息请求SMF配置UE2的传输通道2上的数据的传输。该传输通道2可用于传输UE2请求的数据,即数据#1。而数据#1对应于上述用于传输多播数据的信息,也即与上述多播数据是内容相同的数据,故也可以认为该第三消息是用于请求SMF配置多播数据的传输。
该第三消息可以是N11消息。
应理解,步骤602至步骤607以及步骤609至步骤610的具体过程与上文方法400中的步骤402至步骤409的具体过程相同,可参考上文中步骤402至步骤409的相关描述,为了简洁,这里不再重复。
在步骤611中,SMF向UPF发送第四消息,该第四消息用于配置多播数据的传输。相应地,在步骤611中,UPF接收来自SMF的第四消息。
该第四消息可以是N4消息。
在本实施例中,可选地,该第四消息中可以包括以下一项或多项:针对数据#1的转发行为的指示、用于传输多播数据的信息、识别规则、转发行为规则,以及结束标记(End Marker)数据包的相关信息。
其中,针对数据#1的转发行为规则的指示、用于传输多播数据的信息、对数据#1的转发规则的具体内容可参考上文方法400中的步骤410中的相关描述,为了简洁,这里不再重复。
在本实施例中,End Marker数据包可以包括针对传输通道0中传输的多播数据而创建的End Marker数据包,还可以包括针对传输通道2中传输的其他数据而创建End Marker数据包。为便于区分,将针对多播数据创建的End Marker数据包记为End Marker数据包1,将针对传输通道2中传输的其他数据而创建的End Marker数据包记为End Marker数据包2。若传输通道2中传输的其他数据包括单播数据,则针对传输通道2中的单播数据创建End Marker数据包2的具体过程为现有技术,为了简洁,这里不做详述。若传输通道2中传输的其他数据包括多播数据,则针对传输通道2中的多播数据创建End Marker数据包2的具体过程与本实施例中针对多播数据创建End Marker数据包1的具体过程相同,可以参考本实施例流程来实现。可以理解,当传输通道2中传输的其他数据既包括单播数据有包括多播数据时,针对传输通道2中传输的其他数据而创建的End Marker数据包2可以为多个。本申请对此不作限定。
在本实施例中,上述End Marker数据包的相关信息具体可以是指End Marker数据包1的相关信息。该End Marker数据包1的相关信息例如可以包括:携带传输通道2的标识信息的End Marker数据包1或指示创建该End Marker数据包1的信息。
需要说明的是,End Marker数据包1在传输通道0传输,却携带传输通道2的标识信息的原因是:
一方面,传输通道2与转发隧道间具有对应关系。具体来说,由于源接入网设备与目标接入网设备之间可能存在多个转发隧道,该转发隧道可用于发送不同终端设备的数据,比如除了UE2之外的其他终端设备的数据,也可用于发送UE2在其他传输通道中传输的数据。各转发隧道可以与各UE的传输通道对应。为了便于源接入网设备在接收到该End Marker数据包1时,确定通过哪个转发隧道向目标接入网设备发送该End Marker数据包1,该End Marker数据包1中可以携带传输通道2的标识信息,以便于源接入网设备根据该传输通道2的标识信息确定与之对应的转发隧道。从而可以避免在错误的转发隧道发送该End Marker数据包1,对其他终端设备的转发隧道或UE2的其他转发隧道中的数据传输造成影响。另一方面,可以避免对该多播群组中的其他终端设备(如UE1)的数据传输造成影响。由于该传输通道0中传输的多播数据是发送给与之对应的多播群组的。源接入 网设备并不因接收到End Marker数据包1而中断向源小区中属于该多播群组中的其他传输通道发送多播数据。若在该End Marker数据包1中携带传输通道2的标识信息,接收到该End Marker数据包1的源接入网设备便可以确定,不需要再继续通过与该传输通道2对应的转发隧道向目标接入网设备转发多播数据,而不会影响其他终端设备接收该多播数据。目标接入网设备也可以基于对End Marker数据包1的接收,确定不再从转发隧道接收多播数据。
在本申请实施例中,End Marker数据包1可以由SMF生成并发送至UPF,也可以由SMF指示UPF生成。本申请对此不作限定。若SMF指示UPF生成End Marker数据包1,则SMF可以向UPF发送指示创建End Marker数据包1的信息。例如,SMF可以将传输通道2的标识信息发送给UPF,以便于UPF创建携带该传输通道2的标识信息的End Marker数据包1。
可选地,SMF还可以进一步指示UPF在哪个传输通道上发送该End Marker数据包1。在本实施例中,SMF可以指示UPF在传输通道0中发送该End Marker数据包1。由于经传输通道0到达源接入网设备的多播数据的数据包和End Marker数据包的先后顺序与UPF发送的先后顺序一致,故不会出现乱序或丢包的情况。可选地,源接入网设备便可以确定在接收到End Marker数据包1之后,不再通过转发隧道向目标接入网设备转发多播数据。
在步骤612中,UPF向源接入网设备发送第二End Marker数据包。相应地,在步骤612中,源接入网设备接收来自UPF的第二End Marker数据包。
在步骤613中,源接入网设备向目标接入网设备发送第一End Marker数据包。相应地,在步骤613中,目标接入网设备接收来自源接入网设备的第一End Marker数据包。
如前所述,UPF可以在传输通道0中发送针对多播数据的End Marker数据包1,还可以在传输通道2中发送针对其他数据的End Marker数据包2。应理解,End Marker数据包1和End Marker数据包2并不一定是同时发送的,本申请对于End Marker数据包1和End Marker数据包2的发送顺序并不做限定。
源接入网设备可以通过转发隧道向目标接入网设备发送第一End Marker数据包。与方法400所示的实施例相似,源接入网设备向目标接入网设备发送的第一End Marker数据包可能是从UPF接收到的针对多播数据的第二End Marker数据包;也可能是基于从UPF接收到的针对多播数据的第二End Marker数据包(也即上述End Marker数据包1)和针对单播数据的End Marker数据包(也即上述End Marker数据包2),而发送的针对单播数据的End Marker数据包2。也即,该第一End Marker数据包与第二End Marker数据包可以是相同的End Marker数据包,也可以是不同的End Marker数据包。本申请对此不做限定。
一种可能的方式是,UPF在传输通道0(比如PDU会话0)中发送针对多播数据的End Marker数据包1,还可以在传输通道2(比如PDU会话2)中发送针对其他数据的End Marker数据包2。源接入网设备可以将接收到的End Marker数据包1和End Marker数据包2直接转发给目标接入网设备。目标接入网设备在接收到End Marker数据包1和End Marker数据包2之后,便可以确定不再从转发隧道接收数据。
另一种可能的方式是,UPF可以在传输通道0(比如PDU会话0中的一个多播专用 QoS Flow)中发送针对多播数据的End Marker数据包1,还可以在传输通道2(比如PDU会话2中的一个单播QoS Flow)中发送针对其他数据(如单播QoS Flow中传输的单播数据)的End Marker数据包2。源接入网设备可以在接收到End Marker数据包1和End Marker数据包2后,可以向目标基站发送单播QoS Flow中的End Marker数据包2,而不发送多播专用QoS Flow中的End Marker数据包1。目标接入网设备在接收到End Marker数据包2之后,便可以确定不再从转发隧道接收数据。此情况下,源接入网设备在转发End Marker数据包2之前,需要确保通过多播专用QoS Flow和单播QoS Flow传输的数据包都不再需要通过源接入网设备转发,比如在接收到来自UPF的End Marker数据包1和End Marker数据包2之后发送。
在后一种实现方式中,源接入网设备向目标接入网设备不发送针对多播数据的End Marker数据包,即End Marker数据包1,而只发送针对单播数据的End Marker数据包,即End Marker数据包2。因此目标接入网设备可以参照已有技术中的方法来处理该End Marker数据包。
可选地,目标接入网设备在接收到第一End Marker数据包之后,可以就此释放与源接入网设备之间的转发隧道,或者,也可以在后续步骤619发送资源释放请求消息之后,释放与源接入网设备之间的转发隧道。本申请对此不作限定。
需要说明的是,由于UPF向源接入网设备发送第二End Marker数据包的传输通道和发送第二数据包的传输通道为同一个传输通道,通常情况下,源接入网设备对数据包的接收顺序与UPF的发送顺序是一致的。因此目标接入网设备可以在接收到第一End Marker数据包之后,停止从源接入网设备接收第二数据包。
在步骤614中,UPF向目标接入网设备发送数据#1的数据包。相应地,在步骤614中,目标接入网设备接收来自UPF的数据包。
UPF在向目标接入网设备发送了End Marker数据包1之后,便可以确定目标接入网设备不再需要从转发隧道接收多播数据的数据包。UPF随后可以通过与目标接入网设备间的下行用户连接发送数据#1的数据包。与方法400相似,该数据#1的数据包可以记为第一数据包。由于UE2的切换,传输通道2的传输路径发生了变化。UPF可以通过该传输通道2向目标接入网设备发送第一数据包。与此同时,原本通过传输通道2传输的其他数据也可以继续被发送给目标接入网设备。
在步骤615中,目标接入网设备向UE2发送第一数据包。
目标接入网设备在接收到End Marker数据包1之后,便可以向UE2发送从传输通道2中接收到的第一数据包。
在步骤616中,UPF向SMF发送N4消息,该N4消息可理解为是对步骤611中的第四消息的响应,可用于指示UE2的多播数据的传输的配置完成。相应地,在步骤616中,SMF接收来自UPF的N4消息。
在步骤617中,SMF向AMF发送N11消息,该N11消息可理解为是对步骤410中的第三消息的响应,可用于指示路径切换完成。相应地,在步骤617中,AMF接收来自SMF的N11消息。
与步骤610对应,该N11消息可以是N smf接口PDU会话更新会话管理上下文响应(N smf_PDUSession_UpdateSMContext Response)消息。
AMF可以在步骤618中向目标接入网设备发送N2消息,该N2消息可以理解为是对步骤609中的N2消息的响应,可用于指示路径切换完成。相应地,目标接入网设备可以在步骤618中接收来自AMF的N2消息。
应理解,与上文方法400中的步骤418相同,步骤618可以是Xn切换场景下执行的步骤。在N2切换场景下,该步骤618并不一定执行。
与步骤609对应,该N2消息可以是路径切换响应(path switch response)消息。
在步骤619中,目标接入网设备向源接入网设备发送资源释放请求消息,以请求释放UE2的上下文。相应地,在步骤619中,源接入网设备接收来自目标接入网设备的资源释放请求消息。
在本实施例中,UE2的上下文例如可以转发隧道的资源。因此释放UE2的上下文可以包括释放转发隧道的资源。
应理解,步骤619可以是Xn切换场景下执行的步骤。在N2切换场景下,该步骤619并不一定执行。
由此,目标接入网设备与源接入网设备间的转发隧道得以释放。
基于上文所述的方法,UE2在接收多播数据的同时完成了切换。源接入网设备在向目标接入网设备请求切换的同时,将用于传输多播数据的信息发送给目标接入网设备,以便于目标接入网设备基于该信息向UE2转发该多播数据,并在路径切换后向UE2发送内容相同的数据#1,从而可以避免对多播数据的数据包的丢失,有利于获得完整的数据。保证了UE2在多播数据的接收过程中无延迟的切换,同时保证了数据传输性能。
为了更好地理解本实施例,下面结合图7所示的例子来说明上述方法600。图7所示的示例中,传输通道为PDU会话,其中,传输通道0的具体形式可以是UE1的PDU会话1,传输通道2的具体形式可以是UE2的PDU会话2。
如图7所示,在图7的a)中,UE1和UE2均为驻留在源小区中的终端设备。此时,PDU会话1和PDU会话2均为建立在源接入网设备与UPF之间的传输通道。UPF可以通过UE1的PDU会话1向源接入网设备发送多播数据。源接入网设备可以将接收到的多播数据发送给源小区中与该多播数据对应的多播群组中的终端设备,比如包括上述UE1和UE2。
在图7的b)中,UE2由源接入网设备切换至目标接入网设备,或者说,由源小区切换到目标小区。源接入网设备可以将PDU会话1中接收到的多播数据的数据包(例如上述第二数据包)通过源接入网设备与目标接入网设备之间的转发隧道转发给目标接入网设备。目标接入网设备继而可以将从转发隧道接收到的第二数据包发送给UE2。
在图7的c)中,UPF可以在PDU会话1中发送针对多播数据的End Marker数据包1,还可以在PDU会话2中发送针对其他数据的End Marker数据包2。源接入网设备可以通过转发隧道向目标接入网设备转发上述End Marker数据包1和End Marker数据包2。
应理解,图中所示仅为示意。End Marker数据包1和End Marker数据包2并不一定是同时发送的,本申请对于End Marker数据包1和End Marker数据包2的发送顺序并不做限定。
在图7的d)中,不同于a)、b)、c)中所示,PDU会话2的传输路径发生了改变,不再是建立在UPF和源接入网设备之间的传输通道,而是建立在UPF和目标接入网设备 之间的传输通道。UPF可以通过PDU会话2向目标接入网设备发送数据#1的数据包(例如上述第一数据包)和其他数据的数据包。目标接入网设备将接收到的数据#1的数据包和其他数据的数据包发送给UE2。
由此,UE2在切换到目标接入网设备的同时,仍然可以保证对多播数据的完整接收。
图8是本申请又一实施例提供的切换方法800的示意性流程图。如图8所示,该方法800可以包括步骤801至步骤811。下面对方法800中的各步骤做详细说明。
在步骤801中,UPF向源接入网设备和目标接入网设备发送多播数据。相应地,在步骤801中,源接入网设备和目标接入网设备分别接收来自UPF的多播数据。
假设源小区中的UE1和UE2请求的数据内容相同,应用服务器可以基于源小区中的UE对数据的请求,将请求的数据发送至UPF。UPF可以通过IP多播(IP multicast)的方式或者通过多播传输通道,向源接入网设备发送数据。该数据即多播数据。
与此同时,目标小区中的终端设备也可以请求多播数据。UPF也可以通过IP multicast的方式或多播传输通道向目标接入网设备发送多播数据。在本实施例中,为便于区分和说明,将目标接入网设备从UPF接收到而未经由源接入网设备转发的该多播数据的数据包记作第一数据包。
一示例,UPF通过IP multicast的方式发送多播数据。
应理解,IP multicast技术中,源主机可以向多个目标主机发送数据。这多个目标主机可以称为组播组。当组播组中的目标主机请求数据时,源主机只需要发送一份数据,并将数据的目的地址设置为组播组的地址。这样,凡是属于该组播组的成员,都可以接收到一份源主机发送的数据的拷贝。
在本实施例中,一种方案是,若UPF希望通过IP multicast的方式向源接入网设备发送多播数据,可以将该多播数据的目的地址设置为源接入网设备的地址。若UPF希望通过IP multicast的方式向其他设备发送多播数据,也可以将该多播数据的目的地址设置为其他设备的地址。或者另一种方案是,若UPF希望通过IP multicast的方式向源接入网设备发送多播数据,可以将该多播数据的目的地址设置为多播数据对应的IP多播地址。若UPF希望通过IP multicast的方式向其他设备发送多播数据,也可以将该多播数据的目的地址也设置为多播数据对应的IP多播地址。
该多播数据的目的地址可以为多个。多播数据可以经由不同的路径到达不同的设备。例如,多播数据自UPF发出后经由一个或多个路由器的转发到达源接入网设备的路径可以记为路径1。多播数据自UPF发出后经由一个或多个路由器的转发到达目标接入网设备的路径可以记为路径2。本申请对于UPF发送多播数据的目的地址不作限定。UPF在向源接入网设备发送多播数据的同时,还可以向其他设备发送该多播数据。
由于UPF只需发送一份数据,该数据便可到达多个设备。因此UPF发送的数据包可以认为是天然同步的。只是发送至不同的接入网设备的路径中,经历了不同的路由器的转发,到达的时间可能会不一致。但可以理解,只要UPF发送了某一数据包,在传输路径无异常的情况下,数据包都会到达接入网设备。
另一示例,UPF通过多播传输通道发送多播数据。该多播数据可以经由UPF和源接入网设备之间的多播传输通道到达源接入网设备。
如前所述,该多播传输通道例如可以包括但不限于,多播专用PDU会话、多播专用 隧道、多播专用QoS Flow、携带传输多播数据指示信息的单播QoS Flow,或其他可专门用于传输多播数据的通道。
一种可能性是,UPF在通过不同的多播传输通道向不同的接入网设备发送数据时,各多播传输通道中的数据包的序列号是同步的(例如,针对不同的接入网设备,在某一时刻,发送出的数据包的序列号是相同的)。
另一种可能性是,UPF在通过不同的多播传输通道向不同的接入网设备发送数据也可以是不同步的(例如,针对不同的接入网设备,在某一时刻,发送出的数据的序列号是不同的),但是UPF会维护UPF到每一个接入网设备的数据包的序列号,也就是维护每个多播传输通道中的数据包的序列号。这样,UPF可以针对路径状态的不同,动态调整数据传输的速率。
可以理解,如果不同的多播传输通道承载的多播数据的序列号相同,那么在不同的多播传输通道中承载的数据包的净荷部分的内容可以是相同的。
在步骤802中,源接入网设备向该多播群组中的各UE发送该多播数据。相应地,在步骤802中,该多播群组中的各UE接收多播数据。
在步骤803中,源接入网设备根据UE2上报的测量报告确定UE2需要切换。
在步骤804中,源接入网设备向目标接入网设备发送第一消息,该第一消息用于请求将为UE2切换至目标接入网设备建立资源。相应地,在步骤804中,目标接入网设备接收来自源接入网设备的第一消息。
可选地,该第一消息中携带用于传输多播数据的信息。
在步骤805中,目标接入网设备向源接入网设备发送第二消息,该第二消息用于指示目标接入网设备上建立的资源。相应地,在步骤805中,源接入网设备接收来自目标接入网设备的第二消息。
在本实施例中,目标接入网设备上建立的资源可以包括为UE2切换到目标接入网设备而建立的资源。
可选地,该第二消息中携带接入网隧道信息,该接入网隧道信息可用于指示用于转发多播数据的转发隧道的标识。在本实施例中,该转发隧道可用于源接入网设备向目标接入网设备转发多播数据。示例性地,该转发隧道可以是针对多播传输通道创建的转发隧道,或者,该转发隧道可以用于传输该多播传输通道上的数据。
在步骤806中,UE2从源接入网设备切换至目标接入网设备。
在步骤807中,源接入网设备通过转发隧道向目标接入网设备转发在路径1中接收到的数据包。相应地,在步骤807中,目标接入网设备通过转发隧道接收来自源接入网设备的数据包。
为便于区分和说明,将目标接入网设备通过转发隧道接收到的来自源接入网设备的数据包例如记为第二数据包。该第二数据包也是上述多播数据的数据包。
目标接入网设备在某一段时间可能可以从源接入网设备和UPF分别接收到多播数据的数据包。其中,从源接入网设备接收到的多播数据的数据包是通过路径1传输的第二数据包,从UPF接收到的多播数据的数据包是通过路径2传输的第一数据包。
这里,路径1可以包括UPF和源接入网设备之间的一个或多个路由器,也可以是指UPF和源接入网设备之间的多播传输通道。与之相似,路径2可以包括UPF和目标接入 网设备之间的一个或多个路由器,也可以是指UPF和目标接入网设备之间的多播传输通道。本申请对此不作限定。
在步骤809中,目标接入网设备向UE2发送数据包。
如前所述,路径1和路径2中所经历的路径不同。例如,路由器可能不同,数量也可能不同;又例如,传输通道不同。这可能会导致路径1和路径2中对数据包的传输速率不同。在本实施例中,目标接入网设备可以将路径2上接收到的数据包暂时缓存在本地。根据从两个路径接收到的数据包的序列号的大小关系来判断向UE2转发哪个数据包。
例如,从源接入网设备接收到的第二数据包的序列号(例如第一序列号)小于从路径2接收到的第一数据包的序列号(例如记为第三序列号)时,便可以判断路径2的数据包的传输速率较快。处于第一序列号与第三序列号间的序列号所对应的数据包未被接收到。若此时释放该转发隧道,目标接入网设备将会丢失部分数据包。因此在第一序列号小于第三序列号的情况下,目标接入网设备可以继续转发来自源接入网设备的第二数据包。
示例性地,在从源接入网设备接收到的第二数据包的第一序列号大于或等于从路径2接收到的第一数据包的第三序列号时,便可以判断在路径2的序列号之前的来自源接入网设备的数据包已经被成功接收。若此时释放该转发隧道,目标接入网设备不会丢失数据包。因此在第一序列号大于或等于第三序列号的情况下,目标接入网设备可以转发来自路径2的第一数据包,而不再需要通过转发隧道接收来自源接入网设备的第二数据包。
在步骤810中,源接入网设备停止向目标接入网设备转发数据包。
源接入网设备可以基于多种不同的条件,停止向目标接入网设备转发数据包。
在一种实现方式中,目标接入网设备在确定路径1的序列号大于或等于路径2的序列号的情况下,向源接入网设备发送资源释放请求消息,以请求释放UE2的上下文。源接入网设备可以基于接收到的资源释放请求消息,停止向目标接入网设备转发数据包。
这里,目标接入网设备可以直接向源接入网设备发送资源释放请求消息,可以通过核心网设备的转发向源接入网设备发送该资源释放请求消息。这取决于该目标接入网设备与源接入网设备是否支持Xn接口的通信。例如,若目标接入网设备和源接入网设备支持Xn接口的通信,则该目标接入网设备可以直接向源接入网设备发送资源释放请求消息,该资源释放请求消息为Xn接口消息。若目标接入网设备和源接入网设备不支持Xn接口的通信,则该目标接入网设备可以经由核心网网元,如AMF,向源接入网设备发送资源释放请求消息,该资源释放请求消息为N2消息。
在另一种实现方式中,核心网设备可以自行确定是否释放UE2的上下文资源。比如,AMF可以自行向源接入网设备发送资源释放请求消息。源接入网设备可以基于该资源释放请求消息,停止向目标接入网设备转发数据包,释放UE2的上下文。
在又一种实现方式中,源接入网设备可以基于本地计时器所计时长来确定是否释放UE2的上下文。例如,源接入网设备可以在本地计时器超时(或者说,过期)后,自动释放UE2的上下文。源接入网设备也就此停止向目标接入网设备转发数据包。
在再一种实现方式中,核心网设备可以基于计时器所计时长来确定是否释放UE2的上下文。例如,AMF可以在本地计时器所计的时长达到预设门限后,向源接入网设备发送资源释放请求消息,以指示源接入网设备释放UE2的上下文。源接入网设备可以基于该资源释放请求消息,停止向目标接入网设备转发数据包,释放UE2的上下文。
可选地,上述资源释放请求消息中携带切换完成信息。源接入网设备可以基于该切换完成信息,确定可以释放UE2的上下文。源接入网设备可以基于切换完成信息,停止向目标接入网设备转发数据包,释放UE2的上下文。
可选地,该方法800还包括步骤811,源接入网设备释放UE2的上下文。
如前所述,上述释放UE2的上下文可以包括释放源接入网设备与目标接入网设备之间的转发隧道的资源。
基于上文所述的方法,UE2在接收多播数据的同时实现了小区切换。源接入网设备在向目标接入网设备请求切换的同时,将用于传输多播数据的信息发送给目标接入网设备,以便于目标接入网设备基于该信息向UE2转发多播数据,并在路径切换后向UE2发送内容相同的数据#1,从而可以避免对多播数据的数据包的丢失,有利于获得完整的数据。保证了UE2在多播数据的接收过程中无延迟的切换,同时保证了数据传输性能。
为了更好地理解本实施例,下面结合图9所示的例子来说明上述方法800。图9所示的示例中,UPF通过IP multicast的方式发送多播数据。
如图9所示,在图9的a)中,UE1和UE2均为驻留在源小区中的终端设备。此时,多播数据可以经由UPF和源接入网设备之间的一个或多个路由器的转发到达源接入网设备。即,UPF可以通过路径1向源接入网设备发送多播数据。源接入网设备可以将接收到的多播数据发送给源小区中与该多播数据对应的多播群组中的终端设备,比如包括上述UE1和UE2。
在图9的b)所示,UE2由源接入网设备切换至目标接入网设备,或者说,由源小区切换到目标小区。源接入网设备可以将路径1中接收到的第二数据包通过源接入网设备与目标接入网设备之间的转发隧道转发给了目标接入网设备。与此同时,该多播数据可以经由UPF和目标接入网设备之间的一个或多个路由器的转发到达目标接入网设备。即,UPF可以通过路径2向目标接入网设备发送该多播数据。目标接入网设备可以通过路径2接收第一数据包。
如果目标接入网设备从路径2接收到的第二数据包的序列号大于从转发隧道接收到的由路径1传输的第一数据包的序列号,目标接入网设备可以从转发隧道接收到的数据包发送给UE2,并可暂时将从路径2接收到的数据包缓存在本地。
如果目标接入网设备从路径2接收到的第二数据包的序列号小于或等于从转发隧道接收到的第一数据包的序列号,便可以停止从转发隧道接收第二数据包。
在图9的c)中,目标接入网设备可以将缓存在本地的第一数据包发送给UE2,并可继续通过路径2接收后续的数据包,将接收到的数据包转发给UE2。
由此,UE2在切换到目标接入网设备的同时,仍然可以保证对多播数据的完整接收。基于上文所述的方法,UE2在接收多播数据的同时完成了切换。源接入网设备在向目标接入网设备请求切换的同时,将用于传输多播数据的信息发送给目标接入网设备,以便于目标接入网设备基于该信息向UE2转发该多播数据,并在路径切换后向UE2发送内容相同的数据#1,从而可以避免对多播数据的数据包的丢失,有利于获得完整的数据。保证了UE2在多播数据的接收过程中无延迟的切换,同时保证了数据传输性能。
图10是本申请一实施例提供的切换方法1000的示意性流程图。如图10所示,该方法1000可以包括步骤1001至1012。下面对方法400中的各步骤做详细说明。
在步骤1001中,源小区中属于同一多播群组的各终端设备接收多播数据。
应理解,步骤601的具体过程与上文方法400中的步骤401的具体过程相同,为了简洁,这里不再重复。
在本申请实施例中,各终端设备可以通过已有的传输通道(如,PDU会话)来接收上述多播数据,也可以基于上述多播数据的传输创建传输通道,进而基于新创建的传输通道接收上述多播数据。
可选地,在方法1001之前,该方法还包括,步骤1002,源小区中的各UE创建各自的传输通道。
该源小区中的终端设备例如可以包括但不限于UE1和UE2。各终端设备可以各自创建传输通道,以便传输数据。例如,UE1可以创建传输通道1,UE2可以创建传输通道2。各UE创建传输通道的具体过程可以参考现有技术,为了简洁,这里不做详述。
在本实施例中,传输通道1可以是单播传输通道,也可以是多播传输通道。与之相似,传输通道2可以是单播传输通道,也可以是多播传输通道。本申请对此不做限定。
假设该源小区中的UE1和UE2请求的数据内容相同,因此UPF可以对传输通道1和传输通道2中内容相同的数据进行合并,通过多播的方式来向源小区中的UE1和UE2发送该数据。该UE1和UE2构成一个多播群组。UPF通过多播的方式为该多播群组发送数据。该多播群组对应的数据可以称为多播数据。
在本实施例中,对于源小区中接收多播数据的终端设备来说,该多播数据可以通过UE1或UE2中任一个的传输通道来传输,或者,该多播数据可以通过网络建立的专门用于传输此多播数据的多播共享传输通道发送来传输。本申请对此不作限定。
为便于说明,本实施例中假设传输多播数据的传输通道为传输通道0。该传输通道0例如可以是UE1的传输通道1,也可以是上述单独建立的多播共享传输通道。
关于步骤1002的具体内容可以参考上文方法600中对步骤602的详细说明,为了简洁,这里不再重复。
在步骤1003中,源接入网设备根据UE2上报的测量报告确定UE2需要切换。
在步骤1004中,源接入网设备向AMF发送N2消息,该N2消息用于通知AMF,UE2将切换到目标接入网设备。相应地,在步骤1004中,AMF接收来自源接入网设备的N2消息。
可选地,该N2消息中包含在目标接入网设备建立的传输通道(例如PDU会话等)的列表以及对应的会话中成功建立的QoS flow的列表信息。
此外,该N2消息中还可以携带切换指示。
在一种实现方式中,该切换指示用于指示UE2将由源接入网设备切换至目标接入网设备。
在另一种实现方式中,该切换指示不仅用于指示UE2将由源接入网设备切换至目标接入网设备,还用于指示UE2将由接收多播数据切换为接收单播数据。
在本实施例中,UE2在源小区中接收到的多播数据为多播数据,在切换为接收单播数据后接收到的数据为数据#1。应理解,该数据#1是与多播数据内容相同的数据。事实上,该数据#1也就是UE2请求的数据,但由于该源小区中存在内容相同的多播数据的传输而被过滤了。而在确定UE2将切换至目标接入网设备之后,源接入网设备可以确定不再向 UE2发送多播数据,而发送数据#1。
在一种可能的设计中,该N2消息为N2接口PDU会话请求(N2 PDU Session Request)消息。
在步骤1005中,AMF向SMF发送第三消息,该第三消息用于指示上述用于传输多播数据的信息,且该第三消息中携带切换指示。相应地,在步骤1005中,SMF接收来自AMF的第三消息。
AMF可以通过第三消息请求SMF配置UE2的传输通道上的数据的传输。该传输通道可用于传输UE2请求的数据,即数据#1。而数据#1对应于上述用于传输多播数据的信息,也即与上述多播数据是内容相同的数据,故也可以认为该第三消息是用于请求SMF配置多播数据的传输。
该第三消息可以是N11消息。
SMF根据第三消息确定上述用于传输多播数据的信息的具体方式可以参考上文方法400中的相关描述,为了简洁,这里不再赘述。
如前所述,在一种实现方式中,该切换指示可用于指示UE2将由源小区切换至目标接入网设备。此情况下,SMF可以根据该切换指示,确定不再过滤UE2的数据#1。也就是说,SMF也可以确定UE2由接收多播数据切换为接收单播数据。
在另一种实现方式中,该切换指示不仅用于指示UE2将由源接入网设备切换至目标接入网设备,还用于指示UE2将由接收多播数据切换为接收单播数据。
进一步地,SMF还可以根据用于传输多播数据的信息,进一步确定该数据#1被映射到哪个传输通道上。由于SMF预先保存了多播数据与传输通道的映射关系,在接收到该N11消息后,可以根据用于传输多播数据的信息确定数据#1的传输通道,也即可以确定将数据#1映射到哪个传输通道上。如前所述,数据#1原本是要通过PDU会话2传输的,但由于被过滤而未被传输。但SMF可以基于此,预先保存多播数据与PDU会话2的对应关系。因此,SMF在确定不再过滤数据#1之后,便可以确定将该数据#1映射到PDU会话2上传输。
SMF也可以不确定或者不向UPF指示将数据#1映射到哪个传输通道上,而将上述多播数据与传输通道的映射关系发送给UPF,由UPF去确定将数据#1映射到哪个传输通道上。
在一种可能的设计中,该第三消息为N smf接口PDU会话更新会话管理上下文请求(N smf_PDUSession_UpdateSMContext Request)消息。
在步骤1006中,SMF向UPF发送第四消息,该第四消息用于请求修改N4会话。相应地,在步骤1006中,UPF接收来自SMF的第四消息。
具体来说,该第四消息用于请求将UE2由接收多播数据切换为接收数据#1。这可以由UPF的配置来实现。在一种实现方式中,UPF可以对数据#1不作过滤,而将其映射到SMF所指示的传输通道上传输。
该第四消息可以是N4消息。
在一种可能的设计中,该第四消息为N4会话修改请求(N4 Session Modification Request)消息。
在步骤1007中,UPF向SMF发送N4消息,该N4消息用于指示已经完成N4会话 的修改。相应地,在步骤1007中,SMF接收来自UPF的N4消息。
该N4消息可以理解为是对步骤1006中的第三消息的响应,可用于通知SMF已经完成N4会话的修改。更具体地说,该N4消息可用于通知SMF已经将UE2由接收多播数据切换为接收单播数据。
在一种可能的设计中,该N4消息是N4会话修改响应(N4 Session Modification Response)消息。
在步骤1008中,SMF向AMF发送N11消息。相应地,在步骤1008中,AMF接收来自SMF的N11消息。
在步骤1009中,AMF向源接入网设备发送N2消息。相应地,在步骤1009中,源接入网设备接收来自AMF的N2消息。
该N11消息可以理解为是对步骤1005中的第三消息的响应,可用于通知SMF已经将UE2由接收多播数据切换为接收单播数据。AMF可基于对该N11消息的接收,进一步向源接入网设备发送N2消息,以通知源接入网设备核心网已经将UE2由接收多播数据切换为接收单播数据。基于此,源接入网设备便可以确定不再向UE2发送多播数据,而发送单播数据。
在一种可能的设计中,该N11消息为N smf接口PDU会话更新会话管理上下文响应(N smf_PDUSession_UpdateSMContext Response)消息。
在一种可能的设计中,该N2消息为PDU会话响应(PDU Session Response)消息。
在步骤1010中,源接入网设备向UE2发送RRC重配置消息,该RRC重配置消息用于指示UE2不再接收多播数据。相应地,在步骤1010中,UE2接收来自源接入网设备的RRC重配置消息。
另一方面,UPF基于在步骤1006中接收到的来自SMF的第四消息,便不再对数据#1进行过滤。
在步骤1011中,UPF通过PDU会话2向源接入网设备发送数据#1。相应地,在步骤1011中,源接入网设备通过PDU会话2接收来自UPF的数据#1。
如前所述,UPF可以根据SMF的指示,将数据#1映射到PDU会话2上传输。或者,UPF也可以基于SMF发送的多播数据与传输通道的映射关系,确定将数据#1映射到哪个传输通道上。具体确定过程与SMF确定的过程相同,为了简洁,这里不再重复。
UPF通过PDU会话2向源接入网设备发送数据#1后,源接入网设备可以在PDU会话2中接收到该数据#1,但可能还未接收到UPF向UE2发送单播数据的通知,因此仍然不知道向UE2发送的数据已由多播数据(即多播数据)切换为单播数据(即数据#1),故源接入网设备仍然向UE2发送多播数据。
在步骤1012中,源接入网设备向UE2发送数据#1。相应地,在步骤1012中,UE2接收来自源接入网设备的数据#1。
源接入网设备可以基于在步骤1010中接收到的N2消息,确定不再向UE2发送多播数据,而发送单播数据。因此源接入网设备可以向UE2发送RRC重配置消息。该RRC重配置消息可用于指示UE2不再使用G-RNTI接收多播数据,而使用预先为UE2配置的C-RNTI接收多播数据。
图10中虽未予以示出,但可以理解,UPF仍然可以继续向源接入网设备发送多播数 据,源接入网设备也可以继续向源小区中属于多播数据对应的多播群组的UE(例如包括UE1)发送多播数据。也就是说,除了即将切换的UE2之外,源小区中属于该多播群组中的其他UE仍然可以接收到多播数据。
由此,UE2从接收多播数据切换成了接收单播数据。此后,UE2可以按照现有技术中的方法执行从源接入网设备到目标接入网设备的切换。
需要说明的是,上述步骤1004至步骤1012的流程可以在步骤1003之后执行,为便于理解和说明,下面进一步结合现有技术中的切换流程来说明执行上述步骤1004至步骤1012的时机。应理解,由于下文所示的切换流程为现有技术,本文中仅为便于说明与上述步骤1004至步骤1012的执行的先后顺序而示出,故下文所述的流程中仅示出了与步骤1004至步骤1012相关的部分流程,而未对完整的切换流程予以示出。图中所示的步骤仅为切换流程中的部分步骤,不应对本申请构成任何限定。关于切换的具体流程可以参看3GPP协议TS23.502、TS38.300等中的相关描述,本文不作赘述。
图11示出了的Xn切换的部分流程。
在步骤1100中,AMF向各接入网设备(例如包括源接入网设备和目标接入网设备)提供移动性控制信息。
在步骤1101中,源小区中的UE(例如可以是上文所述的UE2)进行测量控制和上报。UE2可以将测量报告上报给源接入网设备。
在步骤1102中,源接入网设备根据测量报告,确定UE2需要切换至目标接入网设备。
应理解,步骤1101和步骤1102可对应于上文方法1000中的步骤1003。
在步骤1103中,源接入网设备向目标接入网设备发送切换请求(handover request)消息。
在步骤1104中,目标接入网设备确定允许UE2切换至本小区,并在步骤1105中向源接入网设备发送切换请求确认(handover request acknowledge)消息。该切换请求确认消息中携带发给UE2的容器信息。该容器信息中例如包括目标小区标识、目标接入网设备分配给UE2的C-RNTI和安全识别信息等。
在步骤1106中,源接入网设备向UE2发起切换,并将上述容器信息发送给UE2。
此后,UE2便可以执行从源接入网设备至目标接入网设备的切换流程。
上述步骤1004至步骤1012例如可以在步骤1102和步骤1103之间执行,也可以在步骤1105和步骤1106之间执行。本申请对此不作限定。
由于后续流程不涉及上述步骤1004至步骤1012的执行先后顺序,且该切换流程为现有技术,为了简洁,这里不作详述。
图12和图13示出了N2切换的部分流程。其中,图12所示的流程N2切换的准备阶段的部分流程;图13所示的流程是N2切换的执行阶段的部分流程。
下面先说明图12所示的N2切换的准备阶段与上述步骤1004至步骤1012的执行先后顺序。
在步骤1201中,源接入网设备确定UE2需要进行N2切换。
源接入网设备例如可以根据UE2上报的测量报告确定将UE2切换到目标接入网设备。由于目标接入网设备与源接入网设备之间不支持Xn接口的通信,所以该切换为N2切换。由此,源接入网设备可以触发UE2的N2切换。
在步骤1202中,源接入网设备向源AMF发送切换需求(Handover Required)消息。
该切换需求消息中可以包含目标接入网设备的标识信息、需要切换的PDU会话的标识信息以及待发送给目标接入网设备的容器信息等。
在步骤1203,源AMF根据目标接入网设备的标识信息确定目标AMF。
源AMF可以根据目标接入网设备的标识信息,判断是否能够继续为该UE2提供服务。若无法继续服务,则源AMF可以选择新的AMF(即,目标AMF)为UE2提供服务。
如果UE2在N2切换的准备阶段由接收多播数据转为接收单播数据,上述步骤1004至步骤1012例如可以在步骤1202之前执行。
由于后续流程不涉及上述步骤1004至步骤1012的执行先后顺序,且该切换流程为现有技术,为了简洁,这里不作详述。
下面说明图13所示的N2切换的执行阶段与上述步骤1004至步骤1012的执行先后顺序。
在步骤1301中,源AMF向源接入网设备发送切换命令(Handover Command)。
该切换命令中携带切换的信息,如需要切换的UE的PDU会话的标识信息、目标接入网设备的标识信息、目标小区的标识等本申请对此不作限定。
在步骤1302中,源接入网设备将切换命令转发给需要切换的UE(如UE2)。
在步骤1303中,源接入网设备将要发送给UE2的数据转发至目标接入网设备,以便通过目标接入网设备向UE2转发。
在步骤1304中,UE2与目标小区同步。
在步骤1305中,UE2向源接入网设备发送切换确认(Handover Confirm)消息。
在步骤1306中,目标接入网设备向UE2发送从源接入网设备接收到的数据。
如果UE2在N2切换的执行过程由接收多播数据转为接收单播数据,上述步骤1004至步骤1012例如可以在步骤1302之前执行。
由于后续流程不涉及步骤1004至步骤1012的执行先后顺序,且该切换流程为现有技术,为了简洁,这里不作详述。
上文结合多个切换流程详细描述了将图10提供的方法1000应用到现有的切换流程中的具体示例。但这些示例仅为便于理解而示出,不应对本申请构成任何限定。
基于上文所述的方法,UE2在需要切换的情况下,可以先由接收多播数据切换为接收单播数据,然后可以基于现有的切换流程实现小区切换。从而可以避免对多播数据的数据包的丢失,有利于获得完整的数据。保证了UE2在多播数据的场景下实现无延迟的切换,同时保证了数据传输性能。
上文示出的多个实施例中,UE2切换到目标接入网设备后接收的数据为单播数据。但这并不标识UE2在目标小区中将一直接收单播数据。如果该目标小区中也存在多播数据的传输,则UE2还可以再次由接收单播数据切换为接收多播数据。UE2由接收单播数据切换接收多播数据的具体过程与上文由接收多播数据切换为接收单播数据的具体过程相似,为了简洁,这里不做详述。
在上文各实施例中,各网元可以执行各实施例中的部分或全部步骤。这些步骤或操作仅是示例,本申请实施例还可以执行其它操作或者各种操作的变形。此外,各个步骤可以按照各实施例呈现的不同的顺序来执行,并且有可能并非要执行本申请实施例中的全部操 作。且,各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
图14是本申请实施例提供的通信装置的示意性框图。如图14所示,该通信装置1400可以包括处理单元1410和收发单元1420。
在一种可能的设计中,该通信装置1400可对应于上文方法实施例中的目标接入网设备,例如,可以为目标接入网设备,或者配置于目标接入网设备中的部件(如电路、芯片或芯片系统等)。
应理解,该通信装置1400可对应于根据本申请实施例的方法400、方法600、方法800和方法1000中的目标接入网设备,该通信装置1400可以包括用于执行图4中的方法400、图6中的方法600、图8中的方法800以及图10中的方法1000中目标接入网设备执行的方法的单元。并且,该通信装置1400中的各单元和上述其他操作和/或功能分别为了实现图4中的方法400、图6中的方法600、图8中的方法800以及图10中的方法1000的相应流程。
在另一种可能的设计中,该通信装置1400可对应于上文方法实施例中的源接入网设备,例如,可以为源接入网设备,或者配置于源接入网设备中的部件(比如电路、芯片或芯片系统等)。
应理解,该通信装置1400可对应于根据本申请实施例的方法400、方法600、方法800和方法1000中的源接入网设备,该通信装置1400可以包括用于执行图4中的方法400、图6中的方法600、图8中的方法800以及图10中的方法1000中源接入网设备执行的方法的单元。并且,该通信装置1400中的各单元和上述其他操作和/或功能分别为了实现图4中的方法400、图6中的方法600、图8中的方法800以及图10中的方法1000的相应流程。
还应理解,该通信装置1400为上述源接入网设备或目标接入网设备时,该通信装置1400中的收发单元1420可以通过收发器实现,例如可对应于图15中示出的通信装置1500中的收发器1520或图16中示出的基站1600中的RRU 1610。该通信装置1400中的处理单元1410可通过至少一个处理器实现,例如可对应于图15中示出的通信装置1500中的处理器1510或图16中示出的基站1600中的BBU 1620。
还应理解,该通信装置1400为配置于上述源接入网设备或目标接入网设备中的芯片或芯片系统时,该通信装置1400中的收发单元1420可以通过输入/输出接口实现,该通信装置1400中的处理单元1410可以通过该芯片或芯片系统上集成的处理器、微处理器或集成电路等实现。
在又一种可能的设计中,该通信装置1400可对应于上文方法实施例中的SMF,例如,可以为SMF,或者配置于SMF中的部件(比如电路、芯片或芯片系统等)。
应理解,该通信装置1400可对应于根据本申请实施例的方法400、方法600、方法800和方法1000中的SMF,该通信装置1400可以包括用于执行图4中的方法400、图6中的方法600、图8中的方法800以及图10中的方法1000中SMF执行的方法的单元。并且,该通信装置1400中的各单元和上述其他操作和/或功能分别为了实现图4中的方法400、图6中的方法600、图8中的方法800以及图10中的方法1000的相应流程。
还应理解,该通信装置1400为SMF时,该通信装置1400中的收发单元1420可以通 过收发器实现,例如可对应于图15中示出的通信装置1500中的收发器1520。该通信装置1400中的处理单元1410可通过至少一个处理器实现,例如可对应于图15中示出的通信装置1500中的处理器1510。
还应理解,该通信装置1400为配置于上述源接入网设备或目标接入网设备中的芯片或芯片系统时,该通信装置1400中的收发单元1420可以通过输入/输出接口实现,该通信装置1400中的处理单元1410可以通过该芯片或芯片系统上集成的处理器、微处理器或集成电路等实现。
在再一种可能的设计中,该通信装置1400可对应于上文方法实施例中的UPF,例如,可以为UPF,或者配置于UPF中的部件(比如电路、芯片或芯片系统等)。
应理解,该通信装置1400可对应于根据本申请实施例的方法400、方法600、方法800和方法1000中的UPF,该通信装置1400可以包括用于执行图4中的方法400、图6中的方法600、图8中的方法800以及图10中的方法1000中UPF执行的方法的单元。并且,该通信装置1400中的各单元和上述其他操作和/或功能分别为了实现图4中的方法400、图6中的方法600、图8中的方法800以及图10中的方法1000的相应流程。
还应理解,该通信装置1400为UPF时,该通信装置1400中的收发单元1420可以通过收发器实现,例如可对应于图15中示出的通信装置1500中的收发器1520。该通信装置1400中的处理单元1410可通过至少一个处理器实现,例如可对应于图15中示出的通信装置1500中的处理器1510。
还应理解,该通信装置1400为配置于上述源接入网设备或目标接入网设备中的芯片或芯片系统时,该通信装置1400中的收发单元1420可以通过输入/输出接口实现,该通信装置1400中的处理单元1410可以通过该芯片或芯片系统上集成的处理器、微处理器或集成电路等实现。
图15是本申请实施例提供的通信装置1500的另一示意性框图。如图15所示,该通信装置1500包括处理器1510、收发器1520和存储器1530。其中,处理器1510、收发器1520和存储器1530通过内部连接通路互相通信,该存储器1530用于存储指令,该处理器1510用于执行该存储器1530存储的指令,以控制该收发器1520发送信号和/或接收信号。
应理解,该通信装置1500可以对应于上述方法实施例中的终端设备,并且可以用于执行上述方法实施例中网络设备或终端设备执行的各个步骤和/或流程。可选地,该存储器1530可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。存储器1530可以是一个单独的器件,也可以集成在处理器1510中。该处理器1510可以用于执行存储器1530中存储的指令,并且当该处理器1510执行存储器中存储的指令时,该处理器1510用于执行上述与网络设备或终端设备对应的方法实施例的各个步骤和/或流程。
可选地,上述通信装置1500可以是前文实施例中的目标接入网设备、源接入网设备、SMF或UPF。
收发器1520可以包括发射机和接收机。收发器1520还可以进一步包括天线,天线的数量可以为一个或多个。该处理器1510和存储器1530与收发器1520可以是集成在不同芯片上的器件。如,处理器1510和存储器1530可以集成在基带芯片中,收发器1520可 以集成在射频芯片中。该处理器1510和存储器1530与收发器1520也可以是集成在同一个芯片上的器件。本申请对此不作限定。
可选地,该通信装置1500可以是配置在目标接入网设备、源接入网设备、SMF或UPF中的部件,如芯片、芯片系统等。
收发器1520也可以是通信接口,如输入/输出接口。该收发器1520与处理器1510和存储器1520都可以集成在同一个芯片中,如集成在基带芯片中。
图16是本申请实施例提供的接入网设备的结构示意图,例如可以为基站的结构示意图。该基站1600可应用于如图1所示的系统中,执行上述方法实施例中目标接入网设备或源接入网设备的功能。如图所示,该基站1600可以包括一个或多个射频单元,如远端射频单元(remote radio unit,RRU)1610和一个或多个基带单元(BBU)(也可称为分布式单元(DU))1620。
所述RRU 1610可以称为收发单元,与图14中的收发单元1420对应。可选地,该收发单元1610还可以称为收发机、收发电路、或者收发器等等,其可以包括至少一个天线1611和射频单元1612。可选地,收发单元1610可以包括接收单元和发送单元,接收单元可以对应于接收器(或称接收机、接收电路),发送单元可以对应于发射器(或称发射机、发射电路)。所述RRU 1610部分主要用于射频信号的收发以及射频信号与基带信号的转换,例如用于向终端设备发送数据包。所述BBU 1620部分主要用于进行基带处理,对基站进行控制等。所述RRU 1610与BBU 1620可以是物理上设置在一起,也可以物理上分离设置的,即分布式基站。
所述BBU 1620为基站的控制中心,也可以称为处理单元,可以与图14中的处理单元1410对应,主要用于完成基带处理功能,如信道编码,复用,调制,扩频等等。例如所述BBU(处理单元)可以用于控制基站执行上述方法实施例中关于网络设备的操作流程,例如,生成上述指示信息等。
在一个示例中,所述BBU 1620可以由一个或多个单板构成,多个单板可以共同支持单一接入制式的无线接入网(如LTE网),也可以分别支持不同接入制式的无线接入网(如LTE网,5G网或其他网)。所述BBU 1620还包括存储器1621和处理器1622。所述存储器1621用以存储必要的指令和数据。所述处理器1622用于控制基站进行必要的动作,例如用于控制基站执行上述方法实施例中关于网络设备的操作流程。所述存储器1621和处理器1622可以服务于一个或多个单板。也就是说,可以每个单板上单独设置存储器和处理器。也可以是多个单板共用相同的存储器和处理器。此外每个单板上还可以设置有必要的电路。
应理解,图16所示的基站1600能够实现图4、图6、图8或图10的方法实施例中涉及的目标接入网设备或源接入网设备的各个过程。基站1600中的各个模块的操作和/或功能,分别为了实现上述方法实施例中的相应流程。具体可参见上述方法实施例中的描述,为避免重复,此处适当省略详细描述。
上述BBU 1620可以用于执行前面方法实施例中描述的由目标接入网设备或源接入网设备内部实现的动作,而RRU 1610可以用于执行前面方法实施例中描述的目标接入网设备或源接入网设备发送或接收的动作,例如向终端设备发送或从终端设备接收的动作。具体请见前面方法实施例中的描述,此处不再赘述。
本申请实施例还提供了一种处理装置,包括处理器和接口;所述处理器用于执行上述任一方法实施例中的通信的方法。
应理解,上述处理装置可以是一个或多个芯片。例如,该处理装置可以是现场可编程门阵列(field programmable gate array,FPGA),可以是专用集成芯片(application specific integrated circuit,ASIC),还可以是系统芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是网络处理器(network processor,NP),还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(micro controller unit,MCU),还可以是可编程控制器(programmable logic device,PLD)或其他集成芯片。
在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
应注意,本申请实施例中的处理器可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
根据本申请实施例提供的方法,本申请还提供一种计算机程序产品,该计算机程序产 品包括:计算机程序代码,当该计算机程序代码在计算机上运行时,使得该计算机执行图4、图6、图8或图10所示实施例中任意一个实施例的方法。
根据本申请实施例提供的方法,本申请还提供一种计算机可读介质,该计算机可读介质存储有程序代码,当该程序代码在计算机上运行时,使得该计算机执行图4、图6、图8或图10所示实施例中任意一个实施例的方法。
根据本申请实施例提供的方法,本申请还提供一种系统,其包括前述的目标接入网设备、源接入网设备、SMF、UPF以及终端设备中的一个或多个。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(digital video disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disc,SSD))等。
上述各个装置实施例中网络设备与终端设备和方法实施例中的网络设备或终端设备完全对应,由相应的模块或单元执行相应的步骤,例如通信单元(收发器)执行方法实施例中接收或发送的步骤,除发送、接收外的其它步骤可以由处理单元(处理器)执行。具体单元的功能可以参考相应的方法实施例。其中,处理器可以为一个或多个。
在本说明书中使用的术语“部件”、“模块”、“系统”等用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软件、或执行中的软件。例如,部件可以是但不限于,在处理器上运行的进程、处理器、对象、可执行文件、执行线程、程序和/或计算机。通过图示,在计算设备上运行的应用和计算设备都可以是部件。一个或多个部件可驻留在进程和/或执行线程中,部件可位于一个计算机上和/或分布在2个或更多个计算机之间。此外,这些部件可从在上面存储有各种数据结构的各种计算机可读介质执行。部件可例如根据具有一个或多个数据分组(例如来自与本地系统、分布式系统和/或网络间的另一部件交互的二个部件的数据,例如通过信号与其它系统交互的互联网)的信号通过本地和/或远程进程来通信。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各种说明性逻辑块(illustrative logical block)和步骤(step),能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装 置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
在上述实施例中,各功能单元的功能可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令(程序)。在计算机上加载和执行所述计算机程序指令(程序)时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (53)

  1. 一种切换方法,其特征在于,包括:
    目标接入网设备获取第一消息,所述第一消息用于请求为终端设备切换至所述目标接入网设备建立资源;
    所述目标接入网设备获取用于传播多播数据的信息;
    所述目标接入网设备发送第二消息,所述第二消息用于指示所述目标接入网设备上已建立的所述资源;
    所述目标接入网设备接收来自用户面网元的第一数据包,所述第一数据包对应于所述用于传播多播数据的信息;
    所述目标接入网设备向所述终端设备发送所述第一数据包。
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:
    所述目标接入网设备接收来自源接入网设备的第二数据包,其中,所述第二数据包对应于所述用于传播多播数据的信息,所述第二数据包包括所述第二数据包对应的第一序列号。
  3. 如权利要求2所述的方法,其特征在于,所述方法还包括:
    所述目标接入网设备接收来自所述源接入网设备的第一结束标记数据包,其中,所述第一结束标记数据包括所述第一结束标记数据包对应的第二序列号。
  4. 如权利要求3所述的方法,其特征在于,所述方法还包括:
    若所述第一序列号小于所述第二序列号,则所述目标接入网设备向所述终端设备发送所述第二数据包。
  5. 如权利要求3或4所述的方法,其特征在于,所述目标接入网设备向所述终端设备发送所述第一数据包,包括:
    若所述第一序列号大于或等于所述第二序列号,所述目标接入网设备向所述终端设备发送所述第一数据包。
  6. 如权利要求2所述的方法,其特征在于,所述第一数据包包括所述第一数据包对应的第三序列号;
    所述目标接入网设备向所述终端设备发送所述第一数据包,包括:
    若所述第三序列号小于或等于所述第一序列号,则所述目标接入网设备向所述终端设备发送所述第一数据包。
  7. 如权利要求2所述的方法,其特征在于,所述第一数据包包括所述第一数据包对应的第三序列号;所述方法还包括:
    若所述第三序列号大于所述第一序列号,则所述目标接入网设备向所述终端设备发送所述第二数据包。
  8. 一种切换方法,其特征在于,包括:
    源接入网设备发送第一消息,所述第一消息用于请求为终端设备切换至目标接入网设备建立资源;
    所述源接入网设备发送用于传播多播数据的信息;
    所述源接入网设备接收第二消息,所述第二消息用于指示所述目标接入网设备上已建立的所述资源;
    所述源接入网设备向所述终端设备发送第二数据包,所述第二数据包对应于所述用于传播多播数据的信息。
  9. 如权利要求8所述的方法,其特征在于,所述方法还包括:
    所述源接入网设备接收来自用户面网元的所述第二数据包,所述第二数据包包括所述第二数据包对应的第一序列号,所述第二数据包在所述源接入网设备和所述UPF之间传输所述多播数据的传输通道上传输。
  10. 如权利要求9所述的方法,其特征在于,
    所述源接入网设备接收来自所述用户面网元的第二结束标记数据包,其中,所述第二结束标记数据包包括所述第二结束标记数据包对应的第二序列号,所述第二结束标记数据包在所述终端用于传输所述多播数据的通道上传输;
    所述源接入网设备基于接收到的所述第二结束标记数据包,向所述目标接入网设备发送第一结束标记数据包。
  11. 如权利要求10所述的方法,其特征在于,
    若所述第一序列号小于所述第二序列号,则所述源接入网设备向所述目标接入网设备发送所述第二数据包。
  12. 如权利要求8所述的方法,其特征在于,所述方法还包括:
    所述源接入网设备接收来自用户面网元的第二结束标记数据包,所述第二结束标记数据包中携带所述多播数据的传输通道的标识信息,且所述第二结束标记数据包在所述多播数据的传输通道上传输;
    所述源接入网设备基于所述第二结束标记数据包,向所述目标接入网设备发送第一结束标记数据包。
  13. 一种切换方法,其特征在于,包括:
    会话管理网元接收第三消息,所述第三消息包括用于传输多播数据的信息,所述第三消息用于请求配置终端设备的传输通道上的数据传输,所述传输通道用于传输所述终端设备请求的数据,所述终端设备请求的数据对应于所述用于传输多播数据的信息;
    所述会话管理网元发送第四消息,所述第四消息用于指示对所述终端设备请求的数据的转发行为。
  14. 如权利要求13所述的方法,其特征在于,所述转发行为包括:在所述终端设备的传输通道上向所述终端设备传输所述数据。
  15. 如权利要求14所述的方法,其特征在于,所述第四消息还用于指示在所述传输通道上传输第二结束标记数据包。
  16. 如权利要求15所述的方法,其特征在于,所述第六消息还用于指示在所述多播数据的传输通道上传输所述第二结束标记数据包。
  17. 如权利要求13至16中任一项所述的方法,其特征在于,所述第四消息包括以下任意一项或多项:针对所述终端设备请求的数据的转发行为的指示、所述用于传输所述多播数据的信息、识别规则、转发行为规则和结束标记数据包的相关信息。
  18. 如权利要求13至17中任一项所述的方法,其特征在于,在所述终端设备由源接 入网设备切换至目标接入网设备之前,所述终端设备的传输通道是所述用户面网元与所述源接入网设备之间的通道;在所述终端设备由源接入网设备切换至目标接入网设备之后,所述终端设备的传输通道是所述用户面网元与所述目标接入网设备之间的通道。
  19. 一种切换方法,其特征在于,包括:
    用户面网元接收第四消息,所述第四消息包括用于传输多播数据的信息,用于传输多播数据的信息与终端设备请求的数据对应;
    所述用户面网元基于所述用于传输多播数据的信息,确定对所述终端设备请求的数据的转发行为。
  20. 如权利要求19所述的方法,其特征在于,所述转发行为包括:在终端设备的传输通道上向所述终端传输所述数据。
  21. 如权利要求20所述的方法,其特征在于,所述第四消息还用于指示在所述终端设备的传输通道上传输第二结束标记数据包。
  22. 如权利要求20所述的方法,其特征在于,所述第四消息还用于指示在所述多播数据的传输通道上传输所述第二结束标记数据包。
  23. 如权利要求19至22中任一项所述的方法,其特征在于,所述第四消息包括以下任意一项或多项:识别规则、转发行为规则和结束标记数据包的相关信息。
  24. 如权利要求19至23中任一项所述的方法,其特征在于,在所述终端设备由源接入网设备切换至目标接入网设备之前,所述终端设备的传输通道是所述用户面网元与所述源接入网设备之间的通道;在所述终端设备由源接入网设备切换至目标接入网设备之后,所述终端设备的传输通道是所述用户面网元与所述目标接入网设备之间的通道。
  25. 一种通信装置,其特征在于,包括:
    处理器,用于获取第一消息,所述第一消息用于请求为终端设备切换至所述目标接入网设备建立资源;并用于获取用于传播多播数据的信息;
    收发器,用于发送第二消息,所述第二消息用于指示所述目标接入网设备上已建立的所述资源;并用于接收来自用户面网元的第一数据包,所述第一数据包对应于所述用于传播多播数据的信息;还用于向所述终端设备发送所述第一数据包。
  26. 如权利要求25所述的装置,其特征在于,所述收发器还用于接收来自源接入网设备的第二数据包,其中,所述第二数据包对应于所述用于传播多播数据的信息,所述第二数据包包括所述第二数据包对应的第一序列号。
  27. 如权利要求26所述的装置,其特征在于,所述收发器还用于接收来自所述源接入网设备的第一结束标记数据包,其中,所述第一结束标记数据包括所述第一结束标记数据包对应的第二序列号。
  28. 如权利要求27所述的装置,其特征在于,所述收发器还用于,若所述第一序列号小于所述第二序列号,则所述目标接入网设备向所述终端设备发送所述第二数据包。
  29. 如权利要求27或28所述的装置,其特征在于,所述收发器还用于,若所述第一序列号大于或等于所述第二序列号,向所述终端设备发送所述第一数据包。
  30. 如权利要求26所述的装置,其特征在于,所述第一数据包包括所述第一数据包对应的第三序列号;
    所述收发器还用于,若所述第三序列号小于或等于所述第一序列号,向所述终端设备 发送所述第一数据包。
  31. 如权利要求26所述的方法,其特征在于,所述第一数据包包括所述第一数据包对应的第三序列号;
    所述收发器还用于,若所述第三序列号大于所述第一序列号,向所述终端设备发送所述第二数据包。
  32. 一种通信装置,其特征在于,包括:
    收发器,用于发送第一消息,所述第一消息用于请求为终端设备切换至目标接入网设备建立资源;
    所述收发器还用于发送用于传播多播数据的信息;
    所述收发器还用于接收第二消息,所述第二消息用于指示所述目标接入网设备上已建立的所述资源;
    所述收发器还用于向所述终端设备发送第二数据包,所述第二数据包对应于所述用于传播多播数据的信息。
  33. 如权利要求32所述的装置,其特征在于,所述收发器还用于接收来自用户面网元的所述第二数据包,所述第二数据包包括所述第二数据包对应的第一序列号,所述第二数据包在所述源接入网设备和所述UPF之间传输所述多播数据的传输通道上传输。
  34. 如权利要求33所述的装置,其特征在于,所述收发器还用于接收来自所述用户面网元的第二结束标记数据包,其中,所述第二结束标记数据包包括所述第二结束标记数据包对应的第二序列号,所述第二结束标记数据包在所述终端用于传输所述多播数据的路径上传输;
    所述收发器还用于接收到的所述第二结束标记数据包,向所述目标接入网设备发送第一结束标记数据包。
  35. 如权利要求34所述的装置,其特征在于,所述收发器还用于,若所述第一序列号小于所述第二序列号,向所述目标接入网设备发送所述第二数据包。
  36. 如权利要求32所述的装置,其特征在于,所述收发器还用于接收来自用户面网元的第二结束标记数据包,所述第二结束标记数据包中携带所述多播数据的传输通道的标识信息,且所述第二结束标记数据包在所述多播数据的传输通道上传输;
    所述收发器还用于基于所述第二结束标记数据包,向所述目标接入网设备发送第一结束标记数据包。
  37. 一种通信装置,其特征在于,包括:
    收发器,用于接收第三消息,所述第三消息用于指示用于传输多播数据的信息,所述第三消息用于请求配置终端设备的传输通道上的数据传输,所述传输通道用于传输所述终端设备请求的数据,所述终端设备请求的数据对应于所述用于传输多播数据的信息;
    所述收发器还用于发送第四消息,所述第四消息用于指示对所述终端设备请求的数据的转发行为。
  38. 如权利要求37所述的装置,其特征在于,所述转发行为包括:在所述终端设备的传输通道上向所述终端设备传输所述数据。
  39. 如权利要求38所述的装置,其特征在于,所述第四消息还用于指示在所述传输通道上传输第二结束标记数据包。
  40. 如权利要求38所述的装置,其特征在于,所述第四消息还用于指示在所述多播数据的传输通道上传输所述第二结束标记数据包。
  41. 如权利要求37至40中任一项所述的装置,其特征在于,所述第四消息包括以下任意一项或多项:针对所述终端设备请求的数据的转发行为的指示、所述用于传输所述多播数据的信息、识别规则、转发行为规则和结束标记数据包的相关信息。
  42. 如权利要求37至41中任一项所述的装置,其特征在于,在所述终端设备由源接入网设备切换至目标接入网设备之前,所述终端设备的传输通道是所述用户面网元与所述源接入网设备之间的通道;在所述终端设备由源接入网设备切换至目标接入网设备之后,所述终端设备的传输通道是所述用户面网元与所述目标接入网设备之间的通道。
  43. 一种通信装置,其特征在于,包括:
    收发器,用于接收第四消息,所述第四消息包括用于传输多播数据的信息,用于传输多播数据的信息与终端设备请求的数据对应;
    处理器,用于基于所述用于传输多播数据的信息,确定对所述终端设备请求的数据的转发行为。
  44. 如权利要求43所述的装置,其特征在于,所述转发行为包括:在终端设备的传输通道上传输所述终端设备请求的数据。
  45. 如权利要求44所述的装置,其特征在于,所述第四消息还用于指示在所述终端设备的传输通道上传输第二结束标记数据包。
  46. 如权利要求44所述的装置,其特征在于,所述第四消息还用于指示在所述多播数据的传输通道上传输所述第二结束标记数据包。
  47. 如权利要求43至46中任一项所述的装置,其特征在于,所述第四消息包括以下任意一项或多项:识别规则、转发行为规则和结束标记数据包的相关信息。
  48. 如权利要求43至47中任一项所述的装置,其特征在于,在所述终端设备由源接入网设备切换至目标接入网设备之前,所述终端设备的传输通道是所述用户面网元与所述源接入网设备之间的通道;在所述终端设备由源接入网设备切换至目标接入网设备之后,所述终端设备的传输通道是所述用户面网元与所述目标接入网设备之间的通道。
  49. 一种通信装置,其特征在于,其特征在于,包括用于实现如权利要求1至24中任一项所述的方法的单元。
  50. 一种通信装置,其特征在于,包括:
    处理器,用于执行存储器中存储的计算机指令,以使得所述装置执行:如权利要求1至24中任一项所述的方法。
  51. 一种计算机存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被计算机执行时,以使得实现如权利要求1至24中任一项所述的方法。
  52. 一种通信系统,其特征在于,包括如权利要求25-31中任一项所述的通信装置和权利要求32-36中任一项所述的通信装置。
  53. 一种通信系统,其特征在于,包括如权利要求37-42中任一项所述的通信装置和权利要求43-48中任一项所述的通信装置。
PCT/CN2020/077375 2020-03-01 2020-03-01 切换方法和通信装置 WO2021174377A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP20922903.8A EP4099760A4 (en) 2020-03-01 2020-03-01 SWITCHING METHOD AND COMMUNICATION APPARATUS
PCT/CN2020/077375 WO2021174377A1 (zh) 2020-03-01 2020-03-01 切换方法和通信装置
CN202080097000.1A CN115136651A (zh) 2020-03-01 2020-03-01 切换方法和通信装置
US17/896,920 US20220408317A1 (en) 2020-03-01 2022-08-26 Handover method and communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/077375 WO2021174377A1 (zh) 2020-03-01 2020-03-01 切换方法和通信装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/896,920 Continuation US20220408317A1 (en) 2020-03-01 2022-08-26 Handover method and communication apparatus

Publications (1)

Publication Number Publication Date
WO2021174377A1 true WO2021174377A1 (zh) 2021-09-10

Family

ID=77614436

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/077375 WO2021174377A1 (zh) 2020-03-01 2020-03-01 切换方法和通信装置

Country Status (4)

Country Link
US (1) US20220408317A1 (zh)
EP (1) EP4099760A4 (zh)
CN (1) CN115136651A (zh)
WO (1) WO2021174377A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113498132B (zh) * 2020-04-03 2022-09-20 维沃移动通信有限公司 移动性管理方法、源基站、目标基站及终端设备
KR20220148909A (ko) * 2020-04-08 2022-11-07 지티이 코포레이션 이동 동안의 멀티캐스트 및 브로드캐스트 서비스 연속성

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109842639A (zh) * 2017-11-24 2019-06-04 华为技术有限公司 实现切换过程中业务连续性的方法、设备及系统
CN110167190A (zh) * 2018-02-14 2019-08-23 华为技术有限公司 会话建立方法和设备
WO2019165427A1 (en) * 2018-02-26 2019-08-29 Qualcomm Incorporated User plane function (upf) duplication based make before break handover
CN110476378A (zh) * 2017-04-26 2019-11-19 摩托罗拉移动有限责任公司 指示转发的数据的状态
CN110809299A (zh) * 2019-11-07 2020-02-18 腾讯科技(深圳)有限公司 一种广播业务的模式切换方法以及相关装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008156268A2 (en) * 2007-06-18 2008-12-24 Lg Electronics Inc. Downlink packet data convergence protocol behavior during handover
WO2019223005A1 (en) * 2018-05-25 2019-11-28 Qualcomm Incorporated Mixed mode multicast architecture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110476378A (zh) * 2017-04-26 2019-11-19 摩托罗拉移动有限责任公司 指示转发的数据的状态
CN109842639A (zh) * 2017-11-24 2019-06-04 华为技术有限公司 实现切换过程中业务连续性的方法、设备及系统
CN110167190A (zh) * 2018-02-14 2019-08-23 华为技术有限公司 会话建立方法和设备
WO2019165427A1 (en) * 2018-02-26 2019-08-29 Qualcomm Incorporated User plane function (upf) duplication based make before break handover
CN110809299A (zh) * 2019-11-07 2020-02-18 腾讯科技(深圳)有限公司 一种广播业务的模式切换方法以及相关装置

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
3GPP PROTOCOLS TS23.502
ERICSSON: "Anchor change for Ethernet PDU Sessions", 3GPP DRAFT; S2-186420-ETHERNET-ANCHOR-CHANGE.PA3, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Vilnius, Lithuania; 20180702 - 20180706, 26 June 2018 (2018-06-26), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP051537910 *
See also references of EP4099760A4

Also Published As

Publication number Publication date
CN115136651A (zh) 2022-09-30
EP4099760A1 (en) 2022-12-07
US20220408317A1 (en) 2022-12-22
EP4099760A4 (en) 2023-04-05

Similar Documents

Publication Publication Date Title
US10973000B2 (en) Message sending method and apparatus
US10880789B2 (en) Method for establishing a fronthaul interface, method for performing access for a UE, method and apparatus for performing a handover for a UE, data forwarding method, user equipment and base station
US20220217575A1 (en) Sidelink communication method and apparatus, and storage medium
EP4138363A1 (en) Packet transmission method and system
WO2021164564A1 (zh) 传输组播业务的方法和装置
US20220408317A1 (en) Handover method and communication apparatus
WO2022012506A1 (zh) 通信方法和通信装置
WO2021218888A1 (zh) 通信方法和装置
WO2022089164A1 (zh) 多路径传输方法和通信装置
WO2020206582A1 (zh) 一种用于中继通信的方法和装置
WO2022017285A1 (zh) 报文转发方法、装置及系统
WO2021254353A1 (zh) 一种释放中继连接的方法、设备及系统
WO2021097858A1 (zh) 一种通信方法及装置
CN115804201A (zh) 集中式单元和分布式单元分离架构中的数据转发
WO2023029590A1 (zh) 一种组播/广播会话管理方法及通信装置
WO2023284551A1 (zh) 通信方法、装置和系统
CN113645572B (zh) 一种通信方法、装置及存储介质
WO2022170798A1 (zh) 确定策略的方法和通信装置
WO2023197185A1 (zh) Iab节点设备、iab宿主设备以及传输地址确定方法
WO2023185328A1 (zh) 一种通信方法及装置
WO2023130368A1 (zh) 收发信息的方法、装置和通信系统
WO2024067194A1 (zh) 通信方法、通信装置、以及通信系统
WO2022206775A1 (zh) 一种多播广播业务的传输切换方法及装置
WO2023197772A1 (zh) 一种通信方法及相关装置
WO2022237505A1 (zh) 一种通信方法、设备及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20922903

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020922903

Country of ref document: EP

Effective date: 20220829

NENP Non-entry into the national phase

Ref country code: DE