CN101291195A - File downloading method, system and terminal realizing breaker point continuous transmission - Google Patents

File downloading method, system and terminal realizing breaker point continuous transmission Download PDF

Info

Publication number
CN101291195A
CN101291195A CN 200810108513 CN200810108513A CN101291195A CN 101291195 A CN101291195 A CN 101291195A CN 200810108513 CN200810108513 CN 200810108513 CN 200810108513 A CN200810108513 A CN 200810108513A CN 101291195 A CN101291195 A CN 101291195A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
file
download
information
block
sheet
Prior art date
Application number
CN 200810108513
Other languages
Chinese (zh)
Other versions
CN101291195B (en )
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

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/42Arrangements for resource management
    • H04H20/426Receiver side
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H60/00Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
    • H04H60/27Arrangements for recording or accumulating broadcast information or broadcast-related information

Abstract

The invention provides a method for downloading a document, realizing transmission resuming at break-points. The method can be applied to a unilateral broadcasting network which comprises a document transmitting terminal and a document receiving terminal, wherein, the document transmitting terminal sends down a document; the document receiving terminal records download state information of the document while downloading the document; when the download is interrupted and recovered once more, the document receiving terminal continues downloading from the download break-point according to the recorded download state information, thereby realizing the transmission resuming at break-points. The invention also provides a method, a system and a terminal for downloading the document capable of realizing the transmission resuming at break-points, thereby realizing the transmission resuming at break-points for document downloading after interruption during downloading the document in the unilateral broadcasting network.

Description

实现断点续传的文件下载的方法、系统及终端 Way to achieve HTTP file downloads, system and terminal

技术领域 FIELD

本发明涉及单向广播系统,特别涉及到一种可实现断点续传的文件下载方法、系统及终端。 The present invention relates to a unidirectional broadcast system, and more particularly to a method for file download HTTP may be implemented in the system and the terminal.

背景技术 Background technique

单向广播系统,如移动多媒体广播是近年来兴起的一种广播方式的多媒体播放技术。 Unidirectional broadcast system, a multimedia player, such as a technique for broadcasting mobile multimedia broadcast rise in recent years. 通过手持的终端,在高速移动的情况下,可以观看电视等多媒体业务。 Handheld terminals moving at a high speed, can watch television and other multimedia services. 终端通过无线广播信道,接收到多々某体业务节目单,并可以选择自己有权利收看的频道,从而可以接收并选择频道的多^某体数据,实现在移动终端上看电视。 Terminal through a wireless broadcast channel, the received multi-service program 々 a single body, and can choose the right viewing channel, which can receive and select a plurality of volume data channel ^, implemented in a mobile terminal, watching TV.

文件下载是移动多媒体广播的一个重要功能,标准GY/T 220.5-2008《移动多媒体广播第5部分:数据广播》中详细定义文件的传输方式和业务模式, 包括向终端提供如新闻内容、政务政要、商务信息、娱乐游戏、天气预报、 文件下载等服务。 File download is an important function of the mobile multimedia broadcasting standard GY / T 220.5-2008 "Mobile Multimedia Broadcasting - Part 5: Data broadcasting" in transmission and business models detailed definition file, including providing content such as news, government politicians to the terminal , business information, entertainment, games, weather, file downloads and other services. 可支持的文件类型包括HTML、 XML、 JPG、 GIF、 MP3、 AVI、 TXT、 DOC、 PPT、 PDF等等。 Supported file types including HTML, XML, JPG, GIF, MP3, AVI, TXT, DOC, PPT, PDF, and so on.

然而标准并没有定义在文件下载过程中,出现网络异常或者终端异常的情况下,文件下载中断,如何实现断点续传。 However, the standard is not defined in the file download process, terminal or network anomalies occur under unusual circumstances, the file download is interrupted, how HTTP.

曰常使用的很多互联网下载工具支持断点续传功能,节约大家的下载时间和网络的使用费用,深受广大用户的喜爱。 Normal daily use of the Internet to download a lot of tools to support the HTTP functionality, saving you download time and network usage fees, the majority of users. 在交互的互联网应用中,断点续传就是能在下载时自由指定下载的启始位置,无论是FTP还是HTTP下载, 终端用户可以向网络服务器发送指定下载的启始位置的下载请求命令,服务器从指定的文件下载位置提供下载数据,实现断点续传。 In the interactive Internet applications, the HTTP is free to download when downloading the specified starting position, either FTP or HTTP download, the end user can be sent to the designated start downloading a web server start the download location request command server download data from the specified file download location, to achieve HTTP.

但是在目前的移动多媒体广播系统这种单向的广播网络中,不能使用互联网的断点续传方法。 However, in such a way broadcast network current mobile multimedia broadcast system, the method can not use HTTP Internet. 发明内容 SUMMARY

本发明要解决的技术问题是提供一种实现断点续传的文件下载方法、系统及终端,以实现单向广播网络中文件下载中断后的文件下载断点续传。 The present invention is to solve the technical problem is to provide a method implemented file download HTTP, a system and a terminal, allowing the unidirectional broadcast network file Download blocked file download HTTP.

为了解决上述问题,本发明提供了一种实现断点续传的文件下载方法, 该方法应用于单向广播网络,该网络包括文件发送端和文件接收端,文件发送端下发文件,文件接收端下载文件的同时记录文件的下载状态信息,当下载中断再次恢复时,文件接收端根据记录的下载状态信息从下载中断处继续下载,实现断点续传。 To solve the above problems, the present invention provides a method for implementing a file download HTTP, the method is applied to a unidirectional broadcasting network, the network comprising a sending end and a document file receiving side, the transmitting side issued a document file, the file receiving while the end of the download file download status information recorded files, recover again when the download is interrupted, the file continues to download the receiving end according to state records download the information from the interruption of the download, implement HTTP.

进一步地,文件发送端将文件分割成若千个子文件,并下发所述文件的 Further, the transmitting side divides the file into the file, if one thousand sub-file, and delivers the document

子文件及文件分割信息,文件接收端下载文件的过程包括以下步骤: (A)文件接收端下载文件分割信息; Process documents and sub-division information, file download file receiving side comprises the steps of: (A) a file download file division information receiving terminal;

(B )文件接收端判断是否保存有所述文件的下载状态信息,如有则执行步骤(C),否则执行步骤(D); (B) receiving terminal determines whether the file stored in the file download status information, if the step (C), otherwise step (D);

(C) 根据下载状态信息和下载文件分割信息,继续下载尚未下载的子文件实现断点续传,同时记录子文件下载状态; (C) dividing the state information based on the download information and download files, continue to download the file has not been downloaded sub implemented HTTP, file download while recording sub-state;

(D) 根据下载文件分割信息下载文件所有子文件,同时记录子文件下载状态。 (D) all sub division information file download file download file, downloading a file while recording sub-state.

进一步地,文件发送端将文件分割为二级子文件,分别为文件块和文件片,即文件包括若干个文件块,每个文件块包括若干个文件片,所述文件接收端记录的文件下载状态包括文件块下载状态和、或文件片下载状态。 Further, the document transmission ends of the divided two sub-file document, and each document sheet file blocks, document file comprising a plurality of blocks, each block comprising a plurality of document file sheet, said file receiving end the file download records state includes a file download status, and a block, sheet or file download status.

进一步地,文件发送端进行文件分割之后,下发文件片、文件块及文件分割信息之前还包括:对文件块进行冗余纠错校验,得到包括纠错数据的校验块,校验块划分为多个与文件片长度相等的校验片,每个文件块的校验片与文件片连续编号,同时记录纠错数据分块分片信息,所述的文件分割信息包括文件分块分片信息和纠错数据分块分片信息,步骤(C)和(D)中,所述子文件指文件块,下载文件块进一步包括以下步骤:(Dl)终端根据文件分割信息接收文件数据,包括该文件块的文件片和校验片,在确认文件片正确后,将文件片写入对应的文件,如果写入操作正 Further, the document files transmitted after the divided end, issued a document sheet, and the file block file before division information further comprises: block file redundancy error correction check, check block includes error correction data obtained, the check block into equal length checking a plurality of sheet pieces with the file, the check sheet and document sheet for each file block number of the continuous, simultaneous recording error correction data block fragmentation information, the file information includes a file dividing partitioned slice information and error correction data block fragmentation information, the step (C) and (D), the sub-block file refers to a file, downloading a file block further comprising the step of: (Dl) split information receiving terminal data file according to the file, and the check sheet file comprises the file blocks sheet, after confirming that the correct file sheet, the document sheet written into the corresponding file, if the write operation being

确,在该文件对应的下载状态文件中,记录对应的文件片下载状态为已下载; Indeed, the state of the download file corresponding to the file, the recording sheet corresponding file downloaded as the download status;

(D2)根据文件片序号组成文件块,并检验文件块是否正确,若不正确则利用校验片修正以得到正确的文件块。 (D2) based on the file sheet composed of file block number, and checks whether the file block correct, if correct, using the correction to obtain the correct check sheet file blocks.

进一步地,所述文件分割信息包括文件分割版本信息,步骤(A)中, 文件接收端若保存有所述文件的旧的文件分割信息,则对比新旧文件分割信息中的文件分割版本信息,若相同则执行步骤(B),否则无论是否保存有文件下载状态信息,都直接跳转步骤(D)进行更新下载操作。 Further, the division information file includes a file version information dividing step (A), the file is stored when the receiving end of the old document file division information, the comparison of the old and new file division information file division version information, if then perform the same steps (B), or whether or not the state information stored file downloading, jump directly to step (D) update downloads.

为解决上述技术问题,本发明还提供了一种实现断点续传的文件下载系 To solve the above problems, the present invention also provides a system for realizing the file download resumable

统,该系统是单向广播系统,包括文件发送端和文件接收端,其中,文件发 System, the system is a unidirectional broadcast system, including file sending end and the receiving end the file, wherein the file hair

送端用于下发文件,文件接收端包括文件接收模块、记录存储模块及文件整合模块,其中, Issued terminal for sending a file, a file receiving terminal includes a receiving module, a storage module records and documents integration module, wherein

判断分析模块用于判断记录存储模块是否存储有相应的文件下载状态信息,若有则控制文件接收才莫块下载尚未下载的文件内容,否则控制文件接收模块下载所有文件内容; Determination means for determining whether the analysis module storing the corresponding records stored file download status information only if the received file control block Mo download content files not yet been downloaded, the control file or files to download all content receiving module;

文件接收片莫块用于下载文件; Mo file receiving sheet for download file block;

记录存储;模块用于存储文件下载状态信息; Storing records; means for storing state information file download;

文件整合^^莫块用于整合已下载的文件内容。 ^^ Mo block file integration for integrating the downloaded content files.

进一步地,文件发送端包括文件分割模块、文件属性记录模块、文件封装发送模块,其中, Further, the transmitting end includes a document file segmentation module, the module records the file attributes, file wrapper transmitting module, wherein

文件分割才莫块用于将文件分割成若千个子文件; Mo before file division blocks for dividing the file into sub-files if one thousand;

文件属性记录模块用于记录文件分割信息; Recording means for recording the file attribute information of the file division;

文件发送^t块用于下发所述文件的子文件及文件分割信息; ^ T document transmission blocks adapted to deliver the documents and sub-files division information;

文件接收端的所述文件接收才莫块用于下载文件分割信息及所述文件的子文件; The file receiving terminal receives only Mo block division information to download files and subfolders of the file;

所述判断分析;模块用于判断记录存储才莫块是否存储有相应的文件下载状态信息,若有则控制文件接收才莫块下载尚未下载的子文件,否则控制文件接 The determination analysis; means for determining whether the recording memory before storing the corresponding MO block file download status information only if the received file control block sub Mo download file has not been downloaded, or the file access control

收^^莫块下载所有的子文件; ^^ Mo closed block download all the subfolders;

记录存储模块用于存储文件分割信息及子文件的下载状态; Record storage means for storing state information of downloaded files divided subfiles;

文件整合^t块用于根据文件分割信息整合已下载的子文件。 ^ T file integration block for integrating the divided child file information according to the downloaded file.

进一步地,所述文件发送端的文件分割^f莫块将文件按一定的长度分割成若千等长的文件片,多个文件片组成文件块,所述文件发送端还包括文件纠错模块,用于按文件块对文件进行冗余纠错校验,得到检验块,并将检验块划分为若干个与文件片长度相同的校-睑片;文件接收端还包括文件纠错模块, 用于使用纠错算法利用校验片数据对接收到的不正确的文件块进行纠错,以得到正确的文件块。 Further, the file of the file transmission end block dividing Mo ^ f divided by a certain length of the file into a file, if one thousand pieces of equal length, composed of a plurality of document sheets file blocks, the file sending end further comprises a file error correction module, for the file by file block error correction redundancy check, to give test pieces, and test block is divided into a plurality of files with the same sheet length correction - eyelid sheet; document file receiving terminal further comprises an error correction means for error correction algorithm used with an incorrect check sheet file blocks received data error correction, to obtain the correct file blocks.

进一步地,所述文件接收端还包括下载状态通知;f莫块用于根据文件下载状态,通知用户界面实时显示下载进度。 Further, the receiving terminal further comprises a file download status notification; F block according Mo file download status, real-time display informing the user interface download progress.

进一步地,所述文件发送端的文件属性记录;f莫块记录的分割信息包括文件分割版本信息,所述文件接收端的判断分析模块还用于判断记录存储模块是否有与新下载的分割信息属于同一文件的旧的文件分割信息,若有则判断新旧文件分割信息的版本是否相同,若不同则保存新的文件分割信息以更新下载文件的所有内容。 Further, the file attribute record file transmission end; f Mo block division information recorded version information comprises a file division, the receiving end determines the file analysis module is further configured to determine whether the recording division information storage module with the newly downloaded belong to the same the old file segmentation information, if it is determined that the new and old versions of the file segmentation information is the same, if different then save the new file segmentation information to update all the contents of the downloaded file.

为解决上述技术问题,本发明还提供了一种实现断点续传的文件下载终端,用于接收系统端下发的文件,该终端包括文件接收模块、记录存储模块及文件整合模块,其中, To solve the above problems, the present invention further provides an implementation file download HTTP terminal for receiving documents issued by the system side, the terminal includes a receiving module file, and the file record storage module integration module, wherein

判断分析才莫块用于判断记录存储;漠块是否存储有相应的文件下载状态信息,若有则控制文件接收^i块下栽尚未下载的文件内容,否则控制文件接收模块下载所有文件内容; Analysis of Mo was determined for determining whether the recording block is stored; if the desert corresponding block storage file download status information, if the file control block is tilted downward and crashed ^ i receives the content file has not been downloaded, the control file or files to download all content receiving module;

文件接收^t块用于下载文件; ^ T file receiving block is used to download files;

记录存储模块用于存储文件下载状态信息; Record storage means for storing state information file download;

文件整合模块用于整合已下载的文件内容。 File integration module for integrating content downloaded files.

进一步地,系统端以分片分块的方式下发文件,同时下发文件分割信息; 终端的所述文件-接收;f莫块用于下载文件分割信息及所述文件的文件片;所述判断分析模块用于判断记录存储模块是否存储有相应的文件下载状态信息,若有则控制文件接收模块下载尚未下载的文件片,否则控制文件接 Further, the development of a system to the end of the tile block files, and send the file division information; terminal of the file - receiving; F Mo sheet blocks for file downloading the file information and the file division; the analyzing means for determining determines whether the file recording sheet storage module storing the corresponding file download status information, if the receiving module download control file has not been downloaded, or the file access control

收模块下载所有的文件片; Receiving module download all files sheet;

记录存储;漠块用于存储文件分割信息及文件片或文件块的下载状态; Record storage; desert dividing block for storing information and a file or document sheet file download status block;

文件整合模块用于根据文件分割信息整合已下载的文件片和文件块。 The integration module files for file division information integration downloaded file sheet and the file block.

进一步地,所述终端还包括下载状态通知;漢块用于根据文件下载状态, 通知用户界面实时显示下载进度。 Further, the terminal further comprises download status notification; Han blocks according to the file download status, real-time display informing the user interface download progress.

进一步地,所述文件属性记录;f莫块记录的分割信息包括文件分割版本信息,所述判断分析^t块还用于判断记录存储4莫块是否有与新下载的分割信息属于同一文件的旧的分割信息,若有则判断新旧文件分割信息的版本是否相同,若不同则保存新的文件属性表以更新下载文件的所有内容。 Further, the file attribute record; f Mo block division information recorded version information comprises a file division, the determination block further analysis ^ t store 4 for determining whether the recording block has division Mo newly downloaded information belonging to the same file the old division information, if it is determined that the old and new versions of the file segmentation information is the same, if different then save the new file attribute table to update all the contents of the downloaded file.

相较于现有技术,本发明提供文件下载方法、系统及文件下载终端,可以为广播网络使用下载业务时提供断点续传功能,使广播用户使用广播网络的下载业务时享受和互联网下载一样的用户体验,节约用户的下载等待时间, 随时随地可以多次的下载,而不需要重复下载。 Compared to the prior art, the present invention provides a method for downloading files, the system files and downloading terminal may be provided using the HTTP functionality when download service is a broadcasting network, so that users enjoy using the download broadcasting service during the broadcast network and Internet downloads of user experience, saving the user download waiting time, anywhere can download many times, without the need to repeat the download. 本发明实现的断点续传功能, 对系统端来说,在目前的基础上不需要做任何改动。 The present invention achieves the function of HTTP, the system side, in the basis of the current does not need to make any changes.

附图说明 BRIEF DESCRIPTION

图1是移动多4某体广播数据广播标准规定的文件分割示意图。 4 FIG. 1 is a mobile multiple broadcast data broadcast standard of a body of a predetermined file division FIG.

图2是移动多媒体广播数据广播标准规定的文件片/校验片传输示意图。 FIG 2 is a schematic view of a file sheet a predetermined broadcasting standard mobile multimedia broadcasting data / parity chip transmission.

图3是移动多媒体广播数据广播标准规定的文件片或校验片传输的封装结构。 3 is a package of sheet or document sheet transmission check mobile multimedia broadcasting predetermined data broadcasting standard.

图4是本发明终端下载文件的文件下载流程图。 FIG 4 is a terminal to download a file to download the file of the present invention a flowchart. 图5是本发明终端的模块结构示意图。 FIG 5 is a schematic block configuration of the terminal according to the present invention.

具体实施方式在移动多媒体广播这种单向广播网络中,包括系统端和文件下载终端, 系统端在特定时间段(即文件生命周期内)持续下发某文件,终端可根据需求选^^下载该文件,终端下载文件的同时记录文件的下载状态信息,当下载中断再次恢复时,终端根据记录的下载状态信息从下载中断处继续下载,实现断点续传。 DETAILED DESCRIPTION In this unidirectional broadcast mobile multimedia broadcast network, the system comprising a terminal end and a file download, the system side (i.e., the life cycle of the paper) certain period of time continuously issued a file, the terminal can be downloaded on demand option ^^ the document, while the terminal to download the file download status information records file, recover again when the download is interrupted, the download status information terminal according to records from the download left off to continue downloading, realize HTTP.

系统端(即文件发送端)发送文件的处理过程包括以下步骤: System side (i.e., the file sending end) file transmission process comprises the steps of:

步骤一、文件发送端将文件分割成若干等长的文件片,并将多个文件片组成文件块,同时记录分块分片信息; Step one, the transmitting side divides the file document file into several pieces of equal length, and a plurality of document sheets composed of file block, while block recording fragment information;

文件发送端将文件分割为若干个子文件,并记录文件的分割信息,在移动多媒体广播系统中,按照移动多媒体广播数据广播标准GY/T 220.5-2008 的规定,将文件进行二级子文件分割即分割为文件块和文件片,采用分块分片的方法进行传输,对文件分块分片见图1,文件按一定的长度分割成若干等长的文件片,最后一个文件片长度不足应填充Ox00,多个文件片组成文件块,根据文件块中的文件片数量不同可分为A、 B两种类型,若文件片数量相等,则只有类型A。 File transmission end divided into several sub-document file, and the file recording division information, the mobile multimedia broadcast system, a mobile multimedia broadcasting data in accordance with the broadcasting standard GY / T 220.5-2008, the file will be divided i.e. two subfiles is divided into files and file segment blocks, the method block slice transmission, slices of the file block shown in Figure 1, the file divided by a certain length into several pieces as long as the file, the last document sheet length should be less than filled Ox00, composed of a plurality of document sheets file block can be divided into a, B are two types depending on the number of files in the file sheet blocks, if the number of document sheets is equal, the only type A.

步骤二、对文件块进行冗余纠错校验,得到包括纠错数据的校验块,校验块划分为多个与文件片长度相等的校验片,每个文件块的校验片与文件片连续编号,同时记录纠错数据分块分片信息; Step two, the redundancy of error correction check block files, including error correction data to obtain parity block, the parity block is divided into a plurality of equal length check sheet file sheet, each file sheet parity block and file sheets numbered consecutively, simultaneously recording the error correction block of data fragment information;

为了实现可靠的传输,对文件块进行冗余纠错校验,标准对此的规定见图2,文件纠错按文件块进行,得到的纠错数据称为校验块。 In order to achieve reliable transmission of redundant error correction check file block, the predetermined standard for this Figure 2, file by file block for error correction, error correction data obtained is called the check block. 校验块划分成若干片,称之为校验片,长度与文件片相等,校验片应与文件片连续编号。 A check block is divided into several pieces, called check sheet are equal, and the length of the file sheet, the check sheet file sheet should be numbered consecutively.

文件的分块分片的信息即文件的分割信息在文件属性表FAT中传输,详细的定义见下表:<table>table see original document page 11</column></row> <table>A—block—count 类型A文件块的数量,皿signedlnt类型,取值范围0~ 1023。 I.e. information file fragmentation block division information in the file property table FAT file transmission, detailed definition table below: <table> table see original document page 11 </ column> </ row> <table> A- a number of block-count type of file blocks, signedlnt dish type, ranging from 0 to 1023.

B—block—count 类型B件块的数量,unsignedlnt类型,取值范围0~ 1023。 B-block-count the number of B type block member, unsignedlnt types, ranging from 0 to 1023.

total—block—count 文件块总数,unsignedlnt类型,等于A—block—count和B—block—count之和。 Total-block-count the total number of file blocks, unsignedlnt type, is equal to A-block-count and B-block-count sum.

slice—count—for—A 类型A文件块中文件片的数量,unsignedShort类型, 取值范围0~8191,可选。 Number of slice-count-for-A type block file A file sheet, unsignedShort types, ranging from 0 to 8191, alternatively.

slice—count—for_B 类型B文件块中文件片的数量,unsignedShort类型, 取值范围0~8191,可选。 Number of slice-count-for_B B type block files of a file sheet, unsignedShort types, ranging from 0 to 8191, alternatively.

fee—slice_count—for一A 类型A文件块校验片的数量,unsignedShort类型,取值范围0~8191,可选。 Number of fee-slice_count-for-A type block check sheet file A, unsignedShort types, ranging from 0 to 8191, alternatively.

fee—slice_count_for__B 类型B文件块校验片的数量,unsignedShort类型,取值范围0~8191,可选。 Number of fee-slice_count_for__B B type block check sheet file, unsignedShort types, ranging from 0 to 8191, alternatively.

步骤三、对文件属性表、文件片和校验片进行封装后发送给文件接收端 Step three, after the file attribute table, and the check sheet file transmitted to the document sheet encapsulated receiving end

即移动多媒体广播终端; I.e., the mobile multimedia broadcast terminal;

文件属性表(即FAT)的封装分片格式在GY/T 220.5-2008中描述。 File attribute table (i.e. FAT) encapsulation slice format described in GY / T 220.5-2008.

每一个文件片或者检验片封装后经过移动多媒体广播网络传输,封装见图3,使用块序号和片序号唯一的标识一个文件片或者校验片,移动多i某体广播终端可以根据块序号和片序号来识别每一个接收到的文件片。 After each document sheet or a test strip package through the mobile multimedia broadcast network transport, the package shown in Figure 3, using a block sequence number and the sheet sequence number uniquely identifies a document or check sheet piece, a mobile multimedia broadcasting-terminal i may block number and sheet serial number to identify each document sheet received.

封装后的文件片或校验片的信息包括资源标识、块序号、片序号、更新序号及文件片/校验片,说明如下: Information file package sheet or sheet includes a resource identifier check, block number, the slice number, file number and update sheet / check sheet, as follows:

资源标识:16位字段,是文件的标识号; Resource identification: 16-bit field is the identification number of the file;

块序号:10位字段,表示当前文件片/校验片所从属的文件块的序号; Block number: 10-bit field indicates the file number of the current sheet / check sheet file blocks is subordinate;

片序号:14位字段,表示当前文件片/校验片在文件块内的序号; Slice number: 14-bit field indicates the serial number of the current document sheet / sheets in the paper check block;

更新序号:4位字段,表示当前资源的更新序号,与"资源标识"字段共同唯一确定一个文件; Update number: four field indicating the current update number of resources, and "resource ID" fields together uniquely identify a file;

文件片/校验片:携带实际的文件片或校验片,文件片或校验片的长度N Document sheet / check sheet: sheet carrying the actual file or check sheets, sheet or document sheet checking the length N

12由文件属性表FAT文件指定,通过片序号和FAT文件中指示的文件块分片信息识别文件片和校验片。 12 designated by the file attribute table FAT file by file block number and the sheet indicated in the FAT file fragmentation information identifying segments and check sheet file.

移动多媒体广播系统端作为文件传输的发送端包括文件分割模块、文件纠错才莫块、文件属性记录模块、文件发送模块,其中, Mobile multimedia broadcast system as a transmission end side of the file transfer module includes a file division, the file block error correction only Mo, recording module file attributes, file sending module, wherein

文件分割模块用于将文件按一定的长度分割成若干等长的文件片,每个文件片都有文件片数据、文件片序号及文件块序号等信息。 File segmentation means for dividing the file into several certain length as long as the file sheet, each file sheet slice data file has a file number and the file block number plate information. 最后一个文件片长度不足应填充0x00,多个文件片组成文件块,根据文件块中的文件片数量不同可分为A、 B两种类型,若文件片数量相等,则只有类型A。 Finally, a document sheet length should be less than 0x00 filled, a plurality of document sheets composed of file block can be divided into A, B are two types depending on the number of files in the file sheet blocks, if the number of document sheets is equal, the only type A.

文件纠错模块用于按文件块对文件进行冗余纠错校验,得到检验块,并将检验块划分为若干个与文件片长度相同的校验片,且该文件块的校验片与其文件片连续编号;每个校验片都有校验片数据、校验片序号及校验块序号等信息。 File by file block error correction means for redundant error correction check the file, to give test pieces, and test block is divided into a plurality of files with the same length of sheet check sheet, block and the check sheet file thereto sheet document numbered consecutively; each check plate has a check sheet data, check sheet check block number and serial number and other information.

文件属性记录模块用于记录文件属性,包括文件的分块数量、分片数量、 分片大小、文件名称、路径、版本等信息。 Recording means for recording the file attribute file attribute, comprising a number of sub-blocks of the file, number of fragments, fragment size, file name, path, version, and other information. 这些信息最终形成文件属性表(FAT) 随文件数据一起分发给接收终端,接收终端据此接收文件数据,并和新接收的FAT中的版本信息进行比对,确定是否需要更新操作。 The information ultimately the file attributes table (FAT) file data distributed together with the receiving terminal, the receiving terminal receives the file data accordingly, and the newly received version information and the FAT for comparison, determine whether the update operation.

文件发送模块用于封装及下发文件的文件片和/或校验片及文件属性表。 File file sheet for packaging and transmitting module issued a document and / or file attribute table and check sheet. 如图4所示,文件下载终端(文件^接收端)开始文件下载的处理步骤包 As shown, the terminal to download the file (file ^ receiver) starts downloading the file package processing steps 4

括: include:

步骤401:终端下载系统端下发的要下载文件的文件属性表; Step 401: the file attribute table to download the file system side terminal downloads issued;

终端从文件属性表FAT即文件的分割信息中可以得到一个文件的分块数量、分片数量、分片的大小等。 I.e., the number of the terminal block division information file can be a file from the file attribute table FAT, number of fragments, the fragment size.

文件属性表FAT的作用: Table FAT file attributes role:

告诉接收终端,本次下载过程,包含那些下载文件; 待下载文件的分割情况;待下载文件的名称,大小,路径信息,版本信息,是否采用了FEC纠错; 待下载文件的生命周期; Tells the receiving terminal, this download process, including those downloaded files; split the case file to be downloaded; name of the file to be downloaded, size, path information, version information, whether to adopt the FEC error correction; the life cycle of file to be downloaded;

待下载文件的版本信息,系统端在下载过程中可以修改FAT表,利用相关的版本信息来告诉接收终端是否需要更新文件。 Version information file to be downloaded, the system side during the download can modify the FAT table, using the relevant version information to tell whether the receiving terminal needs to update the file.

因此,在开始一次文件下载过程中,首先需要接收的文件必须是FAT表, 并在解析成功后,才能根据FAT表接收在FAT表中描述的文件。 Therefore, at the beginning of a file download process, you first need to receive the file must be FAT table, and after successfully resolved, to receive documents described in the table according to the FAT table FAT.

由于FAT表比较重要,目前系统端发送FAT表的频率比文件数据高,例如,传递"FAT数据,传递文件l的部分数据,传递文件2的部分数据,传递FAT数据,传递文件l的部分数据。"具体发送频率由系统端确定。 Since the FAT table is more important, the current system side transmission frequency FAT table is higher than the document data, e.g., passing "FAT data transfer portion of the data file l, passing part of the data file 2, passing FAT data, transfer files l partial data . "In particular transmission frequency is determined by the system side.

步骤402:终端判断是否存储有该要下载文件的旧的FAT表,若有则判断新旧FAT表的版本是否相同,若相同,则执行步骤403,否则视为开始下栽新文件,执行步骤405; Step 402: The terminal determines whether or not there an old FAT table for that file to be downloaded, if it is determined that the old and new versions of the FAT table is the same, if the same, step 403 is executed, or as tilted downward and crashed to start a new file, step 405 ;

步骤403:判断本地是否保存有要下载文件的文件下载状态信息,若有则执行步骤404;否则表示之前只是下载了FAT表而尚未开始下载文件,与开始下载新文件的流程相同,执行步骤405; Step 403: determine whether stored locally to download the file download status information, if the step 404 is performed; otherwise, it indicates just before downloading the FAT table and has not yet begun to download a file, start downloading a new file with the same process, step 405 ;

FAT表给出系统端对文件的分块情况,所以"下载状态信息"可以根据已经正确写入文件的情况,记录文件块、文件片的下载状态,即已经正确写入文件的文件片/文件块,记录为已正确下载,否则记录为未正确下载。 FAT table gives the end of the block where the system files, the "download status information" may have been written to the file according to the situation correctly record file blocks, the file download status sheet, i.e. has the correct file written to the file sheet / file block, recorded as downloaded correctly, otherwise the record is not downloaded properly. 根据终端的处理能力,下载状态可以选择以文件片为单位记录,也可以选择以文件块为单位记录下载状态。 The processing capability of the terminal, a file download status may be selected in units of recording sheet, you may be selected to download the file state is recorded in units of blocks.

由于在文件下载过程中保存文件的下载状态、文件块的块序号、块下载状态,片序号、片下载状态等位置信息;无论何种原因引起下载中断都知道已经接收下载了那些数据,在恢复下载时,根据中断的位置,继续从广播网络接收后续的数据,从而实现在单向广播网络文件下载的断点续传功能。 Since the status of the file stored in the file downloaded during the download, the file block number of the block, the block download status, slice number, download status sheet position information; Download blocked regardless of the cause know that data has been received, downloaded, the recovery when downloading, the position of the interruption, continue to receive subsequent data from the broadcast network, thereby achieving unidirectional broadcast network file download HTTP functionality.

以上可以看出终端都是以新的FAT表为依据进行文件下载的。 As can be seen above the terminal is a new FAT table as the basis for the downloaded file.

步骤404:根据文件下载状态信息从下载中断处继续下载尚未下载的剩余文件内容,同时记录文件的下载状态信息; Step 404: The status information file is downloaded from a download interrupted remaining files continue to download the content has not been downloaded, the download status while recording information file;

步骤405:根据要下载文件的FAT表信息下载所述文件的所有文件内容, 同时记录文件的下载状态信息。 Step 405: The contents of all files in the FAT table information of the file download file to be downloaded, while the recording information file download status.

以上所说的文件下载状态信息能够确保断电不丢失(例如以文件方式纪录),正确地写入到了文件中,这样一旦在接收过程中发生断电事件,接收终 The above mentioned file download status information to ensure that power is not lost (for example, to record papers), correctly written to the file, so that in the event of power failure events during reception, receiving terminal

尤可" Particular- "

步骤404和步骤405中,终端下栽文件的过程包括: Process steps 404 and step 405, the terminal is tilted downward and crashed file comprises:

A:终端根据FAT表,从码流中下载文件数据,包括该文件块的文件片和校验片,在确认文件片正确后,将文件片写入对应的文件,如果写入操作正确,在该文件对应的下载状态文件中,记录对应的文件片下载状态为已下载; A: FAT table according to the terminal, file data downloaded from the code stream, and the check sheet file comprises the file blocks sheet, after confirming that the correct file sheet, the document sheet written into the corresponding file, if the write operation correctly, the Download status file corresponding to the file, the recording sheet corresponding file downloaded as the download status;

文件片和文件块可以不严格按照顺序接收:由于终端根据FAT表能够完全预知文件的重构结构,每个分片在文件中的起始位置,长度都可以预测出来;所以对于接收终端来说,可以根据自身的资源状况,选择支持分片数据乱序接收,或所有分片严格按照分块和分片序号逐次接收。 File sheet and the file block can not be in the exact order received: since the terminal according to the FAT table can be reconstructed completely predictable structure of the file, a starting position of each fragment in the file, the length can be predicted; it is for the receiving terminal , according to their resources, select support fragmentation of data received out of order, or sequentially all fragments in strict accordance with the received block sequence number and fragment.

终端从移动多媒体广播网络的广播通道接收文件片和校验片,同时记录文件片和校验片的下载状态,某个分片写入文件,认为该分片数据正确接收, 一旦出现接收断点,再次启动下载过程,在版本不需要更新情况下,不需要再次接收这个分片的数据(由于已经正确写入文件)。 The terminal from the broadcast channel receiving document sheets and the check sheets of the mobile multimedia broadcast network, while the recording sheet and the download status check sheet file, writing a file fragment that correctly received the fragmented data, upon receiving a breakpoint occurs to start the download process again, in the version does not require updates, this patch does not need to receive data again (because the file has been written correctly).

B:根据文件片序号组成文件块,并检验文件块是否正确,若不正确则利用校^r片修正以得到正确的文件块; B: The composition of a document sheet file block number, and checks whether the file block correct, if correct, using the correction ^ r sheet modified to get the correct file block;

根据片序号组成文件块,文件块包括文件片和检验片,如果一个文件块所有的文件片正确,可以确定接收到的文件块正确,否则可以使用纠错算法利用校验片数据得到正确的文件块。 The sheet composed of file block number, file block includes a test strip and sheet files, a file block if all document sheets correctly, can determine whether the received file block correctly, otherwise, the correction algorithm may be used to obtain the correct data by using the check sheet file Piece. 一个文件所有的文件块接收正确,表示一个文件下载结束。 A file of all the file blocks received correctly, it represents a file download is completed.

C:根据文件索引表信息判断是否所有文件块下载正确,若所有文件块下载正确,则在对应的该文件的下栽状态文件中,记录该文件正确下载完毕; C: The file index table information block determines whether all files downloaded correctly, if all the file blocks downloaded correctly, the corresponding tilted downward and crashed state file of the file, the file is recorded correctly downloaded;

下载过程中、下栽结束时及下载中断恢复时可以在终端显示给下载状态信息,以及时让用户了解下载信息,并根据个人喜好决定继续下载、重新下载或中断下载。 It can be displayed to the terminal when the download process, when tilted downward and crashed the end of the download and resume interrupted download status information, as well as time allows users to download information, and decided to continue downloading according to personal preference, re-download or interrupt the download.

本发明文件下载终端从广播网络的广播通道接收文件片和校验片,同时记录文件片和校验片的下载状态,表明该片序号的文件片或者校验片已经下载,并保存文件片或者校验片的数据、片序号、块序号、片下载状态,然后根据片序号组成文件块,文件块包括文件片和检验片,如果一个文件块所有的文件片正确,可以确定接收到的文件块正确,否则可以使用纠错算法利用校验片数据得到正确的文件块,同时记录该文件块的下载状态,表明该序号的文件块处于下载中或已经下载完毕,并保存文件块的下载状态,当一个文件所有的文件块接收正确,表示一个文件下载结束,保存文件。 The present invention is a terminal file downloaded from the broadcast channel receiving sheet and the check sheet file broadcast network, and download the file sheet and the recording state check sheet, indicates that the film or sheet number check sheet file has been downloaded, and save the file sheet, or data check sheet, slice number, block number, download status sheet, sheet number and composition according to file blocks, the file block includes a test strip and sheet files, a file block if all document sheets correctly, can determine whether the received file blocks correct, otherwise an error correction algorithm may be used to obtain the correct data by using the check sheet file blocks, the file download status while recording block, indicating that the number of blocks in a file downloaded or has been downloaded, the download status and save the file blocks, when a file all the file blocks received correctly, represents a file download is complete, save the file.

如图5所示,文件下载终端包括文件接收模块、记录存储模块、文件整合模块、文件纠错模块及下载状态通知模块,其中, 5, the file includes a file download terminal receiving module, a storage module records, files integration module, and error correction module file download status notification module, wherein

文件接收^t块用于接收文件属性表,并从文件属性表FAT中得到预下载文件的分块数量、分片数量及分片大小的文件信息;以及接收待下载文件数据。 ^ T file receiving means for receiving the file attribute table block, and the block number to obtain pre-downloaded files from the file attribute table FAT, the slice number and fragment size of the file information; and the received file data to be downloaded.

记录存储才莫块用保存文件属性表中的文件信息、文件片和检验片的数据、 片序号、块序号、片下载状态及块下载状态,当这些信息记录在一定的存储介质上时,可以确保断电后相关信息不丟失; Record store only Mo block data file information storage file attribute table, the file sheet and the test sheet, slice number, block number, sheet download status and the block status of the download, when information is recorded on a certain storage medium, to ensure that relevant information is not lost after power failure;

判断分析模块用于判断终端是否保存有与新下载的文件属性表属于同一文件的旧文件属性表,若有则判断新旧文件属性表的版本是否相同,若不同则保存新的文件属性表以更新下载,并控制文件接收模块根据新的文件属性表下载文件的所有文件片或文件块;若相同则进一步判断是否有相应的文件下载状态信息,若有则控制文件接收模块下载尚未下载的文件的文件片或文件块,否则控制文件接收模块下载所有文件片或文件块,还用于判断文件是否下载完毕,已通知下载状态通知模块进行下载状态显示。 Judgment and analysis module for determining whether the terminal is stored with the newly downloaded file attributes table belongs to the same file old file property sheet, if it is determined that the old and new versions of the file attribute table is the same, if different then save the new file to update the attribute table downloading, and document control sheet receiving module all files or file block with a new file downloaded file attribute table; if the same is further determined whether the corresponding file download status information, if the control module receives the downloaded file is not yet downloaded sheet or document file blocks, otherwise control file sheet receiving module download all files or file blocks, but also for determining whether the file is downloaded, the download status notification has a notification module for download status display.

文件整合模块用于根据文件片序号整合成文件块,并最终整合成完整文件; Integrating means for integrating the file according to the file sheet into a file block number, and ultimately integrated into a complete document;

文件纠错模块用于使用纠错算法利用校验片数据对接收到的不正确的文件块进行纠错,以得到正确的文件块。 Error correction means for using the file with an incorrect correction algorithm block check sheet file received data error correction, to obtain the correct file blocks.

下载状态通知才莫块用于根据下载状态,通知用户界面实时显示下载进度。 Download status notification before downloading MO blocks are used according to the state, to inform the user interface displays real-time download progress.

如果一个文件正在下载的过程中,没有到达下载结束的状态,由于广播网络中断或者终端运行异常时,或者用户没有时间,需要中断文件下载等各种各样的因素中断文件下载。 If the process is downloading a file, the state does not reach the end of the download, because the broadcast network outage or when terminals abnormal operation, or the user did not have time, you need to interrupt file downloads and other various factors interrupt file downloads. 无论是那种中断原因导致的下载中断,因下载中断前,终端已经记录下载了哪些数据,当广播网络又恢复正常,或者终端用户需要重新下载文件时,根据记录的已下载数据状态,从中断点附近(由于接收状态是以分块或者分片为单位记录的)开始继续接收数据,避免重复接收已经正确写入文件中的数据,从而保证终端恢复下载时实现断点续传,从上次中断的地方下载实现断点续传,即已经下载的内容不必重复下载,仅下载后续部分的内容。 Whether it is the kind of interrupted downloads causes interruption, because before download is interrupted, the terminal has recorded data downloaded what, when a broadcast network back to normal, or when end users need to download the file again, according to state records of downloaded data from the interrupt close to the point (due to the reception state block or slice is recorded in units) resumes to receive data to avoid duplication of receiving file data has been written correctly to ensure the realization of the terminal resumes the download HTTP, from the last local interrupted downloads realize HTTP, that has been downloaded content does not have to repeat the download, you only download the contents of subsequent sections.

在整个文件的下栽过程中记录并保存文件的下载状态,表明文件是处于下载过程中,还是已经下载完毕。 Record and save the file download status, indicates that the file is in the process of downloading, or already downloaded the entire file tilted downward and crashed process.

本发明提供的可以实现断点续传的文件下载方法、系统及文件下载终端, 可以为广播网络使用下载业务时提供断点续传功能,使广播用户使用广播网络的下载业务时享受和互联网下载一样的用户体验,节约用户的下载等待时间,随时随地可以多次的下载,而不需要重复下载。 File download process of the present invention may be implemented to provide the HTTP, HTTP provides functionality to download file system and the terminal, can use the download service is a broadcasting network, so that users using the broadcast download service and the Internet broadcast network enjoying downloads the same user experience, saving the user download waiting time, anywhere can download many times, without the need to repeat the download. 本发明实现的断点续传功能,对系统端来说,在目前的基础上不需要做任何改动。 The present invention achieves the function of HTTP, the system side, in the basis of the current does not need to make any changes.

Claims (14)

  1. 1. 一种实现断点续传的文件下载方法,其特征在于:该方法应用于单向广播网络,该网络包括文件发送端和文件接收端,文件发送端下发文件,文件接收端下载文件的同时记录文件的下载状态信息,当下载中断再次恢复时,文件接收端根据记录的下载状态信息从下载中断处继续下载,实现断点续传。 CLAIMS 1. A method for file download HTTP implementation, wherein: the method is applied unidirectional broadcast network, which includes a document sender and document receiver, the transmitting side issued a document file, a file download file receiving end Download status information simultaneously record files, recover again when the download is interrupted, the file continues to download the receiving end according to state records download the information from the interruption of the download, implement HTTP.
  2. 2、 如权利要求l所述的方法,其特征在于:文件发送端将文件分割成若干个子文件,并下发所述文件的子文件及文件分割信息,文件接收端下载文件的过程包括以下步骤:(A)文件接收端下载文件分割信息;(B )文件接收端判断是否保存有所述文件的下载状态信息,如有则执行步骤(C),否则执行步骤(D);(C) 根据下载状态信息和下载文件分割信息,继续下载尚未下载的子文件实现断点续传,同时记录子文件下载状态;(D) 根据下载文件分割信息下载文件所有子文件,同时记录子文件下载状态。 2. The method of claim l, wherein: the transmitting side divides the file into several sub-document files, and the files and sending sub-division information of the file, the file downloaded file receiving side involves the following steps : (a) a file download file segmentation information receiving terminal; (B) file receiving terminal determines whether the stored file download status information, if the step (C), otherwise step (D); (C) according to Download file status information and download information division, child continue to download the file has not been downloaded HTTP implementation, while recording sub-file download status; (D) division Download file all subfolders from the download file, file download while recording sub-state.
  3. 3、 如权利要求l所述的方法,其特征在于:文件发送端将文件分割为二级子文件,分别为文件块和文件片,即文件包括若千个文件块,每个文件块包括若干个文件片,所述文件接收端记录的文件下载状态包括文件块下载状态和、或文件片下载状态。 3. The method of claim l, wherein: the file transmission end for the two divided files subfolder, respectively, and a document sheet file block, i.e., if the file includes one thousand file blocks, each block comprising a plurality of documents file sheet, said file receiving terminal comprising recording file download status and the download status file blocks or file download status sheet.
  4. 4、 如权利要求3所述的方法,其特征在于:文件发送端进行文件分割之后,下发文件片、文件块及文件分割信息之前还包括:对文件块进行冗余纠错校验,得到包括纠错数据的校验块,校验块划分为多个与文件片长度相等的校验片,每个文件块的校验片与文件片连续编号,同时记录纠错数据分块分片信息,所述的文件分割信息包括文件分块分片信息和纠错数据分块分片信息,步骤(C)和(D)中,所述子文件指文件块,下栽文件块进一步包括以下步骤:(Dl)终端根据文件分割信息接收文件数据,包括该文件块的文件片和校验片,在确认文件片正确后,将文件片写入对应的文件,如果写入操作正确,在该文件对应的下载状态文件中,记录对应的文件片下载状态为已下栽;(D2)根据文件片序号组成文件块,并检验文件块是否正确,若不正确则利用校验片修正 4. The method as claimed in claim 3, wherein: after the end of the file before sending files divided issued a document sheet, and a document file block division information further comprises: block file redundancy error correction check, to give data block includes an error correction parity, parity block is divided into a plurality of equal pieces of the file sheet length checking, checking each file sheet and document sheet block numbered consecutively, simultaneously recording the error correction data block fragment information the file information includes a file dividing fragmentation information block and the error correction data block fragmentation information, the step (C) and (D), the sub-block file refers to a file, the file block tilted downward and crashed further comprising the steps of : (Dl) terminal is divided based on the file information of the received file data, the file sheet comprising a sheet of the document and the check block, after confirming the correct file sheet, the document sheet written into the corresponding file, if the write operation correctly, the file corresponding to the download status file, record file corresponding to the download status sheet as tilted downward and crashed; (D2 of) a document sheet in accordance with a sequential number file block and checks whether the file block correct, if correct, using the check sheet correction 得到正确的文件块。 Get the correct file blocks.
  5. 5、 如权利要求2至4中任一项所述的方法,其特征在于:所述文件分割信息包括文件分割版本信息,步骤(A)中,文件接收端若保存有所述文件的旧的文件分割信息,则对比新旧文件分割信息中的文件分割版本信息,若相同则执行步骤(B),否则无论是否保存有文件下载状态信息,都直接跳转步骤(D)进行更新下载操作。 5. The method according to any one of claims 2-4, wherein: the file division information includes a file version information dividing step (A), the end of the old file receiving when said file is stored file segmentation information, the comparison of the old and new files in the file segmentation information division version information, if the same is executed in step (B), or whether or not the state information stored file downloading, jump directly to step (D) update downloads.
  6. 6、 一种实现断点续传的文件下载系统,该系统是单向广播系统,包括文件发送端和文件接收端,其中,文件发送端用于下发文件,其特征在于,文件接收端包括文件接收模块、记录存储模块及文件整合模块,其中,判断分析模块用于判断记录存储模块是否存储有相应的文件下载状态信息,若有则控制文件接收模块下载尚未下栽的文件内容,否则控制文件接收模块下载所有文件内容;文件接收模块用于下载文件;记录存储^t块用于存储文件下载状态信息;文件整合才莫块用于整合已下载的文件内容。 6, an implementation of HTTP to download the file system is a unidirectional broadcast system, including file sending end and the receiving end the file, wherein the file transmission end adapted to deliver the file, wherein the file comprises receiving end file receiving module, a storage module records and documents integration module, wherein the analysis module determines for determining whether the storage module storing the corresponding record file download status information, if the content has not been downloaded file receiving module is tilted downward and crashed control, otherwise control file download all the file content receiving module; means for receiving a file download file; ^ t record storage block stores status information for downloading the file; Mo file before integration block for integrating the downloaded content file.
  7. 7、 如权利要求6所述的系统,其特征在于,文件发送端包括文件分割才莫块、文件属性记录才莫块、文件封装发送才莫块,其中,文件分割才莫块用于将文件分割成若干个子文件;文件属性记录模块用于记录文件分割信息;文件发送才莫块用于下发所述文件的子文件及文件分割信息;文件接收端的所述文件接收才莫块用于下载文件分割信息及所述文件的子文件;所述判断分析才莫块用于判断记录存储才莫块是否存储有相应的文件下载状态信息,若有则控制文件接收冲莫块下载尚未下载的子文件,否则控制文件接收模块下载所有的子文件;记录存储^t块用于存储文件分割信息及子文件的下载状态; 文件整合才莫块用于根据文件分割信息整合已下载的子文件。 7. The system as claimed in claim 6, wherein the file comprises a file transmission end block division only Mo, Mo block before recording the file attributes, file package block transmits only Mo, wherein Mo before file division blocks for file is divided into several sub-file; recording means for recording the file attribute information of the file division; file before transmitting a sub-block MO issued documents and information of the file division; the receiving terminal for receiving file blocks for downloading only Mo dividing the sub-file information and the file; determining the analysis block for determining whether only Mo Mo recording block is stored before storing the corresponding file download status information, if the received file control block download yet downloaded Mo red sub file, otherwise the control module downloaded file receiving all subfiles; ^ t record storage block for storing downloaded file divided child file, and the state information; Mo before integration file child files based on a block division information downloaded integration.
  8. 8、 如权利要求7所述的系统,其特征在于:所述文件发送端的文件分割模块将文件按一定的长度分割成若干等长的文件片,多个文件片组成文件块, 所述文件发送端还包括文件纠错模块,用于按文件块对文件进行冗余纠错校验,得到检验块,并将检验块划分为若干个与文件片长度相同的校验片;文件接收端还包括文件纠错模块,用于使用纠错算法利用校验片数据对接收到的不正确的文件块进行纠错,以得到正确的文件块。 8. The system as claimed in claim 7, wherein: said document transmitting side document segmentation module file divided by a certain length into several pieces as long as the file, composed of a plurality of document sheets file blocks, the file sending end further includes an error correction module file, file block for the file according to the error correction redundancy check, to give test pieces, and test block is divided into a plurality of identical length check sheet file sheet; documents receiving terminal further comprises error correction module file, using an error correction algorithm uses an incorrect check sheet file blocks received data error correction, to obtain the correct file blocks.
  9. 9、 如权利要求6所述的系统,其特征在于:所述文件接收端还包括下载状态通知模块用于根据文件下载状态,通知用户界面实时显示下载进度。 9. The system according to claim 6, wherein: said receiving terminal further comprises a file download module according to the state notification file download status, real-time display informing the user interface download progress.
  10. 10、 如权利要求7至9中任一项所述的系统,其特征在于:所述文件发送端的文件属性记录模块记录的分割信息包括文件分割版本信息,所述文件接收端的判断分析模块还用于判断记录存储模块是否有与新下载的分割信息属于同一文件的旧的文件分割信息,若有则判断新旧文件分割信息的版本是否相同,若不同则保存新的文件分割信息以更新下载文件的所有内容。 10. The system of any one of 7 to 9 claim, wherein: the transmitting end file attribute file recording division information recording module includes a segmentation version information file, the file receiving end determination module further analyzed by to determine whether the record storage module division and the newly downloaded information belonging to the old files in the same division information, if it is determined that the new and old versions of the file segmentation information is the same, if different then save the new file segmentation information to update the downloaded files All content.
  11. 11、 一种实现断点续传的文件下载终端,用于接收系统端下发的文件, 其特征在于,该终端包括文件接收模块、记录存储模块及文件整合模块,其中,判断分析模块用于判断记录存储模块是否存储有相应的文件下载状态信息,若有则控制文件接收模块下载尚未下载的文件内容,否则控制文件接收模块下载所有文件内容;文件接收模块用于下载文件; 记录存储模块用于存储文件下载状态信息; 文件整合模块用于整合已下载的文件内容。 11, one implementation of HTTP file download terminal, sent by the receiver for the end of the file system, wherein the terminal includes a receiving module file, record file storage module and integration module, wherein the means for determining analysis determining whether the storage module storing the corresponding records in the file download status information, if the control file receiving module download the content file has not been downloaded, the control file or files to download all the contents receiving module; means for receiving a file download file; record storage module Download the file to store status information; document integration module for integrating the downloaded content files.
  12. 12、 如权利要求11所述的终端,其特征在于:系统端以分片分块的方式下发文件,同时下发文件分割信息;终端的所述文件接收才莫块用于下载文件分割信息及所述文件的文件片;所述判断分析模块用于判断记录存储模块是否存储有相应的文件下载状态信息,若有则控制文件接收才莫块下载尚未下载的文件片,否则控制文件接收模块下载所有的文件片;记录存储;漠块用于存储文件分割信息及文件片或文件块的下载状态; 文件整合模块用于根据文件分割信息整合已下载的文件片和文件块。 12. The terminal as claimed in claim 11, wherein: the system end as to block hair fragment file, the file division information issued at the same time; the receiving terminal only Mo file block division information for downloading files and said document sheet file; determining the analysis module for determining whether the storage module storing the corresponding record file download status information only if the received file control block file sheet download Mo has not been downloaded, the receiving module or the control file All files downloaded pieces; record storage; desert block state storage for downloading files or file segments and segmentation information file block; means for dividing the integration file information integration downloaded files according to the file sheet and the file blocks.
  13. 13、 如权利要求11所迷的终端,其特征在于:所述终端还包括下载状态通知^^莫块用于根据文件下载状态,通知用户界面实时显示下载进度。 13, as claimed in claim 11 fans terminal, wherein: said terminal further comprises download status notification block according ^^ Mo file download status, real-time display informing the user interface download progress.
  14. 14、 如权利要求11至13中任一项所述的终端,其特征在于:所迷文件属性记录模块记录的分割信息包括文件分割版本信息,所述判断分析模块还用于判断记录存储模块是否有与新下载的分割信息属于同一文件的旧的分割信息,若有则判断新旧文件分割信息的版本是否相同,若不同则保存新的文件属性表以更新下栽文件的所有内容。 14, terminals 11 to 13 as claimed in any one of claims, characterized in that: the fans division information recording module records the file attributes include file division version information, the analysis module further determines the storage module configured to determine whether the recording there are new segmentation information and download information belonging to the old division of the same file, if it is determined that the new and old versions of the file segmentation information is the same, if different then save the new file attribute table tilted downward and crashed to update the contents of all files.
CN 200810108513 2008-05-23 2008-05-23 File downloading method, system and terminal realizing breaker point continuous transmission CN101291195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810108513 CN101291195B (en) 2008-05-23 2008-05-23 File downloading method, system and terminal realizing breaker point continuous transmission

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200810108513 CN101291195B (en) 2008-05-23 2008-05-23 File downloading method, system and terminal realizing breaker point continuous transmission
PCT/CN2008/002066 WO2009140813A1 (en) 2008-05-23 2008-12-24 File downloading method, system and terminal for realizing continuous transmission from the breakpoint

Publications (2)

Publication Number Publication Date
CN101291195A true true CN101291195A (en) 2008-10-22
CN101291195B CN101291195B (en) 2011-01-19

Family

ID=40035299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810108513 CN101291195B (en) 2008-05-23 2008-05-23 File downloading method, system and terminal realizing breaker point continuous transmission

Country Status (2)

Country Link
CN (1) CN101291195B (en)
WO (1) WO2009140813A1 (en)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009140813A1 (en) * 2008-05-23 2009-11-26 中兴通讯股份有限公司 File downloading method, system and terminal for realizing continuous transmission from the breakpoint
CN101771494A (en) * 2008-12-29 2010-07-07 深圳市维信联合科技有限公司 Data transmission method and data transmission device
CN101834697A (en) * 2010-04-09 2010-09-15 中兴通讯股份有限公司 Method and device for improving receiving performance of data casting file
CN101945089A (en) * 2009-07-03 2011-01-12 北京中企开源信息技术有限公司 Publishing method and publishing system of digital film packet
WO2011023049A1 (en) * 2009-08-24 2011-03-03 腾讯科技(深圳)有限公司 Method and device for downloading
CN102158355A (en) * 2011-03-11 2011-08-17 广州蓝科科技股份有限公司 Log event correlation analysis method and device capable of concurrent and interrupted analysis
CN102546108A (en) * 2011-12-28 2012-07-04 深圳市新为软件有限公司 Method and device for transmitting network resources by tree structure
CN101534483B (en) 2009-03-20 2012-09-05 中兴通讯股份有限公司 Method and system for realizing breakpoint transmission of multimedia message
CN102739357A (en) * 2012-05-30 2012-10-17 深圳市通盛网络技术有限公司 Data error-free transmission processing method
CN102882961A (en) * 2012-09-24 2013-01-16 华为技术有限公司 Data verifying method and server
CN103136160A (en) * 2011-12-01 2013-06-05 南车青岛四方机车车辆股份有限公司 Cache continue transmission method and system for data transmission discontinuity points among railway vehicle devices
CN103188305A (en) * 2011-12-30 2013-07-03 北大方正集团有限公司 Multithreading breakpoint resume method and system
CN103227826A (en) * 2013-04-23 2013-07-31 蓝汛网络科技(北京)有限公司 Method and device for transferring file
CN103259797A (en) * 2013-05-17 2013-08-21 中国联合网络通信集团有限公司 Data file transmission method and platform
CN103488510A (en) * 2013-09-24 2014-01-01 长沙裕邦软件开发有限公司 Input method control method and device
CN103559297A (en) * 2013-11-12 2014-02-05 北京邮电大学 Breakpoint continuous acquisition method and system for book retrieval information
CN103856990A (en) * 2012-11-28 2014-06-11 中国电信股份有限公司 Method, system and server for data transmission
CN103873581A (en) * 2014-03-21 2014-06-18 天脉聚源(北京)传媒科技有限公司 Method and device for breakpoint downloading
CN104166567A (en) * 2014-08-12 2014-11-26 广州金山网络科技有限公司 Method and device for downloading network stream data
CN101577736B (en) * 2009-06-04 2015-01-28 中兴通讯股份有限公司 Method and device for uploading files
CN104572212A (en) * 2015-01-26 2015-04-29 易联众信息技术股份有限公司 Terminal updating system and updating method thereof
CN105204891A (en) * 2015-08-25 2015-12-30 广东欧珀移动通信有限公司 Download method and download device during shutdown of mobile terminal and mobile terminal
CN101997781B (en) * 2009-08-25 2016-01-20 中兴通讯股份有限公司 One kind of HTTP method and system
CN105611367A (en) * 2015-12-29 2016-05-25 深圳多尼卡互联技术有限公司 Method for transmitting data to aircraft, ground device, airborne device and airborne system
CN105630533A (en) * 2014-11-26 2016-06-01 慧荣科技股份有限公司 Electronic device capable of updating firmware and method for firmware downloading
CN105843916A (en) * 2016-03-24 2016-08-10 上海上讯信息技术股份有限公司 Sensitive data detection method and equipment based on file merging
CN106027683A (en) * 2016-07-29 2016-10-12 乐视控股(北京)有限公司 File download processing method and device
CN106528218A (en) * 2016-10-26 2017-03-22 中国水利水电科学研究院 Global forecasting system data downloading method
CN104022844B (en) * 2014-05-28 2017-04-12 北京迈伦斯科技有限公司 Data encapsulation method and a system for matching a plurality of transmission
CN103885806B (en) * 2014-04-02 2017-07-07 深圳市兰丁科技有限公司 Implement the method and apparatus set-top box software upgrades online

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103138871B (en) * 2011-11-23 2015-09-30 毕书清 Mobile communication system, a server data processing system and method of application

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1234239C (en) * 2002-09-30 2005-12-28 北京中视联数字系统有限公司 Software downloading method in digital TV broadcast
CN1627290A (en) * 2003-12-12 2005-06-15 鸿富锦精密工业(深圳)有限公司 Data down loading system and method capable of continuous transmission from breakpoint
CN100592287C (en) * 2005-09-07 2010-02-24 展讯通信(上海)有限公司 Device for improving mobile phone wireless networking transmission band width
CN101174954A (en) * 2006-10-31 2008-05-07 上海高勤通信科技有限公司 Document breaking point uploading method based on internet hypertext transfer protocol
CN101179393A (en) * 2006-12-14 2008-05-14 腾讯科技(深圳)有限公司 Method and system for implementing document breakpoint transmission
CN101291195B (en) * 2008-05-23 2011-01-19 中兴通讯股份有限公司 File downloading method, system and terminal realizing breaker point continuous transmission

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009140813A1 (en) * 2008-05-23 2009-11-26 中兴通讯股份有限公司 File downloading method, system and terminal for realizing continuous transmission from the breakpoint
CN101771494A (en) * 2008-12-29 2010-07-07 深圳市维信联合科技有限公司 Data transmission method and data transmission device
CN101534483B (en) 2009-03-20 2012-09-05 中兴通讯股份有限公司 Method and system for realizing breakpoint transmission of multimedia message
CN101577736B (en) * 2009-06-04 2015-01-28 中兴通讯股份有限公司 Method and device for uploading files
CN101945089A (en) * 2009-07-03 2011-01-12 北京中企开源信息技术有限公司 Publishing method and publishing system of digital film packet
WO2011023049A1 (en) * 2009-08-24 2011-03-03 腾讯科技(深圳)有限公司 Method and device for downloading
RU2520430C2 (en) * 2009-08-24 2014-06-27 Тенсент Текнолоджи (Шэньчжэнь) Компани Лимитед Method and apparatus for loading data
CN101997781B (en) * 2009-08-25 2016-01-20 中兴通讯股份有限公司 One kind of HTTP method and system
CN101834697A (en) * 2010-04-09 2010-09-15 中兴通讯股份有限公司 Method and device for improving receiving performance of data casting file
CN101834697B (en) 2010-04-09 2014-02-05 中兴通讯股份有限公司 Method and device for improving receiving performance of data casting file
CN102158355A (en) * 2011-03-11 2011-08-17 广州蓝科科技股份有限公司 Log event correlation analysis method and device capable of concurrent and interrupted analysis
CN103136160B (en) * 2011-12-01 2016-06-29 中车青岛四方机车车辆股份有限公司 Inter-track vehicle equipment resume caching method and system for transmitting data discontinuity points
CN103136160A (en) * 2011-12-01 2013-06-05 南车青岛四方机车车辆股份有限公司 Cache continue transmission method and system for data transmission discontinuity points among railway vehicle devices
CN102546108A (en) * 2011-12-28 2012-07-04 深圳市新为软件有限公司 Method and device for transmitting network resources by tree structure
CN103188305B (en) * 2011-12-30 2016-08-03 北大方正集团有限公司 A multi-threaded HTTP method and system
CN103188305A (en) * 2011-12-30 2013-07-03 北大方正集团有限公司 Multithreading breakpoint resume method and system
CN102739357A (en) * 2012-05-30 2012-10-17 深圳市通盛网络技术有限公司 Data error-free transmission processing method
CN102739357B (en) * 2012-05-30 2015-09-23 深圳市通盛网络技术有限公司 Error-free data transmission processing method
CN102882961B (en) * 2012-09-24 2015-06-17 华为技术有限公司 Data verifying method and server
CN102882961A (en) * 2012-09-24 2013-01-16 华为技术有限公司 Data verifying method and server
CN103856990A (en) * 2012-11-28 2014-06-11 中国电信股份有限公司 Method, system and server for data transmission
CN103227826B (en) * 2013-04-23 2016-08-03 蓝汛网络科技(北京)有限公司 A document transmission method and apparatus
CN103227826A (en) * 2013-04-23 2013-07-31 蓝汛网络科技(北京)有限公司 Method and device for transferring file
CN103259797B (en) * 2013-05-17 2016-03-23 中国联合网络通信集团有限公司 Data file transmission method and platform
CN103259797A (en) * 2013-05-17 2013-08-21 中国联合网络通信集团有限公司 Data file transmission method and platform
CN103488510A (en) * 2013-09-24 2014-01-01 长沙裕邦软件开发有限公司 Input method control method and device
CN103559297A (en) * 2013-11-12 2014-02-05 北京邮电大学 Breakpoint continuous acquisition method and system for book retrieval information
CN103873581A (en) * 2014-03-21 2014-06-18 天脉聚源(北京)传媒科技有限公司 Method and device for breakpoint downloading
CN103885806B (en) * 2014-04-02 2017-07-07 深圳市兰丁科技有限公司 Implement the method and apparatus set-top box software upgrades online
CN104022844B (en) * 2014-05-28 2017-04-12 北京迈伦斯科技有限公司 Data encapsulation method and a system for matching a plurality of transmission
CN104166567A (en) * 2014-08-12 2014-11-26 广州金山网络科技有限公司 Method and device for downloading network stream data
CN105630533A (en) * 2014-11-26 2016-06-01 慧荣科技股份有限公司 Electronic device capable of updating firmware and method for firmware downloading
CN104572212A (en) * 2015-01-26 2015-04-29 易联众信息技术股份有限公司 Terminal updating system and updating method thereof
CN105204891A (en) * 2015-08-25 2015-12-30 广东欧珀移动通信有限公司 Download method and download device during shutdown of mobile terminal and mobile terminal
CN105611367A (en) * 2015-12-29 2016-05-25 深圳多尼卡互联技术有限公司 Method for transmitting data to aircraft, ground device, airborne device and airborne system
CN105843916A (en) * 2016-03-24 2016-08-10 上海上讯信息技术股份有限公司 Sensitive data detection method and equipment based on file merging
CN106027683A (en) * 2016-07-29 2016-10-12 乐视控股(北京)有限公司 File download processing method and device
CN106528218A (en) * 2016-10-26 2017-03-22 中国水利水电科学研究院 Global forecasting system data downloading method

Also Published As

Publication number Publication date Type
CN101291195B (en) 2011-01-19 grant
WO2009140813A1 (en) 2009-11-26 application

Similar Documents

Publication Publication Date Title
US8185794B2 (en) Media container file management
US20080083000A1 (en) Electronic programme guide for a mobile communications device
US20130007223A1 (en) Enhanced block-request streaming system for handling low-latency streaming
US20140380113A1 (en) Enhanced block-request streaming using cooperative parallel http and forward error correction
US20110238789A1 (en) Enhanced block-request streaming system using signaling or block creation
US20110231569A1 (en) Enhanced block-request streaming using block partitioning or request controls for improved client-side handling
US20110096828A1 (en) Enhanced block-request streaming using scalable encoding
US20130254631A1 (en) Content delivery system with allocation of source data and repair data among http servers
US20090138932A1 (en) Quality manager and method for use in a digital content delivery system
US20050289601A1 (en) Method and apparatus for decoding MOT data
CN101770515A (en) Data block comparison based data updating method
WO2011038032A2 (en) Enhanced block-request streaming using url templates and construction rules
US20120023253A1 (en) Method and apparatus for transmitting and receiving adaptive streaming mechanism-based content
CN101207805A (en) Method and system for transmitting flow media by P2P set-top box technique
CN101170675A (en) Method and system for managing J2ME application in network TV system
CN101094126A (en) Method and system for transferring individualized content, and content transmission server
CN101415069A (en) Server and method for sending on-line play video
CN102710966A (en) Video live broadcast method and system based on HTTP (Hyper Text Transport Protocol)
US20090285096A1 (en) Hardware accelerated protocol stack for mediaflo
CN101873355A (en) Method, device and system for downloading file
CN101145933A (en) Transmission method, receiving method and corresponding device for distribution system and media data
US20060230120A1 (en) Content acquisition method
WO2011091850A1 (en) Error correction based on replacing padding bits by additional parity check bits
CN101471919A (en) Method and device for downloading slicing of equipment based on point-to-point transmission protocol
EP1791362A2 (en) Method and apparatus for handling an electronic service guide transmission error in a digital video broadcasting system

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
CF01