技术领域Technical field
本公开涉及网络通信技术领域,尤其涉及一种修改基于TCP滑动窗口参数加速文件传输的方法及装置。The present disclosure relates to the field of network communication technology, and in particular to a method and device for accelerating file transmission by modifying TCP sliding window parameters.
背景技术Background technique
滑动窗口是TCP(Transmission Control Protocol,传输控制协议)包头中的重要参数之一,用于调整数据发送与接收的缓存策略,决定了会话的传输效率。The sliding window is one of the important parameters in the TCP (Transmission Control Protocol) header. It is used to adjust the caching strategy for data sending and receiving, and determines the transmission efficiency of the session.
SD-WAN系统中,承载隧道(Overlay)的Underlay网络多半是不稳定的互联网,一个显著的问题是会话创建时确定的一个固定滑动窗口大小未必适应后续某个时间段的需求。因此,随着网络质量的上下浮动,需要一个实时的调整机制以更好地适配长时间大带宽的业务,尤其是文件传输场景。In SD-WAN systems, the underlay network that carries the tunnel (overlay) is mostly an unstable Internet. One obvious problem is that the fixed sliding window size determined when the session is created may not meet the needs of a certain subsequent period of time. Therefore, as network quality fluctuates, a real-time adjustment mechanism is needed to better adapt to long-term and large-bandwidth services, especially file transfer scenarios.
发明内容Contents of the invention
有鉴于此,本申请提出一种基于修改TCP滑动窗口参数加速文件传输的方法及装置,以解决上述问题。In view of this, this application proposes a method and device for accelerating file transmission based on modifying TCP sliding window parameters to solve the above problems.
本申请一方面,提出一种基于修改TCP滑动窗口参数加速文件传输的方法,包括如下步骤:On the one hand, this application proposes a method for accelerating file transmission based on modifying TCP sliding window parameters, which includes the following steps:
将网络质量检测模块部署在服务端节点或客户端节点中的至少一端;Deploy the network quality detection module on at least one of the server node or the client node;
利用所述网络质量检测模块向所述客户端节点发送检测数据,检测网络质量,得到检测结果;Utilize the network quality detection module to send detection data to the client node, detect network quality, and obtain detection results;
根据所述检测结果计算滑动窗口的配置参数;Calculate the configuration parameters of the sliding window according to the detection results;
将所述配置参数下发至所述服务端节点,且所述服务端节点根据所述配置参数进行文件传输。The configuration parameters are delivered to the server node, and the server node performs file transmission according to the configuration parameters.
作为本申请的一可选实施方案,可选地,当将所述网络质量检测模块在所述服务端节点和所述客户端节点混合部署时,基于编排器实现对于所述网络质量检测模块的管理。As an optional implementation of this application, optionally, when the network quality detection module is deployed mixedly on the server node and the client node, the network quality detection module is implemented based on the orchestrator. manage.
作为本申请的一可选实施方案,可选地,所述检测数据为ICMP数据包。As an optional implementation of this application, optionally, the detection data is an ICMP data packet.
作为本申请的一可选实施方案,可选地,所述检测结果包括时延和丢包率。As an optional implementation of this application, optionally, the detection results include delay and packet loss rate.
作为本申请的一可选实施方案,可选地,所述将所述配置参数下发至所述服务端节点,且所述服务端节点根据所述配置参数进行文件传输之后,还包括:As an optional implementation solution of this application, optionally, after the configuration parameters are delivered to the server node, and the server node performs file transmission according to the configuration parameters, it also includes:
向所述客户端节点发送新的检测数据,根据对应的检测结果计算滑动窗口新的配置参数,并将新的配置参数再次下发至所述服务端节点,进行文件传输。Send new detection data to the client node, calculate new configuration parameters of the sliding window based on the corresponding detection results, and deliver the new configuration parameters to the server node again for file transmission.
本申请另一方面,提供一种基于修改TCP滑动窗口参数加速文件传输装置,包括:On the other hand, this application provides a device for accelerating file transmission based on modifying TCP sliding window parameters, including:
部署模块,被配置为将网络质量检测模块部署在服务端节点或客户端节点中的至少一端;a deployment module configured to deploy the network quality detection module on at least one of the server node or the client node;
检测模块,被配置为利用所述网络质量检测模块向所述客户端节点发送检测数据,检测网络质量,得到检测结果;A detection module configured to use the network quality detection module to send detection data to the client node, detect network quality, and obtain detection results;
计算模块,被配置为根据所述检测结果计算滑动窗口的配置参数;a calculation module configured to calculate the configuration parameters of the sliding window according to the detection results;
参数下发模块,被配置为将所述配置参数下发至所述服务端节点,且所述服务端节点根据所述配置参数进行文件传输。A parameter delivery module is configured to deliver the configuration parameters to the server node, and the server node performs file transmission according to the configuration parameters.
本申请另一方面,提供一种控制系统,包括:On the other hand, this application provides a control system, including:
处理器;processor;
用于存储处理器可执行指令的存储器;Memory used to store instructions executable by the processor;
其中,所述处理器被配置为执行所述可执行指令时实现上述任一项所述的基于修改TCP滑动窗口参数加速文件传输的方法。Wherein, the processor is configured to implement any one of the above methods for accelerating file transfer based on modifying TCP sliding window parameters when executing the executable instructions.
本申请另一方面,提供非易失性计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述任一项所述的基于修改TCP滑动窗口参数加速文件传输的方法。In another aspect, the present application provides a non-volatile computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the acceleration based on modifying TCP sliding window parameters as described in any of the above is implemented. File transfer method.
本发明的技术效果:Technical effects of the present invention:
本申请通过部署网络质量检测模块实时检测Underlay网络的质量,并基于检测结果动态修改滑动窗口大小,从而改善长时间大带宽业务的体验。具体的,包括将网络质量检测模块部署在服务端节点或客户端节点中的至少一端;利用网络质量检测模块向客户端节点发送检测数据,检测网络质量,得到检测结果;根据检测结果计算滑动窗口的配置参数;将配置参数下发至服务端节点,且服务端节点根据配置参数进行文件传输。也即,本申请通过网络质量检测模块会实时向客户端节点发送检测数据以检测网络质量,并根据检测结果计算出适合的滑动窗口配置参数下发到服务器节点本身,由此优化文件传输数据流的效率。This application deploys a network quality detection module to detect the quality of the Underlay network in real time, and dynamically modifies the sliding window size based on the detection results, thereby improving the experience of long-term large-bandwidth services. Specifically, it includes deploying the network quality detection module on at least one of the server node or the client node; using the network quality detection module to send detection data to the client node, detecting the network quality, and obtaining detection results; and calculating the sliding window based on the detection results. Configuration parameters; deliver the configuration parameters to the server node, and the server node performs file transfer according to the configuration parameters. That is to say, this application uses the network quality detection module to send detection data to the client node in real time to detect the network quality, and calculates the appropriate sliding window configuration parameters based on the detection results and sends them to the server node itself, thereby optimizing the file transfer data flow. s efficiency.
根据下面参考附图对示例性实施例的详细说明,本公开的其它特征及方面将变得清楚。Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings.
附图说明Description of drawings
包含在说明书中并且构成说明书的一部分的附图与说明书一起示出了本公开的示例性实施例、特征和方面,并且用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and together with the description serve to explain the principles of the disclosure.
图1示出为本发明的基于修改TCP滑动窗口参数加速文件传输的方法流程图;Figure 1 shows a flow chart of the method of accelerating file transmission based on modifying TCP sliding window parameters according to the present invention;
图2示出为本发明的基于修改TCP滑动窗口参数加速文件传输的方法实施流程示意图;Figure 2 shows a schematic flow chart of the method for accelerating file transmission based on modifying TCP sliding window parameters according to the present invention;
图3示出为本发明的基于修改TCP滑动窗口参数加速文件传输的方法中编排器与客户端/服务端的拓扑结构图;Figure 3 shows the topological structure diagram of the orchestrator and the client/server in the method of accelerating file transmission based on modifying TCP sliding window parameters of the present invention;
图4示出为本发明的基于修改TCP滑动窗口参数加速文件传输的方法中的编排器与客户端/服务端的时序图;Figure 4 shows a sequence diagram of the orchestrator and the client/server in the method of accelerating file transmission based on modifying TCP sliding window parameters of the present invention;
图5示出为本发明的基于修改TCP滑动窗口参数加速文件传输的方法中一个发送窗口的实例;Figure 5 shows an example of a sending window in the method of accelerating file transmission based on modifying TCP sliding window parameters of the present invention;
图6示出为本发明的基于修改TCP滑动窗口参数加速文件传输的方法中调整后的发送窗口的实例。Figure 6 shows an example of the adjusted sending window in the method of accelerating file transmission based on modifying TCP sliding window parameters of the present invention.
具体实施方式Detailed ways
以下将参考附图详细说明本公开的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features, and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numbers in the drawings identify functionally identical or similar elements. Although various aspects of the embodiments are illustrated in the drawings, the drawings are not necessarily drawn to scale unless otherwise indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" as used herein means "serving as an example, example, or illustrative." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or superior to other embodiments.
另外,为了更好的说明本公开,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本公开同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本公开的主旨。In addition, in order to better explain the present disclosure, numerous specific details are given in the following detailed description. It will be understood by those skilled in the art that the present disclosure may be practiced without certain specific details. In some instances, methods, means, components and circuits that are well known to those skilled in the art are not described in detail in order to emphasize the subject matter of the disclosure.
实施例1Example 1
如图1和图2所示,本申请一方面,提出一种基于修改TCP滑动窗口参数加速文件传输的方法,包括如下步骤:As shown in Figures 1 and 2, on the one hand, this application proposes a method for accelerating file transmission based on modifying TCP sliding window parameters, which includes the following steps:
S100、将网络质量检测模块部署在服务端节点或客户端节点中的至少一端;S100. Deploy the network quality detection module on at least one of the server node or the client node;
S200、利用所述网络质量检测模块向所述客户端节点发送检测数据,检测网络质量,得到检测结果;S200. Use the network quality detection module to send detection data to the client node, detect network quality, and obtain detection results;
S300、根据所述检测结果计算滑动窗口的配置参数;S300. Calculate the configuration parameters of the sliding window according to the detection results;
S400、将所述配置参数下发至所述服务端节点,且所述服务端节点根据所述配置参数进行文件传输。S400. Send the configuration parameters to the server node, and the server node performs file transmission according to the configuration parameters.
本实施例中通过部署网络质量检测模块实时检测Underlay网络的质量,并基于检测结果动态修改滑动窗口大小,从而改善长时间大带宽业务的体验。也即,网络质量检测模块会实时向客户端节点发送检测数据以检测网络质量,并根据检测结果计算出适合的滑动窗口配置参数下发到服务器节点本身,由此优化文件传输数据流的效率。In this embodiment, the network quality detection module is deployed to detect the quality of the Underlay network in real time, and the sliding window size is dynamically modified based on the detection results, thereby improving the experience of long-term large-bandwidth services. That is to say, the network quality detection module will send detection data to the client node in real time to detect the network quality, and calculate the appropriate sliding window configuration parameters based on the detection results and send them to the server node itself, thereby optimizing the efficiency of the file transfer data stream.
具体的,通过S100、将网络质量检测模块部署在服务端节点或客户端节点中的至少一端。Specifically, through S100, the network quality detection module is deployed on at least one of the server node or the client node.
需要说明的是,本实施例中的网络质量检测模块能够部署在服务端节点或客户端节点中的任意一端,也可以在服务端节点和客户端节点同时混合部署。其中,对于大多数场景需求而言,将网络质量检测模块部署在服务端节点即可。若需要更大规模的质量检测,则网络质量模块可以部署在客户端节点,或者在服务端与客户端混合部署。It should be noted that the network quality detection module in this embodiment can be deployed on either the server node or the client node, or can be deployed on both the server node and the client node at the same time. Among them, for most scenario requirements, the network quality detection module can be deployed on the server node. If larger-scale quality inspection is required, the network quality module can be deployed on the client node, or deployed on the server and client in a mixed manner.
当将网络质量检测模块内置在服务端节点时,服务端节点内的网络质量检测模块通过执行步骤S200-300从而实现优化文件传输数据流效率的目的。When the network quality detection module is built into the server node, the network quality detection module in the server node realizes the purpose of optimizing the efficiency of the file transmission data flow by executing steps S200-300.
作为本申请的一可选实施方案,可选地,当将所述网络质量检测模块在所述服务端节点和所述客户端节点混合部署时,基于编排器实现对于所述网络质量检测模块的管理。As an optional implementation of this application, optionally, when the network quality detection module is deployed mixedly on the server node and the client node, the network quality detection module is implemented based on the orchestrator. manage.
也即,当网络质量检测模块混合部署在服务端节点和客户端节点时,基于一个编排器实现对于网络质量检测模块的集中管理。其中编排器的功能包括下发部署命令、回收采集数据、统筹计算优化滑动窗口大小以及下发滑动窗口大小参数。具体的,编排器按照步骤S200-步骤S400的顺序进行文件传输效率的优化。如图2和图4所示,编排器同时与若干个客户端节点及服务器节点通信,在优化文件传输效率过程中,编排器通过步骤S200、利用所述网络质量检测模块向所述客户端节点发送检测数据,检测网络质量,得到检测结果。即编排器控制网络质量检测模块下发操作指令,也即向客户端节点发送检测数据,检测网络质量,得到检测结果。That is, when the network quality detection module is deployed on the server node and the client node, centralized management of the network quality detection module is implemented based on an orchestrator. The functions of the orchestrator include issuing deployment commands, recycling collected data, coordinating calculations and optimizing the sliding window size, and issuing sliding window size parameters. Specifically, the organizer optimizes the file transmission efficiency in the order of step S200 to step S400. As shown in Figure 2 and Figure 4, the orchestrator communicates with several client nodes and server nodes at the same time. In the process of optimizing file transmission efficiency, the orchestrator uses the network quality detection module to send data to the client node through step S200. Send detection data, detect network quality, and obtain detection results. That is, the orchestrator controls the network quality detection module to issue operation instructions, that is, it sends detection data to the client node, detects the network quality, and obtains the detection results.
需要说明的是,编排器掌握的数据不仅包括滑动窗口大小和网络质量,还包括网络拓扑结构,如每一条链路之间的关系(共用Underlay的情况,前后级的情况)、每一条链路上的带宽(是否繁忙)、每一条链路的重要性(是否是VIP客户使用)。基于上述额外的信息,编排器能够对某些网络状态改变作出提前判断。It should be noted that the data mastered by the orchestrator not only includes the sliding window size and network quality, but also the network topology, such as the relationship between each link (the situation of sharing underlay, the situation of front and rear stages), each link bandwidth (whether it is busy), and the importance of each link (whether it is used by VIP customers). Based on the above additional information, the orchestrator can make early judgments on certain network status changes.
如,共用Underlay的所有(或大多数)链路如果同时质量恶化,可以判定是Underlay线路问题,可及早对网络进行调整,但如果仅仅是个别链路恶化,可排除Underlay线路问题,仅调节滑动窗口即可。不仅如此,采集在特定线路上滑动窗口、丢包率、延时、带宽的关联关系,调整滑动窗口时可直接一步到位到经验值,而不必每次反复尝试,提高了调整效率,减少了优化时间消耗。例如北京至广州的某线路,延时从50ms降至100ms,且丢包率小于2%时,滑动窗口应直接从8调整到12,不必再尝试9、10、11三种配置。For example, if the quality of all (or most) links sharing an underlay deteriorates at the same time, it can be determined to be an underlay line problem, and the network can be adjusted as soon as possible. However, if only individual links deteriorate, the underlay line problem can be ruled out and only the sliding adjustment can be made. Just window. Not only that, it collects the correlation between the sliding window, packet loss rate, delay, and bandwidth on a specific line. When adjusting the sliding window, you can directly reach the empirical value in one step without having to try again and again, which improves the adjustment efficiency and reduces the optimization time. the time consumption. For example, on a line from Beijing to Guangzhou, when the delay is reduced from 50ms to 100ms and the packet loss rate is less than 2%, the sliding window should be adjusted directly from 8 to 12. There is no need to try three configurations of 9, 10, and 11.
作为本申请的一可选实施方案,可选地,所述检测数据为ICMP数据包。作为本申请的一可选实施方案,可选地,所述检测结果包括时延和丢包率。也就是说,检测模块实时向客户端节点发送ICMP数据包实现检测网络时延和丢包率的目的。As an optional implementation of this application, optionally, the detection data is an ICMP data packet. As an optional implementation of this application, optionally, the detection results include delay and packet loss rate. In other words, the detection module sends ICMP data packets to the client node in real time to detect network delay and packet loss rate.
随后,通过步骤S300、根据所述检测结果计算滑动窗口的配置参数。也即编排器通过将网络质量的检测结果进行集中数据分析,得到合适的滑动窗口参数。Subsequently, through step S300, the configuration parameters of the sliding window are calculated according to the detection results. That is, the orchestrator obtains appropriate sliding window parameters by conducting centralized data analysis on the network quality detection results.
例如,如图5示出为一个发送窗口的实例,图5中发送窗口的大小为8,是当时的默认值,其中5-8字节为已发送但未确认,9-12字节为未发送,接收方准备接收。当编排器实时检测数据发现时延增大,则对发送窗口进行调整。如图6所示,图6示出为调整后的发送窗口的实例,对应的发送窗口大小从8增长到10,可以容纳更多的未发送及未确认内容,即5-9字节为已发送但未确认,10-14字节为未发送,接收方准备接收。以此类推,当编排器实时检测数据发现时延减小时,发送窗口的大小也会相应调小,重复之处不再赘述。For example, Figure 5 shows an example of a sending window. The size of the sending window in Figure 5 is 8, which was the default value at that time. Bytes 5-8 are sent but not confirmed, and bytes 9-12 are unacknowledged. Sent, the receiver is ready to receive. When the orchestrator detects data in real time and finds that the delay has increased, it adjusts the sending window. As shown in Figure 6, Figure 6 shows an example of the adjusted sending window. The corresponding sending window size increases from 8 to 10, which can accommodate more unsent and unconfirmed content, that is, 5-9 bytes are Sent but not confirmed, 10-14 bytes are not sent, and the receiver is ready to receive. By analogy, when the orchestrator detects data in real time and finds that the delay is reduced, the size of the sending window will be reduced accordingly, and the duplication will not be repeated.
进一步的,通过步骤S400、将所述配置参数下发至所述服务端节点,且所述服务端节点根据所述配置参数进行文件传输。通过优化后的参数调整服务端节点的文件传输行为,更有效地控制数据包的发送速率。Further, through step S400, the configuration parameters are delivered to the server node, and the server node performs file transmission according to the configuration parameters. Adjust the file transfer behavior of the server node through optimized parameters to more effectively control the sending rate of data packets.
作为本申请的一可选实施方案,可选地,所述将所述配置参数下发至所述服务端节点,且所述服务端节点根据所述配置参数进行文件传输之后,还包括:As an optional implementation solution of this application, optionally, after the configuration parameters are delivered to the server node, and the server node performs file transmission according to the configuration parameters, it also includes:
S500、向所述客户端节点发送新的检测数据,根据对应的检测结果计算滑动窗口新的配置参数,并将新的配置参数再次下发至所述服务端节点,进行文件传输。S500: Send new detection data to the client node, calculate new configuration parameters of the sliding window based on the corresponding detection results, and deliver the new configuration parameters to the server node again for file transmission.
此处,需要说明的是,调整后的配置参数下发至服务端节点之后,网络质量随之发生变化,相应的检测结果也会随之变化。因此,通过向客户端节点发送新的检测数据,进行网络检测,从而得到新的检测结果。基于新的检测结果重新调整滑动窗口的配置参数,继续下发至服务端节点,不断地调整和改进文件传输的性能,以此形成一个负反馈闭环。Here, it should be noted that after the adjusted configuration parameters are delivered to the server node, the network quality will change accordingly, and the corresponding detection results will also change accordingly. Therefore, network detection is performed by sending new detection data to the client node, thereby obtaining new detection results. Based on the new detection results, the configuration parameters of the sliding window are re-adjusted and continue to be sent to the server node to continuously adjust and improve the performance of file transmission, thereby forming a negative feedback closed loop.
综上所述,本申请通过部署网络质量检测模块实时监测网络质量,并调整会话的滑动窗口参数,由此保证在不稳定的Underlay环境中可实时优化文件传输效率。并通过引入编排器对大量网络质量检测模块实现集中化管理,由编排器进行集中数据分析,进一步的保证传输优化的实现。To sum up, this application deploys a network quality detection module to monitor network quality in real time and adjusts the sliding window parameters of the session, thereby ensuring that file transfer efficiency can be optimized in real time in an unstable Underlay environment. By introducing an orchestrator, centralized management of a large number of network quality detection modules is implemented, and the orchestrator performs centralized data analysis to further ensure the realization of transmission optimization.
本领域技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成的,程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各控制方法的实施例的流程。其中,存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)、随机存储记忆体(RandomAccessMemory,RAM)、快闪存储器(FlashMemory)、硬盘(HardDiskDrive,缩写:HDD)或固态硬盘(Solid-StateDrive,SSD)等;存储介质还可以包括上述种类的存储器的组合。Those skilled in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed When doing so, it may include the processes of the above-mentioned embodiments of each control method. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive, abbreviation: HDD) or Solid-State Drive (SSD), etc.; the storage medium may also include a combination of the above types of memories.
实施例2Example 2
进一步地,本申请另一方面,提供一种基于修改TCP滑动窗口参数加速文件传输装置,包括:Further, another aspect of this application provides a device for accelerating file transmission based on modifying TCP sliding window parameters, including:
部署模块,被配置为将网络质量检测模块部署在服务端节点或客户端节点中的至少一端;a deployment module configured to deploy the network quality detection module on at least one of the server node or the client node;
检测模块,被配置为利用所述网络质量检测模块向所述客户端节点发送检测数据,检测网络质量,得到检测结果;A detection module configured to use the network quality detection module to send detection data to the client node, detect network quality, and obtain detection results;
计算模块,被配置为根据所述检测结果计算滑动窗口的配置参数;a calculation module configured to calculate the configuration parameters of the sliding window according to the detection results;
参数下发模块,被配置为将所述配置参数下发至所述服务端节点,且所述服务端节点根据所述配置参数进行文件传输。A parameter delivery module is configured to deliver the configuration parameters to the server node, and the server node performs file transmission according to the configuration parameters.
实施例3Example 3
更进一步的,本申请另一方面,提供一种控制系统,包括:Furthermore, another aspect of this application provides a control system, including:
处理器;processor;
用于存储处理器可执行指令的存储器;Memory used to store instructions executable by the processor;
其中,所述处理器被配置为执行所述可执行指令时实现上述任一项所述的基于修改TCP滑动窗口参数加速文件传输的方法。Wherein, the processor is configured to implement any one of the above methods for accelerating file transfer based on modifying TCP sliding window parameters when executing the executable instructions.
本公开实施例来控制系统包括处理器以及用于存储处理器可执行指令的存储器。其中,处理器被配置为执行可执行指令时实现前面任一所述的基于修改TCP滑动窗口参数加速文件传输的方法。A control system according to embodiments of the present disclosure includes a processor and a memory for storing instructions executable by the processor. Wherein, the processor is configured to implement any of the previously described methods of accelerating file transfer based on modifying TCP sliding window parameters when executing the executable instructions.
此处,应当指出的是,处理器的个数可以为一个或多个。同时,在本公开实施例的控制系统中,还可以包括输入装置和输出装置。其中,处理器、存储器、输入装置和输出装置之间可以通过总线连接,也可以通过其他方式连接,此处不进行具体限定。Here, it should be noted that the number of processors may be one or more. At the same time, the control system of the embodiment of the present disclosure may also include an input device and an output device. The processor, memory, input device and output device may be connected through a bus or through other methods, which are not specifically limited here.
存储器作为一计算机可读存储介质,可用于存储软件程序、计算机可执行程序和各种模块,如:本公开实施例的基于修改TCP滑动窗口参数加速文件传输的方法所对应的程序或模块。处理器通过运行存储在存储器中的软件程序或模块,从而执行控制系统的各种功能应用及数据处理。As a computer-readable storage medium, the memory can be used to store software programs, computer executable programs and various modules, such as: programs or modules corresponding to the method of accelerating file transmission based on modifying TCP sliding window parameters in the embodiment of the present disclosure. The processor executes various functional applications and data processing of the control system by running software programs or modules stored in the memory.
输入装置可用于接收输入的数字或信号。其中,信号可以为产生与设备/终端/服务器的用户设置以及功能控制有关的键信号。输出装置可以包括显示屏等显示设备。The input device may be used to receive input numbers or signals. The signal may be a key signal related to user settings and function control of the device/terminal/server. The output device may include a display device such as a display screen.
实施例4Example 4
本申请另一方面,提供非易失性计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述任一项所述的基于修改TCP滑动窗口参数加速文件传输的方法。In another aspect, the present application provides a non-volatile computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the acceleration based on modifying TCP sliding window parameters as described in any of the above is implemented. File transfer method.
以上已经描述了本公开的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。The embodiments of the present disclosure have been described above. The above description is illustrative, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410114559.0ACN117675716A (en) | 2024-01-26 | 2024-01-26 | Method and device for accelerating file transmission based on modifying TCP sliding window parameters |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410114559.0ACN117675716A (en) | 2024-01-26 | 2024-01-26 | Method and device for accelerating file transmission based on modifying TCP sliding window parameters |
| Publication Number | Publication Date |
|---|---|
| CN117675716Atrue CN117675716A (en) | 2024-03-08 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410114559.0APendingCN117675716A (en) | 2024-01-26 | 2024-01-26 | Method and device for accelerating file transmission based on modifying TCP sliding window parameters |
| Country | Link |
|---|---|
| CN (1) | CN117675716A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6205120B1 (en)* | 1998-03-13 | 2001-03-20 | Packeteer, Inc. | Method for transparently determining and setting an optimal minimum required TCP window size |
| US20080049624A1 (en)* | 2006-08-22 | 2008-02-28 | Ray Amar N | System and method for adjusting the window size of a TCP packet through network elements |
| US20130046857A1 (en)* | 2011-08-16 | 2013-02-21 | Jeffrey J. Howe | Video streaming using adaptive tcp window size |
| CN103067971A (en)* | 2013-01-30 | 2013-04-24 | 北京天地互连信息技术有限公司 | TCP (transmission control protocol) header compression method in wireless IPv6 (internet protocol version 6) network |
| CN103067301A (en)* | 2013-01-17 | 2013-04-24 | 广东石油化工学院 | Fast and reliable congestion control improved algorithm based on user datagram protocol (UDP) |
| CN111371692A (en)* | 2020-03-13 | 2020-07-03 | 中科驭数(北京)科技有限公司 | Window control method and device based on TCP (Transmission control protocol) and electronic equipment |
| CN114584485A (en)* | 2022-01-30 | 2022-06-03 | 阿里巴巴(中国)有限公司 | Method, device, equipment and computer readable storage medium for detecting edge network quality |
| CN115426284A (en)* | 2022-08-25 | 2022-12-02 | 上海久尺网络科技有限公司 | Network quality detection method, device, terminal equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6205120B1 (en)* | 1998-03-13 | 2001-03-20 | Packeteer, Inc. | Method for transparently determining and setting an optimal minimum required TCP window size |
| US20080049624A1 (en)* | 2006-08-22 | 2008-02-28 | Ray Amar N | System and method for adjusting the window size of a TCP packet through network elements |
| US20130046857A1 (en)* | 2011-08-16 | 2013-02-21 | Jeffrey J. Howe | Video streaming using adaptive tcp window size |
| CN103067301A (en)* | 2013-01-17 | 2013-04-24 | 广东石油化工学院 | Fast and reliable congestion control improved algorithm based on user datagram protocol (UDP) |
| CN103067971A (en)* | 2013-01-30 | 2013-04-24 | 北京天地互连信息技术有限公司 | TCP (transmission control protocol) header compression method in wireless IPv6 (internet protocol version 6) network |
| CN111371692A (en)* | 2020-03-13 | 2020-07-03 | 中科驭数(北京)科技有限公司 | Window control method and device based on TCP (Transmission control protocol) and electronic equipment |
| CN114584485A (en)* | 2022-01-30 | 2022-06-03 | 阿里巴巴(中国)有限公司 | Method, device, equipment and computer readable storage medium for detecting edge network quality |
| CN115426284A (en)* | 2022-08-25 | 2022-12-02 | 上海久尺网络科技有限公司 | Network quality detection method, device, terminal equipment and storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| CN110581808B (en) | A Congestion Control Method and System Based on Deep Reinforcement Learning | |
| JP6526825B2 (en) | Method and apparatus for transmitting transmission control protocol TCP data packets, and system | |
| JP7154399B2 (en) | DATA TRANSMISSION METHOD, APPARATUS, COMPUTER-READABLE MEDIUM AND ELECTRONIC DEVICE | |
| CN110572333B (en) | Method for adjusting sending rate in bandwidth detection stage and method for realizing congestion control algorithm | |
| CN108684046B (en) | A Method for Deploying Access Network Service Function Chain Based on Random Learning | |
| US10673778B2 (en) | Transparent and efficient multi-destination TCP communications based on bit indexed explicit replication | |
| CN112887217B (en) | Control data packet sending method, model training method, device and system | |
| US20240214280A1 (en) | Method for determining network optimization policy, apparatus, and system | |
| CN117955979B (en) | A cloud-network fusion edge information service method based on mobile communication nodes | |
| US10897725B2 (en) | System and method for managing data transfer between two different data stream protocols | |
| US20070291782A1 (en) | Acknowledgement filtering | |
| Zhu et al. | A congestion-aware and robust multicast protocol in SDN-based data center networks | |
| CN111786901B (en) | Transmission parameter self-adaptive adjustment method and acceleration service system | |
| CN119011476B (en) | Method and system for rapidly transmitting ECN congestion information | |
| EP4340320A1 (en) | Communication method, device and system | |
| CN117675716A (en) | Method and device for accelerating file transmission based on modifying TCP sliding window parameters | |
| CN110192378B (en) | Apparatus and method for controlling use of non-optimal path | |
| CN118555250A (en) | A congestion control method and device based on reinforcement learning | |
| CN115883451B (en) | Power secondary system network transmission method and device based on multipath evaluation algorithm | |
| CN113905417B (en) | Token bucket-based control method for flow of packet data convergence protocol layer of 5G base station | |
| WO2023231373A1 (en) | Device connection method and apparatus, electronic device and storage medium | |
| CN114125935A (en) | Data link aggregation method and device, storage medium and aggregation equipment | |
| CN114726790A (en) | Congestion control selection method and system based on transmission content size | |
| CN114423040B (en) | A congestion control-based delay-tolerant network infection routing method | |
| CN111526088A (en) | A kind of DTN routing dynamic switching method, equipment and storage medium |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20240308 |