WO2017101043A1 - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
WO2017101043A1
WO2017101043A1 PCT/CN2015/097596 CN2015097596W WO2017101043A1 WO 2017101043 A1 WO2017101043 A1 WO 2017101043A1 CN 2015097596 W CN2015097596 W CN 2015097596W WO 2017101043 A1 WO2017101043 A1 WO 2017101043A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
server
substream
connection
data transmission
Prior art date
Application number
PCT/CN2015/097596
Other languages
French (fr)
Chinese (zh)
Inventor
周军平
夏林瑾
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/097596 priority Critical patent/WO2017101043A1/en
Priority to CN201580074279.0A priority patent/CN107211010B/en
Publication of WO2017101043A1 publication Critical patent/WO2017101043A1/en

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

Definitions

  • the present invention relates to the field of communications, and in particular, to a data transmission method and device.
  • the UE can obtain an IPv4 address and an IPv6 address during a service execution.
  • Two sub-flows (English name: Subflow) are established with the server's IPv4 address and IPv6 address, and data is transmitted to the server through two sub-streams.
  • 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 IPv4 addresses, 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.
  • 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 the dual stack address, thereby improving the data transmission rate between the UE and the server.
  • the first aspect provides a data transmission method.
  • the MPTCP proxy 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 carries the first connection according to the access request message.
  • One IP The address establishes a second connection with the UE, and associates the second connection with the first connection to complete packet forwarding between the UE and the server.
  • the second connection is an MPTCP connection, including a first sub-flow established by the UE using the first IP address and the MPTCP proxy, and a second sub-flow established by the UE using the second IP address and the MPTCP proxy.
  • the UE can access the server through the MPTCP proxy by using the dual stack address, thereby improving the data transmission rate between the UE and the server.
  • the MPTCP proxy may dynamically adjust the number of substreams respectively included in the first connection and the second connection according to the service data amount of the UE, to adjust between the UE and the server. Data transfer rate.
  • a data transmission device comprising a computer readable medium for storing program code of the solution of the present application, the program code comprising instructions for performing the data transmission method provided by the first aspect.
  • another data transmission device 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;
  • the program code of the data transmission method provided by the aspect is stored in the memory and controlled by the processor for execution.
  • FIG. 1 is a schematic diagram of an application scenario of a data transmission method provided by an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention.
  • the embodiment of the present invention provides a data transmission method, which is applied to a multi-path transmission control protocol (English name: Multi-Path Transmission Control Protocol, English abbreviation: MPTCP) proxy.
  • a multi-path transmission control protocol English name: Multi-Path Transmission Control Protocol, English abbreviation: MPTCP
  • the user equipment English name: User Equipment, English abbreviation: UE
  • the packet data network gateway English name: packet data network gateway, English abbreviation: PGW
  • MPTCP Multi-Path Transmission Control Protocol
  • MPTCP Multi-Path Transmission Control Protocol
  • the PGW may select to enable or disable the MPTCP proxy function according to the IP address type of the UE and the server. Specifically, if the IP address obtained by the UE from the PGW and the IP address of the server are the same type of IP address, for example, the same as the IPv4 address or the IPv6 address, the PGW does not need to enable the function of the MPTCP proxy. If the UE acquires two IP addresses from the PGW, including an IPv4 address and an IPv6 address, the PGW starts the function of the MPTCP proxy. When the PGW device and the MPTCP proxy are independent of each other, the MPTCP proxy is located between the PGW and the server.
  • the data transmission method provided by the present invention involves two types of IP addresses.
  • IP addresses In the embodiment of the present invention, only two types of IP addresses, an IPv4 address and an IPv6 address, are used as an example for description. Of course, this does not mean that the present invention is only applicable to the case of an IPv4 address and an IPv6 address.
  • IP addresses Two different types of IP addresses obtained by the UE, including an IPv4 address and an IPv6 address, and use 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.
  • 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 proxy establishes an MPTCP connection with the UE, including the substream established by the IPv4 address (English name: Subflow), and A subflow established by an IPv6 address.
  • the MPTCP connection established by the MPTCP proxy and the server includes only the substream established by one of the IPv4 address or the IPv6 address. For example, if the server only supports IPv4 addresses, then the MPTCP connection between the MPTCP proxy and the server includes only substreams established through IPv4 addresses.
  • two different types of IP addresses acquired by the UE are respectively described by the first IP address and the second IP address, and one of the first IP address and the second IP address is an IPv4 address, and the other is IPv6 address.
  • the IP address of the server is an IPv4 address or an IPv6 address.
  • a case where the first IP address and the IP address of the server are the IPv4 address and the second IP address is the IPv6 address will be described as an example.
  • 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:
  • the UE sends an access request message to the PGW, requesting the access 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 the same type of IP address, that is, both are IPv4 addresses.
  • the PGW forwards the access request message to the MPTCP proxy, or only sends the server's IP address 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.
  • the MPTCP proxy establishes a connection with the server, including the following two cases.
  • the server does not support MPTCP.
  • the MPTCP proxy establishes a TCP connection with the server using the access IP address according to the IP address of the server.
  • the access IP address and the server address are the same type of IP address, that is, an IPv4 address.
  • 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.
  • the access IP address can also be other IPv4 addresses, for example, the access IP address is an IP address configured in advance for the MPTCP proxy.
  • the server supports MPTCP.
  • the MPTCP proxy establishes an MPTCP connection with the server according to the IP address of the server to improve the data throughput rate between the MPTCP proxy and the server.
  • 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 a server-side IP address, wherein the IP address of the MPTCP proxy refers to the IP address used by the MPTCP proxy to establish a substream with the server.
  • the IP address of the server is the IP address used by the server to establish a subflow with the MPTCP proxy. Since the server only supports one type of IP address, the IP address of the MPTCP proxy and the IP address of the server are the same type of IP address.
  • the number of IP addresses of the server is 1, that is, the IP address of the server includes only the IP address of the server included in the access request message.
  • 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.
  • the access IP address may be the first IP address.
  • the access IP address may also include an IP address previously configured for the MPTCP proxy.
  • the IP address of the MPTCP proxy can be the first IP address, or the IP address is accessed, and the IP address of the server is the same, which is the server included in the access request message.
  • the IP address is indicated by IP address A in Table 1.
  • the MPTCP proxy establishes the first substream with the server by using the first IP address according to the IP address of the server included in the access request message, and the server passes the substream to the MPTCP proxy. Send another IP address.
  • the MPTCP proxy and the server establish other substreams on the basis of the first subflow.
  • the IP addresses of different substreams may be different, and the IP addresses of the servers may be different.
  • the IP address of the MPTCP proxy may include only the IP address of the first IP address, and the MPTCP proxy remains.
  • Multiple sub-flows can be established with the server. The IP address of the different sub-flows is the IP address of the MPTCP proxy, and the IP address of the server is different.
  • the second connection is an MPTCP connection.
  • the second connection includes a first substream and a second substream.
  • Table 3 the process of establishing the first substream and the second substream with the MPTCP proxy and the UE is as follows:
  • the UE supports a dual stack address, 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.
  • the first IP address is an IPv4 address
  • the second IP address is an IPv6 address.
  • the IP address of the server can be an IPv4 address or an IPv6 address. The case where the IP address of the server is an IPv4 address is used as an example.
  • the MPTCP proxy After receiving the access request message, the MPTCP proxy establishes the first substream with the UE using the IP address of the server according to the first IP address of the UE. As shown in Table 3, the IP address of the UE corresponding to the first substream is the first IP address, and the IP address of the MPTCP proxy is the IP address of the server.
  • the MPTCP proxy After the first substream is established, the MPTCP proxy further establishes a second substream with the UE. As shown in Table 3, the IP address of the UE corresponding to the second substream is the second IP address, and the IP address of the MPTCP proxy is the proxy IP address.
  • the proxy IP address is an IP address configured in advance for the MPTCP proxy, and the proxy IP address and the second IP address are the same type of IP address, that is, an IPv6 address.
  • the second substream can be established in two ways.
  • the first method is that the MPTCP proxy sends a proxy IP address to the UE through the first substream, and the UE establishes a second substream with the MPTCP proxy according to the proxy IP address.
  • Another way is that the UE sends a second IP address to the MPTCP proxy through the first substream, and the MPTCP proxy is based on the second IP address.
  • the address establishes a second substream with the UE using the proxy IP address.
  • the UE sets the MP_CAPABLE identifier in the TCP packet sent to the MPTCP proxy through the first substream, and queries the MPTCP proxy to determine whether the second MPTCP substream can be established. After the MPTCP proxy returns the MP_CAPABLE ACK message to the UE, the proxy IP address is sent to the UE through the ADD_ADDR option.
  • the UE After receiving the proxy IP address, the UE sends a TCP packet with the MP_JOIN flag set to the proxy IP address using the second IP address, requesting to establish a second substream.
  • the MPTCP proxy returns an MP_JOIN ACK message to the UE, and the second stream is established.
  • the UE sends the second IP address to the MPTCP proxy through the ADD_ADDR option.
  • the MPTCP proxy After receiving the second IP address, the MPTCP proxy sends a TCP packet with the MP_JOIN flag set to the second IP address using the proxy IP address, requesting to establish a second substream.
  • the UE returns an MP_JOIN ACK message to the MPTCP proxy, and the second stream is established.
  • the MPTCP proxy associates the first connection with the second connection for the UE's access to the server. After the first connection is associated with the second connection, the MPTCP proxy forwards the packet received from the UE through the first connection, forwards the packet to the server through the second connection, and passes the packet received from the server through the second connection through the first The connection is forwarded to the UE, ie the UE can access the server through the MPTCP proxy.
  • the server only supports IPv4 addresses
  • the UE can only access the server through the IPv4 address.
  • the server only supports the IPv6 address
  • the UE can only access the server through the IPv6 address.
  • the MPTCP proxy establishes an MPTCP connection with the UE, and the UE can simultaneously perform data transmission by using the first substream and the second substream.
  • the server's dual stack address is used to access the server, which improves the data transmission rate between the UE and the server.
  • Step 205 is an optional step.
  • the data transmission rate between the UE and the server is affected by the first connection and the second connection, and the MPTCP proxy can dynamically adjust the number of substreams included in the first connection and the second connection according to the service data amount of the UE. To adjust the data transmission rate between the UE and the server.
  • the service data volume is less than the first preset threshold, and the re-establishment has been deleted if the service data quantity exceeds the second preset threshold.
  • the second preset threshold is greater than or equal to the first preset threshold.
  • the number of substreams can also be dynamically adjusted so that the first connection and the second connection have respective data transmission rates.
  • the MPTCP proxy 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, The packet forwarding between the UE and the server is completed.
  • the second connection is an MPTCP connection, including a first sub-flow established by the UE using the first IP address and the MPTCP proxy, and a second sub-flow established by the UE using the second IP address and the MPTCP proxy.
  • the UE can access the server through the MPTCP proxy by using the dual stack address, thereby improving the data transmission rate between the UE and the server.
  • an embodiment of the present invention further provides a data transmission device for performing the functions performed by the MPTCP proxy in the foregoing embodiment.
  • the data transmission device 30 includes:
  • the receiving unit 301 is configured to receive an access request message sent by the UE.
  • the UE supports the dual stack address, and the IP address of the UE includes the first IP address and the 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 The IP address, the first IP address and the IP address of the server are the same type of IP address.
  • 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.
  • 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, where the second connection is an MPTCP connection, and the second connection includes the first substream and the second substream.
  • the first substream is a substream 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 substream 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 the same type of IP address, and the second substream is a substream established by the UE using the second IP address and the data transmission device 30 using the proxy IP address.
  • the connection management unit 304 is configured to associate the first connection with the second connection, and associate the access for the UE to the server.
  • 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.
  • 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.
  • the second connection unit 303 is configured to establish, by using the IP address of the server, the first sub-flow with the UE according to the first IP address received by the receiving unit 301.
  • the receiving unit 301 is further configured to receive, by using the first substream, a second IP address sent by the UE.
  • the second connection unit 303 is further configured to establish a second substream with the UE by using the proxy IP address according to the second IP address received by the receiving unit 301.
  • the second connection unit 303 is configured to establish, by using the IP address of the server, the first sub-flow with the UE according to the first IP address received by the receiving unit 301.
  • the data transmission device 30 further includes a transmitting unit 305 for transmitting a proxy IP address to the UE through the first substream, so that the UE establishes a second substream with the data transmission device 30 using the second IP address according to the proxy IP address.
  • the second connecting unit 303 is further configured to delete one of the first substream and the second substream according to the service data amount of the UE.
  • the data transmission device 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 to complete the UE. Message forwarding between the server and the server.
  • the second connection is an MPTCP connection, including a first sub-flow established by the UE using the first IP address and the MPTCP proxy, and a second sub-flow established by the UE using the second IP address and the MPTCP proxy.
  • the UE can access the server through the data transmission device by using the dual stack address, thereby improving the data transmission rate between the UE and the server.
  • an embodiment of the present invention further provides a data transmission device for performing the functions performed by the MPTCP proxy in the foregoing embodiment.
  • the data transmission device 40 includes a processor 401, a transceiver 402, a memory 403, and a bus 404.
  • the processor 401, the transceiver 402, and the memory 403 are connected to one another via a bus 404.
  • Program code for carrying out the inventive arrangements is stored in memory 403 and controlled by processor 401 for execution.
  • the memory 403 may include a volatile memory 403 (English: volatile memory), such as random-access memory (abbreviation: RAM).
  • the memory 403 may also include a 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).
  • the memory 403 may also include a combination of the above types of memories.
  • the processor 401 may be a central processing unit (full name: Central Processing Unit, CPU for short), 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), programmable logic device (English: programmable logic device, abbreviation: PLD) or any combination thereof.
  • the above PLD can be a complex programmable logic device (English: complex programmable logic device, abbreviation: CPLD), field-programmable gate array (English: field-programmable gate array, abbreviation: FPGA), general array logic (English: generic array Logic, abbreviation: GAL) or any combination thereof.
  • the processor 401 is configured to call the program code in the memory 403. In a possible implementation manner, when the program is executed by the processor 401, the following functions are implemented:
  • the transceiver 402 is configured to receive an access request message sent by the UE.
  • the UE supports the dual stack address, and the IP address of the UE includes the first IP address and the 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 The IP address, the first IP address and the IP address of the server are the same type of IP address.
  • the processor 401 is configured to establish a first connection with the server according to the IP address of the server.
  • the processor 401 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 the first substream and the second substream.
  • the first substream is a substream 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 substream 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 the same type of IP address, and the second substream is a substream established by the UE using the second IP address and the data transmission device 40 using the proxy IP address.
  • the processor 401 is further configured to associate the first connection with the second connection, and associate the access for the UE to the server.
  • the processor 401 is specifically configured to establish a TCP connection with the server according to the IP address of the server.
  • the processor 401 is specifically configured to establish an MPTCP connection with the server according to the IP address of the server.
  • the processor 401 is specifically configured to use the server according to the first IP address.
  • the IP address establishes a first substream with the UE.
  • the transceiver 402 is further configured to receive, by using the first substream, a second IP address sent by the UE.
  • the processor 401 is further configured to establish a second substream with the UE by using a proxy IP address according to the second IP address.
  • the processor 401 is configured to establish, by using the IP address of the server, the first substream with the UE according to the first IP address.
  • the transceiver 402 is further configured to send a proxy IP address to the UE by using the first substream, so that the UE establishes the second substream with the data transmission device 40 by using the second IP address according to the proxy IP address.
  • the processor 401 is further configured to delete one of the first substream and the second substream according to the service data amount of the UE.
  • the data transmission device 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 to complete the UE. Message forwarding between the server and the server.
  • the second connection is an MPTCP connection, including a first sub-flow established by the UE using the first IP address and the MPTCP proxy, and a second sub-flow established by the UE using the second IP address and the MPTCP proxy.
  • the UE can access the server through the data transmission device by using the dual stack address, thereby improving the data transmission rate between the UE and the server.

Abstract

The present invention relates to the field of communications. Provided in the embodiments of the present invention are a data transmission method and device, capable of using a dual stack address of a user equipment (UE) to access a server, and improving the efficiency of data transmission between the UE and the server. The specific solution is as follows: a multi-path transmission control protocol (MPTCP) agent receiving an access request message sent by the UE; IP addresses of the UE comprising a first IP address and a second IP address which are IP addresses of different types; establishing a first connection with the server; establishing a second connection with the UE, the second connection being an MPTCP connection and comprising a first subflow and a second subflow, wherein the first subflow and the second subflow are established by the UE using the first IP address and the second IP address with the MPTCP agent respectively; and associating the first connection with the second connection. The present invention is for use in data transmission.

Description

一种数据传输方法及设备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 version4,英文简称:IPv4)地址资源日益紧张,移动通信网络不断向支持网络互连协议第六版(英文全称:Internet Protocol version 6,英文简称:IPv6)地址过渡。第三代合作伙伴计划(英文全称:3rd Generation Partnership Project,英文简称:3GPP)协议支持给用户设备(英文全称:User Equipment,英文简称:UE)分配双栈地址,即为UE分配一个IPv4地址和/或一个IPv6地址。With the fourth edition of the Internet Protocol (English full name: Internet Protocol version 4, English abbreviation: IPv4) address resources increasingly tight, mobile communication networks continue to support the sixth edition of the network interconnection protocol (English full name: Internet Protocol version 6, English Abbreviation: IPv6) address transition. The third-generation partnership project (English name: 3rd Generation Partnership Project, English abbreviation: 3GPP) supports the allocation of dual-stack addresses to the user equipment (English name: User Equipment, English abbreviation: UE), that is, assigns an IPv4 address to the UE. / or an IPv6 address.
当UE和服务器均支持双栈地址和多路径传输控制协议(英文全称:Multi-Path Transmission Control Protocol,英文简称:MPTCP)时,在一次业务执行过程中,UE可以获取一个IPv4地址和一个IPv6地址,与服务器的IPv4地址和IPv6地址建立两个子流(英文全称:Subflow),通过两个子流与服务器进行数据传输。When both the UE and the server support the dual-stack address and the multi-path transmission control protocol (English name: Multi-Path Transmission Control Protocol, MPTP), the UE can obtain an IPv4 address and an IPv6 address during a service execution. Two sub-flows (English name: Subflow) are established with the server's IPv4 address and IPv6 address, and data is transmitted to the server through two sub-streams.
然而,当服务器不支持双栈地址时,UE只能通过服务器所支持的IP地址类型访问服务器,不能通过另一IP地址访问服务器。例如,一个服务器只支持IPv4地址,那么UE只能通过IPv4地址访问服务器,而不能通过IPv6地址访问服务器,导致数据传输速率低。However, when the server does not support the dual stack address, 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 IPv4 addresses, 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 the dual stack address, thereby improving the data transmission rate between the UE and the server.
为达到上述目的,本申请采用如下技术方案:To achieve the above objectives, the present application adopts the following technical solutions:
第一方面,提供一种数据传输方法,MPTCP代理接收用户设备UE发送的访问请求消息之后,根据访问请求消息所携带的服务器的IP地址与服务器建立第一连接,根据访问请求消息所携带的第一IP 地址与UE建立第二连接,并将第二连接与第一连接建立关联,以完成UE与服务器之间的报文转发。其中,第二连接为MPTCP连接,包括UE使用第一IP地址与MPTCP代理建立的第一子流,以及UE使用第二IP地址与MPTCP代理建立的第二子流。UE可以利用双栈地址,通过MPTCP代理访问服务器,从而提高了UE与服务器之间的数据传输速率。The first aspect provides a data transmission method. 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 carries the first connection according to the access request message. One IP The address establishes a second connection with the UE, and associates the second connection with the first connection to complete packet forwarding between the UE and the server. The second connection is an MPTCP connection, including a first sub-flow established by the UE using the first IP address and the MPTCP proxy, and a second sub-flow established by the UE using the second IP address and the MPTCP proxy. The UE can access the server through the MPTCP proxy by using the dual stack address, 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 respectively included in the first connection and the second connection according to the service data amount of the UE, to adjust between the UE and the server. Data transfer rate.
第二方面,提供一种数据传输设备,包括计算机可读介质,用于存储本申请方案的程序代码,所述程序代码包括用于执行第一方面所提供的数据传输方法的指令。In a second aspect, there is provided a data transmission device comprising a computer readable medium for storing program code of the solution of the present application, the program code comprising instructions for performing the data transmission method provided by the first aspect.
第三方面,提供另一种数据传输设备,包括处理器、收发器、存储器及总线,所述处理器、所述收发器以及所述存储器通过所述总线相互连接;用于执行本申请第一方面所提供的数据传输方法的程序代码保存在所述存储器中,并由所述处理器来控制执行。In a third aspect, there is provided another data transmission device, 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; The program code of the data transmission method provided by the aspect is stored in the memory and controlled by the processor for execution.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only the present invention. For some embodiments, other drawings may be obtained from those of ordinary skill in the art without departing from the drawings.
图1为对本发明的实施例所提供的数据传输方法应用场景的说明示意图;1 is a schematic diagram of 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 according to an embodiment of the present invention;
图3为本发明的实施例所提供的一种数据传输装置的结构示意图;3 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
图4为本发明的实施例所提供的另一种数据传输装置的结构示意图。 FIG. 4 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the 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与服务器之间。The embodiment of the present invention provides a data transmission method, which is applied to a multi-path transmission control protocol (English name: Multi-Path Transmission Control Protocol, English abbreviation: MPTCP) proxy. In combination with the application scenario shown in Figure 1, the user equipment (English name: User Equipment, English abbreviation: UE) passes the packet data network gateway (English name: packet data network gateway, English abbreviation: PGW) and multi-path transmission control protocol. Full name: Multi-Path Transmission Control Protocol, English abbreviation: MPTCP) proxy access server. After the UE accesses the mobile network, a connection is established with the PGW, and the PGW device may include an MPTCP proxy or both. When the PGW device includes an MPTCP proxy, the PGW may select to enable or disable the MPTCP proxy function according to the IP address type of the UE and the server. Specifically, if the IP address obtained by the UE from the PGW and the IP address of the server are the same type of IP address, for example, the same as the IPv4 address or the IPv6 address, the PGW does not need to enable the function of the MPTCP proxy. If the UE acquires two IP addresses from the PGW, including an IPv4 address and an IPv6 address, the PGW starts the function of the MPTCP proxy. When the PGW device and the MPTCP proxy are independent of each other, 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, an IPv4 address and an IPv6 address, are used as an example for description. Of course, this does not mean that the present invention is only applicable to the case of an IPv4 address and an IPv6 address.
UE获取的两个不同类型的IP地址,包括一个IPv4地址和一个IPv6地址,并利用这两个IP地址与MPTCP代理建立MPTCP连接。 MPTCP代理可以和服务器建立普通的TCP连接,或者建立MPTCP连接。Two different types of IP addresses obtained by the UE, including an IPv4 address and an IPv6 address, and use 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 MPTCP connection between the MPTCP proxy and the server, and the MPTCP connection between the MPTCP proxy and the UE is that the MPTCP proxy establishes an MPTCP connection with the UE, including the substream established by the IPv4 address (English name: Subflow), and A subflow established by an IPv6 address. The MPTCP connection established by the MPTCP proxy and the server includes only the substream established by one of the IPv4 address or the IPv6 address. For example, if the server only supports IPv4 addresses, then the MPTCP connection between the MPTCP proxy and the server includes only 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, two different types of IP addresses acquired by the UE are respectively described by the first IP address and the second IP address, and one of the first IP address and the second IP address is an IPv4 address, and the other is IPv6 address. The IP address of the server is an IPv4 address or an IPv6 address. In the embodiment of the present invention, a case where the first IP address and the IP address of the server are the IPv4 address and the second IP address is the IPv6 address will be described 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 the user equipment UE.
UE向PGW发送访问请求消息,请求访问服务器,访问请求消息包括服务器的IP地址以及UE的第一IP地址,第一IP地址与服务器的IP地址为相同类型的IP地址,即均为IPv4地址。The UE sends an access request message to the PGW, requesting the access 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 the same type of IP address, 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 server's IP address 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代理与服务器之间建立连接,包括以下两种情况。The MPTCP proxy establishes a connection with the server, including the following two cases.
第一种情况,服务器不支持MPTCP,此时MPTCP代理根据服务器的IP地址,使用访问IP地址与服务器建立TCP连接。其中,访问IP地址与服务器地址为相同类型的IP地址,即IPv4地址。In the first case, the server does not support MPTCP. At this time, the MPTCP proxy establishes a TCP connection with the server using the access IP address according to the IP address of the server. The access IP address and the server address are the same type of IP address, that is, an IPv4 address.
访问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 can also be other IPv4 addresses, for example, the access IP address is an IP address configured in advance for the MPTCP proxy.
第二种情况,服务器支持MPTCP,此时MPTCP代理根据服务器的IP地址,与服务器建立MPTCP连接,以提高MPTCP代理与服务器之间的数据吞吐率。In the second case, the server supports MPTCP. At this time, the MPTCP proxy establishes an MPTCP connection with the server according to the IP address of the server to improve the data throughput rate between the MPTCP proxy 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 a server-side IP address, wherein the IP address of the MPTCP proxy refers to the IP address used by the MPTCP proxy to establish a substream with the server. The IP address of the server is the IP address used by the server to establish a subflow with the MPTCP proxy. Since the server only supports one type of IP address, the IP address of the MPTCP proxy and the IP address of the server are the same type of IP address.
可选的,服务器的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 includes only 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 also include an IP address previously 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 IP address is accessed, and the IP address of the server is the same, which is the server included in the access request message. The IP address is indicated by IP address A in Table 1.
表一Table I
Figure PCTCN2015097596-appb-000001
Figure PCTCN2015097596-appb-000001
可选的,服务器的IP地址的数大于1,MPTCP代理根据访问请求消息中所包括的服务器的IP地址,使用第一IP地址与服务器建立第一个子流之后,服务器通过该子流向MPTCP代理发送其它的IP地址。这种情况下,MPTCP代理与服务器在第一个子流基础上再建立其它子流。结合表二,不同子流对应的IP地址对中,服务器端的IP地址可以不同。Optionally, if the number of the server's IP address is greater than 1, the MPTCP proxy establishes the first substream with the server by using the first IP address according to the IP address of the server included in the access request message, and the server passes the substream to the MPTCP proxy. Send another IP address. In this case, the MPTCP proxy and the server establish other substreams on the basis of the first subflow. In combination with Table 2, the IP addresses of different substreams may be different, and the IP addresses of the servers may be different.
表二Table II
Figure PCTCN2015097596-appb-000002
Figure PCTCN2015097596-appb-000002
进一步可选的,当服务器的IP地址的数大于1,且没有为MPTCP代理预先配置访问IP地址的应用场景中,MPTCP代理端的IP地址可以只包括第一IP地址这一个IP地址,MPTCP代理仍旧可以与服务器之间建立多个子流,不同子流对应的IP地址对中,MPTCP代理端的IP地址均为第一IP地址,服务器端的IP地址各部不同。 Further, in an application scenario where the number of IP addresses of the server is greater than 1, and the access IP address is not configured for the MPTCP proxy, the IP address of the MPTCP proxy may include only the IP address of the first IP address, and the MPTCP proxy remains. Multiple sub-flows can be established with the server. The IP address of the different sub-flows is the IP address of the MPTCP proxy, and the IP address of the server is 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 a first substream and a second substream. Combined with Table 3, the process of establishing the first substream and the second substream with the MPTCP proxy and the UE is as follows:
表三Table 3
Figure PCTCN2015097596-appb-000003
Figure PCTCN2015097596-appb-000003
UE支持双栈地址,UE的IP地址包括第一IP地址和第二IP地址,第一IP地址和第二IP地址为不同类型的IP地址。本实施例中第一IP地址为IPv4地址,第二IP地址为IPv6地址。服务器的IP地址可以为IPv4地址或者IPv6地址,此处以服务器的IP地址为IPv4地址的情况为例进行说明。The UE supports a dual stack address, 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 can be an IPv4 address or an IPv6 address. The case where the IP address of the server is an IPv4 address is used as an example.
MPTCP代理接收到访问请求消息之后,根据UE的第一IP地址,使用服务器的IP地址与UE建立第一子流。结合表三所示,第一子流对应的UE端IP地址为第一IP地址,MPTCP代理端IP地址为服务器的IP地址。After receiving the access request message, the MPTCP proxy establishes the first substream with the UE using the IP address of the server according to the first IP address of the UE. As shown in Table 3, the IP address of the UE corresponding to the first substream 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 substream is established, the MPTCP proxy further establishes a second substream with the UE. As shown in Table 3, the IP address of the UE corresponding to the second substream is the second IP address, and the IP address of the MPTCP proxy is the proxy IP address. The proxy IP address is an IP address configured in advance for the MPTCP proxy, and the proxy IP address and the second IP address are the same type of IP address, that is, an IPv6 address.
建立第二子流可以通过两种方式,第一种方式是MPTCP代理通过第一子流向UE发送代理IP地址,UE根据代理IP地址,使用第二IP地址与MPTCP代理建立第二子流。另一种方式是UE通过第一子流向MPTCP代理发送第二IP地址,MPTCP代理根据第二IP 地址,使用代理IP地址与UE建立第二子流。对两种方式分别说明如下:The second substream can be established in two ways. The first method is that the MPTCP proxy sends a proxy IP address to the UE through the first substream, and the UE establishes a second substream with the MPTCP proxy according to the proxy IP address. Another way is that the UE sends a second IP address to the MPTCP proxy through the first substream, and the MPTCP proxy is based on the second IP address. The address establishes a second substream with the UE using the proxy 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 mode, the UE sets the MP_CAPABLE identifier in the TCP packet sent to the MPTCP proxy through the first substream, and queries the MPTCP proxy to determine whether the second MPTCP substream can be established. After the MPTCP proxy returns the MP_CAPABLE ACK message to the UE, the proxy IP address is sent 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 packet with the MP_JOIN flag set to the proxy IP address using the second IP address, requesting to establish a second substream. The MPTCP proxy returns an MP_JOIN ACK message to the UE, and the second stream is established.
第二种方式,UE接收到MPTCP代理返回的MP_CAPABLE的ACK消息之后,UE通过ADD_ADDR选项将第二IP地址发送至MPTCP代理。In the second mode, 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 sends a TCP packet with the MP_JOIN flag set to the second IP address using the proxy IP address, requesting to establish a second substream. The UE returns an MP_JOIN ACK message to the MPTCP proxy, and the second stream is established.
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 for the UE's access to the server. After the first connection is associated with the second connection, the MPTCP proxy forwards the packet received from the UE through the first connection, forwards the packet to the server through the second connection, and passes the packet received from the server through the second connection through the first The connection is forwarded to the UE, ie the UE can access the server through the MPTCP proxy. In the prior art, if the server only supports IPv4 addresses, the UE can only access the server through the IPv4 address. If the server only supports the IPv6 address, 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 perform data transmission by using the first substream and the second substream. The server's dual stack address is used to access the server, which improves the data transmission rate between the UE and the server.
205、根据UE的业务数据量删除第一子流和第二子流其中之一。 205. Delete one of the first substream and the second substream according to the service data quantity 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 affected by the first connection and the second connection, and the MPTCP proxy can dynamically adjust the number of substreams included in the first connection and the second connection according to the service data amount 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, if one of the first sub-flow and the second sub-flow is deleted, the service data volume is less than the first preset threshold, and the re-establishment has been deleted if the service data quantity exceeds the second preset threshold. Subflow. The second preset threshold is greater than or equal to the first preset threshold. It should be noted that deleting which of the two substreams is independent of the type of IP address supported by the server. For example, if the server only supports IPv4, the proxy server can delete the first substream (IPv4 substream), so that the MPTCP proxy and the UE are connected through the second substream (IPv6 substream), and the MPTCP proxy and the server use IPv4. The TCP or MPTCP connection established by the address pair. The MPTCP proxy adapts and forwards the IPv6 data packet of the UE and the IPv4 data packet of the server. After the first substream is deleted, the UE can still access the server through the MPTCP proxy.
类似地,当MPTCP代理与服务器建立MPTCP连接时,也可以对子流的数量进行动态调整,以使得第一连接与第二连接各自的数据传输速率相适应。Similarly, when the MPTCP proxy establishes an MPTCP connection with the server, the number of substreams can also be dynamically adjusted so that the first connection and the second connection have respective data transmission rates.
本发明的实施例所提供的数据传输方法,MPTCP代理通过接收UE发送的访问请求消息,与UE建立第二连接,与服务器建立第一连接,并将第二连接与第一连接建立关联,以完成UE与服务器之间的报文转发。其中,第二连接为MPTCP连接,包括UE使用第一IP地址与MPTCP代理建立的第一子流,以及UE使用第二IP地址与MPTCP代理建立的第二子流。UE可以利用双栈地址,通过MPTCP代理访问服务器,从而提高了UE与服务器之间的数据传输速率。The data transmission method provided by the embodiment of the present invention, the MPTCP proxy 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, The packet forwarding between the UE and the server is completed. The second connection is an MPTCP connection, including a first sub-flow established by the UE using the first IP address and the MPTCP proxy, and a second sub-flow established by the UE using the second IP address and the MPTCP proxy. The UE can access the server through the MPTCP proxy by using the dual stack address, 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 for performing the functions performed by the MPTCP proxy in the foregoing embodiment. Referring to FIG. 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 an access request message sent by the UE. The UE supports the dual stack address, and the IP address of the UE includes the first IP address and the 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 The IP address, the first IP address and the IP address of the server are the same type of IP address.
第一连接单元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, where the second connection is an MPTCP connection, and the second connection includes the first substream and the second substream. The first substream is a substream 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 substream 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 the same type of IP address, and the second substream is a substream 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 associate the access for the UE to 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 configured to establish, by using the IP address of the server, the first sub-flow 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, by using the first substream, a second IP address sent by the UE.
第二连接单元303,具体还用于根据接收单元301所接收到的第二IP地址,使用代理IP地址与UE建立第二子流。The second connection unit 303 is further configured to establish a second substream 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 configured to establish, by using the IP address of the server, the first sub-flow 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 transmitting unit 305 for transmitting a proxy IP address to the UE through the first substream, so that the UE establishes a second substream with the data transmission device 30 using the second IP address according to the proxy IP address.
可选的,第二连接单元303,还用于根据UE的业务数据量删除第一子流和第二子流其中之一。Optionally, the second connecting unit 303 is further configured to delete one of the first substream and the second substream according to the service data amount 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 to complete the UE. Message forwarding between the server and the server. The second connection is an MPTCP connection, including a first sub-flow established by the UE using the first IP address and the MPTCP proxy, and a second sub-flow established by the UE using the second IP address and the MPTCP proxy. The UE can access the server through the data transmission device by using the dual stack address, 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 for performing the functions performed by the MPTCP proxy in the foregoing embodiment. Referring to FIG. 4, the data transmission device 40 includes a processor 401, a transceiver 402, a memory 403, and a bus 404. The processor 401, the transceiver 402, and the memory 403 are connected to one another via a bus 404.
用于执行本发明方案的程序代码保存在存储器403中,并由处理器401来控制执行。Program code for carrying out the inventive arrangements is stored in memory 403 and controlled by processor 401 for execution.
存储器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 (abbreviation: RAM). The memory 403 may also include a 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). The memory 403 may also include a combination of the above types of memories.
处理器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, CPU for short), 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), programmable logic device (English: programmable logic device, abbreviation: PLD) or any combination thereof. The above PLD can be a complex programmable logic device (English: complex programmable logic device, abbreviation: CPLD), field-programmable gate array (English: field-programmable gate array, abbreviation: FPGA), general array logic (English: generic array Logic, abbreviation: GAL) or any combination thereof.
处理器401,用于调用存储器403中的程序代码,在一种可能的实施方式中,当上述程序被处理器401执行时,实现如下功能:The processor 401 is configured to call the program code in the memory 403. In a possible implementation manner, when the 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 the dual stack address, and the IP address of the UE includes the first IP address and the 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 The IP address, the first IP address and the IP address of the server are the same type of IP address.
处理器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, where the second connection is an MPTCP connection, and the second connection includes the first substream and the second substream. The first substream is a substream 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 substream 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 the same type of IP address, and the second substream is a substream 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 associate the first connection with the second connection, and associate the access for the UE to 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 server according to the first IP address. The IP address establishes a first substream with the UE.
收发器402,还用于通过第一子流接收UE发送的第二IP地址。The transceiver 402 is further configured to receive, by using the first substream, a second IP address sent by the UE.
处理器401,具体还用于根据第二IP地址,使用代理IP地址与UE建立第二子流。The processor 401 is further configured to establish a second substream with the UE by using a proxy IP address according to the second IP address.
可选的,处理器401,具体用于根据第一IP地址,使用服务器的IP地址与UE建立第一子流。Optionally, the processor 401 is configured to establish, by using the IP address of the server, the first substream with the UE according to the first IP address.
收发器402,还用于通过第一子流向UE发送代理IP地址,以便于UE根据代理IP地址,使用第二IP地址与数据传输设备40建立第二子流。The transceiver 402 is further configured to send a proxy IP address to the UE by using the first substream, so that the UE establishes the second substream with the data transmission device 40 by 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 amount 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 to complete the UE. Message forwarding between the server and the server. The second connection is an MPTCP connection, including a first sub-flow established by the UE using the first IP address and the MPTCP proxy, and a second sub-flow established by the UE using the second IP address and the MPTCP proxy. The UE can access the server through the data transmission device by using the dual stack address, thereby improving the data transmission rate between the UE and the server.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims (18)

  1. 一种数据传输方法,应用于多路径传输控制协议MPTCP代理,其特征在于,包括:A data transmission method is applied to a multi-path transmission control protocol MPTCP proxy, which is characterized in that:
    接收用户设备UE发送的访问请求消息;其中,所述UE支持双栈地址,所述UE的网络互联协议IP地址包括第一IP地址和第二IP地址,所述第一IP地址和所述第二IP地址为不同类型的IP地址,所述访问请求消息包括服务器的IP地址以及所述第一IP地址,所述第一IP地址与所述服务器的IP地址为相同类型的IP地址;Receiving an access request message sent by the user equipment UE, where the UE supports a dual stack address, the network interconnection protocol IP address of the UE includes a first IP address and a second IP address, the first IP address and the first The second IP address is a different type of IP address, the access request message includes an 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 an 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地址建立的子流;Establishing a second connection with the UE according to the first IP address, the second connection is an MPTCP connection, and the second connection includes a first substream and a second substream; wherein the first substream Substream established by the UE using the first IP address and the MPTCP proxy using an IP address of the server, the first substream being used by 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 the same type of IP address, and the second substream uses the second An IP address and a substream established by the MPTCP proxy using the proxy IP address;
    将所述第一连接与所述第二连接建立关联,所述关联用于所述UE对所述服务器的访问。Associating the first connection with the second connection, the association being used by the UE to access the server.
  2. 根据权利要求1所述的数据传输方法,其特征在于,所述根据所述服务器的IP地址,与所述服务器建立第一连接,包括:The data transmission method according to claim 1, wherein the establishing a first connection with the server according to an IP address of the server comprises:
    根据所述服务器的IP地址,与所述服务器建立传输控制协议TCP连接。Establishing a Transmission Control Protocol TCP connection with the server according to the IP address of the server.
  3. 根据权利要求1所述的数据传输方法,其特征在于,所述根据所述服务器的IP地址,与所述服务器建立第一连接,包括:The data transmission method according to claim 1, wherein the establishing a first connection with the server according to an IP address of the server comprises:
    根据所述服务器的IP地址,与所述服务器建立MPTCP连接。Establishing an MPTCP connection with the server according to the IP address of the server.
  4. 根据权利要求1或3所述的数据传输方法,其特征在于,所述根据所述第一IP地址,与所述UE建立第二连接,包括: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建 立所述第一子流;Establishing the UE with the IP address of the server according to the first IP address Establishing the first substream;
    通过所述第一子流接收所述UE发送的所述第二IP地址,根据所述第二IP地址,使用所述代理IP地址与所述UE建立所述第二子流。Receiving, by the first substream, the second IP address sent by the UE, and establishing, by using the proxy IP address, the second substream with the UE according to the second IP address.
  5. 根据权利要求1或3所述的数据传输方法,其特征在于,所述根据所述第一IP地址,与所述UE建立第二连接,包括: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建立所述第一子流;Establishing the first substream with the UE by using an IP address of the server according to the first IP address;
    通过所述第一子流向所述UE发送所述代理IP地址,以便于所述UE根据所述代理IP地址,使用所述第二IP地址与所述MPTCP代理建立所述第二子流。Transmitting, by the first sub-flow, the proxy IP address to the UE, so that the UE establishes the second sub-flow with the MPTCP proxy by using the second IP address according to the proxy IP address.
  6. 根据权利要求1-5任一项所述的数据传输方法,其特征在于,所述方法还包括:The data transmission method according to any one of claims 1 to 5, wherein the method further comprises:
    根据所述UE的业务数据量删除所述第一子流和所述第二子流其中之一。Deleting one of the first substream and the second substream according to the amount of service data of the UE.
  7. 一种数据传输设备,其特征在于,包括:A data transmission device, 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 the user equipment UE, where the UE supports a dual stack address, where the network interconnection protocol IP address of the UE includes a first IP address and a second IP address, the first IP The address and the second IP address are different types of IP addresses, and the access request message includes an IP address of the server and the first IP address, and the first IP address is the same type as the IP address of the server. 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 a stream and a second substream; wherein the first substream is a substream established by the UE using the first IP address and the data transmission device using an IP address of the server, the first substream Flowing for the UE to send the second IP address to the data transmission device, or the data transmission device sending a proxy to the UE An IP address, the proxy IP address being the same type of IP address as the second IP address, the second substream using the proxy IP by the UE using the second IP address and the data transmission device The substream of the address establishment;
    连接管理单元,用于将所述第一连接与所述第二连接建立关联,所述关联用于所述UE对所述服务器的访问。a connection management unit, configured to associate the first connection with the second connection, where the association is used by the UE to access the server.
  8. 根据权利要求7所述的数据传输设备,其特征在于,A data transmission device according to claim 7, wherein
    所述第一连接单元,具体用于根据所述接收单元所接收到的所述服务器的IP地址,与所述服务器建立传输控制协议TCP连接。The first connecting 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所述的数据传输设备,其特征在于,A data transmission device according to claim 7, wherein
    所述第一连接单元,具体用于根据所述接收单元所接收到的所述服务器的IP地址,与所述服务器建立MPTCP连接。The first connecting 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所述的数据传输设备,其特征在于,A data transmission device according to claim 7 or 9, wherein
    所述第二连接单元,具体用于根据所述接收单元所接收到的所述第一IP地址,使用所述服务器的IP地址与所述UE建立所述第一子流;The second connecting unit is configured to establish the first substream with the UE by using an IP address of the server according to the first IP address received by the receiving unit;
    所述接收单元,还用于通过所述第一子流接收所述UE发送的所述第二IP地址;The receiving unit is further configured to receive, by using the first substream, the second IP address sent by the UE;
    所述第二连接单元,具体还用于根据所述接收单元所接收到的所述第二IP地址,使用所述代理IP地址与所述UE建立所述第二子流。The second connecting unit is further configured to establish the second substream with the UE by using the proxy IP address according to the second IP address received by the receiving unit.
  11. 根据权利要求7或9所述的数据传输设备,其特征在于,A data transmission device according to claim 7 or 9, wherein
    所述第二连接单元,具体用于根据所述接收单元所接收到的所述第一IP地址,使用所述服务器的IP地址与所述UE建立所述第一子流;The second connecting unit is configured to establish the first substream with the UE by using an IP address of the server 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 by using the first substream, so that the UE uses the second IP address according to the proxy IP address. The data transmission device establishes the second substream.
  12. 根据权利要求7-11任一项所述的数据传输设备,其特征在于,A data transmission device according to any one of claims 7 to 11, wherein
    所述第二连接单元,还用于根据所述UE的业务数据量删除所述 第一子流和所述第二子流其中之一。The second connecting unit is further configured to delete the service according to the service data amount of the UE. One of the first substream and the second substream.
  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 the user equipment UE, where the UE supports a dual stack address, and the network interconnection protocol IP address of the UE includes a first IP address and a second IP address, where the An IP address and the second IP address are different types of IP addresses, the access request message includes an IP address of the server and the first IP address, and the first IP address is the same as an IP address of the server Type of IP address;
    所述处理器,用于根据所述服务器的IP地址,与所述服务器建立第一连接;The processor is configured to establish a first connection with the server according to an 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 sub-flow and a second sub-flow; The first substream is a substream established by the UE using the first IP address and the data transmission device using an IP address of the server, where the first substream is used by the UE Transmitting, by the data transmission device, 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 the same type of IP address, the second a substream is a substream 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 associate the first connection with the second connection, where the association is used by the UE to access the server.
  14. 根据权利要求13所述的数据传输设备,A data transmission device according to claim 13,
    所述处理器,具体用于根据所述服务器的IP地址,与所述服务器建立传输控制协议TCP连接。The processor is specifically configured to establish a transmission control protocol TCP connection with the server according to an IP address of the server.
  15. 根据权利要求13所述的数据传输设备,其特征在于,A 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 an IP address of the server.
  16. 根据权利要求13或15所述的数据传输设备,其特征在于, A data transmission device according to claim 13 or 15, wherein
    所述处理器,具体用于根据所述第一IP地址,使用所述服务器的IP地址与所述UE建立所述第一子流;The processor is specifically configured to establish the first substream with the UE by using an IP address of the server according to the first IP address;
    所述收发器,还用于通过所述第一子流接收所述UE发送的所述第二IP地址;The transceiver is further configured to receive, by using the first substream, the second IP address sent by the UE;
    所述处理器,具体还用于根据所述第二IP地址,使用所述代理IP地址与所述UE建立所述第二子流。The processor is further configured to establish the second substream with the UE by using the proxy IP address according to the second IP address.
  17. 根据权利要求13或15所述的数据传输设备,其特征在于,A data transmission device according to claim 13 or 15, wherein
    所述处理器,具体用于根据所述第一IP地址,使用所述服务器的IP地址与所述UE建立所述第一子流;The processor is specifically configured to establish the first substream with the UE by using an IP address of the server 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 by using the first substream, so that the UE uses the second IP address and the data transmission device according to the proxy IP address. The second substream is established.
  18. 根据权利要求13-17任一项所述的数据传输设备,其特征在于,A data transmission device according to any one of claims 13-17, characterized in that
    所述处理器,还用于根据所述UE的业务数据量删除所述第一子流和所述第二子流其中之一。 The processor is further configured to delete one of the first substream and the second substream according to the service data amount of the UE.
PCT/CN2015/097596 2015-12-16 2015-12-16 Data transmission method and device WO2017101043A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/097596 WO2017101043A1 (en) 2015-12-16 2015-12-16 Data transmission method and device
CN201580074279.0A CN107211010B (en) 2015-12-16 2015-12-16 data transmission method and device

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 (1)

Publication Number Publication Date
WO2017101043A1 true WO2017101043A1 (en) 2017-06-22

Family

ID=59055418

Family Applications (1)

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

Country Status (2)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988491A (en) * 2006-11-24 2007-06-27 清华大学 Method for optimizing IPv4/IPv6 application interoperation using multiple point access
CN101651718A (en) * 2009-08-27 2010-02-17 中国电信股份有限公司 Method and system for changing IP flow protocol stack
CN102739810A (en) * 2011-04-07 2012-10-17 中国电信股份有限公司 IPv4CP/SP and IPv6 network interworking method and device
US20130114481A1 (en) * 2011-11-08 2013-05-09 Massachusetts Institute Of Technology Coding Approach For A Robust And Flexible Communication Protocol
CN104769910A (en) * 2012-11-02 2015-07-08 瑞典爱立信有限公司 Assigning addresses in a communications network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8824480B2 (en) * 2012-01-31 2014-09-02 Alcatel Lucent Method and apparatus for end-host based mobility, multi-homing and multipath protocols
EP2854357A1 (en) * 2013-09-30 2015-04-01 Thomson Licensing Method for connecting a first host and a second host within at least one communication network through a relay module, corresponding relay module
US11025586B2 (en) * 2014-06-02 2021-06-01 Nokia Solutions And Networks Oy Multipath TCP with LTE connections

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988491A (en) * 2006-11-24 2007-06-27 清华大学 Method for optimizing IPv4/IPv6 application interoperation using multiple point access
CN101651718A (en) * 2009-08-27 2010-02-17 中国电信股份有限公司 Method and system for changing IP flow protocol stack
CN102739810A (en) * 2011-04-07 2012-10-17 中国电信股份有限公司 IPv4CP/SP and IPv6 network interworking method and device
US20130114481A1 (en) * 2011-11-08 2013-05-09 Massachusetts Institute Of Technology Coding Approach For A Robust And Flexible Communication Protocol
CN104769910A (en) * 2012-11-02 2015-07-08 瑞典爱立信有限公司 Assigning addresses in a communications network

Also Published As

Publication number Publication date
CN107211010A (en) 2017-09-26
CN107211010B (en) 2020-01-31

Similar Documents

Publication Publication Date Title
US9088612B2 (en) Systems and methods for providing link-performance information in socket-based communication devices
EP3459217B1 (en) Transporting udp packets over an mptcp connection
US10574763B2 (en) Session-identifer based TWAMP data session provisioning in computer networks
EP2584743B1 (en) Method, apparatus and system for accessing virtual private network by virtual private cloud
US20150237525A1 (en) Traffic Shaping and Steering for a Multipath Transmission Control Protocol Connection
WO2019170114A1 (en) Method for sending packet, network device, and computer-readable storage medium
RU2660635C2 (en) Method and apparatus for controlling service chain of service flow
WO2018157551A1 (en) Data transmission method and apparatus
WO2016197689A1 (en) Method, apparatus and system for processing packet
US11419171B2 (en) Method for establishing subflow of multipath connection, apparatus, and system
US9585052B2 (en) Determining a traffic bearer for data traffic between a terminal and a content data source of a content data network
WO2021008591A1 (en) Data transmission method, device, and system
WO2018141278A1 (en) Wireless communication method, user equipment, access network equipment and network system
US10382339B2 (en) Large scale bandwidth management of IP flows using a hierarchy of traffic shaping devices
WO2012122832A1 (en) Hot backup method and apparatus for network address translation entry
WO2019214569A1 (en) Service quality of service negotiation method and apparatus
US10374944B2 (en) Quality of service for data transmission
WO2012109867A1 (en) Method, apparatus and system for routing protocol configuration
EP3073691B1 (en) Method and device for improving qos
WO2017101043A1 (en) Data transmission method and device
WO2017193363A1 (en) Service data stream transmission method and device
WO2018058385A1 (en) Network interworking method, network element, and system
WO2015013883A1 (en) Data transmission method and device
WO2017147815A1 (en) Data offloading method, mobile edge platform, and core network device
WO2015135124A1 (en) Information transfer method and apparatus

Legal Events

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

Ref document number: 15910516

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15910516

Country of ref document: EP

Kind code of ref document: A1