WO2018152846A1 - 通信方法和装置 - Google Patents

通信方法和装置 Download PDF

Info

Publication number
WO2018152846A1
WO2018152846A1 PCT/CN2017/075042 CN2017075042W WO2018152846A1 WO 2018152846 A1 WO2018152846 A1 WO 2018152846A1 CN 2017075042 W CN2017075042 W CN 2017075042W WO 2018152846 A1 WO2018152846 A1 WO 2018152846A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
network device
access network
terminal
local routing
Prior art date
Application number
PCT/CN2017/075042
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 PCT/CN2017/075042 priority Critical patent/WO2018152846A1/zh
Priority to EP17898150.2A priority patent/EP3579617B1/en
Priority to CN201780086997.9A priority patent/CN110313195B/zh
Publication of WO2018152846A1 publication Critical patent/WO2018152846A1/zh
Priority to US16/551,196 priority patent/US11159997B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/02Buffering or recovering information during reselection ; Modification of the traffic flow during hand-off
    • H04W36/023Buffering or recovering information during reselection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/02Buffering or recovering information during reselection ; Modification of the traffic flow during hand-off
    • H04W36/023Buffering or recovering information during reselection
    • H04W36/0235Buffering or recovering information during reselection by transmitting sequence numbers, e.g. SN status transfer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point

Definitions

  • Embodiments of the present invention relate to the field of communications, and in particular, to a communication method and apparatus.
  • a local routing device and a local network device can be deployed in the vicinity of the access network.
  • the local routing device can obtain the data packet of the terminal and route the data packet to the local device.
  • the local routing device may also be referred to as a user plane function device, and is a user plane function device close to the access network or the terminal device.
  • transmission channel 1 local Routing device -> source eNB -> target eNB -> terminal
  • transmission channel 2 local routing device -> target eNB -> terminal. Since the transmission time of the data packets on the two transmission channels is different, this will cause the packets received by the terminal to be out of order.
  • the embodiment of the invention provides a communication method and device, which can avoid the disorder of data packets received by the terminal when the terminal switches between the access network devices.
  • an embodiment of the present invention provides a communication method, where the communication method includes:
  • the target access network device When the terminal switches from the source access network device to the target access network device, the target access network device receives at least one first data packet of the terminal;
  • the target access network device buffers the at least one first data packet
  • the target access network device Receiving, by the target access network device, the second data packet and the third data packet from the source access network device, or the target access network device receiving the second data packet and the third data One of the data packets in the packet and not receiving the second data packet and another data packet in the third data packet within a preset time period, or the target access network device does not receive the second data packet
  • the cached at least one first data packet is sent to the terminal, and the second data packet and the third data packet are end identification data packets.
  • the end identification data packet refers to a data packet that is sent by the terminal after the end of the actual application data packet transmission.
  • the data packet that receives the end identification identifier may be considered that the actual application data packet of the terminal has been sent, and the format of the end identification data packet is not Restrictions, such as End Mark, or add identification information to the last packet of the actual application.
  • the second data packet carries the first identifier information, where the first identifier information is used to identify that the second data packet is sent by the core network device, and/or the third data packet carries the second identifier. And the second identifier information is used to identify that the third data packet is sent by a local routing device.
  • first identification information and the second identification information is not limited in the embodiment of the present invention.
  • the first identification information and the second identification information may be device identifiers of devices that send the second data packet and the third data packet, or may be other information that can identify the device.
  • the second data packet is an end identification data packet sent by the core network device
  • the third data packet is an end identification data packet sent by the local routing device.
  • the data channel through which the local routing device and the core network device send data packets to the terminal through the source access network device and the target access network device may be referred to as a source data transmission channel, and the local routing device and the core network device directly pass through the target access network device.
  • the channel through which the terminal sends data packets can be referred to as the target data transmission channel.
  • the data packet means that the data transmission on the source data transmission channel has ended. Since the transmission time of the data packet reaching the target access network device through the source data transmission channel is earlier than the transmission time of the data packet reaching the target access network device through the target data transmission channel, the data transmission on the source data transmission channel has ended. When the data packet transmitted through the target data transmission channel is sent to the terminal, the data packet received by the terminal can be avoided.
  • the first identifier information is carried in an end identifier of the second data packet, and the second identifier information is carried in an end identifier of the third data packet.
  • the communication method further includes:
  • the target access network device sends a notification message to the local routing device, where the notification message is used to notify the local routing device to send the third data packet to the source access network device.
  • the third data packet is used to identify the end of the actual application data packet transmission of the terminal.
  • the communication method may further include:
  • the target access network device starts a timer.
  • the target access network device may start a timer after receiving the second data packet from the source access network device, so that if the target access network device receives the second data packet Then, after the third data packet is not received within the preset time period of the timer, the cached at least one first data packet is sent to the terminal.
  • the target access network device may start a timer after sending a path switch request message to the mobility management network element or the control plane function device.
  • an embodiment of the present invention provides a communication method, where the communication method includes:
  • the target access network device When the terminal switches from the source access network device to the target access network device, the target access network device receives the first data packet of the terminal, and the first data packet carries the first identification information, where the first The identification information is used to identify a device that sends the first data packet;
  • the target access network device buffers the first data packet
  • Second identification information the second identification information identifying a device that sends the second data packet.
  • first identification information and the second identification information is not limited in the embodiment of the present invention.
  • the first identification information and the second identification information may be device identifiers of devices that send the first data packet and the second data packet, or may be other information that can identify the device.
  • the data channel through which the local routing device or the core network device sends data packets to the terminal through the source access network device and the target access network device may be referred to as a source data transmission channel, and the local routing device or the core network device directly passes through the target access network device.
  • the channel through which the terminal sends data packets can be referred to as the target data transmission channel.
  • the target access network device receives the end identification data packet transmitted through the source data transmission channel, or if the target access network does not receive the core network device or the local routing device through the source data transmission channel within a preset time period Ending the identification packet means that the data transmission on the source data transmission channel has ended. Since the transmission time of the data packet reaching the target access network device through the source data transmission channel is earlier than the transmission time of the data packet reaching the target access network device through the target data transmission channel, the data transmission on the source data transmission channel has ended. When the data packet transmitted through the target data transmission channel is sent to the terminal, the data packet received by the terminal can be avoided.
  • the second identifier information is carried in an end identifier of the second data packet.
  • the communication method may further include:
  • the target access network device starts a timer.
  • an embodiment of the present invention provides a communication method, where the communication method includes:
  • the local routing device receives a notification message, where the notification message is used to notify the local routing device to send an end identification data packet, where the end identification data packet carries identification information, where the identification information is used to identify that the end identification data packet is Transmitted by the local routing device;
  • the local routing device sends the end identification data packet according to the notification message.
  • the end identification data packet is used to indicate that the actual application data packet transmission of the terminal has ended.
  • the local routing device can learn that the terminal is handed over by the source access network device to the target access network device according to the notification message.
  • the local routing device sends the end identification data packet to the target access network device by using the source access network device according to the notification message.
  • the data channel through which the local routing device sends the data packet to the terminal through the source access network device and the target access network device may be referred to as a source data transmission channel, and the channel through which the local routing device directly sends the data packet to the terminal through the target access network device may be called The target data transmission channel.
  • the local routing device sends the end identification data packet to the target access network device through the source data transmission channel, so that the target access network device can know that the data transmission on the source data transmission channel has ended.
  • the identifier information is carried in an end identifier of the end identifier data packet.
  • an embodiment of the present invention provides an access network device, where the access network device has a function of implementing behavior of a target access network device in the method described in the foregoing first aspect.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the access network device includes a communication unit and a storage unit.
  • the communication unit is configured to support communication between the access network device and other devices, and the storage unit is configured to buffer the received data packet.
  • the communication unit can be a communication interface and the storage unit can be a memory.
  • an embodiment of the present invention provides an access network device, where the access network device has a function of implementing behavior of a target access network device in the method described in the foregoing second aspect.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the access network device includes a communication unit and a storage unit.
  • the communication unit is configured to support communication between the access network device and other devices, and the storage unit is configured to buffer the received data packet.
  • the communication unit can be a communication interface and the storage unit can be a memory.
  • the embodiment of the present invention provides a local routing device, where the local routing device has a function of implementing local routing device behavior in the method described in the foregoing third aspect.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more of the functions corresponding to the above functions Module.
  • the local routing device includes a communication unit.
  • the communication unit is configured to support communication between the local routing device and other devices.
  • the local routing device may further include a storage unit, where the storage unit is configured to save program instructions and data necessary for the local routing device.
  • the communication unit can be a communication interface and the storage unit can be a memory.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores an instruction, when it is running on an access network device, causing the access network device to perform the first The method described in the aspects.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores an instruction, when it is running on an access network device, causing the access network device to perform the second The method described in the aspects.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores instructions, when it is run on a local routing device, causing the local routing device to perform the foregoing third aspect The method described.
  • an embodiment of the present invention provides a computer program product comprising instructions, which when executed on an access network device, causes the access network device to perform the method described in the first aspect above.
  • an embodiment of the present invention provides a computer program product comprising instructions, which when executed on an access network device, causes the access network device to perform the method described in the second aspect above.
  • an embodiment of the present invention provides a computer program product comprising instructions that, when run on a local routing device, cause the local routing device to perform the method described in the third aspect above.
  • FIG. 1 is a schematic diagram of a possible application scenario according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of another possible application scenario provided by an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a communication method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of another communication method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of another communication method according to an embodiment of the present invention.
  • FIG. 6 is a schematic block diagram of an access network device according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic block diagram of another access network device according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic block diagram of a local routing device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic block diagram of another local routing device according to an embodiment of the present invention.
  • the network architecture and the service scenario described in the embodiments of the present invention are used to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation of the technical solutions provided by the embodiments of the present invention.
  • the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.
  • the terminal involved in the embodiments of the present invention may include various handheld devices with unlimited communication functions. In-vehicle devices, wearable devices, computing devices or other processing devices connected to wireless modems, as well as various forms of User Equipment (UE), Mobile Station (MS), terminal devices, etc. . For convenience of description, the devices mentioned above are collectively referred to as terminals.
  • the access network device in the embodiment of the present invention may be a base station (BS), and the base station is a device deployed in the radio access network to provide a wireless communication function for the terminal.
  • BS base station
  • the base station may include various forms of macro base stations, micro base stations, relay stations, access points, and the like.
  • the name of a device with a base station function may be different, for example, in a Long Term Evolution (LTE) system, called an evolved Node B (eNB). Or eNodeB); in the 3G communication system, called Node B; in the 5G communication system, it is called AN (Access Network), access network, and the like.
  • LTE Long Term Evolution
  • eNodeB evolved Node B
  • Node B 3G communication system
  • AN Access Network
  • Embodiments of the present invention can be applied to the system architecture shown in FIGS. 1 and 2.
  • a Mobile Edge Computing (MEC) device can be used as a local routing device to directly route data streams to a local application server without going through core network devices (such as SGW and PGW). ) reach the application server on the core network side.
  • MEC Mobile Edge Computing
  • Such a processing method can shorten the transmission path of the data stream, and thus can improve the processing speed of the application data stream.
  • the first user plane function (User Plane Function) device acts as a local routing device, and can forward the data packet to the local network device, so that the data packet does not need to pass through the core network device (such as the second The user plane function device) reaches the application server on the core network side.
  • the Control Plane (CP) function device is mainly used to implement the control function, similar to the MME in the system architecture shown in FIG.
  • the CP function device may be an Access and Mobility Management Function (AMF) device or a Session Management Function (SMF) device.
  • AMF Access and Mobility Management Function
  • SMF Session Management Function
  • the User Plane (UP) function device is used to implement the user plane function of the local network, and may be referred to as a local routing function device, similar to the MEC device in the system architecture shown in FIG.
  • the specific device name is not limited.
  • the second user plane function device is used to implement the user plane function of the core network, and may be referred to as a core network device, similar to the user plane function of the SGW and the PGW in the embodiment shown in FIG.
  • the specific device name is not limited.
  • the local routing device and the core network device are relatively speaking, and can respectively refer to different user plane function devices.
  • FIG. 3 is a schematic flowchart of a communication method 300 according to an embodiment of the present invention.
  • the local routing device or the core network device Before the handover process of the terminal from the source access network device to the target access network device is completed, the local routing device or the core network device sends the data packet to the terminal through the source access network device. After the handover is completed, the local routing device or the core network device sends a data packet to the terminal through the target access network device.
  • the handover preparation process between the source access network device and the target access network device and the handover execution process between the terminal, the source access network device, and the target access network device may refer to the prior art. After the handover between the source access network device and the target access network device is completed, and the data transmission channel between the target access network and the core network device (such as the gateway device or the user plane function device of the core network) is not yet available. If the source access network device still receives the data packet of the terminal sent by the local routing device, the data packet needs to be sent to the target access network device.
  • the core network device such as the gateway device or the user plane function device of the core network
  • the data transmission channel 1 is a local routing device--->source access network device ---> Target access network equipment ---> terminal
  • data transmission channel 2 is the local routing device ---> target access network device ---> terminal, as shown in the dotted line in Figure 3.
  • the communication method 300 includes the following.
  • the local routing device determines that after the terminal switches from the source access network device to the target access network device, the first data packet is sent to the target access network device.
  • the local routing device can determine that the terminal switches from the source access network device to the target access network device in multiple manners.
  • the local routing device may determine, by using control layer signaling between the target access network device and the local routing device, that the source access network device switches to the target access network device. For example, the local routing device may receive a message from the target access network device for updating the address information of the access network device stored by the local routing device, and determine, according to the message, that the terminal has switched.
  • the local routing device may determine, by using control layer signaling between the core network device (such as the SGW) and the local routing device, that the source access network device switches to the target access network device. For example, the local routing device may receive a message from the core network device for updating address information of the access network device stored by the local routing device, and determine, according to the message, that the terminal has switched.
  • the core network device such as the SGW
  • the local routing device may receive a message from the core network device for updating address information of the access network device stored by the local routing device, and determine, according to the message, that the terminal has switched.
  • the local routing device may further detect the control layer signaling between the MME/CP and the core network device, and determine, according to the control layer signaling, that the terminal has switched.
  • the control layer signaling may be a modify bearer request message sent by the MME/CP to the core network device, or a modified bearer response message sent by the core network device to the MME/CP.
  • the local routing device may further detect whether the core network device sends an End Marker data packet, and if the core network device sends the End Marker data packet, determine that the terminal has switched.
  • the local routing device may further determine that the terminal has switched by using other manners.
  • the local routing device may determine that the terminal device may trigger the process 304 after switching from the source access network device to the target access network device. In some embodiments, if the local routing device receives a message that can cause the local routing device to trigger process 304 directly or indirectly, the local routing device can be considered to determine that the terminal is handed over from the source access network device to the target access network device.
  • the target access network device After receiving the first data packet, the target access network device caches the first data packet.
  • the target access network device may receive the data packets transmitted through the data transmission channel 1 and the data transmission channel 2 at the same time, and the data packet transmitted through the data transmission channel 1 is sent earlier, the data transmission channel will pass through. 2
  • the first data packet transmitted is buffered, and the data packet received from the source access network device is first transmitted to avoid the out-of-order packet received by the terminal.
  • the local routing node sends a first end identifier data packet to the source access network device.
  • the first end identification packet means that the data transmission ends on the data transmission channel 1.
  • the specific representation of the first end identification data packet is not limited, and may be, for example, an End Marker data packet.
  • the source access network device sends a first end identifier data packet to the target access network device.
  • the target access network device sends the cached first data packet to the terminal.
  • the target access network device After receiving the first end identification data packet, the target access network device can determine that the data packet transmitted through the data transmission channel 1 has been transmitted, and then send the data packet transmitted through the data transmission channel 2 to the terminal, thereby avoiding receiving the terminal.
  • the packets arrived are out of order.
  • the data transmission channel 3 is the core network device--->the source access network device ---> Target access network equipment ---> terminal;
  • the data transmission channel 4 is a core network device--->target access network device--->terminal, as shown by the dashed line in FIG.
  • method 300 can also include the content described by processes 306-310.
  • the core network device determines that after the terminal switches from the source access network device to the target access network device, the second data packet is sent to the target access network device.
  • the core network device can determine that the terminal is switched from the source access network device to the target access network device in multiple manners, which is not limited in this embodiment of the present invention.
  • the target access network device may send a path switch request message to the MME/CP, and the MME/CP receives the path switch request message sent by the target access network device.
  • the core device sends a modify bearer request message to the core network device, and the core network device can determine, according to the modify bearer request message, that the terminal switches from the source access network device to the target access network device.
  • the process 310 may be triggered, that is, after the data transmission of the data transmission channel 3 ends, the second end identification data packet is sent.
  • all processes capable of directly or indirectly causing the core network device to send the second end identification data packet may be considered as a process in which the core network determines that the terminal switches from the source access network device to the target access network device.
  • the specific form of expression is not limited.
  • the target access network device caches the second data packet.
  • the target access network device may receive the data packet transmitted through the data transmission channel 3 and the data transmission channel 4 at the same time, and the data packet transmitted through the data transmission channel 3 is sent earlier, the data transmission channel will pass through the data transmission channel. 4 The second data packet transmitted is buffered to avoid the disorder of the data packet received by the terminal.
  • the core network device sends a second end identifier data packet to the source access network device.
  • the source access network device sends a second end identifier data packet to the target access network device.
  • the target access network device sends the cached second data packet to the terminal.
  • the target access network device After receiving the second end identification data packet, the target access network device can determine that the data packet transmitted through the data transmission channel 3 has been transmitted, and then send the data packet transmitted through the data transmission channel 4 to the terminal, thereby avoiding terminal receiving.
  • the packets arrived are out of order.
  • processes 305 and 310 may be performed independently in embodiments of the present invention. That is, the target access network device may send the cached first data packet to the terminal after receiving the end identification data packet sent by the local routing device, and send the cache to the terminal after receiving the end identification data packet sent by the core network device.
  • the second packet In the embodiment of the present invention, the target access network device needs to identify whether the received data packet and the end identification data packet are sent by the local routing device or sent by the core network device.
  • the second data packet sent by the core network device in the embodiment of the present invention is used to identify that the second data packet is sent by the core network device, and the second end identifier data packet sent by the core network device is carried.
  • the second end identifier data packet is identified by the core network device; and/or the first data packet sent by the local routing device carries identifier information used to identify that the first data packet is sent by the local routing device.
  • the first end identifier data packet sent by the local routing device carries identifier information used to identify that the first end identifier data packet is sent by the local routing device.
  • the local routing node may further process the sent first data packet and the first end identification data packet, so that the first data packet is distinguished from the second data packet, and the first end identification data packet is distinguished from the second end identification data packet.
  • the specific expression form of the first end identification data packet and the second end identification data packet is not limited, as long as the first end label can be distinguished.
  • the representation of the data packet and the second end identification data packet are all within the scope of the embodiments of the present invention.
  • the identifier information is included in an end identifier of the first end identifier data packet or the second end identifier data packet.
  • the end identifier of the first end identification data packet may be an End Marker
  • the end identifier of the second end identification data packet may be a Local End Marker
  • the end identifier of the first end identification data packet may be a CN End Marker
  • second The end identifier of the end identification packet may be the MEC End Marker.
  • the embodiment of the present invention is not limited thereto, and the device identifier may also be carried in other parts of the end identification data packet.
  • the data transmission channel 1 or the data transmission channel 3 may be faulty, such that the end identification data packet sent by the local routing device or the core network device cannot reach the target access network device through the source access network device. .
  • the target access network device may not receive the end identification data packet sent by the local routing device or the core network device for a long time. If the target access network device needs to send the buffered data packet to the terminal after receiving the two end identification data packets sent by the local routing device and the core network device, the target access network device cannot send the buffer to the terminal. data pack.
  • the target access network device may also start a timer, and if the timer does not receive the end identification data packet sent by the local routing device or the core network device, the target access network device sends the terminal to the terminal. Cached packets.
  • the embodiment of the present invention does not limit the timing of starting the timer on the target access network.
  • the target access network device may start a timer after receiving the data packet from the local routing device or the core network device, or may be in the MME/ The timer is started after the CP sends a path switch request message.
  • processes 305 and 310 may be performed concurrently after processes 304 and 309. That is, after receiving the two end identification data packets sent by the local routing device and the core network device, the target access network device sends the cached first data packet and the second data packet to the terminal.
  • the first end identifier data packet sent by the local routing device carries identifier information for identifying that the data packet is sent by the local routing device, and/or the second end identifier data packet sent by the core network device.
  • the identifier information for identifying that the data packet is sent by the core network device is carried, so that the target access network device can distinguish which device the end identifier data packet is sent after receiving the end identification data packet.
  • the access network device may not be able to know whether a local routing device is deployed in the current network, or even if a local routing device is deployed, for some reason, for example, because the subscription data of the terminal is not allowed.
  • the data stream is processed locally, and then the data stream of the terminal is not processed locally by the local routing device.
  • the data transmission channel 1 may be faulty, so that the end identification data packet sent by the local routing device cannot reach the target access network device through the source access network device. In these scenarios, the target access network device may not receive the end identification packet sent by the local routing device for a long time.
  • the target access network device may also start a timer, and if the timer does not receive the end identification data packet sent by the local routing device, the target access network device sends the buffered data packet to the terminal. .
  • the embodiment of the present invention does not limit the timing of starting the timer on the target access network. For example, the target access network device may start the timer when receiving the end identification data packet sent by the core network device, or may be in the MME/CP. The timer is started after the path switch request message is sent.
  • FIG. 4 is a schematic flowchart of a communication method according to another embodiment of the present invention.
  • the handover preparation process between the source eNB and the target eNB and the handover execution procedure between the terminal, the source eNB, and the target eNB may refer to the prior art. After the handover of the terminal, the source eNB, and the target eNB is completed, if the source eNB receives the data packet of the terminal sent by the SGW or the MEC device, the data packet needs to be sent to the target eNB.
  • the downlink data packet arrives at the terminal through the data transmission channel 1, and the data transmission channel 1 is the SGW--->source eNB--->target eNB--->terminal; or the data packet sent by the MEC device passes
  • the data transmission channel 2 arrives at the terminal, and the data transmission channel 2 is a MEC device--->source eNB--->target eNB--->terminal, as shown by the dashed line in FIG.
  • the target eNB sends a path switch request message to the MME.
  • the MME sends a modify bearer request message to the SGW.
  • the SGW sends a modify bearer response message to the MME.
  • Processes 401 to 403 are the same as the prior art, and the corresponding contents are appropriately omitted herein.
  • the SGW sends the first data packet of the terminal to the target eNB.
  • the SGW can learn that the terminal switches from the source eNB to the target eNB according to the received modify bearer request message. That is to say, the downlink data packet at this time can reach the terminal through the data transmission channel 3, and the data transmission channel 3 is the SGW--->target eNB--->terminal.
  • the target eNB caches the first data packet.
  • the target eNB may receive the data packets transmitted through the data transmission channel 1 and the data transmission channel 3 at the same time, and the data packet transmitted through the data transmission channel 1 is sent earlier, it will be transmitted through the data transmission channel 3.
  • the first data packet is buffered, but the data packet received from the data transmission channel 1 is first sent to the terminal, which can avoid the disorder of the data packet received by the terminal.
  • the SGW sends a first end identification data packet to the source eNB.
  • the source eNB sends the first end identifier data packet to the target eNB, so that the eNB can perceive that the data packet transmitted through the data transmission channel 1 has been transmitted.
  • the target eNB sends a notification message to the MEC device, where the notification message is used to notify the MEC device terminal to switch from the source eNB to the target eNB.
  • the notification process may cause the MEC device to trigger the process 411, that is, after the data transmission in the data transmission channel 2 ends, the MEC device is notified to send the second end identification data packet.
  • the message sent by the target eNB to the MEC device for directly or indirectly causing the MEC device to trigger the process 411 can be considered to be the notification message.
  • the notification message may include address information of the target eNB and identification information of the terminal device, and the identification information of the terminal device is used to indicate the terminal where the handover occurs.
  • the MEC device may modify the stored address information of the source eNB to the address information of the target eNB.
  • execution timing of the 408 is not limited in the embodiment of the present invention, and 408 and 401 can be performed simultaneously, and 408 can also be executed before or after 401.
  • the MEC device sends a second data packet to the target eNB.
  • the MEC device can learn that the terminal has switched from the source eNB to the target eNB according to the received notification message. That is to say, the data packet sent by the MEC device at this time can reach the terminal through the data transmission channel 4, and the data transmission channel 4 is the MEC device--->target eNB--->terminal.
  • the target eNB caches the second data packet.
  • the target eNB may receive the data packets transmitted through the data transmission channel 2 and the data transmission channel 4 at the same time, and the data packet transmitted through the data transmission channel 2 is sent earlier, it will be transmitted through the data transmission channel 4.
  • the second data packet is cached to avoid packet out-of-order received by the terminal.
  • the MEC device sends a second end identifier data packet to the source eNB.
  • the source eNB sends the second end identifier data packet to the target eNB, and informs the target eNB that the data packet transmitted through the data transmission channel 2 has been transmitted.
  • the MME sends a path switch request acknowledgement message to the target eNB.
  • 413 may be executed after 412, or may be performed after 403, or may be performed at any time between 403 and 412.
  • the target eNB sends the cached first data packet to the terminal.
  • the target eNB sends the buffered second data packet to the terminal.
  • the target eNB after receiving the first end identification data packet and the second end identification data packet, the target eNB sends the cached first data packet and the second data packet to the terminal.
  • the target eNB may separately send the buffered first data packet and the second data packet to the terminal, or may simultaneously send the buffered first data packet and the second data packet to the terminal.
  • the target eNB may further send the cached first data packet to the terminal after receiving the first end identification data packet, and send the cached second data packet to the terminal after receiving the second end identification data packet.
  • the target eNB sends a release resource message to the source eNB.
  • the timer may also be started. If the timer expires, the target eNB still does not receive the second end identification data packet sent by the MEC device by the source eNB, and the target eNB sends the buffered first data packet and the second data packet to the terminal.
  • FIG. 5 is a schematic flowchart of a communication method according to another embodiment of the present invention.
  • the handover preparation process between the source AN and the target AN and the handover execution process between the terminal, the source AN, and the target AN may refer to the prior art. After the handover of the terminal, the source AN, and the target AN is completed, if the source AN receives the data packet of the terminal sent by the first UP function device or the second UP function device, the data packet needs to be sent to the target AN.
  • the downlink data packet arrives at the terminal through the data transmission channel 1, and the data transmission channel 1 is the second UP device--->source AN--->target AN--->terminal; or, the first UP device
  • the transmitted data packet arrives at the terminal through the data transmission channel 2, and the data transmission channel 2 is the first UP device--->source AN--->target AN--->terminal, as shown by the dashed line in FIG.
  • the target AN sends a path switch request message to the CP function device.
  • the CP function device sends a modify bearer request message to the second UP function device, where the modify bearer request message indicates that the terminal switches from the source AN to the target AN.
  • the second UP function device sends a modify bearer response message to the CP function device.
  • Processes 501 to 503 are similar to the prior art, and the corresponding contents are appropriately omitted herein.
  • the second UP function device sends the first data packet of the terminal to the target AN.
  • the second UP function device can learn that the terminal switches from the source AN to the target AN according to the received modify bearer request message. That is to say, the downlink data packet at this time can reach the terminal through the data transmission channel 3, and the data transmission channel 3 is the second UP function device--->target AN---> terminal.
  • the target AN caches the first data packet.
  • the target AN may receive the data packets transmitted through the data transmission channel 1 and the data transmission channel 3 at the same time, and the data packet transmitted through the data transmission channel 1 is sent earlier, it will be transmitted through the data transmission channel 3.
  • the first data packet is cached to avoid packet out-of-order received by the terminal.
  • the second UP function device sends a first end identification data packet to the source AN.
  • the source AN sends the first end identifier data packet to the target AN, and informs the target AN that the data packet transmitted through the data transmission channel 1 has been transmitted.
  • the CP function device sends a modify bearer request message to the first UP function device, where the modify bearer request message indicates that the terminal switches from the source AN to the target AN.
  • a control layer interface exists between the CP function device and the first UP function device. Therefore, the CP function device can directly send a modify bearer request message to the first UP function device to trigger the end of the first UP function device. Identify the data packet.
  • the modification bearer request may include address information of the target AN and identification information of the terminal device, and the identification information of the terminal device is used to indicate the terminal where the handover occurs.
  • the first UP function device may modify the stored address information of the source AN to the address information of the target AN.
  • the execution timing of 508 is not limited, 508 and 502 may be performed simultaneously, and 508 may also be executed before or after 502.
  • the first UP function device sends a modify bearer response message to the CP function device.
  • the first UP function device sends a second data packet to the target AN.
  • the first UP function device can learn that the terminal switches from the source AN to the target AN according to the received modify bearer request message. That is to say, the data packet sent by the first UP function device at this time can reach the terminal through the data transmission channel 4, and the data transmission channel 4 is the first UP function device--->target AN---> terminal.
  • the target AN caches the second data packet.
  • the target AN may simultaneously receive the data packets transmitted through the data transmission channel 2 and the data transmission channel 4, and the data packets transmitted through the data transmission channel 2 are transmitted earlier, they will be transmitted through the data transmission channel 4.
  • the second data packet is cached to avoid packet out-of-order received by the terminal.
  • the first UP function device sends a second end identifier data packet to the source AN.
  • the source AN sends the second end identifier data packet to the target AN, and informs the target AN that the data packet transmitted through the data transmission channel 2 has been transmitted.
  • the CP sends a path switch request acknowledgement message to the target AN.
  • the execution timing of the embodiment 514 is not limited in the embodiment of the present invention.
  • 514 can be executed after 513, It can also be executed after 503 or at any time between 503 and 513.
  • the target AN sends the cached first data packet to the terminal.
  • the target AN sends the buffered second data packet to the terminal.
  • the target AN may separately send the buffered first data packet and the second data packet to the terminal, or may simultaneously send the buffered first data packet and the second data packet to the terminal.
  • the target AN may further send the cached first data packet to the terminal after receiving the first end identification data packet, and send the cached second data packet to the terminal after receiving the second end identification data packet.
  • the target AN sends a release resource message to the source AN.
  • the eNB or the AN is used as an example to describe the access network device, the embodiments of the present invention are not limited to the system represented by these terms. The embodiments of the present invention are also applicable to other systems, and these variations are all within the scope of the embodiments of the present invention.
  • the timer may also be started. If the timer timeout target AN has not received the second end identification data packet sent by the first UP function device through the source AN, the target AN sends the buffered first data packet and the second data packet to the terminal.
  • the target AN sends the buffered first data packet and the second data packet to the terminal.
  • the core network device may be the SGW shown in FIG. 4, the gateway device that has the functions of the SGW and the PGW, or the CP function device shown in FIG. 5.
  • the local routing device may be the MEC device shown in FIG. 3, or may be a local user plane function device, that is, the first UP function device shown in FIG. 5.
  • each device such as an access network device, a local routing device, etc.
  • each device includes hardware structures and/or software modules corresponding to the execution of the respective functions.
  • the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
  • the embodiments of the present invention may perform functional unit division on an access network device, a local routing device, and the like according to the foregoing method.
  • each functional unit may be divided according to each function, or two or more functions may be integrated into one.
  • Processing unit The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 6 shows a possible structural diagram of the access network device involved in the above embodiment.
  • the access network device 600 includes a communication unit 610 and a storage unit 620.
  • the communication unit 610 is configured to support communication between the access network device and other network entities, such as communication with a network entity such as the local routing device, the core network device, the source access network device, and the like shown in FIG. 3, or with FIG. Communication between network entities such as SGWs, MEC devices, and the like, or communication with network entities such as the CP function device, the first UP function device, and the second UP function device shown in FIG.
  • the storage unit 620 can be used to cache the data packets received by the communication unit 610.
  • the storage unit 620 can also be used to store program codes and data of the access network device.
  • the network access device may be the access network device shown in FIG.
  • the access network device 700 includes a communication interface 710 and a memory 720.
  • communication interface 710 and memory 720 may be interconnected by internal connection paths to communicate control and/or data signals.
  • FIG. 8 is a schematic diagram showing a possible structure of a local routing device involved in the foregoing embodiment.
  • the local routing device 800 includes a communication unit 810.
  • the communication unit 810 is configured to support communication of other network entities of the local routing device, such as communication with the target eNB, source eNB, CP functional device, etc., shown in Figures 4 and 5.
  • the local routing device can also include a storage unit 820 for storing program code and data of the local routing device.
  • the local routing device involved in the embodiment of the present invention may be the local routing device shown in FIG.
  • the local routing device 900 includes a communication interface 910 and a memory 920.
  • the steps of the method or algorithm described in connection with the disclosure of the embodiments of the present invention may be implemented in a hardware manner, or may be implemented by a processor executing software instructions.
  • the software instructions may be composed of corresponding software modules, which may be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory ( Erasable Programmable ROM (EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the functions described in the embodiments of the present invention may be implemented in hardware, software, firmware, or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

Abstract

本发明实施例提供了一种通信方法和装置,该通信方法包括:在终端从源接入网设备切换至目标接入网设备时,目标接入网设备接收终端的至少一个第一数据包;目标接入网设备缓存至少一个第一数据包;在目标接入网设备从源接入网设备接收到第二数据包和第三数据包,或者目标接入网设备接收到第二数据包和第三数据包中的一个数据包且在预设时段内没有接收到第二数据包和第三数据包中的另一个数据包,或者目标接入网设备在预设时段内没有接收到第二数据包和第三数据包的情况下,向终端发送缓存的至少一个第一数据包,第二数据包和第三数据包是结束标识数据包。本发明实施例能够避免终端接收到的数据包乱序。

Description

通信方法和装置 技术领域
本发明实施例涉及通信领域,尤其涉及通信方法和装置。
背景技术
为了增强用户的业务体验,可以在接入网附近部署本地路由设备和本地网络设备(如本地应用服务器),该本地路由设备可以获取终端的数据包,并将该数据包处理完后路由至本地的应用服务器。本地路由设备也可以称为用户面功能设备,是靠近接入网或者终端设备的用户面功能设备。
当终端从源演进型节点(Evolved Node B,eNB或eNodeB)切换至目标eNB的过程中,在一段时间内,本地路由设备到该终端之间可能同时存在两条传输通道:传输通道1、本地路由设备—>源eNB—>目标eNB—>终端;传输通道2、本地路由设备—>目标eNB—>终端。由于两条传输通道上的数据包的传输时间不同,这样会导致终端接收到的数据包乱序。
发明内容
本发明实施例提供了一种通信方法和装置,当终端在接入网设备之间切换时,能够避免终端接收到的数据包乱序。
第一方面,本发明实施例提供了一种通信方法,所述通信方法包括:
在终端从源接入网设备切换至目标接入网设备时,所述目标接入网设备接收所述终端的至少一个第一数据包;
所述目标接入网设备缓存所述至少一个第一数据包;
在所述目标接入网设备从所述源接入网设备接收到第二数据包和第三数据包,或者所述目标接入网设备接收到所述第二数据包和所述第三数据包中的一个数据包且在预设时段内没有接收到所述第二数据包和所述第三数据包中的另一个数据包,或者所述目标接入网设备没有接收到所述第二数据包和所述第三数据包的情况下,向所述终端发送缓存的所述至少一个第一数据包,所述第二数据包和所述第三数据包是结束标识数据包。
应理解,结束标识数据包是指终端在实际应用数据包发送结束之后发送的数据包,接收该结束标识的数据包可以认为该终端的实际应用数据包已经发送结束,结束标识数据包的格式不限制,比如可以是End Mark,或者在实际应用的最后的数据包中增加标识信息。
其中,所述第二数据包携带第一标识信息,所述第一标识信息用于标识所述第二数据包是由核心网设备发送的,和/或所述第三数据包携带第二标识信息,所述第二标识信息用于标识所述第三数据包是由本地路由设备发送的。
应理解,本发明实施例对第一标识信息和第二标识信息的具体形式不做限定。例如,第一标识信息和第二标识信息可以是发送第二数据包和第三数据包的设备的设备标识,也可以是其他能够标识该设备的信息。
换句话说,第二数据包是核心网设备发送的结束标识数据包,第三数据包是本地路由设备发送的结束标识数据包。
本地路由设备和核心网设备通过源接入网设备、目标接入网设备向终端发送数据包的数据通道可以称为源数据传输通道,本地路由设备和核心网设备直接通过目标接入网设备向终端发送数据包的通道可以称为目标数据传输通道。
若目标接入网设备接收到通过源数据传输通道传输的结束标识数据包,或者若目标接入网在预设时段内没有接收到核心网设备或本地路由设备通过源数据传输通道发送的结束标识数据包,则意味着源数据传输通道上的数据传输已经结束。由于通过源数据传输通道到达目标接入网设备的数据包的发送时间比通过目标数据传输通道到达目标接入网设备的数据包的发送时间早,因此在源数据传输通道上的数据传输已经结束时再向终端发送通过目标数据传输通道传输的数据包,能够避免终端接收到的数据包乱序。
在一些可能的实现方式中,所述第一标识信息携带在所述第二数据包的结束标识中,所述第二标识信息携带在所述第三数据包的结束标识中。
在一些可能的实现方式中,所述通信方法还包括:
所述目标接入网设备向所述本地路由设备发送通知消息,所述通知消息用于通知所述本地路由设备向所述源接入网设备发送所述第三数据包。
所述第三数据包用于标识所述终端的实际应用数据包发送结束。
在一些可能的实现方式中,所述通信方法还可以包括:
所述目标接入网设备启动定时器。
可选地,所述目标接入网设备可以在从所述源接入网设备接收到第二数据包之后启动定时器,这样,若所述目标接入网设备接收到所述第二数据包之后在定时器的预设时段内没有接收到所述第三数据包,则向终端发送缓存的至少一个第一数据包。
可选地,所述目标接入网设备可以在向移动性管理网元或控制面功能设备发送路径切换请求消息之后启动定时器。
第二方面,本发明实施例提供了一种通信方法,所述通信方法包括:
在终端从源接入网设备切换至目标接入网设备时,所述目标接入网设备接收所述终端的第一数据包,所述第一数据包携带第一标识信息,所述第一标识信息用于标识发送所述第一数据包的设备;
所述目标接入网设备缓存所述第一数据包;
在所述目标接入网设备从所述源接入网设备接收到由发送所述第一数据包的设备发送的所述终端的第二数据包,或者所述目标接入网设备在预设时段内没有接收到所述第二数据包的情况下,向所述终端发送缓存的所述第一数据包,其中,所述第二数据包是结束标识数据包,所述第二数据包携带第二标识信息,所述第二标识信息标识发送所述第二数据包的设备。
应理解,本发明实施例对第一标识信息和第二标识信息的具体形式不做限定。例如,第一标识信息和第二标识信息可以是发送第一数据包和第二数据包的设备的设备标识,也可以是其他能够标识该设备的信息。
本地路由设备或核心网设备通过源接入网设备、目标接入网设备向终端发送数据包的数据通道可以称为源数据传输通道,本地路由设备或核心网设备直接通过目标接入网设备向终端发送数据包的通道可以称为目标数据传输通道。
若目标接入网设备接收到通过源数据传输通道传输的结束标识数据包,或者若目标接入网在预设时段内没有接收到核心网设备或本地路由设备通过源数据传输通道发送的 结束标识数据包,则意味着源数据传输通道上的数据传输已经结束。由于通过源数据传输通道到达目标接入网设备的数据包的发送时间比通过目标数据传输通道到达目标接入网设备的数据包的发送时间早,因此在源数据传输通道上的数据传输已经结束时再向终端发送通过目标数据传输通道传输的数据包,能够避免终端接收到的数据包乱序。
在一些可能的实现方式中,所述第二标识信息携带在所述第二数据包的结束标识中。
在一些可能的实现方式中,所述通信方法还可以包括:
所述目标接入网设备启动定时器。
第三方面,本发明实施例提供了一种通信方法,所述通信方法包括:
本地路由设备接收通知消息,所述通知消息用于通知所述本地路由设备发送结束标识数据包,所述结束标识数据包携带标识信息,所述标识信息用于标识所述结束标识数据包是由所述本地路由设备发送的;
所述本地路由设备根据所述通知消息发送所述结束标识数据包。
其中,所述结束标识数据包用于指示终端的实际应用数据包发送已结束。
本地路由设备根据该通知消息可以获知终端由源接入网设备切换至目标接入网设备。
可选地,所述本地路由设备根据所述通知消息通过源接入网设备向目标接入网设备发送所述结束标识数据包。
本地路由设备通过源接入网设备、目标接入网设备向终端发送数据包的数据通道可以称为源数据传输通道,本地路由设备直接通过目标接入网设备向终端发送数据包的通道可以称为目标数据传输通道。
本地路由设备通过源数据传输通道向目标接入网设备发送结束标识数据包,使得目标接入网设备能够获知源数据传输通道上的数据传输已经结束。
在一些可能的实现方式中,所述标识信息携带在所述结束标识数据包的结束标识中。
第四方面,本发明实施例提供了一种接入网设备,所述接入网设备具有实现上述第一方面所述的方法中目标接入网设备行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。
在一些可能的实现方式中,所述接入网设备包括通信单元和存储单元。所述通信单元用于支持所述接入网设备与其他设备之间的通信,所述存储单元用于缓存接收到的数据包。作为示例,通信单元可以为通信接口,存储单元可以为存储器。
第五方面,本发明实施例提供了一种接入网设备,所述接入网设备具有实现上述第二方面所述的方法中目标接入网设备行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。
在一些可能的实现方式中,所述接入网设备包括通信单元和存储单元。所述通信单元用于支持所述接入网设备与其他设备之间的通信,所述存储单元用于缓存接收到的数据包。作为示例,通信单元可以为通信接口,存储单元可以为存储器。
第六方面,本发明实施例提供了一种本地路由设备,所述本地路由设备具有实现上述第三方面所述的方法中本地路由设备行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的 模块。
在一些可能的实现方式中,所述本地路由设备包括通信单元。所述通信单元用于支持本地路由设备与其他设备之间的通信。可选地,所述本地路由设备还可以包括存储单元,所述存储单元用于保存所述本地路由设备必要的程序指令和数据。作为示例,通信单元可以为通信接口,存储单元可以为存储器。
第七方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在接入网设备上运行时,使得接入网设备执行上述第一方面所述的方法。
第八方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在接入网设备上运行时,使得接入网设备执行上述第二方面所述的方法。
第九方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在本地路由设备上运行时,使得本地路由设备执行上述第三方面所述的方法。
第十方面,本发明实施例提供了一种包含指令的计算机程序产品,当其在接入网设备上运行时,使得接入网设备执行上述第一方面所述的方法。
第十一方面,本发明实施例提供了一种包含指令的计算机程序产品,当其在接入网设备上运行时,使得接入网设备执行上述第二方面所述的方法。
第十二方面,本发明实施例提供了一种包含指令的计算机程序产品,当其在本地路由设备上运行时,使得本地路由设备执行上述第三方面所述的方法。
附图说明
图1是本发明实施例提供的一种可能的应用场景的示意图;
图2是本发明实施例提供的另一种可能的应用场景的示意图;
图3是本发明实施例提供的一种通信方法的示意性流程图;
图4是本发明实施例提供的另一种通信方法的示意性流程图;
图5是本发明实施例提供的另一种通信方法的示意性流程图;
图6是本发明实施例提供的一种接入网设备的示意性框图;
图7是本发明实施例提供的另一种接入网设备的示意性框图;
图8是本发明实施例提供的一种本地路由设备的示意性框图;
图9是本发明实施例提供的另一种本地路由设备的示意性框图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述。
本发明实施例描述的网络架构以及业务场景是为了更加清楚的说明本发明实施例的技术方案,并不构成对于本发明实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本发明实施例提供的技术方案对于类似的技术问题,同样适用。
本发明实施例中,名词“网络”和“系统”经常交替使用,但本领域技术人员可以理解其含义。本发明实施例所涉及到的终端可以包括各种具有无限通信功能的手持设备、 车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为终端。本发明实施例所涉及到接入网设备可以是基站(Base Station,BS),所述基站是一种部署在无线接入网中用以为终端提供无线通信功能的装置。所述基站可以包括各种形式的宏基站,微基站,中继站,接入点等等。在采用不同的无线接入技术的系统中,具备基站功能的设备的名称可能会有所不同,例如在长期演进(Long Term Evolution,LTE)系统中,称为演进的节点B(evolved NodeB,eNB或eNodeB);在3G通信系统中,称为节点B(Node B);在5G通信系统中,称为AN(Access Network),接入网等等。
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
本发明实施例可以应用于图1和图2所示的系统架构。
图1所示的系统架构中,移动边缘计算(Mobile Edge Computing,MEC)设备作为本地路由设备可以将数据流直接路由到本地的应用服务器上,而不需要再经过核心网设备(如SGW和PGW)到达核心网侧的应用服务器。这样的处理方式能够缩短数据流的传输路径,故而能够提高应用数据流的处理速度。
图2所示的系统架构中,第一用户面功能(User Plane Function)设备作为本地路由设备,可以将数据包路由到本地的网络设备,使得数据包不需要再经过核心网设备(如第二用户面功能设备)到达核心网侧的应用服务器。其中,控制面(Control Plane,CP)功能设备主要用于实现控制功能,类似于图1所示系统架构中的MME。具体地,CP功能设备可以是接入与移动性管理功能(Access and Mobility management Function,AMF)设备或者会话管理功能(Session Management Function,SMF)设备,为描述方便,本文中用CP功能设备表示。第一用户面(User Plane,UP)功能设备用于实现本地网络的用户面功能,可以称为本地路由功能设备,类似于图1所示系统架构中的MEC设备。具体设备名称不限制。第二用户面功能设备用于实现核心网的用户面功能,可以被称为核心网设备,类似于图1所示实施例中SGW和PGW的用户面功能。具体设备名称为不限制。本地路由设备与核心网设备是相对来说的,可以分别指不同的用户面功能设备。
图3是根据本发明实施例的通信方法300的示意性流程图。
终端在从源接入网设备到目标接入网设备的切换过程完成之前,本地路由设备或核心网设备通过源接入网设备向终端发送数据包。切换完成之后,本地路由设备或核心网设备通过目标接入网设备向终端发送数据包。
源接入网设备与目标接入网设备之间的切换准备过程以及终端、源接入网设备和目标接入网设备之间的切换执行过程可以参考现有技术。在源接入网设备与目标接入网设备之间的切换执行完成之后,且目标接入网与核心网设备(如网关设备或核心网的用户面功能设备)之间的数据传输通道还没有建立成功时,若源接入网设备仍接收到本地路由设备发送的终端的数据包,则需要将该数据包发送至目标接入网设备。也就是说,终端在切换到目标接入网设备的一段时间内,本地路由设备与终端之间可能存在两条数据传输通道:数据传输通道1为本地路由设备--->源接入网设备--->目标接入网设备--->终端;数据传输通道2为本地路由设备--->目标接入网设备--->终端,如图3虚线所示。
如图3所示,通信方法300包括如下内容。
301、本地路由设备确定终端从源接入网设备切换至目标接入网设备之后,向目标接入网设备发送第一数据包。
本地路由设备可以通过多种方式确定终端从源接入网设备切换至目标接入网设备。
可选地,本地路由设备可以通过目标接入网设备与本地路由设备之间的控制层信令确定源接入网设备切换至目标接入网设备。例如,本地路由设备可以从目标接入网设备接收用于更新本地路由设备存储的接入网设备的地址信息的消息,并根据该消息确定终端发生了切换。
可选地,本地路由设备可以通过核心网设备(如SGW)与本地路由设备之间的控制层信令确定源接入网设备切换至目标接入网设备。例如,本地路由设备可以从核心网设备接收用于更新本地路由设备存储的接入网设备的地址信息的消息,并根据该消息确定终端发生了切换。
可选地,本地路由设备还可以探测MME/CP与核心网设备之间用于控制层信令,并根据该控制层信令确定终端发生了切换。例如,该控制层信令可以为MME/CP向核心网设备发送的修改承载请求消息,或核心网设备向MME/CP发送的修改承载响应消息。
可选地,本地路由设备还可以探测核心网设备是否发送了结束标识(End Marker)数据包,如果核心网设备发送了End Marker数据包,则确定终端发生了切换。
应理解,本发明实施例中,本地路由设备还可以通过其他方式确定终端发生了切换。
需要说明的是,本地路由设备确定终端设备从源接入网设备到目标接入网设备发生切换之后可以触发过程304。在一些实施例中,如果本地路由设备接收到能够直接或者间接使本地路由设备触发过程304的消息,则可以认为本地路由设备确定终端从源接入网设备切换至目标接入网设备。
302,目标接入网设备接收到第一数据包之后,缓存第一数据包。
由于目标接入网设备可能同时接收到通过该数据传输通道1和数据传输通道2传输的数据包,而且,通过数据传输通道1传输的数据包的发送时间较早,因此,将通过数据传输通道2传输的第一数据包缓存起来,而先发送从源接入网设备接收到的数据包能够避免终端接收到的数据包乱序。
303,本地路由节点向源接入网设备发送第一结束标识数据包。第一结束标识数据包意味着在该数据传输通道1上数据传输结束。该第一结束标识数据包的具体表现形式不限制,比如可以是End Marker数据包。
304,源接入网设备向目标接入网设备发送第一结束标识数据包。
305,目标接入网设备向终端发送缓存的第一数据包。
目标接入网设备在接收到第一结束标识数据包之后,能够确定通过数据传输通道1传输的数据包已经传输完,这时向终端发送通过数据传输通道2传输的数据包,能够避免终端接收到的数据包乱序。
类似地,当源接入网设备与目标接入网设备之间的切换过程完成之后,核心网设备与目标接入网设备之间数据传输通道还没有建立成功时,若源接入网设备仍接收到核心网设备发送的终端的数据包,则需要将该数据包发送至目标接入网设备。也就是说,终端在切换到目标接入网设备的一段时间内,核心网设备与终端之间可能存在两条数据传输通道:数据传输通道3为核心网设备--->源接入网设备--->目标接入网设备--->终端; 数据传输通道4为核心网设备--->目标接入网设备--->终端,如图3虚线所示。
相应地,方法300还可以包括过程306~310描述的内容。
306,核心网设备确定终端从源接入网设备切换至目标接入网设备之后,向目标接入网设备发送第二数据包。
核心网设备可以通过多种方式确定终端从源接入网设备切换至目标接入网设备,本发明实施例对此并不限定。
例如,终端从源接入网设备切换至目标接入网设备后,目标接入网设备可以向MME/CP发送路径切换请求消息,MME/CP接收到目标接入网设备发送的路径切换请求消息之后向核心网设备发送修改承载请求消息,核心网设备根据该修改承载请求消息可以确定终端从源接入网设备切换至目标接入网设备。
核心网设备确定终端从源接入网设备切换至目标接入网设备之后,可以触发过程310,也就是当数据传输通道3的数据传输结束后,发送第二结束标识数据包。在一些实施例中,所有能够直接或者间接地使核心网设备发送第二结束标识数据包的过程,均可以被认为是核心网确定终端从源接入网设备切换至目标接入网设备的过程,具体表现形式不限制。
307,目标接入网设备接收到第二数据包之后,缓存第二数据包。
由于目标接入网设备可能同时接收到通过该数据传输通道3和数据传输通道4传输的数据包,而且,通过数据传输通道3传输的数据包的发送时间较早,因此,将通过数据传输通道4传输的第二数据包缓存起来能够避免终端接收到的数据包乱序。
308,核心网设备向源接入网设备发送第二结束标识数据包。
309,源接入网设备向目标接入网设备发送第二结束标识数据包。
310,目标接入网设备向终端发送缓存的第二数据包。
目标接入网设备在接收到第二结束标识数据包之后,能够确定通过数据传输通道3传输的数据包已经传输完,这时向终端发送通过数据传输通道4传输的数据包,能够避免终端接收到的数据包乱序。
需要说明的是,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
应理解,本发明实施例中,过程305和310可以独立执行。也就是说,目标接入网设备可以在接收到本地路由设备发送的结束标识数据包之后向终端发送缓存的第一数据包,在接收到核心网设备发送的结束标识数据包之后向终端发送缓存的第二数据包。本发明实施例中,目标接入网设备需要识别出接收到的数据包和结束标识数据包是本地路由设备发送的,还是核心网设备发送的。可选地,本发明实施例中核心网设备发送的第二数据包携带用于标识该第二数据包是由核心网设备发送的标识信息,核心网设备发送的第二结束标识数据包携带用于标识该第二结束标识数据包是由核心网设备发送的标识信息;和/或,本地路由设备发送的第一数据包携带用于标识该第一数据包是由本地路由设备发送的标识信息,本地路由设备发送的第一结束标识数据包携带用于标识该第一结束标识数据包是由本地路由设备发送的标识信息。例如,本地路由节点可以对发送的第一数据包和第一结束标识数据包进一步处理,以使得第一数据包区别于第二数据包,第一结束标识数据包区别于第二结束标识数据包。具体地,本发明实施例中,第一结束标识数据包与第二结束标识数据包的具体表现形式不做限制,只要能够区别的第一结束标 识数据包与第二结束标识数据包的表现形式均属于本发明实施例的范围。
可选地,第一结束标识数据包或第二结束标识数据包的结束标识中包括该标识信息。例如,第一结束标识数据包的结束标识可以为End Marker,第二结束标识数据包的结束标识可以为Local End Marker;或者,第一结束标识数据包的结束标识可以为CN End Marker,第二结束标识数据包的结束标识可以为MEC End Marker。但本发明实施例并不限于此,设备标识还可以携带在结束标识数据包的其他部分。
还应理解,在一些实施例中,数据传输通道1或数据传输通道3可能发生故障,使得本地路由设备或核心网设备发送的结束标识数据包无法通过源接入网设备到达目标接入网设备。在这些场景下,目标接入网设备可能长时间无法接收到本地路由设备或核心网设备发送的结束标识数据包。如果目标接入网设备需要在接收到本地路由设备和核心网设备发送的两种结束标识数据包之后才能将缓存的数据包发送至终端,则会导致目标接入网设备无法向终端发送缓存的数据包。因此,本发明实施例中,目标接入网设备还可以启动定时器,如果定时器超时仍没有接收到本地路由设备或核心网设备发送的结束标识数据包,则目标接入网设备向终端发送缓存的数据包。本发明实施例对目标接入网启动定时器的时机不做限定,例如,目标接入网设备可以在从本地路由设备或核心网设备接收到数据包之后启动定时器,也可以在向MME/CP发送路径切换请求消息之后启动定时器。
还应理解,本发明实施例中,过程305和310可以在过程304和309之后同时执行。也就是说,目标接入网设备在接收到本地路由设备和核心网设备发送的两种结束标识数据包之后,向终端发送缓存的第一数据包和第二数据包。在本发明实施例中,本地路由设备发送的第一结束标识数据包携带有用于标识该数据包是由本地路由设备发送的标识信息,和/或核心网设备发送的第二结束标识数据包中携带有用于标识该数据包是由核心网设备发送的标识信息,这样目标接入网设备接收到结束标识数据包之后能够区别该结束标识数据包是哪个设备发送的。
还应理解,在一些实施例中,接入网设备可能无法获知当前网络中是否部署有本地路由设备,或者即使部署了本地路由设备,但是由于某些原因,例如由于该终端的签约数据不允许数据流本地处理,那么,该终端的数据流并不经过本地路由设备本地处理。或者,数据传输通道1可能发生故障,使得本地路由设备发送的结束标识数据包无法通过源接入网设备到达目标接入网设备。在这些场景下,目标接入网设备可能长时间无法接收到本地路由设备发送的结束标识数据包。如果目标接入网设备需要在接收到本地路由设备和核心网设备发送的两种结束标识数据包之后才能将缓存的数据包发送至终端,则会导致目标接入网设备无法向终端发送缓存的数据包。因此,本发明实施例中,目标接入网设备还可以启动定时器,如果定时器超时仍没有接收到本地路由设备发送的结束标识数据包,则目标接入网设备向终端发送缓存的数据包。本发明实施例对目标接入网启动定时器的时机不做限定,例如,目标接入网设备可以在接收到核心网设备发送的结束标识数据包时启动定时器,也可以在向MME/CP发送路径切换请求消息之后启动定时器。
下面将结合图4和图5描述根据本发明实施例的通信方法300在图1和图2所示系统架构中的应用。
图4是根据本发明另一实施例的通信方法的示意性流程图。
源eNB与目标eNB之间的切换准备过程以及终端、源eNB和目标eNB之间的切换执行过程可以参考现有技术。在终端、源eNB与目标eNB之间的切换执行完成之后,若源eNB接收到SGW或MEC设备发送的终端的数据包,则需要将该数据包发送至目标eNB。
也就是说,此时下行数据包通过数据传输通道1到达终端,数据传输通道1为SGW--->源eNB--->目标eNB--->终端;或者,MEC设备发送的数据包通过数据传输通道2到达终端,数据传输通道2为MEC设备--->源eNB--->目标eNB--->终端,如图4虚线所示。
401,目标eNB向MME发送路径切换请求消息。
402,MME向SGW发送修改承载请求消息。
403,SGW向MME发送修改承载响应消息。
过程401~403与现有技术相同,在此适当省略相应的内容。
404、SGW向目标eNB发送终端的第一数据包。
SGW根据接收到的修改承载请求消息,可以获知终端从源eNB切换到了目标eNB。也就是说,此时的下行数据包可以通过数据传输通道3到达终端,数据传输通道3为SGW--->目标eNB--->终端。
405,目标eNB缓存第一数据包。
由于目标eNB可能同时接收到通过该数据传输通道1和数据传输通道3传输的数据包,而且,通过数据传输通道1传输的数据包的发送时间较早,因此,将通过数据传输通道3传输的第一数据包缓存起来,而是先将从数据传输通道1收到的数据包发送到终端,能够避免终端接收到的数据包乱序。
406,SGW向源eNB发送第一结束标识数据包。
407,源eNB向目标eNB发送该第一结束标识数据包,由此,eNB可以感知到通过数据传输通道1传输的数据包已经传输完。
应理解,403、404和406的执行顺序不做限定,它们可以同时执行,也可以以任意的先后顺序执行。
408,目标eNB向MEC设备发送通知消息,该通知消息用于通知MEC设备终端从源eNB切换至目标eNB。该通知过程可以使MEC设备触发过程411,也就是当数据传输通道2中数据传输结束后,通知MEC设备发送第二结束标识数据包。在一些实施例中,目标eNB向MEC设备发送的用于直接或者间接使MEC设备触发过程411的消息均可以被认为是该通知消息。
例如,通知消息可以包括目标eNB的地址信息和终端设备的标识信息,终端设备的标识信息用于表示发生切换的终端。MEC设备接收到通知消息之后,可以将存储的源eNB的地址信息修改为目标eNB的地址信息。
需要说明的是,本发明实施例对408的执行时机不作限定,408和401可以同时执行,408还可以在401之前或之后执行。
409,MEC设备向目标eNB发送第二数据包。
MEC设备根据接收到的通知消息,可以获知终端从源eNB切换到了目标eNB。也就是说,此时的MEC设备发送的数据包可以通过数据传输通道4到达终端,数据传输通道4为MEC设备--->目标eNB--->终端。
410,目标eNB缓存第二数据包。
由于目标eNB可能同时接收到通过该数据传输通道2和数据传输通道4传输的数据包,而且,通过数据传输通道2传输的数据包的发送时间较早,因此,将通过数据传输通道4传输的第二数据包缓存起来能够避免终端接收到的数据包乱序。
411,MEC设备向源eNB发送第二结束标识数据包。
412,源eNB向目标eNB发送该第二结束标识数据包,告知目标eNB通过数据传输通道2传输的数据包已经传输完。
应理解,409和411的执行顺序不做限定,它们可以同时执行,也可以以任意的先后顺序执行。
413,MME向目标eNB发送路径切换请求确认消息。
应理解,本发明实施例对413的执行时机不做限定。例如,413可以在412之后执行,也可以在403之后执行,也可以与403至412之间的任一时刻执行。
414,目标eNB向终端发送缓存的第一数据包。
415,目标eNB向终端发送缓存的第二数据包。
换句话说,目标eNB在收到第一结束标识数据包以及第二结束标识数据包之后,向终端发送缓存的第一数据包与第二数据包。
应理解,目标eNB可以分别向终端发送缓存的第一数据包和第二数据包,也可以同时向终端发送缓存的第一数据包和第二数据包。或者,目标eNB还可以在接收到第一结束标识数据包之后,向终端发送缓存的第一数据包,并在接收到第二结束标识数据包之后,向终端发送缓存的第二数据包。
416,目标eNB向源eNB发送释放资源消息。
应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
需要说明的是,图4所示实施例中,目标eNB向MME发送路径切换请求消息之后,或接收到第一结束标识数据包之后,还可以启动定时器。若定时器超时目标eNB仍没有接收到MEC设备通过源eNB发送的第二结束标识数据包,则目标eNB向终端发送缓存的第一数据包和第二数据包。具体可以参考上文相应内容,在此不再赘述。
图5是根据本发明另一实施例的通信方法的示意性流程图。
源AN与目标AN之间的切换准备过程以及终端、源AN和目标AN之间的切换执行过程可以参考现有技术。在终端、源AN与目标AN之间的切换执行完成之后,若源AN接收到第一UP功能设备或第二UP功能设备发送的终端的数据包,则需要将该数据包发送至目标AN。
也就是说,此时下行数据包通过数据传输通道1到达终端,数据传输通道1为第二UP设备--->源AN--->目标AN--->终端;或者,第一UP设备发送的数据包通过数据传输通道2到达终端,数据传输通道2为第一UP设备--->源AN--->目标AN--->终端,如图5虚线所示。
501,目标AN向CP功能设备发送路径切换请求消息。
502,CP功能设备向第二UP功能设备发送修改承载请求消息,该修改承载请求消息指示终端从源AN切换至目标AN。
503,第二UP功能设备向CP功能设备发送修改承载响应消息。
过程501~503与现有技术类似,在此适当省略相应的内容。
504、第二UP功能设备向目标AN发送终端的第一数据包。
第二UP功能设备根据接收到的修改承载请求消息,可以获知终端从源AN切换到了目标AN。也就是说,此时的下行数据包可以通过数据传输通道3到达终端,数据传输通道3为第二UP功能设备--->目标AN--->终端。
505,目标AN缓存第一数据包。
由于目标AN可能同时接收到通过该数据传输通道1和数据传输通道3传输的数据包,而且,通过数据传输通道1传输的数据包的发送时间较早,因此,将通过数据传输通道3传输的第一数据包缓存起来能够避免终端接收到的数据包乱序。
506,第二UP功能设备向源AN发送第一结束标识数据包。
507,源AN向目标AN发送该第一结束标识数据包,告知目标AN通过数据传输通道1传输的数据包已经传输完。
应理解,503、505和506的执行顺序不做限定,它们可以同时执行,也可以以任意的先后顺序执行。
508,CP功能设备向第一UP功能设备发送修改承载请求消息,该修改承载请求消息指示终端从源AN切换至目标AN。
本发明实施例中,CP功能设备与第一UP功能设备之间存在控制层接口,因此,CP功能设备可以直接向第一UP功能设备发送修改承载请求消息,以触发第一UP功能设备发送结束标识数据包。
例如,修改承载请求可以包括目标AN的地址信息和终端设备的标识信息,终端设备的标识信息用于表示发生切换的终端。第一UP功能设备接收到修改承载请求消息之后,可以将存储的源AN的地址信息修改为目标AN的地址信息。
需要说明的是,本发明实施例对508的执行时机不作限定,508和502可以同时执行,508还可以在502之前或之后执行。
509,第一UP功能设备向CP功能设备发送修改承载响应消息。
510,第一UP功能设备向目标AN发送第二数据包。
第一UP功能设备根据接收到的修改承载请求消息,可以获知终端从源AN切换到了目标AN。也就是说,此时的第一UP功能设备发送的数据包可以通过数据传输通道4到达终端,数据传输通道4为第一UP功能设备--->目标AN--->终端。
511,目标AN缓存第二数据包。
由于目标AN可能同时接收到通过该数据传输通道2和数据传输通道4传输的数据包,而且,通过数据传输通道2传输的数据包的发送时间较早,因此,将通过数据传输通道4传输的第二数据包缓存起来能够避免终端接收到的数据包乱序。
512,第一UP功能设备向源AN发送第二结束标识数据包。
513,源AN向目标AN发送该第二结束标识数据包,告知目标AN通过数据传输通道2传输的数据包已经传输完。
应理解,510和512的执行顺序不做限定,它们可以同时执行,也可以以任意的先后顺序执行。
514,CP向目标AN发送路径切换请求确认消息。
应理解,本发明实施例对514的执行时机不做限定。例如,514可以在513之后执行, 也可以在503之后执行,也可以与503至513之间的任一时刻执行。
515,目标AN向终端发送缓存的第一数据包。
516,目标AN向终端发送缓存的第二数据包。
应理解,目标AN可以分别向终端发送缓存的第一数据包和第二数据包,也可以同时向终端发送缓存的第一数据包和第二数据包。或者,目标AN还可以在接收到第一结束标识数据包之后,向终端发送缓存的第一数据包,并在接收到第二结束标识数据包之后,向终端发送缓存的第二数据包。
517,目标AN向源AN发送释放资源消息。
应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
应理解,上文中虽然使用eNB或AN为例描述接入网设备,但本发明实施例不限于这些术语所代表的制式。本发明实施例也可应用于其他制式,这些变化均落入本发明实施例的范围内。
需要说明的是,图5所示实施例中,目标AN向CP功能设备发送路径切换请求消息之后,或接收到第一结束标识数据包之后,还可以启动定时器。若定时器超时目标AN仍没有接收到第一UP功能设备通过源AN发送的第二结束标识数据包,则目标AN向终端发送缓存的第一数据包和第二数据包。具体可以参考上文相应内容,在此不再赘述。
应注意,本发明实施例中,核心网设备可以是图4所示的SGW,也可以是兼具SGW和PGW功能的网关设备,还可以是图5所示的CP功能设备。本地路由设备可以是图3所示的MEC设备,还可以是本地的用户面功能设备,即图5所示第一UP功能设备。
上述主要从各个设备之间交互的角度对本发明实施例的方案进行了介绍。可以理解的是,各个设备,例如接入网设备、本地路由设备等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
本发明实施例可以根据上述方法示例对接入网设备、本地路由设备等进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本发明实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用集成的单元的情况下,图6示出了上述实施例中所涉及的接入网设备的一种可能的结构示意图。接入网设备600包括通信单元610和存储单元620。通信单元610用于支持接入网设备与其他网络实体的通信,例如与图3中示出的本地路由设备、核心网设备、源接入网设备等网络实体之间的通信,或者与图4中示出的SGW、MEC设备等网络实体之间的通信,或者与图5中示出的CP功能设备、第一UP功能设备和第二UP功能设备等网络实体之间的通信。存储单元620可以用于缓存通信单元610接收到的数据包。可选地,存储单元620还可以用于存储接入网设备的程序代码和数据。
当通信单元610为通信接口,存储单元620为存储器时,本发明实施例所涉及的接 入网设备可以为图7所示的接入网设备。
参阅图7所示,该接入网设备700包括:通信接口710和存储器720。可选的,通信接口710和存储器720可以通过内部连接通路相互连接,传递控制和/或数据信号。
图8示出了上述实施例中涉及的本地路由设备的一种可能的结构示意图。本地路由设备800包括通信单元810。通信单元810用于支持本地路由设备其他网络实体的通信,例如与图4和图5中示出的目标eNB、源eNB、CP功能设备等之间的通信。本地路由设备还可以包括存储单元820,用于存储本地路由设备的程序代码和数据。
当通信单元810为通信接口,存储单元1030为存储器时,本发明实施例所涉及的本地路由设备可以为图9所示的本地路由设备。
参阅图9所示,该本地路由设备900包括:通信接口910和存储器920。
结合本发明实施例公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述的具体实施方式,对本发明实施例的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明实施例的具体实施方式而已,并不用于限定本发明实施例的保护范围,凡在本发明实施例的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明实施例的保护范围之内。

Claims (14)

  1. 一种通信方法,其特征在于,包括:
    在终端从源接入网设备切换至目标接入网设备时,所述目标接入网设备接收所述终端的至少一个第一数据包;
    所述目标接入网设备缓存所述至少一个第一数据包;
    在所述目标接入网设备从所述源接入网设备接收到第二数据包和第三数据包,或者所述目标接入网设备接收到所述第二数据包和所述第三数据包中的一个数据包且在预设时段内没有接收到所述第二数据包和所述第三数据包中的另一个数据包,或者所述目标接入网设备在预设时段内没有接收到所述第二数据包和所述第三数据包的情况下,向所述终端发送缓存的所述至少一个第一数据包,所述第二数据包和所述第三数据包是结束标识数据包,
    其中,所述第二数据包携带第一标识信息,所述第一标识信息用于标识所述第二数据包是由核心网设备发送的,和/或所述第三数据包携带第二标识信息,所述第二标识信息用于标识所述第三数据包是由本地路由设备发送的。
  2. 根据权利要求1所述的方法,其特征在于,所述第一标识信息携带在所述第二数据包的结束标识中,所述第二标识信息携带在所述第三数据包的结束标识中。
  3. 根据权利要求1或2所述的方法,其特征在于,还包括:
    所述目标接入网设备向所述本地路由设备发送通知消息,所述通知消息用于通知所述本地路由设备向所述源接入网设备发送所述第三数据包。
  4. 一种通信方法,其特征在于,包括:
    在终端从源接入网设备切换至目标接入网设备时,所述目标接入网设备接收所述终端的第一数据包,所述第一数据包携带第一标识信息,所述第一标识信息用于标识所述第一数据包由是本地路由设备或核心网设备发送的;
    所述目标接入网设备缓存所述第一数据包;
    在所述目标接入网设备从所述源接入网设备接收到由发送所述第一数据包的设备发送的所述终端的第二数据包,或者所述目标接入网设备在预设时段内没有接收到所述第二数据包的情况下,向所述终端发送缓存的所述第一数据包,其中,所述第二数据包是结束标识数据包,且所述第二数据包携带第二标识信息,所述第二标识信息用于标识发送所述第二数据包的设备。
  5. 根据权利要求4所述的方法,其特征在于,所述第二标识信息携带在所述第二数据包的结束标识中。
  6. 一种通信方法,其特征在于,包括:
    本地路由设备接收通知消息,所述通知消息用于通知所述本地路由设备发送结束标识数据包,所述结束标识数据包携带标识信息,所述标识信息用于标识所述结束标识数据包是由所述本地路由设备发送的;
    所述本地路由设备根据所述通知消息发送所述结束标识数据包。
  7. 根据权利要求6所述的方法,其特征在于,所述标识信息携带在所述结束标识数据包的结束标识中。
  8. 一种接入网设备,其特征在于,包括:
    通信单元,用于在终端从源接入网设备切换至所述接入网设备时,接收所述终端的至少一个第一数据包;
    存储单元,用于缓存所述通信单元接收到的所述至少一个第一数据包;
    所述通信单元还用于,在从所述源接入网设备接收到第二数据包和第三数据包,或者所述接收单元接收到所述第二数据包和所述第三数据包中的一个数据包且在预设时段内没有接收到所述第二数据包和所述第三数据包中的另一个数据包,或者所述接收单元在预设时段内没有接收到所述第二数据包和所述第三数据包的情况下,向所述终端发送所述存储单元缓存的所述至少一个第一数据包,所述第二数据包和所述第三数据包是结束标识数据包,
    其中,所述第二数据包携带第一标识信息,所述第一标识信息用于标识所述第二数据包是由核心网设备发送的,和/或所述第三数据包携带第二标识信息,所述第二标识信息用于标识所述第三数据包是由本地路由设备发送的。
  9. 根据权利要求8所述的接入网设备,其特征在于,所述第一标识信息携带在所述第二数据包的结束标识中,所述第二标识信息携带在所述第三数据包的结束标识中。
  10. 根据权利要求8或9所述的接入网设备,其特征在于,
    所述通信单元还用于向所述本地路由设备发送通知消息,所述通知消息用于通知所述本地路由设备所述终端从所述源接入网设备发送所述第三数据包。
  11. 一种接入网设备,其特征在于,包括:
    通信单元,用于在终端从源接入网设备切换至目标接入网设备时,接收所述终端的第一数据包,所述第一数据包携带第一标识信息,所述第一标识信息用于标识所述第一数据包由是本地路由设备或核心网设备发送的;
    存储单元,用于缓存所述通信单元接收到的所述第一数据包;
    所述通信单元还用于,在从所述源接入网设备接收到由发送所述第一数据包的设备发送的所述终端的第二数据包,或者所述接收单元在预设时段内没有接收到所述第二数据包的情况下,向所述终端发送所述存储单元缓存的所述第一数据包,其中,所述第二数据包是结束标识数据包,且所述第二数据包携带第二标识信息,所述第二标识信息用于标识发送所述第二数据包的设备。
  12. 根据权利要求11所述的接入网设备,其特征在于,所述第二标识信息携带在所述第二数据包的结束标识中。
  13. 一种本地路由设备,其特征在于,包括:
    通信单元,用于接收通知消息,所述通知消息用于通知所述本地路由设备发送结束标识数据包,所述结束标识数据包携带标识信息,所述标识信息用于标识所述结束标识数据包是由所述本地路由设备发送的;
    所述通信单元还用于,根据所述通知消息发送所述结束标识数据包。
  14. 根据权利要求13所述的本地路由设备,其特征在于,所述标识信息携带在所述结束标识数据包的结束标识中。
PCT/CN2017/075042 2017-02-27 2017-02-27 通信方法和装置 WO2018152846A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2017/075042 WO2018152846A1 (zh) 2017-02-27 2017-02-27 通信方法和装置
EP17898150.2A EP3579617B1 (en) 2017-02-27 2017-02-27 Preventing disorder of packets during handover
CN201780086997.9A CN110313195B (zh) 2017-02-27 2017-02-27 通信方法和装置
US16/551,196 US11159997B2 (en) 2017-02-27 2019-08-26 Communication method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/075042 WO2018152846A1 (zh) 2017-02-27 2017-02-27 通信方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/551,196 Continuation US11159997B2 (en) 2017-02-27 2019-08-26 Communication method and apparatus

Publications (1)

Publication Number Publication Date
WO2018152846A1 true WO2018152846A1 (zh) 2018-08-30

Family

ID=63254090

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/075042 WO2018152846A1 (zh) 2017-02-27 2017-02-27 通信方法和装置

Country Status (4)

Country Link
US (1) US11159997B2 (zh)
EP (1) EP3579617B1 (zh)
CN (1) CN110313195B (zh)
WO (1) WO2018152846A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11030013B2 (en) * 2018-10-15 2021-06-08 Verizon Patent and Licensing lnc. Systems and methods for splitting processing between device resources and cloud resources
CN111786859A (zh) * 2020-07-17 2020-10-16 中国联合网络通信集团有限公司 丢包检测方法、装置及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365239A (zh) * 2007-08-09 2009-02-11 华为技术有限公司 数据转发的方法、演进基站和长期演进网络
CN101572929A (zh) * 2008-04-29 2009-11-04 大唐移动通信设备有限公司 一种在切换过程中传送消息的方法、装置及系统
CN101938794A (zh) * 2009-07-02 2011-01-05 华为技术有限公司 无线自回程传输的切换处理方法及装置
CN102438284A (zh) * 2011-12-12 2012-05-02 大唐移动通信设备有限公司 一种基于基站内小区切换的数据倒换方法及装置

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007103369A2 (en) * 2006-03-07 2007-09-13 Interdigital Technology Corporation Method and apparatus for supporting handoff in an lte gtp based wireless communication system
CN101047967B (zh) * 2006-03-30 2010-12-01 华为技术有限公司 在切换过程中处理数据的方法及装置
CN101128043B (zh) * 2006-08-15 2011-02-02 华为技术有限公司 系统间切换或者改变时的数据处理方法
CN101272607A (zh) * 2007-03-21 2008-09-24 北京三星通信技术研究有限公司 指示数据发送结束的方法
US8594069B2 (en) * 2007-08-06 2013-11-26 Qualcomm Incorporated In-order data delivery during handover in a wireless communication system
US20090168723A1 (en) * 2007-11-27 2009-07-02 Qualcomm Incorporated Method and apparatus for handling out-of-order packets during handover in a wireless communication system
KR20100130594A (ko) * 2008-02-08 2010-12-13 가부시키가이샤 엔티티 도코모 이동통신방법 및 무선기지국
CN102170667B (zh) * 2010-02-25 2013-02-27 中兴通讯股份有限公司 一种实现基站间切换的方法、系统及基站装置
US8792506B2 (en) * 2010-11-01 2014-07-29 Indian Institute Of Technology Bombay Inter-domain routing in an n-ary-tree and source-routing based communication framework
US8737354B2 (en) * 2011-01-10 2014-05-27 Alcatel Lucent Method of data path switching during inter-radio access technology handover
US8902852B2 (en) * 2011-05-19 2014-12-02 Telefonaktiebolaget L M Ericsson (Publ) Inter-rat handover control using empty GRE packets
US8706118B2 (en) * 2011-09-07 2014-04-22 Telefonaktiebolaget L M Ericsson (Publ) 3G LTE intra-EUTRAN handover control using empty GRE packets
JP2014199980A (ja) 2013-03-29 2014-10-23 株式会社Nttドコモ Pdnゲートウェイ装置及び移動通信方法
US20160135103A1 (en) * 2013-07-17 2016-05-12 Lg Electronics Inc Method and apparatus for performing handover procedure for dual connectivity in wireless communication system
CN104753627A (zh) * 2013-12-26 2015-07-01 中兴通讯股份有限公司 多路径传输方法、系统及数据发送装置和数据接收装置
US9467910B2 (en) * 2014-07-11 2016-10-11 Luminate Wireless, Inc. Handover methods and apparatus
WO2016163544A1 (ja) * 2015-04-10 2016-10-13 京セラ株式会社 ハンドオーバ手順を制御するための方法及び基地局
US10524173B2 (en) * 2016-02-24 2019-12-31 Cisco Technology, Inc. System and method to facilitate sharing bearer information in a network environment
EP3457748B1 (en) 2016-05-16 2020-08-26 Huawei Technologies Co., Ltd. Communication method and apparatus during switching
WO2017197564A1 (zh) 2016-05-16 2017-11-23 华为技术有限公司 切换过程中的通信方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365239A (zh) * 2007-08-09 2009-02-11 华为技术有限公司 数据转发的方法、演进基站和长期演进网络
CN101572929A (zh) * 2008-04-29 2009-11-04 大唐移动通信设备有限公司 一种在切换过程中传送消息的方法、装置及系统
CN101938794A (zh) * 2009-07-02 2011-01-05 华为技术有限公司 无线自回程传输的切换处理方法及装置
CN102438284A (zh) * 2011-12-12 2012-05-02 大唐移动通信设备有限公司 一种基于基站内小区切换的数据倒换方法及装置

Also Published As

Publication number Publication date
CN110313195A (zh) 2019-10-08
EP3579617B1 (en) 2023-08-23
EP3579617A1 (en) 2019-12-11
EP3579617A4 (en) 2020-04-01
CN110313195B (zh) 2021-08-20
US20190380074A1 (en) 2019-12-12
US11159997B2 (en) 2021-10-26

Similar Documents

Publication Publication Date Title
EP3783862B1 (en) Session management method and session management function network element
US11729686B2 (en) Transmission control method, apparatus, and system
KR102434931B1 (ko) 통신 방법 및 통신 장치
JP6976362B2 (ja) 通信方法および通信装置
US10813036B2 (en) Anchor gateway switching method, apparatus, and system
WO2016155542A1 (zh) 一种控制用户面承载建立的方法及设备
US9961045B2 (en) Service path changing method and apparatus
US9906912B2 (en) Controlling communication mode of a mobile terminal
WO2017197563A1 (zh) 用于数据传输的方法和装置
WO2014201630A1 (zh) 一种联合位置更新处理方法、装置和系统
WO2020034802A1 (zh) 一种激活pdu会话的方法及设备
US11159997B2 (en) Communication method and apparatus
WO2017000694A1 (zh) 一种转发数据的实现方法和装置
WO2022188770A1 (zh) 数据单元处理方法、装置、节点和存储介质
WO2018082517A1 (zh) 删除用户面隧道的方法、网元及系统
EP3435705B1 (en) Communication relay and method for redirecting data packets
CN108307465B (zh) 一种轻连接用户设备的连接控制的方法及设备
JP7206390B2 (ja) データの送信方法およびデバイス
CN109150752B (zh) 缓存控制方法、网元及控制器
KR20190045596A (ko) 데이터 송수신장치 및 데이터 송수신장치의 동작 방법
WO2016074468A1 (zh) 支持多pdn连接的优化切换的方法、网络节点及系统
KR20130119268A (ko) 이종망 사이의 패킷 전송 방법
JP2011135332A (ja) 移動通信方法及び交換局

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: 17898150

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017898150

Country of ref document: EP

Effective date: 20190903