CN101291195B - 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
CN101291195B
CN101291195B CN 200810108513 CN200810108513A CN101291195B CN 101291195 B CN101291195 B CN 101291195B CN 200810108513 CN200810108513 CN 200810108513 CN 200810108513 A CN200810108513 A CN 200810108513A CN 101291195 B CN101291195 B CN 101291195B
Authority
CN
China
Prior art keywords
file
download
information
sheet
document
Prior art date
Application number
CN 200810108513
Other languages
Chinese (zh)
Other versions
CN101291195A (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
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to CN 200810108513 priority Critical patent/CN101291195B/en
Publication of CN101291195A publication Critical patent/CN101291195A/en
Application granted granted Critical
Publication of CN101291195B publication Critical patent/CN101291195B/en

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

[0001] 本发明涉及单向广播系统,特别涉及到一种可实现断点续传的文件下载方法、系统及终端。 [0001] 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

[0002] 单向广播系统,如移动多媒体广播是近年来兴起的一种广播方式的多媒体播放技术。 [0002] 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, receiving a multimedia service program list, and can choose the right viewing channel, so as to receive the multimedia data and selecting channels, implemented in a mobile terminal, watching TV.

[0003] 文件下载是移动多媒体广播的一个重要功能,标准GY/T 220. 5-2008《移动多媒体广播第5部分:数据广播》中详细定义文件的传输方式和业务模式,包括向终端提供如新闻内容、政务政要、商务信息、娱乐游戏、天气预报、文件下载等服务。 [0003] File Download is an important feature of mobile multimedia broadcasting standard GY / T 220. 5-2008 "Mobile Multimedia Broadcasting - Part 5: Data broadcasting" in transmission and business models detailed definition file, comprising providing to the terminal, such as news content, government dignitaries, 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.

[0004] 然而标准并没有定义在文件下载过程中,出现网络异常或者终端异常的情况下, 文件下载中断,如何实现断点续传。 [0004] 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.

[0005] 日常使用的很多互联网下载工具支持断点续传功能,节约大家的下载时间和网络的使用费用,深受广大用户的喜爱。 [0005] everyday 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.

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

发明内容 SUMMARY

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

[0008] 为了解决上述问题,本发明提供了一种实现断点续传的文件下载方法,该方法应用于单向广播网络,该网络包括文件发送端和文件接收端,文件发送端下发文件,文件接收端下载文件的同时记录文件的下载状态信息,当下载中断再次恢复时,文件接收端根据记录的下载状态信息从下载中断处继续下载,实现断点续传。 [0008] In order 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 receiving end file download file download status while recording information file, when the download is interrupted once again restored, the file continues to download the receiving end according to state records download the information from the interruption of the download, implement HTTP.

[0009] 进一步地,文件发送端将文件分割成若干个子文件,并下发所述文件的子文件及文件分割信息,文件接收端下载文件的过程包括以下步骤: Process [0009] Further, the document transmission ends split the file into several sub-file, the file and delivers documents and sub-division information, file download file receiving side comprises the steps of:

[0010] (A)文件接收端下载文件分割信息; [0010] (A) a file download file division information receiving terminal;

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

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

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

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

[0015] 进一步地,文件发送端进行文件分割之后,下发文件片、文件块及文件分割信息之前还包括:对文件块进行冗余纠错校验,得到包括纠错数据的校验块,校验块划分为多个与文件片长度相等的校验片,每个文件块的校验片与文件片连续编号,同时记录纠错数据分块分片信息,所述的文件分割信息包括文件分块分片信息和纠错数据分块分片信息,步骤(C)和(D)中,所述子文件指文件块,下载文件块进一步包括以下步骤: Before After [0015] Further, the transmit end proceeds document file division, issued a document sheet, and a document file block division information further comprises: block redundancy for error correction check documents, including check block to obtain correction data, the check 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 fragmentation 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, downloading a file block further comprising the step of:

[0016] (Dl)终端根据文件分割信息接收文件数据,包括该文件块的文件片和校验片,在确认文件片正确后,将文件片写入对应的文件,如果写入操作正确,在该文件对应的下载状态文件中,记录对应的文件片下载状态为已下载; [0016] (Dl) terminal according to the dividing information received file data file, including the file sheet and the check sheet file blocks, the file sheet after confirming correct, the file will be written into the corresponding sheet, if the write operation correctly, the Download status file corresponding to the file, the recording sheet corresponding file downloaded as the download status;

[0017] (D2)根据文件片序号组成文件块,并检验文件块是否正确,若不正确则利用校验片修正以得到正确的文件块。 [0017] (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.

[0018] 进一步地,所述文件分割信息包括文件分割版本信息,步骤(A)中,文件接收端若保存有所述文件的旧的文件分割信息,则对比新旧文件分割信息中的文件分割版本信息, 若相同则执行步骤(B),否则无论是否保存有文件下载状态信息,都直接跳转步骤(D)进行更新下载操作。 [0018] Further, dividing the file information 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 the same is executed in step (B), or whether or not the state information stored file downloading, jump directly to step (D) update downloads.

[0019] 为解决上述技术问题,本发明还提供了一种实现断点续传的文件下载系统,该系统是单向广播系统,包括文件发送端和文件接收端,其中,文件发送端用于下发文件,文件接收端包括文件接收模块、记录存储模块及文件整合模块,其中, [0019] In order to solve the above technical problem, the present invention also provides a method for implementing HTTP file download system is a unidirectional broadcast system, including file sending end and the receiving end the file, wherein the file sending end for issued a document file includes a file receiving terminal receiving module, a storage module records and documents integration module, wherein

[0020] 判断分析模块用于判断记录存储模块是否存储有相应的文件下载状态信息,若有则控制文件接收模块下载尚未下载的文件内容,否则控制文件接收模块下载所有文件内容; [0020] determination means for determining whether the analysis module storing the corresponding records stored 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 content receiving module;

[0021] 文件接收模块用于下载文件; [0021] The file receiving means for downloading a file;

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

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

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

[0025] 文件分割模块用于将文件分割成若干个子文件; [0025] The file division means for dividing the file into a plurality of sub-documents;

[0026] 文件属性记录模块用于记录文件分割信息; [0026] The file attribute file recording means for recording division information;

[0027] 文件发送模块用于下发所述文件的子文件及文件分割信息; [0027] The file sending module adapted to deliver the sub-files and file division information;

[0028] 文件接收端的所述文件接收模块用于下载文件分割信息及所述文件的子文件; The file [0028] receiving end the file download file dividing means for receiving file information and the sub-file;

[0029] 所述判断分析模块用于判断记录存储模块是否存储有相应的文件下载状态信息, 若有则控制文件接收模块下载尚未下载的子文件,否则控制文件接收模块下载所有的子文件; [0029] The determination analysis module configured to determine whether the recording storage module storing the corresponding file download status information, if the control sub-file receiving module download file has not been downloaded, the receiving module control file or download all the sub-documents;

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

[0031] 文件整合模块用于根据文件分割信息整合已下载的子文件。 [0031] File integrating means for integrating the divided child file information according to the downloaded file. [0032] 进一步地,所述文件发送端的文件分割模块将文件按一定的长度分割成若干等长的文件片,多个文件片组成文件块,所述文件发送端还包括文件纠错模块,用于按文件块对文件进行冗余纠错校验,得到检验块,并将检验块划分为若干个与文件片长度相同的校验片;文件接收端还包括文件纠错模块,用于使用纠错算法利用校验片数据对接收到的不正确的文件块进行纠错,以得到正确的文件块。 [0032] Further, the document transmission 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 comprises a file error correction module, with the file to file block error correction redundancy check, to give test pieces, and test block is divided into a plurality of the same document sheet by sheet checking length; document file receiving terminal further comprises a correction means for correcting using error algorithm uses an incorrect check sheet file blocks received data error correction, to obtain the correct file blocks.

[0033] 进一步地,所述文件接收端还包括下载状态通知模块用于根据文件下载状态,通知用户界面实时显示下载进度。 [0033] Further, the 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.

[0034] 进一步地,所述文件发送端的文件属性记录模块记录的分割信息包括文件分割版本信息,所述文件接收端的判断分析模块还用于判断记录存储模块是否有与新下载的分割信息属于同一文件的旧的文件分割信息,若有则判断新旧文件分割信息的版本是否相同, 若不同则保存新的文件分割信息以更新下载文件的所有内容。 [0034] Further, dividing the information file transmitting end recording module records the file attributes include file division version information, 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.

[0035] 为解决上述技术问题,本发明还提供了一种实现断点续传的文件下载终端,用于接收系统端下发的文件,该终端包括文件接收模块、记录存储模块及文件整合模块,其中, [0035] In order to solve the above technical problem, the present invention also provides a terminal for implementing a file download HTTP for documents issued by the receiving end of the system, the terminal includes a receiving module file, and the file record storage module integration module ,among them,

[0036] 判断分析模块用于判断记录存储模块是否存储有相应的文件下载状态信息,若有则控制文件接收模块下载尚未下载的文件内容,否则控制文件接收模块下载所有文件内容; [0036] determination means for determining whether the analysis module storing the corresponding records stored 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 content receiving module;

[0037] 文件接收模块用于下载文件; [0037] The file receiving means for downloading the file;

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

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

[0040] 进一步地,系统端以分片分块的方式下发文件,同时下发文件分割信息;终端的所述文件接收模块用于下载文件分割信息及所述文件的文件片; [0040] Further, the system as to the end of the block slicing issued document, while documents issued division information; terminal of said file means for receiving document sheets and download files of the file division information;

[0041] 所述判断分析模块用于判断记录存储模块是否存储有相应的文件下载状态信息, 若有则控制文件接收模块下载尚未下载的文件片,否则控制文件接收模块下载所有的文件片; [0041] The determination analysis module configured to determine whether the recording storage module storing the corresponding file download status information, if the receiving module control file download file piece has not been downloaded, the receiving module control file or all the files downloaded pieces;

[0042] 记录存储模块用于存储文件分割信息及文件片或文件块的下载状态; Download status [0042] memory means for storing the file recording division information and files or file sheet block;

[0043] 文件整合模块用于根据文件分割信息整合已下载的文件片和文件块。 [0043] The file according to the file dividing means for integrating the integration of information and the downloaded file sheet file block.

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

[0045] 进一步地,所述文件属性记录模块记录的分割信息包括文件分割版本信息,所述判断分析模块还用于判断记录存储模块是否有与新下载的分割信息属于同一文件的旧的分割信息,若有则判断新旧文件分割信息的版本是否相同,若不同则保存新的文件属性表以更新下载文件的所有内容。 [0045] Further, dividing the file attribute information recording module records the version information comprises a file division, the determination module is further configured to determine whether analyzing recording division information memory module belonging to the old and new download the same file 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.

[0046] 相较于现有技术,本发明提供文件下载方法、系统及文件下载终端,可以为广播网络使用下载业务时提供断点续传功能,使广播用户使用广播网络的下载业务时享受和互联网下载一样的用户体验,节约用户的下载等待时间,随时随地可以多次的下载,而不需要重复下载。 [0046] Compared to the prior art, the present invention provides a method for downloading files, the system files and downloading terminal provided HTTP download service function can be used as a broadcast network, broadcast user makes use of the broadcast network and download service while enjoying Internet 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.

附图说明 BRIEF DESCRIPTION

[0047] 图1是移动多媒体广播数据广播标准规定的文件分割示意图。 [0047] FIG. 1 is a predetermined file mobile multimedia broadcasting data broadcasting standard divided FIG. [0048] 图2是移动多媒体广播数据广播标准规定的文件片/校验片传输示意图。 [0048] FIG. 2 is a predetermined piece of file data broadcasting standard mobile multimedia broadcasting / transmitting schematic check sheet.

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

[0050] 图4是本发明终端下载文件的文件下载流程图。 [0050] FIG. 4 is a terminal to download a file to download the file of the present invention a flowchart.

[0051] 图5是本发明终端的模块结构示意图。 [0051] FIG. 5 is a schematic block configuration of the terminal according to the present invention.

具体实施方式 Detailed ways

[0052] 在移动多媒体广播这种单向广播网络中,包括系统端和文件下载终端,系统端在特定时间段(即文件生命周期内)持续下发某文件,终端可根据需求选择下载该文件,终端下载文件的同时记录文件的下载状态信息,当下载中断再次恢复时,终端根据记录的下载状态信息从下载中断处继续下载,实现断点续传。 [0052] In such a mobile multimedia broadcast unidirectional broadcast network, the system comprising a terminal end and a file download, the system ends at a certain continuous period of time (i.e., the life cycle of the paper) issued a document, the terminal can download the file selected in accordance with requirements download the terminal status information simultaneously download files log file when the download is interrupted once again restored, terminal based on download status information recording interruption continues download from the Download achieve HTTP.

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

[0054] 步骤一、文件发送端将文件分割成若干等长的文件片,并将多个文件片组成文件块,同时记录分块分片信息; [0054] Step a file transmission end divided into several equal-length file document sheet, and a plurality of document sheets composed of file block, while block recording fragment information;

[0055] 文件发送端将文件分割为若干个子文件,并记录文件的分割信息,在移动多媒体广播系统中,按照移动多媒体广播数据广播标准GY/T 220. 5-2008的规定,将文件进行二级子文件分割即分割为文件块和文件片,采用分块分片的方法进行传输,对文件分块分片见图1,文件按一定的长度分割成若干等长的文件片,最后一个文件片长度不足应填充0x00,多个文件片组成文件块,根据文件块中的文件片数量不同可分为A、B两种类型,若文件片数量相等,则只有类型A。 [0055] The 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, and the two files i.e. divided child file level is divided into file blocks and document sheets, 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, last file 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.

[0056] 步骤二、对文件块进行冗余纠错校验,得到包括纠错数据的校验块,校验块划分为多个与文件片长度相等的校验片,每个文件块的校验片与文件片连续编号,同时记录纠错数据分块分片信息; [0056] Step II block for the file redundancy error correction check, 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 correction block file sheet test piece numbered consecutively, simultaneously recording the error correction data block fragment information;

[0057] 为了实现可靠的传输,对文件块进行冗余纠错校验,标准对此的规定见图2,文件纠错按文件块进行,得到的纠错数据称为校验块。 [0057] 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.

[0058] 文件的分块分片的信息即文件的分割信息在文件属性表FAT中传输,详细的定义见下表: [0058] The block division information is information fragmentation file transfer file attributes table in FAT, the detailed definition of the table below:

[0059] [0059]

Figure CN101291195BD00081
Figure CN101291195BD00091

[0061] 步骤三、对文件属性表、文件片和校验片进行封装后发送给文件接收端即移动多媒体广播终端; [0061] Step three, the document attribute table, and the check sheet file transmitted to the document sheet encapsulated i.e. mobile multimedia broadcast receiving terminal end;

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

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

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

[0065] 资源标识:16位字段,是文件的标识号; [0065] The resource identification: 16-bit field is the identification number of the document;

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

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

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

[0069] 文件片/校验片:携带实际的文件片或校验片,文件片或校验片的长度N由文件属性表FAT文件指定,通过片序号和FAT文件中指示的文件块分片信息识别文件片和校验片。 [0069] The document sheet / check sheet: sheet carrying the actual file or check sheets, sheet or document sheet length N parity specified by the file attribute table FAT file by file block number and the sheet indicated in the FAT file fragmentation information identifying the file segments and check sheet.

[0070] 移动多媒体广播系统端作为文件传输的发送端包括文件分割模块、文件纠错模块、文件属性记录模块、文件发送模块,其中, [0070] As mobile multimedia broadcast system side transmitting end includes a file transfer document segmentation module, a file error correction module, the module records the file attributes, file sending module, wherein

[0071] 文件分割模块用于将文件按一定的长度分割成若干等长的文件片,每个文件片都有文件片数据、文件片序号及文件块序号等信息。 [0071] The file division 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.

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

[0073] 文件属性记录模块用于记录文件属性,包括文件的分块数量、分片数量、分片大小、文件名称、路径、版本等信息。 [0073] recording means for recording the file attributes 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.

[0074] 文件发送模块用于封装及下发文件的文件片和/或校验片及文件属性表。 [0074] File file sending module for encapsulating sheet and issued a document and / or file attribute table and check sheet.

[0075] 如图4所示,文件下载终端(文件接收端)开始文件下载的处理步骤包括: [0075] As shown in FIG. 4, the terminal to download the file (the file receiving side) starts downloading the file processing step comprises:

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

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

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

[0079] 告诉接收终端,本次下载过程,包含那些下载文件; [0079] tells the receiving terminal, this download process, those containing download file;

[0080] 待下载文件的分割情况; [0080] where the divided file to be downloaded;

[0081] 待下载文件的名称,大小,路径信息,版本信息,是否采用了FEC纠错; Name [0081] file to be downloaded, size, path information, version information, whether to adopt the FEC error correction;

[0082] 待下载文件的生命周期; [0082] lifecycle of file to be downloaded;

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

[0084] 因此,在开始一次文件下载过程中,首先需要接收的文件必须是FAT表,并在解析成功后,才能根据FAT表接收在FAT表中描述的文件。 [0084] Thus, 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.

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

[0086] 步骤402 :终端判断是否存储有该要下载文件的旧的FAT表,若有则判断新旧FAT 表的版本是否相同,若相同,则执行步骤403,否则视为开始下载新文件,执行步骤405 ; [0086] Step 402: The terminal determines whether the stored file to download old FAT table, 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 a new start downloading the file, execute step 405;

[0087] 步骤403 :判断本地是否保存有要下载文件的文件下载状态信息,若有则执行步骤404 ;否则表示之前只是下载了FAT表而尚未开始下载文件,与开始下载新文件的流程相同,执行步骤405 ; [0087] 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 processes, step 405 is performed;

[0088] FAT表给出系统端对文件的分块情况,所以“下载状态信息”可以根据已经正确写入文件的情况,记录文件块、文件片的下载状态,即已经正确写入文件的文件片/文件块, 记录为已正确下载,否则记录为未正确下载。 [0088] 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 slice / 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.

[0089] 由于在文件下载过程中保存文件的下载状态、文件块的块序号、块下载状态,片序号、片下载状态等位置信息;无论何种原因引起下载中断都知道已经接收下载了那些数据, 在恢复下载时,根据中断的位置,继续从广播网络接收后续的数据,从而实现在单向广播网络文件下载的断点续传功能。 [0089] Since the state save the downloaded file in the file download process, 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 when resume the download, depending on the location of the interruption, continue to receive subsequent data from the broadcast network, thereby achieving unidirectional broadcast network file download HTTP functionality.

[0090] 以上可以看出终端都是以新的FAT表为依据进行文件下载的。 [0090] As can be seen above all in the terminal based on the new table FAT file download.

[0091] 步骤404 :根据文件下载状态信息从下载中断处继续下载尚未下载的剩余文件内容,同时记录文件的下载状态信息; [0091] 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;

[0092] 步骤405 :根据要下载文件的FAT表信息下载所述文件的所有文件内容,同时记录文件的下载状态信息。 [0092] 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.

[0093] 以上所说的文件下载状态信息能够确保断电不丢失(例如以文件方式纪录),正确地写入到了文件中,这样一旦在接收过程中发生断电事件,接收终端就可以根据这个文件确定那些分块分片数据已经在本地的文件中存在。 [0093] 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, the receiving terminal can be based on this file to determine which slice data block already exists in the local file.

[0094] 步骤404和步骤405中,终端下载文件的过程包括: [0094] Step 404 and the process step, the terminal 405 of the download file comprises:

[0095] A :终端根据FAT表,从码流中下载文件数据,包括该文件块的文件片和校验片,在确认文件片正确后,将文件片写入对应的文件,如果写入操作正确,在该文件对应的下载状态文件中,记录对应的文件片下载状态为已下载; [0095] 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 a write operation correctly, the download status file corresponding to the file, the recording sheet downloaded file is downloaded corresponding to the state;

[0096] 文件片和文件块可以不严格按照顺序接收:由于终端根据FAT表能够完全预知文件的重构结构,每个分片在文件中的起始位置,长度都可以预测出来;所以对于接收终端来说,可以根据自身的资源状况,选择支持分片数据乱序接收,或所有分片严格按照分块和分片序号逐次接收。 [0096] file and the file sheet may not be in the exact order blocks 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; so for receiving for the 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.

[0097] 终端从移动多媒体广播网络的广播通道接收文件片和校验片,同时记录文件片和校验片的下载状态,某个分片写入文件,认为该分片数据正确接收,一旦出现接收断点,再次启动下载过程,在版本不需要更新情况下,不需要再次接收这个分片的数据(由于已经正确写入文件)。 [0097] the terminal from the broadcast channel receiving sheet and the check sheet file mobile multimedia broadcast network, and download the file sheet and the recording state check sheet, a fragment file is written, the fragment data that correctly received, the event receiving breakpoints, 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).

[0098] B:根据文件片序号组成文件块,并检验文件块是否正确,若不正确则利用校验片修正以得到正确的文件块; [0098] B: The document sheet composed file block number, and checks whether the file block correct, if correct, using the correction to obtain the correct check sheet file block;

[0099] 根据片序号组成文件块,文件块包括文件片和检验片,如果一个文件块所有的文件片正确,可以确定接收到的文件块正确,否则可以使用纠错算法利用校验片数据得到正确的文件块。 [0099] The composition of sheet 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 data by using the check sheet the correct file blocks. 一个文件所有的文件块接收正确,表示一个文件下载结束。 A file of all the file blocks received correctly, it represents a file download is completed.

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

[0101] 下载过程中、下载结束时及下载中断恢复时可以在终端显示给下载状态信息,以及时让用户了解下载信息,并根据个人喜好决定继续下载、重新下载或中断下载。 Can be displayed to the terminal [0101] the download process, the end of the download and resume interrupted download 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.

[0102] 本发明文件下载终端从广播网络的广播通道接收文件片和校验片,同时记录文件片和校验片的下载状态,表明该片序号的文件片或者校验片已经下载,并保存文件片或者校验片的数据、片序号、块序号、片下载状态,然后根据片序号组成文件块,文件块包括文件片和检验片,如果一个文件块所有的文件片正确,可以确定接收到的文件块正确,否则可以使用纠错算法利用校验片数据得到正确的文件块,同时记录该文件块的下载状态,表明该序号的文件块处于下载中或已经下载完毕,并保存文件块的下载状态,当一个文件所有的文件块接收正确,表示一个文件下载结束,保存文件。 [0102] File terminal of the present invention to download files from the broadcast channel receiver sheets and the check sheets of a broadcast network, while a file download status recording sheet and the check sheet, indicates that the film or sheet number check sheet file has been downloaded and stored calibration data file sheet or sheets, 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 block correctly, otherwise, the 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, and save the file block Download state, when a file all the file blocks received correctly, represents a file download is complete, save the file.

[0103] 如图5所示,文件下载终端包括文件接收模块、记录存储模块、文件整合模块、文件纠错模块及下载状态通知模块,其中, [0103] 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

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

[0105] 记录存储模块用保存文件属性表中的文件信息、文件片和检验片的数据、片序号、 块序号、片下载状态及块下载状态,当这些信息记录在一定的存储介质上时,可以确保断电后相关信息不丢失; [0105] File information recording storage module to save the file attributes table, the data 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, the relevant information is not lost after power failure ensures;

[0106] 判断分析模块用于判断终端是否保存有与新下载的文件属性表属于同一文件的旧文件属性表,若有则判断新旧文件属性表的版本是否相同,若不同则保存新的文件属性表以更新下载,并控制文件接收模块根据新的文件属性表下载文件的所有文件片或文件块;若相同则进一步判断是否有相应的文件下载状态信息,若有则控制文件接收模块下载尚未下载的文件的文件片或文件块,否则控制文件接收模块下载所有文件片或文件块,还用于判断文件是否下载完毕,已通知下载状态通知模块进行下载状态显示。 [0106] Analyzing the analysis module configured to determine whether the terminal is stored with the new downloaded file attribute tables belonging to the same file attribute table of the old file, 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 attributes download table to update, and the control module receives the file or file all documents sheet block a new file downloaded file attribute table; if the same is further determined whether the corresponding file download status information, if the receiving module download control file has not been downloaded sheet or document file blocks file, the control file or files to download all the sheet receiving module or file blocks, but also for determining whether the file is downloaded, the download status notification has a notification module for download status display.

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

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

[0109] 下载状态通知模块用于根据下载状态,通知用户界面实时显示下载进度。 [0109] The downloading means for downloading status notification state, informing the user interface displays the download progress in real time.

[0110] 如果一个文件正在下载的过程中,没有到达下载结束的状态,由于广播网络中断或者终端运行异常时,或者用户没有时间,需要中断文件下载等各种各样的因素中断文件下载。 [0110] If the process a file is being downloaded, 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.

[0111] 在整个文件的下载过程中记录并保存文件的下载状态,表明文件是处于下载过程中,还是已经下载完毕。 [0111] record and save the download status of the file during the download the entire file, indicates that the file is in the process of downloading, or has been downloaded.

[0112] 本发明提供的可以实现断点续传的文件下载方法、系统及文件下载终端,可以为广播网络使用下载业务时提供断点续传功能,使广播用户使用广播网络的下载业务时享受和互联网下载一样的用户体验,节约用户的下载等待时间,随时随地可以多次的下载,而不需要重复下载。 Enjoy the file download method [0112] of the present invention may be implemented to provide HTTP, the file system and the download terminal, provides HTTP download service function can be used as a broadcast network, the broadcast so that the user download traffic broadcast network and the Internet to download 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 (12)

  1. 一种实现断点续传的文件下载方法,其特征在于:该方法应用于单向广播网络,该网络包括文件发送端和文件接收端,文件发送端将文件分割为二级子文件,分别为文件块和文件片,即文件包括若干个文件块,每个文件块包括若干个文件片,所述文件接收端记录的文件下载状态包括文件块下载状态和、或文件片下载状态,所述文件发送端还对文件块进行冗余纠错校验,得到包括纠错数据的校验块,校验块划分为多个与文件片长度相等的校验片,每个文件块的校验片与文件片连续编号,同时记录纠错数据分块分片信息,所述文件发送端下发文件,文件接收端下载文件的同时记录文件的下载状态信息,当下载中断再次恢复时,文件接收端根据记录的下载状态信息从下载中断处继续下载,实现断点续传。 A document HTTP download method implementation, wherein: the method is applied unidirectional broadcast network, which includes a file sending end and the receiving end the file, the file sending end as two divided files subfolder, respectively file blocks and sheet files, document files comprising a plurality of blocks, each block comprising a plurality of document file sheet, said file receiving terminal comprising recording file download status and the download status file blocks or file download status sheet, the file sending end further file blocks redundant error correction check, obtained includes an error correction parity data block, the check 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 download status information error correction data block fragmentation information, the file sending end issued a document file receiving side while the download file record file, when the download is interrupted once again restored, according to the file receiving side Download recording status information from the download left off to continue downloading, realize HTTP.
  2. 2.如权利要求1所述的方法,其特征在于:文件发送端将文件分割成若干个子文件,并下发所述文件的子文件及文件分割信息,文件接收端下载文件的过程包括以下步骤:(A)文件接收端下载文件分割信息;(B)文件接收端判断是否保存有所述文件的下载状态信息,如有则执行步骤(C),否则执行步骤⑶;(C)根据下载状态信息和下载文件分割信息,继续下载尚未下载的子文件实现断点续传,同时记录子文件下载状态;(D)根据下载文件分割信息下载文件所有子文件,同时记录子文件下载状态。 2. The method according to claim 1, wherein: during file transmission end divided into several sub-document files, and the files and sending sub-division information of the file, the file download file receiving side comprises the steps of : (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 ⑶; (C) according to the download status information and download the file segmentation information, yet continue to download download subfolder realize HTTP, while recording sub-file download status; (D) division Download file all subfolders from the download file, file download while recording sub-state.
  3. 3.如权利要求2所述的方法,其特征在于:所述的文件分割信息包括文件分块分片信息和纠错数据分块分片信息,步骤(C)和(D)中,所述子文件指文件块,下载文件块进一步包括以下步骤:(Dl)终端根据文件分割信息接收文件数据,包括该文件块的文件片和校验片,在确认文件片正确后,将文件片写入对应的文件,如果写入操作正确,在该文件对应的下载状态文件中,记录对应的文件片下载状态为已下载;(D2)根据文件片序号组成文件块,并检验文件块是否正确,若不正确则利用校验片修正以得到正确的文件块。 3. The method according to claim 2, wherein: dividing the file information includes a file fragmentation information block and the error correction data block fragmentation information, the step (C) and (D), according to the refers subfile file blocks, the file download block further comprises the step of: (Dl) receiving terminal according to the split information file data file, including the file sheet and the check sheet file blocks, the file sheet after confirming correct, write the file sheet corresponding to the document, if the write operation correctly, the download status file corresponding to the file, the log file corresponding to the download status sheet is downloaded; (D2 of) a document sheet in accordance with a sequential number file block and checks whether the file block correctly, if incorrect use of the correction to obtain the correct check sheet file blocks.
  4. 4.如权利要求2所述的方法,其特征在于:所述文件分割信息包括文件分割版本信息, 步骤(A)中,文件接收端若保存有所述文件的旧的文件分割信息,则对比新旧文件分割信息中的文件分割版本信息,若相同则执行步骤(B),否则无论是否保存有文件下载状态信息,都直接跳转步骤(D)进行更新下载操作。 4. The method according to claim 2, wherein: dividing the file information 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 the old and new files split file 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.
  5. 5. 一种实现断点续传的文件下载系统,该系统是单向广播系统,包括文件发送端和文件接收端,其中,文件发送端用于下发文件,其特征在于,所述文件发送端将文件分割为二级子文件,分别为文件块和文件片,即文件包括若干个文件块,每个文件块包括若干个文件片,所述文件接收端记录的文件下载状态包括文件块下载状态和、或文件片下载状态,所述文件发送端还对文件块进行冗余纠错校验,得到包括纠错数据的校验块,校验块划分为多个与文件片长度相等的校验片,每个文件块的校验片与文件片连续编号,同时记录纠错数据分块分片信息;所述文件接收端包括判断分析模块、文件接收模块、记录存储模块及文件整合模块,其中,判断分析模块用于判断记录存储模块是否存储有相应的文件下载状态信息,若有则控制文件接收模块下载尚未下载 A resumability file download 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 sending end of the file is divided into two sub-documents, and each document sheet blocks file, document file comprising a plurality of blocks, each block comprising a plurality of document file sheet, said file receiving side records the file download to download the file block state comprises and status, or file download status sheet, the transmitting end further document file blocks redundant error correction check, obtained includes an error correction parity data block, the check block is divided into a plurality of files is equal to the length of the correction sheet test piece, and the check sheet file segments of each file block number of the continuous, simultaneous recording error correction data block slice information; receiving terminal comprises determining the file analysis module, file receiving module, a storage module records and documents integration module, wherein the analysis module determines the storage module configured to determine whether the record file storing the corresponding download status information, if the receiving module download control file has not been downloaded 文件内容,否则控制文件接收模块下载所有文件内容;文件接收模块用于下载文件;记录存储模块用于存储文件下载状态信息;文件整合模块用于整合已下载的文件内容。 Contents of the file, or control file receiving module download all the contents of the file; the file receiving module for downloading files; record storage means for storing the file download status information; document integration module for integrating the downloaded content files.
  6. 6.如权利要求5所述的系统,其特征在于,文件发送端包括文件分割模块、文件属性记录模块、文件封装发送模块,其中,文件分割模块用于将文件分割成若干个子文件; 文件属性记录模块用于记录文件分割信息; 文件发送模块用于下发所述文件的子文件及文件分割信息; 文件接收端的所述文件接收模块用于下载文件分割信息及所述文件的子文件; 所述判断分析模块用于判断记录存储模块是否存储有相应的文件下载状态信息,若有则控制文件接收模块下载尚未下载的子文件,否则控制文件接收模块下载所有的子文件; 记录存储模块用于存储文件分割信息及子文件的下载状态; 文件整合模块用于根据文件分割信息整合已下载的子文件。 6. The system of claim 5, wherein the transmitting end includes a file document segmentation module, the module records the file attributes, file wrapper transmitting module, wherein, the file segmentation means for dividing the file into several sub-file; the file attributes recording means for recording the file division information; means for transmitting the sub-file documents and issued the file division information; receiving end of the document file receiving module is configured to download a file of the divided child file, and document information; the determining said analysis module for determining whether the storage module storing the corresponding record file download status information, if the control sub-module receives the download file has not been downloaded, the receiving module control file or download all the subfolders; recording means for storing division information storage file download status and child file; file integration module integration information according to the downloaded file division subfile.
  7. 7.如权利要求6所述的系统,其特征在于:所述文件发送端的文件分割模块将文件按一定的长度分割成若干等长的文件片,多个文件片组成文件块,所述文件发送端还包括文件纠错模块,用于按文件块对文件进行冗余纠错校验,得到检验块,并将检验块划分为若干个与文件片长度相同的校验片;文件接收端还包括文件纠错模块,用于使用纠错算法利用校验片数据对接收到的不正确的文件块进行纠错,以得到正确的文件块。 7. The system according to claim 6, wherein: the transmitting side document file 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.
  8. 8.如权利要求5所述的系统,其特征在于:所述文件接收端还包括下载状态通知模块用于根据文件下载状态,通知用户界面实时显示下载进度。 8. The system according to claim 5, 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.
  9. 9.如权利要求6所述的系统,其特征在于:所述文件发送端的文件属性记录模块记录的分割信息包括文件分割版本信息,所述文件接收端的判断分析模块还用于判断记录存储模块是否有与新下载的分割信息属于同一文件的旧的文件分割信息,若有则判断新旧文件分割信息的版本是否相同,若不同则保存新的文件分割信息以更新下载文件的所有内容。 9. The system according to claim 6, wherein: the transmitting end file attribute file recording division information recording module includes version information file division, the receiving end determines the file analysis module is further configured to determine whether the storage module records there segmentation information and to download the new part of 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 all the contents of the downloaded file.
  10. 10. 一种实现断点续传的文件下载终端,用于接收系统端下发的文件,其特征在于,该终端包括判断分析模块、文件接收模块、记录存储模块及文件整合模块,其中,判断分析模块用于判断记录存储模块是否存储有相应的文件下载状态信息,若有则控制文件接收模块下载尚未下载的文件内容,否则控制文件接收模块下载所有文件内容; 文件接收模块用于下载文件; 记录存储模块用于存储文件下载状态信息; 文件整合模块用于整合已下载的文件内容;所述文件分割为二级子文件,分别为文件块和文件片,即文件包括若干个文件块,每个文件块包括若干个文件片,所述文件下载状态信息包括文件块下载状态和、或文件片下载状态,所述文件块还进行冗余纠错校验,得到包括纠错数据的校验块,校验块划分为多个与文件片长度相等的校验片,每个文件块 10. A method for file download HTTP terminal for receiving the delivered side file system, wherein the terminal comprises determining an analysis module, a receiving module file, and the file record storage module integration module, wherein determining analysis of recording means for determining whether the storage module storing the corresponding file download status information, if the receiving module control file downloading 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 means for storing state information file download; integrating means for integrating files downloaded content file; the file is divided into two sub-documents, and each document sheet blocks file, document file comprising a plurality of blocks, each file block includes a plurality of document sheets, the file information includes a file download status and the download status block, sheet or file download status, the file block further redundant error correction check, the check block to obtain correction data comprising , the check block is divided into a plurality of equal length check sheet file sheet, each file block 的校验片与文件片连续编号,同时记录纠错数据分块分片信息。 The check sheet file segments numbered consecutively, simultaneously recording the error correction data block fragmentation information.
  11. 11.如权利要求10所述的终端,其特征在于:系统端以分块并分片的方式下发文件,同时下发文件分割信息;终端的所述文件接收模块用于下载文件分割信息及所述文件的文件片;所述判断分析模块用于判断记录存储模块是否存储有相应的文件下载状态信息,若有则控制文件接收模块下载尚未下载的文件片,否则控制文件接收模块下载所有的文件片; 记录存储模块用于存储文件分割信息及文件片或文件块的下载状态; 文件整合模块用于根据文件分割信息整合已下载的文件片和文件块。 11. The terminal according to claim 10, wherein: an end system in a block manner and slice issued a document, while the information in the file division issued; the file receiving module of the terminal for downloading the file division information and the file sheet; determining the analysis module for determining whether the storage module storing the corresponding record file download status information, if the receiving module control file download file piece has not been downloaded, the receiving module control file or download all document sheet; record storage means for storing the file information and file division sheet or block file download status; file according to the file dividing means for integrating information integration downloaded file sheet and the file block.
  12. 12.如权利要求10所述的终端,其特征在于:所述终端还包括下载状态通知模块用于根据文件下载状态,通知用户界面实时显示下载进度。 12. The terminal according to claim 10, wherein: said terminal further comprises download module according to the state notification file download status, real-time display informing the user interface download progress.
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 CN101291195A (en) 2008-10-22
CN101291195B true 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)

Families Citing this family (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291195B (en) * 2008-05-23 2011-01-19 中兴通讯股份有限公司 File downloading method, system and terminal realizing breaker point continuous transmission
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
CN101945089B (en) * 2009-07-03 2015-08-19 北京中企开源信息技术有限公司 The distributing method of digital movie bag and publishing system
CN101635742A (en) * 2009-08-24 2010-01-27 腾讯科技(深圳)有限公司 Downloading method and device
CN101997781B (en) * 2009-08-25 2016-01-20 中兴通讯股份有限公司 A kind of breaker point continuous transmission method and system
CN101834697B (en) * 2010-04-09 2014-02-05 中兴通讯股份有限公司 Method and device for improving receiving performance of data casting file
CN102158355B (en) * 2011-03-11 2013-08-14 广州蓝科科技股份有限公司 Log event correlation analysis method and device capable of concurrent and interrupted analysis
CN103138871B (en) * 2011-11-23 2015-09-30 毕书清 The server data processing system of application program and method in mobile communcations system
CN103136160B (en) * 2011-12-01 2016-06-29 中车青岛四方机车车辆股份有限公司 Buffer memory continuous transmission method and the system of data break point is transmitted between railway vehicle device
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 kind of multithread breakpoint continued transmission method and system
CN102739357B (en) * 2012-05-30 2015-09-23 深圳市通盛网络技术有限公司 data error-free transmission processing method
CN102882961B (en) * 2012-09-24 2015-06-17 华为技术有限公司 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 kind of document transmission method and device
CN103259797B (en) * 2013-05-17 2016-03-23 中国联合网络通信集团有限公司 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 深圳市兰丁科技有限公司 The implementation method and device of the systems soft ware online upgrading of Set Top Box
CN104980399A (en) * 2014-04-08 2015-10-14 腾讯科技(深圳)有限公司 File transfer method, client and proxy server
CN104022844B (en) * 2014-05-28 2017-04-12 北京迈伦斯科技有限公司 Data packaging method capable of matching multiple transmission modes and system
CN104166567A (en) * 2014-08-12 2014-11-26 广州金山网络科技有限公司 Method and device for downloading network stream data
TWI598816B (en) * 2014-11-26 2017-09-11 慧榮科技股份有限公司 Electronic device and method for firmware updating thereof
CN104572212A (en) * 2015-01-26 2015-04-29 易联众信息技术股份有限公司 Terminal updating system and updating method thereof
CN105204891B (en) * 2015-08-25 2020-01-24 Oppo广东移动通信有限公司 Downloading method and device for shutdown of mobile terminal and mobile terminal
CN106921682A (en) * 2015-12-24 2017-07-04 百度在线网络技术(北京)有限公司 File uploading method and device
CN105611367B (en) * 2015-12-29 2019-03-22 深圳多尼卡互联技术有限公司 To the method for aircraft transmissions data, ground installation, airborne device and airborne system
CN105744505B (en) * 2016-01-29 2019-08-27 努比亚技术有限公司 Mobile terminal and its method for upgrading 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
CN106528218B (en) * 2016-10-26 2018-12-21 中国水利水电科学研究院 A kind of Global Forecast System data download method
CN106686078A (en) * 2016-12-26 2017-05-17 北汽福田汽车股份有限公司 Data transmission method and device
CN106686112A (en) * 2017-01-18 2017-05-17 中国工商银行股份有限公司 Cloud file transmission system and method
CN107623747A (en) * 2017-10-27 2018-01-23 中国银行股份有限公司 A kind of data transmission method, equipment and system
CN107613031A (en) * 2017-11-08 2018-01-19 杭州亿方云网络科技有限公司 A kind of document transmission system

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

Also Published As

Publication number Publication date
WO2009140813A1 (en) 2009-11-26
CN101291195A (en) 2008-10-22

Similar Documents

Publication Publication Date Title
US8392748B2 (en) Reliable media streaming
CN101217638B (en) Downloading method, system and device of video file fragmentation
CN102474504B (en) Various collections and the system and method for ways of distribution support are provided for content distributing network
CA2854008C (en) Enhanced block-request streaming system using signaling or block creation
US9819726B2 (en) File delivery over a broadcast network using file system abstraction, broadcast schedule messages and selective reception
DK2481198T3 (en) Improved block request streaming using scalable coding
US20180359528A1 (en) Receiver, reception method, program and information processing system
CA2615671C (en) Apparatus and method for transmitting/receiving notification message in a broadcasting system, and system thereof
CA2774960C (en) Enhanced block-request streaming using url templates and construction rules
CN100527674C (en) Compatible-progressive download method and the system thereof
RU2390963C2 (en) Method for delivery of notification about update of software to devices in communication systems
EP2479987B1 (en) Information processing device, data management method, and program
US9485044B2 (en) Method and apparatus of announcing sessions transmitted through a network
KR20080081954A (en) Media container file management
US9191151B2 (en) Enhanced block-request streaming using cooperative parallel HTTP and forward error correction
KR101437530B1 (en) Enhanced block-request streaming using block partitioning or request controls for improved client-side handling
EP2391086B1 (en) Method and apparatus for playing live content
EP1570368B1 (en) Stream sourcing content delivery system
CN101770515B (en) Data block comparison based data updating method
US20090258594A1 (en) Method and System for Progressive Delivery and Synchronization of Discrete Content in Rich Media Services
JP6408762B2 (en) Receiving apparatus, receiving method, and program
US8510375B2 (en) Apparatus and methods for time mapping media segments in streaming media files
US9350488B2 (en) Content delivery system with allocation of source data and repair data among HTTP servers
US20170026148A1 (en) Universal object delivery and template-based file delivery
CN101420603B (en) Method for implementing media distribution, positioning by segmented memory and stream media system thereof

Legal Events

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