Summary of the invention
The embodiment of the invention provides a kind of methods of exhibiting, system and device of download task list, in order to solve in the prior art for the exhibition method of downloading task in the downloaded software task list simply, problem intuitively not.
The methods of exhibiting of a kind of download task list that the embodiment of the invention provides comprises:
The terminal obtains the file identification of institute's downloaded resources; And said file identification sent to server; Wherein, said file identification comprises: the file content signature, wherein; File content signature calculates the back through pre-defined algorithm to the content-data of binary file and obtains, and said pre-defined algorithm is for to handle the algorithm that obtains different results to the content-data of different binary files; Said server in the corresponding relation according to the file identification, resource type and the attribute information that are provided with, obtains the resource type and the attribute information of said downloaded resources, and resource type of obtaining and attribute information is reached said terminal according to said file identification; Said terminal is according to the resource type of being obtained, and from the corresponding relation of the resource type that is provided with and exhibition method, obtains corresponding exhibition method; According to the exhibition method that obtains; The attribute information of showing the downloaded resources of being obtained; Wherein, the exhibition method of video resource comprises video interception information, and the exhibition method of audio resource comprises the affiliated album cover figure of singer; Or singer's photo, the exhibition method that can carry out resource comprises: can carry out the safe condition of resource and/or the version information of resource.
The display systems of a kind of download task list that the embodiment of the invention provides comprises:
Server; Be used to receive the file identification of the downloaded resources of self terminal; Wherein, said file identification comprises: the file content signature, wherein; File content signature calculates the back through pre-defined algorithm to the content-data of binary file and obtains, and said pre-defined algorithm is for to handle the algorithm that obtains different results to the content-data of different binary files; According to said file identification, in the corresponding relation according to the file identification, resource type and the attribute information that are provided with, obtain the resource type and the attribute information of said downloaded resources; Resource type of being obtained and attribute information are reached the terminal;
The terminal is used for when setting up downloading task, obtains the downloaded resources file identification, and said file identification is sent to said server; According to from the resource type that server obtained, from the corresponding relation of the resource type that is provided with and exhibition method, obtain corresponding exhibition method; According to the exhibition method that is obtained; The attribute information of the downloaded resources that displaying is obtained from server; Wherein, the exhibition method of video resource comprises video interception information, and the exhibition method of audio resource comprises the affiliated album cover figure of singer; Or singer's photo, the exhibition method that can carry out resource comprises: can carry out the safe condition of resource and/or the version information of resource.
A kind of terminal that the embodiment of the invention provides comprises:
Memory module is used for the corresponding relation of storage resources type and exhibition method;
Request module is used for when setting up downloading task, obtains the file identification of downloaded resources; And said file identification sent to server; Wherein, said file identification comprises: the file content signature, wherein; File content signature calculates the back through pre-defined algorithm to the content-data of binary file and obtains, and said pre-defined algorithm is for to handle the algorithm that obtains different results to the content-data of different binary files;
Receiver module is used to receive said server according to the resource type of said file identification transmission and the attribute information of said downloaded resources;
Display module; Be used for according to the resource type that is received; From the corresponding relation of memory module institute stored resource type and exhibition method, obtain corresponding exhibition method, and show the attribute information of the downloaded resources that is received, wherein according to this corresponding exhibition method; The exhibition method of video resource comprises video interception information; The exhibition method of audio resource comprises the affiliated album cover figure of singer, or singer's photo, and the exhibition method that can carry out resource comprises: can carry out the safe condition of resource and/or the version information of resource.
When the embodiment of the invention was showed the resource in the download task list in downloaded software, according to setting different exhibition methods in the downloaded software that do not coexist of resource type, every kind of exhibition method offered the user with the peculiar information in all kinds of resources.Therefore, the present invention can make personalized, the visualize of the exhibition method of downloaded software, has improved the ease for use of down loading software management function.
Embodiment
The embodiment of the invention provides a kind of methods of exhibiting of download task list; It classifies downloaded resources; According to sorted different resource type different exhibition methods is set in the downloaded software task list; Server is according to the resource type of setting up in advance and the corresponding relation of exhibition method, and the relevant peculiar information of all kinds of resources is shown in its exhibition method.Please with reference to Fig. 2, this method comprises:
Step S1, obtain the file identification of institute's downloaded resources;
Step S2, according to said file identification, in the corresponding relation according to the file identification, resource type and the attribute information that are provided with, obtain the resource type and the attribute information of said downloaded resources;
Step S3, according to the resource type of being obtained, from the corresponding relation of the resource type that is provided with and exhibition method, obtain corresponding exhibition method;
The exhibition method that step S4, basis are obtained is showed the attribute information of the downloaded resources of being obtained.
At this, file identification and acquisition methods thereof are described, as mentioning again, will repeat no more in the back literary composition.File identification is used for identification document, and it can be filename, the URL of document storage (Uniform Resource Locate, URL) or content signature (Content Identity, CID) etc.Wherein, content signature is according to the algorithm that is provided with the content-data of file to be calculated the back to obtain.The algorithm that is provided with can be the arbitrary algorithm that different data processing is obtained different results, its result, and promptly content is signed, but the file that unique identification is processed; Perhaps, the algorithm of setting also can be that the result repetition rate is extremely low, the algorithm in tolerance interval.Wherein, the method for confirming content signature has a variety of, such as: the content-data to each binary file carries out Hash operation, obtains the cryptographic hash of file content, and the cryptographic hash of this document content can unique representative this document content information.
Hash algorithm can adopt md5-challenge (Message-Digest Algorithm, MD) 5, MD4, (Secure Hash Algorithm, SHA), (Secure Hash Standard, SHS) scheduling algorithm is as formula for SHA for SHA.
One of them calculation document content signature way: choose each 32KB data before, during and after the whole software file resource; Also can choose other any several sections of file; Utilize aforementioned algorithm respectively these three parts to be calculated, after resulting three values are linked in sequence, utilize aforementioned algorithm that the data after connecting are calculated once more; With the CID of the value that obtains at last as this software document resource, promptly content is signed;
Another calculation document content signature way is: be equally divided into N part to the content-data of binary file with certain length; This length can be 20K, 30K or other any values; Utilize aforementioned algorithm that it is carried out hash calculation respectively; Obtain a value, become the piecemeal user supplied video content using fingerprints (Block Content Identity, BCID); Same carries out hash algorithm one time to all BCID, a value that obtains, and (Global Content Identity GCID), signs as the content of this document with this GCID to be called global user supplied video content using fingerprints.
When the content signature that adopts downloaded resources comes the said downloaded resources of unique identification as file identification; Because being the content according to file, file identification draws; Like this, even the title of two resources, the URL that deposits are different, as long as its content does not change; Their file identification all is consistent, all it is regarded as same resource in the embodiment of the invention.
Wherein, the file identification that obtains resource can carry out in client, also can carry out at server end, and decide according to actual conditions the concrete position that obtains.
Preferable, this method also can comprise: the corresponding relation that file identification, resource type and attribute information are set.
Preferable, this method also can comprise: resource is classified, and according to the difference of resource type, the corresponding relation of each resource type and exhibition method thereof is set.Wherein resource is classified, can be resource is classified according to the file type of resource, also can classify according to the extension name of resource.For example its extension name of video resource not simultaneously, if when showing by file type, this video file that all extension name are inequality is all showed according to the exhibition method of the video file of setting; If show, can the resource of the different extension name of video resource kind be adopted different exhibition methods according to extension name.In addition, if video resource has been carried out processed compressed, when it is showed, can be that the video class resource is showed according to the type of resource in the compressed file own, also can show according to the type of compressed file.
Simultaneously, the different resource type is provided with different exhibition methods and can divides, and comprises, shows the data message of essential information and/or the image information of demonstration essential information, or shows the version information of essential information and/or the security information of demonstration essential information etc.
With file type resource is categorized as example below, the embodiment of the invention is elaborated according to downloaded resources.
Wherein, comprise video class resource, audio class resource and can type of execution resource after downloaded resources classified according to file type information.
Type according to downloaded resources is classified all kinds of resources, in different classification, adopts different exhibition methods.Adopt the mode that is beneficial to the relevant peculiar information of such resource of demonstration most to show to every type of resource type.For example, can adopt the video interception of video resource to describe the image information of resource for the video class resource, adopt the performer in the resource simultaneously, the size of resource etc. are described the data message of resource; Can adopt album cover figure under the song or singer's photo etc. to describe the image information of resource for the audio class resource, adopting resource is the data message that the size, composer/songwriter etc. of national language or Guangdong language, resource are described resource; For can type of execution resource adopting the safe condition that to carry out resource and/or version information of resource etc. that resource is described in detail.
Here, the exhibition method to various dissimilar resources illustrates.
Video interception information and/or the data description of its relevant peculiar information for the video class resource can the display video resource are showed resource.As shown in Figure 3, be the exhibition method of video class resource and the attribute information of the corresponding exhibition method of downloaded resources.Wherein, in the downloading process of resource, can data message that describe resource be showed the user; For example; The name information of this video resource, size information, actor information, director information, issue time information or classical lines etc. are so that the details of in downloading process, understanding downloaded resources that the user can direct convenience judge whether to be information needed; Thereby whether decision downloads this resource, thereby can save unnecessary download bandwidth and time expense.Simultaneously, in process of downloading, in the time will checking the downloading task of certain video resource, as long as click this downloading task, the video interception of this video resource also can show the user.After resource downloading is accomplished, the video interception information of resource is offered the user; When a plurality of video resources download accomplish after, the video interception information of these a plurality of resources is regularly arranged according to one, the arrangement that the video interception order is identical therewith the data message of resource, make the user sufficient understanding arranged to the details of this downloaded resources.
Can adopt the music album surface plot of demonstration audio class resource and the data description of relevant peculiar information that resource is showed for the audio class resource.As shown in Figure 4, be the exhibition method of audio class resource and the attribute information of the corresponding exhibition method of downloaded resources.Exhibition method refers to describe the frame content of essential information; For example among Fig. 4; Title, length, collection of records etc., the Track-01 that the attribute information of exhibition method is described the reply title, 4: 41 of describing of corresponding length and Changing Lanes that collection of records is described or the like.Wherein, In the downloading process of resource; Can data message that describe resource be showed the user, for example, genre information, song issue time information, composer/songwriter's information and can be used as the information that CRBT uses and be shown as the user in the lump under the name information of this audio resource, length information, album information, the song; Make the user can get information about the content of downloaded resources; And judge whether resource is required content, thus determine whether this resource is downloaded, reach and save the purpose that mail downloading charge is used.Simultaneously, in process of downloading, in the time will checking the downloading task of certain audio resource, as long as click this downloading task, the album cover figure of this audio resource just can show the user.After resource downloading is accomplished, the surface plot of special edition under the resource is offered the user; When a plurality of audio resources download accomplish after, the surface plot of the special edition of these a plurality of resources is regularly arranged according to one, the arrangement that album cover figure order is identical therewith the data message of resource, make the user sufficient understanding arranged to the details of this downloaded resources.
For carrying out resource, can show the version information of resource and the security information of resource.As shown in Figure 5, for to carrying out the exhibition method of resource.Wherein, In the downloading process of resource, can the size information that describe resource and the security information of resource be showed the user, so that the user can in time understand the security situation of downloaded resources; Thereby judge whether this resource needs to download, and increases the security of user's download.
Downloading task for downloaded software; All kinds of resources in the downloading task are classified according to the zoned format in the database preserve to show; For example; Resource is carried out video class resource, audio class resource and can type of execution resource classification, the resource of each classification is preserved demonstration, like Fig. 3, Fig. 4, shown in Figure 5.Adopt tabulation tiling exhibition method as shown in Figure 5 for carrying out resource.And the downloaded resources in each classification can be carried out size adjustment to its image information, can the resource of downloading be sorted according to certain rule simultaneously, for example according to downloading the time of accomplishing the ordering of rule such as the title of resource.
The embodiment of the invention provides a kind of display systems of download task list, and is as shown in Figure 6, comprises server and terminal.Wherein, server is used to receive the file identification of the downloaded resources of self terminal; According to said file identification, in the corresponding relation according to the file identification, resource type and the attribute information that are provided with, obtain the resource type and the attribute information of said downloaded resources; Resource type of being obtained and attribute information are reached the terminal.Said terminal is used for when setting up downloading task, obtains the downloaded resources file identification, and said file identification is sent to said server; According to from the resource type that server obtained, from the corresponding relation of the resource type that is provided with and exhibition method, obtain corresponding exhibition method; According to the exhibition method that is obtained, show the attribute information of the downloaded resources of obtaining from server.
A kind of server that the embodiment of the invention provides, as shown in Figure 7, this server 61 comprises, memory module 700, acquisition module 720 and module 730 is provided.Wherein, memory module 700 is used for the corresponding relation of storage file sign, resource type and attribute information.Acquisition module 720 is used to receive the file identification of self terminal 62 downloaded resources, and according to this document sign, from the corresponding relation of institute's files stored sign, resource type and attribute information, obtains the resource type and the attribute information of said downloaded resources.Module 730 is provided, is used for resource type of being obtained and attribute information are offered said terminal.
Said server 61 also comprises: sort module 710 is used for resource is classified.
Said sort module 710 comprises, first taxon 711 and storage unit 712.Wherein, first taxon 711 is used for resource is classified according to the file type of resource; Storage unit 712 is used to preserve all kinds of resources.
A kind of terminal that the embodiment of the invention provides, as shown in Figure 8, this terminal 62 comprises, memory module 800, request module 810, receiver module 820 and display module 830.Wherein, memory module 800 has been stored the corresponding relation of resource type and exhibition method.Request module 810 when setting up downloading task, is obtained the file identification of downloaded resources, and said file identification is sent to server 61; Receiver module 820 is used for reception server 61 according to the resource type of said file identification transmission and the attribute information of said downloaded resources; Display module 830 is used for according to the resource type that is received, and from the corresponding relation of 800 stored resource types of memory module and exhibition method, obtains corresponding exhibition method, and shows the attribute information of the downloaded resources that is received according to this exhibition method.
The described request module comprises, first acquisition module 811 and second acquisition module 812.Wherein, first acquisition module 811 is used for the file identification according to the name acquiring downloaded resources of downloaded resources; Second acquisition module 812 is used for obtaining according to the uniform resource position mark URL of downloaded resources or file content signature the file identification of downloaded resources.
Said memory module 800 comprises, first storage unit 801, second storage unit 802 and the 3rd storage unit 803.Wherein, first storage unit 801 is used to preserve the corresponding relation of video class resource and exhibition method thereof, and said exhibition method comprises that the video interception of video resource shows; Second storage unit 802 is used to preserve the corresponding relation of audio class resource and exhibition method thereof, and said exhibition method comprises the surface plot of music album under the corresponding song of audio resource and/or singer's photo display; The 3rd storage unit 803, being used to preserve can type of execution resource and the corresponding relation of exhibition method, and said exhibition method comprises that the safe condition that can carry out resource and/or the version information of resource show.
When the embodiment of the invention is showed the downloaded resources in the download task list in downloaded software; According to setting different exhibition methods in the downloaded software that do not coexist of resource type, every kind of exhibition method offers the user with the relevant peculiar information in all kinds of resources.Therefore, the present invention can make personalized, the visualize of the download task list exhibition method of downloaded software, and has improved the ease for use of down loading software management function.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.