WO2018153309A1 - 一种实现按需加速的文件传输方法、装置、介质及设备 - Google Patents

一种实现按需加速的文件传输方法、装置、介质及设备 Download PDF

Info

Publication number
WO2018153309A1
WO2018153309A1 PCT/CN2018/076508 CN2018076508W WO2018153309A1 WO 2018153309 A1 WO2018153309 A1 WO 2018153309A1 CN 2018076508 W CN2018076508 W CN 2018076508W WO 2018153309 A1 WO2018153309 A1 WO 2018153309A1
Authority
WO
WIPO (PCT)
Prior art keywords
target information
server
node
transmission
progress
Prior art date
Application number
PCT/CN2018/076508
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 贵州白山云科技有限公司
Publication of WO2018153309A1 publication Critical patent/WO2018153309A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Definitions

  • the embodiments of the present invention are not limited to the field of communications, and particularly relate to a file transmission method, apparatus, medium, and device for implementing on-demand acceleration.
  • the central server needs to obtain the original log data on the log generation end for further statistical analysis. However, it takes a lot of bandwidth and time to transmit massive log data. Especially when the central server and the log generation end are in different operators, the network environment is complex and changeable, which makes the uploading process extremely difficult. Therefore, how to achieve high performance, high accessibility, and bandwidth saving data uploading has become a hot spot of attention.
  • the packet loss rate between the two points of the transmission file may be high due to network jitter, and even if the network is completely unreachable, the connection cannot be completed. How to effectively improve the transmission performance is Technical issues that need to be addressed.
  • the present invention provides a file transmission method, apparatus, medium and device for realizing on-demand acceleration.
  • the source node uploads the target information to the server, calculates the current transmission progress and the expected transmission progress of the target information in real time, and determines that the current transmission progress is less than the expected transmission progress, determines at least one transit node, and uses the transit node to target the target Information is forwarded to the server.
  • the calculating a current transmission progress of the target information includes: determining a ratio of a data amount that the target information has been transmitted and a total data amount of the target information at a current time;
  • the calculating the expected transmission progress of the target information comprises: calculating a duration required for transmitting the target information according to a data transmission speed between the current source node and the server and a size of the target information, and calculating a desired transmission ratio according to the upload start time to the current time;
  • the current transmission progress is a current transmission speed
  • the expected transmission progress is a desired transmission speed
  • the sending, by the source node, the target information to the server includes: the source node establishing at least one transmission channel with the server, and uploading target information by using the transmission channel, where the transmission channel uses at least one communication protocol.
  • the source node uploading target information to the server includes:
  • the forwarding, by the transit node, the target information to the server includes: forwarding the target information to a server by using the transit node, and the server downloads fragment data of the target information from the transit node.
  • the server downloads the fragmentation data from each transit node at different download speeds, and the download speeds of the different transit nodes are positively correlated with the number of downloaded fragments.
  • Determining the at least one transit node includes: obtaining a node list from the scheduling center, and selecting at least one transit node from the node list, wherein a network connection quality of the operator to which the node in the node list belongs is greater than the source node belongs to The quality of the network connection between the operator and the operator to which the server belongs.
  • Upload module for uploading target information to the server
  • a calculation module configured to calculate a current transmission progress and a desired transmission progress of the target information in real time
  • a determining module configured to determine whether the transmission progress is less than a desired transmission progress
  • a selecting module configured to determine at least one transit node when the transmission progress is less than the expected transmission progress
  • a relay module configured to send the target information to the transit node.
  • the above file transfer device for realizing acceleration on demand also has the following features:
  • the calculating module is configured to calculate a current transmission progress of the target information by determining a ratio of a data amount that the target information has been transmitted and a total data amount of the target information at a current time; and is also used to use the following manner Calculating a desired transmission schedule of the target information: calculating a duration required for transmitting the target information according to a current data transmission speed between the source node and the server, and calculating a desired transmission ratio according to the upload start time to the current time;
  • the calculating module is configured to use the current transmission speed as the current transmission progress, and the desired transmission speed as the expected transmission progress.
  • the above file transfer device for realizing acceleration on demand also has the following features:
  • the uploading module is configured to establish at least one transmission channel with the server, and upload target information by using the transmission channel, where the transmission channel uses at least one communication protocol.
  • the above file transfer device for realizing acceleration on demand also has the following features:
  • the uploading module is configured to send an upload request for uploading the target information to the server, receive a fragment download request of the target information from the server, and send each request to the server according to the fragment download request. Fragmentation data.
  • the above file transfer device for realizing acceleration on demand also has the following features:
  • the selecting module is configured to obtain a node list from the scheduling center, and select at least one transit node from the node list, where the network connection quality of the node to which the node belongs is greater than the carrier to which the source node belongs The quality of the network connection with the operator to which the server belongs.
  • the embodiment of the invention further provides a computer readable storage medium, on which the computer program is stored, and when the program is executed by the processor, the steps of the above method are implemented.
  • Embodiments of the present invention also provide a computer device including a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the steps of the method when the program is executed.
  • the embodiment of the invention can improve the data transmission performance in real time and intelligently according to the actual situation of the transmission, improve the network processing performance, and improve the user experience.
  • FIG. 1 is a flow chart of a file transfer method for implementing on-demand acceleration in an embodiment
  • FIG. 2 is a structural diagram of a file transfer device that implements on-demand acceleration in an embodiment.
  • FIG. 1 is a flowchart of a file transfer method for implementing on-demand acceleration in an embodiment, the method includes:
  • Step 101 The source node uploads target information to the server.
  • Step 102 Calculate the current transmission progress and the expected transmission progress of the target information in real time; determine that the transmission progress is less than the expected transmission progress, determine at least one transit node, and forward the target information to the server through the transit node.
  • the target information may be data in various formats, for example, multimedia information such as text information, picture information, or video information, and may also include analysis data such as log data.
  • the fragment transmission is used.
  • the step 101 includes: the source node sends an upload request for uploading the target information to the server, and receives the target information from the server.
  • the fragment download request sends each fragment data to the server according to the fragment download request.
  • the source node and the server establish at least one transmission channel, and the target information is uploaded through the transmission channel, and the transmission channel adopts at least one type.
  • Communication protocol such as TCP, UDP protocol).
  • Calculating the current transmission progress of the target information in step 102 includes determining a ratio of the amount of data that has been transmitted by the current time target information to the total amount of data of the target information.
  • the expected transmission progress of the calculation target information includes: calculating the length of time required to transmit the transmission target information according to the data transmission speed between the current source node and the server and the size of the target information, and calculating the expected transmission ratio according to the upload start time to the current time.
  • the current transmission progress is the current transmission speed
  • the expected transmission progress is the desired transmission speed.
  • the source node uses the current transmission speed as the current transmission progress and the desired transmission speed as the desired transmission progress.
  • Forwarding the target information to the server through the transit node includes: forwarding the target information to the server through the transit node, the server downloads the fragmentation information of the target information from the transit node, and the number of fragments downloaded by the server from the transit node at different download speeds, from the transit
  • the download speed of the node is positively related to the number of downloaded fragments, that is, the number of fragments downloaded from the transit node whose download speed is faster.
  • the download speed of the transit node is determined by the transmission speed of the transmission channel between the transit node and the server.
  • the node list is obtained from the dispatch center, and at least one transit node is selected from the node list, and the network connection quality of the operator to which the node in the node list belongs is greater than the source.
  • the embodiment of the invention further provides a computer readable storage medium, on which the computer program is stored, and when the program is executed by the processor, the steps of the above method are implemented.
  • the embodiment of the invention further provides a computer device, comprising a memory, a processor and a computer program stored on the memory and operable on the processor, the processor implementing the above steps to implement the steps of the above method.
  • FIG. 2 is a structural diagram of a file transfer apparatus for implementing on-demand acceleration in an embodiment, the apparatus comprising: an upload module, a calculation module, a determination module, a selection module, and a relay module.
  • the upload module is used to upload target information to the server
  • the calculation module is configured to calculate the current transmission progress and the expected transmission progress of the target information in real time
  • the determining module is configured to determine whether the transmission progress is less than a desired transmission progress
  • the selecting module is configured to determine at least one transit node when the transmission progress is less than a desired transmission progress
  • the transfer module is used to send the target information to the transit node.
  • the calculation module is further configured to calculate a current transmission progress of the target information by determining a ratio of the amount of data that the target information has been transmitted to the total amount of data of the target information at the current time; and also for calculating the expected transmission progress of the target information using the following method:
  • the length of time required to calculate the transmission target information is calculated according to the current data transmission speed between the source node and the server and the size of the target information, and the expected transmission ratio is calculated according to the upload start time to the current time.
  • the calculation module is configured to use the current transmission speed as the current transmission progress and the desired transmission speed as the desired transmission progress.
  • the uploading module is further configured to establish at least one transmission channel with the server, and upload the target information through the transmission channel, and the transmission channel adopts at least one communication protocol.
  • the uploading module is further configured to send an upload request for uploading target information to the server, receive a fragment download request of the target information from the server, and send each fragment data to the server according to the fragment download request.
  • the selection module is configured to obtain a node list from the dispatching center, and select at least one transit node from the node list, and the network connection quality of the operator to which the node in the node list belongs is greater than the network connection of the operator to which the source node belongs and the operator to which the server belongs. quality.
  • the embodiment of the invention can improve the data transmission performance in real time and intelligently according to the actual situation of the transmission, improve the network processing performance, and improve the user experience.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
  • the file transmission method, device, medium and device for realizing the on-demand acceleration in the embodiment of the present invention can improve the data transmission performance in real time and intelligently according to the actual situation of the transmission, improve the network processing performance, and improve the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本文公开了一种实现按需加速的文件传输方法、装置、介质及设备,此方法中源节点向服务器上传目标信息,实时计算所述目标信息的当前传输进度和期望传输进度,判断当前传输进度小于所述期望传输进度时,确定至少一中转节点,通过所述中转节点将所述目标信息转发至所述服务器。本发明实施例可以根据传输的实际情况实时的且智能性的提高数据传输性能,提高网络处理性能,提高用户使用体验。

Description

一种实现按需加速的文件传输方法、装置、介质及设备
本申请要求在2017年2月21日提交中国专利局、申请号为201710093976.1,发明名称为“一种实现按需加速的文件传输方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明实施例但不限于涉及通信领域,尤其涉及一种实现按需加速的文件传输方法、装置、介质及设备。
背景技术
在云计算技术迅猛发展的今天,数据呈现爆炸式的增长趋势,人们对于数据的需求让视频信息和图片信息海量增长。同样,在对这些海量数据进行使用的过程中,还会产生新的数据,此时,还需要对这些新的数据进行分析和处理。无论是对数据本身的使用还是对基于数据的挖掘和分析,如何首先保证快速稳定的传输海量数据是一个重要的课题。
以分布式日志统计处理系统为例,中心服务器需要获取日志产生端上的原始日志数据,以进一步统计分析。然而,传送海量日志数据需要花费大量的带宽和时间,尤其是当中心服务器和日志产生端处于不同运营商时,所处的网络环境复杂多变,导致上传过程变得异常困难。因此,如何实现高性能、高可达性、节约带宽的数据上传成为关注的热点。
在现有传输过程中,尤其是在跨网络环境下,传输文件的两点之间可因为网络抖动而造成的丢包率高,甚至因网络彻底不通而无法完成连接,如何有效提高传输性能是需要解决的技术问题。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
为了解决上述技术问题,本发明提供了一种实现按需加速的文件传输方法、装置、介质及设备。
本发明实施例中提供的实现按需加速的文件传输方法,包括:
源节点向服务器上传目标信息,实时计算所述目标信息的当前传输进度和期望传输进度,判断当前传输进度小于所述期望传输进度时,确定至少一中转节点,通过所述中转节点将所述目标信息转发至所述服务器。
上述实现按需加速的文件传输方法还具有以下特点:
所述计算所述目标信息的当前传输进度包括:确定当前时刻所述目标信息已传输的数据量和所述目标信息的总数据量的比例;
所述计算所述目标信息的期望传输进度包括:根据当前源节点与服务器之间数据传输速度和目标信息的大小计算传输目标信息所需的时长,根据上传开始时刻到当前时刻计算期望传输比例;
或者,所述当前传输进度为当前传输速度,所述期望传输进度为期望传输速度。
上述实现按需加速的文件传输方法还具有以下特点:
所述源节点向服务器上传目标信息包括:所述源节点与所述服务器建立至少一个传输通道,通过所述传输通道上传目标信息,所述传输通道采用至少一种通信协议。
上述实现按需加速的文件传输方法还具有以下特点:
所述源节点向服务器上传目标信息包括:
所述源节点向所述服务器发送用于上传所述目标信息的上传请求,从所述服务器接收所述目标信息的分片下载请求,根据此分片下载请求向所述服务器发送各分片数据。
上述实现按需加速的文件传输方法还具有以下特点:
所述通过所述中转节点将所述目标信息转发至所述服务器包括:将所述目标信息通过所述中转节点转发至服务器,所述服务器从所述中转节点下载所述目标信息的分片数据,所述服务器以不同的下载速度从各中转节点下载分片数据,从不同中转节点的下载速度和下载的分片数量成正相关。
上述实现按需加速的文件传输方法还具有以下特点:
所述确定至少一中转节点包括:从调度中心获取节点列表,从所述节点列表中选择至少一中转节点,所述节点列表中的节点所属的运营商的网络连接质量大于所述源节点所属的运营商和所述服务器所属的运营商的网络连接质量。
本发明实施例中提供的实现按需加速的文件传输装置,包括:
上传模块,用于向服务器上传目标信息;
计算模块,用于实时计算所述目标信息的当前传输进度和期望传输进度;
判断模块,用于判断所述传输进度是否小于期望传输进度;
选择模块,用于在所述传输进度是否小于所述期望传输进度时,确定至少一中转节点;
中转模块,用于将所述目标信息发送至所述中转节点。
上述实现按需加速的文件传输装置还具有以下特点:
所述计算模块,用于使用以下方式计算所述目标信息的当前传输进度:确定当前时刻所述目标信息已传输的数据量和所述目标信息的总数据量的比例;还用于使用以下方式计算所述目标信息的期望传输进度:根据当前源节点与服务器之间数据传输速度和目标信息的大小计算传输目标信息所需的时长,根据上传开始时刻到当前时刻计算期望传输比例;
或者,所述计算模块,用于将当前传输速度作为所述当前传输进度,将期望传输速度作为所述期望传输进度。
上述实现按需加速的文件传输装置还具有以下特点:
所述上传模块,用于与所述服务器建立至少一个传输通道,通过所述传输通道上传目标信息,所述传输通道采用至少一种通信协议。
上述实现按需加速的文件传输装置还具有以下特点:
所述上传模块,用于向所述服务器发送用于上传所述目标信息的上传请求,从所述服务器接收所述目标信息的分片下载请求,根据此分片下载请求向所述服务器发送各分片数据。
上述实现按需加速的文件传输装置还具有以下特点:
所述选择模块,用于从调度中心获取节点列表,从所述节点列表中选择至少一中转节点,所述节点列表中的节点所属的运营商的网络连接质量大于所述源节点所属的运营商和所述服务器所属的运营商的网络连接质量。
本发明实施例还提供了计算机可读存储介质,所述存储介质上存储有计算机程序,所述程序被处理器执行时实现上述方法的步骤。
本发明实施例还提供了计算机设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现上述方法的步骤。
本发明实施例可以根据传输的实际情况实时的且智能性的提高数据传输性能,提高网络处理性能,提高用户使用体验。
附图说明
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,本发明实施例的示意性实施例及其说明用于解释本发明实施例,并不构成对本发明实施例的不当限定。在附图中:
图1是实施例中实现按需加速的文件传输方法的流程图;
图2是实施例中实现按需加速的文件传输装置的结构图。
具体实施方式
现结合附图和具体实施方式对本发明实施例进一步说明。
图1是实施例中实现按需加速的文件传输方法的流程图,此方法包括:
步骤101,源节点向服务器上传目标信息;
步骤102,实时计算目标信息的当前传输进度和期望传输进度;判断传输进度小于期望传输进度时,确定至少一中转节点,通过中转节点将目标信息转发至上述服务器。
其中,目标信息可以是各种格式的数据,例如可以是文本信息、图片信息或视频信息等多媒体信息,还可以是还包含日志数据等分析数据。
为防止目标信息的容量较大导致传输时间较长,步骤101中采用分片传输的方式,步骤101中具体包括:源节点向服务器发送用于上传目标信息的上传请求,从服务器接收目标信息的分片下载请求,根据此分片下载请求向服务器发送各分片数据。其中,为防止目标信息由一个进程或线程负责从头到尾顺序同步时,不能有效的利用系统的资源,源节点与服务器建立至少一个传输通道, 通过传输通道上传目标信息,传输通道采用至少一种通信协议(例如TCP、UDP协议)。
步骤102中计算目标信息的当前传输进度包括:确定当前时刻目标信息已传输的数据量和目标信息的总数据量的比例。计算目标信息的期望传输进度包括:根据当前源节点与服务器之间数据传输速度和目标信息的大小计算传输目标信息所需的时长,根据上传开始时刻到当前时刻计算期望传输比例。或者,当前传输进度为当前传输速度,期望传输进度为期望传输速度。源节点将当前传输速度作为当前传输进度,将期望传输速度作为期望传输进度。
通过中转节点将目标信息转发至服务器包括:将目标信息通过中转节点转发至服务器,服务器从中转节点下载目标信息的分片信息,服务器以不同的下载速度从中转节点下载的分片数量,从中转节点的下载速度和下载的分片数量成正相关,即从下载速度越快的中转节点下载的分片数量越多。具体的,中转节点的下载速度由中转节点与服务器之间的传输通道的传输速度决定。
为了能选择到较优的中转节点,在确定至少一中转节点时,从调度中心获取节点列表,从节点列表中选择至少一中转节点,节点列表中的节点所属的运营商的网络连接质量大于源节点所属的运营商和服务器所属的运营商的网络连接质量。
本发明实施例还提供了计算机可读存储介质,此存储介质上存储有计算机程序,此程序被处理器执行时实现上述方法的步骤。
本发明实施例还提供了计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,此处理器执行上述程序时实现上述方法的步骤。
图2是实施例中实现按需加速的文件传输装置的结构图,此装置包括:上传模块、计算模块、判断模块、选择模块和中转模块。
上传模块用于向服务器上传目标信息;
计算模块用于实时计算目标信息的当前传输进度和期望传输进度;
判断模块用于判断传输进度是否小于期望传输进度;
选择模块用于在传输进度是否小于期望传输进度时,确定至少一中转节点;
中转模块用于将目标信息发送至中转节点。
其中,
计算模块还用于使用以下方式计算目标信息的当前传输进度:确定当前时刻目标信息已传输的数据量和目标信息的总数据量的比例;还用于使用以下方式计算目标信息的期望传输进度:根据当前源节点与服务器之间数据传输速度和目标信息的大小计算传输目标信息所需的时长,根据上传开始时刻到当前时刻计算期望传输比例。
或者,计算模块用于将当前传输速度作为当前传输进度,将期望传输速度作为期望传输进度。
上传模块还用于与服务器建立至少一个传输通道,通过传输通道上传目标信息,传输通道采用至少一种通信协议。
上传模块还用于向服务器发送用于上传目标信息的上传请求,从服务器接收目标信息的分片下载请求,根据此分片下载请求向服务器发送各分片数据。
选择模块用于从调度中心获取节点列表,从节点列表中选择至少一中转节点,节点列表中的节点所属的运营商的网络连接质量大于源节点所属的运营商和服务器所属的运营商的网络连接质量。
本发明实施例可以根据传输的实际情况实时的且智能性的提高数据传输性能,提高网络处理性能,提高用户使用体验。
本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,均应涵盖在权利要求范围当中。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字 多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
工业实用性
本发明实施例中的实现按需加速的文件传输方法、装置、介质及设备可以根据传输的实际情况实时的且智能性的提高数据传输性能,提高网络处理性能,提高用户使用体验。

Claims (13)

  1. 一种实现按需加速的文件传输方法,包括:
    源节点向服务器上传目标信息,实时计算所述目标信息的当前传输进度和期望传输进度,判断当前传输进度小于所述期望传输进度时,确定至少一中转节点,通过所述中转节点将所述目标信息转发至所述服务器。
  2. 如权利要求1所述的实现按需加速的文件传输方法,其中,
    所述计算所述目标信息的当前传输进度包括:确定当前时刻所述目标信息已传输的数据量和所述目标信息的总数据量的比例;
    所述计算所述目标信息的期望传输进度包括:根据当前源节点与服务器之间数据传输速度和目标信息的大小计算传输目标信息所需的时长,根据上传开始时刻到当前时刻计算期望传输比例;
    或者,所述当前传输进度为当前传输速度,所述期望传输进度为期望传输速度。
  3. 如权利要求1所述的实现按需加速的文件传输方法,其中,
    所述源节点向服务器上传目标信息包括:所述源节点与所述服务器建立至少一个传输通道,通过所述传输通道上传目标信息,所述传输通道采用至少一种通信协议。
  4. 如权利要求1所述的实现按需加速的文件传输方法,其中,
    所述源节点向服务器上传目标信息包括:
    所述源节点向所述服务器发送用于上传所述目标信息的上传请求,从所述服务器接收所述目标信息的分片下载请求,根据此分片下载请求向所述服务器发送各分片数据。
  5. 如权利要求1所述的实现按需加速的文件传输方法,其中,
    所述通过所述中转节点将所述目标信息转发至所述服务器包括:将所述目标信息通过所述中转节点转发至服务器,所述服务器从所述中转节点下载所述目标信息的分片数据,所述服务器以不同的下载速度从各中转节点下载分片数据,从不同中转节点的下载速度和下载的分片数量成正相关。
  6. 如权利要求1所述的实现按需加速的文件传输方法,其中,
    所述确定至少一中转节点包括:从调度中心获取节点列表,从所述节点列 表中选择至少一中转节点,所述节点列表中的节点所属的运营商的网络连接质量大于所述源节点所属的运营商和所述服务器所属的运营商的网络连接质量。
  7. 一种实现按需加速的文件传输装置,包括:
    上传模块,用于向服务器上传目标信息;
    计算模块,用于实时计算所述目标信息的当前传输进度和期望传输进度;
    判断模块,用于判断所述传输进度是否小于期望传输进度;
    选择模块,用于在所述传输进度是否小于所述期望传输进度时,确定至少一中转节点;
    中转模块,用于将所述目标信息发送至所述中转节点。
  8. 如权利要求7所述的实现按需加速的文件传输装置,其中,
    所述计算模块,用于使用以下方式计算所述目标信息的当前传输进度:确定当前时刻所述目标信息已传输的数据量和所述目标信息的总数据量的比例;还用于使用以下方式计算所述目标信息的期望传输进度:根据当前源节点与服务器之间数据传输速度和目标信息的大小计算传输目标信息所需的时长,根据上传开始时刻到当前时刻计算期望传输比例;
    或者,所述计算模块,用于将当前传输速度作为所述当前传输进度,将期望传输速度作为所述期望传输进度。
  9. 如权利要求7所述的实现按需加速的文件传输装置,其中,
    所述上传模块,用于与所述服务器建立至少一个传输通道,通过所述传输通道上传目标信息,所述传输通道采用至少一种通信协议。
  10. 如权利要求7所述的实现按需加速的文件传输装置,其中,
    所述上传模块,用于向所述服务器发送用于上传所述目标信息的上传请求,从所述服务器接收所述目标信息的分片下载请求,根据此分片下载请求向所述服务器发送各分片数据。
  11. 如权利要求7所述的实现按需加速的文件传输装置,其中,
    所述选择模块,用于从调度中心获取节点列表,从所述节点列表中选择至少一中转节点,所述节点列表中的节点所属的运营商的网络连接质量大于所述源节点所属的运营商和所述服务器所属的运营商的网络连接质量。
  12. 一种计算机可读存储介质,所述存储介质上存储有计算机程序,所述程 序被处理器执行时实现权利要求1至6中任意一项所述方法的步骤。
  13. 一种计算机设备,其特征在于,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现权利要求1至6中任意一项所述方法的步骤。
PCT/CN2018/076508 2017-02-21 2018-02-12 一种实现按需加速的文件传输方法、装置、介质及设备 WO2018153309A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710093976.1 2017-02-21
CN201710093976.1A CN107707594B (zh) 2017-02-21 2017-02-21 一种实现按需加速的文件传输方法及装置

Publications (1)

Publication Number Publication Date
WO2018153309A1 true WO2018153309A1 (zh) 2018-08-30

Family

ID=61169421

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/076508 WO2018153309A1 (zh) 2017-02-21 2018-02-12 一种实现按需加速的文件传输方法、装置、介质及设备

Country Status (2)

Country Link
CN (1) CN107707594B (zh)
WO (1) WO2018153309A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486783A (zh) * 2020-11-25 2021-03-12 建信金融科技有限责任公司 一种进度条的显示方法和装置
CN112669926A (zh) * 2020-12-30 2021-04-16 山东众阳健康科技集团有限公司 一种医疗实时数据传输方法及系统

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519357B (zh) * 2019-08-20 2022-08-12 深圳市网心科技有限公司 文件传输方法及系统、计算机装置及存储介质
CN112039713B (zh) * 2020-09-09 2023-04-18 北京时信互联网络科技有限公司 一种满足用户需求的用于云计算的数据传输方法及系统
CN115002051B (zh) * 2022-06-29 2023-12-15 广州彩熠灯光股份有限公司 灯具通信方法、装置和灯具

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162878A (zh) * 2015-09-24 2015-12-16 网宿科技股份有限公司 基于分布式存储的文件分发系统及方法
CN105281987A (zh) * 2014-06-03 2016-01-27 腾讯科技(深圳)有限公司 路由器及数据上传方法、装置、系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068147A (zh) * 2007-02-09 2007-11-07 腾讯科技(深圳)有限公司 一种网络通信中控制建立终端连接的方法
CN101431464A (zh) * 2007-11-06 2009-05-13 阿里巴巴集团控股有限公司 一种优选客户端之间数据传输路径的方法及其装置
CN101478556B (zh) * 2007-12-31 2014-12-17 突触计算机系统(上海)有限公司 用于下载点对点传输数据分片的方法和装置
CN105391699A (zh) * 2015-10-26 2016-03-09 北京奇虎科技有限公司 视频数据的传输方法、装置及系统

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105281987A (zh) * 2014-06-03 2016-01-27 腾讯科技(深圳)有限公司 路由器及数据上传方法、装置、系统
CN105162878A (zh) * 2015-09-24 2015-12-16 网宿科技股份有限公司 基于分布式存储的文件分发系统及方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486783A (zh) * 2020-11-25 2021-03-12 建信金融科技有限责任公司 一种进度条的显示方法和装置
CN112486783B (zh) * 2020-11-25 2022-09-27 建信金融科技有限责任公司 一种进度条的显示方法和装置
CN112669926A (zh) * 2020-12-30 2021-04-16 山东众阳健康科技集团有限公司 一种医疗实时数据传输方法及系统
CN112669926B (zh) * 2020-12-30 2023-08-08 众阳健康科技集团有限公司 一种医疗实时数据传输方法及系统

Also Published As

Publication number Publication date
CN107707594A (zh) 2018-02-16
CN107707594B (zh) 2018-11-27

Similar Documents

Publication Publication Date Title
WO2018153309A1 (zh) 一种实现按需加速的文件传输方法、装置、介质及设备
EP3595268B1 (en) Streaming media resource distribution method, system, edge node and central dispatching system
EP3318067B1 (en) A media user client, a media user agent and respective methods performed thereby for providing media from a media server to the media user client
US20150249845A1 (en) Live video broadcasting from a mobile device
US10182020B2 (en) System and method for improving an aggregated throughput of simultaneous connections
US10516712B2 (en) Streaming media data transmission method, client and server
US10560383B2 (en) Network latency scheduling
WO2015165395A1 (en) Video playback method and apparatus
JP2017516336A (ja) 拡張された伝送制御機能性を実施するトランスポートアクセラレータ
CN105338090A (zh) 一种基于WebSocket的断点续传方法及装置
EP3384617B1 (en) Data rate adaptation for multicast delivery of streamed content
CN108462733B (zh) 一种文件加速传输方法及装置
US20170346749A1 (en) Method and system for upload optimization
US9986010B2 (en) System and method for controlling video and/or audio streams in a web browser
WO2019127083A1 (zh) 一种网络限速方法、装置和服务器
EP2945342A1 (en) Method and device for transmitting media content
KR102390522B1 (ko) 적응형 비디오 스트리밍 서비스를 위한 블록체인 기반의 안정적인 체감품질 가속기
KR102283903B1 (ko) 모바일 엣지 클라우드 기반 미디어 서비스 방법 및 이를 지원하는 장치
USRE49277E1 (en) Latency-dependent cloud input channel management
US20150350310A1 (en) Cloud Transport Platform (CTP) Based Data Transmission Method, System and Corresponding Cloud Transport Platform
JP2018067788A (ja) 受信トラヒックの高速化装置、高速化方法、および高速化プログラム
KR20160090521A (ko) 단말 협력 통신을 통한 스트리밍 제공 방법, 서버 및 시스템
WO2016177055A1 (zh) 文件的发送方法及装置
JP2015216414A (ja) 送信装置、送信制御方法及びプログラム
JP2016048844A (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: 18756669

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18756669

Country of ref document: EP

Kind code of ref document: A1