[go: up one dir, main page]

WO2017161840A1 - Procédé et dispositif de transmission de flux de données - Google Patents

Procédé et dispositif de transmission de flux de données Download PDF

Info

Publication number
WO2017161840A1
WO2017161840A1 PCT/CN2016/098067 CN2016098067W WO2017161840A1 WO 2017161840 A1 WO2017161840 A1 WO 2017161840A1 CN 2016098067 W CN2016098067 W CN 2016098067W WO 2017161840 A1 WO2017161840 A1 WO 2017161840A1
Authority
WO
WIPO (PCT)
Prior art keywords
data stream
terminal
packet
message
wan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/098067
Other languages
English (en)
Chinese (zh)
Inventor
李晓龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2017161840A1 publication Critical patent/WO2017161840A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/30Routing of multiclass traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/70Routing based on monitoring results
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects

Definitions

  • the present invention relates to the field of communications, and in particular to a data stream transmission method and apparatus.
  • WAN Wide Area Network
  • pseudo load balancing that is, different allocation is performed according to the IP address of the LAN side device.
  • the lines are allocated in units of the IP of the intranet PC.
  • PCs 1, 3, and 5 go WAN1, 2, 4, and 6 to WAN2.
  • an intranet PC can only use one WAN port, and does not have the effect of bandwidth superposition, which wastes the bandwidth of multiple lines. It is not difficult to conclude that IP equalization is equivalent to the superposition of two or more single WAN products.
  • the second is done by a port load balancing function.
  • the bandwidth aggregation router is designed to send the Internet requests sent by the PC to different WAN ports according to the busy and idle levels. When the Internet data comes back, it can also be returned through different WAN ports. Each PC can access the Internet and can communicate with multiple ports at the same time. Therefore, when opening web browsing, downloading, etc., since these port data can be allocated to different WAN ports, the PC does not have to be on an external line one by one. Send the port data stream, and wait for the return, but the data transmission can be carried out simultaneously in several WAN ports, and several WAN ports respectively return the data. As a result, the PC achieves the purpose of using multiple lines to access the Internet, and the bandwidth is doubled. effect. That is, port 80 (HyperText Transfer Protocol (http)) performs data communication on WAN1, and port 21 (File Transfer Protocol (ftp)) performs data communication on WAN2.
  • http HyperText Transfer Protocol
  • ftp File Transfer Protocol
  • the related art has the disadvantage that the load balancing function in linux is based on the port to perform a certain proportion of data distribution. Although the bandwidth can be effectively increased, the fatal disadvantage is that the WAN port of a certain data stream may not be optimized.
  • the path that is, the inability to perform accurate data flow routing assignment based on any data stream. For example, if one WAN port is a mobile LTE network and the other WAN port is a wired wired network, if the data stream is intended to access the telecommunications server and is assigned to the mobile network, the actual delay of the data stream is Relatively large, the user experience is very bad.
  • the WAN port allocated by the terminal for data flow is not the problem of its optimized path, and there is currently no effective solution.
  • the present invention provides a data stream transmission method and apparatus to solve at least the problem that the WAN port of the data stream allocation of the terminal in the related art is not its optimized path.
  • a data stream transmission method including:
  • the terminal processes the data stream packet to be transmitted, and obtains the plurality of the data stream packet
  • the terminal simultaneously sends multiple data stream messages on multiple WAN ports on the terminal;
  • the terminal monitors, in the multiple WAN ports, the first response packet corresponding to the data flow packet, and selects the optimal transmission of the data flow packet according to the fast feedback speed of the first response packet.
  • WAN port the first response packet corresponding to the data flow packet
  • the optimal WAN port for transmitting the data stream message according to the speed of the feedback of the first response message includes: the optimal WAN port is the first of the plurality of WAN ports. The fastest WAN port in response to the message.
  • the method further includes: the terminal stops copying the data flow message And transmitting the data flow packet through the optimal WAN port.
  • the method before the data stream packet to be transmitted by the terminal is copied, the method includes:
  • the data flow message to be transmitted by the terminal is triggered to be copied.
  • the method before the data stream packet to be transmitted by the terminal is copied, the method includes:
  • a transmission path is configured for the data flow according to the routing configuration information of the entry.
  • the method further includes:
  • the terminal records the correspondence between the optimal WAN port and the data flow into the dynamic routing table.
  • a data stream transmission method including:
  • the terminal processes the data stream packet to be transmitted, and obtains the plurality of the data stream packet
  • the terminal monitors the response packet corresponding to the detection packet on the plurality of WAN ports, and selects an optimal WAN port for transmitting the data packet according to the feedback speed of the response packet.
  • the method further includes: after the terminal sends the detection packet corresponding to the plurality of the data flow packets, the multiple WAN ports on the terminal are more than The WAN port of the wide area network sends the data stream message.
  • the selecting, according to the speed of the feedback of the second response packet, the optimal WAN port for transmitting the data stream packet includes: the optimal WAN port is the feedback of the second WAN port The fastest WAN port in response to the message.
  • the method further includes: the terminal stops copying the data stream message And transmitting the data flow packet through the optimal WAN port.
  • the method before the data stream packet to be transmitted by the terminal is copied, the method includes:
  • the data flow message to be transmitted by the terminal is triggered to be copied.
  • the method before the data stream packet to be transmitted by the terminal is copied, the method includes: when the entry corresponding to the data stream is found in the dynamic routing table, according to the routing configuration information of the entry The data flow configures the transmission path.
  • the method further includes: the terminal, the optimal WAN port and The correspondence of the data streams is recorded in the dynamic routing table.
  • the detection packet includes: a Ping detection packet.
  • a data stream transmission apparatus which is applied to a terminal, and includes:
  • a first copy module configured to copy a data stream message to be transmitted, to obtain a plurality of the data stream messages
  • a first sending module configured to send, by the terminal, a plurality of the data stream messages at a plurality of wide area network WAN ports on the terminal;
  • the first monitoring module is configured to: in the first WAN port, listen to the first response packet corresponding to the data flow packet, and select, according to the feedback speed of the protocol packet, the data packet to be transmitted.
  • the optimal WAN port is configured to: in the first WAN port, listen to the first response packet corresponding to the data flow packet, and select, according to the feedback speed of the protocol packet, the data packet to be transmitted.
  • a data stream transmission apparatus which is applied to a terminal, and includes:
  • a second copy module configured to copy the data stream message to be transmitted, to obtain a plurality of the data stream messages
  • a second sending module configured to send, by using a plurality of wide area network WAN ports on the terminal, detection packets corresponding to the plurality of data flow packets;
  • the second monitoring module is configured to monitor, in the multiple WAN ports, a second response packet corresponding to the detection packet, and select, according to a speed of the feedback speed of the second response packet, to transmit the data packet.
  • the optimal WAN port is configured to monitor, in the multiple WAN ports, a second response packet corresponding to the detection packet, and select, according to a speed of the feedback speed of the second response packet, to transmit the data packet.
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • the terminal processes the data stream packet to be transmitted, and obtains the plurality of the data stream packet
  • the terminal simultaneously sends multiple data stream messages on multiple WAN ports on the terminal;
  • the terminal monitors, in the multiple WAN ports, the first response packet corresponding to the data flow packet, and selects the optimal transmission of the data flow packet according to the fast feedback speed of the first response packet.
  • WAN port the first response packet corresponding to the data flow packet
  • the storage medium is further arranged to store program code for performing the following steps:
  • the optimal WAN port is the fastest WAN port in the plurality of WAN ports that feeds back the first response message.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the terminal After selecting the optimal WAN port for transmitting the data stream message according to the speed of the feedback of the first response message, the terminal stops copying the data stream message, and passes the data stream message through the Describe the optimal WAN port transmission.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the dynamic routing table searches for an entry of the data stream corresponding to the data stream packet, where the dynamic routing table is configured by the WAN port and the data corresponding to the WAN port.
  • the feature information of the stream is configured to configure a transmission path of the data stream of the terminal;
  • the data flow message to be transmitted by the terminal is triggered to be copied.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the transmission path is configured for the data stream according to the routing configuration information of the entry.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the terminal After selecting the optimal WAN port for transmitting the data stream message according to the speed of the feedback speed of the first response message, the terminal records the correspondence between the optimal WAN port and the data stream to the In the dynamic routing table.
  • a storage medium is also provided.
  • the storage medium is configured to store program code for performing the following steps: the terminal to copy the data stream message to be transmitted to obtain a plurality of the data stream message; the terminal is in the plurality of wide area network WAN ports on the terminal Sending a detection packet corresponding to the plurality of the data stream packets; the terminal listening to the response packet corresponding to the detection packet on the plurality of WAN ports, according to the speed of the feedback of the response packet Select the optimal WAN port for transmitting the data packet.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the terminal After the plurality of wide area network WAN ports on the terminal send the detection packets corresponding to the plurality of the data stream messages, the terminal sends the data flow report on the WAN ports of the plurality of wide area networks on the terminal. Text.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the optimal WAN port is the fastest WAN port in the plurality of WAN ports that feeds back the second response message.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the dynamic routing table searches for an entry of the data stream corresponding to the data stream packet, where the dynamic routing table is configured by the WAN port and the data corresponding to the WAN port.
  • the feature information of the stream is configured to configure a transmission path of the data stream of the terminal; if the entry corresponding to the data stream is not found, triggering the data flow report to be transmitted by the terminal. The text is copied.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the transmission path is configured for the data stream according to the routing configuration information of the entry.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the terminal After selecting the optimal WAN port for transmitting the data stream message according to the speed of the feedback speed of the second response message, the terminal records the correspondence between the optimal WAN port and the data stream to the In the dynamic routing table.
  • the data stream packet to be transmitted by the terminal is copied to obtain a plurality of the data stream packets; the terminal simultaneously sends a plurality of the data stream packets in the WAN ports of the plurality of wide area networks on the terminal; the terminal The plurality of WAN ports are configured to monitor the first response packet corresponding to the data flow packet, and select an optimal WAN port for transmitting the data flow packet according to the feedback speed of the first response packet, thereby solving the terminal
  • the WAN port allocated by the data stream is not the problem of its optimized path, and the rationality of the WAN port for the data stream allocation of the terminal is realized.
  • FIG. 1 is a flowchart 1 of a data stream transmission method according to an embodiment of the present invention.
  • FIG. 2 is a second flowchart of a data stream transmission method according to an embodiment of the present invention.
  • FIG. 3 is a block diagram 1 of a structure of a data stream transmission apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram 2 of a data stream transmission apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a dynamic routing table in accordance with a preferred embodiment of the present invention.
  • FIG. 6 is a block diagram showing the structure of a data transmission apparatus according to a preferred embodiment of the present invention.
  • FIG. 7 is a flow chart of a data transmission method in accordance with a preferred embodiment of the present invention.
  • FIG. 1 is a flowchart 1 of a data stream transmission method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 The terminal processes the data stream packet to be transmitted, and obtains multiple data stream packets.
  • Step S104 The terminal simultaneously sends multiple data stream messages in multiple WAN ports on the terminal.
  • step S106 the terminal monitors the first response packet corresponding to the data flow message on the multiple WAN ports, and selects an optimal WAN port for transmitting the data flow message according to the speed of the feedback speed of the first response message.
  • the terminal processes the data stream packet to be transmitted, and obtains a plurality of the data stream packet, wherein the data stream packet is a protocol packet with a response packet, and the terminal simultaneously has more information on the terminal.
  • the WAN port of the WAN sends a plurality of the data stream messages, and the terminal monitors the first response message corresponding to the data stream message in the multiple WAN ports, and selects the transmission according to the speed of the feedback of the first response message.
  • the optimal WAN port of the data stream message The network filtering system of the terminal, netfilter, can copy the data stream message with the response function to be transmitted, and send the copied message to multiple WAN ports until the optimal WAN port is detected, and then stop copying the data stream message.
  • the source data stream message that is not subsequently transmitted is sent at the optimal WAN port.
  • the fastest WAN port that can respond to the response message can be selected as the optimal WAN port.
  • the above technical solution while transmitting the data stream message, also selects which WAN port is the optimal WAN port, stops copying after selecting the optimal transmission path, implements soft handover, avoids waiting for the real message, and solves the problem.
  • the WAN port allocated by the data stream of the terminal is not the problem of its optimized path, and the rationality of the WAN port for realizing the data stream allocation of the terminal is realized.
  • the optimal WAN port for transmitting the data stream message according to the speed of the feedback of the first response message includes: the optimal WAN port is the feedback of the first response message in the plurality of WAN ports.
  • the fastest WAN port In the actual selection process, it is possible that the optimal WAN port has a transmission task at this time, and the WAN port with the second fastest feedback speed is selected as the optimal WAN port. Therefore, the optimal WAN port selected in the above embodiment may be based on the feedback speed. A list of items, in the special case, select by order.
  • the terminal stops copying the data stream message, and the data stream message is passed.
  • the optimal WAN port transmission Before the optimal WAN port is selected, the copied data stream packet is transmitted on all WAN ports, which is a waste of port resources. After selecting the optimal WAN port, the data stream packet of the subsequent part is stopped to be copied. Part of the data stream message is transmitted separately in the optimal WAN port. The data stream packet before the optimal WAN port is selected without repeated transmission. The replication is stopped immediately, and the WAN port except the optimal WAN port is idle. save resources.
  • an entry of the data stream corresponding to the data stream packet is searched in the dynamic routing table, where the dynamic routing table is used by the WAN port and the WAN.
  • the data flow message to be transmitted by the terminal is triggered to be complexed. system.
  • a transmission path is configured for the data flow according to the routing configuration information of the entry.
  • the feature information of the data stream includes the quintuple information of the data stream, and the quintuple information includes the following information: Source IP address, source port, destination IP address, destination port, transport layer protocol.
  • the characteristic information of the data stream is extracted by the network filtering system netfilter of the terminal.
  • the terminal after selecting the optimal WAN port for transmitting the data stream message according to the speed of the feedback speed of the first response message, the terminal records the correspondence between the optimal WAN port and the data stream to In the dynamic routing table. For the data stream that is not recorded in the dynamic routing table, when the optimal WAN port is detected, the corresponding relationship is recorded in the dynamic routing table to facilitate the next transmission of the data stream.
  • FIG. 2 is a flowchart 2 of a data stream transmission method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S202 The terminal processes the data stream packet to be transmitted, and obtains multiple data stream packets.
  • Step S204 the terminal sends a detection packet corresponding to the plurality of data stream messages on the WAN ports of the plurality of wide area networks on the terminal;
  • step S206 the terminal monitors the second response packet corresponding to the detection packet on the plurality of WAN ports, and selects an optimal WAN port for transmitting the data packet according to the speed of the feedback speed of the second response packet.
  • the terminal processes the data stream packet to be transmitted, and obtains a plurality of the data stream packet, where the data stream packet is a protocol packet that does not have a response packet; the terminal is more on the terminal.
  • the WAN port of the WAN sends a detection packet corresponding to the plurality of data stream packets; the terminal monitors the second response packet corresponding to the detection packet in the plurality of WAN ports, according to the feedback of the second response packet
  • the speed of the selection selects the optimal WAN port for transmitting the data message.
  • the network filtering system of the terminal netfilter, copies the data stream message that does not have a response function, and sends the copied message to multiple WAN ports. Before sending, send a packet for detecting the optimal WAN port.
  • the detection packet has a response function.
  • the detection packet can be a self-compiled packet.
  • the ping packet can be detected in the related art.
  • the second response packet corresponding to the UDP protocol is a Ping detection packet.
  • the optimal WAN port is detected, the data stream packet is stopped, and the source data stream packet that is not subsequently transmitted is sent at the optimal WAN port.
  • the fastest WAN port that can respond to the response message can be selected as the optimal WAN port.
  • the above technical solution while transmitting the data stream message, also selects which WAN port is the optimal WAN port, stops copying after selecting the optimal transmission path, implements soft handover, avoids waiting for the real message, and solves the problem.
  • the WAN port allocated by the data stream of the terminal is not the problem of its optimized path, and the rationality of the WAN port for realizing the data stream allocation of the terminal is realized.
  • the method further includes: after the plurality of wide area network WAN ports on the terminal send the detection message corresponding to the plurality of data stream messages, or at the same time, the plurality of wide area network WANs on the terminal The port sends the data stream packet. After sending the detection packet on multiple WAN ports, there is no need to wait for the response packet of the detection packet, and then after sending the replication message. The data stream message avoids the waiting of the message that really needs to be transmitted.
  • the optimal WAN port for transmitting the data stream message according to the speed of the feedback of the second response message includes: the optimal WAN port is the feedback of the second response message in the plurality of WAN ports.
  • the fastest WAN port In the actual selection process, it is possible that the optimal WAN port has a transmission task at this time, and the WAN port with the second fastest feedback speed is selected as the optimal WAN port. Therefore, the optimal WAN port selected in the above embodiment may be based on the feedback speed. A list of items, in the special case, select by order.
  • the terminal stops copying the data stream message, and the data stream message is passed.
  • the optimal WAN port transmission Before selecting the optimal WAN port, the copied data stream packets are transmitted on all WAN ports, which is a waste of port resources. After selecting the optimal WAN port, the replication can be stopped immediately, and the optimal WAN port will be removed. The external WAN port is free to save resources in time.
  • an entry of the data stream corresponding to the data stream packet is searched in the dynamic routing table, where the dynamic routing table is used by the WAN port and the WAN.
  • the data flow message to be transmitted by the terminal is triggered to be copied.
  • a transmission path is configured for the data flow according to the routing configuration information of the entry.
  • the feature information of the data stream includes the quintuple information of the data stream, and the quintuple information includes the following information: Source IP address, source port, destination IP address, destination port, transport layer protocol.
  • the characteristic information of the data stream is extracted by the network filtering system netfilter of the terminal.
  • the terminal after selecting the optimal WAN port for transmitting the data stream message according to the speed of the feedback speed of the second response message, the terminal records the correspondence between the optimal WAN port and the data stream to In the dynamic routing table. For the data stream that is not recorded in the dynamic routing table, when the optimal WAN port is detected, the corresponding relationship is recorded in the dynamic routing table to facilitate the next transmission of the data stream.
  • the detection packet includes: a Ping detection packet.
  • the detection packet can be a packet compiled by the user or a Ping detection packet in the related technology.
  • module may implement a combination of software and/or hardware of a predetermined function.
  • apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a structural block diagram 1 of a data stream transmission apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes:
  • the first copying module 32 is configured to copy the data stream message to be transmitted to obtain a plurality of the data stream message
  • the first sending module 34 is connected to the first copying module 32, and is configured to send a plurality of the data stream messages to the plurality of wide area network WAN ports on the terminal at the same time;
  • the first monitoring module 36 is connected to the first sending module 34, and is configured to monitor the first response packet corresponding to the data stream packet in the multiple WAN ports, according to the speed of the feedback speed of the first response packet.
  • the optimal WAN port for transmitting the data stream message is connected to the first sending module 34, and is configured to monitor the first response packet corresponding to the data stream packet in the multiple WAN ports, according to the speed of the feedback speed of the first response packet.
  • FIG. 4 is a structural block diagram 2 of a data stream transmission apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes:
  • the second copying module 42 is configured to copy the data stream message to be transmitted to obtain a plurality of the data stream message
  • the second sending module 44 is connected to the second copying module 42 and configured to send a second response message corresponding to the plurality of data stream messages on the plurality of wide area network WAN ports on the terminal;
  • the second monitoring module 46 is connected to the second sending module 44, and is configured to monitor the second response message corresponding to the detection message in the plurality of WAN ports, and select the transmission according to the speed of the feedback of the second response message.
  • the optimal WAN port of the data message is connected to the second sending module 44, and is configured to monitor the second response message corresponding to the detection message in the plurality of WAN ports, and select the transmission according to the speed of the feedback of the second response message.
  • the optimal WAN port of the data message is connected to the second sending module 44, and is configured to monitor the second response message corresponding to the detection message in the plurality of WAN ports, and select the transmission according to the speed of the feedback of the second response message.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are respectively located. Different processors.
  • a preferred embodiment of the present invention proposes a method for automatically selecting a port for a data stream in dual WAN mode.
  • the specific implementation method is as follows: a dynamic routing table is set in the Customer Premise Equipment (CPE), and all dynamic routing data is recorded in the table.
  • CPE Customer Premise Equipment
  • the similar form of the table is similar to the dynamic routing table of the general Linux system, and the difference lies in
  • the dynamic routing table is composed of a WAN port and corresponding data stream quintuple information, and the dynamic routing table also has an aging function.
  • FIG. 5 is a schematic diagram of a dynamic routing table, as shown in FIG. 5, in accordance with a preferred embodiment of the present invention.
  • a data stream passes through the CPE device, first, an entry for the data flow is found in the dynamic routing table. If the entry of the data flow does not exist in the dynamic routing table, The data stream is copied into two data streams, and the device sends the two data streams simultaneously from the two WAN ports A and B, waiting for the first data packet replied from the two WAN ports (for example, for responding function)
  • the ACK message received in the three-way handshake is equivalent to the response message.
  • the CPE stops copying the data packet and the data stream is The corresponding record of the A WAN port is recorded in the previous dynamic routing table.
  • the data table has the same aging function as the Address Resolution Protocol (ARP) table. If there is a new data transmission, the aging time of the entry is updated. If there is no data flow for a long time. Then this entry is aged, when heavy When there is new data, the previous steps are renewed.
  • ARP Address Resolution Protocol
  • FIG. 6 is a block diagram showing the structure of a data transmission apparatus according to a preferred embodiment of the present invention.
  • a total of five modules are respectively referred to as a copy module 62 (corresponding to the first copy module 32 and the second of the above embodiment).
  • the firewall module 68 and the advanced policy routing module 610 The copy module 62 is responsible for copying all the data streams not recorded in the dynamic routing table by using the netfilter framework, and transmitting the data packets from multiple ports.
  • the listening module 64 is responsible for listening to all WAN ports, and the netfilter's hook function fetches corresponding (based on quintuple information) response packets of the data stream.
  • the dynamic routing table module 66 is responsible for recording the quintuple information of the data stream and the WAN port of the first response, and recording them one by one.
  • the firewall mangle module 68 is responsible for marking all data streams that have been recorded in the dynamic routing table.
  • the advanced policy routing module 610 performs policy allocation according to the marking of the firewall module and combining the corresponding information in the dynamic routing table to the data stream marked with a specific label.
  • FIG. 7 is a flow chart of a data transmission method according to a preferred embodiment of the present invention. As shown in FIG. 7, the steps are as follows:
  • the CPE first turns on the dual WAN port function.
  • the CPE captures the packet of each data stream transmitted from the LAN port to the WAN port by using the hook function of the netfilter framework, and extracts the quintuple information of the data stream.
  • S703 Search for an entry in the self-built dynamic routing table, if it is found, proceed to S706, and if not, perform S704.
  • the netfilter framework copies the passed data stream message and sends it out from the two wan ports at the same time. For a protocol packet with a response, such as the TCP protocol, the protocol packet is directly copied. For a protocol packet that does not have a response, such as the UDP protocol, a ping detection packet is added before the transmission.
  • the linux firewall module monitors the dual wan port at the same time, the first feedback data packet will be recorded.
  • the ACK packet is used as the feedback data packet
  • the UDP protocol is based on the first response.
  • the ping packet is used as a feedback data packet.
  • the relationship corresponding to the wan port is recorded in the self-built dynamic routing table. The packet of another wan port is discarded, and the copying of the packet is stopped.
  • S707 Perform advanced policy routing configuration according to the label configured by the netfilter rule.
  • the device of the preferred embodiment of the present invention can control the WAN port of each stream according to the quintuple information of any one stream transmitted by the CPE on the local area network (LAN) side, and accurately configure the advanced policy routing.
  • Preferred embodiments of the present invention are directed to the advantages of some of the technical patents of the related art.
  • the advantage of the label under the netfilter framework in combination with the advanced policy routing allocation in the preferred embodiment of the present invention is that it can more accurately track the transmission of each stream, and select each unique data transmission for each data stream, so that for each data Flow is an optimized path that increases user experience.
  • the preferred embodiment of the present invention belongs to a special soft handover, and performs data transmission at the same time. Since there is no need to wait in the device, the transmission message does not occupy the memory of the CPE, and is more in line with the transmission control protocol/Internet interconnection protocol. (Transmission Control Protocol/Internet Protocol, abbreviated as TCP/IP) protocol. It can improve the quality of data transmission and increase user experience.
  • TCP/IP Transmission Control Protocol/Internet Protocol
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the terminal copies the data stream packet to be transmitted, and obtains multiple data stream packets.
  • the terminal simultaneously sends multiple data stream messages in multiple WAN ports on the terminal;
  • S3 The terminal monitors the first response packet corresponding to the data flow packet on the multiple WAN ports, and selects an optimal WAN port for transmitting the data flow message according to the speed of the feedback of the first response message.
  • the storage medium is further arranged to store program code for performing the method steps of the above-described embodiments:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs the method steps of the foregoing embodiments according to the stored program code in the storage medium.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the data stream packet to be transmitted by the terminal is copied to obtain a plurality of the data stream packets; the terminal simultaneously sends a plurality of the data stream packets in the WAN ports of the plurality of wide area networks on the terminal; the terminal The plurality of WAN ports are configured to monitor the first response packet corresponding to the data flow packet, and select an optimal WAN port for transmitting the data flow packet according to the feedback speed of the first response packet, thereby solving the terminal
  • the WAN port allocated by the data stream is not the problem of its optimized path, and the rationality of the WAN port for the data stream allocation of the terminal is realized.

Landscapes

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

Abstract

La présente invention concerne un procédé et un dispositif de transmission de flux de données. Le procédé comprend les étapes suivantes : un terminal copie un message de flux de données à transmettre pour obtenir une pluralité de messages de flux de données ; le terminal envoie simultanément la pluralité de messages de flux de données à une pluralité de ports WAN (ports de réseau étendu) sur le terminal ; et le terminal surveille un message de protocole selon le message de flux de données au niveau de la pluralité des ports WAN, et selon une vitesse de retour du message de protocole, choisit le port WAN optimal pour transmettre le message de flux de données. L'application de la solution technique permet de résoudre le problème selon lequel un port WAN n'est pas le chemin optimal pour une distribution d'un flux de données d'un terminal, réalisant de cette façon la rationalité du port WAN pour la distribution de flux de données du terminal.
PCT/CN2016/098067 2016-03-24 2016-09-05 Procédé et dispositif de transmission de flux de données Ceased WO2017161840A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610172732.8A CN107231303A (zh) 2016-03-24 2016-03-24 数据流传输方法及装置
CN201610172732.8 2016-03-24

Publications (1)

Publication Number Publication Date
WO2017161840A1 true WO2017161840A1 (fr) 2017-09-28

Family

ID=59899276

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/098067 Ceased WO2017161840A1 (fr) 2016-03-24 2016-09-05 Procédé et dispositif de transmission de flux de données

Country Status (2)

Country Link
CN (1) CN107231303A (fr)
WO (1) WO2017161840A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583835A (zh) * 2020-12-14 2021-03-30 深圳市共进电子股份有限公司 匹配网口数据的方法、装置、路由器和可读存储介质
CN116132333A (zh) * 2023-01-06 2023-05-16 广州通则康威智能科技有限公司 一种多wan口cpe选择主wan口的方法及装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417707B (zh) * 2018-04-27 2021-11-09 中兴通讯股份有限公司 数据发送保护方法、装置、系统及计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1829197A (zh) * 2006-04-14 2006-09-06 迈普(四川)通信技术有限公司 一种动态选择出口路径的方法
CN101808034A (zh) * 2010-03-16 2010-08-18 杭州华三通信技术有限公司 一种路由管理方法和设备
US8260922B1 (en) * 2005-09-16 2012-09-04 Cisco Technology, Inc. Technique for using OER with an ECT solution for multi-homed sites
CN102761476A (zh) * 2012-03-30 2012-10-31 杭州华三通信技术有限公司 一种负载均衡的方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026589A (zh) * 2007-04-05 2007-08-29 杭州华为三康技术有限公司 一种路由选择的方法和路由器
US8885657B2 (en) * 2009-11-06 2014-11-11 Brocade Communications Systems, Inc. Automatic switch port selection
CN102684951B (zh) * 2011-03-14 2015-08-05 鸿富锦精密工业(深圳)有限公司 多广域网接口网路选择方法、系统及网路设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8260922B1 (en) * 2005-09-16 2012-09-04 Cisco Technology, Inc. Technique for using OER with an ECT solution for multi-homed sites
CN1829197A (zh) * 2006-04-14 2006-09-06 迈普(四川)通信技术有限公司 一种动态选择出口路径的方法
CN101808034A (zh) * 2010-03-16 2010-08-18 杭州华三通信技术有限公司 一种路由管理方法和设备
CN102761476A (zh) * 2012-03-30 2012-10-31 杭州华三通信技术有限公司 一种负载均衡的方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583835A (zh) * 2020-12-14 2021-03-30 深圳市共进电子股份有限公司 匹配网口数据的方法、装置、路由器和可读存储介质
CN116132333A (zh) * 2023-01-06 2023-05-16 广州通则康威智能科技有限公司 一种多wan口cpe选择主wan口的方法及装置

Also Published As

Publication number Publication date
CN107231303A (zh) 2017-10-03

Similar Documents

Publication Publication Date Title
US10320749B2 (en) Firewall rule creation in a virtualized computing environment
CN106105115B (zh) 用于由服务节点始发的服务链的方法、介质、及装置
US9806944B2 (en) Network controller and a computer implemented method for automatically define forwarding rules to configure a computer networking device
US10439931B2 (en) Data packet processing method, service node, and delivery node
US20160234234A1 (en) Orchestrating the Use of Network Resources in Software Defined Networking Applications
US10289504B2 (en) Access control method and system, and access point
CN110891285B (zh) 一种发射设备、反射设备、网络性能测试方法及系统
CN109906595A (zh) 用于跨不同类型的处理硬件执行密码操作的系统和方法
US20160150043A1 (en) Source ip address transparency systems and methods
US11153185B2 (en) Network device snapshots
US10326712B2 (en) Multicast data packet forwarding
US20200213233A1 (en) Balancing load
CN107294743B (zh) 一种网络路径探测方法、控制器及网络设备
US11057304B1 (en) DNS (domain name server)-based application-aware routing on SD-WAN (software-defined wide access network)
US20190394088A1 (en) Network device configuration versioning
WO2017161840A1 (fr) Procédé et dispositif de transmission de flux de données
WO2016049926A1 (fr) Appareil et procédé de traitement de paquet de données
US9686175B2 (en) Methods, systems, and computer readable media for testing network devices using simulated application traffic
CN107347085A (zh) 一种信息获取方法和装置
CN112995065B (zh) 一种互联网流量控制方法、装置及电子设备
CN105959248B (zh) 报文访问控制的方法及装置
CN112600748B (zh) 面向vpn隧道的多链路聚合方法、系统及存储介质
CN105812274B (zh) 一种业务数据的处理方法和相关设备
CN116781540A (zh) 一种信息传输方法及装置、存储介质
CN107332771A (zh) 一种保障路由一致性的方法、路由器和路由选路系统

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16895189

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16895189

Country of ref document: EP

Kind code of ref document: A1