WO2014194806A1 - 在多路传输控制协议中的链路处理方法和移动终端 - Google Patents

在多路传输控制协议中的链路处理方法和移动终端 Download PDF

Info

Publication number
WO2014194806A1
WO2014194806A1 PCT/CN2014/079087 CN2014079087W WO2014194806A1 WO 2014194806 A1 WO2014194806 A1 WO 2014194806A1 CN 2014079087 W CN2014079087 W CN 2014079087W WO 2014194806 A1 WO2014194806 A1 WO 2014194806A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
timer
mobile terminal
module
timeout
Prior art date
Application number
PCT/CN2014/079087
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 EP14806789.5A priority Critical patent/EP2996275B1/en
Priority to US14/895,646 priority patent/US20160127083A1/en
Publication of WO2014194806A1 publication Critical patent/WO2014194806A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/189Transmission or retransmission of more than one copy of a message
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/188Time-out mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/12Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
    • H04W40/125Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality using a measured number of retransmissions as a link metric

Definitions

  • the present invention relates to communication technologies, and more particularly to a link processing method and a mobile terminal in a multiplex control protocol. Background technique
  • Multipath Transmission Control Protocol is a protocol that implements multiple parallel transmissions based on the Transmission Control Protocol (TCP). It can be implemented without TCP. Splicing for reliability, security and multi-homing for end-to-end transmission.
  • Mobile terminals can use the MPTCP protocol to implement parallel multi-channel transmission.
  • mobile terminals use wireless networks and have unstable link characteristics
  • mobile terminals use MPTCP to implement multi-channel parallel transmission.
  • Unstable links increase the chance of link failure.
  • the mobile terminal will delete the data stored in the send buffer only if it is acknowledged on all the links that sent the data.
  • the mobile terminal usually needs 6 retransmission timeouts to detect the link failure.
  • Embodiments of the present invention provide a link processing method and a mobile terminal in a multiplex control protocol At the end, it can effectively mitigate the impact of poor performance or unexpected failure on parallel multiplex transmission, improve network throughput, and improve the performance of the entire parallel multiplex transmission.
  • a first aspect of the present invention provides a link processing method in a multiplex control protocol, including:
  • the timer of link i is detected to expire, and i is a natural number.
  • the link j, j is a natural number using the maximum slow start threshold SSTHRESH priority algorithm; the lost communication packets on the link i are simultaneously retransmitted through the link i and the link j.
  • the method further includes: marking a status of the link i as an unavailable prediction status, where the unavailable prediction status is used to: indicate that the mobile terminal passes There is a risk that the link i sends a communication packet.
  • a second aspect of the present invention provides a mobile terminal, including:
  • a detection module configured to detect that the timer of the link i expires, and i is a natural number
  • Obtaining a module, a timeout number Ni, Ni for obtaining a timer of the link i is a natural number; a sending module, a timeout number for a timer of the link i obtained by the obtaining module, Ni > 1 , JLNi ⁇ 5, sending a probe packet through the link i.
  • the sending module is further configured to: simultaneously retransmit the lost communication data packet on the link i by using the link i and the link j.
  • the second processing module is further configured to: if the timeout period Ni of the timer of the link i is greater than 1 and less than or equal to 5 . Mark the status of the link i as an unavailable prediction status, where the unavailable prediction status is used to: indicate that the mobile terminal sends a communication data packet through the link i.
  • the technical effect of the present invention is: when the number of timeout retransmissions of the link is greater than one time and less than or equal to five times, the mobile terminal does not send the communication data packet through the link, but sends the detection information, thereby effectively implementing the chain.
  • the prediction of road failure can effectively mitigate the impact of poor performance or unexpectedly failed links on parallel multiplex transmission.
  • FIG. 1 is a flow chart of a link processing method in a multiplex control protocol according to Embodiment 1 of the present invention
  • FIG. 2 is a flow chart of a link processing method in a multiplex control protocol according to Embodiment 2 of the present invention
  • FIG. 3 is a flow chart of a link processing method in a multiplex control protocol according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of a mobile terminal according to Embodiment 4 of the present invention.
  • FIG. 5 is still another schematic structural diagram of a mobile terminal according to Embodiment 4 of the present invention.
  • FIG. 6 is a schematic structural diagram of still another mobile terminal according to Embodiment 4 of the present invention.
  • FIG. 7 is a schematic structural diagram of a mobile phone according to Embodiment 5 of the present invention. detailed description
  • FIG. 1 is a flowchart of a link processing method in a multiplex control protocol according to Embodiment 1 of the present invention. As shown in FIG.
  • Step 101 The mobile terminal detects that the timer of the link i expires, and i is a natural number.
  • a link can be understood as a wireless path formed when a mobile terminal exchanges data with another mobile terminal, and the link between the two mobile terminals can have one, two, or even multiple links. There is no limit here.
  • timeout retransmission is an important mechanism for guaranteeing data reliability in the TCP protocol. The principle is: The mobile terminal transmits a communication packet through a link, such as link i.
  • the timer does not receive the acknowledgement message (Acknowledgement, ACK for short) of the transmitted communication packet within the preset time, the timer of link i will time out, and then it needs to be retransmitted through link i.
  • the communication packet has been sent, and the timer of the link i is reset at the same time; if the acknowledgement message of the transmitted communication packet is received within a preset time, the mobile terminal will cancel the timer.
  • TcpMDR Max Retrans
  • RTO retransmission time out
  • TcpMDR is a constant.
  • the TCP protocol specifies the number of consecutive timeouts N of the timer. If the number of consecutive timeouts N of the timer exceeds the constant of TcpMDR, the mobile terminal determines that the link of the timer fails and closes the link. connection. Different TCPs can set different TCP maximum retransmission numbers. When the data is transmitted, it is not possible to use only one window protocol.
  • the mobile terminal also needs to update the congestion window Ci to control the data traffic sent through the link, so that the data does not enter the network at a time, and the congestion is effectively ensured. Fairness between links and links. Congestion Window Ci can use its exponential growth rate to increase its own window until a timeout retransmission occurs, and adjustments are needed.
  • RTO is the concept of time, and the value of RTO increases exponentially with the number of timeouts N (for example, 2N). For example, for a link timer, the value of TcpMDR will be decremented by 1 for each timeout, and the value of the congestion window Ci will be reduced to half (if it is 1, it will not change), and the value of RTO will be indexed. The way is growing.
  • Step 102 Obtain a timeout number Ni and Ni of the timer of the link i as a natural number.
  • Step 103 If the timeout period Ni of the timer of the link i is greater than 1, and less than or equal to 5, the mobile terminal sends the probe packet through the link i. In the case where the probe packet is transmitted through the link i, the timer of the link i needs to continue to operate without resetting.
  • the slow start algorithm can be used to send communication packets.
  • the slow start algorithm is the main algorithm used to control link congestion in TCP and Multipath TCP (MPTCP) protocols.
  • MPTCP Multipath TCP
  • the main role of the probe packet is to detect whether the link i fails, and the main role of the communication packet is to communicate information between the mobile terminals.
  • a probe packet can be understood as a special communication packet for detecting whether a link fails.
  • the mobile terminal may also mark the status of the link i as an Unavailability Predictable (UP) state, and the UP state is mainly used to indicate that the mobile terminal sends the communication data packet through the link i. of.
  • the mobile terminal may check the status of each link before transmitting the communication data packet, and the mobile terminal preferentially transmits the communication data packet through the link of the active state instead of transmitting the communication data through the link in the failure state or the UP state. package.
  • the link processing method in the multiplex control protocol provided by the embodiment of the present invention the mobile terminal does not send through the link if the number of timeout retransmissions of the link is greater than one time and less than or equal to five times.
  • the communication packet is transmitted, and the probe packet is sent, which effectively predicts the link failure.
  • the solution provided by this embodiment can effectively mitigate the impact of poor performance or unexpectedly failed links on parallel multiplex transmission.
  • FIG. 2 is a flowchart of a link processing method in a multiplex control protocol according to Embodiment 2 of the present invention.
  • the method provided by the embodiment of the present invention may further include: 104. If the timeout period Ni of the timer exceeds a preset number of times, the mobile terminal does not receive the acknowledgement message of the probe packet through the link i, and marks the state of the link i as a failure state.
  • the failure status is mainly used to indicate that the mobile terminal cannot send and send a communication data packet through the link i. If the mobile terminal checks that the state of the link i is in a failed state before transmitting the communication packet, the mobile terminal does not transmit the communication packet through the link in the failed state.
  • FIG. 3 is a flowchart of a link processing method in a multiplex control protocol according to Embodiment 3 of the present invention. The method provided by the embodiment of the present invention is based on the foregoing Embodiment 1 and/or Embodiment 2.
  • the method may further include: Step 105: If the timeout period Ni of the timer of the link i is equal to 1, the mobile terminal may select the link j and j by using a maximum slow start threshold (SSTHRESH) priority algorithm. The natural number, at the same time on link i and link j, retransmits the lost communication packets on link i.
  • SSTHRESH maximum slow start threshold
  • the mobile terminal may release the corresponding cache storing the communication data packet.
  • the so-called slow start threshold is to say that when the congestion window ⁇ exceeds the slow start threshold, the congestion avoidance algorithm is used, and when the congestion window ⁇ is within the slow start threshold, the slow start algorithm is used.
  • the link selected using the maximum SSTHRESH priority algorithm, at the packet loss rate and throughput The performance is better than other links, which can effectively ensure that the data reaches the receiving end as efficiently as possible, reducing the number of retransmission timeouts.
  • the mobile terminal is an execution body of the foregoing method embodiment. For a specific method, reference may be made to the content of the first embodiment, and details are not described herein. As shown in FIG. 4, the mobile terminal includes: a detection module 401, an obtaining module 402, and a sending module 403.
  • the detecting module 401 is configured to detect that the timer of the link i times out, i is a natural number; the obtaining module 402 is configured to obtain the timeout number Ni of the timer of the link i, Ni is a natural number; and the sending module 403 is used to The timeout period Ni of the timer of the link i obtained by the obtaining module 402 is greater than 1 and less than or equal to 5, and the probe information packet is sent through the link i.
  • another schematic structural diagram of the mobile terminal provided by the fourth embodiment of the present invention, as shown in FIG. 5, further includes a first processing module 404.
  • the first processing module 404 is configured to: if the obtaining module 402 Obtaining the timeout number Ni of the timer of the link i is equal to 1, and selecting the link j and j as a natural number by using a maximum slow start threshold SSTHRESH priority algorithm; the sending module 403 is further configured to: pass the link i and The link j simultaneously retransmits the lost communication packets on the link i.
  • a further structural diagram of the mobile terminal according to Embodiment 4 of the present invention, as shown in FIG. 6, further includes a second processing module 405.
  • the second processing module 405 is configured to: The status of the path i is marked as an unavailable prediction status, and the unavailable prediction status is used to: indicate that the mobile terminal is at risk of transmitting a communication data packet through the link i.
  • the mobile terminal provided by the embodiment of the present invention, when the number of timeout retransmissions of the link is greater than one time and less than or equal to five times, the mobile terminal does not send the communication data packet through the link, but sends the probe information packet, which is effective. A prediction of link failure is achieved. If the number of timeout retransmissions of the link timer exceeds a preset number of times, the mobile terminal can confirm the link failure, thereby closing the link.
  • FIG. 7 illustrates the present invention by taking a mobile phone as an example. It should be understood that the illustrated mobile phone 700 is merely an example of a mobile terminal, and the mobile phone 700 may have more or fewer components than those shown in FIG. 7, and two or more components may be combined, or Can have different Component configuration.
  • the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the mobile phone 700 is the executor of the foregoing method embodiment. For the specific method, refer to the content of the first embodiment, which is not described herein. As shown in FIG.
  • the mobile phone includes: a processor 701 and a transmitter 702.
  • the processor 701 is configured to: detect that the timer of the link i times out, obtain the timeout number Ni of the timer of the link i, i is a natural number, Ni is a positive integer; and the transmitter 702 is used to obtain the result in the processor 701.
  • the timeout number Ni of the timer of the link i is greater than 1 and less than or equal to 5, and the probe packet is transmitted through the link i.
  • the processor 701 mentioned above may be a CPU of a mobile phone, or may be a physical chip disposed inside or outside the mobile phone.
  • the transmitter 702 may be a transceiver antenna of the mobile phone, or may be a physical chip disposed inside or outside the mobile phone.
  • the processor 701 may be further configured to: if the obtained timeout period Ni of the link i is equal to 1, use the maximum slow start threshold SSTHRESH priority algorithm to select the link j, j is a natural number;
  • the transmitter 702 can also be configured to simultaneously retransmit the communication data packet that causes the timer of the link i to time out through the link i and the link j.
  • the processor 701 may be further configured to: if the obtained timeout period Ni of the timer of the link i is greater than 1 and less than or equal to 5, mark the status of the link i as unavailable.
  • the predicted state, the unavailable prediction state is used to: indicate that the mobile terminal (such as a mobile phone) is at risk by transmitting a communication data packet through the link i.
  • the mobile phone provided by the embodiment of the present invention has the timeout retransmission time of the link greater than one time and less than or equal to
  • the communication packet is no longer transmitted through the link, but the probe packet is transmitted, and the prediction of the link failure is effectively realized. If the number of timeout retransmissions of the link timer exceeds the preset number of times, the mobile phone can confirm the link failure and close the link.
  • the solution provided by this embodiment can effectively mitigate the impact of poor performance or unexpectedly failed links on parallel multiplex transmission.
  • the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Abstract

本发明提供一种在多路传输控制协议中的链路处理方法和移动终端。方法包括:检测到链路i的定时器超时,i为自然数;获得所述链路i的定时器的超时次数Ni,Ni为自然数;如果所述链路i的定时器的超时次数Ni大于1且小于等于5,通过所述链路i发送探测信息包。移动终端包括:检测模块、获得模块和发送模块。本实施例提供的方案可以有效减轻性能差或意外失败的链路对并行多路传输的影响。

Description

在多路传输控制协议中的链路处理方法和移动终端 本申请要求于 2013 年 6 月 4 日提交中国专利局、 申请号为 201310218879.2、 发明名称为"在多路传输控制协议中的链路处理方法和移动 终端"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及通信技术,尤其涉及一种在多路传输控制协议中的链路处理方 法和移动终端。 背景技术
并行多路传输是利用主机的多网络接口实现数据的并行传输,能够满足人 们对高带宽业务(如在线高清视频、 多方游戏、 多方会议等)的需求。 多路传 输控制协议 ( Multipath Transmission Control Protocol, 简称为: MPTCP )是一 种在传输控制协议 ( Transmission Control Protocol, 简称为: TCP ) 的基础上 实现多路并行传输的协议, 可以和 TCP网络实现无缝融合, 实现端到端传输 的可靠性、 安全性和多宿主性。
移动终端(例如手机、 平板电脑等)可以利用 MPTCP协议实现并行多路 传输的功能, 但由于移动终端利用的是无线网络, 具有链路不稳定的特点, 因 此移动终端利用 MPTCP实现多路并行传输会存在以下问题: 不稳定的链路会 使得链路失败的几率提高。 而在 MPTCP技术中, 一旦链路发生重传超时, 就 会在其他的链路和原链路上同时重传数据以确保链路的完整性。只有在所有发 送该数据的链路上都收到该数据的确认,移动终端才会将保存在发送緩存中的 数据删除。 而移动终端通常需要 6次重传超时才会侦测到链路失败, 那么在这 N次重传的过程中, 该数据就会一直被保存在发送緩存中, 阻塞后续数据进入 有限的发送緩存中。这种情况下, 其他性能好的链路也无法获得可用数据进行 正常发送, 影响整个并行多路传输的性能, 导致整个网络资源无法得到充分的 利用。 发明内容
本发明实施例提供一种在多路传输控制协议中的链路处理方法和移动终 端, 能够有效减轻性能差或意外失败的链路对并行多路传输的影响,提高网络 吞吐量, 提高整个并行多路传输的性能。
本发明的第一方面是提供一种在多路传输控制协议中的链路处理方法,包 括:
检测到链路 i的定时器超时, i为自然数;
获得所述链路 i的定时器的超时次数 Ni, Ni为自然数;
如果所述链路 i的定时器的超时次数 Ni > 1 , JLNi < 5 , 则通过所述链路 i发 送探测信息包。
在本发明的第一方面的第一种可能实现方式中, 所述方法还包括: 如果所 述链路 i的定时器的超时次数 Ni=l ,
利用最大慢启动门限 SSTHRESH优先算法选择链路 j , j为自然数; 通过所述链路 i和所述链路 j同时重传在所述链路 i上丟失的通信数据包。 在本发明的第一方面的第二种可能实现方式中, 所述方法还包括: 将所述链路 i的状态标记为不可用预测状态, 所述不可用预测状态用于: 指示移动终端通过所述链路 i发送通信数据包存在风险。
本发明的第二方面是提供一种移动终端, 包括:
检测模块, 用于检测到链路 i的定时器超时, i为自然数;
获得模块, 用于获得所述链路 i的定时器的超时次数 Ni, Ni为自然数; 发送模块, 用于如果所述获得模块获得的链路 i的定时器的超时次数 Ni > 1 , JLNi < 5 , 通过所述链路 i发送探测信息包。
在本发明的第二方面的第一种可能实现方式中, 还包括第一处理模块; 所述第一处理模块用于: 如果所述获得模块获得的所述链路 i的定时器的 超时次数 Ni=l , 利用最大慢启动门限 SSTHRESH优先算法选择链路 j , j为自然 数;
所述发送模块还用于: 通过所述链路 i和所述链路 j同时重传在所述链路 i 上丟失的通信数据包。
在本发明的第二方面的第二种可能实现方式中, 还包括第二处理模块; 所述第二处理模块用于: 如果所述链路 i的定时器的超时次数 Ni大于 1且小 于等于 5 , 将所述链路 i的状态标记为不可用预测状态, 所述不可用预测状态用 于: 指示移动终端通过所述链路 i发送通信数据包存在风险。 本发明的技术效果是: 移动终端在链路的超时重传的次数大于 1次且小于 等于 5次的情况下不再通过该链路发送通信数据包, 而是发送探测信息, 有效 实现了链路失败的预测。本实施例提供的方案可以有效减轻性能差或意外失败 的链路对并行多路传输的影响。 附图说明
图 1为本发明实施例一提供的在多路传输控制协议中的链路处理方法的流 程图;
图 2为本发明实施例二提供的在多路传输控制协议中的链路处理方法的流 程图;
图 3为本发明实施例三提供的在多路传输控制协议中的链路处理方法的流 程图;
图 4为本发明实施例四提供的移动终端的结构示意图;
图 5为本发明实施例四提供的移动终端的又一结构示意图;
图 6为本发明实施例四提供的移动终端的再一结构示意图;
图 7为本发明实施例五提供的手机的结构示意图。 具体实施方式
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨 在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的 "一 种"、 "所述"和 "该"也旨在包括多数形式, 除非上下文清楚地表示其他含义。 还应当理解, 本文中使用的术语 "和 /或" 是指并包含一个或多个相关联的列 出项目的任何或所有可能组合。 进一步应当理解, 本文中釆用的术语 "包括" 规定了所述的特征、 整体、 步骤、 操作、 元件和 /或部件的存在, 而不排除一 个或多个其他特征、 整体、 步骤、 操作、 元件、 部件和 /或它们的组的存在或 附加。 实施例一 图 1 为本发明实施例一提供的在多路传输控制协议中的链路处理方法的 流程图, 如图 1所示, 本实施例的方法包括: 步骤 101、 移动终端检测到链路 i的定时器超时, i为自然数。 这里需要说明的是,链路可以理解为一个移动终端与另一个移动终端之间 在交换数据时形成的无线通路, 两个移动终端之间的链路可以有一条、 两条、 甚至多条, 此处不做限定。 还需要说明的是, 超时重传是 TCP协议中保证数据可靠性的一个重要机 制, 其原理是: 移动终端通过某一链路, 如链路 i, 每发送一个通信数据包以 后, 都会开启一个定时器, 如果在预设的时间内没有接收到已发送的这个通信 数据包的确认消息(Acknowledgement, 简称为: ACK ), 链路 i的定时器就会 超时, 则需要通过链路 i重传已发送的这个通信数据包, 同时将链路 i的定时 器复位; 如果在预设的时间内接收到已发送的这个通信数据包的确认消息, 则 移动终端会撤销这个定时器。
一旦链路 i的定时器超时,移动终端需要更新该链路 i的 TCP最大重传数 ( Max Retrans, 简称为: TcpMDR )、 拥塞窗口 Ci和重传超时( Retransmission Time Out, 简称为: RTO )。 其中, TcpMDR是一个常量, TCP协议中规定了定时器的连续超时次数 N, 如果定时器的连续超时次数 N超过 TcpMDR这个常量, 那么移动终端会判定 该定时器的链路失败并关闭该链路连接。 不同的链路可以设置不同的 TCP最 大重传数。 数据在传输的时候不能只使用一个窗口协议,移动终端还需要通过更新拥 塞窗口 Ci来控制通过链路发送的数据流量, 使得数据不会一下子都进入网络 中弓 I起拥塞, 从而有效地确保链路与链路之间的公平性。 拥塞窗口 Ci可以使 用指数增长的速度来增加自身的窗口, 直到发生超时重传, 才需要进行调整。
RTO是时间的概念, RTO的值会随着超时次数 N成指数增加(例如 2N )。 举例而言,对于链路的定时器,每出现一次超时, TcpMDR的数值会减 1 , 拥塞窗口 Ci的数值会减少为原来的一半(如果为 1 , 则不变化), RTO的数值 会以指数方式增长。
对于 RTO的变化现举例说明如下: 当 RTO为 1秒的情况下, 发生了数据 重传, 就用 RTO为 2秒的定时器来重传数据, 如果再发生数据重传就用 RTO 为 4秒的定时器来重传数据,再发生数据重传就用 RTO为 64秒的定时器来重 传数据等等。 还需要说明的是, TcpMDR、 Ci和 RTO均可以记录在移动终端的緩存、 闪存或外设存储器中, 这三个数值可以根据 TCP协议自动恢复和更新。 步骤 102、 获得该链路 i的定时器的超时次数 Ni, Ni为自然数。 其中, 由于定时器的 RTO是记录在移动终端的緩存、 闪存或外设存储器 中的, 所以移动终端可以通过访问緩存、 闪存或外设存储器来获得链路 i的定 时器的 RTO,从而根据 RTO与 Ni之间的关系获得链路 i的定时器的超时次数 Ni。 步骤 103、 如果该链路 i的定时器的超时次数 Ni大于 1 , 且小于等于 5 , 移动终端通过链路 i发送探测信息包。 通过链路 i发送探测信息包的情况下, 该链路 i的定时器是需要继续工作 的, 而不需要重置。 那么, 如果在定时器的超时次数 N达到预设的次数之前, 移动终端通过链路 i接收到探测信息包的确认消息, 则将该链路 i的状态标记 为活跃状态, 并重新开始通过链路 i发送通信数据包。 这里可以使用慢启动算 法发送通信数据包, 慢启动算法是现在 TCP和多路 TCP ( Multipath TCP, 简 称为: MPTCP )协议中用来控制链路拥塞的主要算法。 在本实施例中, 探测信息包的主要作用在于探测该链路 i是否失败, 而通 信数据包的主要作用在于移动终端之间的信息沟通。探测信息包可以理解为一 种特殊的通信数据包, 用于链路是否失败的探测。 进一步的, 移动终端还可以将链路 i 的状态标记为不可用预测 ( Unavailability Predictable, 简称为: UP )状态, 该 UP状态主要用于指示移 动终端通过该链路 i发送通信数据包是存在风险的。 通常情况下, 移动终端在 发送通信数据包之前可以先检查各个链路的状态,移动终端会优先通过活跃状 态的链路发送通信数据包, 而不是通过失败状态或者 UP状态的链路发送通信 数据包。 本发明实施例提供的在多路传输控制协议中的链路处理方法,移动终端在 链路的超时重传的次数大于 1次且小于等于 5次的情况下不再通过该链路发送 通信数据包, 而是发送探测信息包, 有效实现了链路失败的预测。 本实施例提 供的方案可以有效减轻性能差或意外失败的链路对并行多路传输的影响。
实施例二 图 2 为本发明实施例二提供的在多路传输控制协议中的链路处理方法的 流程图, 本发明实施例提供的方法在上述实施例一的基础上, 还可以包括: 步骤 104、 如果定时器的超时次数 Ni超过了预设的次数, 移动终端通过 链路 i没有接收到探测信息包的确认消息,则将链路 i的状态标记为失败状态。 失败状态主要用于指示移动终端无法通过链路 i发送发送通信数据包。如 果移动终端在发送通信数据包之前检查到该链路 i的状态为失败状态, 移动终 端便不会通过该失败状态的链路发送通信数据包。 在实施例一的基础上,如果链路的定时器的超时重传的次数超过预设的次 数, 移动终端可以确认链路失败, 从而关闭链路。 本实施例提供的方案可以有 效减轻性能差或意外失败的链路对并行多路传输的影响。 实施例三 图 3 为本发明实施例三提供的在多路传输控制协议中的链路处理方法的 流程图, 本发明实施例提供的方法在上述实施例一和 /或实施例二的基础上, 还可以包括: 步骤 105、 如果该链路 i的定时器的超时次数 Ni等于 1 , 移动终端可以利 用最大慢启动门限( Slow Start Threshold, 简称为: SSTHRESH )优先算法选 择链路 j , j为自然数, 在链路 i和链路 j上同时重传在链路 i上丟失的通信数 据包。
如果移动终端通过链路 j接收到上述丟失的通信数据包的确认消息,表示 上述丟失的通信数据包已通过链路 j传送成功, 移动终端可以释放存储上述通 信数据包的相应緩存。 这里所谓的慢启动门限就是说, 当拥塞窗口 α超过这个慢启动门限的时 候, 就使用拥塞避免算法, 而当拥塞窗口 α在这个慢启动门限以内就釆用慢 启动算法。 这里使用最大 SSTHRESH优先算法选择的链路, 在丟包率和吞吐 量性能上都优于其他链路, 能够有效保证数据尽可能高效地到达接收端, 减少 重传超时的次数。 实施例四 图 4为本发明实施例四提供的移动终端的结构示意图,该移动终端为上述 方法实施例的执行主体, 具体的方法流程可以参考实施例一的内容, 此处不做 赘述。 如图 4所示, 该移动终端包括: 检测模块 401、 获得模块 402、 以及发 送模块 403。其中,检测模块 401用于检测到链路 i的定时器超时, i为自然数; 获得模块 402用于获得所述链路 i的定时器的超时次数 Ni, Ni为自然数; 发 送模块 403用于如果所述获得模块 402获得的链路 i的定时器的超时次数 Ni 大于 1且小于等于 5 , 通过所述链路 i发送探测信息包。 一种实施方式下,如图 5所示的本发明实施例四提供的移动终端的又一结 构示意图, 还包括第一处理模块 404; 该第一处理模块 404用于: 如果所述获 得模块 402获得的所述链路 i的定时器的超时次数 Ni等于 1 ,利用最大慢启动 门限 SSTHRESH优先算法选择链路 j , j为自然数; 所述发送模块 403还用于: 通过所述链路 i和所述链路 j同时重传在所述链路 i上丟失的通信数据包。 又一种实施方式下,如图 6所示的本发明实施例四提供的移动终端的再一 结构示意图, 还包括第二处理模块 405; 所述第二处理模块 405用于: 将所述 链路 i的状态标记为不可用预测状态, 所述不可用预测状态用于: 指示移动终 端通过所述链路 i发送通信数据包存在风险。 本发明实施例提供的移动终端, 移动终端在链路的超时重传的次数大于 1 次且小于等于 5次的情况下不再通过该链路发送通信数据包,而是发送探测信 息包,有效实现了链路失败的预测。如果链路的定时器的超时重传的次数超过 预设的次数, 移动终端可以确认链路失败, 从而关闭链路。 本实施例提供的方 案可以有效减轻性能差或意外失败的链路对并行多路传输的影响。 实施例五 如图 7, 本实施例以手机为例对本发明进行具体说明。 应该理解的是, 图 示手机 700仅仅是移动终端的一个范例,并且手机 700可以具有比图 7中所示 出的更过的或者更少的部件, 可以组合两个或更多的部件, 或者可以具有不同 的部件配置。 图中所示出的各种部件可以在包括一个或多个信号处理和 /或专 用集成电路在内的硬件、 软件、 或硬件和软件的组合中实现。 该手机 700为上述方法实施例的执行主体,具体的方法流程可以参考实施 例一的内容, 此处不做赞述。 如图 7所示, 该手机包括: 处理器 701和发送器 702。 处理器 701用于: 检测到链路 i的定时器超时, 获得所述链路 i的定时器 的超时次数 Ni, i为自然数, Ni为正整数; 发送器 702用于如果处理器 701 中获得的链路 i的定时器的超时次数 Ni大于 1且小于等于 5, 通过所述链路 i 发送探测信息包。 上述提到的处理器 701可以是手机的 CPU, 也可以是设置在手机内部或 者外部的物理芯片等。发送器 702可以是手机的收发天线,也可以是设置在手 机内部或者外部的物理芯片等。 一种实施方式下, 上述处理器 701还可以用于: 如果获得的所述链路 i的 定时器的超时次数 Ni等于 1 , 利用最大慢启动门限 SSTHRESH优先算法选择 链路 j , j为自然数; 发送器 702还可以用于通过所述链路 i和所述链路 j同时 重传使得所述链路 i的定时器超时的通信数据包。 又一种实施方式下, 上述处理器 701还可以用于: 如果获得的所述链路 i 的定时器的超时次数 Ni大于 1且小于等于 5,将所述链路 i的状态标记为不可 用预测状态, 所述不可用预测状态用于: 指示移动终端(如手机)通过所述链 路 i发送通信数据包存在风险。 本发明实施例提供的手机,在链路的超时重传的次数大于 1次且小于等于
5次的情况下不再通过该链路发送通信数据包, 而是发送探测信息包, 有效实 现了链路失败的预测。 如果链路的定时器的超时重传的次数超过预设的次数, 手机可以确认链路失败,从而关闭链路。本实施例提供的方案可以有效减轻性 能差或意外失败的链路对并行多路传输的影响。 本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取 存储介质中。 该程序在执行时, 执行包括上述各方法实施例的步骤; 而前述的 存储介质包括: ROM, RAM,磁碟或者光盘等各种可以存储程序代码的介质。 最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或者 对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并不使相 应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权 利 要 求
1、 一种在多路传输控制协议中的链路处理方法, 其特征在于, 包括: 检测到链路 i的定时器超时, i为自然数;
获得所述链路 i的定时器的超时次数 Ni, Ni为自然数;
如果所述链路 i的定时器的超时次数 Ni > 1且 Ni < 5 , 则通过所述链路 i发送 探测信息包。
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 如果所述链路 i的定时器的超时次数 Ni=l, 利用最大慢启动门限
SSTHRESH优先算法选择链路 j , j为自然数;
通过所述链路 i和所述链路 j同时重传在所述链路 i上丟失的通信数据包。
3、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 将所述链路 i的状态标记为不可用预测状态, 所述不可用预测状态用于: 指示移动终端通过所述链路 i发送通信数据包存在风险。
4、 一种移动终端, 其特征在于, 包括:
检测模块, 用于检测到链路 i的定时器超时, i为自然数;
获得模块, 用于获得所述链路 i的定时器的超时次数 Ni, Ni为自然数; 发送模块, 用于如果所述获得模块获得的所述链路 i的定时器的超时次数 Ni > 1 , JLNi < 5 , 通过所述链路 i发送探测信息包。
5、 根据权利要求 4所述的移动终端, 其特征在于, 还包括第一处理模块; 所述第一处理模块用于: 如果所述获得模块获得的所述链路 i的定时器的 超时次数 Ni=l , 利用最大慢启动门限 SSTHRESH优先算法选择链路 j , j为自然 数;
所述发送模块还用于: 通过所述链路 i和所述链路 j同时重传在所述链路 i 上丟失的通信数据包。
6、 根据权利要求 4所述的移动终端, 其特征在于, 还包括第二处理模块; 所述第二处理模块用于: 将所述链路 i的状态标记为不可用预测状态, 所 述不可用预测状态用于: 指示移动终端通过所述链路 i发送通信数据包存在风 险。
PCT/CN2014/079087 2013-06-04 2014-06-03 在多路传输控制协议中的链路处理方法和移动终端 WO2014194806A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP14806789.5A EP2996275B1 (en) 2013-06-04 2014-06-03 Link processing method and mobile terminal in multiplexing control protocol
US14/895,646 US20160127083A1 (en) 2013-06-04 2014-06-03 Link Processing in Multipath Transmission Control Protocol and Mobile Terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2013102188792A CN103326831A (zh) 2013-06-04 2013-06-04 在多路传输控制协议中的链路处理方法和移动终端
CN201310218879.2 2013-06-04

Publications (1)

Publication Number Publication Date
WO2014194806A1 true WO2014194806A1 (zh) 2014-12-11

Family

ID=49195382

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/079087 WO2014194806A1 (zh) 2013-06-04 2014-06-03 在多路传输控制协议中的链路处理方法和移动终端

Country Status (4)

Country Link
US (1) US20160127083A1 (zh)
EP (1) EP2996275B1 (zh)
CN (1) CN103326831A (zh)
WO (1) WO2014194806A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103326831A (zh) * 2013-06-04 2013-09-25 华为终端有限公司 在多路传输控制协议中的链路处理方法和移动终端
KR102259652B1 (ko) * 2014-03-31 2021-06-02 삼성전자주식회사 멀티 패스 트랜스포트 제어 프로토콜을 지원하는 통신 네트워크에서 서비스 제공 장치 및 방법
CN104301912B (zh) * 2014-09-28 2018-04-13 北京盈进科技有限公司 一种路径通断的检测方法和装置
EP3311532B1 (en) * 2015-06-19 2020-03-04 Intel Corporation Apparatus and method for traffic prediction and bandwidth aggregation
CN108631961A (zh) * 2017-03-24 2018-10-09 中国移动通信有限公司研究院 一种多连接下实现多链路重传的方法及基站
CN109510690B (zh) 2017-09-14 2020-07-28 华为技术有限公司 传输报文的方法、网络组件和计算机可读存储介质
CN109951260B (zh) * 2018-02-12 2020-04-03 华为技术有限公司 一种数据包发送方法及相关设备
CN111835721A (zh) * 2020-06-10 2020-10-27 成都国泰网信科技有限公司 一种基于链路活跃状态寻址的通信方法及通信设备
CN111817825A (zh) * 2020-09-07 2020-10-23 广东睿江云计算股份有限公司 一种tcp数据重传方法及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515840A (zh) * 2009-03-09 2009-08-26 北京交通大学 一种多路径并行传输发送的选路方法
CN101719918A (zh) * 2009-11-27 2010-06-02 北京交通大学 一种改进的适用于多连接多路径的传输方法
CN103326831A (zh) * 2013-06-04 2013-09-25 华为终端有限公司 在多路传输控制协议中的链路处理方法和移动终端

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6018516A (en) * 1997-11-14 2000-01-25 Packeteer, Inc. Method for minimizing unneeded retransmission of packets in a packet communication environment supporting a plurality of data link rates
EP1278348A1 (en) * 2001-07-17 2003-01-22 Alcatel Long-lived TCP connection using ICMP messages in wireless mobile communications
US8111649B1 (en) * 2008-03-31 2012-02-07 Google Inc. Method and apparatus for enabling a host to influence how a packet is routed through a network
CN101895466B (zh) * 2010-07-02 2013-03-20 北京交通大学 一种降低sctp多路径传输数据包乱序影响的方法
US9503223B2 (en) * 2011-03-04 2016-11-22 Blackberry Limited Controlling network device behavior

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515840A (zh) * 2009-03-09 2009-08-26 北京交通大学 一种多路径并行传输发送的选路方法
CN101719918A (zh) * 2009-11-27 2010-06-02 北京交通大学 一种改进的适用于多连接多路径的传输方法
CN103326831A (zh) * 2013-06-04 2013-09-25 华为终端有限公司 在多路传输控制协议中的链路处理方法和移动终端

Also Published As

Publication number Publication date
EP2996275A1 (en) 2016-03-16
US20160127083A1 (en) 2016-05-05
EP2996275B1 (en) 2018-04-04
CN103326831A (zh) 2013-09-25
EP2996275A4 (en) 2016-04-27

Similar Documents

Publication Publication Date Title
WO2014194806A1 (zh) 在多路传输控制协议中的链路处理方法和移动终端
RU2691240C1 (ru) Способ пакетной передачи и абонентское устройство
JP4542150B2 (ja) 送信装置、受信装置、情報通信方法
KR100684307B1 (ko) 자동 재전송 요청 블록을 수신하는 방법 및 그 프로그램이 저장된 기록 매체
US8402343B2 (en) Reliable packet cut-through
JP2011501483A (ja) 周辺機器のためのミリ波通信
KR20070033292A (ko) 무선 통신 시스템에서 시그날링 데이터 메시지들을전송하는 방법 및 장치
WO2011100911A2 (zh) 探测处理方法、数据发送端、数据接收端以及通信系统
US20120201151A1 (en) Layer 2 ACK And NACK Status Reporting
KR20190011898A (ko) 무선 통신 시스템에서 단말, 기지국 및 이의 통신 방법
WO2010130156A1 (zh) 在双向数据传输中发送ack响应的方法、设备和系统
WO2015074279A1 (zh) 一种基于udp协议的网络编码及传输方法
WO2014161421A1 (zh) 数据传输方法、设备及系统
US9510242B2 (en) Reducing superfluous traffic in a network
Wang et al. Concurrent multipath transfer protocol used in ad hoc networks
EP3031159B1 (en) Retransmission control network node and related method
JP4888571B2 (ja) 受信装置、受信方法、無線通信システム、及び通信方法
JP2007324700A (ja) 伝送制御方法
KR100529931B1 (ko) 무선 네트워크망을 통해 통신하는 서버 시스템
JP3741421B2 (ja) データ通信方法及び通信端末装置
EP3574600B1 (en) Communication protocol packet retransmission
KR101511225B1 (ko) 패킷 송수신을 제어하는 망연동장치 및 방법
Zabir et al. An efficient flow control approach for TCP over wireless Networks
Gao et al. LHP: An end-to-end reliable transport protocol over wireless data networks
JP2005102340A (ja) ゲートウェイ装置

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14895646

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2014806789

Country of ref document: EP