CN112953843B - Data transmission method and device - Google Patents
Data transmission method and device Download PDFInfo
- Publication number
- CN112953843B CN112953843B CN201911180038.0A CN201911180038A CN112953843B CN 112953843 B CN112953843 B CN 112953843B CN 201911180038 A CN201911180038 A CN 201911180038A CN 112953843 B CN112953843 B CN 112953843B
- Authority
- CN
- China
- Prior art keywords
- data packet
- edge
- information
- session
- edge gateway
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 98
- 238000000034 method Methods 0.000 title claims abstract description 92
- 238000004590 computer program Methods 0.000 claims description 15
- 230000006870 function Effects 0.000 description 39
- 238000004891 communication Methods 0.000 description 31
- 230000009286 beneficial effect Effects 0.000 description 24
- 238000010586 diagram Methods 0.000 description 17
- 238000012545 processing Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 9
- 238000007726 management method Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000011664 signaling Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000007774 longterm Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 239000007787 solid Substances 0.000 description 2
- 230000005641 tunneling Effects 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/122—Avoiding congestion; Recovering from congestion by diverting traffic away from congested entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/82—Miscellaneous aspects
- H04L47/825—Involving tunnels, e.g. MPLS
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本申请涉及互联网技术领域,尤其涉及一种数据传输方法及其装置。The present application relates to the technical field of the Internet, and in particular to a data transmission method and device thereof.
背景技术Background technique
当前网络是一种聚合型的网络。在当前网络下,终端访问数据时都经过集中部署的网关。随着虚拟化技术和分布式云技术的发展,未来移动网络会在网络边缘(比如,靠近基站的位置)部署微云平台,即多接入边缘计算/多接入边缘云(multi-access edgecomputing/cloud,MEC)平台。The current network is an aggregated network. Under the current network, terminals access data through a centrally deployed gateway. With the development of virtualization technology and distributed cloud technology, future mobile networks will deploy micro-cloud platforms at the edge of the network (for example, near base stations), that is, multi-access edge computing/multi-access edge computing /cloud, MEC) platform.
以图1a所示的网络架构图为例,基站侧网关(cell site gateway,CSG)/接入业务网关(access gateway,ASG)在接收到基站发送的数据时,会将来自该基站的所有数据均发送至MEC网关。由该MEC网关基于分流规则判断数据是否需要进行本地分流。若该数据需要进行本地分流,则将该数据发送至本地网络。若该数据不需要进行本地分流,则由MEC网关将该数据发送至CSG/ASG,并由CSG/ASG将该数据发送至核心网处理。但是,这样会导致MEC网关需要处理的数据流量较大。Taking the network architecture diagram shown in Figure 1a as an example, when the base station side gateway (cell site gateway, CSG)/access service gateway (access gateway, ASG) receives the data sent by the base station, it will send all the data from the base station are sent to the MEC gateway. The MEC gateway judges whether the data needs to be distributed locally based on the distribution rules. If the data needs to be distributed locally, the data is sent to the local network. If the data does not need to be distributed locally, the MEC gateway sends the data to the CSG/ASG, and the CSG/ASG sends the data to the core network for processing. However, this will result in a large amount of data traffic to be processed by the MEC gateway.
发明内容Contents of the invention
本申请实施例提供一种数据传输方法及其装置,有利于减少边缘网关处理的数据流量。Embodiments of the present application provide a data transmission method and device thereof, which are beneficial to reducing data traffic processed by an edge gateway.
第一方面,本申请实施例提供一种数据传输方法,该方法包括:接收来自终端设备的上行数据包,确定该上行数据包对应的会话信息;在该上行数据包对应的会话信息满足边缘转发条件的情况下,将该上行数据包发送至边缘网关。In the first aspect, an embodiment of the present application provides a data transmission method, the method comprising: receiving an uplink data packet from a terminal device, determining session information corresponding to the uplink data packet; meeting edge forwarding requirements in the session information corresponding to the uplink data packet If the condition is met, the uplink data packet is sent to the edge gateway.
在该技术方案中,通过在上行数据包对应的会话信息满足边缘转发条件的情况下,将该上行数据包发送至边缘网关,有利于减少边缘网关处理的数据流量,降低边缘网关的负载。In this technical solution, by sending the uplink data packet to the edge gateway when the session information corresponding to the uplink data packet satisfies the edge forwarding condition, it is beneficial to reduce the data traffic processed by the edge gateway and reduce the load of the edge gateway.
在一种实现方式中,会话信息可以包括会话类型,边缘转发条件可以包括一个或多个边缘转发会话类型;会话信息满足边缘转发条件可以包括该上行数据包对应的会话类型与边缘转发会话类型相同。In one implementation, the session information may include a session type, and the edge forwarding condition may include one or more edge forwarding session types; the session information meeting the edge forwarding condition may include that the session type corresponding to the uplink data packet is the same as the edge forwarding session type .
在该技术方案中,有利于减少边缘网关处理的数据流量,降低边缘网关的负载。In this technical solution, it is beneficial to reduce the data traffic processed by the edge gateway and reduce the load of the edge gateway.
在一种实现方式中,会话信息可以包括终端设备对应的接入网设备的标识和会话类型;边缘转发条件可以包括一个或多个边缘转发设备标识和一个或多个边缘转发会话类型;会话信息满足边缘转发条件可以包括:接入网设备的标识与边缘转发设备标识相同且该上行数据包对应的会话类型与边缘转发会话类型相同。In one implementation, the session information may include the identifier and session type of the access network device corresponding to the terminal device; the edge forwarding condition may include one or more edge forwarding device identifiers and one or more edge forwarding session types; the session information Satisfying the edge forwarding condition may include: the identifier of the access network device is the same as the edge forwarding device identifier, and the session type corresponding to the uplink data packet is the same as the edge forwarding session type.
在一种实现方式中,将上行数据包发送至边缘网关之前,该方法还可以包括:获取边缘网关的地址信息,将上行数据包的目的地址信息修改为边缘网关的地址信息;将上行数据包发送至边缘网关的具体实施方式可以为:根据修改后的上行数据包的目的地址信息,将该上行数据包发送至边缘网关。In an implementation manner, before sending the uplink data packet to the edge gateway, the method may further include: obtaining the address information of the edge gateway, modifying the destination address information of the uplink data packet to the address information of the edge gateway; A specific implementation manner of sending to the edge gateway may be: sending the uplink data packet to the edge gateway according to the modified destination address information of the uplink data packet.
在该技术方案中,通过将上行数据包的目的地址信息修改为该边缘网关的地址信息,使得根据修改后的上行数据包的目的地址信息,可以将该上行数据包发送至边缘网关。从而有利于减少边缘网关处理的数据流量。In this technical solution, by modifying the destination address information of the uplink data packet to the address information of the edge gateway, the uplink data packet can be sent to the edge gateway according to the modified destination address information of the uplink data packet. Therefore, it is beneficial to reduce the data traffic processed by the edge gateway.
在一种实现方式中,边缘网关的地址信息可以包括互联网协议第6版IPV6地址。In an implementation manner, the address information of the edge gateway may include an Internet Protocol version 6 IPV6 address.
在一种实现方式中,该方法还可以包括:在上行数据包对应的会话信息不满足边缘转发条件的情况下,将该上行数据包发送至核心网网元。In an implementation manner, the method may further include: when the session information corresponding to the uplink data packet does not satisfy the edge forwarding condition, sending the uplink data packet to a network element of the core network.
在该技术方案中,在上行数据包对应的会话信息不满足边缘转发条件的情况下,将该上行数据包发送至核心网网元,可以从核心网中获取该上行数据包所请求的数据,避免上行数据包无法得到响应。In this technical solution, when the session information corresponding to the uplink data packet does not satisfy the edge forwarding condition, the uplink data packet is sent to the network element of the core network, and the data requested by the uplink data packet can be obtained from the core network, To prevent upstream data packets from being unresponsive.
第二方面,本申请实施例提供另一种数据传输方法,该方法包括:确定当前的隧道信息与历史的隧道信息不同;该隧道信息为核心网网元与接入网设备之间的隧道信息;将该隧道信息对应的下行数据包发送至边缘网关。In the second aspect, the embodiment of the present application provides another data transmission method, the method includes: determining that the current tunnel information is different from the historical tunnel information; the tunnel information is the tunnel information between the core network element and the access network device ; Send the downlink data packet corresponding to the tunnel information to the edge gateway.
在该技术方案中,在隧道信息发生变化的情况下,将发生变化的隧道信息对应的下行数据包发送至边缘网关。使得边缘网关可以根据该下行数据包携带的信息确定当前的隧道信息,并按照当前的隧道信息封装和发送来自本地服务器的下行数据包。In this technical solution, when the tunnel information changes, the downlink data packet corresponding to the changed tunnel information is sent to the edge gateway. The edge gateway can determine the current tunnel information according to the information carried in the downlink data packet, and encapsulate and send the downlink data packet from the local server according to the current tunnel information.
在一种实现方式中,该方法还可以包括:生成下行数据包。In an implementation manner, the method may further include: generating a downlink data packet.
在该技术方案中,通过自行生成下行数据包,可以避免没有来自因特网的下行数据包,导致边缘网关无法确定当前的隧道信息的情况,从而有利于提高来自本地服务器的下行数据包返回终端设备的成功率。In this technical solution, by generating downlink data packets by itself, it is possible to avoid the situation that there are no downlink data packets from the Internet, resulting in the edge gateway being unable to determine the current tunnel information, thereby helping to improve the return of downlink data packets from the local server to the terminal device. Success rate.
在一种实现方式中,该方法还可以包括:接收来自核心网网元的下行数据包。In an implementation manner, the method may further include: receiving a downlink data packet from a core network element.
在一种实现方式中,下行数据包可以为下行数据流中的前n个下行数据包;其中,n可以为正整数。In an implementation manner, the downlink data packets may be the first n downlink data packets in the downlink data flow; wherein, n may be a positive integer.
在该技术方案中,有利于确保边缘网关可以根据接收到的n个下行数据包学习到当前的隧道信息,从而有利于提高来自本地服务器的下行数据包返回终端设备的成功率。In this technical solution, it is beneficial to ensure that the edge gateway can learn the current tunnel information according to the received n downlink data packets, thereby helping to improve the success rate of returning the downlink data packets from the local server to the terminal device.
在一种实现方式中,将隧道信息对应的下行数据包发送至边缘网关之前,该方法还可以包括:获取边缘网关的地址信息;将下行数据包的目的地址信息修改为该边缘网关的地址信息;将隧道信息对应的下行数据包发送至边缘网关的具体实施方式可以为:根据修改后的下行数据包的目的地址信息,将该下行数据包发送至边缘网关。In an implementation manner, before sending the downlink data packet corresponding to the tunnel information to the edge gateway, the method may further include: obtaining address information of the edge gateway; modifying the destination address information of the downlink data packet to the edge gateway address information ; The specific implementation manner of sending the downlink data packet corresponding to the tunnel information to the edge gateway may be: according to the modified destination address information of the downlink data packet, send the downlink data packet to the edge gateway.
在该技术方案中,通过将下行数据包的目的地址信息修改为边缘网关的地址信息,使得根据修改后的下行数据包的目的地址信息,可以将该下行数据包发送至边缘网关。从而有利于提高来自本地服务器的下行数据包返回终端设备的成功率。In this technical solution, by modifying the destination address information of the downlink data packet to the address information of the edge gateway, the downlink data packet can be sent to the edge gateway according to the modified destination address information of the downlink data packet. Therefore, it is beneficial to improve the success rate of returning the downlink data packets from the local server to the terminal device.
在一种实现方式中,边缘网关的地址信息可以包括互联网协议第6版IPV6地址。In an implementation manner, the address information of the edge gateway may include an Internet Protocol version 6 IPV6 address.
在一种实现方式中,该方法还可以包括:确定隧道信息对应的会话信息;在该会话信息满足边缘转发条件的情况下,触发执行将隧道信息对应的下行数据包发送至边缘网关的步骤。In an implementation manner, the method may further include: determining session information corresponding to the tunnel information; and triggering the step of sending the downlink data packet corresponding to the tunnel information to the edge gateway when the session information satisfies the edge forwarding condition.
在该技术方案中,在隧道信息对应的会话信息满足边缘转发条件的情况下,将该隧道信息对应的下行数据包发送至边缘网关,一方面,有利于从本地网络中返回的下行数据包正确返回终端设备;另一方面,可以避免在隧道信息对应的会话信息不满足边缘转发条件的情况下,将该隧道信息对应的下行数据包发送至边缘网关的情况,有利于降低边缘网关处理的数据流量。In this technical solution, when the session information corresponding to the tunnel information satisfies the edge forwarding condition, the downlink data packet corresponding to the tunnel information is sent to the edge gateway. Return to the terminal device; on the other hand, it can avoid the situation that the downlink data packet corresponding to the tunnel information is sent to the edge gateway when the session information corresponding to the tunnel information does not meet the edge forwarding conditions, which is beneficial to reduce the data processed by the edge gateway flow.
第三方面,本申请实施例提供一种数据传输装置,该装置为第一网络设备或具有第一网络设备功能的装置(例如芯片)。该装置具有实现第一方面所提供的数据传输方法的功能,该功能通过硬件实现或通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a third aspect, the embodiment of the present application provides a data transmission device, which is a first network device or a device (such as a chip) having a function of the first network device. The device has the function of realizing the data transmission method provided by the first aspect, and the function is realized by hardware or by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions.
第四方面,本申请实施例提供另一种数据传输装置,该装置为第二网络设备或具有第二网络设备功能的装置(例如芯片)。该装置具有实现第二方面所提供的数据传输方法的功能,该功能通过硬件实现或通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a fourth aspect, the embodiment of the present application provides another data transmission device, which is a second network device or a device (such as a chip) having the function of the second network device. The device has the function of realizing the data transmission method provided by the second aspect, and the function is realized by hardware or by executing corresponding software on the hardware. The hardware or software includes one or more modules corresponding to the above functions.
第五方面,本申请实施例提供又一种数据传输装置,该装置为第一网络设备或具有第一网络设备功能的装置(例如芯片)。该装置包括处理器和存储介质,存储介质中存储有指令,该指令被该处理器运行时,使得该装置实现第一方面所提供的数据传输方法。In a fifth aspect, the embodiment of the present application provides yet another data transmission device, which is a first network device or a device (such as a chip) having the function of the first network device. The device includes a processor and a storage medium, and instructions are stored in the storage medium, and when the instructions are executed by the processor, the device implements the data transmission method provided in the first aspect.
第六方面,本申请实施例提供又一种数据传输装置,该装置为第二网络设备或具有第二网络设备功能的装置(例如芯片),该装置包括处理器和存储介质,存储介质中存储有指令,该指令被该处理器运行时,使得该装置实现第二方面所提供的数据传输方法。In the sixth aspect, the embodiment of the present application provides yet another data transmission device, the device is a second network device or a device (such as a chip) having the function of the second network device, the device includes a processor and a storage medium, and the storage medium stores There are instructions, and when the instructions are executed by the processor, the device realizes the data transmission method provided by the second aspect.
第七方面,本申请实施例提供一种数据传输系统,该数据传输系统包括第三方面所述的数据传输装置以及第四方面所述的数据传输装置,或者,该数据传输系统包括第五方面所述的数据传输装置以及第六方面所述的数据传输装置。In the seventh aspect, the embodiment of the present application provides a data transmission system, the data transmission system includes the data transmission device described in the third aspect and the data transmission device described in the fourth aspect, or, the data transmission system includes the fifth aspect The data transmission device described in the sixth aspect and the data transmission device described in the sixth aspect.
第八方面,本申请实施例提供一种计算机可读存储介质,用于储存上述第三方面描述的数据传输装置所使用的计算机程序指令,其包含用于执行上述第一方面的方法所涉及的程序。In the eighth aspect, the embodiment of the present application provides a computer-readable storage medium, which is used to store the computer program instructions used by the data transmission device described in the third aspect above, which includes instructions for performing the method involved in the first aspect above. program.
第九方面,本申请实施例提供一种计算机可读存储介质,用于储存上述第四方面描述的数据传输装置所使用的计算机程序指令,其包含用于执行上述第二方面的方法所涉及的程序。In the ninth aspect, the embodiment of the present application provides a computer-readable storage medium, which is used to store the computer program instructions used by the data transmission device described in the fourth aspect above, which includes instructions for performing the method involved in the second aspect above program.
第十方面,本申请实施例提供一种计算机程序产品,该程序产品包括程序,该程序被数据传输装置执行时,使得该装置实现上述第一方面描述的方法。In a tenth aspect, an embodiment of the present application provides a computer program product, the program product includes a program, and when the program is executed by a data transmission device, the device implements the method described in the first aspect above.
第十一方面,本申请实施例提供一种计算机程序产品,该程序产品包括程序,该程序被数据传输装置执行时,使得该装置实现上述第二方面描述的方法。In an eleventh aspect, an embodiment of the present application provides a computer program product, the program product includes a program, and when the program is executed by a data transmission device, the device implements the method described in the second aspect above.
附图说明Description of drawings
图1a是现有的一种网络架构图;Figure 1a is an existing network architecture diagram;
图1b是本申请实施例公开的一种通信系统的架构示意图;Fig. 1b is a schematic structural diagram of a communication system disclosed in an embodiment of the present application;
图2是本申请实施例公开的一种数据传输方法的流程示意图;FIG. 2 is a schematic flowchart of a data transmission method disclosed in an embodiment of the present application;
图3a是本申请实施例公开的另一种数据传输方法的流程示意图;Fig. 3a is a schematic flowchart of another data transmission method disclosed in the embodiment of the present application;
图3b是本申请实施例公开的一种IPv6数据包包头中的SRH扩展头的示意图;Fig. 3b is a schematic diagram of an SRH extension header in an IPv6 data packet header disclosed in an embodiment of the present application;
图4是本申请实施例公开的又一种数据传输方法的流程示意图;FIG. 4 is a schematic flowchart of another data transmission method disclosed in the embodiment of the present application;
图5是本申请实施例公开的又一种数据传输方法的流程示意图;FIG. 5 is a schematic flowchart of another data transmission method disclosed in the embodiment of the present application;
图6a是本申请实施例公开的一种控制面与转发面分离的网络架构的示意图;Fig. 6a is a schematic diagram of a network architecture in which the control plane and the forwarding plane are separated according to the embodiment of the present application;
图6b是本申请实施例公开的一种控制面与转发面合一的网络架构的示意图;Fig. 6b is a schematic diagram of a network architecture in which the control plane and the forwarding plane are integrated disclosed in the embodiment of the present application;
图6c是本申请实施例公开的一种5G独立组网的网络架构的示意图;FIG. 6c is a schematic diagram of a network architecture of a 5G independent networking disclosed in the embodiment of the present application;
图7是本申请实施例公开的一种数据传输装置的结构示意图;FIG. 7 is a schematic structural diagram of a data transmission device disclosed in an embodiment of the present application;
图8是本申请实施例公开的另一种数据传输装置的结构示意图;Fig. 8 is a schematic structural diagram of another data transmission device disclosed in the embodiment of the present application;
图9是本申请实施例公开的又一种数据传输装置的结构示意图;FIG. 9 is a schematic structural diagram of another data transmission device disclosed in the embodiment of the present application;
图10是本申请实施例公开的又一种数据传输装置的结构示意图。Fig. 10 is a schematic structural diagram of another data transmission device disclosed in the embodiment of the present application.
具体实施方式detailed description
为了更好的理解本申请实施例公开的一种数据传输方法,下面首先对本申请实施例适用的通信系统进行描述。In order to better understand a data transmission method disclosed in the embodiment of the present application, the communication system to which the embodiment of the present application applies is firstly described below.
请参见图1b,图1b是本申请实施例公开的一种通信系统的架构示意图。如图1b所示,该通信系统包括:第一网络设备和边缘网关。Please refer to FIG. 1b. FIG. 1b is a schematic structural diagram of a communication system disclosed in an embodiment of the present application. As shown in Fig. 1b, the communication system includes: a first network device and an edge gateway.
第一网络设备可以接收来自终端设备的上行数据包,确定该上行数据包对应的会话信息,并在该会话信息满足边缘转发条件的情况下,将该上行数据包发送至边缘网关。通过这种方式,有利于减少边缘网关处理的数据流量,降低边缘网关的负载。在本申请实施例中,上行数据包对应的会话信息满足边缘转发条件可以表示:该上行数据包用于访问本地业务。边缘网关可以接收该上行数据包,并将该上行数据包发送至本地网络。该本地网络中可以存储有本地业务的相关数据。将用于访问本地业务的上行数据包发送至本地网络,有利于提高用户访问本地业务的成功率。The first network device may receive the uplink data packet from the terminal device, determine the session information corresponding to the uplink data packet, and send the uplink data packet to the edge gateway when the session information satisfies the edge forwarding condition. In this way, it is beneficial to reduce the data traffic processed by the edge gateway and reduce the load of the edge gateway. In the embodiment of the present application, the session information corresponding to the uplink data packet satisfying the edge forwarding condition may indicate that the uplink data packet is used to access local services. The edge gateway can receive the uplink data packet and send the uplink data packet to the local network. Relevant data of local services may be stored in the local network. Sending uplink data packets for accessing local services to the local network is beneficial to improving the success rate of users accessing local services.
其中,第一网络设备可以是网络侧的一种用于发射或接收信号的实体,例如,第一网络设备可以是接入网设备(如基站)。在一种实现方式中,第一网络设备也可以是在上行方向上位于基站(图1b未示)之后的一个设备。例如,第一网络设备可以位于基站和边缘网关之间,该第一网络设备具有下述功能:接收基站发送的上行数据包(该上行数据包来自终端设备),确定该上行数据包对应的会话信息,并在该会话信息满足边缘转发条件的情况下,将该上行数据包发送至边缘网关。Wherein, the first network device may be an entity on the network side for transmitting or receiving signals, for example, the first network device may be an access network device (such as a base station). In an implementation manner, the first network device may also be a device located behind the base station (not shown in FIG. 1b ) in the uplink direction. For example, the first network device may be located between the base station and the edge gateway, and the first network device has the following functions: receiving an uplink data packet sent by the base station (the uplink data packet comes from a terminal device), and determining the session corresponding to the uplink data packet information, and when the session information satisfies the edge forwarding condition, send the uplink data packet to the edge gateway.
边缘网关可以将接收到的上行数据包发送至本地网络。具体的,边缘网关可以为多接入边缘计算/多接入边缘云(multi-access edge computing/cloud,MEC)网关,或者其他具备边缘网关上述功能的网元。The edge gateway can send the received uplink data packet to the local network. Specifically, the edge gateway may be a multi-access edge computing/multi-access edge computing/cloud (multi-access edge computing/cloud, MEC) gateway, or other network elements that have the above-mentioned functions of the edge gateway.
可以理解的是,本申请实施例描述的通信系统是为了更加清楚的说明本申请实施例的技术方案,并不构成对本申请实施例提供的技术方案的限定,本领域技术人员可知,随着系统架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It can be understood that the communication system described in the embodiment of the present application is to illustrate the technical solutions of the embodiments of the present application more clearly, and does not constitute a limitation to the technical solutions provided in the embodiments of the present application. Those skilled in the art know that with the system For the evolution of architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
下面结合附图对本申请提供的数据传输方法及数据传输装置进行详细地介绍。The data transmission method and data transmission device provided by the present application will be described in detail below with reference to the accompanying drawings.
请参见图2,图2是本申请实施例提供的一种数据传输方法的流程示意图。该方法详细描述了在上行方向上如何减少边缘网关处理的数据流量。其中,步骤S201~步骤S203的执行主体为第一网络设备,或者为第一网络设备中的芯片,步骤S204的执行主体为边缘网关,或者为边缘网关中的芯片,以下以第一网络设备、边缘网关为数据传输方法的执行主体为例进行说明。如图2所示,该方法可以包括但不限于如下步骤:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of a data transmission method provided by an embodiment of the present application. The method details how to reduce the data traffic handled by the edge gateway in the upstream direction. Wherein, the execution subject of steps S201 to S203 is the first network device, or a chip in the first network device, and the execution subject of step S204 is the edge gateway, or a chip in the edge gateway. Hereinafter, the first network device, The edge gateway is used as an execution body of the data transmission method as an example for illustration. As shown in Figure 2, the method may include but not limited to the following steps:
步骤S201:第一网络设备接收来自终端设备的上行数据包。Step S201: the first network device receives an uplink data packet from a terminal device.
具体的,当第一网络设备为基站时,终端设备生成上行数据包之后,可以将该上行数据包发送至该第一网络设备。当第一网络设备为上行方向上位于基站之后的一个设备时,终端设备可以将该上行数据包发送至该终端设备当前驻留的基站,然后由该终端设备当前驻留的基站将该上行数据包发送给该第一网络设备。Specifically, when the first network device is a base station, after the terminal device generates the uplink data packet, it may send the uplink data packet to the first network device. When the first network device is a device located behind the base station in the uplink direction, the terminal device can send the uplink data packet to the base station where the terminal device is currently camping, and then the base station where the terminal device is currently camping sends the uplink data packet The packet is sent to the first network device.
该终端设备可以是用户侧的一种用于接收或发射信号的实体。具体的,该终端设备可以是用户设备(user equipment,UE)、远程终端、移动终端、无线通信设备、用户装置等。其中,用户设备可以是手机、台式电脑、笔记本电脑或其他可穿戴设备等。The terminal device may be an entity on the user side for receiving or transmitting signals. Specifically, the terminal device may be a user equipment (user equipment, UE), a remote terminal, a mobile terminal, a wireless communication device, a user device, and the like. Wherein, the user equipment may be a mobile phone, a desktop computer, a notebook computer, or other wearable devices.
步骤S202:第一网络设备确定该上行数据包对应的会话信息。Step S202: the first network device determines session information corresponding to the uplink data packet.
具体的,第一网络设备可以根据该上行数据包携带的第一信息确定该上行数据包对应的会话信息。进而判断该会话信息是否满足边缘转发条件,并在该会话信息满足边缘转发条件的情况下,将该上行数据包发送至边缘网关。Specifically, the first network device may determine the session information corresponding to the uplink data packet according to the first information carried in the uplink data packet. Then judge whether the session information satisfies the edge forwarding condition, and if the session information satisfies the edge forwarding condition, send the uplink data packet to the edge gateway.
在一种实现方式中,第一信息可以为该上行数据包携带的源网际互连协议(internet protocol,IP)地址。通过该源IP地址可以确定该上行数据包所属的会话。第一网络设备可以根据预先存储的源IP地址和会话标识之间的对应关系,将该上行数据包携带的源IP地址对应的会话标识确定为该上行数据包对应的会话标识。该上行数据包对应的会话标识指示的会话为该上行数据包所属的会话。进一步,第一网络设备可以确定该上行数据包所属会话的会话信息。In an implementation manner, the first information may be a source internet protocol (internet protocol, IP) address carried in the uplink data packet. The session to which the uplink data packet belongs can be determined through the source IP address. The first network device may determine the session identifier corresponding to the source IP address carried in the uplink data packet as the session identifier corresponding to the uplink data packet according to the pre-stored correspondence between the source IP address and the session identifier. The session indicated by the session identifier corresponding to the uplink data packet is the session to which the uplink data packet belongs. Further, the first network device may determine session information of the session to which the uplink data packet belongs.
在一种实现方式中,当第一网络设备为基站时,该第一网络设备可以存储有该第一网络设备(即基站)下驻留的终端对应的会话信息。当该第一网络设备为上行方向上位于第一基站之后的一个设备时,该第一网络设备可以存储有该第一基站下驻留的终端对应的会话信息。或者,第一基站下驻留的终端对应的会话信息存储于该第一基站中。第一基站确定前述上行数据包对应的会话信息之后,可以将该上行数据包及其对应的会话信息发送至第一网络设备。以便第一网络设备在该会话信息满足边缘转发条件的情况下,将该上行数据包发送至边缘网关。其中,第一基站的数量可以为一个或多个。In an implementation manner, when the first network device is a base station, the first network device may store session information corresponding to terminals residing under the first network device (that is, the base station). When the first network device is a device located behind the first base station in the uplink direction, the first network device may store session information corresponding to terminals residing under the first base station. Or, the session information corresponding to the terminals camped on the first base station is stored in the first base station. After the first base station determines the session information corresponding to the foregoing uplink data packet, it may send the uplink data packet and the corresponding session information to the first network device. So that the first network device sends the uplink data packet to the edge gateway when the session information satisfies the edge forwarding condition. Wherein, the number of the first base station may be one or more.
需要说明的是,每个终端可以对应一个或多个会话,每个终端可以对应一个或多个源IP地址,属于不同会话的数据包的源IP地址不同,属于同一会话的数据包的源IP地址相同。具体的,本申请实施例中提及的会话可以为第五代移动通信技术(fifth-generation,5G)中的协议数据单元(packet data unit,PDU)会话,或者为下一代网络中的会话,本申请实施例对此不做限定。It should be noted that each terminal can correspond to one or more sessions, and each terminal can correspond to one or more source IP addresses. The source IP addresses of data packets belonging to different sessions are different, and the source IP addresses of data packets belonging to the same session The address is the same. Specifically, the session mentioned in the embodiment of the present application may be a protocol data unit (packet data unit, PDU) session in the fifth-generation mobile communication technology (fifth-generation, 5G), or a session in the next-generation network, This embodiment of the present application does not limit it.
步骤S203:第一网络设备在该会话信息满足边缘转发条件的情况下,将该上行数据包发送至边缘网关。Step S203: the first network device sends the uplink data packet to the edge gateway when the session information satisfies the edge forwarding condition.
在一种实现方式中,会话信息可以包括会话类型,会话类型不同的会话可以用于传输不同类型的数据,会话类型相同的会话可以用于传输相同类型的数据。例如,终端请求获取视频类应用数据和即时通讯类应用数据时,网络可以分别为该终端分配用于传输视频类应用数据的会话资源和用于传输即时通讯类应用数据的会话资源。换言之,通过上行数据包对应的会话类型可以确定该上行数据包请求获取的业务的类型。In an implementation manner, the session information may include a session type, sessions of different session types may be used to transmit different types of data, and sessions of the same session type may be used to transmit the same type of data. For example, when a terminal requests to obtain video application data and instant messaging application data, the network may allocate session resources for transmitting video application data and session resources for transmitting instant messaging application data to the terminal respectively. In other words, the type of service requested by the uplink data packet can be determined according to the session type corresponding to the uplink data packet.
在一种实现方式中,边缘转发条件可以包括一个或多个边缘转发会话类型。若前述上行数据包对应的会话类型与该一个或多个边缘转发会话类型中的任一种类型相同,则确定该上行数据包对应的会话信息满足边缘转发条件,并将该上行数据包发送至边缘网关。通过这种方式,有利于减少边缘网关处理的数据流量,降低边缘网关的负载。In an implementation manner, the edge forwarding condition may include one or more edge forwarding session types. If the session type corresponding to the aforementioned uplink data packet is the same as any one of the one or more edge forwarding session types, then it is determined that the session information corresponding to the uplink data packet satisfies the edge forwarding condition, and the uplink data packet is sent to edge gateway. In this way, it is beneficial to reduce the data traffic processed by the edge gateway and reduce the load of the edge gateway.
在一种实现方式中,对于不需要进行本地分流的信令面数据包,其会话类型不为边缘转发会话类型。对于不需要本地分流的长期演进语音承载(voice over long-termevolution,VoLTE)业务或者其他其他及时通讯类业务的数据包,其会话类型不为边缘转发会话类型。通过这种方式,可以避免将不需要本地分流的业务流发送给边缘网关处理,从而有利于减少边缘网关处理的数据流量。In an implementation manner, for the signaling plane data packets that do not require local distribution, the session type is not the edge forwarding session type. For data packets of long-term evolution voice bearer (voice over long-termevolution, VoLTE) services or other instant communication services that do not require local offloading, the session type is not the edge forwarding session type. In this manner, it is possible to avoid sending service flows that do not require local distribution to the edge gateway for processing, thereby helping to reduce data traffic processed by the edge gateway.
在本申请实施例中,若上行数据包对应的会话类型为边缘转发会话类型,则可以表示该上行数据包请求的业务数据存储于本地网络。相较于将该上行数据包发送至核心网以获取该上行数据包请求的数据,通过将该上行数据包发送至本地网络以获取该上行数据包请求的数据,后者中上行数据包的传输路径更短。因此,相较于核心网,通过将该上行数据包发送至本地网络以获取该上行数据包请求的数据,有利于提高该上行数据包所请求数据的获取效率,还有利于降低流经核心网的数据流量。In the embodiment of the present application, if the session type corresponding to the uplink data packet is an edge forwarding session type, it may indicate that the service data requested by the uplink data packet is stored in the local network. Compared with sending the uplink data packet to the core network to obtain the data requested by the uplink data packet, by sending the uplink data packet to the local network to obtain the data requested by the uplink data packet, the transmission of the uplink data packet in the latter The path is shorter. Therefore, compared with the core network, by sending the uplink data packet to the local network to obtain the data requested by the uplink data packet, it is beneficial to improve the efficiency of obtaining the data requested by the uplink data packet, and it is also beneficial to reduce the data flow through the core network. data traffic.
在一种实现方式中,会话信息可以包括会话类型和前述终端设备对应的接入网设备(如基站)的标识。边缘转发条件可以包括一个或多个边缘转发设备标识和一个或多个边缘转发会话类型。若接入网设备的标识与一个或多个边缘转发设备标识中的任一个标识相同,并且前述上行数据包对应的会话类型与上述一个或多个边缘转发会话类型中的任一种类型相同,则第一网络设备可以确定该上行数据包对应的会话信息满足边缘转发条件。其中,终端设备对应的接入网设备可以为该终端设备当前驻留的基站。In an implementation manner, the session information may include a session type and an identifier of an access network device (such as a base station) corresponding to the aforementioned terminal device. The edge forwarding condition may include one or more edge forwarding device identifiers and one or more edge forwarding session types. If the identifier of the access network device is the same as any one of the one or more edge forwarding device identifiers, and the session type corresponding to the aforementioned uplink data packet is the same as any one of the above one or more edge forwarding session types, Then the first network device may determine that the session information corresponding to the uplink data packet satisfies the edge forwarding condition. Wherein, the access network device corresponding to the terminal device may be the base station where the terminal device currently resides.
在实际情况下,运营商可以根据基站所在位置、基站接入用户的数量以及其他原因确定是否部署本地网络。并且一个本地网络可以服务的基站数量是有限的。换言之,并非任一基站接收到上行数据包之后,均可以将该上行数据包发送给边缘网关,进而从该边缘网关对应的本地网络中获取该上行数据包所请求的数据。In actual situations, operators can determine whether to deploy a local network based on the location of the base station, the number of users connected to the base station, and other reasons. And the number of base stations that can be served by a local network is limited. In other words, not any base station can send the uplink data packet to the edge gateway after receiving the uplink data packet, and then obtain the data requested by the uplink data packet from the local network corresponding to the edge gateway.
在一种实现方式中,用户可以在第一网络设备上配置边缘网关的服务区域,或者,用户可以在预设网络设备上配置边缘网关的服务区域,然后由该预设网络设备向第一网络设备发送指示消息,以指示边缘网关的服务区域。在一种实现方式中,可以通过边缘转发设备标识来指示边缘网关的服务区域,边缘转发设备标识可以为接入网设备标识(如基站标识)。边缘转发设备标识指示的基站的覆盖区域可以表征边缘网关的服务区域。仅在基站标识为边缘转发设备标识的情况下,该基站接收到的上行数据包才可以发送至边缘网关,并从该边缘网关对应的本地网络中获取该上行数据包所请求的数据。In one implementation, the user can configure the service area of the edge gateway on the first network device, or the user can configure the service area of the edge gateway on the preset network device, and then the preset network device sends the first network The device sends an indication message to indicate the service area of the edge gateway. In an implementation manner, the service area of the edge gateway may be indicated by an edge forwarding device identifier, and the edge forwarding device identifier may be an access network device identifier (such as a base station identifier). The coverage area of the base station indicated by the edge forwarding device identifier may represent the service area of the edge gateway. Only when the base station identifier is the edge forwarding device identifier, can the uplink data packet received by the base station be sent to the edge gateway, and the data requested by the uplink data packet can be obtained from the local network corresponding to the edge gateway.
第一网络设备接收到来自终端设备的上行数据包,且该终端设备对应的接入网设备的标识为边缘转发设备标识时,可以表示该接入网设备位于边缘网关的服务区域内。相应的,该第一网络设备可以判断该上行数据包对应的会话类型是否为边缘转发会话类型,并在该会话类型为边缘转发会话类型的情况下,将该上行数据包发送至该边缘网关。第一网络设备接收到来自终端设备的上行数据包,且该终端设备对应的接入网设备的标识不为边缘转发设备标识时,可以表示该接入网设备位于边缘网关的服务区域以外。相应的,该第一网络设备可以将该上行数据包发送至核心网网元。When the first network device receives the uplink data packet from the terminal device, and the identifier of the access network device corresponding to the terminal device is an edge forwarding device identifier, it may indicate that the access network device is located in the service area of the edge gateway. Correspondingly, the first network device may determine whether the session type corresponding to the uplink data packet is an edge forwarding session type, and if the session type is an edge forwarding session type, send the uplink data packet to the edge gateway. When the first network device receives the uplink data packet from the terminal device, and the identifier of the access network device corresponding to the terminal device is not an edge forwarding device identifier, it may indicate that the access network device is located outside the service area of the edge gateway. Correspondingly, the first network device may send the uplink data packet to a core network element.
通过这种方式,当终端设备对应的接入网设备的标识不为边缘转发设备标识时,即该接入网设备位于边缘网关的服务区域以外时,可以避免将来自该终端设备的上行数据包发送至边缘网关。由于该接入网设备位于边缘网关的服务区域以外,因此即使将来自该终端设备的上行数据包发送至边缘网关,也不能从该边缘网关对应的本地网络中获取该上行数据包所请求的数据。这样有利于避免来自该终端设备的上行数据包无法得到响应。In this way, when the identification of the access network device corresponding to the terminal device is not the identification of the edge forwarding device, that is, when the access network device is located outside the service area of the edge gateway, the uplink data packet from the terminal device can be avoided sent to the edge gateway. Since the access network device is located outside the service area of the edge gateway, even if the uplink data packet from the terminal device is sent to the edge gateway, the data requested by the uplink data packet cannot be obtained from the local network corresponding to the edge gateway . This is beneficial to avoid that the uplink data packet from the terminal device cannot be responded.
在一种实现方式中,第一网络设备可以默认设置边缘转发条件,也可以根据用户操作设置和更改边缘转发条件。In an implementation manner, the first network device may set the edge forwarding condition by default, or set and change the edge forwarding condition according to a user operation.
在一种实现方式中,在上行数据包对应的会话信息不满足边缘转发条件的情况下,第一网络设备可以将该上行数据包发送至核心网网元。通过这种方式,可以从核心网中获取该上行数据包所请求的数据,避免上行数据包无法得到响应。In an implementation manner, when the session information corresponding to the uplink data packet does not satisfy the edge forwarding condition, the first network device may send the uplink data packet to a network element of the core network. In this way, the data requested by the uplink data packet can be obtained from the core network, preventing the uplink data packet from being unresponsive.
步骤S204:边缘网关将该上行数据包发送至本地服务器。Step S204: the edge gateway sends the uplink data packet to the local server.
具体的,边缘网关接收到上行数据包之后,可以剥离通用无线分组业务(GPRS)隧道协议用户面部分(general packet radio service tunneling protocol-user plane,GTPU)头,然后将剥离后的上行数据包发送至本地服务器。以便从本地服务器(即本地网络)中获取该上行数据包所请求的数据。Specifically, after the edge gateway receives the uplink data packet, it can strip the general packet radio service tunneling protocol-user plane (GTPU) header of the general packet radio service (GPRS) tunneling protocol-user plane, and then send the stripped uplink data packet to to the local server. In order to obtain the data requested by the uplink data packet from the local server (that is, the local network).
在本申请实施例中,通过在上行数据包对应的会话信息满足边缘转发条件的情况下,将该上行数据包发送至边缘网关,有利于减少边缘网关处理的数据流量,降低边缘网关的负载。In the embodiment of the present application, by sending the uplink data packet to the edge gateway when the session information corresponding to the uplink data packet satisfies the edge forwarding condition, it is beneficial to reduce the data traffic processed by the edge gateway and reduce the load of the edge gateway.
请参见图3a,图3a是本申请实施例提供的另一种数据传输方法的流程示意图,该方法详细描述了第一网络设备如何修改上行数据包的地址信息以使得该上行数据包可以经过边缘网关。其中,步骤S301~步骤S305的执行主体为第一网络设备,或者为第一网络设备中的芯片,步骤S306的执行主体为边缘网关,或者为边缘网关中的芯片,以下以第一网络设备、边缘网关为数据传输方法的执行主体为例进行说明。该方法可以包括但不限于如下步骤:Please refer to Fig. 3a, Fig. 3a is a schematic flowchart of another data transmission method provided by the embodiment of the present application, which describes in detail how the first network device modifies the address information of the uplink data packet so that the uplink data packet can pass through the edge gateway. Wherein, the execution subject of steps S301 to S305 is the first network device, or the chip in the first network device, and the execution subject of step S306 is the edge gateway, or the chip in the edge gateway. Hereinafter, the first network device, The edge gateway is used as an execution body of the data transmission method as an example for illustration. The method may include, but is not limited to, the following steps:
步骤S301:第一网络设备接收来自终端设备的上行数据包。Step S301: the first network device receives an uplink data packet from a terminal device.
步骤S302:第一网络设备确定该上行数据包对应的会话信息。Step S302: the first network device determines session information corresponding to the uplink data packet.
需要说明的是,步骤S301~步骤S302的执行过程可分别参见图2中步骤S201~步骤S202的具体描述,此处不再赘述。It should be noted that, for the execution process of step S301 to step S302, refer to the specific description of step S201 to step S202 in FIG. 2 respectively, which will not be repeated here.
步骤S303:第一网络设备在该会话信息满足边缘转发条件的情况下,获取边缘网关的地址信息。Step S303: the first network device obtains the address information of the edge gateway when the session information satisfies the edge forwarding condition.
具体的,在上行数据包对应的会话信息满足边缘转发条件的情况下,第一网络设备可以获取边缘网关的地址信息以及该上行数据包的地址信息,进而根据边缘网关的地址信息对该上行数据包的地址信息进行修改,以使得该上行数据包可以经过边缘网关。Specifically, when the session information corresponding to the uplink data packet satisfies the edge forwarding condition, the first network device can obtain the address information of the edge gateway and the address information of the uplink data packet, and then forward the uplink data according to the address information of the edge gateway. The address information of the packet is modified so that the uplink data packet can pass through the edge gateway.
步骤S304:第一网络设备将上行数据包的目的地址信息修改为该边缘网关的地址信息。Step S304: the first network device modifies the destination address information of the uplink data packet to the address information of the edge gateway.
在一种实现方式中,上行数据包的地址信息可以包括目的地址信息。若该上行数据包的目的地址信息与该边缘网关的地址信息相同,则表明该上行数据包原本要经过边缘网关。此时,第一网络设备可以不改变上行数据包的地址信息。若该上行数据包的目的地址信息与该边缘网关的地址信息不同,则第一网络设备可以将上行数据包的目的地址信息修改为该边缘网关的地址信息。In an implementation manner, the address information of the uplink data packet may include destination address information. If the destination address information of the uplink data packet is the same as the address information of the edge gateway, it indicates that the uplink data packet originally passes through the edge gateway. At this time, the first network device may not change the address information of the uplink data packet. If the destination address information of the uplink data packet is different from the address information of the edge gateway, the first network device may modify the destination address information of the uplink data packet to the address information of the edge gateway.
其中,上行数据包可以为第4版互联网协议(internet protocol version 4,IPv4)数据包或者为第6版互联网协议(internet protocol version 6,IPv6)数据包。相应的,本申请实施例中的地址信息可以包括IPv4地址或者IPv6地址。Wherein, the uplink data packet may be an Internet protocol version 4 (internet protocol version 4, IPv4) data packet or an Internet protocol version 6 (internet protocol version 6, IPv6) data packet. Correspondingly, the address information in this embodiment of the present application may include an IPv4 address or an IPv6 address.
在一种实现方式中,当上行数据包为IPv6数据包,该上行数据包的包头可以包括IPv6标准头和段路由扩展头(segment routing header,SRH)。在IPv6数据包送到目的地址的途中,可以通过SRH扩展头指定必须经过的中间节点地址。In an implementation manner, when the uplink data packet is an IPv6 data packet, the header of the uplink data packet may include an IPv6 standard header and a segment routing header (segment routing header, SRH). When the IPv6 data packet is sent to the destination address, the SRH extension header can be used to specify the address of the intermediate node that must pass through.
以图3b所示的IPv6数据包包头中的SRH扩展头的示意图为例。图3b中,SRH扩展头中的各个字段的含义如下:Next Header:用于标识紧跟在SRH之后的头的类型。Hdr ExtLen:SRH扩展头的长度,Hdr Ext Len主要指从Segment List[0]到Segment List[n]所占用长度。Routing Type:标识路由头部类型。Segments Left:到达目的节点前仍然应当访问的中间节点数。Last Entry:在段列表中包含段列表的最后一个元素的索引。Flags:数据包的一些标识。Tag:标识同组数据包。Segment List[n]:标签段列表,段列表从路径的最后一段开始编码。Segment List是IPv6地址形式。Segment List[n]可以表示为SL[n]。Take the schematic diagram of the SRH extension header in the IPv6 data packet header shown in FIG. 3 b as an example. In Fig. 3b, the meanings of each field in the SRH extension header are as follows: Next Header: used to identify the type of the header immediately following the SRH. Hdr ExtLen: The length of the SRH extension header. Hdr Ext Len mainly refers to the length occupied from Segment List[0] to Segment List[n]. Routing Type: identifies the routing header type. Segments Left: The number of intermediate nodes that should still be visited before reaching the destination node. Last Entry: Contains the index of the last element of the segment list in the segment list. Flags: Some identifiers of the data packet. Tag: identifies the same group of data packets. Segment List[n]: Label segment list, the segment list starts encoding from the last segment of the path. The Segment List is in the form of an IPv6 address. Segment List[n] can be expressed as SL[n].
通过SRH扩展头指定必须经过的中间节点地址的过程如下:例如,从源地址E1::1发送到目的地址A3::1的IPv6数据包,指定中途必须经过A2::1地址时,若该数据包从源地址发送出来时该数据包的目的地址为A2::1,并且该数据包携带扩展头。若扩展头中的SL[0]=A3::1,SL[1]=A2::1,Segments Left=1,则该数据包到达A2::1之后,中间路由设备可以将目的地址更新为A3::1,并将扩展头中的Segments Left更新为0。然后继续查询路由发送到目的地址A3::1。The process of specifying the address of the intermediate node that must pass through the SRH extension header is as follows: For example, when an IPv6 data packet sent from the source address E1::1 to the destination address A3::1 must pass through the address A2::1 on the way, if the When the data packet is sent from the source address, the destination address of the data packet is A2::1, and the data packet carries the extension header. If SL[0]=A3::1, SL[1]=A2::1, and Segments Left=1 in the extension header, after the data packet reaches A2::1, the intermediate routing device can update the destination address to A3::1, and update the Segments Left in the extension header to 0. Then continue to query the route and send it to the destination address A3::1.
在本申请实施例中,当上行数据包为IPv6数据包,该上行数据包的包头包括SRH扩展头时,第一网络设备可以将该上行数据包的目的地址修改为边缘网关的IPv6地址。可选的,还可以将SRH扩展头中的Segments Left更新为0。In this embodiment of the present application, when the uplink data packet is an IPv6 data packet, and the header of the uplink data packet includes an SRH extension header, the first network device may modify the destination address of the uplink data packet to the IPv6 address of the edge gateway. Optionally, the Segments Left in the SRH extension header may also be updated to 0.
步骤S305:第一网络设备根据修改后的上行数据包的目的地址信息,将该上行数据包发送至边缘网关。Step S305: the first network device sends the uplink data packet to the edge gateway according to the modified destination address information of the uplink data packet.
具体的,第一网络设备可以根据修改后的上行数据包的目的地址信息,查询路由表,以将该上行数据包发送至边缘网关。Specifically, the first network device may query a routing table according to the modified destination address information of the uplink data packet, so as to send the uplink data packet to the edge gateway.
步骤S306:边缘网关将该上行数据包发送至本地服务器。Step S306: the edge gateway sends the uplink data packet to the local server.
需要说明的是,步骤S306的执行过程可参见图2中步骤S204的具体描述,此处不再赘述。It should be noted that, for the execution process of step S306, reference may be made to the specific description of step S204 in FIG. 2 , which will not be repeated here.
在本申请实施例中,通过将上行数据包的目的地址信息修改为该边缘网关的地址信息,使得根据修改后的上行数据包的目的地址信息,可以将该上行数据包发送至边缘网关。从而有利于减少边缘网关处理的数据流量。In the embodiment of the present application, by modifying the destination address information of the uplink data packet to the address information of the edge gateway, the uplink data packet can be sent to the edge gateway according to the modified destination address information of the uplink data packet. Therefore, it is beneficial to reduce the data traffic processed by the edge gateway.
请参见图4,图4是本申请实施例提供的又一种数据传输方法的流程示意图,该方法详细描述了在下行方向上如何减少边缘网关处理的数据流量。其中,步骤S401~步骤S402的执行主体为第二网络设备,或者为第二网络设备中的芯片,以下以第二网络设备为数据传输方法的执行主体为例进行说明。该方法可以包括但不限于如下步骤:Please refer to FIG. 4 . FIG. 4 is a schematic flowchart of another data transmission method provided by an embodiment of the present application. The method describes in detail how to reduce the data traffic processed by the edge gateway in the downlink direction. Wherein, steps S401 to S402 are executed by the second network device, or a chip in the second network device, and the following takes the second network device as the execution body of the data transmission method as an example for illustration. The method may include, but is not limited to, the following steps:
步骤S401:第二网络设备确定当前的隧道信息与历史的隧道信息不同;该隧道信息为核心网网元与接入网设备之间的隧道信息。Step S401: the second network device determines that current tunnel information is different from historical tunnel information; the tunnel information is tunnel information between a core network element and an access network device.
其中,第二网络设备可以为核心网网元、核心网网关或者为下行方向上边缘网关之前的设备。下行数据包通过隧道信息可以顺利返回终端设备。本申请实施例中的隧道可以指GTPU隧道或者其他网络隧道。GTPU隧道的隧道信息可以包括但不限于:接入网设备的标识和隧道端点标示符(tunnel endpoint identifier,TEID)。因此,终端设备接入的接入网设备发生变化,和/或TEID发生变化时,隧道信息会发生变化。TEID可以包括用户面的TEID(简称TEIDU)和控制面的TEID(简称TEIDC)。TEIDU对应的隧道可以用于传输用户面数据,TEIDC对应的隧道可以用于传输控制面数据。Wherein, the second network device may be a network element of the core network, a gateway of the core network, or a device before the edge gateway in the downlink direction. The downlink data packet can be returned to the terminal device smoothly through the tunnel information. The tunnel in this embodiment of the present application may refer to a GTPU tunnel or other network tunnels. The tunnel information of the GTPU tunnel may include but not limited to: an identifier of an access network device and a tunnel endpoint identifier (tunnel endpoint identifier, TEID). Therefore, when the access network device accessed by the terminal device changes, and/or the TEID changes, the tunnel information will change. The TEID may include the TEID of the user plane (TEIDU for short) and the TEID of the control plane (TEIDC for short). The tunnel corresponding to the TEIDU can be used to transmit user plane data, and the tunnel corresponding to the TEIDC can be used to transmit control plane data.
在一种实现方式中,核心网中可以存储有所有GTPU隧道的隧道信息,当任一隧道信息发生变化的情况下,核心网可以向第二网络设备发送第一消息,该第一消息可以指示当前的隧道信息与历史的隧道信息不同。在一种实现方式中,核心网和第二网络设备均可以存储有所有GTPU隧道的隧道信息,当任一隧道信息发生变化的情况下,核心网可以向第二网络设备发送第二消息,该第二消息可以携带当前的隧道信息。第二网络设备接收到第二消息之后,通过比较历史的隧道信息和当前的隧道信息,可以确定隧道信息发生变化。In one implementation, tunnel information of all GTPU tunnels may be stored in the core network, and when any tunnel information changes, the core network may send a first message to the second network device, and the first message may indicate The current tunnel information is different from the historical tunnel information. In one implementation, both the core network and the second network device can store tunnel information of all GTPU tunnels, and when any tunnel information changes, the core network can send a second message to the second network device, the The second message may carry current tunnel information. After receiving the second message, the second network device may determine that the tunnel information has changed by comparing historical tunnel information with current tunnel information.
步骤S402:第二网络设备将该隧道信息对应的下行数据包发送至边缘网关。Step S402: the second network device sends the downlink data packet corresponding to the tunnel information to the edge gateway.
在本申请实施例中,在隧道信息发生变化的情况下,边缘网关无法获知变化之后的隧道信息(即当前的隧道信息),因此边缘网关接收到来自本地服务器的下行数据包时,依然按照历史的隧道信息发送该下行数据包,这样会导致该下行数据包无法返回至正确的终端设备。In the embodiment of this application, when the tunnel information changes, the edge gateway cannot know the tunnel information after the change (that is, the current tunnel information), so when the edge gateway receives the downlink data packet from the local server, it still follows the historical The downlink data packet is sent with the tunnel information, which will cause the downlink data packet to fail to return to the correct terminal device.
具体的,隧道信息发生变化的情况下,第二网络设备可以将发生变化的隧道信息对应的下行数据包发送至边缘网关。边缘网关接收到下行数据包之后,可以根据该下行数据包携带的信息确定当前的隧道信息,然后按照当前的隧道信息封装来自本地服务器的下行数据包,并发送封装后的下行数据包。通过这种方式,有利于提高来自本地服务器的下行数据包返回终端设备的成功率。Specifically, when the tunnel information changes, the second network device may send the downlink data packet corresponding to the changed tunnel information to the edge gateway. After receiving the downlink data packet, the edge gateway can determine the current tunnel information according to the information carried in the downlink data packet, then encapsulate the downlink data packet from the local server according to the current tunnel information, and send the encapsulated downlink data packet. In this way, it is beneficial to improve the success rate of returning the downlink data packets from the local server to the terminal device.
本申请实施例在隧道信息变化的情况下,才将该隧道信息对应的下行数据包发送至边缘网关,可以避免在隧道信息未发生变化的情况下,也将来自核心网的下行数据包发送至边缘网关。通过这种方式,有利于减少边缘网关处理的数据流量,降低边缘网关的负载。In the embodiment of the present application, when the tunnel information changes, the downlink data packet corresponding to the tunnel information is sent to the edge gateway, which can avoid sending the downlink data packet from the core network to the edge gateway when the tunnel information has not changed. edge gateway. In this way, it is beneficial to reduce the data traffic processed by the edge gateway and reduce the load of the edge gateway.
在一种实现方式中,第二网络设备在隧道信息变化的情况下,向边缘网关发送隧道信息对应的下行数据包可以来自核心网网元,或者,该下行数据包可以是由第二网络设备自行创建生成的。In one implementation, when the tunnel information changes, the second network device sends the downlink data packet corresponding to the tunnel information to the edge gateway, which may come from a network element of the core network, or the downlink data packet may be sent by the second network device Generated by yourself.
由于在隧道信息发生变化的情况下,边缘网关无法获知变化之后的隧道信息(即当前的隧道信息),若发生变化的隧道信息对应的下行数据包不会来自核心网(或者因特网),那么第二网络设备也就无法向边缘网关发送来自核心网(或者因特网)的下行数据包。相应的,边缘网关也就无法学习得到当前的隧道信息,这样会导致来自本地服务器(即本地网络)的下行数据包无法正确返回终端设备。此时,第二网络设备通过自行创建下行数据包,可以避免没有来自因特网的下行数据包,导致边缘网关无法确定当前的隧道信息的情况,从而有利于提高来自本地服务器的下行数据包返回终端设备的成功率。Since the edge gateway cannot know the changed tunnel information (that is, the current tunnel information) when the tunnel information changes, if the downlink data packet corresponding to the changed tunnel information does not come from the core network (or the Internet), then the first The second network device cannot send downlink data packets from the core network (or the Internet) to the edge gateway. Correspondingly, the edge gateway cannot learn the current tunnel information, which will cause the downlink data packets from the local server (that is, the local network) to fail to return to the terminal device correctly. At this time, the second network device can avoid the situation that there is no downlink data packet from the Internet by creating the downlink data packet by itself, resulting in the edge gateway being unable to determine the current tunnel information, which is beneficial to improve the return of the downlink data packet from the local server to the terminal device. success rate.
在本申请实施例中,第二网络设备在确定隧道信息发生变化之后,生成该隧道信息对应的下行数据包,并将该下行数据包发送至边缘网关。使得边缘网关可以根据该下行数据包携带的信息确定当前的隧道信息。这样当边缘网关接收到的来自本地服务器的下行数据包时,可以更加及时地根据当前的隧道信息封装并发送来自本地服务器的下行数据包。In the embodiment of the present application, after determining that the tunnel information has changed, the second network device generates a downlink data packet corresponding to the tunnel information, and sends the downlink data packet to the edge gateway. The edge gateway can determine the current tunnel information according to the information carried in the downlink data packet. In this way, when the edge gateway receives the downlink data packet from the local server, it can encapsulate and send the downlink data packet from the local server more timely according to the current tunnel information.
在一种实现方式中,第二网络设备确定隧道信息发生变化之后,若未接收到该隧道信息对应的下行数据包,则第二网络设备可以获取当前的隧道信息,并根据当前的隧道信息创建该隧道信息对应的下行数据包。通过这种方式创建得到的下行数据包携带了可以正确返回终端的地址信息。In an implementation manner, after the second network device determines that the tunnel information has changed, if the downlink data packet corresponding to the tunnel information is not received, the second network device may obtain the current tunnel information, and create a tunnel according to the current tunnel information. The downlink data packet corresponding to the tunnel information. The downlink data packet created in this way carries address information that can be correctly returned to the terminal.
在一种实现方式中,第二网络设备在将隧道信息对应的下行数据包发送至边缘网关之前,还可以确定该隧道信息对应的会话信息;在该会话信息满足边缘转发条件的情况下,触发执行将该隧道信息对应的下行数据包发送至边缘网关的步骤。In an implementation manner, before the second network device sends the downlink data packet corresponding to the tunnel information to the edge gateway, it may also determine the session information corresponding to the tunnel information; when the session information satisfies the edge forwarding condition, trigger Execute the step of sending the downlink data packet corresponding to the tunnel information to the edge gateway.
具体的,在隧道信息对应的会话信息满足边缘转发条件的情况下,很大概率会有发生变化的隧道信息对应的下行数据包从本地网络返回,或者,很大概率边缘网关会接收到发生变化的隧道信息对应的下行数据包(来自本地网络的)。在此情况下,将发生变化的隧道信息对应的下行数据包(来自核心网或因特网)发送至边缘网关,有利于边缘网关确定当前的隧道信息,进而使得从本地网络中返回的下行数据包可以正确返回终端设备。需要说明的是,会话信息以及边缘转发条件可参见图2~图3a实施例中的描述,此处不再赘述。Specifically, when the session information corresponding to the tunnel information satisfies the edge forwarding condition, there is a high probability that the downlink data packet corresponding to the changed tunnel information will be returned from the local network, or the edge gateway will receive the changed The downlink data packet (from the local network) corresponding to the tunnel information. In this case, sending the downlink data packet (from the core network or the Internet) corresponding to the changed tunnel information to the edge gateway is beneficial for the edge gateway to determine the current tunnel information, so that the downlink data packet returned from the local network can correctly returns the terminal device. It should be noted that, for the session information and the edge forwarding conditions, refer to the descriptions in the embodiments of FIG. 2 to FIG. 3 a , and details are not repeated here.
在一种实现方式中,若来自第一终端设备的上行数据包全部发送至核心网,而并未发送至本地网络。那么不会存在从本地网络返回该上行数据包对应的下行数据包。由于从核心网中返回的数据包不用转发至边缘网关也可以正确返回至该第一终端设备,因此在此情况下,可以不将该下行数据包发送至边缘网关。In an implementation manner, if all the uplink data packets from the first terminal device are sent to the core network, but not to the local network. Then there will be no downlink data packet corresponding to the uplink data packet returned from the local network. Since the data packet returned from the core network can be correctly returned to the first terminal device without being forwarded to the edge gateway, in this case, the downlink data packet may not be sent to the edge gateway.
在隧道信息对应的会话信息满足边缘转发条件的情况下,将该隧道信息对应的下行数据包发送至边缘网关,一方面,有利于从本地网络中返回的下行数据包正确返回终端设备;另一方面,可以避免在隧道信息对应的会话信息不满足边缘转发条件的情况下,将该隧道信息对应的下行数据包发送至边缘网关的情况,有利于降低边缘网关处理的数据流量。When the session information corresponding to the tunnel information satisfies the edge forwarding condition, the downlink data packet corresponding to the tunnel information is sent to the edge gateway. On the one hand, it is beneficial for the downlink data packet returned from the local network to return to the terminal device correctly; on the other hand On the one hand, it can avoid the situation that the downlink data packet corresponding to the tunnel information is sent to the edge gateway when the session information corresponding to the tunnel information does not meet the edge forwarding condition, which is beneficial to reduce the data flow processed by the edge gateway.
通过实施本申请实施例,有利于提高来自本地服务器的下行数据包返回终端设备的成功率。By implementing the embodiments of the present application, it is beneficial to improve the success rate of returning the downlink data packets from the local server to the terminal device.
请参见图5,图5是本申请实施例提供的又一种数据传输方法的流程示意图,该方法详细描述了第二网络设备如何修改下行数据包的地址信息以使得该下行数据包可以经过边缘网关。其中,步骤S501~步骤S505的执行主体为第二网络设备,或者为第二网络设备中的芯片,以下以第二网络设备为数据传输方法的执行主体为例进行说明。该方法可以包括但不限于如下步骤:Please refer to FIG. 5. FIG. 5 is a schematic flowchart of another data transmission method provided by the embodiment of the present application. This method describes in detail how the second network device modifies the address information of the downlink data packet so that the downlink data packet can pass through the edge gateway. Wherein, the executing subject of steps S501 to S505 is the second network device, or a chip in the second network device, and the following takes the second network device as the executing subject of the data transmission method as an example for illustration. The method may include, but is not limited to, the following steps:
步骤S501:第二网络设备接收来自核心网网元的下行数据包。Step S501: the second network device receives a downlink data packet from a core network element.
步骤S502:第二网络设备确定当前的隧道信息与历史的隧道信息不同;该隧道信息为核心网网元与接入网设备之间的隧道信息。Step S502: the second network device determines that the current tunnel information is different from the historical tunnel information; the tunnel information is the tunnel information between the core network element and the access network device.
需要说明的是,步骤S501~步骤S502的执行过程可参见图4中步骤S401~步骤S402的具体描述,此处不再赘述。It should be noted that, for the execution process of step S501 to step S502, refer to the specific description of step S401 to step S402 in FIG. 4 , which will not be repeated here.
步骤S503:第二网络设备获取边缘网关的地址信息。Step S503: the second network device obtains the address information of the edge gateway.
步骤S504:第二网络设备将下行数据包的目的地址信息修改为该边缘网关的地址信息。Step S504: the second network device modifies the destination address information of the downlink data packet to the address information of the edge gateway.
在一种实现方式中,边缘网关的地址信息可以IPV4地址或者IPV6地址。In an implementation manner, the address information of the edge gateway may be an IPV4 address or an IPV6 address.
步骤S505:第二网络设备根据修改后的下行数据包的目的地址信息,将该下行数据包发送至边缘网关。Step S505: the second network device sends the downlink data packet to the edge gateway according to the modified destination address information of the downlink data packet.
在一种实现方式中,发生变化的隧道信息对应的下行数据包可以为下行数据流中的前n个下行数据包。换言之,第二网络设备在确定接收到的下行数据包对应的隧道信息发生变化的情况下,可以将接收到的前n个下行数据包发送至边缘网关。这样有利于确保边缘网关可以根据接收到的n个下行数据包学习到当前的隧道信息,从而有利于提高来自本地服务器的下行数据包返回终端设备的成功率。其中,n可以大于或者等于1。在一种实现方式中,n越大,可以更好地确保边缘网关可以根据接收到的n个下行数据包学习到当前的隧道信息。在一种实现方式中,第二网络设备可以按照接收的先后顺序,将先接收到的前n个下行数据包发送至边缘网关。或者,第二网络设备可以将下行数据流中传输控制协议(transmission control protocol,TCP)序号较小的前n个下行数据包发送至边缘网关。其中,TCP序号为TCP首部中的序号,该序号用于标识下行数据包在所属的下行数据流中的位置。In an implementation manner, the downlink data packets corresponding to the changed tunnel information may be the first n downlink data packets in the downlink data flow. In other words, when the second network device determines that the tunnel information corresponding to the received downlink data packets changes, it may send the first n downlink data packets received to the edge gateway. This is beneficial to ensure that the edge gateway can learn the current tunnel information according to the received n downlink data packets, thereby helping to improve the success rate of returning the downlink data packets from the local server to the terminal device. Wherein, n may be greater than or equal to 1. In an implementation manner, the larger n is, the better it can be ensured that the edge gateway can learn the current tunnel information according to the received n downlink data packets. In an implementation manner, the second network device may send the first n downlink data packets received first to the edge gateway according to the order of receipt. Alternatively, the second network device may send the first n downlink data packets with smaller transmission control protocol (transmission control protocol, TCP) sequence numbers in the downlink data stream to the edge gateway. Wherein, the TCP sequence number is the sequence number in the TCP header, and the sequence number is used to identify the position of the downlink data packet in the downstream data flow to which it belongs.
在一种实现方式中,第二网络设备在确定接收到的下行数据包对应的隧道信息发生变化的情况下,将前n个下行数据包发送至边缘网关之后,针对后续接收到的下行数据包,可以根据该下行数据包自身携带的地址信息返回终端设备。这样可以避免在边缘网关已经成功学习到当前的隧道信息的情况下,继续向边缘网关发送下行数据包。还可以减少边缘网关处理的数据流量,另一方面,按照下行数据包自身携带的地址信息返回终端设备,可以避免延长该下行数据包在返回终端设备前所经过的路径。In an implementation manner, when the second network device determines that the tunnel information corresponding to the received downlink data packets has changed, after sending the first n downlink data packets to the edge gateway, for the subsequent received downlink data packets , can be returned to the terminal device according to the address information carried in the downlink data packet itself. This can prevent the edge gateway from continuing to send downlink data packets to the edge gateway under the condition that the edge gateway has successfully learned the current tunnel information. It can also reduce the data traffic processed by the edge gateway. On the other hand, the downlink data packet is returned to the terminal device according to the address information carried by itself, which can avoid prolonging the path that the downlink data packet passes before returning to the terminal device.
需要说明的是,第二网络设备根据边缘网关的地址信息修改下行数据包的目的地址信息的执行过程,与第一网络设备根据边缘网关的地址信息修改上行数据包的目的地址信息的执行过程相同。即步骤S503~步骤S505的执行过程可参见图3a中步骤S303~步骤S305的具体描述,此处不再赘述。It should be noted that the execution process of the second network device modifying the destination address information of the downlink data packet according to the address information of the edge gateway is the same as the execution process of the first network device modifying the destination address information of the uplink data packet according to the address information of the edge gateway . That is, the execution process of step S503 to step S505 may refer to the specific description of step S303 to step S305 in FIG. 3 a , which will not be repeated here.
在本申请实施例中,通过将下行数据包的目的地址信息修改为边缘网关的地址信息,使得根据修改后的下行数据包的目的地址信息,可以将该下行数据包发送至边缘网关,从而有利于提高来自本地服务器的下行数据包返回终端设备的成功率。In the embodiment of the present application, by modifying the destination address information of the downlink data packet to the address information of the edge gateway, the downlink data packet can be sent to the edge gateway according to the modified destination address information of the downlink data packet, thereby effectively It is beneficial to improve the success rate of returning the downlink data packets from the local server to the terminal device.
前述图2-图5实施例所述数据传输方法可以应用于不同的网络架构下,例如,第四代移动通信技术(the 4th generation mobile communication technology,4G)长期演进(long term evolution,LTE)的核心网、5G核心网(5G core network,5GC)或其他网络的网络架构。LTE的核心网为演进分组核心网(evolved packet core network,EPC)或者EPC+。EPC+网络既能支持4G也能支持5G非独立组网(non-stand alone,NSA)。其中,EPC网络(或EPC+网络)可以是控制面与转发面(control plane and user plane,CU)分离的网络架构或CU合一的网络架构。The data transmission method described in the foregoing embodiments in FIGS. 2-5 can be applied to different network architectures, for example, the 4th generation mobile communication technology (the 4th generation mobile communication technology, 4G) long term evolution (long term evolution, LTE) Core network, 5G core network (5G core network, 5GC) or network architecture of other networks. The core network of LTE is an evolved packet core network (evolved packet core network, EPC) or EPC+. The EPC+ network can support both 4G and 5G non-stand alone (NSA). Wherein, the EPC network (or EPC+ network) may be a network architecture in which the control plane and a forwarding plane (control plane and user plane, CU) are separated or a network architecture in which the CU is integrated.
EPC网络(或EPC+网络)可以包括但不限于如下网元:移动管理节点(mobilitymanagement entity,MME)、服务网关(serving gateway,SGW)和分组数据网网关(packetdata network gateway,PGW)。5GC网络可以包括但不限于如下网元:用户面功能(userplane function,UPF)、业务管理功能(service management function,SMF)和接入管理功能(access management function,AMF)。在CU分离的网络架构下,SGW可以分为用户面服务网关(serving gateway for user plane,SGW-U)和控制面服务网关(serving gatewayfor control plane,SGW-C),PGW可以分为用户面分组数据网网关(packet data networkgateway for user plane,PGW-U)和控制面分组数据网网关(packet data networkgateway for control plane,PGW-C)。The EPC network (or EPC+ network) may include but not limited to the following network elements: mobility management entity (mobility management entity, MME), serving gateway (serving gateway, SGW) and packet data network gateway (packetdata network gateway, PGW). The 5GC network may include but not limited to the following network elements: user plane function (userplane function, UPF), service management function (service management function, SMF) and access management function (access management function, AMF). Under the network architecture where CU is separated, SGW can be divided into serving gateway for user plane (SGW-U) and serving gateway for control plane (SGW-C), and PGW can be divided into user plane grouping A data network gateway (packet data network gateway for user plane, PGW-U) and a control plane packet data network gateway (packet data network gateway for control plane, PGW-C).
下面示例性地以前述数据传输方法分别应用于图6a、图6b、图6c所示网络架构的情况进行说明。In the following, description will be made exemplarily by taking the foregoing data transmission methods respectively applied to the network architectures shown in FIG. 6a , FIG. 6b , and FIG. 6c .
在图6a所示CU分离的网络架构中,基站a和基站b被配置为执行图2-图3a所述方法中第一网络设备相应的功能。SGW-U被配置为执行图4-图5所述方法中第二网络设备相应的功能。基站a和基站b均处于边缘网关的服务区域内,即边缘转发设备标识至少包括基站a的标识和基站b的标识。数据包1为上行数据包,数据包2和数据包3均为下行数据包。In the network architecture in which CUs are separated as shown in FIG. 6a , base station a and base station b are configured to perform corresponding functions of the first network device in the methods described in FIGS. 2-3a. The SGW-U is configured to execute the corresponding functions of the second network device in the methods described in FIGS. 4-5 . Both base station a and base station b are located in the service area of the edge gateway, that is, the edge forwarding device identifier includes at least the identifier of base station a and the identifier of base station b. Data packet 1 is an uplink data packet, and data packet 2 and data packet 3 are both downlink data packets.
1)在上行方向上:由图6a可知,终端a可以向基站a发送数据包1,基站接收到数据包1之后,可以确定该数据包1对应的会话信息(如会话类型和终端a对应的基站(即基站a)的标识)。由于边缘转发设备标识包括基站a的标识,因此若数据包1的会话类型为边缘转发会话类型,即可以确定该数据包1对应的会话信息满足边缘转发条件。进一步的,基站a可以将该数据包1发送至边缘网关。边缘网关接收到数据包1之后,可以剥离数据包1的GTPU头,并将剥离GTPU头的数据包1发送至本地网络。1) In the uplink direction: As can be seen from Figure 6a, terminal a can send data packet 1 to base station a, and after receiving data packet 1, the base station can determine the session information corresponding to data packet 1 (such as the session type corresponding to terminal a base station (ie, the identity of base station a)). Since the edge forwarding device identifier includes the identifier of base station a, if the session type of the data packet 1 is the edge forwarding session type, it can be determined that the session information corresponding to the data packet 1 satisfies the edge forwarding condition. Further, base station a may send the data packet 1 to the edge gateway. After receiving the data packet 1, the edge gateway can strip the GTPU header of the data packet 1, and send the data packet 1 with the GTPU header stripped to the local network.
具体的,基站a将该数据包1发送至边缘网关可以是通过将数据包1的目的地址修改为边缘网关的IPv6地址实现的。在图6a所示网络架构中,边缘网关的IPv6地址可以由MME发送给基站a。在一种实现方式中,当终端a在基站a中激活(如开机),或者终端a由基站a的覆盖区域外移动到基站a的覆盖区域内时,SGW-C可以通过扩展信元,以向MME发送携带有边缘网关的IPv6地址的信息。换言之,当终端a在边缘网关的服务区域内激活,或者终端a由边缘网关的服务区域外移动到边缘网关的服务区域内时,SGW-C可以向MME发送携带有边缘网关的IPv6地址的信息。Specifically, base station a may send the data packet 1 to the edge gateway by modifying the destination address of the data packet 1 to the IPv6 address of the edge gateway. In the network architecture shown in Fig. 6a, the IPv6 address of the edge gateway may be sent by the MME to the base station a. In one implementation, when terminal a is activated in base station a (for example, powered on), or terminal a moves from outside the coverage area of base station a to within the coverage area of base station a, SGW-C can use extended information elements to Send the information carrying the IPv6 address of the edge gateway to the MME. In other words, when terminal a is activated in the service area of the edge gateway, or when terminal a moves from outside the service area of the edge gateway to the service area of the edge gateway, SGW-C can send information carrying the IPv6 address of the edge gateway to MME .
2)在下行方向上:由图6a可知,当终端a从基站a的覆盖区域移动到基站b的覆盖区域之后,SGW-C可以将当前的隧道信息发送给SGW-U。SGW-U接收到当前的隧道信息时,可以确定隧道信息发生变化。然后,SGW-U可以根据当前的隧道信息生成数据包2,并将数据包2发送给边缘网关。边缘网关接收到数据包2之后,可以提取该数据包2携带的地址信息进而学习到当前的隧道信息。其中,该隧道信息对应的隧道可以用于传输数据包1对应的下行数据包(即图6a中的数据包3)。当边缘网关接收到来自本地网络的数据包3,可以根据学习到的当前的隧道信息将该数据包3正确发送至基站b,从而有利于终端a成功获取到数据包1对应的下行数据包(即数据包3)。2) In the downlink direction: As can be seen from Figure 6a, when terminal a moves from the coverage area of base station a to the coverage area of base station b, SGW-C can send the current tunnel information to SGW-U. When the SGW-U receives the current tunnel information, it may determine that the tunnel information changes. Then, SGW-U can generate data packet 2 according to the current tunnel information, and send data packet 2 to the edge gateway. After the edge gateway receives the data packet 2, it can extract the address information carried in the data packet 2 and learn the current tunnel information. Wherein, the tunnel corresponding to the tunnel information may be used to transmit the downlink data packet corresponding to the data packet 1 (that is, the data packet 3 in FIG. 6a ). When the edge gateway receives the data packet 3 from the local network, it can correctly send the data packet 3 to the base station b according to the learned current tunnel information, so that the terminal a can successfully obtain the downlink data packet corresponding to the data packet 1 ( That is packet 3).
需要说明的是,SGW-U可以生成n个数据包3,并将n个数据包3均发送至边缘网关,以确保边缘网关可以成功学习到当前的隧道信息。还需要说明的是,图6a以不存在来自因特网的数据包为例进行说明,并不构成对本申请实施例的限定。若存在来自因特网的数据包,则SGW-U可以将来自因特网的前n个数据包发送至边缘网关。需要说明的是,来自因特网的数据包可以经过PGW-U到达SGW-U。其中,PGW为EPC网络的边界网关,PGW-U可以用于处理用户面数据,PGW-C可以用于处理控制面数据。It should be noted that the SGW-U can generate n data packets 3 and send all n data packets 3 to the edge gateway, so as to ensure that the edge gateway can successfully learn the current tunnel information. It should also be noted that FIG. 6a is illustrated by taking no data packets from the Internet as an example, which does not constitute a limitation to the embodiment of the present application. If there are data packets from the Internet, the SGW-U may send the first n data packets from the Internet to the edge gateway. It should be noted that the data packets from the Internet can reach the SGW-U via the PGW-U. Wherein, PGW is a border gateway of the EPC network, PGW-U can be used to process user plane data, and PGW-C can be used to process control plane data.
在图6b所示CU合一的网络架构中,除了边缘网关的IPv6地址由SGW发送给MME,当前的隧道信息由SGW自身确定,SGW被配置为执行图4-图5所述方法中第二网络设备相应的功能以外,其他网元的功能均与图6a一致。此处不再赘述。In the CU-in-one network architecture shown in Figure 6b, except that the IPv6 address of the edge gateway is sent to the MME by the SGW, the current tunnel information is determined by the SGW itself, and the SGW is configured to perform the second Except for the corresponding functions of the network equipment, the functions of other network elements are consistent with those in FIG. 6a. I won't repeat them here.
在图6c所示5G独立组网(standalone,SA)网络架构中,图6c中的各网元的功能基本与图6a中的相同。不同点如下:第一,UPF或者SGW-U被配置为执行图4-图5所述方法中第二网络设备相应的功能。第二,边缘网关的IPv6地址由SMF发送给AMF,再由AMF将边缘网关的IPv6地址发送给基站a。或者,边缘网关的IPv6地址可以由MME发送给基站a。第三,当前的隧道信息由SMF告知UPF,或者,当前的隧道信息由SGW-C发送给SGW-U。In the 5G standalone (SA) network architecture shown in FIG. 6c, the functions of each network element in FIG. 6c are basically the same as those in FIG. 6a. The differences are as follows: first, the UPF or the SGW-U is configured to execute the corresponding functions of the second network device in the methods shown in FIGS. 4-5 . Second, the SMF sends the IPv6 address of the edge gateway to the AMF, and the AMF sends the IPv6 address of the edge gateway to the base station a. Alternatively, the IPv6 address of the edge gateway may be sent to base station a by the MME. Third, the current tunnel information is notified to the UPF by the SMF, or the current tunnel information is sent to the SGW-U by the SGW-C.
上述详细阐述了本申请实施例公开的方法,下面将提供本申请实施例的装置。The method disclosed in the embodiment of the present application has been described in detail above, and the device in the embodiment of the present application will be provided below.
请参见图7,图7是本申请实施例提供的一种数据传输装置的结构示意图,该装置可以为第一网络设备或具有第一网络设备功能的装置(例如芯片),数据传输装置70用于执行图2-图3a对应的方法实施例中第一网络设备所执行的步骤,数据传输装置70包括:Please refer to FIG. 7. FIG. 7 is a schematic structural diagram of a data transmission device provided by an embodiment of the present application. The device may be a first network device or a device (such as a chip) having the function of a first network device. In executing the steps performed by the first network device in the method embodiment corresponding to FIG. 2-FIG. 3a, the
通信模块701,用于接收来自终端设备的上行数据包;A
处理模块702,用于确定该上行数据包对应的会话信息;A
通信模块701,还用于在该上行数据包对应的会话信息满足边缘转发条件的情况下,将该上行数据包发送至边缘网关。The
在一种实现方式中,会话信息可以包括会话类型,边缘转发条件可以包括一个或多个边缘转发会话类型;会话信息满足边缘转发条件可以包括该上行数据包对应的会话类型与边缘转发会话类型相同。In one implementation, the session information may include a session type, and the edge forwarding condition may include one or more edge forwarding session types; the session information meeting the edge forwarding condition may include that the session type corresponding to the uplink data packet is the same as the edge forwarding session type .
在一种实现方式中,会话信息可以包括终端设备对应的接入网设备的标识和会话类型;边缘转发条件可以包括一个或多个边缘转发设备标识和一个或多个边缘转发会话类型;会话信息满足边缘转发条件可以包括:接入网设备的标识与边缘转发设备标识相同且该上行数据包对应的会话类型与边缘转发会话类型相同。In one implementation, the session information may include the identifier and session type of the access network device corresponding to the terminal device; the edge forwarding condition may include one or more edge forwarding device identifiers and one or more edge forwarding session types; the session information Satisfying the edge forwarding condition may include: the identifier of the access network device is the same as the edge forwarding device identifier, and the session type corresponding to the uplink data packet is the same as the edge forwarding session type.
在一种实现方式中,通信模块701还可以用于获取边缘网关的地址信息;处理模块702还可以用于将上行数据包的目的地址信息修改为边缘网关的地址信息;通信模块701用于将上行数据包发送至边缘网关时,具体可以用于根据修改后的上行数据包的目的地址信息,将该上行数据包发送至边缘网关。In one implementation, the
在一种实现方式中,边缘网关的地址信息可以包括互联网协议第6版IPV6地址。In an implementation manner, the address information of the edge gateway may include an Internet Protocol version 6 IPV6 address.
在一种实现方式中,通信模块701还可以用于在上行数据包对应的会话信息不满足边缘转发条件的情况下,将该上行数据包发送至核心网网元。In an implementation manner, the
需要说明的是,图7对应的实施例中未提及的内容以及各个模块执行步骤的具体实现方式可参见图2-图3a所示实施例以及前述内容,这里不再赘述。It should be noted that for the content not mentioned in the embodiment corresponding to FIG. 7 and the specific implementation manners of the execution steps of each module, refer to the embodiment shown in FIGS. 2-3a and the foregoing content, and details are not repeated here.
在一种实现方式中,图7中的各个模块所实现的相关功能可以结合处理器与通信接口来实现。参见图8,图8是本申请实施例提供的另一种数据传输装置的结构示意图,该装置可以为第一网络设备或具有第一网络设备功能的装置(例如芯片),该数据传输装置80可以包括通信接口801、处理器802和存储器803,通信接口801、处理器802和存储器803可以通过一条或多条通信总线相互连接,也可以通过其它方式相连接。图7所示的通信模块701和处理模块702所实现的相关功能可以通过同一个处理器802来实现,也可以通过多个不同的处理器802来实现。In an implementation manner, related functions implemented by each module in FIG. 7 may be implemented in combination with a processor and a communication interface. Referring to FIG. 8, FIG. 8 is a schematic structural diagram of another data transmission device provided by an embodiment of the present application. The device may be a first network device or a device (such as a chip) having the function of a first network device. The
通信接口801可以用于发送数据和/或信令,以及接收数据和/或信令。应用在本申请实施例中,通信接口801可以用于接收来自终端设备的上行数据包,通信接口801可以为收发器。The
处理器802被配置为执行图2-图3a所述方法中第一网络设备相应的功能。该处理器802可以包括一个或多个处理器,例如该处理器802可以是一个或多个中央处理器(central processing unit,CPU),网络处理器(network processor,NP),硬件芯片或者其任意组合。在处理器802是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。The
存储器803用于存储程序代码等。存储器803可以包括易失性存储器(volatilememory),例如随机存取存储器(random access memory,RAM);存储器803也可以包括非易失性存储器(non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器803还可以包括上述种类的存储器的组合。需要说明的是,数据传输装置80包括存储器803仅用于举例,并不构成对本申请实施例限定,在一种实现方式中,存储器803可以用其他具备存储功能的存储介质替代。The
处理器802可以调用存储器803中存储的程序代码以使数据传输装置80执行以下操作:The
接收来自终端设备的上行数据包,确定该上行数据包对应的会话信息;receiving an uplink data packet from a terminal device, and determining session information corresponding to the uplink data packet;
在该上行数据包对应的会话信息满足边缘转发条件的情况下,将该上行数据包发送至边缘网关。When the session information corresponding to the uplink data packet satisfies the edge forwarding condition, the uplink data packet is sent to the edge gateway.
在一种实现方式中,会话信息可以包括会话类型,边缘转发条件可以包括一个或多个边缘转发会话类型;会话信息满足边缘转发条件可以包括该上行数据包对应的会话类型与边缘转发会话类型相同。In one implementation, the session information may include a session type, and the edge forwarding condition may include one or more edge forwarding session types; the session information meeting the edge forwarding condition may include that the session type corresponding to the uplink data packet is the same as the edge forwarding session type .
在一种实现方式中,会话信息可以包括终端设备对应的接入网设备的标识和会话类型;边缘转发条件可以包括一个或多个边缘转发设备标识和一个或多个边缘转发会话类型;会话信息满足边缘转发条件可以包括:接入网设备的标识与边缘转发设备标识相同且该上行数据包对应的会话类型与边缘转发会话类型相同。In one implementation, the session information may include the identifier and session type of the access network device corresponding to the terminal device; the edge forwarding condition may include one or more edge forwarding device identifiers and one or more edge forwarding session types; the session information Satisfying the edge forwarding condition may include: the identifier of the access network device is the same as the edge forwarding device identifier, and the session type corresponding to the uplink data packet is the same as the edge forwarding session type.
在一种实现方式中,将上行数据包发送至边缘网关之前,处理器802还可以调用存储器803中存储的程序代码以使数据传输装置80执行以下操作:获取边缘网关的地址信息,将上行数据包的目的地址信息修改为边缘网关的地址信息;处理器802调用存储器803中存储的程序代码以使数据传输装置80执行将上行数据包发送至边缘网关时,具体可以使数据传输装置80执行以下操作:根据修改后的上行数据包的目的地址信息,将该上行数据包发送至边缘网关。In one implementation, before sending the uplink data packet to the edge gateway, the
在一种实现方式中,边缘网关的地址信息可以包括互联网协议第6版IPV6地址。In an implementation manner, the address information of the edge gateway may include an Internet Protocol version 6 IPV6 address.
在一种实现方式中,处理器802还可以调用存储器803中存储的程序代码以使数据传输装置80执行以下操作:在上行数据包对应的会话信息不满足边缘转发条件的情况下,将该上行数据包发送至核心网网元。In one implementation, the
进一步地,处理器802还可以调用存储器803中存储的程序代码以使数据传输装置80执行图2-图3a所示实施例中第一网络设备对应的操作,具体可参见方法实施例中的描述,在此不再赘述。Further, the
请参见图9,图9是本申请实施例提供的又一种数据传输装置的结构示意图,该装置可以为第二网络设备或具有第二网络设备功能的装置(例如芯片),数据传输装置90用于执行图4-图5对应的方法实施例中第二网络设备所执行的步骤,数据传输装置90可以包括:Please refer to FIG. 9. FIG. 9 is a schematic structural diagram of another data transmission device provided by an embodiment of the present application. The device may be a second network device or a device (such as a chip) having the function of a second network device. The
处理模块901,用于确定当前的隧道信息与历史的隧道信息不同;该隧道信息为核心网网元与接入网设备之间的隧道信息;The
通信模块902,用于将该隧道信息对应的下行数据包发送至边缘网关。The
在一种实现方式中,处理模块901还可以用于生成下行数据包。In an implementation manner, the
在一种实现方式中,通信模块902还可以用于接收来自核心网网元的下行数据包。In an implementation manner, the
在一种实现方式中,下行数据包可以为下行数据流中的前n个下行数据包;其中,n可以为正整数。In an implementation manner, the downlink data packets may be the first n downlink data packets in the downlink data flow; wherein, n may be a positive integer.
在一种实现方式中,通信模块902还可以用于获取边缘网关的地址信息;处理模块901还可以用于将下行数据包的目的地址信息修改为该边缘网关的地址信息;通信模块902用于将隧道信息对应的下行数据包发送至边缘网关时,具体可以用于根据修改后的下行数据包的目的地址信息,将该下行数据包发送至边缘网关。In one implementation, the
在一种实现方式中,边缘网关的地址信息可以包括互联网协议第6版IPV6地址。In an implementation manner, the address information of the edge gateway may include an Internet Protocol version 6 IPV6 address.
在一种实现方式中,处理模块901还可以用于确定隧道信息对应的会话信息;在该会话信息满足边缘转发条件的情况下,触发执行将隧道信息对应的下行数据包发送至边缘网关的步骤。In one implementation, the
需要说明的是,图9对应的实施例中未提及的内容以及各个模块执行步骤的具体实现方式可参见图4-图5所示实施例以及前述内容,这里不再赘述。It should be noted that for the content not mentioned in the embodiment corresponding to FIG. 9 and the specific implementation manners of the execution steps of each module, refer to the embodiments shown in FIGS. 4-5 and the foregoing content, and details are not repeated here.
在一种实现方式中,图9中的各个模块所实现的相关功能可以结合处理器与通信接口来实现。参见图10,图10是本申请实施例提供的又一种数据传输装置的结构示意图,该装置可以为第二网络设备或具有第二网络设备功能的装置(例如芯片),该数据传输装置100可以包括通信接口1001、处理器1002和存储器1003,通信接口1001、处理器1002和存储器1003可以通过一条或多条通信总线相互连接,也可以通过其它方式相连接。图9所示的处理模块901和通信模块902所实现的相关功能可以通过同一个处理器1002来实现,也可以通过多个不同的处理器1002来实现。In an implementation manner, related functions implemented by each module in FIG. 9 may be implemented in combination with a processor and a communication interface. Referring to FIG. 10, FIG. 10 is a schematic structural diagram of another data transmission device provided by an embodiment of the present application. The device may be a second network device or a device (such as a chip) having the function of a second network device. The
通信接口1001可以用于发送数据和/或信令,以及接收数据和/或信令。应用在本申请实施例中,通信接口1001可以用于将隧道信息对应的下行数据包发送至边缘网关。通信接口1001可以为收发器。The
处理器1002被配置为执行图4-图5所述方法中第二网络设备相应的功能。该处理器1002可以包括一个或多个处理器,例如该处理器1002可以是一个或多个中央处理器(central processing unit,CPU),网络处理器(network processor,NP),硬件芯片或者其任意组合。在处理器1002是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。The
存储器1003用于存储程序代码等。存储器1003可以包括易失性存储器(volatilememory),例如随机存取存储器(random access memory,RAM);存储器1003也可以包括非易失性存储器(non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器1003还可以包括上述种类的存储器的组合。需要说明的是,数据传输装置100包括存储器1003仅用于举例,并不构成对本申请实施例限定,在一种实现方式中,存储器1003可以用其他具备存储功能的存储介质替代。The
处理器1002可以调用存储器1003中存储的程序代码以使数据传输装置100执行以下操作:The
确定当前的隧道信息与历史的隧道信息不同;该隧道信息为核心网网元与接入网设备之间的隧道信息;Determine that the current tunnel information is different from the historical tunnel information; the tunnel information is the tunnel information between the core network element and the access network device;
将该隧道信息对应的下行数据包发送至边缘网关。Send the downlink data packet corresponding to the tunnel information to the edge gateway.
在一种实现方式中,处理器1002还可以调用存储器1003中存储的程序代码以使数据传输装置100执行以下操作:生成下行数据包。In an implementation manner, the
在一种实现方式中,处理器1002还可以调用存储器1003中存储的程序代码以使数据传输装置100执行以下操作:接收来自核心网网元的下行数据包。In an implementation manner, the
在一种实现方式中,下行数据包可以为下行数据流中的前n个下行数据包;其中,n可以为正整数。In an implementation manner, the downlink data packets may be the first n downlink data packets in the downlink data flow; wherein, n may be a positive integer.
在一种实现方式中,将隧道信息对应的下行数据包发送至边缘网关之前,处理器1002还可以调用存储器1003中存储的程序代码以使数据传输装置100执行以下操作:获取边缘网关的地址信息;将下行数据包的目的地址信息修改为该边缘网关的地址信息;处理器1002调用存储器1003中存储的程序代码以使数据传输装置100执行将隧道信息对应的下行数据包发送至边缘网关时,具体可以使数据传输装置100执行以下操作:根据修改后的下行数据包的目的地址信息,将该下行数据包发送至边缘网关。In an implementation manner, before sending the downlink data packet corresponding to the tunnel information to the edge gateway, the
在一种实现方式中,边缘网关的地址信息可以包括互联网协议第6版IPV6地址。In an implementation manner, the address information of the edge gateway may include an Internet Protocol version 6 IPV6 address.
在一种实现方式中,处理器1002还可以调用存储器1003中存储的程序代码以使数据传输装置100执行以下操作:确定隧道信息对应的会话信息;在该会话信息满足边缘转发条件的情况下,触发执行将隧道信息对应的下行数据包发送至边缘网关的步骤。In one implementation, the
进一步地,处理器1002还可以调用存储器1003中存储的程序代码以使数据传输装置100执行图4-图5所示实施例中第二网络设备对应的操作,具体可参见方法实施例中的描述,在此不再赘述。Further, the
本申请实施例还提供一种数据传输系统,该数据传输系统包括前述如图7所示的数据传输装置、前述如图8所示的数据传输装置和边缘网关,或者,该数据传输系统包括前述如图9所示的数据传输装置、前述如图10所示的数据传输装置和边缘网关。The embodiment of the present application also provides a data transmission system, the data transmission system includes the aforementioned data transmission device as shown in Figure 7, the aforementioned data transmission device and the edge gateway as shown in Figure 8, or, the data transmission system includes the aforementioned The data transmission device shown in FIG. 9 , the aforementioned data transmission device and the edge gateway shown in FIG. 10 .
本申请实施例还提供一种计算机可读存储介质,可以用于存储图7所示实施例中数据传输装置所用的计算机软件指令,其包含用于执行上述实施例中为第一网络设备所设计的程序。The embodiment of the present application also provides a computer-readable storage medium, which can be used to store the computer software instructions used by the data transmission device in the embodiment shown in FIG. program of.
本申请实施例还提供一种计算机可读存储介质,可以用于存储图9所示实施例中数据传输装置所用的计算机软件指令,其包含用于执行上述实施例中为第二网络设备所设计的程序。The embodiment of the present application also provides a computer-readable storage medium, which can be used to store the computer software instructions used by the data transmission device in the embodiment shown in FIG. program of.
上述计算机可读存储介质包括但不限于快闪存储器、硬盘、固态硬盘。The above-mentioned computer-readable storage medium includes, but is not limited to, flash memory, hard disk, and solid-state hard disk.
本申请实施例还提供一种计算机程序产品,该计算机产品被计算设备运行时,可以执行上述图2-图3a实施例中为第一网络设备所设计的方法。The embodiment of the present application also provides a computer program product, which can execute the method designed for the first network device in the embodiment of FIG. 2-FIG. 3a above when the computer product is run by the computing device.
本申请实施例还提供一种计算机程序产品,该计算机产品被计算设备运行时,可以执行上述图4-图5实施例中为第二网络设备所设计的方法。The embodiment of the present application also provides a computer program product, which can execute the method designed for the second network device in the above-mentioned embodiments of FIG. 4-FIG. 5 when the computer product is run by a computing device.
在本申请实施例中还提供一种芯片,包括处理器和存储器,该存储器用包括处理器和存储器,该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,该计算机程序用于实现上述方法实施例中的方法。In an embodiment of the present application, a chip is also provided, including a processor and a memory. The memory includes a processor and a memory. The memory is used to store a computer program. The processor is used to call and run the computer program from the memory. The computer program is used to implement the methods in the above method embodiments.
本领域技术人员可以意识到,结合本申请中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件结合的方式来实现。这些功能究竟以硬件还是软件方式执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed in this application can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
上述实施例可以全部或部分地通过软件、硬件、固件或者其任意组合实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。当在计算机上加载和执行该计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。该计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。上述计算机指令可以存储在计算机可读存储介质中,或者通过计算机可读存储介质进行传输。上述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。The above-mentioned embodiments may be fully or partially implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on the computer, all or part of the processes or functions according to the embodiments of the present application will be generated. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The above computer instructions may be stored in or transmitted through a computer-readable storage medium. The above computer instructions may be sent from one website site, computer, server or data center to another website site, via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) computer, server or data center for transmission. 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, a data center, etc. integrated with one or more available media. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (solid state disk, SSD)), etc.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the application, but the scope of protection of the application is not limited thereto. Any person familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. All should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims (18)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911180038.0A CN112953843B (en) | 2019-11-26 | 2019-11-26 | Data transmission method and device |
PCT/CN2020/131579 WO2021104335A1 (en) | 2019-11-26 | 2020-11-25 | Data transmission method and apparatus therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911180038.0A CN112953843B (en) | 2019-11-26 | 2019-11-26 | Data transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112953843A CN112953843A (en) | 2021-06-11 |
CN112953843B true CN112953843B (en) | 2022-12-30 |
Family
ID=76129992
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911180038.0A Active CN112953843B (en) | 2019-11-26 | 2019-11-26 | Data transmission method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112953843B (en) |
WO (1) | WO2021104335A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113918487B (en) * | 2021-10-22 | 2024-11-19 | 北京灵汐科技有限公司 | Data packet processing method and data packet processing device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104618241A (en) * | 2015-01-14 | 2015-05-13 | 杭州华三通信技术有限公司 | Transmission method and device for three-layer message |
WO2017036248A1 (en) * | 2015-08-31 | 2017-03-09 | 大唐移动通信设备有限公司 | Data transmission method, device and system |
CN109155739A (en) * | 2016-05-16 | 2019-01-04 | 华为技术有限公司 | Communication means and device in handoff procedure |
CN109714262A (en) * | 2017-10-25 | 2019-05-03 | 北京华为数字技术有限公司 | Data transmission method and relevant device |
WO2019141169A1 (en) * | 2018-01-16 | 2019-07-25 | 华为技术有限公司 | Method for policy control of multi-anchor protocol data unit session and communication device |
CN110098947A (en) * | 2018-01-31 | 2019-08-06 | 华为技术有限公司 | A kind of dispositions method of application, equipment and system |
CN110167088A (en) * | 2019-05-29 | 2019-08-23 | 中国联合网络通信集团有限公司 | A kind of management method and device of session |
CN110475299A (en) * | 2018-05-10 | 2019-11-19 | 维沃移动通信有限公司 | A kind of method and device of switching cell |
CN110475290A (en) * | 2019-07-23 | 2019-11-19 | 中国联合网络通信集团有限公司 | A kind of conversation switching method and device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107018534A (en) * | 2016-01-28 | 2017-08-04 | 中兴通讯股份有限公司 | A kind of method for realizing mobile edge calculations service, apparatus and system |
US20180026933A1 (en) * | 2016-07-22 | 2018-01-25 | Cisco Technology, Inc. | Service aware label address resolution protocol switched path instantiation |
CN107396335B (en) * | 2017-05-18 | 2020-08-25 | 中国科学技术大学 | Mobile Handover Management Method in Heterogeneous Network |
CN107197029B (en) * | 2017-06-19 | 2021-02-19 | 深圳市盛路物联通讯技术有限公司 | Terminal equipment off-line detection method and system based on edge forwarding node |
EP3457664B1 (en) * | 2017-09-14 | 2019-11-06 | Deutsche Telekom AG | Method and system for finding a next edge cloud for a mobile user |
-
2019
- 2019-11-26 CN CN201911180038.0A patent/CN112953843B/en active Active
-
2020
- 2020-11-25 WO PCT/CN2020/131579 patent/WO2021104335A1/en active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104618241A (en) * | 2015-01-14 | 2015-05-13 | 杭州华三通信技术有限公司 | Transmission method and device for three-layer message |
WO2017036248A1 (en) * | 2015-08-31 | 2017-03-09 | 大唐移动通信设备有限公司 | Data transmission method, device and system |
CN109155739A (en) * | 2016-05-16 | 2019-01-04 | 华为技术有限公司 | Communication means and device in handoff procedure |
CN109714262A (en) * | 2017-10-25 | 2019-05-03 | 北京华为数字技术有限公司 | Data transmission method and relevant device |
WO2019141169A1 (en) * | 2018-01-16 | 2019-07-25 | 华为技术有限公司 | Method for policy control of multi-anchor protocol data unit session and communication device |
CN110098947A (en) * | 2018-01-31 | 2019-08-06 | 华为技术有限公司 | A kind of dispositions method of application, equipment and system |
CN110475299A (en) * | 2018-05-10 | 2019-11-19 | 维沃移动通信有限公司 | A kind of method and device of switching cell |
CN110167088A (en) * | 2019-05-29 | 2019-08-23 | 中国联合网络通信集团有限公司 | A kind of management method and device of session |
CN110475290A (en) * | 2019-07-23 | 2019-11-19 | 中国联合网络通信集团有限公司 | A kind of conversation switching method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2021104335A1 (en) | 2021-06-03 |
CN112953843A (en) | 2021-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11425600B2 (en) | Wireless backhaul data transmission method and apparatus | |
US11968565B2 (en) | User plane information reporting method and apparatus | |
CN112055959B (en) | Method, apparatus and medium for communication | |
WO2020199896A1 (en) | Service flow routing control method, apparatus and system | |
EP4024956A1 (en) | Communication method, apparatus, and system | |
WO2017036248A1 (en) | Data transmission method, device and system | |
CN112806056B (en) | Method and apparatus for supporting mobile edge computing transitions in a wireless communication system | |
EP3499922B1 (en) | Method, device and computer-readable storage medium for applying qos based on user plane data mapping | |
CN106233775B (en) | Insertion and use of application or radio information in network data packet headers | |
WO2020233249A1 (en) | Packet transmission method and related apparatus | |
CN110519824A (en) | A kind of method and apparatus that terminal routing strategy updates | |
CN112566164B (en) | Communication system and service quality control method | |
WO2019096306A1 (en) | Request processing method, and corresponding entity | |
CN109818917A (en) | A communication method and device thereof | |
US20240097933A1 (en) | Policy control function fallback | |
US10855491B2 (en) | Method for implementing GRE tunnel, access point and gateway | |
CN107277882B (en) | Data routing method, device and base station | |
CN106712989B (en) | QoS management method and device | |
US11382022B2 (en) | Method, apparatus, and computer program product for packet forwarding control protocol messages bundling | |
WO2016015441A1 (en) | Service data management method, apparatus and system | |
CN112953843B (en) | Data transmission method and device | |
Shanmugalingam et al. | Programmable mobile core network | |
CN111183670A (en) | Implementing voice services | |
JP7546154B2 (en) | Restoring PDN connectivity upon PGW failure | |
TWI701925B (en) | Method for providing network service through edge computing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |