WO2014131330A1 - 一种基于多链路的数据传输方法及设备 - Google Patents

一种基于多链路的数据传输方法及设备 Download PDF

Info

Publication number
WO2014131330A1
WO2014131330A1 PCT/CN2014/072125 CN2014072125W WO2014131330A1 WO 2014131330 A1 WO2014131330 A1 WO 2014131330A1 CN 2014072125 W CN2014072125 W CN 2014072125W WO 2014131330 A1 WO2014131330 A1 WO 2014131330A1
Authority
WO
WIPO (PCT)
Prior art keywords
tunnel
packet
link
target
message
Prior art date
Application number
PCT/CN2014/072125
Other languages
English (en)
French (fr)
Inventor
张凯
吴海军
陈蜀华
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Priority to EP17175609.1A priority Critical patent/EP3294006B1/en
Priority to EP14757067.5A priority patent/EP2858415B1/en
Publication of WO2014131330A1 publication Critical patent/WO2014131330A1/zh
Priority to US14/586,287 priority patent/US9531631B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Definitions

  • the present invention relates to the field of communications, and a multi-link based data transmission method and apparatus.
  • DSL Digital Subscriber Line
  • Long Term evolution Long Term Evolution
  • LTE Long Term Evolution, LTE
  • LTE Long Term Evolution, LTE
  • the network television service and the Internet service are carried on the link of the DSL network
  • the voice service is carried on the link of the LTE network.
  • the link supported by the network device is fixed to carry certain services, and the service used by the user is not fixed.
  • the network TV service used by the user is relatively large, and the voice service is used.
  • the load of the link for carrying the network television service is large, and the load of the link for carrying the voice service is small, so that the utilization of the link supported by the network device is low.
  • an embodiment of the present invention provides a multi-link based data transmission method, including: the first device has multiple different types of links in which the first device and the second device have established a communication connection. Establishing a first tunnel in the road;
  • the first device establishes a second tunnel that spans the first tunnel established in the plurality of different types of links
  • the first device analyzes a load status of each first tunnel that is spanned by the second tunnel, and selects a first tunnel for transmitting a target packet;
  • the first device encapsulates the target packet to the second tunnel, and sends a packet encapsulated on the second tunnel to the first tunnel through which the target packet is transmitted to the Second device.
  • the sending, by the first tunnel, the packet encapsulated on the second tunnel to the second device by using the first tunnel for transmitting the target packet includes:
  • the first device encapsulates the packet encapsulated in the second tunnel on the first tunnel for transmitting the target packet, and encapsulates the packet in the first tunnel for transmitting the target packet.
  • the message is sent to the second device through the first tunnel.
  • the first tunnel is a tunnel that spans the virtual link
  • the packet is encapsulated in the packet for transmitting the target.
  • the packet sent by the first tunnel to the second device is sent by the first tunnel to the first tunnel.
  • the first device encapsulates the packet encapsulated in the first tunnel for transmitting the target packet into the first tunnel.
  • the packet encapsulated on the virtual link is sent to the second device.
  • the connecting, by the first device, the second device includes:
  • an embodiment of the present invention provides a data transmission device, including: Element, second establishing unit, analyzing unit, and sending unit, wherein:
  • the first establishing unit is configured to establish a first tunnel in each of a plurality of different types of links in which the data transmission device and the second device have established a communication connection;
  • the second establishing unit is configured to establish a second tunnel that spans the first tunnel established in the multiple different types of links;
  • the analyzing unit is configured to analyze a load state of each first tunnel that is spanned by the second tunnel, and select a first tunnel for transmitting a target packet;
  • the sending unit is configured to encapsulate the target packet to the second tunnel, and send the packet encapsulated on the second tunnel to the data transmission device by using the The first tunnel of the second device is sent to the second device.
  • the sending unit is further configured to encapsulate a packet encapsulated on the second tunnel on the first tunnel for transmitting a target packet, and encapsulate the packet in the first tunnel.
  • the packet of the first tunnel for transmitting the target packet is sent to the second device by using the first tunnel.
  • the first tunnel is a tunnel that spans a virtual link
  • the sending unit is encapsulated in the foregoing
  • the packet of the first tunnel is encapsulated to the virtual link that is spanned by the first tunnel, and the packet encapsulated on the virtual link is sent to the second device.
  • the data transmission device and the second device connection include:
  • the embodiment of the present invention further provides a multi-link based data transmission system, including: a first device and a second device, where:
  • the first device is configured to establish a first tunnel in multiple different types of links in which the first device and the second device have established a communication connection, and establish a crossover among the multiple different types of links. Establishing a second tunnel of the first tunnel, and analyzing a load state of each of the first tunnels spanned by the second tunnel, selecting a first tunnel for transmitting a target packet, and encapsulating the target packet Passing the packet encapsulated on the second tunnel to the second tunnel Transmitting, by the first tunnel, the first tunnel for transmitting the target packet to the second device;
  • the second device is configured to receive, by using the first tunnel that is used to transmit the target packet, the packet sent by the first device, and decapsulate the packet to obtain the target packet.
  • the first device is further configured to encapsulate a packet encapsulated on the second tunnel on the first tunnel for transmitting a target packet, and encapsulate the packet in the first tunnel.
  • the packet of the first tunnel for transmitting the target packet is sent to the second device by using the first tunnel.
  • the first device establishes a first tunnel in each of multiple different types of links in which the first device and the second device have established a communication connection; the first device establishes spanning the multiple different types.
  • the device encapsulates the target packet to the second tunnel, and sends the packet encapsulated on the second tunnel to the second device by using the first tunnel for transmitting the target packet, that is,
  • the first tunnel for transmitting the packet is selected according to the load state of each first tunnel, so that the transmission path is allocated reasonably, which can improve the utilization of the link supported by the network device.
  • FIG. 1 is a schematic flow chart of a multi-link based data transmission method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another multi-link based data transmission method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a multi-link based data transmission system according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a multi-link based data transmission method according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
  • the first device establishes a first tunnel in each of a plurality of different types of links in which the first device and the second device have established a communication connection;
  • the first device establishes a second tunnel that spans the first tunnel established in the multiple different types of links.
  • the first device analyzes a load status of each first tunnel that is spanned by the second tunnel, and selects a first tunnel that is used to transmit a target packet.
  • the first device encapsulates the target packet to the second tunnel, and sends the packet encapsulated on the second tunnel to the first tunnel by using the first tunnel for transmitting the target packet.
  • the first device may be a home gateway device
  • the second device may be a server, for example, a convergence server.
  • the packet may be an uplink sent by the home gateway device. Message.
  • the foregoing first device may be a server device, for example, a convergence server, where the second device may be a home gateway device; It can be a downlink packet sent by the network side.
  • the first device establishes a first tunnel in each of multiple different types of links in which the first device and the second device have established a communication connection; the first device establishes spanning the multiple different types.
  • the device encapsulates the target packet to the second tunnel, and sends the packet encapsulated on the second tunnel to the second device by using the first tunnel for transmitting the target packet, that is,
  • the first tunnel for transmitting the packet is selected according to the load state of each first tunnel, so that the transmission path is allocated reasonably, which can improve the utilization of the link supported by the network device.
  • 2 is a schematic flowchart of another multi-link based data transmission method according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
  • the first device establishes a first tunnel in each of a plurality of different types of links in which the first device and the second device have established a communication connection;
  • the link between the foregoing first device and the second device may include: a Digital Subscriber Line (DSL) link and a long term evolution (Long).
  • DSL Digital Subscriber Line
  • Long Long
  • LTE Long Term Evolution, LTE
  • DSL and LTE links are only examples of the embodiments of the present invention, and the number, hierarchy, configuration, and path of the links are not limited in the embodiment of the present invention.
  • the foregoing first tunnel may be a universal routing encapsulation (Generic Route)
  • GRE Encapsulation, GRE tunnel.
  • GRE virtual private network
  • VPN virtual private network
  • the first device establishes a second tunnel that spans the first tunnel established in the multiple different types of links.
  • the foregoing hopping means that the second tunnel is carried on the first tunnel established in the multiple different types of links, and the packet of the source of the second tunnel may be crossed by any of the first tunnels.
  • the tunnel is transmitted to the end of the second tunnel.
  • whether the other tunnels can be established after the first tunnel is established on one link is not limited.
  • the foregoing second tunnel may be the first one established across multiple different types of links.
  • a virtual tunnel of a tunnel for example, a Layer 2 Tunneling Protocol (L2TP) VPN tunnel.
  • L2TP Layer 2 Tunneling Protocol
  • the encapsulating the target packet on the second tunnel may be performed by performing L2TP encapsulation on the target packet.
  • the first device analyzes a load status of each first tunnel that is spanned by the second tunnel, and selects a first tunnel that is used to transmit the target packet.
  • the foregoing analysis may be to analyze the load status of each link, or to analyze the load status such as the efficiency of each link transmission load, and the network parameters and device status related to the packet transmission.
  • the first device encapsulates the target packet to the second tunnel, and encapsulates the packet encapsulated in the second tunnel on the first tunnel for transmitting the target packet, and Transmitting a packet encapsulated in the first tunnel for transmitting the target packet to the second device by using the first tunnel.
  • the packet encapsulated on the second tunnel is encapsulated in the first tunnel used for transmitting the target packet, that is, the pair is to be encapsulated in the
  • the packet on the second tunnel is GRE encapsulated.
  • the method may further include: the first device converting the target packet into a target packet of a public network IP address.
  • the foregoing converting the target packet into a target packet of the public network IP address, that is, converting the IP address of the target packet into a public network IP address, for example, performing network address translation on the target message (Network Address Translation, NAT) ).
  • NAT Network Address Translation
  • the public IP address of the public network may be a public network IP address obtained from a Dynamic Host Configuration Protocol (DHCP) server or a public network IP address obtained from a PPPoE server.
  • DHCP Dynamic Host Configuration Protocol
  • PPPoE Public Network Protocol
  • the first device may be a home gateway device
  • the second device may be a server, that is, the target packet is an uplink packet.
  • the first tunnel is a tunnel that crosses the virtual link, and the packet encapsulated in the first tunnel for transmitting the target packet is sent to the first tunnel in the step 204.
  • the second device may include:
  • the first device encapsulates the packet encapsulated in the first tunnel for transmitting the target packet to the virtual link spanned by the first tunnel, and sends the packet encapsulated on the virtual link to the packet The second device.
  • the virtual link can include:
  • PPP Point to Point Protocol
  • PPPoE integrated to point protocol over Ethernet
  • the link that the first device is connected to the second device includes:
  • each link established by the first device and the second device is an independent interface on the first device.
  • the link between the first device and the second device includes a DSL and an LTE link, and then the first device.
  • the DSL interface is configured to establish a DSL link with the second device
  • the first device further includes an LTE link, configured to establish an LTE link with the second device.
  • Each link established by the first device and the second device may have the same interface on the second device, that is, one interface of the second device establishes multiple links with multiple interfaces of the first device.
  • the first tunnel established in the connection between the first device and the second device in step 201 may be a DSL interface in the first device.
  • the first device may be a home gateway device, and the second device may be a server, that is, the target packet is an uplink packet.
  • the link that the first device is connected to the second device includes:
  • each link established by the first device through different interfaces of the second device by using the same interface. That is, each link established by the first device and the second device is the same interface on the first device.
  • the link between the first device and the second device includes a DSL and an LTE link, and then the first device is configured. There can be only one interface for establishing a DSL link with the second device and establishing an LTE link.
  • Each link established by the first device and the second device may be a separate interface on the second device, that is, multiple interfaces of the second device respectively establish multiple links with one interface of the first device.
  • step 201 may be that the interface in the first device establishes a first tunnel with the DSL interface and the LTE interface of the second device.
  • the first device may be a server
  • the second device may be a home gateway device, that is, the target packet is a downlink packet.
  • the first device encapsulates the target packet encapsulated on the first tunnel.
  • the second device After being sent to the second device, the second device performs decapsulation on the obtained encapsulated packet corresponding to the first tunnel to obtain the encapsulated packet corresponding to the second tunnel, and the second device performs the packet Reorganizing, and then stripping the reassembled encapsulation package and the encapsulation corresponding to the second tunnel to extract the target packet.
  • the decapsulation corresponding to the first tunnel and the encapsulation of the step 204 are one-to-one correspondence.
  • the decapsulation is a GRE encapsulation
  • the encapsulation corresponding to the two tunnels is one-to-one corresponding to the encapsulation of the step 204.
  • the stripping is to strip the L2TP.
  • the second device may acquire the second device.
  • the target message is sent to the target address corresponding to the target message.
  • the second device may also perform NAT on the target packet, that is, convert the public network IP address of the target packet into the downlink device of the second device.
  • the IP address and the converted target message is sent to the attached device of the second device.
  • FIG. 3 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention. As shown in FIG. 3, the method includes: a first establishing unit 31, a second establishing unit 32, an analyzing unit 33, and a sending unit 34, where:
  • a first establishing unit 31 configured to respectively establish a first tunnel in a plurality of different types of links in which the data transmission device and the second device have established a communication connection;
  • a second establishing unit 32 configured to establish a second tunnel that spans the first tunnel established in the multiple different types of links
  • the analyzing unit 33 is configured to analyze a load state of each first tunnel that is spanned by the second tunnel, and select a first tunnel for transmitting a target packet;
  • the sending unit 34 is configured to encapsulate the target packet to the second tunnel, and send, by the first tunnel for transmitting the target packet, the packet encapsulated on the second tunnel to the Second device.
  • the data transmission device may be a home gateway device
  • the second device may be a server, for example, a convergence server.
  • the target packet may be sent by a home gateway device. Upstream message.
  • the data transmission device may be a server device, for example, a convergence server, where the second device may be a home gateway device.
  • the target packet may be a downlink packet sent by the network side. .
  • the data transmission device establishes a first tunnel in each link between the data transmission device and the second device; and the data transmission device and the second device are established across each link.
  • Establishing a second tunnel of the first tunnel the data transmission device analyzes a load status of each of the first tunnels spanned by the second tunnel, and selects a first tunnel for transmitting a target packet;
  • the packet is encapsulated on the second tunnel, and the packet encapsulated on the second tunnel is sent to the second device by using the first tunnel for transmitting the target packet, that is, according to each first
  • the load state of the tunnel selects the first tunnel for transmitting packets, so that the transmission path is allocated reasonably, which can improve the utilization of links supported by the network device.
  • FIG. 4 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention. As shown in FIG. 4, the method includes: a first establishing unit 41, a second establishing unit 42, an analyzing unit 43, and a sending unit 44, where:
  • a first establishing unit 41 configured to respectively establish a first tunnel in a plurality of different types of links in which the data transmission device and the second device have established a communication connection;
  • a second establishing unit 42 configured to establish a second tunnel spanning the first tunnel established in the plurality of different types of links
  • the analyzing unit 43 is configured to analyze a load state of each first tunnel that is spanned by the second tunnel, and select a first tunnel for transmitting a target packet;
  • the sending unit 44 is configured to encapsulate the target packet to the second tunnel, and encapsulate the packet encapsulated in the second tunnel on the first tunnel used for transmitting the target packet. and Transmitting a packet encapsulated in the first tunnel for transmitting the target packet to the second device by using the first tunnel.
  • the link that the foregoing data transmission device connects to the second device may include:
  • DSL link and LTE link are only examples of the embodiments of the present invention, and the number, hierarchy, configuration, and path of the links are not limited in the embodiment of the present invention.
  • the foregoing first tunnel may be a GRE tunnel.
  • it can also be other tunnels, such as VPN tunnels.
  • the foregoing second tunnel may be a virtual tunnel that crosses each link of the data transmission device and the second device, for example, a Layer 2 Tunneling Protocol (L2TP) VPN tunnel.
  • L2TP Layer 2 Tunneling Protocol
  • the encapsulating the target message on the second tunnel may be performed by performing L2TP encapsulation on the target packet.
  • the foregoing analysis may be to analyze the load status of each link, or to analyze the load status such as the efficiency of each link transmission load, and the network parameters and device status related to the packet transmission.
  • the data transmission device may further include:
  • a conversion unit (not shown in the drawing) for converting the target message into a target message of a public network IP address.
  • the foregoing destination packet is converted into a target packet of a public network IP address, and the IP address of the target packet is converted into a public network IP address, for example, the target packet is NATed.
  • the public network IP address may be a public network IP address obtained from a DHCP server or a public network IP address obtained from a PPP server.
  • the data transmission device may be a home gateway device, and the second device may be a server, that is, the target packet is an uplink packet.
  • the first tunnel is a tunnel that spans the virtual link
  • the sending unit 44 is further configured to encapsulate the packet encapsulated in the first tunnel for transmitting the target packet to the first A virtual link spanned by the tunnel, and the packet encapsulated on the virtual link is sent to the second device.
  • the three-layer encapsulation of the target packet is performed, where the foregoing first virtual link may include: PPP link or PPPoE link.
  • the link that the data transmission device connects to the second device includes:
  • a plurality of links established by the data transmission device with the second device through different interfaces that is, each link established between the data transmission device and the second device is a separate interface on the data transmission device.
  • the link connecting the data transmission device and the second device includes a DSL and an LTE link, and then the data transmission device
  • the DSL interface is configured to establish a DSL link with the second device
  • the data transmission device further includes an LTE link, configured to establish an LTE link with the second device.
  • Each link established by the data transmission device with the second device can have the same interface on the second device, that is, one interface of the second device establishes multiple links with multiple interfaces of the data transmission device.
  • the data transmission device may be a home gateway device
  • the second device may be a server, that is, the target packet is an uplink packet.
  • the link that the data transmission device connects to the second device includes:
  • a plurality of links established by the data transmission device through different interfaces of the second device through the same interface That is, each link established between the data transmission device and the second device is the same interface on the data transmission device.
  • the link connecting the data transmission device and the second device includes a DSL and an LTE link, and then the data transmission device is used. There can be only one interface for establishing a DSL link with the second device and establishing an LTE link.
  • Each link established by the data transmission device with the second device may be a separate interface on the second device, that is, multiple interfaces of the second device respectively establish multiple links with one interface of the data transmission device.
  • the data transmission device may be a server, and the second device may be a home gateway device, that is, the target packet is a downlink packet.
  • the second device after the data transmission device sends the target packet encapsulated in the first tunnel to the second device, the second device performs decapsulation on the obtained encapsulated packet corresponding to the first tunnel to obtain The encapsulation packet of the target packet corresponding to the second tunnel, the second device reassembles the packet, and then strips the reassembled encapsulation packet and the encapsulation corresponding to the second tunnel to extract the target packet.
  • the second device When the second device is a server, the second device can send the obtained target message to the target address corresponding to the target message.
  • FIG. 5 is a schematic structural diagram of a multi-link based data transmission system according to an embodiment of the present invention. As shown in FIG. 5, the method includes: a first device 51 and a second device 52, where:
  • the first device 51 is configured to establish a first tunnel in each of a plurality of different types of links in which the first device 51 and the second device 52 have established a communication connection, and establish establishing across the plurality of different types of links.
  • a second tunnel of the first tunnel and analyzing a load state of each of the first tunnels spanned by the second tunnel, selecting a first tunnel for transmitting a target message, and encapsulating the target packet to On the second tunnel, the packet encapsulated on the second tunnel is sent to the second device 52 through the first tunnel for transmitting the target packet;
  • the second device 52 is configured to receive the packet sent by the first device by using the first tunnel for transmitting the target packet, and decapsulate the packet to obtain the target packet.
  • the first device 51 may be further configured to encapsulate the packet encapsulated on the second tunnel on the first tunnel for transmitting the target packet, and encapsulate the packet in the first tunnel.
  • the packet of the first tunnel for transmitting the target packet is sent to the second device by using the first tunnel.
  • the first device may be a home gateway device
  • the second device may be a server, for example, a convergence server.
  • the packet may be an uplink sent by the home gateway device. Message.
  • the first device may be a server device, for example, a convergence server, and the second device may be a home gateway device.
  • the packet may be a downlink packet sent by the network.
  • the first device establishes a first tunnel in each of multiple different types of links in which the first device and the second device have established a communication connection; the first device establishes spanning the multiple different types.
  • the device encapsulates the target packet to the second tunnel, and encapsulates the packet in the
  • the packet on the second tunnel is sent to the second device by using the first tunnel for transmitting the target packet, that is, the first tunnel for transmitting the packet is selected according to the load state of each first tunnel, thereby Reasonable allocation of transmission paths can increase the utilization of links supported by network devices.
  • FIG. 6 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention.
  • the device includes: a memory 61 and a transmitter 6, and a processor 63 connected to the memory 61 and the transmitter 62, and the memory.
  • 61 stores a set of degree codes
  • the program used by the processor 63 to call the memory store performs the following operations:
  • Encapsulating the target packet to the second tunnel and transmitting, by the transmitter 62, the packet encapsulated on the second tunnel to the second tunnel by using the first tunnel for transmitting the target packet device.
  • the data transmission device may be a home gateway device
  • the second device may be a server, for example, a convergence server.
  • the packet may be an uplink sent by the home gateway device. Message.
  • the foregoing data transmission device may be a server device, for example, a convergence server, where the second device may be a home gateway device.
  • the packet may be a downlink packet sent by the network.
  • the data transmission device establishes a first tunnel in each of a plurality of different types of links in which the data transmission device and the second device have established a communication connection; the data transmission device establishes across the plurality of different types. a second tunnel of the first tunnel established in the link; the first device analyzes a load state of each of the first tunnels spanned by the second tunnel, and selects a first tunnel for transmitting a target packet; The device encapsulates the target packet to the second tunnel, and sends the packet encapsulated on the second tunnel to the second device by using the first tunnel for transmitting the target packet, that is, , selecting a transmission report according to the load status of each first tunnel
  • the first tunnel of the text so as to allocate the transmission path reasonably, can improve the utilization of the link supported by the network device.
  • FIG. 7 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention.
  • the device includes: a memory 71 and a transmitter 72, and a processor 73 connected to the memory 71 and the transmitter 72, and the memory.
  • 71 stores a set of degree codes
  • the program used by the processor 73 to call the memory store performs the following operations:
  • the packet encapsulated in the first tunnel for transmitting the target packet is sent to the second device by using the first tunnel.
  • the link that the foregoing data transmission device connects to the second device may include:
  • DSL link and LTE link are only examples of the embodiments of the present invention, and the number, hierarchy, configuration, and path of the links are not limited in the embodiment of the present invention.
  • the foregoing first tunnel may be a GRE tunnel.
  • GRE tunnel may also be other point-to-point tunnels, such as VPN tunnels.
  • the foregoing second tunnel may be a virtual tunnel that crosses each link of the data transmission device and the second device, for example: an L2TP VPN tunnel.
  • the encapsulating the target packet on the second tunnel may be performed by performing L2TP encapsulation on the target packet.
  • the foregoing analysis may be to analyze the load status of each link, or to analyze the load status such as the efficiency of each link transmission load, and the network parameters and device status related to the packet transmission.
  • the processor 73 may be further configured to perform before performing an operation of establishing a first tunnel in each link of the data transmission device and the second device. Do the following:
  • the foregoing converting the target packet into a target packet of the public network IP address, that is, converting the IP address of the target packet into a public network IP address, for example, performing network address translation on the target message (Network Address Translation, NAT) ).
  • NAT Network Address Translation
  • the public IP address of the public network may be a public network IP address obtained from a Dynamic Host Configuration Protocol (DHCP) server or a public network IP address obtained from a PPPoE server.
  • DHCP Dynamic Host Configuration Protocol
  • PPPoE Public Network Protocol
  • the data transmission device may be a home gateway device, and the second device may be a server, that is, the target packet is an uplink packet.
  • the foregoing first tunnel is a tunnel that crosses the virtual link
  • the packet that is executed by the processor 73 is used by the transmitter 72 to encapsulate the packet encapsulated in the first tunnel for transmitting the target packet.
  • the sending of the first tunnel to the second device may include:
  • the packet encapsulated in the first tunnel for transmitting the target packet is encapsulated onto the virtual link spanned by the first tunnel, and the packet encapsulated on the virtual link is sent by the transmitter 72. To the second device.
  • the virtual link can include:
  • PPP Point to Point Protocol
  • PPPoE integrated to point protocol over Ethernet
  • the link that the data transmission device connects to the second device includes:
  • the link that the data transmission device connects to the second device includes:
  • the second device When the second device is a server, the second device can send the obtained target message to the target address corresponding to the target message.
  • the second device When the second device is the home gateway device, after the second device extracts the target packet, the second device may also perform NAT on the target packet, that is, convert the public network IP address of the target packet into the second device. The IP address of the device to be connected is sent to the device connected to the second device.
  • the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Landscapes

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

Abstract

本发明实施例公开了一种基于多链路的数据传输方法,包括:第一设备在所述第一设备与所述第二设备已建立通信连接的多个不同类型的链路中分别建立第一隧道;第一设备建立跨越所述多个不同类型的链路中建立的第一隧道的第二隧道;第一设备分析所述第二隧道所跨越的每个第一隧道的负载状态,选择出用于传输目标报文的第一隧道;第一设备将所述目标报文封装至所述第二隧道上,并将封装在所述第二隧道上的报文通过所述用于传输目标报文的第一隧道发送至所述第二设备。相应地,本发明实施例还提供了一种数据传输设备。本发明实施例可以提高网络设备所支持的链路的利用率。

Description

一种基于多链路的数据传输方法及设备
本申请要求于 2013年 02月 28日提交中国专利局、 申请号为 201310066030.8、 发明名称为 "一种基于多链路的数据传输方法及设备" 的 中国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域 本发明涉及通信领域, 一种基于多链路的数据传输方法及设备。
背景技术 目前支持多种链路的网络设备应用越来越多广泛, 例如, 同时支持数 据用户专线(Digital Subscriber Line, DSL ) 网络和长期演进(Long Term
Evolution, LTE ) 网络的链路的网络设备。 其中, 将不同的业务固定承载在 不同的链路上, 为目前支持多种链路的网络设备应用最为广泛的实现方式。 例如, 将网络电视业务和互联网业务承载在 DSL网络的链路上, 将语音业 务承载在 LTE网络的链路上。
但上述技术方案中, 由于将网络设备所支持的链路都固定承载某些业 务, 而用户使用的业务是不固定的, 例如, 在时间段 A用户使用的网络电 视业务比较多, 而语音业务很少, 这样用于承载网络电视业务的链路的负 荷就很大, 而用于承载语音业务的链路的负荷就很少, 从而使网络设备所 支持的链路的利用率很低。 发明内容 本发明实施例提供了一种基于多链路的数据传输方法及设备, 可以提 高网络设备所支持的链路的利用率。
第一方面, 本发明实施例提供一种基于多链路的数据传输方法, 包括: 所述第一设备在所述第一设备与所述第二设备已建立通信连接的多个 不同类型的链路中分别建立第一隧道;
所述第一设备建立跨越所述多个不同类型的链路中建立的第一隧道的 第二隧道;
所述第一设备分析所述第二隧道所跨越的每个第一隧道的负载状态, 选择出用于传输目标报文的第一隧道;
所述第一设备将所述目标报文封装至所述第二隧道上, 并将封装在所 述第二隧道上的报文通过所述用于传输目标报文的第一隧道发送至所述第 二设备。
在第一种可能的实施方式中, 所述将封装在所述第二隧道上的报文通 过所述用于传输目标报文的第一隧道发送至所述第二设备, 包括:
所述第一设备将封装在所述第二隧道上的报文封装在所述用于传输目 标报文的第一隧道上, 并将封装在所述用于传输目标报文的第一隧道的报 文通过该第一隧道发送至所述第二设备。
结合第一方面的第一种可能的实施方式中, 所述第一隧道为跨越虚拟 链路的隧道, 在第二种可能的实现方式中, 所述将封装在所述用于传输目 标报文的第一隧道的报文通过该第一隧道发送至所述第二设备, 包括: 第一设备将封装在所述用于传输目标报文的第一隧道的报文封装至该 第一隧道所跨越的虚拟链路上, 并将封装在所述虚拟链路上的报文发送至 所述第二设备。
结合上述任一实现方式, 在第三种可能的实现方式中, 所述第一设备 与所述第二设备连接包括:
所述第一设备通过不同的接口与所述第二设备建立的链路; 或者 所述第二设备通过同一接口与所述第二设备的不同接口建立的链路。 第二方面, 本发明实施例提供一种数据传输设备, 包括: 第一建立单 元、 第二建立单元、 分析单元、 和发送单元, 其中:
所述第一建立单元, 用于在所述数据传输设备与所述第二设备已建立 通信连接的多个不同类型的链路中分别建立第一隧道;
所述第二建立单元, 用于建立跨越所述多个不同类型的链路中建立的 第一隧道的第二隧道;
所述分析单元, 用于分析所述第二隧道所跨越的每个第一隧道的负载 状态, 选择出用于传输目标报文的第一隧道;
所述发送单元, 用于将所述目标报文封装至所述第二隧道上, 将封装 在所述第二隧道上的报文通过所述用于传输所述数据传输设备中需要发送 给所述第二设备的第一隧道发送至所述第二设备。
在第一种可能的实现方式中, 所述发送单元还用于将封装在所述第二 隧道上的报文封装在所述用于传输目标报文的第一隧道上, 并将封装在所 述用于传输目标报文的第一隧道的报文通过该第一隧道发送至所述第二设 备。
结合第二方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述第一隧道为跨越虚拟链路的隧道, 所述发送单元将封装在所述用于传 输目标报文的第一隧道的报文封装至该第一隧道所跨越的虚拟链路上, 并 将封装在所述虚拟链路上的报文发送至所述第二设备。
结合第二方面的上述任一实现方式, 在第三种可能的实现方式中, 所 述数据传输设备与所述第二设备连接包括:
所述数据传输设备通过不同的接口与所述第二设备建立的链路; 或者 所述第二设备通过同一接口与所述第二设备的不同接口建立的链路。 第三方面, 本发明实施例还提供一种基于多链路的数据传输系统, 包 括: 第一设备和第二设备, 其中:
所述第一设备, 用于在所述第一设备与第二设备已建立通信连接的多 个不同类型的链路中分别建立第一隧道, 并建立跨越所述多个不同类型的 链路中建立的第一隧道的第二隧道, 以及分析所述第二隧道所跨越的每个 第一隧道的负载状态, 选择出用于传输目标报文的第一隧道, 以及将所述 目标报文封装至所述第二隧道上, 将封装在所述第二隧道上的报文通过所 述用于传输目标报文的第一隧道发送至所述第二设备;
所述第二设备, 用于通过所述用于传输目标报文的第一隧道接收所述 第一设备发送的报文, 并对该报文进行解封装, 以得到所述目标报文。
在第一种可能的实现方式中, 所述第一设备还用于将封装在所述第二 隧道上的报文封装在所述用于传输目标报文的第一隧道上, 并将封装在所 述用于传输目标报文的第一隧道的报文通过该第一隧道发送至所述第二设 备。
上述技术方案中, 第一设备在所述第一设备与所述第二设备已建立通 信连接的多个不同类型的链路中分别建立第一隧道; 第一设备建立跨越所 述多个不同类型的链路中建立的第一隧道的第二隧道; 第一设备分析所述 第二隧道所跨越的每个第一隧道的负载状态, 选择出用于传输目标报文的 第一隧道; 第一设备将所述目标报文封装至所述第二隧道上, 将封装在所 述第二隧道上的报文通过所述用于传输目标报文的第一隧道发送至所述第 二设备, 即, 根据每个第一隧道的负载状态选择传输报文的第一隧道, 从 而合理的分配传输路径, 这样可以提高网络设备所支持的链路的利用率。
附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附 图。
图 1 是本发明实施例提供的一种基于多链路的数据传输方法的流程示 意图;
图 2是本发明实施例提供的另一种基于多链路的数据传输方法的流程 示意图;
图 3是本发明实施例提供的一种数据传输设备的结构示意图; 图 4是本发明实施例提供的另一种数据传输设备的结构示意图; 图 5是本发明实施例提供的一种基于多链路的数据传输系统的结构示 意图;
图 6是本发明实施例提供的一种数据传输设备的结构示意图; 图 7是本发明实施例提供的另一种数据传输设备的结构示意图。
具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。
图 1 是本发明实施例提供的一种基于多链路的数据传输方法的流程示 意图, 如图 1所示, 包括:
101、 第一设备在所述第一设备与第二设备已建立通信连接的多个不同 类型的链路中分别建立第一隧道;
102、 第一设备建立跨越所述多个不同类型的链路中建立的第一隧道的 第二隧道;
103、 第一设备分析所述第二隧道所跨越的每个第一隧道的负载状态, 选择出用于传输目标报文的第一隧道;
104、 第一设备将所述目标报文封装至所述第二隧道上, 将封装在所述 第二隧道上的报文通过所述用于传输目标报文的第一隧道发送至所述第二 设备。
作为一种可选的实施方式, 上述第一设备可以是家庭网关设备, 上述 第二设备可以是服务器, 例如, 汇聚服务器; 该实施方式中上述报文可以 是家庭网关设备下挂设备发送的上行报文。
作为一种可选的实施方式, 上述第一设备可以是服务器设备, 例如: 汇聚服务器, 上述第二设备可以是家庭网关设备; 该实施方式中上述报文 可以是网络侧发送的下行报文。
上述技术方案中, 第一设备在所述第一设备与所述第二设备已建立通 信连接的多个不同类型的链路中分别建立第一隧道; 第一设备建立跨越所 述多个不同类型的链路中建立的第一隧道的第二隧道; 第一设备分析所述 第二隧道所跨越的每个第一隧道的负载状态, 选择出用于传输目标报文的 第一隧道; 第一设备将所述目标报文封装至所述第二隧道上, 将封装在所 述第二隧道上的报文通过所述用于传输目标报文的第一隧道发送至所述第 二设备, 即, 根据每个第一隧道的负载状态选择传输报文的第一隧道, 从 而合理的分配传输路径, 这样可以提高网络设备所支持的链路的利用率。 图 2是本发明实施例提供的另一种基于多链路的数据传输方法的流程 示意图, 如图 2所示, 包括:
201、 第一设备在所述第一设备与所述第二设备已建立通信连接的多个 不同类型的链路中分别建立第一隧道;
可选的, 上述第一设备与所述第二设备连接的链路可以包括: 数字用户线路( Digital Subscriber Line, DSL )链路和长期演进( Long
Term Evolution, LTE )链路。 当然 DSL和 LTE链路仅是本发明实施例的例 子, 本发明实施例对链路的数量、 层次、 形态和路径都不作限定。
可选的, 上述第一隧道可以是通用路由封装 ( Generic Route
Encapsulation, GRE )隧道。 当然还可以是其它点对点隧道, 例如, 虚拟专 用网络( Virtual Private Network , VPN ) 隧道等。
202、 第一设备建立跨越所述多个不同类型的链路中建立的第一隧道的 第二隧道;
可选的, 上述跨越是指第二隧道承载在上述多个不同类型的链路中建 立的第一隧道上, 且第二隧道的源点的报文可以通过第二隧道跨越的任一 第一隧道传输至第二隧道的终点。
可选的, 上述链路中建立第一隧道, 本发明实施例对在一个链路上建 立一个第一隧道之后, 是否还可以建立其它隧道不作限定。
可选的, 上述第二隧道可以是跨越多个不同类型的链路中建立的第一 隧道的虚拟隧道,例如:第二层隧道协议( Layer 2 Tunneling Protocol, L2TP ) 的 VPN隧道。 上述将所述目标报文封装在所述第二隧道上可以是指将上述 目标报文进行 L2TP封装。
203、 第一设备分析所述第二隧道所跨越的每个第一隧道的负载状态, 选择出用于传输目标报文的第一隧道。
可选的, 上述分析可以是分析每个链路的所承载的负载状态, 还可以 是分析每个链路传输负载的效率等负载状态, 等与报文传输相关网络参数 和设备状态。
204、 第一设备将所述目标报文封装至所述第二隧道上, 并将封装在所 述第二隧道上的报文封装在所述用于传输目标报文的第一隧道上, 并将封 装在所述用于传输目标报文的第一隧道的报文通过该第一隧道发送至所述 第二设备。
可选的, 当上述第一隧道为 GRE隧道时, 上述将封装在所述第二隧道 上的报文封装在所述用于传输目标报文的第一隧道上, 即指对将封装在所 述第二隧道上的报文进行 GRE封装。
作为一种可选的实施方式, 在步骤 201之前, 所述方法还可以包括: 所述第一设备将目标报文转换成公网 IP地址的目标报文。
可选的, 上述将目标报文转换成公网 IP地址的目标报文, 即将目标报 文的 IP 地址转换为公网 IP 地址, 例如将目标 4艮文进行网络地址转换 ( Network Address Translation , NAT )。
其中, 上述公网 IP 地址可以是从动态主机设置协议(Dynamic Host Configuration Protocol, DHCP )服务器上获取的公网 IP 地址, 也可是从 PPPoE服务器上获取的公网 IP地址。 该实施方式中, 上述第一设备可以是 家庭网关设备, 上述第二设备可以是服务器, 即上述目标报文为上行报文。
作为一种可选的实施方式, 上述第一隧道为跨越虚拟链路的隧道, 步 骤 204 中的将封装在所述用于传输目标报文的第一隧道的报文通过该第一 隧道发送至所述第二设备, 可以包括:
第一设备将封装在所述用于传输目标报文的第一隧道的报文封装至该 第一隧道所跨越的虚拟链路上, 并将封装在所述虚拟链路上的报文发送至 所述第二设备。
这样可以实现对目标报文进行三层封装, 其中, 上述虚拟链路可以包 括:
点对点协议( Point to Point Protocol , PPP )链路或者以太网上的 PPP ( oint to point protocol over Ethernet, PPPoE )链路。
可选的, 所述第一设备与第二设备连接的链路包括:
第一设备通过不同的接口与所述第二设备建立的多个链路。 即第一设 备与第二设备建立的每个链路在第一设备上都是一个独立的接口, 例如, 第一设备与第二设备连接的链路包括 DSL和 LTE链路,那么第一设备上就 包括 DSL接口, 用于与第二设备建立 DSL链路, 第一设备还包括 LTE链 路, 用于与第二设备建立 LTE链路。 第一设备与第二设备建立的每个链路 在第二设备可以同一个接口, 即第二设备的一个接口分别与第一设备的多 个接口建立多个链路。例如,上述链路为 DSL链路和 LTE链路时,步骤 201 中的在所述第一设备与所述第二设备连接的链路上建立第一隧道可以是, 第一设备中的 DSL接口和 LTE接口分别与第二设备建立第一隧道。 其中, 上述第一设备可以是家庭网关设备, 上述第二设备可以是服务器, 即上述 目标报文为上行报文。
可选的, 所述第一设备与第二设备连接的链路包括:
第一设备通过同一接口与所述第二设备的不同接口建立的多个链路。 即第一设备与第二设备建立的每个链路在第一设备上都是同一个接口, 例 如, 第一设备与第二设备连接的链路包括 DSL和 LTE链路, 那么第一设备 上就可以只有一个接口, 用于与第二设备建立 DSL链路和建立 LTE链路。 第一设备与第二设备建立的每个链路在第二设备可以是一个独立的接口, 即第二设备的多个接口分别与第一设备的一个接口建立多个链路。 例如, 上述链路为 DSL链路和 LTE链路时, 步骤 201可以是第一设备中的接口与 第二设备的 DSL接口和 LTE接口建立第一隧道。 其中, 上述第一设备可以 是服务器, 上述第二设备可以是家庭网关设备, 即上述目标报文为下行报 文。
作为一种可选的实施方式, 第一设备将封装在第一隧道上的目标报文 发送至第二设备后, 第二设备对获取的封装包进行与第一隧道对应的解封 装以获取到与第二隧道对应的包含目标报文的封装包, 第二设备再对其进 行报文重组, 再剥离重组后的封装包与第二隧道对应的封装, 以提取出目 标报文。 其中, 上述与第一隧道对应的解封装和步骤 204 的封装是一一对 应的, 例如, 上述第一隧道为 GRE隧道时, 该解封装就是解 GRE封装; 上述剥离重组后的封装包与第二隧道对应的封装和步骤 204 的封装是一一 对应的, 例如, 上述第二隧道为 L2TP隧道时, 该剥离就是剥离 L2TP的封 当第二设备为服务器时, 第二设备就可以将获取的目标报文发送至目 标才艮文对应的目标地址。
当第二设备为家庭网关设备时, 第二设备提取出目标报文后, 第二设 备还可以对目标报文进行 NAT , 即将目标报文的公网 IP地址转换为第二设 备的下挂设备的 IP地址,并将转换后的目标报文发送第二设备的下挂设备。
上述技术方案中, 在上面实施例的基础, 介绍多种可选的提高网络设 备所支持的链路的利用率的实施方式。 下面为本发明装置实施例, 本发明装置实施例用于执行本发明方法实 施例一至二实现的方法, 为了便于说明, 仅示出了与本发明实施例相关的 部分, 具体技术细节未揭示的, 请参照本发明实施例一和实施例二。 图 3是本发明实施例提供的一种数据传输设备的结构示意图, 如图 3 所示, 包括: 第一建立单元 31、 第二建立单元 32、 分析单元 33和发送单 元 34, 其中:
第一建立单元 31 , 用于在所述数据传输设备与第二设备已建立通信连 接的多个不同类型的链路中分别建立第一隧道;
第二建立单元 32, 用于建立跨越所述多个不同类型的链路中建立的第 一隧道的第二隧道;
分析单元 33 , 用于分析所述第二隧道所跨越的每个第一隧道的负载状 态, 选择出用于传输目标报文的第一隧道; 发送单元 34, 用于将所述目标报文封装至所述第二隧道上, 将封装在 所述第二隧道上的报文通过所述用于传输目标报文的第一隧道发送至所述 第二设备。
作为一种可选的实施方式, 上述数据传输设备可以是家庭网关设备, 上述第二设备可以是服务器, 例如, 汇聚服务器; 该实施方式中上述目标 报文可以是家庭网关设备下挂设备发送的上行报文。
作为一种可选的实施方式, 上述数据传输设备可以是服务器设备, 例 如: 汇聚服务器, 上述第二设备可以是家庭网关设备; 该实施方式中上述 目标报文可以是网络侧发送的下行报文。
上述技术方案中, 数据传输设备在所述数据传输设备与所述第二设备 连接的每个链路中建立第一隧道; 数据传输设备与第二设备之间建立跨越 所述每个链路中建立的第一隧道的第二隧道; 数据传输设备分析所述第二 隧道所跨越的每个第一隧道的负载状态, 选择出用于传输目标报文的第一 隧道; 数据传输设备所述报文封装至所述第二隧道上, 将封装在所述第二 隧道上的报文通过所述用于传输目标报文的第一隧道发送至所述第二设 备, 即, 根据每个第一隧道的负载状态选择传输报文的第一隧道, 从而合 理的分配传输路径, 这样可以提高网络设备所支持的链路的利用率。 图 4是本发明实施例提供的一种数据传输设备的结构示意图, 如图 4 所示, 包括: 第一建立单元 41、 第二建立单元 42、 分析单元 43、 和发送单 元 44, 其中:
第一建立单元 41 , 用于在所述数据传输设备与所述第二设备已建立通 信连接的多个不同类型的链路中分别建立第一隧道;
第二建立单元 42, 用于建立跨越所述多个不同类型的链路中建立的第 一隧道的第二隧道;
分析单元 43 , 用于分析所述第二隧道所跨越的每个第一隧道的负载状 态, 选择出用于传输目标报文的第一隧道;
发送单元 44, 用于将所述目标报文封装至所述第二隧道上, 并将封装 在所述第二隧道上的报文封装在所述用于传输目标报文的第一隧道上, 并 将封装在所述用于传输目标报文的第一隧道的报文通过该第一隧道发送至 所述第二设备。
可选的, 上述数据传输设备与所述第二设备连接的链路可以包括:
DSL链路和 LTE链路。 当然 DSL和 LTE链路仅是本发明实施例的例 子, 本发明实施例对链路的数量、 层次、 形态和路径都不作限定。
可选的, 上述第一隧道可以是 GRE隧道。 当然还可以是其它隧道, 例 如, VPN隧道等。
可选的, 上述第二隧道可以是跨越所述数据传输设备与所述第二设备 连接的每个链路的虚拟隧道, 例如: 第二层隧道协议(Layer 2 Tunneling Protocol, L2TP ) 的 VPN隧道。 上述将所述目标 ^艮文封装在所述第二隧道 上可以是指将上述目标报文进行 L2TP封装。
可选的, 上述分析可以是分析每个链路的所承载的负载状态, 还可以 是分析每个链路传输负载的效率等负载状态, 等与报文传输相关网络参数 和设备状态。
作为一种可选的实施方式, 所述数据传输设备还可以包括:
转换单元(附图中未画出),用于将目标报文转换成公网 IP地址的目标 报文。
可选的, 上述将目标报文转换成公网 IP地址的目标报文, 即将目标报 文的 IP地址转换为公网 IP地址, 例如将目标^艮文进行 NAT。
其中, 上述公网 IP地址可以是从 DHCP服务器上获取的公网 IP地址 或者是从 PPP服务器上获取的公网 IP地址。 该实施方式中, 上述数据传输 设备可以是家庭网关设备, 上述第二设备可以是服务器, 即上述目标报文 为上行报文。
作为一种可选的实施方式, 上述第一隧道为跨越虚拟链路的隧道, 发 送单元 44还可以用于将封装在所述用于传输目标报文的第一隧道的报文封 装至该第一隧道所跨越的虚拟链路上, 并将封装在所述虚拟链路上的报文 发送至所述第二设备。
这样可以实现对目标报文进行三层封装, 其中, 上述第一虚拟链路可 以包括: PPP链路或者 PPPoE链路。
可选的, 所述数据传输设备与第二设备连接的链路包括:
数据传输设备通过不同的接口与所述第二设备建立的多个链路。 即数 据传输设备与第二设备建立的每个链路在数据传输设备上都是一个独立的 接口, 例如, 数据传输设备与第二设备连接的链路包括 DSL和 LTE链路, 那么数据传输设备上就包括 DSL接口, 用于与第二设备建立 DSL链路,数 据传输设备还包括 LTE链路, 用于与第二设备建立 LTE链路。 数据传输设 备与第二设备建立的每个链路在第二设备可以同一个接口, 即第二设备的 一个接口分别与数据传输设备的多个接口建立多个链路。 该实施方式中, 上述数据传输设备可以是家庭网关设备, 上述第二设备可以是服务器, 即 上述目标报文为上行报文。
可选的, 所述数据传输设备与第二设备连接的链路包括:
数据传输设备通过同一接口与所述第二设备的不同接口建立的多个链 路。 即数据传输设备与第二设备建立的每个链路在数据传输设备上都是同 一个接口, 例如, 数据传输设备与第二设备连接的链路包括 DSL和 LTE链 路, 那么数据传输设备上就可以只有一个接口, 用于与第二设备建立 DSL 链路和建立 LTE链路。 数据传输设备与第二设备建立的每个链路在第二设 备可以是一个独立的接口, 即第二设备的多个接口分别与数据传输设备的 一个接口建立多个链路。 该实施方式中, 上述数据传输设备可以是服务器, 上述第二设备可以是家庭网关设备, 即上述目标报文为下行报文。
作为一种可选的实施方式, 数据传输设备将封装在第一隧道上的目标 报文发送至第二设备后, 第二设备对获取的封装包进行与第一隧道对应的 解封装以获取到与第二隧道对应的包含目标报文的封装包, 第二设备再对 其进行报文重组, 再剥离重组后的封装包与第二隧道对应的封装, 以提取 出目标报文。
当第二设备为服务器时, 第二设备就可以将获取的目标报文发送至目 标才艮文对应的目标地址。
当第二设备为家庭网关设备时, 第二设备提取出目标报文后, 第二设 备还可以对目标报文进行 NAT , 即将目标报文的公网 IP地址转换为第二设 备的下挂设备的 IP地址,并将转换后的目标报文发送第二设备的下挂设备。 上述技术方案中, 在上面实施例的基础, 介绍多种可选的提高网络设 备所支持的链路的利用率的实施方式。 图 5是本发明实施例提供的一种基于多链路的数据传输系统的结构示 意图, 如图 5所示, 包括: 第一设备 51和第二设备 52, 其中:
第一设备 51 , 用于在第一设备 51与第二设备 52已建立通信连接的多 个不同类型的链路中分别建立第一隧道, 并建立跨越所述多个不同类型的 链路中建立的第一隧道的第二隧道, 以及分析所述第二隧道所跨越的每个 第一隧道的负载状态, 选择出用于传输目标报文的第一隧道, 以及将所述 目标报文封装至所述第二隧道上, 将封装在所述第二隧道上的报文通过所 述用于传输目标报文的第一隧道发送至第二设备 52;
第二设备 52, 用于通过所述用于传输目标报文的第一隧道接收所述第 一设备发送的报文, 并对该报文进行解封装, 以得到所述目标报文。
作为一种可选的实施方式, 第一设备 51还可以用于将封装在所述第二 隧道上的报文封装在所述用于传输目标报文的第一隧道上, 并将封装在所 述用于传输目标报文的第一隧道的报文通过该第一隧道发送至所述第二设 备。
作为一种可选的实施方式, 上述第一设备可以是家庭网关设备, 上述 第二设备可以是服务器, 例如, 汇聚服务器; 该实施方式中上述报文可以 是家庭网关设备下挂设备发送的上行报文。
作为一种可选的实施方式, 上述第一设备可以是服务器设备, 例如: 汇聚服务器, 上述第二设备可以是家庭网关设备; 该实施方式中上述报文 可以是网络侧发送的下行报文。
上述技术方案中, 第一设备在所述第一设备与所述第二设备已建立通 信连接的多个不同类型的链路中分别建立第一隧道; 第一设备建立跨越所 述多个不同类型的链路中建立的第一隧道的第二隧道; 第一设备分析所述 第二隧道所跨越的每个第一隧道的负载状态, 选择出用于传输目标报文的 第一隧道; 第一设备将所述目标报文封装至所述第二隧道上, 将封装在所 述第二隧道上的报文通过所述用于传输目标报文的第一隧道发送至所述第 二设备, 即, 根据每个第一隧道的负载状态选择传输报文的第一隧道, 从 而合理的分配传输路径, 这样可以提高网络设备所支持的链路的利用率。 图 6是本发明实施例提供的另一种数据传输设备的结构示意图,如图 6 所示, 包括: 存储器 61和发射器 6, 以及与存储器 61和发射器 62连接的 处理器 63 , 且存储器 61存储一组程度代码, 处理器 63用于调用存储器存 储的程序执行如下操作:
在所述数据传输设备与第二设备已建立通信连接的多个不同类型的链 路中分别建立第一隧道;
建立跨越所述多个不同类型的链路中建立的第一隧道的第二隧道; 分析所述第二隧道所跨越的每个第一隧道的负载状态, 选择出用于传 输目标报文的第一隧道;
将所述目标报文封装至所述第二隧道上, 通过发射器 62将封装在所述 第二隧道上的报文通过所述用于传输目标报文的第一隧道发送至所述第二 设备。
作为一种可选的实施方式, 上述数据传输设备可以是家庭网关设备, 上述第二设备可以是服务器, 例如, 汇聚服务器; 该实施方式中上述报文 可以是家庭网关设备下挂设备发送的上行报文。
作为一种可选的实施方式, 上述数据传输设备可以是服务器设备, 例 如: 汇聚服务器, 上述第二设备可以是家庭网关设备; 该实施方式中上述 报文可以是网络侧发送的下行报文。
上述技术方案中, 数据传输设备在所述数据传输设备与所述第二设备 已建立通信连接的多个不同类型的链路中分别建立第一隧道; 数据传输设 备建立跨越所述多个不同类型的链路中建立的第一隧道的第二隧道; 第一 设备分析所述第二隧道所跨越的每个第一隧道的负载状态, 选择出用于传 输目标报文的第一隧道; 数据传输设备将所述目标报文封装至所述第二隧 道上, 将封装在所述第二隧道上的报文通过所述用于传输目标报文的第一 隧道发送至所述第二设备, 即, 根据每个第一隧道的负载状态选择传输报 文的第一隧道, 从而合理的分配传输路径, 这样可以提高网络设备所支持 的链路的利用率。 图 7是本发明实施例提供的另一种数据传输设备的结构示意图,如图 7 所示, 包括: 存储器 71和发射器 72, 以及与存储器 71和发射器 72连接的 处理器 73 , 且存储器 71存储一组程度代码, 处理器 73用于调用存储器存 储的程序执行如下操作:
在所述数据传输设备与所述第二设备已建立通信连接的多个不同类型 的链路中分别建立第一隧道;
建立跨越所述多个不同类型的链路中建立的第一隧道的第二隧道; 分析所述第二隧道所跨越的每个第一隧道的负载状态, 选择出用于传 输目标报文的第一隧道;
将所述目标报文封装至所述第二隧道上, 并将封装在所述第二隧道上 的报文封装在所述用于传输目标报文的第一隧道上, 并通过发射器 72将封 装在所述用于传输目标报文的第一隧道的报文通过该第一隧道发送至所述 第二设备。
可选的, 上述数据传输设备与所述第二设备连接的链路可以包括:
DSL链路和 LTE链路。 当然 DSL和 LTE链路仅是本发明实施例的例 子, 本发明实施例对链路的数量、 层次、 形态和路径都不作限定。
可选的, 上述第一隧道可以是 GRE隧道。 当然还可以是其它点对点隧 道, 例如, VPN隧道等。
可选的, 上述第二隧道可以是跨越所述数据传输设备与所述第二设备 连接的每个链路的虚拟隧道, 例如: L2TP的 VPN隧道。 上述将所述目标 报文封装在所述第二隧道上可以是指将上述目标报文进行 L2TP封装。
可选的, 上述分析可以是分析每个链路的所承载的负载状态, 还可以 是分析每个链路传输负载的效率等负载状态, 等与报文传输相关网络参数 和设备状态。
作为一种可选的实施方式, 处理器 73在执行在所述数据传输设备与所 述第二设备连接的每个链路中建立第一隧道的操作之前, 还可以用于执行 如下操作:
将目标报文转换成公网 IP地址的目标报文。
可选的, 上述将目标报文转换成公网 IP地址的目标报文, 即将目标报 文的 IP 地址转换为公网 IP 地址, 例如将目标 4艮文进行网络地址转换 ( Network Address Translation , NAT )。
其中, 上述公网 IP 地址可以是从动态主机设置协议(Dynamic Host Configuration Protocol, DHCP )服务器上获取的公网 IP 地址, 也可是从 PPPoE服务器上获取的公网 IP地址。 该实施方式中, 上述数据传输设备可 以是家庭网关设备, 上述第二设备可以是服务器, 即上述目标报文为上行 报文。
作为一种可选的实施方式, 上述第一隧道为跨越虚拟链路的隧道, 处 理器 73执行的通过发射器 72将封装在所述用于传输目标报文的第一隧道 的报文通过该第一隧道发送至所述第二设备, 可以包括:
将封装在所述用于传输目标报文的第一隧道的报文封装至该第一隧道 所跨越的虚拟链路上, 并通过发射器 72将封装在所述虚拟链路上的报文发 送至所述第二设备。
这样可以实现对目标报文进行三层封装, 其中, 上述虚拟链路可以包 括:
点对点协议( Point to Point Protocol , PPP )链路或者以太网上的 PPP ( oint to point protocol over Ethernet, PPPoE )链路。
可选的, 所述数据传输设备与第二设备连接的链路包括:
数据传输设备通过不同的接口与所述第二设备建立的多个链路。
可选的, 所述数据传输设备与第二设备连接的链路包括:
数据传输设备通过同一接口与所述第二设备的不同接口建立的多个链 路。
当第二设备为服务器时, 第二设备就可以将获取的目标报文发送至目 标才艮文对应的目标地址。
当第二设备为家庭网关设备时, 第二设备提取出目标报文后, 第二设 备还可以对目标报文进行 NAT , 即将目标报文的公网 IP地址转换为第二设 备的下挂设备的 IP地址,并将转换后的目标报文发送第二设备的下挂设备。 上述技术方案中, 在上面实施例的基础, 介绍多种可选的提高数据传 输设备所支持的链路的利用率的实施方式。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储 于一计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的 实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体
( Read-Only Memory, ROM )或随机存取存储器 ( Random Access Memory, 简称 RAM )等。
以上所揭露的仅为本发明较佳实施例而已, 当然不能以此来限定本发 明之权利范围, 因此依本发明权利要求所作的等同变化, 仍属本发明所涵 盖的范围。

Claims

权利要求
1、 一种基于多链路的数据传输方法, 其特征在于, 包括:
所述第一设备在所述第一设备与所述第二设备已建立通信连接的多个 不同类型的链路中分别建立第一隧道;
所述第一设备建立跨越所述多个不同类型的链路中建立的第一隧道的 第二隧道;
所述第一设备分析所述第二隧道所跨越的每个第一隧道的负载状态, 选择出用于传输目标报文的第一隧道;
所述第一设备将所述目标报文封装至所述第二隧道上, 并将封装在所 述第二隧道上的报文通过所述用于传输目标报文的第一隧道发送至所述第 二设备。
2、 如权利要求 1所述的方法, 其特征在于, 所述将封装在所述第二隧 道上的报文通过所述用于传输目标报文的第一隧道发送至所述第二设备, 包括:
所述第一设备将封装在所述第二隧道上的报文封装在所述用于传输目 标报文的第一隧道上, 并将封装在所述用于传输目标报文的第一隧道的报 文通过该第一隧道发送至所述第二设备。
3、 如权利要求 2所述的方法, 其特征在于, 所述第一隧道为跨越虚拟 链路的隧道, 所述将封装在所述用于传输目标报文的第一隧道的报文通过 该第一隧道发送至所述第二设备, 包括:
第一设备将封装在所述用于传输目标报文的第一隧道的报文封装至该 第一隧道所跨越的虚拟链路上, 并将封装在所述虚拟链路上的报文发送至 所述第二设备。
4、 权利要求 1-3中任一项所述的方法, 其特征在于, 所述第一设备与 所述第二设备连接包括:
所述第一设备通过不同的接口与所述第二设备建立的链路; 或者 所述第二设备通过同一接口与所述第二设备的不同接口建立的链路。
5、 一种数据传输设备, 其特征在于, 包括: 第一建立单元、 第二建立 单元、 分析单元、 和发送单元, 其中:
所述第一建立单元, 用于在所述数据传输设备与所述第二设备已建立 通信连接的多个不同类型的链路中分别建立第一隧道;
所述第二建立单元, 用于建立跨越所述多个不同类型的链路中建立的 第一隧道的第二隧道;
所述分析单元, 用于分析所述第二隧道所跨越的每个第一隧道的负载 状态, 选择出用于传输目标报文的第一隧道;
所述发送单元, 用于将所述目标报文封装至所述第二隧道上, 将封装 在所述第二隧道上的报文通过所述用于传输目标报文的第一隧道发送至所 述第二设备。
6、 如权利要求 5所述的设备, 其特征在于, 所述发送单元还用于将封 装在所述第二隧道上的报文封装在所述用于传输目标报文的第一隧道上, 并将封装在所述用于传输目标报文的第一隧道的报文通过该第一隧道发送 至所述第二设备。
7、 如权利要求 6所述的设备, 其特征在于, 所述第一隧道为跨越虚拟 链路的隧道, 所述发送单元将封装在所述用于传输目标报文的第一隧道的 报文封装至该第一隧道所跨越的虚拟链路上, 并将封装在所述虚拟链路上 的报文发送至所述第二设备。
8、 权利要求 5-7中任一项所述的设备, 其特征在于, 所述数据传输设 备与所述第二设备连接包括:
所述数据传输设备通过不同的接口与所述第二设备建立的链路; 或者 所述第二设备通过同一接口与所述第二设备的不同接口建立的链路。
9、 一种基于多链路的数据传输系统, 其特征在于, 包括: 第一设备和 第二设备, 其中:
所述第一设备, 用于在所述第一设备与第二设备已建立通信连接的多 个不同类型的链路中分别建立第一隧道, 并建立跨越所述多个不同类型的 链路中建立的第一隧道的第二隧道, 以及分析所述第二隧道所跨越的每个 第一隧道的负载状态, 选择出用于传输目标报文的第一隧道, 以及将所述 目标报文封装至所述第二隧道上, 将封装在所述第二隧道上的报文通过所 述用于传输目标报文的第一隧道发送至所述第二设备;
所述第二设备, 用于通过所述用于传输目标报文的第一隧道接收所述 第一设备发送的报文, 并对该报文进行解封装, 以得到所述目标报文。
10、 如权利要求 9所述的系统, 其特征在于, 所述第一设备还用于将封装 在所述第二隧道上的报文封装在所述用于传输目标报文的第一隧道上, 并 将封装在所述用于传输目标报文的第一隧道的报文通过该第一隧道发送至 所述第二设备。
PCT/CN2014/072125 2013-02-28 2014-02-17 一种基于多链路的数据传输方法及设备 WO2014131330A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP17175609.1A EP3294006B1 (en) 2013-02-28 2014-02-17 Multilink-based data transmission method and device
EP14757067.5A EP2858415B1 (en) 2013-02-28 2014-02-17 Multi-link-based data transmission method and device
US14/586,287 US9531631B2 (en) 2013-02-28 2014-12-30 Multilink-based data transmission method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310066030.8 2013-02-28
CN201310066030.8A CN104022968B (zh) 2013-02-28 2013-02-28 一种基于多链路的数据传输方法及设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/586,287 Continuation US9531631B2 (en) 2013-02-28 2014-12-30 Multilink-based data transmission method and device

Publications (1)

Publication Number Publication Date
WO2014131330A1 true WO2014131330A1 (zh) 2014-09-04

Family

ID=51427519

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/072125 WO2014131330A1 (zh) 2013-02-28 2014-02-17 一种基于多链路的数据传输方法及设备

Country Status (4)

Country Link
US (1) US9531631B2 (zh)
EP (2) EP3294006B1 (zh)
CN (2) CN104022968B (zh)
WO (1) WO2014131330A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683211A (zh) * 2015-03-23 2015-06-03 肖骏 一种对虚拟网络隧道加速的方法及系统
CN110838977B (zh) * 2019-11-13 2020-11-27 北京连山时代科技有限公司 一种基于ospf协议的多路并发传输方法和系统

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102420745A (zh) * 2011-11-04 2012-04-18 迈普通信技术股份有限公司 一种3g通信的方法和系统
CN102450053A (zh) * 2009-04-17 2012-05-09 高通股份有限公司 采用ip流移动性的无线数据通信

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7489700B2 (en) * 2002-11-20 2009-02-10 Hitachi Communication Technologies, Ltd. Virtual access router
US8260922B1 (en) * 2005-09-16 2012-09-04 Cisco Technology, Inc. Technique for using OER with an ECT solution for multi-homed sites
US8270413B2 (en) * 2005-11-28 2012-09-18 Cisco Technology, Inc. Method and apparatus for self-learning of VPNS from combination of unidirectional tunnels in MPLS/VPN networks
US7765306B2 (en) * 2006-01-30 2010-07-27 Cisco Technology, Inc. Technique for enabling bidirectional forwarding detection between edge devices in a computer network
US20090285103A1 (en) * 2006-07-07 2009-11-19 Panasonic Corporation Apparatus for controlling tunneling loop detection
CN100550856C (zh) * 2007-02-01 2009-10-14 华为技术有限公司 传输点对点报文的方法以及传输汇聚节点
US8272046B2 (en) * 2007-11-13 2012-09-18 Cisco Technology, Inc. Network mobility over a multi-path virtual private network
WO2010020151A1 (zh) * 2008-08-18 2010-02-25 成都市华为赛门铁克科技有限公司 报文处理方法、装置和系统
JP2012129648A (ja) * 2010-12-13 2012-07-05 Fujitsu Ltd サーバ装置、管理装置、転送先アドレス設定プログラムおよび仮想ネットワークシステム
CN102594785B (zh) * 2011-01-14 2015-09-30 华为技术有限公司 Ip安全隧道建立方法、装置和网络设备
US8873398B2 (en) * 2011-05-23 2014-10-28 Telefonaktiebolaget L M Ericsson (Publ) Implementing EPC in a cloud computer with openflow data plane
US8762501B2 (en) * 2011-08-29 2014-06-24 Telefonaktiebolaget L M Ericsson (Publ) Implementing a 3G packet core in a cloud computer with openflow data and control planes
CN102394803B (zh) * 2011-10-28 2015-01-07 华为技术有限公司 Vpn业务的规划部署方法和系统
CN102404221A (zh) * 2011-11-27 2012-04-04 深圳市掌控无限科技有限公司 一种多链路聚合的数据传输方法及系统
CN102594646B (zh) * 2011-12-31 2015-11-25 华为数字技术(成都)有限公司 一种因特网协议安全隧道切换方法、装置及传输系统
US8837300B2 (en) * 2012-06-05 2014-09-16 Cisco Technology, Inc. Managing trace requests over tunneled links

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102450053A (zh) * 2009-04-17 2012-05-09 高通股份有限公司 采用ip流移动性的无线数据通信
CN102420745A (zh) * 2011-11-04 2012-04-18 迈普通信技术股份有限公司 一种3g通信的方法和系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2858415A4 *

Also Published As

Publication number Publication date
US9531631B2 (en) 2016-12-27
EP2858415B1 (en) 2017-08-16
CN104022968A (zh) 2014-09-03
EP3294006A1 (en) 2018-03-14
CN107171972B (zh) 2020-10-09
EP3294006B1 (en) 2020-08-26
EP2858415A4 (en) 2015-07-29
CN107171972A (zh) 2017-09-15
US20150117212A1 (en) 2015-04-30
CN104022968B (zh) 2017-06-27
EP2858415A1 (en) 2015-04-08

Similar Documents

Publication Publication Date Title
US11356294B2 (en) Packet processing method and device
WO2015003391A1 (zh) Gre隧道实现方法、接入设备和汇聚网关
WO2013182066A1 (zh) 标签分发方法及设备
US20210044456A1 (en) Method for implementing gre tunnel, access point and gateway
EP2628287A1 (en) Multipath transmission control protocol proxy
WO2011140843A1 (zh) 一种报文转发的方法、装置及系统
EP2533478A1 (en) Method, terminal and gateway for transmitting internet protocol version 6 packets in internet protocol version 4 network
WO2021174943A1 (zh) 数据转发方法、装置、设备和存储介质
CN102546362A (zh) 报文处理方法、系统和用户前端设备
CN111147426A (zh) 一种承载侧网络系统、移固共存融合系统及其部署方法
WO2014180213A1 (zh) 一种tcp会话建立方法、装置、宿主节点和卫星节点
JP5444474B2 (ja) 擬似ワイヤエミュレーションエッジトゥエッジアクセス装置及び方法
CN108306755B (zh) 一种建立管理通道的方法及系统
WO2014131330A1 (zh) 一种基于多链路的数据传输方法及设备
US10050880B2 (en) Multi-link aggregation method and device
JP6369179B2 (ja) トンネルエンドポイント装置、dhcpサーバ、インタフェースの自動設定方法及びプログラム
WO2015077913A1 (zh) 一种电缆承载数据业务接口规范系统中报文转发方法及装置
CN115426217A (zh) 一种基于vxlan的互联网接入控制系统及方法
CN117378175A (zh) 用于建立双层pdu会话的系统和方法

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

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2014757067

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE