CN107211010B - A data transmission method and device - Google Patents

A data transmission method and device Download PDF

Info

Publication number
CN107211010B
CN107211010B CN201580074279.0A CN201580074279A CN107211010B CN 107211010 B CN107211010 B CN 107211010B CN 201580074279 A CN201580074279 A CN 201580074279A CN 107211010 B CN107211010 B CN 107211010B
Authority
CN
China
Prior art keywords
address
server
connection
data transmission
proxy
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
Application number
CN201580074279.0A
Other languages
Chinese (zh)
Other versions
CN107211010A (en
Inventor
周军平
夏林瑾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107211010A publication Critical patent/CN107211010A/en
Application granted granted Critical
Publication of CN107211010B publication Critical patent/CN107211010B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides data transmission method and equipment, which relate to the field of communication and can utilize a double-stack address of UE to access a server to improve the data transmission rate between the UE and the server.

Description

一种数据传输方法及设备A data transmission method and device

技术领域technical field

本发明涉及通信领域,尤其涉及一种数据传输方法及设备。The present invention relates to the field of communications, and in particular, to a data transmission method and device.

背景技术Background technique

随着网络互连协议第四版(英文全称:Internet Protocol version 4,英文简称:IPv4)地址资源日益紧张,移动通信网络不断向支持网络互连协议第六版(英文全称:Internet Protocol version 6,英文简称:IPv6)地址过渡。第三代合作伙伴计划(英文全称:3rd Generation Partnership Project,英文简称:3GPP)协议支持给用户设备(英文全称:User Equipment,英文简称:UE)分配双栈地址,即为UE分配一个IPv4地址和/或一个IPv6地址。With the increasing shortage of address resources of the fourth edition of the Internet Interconnection Protocol (full name in English: Internet Protocol version 4, English abbreviation: IPv4), mobile communication networks are constantly moving towards supporting the sixth version of the Internet Protocol version (full name in English: Internet Protocol version 6, English abbreviation: IPv6) address transition. The 3rd Generation Partnership Project (English full name: 3rd Generation Partnership Project, English abbreviation: 3GPP) protocol supports the allocation of dual-stack addresses to user equipment (English full name: User Equipment, English abbreviation: UE), that is, assigning an IPv4 address and / or an IPv6 address.

当UE和服务器均支持双栈地址和多路径传输控制协议(英文全称:Multi-PathTransmission Control Protocol,英文简称:MPTCP)时,在一次业务执行过程中,UE可以获取一个IPv4地址和一个IPv6地址,与服务器的IPv4地址和IPv6地址建立两个子流(英文全称:Subflow),通过两个子流与服务器进行数据传输。When both the UE and the server support dual-stack addresses and the Multi-Path Transmission Control Protocol (English full name: Multi-Path Transmission Control Protocol, English abbreviation: MPTCP), during a service execution process, the UE can obtain an IPv4 address and an IPv6 address, Establish two subflows (full English name: Subflow) with the IPv4 address and IPv6 address of the server, and perform data transmission with the server through the two subflows.

然而,当服务器不支持双栈地址时,UE只能通过服务器所支持的IP地址类型访问服务器,不能通过另一IP地址访问服务器。例如,一个服务器只支持IPv4地址,那么UE只能通过IPv4地址访问服务器,而不能通过IPv6地址访问服务器,导致数据传输速率低。However, when the server does not support dual-stack addresses, the UE can only access the server through the IP address type supported by the server, and cannot access the server through another IP address. For example, if a server only supports an IPv4 address, the UE can only access the server through the IPv4 address, but cannot access the server through the IPv6 address, resulting in a low data transmission rate.

发明内容SUMMARY OF THE INVENTION

本申请提供一种数据传输方法及设备,能够在服务器不支持双栈地址时,利用UE的双栈地址访问服务器,提高UE与服务器之间的数据传输速率。The present application provides a data transmission method and device, which can use the dual-stack address of the UE to access the server when the server does not support dual-stack addresses, thereby improving the data transmission rate between the UE and the server.

为达到上述目的,本申请采用如下技术方案:To achieve the above object, the application adopts the following technical solutions:

第一方面,提供一种数据传输方法,MPTCP代理接收用户设备UE发送的访问请求消息之后,根据访问请求消息所携带的服务器的IP地址与服务器建立第一连接,根据访问请求消息所携带的第一IP地址与UE建立第二连接,并将第二连接与第一连接建立关联,以完成UE与服务器之间的报文转发。其中,第二连接为MPTCP连接,包括UE使用第一IP地址与MPTCP代理建立的第一子流,以及UE使用第二IP地址与MPTCP代理建立的第二子流。UE可以利用双栈地址,通过MPTCP代理访问服务器,从而提高了UE与服务器之间的数据传输速率。In a first aspect, a data transmission method is provided. After receiving the access request message sent by the user equipment UE, the MPTCP proxy establishes a first connection with the server according to the IP address of the server carried in the access request message, and establishes a first connection with the server according to the IP address of the server carried in the access request message. An IP address establishes a second connection with the UE, and associates the second connection with the first connection, so as to complete packet forwarding between the UE and the server. The second connection is an MPTCP connection, including a first subflow established by the UE with the MPTCP proxy using the first IP address, and a second subflow established by the UE using the second IP address with the MPTCP proxy. The UE can use the dual-stack address to access the server through the MPTCP proxy, thereby improving the data transmission rate between the UE and the server.

结合第一方面,在一种可能的实现方式中,MPTCP代理可以根据UE的业务数据量对第一连接和第二连接各自包括的子流的数量进行动态调整,以调节UE与服务器之间的数据传输速率。With reference to the first aspect, in a possible implementation manner, the MPTCP proxy may dynamically adjust the number of substreams included in the first connection and the second connection according to the service data volume of the UE, so as to adjust the communication between the UE and the server. data transfer rate.

第二方面,提供一种数据传输设备,包括计算机可读介质,用于存储本申请方案的程序代码,所述程序代码包括用于执行第一方面所提供的数据传输方法的指令。In a second aspect, a data transmission device is provided, including a computer-readable medium for storing program codes of the solutions of the present application, where the program codes include instructions for executing the data transmission method provided in the first aspect.

第三方面,提供另一种数据传输设备,包括处理器、收发器、存储器及总线,所述处理器、所述收发器以及所述存储器通过所述总线相互连接;用于执行本申请第一方面所提供的数据传输方法的程序代码保存在所述存储器中,并由所述处理器来控制执行。In a third aspect, another data transmission device is provided, including a processor, a transceiver, a memory, and a bus, wherein the processor, the transceiver, and the memory are connected to each other through the bus; for executing the first The program code of the data transmission method provided by the aspect is stored in the memory, and is controlled and executed by the processor.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the drawings in the following description are only for the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为对本发明的实施例所提供的数据传输方法应用场景的说明示意图;1 is a schematic diagram illustrating an application scenario of a data transmission method provided by an embodiment of the present invention;

图2为本发明的实施例所提供的数据传输方法流程示意图;2 is a schematic flowchart of a data transmission method provided by an embodiment of the present invention;

图3为本发明的实施例所提供的一种数据传输装置的结构示意图;3 is a schematic structural diagram of a data transmission apparatus provided by an embodiment of the present invention;

图4为本发明的实施例所提供的另一种数据传输装置的结构示意图。FIG. 4 is a schematic structural diagram of another data transmission apparatus provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明的实施例提供一种数据传输方法,应用于多路径传输控制协议(英文全称:Multi-Path Transmission Control Protocol,英文简称:MPTCP)代理。结合图1所示的应用场景,用户设备(英文全称:User Equipment,英文简称:UE)通过分组数据网络网关(英文全称:packet data network gateway,英文简称:PGW)以及多路径传输控制协议(英文全称:Multi-Path Transmission Control Protocol,英文简称:MPTCP)代理访问服务器。UE接入移动网络后,与PGW建立连接,PGW设备可以包括MPTCP代理或者两者各自独立。当PGW设备包括MPTCP代理时,PGW可以根据UE和服务器的IP地址类型选择开启或者关闭MPTCP代理的功能。具体的,如果UE从PGW获取的IP地址与服务器的IP地址为同类型的IP地址,例如同为IPv4地址或者IPv6地址,则PGW无需开启MPTCP代理的功能。如果UE从PGW获取两个IP地址,包括一个IPv4地址和一个IPv6地址,则PGW开启MPTCP代理的功能。当PGW设备与MPTCP代理各自独立时,MPTCP代理位于PGW与服务器之间。An embodiment of the present invention provides a data transmission method, which is applied to a Multi-Path Transmission Control Protocol (full English name: Multi-Path Transmission Control Protocol, English abbreviation: MPTCP) proxy. Combined with the application scenario shown in FIG. 1, the user equipment (full name in English: User Equipment, abbreviation: UE) passes the packet data network gateway (full name in English: packet data network gateway, English abbreviation: PGW) and multi-path transmission control protocol (English abbreviation: PGW) Full name: Multi-Path Transmission Control Protocol, English abbreviation: MPTCP) proxy access server. After the UE accesses the mobile network, it establishes a connection with the PGW, and the PGW device may include an MPTCP proxy or both are independent. When the PGW device includes the MPTCP proxy, the PGW can choose to enable or disable the function of the MPTCP proxy according to the IP address types of the UE and the server. Specifically, if the IP address obtained by the UE from the PGW is the same type of IP address as the IP address of the server, for example, the same IPv4 address or IPv6 address, the PGW does not need to enable the MPTCP proxy function. If the UE obtains two IP addresses from the PGW, including an IPv4 address and an IPv6 address, the PGW enables the function of MPTCP proxy. When the PGW device and the MPTCP proxy are independent, the MPTCP proxy is located between the PGW and the server.

本发明所提供的数据传输方法涉及两种IP地址的类型,本发明的实施例中仅以IPv4地址和IPv6地址两种类型的IP地址为例进行说明。当然这并不代表本发明仅适用于IPv4地址和IPv6地址的情形。The data transmission method provided by the present invention involves two types of IP addresses. In the embodiment of the present invention, only two types of IP addresses, the IPv4 address and the IPv6 address, are used as examples for description. Of course, this does not mean that the present invention is only applicable to IPv4 addresses and IPv6 addresses.

UE获取的两个不同类型的IP地址,包括一个IPv4地址和一个IPv6地址,并利用这两个IP地址与MPTCP代理建立MPTCP连接。MPTCP代理可以和服务器建立普通的TCP连接,或者建立MPTCP连接。The UE acquires two different types of IP addresses, including an IPv4 address and an IPv6 address, and uses these two IP addresses to establish an MPTCP connection with the MPTCP proxy. The MPTCP proxy can establish a normal TCP connection with the server, or establish an MPTCP connection.

MPTCP代理与服务器之间的MPTCP连接,和,MPTCP代理与UE之间的MPTCP连接的区别在于,MPTCP代理与UE建立的MPTCP连接,包括通过IPv4地址建立的子流(英文全称:Subflow),和通过IPv6地址建立的子流。而MPTCP代理与服务器建立的MPTCP连接,只包括通过IPv4地址或者IPv6地址其中的一种建立的子流。例如服务器只支持IPv4地址,那么MPTCP代理与服务器之间的MPTCP连接只包括通过IPv4地址建立的子流。The difference between the MPTCP connection between the MPTCP proxy and the server, and the MPTCP connection between the MPTCP proxy and the UE is that the MPTCP connection established between the MPTCP proxy and the UE includes the subflow (full English name: Subflow) established through the IPv4 address, and Subflows established by IPv6 addresses. On the other hand, the MPTCP connection established by the MPTCP proxy and the server only includes substreams established through either an IPv4 address or an IPv6 address. For example, if the server only supports IPv4 addresses, the MPTCP connection between the MPTCP proxy and the server only includes substreams established through IPv4 addresses.

本发明的实施例中,分别以第一IP地址和第二IP地址来描述UE获取的两个不同类型的IP地址,第一IP地址和第二IP地址其中之一为IPv4地址,另一为IPv6地址。服务器的IP地址为IPv4地址或者IPv6地址。本发明的实施例以第一IP地址和服务器的IP地址为IPv4地址、第二IP地址为IPv6地址的情况为例进行说明。In the embodiment of the present invention, the first IP address and the second IP address are used to describe two different types of IP addresses obtained by the UE, one of the first IP address and the second IP address is an IPv4 address, and the other is an IPv4 address. IPv6 address. The IP address of the server is an IPv4 address or an IPv6 address. The embodiment of the present invention is described by taking the case where the first IP address and the IP address of the server are IPv4 addresses, and the second IP address is an IPv6 address as an example.

实施例Example

本发明的实施例提供一种数据传输方法,应用于MPTCP代理,参照图2所示,包括以下步骤:An embodiment of the present invention provides a data transmission method, which is applied to an MPTCP proxy. Referring to FIG. 2, the method includes the following steps:

201、接收用户设备UE发送的访问请求消息。201. Receive an access request message sent by a user equipment UE.

UE向PGW发送访问请求消息,请求访问服务器,访问请求消息包括服务器的IP地址以及UE的第一IP地址,第一IP地址与服务器的IP地址为相同类型的IP地址,即均为IPv4地址。The UE sends an access request message to the PGW to request access to the server. The access request message includes the IP address of the server and the first IP address of the UE. The first IP address and the IP address of the server are IP addresses of the same type, that is, both are IPv4 addresses.

PGW将访问请求消息转发至MPTCP代理,或者只将服务器的IP地址以及第一IP地址发送至MPTCP代理。以便于MPTCP代理分别与服务器和UE建立连接。The PGW forwards the access request message to the MPTCP proxy, or only sends the IP address of the server and the first IP address to the MPTCP proxy. In order to facilitate the MPTCP proxy to establish a connection with the server and the UE respectively.

202、根据服务器的IP地址,与服务器建立连接。202. Establish a connection with the server according to the IP address of the server.

MPTCP代理与服务器之间建立连接,包括以下两种情况。A connection is established between the MPTCP proxy and the server, including the following two situations.

第一种情况,服务器不支持MPTCP,此时MPTCP代理根据服务器的IP地址,使用访问IP地址与服务器建立TCP连接。其中,访问IP地址与服务器地址为相同类型的IP地址,即IPv4地址。In the first case, the server does not support MPTCP. In this case, the MPTCP proxy uses the access IP address to establish a TCP connection with the server according to the IP address of the server. The access IP address and the server address are IP addresses of the same type, that is, IPv4 addresses.

访问IP地址可以为UE的第一IP地址,即MPTCP代理接收到UE发送的访问请求消息之后,使用访问请求消息中携带的第一IP地址与服务器建立TCP连接。The access IP address may be the first IP address of the UE, that is, after receiving the access request message sent by the UE, the MPTCP proxy establishes a TCP connection with the server by using the first IP address carried in the access request message.

当然,访问IP地址还可以是其它的IPv4地址,例如访问IP地址是预先为MPTCP代理配置的IP地址。Of course, the access IP address may also be other IPv4 addresses, for example, the access IP address is an IP address preconfigured for the MPTCP proxy.

第二种情况,服务器支持MPTCP,此时MPTCP代理根据服务器的IP地址,与服务器建立MPTCP连接,以提高MPTCP代理与服务器之间的数据吞吐率。In the second case, the server supports MPTCP. At this time, the MPTCP agent establishes an MPTCP connection with the server according to the IP address of the server, so as to improve the data throughput rate between the MPTCP agent and the server.

MPTCP代理与服务器之间的MPTCP连接,可以包括至少一个子流。其中一个子流对应一个IP地址对,一个IP地址对包括一个MPTCP代理端的IP地址和一个服务器端的IP地址,其中MPTCP代理端的IP地址,是指MPTCP代理与服务器建立子流时所使用的IP地址,服务器端的IP地址,是指服务器与MPTCP代理建立子流时所使用的IP地址。由于服务器只支持一种IP地址类型,MPTCP代理端的IP地址与服务器端的IP地址均为相同类型的IP地址。The MPTCP connection between the MPTCP proxy and the server may include at least one substream. One of the substreams corresponds to an IP address pair, and an IP address pair includes an IP address of the MPTCP proxy and an IP address of the server, where the IP address of the MPTCP proxy refers to the IP address used by the MPTCP proxy and the server to establish a substream , the IP address of the server side, which refers to the IP address used by the server to establish the substream with the MPTCP proxy. Since the server supports only one type of IP address, the IP address of the MPTCP proxy and the IP address of the server are of the same type.

可选的,服务器的IP地址的数量为1,即服务器的IP地址只包括访问请求消息中所包括的服务器的IP地址。这种情况下,MPTCP代理使用至少一个访问IP地址与服务器建立子流。其中访问IP地址与服务器的IP地址为相同类型的IP地址。当访问IP地址的数量为1时,访问IP地址可以是第一IP地址。当访问IP地址的数量大于1时,当访问IP地址还可以包括预先为MPTCP代理配置的IP地址。结合表一所示,一个子流对应的IP地址对中,MPTCP代理端的IP地址可以为第一IP地址,或者访问IP地址,服务器端的IP地址均相同,为访问请求消息中所包括的服务器的IP地址,表一中用IP地址A表示。Optionally, the number of IP addresses of the server is 1, that is, the IP address of the server only includes the IP address of the server included in the access request message. In this case, the MPTCP proxy establishes a subflow with the server using at least one access IP address. The access IP address and the IP address of the server are the same type of IP address. When the number of access IP addresses is 1, the access IP address may be the first IP address. When the number of access IP addresses is greater than 1, the access IP address may further include an IP address pre-configured for the MPTCP proxy. As shown in Table 1, in the IP address pair corresponding to a substream, the IP address of the MPTCP proxy can be the first IP address, or the access IP address. IP address, which is represented by IP address A in Table 1.

表一Table I

Figure GPA0000245012690000071
Figure GPA0000245012690000071

可选的,服务器的IP地址的数大于1,MPTCP代理根据访问请求消息中所包括的服务器的IP地址,使用第一IP地址与服务器建立第一个子流之后,服务器通过该子流向MPTCP代理发送其它的IP地址。这种情况下,MPTCP代理与服务器在第一个子流基础上再建立其它子流。结合表二,不同子流对应的IP地址对中,服务器端的IP地址可以不同。Optionally, if the number of IP addresses of the server is greater than 1, the MPTCP proxy uses the first IP address to establish the first substream with the server according to the IP address of the server included in the access request message, and the server sends the MPTCP proxy through the substream. Send another IP address. In this case, the MPTCP proxy and server establish other substreams based on the first substream. Combining with Table 2, among IP address pairs corresponding to different substreams, the IP addresses of the servers may be different.

表二Table II

Figure GPA0000245012690000072
Figure GPA0000245012690000072

进一步可选的,当服务器的IP地址的数大于1,且没有为MPTCP代理预先配置访问IP地址的应用场景中,MPTCP代理端的IP地址可以只包括第一IP地址这一个IP地址,MPTCP代理仍旧可以与服务器之间建立多个子流,不同子流对应的IP地址对中,MPTCP代理端的IP地址均为第一IP地址,服务器端的IP地址各部不同。Further optionally, when the number of IP addresses of the server is greater than 1, and no access IP address is pre-configured for the MPTCP proxy, the IP address of the MPTCP proxy may only include the first IP address, and the MPTCP proxy still remains. Multiple sub-streams can be established with the server. Among the IP address pairs corresponding to different sub-streams, the IP addresses of the MPTCP proxy end are all the first IP addresses, and the IP addresses of the server end are different.

203、根据第一IP地址,与UE建立第二连接。203. Establish a second connection with the UE according to the first IP address.

其中第二连接为MPTCP连接。第二连接包括第一子流和第二子流。结合表三,对MPTCP代理与UE建立第一子流和第二子流的过程说明如下:The second connection is an MPTCP connection. The second connection includes the first subflow and the second subflow. In conjunction with Table 3, the process of establishing the first sub-flow and the second sub-flow between the MPTCP proxy and the UE is described as follows:

表三Table 3

Figure GPA0000245012690000081
Figure GPA0000245012690000081

UE支持双栈地址,UE的IP地址包括第一IP地址和第二IP地址,第一IP地址和第二IP地址为不同类型的IP地址。本实施例中第一IP地址为IPv4地址,第二IP地址为IPv6地址。服务器的IP地址可以为IPv4地址或者IPv6地址,此处以服务器的IP地址为IPv4地址的情况为例进行说明。The UE supports dual stack addresses, and the IP address of the UE includes a first IP address and a second IP address, and the first IP address and the second IP address are different types of IP addresses. In this embodiment, the first IP address is an IPv4 address, and the second IP address is an IPv6 address. The IP address of the server may be an IPv4 address or an IPv6 address. Here, the case where the IP address of the server is an IPv4 address is used as an example for description.

MPTCP代理接收到访问请求消息之后,根据UE的第一IP地址,使用服务器的IP地址与UE建立第一子流。结合表三所示,第一子流对应的UE端IP地址为第一IP地址,MPTCP代理端IP地址为服务器的IP地址。After receiving the access request message, the MPTCP proxy uses the IP address of the server to establish a first subflow with the UE according to the first IP address of the UE. With reference to Table 3, the IP address of the UE corresponding to the first subflow is the first IP address, and the IP address of the MPTCP proxy is the IP address of the server.

第一子流建立之后,MPTCP代理与UE进一步建立第二子流。结合表三所示,第二子流对应的UE端IP地址为第二IP地址,MPTCP代理端IP地址为代理IP地址。其中代理IP地址是预先为MPTCP代理配置的IP地址,代理IP地址与第二IP地址为相同类型的IP地址,即IPv6地址。After the first sub-flow is established, the MPTCP proxy and the UE further establish the second sub-flow. With reference to Table 3, the UE side IP address corresponding to the second subflow is the second IP address, and the MPTCP proxy side IP address is the proxy IP address. The proxy IP address is an IP address pre-configured for the MPTCP proxy, and the proxy IP address and the second IP address are IP addresses of the same type, that is, an IPv6 address.

建立第二子流可以通过两种方式,第一种方式是MPTCP代理通过第一子流向UE发送代理IP地址,UE根据代理IP地址,使用第二IP地址与MPTCP代理建立第二子流。另一种方式是UE通过第一子流向MPTCP代理发送第二IP地址,MPTCP代理根据第二IP地址,使用代理IP地址与UE建立第二子流。对两种方式分别说明如下:There are two ways to establish the second subflow. The first way is that the MPTCP proxy sends the proxy IP address to the UE through the first subflow, and the UE uses the second IP address to establish the second subflow with the MPTCP proxy according to the proxy IP address. Another way is that the UE sends the second IP address to the MPTCP proxy through the first subflow, and the MPTCP proxy uses the proxy IP address to establish the second subflow with the UE according to the second IP address. The two methods are described as follows:

第一种方式,UE在通过第一子流发往MPTCP代理的TCP报文中设置设置MP_CAPABLE标识,向MPTCP代理查询是否能够建立第二MPTCP子流。MPTCP代理向UE返回MP_CAPABLE的ACK消息之后,再通过ADD_ADDR选项将代理IP地址发送至UE。In the first manner, the UE sets the MP_CAPABLE flag in the TCP message sent to the MPTCP proxy through the first subflow, and queries the MPTCP proxy whether the second MPTCP subflow can be established. After the MPTCP proxy returns an MP_CAPABLE ACK message to the UE, it sends the proxy IP address to the UE through the ADD_ADDR option.

UE接收到代理IP地址后,使用第二IP地址向代理IP地址发送设置了MP_JOIN标识位的TCP报文,请求建立第二子流。MPTCP代理向UE返回MP_JOIN的ACK消息,第二流建立完成。After receiving the proxy IP address, the UE sends a TCP message with the MP_JOIN flag set to the proxy IP address by using the second IP address, and requests to establish a second subflow. The MPTCP proxy returns an ACK message of MP_JOIN to the UE, and the establishment of the second stream is completed.

第二种方式,UE接收到MPTCP代理返回的MP_CAPABLE的ACK消息之后,UE通过ADD_ADDR选项将第二IP地址发送至MPTCP代理。In the second manner, after the UE receives the MP_CAPABLE ACK message returned by the MPTCP proxy, the UE sends the second IP address to the MPTCP proxy through the ADD_ADDR option.

MPTCP代理接收到第二IP地址后,使用代理IP地址向第二IP地址发送设置了MP_JOIN标识位的TCP报文,请求建立第二子流。UE向MPTCP代理返回MP_JOIN的ACK消息,第二流建立完成。After receiving the second IP address, the MPTCP proxy uses the proxy IP address to send a TCP packet with the MP_JOIN flag set to the second IP address, requesting the establishment of the second substream. The UE returns an ACK message of MP_JOIN to the MPTCP proxy, and the establishment of the second stream is completed.

204、将第一连接与第二连接建立关联。204. Associate the first connection with the second connection.

MPTCP代理将第一连接与第二连接建立关联,该关联用于UE对服务器的访问。第一连接与第二连接建立关联之后,MPTCP代理将通过第一连接从UE接收到的报文,通过第二连接转发到服务器,将通过第二连接从服务器接收到的报文,通过第一连接转发到UE,即UE可以通过MPTCP代理访问服务器。现有技术中,如果服务器只支持IPv4地址,则UE只能通过IPv4地址访问服务器。如果服务器只支持IPv6地址,则UE只能通过IPv6地址访问服务器,本发明的实施例中,MPTCP代理与UE建立MPTCP连接,UE可以通过第一子流和第二子流同时进行数据传输,从而利用UE的双栈地址访问服务器,提高了UE与服务器之间的数据传输速率。The MPTCP proxy associates the first connection with the second connection, and the association is used for the UE's access to the server. After the first connection is associated with the second connection, the MPTCP proxy forwards the packets received from the UE through the first connection to the server through the second connection, and forwards the packets received from the server through the second connection through the first connection. The connection is forwarded to the UE, i.e. the UE can access the server through the MPTCP proxy. In the prior art, if the server only supports an IPv4 address, the UE can only access the server through the IPv4 address. If the server only supports IPv6 addresses, the UE can only access the server through the IPv6 address. In the embodiment of the present invention, the MPTCP proxy establishes an MPTCP connection with the UE, and the UE can simultaneously transmit data through the first substream and the second substream, thereby Using the dual stack address of the UE to access the server, the data transmission rate between the UE and the server is improved.

205、根据UE的业务数据量删除第一子流和第二子流其中之一。205. Delete one of the first substream and the second substream according to the service data volume of the UE.

步骤205为可选步骤。Step 205 is an optional step.

UE与服务器之间的数据传输速率,同时受到第一连接与第二连接的影响,MPTCP代理可以根据UE的业务数据量对第一连接和第二连接各自包括的子流的数量进行动态调整,以调节UE与服务器之间的数据传输速率。The data transmission rate between the UE and the server is also affected by the first connection and the second connection. The MPTCP proxy can dynamically adjust the number of substreams included in the first connection and the second connection according to the service data volume of the UE. To adjust the data transmission rate between the UE and the server.

具体包括,在业务数据量小于第一预设阈值的情况下删除第一子流和第二子流其中之一,在业务数据量超过第二预设阈值的情况下,重新建立已经被删除的子流。其中第二预设阈值大于或者等于第一预设阈值。需要指出的是,删除两个子流其中的哪个子流与服务器支持的IP地址的类型无关。例如,服务器仅支持IPv4,代理服务器可以删除第一子流(IPv4子流),这样,MPTCP代理与UE之间通过第二子流(IPv6子流)连接,MPTCP代理与服务器之间通过使用IPv4地址对建立的TCP或者MPTCP连接。MPTCP代理通过对UE端的IPv6数据包、服务器端的IPv4数据包进行适配和转发,第一子流删除后UE仍然可以通过MPTCP代理正常访问服务器。Specifically, it includes deleting one of the first sub-stream and the second sub-stream when the amount of service data is less than the first preset threshold, and re-establishing the deleted sub-stream when the amount of service data exceeds the second preset threshold. subflow. The second preset threshold is greater than or equal to the first preset threshold. It should be pointed out that which of the two substreams is deleted has nothing to do with the types of IP addresses supported by the server. For example, if the server only supports IPv4, the proxy server can delete the first sub-flow (IPv4 sub-flow), so that the MPTCP proxy and the UE are connected through the second sub-flow (IPv6 sub-flow), and the MPTCP proxy and the server are connected by using IPv4 The address pair establishes a TCP or MPTCP connection. The MPTCP proxy adapts and forwards the IPv6 data packets on the UE side and the IPv4 data packets on the server side. After the first substream is deleted, the UE can still access the server normally through the MPTCP proxy.

类似地,当MPTCP代理与服务器建立MPTCP连接时,也可以对子流的数量进行动态调整,以使得第一连接与第二连接各自的数据传输速率相适应。Similarly, when the MPTCP proxy establishes the MPTCP connection with the server, the number of sub-streams can also be dynamically adjusted, so that the respective data transmission rates of the first connection and the second connection are adapted.

本发明的实施例所提供的数据传输方法,MPTCP代理通过接收UE发送的访问请求消息,与UE建立第二连接,与服务器建立第一连接,并将第二连接与第一连接建立关联,以完成UE与服务器之间的报文转发。其中,第二连接为MPTCP连接,包括UE使用第一IP地址与MPTCP代理建立的第一子流,以及UE使用第二IP地址与MPTCP代理建立的第二子流。UE可以利用双栈地址,通过MPTCP代理访问服务器,从而提高了UE与服务器之间的数据传输速率。In the data transmission method provided by the embodiment of the present invention, the MPTCP proxy establishes a second connection with the UE by receiving the access request message sent by the UE, establishes the first connection with the server, and associates the second connection with the first connection to Complete the packet forwarding between the UE and the server. The second connection is an MPTCP connection, including a first subflow established by the UE with the MPTCP proxy using the first IP address, and a second subflow established by the UE using the second IP address with the MPTCP proxy. The UE can use the dual-stack address to access the server through the MPTCP proxy, thereby improving the data transmission rate between the UE and the server.

基于图2所对应的实施例,本发明的实施例还提供一种数据传输设备,用于执行上述实施例中MPTCP代理所完成的功能。参照图3所示,数据传输设备30包括:Based on the embodiment corresponding to FIG. 2 , an embodiment of the present invention further provides a data transmission device, which is used to execute the function completed by the MPTCP proxy in the above embodiment. 3, the data transmission device 30 includes:

接收单元301,用于接收UE发送的访问请求消息。其中,UE支持双栈地址,UE的IP地址包括第一IP地址和第二IP地址,第一IP地址和第二IP地址为不同类型的IP地址,访问请求消息包括服务器的IP地址以及第一IP地址,第一IP地址与服务器的IP地址为相同类型的IP地址。The receiving unit 301 is configured to receive the access request message sent by the UE. The UE supports dual stack addresses, the IP address of the UE includes a first IP address and a second IP address, the first IP address and the second IP address are different types of IP addresses, and the access request message includes the IP address of the server and the first IP address. IP address, the first IP address and the IP address of the server are IP addresses of the same type.

第一连接单元302,用于根据接收单元301所接收到的服务器的IP地址,与服务器建立第一连接。The first connection unit 302 is configured to establish a first connection with the server according to the IP address of the server received by the receiving unit 301 .

第二连接单元303,用于根据接收单元301所接收到的第一IP地址,与UE建立第二连接,第二连接为MPTCP连接,第二连接包括第一子流和第二子流。其中,第一子流为UE使用第一IP地址与数据传输设备30使用服务器的IP地址所建立的子流,第一子流用于UE向数据传输设备30发送第二IP地址,或者数据传输设备30向UE发送代理IP地址,代理IP地址与第二IP地址为相同类型的IP地址,第二子流为UE使用第二IP地址与数据传输设备30使用代理IP地址建立的子流。The second connection unit 303 is configured to establish a second connection with the UE according to the first IP address received by the receiving unit 301 , the second connection is an MPTCP connection, and the second connection includes a first substream and a second substream. The first subflow is a subflow established by the UE using the first IP address and the data transmission device 30 using the IP address of the server, and the first subflow is used by the UE to send the second IP address to the data transmission device 30, or the data transmission device 30 sends a proxy IP address to the UE, the proxy IP address and the second IP address are IP addresses of the same type, and the second subflow is a subflow established by the UE using the second IP address and the data transmission device 30 using the proxy IP address.

连接管理单元304,用于将第一连接与第二连接建立关联,关联用于UE对服务器的访问。The connection management unit 304 is configured to associate the first connection with the second connection, and the association is used for the UE to access the server.

可选的,第一连接单元302,具体用于根据接收单元301所接收到的服务器的IP地址,与服务器建立TCP连接。Optionally, the first connection unit 302 is specifically configured to establish a TCP connection with the server according to the IP address of the server received by the receiving unit 301 .

可选的,第一连接单元302,具体用于根据接收单元301所接收到的服务器的IP地址,与服务器建立MPTCP连接。Optionally, the first connection unit 302 is specifically configured to establish an MPTCP connection with the server according to the IP address of the server received by the receiving unit 301 .

可选的,第二连接单元303,具体用于根据接收单元301所接收到的第一IP地址,使用服务器的IP地址与UE建立第一子流。Optionally, the second connection unit 303 is specifically configured to use the IP address of the server to establish the first subflow with the UE according to the first IP address received by the receiving unit 301 .

接收单元301,还用于通过第一子流接收UE发送的第二IP地址。The receiving unit 301 is further configured to receive the second IP address sent by the UE through the first substream.

第二连接单元303,具体还用于根据接收单元301所接收到的第二IP地址,使用代理IP地址与UE建立第二子流。The second connection unit 303 is further configured to establish a second sub-flow with the UE by using the proxy IP address according to the second IP address received by the receiving unit 301 .

可选的,第二连接单元303,具体用于根据接收单元301所接收到的第一IP地址,使用服务器的IP地址与UE建立第一子流。Optionally, the second connection unit 303 is specifically configured to use the IP address of the server to establish the first subflow with the UE according to the first IP address received by the receiving unit 301 .

数据传输设备30还包括发送单元305,用于通过第一子流向UE发送代理IP地址,以便于UE根据代理IP地址,使用第二IP地址与数据传输设备30建立第二子流。The data transmission device 30 further includes a sending unit 305, configured to send the proxy IP address to the UE through the first subflow, so that the UE can establish a second subflow with the data transmission device 30 using the second IP address according to the proxy IP address.

可选的,第二连接单元303,还用于根据UE的业务数据量删除第一子流和第二子流其中之一。Optionally, the second connection unit 303 is further configured to delete one of the first substream and the second substream according to the service data volume of the UE.

本发明的实施例所提供的数据传输设备,通过接收UE发送的访问请求消息,与UE建立第二连接,与服务器建立第一连接,并将第二连接与第一连接建立关联,以完成UE与服务器之间的报文转发。其中,第二连接为MPTCP连接,包括UE使用第一IP地址与MPTCP代理建立的第一子流,以及UE使用第二IP地址与MPTCP代理建立的第二子流。UE可以利用双栈地址,通过数据传输设备访问服务器,从而提高了UE与服务器之间的数据传输速率。The data transmission device provided by the embodiment of the present invention establishes a second connection with the UE by receiving an access request message sent by the UE, establishes a first connection with the server, and associates the second connection with the first connection, so as to complete the UE Packet forwarding with the server. The second connection is an MPTCP connection, including a first subflow established by the UE with the MPTCP proxy using the first IP address, and a second subflow established by the UE using the second IP address with the MPTCP proxy. The UE can use the dual-stack address to access the server through the data transmission device, thereby improving the data transmission rate between the UE and the server.

基于图2所对应的实施例,本发明的实施例还提供一种数据传输设备,用于执行上述实施例中MPTCP代理所完成的功能。参照图4所示,数据传输设备40包括处理器401、收发器402、存储器403及总线404,处理器401、收发器402以及存储器403通过总线404相互连接。Based on the embodiment corresponding to FIG. 2 , an embodiment of the present invention further provides a data transmission device, which is used to execute the function completed by the MPTCP proxy in the above embodiment. Referring to FIG. 4 , the data transmission device 40 includes a processor 401 , a transceiver 402 , a memory 403 and a bus 404 , and the processor 401 , the transceiver 402 and the memory 403 are connected to each other through the bus 404 .

用于执行本发明方案的程序代码保存在存储器403中,并由处理器401来控制执行。The program code for implementing the solution of the present invention is stored in the memory 403, and the execution is controlled by the processor 401.

存储器403可以包括易失性存储器403(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM)。存储器403也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read-only memory,缩写:ROM),快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD)。存储器403还可以包括上述种类的存储器的组合。The memory 403 may include a volatile memory 403 (English: volatile memory), such as random-access memory (English: random-access memory, abbreviation: RAM). The memory 403 may also include non-volatile memory (English: non-volatile memory), such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state drive (English: solid-state drive, abbreviation: SSD). Memory 403 may also include a combination of the types of memory described above.

处理器401可以是中央处理器(全称:Central Processing Unit,简称:CPU),或者CPU和硬件芯片的组合。上述硬件芯片可以是网络处理器(英文:network processor,缩写:NP),专用集成电路(英文:application-specific integrated circuit,缩写:ASIC),可编程逻辑器件(英文:programmable logic device,缩写:PLD)或其任意组合。上述PLD可以是复杂可编程逻辑器件(英文:complex programmable logic device,缩写:CPLD),现场可编程逻辑门阵列(英文:field-programmable gate array,缩写:FPGA),通用阵列逻辑(英文:generic array logic,缩写:GAL)或其任意组合。The processor 401 may be a central processing unit (full name: Central Processing Unit, abbreviated as: CPU), or a combination of a CPU and a hardware chip. The above hardware chip may be a network processor (English: network processor, abbreviation: NP), an application-specific integrated circuit (English: application-specific integrated circuit, abbreviation: ASIC), a programmable logic device (English: programmable logic device, abbreviation: PLD) ) or any combination thereof. The above-mentioned PLD may be a complex programmable logic device (English: complex programmable logic device, abbreviation: CPLD), a field programmable gate array (English: field-programmable gate array, abbreviation: FPGA), a general-purpose array logic (English: generic array logic, abbreviation: GAL) or any combination thereof.

处理器401,用于调用存储器403中的程序代码,在一种可能的实施方式中,当上述程序被处理器401执行时,实现如下功能:The processor 401 is used to call the program code in the memory 403. In a possible implementation manner, when the above program is executed by the processor 401, the following functions are implemented:

收发器402,用于接收UE发送的访问请求消息。其中,UE支持双栈地址,UE的IP地址包括第一IP地址和第二IP地址,第一IP地址和第二IP地址为不同类型的IP地址,访问请求消息包括服务器的IP地址以及第一IP地址,第一IP地址与服务器的IP地址为相同类型的IP地址。The transceiver 402 is configured to receive an access request message sent by the UE. The UE supports dual stack addresses, the IP address of the UE includes a first IP address and a second IP address, the first IP address and the second IP address are different types of IP addresses, and the access request message includes the IP address of the server and the first IP address. IP address, the first IP address and the IP address of the server are IP addresses of the same type.

处理器401,用于根据服务器的IP地址,与服务器建立第一连接。The processor 401 is configured to establish a first connection with the server according to the IP address of the server.

处理器401,还用于根据第一IP地址,与UE建立第二连接,第二连接为MPTCP连接,第二连接包括第一子流和第二子流。其中,第一子流为UE使用第一IP地址与数据传输设备40使用服务器的IP地址所建立的子流,第一子流用于UE向数据传输设备40发送第二IP地址,或者数据传输设备40向UE发送代理IP地址,代理IP地址与第二IP地址为相同类型的IP地址,第二子流为UE使用第二IP地址与数据传输设备40使用代理IP地址建立的子流。The processor 401 is further configured to establish a second connection with the UE according to the first IP address, the second connection is an MPTCP connection, and the second connection includes the first sub-flow and the second sub-flow. The first subflow is a subflow established by the UE using the first IP address and the data transmission device 40 using the IP address of the server, and the first subflow is used by the UE to send the second IP address to the data transmission device 40, or the data transmission device 40 sends a proxy IP address to the UE, the proxy IP address and the second IP address are IP addresses of the same type, and the second subflow is a subflow established by the UE using the second IP address and the data transmission device 40 using the proxy IP address.

处理器401,还用于将第一连接与第二连接建立关联,关联用于UE对服务器的访问。The processor 401 is further configured to establish an association between the first connection and the second connection, and the association is used for the UE to access the server.

可选的,处理器401,具体用于根据服务器的IP地址,与服务器建立TCP连接。Optionally, the processor 401 is specifically configured to establish a TCP connection with the server according to the IP address of the server.

可选的,处理器401,具体用于根据服务器的IP地址,与服务器建立MPTCP连接。Optionally, the processor 401 is specifically configured to establish an MPTCP connection with the server according to the IP address of the server.

可选的,处理器401,具体用于根据第一IP地址,使用服务器的IP地址与UE建立第一子流。Optionally, the processor 401 is specifically configured to use the IP address of the server to establish the first subflow with the UE according to the first IP address.

收发器402,还用于通过第一子流接收UE发送的第二IP地址。The transceiver 402 is further configured to receive the second IP address sent by the UE through the first substream.

处理器401,具体还用于根据第二IP地址,使用代理IP地址与UE建立第二子流。The processor 401 is further configured to use the proxy IP address to establish the second subflow with the UE according to the second IP address.

可选的,处理器401,具体用于根据第一IP地址,使用服务器的IP地址与UE建立第一子流。Optionally, the processor 401 is specifically configured to use the IP address of the server to establish the first subflow with the UE according to the first IP address.

收发器402,还用于通过第一子流向UE发送代理IP地址,以便于UE根据代理IP地址,使用第二IP地址与数据传输设备40建立第二子流。The transceiver 402 is further configured to send the proxy IP address to the UE through the first subflow, so that the UE can establish a second subflow with the data transmission device 40 using the second IP address according to the proxy IP address.

可选的,处理器401,还用于根据UE的业务数据量删除第一子流和第二子流其中之一。Optionally, the processor 401 is further configured to delete one of the first substream and the second substream according to the service data volume of the UE.

本发明的实施例所提供的数据传输设备,通过接收UE发送的访问请求消息,与UE建立第二连接,与服务器建立第一连接,并将第二连接与第一连接建立关联,以完成UE与服务器之间的报文转发。其中,第二连接为MPTCP连接,包括UE使用第一IP地址与MPTCP代理建立的第一子流,以及UE使用第二IP地址与MPTCP代理建立的第二子流。UE可以利用双栈地址,通过数据传输设备访问服务器,从而提高了UE与服务器之间的数据传输速率。The data transmission device provided by the embodiment of the present invention establishes a second connection with the UE by receiving an access request message sent by the UE, establishes a first connection with the server, and associates the second connection with the first connection, so as to complete the UE Packet forwarding with the server. The second connection is an MPTCP connection, including a first subflow established by the UE with the MPTCP proxy using the first IP address, and a second subflow established by the UE using the second IP address with the MPTCP proxy. The UE can use the dual-stack address to access the server through the data transmission device, thereby improving the data transmission rate between the UE and the server.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (18)

1.一种数据传输方法,应用于多路径传输控制协议MPTCP代理,其特征在于,包括:1. a data transmission method, applied to the multi-path transmission control protocol MPTCP proxy, is characterized in that, comprises: 接收用户设备UE发送的访问请求消息;其中,所述UE支持双栈地址,所述UE的网络互联协议IP地址包括第一IP地址和第二IP地址,所述第一IP地址和所述第二IP地址为不同类型的IP地址,所述访问请求消息包括服务器的IP地址以及所述第一IP地址,所述第一IP地址与所述服务器的IP地址为相同类型的IP地址;Receive an access request message sent by the user equipment UE; wherein the UE supports dual-stack addresses, the IP address of the UE's Internet Protocol includes a first IP address and a second IP address, the first IP address and the first IP address Two IP addresses are different types of IP addresses, the access request message includes the IP address of the server and the first IP address, and the first IP address and the IP address of the server are the same type of IP address; 根据所述服务器的IP地址,与所述服务器建立第一连接;establishing a first connection with the server according to the IP address of the server; 根据所述第一IP地址,与所述UE建立第二连接,所述第二连接为MPTCP连接,所述第二连接包括第一子流和第二子流;其中,所述第一子流为所述UE使用所述第一IP地址与所述MPTCP代理使用所述服务器的IP地址所建立的子流,所述第一子流用于所述UE向所述MPTCP代理发送所述第二IP地址,或者所述MPTCP代理向所述UE发送代理IP地址,所述代理IP地址与所述第二IP地址为相同类型的IP地址,所述第二子流为所述UE使用所述第二IP地址与所述MPTCP代理使用所述代理IP地址建立的子流;Establish a second connection with the UE according to the first IP address, where the second connection is an MPTCP connection, and the second connection includes a first sub-flow and a second sub-flow; wherein the first sub-flow a sub-flow established for the UE to use the first IP address and the MPTCP proxy to use the server's IP address, the first sub-flow for the UE to send the second IP to the MPTCP proxy address, or the MPTCP proxy sends a proxy IP address to the UE, the proxy IP address and the second IP address are IP addresses of the same type, and the second subflow is for the UE to use the second IP address. IP address and a substream established by the MPTCP proxy using the proxy IP address; 将所述第一连接与所述第二连接建立关联,所述关联用于所述UE对所述服务器的访问。The first connection is associated with the second connection, and the association is used for the UE's access to the server. 2.根据权利要求1所述的数据传输方法,其特征在于,所述根据所述服务器的IP地址,与所述服务器建立第一连接,包括:2. The data transmission method according to claim 1, wherein the establishing a first connection with the server according to the IP address of the server comprises: 根据所述服务器的IP地址,与所述服务器建立传输控制协议TCP连接。According to the IP address of the server, a transmission control protocol TCP connection is established with the server. 3.根据权利要求1所述的数据传输方法,其特征在于,所述根据所述服务器的IP地址,与所述服务器建立第一连接,包括:3. The data transmission method according to claim 1, wherein the establishing a first connection with the server according to the IP address of the server comprises: 根据所述服务器的IP地址,与所述服务器建立MPTCP连接。According to the IP address of the server, establish an MPTCP connection with the server. 4.根据权利要求1或3所述的数据传输方法,其特征在于,所述根据所述第一IP地址,与所述UE建立第二连接,包括:4. The data transmission method according to claim 1 or 3, wherein the establishing a second connection with the UE according to the first IP address comprises: 根据所述第一IP地址,使用所述服务器的IP地址与所述UE建立所述第一子流;According to the first IP address, use the IP address of the server to establish the first subflow with the UE; 通过所述第一子流接收所述UE发送的所述第二IP地址,根据所述第二IP地址,使用所述代理IP地址与所述UE建立所述第二子流。The second IP address sent by the UE is received through the first sub-flow, and the second sub-flow is established with the UE by using the proxy IP address according to the second IP address. 5.根据权利要求1或3所述的数据传输方法,其特征在于,所述根据所述第一IP地址,与所述UE建立第二连接,包括:5. The data transmission method according to claim 1 or 3, wherein the establishing a second connection with the UE according to the first IP address comprises: 根据所述第一IP地址,使用所述服务器的IP地址与所述UE建立所述第一子流;According to the first IP address, use the IP address of the server to establish the first subflow with the UE; 通过所述第一子流向所述UE发送所述代理IP地址,以便于所述UE根据所述代理IP地址,使用所述第二IP地址与所述MPTCP代理建立所述第二子流。The proxy IP address is sent to the UE through the first subflow, so that the UE uses the second IP address to establish the second subflow with the MPTCP proxy according to the proxy IP address. 6.根据权利要求1-3任一项所述的数据传输方法,其特征在于,所述方法还包括:6. The data transmission method according to any one of claims 1-3, wherein the method further comprises: 根据所述UE的业务数据量删除所述第一子流和所述第二子流其中之一。One of the first sub-stream and the second sub-stream is deleted according to the traffic data volume of the UE. 7.一种数据传输设备,其特征在于,包括:7. A data transmission device, characterized in that, comprising: 接收单元,用于接收用户设备UE发送的访问请求消息;其中,所述UE支持双栈地址,所述UE的网络互联协议IP地址包括第一IP地址和第二IP地址,所述第一IP地址和所述第二IP地址为不同类型的IP地址,所述访问请求消息包括服务器的IP地址以及所述第一IP地址,所述第一IP地址与所述服务器的IP地址为相同类型的IP地址;a receiving unit, configured to receive an access request message sent by a user equipment UE; wherein the UE supports dual-stack addresses, the IP address of the UE's Internet Protocol includes a first IP address and a second IP address, and the first IP address The IP address and the second IP address are different types of IP addresses, the access request message includes the IP address of the server and the first IP address, and the first IP address and the IP address of the server are of the same type IP address; 第一连接单元,用于根据所述接收单元所接收到的所述服务器的IP地址,与所述服务器建立第一连接;a first connection unit, configured to establish a first connection with the server according to the IP address of the server received by the receiving unit; 第二连接单元,用于根据所述接收单元所接收到的所述第一IP地址,与所述UE建立第二连接,所述第二连接为MPTCP连接,所述第二连接包括第一子流和第二子流;其中,所述第一子流为所述UE使用所述第一IP地址与所述数据传输设备使用所述服务器的IP地址所建立的子流,所述第一子流用于所述UE向所述数据传输设备发送所述第二IP地址,或者所述数据传输设备向所述UE发送代理IP地址,所述代理IP地址与所述第二IP地址为相同类型的IP地址,所述第二子流为所述UE使用所述第二IP地址与所述数据传输设备使用所述代理IP地址建立的子流;a second connection unit, configured to establish a second connection with the UE according to the first IP address received by the receiving unit, where the second connection is an MPTCP connection, and the second connection includes a first sub-connection flow and a second sub-flow; wherein, the first sub-flow is a sub-flow established by the UE using the first IP address and the data transmission device using the IP address of the server, and the first sub-flow is The flow is for the UE to send the second IP address to the data transmission device, or the data transmission device to send a proxy IP address to the UE, where the proxy IP address and the second IP address are of the same type. IP address, the second subflow is a subflow established by the UE using the second IP address and the data transmission device using the proxy IP address; 连接管理单元,用于将所述第一连接与所述第二连接建立关联,所述关联用于所述UE对所述服务器的访问。A connection management unit, configured to associate the first connection with the second connection, where the association is used for the UE to access the server. 8.根据权利要求7所述的数据传输设备,其特征在于,8. The data transmission device according to claim 7, characterized in that, 所述第一连接单元,具体用于根据所述接收单元所接收到的所述服务器的IP地址,与所述服务器建立传输控制协议TCP连接。The first connection unit is specifically configured to establish a transmission control protocol TCP connection with the server according to the IP address of the server received by the receiving unit. 9.根据权利要求7所述的数据传输设备,其特征在于,9. The data transmission device according to claim 7, characterized in that, 所述第一连接单元,具体用于根据所述接收单元所接收到的所述服务器的IP地址,与所述服务器建立MPTCP连接。The first connection unit is specifically configured to establish an MPTCP connection with the server according to the IP address of the server received by the receiving unit. 10.根据权利要求7或9所述的数据传输设备,其特征在于,10. The data transmission device according to claim 7 or 9, characterized in that, 所述第二连接单元,具体用于根据所述接收单元所接收到的所述第一IP地址,使用所述服务器的IP地址与所述UE建立所述第一子流;The second connection unit is specifically configured to use the IP address of the server to establish the first subflow with the UE according to the first IP address received by the receiving unit; 所述接收单元,还用于通过所述第一子流接收所述UE发送的所述第二IP地址;the receiving unit, further configured to receive the second IP address sent by the UE through the first substream; 所述第二连接单元,具体还用于根据所述接收单元所接收到的所述第二IP地址,使用所述代理IP地址与所述UE建立所述第二子流。The second connection unit is further configured to use the proxy IP address to establish the second subflow with the UE according to the second IP address received by the receiving unit. 11.根据权利要求7或9所述的数据传输设备,其特征在于,11. The data transmission device according to claim 7 or 9, characterized in that, 所述第二连接单元,具体用于根据所述接收单元所接收到的所述第一IP地址,使用所述服务器的IP地址与所述UE建立所述第一子流;The second connection unit is specifically configured to use the IP address of the server to establish the first subflow with the UE according to the first IP address received by the receiving unit; 所述数据传输设备还包括发送单元,用于通过所述第一子流向所述UE发送所述代理IP地址,以便于所述UE根据所述代理IP地址,使用所述第二IP地址与所述数据传输设备建立所述第二子流。The data transmission device further includes a sending unit, configured to send the proxy IP address to the UE through the first subflow, so that the UE can use the second IP address to communicate with the UE according to the proxy IP address. The data transmission device establishes the second substream. 12.根据权利要求7-9任一项所述的数据传输设备,其特征在于,12. The data transmission device according to any one of claims 7-9, wherein, 所述第二连接单元,还用于根据所述UE的业务数据量删除所述第一子流和所述第二子流其中之一。The second connection unit is further configured to delete one of the first substream and the second substream according to the service data volume of the UE. 13.一种数据传输设备,其特征在于,包括处理器、收发器、存储器及总线,所述处理器、所述收发器以及所述存储器通过所述总线相互连接;13. A data transmission device, comprising a processor, a transceiver, a memory, and a bus, wherein the processor, the transceiver, and the memory are connected to each other through the bus; 所述收发器,用于接收用户设备UE发送的访问请求消息;其中,所述UE支持双栈地址,所述UE的网络互联协议IP地址包括第一IP地址和第二IP地址,所述第一IP地址和所述第二IP地址为不同类型的IP地址,所述访问请求消息包括服务器的IP地址以及所述第一IP地址,所述第一IP地址与所述服务器的IP地址为相同类型的IP地址;The transceiver is configured to receive an access request message sent by a user equipment UE; wherein, the UE supports dual-stack addresses, the IP address of the UE's Internet Protocol includes a first IP address and a second IP address, and the first IP address is An IP address and the second IP address are different types of IP addresses, the access request message includes the IP address of the server and the first IP address, and the first IP address and the IP address of the server are the same Type of IP address; 所述处理器,用于根据所述服务器的IP地址,与所述服务器建立第一连接;the processor, configured to establish a first connection with the server according to the IP address of the server; 所述处理器,还用于根据所述第一IP地址,与所述UE建立第二连接,所述第二连接为MPTCP连接,所述第二连接包括第一子流和第二子流;其中,所述第一子流为所述UE使用所述第一IP地址与所述数据传输设备使用所述服务器的IP地址所建立的子流,所述第一子流用于所述UE向所述数据传输设备发送所述第二IP地址,或者所述数据传输设备向所述UE发送代理IP地址,所述代理IP地址与所述第二IP地址为相同类型的IP地址,所述第二子流为所述UE使用所述第二IP地址与所述数据传输设备使用所述代理IP地址建立的子流;The processor is further configured to establish a second connection with the UE according to the first IP address, where the second connection is an MPTCP connection, and the second connection includes a first subflow and a second subflow; The first sub-flow is a sub-flow established by the UE using the first IP address and the data transmission device using the IP address of the server, and the first sub-flow is used by the UE to send the The data transmission device sends the second IP address, or the data transmission device sends a proxy IP address to the UE, where the proxy IP address and the second IP address are IP addresses of the same type, and the second IP address is of the same type. The sub-flow is a sub-flow established by the UE using the second IP address and the data transmission device using the proxy IP address; 所述处理器,还用于将所述第一连接与所述第二连接建立关联,所述关联用于所述UE对所述服务器的访问。The processor is further configured to establish an association between the first connection and the second connection, where the association is used for the UE to access the server. 14.根据权利要求13所述的数据传输设备,14. The data transmission device of claim 13, 所述处理器,具体用于根据所述服务器的IP地址,与所述服务器建立传输控制协议TCP连接。The processor is specifically configured to establish a transmission control protocol TCP connection with the server according to the IP address of the server. 15.根据权利要求13所述的数据传输设备,其特征在于,15. The data transmission device according to claim 13, wherein, 所述处理器,具体用于根据所述服务器的IP地址,与所述服务器建立MPTCP连接。The processor is specifically configured to establish an MPTCP connection with the server according to the IP address of the server. 16.根据权利要求13或15所述的数据传输设备,其特征在于,16. The data transmission device according to claim 13 or 15, characterized in that, 所述处理器,具体用于根据所述第一IP地址,使用所述服务器的IP地址与所述UE建立所述第一子流;The processor is specifically configured to use the IP address of the server to establish the first subflow with the UE according to the first IP address; 所述收发器,还用于通过所述第一子流接收所述UE发送的所述第二IP地址;the transceiver, further configured to receive the second IP address sent by the UE through the first substream; 所述处理器,具体还用于根据所述第二IP地址,使用所述代理IP地址与所述UE建立所述第二子流。The processor is further configured to use the proxy IP address to establish the second subflow with the UE according to the second IP address. 17.根据权利要求13或15所述的数据传输设备,其特征在于,17. The data transmission device according to claim 13 or 15, characterized in that, 所述处理器,具体用于根据所述第一IP地址,使用所述服务器的IP地址与所述UE建立所述第一子流;The processor is specifically configured to use the IP address of the server to establish the first subflow with the UE according to the first IP address; 所述收发器,还用于通过所述第一子流向所述UE发送所述代理IP地址,以便于所述UE根据所述代理IP地址,使用所述第二IP地址与所述数据传输设备建立所述第二子流。The transceiver is further configured to send the proxy IP address to the UE through the first subflow, so that the UE uses the second IP address to communicate with the data transmission device according to the proxy IP address. The second subflow is established. 18.根据权利要求13-15任一项所述的数据传输设备,其特征在于,18. The data transmission device according to any one of claims 13-15, characterized in that, 所述处理器,还用于根据所述UE的业务数据量删除所述第一子流和所述第二子流其中之一。The processor is further configured to delete one of the first substream and the second substream according to the amount of service data of the UE.
CN201580074279.0A 2015-12-16 2015-12-16 A data transmission method and device Active CN107211010B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/097596 WO2017101043A1 (en) 2015-12-16 2015-12-16 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN107211010A CN107211010A (en) 2017-09-26
CN107211010B true CN107211010B (en) 2020-01-31

Family

ID=59055418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580074279.0A Active CN107211010B (en) 2015-12-16 2015-12-16 A data transmission method and device

Country Status (2)

Country Link
CN (1) CN107211010B (en)
WO (1) WO2017101043A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104518939A (en) * 2013-09-30 2015-04-15 汤姆逊许可公司 Method for connecting hosts within a communication network, and corresponding relay module
CN104769910A (en) * 2012-11-02 2015-07-08 瑞典爱立信有限公司 Assigning addresses in a communications network
WO2015185081A1 (en) * 2014-06-02 2015-12-10 Nokia Solutions And Networks Oy Multipath tcp with lte connections

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100471161C (en) * 2006-11-24 2009-03-18 清华大学 Method for Optimizing IPv4/IPv6 Application Interoperability Using Multipoint Access
CN101651718B (en) * 2009-08-27 2013-01-16 中国电信股份有限公司 Method and system for changing IP flow protocol stack
CN102739810B (en) * 2011-04-07 2016-06-22 中国电信股份有限公司 The method and apparatus of IPv4CP/SP and IPv6 network interworking
US8780693B2 (en) * 2011-11-08 2014-07-15 Massachusetts Institute Of Technology Coding approach for a robust and flexible communication protocol
US8824480B2 (en) * 2012-01-31 2014-09-02 Alcatel Lucent Method and apparatus for end-host based mobility, multi-homing and multipath protocols

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104769910A (en) * 2012-11-02 2015-07-08 瑞典爱立信有限公司 Assigning addresses in a communications network
CN104518939A (en) * 2013-09-30 2015-04-15 汤姆逊许可公司 Method for connecting hosts within a communication network, and corresponding relay module
WO2015185081A1 (en) * 2014-06-02 2015-12-10 Nokia Solutions And Networks Oy Multipath tcp with lte connections

Also Published As

Publication number Publication date
WO2017101043A1 (en) 2017-06-22
CN107211010A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
EP3459217B1 (en) Transporting udp packets over an mptcp connection
US10694005B2 (en) Hardware-based packet forwarding for the transport layer
US9088612B2 (en) Systems and methods for providing link-performance information in socket-based communication devices
US10574763B2 (en) Session-identifer based TWAMP data session provisioning in computer networks
US11277313B2 (en) Data transmission method and corresponding device
US10587498B2 (en) Methods and arrangements for multipath traffic aggregation
US10075987B2 (en) Multipath TCP subflow establishing on single IP connection
US11621907B2 (en) Enhanced two-way active measurement protocol
KR101301117B1 (en) Apparatus and method for dynamic host configuration protocol version 6 extensions for configuring hosts with multiple interfaces
US20150237525A1 (en) Traffic Shaping and Steering for a Multipath Transmission Control Protocol Connection
TW201220790A (en) MPTCP and mobile IP interworking
CN111107672B (en) Method, device and system for establishing sub-streams of multi-path connection
WO2016197689A1 (en) Method, apparatus and system for processing packet
WO2015192705A1 (en) Access device and method implemented by access device for allowing user equipment to access network
US11870683B2 (en) 3GPP network function set adaptation for pre-5G network elements
WO2015171023A1 (en) Establishing a multipath tcp (mptcp) connection
CN107211010B (en) A data transmission method and device
CN104980456B (en) Method, intermediate node, the terminal and server of transmission services
CN110381007A (en) TCP accelerating method and device
WO2015013883A1 (en) Data transmission method and device
WO2016197832A1 (en) Packet processing method, device and system
WO2022256140A1 (en) 3gpp network function set adaptation for pre-5g network elements
CN117459964A (en) Combined PFCP session model for network access through residential gateway
JP5918076B2 (en) Multi-home communication method and system
CN117459965A (en) Individual PFCP session model for network access through residential gateway

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