CN103544168A - Device and method for controlling file downloading - Google Patents

Device and method for controlling file downloading Download PDF

Info

Publication number
CN103544168A
CN103544168A CN201210241671.8A CN201210241671A CN103544168A CN 103544168 A CN103544168 A CN 103544168A CN 201210241671 A CN201210241671 A CN 201210241671A CN 103544168 A CN103544168 A CN 103544168A
Authority
CN
China
Prior art keywords
file
data
index
terminal
download
Prior art date
Application number
CN201210241671.8A
Other languages
Chinese (zh)
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 CN201210241671.8A priority Critical patent/CN103544168A/en
Publication of CN103544168A publication Critical patent/CN103544168A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/06Network-specific arrangements or communication protocols supporting networked applications adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention provides a device and method for controlling file downloading. The device for controlling file downloading comprises a request receiving module, a file storage module and a file management module. The request receiving module receives a request, for downloading of specific data, sent by a terminal to a server. The file storage module stores multiple data files and multiple index files, wherein the multiple data files record different data, the multiple index files record the storage positions of the multiple data files and index information of the recorded data. The file management module searches the file storage module for a data file recording the specific data according to the storage positions and the index information in the index files and returns the data file to the terminal. By the adoption of the device and method for controlling file downloading, it is ensured that a user can just download the content needed by the user and doest not need to download the whole file containing the needed content, the downloading efficiency is improved, network transmission resources are saved, it is ensured that the downloaded content has the pertinence with respect to the user, and too much cost for the downloaded content is not needed.

Description

文件下载控制装置和文件下载控制方法 File download control apparatus and method for controlling file downloads

技术领域 FIELD

[0001] 本发明涉及数据交互处理技术领域,具体而言,涉及一种文件下载控制装置和一种文件下载控制方法。 [0001] The present invention relates to interactive data processing technologies, and particularly, to a device and a file download control method for downloading control file.

背景技术 Background technique

[0002]目前,随着移动智能设备的普及,人们利用移动智能设备上进行阅读和学习已经成为潮流,很多时候移动智能设备自身的学习内容不能满足用户的学习需求,用户往往需要连接网络,从网络上下载新的学习内容。 [0002] Now, with the popularity of mobile intelligent devices people use to read and learn on mobile smart devices has become the trend, mobile smart devices often their own learning content can not meet the learning needs of users, users often need to connect to the network, from Download the new learning content on the network.

[0003] 但是现有的阅读或者学习软件是将电子内容作为一整体(一个文件)存储在服务器上,例如,对于一本电子书而言,用户可能只需要其中的部分章节内容,但是却必须将整本电子书都从服务器上下载下来。 [0003] However, the existing reading or learning software is the electronic content as a whole (a file) stored on the server, for example, for an e-book, the user may need only some sections contents, but must the entire e-books are downloaded from the server. 这就导致以下问题: This leads to the following questions:

[0004] 1、如果整本电子书的体积较大,需要占据过多的网络资源,并需要很多时间才能下载完成,在网络传输质量不佳的情况下,很难完成下载任务; [0004] 1, if the volume of the entire e-book is large, needs to occupy too many network resources, and requires a lot of time to download is complete, in the case of poor network transmission quality, it is difficult to complete the download task;

[0005] 2、整本电子书包含的内容过多,而用户往往只需要特定的一小部分内容,这就导致用户需要花费时间从整体内容需找自己所需的部分; [0005] 2, the entire contents of this e-book contains too many, and users often only need a small portion of a particular content, which leads the user from the overall time it takes to find the content to be part of their own needs;

[0006] 3、下载电子书往往伴随着费用的产生,如果仅为了一小部分的内容,而下载了整本电子书,是得不偿失的行为。 [0006] 3, download e-books are often accompanied by the production costs, if only a small part of the content, and download the entire e-book, it is worth the candle behavior.

[0007] 因此,需要一种新的技术方案,可以保证用户可以仅下载自己所需的内容,而不需要将包含所需的内容的整体文件全部下载下来,提高下载的效率,节省网络传输资源,并保证下载的内容对用户更有针对性,并不需为下载内容付出过多的代价。 [0007] Therefore, a new technical solution can ensure that users can download only the content they need, without the need to contain the entire contents of all files needed to download, download improve efficiency, saving network transmission resources and to ensure that users download content more targeted and does not have to pay too much for downloadable content.

发明内容 SUMMARY

[0008] 本发明所要解决的技术问题在于,提供一种新的技术方案,可以保证用户可以仅下载自己所需的内容,而不需要将包含所需的内容的整体文件全部下载下来,提高下载的效率,节省网络传输资源,并保证下载的内容对用户更有针对性,并不需为下载内容付出过多的代价。 [0008] The present invention solves the technical problem is to provide a new technical solution can ensure that users can download only the content they need, without the need to contain the entire contents of all files needed to download, improve download efficiency, saving network transmission resources, and to ensure that users download content more targeted and does not have to pay too much for downloadable content.

[0009] 有鉴于此,本发明提供一种文件下载控制装置,包括:请求接收模块,接收终端向服务器发出的对特定数据的下载请求;文件保存模块,保存多个数据文件和索引文件,其中,所述多个数据文件记录了不同的数据,所述索引文件记录了所述多个数据文件的保存位置,以及所记录数据的索引信息;文件管理模块,根据所述索引文件中的所述保存位置和所述索引信息,从所述文件保存模块中查找出记录有所述特定数据的数据文件,并返回给所述终端。 [0009] Accordingly, the present invention provides a file download control apparatus comprising: a request receiving module receiving a request for downloading specific data sent from the terminal to the server; file storage module, stores a plurality of data files and index files, wherein the plurality of data records the different data files, the index file recording the storage location of the plurality of data files, and the index information of recorded data; file management module, the index file in accordance with the storage location and the index information, the data file is recorded to find out the specific data from the file storage module and returns to the terminal. 在该技术方案中,电子书等学习文件不再制作成一个整体,而已经按照其章节内容,分为多个文件进行存储,并可以通过XML格式或数据库格式的索引文件进行管理,索引文件中所记录的索引信息,体现不同数据文件所记录的不同数据之间的层次结构关系,例如可以包括不同章节内容之间的关联关系,用户需要下载的时候,服务器不再将包含所有学习内容的文件都提供给用户,而是根据索引文件查找到包含用户所需的部分内容的文件,并提供给用户,这大大节省了下载时间和网络传输资源,同时可以保证下载内容确实针对用户需求,如果下载学习文件需要支付费用,则本方案也可以保证用户支付极少的费用。 In this aspect, e-books and other study documents no longer be made into a whole, and in accordance with its chapters have been divided into multiple files stored, and can be managed by the index file in XML format or database format, the index file index information recorded, reflecting the hierarchical relationships between different data in different data files recorded, for example, can include relationships between the different sections of content, users need to download, the server will no longer contain all the learning content of the file are available to users, but to find the file that contains part of the content desired by the user according to the index file and made available to users, which saves download time and network transmission resources, and can actually download content for the user to ensure that the needs, if you download to study the document need to pay, then the program can also ensure that users pay very little.

[0010] 在上述技术方案中,优选地,所述索引文件还记录了所述多个数据文件所记录的数据之间的关联关系,所述文件管理模块还根据所述索引文件中的所述关联关系,从所述文件保存模块中取得其他数据文件并返回给所述终端,所述其他数据文件记录了与所述特定数据存在关联关系的其他数据。 [0010] In the above aspect, preferably, the index file records the association between the plurality of data files recorded data, the file management module is further based on said index file association acquires from the file storage module and other data files back to the terminal, the other data file records other data associated relationship with the particular data. 在该技术方案中,以学习过程为例,通过记录各部分学习内容之间的关联关系,可以在满足用户的下载需求的同时,根据索引文件为用户推送其他有可能需求的学习内容,例如,用户需要下载某本书第八章的内容,则可判断用户短时间就需要与第八章紧密相关的下一章一第九章的内容,此时服务器可准确获取包含第九章内容的文件,并提供给用户下载。 In this aspect, to the learning process, for example, by recording the relationship between the various parts of the learning content can be downloaded at the same time meet the needs of users, according to the index file for the user to push content to learn other possible requirements, for example, users need to download the contents of a book of Chapter VIII, you can determine the next chapter, a chapter of the ninth short-term users will need to closely related Chapter VIII, in which case the server can accurately obtain the contents of a file that contains Chapter IX and made available to users for download.

[0011] 在上述技术方案中,优选地,所述索引文件还记录了所述多个数据文件相关的附加信息,所述文件管理模块还在将包含所述特定数据的数据文件返回给所述终端前,根据所述索引文件中的所述附加信息,向所述终端发出提示。 [0011] In the above aspect, preferably, the index file records which of the plurality of additional information relating to the data files, the file management module also including specific data of the data file returns to the front end, according to the additional information in the index file, to alert the terminal. 在该技术方案中,如果在下载某些文件的时候,有值得通知用户的操作,可以此时进行提示,例如,提示用户下载时所需支付的费用。 In this aspect, if you download some files when there is worth to inform the user of the operation, this time can be prompted, for example, suggesting that the costs paid for the users to download.

[0012] 在上述技术方案中,优选地,所述文件管理模块还接收所述终端对所述提示的回复,根据所述回复,判断是否将包含所述特定数据的数据文件返回给所述终端。 [0012] In the above aspect, preferably, the file management module receiving said further terminal to said prompt, according to the reply, determining whether the particular data comprising a data file back to the terminal . 在该技术方案中,进一步地,用户可以选择是否下载学习文件,例如,下载某文件的费用过高,用户完全可以选择放弃下载。 In this aspect, further, the user can choose whether to download the file to learn, for example, the high cost of downloading a file, the user can choose to give up download.

[0013] 在上述技术方案中,优选地,所述多个数据文件中的数据的类型包括:音频、视频、文本和/或图片。 [0013] In the above aspect, preferably, the plurality of types of data in data files include: audio, video, text and / or pictures. 在该技术方案中,本领域技术方案应当理解,以上示例仅为说明文件数据的类型可以多种,但并不用于对其类型进行限制,实际上更多类型的都可以包括在例如电子书的文件当中。 In this aspect, it should be understood that those skilled in the embodiment, the above examples illustrate only various types of document data may be, but is not intended to be limiting of its type, in fact more types may be included in an electronic book, for example, file them.

[0014] 本发明还提供一种文件下载控制方法,包括:步骤202,接收终端向服务器发出的对特定数据的下载请求,所述服务器中保存多个数据文件和索引文件,其中,所述多个数据文件记录了不同的数据,所述索引文件记录了所述多个数据文件的保存位置,以及所记录数据的索引信息;步骤204,根据所述索引文件中的所述保存位置和所述索引信息,从所述服务器中查找出记录有所述特定数据的数据文件,并返回给所述终端。 [0014] The present invention also provides a file download control method comprising: a step 202, receives the download request for specific data sent from the terminal to the server, the server stores a plurality of data files and index files, wherein said plurality data records different data files, the index file recorded in the index information file storage location of the plurality of data, and recorded data; a step 204, according to the stored position of the index file and the index information, from the server to find out the specific data file is recorded data, and returns to the terminal. 在该技术方案中,电子书等学习文件不再制作成一个整体,而已经按照其章节内容,分为多个文件进行存储,并可以通过XML格式或数据库格式的索引文件进行管理,索引文件中所记录的索引信息,体现不同数据文件所记录的不同数据之间的层次结构关系,例如可以包括不同章节内容之间的关联关系,用户需要下载的时候,服务器不再将包含所有学习内容的文件都提供给用户,而是根据索引文件查找到包含用户所需的部分内容的文件,并提供给用户,这大大节省了下载时间和网络传输资源,同时可以保证下载内容确实针对用户需求,如果下载学习文件需要支付费用,则本方案也可以保证用户支付极少的费用。 In this aspect, e-books and other study documents no longer be made into a whole, and in accordance with its chapters have been divided into multiple files stored, and can be managed by the index file in XML format or database format, the index file index information recorded, reflecting the hierarchical relationships between different data in different data files recorded, for example, can include relationships between the different sections of content, users need to download, the server will no longer contain all the learning content of the file are available to users, but to find the file that contains part of the content desired by the user according to the index file and made available to users, which saves download time and network transmission resources, and can actually download content for the user to ensure that the needs, if you download to study the document need to pay, then the program can also ensure that users pay very little.

[0015] 在上述技术方案中,优选地,所述索引文件还记录了所述多个数据文件所记录的数据之间的关联关系;所述步骤204还包括:根据所述索引文件中的所述关联关系,从所述服务器中取得其他数据文件并返回给所述终端,所述其他数据文件记录了与所述特定数据存在关联关系的其他数据。 [0015] In the above aspect, preferably, the index file records the association between the data of the plurality of data files recorded; 204 further comprising the step of: the index file in accordance with the said relationship to obtain other data files from the server and returned to the terminal, the other data file records other data associated relationship with the particular data. 在该技术方案中,以学习过程为例,通过记录各部分学习内容之间的关联关系,可以在满足用户的下载需求的同时,根据索引文件为用户推送其他有可能需求的学习内容,例如,用户需要下载某本书第八章的内容,则可判断用户短时间就需要与第八章紧密相关的下一章一第九章的内容,此时服务器可准确获取包含第九章内容的文件,并提供给用户下载。 In this aspect, to the learning process, for example, by recording the relationship between the various parts of the learning content can be downloaded at the same time meet the needs of users, according to the index file for the user to push content to learn other possible requirements, for example, users need to download the contents of a book of Chapter VIII, you can determine the next chapter, a chapter of the ninth short-term users will need to closely related Chapter VIII, in which case the server can accurately obtain the contents of a file that contains Chapter IX and made available to users for download.

[0016] 在上述技术方案中,优选地,所述索引文件还记录了所述多个数据文件相关的附加信息;所述步骤204还包括:在将包含所述特定数据的数据文件返回给所述终端前,根据所述索引文件中的所述附加信息,向所述终端发出提示。 [0016] In the above aspect, preferably, the index file records additional information related to the plurality of data files; 204 further comprises the step of: in the data returned to the file containing the specific data said front end, according to the additional information in the index file, to alert the terminal. 在该技术方案中,如果在下载某些文件的时候,有值得通知用户的操作,可以此时进行提示,例如,提示用户下载时所需支付的费用。 In this aspect, if you download some files when there is worth to inform the user of the operation, this time can be prompted, for example, suggesting that the costs paid for the users to download.

[0017] 在上述技术方案中,优选地,所述步骤204还包括:接收所述终端对所述提示的回复,根据所述回复,判断是否将包含所述特定数据的数据文件返回给所述终端。 [0017] In the above aspect, preferably, the step 204 further comprises: receiving a reply to the prompt terminal, according to the reply, it is determined whether or not the data file containing specific data is returned to the terminal. 在该技术方案中,进一步地,用户可以选择是否下载学习文件,例如,下载某文件的费用过高,用户完全可以选择放弃下载。 In this aspect, further, the user can choose whether to download the file to learn, for example, the high cost of downloading a file, the user can choose to give up download.

[0018] 在上述技术方案中,优选地,所述多个数据文件中的数据的类型包括:音频、视频、文本和/或图片。 [0018] In the above aspect, preferably, the plurality of types of data in data files include: audio, video, text and / or pictures. 在该技术方案中,本领域技术方案应当理解,以上示例仅为说明文件数据的类型可以多种,但并不用于对其类型进行限制,实际上更多类型的都可以包括在例如电子书的文件当中。 In this aspect, it should be understood that those skilled in the embodiment, the above examples illustrate only various types of document data may be, but is not intended to be limiting of its type, in fact more types may be included in an electronic book, for example, file them.

[0019] 通过以上技术方案,实现了一种文件下载控制装置和一种文件下载控制方法,可以保证用户可以仅下载自己所需的内容,而不需要将包含所需的内容的整体文件全部下载下来,提高下载的效率,节省网络传输资源,并保证下载的内容对用户更有针对性,并不需为下载内容付出过多的代价。 [0019] Through the above technical solution, implemented a file download control apparatus and a control method for downloading files, the user can ensure that content only can download their own needs, without the need to contain the entire desired content file downloads all down, improve efficiency download, saving network transmission resources, and to ensure that users download content more targeted and does not have to pay too much for downloadable content.

附图说明 BRIEF DESCRIPTION

[0020] 图1是根据本发明的一个实施例的文件下载控制装置的框图; [0020] FIG. 1 is a block diagram of a control apparatus according to download the file to an embodiment of the present invention;

[0021] 图2是根据本发明的一个实施例的文件下载控制方法的流程图; [0021] FIG 2 is a flowchart illustrating a control method for downloading a file in accordance with an embodiment of the present invention;

[0022] 图3是根据本发明的一个实施例的文件下载控制装置的工作流程图。 [0022] FIG. 3 is a flow chart of the control device to download a file in accordance with an embodiment of the present invention.

具体实施方式 Detailed ways

[0023] 为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。 [0023] In order to more clearly understand the present invention the above object, features and advantages, the following specific embodiments and accompanying drawings further detailed description of the invention.

[0024] 在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明并不限于下面公开的具体实施例的限制。 [0024] numerous specific details are set forth in the following description in order to provide a thorough understanding of the present invention, however, the present invention may also be in other ways other than as described herein employed to implement, therefore, the present invention is not limited to the specific disclosed below limited to the examples.

[0025] 图1是根据本发明的一个实施例的文件下载控制装置的框图。 [0025] FIG. 1 is a block diagram of a control apparatus according to download the file to an embodiment of the present invention.

[0026] 如图1所示,本发明提供一种文件下载控制装置100,包括:请求接收模块102,接收终端向服务器发出的对特定数据的下载请求;文件保存模块104,保存多个数据文件和索引信息文件,其中,所述多个数据文件记录了不同的数据,所述索引文件记录了所述多个数据文件的保存位置,以及所记录数据的索引信息;文件管理模块106,根据所述索引文件中的所述保存位置和所述索引信息,从所述文件保存模块104中查找出记录有所述特定数据的数据文件,并返回给所述终端。 [0026] As shown in FIG 1, the present invention provides a file download control apparatus 100, comprising: a request receiving module 102 receives a download request for specific data sent from the terminal to the server; file storing module 104, stores a plurality of data files and an index information file, wherein said plurality of data records the different data files, the index file recording the storage location of the plurality of data files, index information and recorded data; file management module 106, in accordance with the the storage position of said index information and said index file, the file is saved from lookup module 104 is recorded in the data file of the specific data, and returns to the terminal. 在该技术方案中,电子书等学习文件不再制作成一个整体,而已经按照其章节内容,分为多个文件进行存储,并可以通过XML格式或数据库格式的索引文件进行管理,索引文件中所记录的索引信息,体现不同数据文件所记录的不同数据之间的层次结构关系,例如可以包括不同章节内容之间的关联关系,用户需要下载的时候,服务器不再将包含所有学习内容的文件都提供给用户,而是根据索引文件查找到包含用户所需的部分内容的文件,并提供给用户,这大大节省了下载时间和网络传输资源,同时可以保证下载内容确实针对用户需求,如果下载学习文件需要支付费用,则本方案也可以保证用户支付极少的费用。 In this aspect, e-books and other study documents no longer be made into a whole, and in accordance with its chapters have been divided into multiple files stored, and can be managed by the index file in XML format or database format, the index file index information recorded, reflecting the hierarchical relationships between different data in different data files recorded, for example, can include relationships between the different sections of content, users need to download, the server will no longer contain all the learning content of the file are available to users, but to find the file that contains part of the content desired by the user according to the index file and made available to users, which saves download time and network transmission resources, and can actually download content for the user to ensure that the needs, if you download to study the document need to pay, then the program can also ensure that users pay very little.

[0027] 在上述技术方案中,所述索引文件还记录了所述多个数据文件所记录的数据之间的关联关系,所述文件管理模块106还根据所述索引文件中的所述关联关系,从所述文件保存模块104中取得其他数据文件并返回给所述终端,所述其他数据文件记录了与所述特定数据存在关联关系的其他数据。 [0027] In the above aspect, the index file records the association between the plurality of data files recorded data, the file management module 106 further according to the association relationship between the index file acquires from the file storage module 104 and other data files back to the terminal, the other data file records other data associated relationship with the particular data. 在该技术方案中,以学习过程为例,通过记录各部分学习内容之间的关联关系,可以在满足用户的下载需求的同时,根据索引文件为用户推送其他有可能需求的学习内容,例如,用户需要下载某本书第八章的内容,则可判断用户短时间就需要与第八章紧密相关的下一章一第九章的内容,此时服务器可准确获取包含第九章内容的文件,并提供给用户下载。 In this aspect, to the learning process, for example, by recording the relationship between the various parts of the learning content can be downloaded at the same time meet the needs of users, according to the index file for the user to push content to learn other possible requirements, for example, users need to download the contents of a book of Chapter VIII, you can determine the next chapter, a chapter of the ninth short-term users will need to closely related Chapter VIII, in which case the server can accurately obtain the contents of a file that contains Chapter IX and made available to users for download.

[0028] 在上述技术方案中,所述索引文件还记录了所述多个数据文件相关的附加信息,所述文件管理模块106还在将包含所述特定数据的数据文件返回给所述终端前,根据所述索引文件中的所述附加信息,向所述终端发出提示。 [0028] In the above aspect, the index file further records additional information related to the plurality of data files, the file management module 106 also will contain data before the specific data file returns to the terminal , according to the additional information in the index file, to alert the terminal. 在该技术方案中,如果在下载某些文件的时候,有值得通知用户的操作,可以此时进行提示,例如,提示用户下载时所需支付的费用。 In this aspect, if you download some files when there is worth to inform the user of the operation, this time can be prompted, for example, suggesting that the costs paid for the users to download.

[0029] 在上述技术方案中,所述文件管理模块106还接收所述终端对所述提示的回复,根据所述回复,判断是否将包含所述特定数据的数据文件返回给所述终端。 [0029] In the above aspect, the file management module 106 also receives the reply to the prompt terminal, according to the reply, determining whether the particular data comprising a data file back to the terminal. 在该技术方案中,进一步地,用户可以选择是否下载学习文件,例如,下载某文件的费用过高,用户完全可以选择放弃下载。 In this aspect, further, the user can choose whether to download the file to learn, for example, the high cost of downloading a file, the user can choose to give up download.

[0030] 在上述技术方案中,所述多个数据文件中的数据的类型包括:音频、视频、文本和/或图片。 [0030] In the above aspect, the plurality of types of data in data files include: audio, video, text and / or pictures. 在该技术方案中,本领域技术方案应当理解,以上示例仅为说明文件数据的类型可以多种,但并不用于对其类型进行限制,实际上更多类型的都可以包括在例如电子书的文件当中。 In this aspect, it should be understood that those skilled in the embodiment, the above examples illustrate only various types of document data may be, but is not intended to be limiting of its type, in fact more types may be included in an electronic book, for example, file them.

[0031] 图2是根据本发明的一个实施例的文件下载控制方法的流程图。 [0031] FIG 2 is a flowchart illustrating a control method for downloading a file according to embodiments of the present invention.

[0032] 如图2所示,本发明还提供一种文件下载控制方法,包括:步骤202,接收终端向服务器发出的对特定数据的下载请求,所述服务器中保存多个数据文件和索引文件,其中,所述多个数据文件记录了不同的数据,所述索引文件记录了所述多个数据文件的保存位置,以及所记录数据的索引信息;步骤204,根据所述索引文件中的所述保存位置和所述索引信息,从所述服务器中查找出记录有所述特定数据的数据文件,并返回给所述终端。 [0032] 2, the present invention also provides a file download control method comprising: a step 202, receives the download request for specific data sent from the terminal to the server, the server stores a plurality of data files and index files wherein the plurality of data records the different data files, the index file recording the storage location of the plurality of data files, and the index information of recorded data; a step 204, the index file in accordance with the said index information and said storage location, from the server to find out the specific data file is recorded data, and returns to the terminal. 在该技术方案中,电子书等学习文件不再制作成一个整体,而已经按照其章节内容,分为多个文件进行存储,并可以通过XML格式或数据库格式的索引文件进行管理,索引文件中所记录的索引信息,体现不同数据文件所记录的不同数据之间的层次结构关系,例如可以包括不同章节内容之间的关联关系,用户需要下载的时候,服务器不再将包含所有学习内容的文件都提供给用户,而是根据索引文件查找到包含用户所需的部分内容的文件,并提供给用户,这大大节省了下载时间和网络传输资源,同时可以保证下载内容确实针对用户需求,如果下载学习文件需要支付费用,则本方案也可以保证用户支付极少的费用。 In this aspect, e-books and other study documents no longer be made into a whole, and in accordance with its chapters have been divided into multiple files stored, and can be managed by the index file in XML format or database format, the index file index information recorded, reflecting the hierarchical relationships between different data in different data files recorded, for example, can include relationships between the different sections of content, users need to download, the server will no longer contain all the learning content of the file are available to users, but to find the file that contains part of the content desired by the user according to the index file and made available to users, which saves download time and network transmission resources, and can actually download content for the user to ensure that the needs, if you download to study the document need to pay, then the program can also ensure that users pay very little.

[0033] 在上述技术方案中,所述索引文件还记录了所述多个数据文件所记录的数据之间的关联关系;所述步骤204还包括:根据所述索引文件中的所述关联关系,从所述服务器中取得其他数据文件并返回给所述终端,所述其他数据文件记录了与所述特定数据存在关联关系的其他数据。 [0033] In the above aspect, the index file records the association between the data of the plurality of data files recorded; 204 further comprising the step of: according to the association relationship between the index file acquired from the server, and other data files back to the terminal, the other data file records other data associated relationship with the particular data. 在该技术方案中,以学习过程为例,通过记录各部分学习内容之间的关联关系,可以在满足用户的下载需求的同时,根据索引文件为用户推送其他有可能需求的学习内容,例如,用户需要下载某本书第八章的内容,则可判断用户短时间就需要与第八章紧密相关的下一章一第九章的内容,此时服务器可准确获取包含第九章内容的文件,并提供给用户下载。 In this aspect, to the learning process, for example, by recording the relationship between the various parts of the learning content can be downloaded at the same time meet the needs of users, according to the index file for the user to push content to learn other possible requirements, for example, users need to download the contents of a book of Chapter VIII, you can determine the next chapter, a chapter of the ninth short-term users will need to closely related Chapter VIII, in which case the server can accurately obtain the contents of a file that contains Chapter IX and made available to users for download.

[0034] 在上述技术方案中,所述索引文件还记录了所述多个数据文件相关的附加信息;所述步骤204还包括:在将包含所述特定数据的数据文件返回给所述终端前,根据所述索引文件中的所述附加信息,向所述终端发出提示。 [0034] In the above aspect, the index file further records additional information related to the plurality of data files; step 204 further comprises: the terminal returns to the data file will contain the specific data before , according to the additional information in the index file, to alert the terminal. 在该技术方案中,如果在下载某些文件的时候,有值得通知用户的操作,可以此时进行提示,例如,提示用户下载时所需支付的费用。 In this aspect, if you download some files when there is worth to inform the user of the operation, this time can be prompted, for example, suggesting that the costs paid for the users to download.

[0035] 在上述技术方案中,所述步骤204还包括:接收所述终端对所述提示的回复,根据所述回复,判断是否将包含所述特定数据的数据文件返回给所述终端。 [0035] In the above aspect, the step 204 further comprises: receiving a reply to the prompt terminal, according to the reply, it is determined whether or not the data file containing specific data back to the terminal. 在该技术方案中,进一步地,用户可以选择是否下载学习文件,例如,下载某文件的费用过高,用户完全可以选择放弃下载。 In this aspect, further, the user can choose whether to download the file to learn, for example, the high cost of downloading a file, the user can choose to give up download.

[0036] 在上述技术方案中,所述多个数据文件中的数据的类型包括:音频、视频、文本和/或图片。 [0036] In the above aspect, the plurality of types of data in data files include: audio, video, text and / or pictures. 在该技术方案中,本领域技术方案应当理解,以上示例仅为说明文件数据的类型可以多种,但并不用于对其类型进行限制,实际上更多类型的都可以包括在例如电子书的文件当中。 In this aspect, it should be understood that those skilled in the embodiment, the above examples illustrate only various types of document data may be, but is not intended to be limiting of its type, in fact more types may be included in an electronic book, for example, file them.

[0037] 图3是根据本发明的一个实施例的文件下载控制装置的工作流程图。 [0037] FIG. 3 is a flow chart of the control device to download a file in accordance with an embodiment of the present invention.

[0038] 在本发明的一个实施例中,文件下载控制装置安装在服务器中。 [0038] In one embodiment of the present invention, the file download control means installed in the server. 服务器中还存有各种格式的电子书(其中包括文字、图片、视频、音频等文件),该电子书在制作时,已经根据其中记载的章节内容,被分成不同的层次结构的文件存储在服务器端。 There is also an electronic book server in various formats (including text, images, videos, audio files, etc.), in the production of the electronic book, which has been described in accordance with chapters, they are grouped into various files stored in a hierarchical structure Service-Terminal. 该电子书中还可以包括一个XML格式的管理文件,其中记录各个文件中的章节内容、存储位置以及其他相关信息。 The e-book may also include a management XML file format, which records the contents of each chapter document, storage location and other relevant information. 该管理文件也可以是数据库文件。 The management file can also be a database file.

[0039] 在终端用户需要下载某电子书中的内容时,其流程如图3所示: [0039] When the end-user needs to download an electronic book contents, the process shown in Figure 3:

[0040] 步骤302,用户确定其需要下载的内容,通过终端向服务器发出下载请求,例如,用户需要下载某电子书中的第八章的内容; [0040] Step 302, the user determines that it needs to download content, the download request issued by the terminal to the server, e.g., a user needs to download the contents of an electronic book in Chapter VIII;

[0041] 步骤304,服务器中的文件下载控制装置接收到下载请求后,通过索引文件,可以准确地查询出记录有第八章内容的文件,并按照其下载位置,获取该文件并提供用户下载; [0041] Step 304, the server file download control means after receiving the download request, the index file, the file can accurately check the recorded contents of Chapter VIII, and in accordance with the location of the download, the user provides the file and obtain downloads ;

[0042] 步骤306,本实施例中的文件下载控制装置还预测用户的需求,根据索引文件查询出记录有第八章的下一章——第九章内容的文件,对用户发出提示,询问用户是否需要下载第九章内容。 [0042] Step 306, in the present embodiment file download control apparatus predicts the user's needs, according to the query the index file is recorded in the next chapter VIII - IX file contents, to alert the user, asking Do users need to download the contents of Chapter IX.

[0043] 步骤308,如果下载上述章节内容需要用户支付一定费用,则提示用户下载时需支持一定费用,以免造成不必要的损失。 [0043] Step 308, if the user needs to download these chapters pay a fee, you need to support prompt the user to download a fee, so as to avoid unnecessary losses.

[0044] 最终,本实施例中的文件下载控制装置保证了用户下载到了自己所需的第八章内容,并根据自身需要选择是否下载自服务器推送的第九章内容,并且可以了解自己费用的支付情况,满足了用户的需求。 [0044] Finally, in the present embodiment file download control means to ensure that the user downloads the desired contents themselves Chapter VIII, according to their needs and to select whether to download content from the server push IX, and their cost can understand payments to meet the needs of users.

[0045] 综上所述,通过本发明的技术方案,可以实现了一种文件下载控制装置和一种文件下载控制方法,可以保证用户可以仅下载自己所需的内容,而不需要将包含所需的内容的整体文件全部下载下来,提高下载的效率,节省网络传输资源,并保证下载的内容对用户更有针对性,并不需为下载内容付出过多的代价。 [0045] In summary, the technical solution by the present invention, implements a file download control apparatus and a control method for downloading files, the user can ensure that content only can download their own needs, without the need to contain the the whole file to be downloaded in whole, to improve efficiency download, saving network transmission resources, and to ensure that users download content more targeted and does not have to pay too much for downloadable content.

[0046] 以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。 [0046] The above description is only preferred embodiments of the present invention, it is not intended to limit the invention to those skilled in the art, the present invention may have various changes and variations. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principle of the present invention, made, equivalent substitutions, improvements, etc., should be included within the scope of the present invention.

Claims (10)

1.一种文件下载控制装置,其特征在于,包括: 请求接收模块,接收终端向服务器发出的对特定数据的下载请求; 文件保存模块,保存多个数据文件和索引文件,其中,所述多个数据文件记录了不同的数据,所述索引文件记录了所述多个数据文件的保存位置,以及所记录数据的索引信息; 文件管理模块,根据所述索引文件中的所述保存位置和所述索引信息,从所述文件保存模块中查找出记录有所述特定数据的数据文件,并返回给所述终端。 A file download control apparatus comprising: a request receiving module receiving a request for downloading specific data sent from the terminal to the server; file storage module, stores a plurality of data files and index files, wherein said plurality data records different data files, the index file recording the storage location of the plurality of data files, and the index information of recorded data; file management module, according to the stored position of the index file and the said index information from the file storage module to find out the data file is recorded specific data, and returns to the terminal.
2.根据权利要求1所述的文件下载控制装置,其特征在于,所述索引文件还记录了所述多个数据文件所记录的数据之间的关联关系,所述文件管理模块还根据所述索引文件中的所述关联关系,从所述文件保存模块中取得其他数据文件并返回给所述终端,所述其他数据文件记录了与所述特定数据存在关联关系的其他数据。 The document according to the download control apparatus of claim 1, wherein the index file records the association between the plurality of data files recorded data, the file management module according to the further the association index file, the file acquired from the storage module and other data files back to the terminal, the other data file records other data associated relationship with the particular data.
3.根据权利要求2所述的文件下载控制装置,其特征在于,所述索引文件还记录了所述多个数据文件相关的附加信息,所述文件管理模块还在将包含所述特定数据的数据文件返回给所述终端前,根据所述索引文件中的所述附加信息,向所述终端发出提示。 The file according to the download control apparatus of claim 2, wherein the index file further records additional information related to the plurality of data files, the file management module also including the specific data before the data file back to the terminal, according to the additional information in the index file, to alert the terminal.
4.根据权利要求1所述的文件下载控制装置,其特征在于,所述文件管理模块还接收所述终端对所述提示的回复,根据所述回复,判断是否将包含所述特定数据的数据文件返回给所述终端。 The file according to the download control apparatus of claim 1, wherein said file management module further receives a terminal reply to the prompt, according to the reply, it is determined whether the data including the specific data file back to the terminal.
5.根据权利要求1至4中任一项所述的文件下载控制装置,其特征在于,所述多个数据文件中的数据的类型包括:音频、视频、文本和/或图片。 The document 1 to any one of claims 4 to download control apparatus as claimed in claim, wherein said plurality of types of data in data files include: audio, video, text and / or pictures.
6.一种文件下载控制方法,其特征在于,包括: 步骤202,接收终端向服务器发出的对特定数据的下载请求,所述服务器中保存多个数据文件和索引文件,其中,所述多个数据文件记录了不同的数据,所述索引文件记录了所述多个数据文件的保存位置,以及所记录数据的索引信息; 步骤204,根据所述索引文件中的所述保存位置和所述索引信息,从所述服务器中查找出记录有所述特定数据的数据文件,并返回给所述终端。 A file download control method comprising: a step 202, receives the download request for specific data sent from the terminal to the server, the server stores a plurality of data files and index files, wherein said plurality of data of different data files are recorded, the index file recorded in the index information file storage location of the plurality of data, and recorded data; a step 204, according to the stored position of the index file and the index information from the server to find out the specific data file is recorded data, and returns to the terminal.
7.根据权利要求6所述的文件下载控制方法,其特征在于,所述索引文件还记录了所述多个数据文件所记录的数据之间的关联关系; 所述步骤204还包括:根据所述索引文件中的所述关联关系,从所述服务器中取得其他数据文件并返回给所述终端,所述其他数据文件记录了与所述特定数据存在关联关系的其他数据。 7. File download control method according to claim 6, wherein the index file records the association between the data of the plurality of data files recorded; 204 further comprising the step of: in accordance with the the association of said index file, acquired from the server, and other data files back to the terminal, the other data file records other data associated relationship with the particular data.
8.根据权利要求7所述的文件下载控制方法,其特征在于,所述索引文件还记录了所述多个数据文件相关的附加信息; 所述步骤204还包括:在将包含所述特定数据的数据文件返回给所述终端前,根据所述索引文件中的所述附加信息,向所述终端发出提示。 8. A method of controlling file download according to claim 7, wherein the index file further records additional information related to the plurality of data files; 204 further comprises the step of: including in said specific data before the data file is returned to the terminal, according to the additional information in the index file, to alert the terminal.
9.根据权利要求6所述的文件下载控制方法,其特征在于,所述步骤204还包括: 接收所述终端对所述提示的回复,根据所述回复,判断是否将包含所述特定数据的数据文件返回给所述终端。 9. The file download control claim 6, characterized in that, the step 204 further comprises: a terminal receiving a reply to the prompt, according to the reply, it is determined whether or not including said specific data data file back to the terminal.
10.根据权利要求6至9中任一项所述的文件下载控制方法,其特征在于,所述多个数据文件中的数据的类型包括:音频、视频、文本和/或图片。 10. Documents 6 to 9 control method according to any one of the preceding claims, wherein said plurality of types of data in data files include: audio, video, text and / or pictures.
CN201210241671.8A 2012-07-12 2012-07-12 Device and method for controlling file downloading CN103544168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210241671.8A CN103544168A (en) 2012-07-12 2012-07-12 Device and method for controlling file downloading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210241671.8A CN103544168A (en) 2012-07-12 2012-07-12 Device and method for controlling file downloading

Publications (1)

Publication Number Publication Date
CN103544168A true CN103544168A (en) 2014-01-29

Family

ID=49967631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210241671.8A CN103544168A (en) 2012-07-12 2012-07-12 Device and method for controlling file downloading

Country Status (1)

Country Link
CN (1) CN103544168A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095331A (en) * 2016-05-31 2016-11-09 浙江科澜信息技术有限公司 A kind of control method fixing big file internal resource

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030004947A1 (en) * 2001-06-28 2003-01-02 Sun Microsystems, Inc. Method, system, and program for managing files in a file system
CN101141627A (en) * 2007-10-23 2008-03-12 深圳市迅雷网络技术有限公司 Storage system and method of stream media file
CN101146138A (en) * 2007-10-16 2008-03-19 吕利勇 A system, method and mobile terminal for customizing media contents of the mobile phone
CN101196971A (en) * 2007-12-18 2008-06-11 北京大学;北大方正集团有限公司;北京方正阿帕比技术有限公司 Method and system for implementing authorization management of digital contents
CN102123303A (en) * 2011-03-25 2011-07-13 天脉聚源(北京)传媒科技有限公司 Audio/video file playing method and system as well as transmission control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030004947A1 (en) * 2001-06-28 2003-01-02 Sun Microsystems, Inc. Method, system, and program for managing files in a file system
CN101146138A (en) * 2007-10-16 2008-03-19 吕利勇 A system, method and mobile terminal for customizing media contents of the mobile phone
CN101141627A (en) * 2007-10-23 2008-03-12 深圳市迅雷网络技术有限公司 Storage system and method of stream media file
CN101196971A (en) * 2007-12-18 2008-06-11 北京大学;北大方正集团有限公司;北京方正阿帕比技术有限公司 Method and system for implementing authorization management of digital contents
CN102123303A (en) * 2011-03-25 2011-07-13 天脉聚源(北京)传媒科技有限公司 Audio/video file playing method and system as well as transmission control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095331A (en) * 2016-05-31 2016-11-09 浙江科澜信息技术有限公司 A kind of control method fixing big file internal resource

Similar Documents

Publication Publication Date Title
US8626707B2 (en) Automatic meta-data sharing of existing media to create streamable collections
JP5409767B2 (en) Application management within the expandable object hierarchy
CA2661066C (en) Auto-selection of media files
US8990215B1 (en) Obtaining and verifying search indices
CA2681755C (en) Search and indexing on a user device
US20090240935A1 (en) Computing environment configuration
CA2787104C (en) Social network media sharing with client library
US20070299873A1 (en) Podcast organization and usage at a computing device
US20120124126A1 (en) Contextual and task focused computing
JP2010517173A (en) Content supply method, content access method, content provision method, device configuration method, mobile device, content management system, and content storage method
US20080243788A1 (en) Search of Multiple Content Sources on a User Device
AU2010221620B2 (en) Content rendering on a computer
US20080250190A1 (en) Portable memory device operating system and method of using same
US8725841B2 (en) Providing different versions of a media file
JP2010519624A (en) REST for entities
US8145676B2 (en) Shared inventory item donation in a virtual universe
US20060195864A1 (en) Portable media device interoperability
US8346796B2 (en) System for searching property listings based on location
US9760920B2 (en) Synchronizing digital content
EP2689342A2 (en) Synchronizing digital content
TWI482035B (en) Computing environment representation
EP2120165B1 (en) Systems and methods for space management in file systems
CN101960426A (en) Storage device having direct user access
US20100057884A1 (en) Browser-based download manager
US20120166411A1 (en) Discovery of remotely executed applications

Legal Events

Date Code Title Description
C06 Publication
RJ01