CN101330524A - Method and apparatus for processing download and dispatching file as well as transmission file system - Google Patents

Method and apparatus for processing download and dispatching file as well as transmission file system Download PDF

Info

Publication number
CN101330524A
CN101330524A CN200810135119.4A CN200810135119A CN101330524A CN 101330524 A CN101330524 A CN 101330524A CN 200810135119 A CN200810135119 A CN 200810135119A CN 101330524 A CN101330524 A CN 101330524A
Authority
CN
China
Prior art keywords
file
download
character
characteristic
descriptor
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN200810135119.4A
Other languages
Chinese (zh)
Inventor
唐鲲鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200810135119.4A priority Critical patent/CN101330524A/en
Publication of CN101330524A publication Critical patent/CN101330524A/en
Priority to PCT/CN2009/071035 priority patent/WO2010012162A1/en
Priority to CN200980000011.7A priority patent/CN101816198A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/102Entity profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the invention discloses a processing method for downloading a file and a device thereof, a processing method for assigning a file and a device thereof, and a system for transmitting a file, and belongs to the communication field. The processing method for downloading the file comprises the steps of receiving the feature characters of the file; downloading the file; generating the new feature characters of the file according to the downloaded file; comparing the generated new feature characters of the file and the received feature characters of the file; and performing processing to the downloaded file according to compared results. The embodiment of the invention can be suitable for the processing procedures during the file downloading process, and improve the security of users.

Description

The system of processing method, device and the transfer files of download, issuing the documents
Technical field
The present invention relates to the communications field, relate in particular to file in download processing method, install and the system of processing method, device and the transfer files of issuing the documents.
Background technology
OMA (Open Mobile Alliance, Open Mobile Alliance) DLOTA (Download Over-The-Air, aerial download) be the cover organized to set up of OMA about mobile device how the mode by OTA from issuing the distolateral standard of obtaining file.The purpose of this standard design is that definition one cover has the download protocol of state notifying, issues the distolateral situation that can recognize download end file in download thereby make, and this downloading mode is referred to as OMA and downloads.
The basic process that OMA DLOTA agreement is downloaded is below described:
Download the search program in the end equipment, find interested file, and obtain relevant directional information, directional information is generally DD (Download Descriptor, the download descriptor) URL (the UniformResource Locator of file, resource locator), thus start following download flow process:
The first step: download end equipment and download descriptor from downloading down the file in download of making a start;
Second step: move and download end startup download agent, handle file and download descriptor;
After the download termination was received the DD file, this document can be downloaded the download agent (Download Agent) of end and resolve, and showed content wherein.Contain description in this DD file, finish the URL address of report transmission, URL address, version number and the supplier's information etc. that operation report sends comprising file size, file name, file type, file corresponding download URL address, download to file.
The 3rd step: capability check;
Download agent (Download Agent) is by the information in the DD file, and verification should be downloaded end equipment and whether be satisfied the condition of using this file.
The 4th step: the user confirms (optional);
The download agent of downloading end equipment will be downloaded descriptor and be shown to the user after the DD file is finished in parsing, and the user confirms whether to download this document.
The 5th step: file in download;
The request that download agent is obtained file according to the address initiation of URL in the DD file.Downloading makes a start down receives to obtain after the file request by HTTP (Hypertext Transfer Protocol, HTML (Hypertext Markup Language)) agreement file to be issued to download and holds.If obtain the file failure, download agent sends a status report that carries error code.
The 6th step: send to download and finish report (optional);
After download end equipment was finished the download of file, download agent issued to hold to download according to the result who downloads and sends the download state report, and the end of making a start under the download carries out corresponding operating according to download state report.
The 7th step: use file;
Downloading end equipment uses the file that download finishes.
The 8th step status report;
Download result that end equipment uses according to file and issue end to download and send the user mode report, the end of making a start down according to user mode report carry out corresponding operating.
In the process that realizes the embodiment of the invention, the inventor finds that there are the following problems at least in the prior art:
In the OMA download protocol, do not consider the mechanism that this content of protection is not distorted in document transmission process.Promptly in the 5th step of said process, file is probably distorted by other people in transmission course; And in the 7th step of said process, download end equipment after receiving file, can't judge whether content was distorted, and download end equipment after download is finished, the content that can use these to be distorted automatically.Illegal molecule utilizes this shortcoming probably, distorts this content when the legal file in download of user, virus, wooden horse, forbidden code is injected file allow user's download use, thereby security of users is threatened.
Summary of the invention
The embodiment of the invention provides a kind of processing method and device of file in download, and processing method of issuing the documents and device, and the system of transfer files, has improved the fail safe that the user uses file in download.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of processing method of file in download comprises:
Receive the characteristic character of file;
Download described file;
According to described downloaded files, spanned file new feature character;
The file new feature character of generation and the file characteristic character of reception are compared;
According to the result of described comparison, described downloaded files is handled.
A kind of processing method of issuing the documents comprises:
According to the file that will issue, the spanned file characteristic character;
Issue described file characteristic character.
A kind of processing unit of file in download comprises:
Receiving element is used to receive the characteristic character of file;
Download unit is used to download described file;
Generation unit is used for according to downloaded files, the new feature character of spanned file;
Comparing unit is used for the file new feature character that will generate and the file characteristic character of reception and compares;
Processing unit is used for the result according to described comparison, and described downloaded files is handled.
A kind of processing unit of issuing the documents comprises:
Generation unit is used for according to the file spanned file characteristic character that will issue;
Issue the unit, be used to issue described file characteristic character.
A kind of system of transfer files comprises:
File is downloaded end, is used for according to downloaded files spanned file new feature character; The file new feature character of generation and the file characteristic character of reception are compared; According to comparative result, downloaded files is handled;
Make a start under the file, be used for according to the file spanned file characteristic character that will issue, and issue described file characteristic character;
Wherein, to download the algorithm of the file spanned file characteristic character that end will issue according to the basis of making a start under the algorithm of downloaded files spanned file new feature character and the file identical for described file.
The described scheme of the embodiment of the invention is made a start under the file according to the file spanned file characteristic character that will issue, and issues described file characteristic character to file download end, and file is downloaded end according to the downloaded files spanned file new feature character of making a start under file; File is downloaded end the file new feature character of generation and the file characteristic character of reception is compared; According to comparative result, downloaded files is handled.File new feature character generates according to downloaded files, the file characteristic character generates according to the file that will issue, the algorithm that described file is downloaded the file spanned file characteristic character that end will issue according to the basis of making a start under the algorithm of downloaded files spanned file new feature character and the file is identical, if file does not change in process of downloading, then file new feature character is consistent with file characteristic character comparative result, if variation has taken place in file in process of downloading, then file new feature character and file characteristic character are more inconsistent, increased the mechanism of judging whether downloaded files is distorted, improved the fail safe of download user, avoided the user's download end to use the file in download of being distorted, and security of users has been threatened.
Description of drawings
Fig. 1 is the first embodiment flow chart of the processing method of file in download of the present invention;
Fig. 2 is the second embodiment flow chart of the processing method of file in download of the present invention;
The first embodiment flow chart of the processing method that Fig. 3 issues the documents for the present invention;
The second embodiment flow chart of the processing method that Fig. 4 issues the documents for the present invention;
Fig. 5 is the structure chart of the system of embodiment of the invention transfer files;
Fig. 6 is the flow chart of the system applies scene of embodiment of the invention transfer files;
Fig. 7 is the structure chart of processing unit first embodiment of file in download of the present invention;
Fig. 8 is the structure chart of processing unit second embodiment of file in download of the present invention;
The structure chart of processing unit first embodiment that Fig. 9 issues the documents for the present invention;
The structure chart of processing unit second embodiment that Figure 10 issues the documents for the present invention.
Embodiment
For the advantage of the technical scheme that makes the embodiment of the invention is clearer, embodiments of the invention are described in further detail below in conjunction with the drawings and specific embodiments.
On the one hand, the embodiment of the invention provides a kind of processing method of file in download.
Embodiment 1
As shown in Figure 1, the processing method of embodiment of the invention file in download comprises:
S101, the characteristic character of reception file; This step can for:
(a) receive file and download descriptor, described file carries the file characteristic character in downloading and describing;
(b) from described file download descriptor, parse described file characteristic character.
S102 downloads described file;
S103, according to described downloaded files, spanned file new feature character;
The described step of downloading the download request spanned file new feature character of descriptor according to file includes but not limited to following method:
(1) content of file is made a summary; Information behind the summary is encoded; For example, after employing SHA (Secure Hash Algorithm, SHA) algorithm is made a summary the content of file, and carry out Base64 coding back with regard to spanned file new feature character;
(2) or be, to the content of file with download in end character characteristic or the key one or their combination and make a summary; Information behind the summary is encoded; The file new feature character fail safe that this method generates is than higher.This step can be for several down several:
(a) content of file is made a summary with download end character characteristic; Information behind the summary is encoded spanned file new feature character;
(b) to making a summary in the content of file and the key; Information behind the summary is encoded spanned file new feature character;
(c) content of file is made a summary with download end character characteristic and key; Information behind the summary is encoded spanned file new feature character;
(3) or be the content of file to be carried out cryptographic calculation, spanned file new feature character;
(4) or be, the content of file and any one or their combination of downloading in end character characteristic and the key are carried out cryptographic calculation, spanned file new feature character; This step can be for several down several:
(a) content of file is carried out cryptographic calculation, spanned file new feature character with download end character characteristic;
(b) content and the key to file carries out cryptographic calculation, spanned file new feature character;
(c) content of file is carried out cryptographic calculation, spanned file new feature character with download end character characteristic and key;
(5) or be, gather the content of file and download the end character characteristic as file new feature character;
(6) or be, gather the content of file as file new feature character; The file new feature char's algorithm that this method generates is fairly simple, less demanding to systematic function.
Wherein, the content of described file can be the whole bytes or the partial bytes of file.Described download end character characteristic is for downloading the end number, download the end equipment serial number, downloading any one or the combination in any between them in the end model.
Wherein, the key of downloading end is to use in advance, for example can adopt standard public/private keys mechanism, and the public/private keys certificate that general download end all can more prefabricated standards bodies before dispatching from the factory is as CA (CertificateAuthority, authentication center) certificate.
Wherein, cryptographic algorithm can comprise: symmetric encipherment algorithm, rivest, shamir, adelman and hashing algorithm.
(1) symmetric encipherment algorithm.It is same as secret cryptographic key that the symmetrical keys encryption system is that encryption and decryption are all adopted, and communicating pair all must obtain this key, and keep the secret of key.Algorithms most in use has:
(a) DES (Data Encryption Standard, data encryption standard), this algorithm speed is very fast, is applicable to the occasion of encrypting mass data.
(b) 3DES (Triple DES): be based on DES, a blocks of data carried out three times with three different keys encrypt, Cipher Strength is higher.
(c) AES (Advanced Encryption Standard, Advanced Encryption Standard) is follow-on cryptographic algorithm standard, and speed is fast, the level of security height;
(d) XOR algorithm.
(2) rivest, shamir, adelman: the encryption key pair (PKI) that the asymmetric-key encryption system adopts is different with decryption key spoon (private key).Algorithms most in use has:
(a) RSA: be a public key algorithm of supporting elongated key, it also is variable needing the length of the blocks of files of encryption;
(b) DSA (Digital Signature Algorithm): Digital Signature Algorithm is a kind of DSS (DSS) of standard;
(c) ECC (Elliptic Curves Cryptography, elliptic curve cipher coding theory).
(3) hash (Hash) algorithm
The effect of hash is the summary info string that the information (original text) of random length can be obtained after treatment a fixed length, and same original text is handled with same hashing algorithm, and the informative abstract string that at every turn obtains is identical.Hash algorithm is unidirectional, in case data are converted, just can't obtain its original value with the method for determining again.In most of the cases, the length of original text all surpasses the length of summary info string, and therefore, in Hash computation processes, the information of original text is by partial loss, and this makes that original text can't be from summary info reconstruct.This irreversible feature of hashing algorithm makes it be well suited for being used to confirm the integrality of original text.
Hashing algorithm commonly used comprises: MD5 (Message-Digest Algorithm, message digest algorithm) and SHA (Secure Hash Algorithm, SHA).
Wherein, the content of described file can be the whole bytes or the partial bytes of file.
Described download end character characteristic is for downloading the end number, download the end equipment serial number, downloading any one or the combination in any between them in the end model.
S104 compares the file new feature character of generation and the file characteristic character of reception;
In this step, if file does not change in process of downloading, then file new feature character is consistent with file characteristic character comparative result, if variation has taken place file in process of downloading, then file new feature character and file characteristic character are more inconsistent.
S105 according to the result of described comparison, handles described downloaded files.
The processing method of the described file in download of the embodiment of the invention, increased the mechanism of judging whether downloaded files is distorted, improved the fail safe of download user, avoided the user's download end to use the file in download of being distorted, and security of users is threatened.
Embodiment 2
A kind of processing method of file in download as shown in Figure 2, comprising:
S201 downloads end and downloads descriptor from issuing termination message in-coming part, and described file is downloaded and carried the file characteristic character in the description, expression makes a start whether support the field of the anti-tamper function of file in download and the URL of file down;
S202 parses field, the file characteristic character that expression is made a start and whether supported the anti-tamper function of file in download down respectively from described file download descriptor, and the URL of file;
S203 makes a start whether support the anti-tamper function of file in download under the field of whether supporting the anti-tamper function of file in download according to making a start under the expression, the judgement, thereby carries out different processing.If under make a start and support the anti-tamper function of file in download, then carry out next step.
S204 according to the URL that parses, downloads described file;
S205, according to described downloaded files, spanned file new feature character;
Wherein, the method for spanned file new feature character is identical with the method for generation new feature character among the embodiment 1, repeats no more here.
S206 compares the file new feature character of generation and the file characteristic character of reception;
S207 according to the result of described comparison, handles described downloaded files.
Wherein, when comparative result is consistent, use described downloaded files; Use downloaded files perhaps to be broadcast multimedia file in download or the like for the application software of downloading is installed.
When comparative result is inconsistent, abandon using described downloaded files, abandon using downloaded files or to be uneasy dress downloaded files or the like for the deletion downloaded files.
The processing method of the described file in download of the embodiment of the invention, increased the mechanism of judging whether downloaded files is distorted, improved the fail safe of download user, avoided the user's download end to use the file in download of being distorted, and security of users is threatened.
On the other hand, the embodiment of the invention provides a kind of processing method of issuing the documents.
Embodiment 1
As shown in Figure 3, a kind of processing method of issuing the documents of the embodiment of the invention comprises:
S301, according to the file that will issue, the spanned file characteristic character;
Wherein, in the processing method of issuing the documents in the processing method of generating feature character and file in download the algorithm of spanned file new feature character be corresponding, adopt identical algorithm simultaneously, therefore can verify whether the file that issues is distorted.
S302 issues described file characteristic character.
The processing method that the embodiment of the invention is issued the documents, according to the file that will issue, the spanned file characteristic character; Issue described file characteristic character, when issuing the documents, issue the file characteristic character of expression file characteristic, therefore increased the mechanism of judging whether file in download is distorted, increased the fail safe that file is downloaded end.
Embodiment 2
As shown in Figure 4, the embodiment of the invention provides a kind of processing method of issuing the documents, and comprising:
S401 receives the download request that file is downloaded descriptor;
S402, locating file is downloaded the file that will issue of descriptor correspondence;
S403 is according to the file that will issue of file download descriptor correspondence, the characteristic character of spanned file;
The step of the characteristic character of the described download request spanned file of downloading descriptor according to file is:
Comprise, the content of file is made a summary; Information behind the summary is encoded the new feature character of spanned file;
Perhaps comprise, to the content of file with download in end character characteristic and the key one or their combination and make a summary; Information behind the summary is encoded the new feature character of spanned file;
Perhaps comprise, the content of file is carried out cryptographic calculation, the new feature character of spanned file;
Perhaps comprise, the content of file and any one or their combination of downloading in end character characteristic and the key are carried out cryptographic calculation, the new feature character of spanned file;
Perhaps comprise, gather the content of file and download the new feature character of end character characteristic as file;
Perhaps comprise, gather the new feature character of the content of file as file;
Wherein, carry download end character characteristic in the download request of described file download descriptor; The content of described file can be the whole bytes or the partial bytes of file.
Described download end character characteristic is for downloading the end number, download the end equipment serial number, downloading any one or the combination in any between them in the end model.Described hashing algorithm is: MD5 or SHA-1 or MAC algorithm or XOR algorithm.
Wherein, in the processing method of issuing the documents in the processing method of generating feature character and file in download the algorithm of spanned file new feature character be corresponding, adopt identical algorithm simultaneously, therefore can verify whether the file that issues is distorted.
S404 uses the file characteristic character that generates to upgrade local file and downloads descriptor;
Because the file before upgrading is downloaded descriptor and carried file resource locator URL, therefore, the file after the renewal is downloaded descriptor and is carried the file characteristic character and the file resource locator URL of generation.
S405, the file that issues after the renewal is downloaded descriptor.
S406 receives the request of issuing the documents of carrying the URL that issues the documents, and issues the documents according to described URL.
The described processing method of issuing the documents of the embodiment of the invention receives the download request that file is downloaded descriptor; Download the characteristic character of the download request spanned file of descriptor according to file; The characteristic character of issuing the documents makes and downloads end by the file characteristic character that receives and the local new file characteristic character that generates relatively, and judges that whether issue in the process file is distorted, and has increased the fail safe of downloading the end file in download.
On the other hand, as shown in Figure 5, the embodiment of the invention provides a kind of system of transfer files, comprising:
File is downloaded end 10, is used to receive file resource locator URL and file characteristic character; Sensing file in download according to file URL; According to downloaded files spanned file characteristic character; The file characteristic character of generation and the file characteristic character of reception are compared; According to comparative result, downloaded files is handled;
Make a start 20 under the file, be used to receive the download request that file is downloaded descriptor; Download the download request spanned file characteristic character of descriptor according to file; The characteristic character of issuing the documents;
Wherein, to download the algorithm of the file spanned file characteristic character that end 10 will issue according to 20 bases of making a start under the algorithm of downloaded files spanned file new feature character and the file identical for described file.
Make a start 20 under the file, also be used to receive the request of issuing the documents, and issue the documents.
File is downloaded end 10 can be mobile phone, PDA (personal digital assistant), computer etc., and making a start under the file 20 can be for server etc.
10 pairs of downloaded files of described file download end are handled and are specially:
When comparative result is consistent, use described downloaded files; When comparative result is inconsistent, abandon using described downloaded files.
Described file is downloaded end 10 reception file characteristic characters and is specially: receive file and download descriptor, described file carries the file characteristic character in downloading and describing; From described file download descriptor, parse described file characteristic character;
Make a start under the described file and 20 issue described file characteristic character and be specially: add described file characteristic character to file and download in the descriptor; Issue the file that is added with the file characteristic character and download descriptor.
The system of the described transfer files of the embodiment of the invention of the embodiment of the invention, file issues the download request that termination message in-coming part is downloaded descriptor; Download the download request spanned file characteristic character of descriptor according to file; The characteristic character of issuing the documents.File is downloaded termination message in-coming part resource locator URL and file characteristic character; Sensing file in download according to file URL; According to downloaded files spanned file characteristic character; The file characteristic character of generation and the file characteristic character of reception are compared; According to comparative result, downloaded files is handled; The embodiment of the invention has increased the mechanism of judging whether downloaded files distorts, has improved the fail safe of download user, has avoided the user's download end to use the content of being distorted, and security of users is threatened.
The processing method of the described file in download of the embodiment of the invention, the scene that can be applied to download promptly, is applied to the OMA agreement.
As shown in Figure 6, below be example with OMA agreement file in download, the download flow process of application scenarios of the system of embodiment of the invention transfer files is described.Those skilled in the art can understand, and the embodiment of the invention is not limited to the OAM agreement, also are not limited to wireless downloading and internet and download, and can be applied to have in the downloading process other download flow process of downloading the descriptor process.It is Client/Server (client/server) pattern that the embodiment of the invention not only is applied to downloading process, also goes in peer-to-peer (point-to-point) pattern.The flow process of transfer files is as follows:
1, by portal website, also can be the various means such as multimedia message, EMAIL between user website, download end and find that file can be for downloading, and obtain the URL that file is downloaded the descriptor correspondence.
2, download the URL of end according to the file download descriptor correspondence that obtains, the DD file of file in download correspondence is wanted in the request of making a start downwards, carries the character characteristic of downloading end in the request.
3, issue the request that termination is accepted the DD file that carries end file in download correspondence, parse the download end character characteristic that carries in the request, and search the file that will issue of DD correspondence, and the file and the download end character characteristic that will issue carried out cryptographic calculation, the characteristic character of spanned file.The characteristic character of spanned file can be used described other operation method of other embodiment of the present invention.
4, the file characteristic character renewal DD file of making a start down and using generation, the DD file after the described renewal carries the file characteristic character of generation.
5, make a start down the DD file after upgrading is handed down to and download end.
6, download termination and receive the DD file, parse the file characteristic character of reception from the DD file, and according to the information in the DD file, whether verification is downloaded end and had the ability to use this document, the step of check is optional.
7, download the partial information of holding the DD file and be shown to the user, confirmed to download by the user, this step is optional.If the client then carries out next step after confirming to download.
8, download end and obtain the download address URL of file, and make a start downwards according to the sensing of URL and to ask for file according to the information in the DD file.
9, download end and download the file of making a start and issuing down.
10, download end after having downloaded file, make a start downwards to send to download and finish report.
11, make a start down and carry downwards end and return to download and finish the report response.
12, download the character characteristic of end according to downloaded files and download end, spanned file new feature character.Wherein, download end spanned file new feature character is consistent with the algorithm of the spanned file characteristic character of making a start down.
13, the file characteristic character of downloading in the DD file of file new feature character that end will generate and reception compares, in order to verify whether downloaded files is distorted.
14, download end according to comparative result, downloaded files is handled.Under the situation of comparative result unanimity, download end file is used, use software can be the application software of installation download, perhaps for playing media files downloaded; If comparative result is inconsistent, then abandon using downloaded files.
15, download end transmission treatment state is reported down and is made a start; Under the situation of comparative result unanimity, downloading and carrying file in download in the status report of holding transmission is correct keying; If comparative result is inconsistent, downloads to hold and carry the keying of file in download in the status report that sends for mistake.
16, make a start down and finish charging the user according to treatment state report.
17, make a start down and return treatment state report response to downloading end.
18, after the download end is received response, according to the correctness of file in download, the prompting user.Under the situation of comparative result unanimity, the file of downloading end prompting user's download is legal, can use; If comparative result is inconsistent, the file of downloading end prompting user's download is illegal, can't use.
The embodiment of the invention is by expansion OMA DLOTA agreement, and after file was distorted in transmission course, then resistance system was used file, had guaranteed to download the fail safe of end subscriber.
On the other hand, as shown in Figure 7, the embodiment of the invention provides a kind of processing unit of file in download, comprising:
Receiving element 51 is used to receive the characteristic character of file;
Download unit 52 is used to download described file;
Generation unit 53 is used for according to downloaded files, the new feature character of spanned file;
Comparing unit 54 is used for the file new feature character that will generate and the file characteristic character of reception and compares;
Processing unit 55 is used for the result according to described comparison, and described downloaded files is handled.
Optionally, as shown in Figure 8, described processing unit 55 comprises:
Use unit 551, when the result of described comparison is consistent, use described downloaded files;
Abandon unit 552, when the result of described comparison is inconsistent, abandon using described downloaded files.
Wherein, generation unit 53 is used for according to downloaded files, and the new feature character of spanned file is specially:
Content to file is made a summary; Information behind the summary is encoded, generate described file characteristic character;
Perhaps be, to the content of file with download in end character characteristic and the key one or their combination and make a summary; Information behind the summary is encoded, generate described file characteristic character;
Perhaps be, the content of file is carried out cryptographic calculation, generate described file characteristic character;
Perhaps be, cryptographic calculation is carried out in the content of file and any one or their combination of downloading in end character characteristic and the key, generate described file characteristic character;
Perhaps be to gather the content of file and download the end character characteristic as the file characteristic character;
Perhaps be that the content of gathering file is as the file characteristic character;
Wherein, the content of described file can be the whole bytes or the partial bytes of file,
Carry in the download request of described file download descriptor and download the end character characteristic.
Described download end character characteristic is for downloading the end number, download the end equipment serial number, downloading any one or the combination in any between them in the end model.
Described receiving element 51 comprises:
File is downloaded descriptor receiving element 511, is used to receive file and downloads descriptor, and described file carries the file characteristic character in downloading and describing;
Resolution unit 512 is used for downloading descriptor from described file and parses described file characteristic character.
The processing unit of the described file in download of the embodiment of the invention, receiving element receives the characteristic character of file; Download unit is downloaded described file; Generation unit is according to downloaded files, the new feature character of spanned file; Comparing unit compares the file new feature character of generation and the file characteristic character of reception; Processing unit is according to the result of described comparison, described downloaded files is handled, compare by the file characteristic character of generation and the file characteristic character of reception, can judge whether downloaded files is distorted, according to comparative result, downloaded files is handled, improved the fail safe that the user uses file in download.
On the other hand, as shown in Figure 9, the embodiment of the invention provides a kind of processing unit of issuing the documents, and comprising:
Generation unit 71 is used for according to the file spanned file characteristic character that will issue;
Issue unit 72, be used to issue described file characteristic character.
Wherein, generation unit 71 is specially according to the file spanned file characteristic character that will issue:
Content to file is made a summary; Information behind the summary is encoded, generate described file characteristic character;
Perhaps be, to the content of file with download in end character characteristic and the key one or their combination and make a summary; Information behind the summary is encoded, generate described file characteristic character;
Perhaps be, the content of file is carried out cryptographic calculation, generate described file characteristic character;
Perhaps be, cryptographic calculation is carried out in the content of file and any one or their combination of downloading in end character characteristic and the key, generate described file characteristic character;
Perhaps be to gather the content of file and download the end character characteristic as the file characteristic character;
Perhaps be that the content of gathering file is as the file characteristic character;
Wherein, the content of described file can be the whole bytes or the partial bytes of file,
Carry in the download request of described file download descriptor and download the end character characteristic.
Described download end character characteristic is for downloading the end number, download the end equipment serial number, downloading any one or the combination in any between them in the end model.
In the processing unit of wherein, issuing the documents in the processing unit of the algorithm of spanned file characteristic character and file in download the algorithm of spanned file new feature character consistent.
Optionally, as shown in figure 10, the processing unit of issuing the documents also comprises:
Receiving element 73 is used to receive the download request that file is downloaded descriptor;
Search unit 74, be used for the file that will issue that locating file is downloaded the descriptor correspondence.
Wherein, the described unit 72 that issues comprises:
Adding device 721 is used for adding described file characteristic character to file and downloads descriptor;
Transmitting element 722 is used to issue the described file that is added with the file characteristic character and downloads descriptor.
The described processing unit of issuing the documents of the embodiment of the invention, generation unit is according to the file spanned file characteristic character that will issue; Issue the unit and issue described file characteristic character, make to download end relatively, and judge that whether issue in the process file is distorted, and has increased the fail safe of downloading the end file in download by the file characteristic character that receives and the local file characteristic character that generates.
One of ordinary skill in the art will appreciate that, realize all or part of flow process in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection range with claim.

Claims (19)

1, a kind of processing method of file in download is characterized in that, comprising:
Receive the characteristic character of file;
Download described file;
According to described downloaded files, spanned file new feature character;
The file new feature character of generation and the file characteristic character of reception are compared;
According to the result of described comparison, described downloaded files is handled.
2, the processing method of file in download according to claim 1 is characterized in that, the step of described reception file characteristic character is:
Receive file and download descriptor, described file carries the file characteristic character in downloading and describing;
From described file download descriptor, parse described file characteristic character.
3, the processing method of file in download according to claim 1 is characterized in that, described according to result relatively, the step that downloaded files is handled comprises:
When comparative result is consistent, use described downloaded files;
When comparative result is inconsistent, abandon using described downloaded files.
4, the processing method of file in download according to claim 1 is characterized in that, and is described according to downloaded files, and the step of the new feature character of spanned file is:
Content to file is made a summary; Information behind the summary is encoded the new feature character of spanned file;
Perhaps, to the content of file with download in end character characteristic and the key one or their combination and make a summary; Information behind the summary is encoded the new feature character of spanned file;
Perhaps, the content of file is carried out cryptographic calculation, the new feature character of spanned file;
Perhaps, the content of file and any one or their combination of downloading in end character characteristic and the key are carried out cryptographic calculation, the new feature character of spanned file;
Perhaps comprise, gather file content and download the new feature character of end character characteristic as file;
Perhaps comprise, gather the new feature character of file content as file;
Wherein, the content of described file can be the whole bytes or the partial bytes of file.
5, the processing method of file in download according to claim 4 is characterized in that, described download end character characteristic is for downloading the end number, download the end equipment serial number, downloading any one or the combination in any between them in the end model.
6, a kind of processing method of issuing the documents is characterized in that, comprising:
According to the file that will issue, the spanned file characteristic character;
Issue described file characteristic character.
7, processing method of issuing the documents according to claim 6 is characterized in that, the step of the described characteristic character of issuing the documents comprises:
Adding described file characteristic character to file downloads in the descriptor;
Issue the described file that is added with the file characteristic character and download descriptor.
8, processing method of issuing the documents according to claim 6 is characterized in that, comprising:
Receive file and download the download request of descriptor;
Locating file is downloaded the file that will issue of descriptor correspondence.
9, processing method of issuing the documents according to claim 8 is characterized in that, the file that described basis will issue, and the step of spanned file characteristic character is:
Content to file is made a summary; Information behind the summary is encoded, generate described file characteristic character;
Perhaps be, to the content of file with download in end character characteristic and the key one or their combination and make a summary; Information behind the summary is encoded, generate described file characteristic character;
Perhaps be, the content of file is carried out cryptographic calculation, generate described file characteristic character;
Perhaps be, cryptographic calculation is carried out in the content of file and any one or their combination of downloading in end character characteristic and the key, generate described file characteristic character;
Perhaps be to gather the content of file and download the end character characteristic as the file characteristic character;
Perhaps be that the content of gathering file is as the file characteristic character;
Wherein, the content of described file can be the whole bytes or the partial bytes of file,
Carry in the download request of described file download descriptor and download the end character characteristic.
10, processing method of issuing the documents according to claim 9 is characterized in that, described download end character characteristic is for downloading the end number, download the end equipment serial number, downloading any one or the combination in any between them in the end model.
11, a kind of processing unit of file in download is characterized in that, comprising:
Receiving element is used to receive the characteristic character of file;
Download unit is used to download described file;
Generation unit is used for according to downloaded files, the new feature character of spanned file;
Comparing unit is used for the file new feature character that will generate and the file characteristic character of reception and compares;
Processing unit is used for the result according to described comparison, and described downloaded files is handled.
12, the processing unit of file in download according to claim 11 is characterized in that, described processing unit also comprises:
Use the unit, when being used for the result's unanimity when described comparison, use described downloaded files;
Abandon the unit, be used for when the result of described comparison is inconsistent, not using described downloaded files.
13, the processing unit of file in download according to claim 11 is characterized in that,
Described receiving element comprises:
File is downloaded the descriptor receiving element, is used to receive file and downloads descriptor, and described file carries the file characteristic character in downloading and describing;
Resolution unit is used for downloading descriptor from described file and parses described file characteristic character.
14, a kind of processing unit of issuing the documents is characterized in that, comprising:
Generation unit is used for according to the file spanned file characteristic character that will issue;
Issue the unit, be used to issue described file characteristic character.
15, processing unit of issuing the documents according to claim 14 is characterized in that, also comprises:
Receiving element is used to receive the download request that file is downloaded descriptor;
Search the unit, be used for the file that will issue that locating file is downloaded the descriptor correspondence.
16, processing unit of issuing the documents according to claim 14 is characterized in that, the described unit that issues comprises:
Adding device is used for adding described file characteristic character to file and downloads descriptor;
Transmitting element is used to issue the described file that is added with the file characteristic character and downloads descriptor.
17, a kind of system of transfer files is characterized in that, comprising:
File is downloaded end, is used for according to downloaded files spanned file new feature character; The file new feature character of generation and the file characteristic character of reception are compared; According to comparative result, downloaded files is handled;
Make a start under the file, be used for according to the file spanned file characteristic character that will issue, and issue described file characteristic character;
Wherein, to download the algorithm of the file spanned file characteristic character that end will issue according to the basis of making a start under the algorithm of downloaded files spanned file new feature character and the file identical for described file.
18, the system of transfer files according to claim 17 is characterized in that, described file download end is handled downloaded files and is specially:
When comparative result is consistent, use described downloaded files;
When comparative result is inconsistent, abandon described downloaded files.
19, the system of transfer files according to claim 17 is characterized in that,
Described file is downloaded termination message in-coming part characteristic character and is specially: receive file and download descriptor, described file carries the file characteristic character in downloading and describing; From described file download descriptor, parse described file characteristic character;
Make a start under the described file and issue described file characteristic character and be specially: add described file characteristic character to file and download in the descriptor; Issue the file that is added with the file characteristic character and download descriptor.
CN200810135119.4A 2008-07-30 2008-07-30 Method and apparatus for processing download and dispatching file as well as transmission file system Pending CN101330524A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN200810135119.4A CN101330524A (en) 2008-07-30 2008-07-30 Method and apparatus for processing download and dispatching file as well as transmission file system
PCT/CN2009/071035 WO2010012162A1 (en) 2008-07-30 2009-03-27 Processing method and apparatus of downloading and down-sending file
CN200980000011.7A CN101816198A (en) 2008-07-30 2009-03-27 Processing method and apparatus of downloading and down-sending file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810135119.4A CN101330524A (en) 2008-07-30 2008-07-30 Method and apparatus for processing download and dispatching file as well as transmission file system

Publications (1)

Publication Number Publication Date
CN101330524A true CN101330524A (en) 2008-12-24

Family

ID=40206103

Family Applications (2)

Application Number Title Priority Date Filing Date
CN200810135119.4A Pending CN101330524A (en) 2008-07-30 2008-07-30 Method and apparatus for processing download and dispatching file as well as transmission file system
CN200980000011.7A Pending CN101816198A (en) 2008-07-30 2009-03-27 Processing method and apparatus of downloading and down-sending file

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN200980000011.7A Pending CN101816198A (en) 2008-07-30 2009-03-27 Processing method and apparatus of downloading and down-sending file

Country Status (2)

Country Link
CN (2) CN101330524A (en)
WO (1) WO2010012162A1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010012162A1 (en) * 2008-07-30 2010-02-04 华为技术有限公司 Processing method and apparatus of downloading and down-sending file
CN102208000A (en) * 2010-03-31 2011-10-05 伊姆西公司 Method and system for providing security mechanisms for virtual machine images
CN102685108A (en) * 2012-03-31 2012-09-19 奇智软件(北京)有限公司 Method and device for adding and deciphering webpage enciphered data
CN103036925A (en) * 2011-09-29 2013-04-10 深圳市快播科技有限公司 File anti-downloading processing method and file anti-downloading processing system
CN103152371A (en) * 2011-12-07 2013-06-12 腾讯科技(深圳)有限公司 Peer to server and peer (P2SP) download supervision method and P2SP download supervision system
CN105527875A (en) * 2015-12-09 2016-04-27 北京市计量检测科学研究院 System and method for remotely monitoring measurement information of energy metering instrument
CN105868239A (en) * 2015-12-10 2016-08-17 乐视网信息技术(北京)股份有限公司 File updating method, device and terminal
CN106295407A (en) * 2016-08-22 2017-01-04 杭州华三通信技术有限公司 A kind of detect the method and device whether file is tampered
CN108573173A (en) * 2017-07-16 2018-09-25 高榕科技(深圳)有限公司 Using memory as the electronic information method for down loading and system of carrier
CN108965486A (en) * 2018-10-08 2018-12-07 深圳市创维软件有限公司 A kind of document down loading method, system, server and storage medium
CN110287733A (en) * 2019-06-05 2019-09-27 杭州迪普科技股份有限公司 A kind of file tamper resistant method and device
CN116915765A (en) * 2023-09-12 2023-10-20 福建慧政通信息科技有限公司 File downloading management method and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683303B (en) * 2013-11-28 2018-03-30 天津三星电子有限公司 APP management methods
WO2016066661A1 (en) 2014-10-31 2016-05-06 Basf Se Copolymers for making membranes

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1289326A1 (en) * 2001-08-30 2003-03-05 Motorola, Inc. Method of verifying downloaded software and corresponding device
US8370957B2 (en) * 2006-12-05 2013-02-05 Samsung Electronics Co., Ltd Method and apparatus for transmitting contents with limited system permissions
CN101146261B (en) * 2007-10-19 2010-12-08 深圳掌媒科技有限公司 A realization method for digital protection of electronic media
CN101330524A (en) * 2008-07-30 2008-12-24 华为技术有限公司 Method and apparatus for processing download and dispatching file as well as transmission file system

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010012162A1 (en) * 2008-07-30 2010-02-04 华为技术有限公司 Processing method and apparatus of downloading and down-sending file
CN102208000A (en) * 2010-03-31 2011-10-05 伊姆西公司 Method and system for providing security mechanisms for virtual machine images
CN102208000B (en) * 2010-03-31 2017-05-17 伊姆西公司 Method and system for providing security mechanisms for virtual machine images
CN103036925B (en) * 2011-09-29 2016-04-27 深圳市云帆世纪科技有限公司 The anti-download process method and system of a kind of file
CN103036925A (en) * 2011-09-29 2013-04-10 深圳市快播科技有限公司 File anti-downloading processing method and file anti-downloading processing system
CN103152371B (en) * 2011-12-07 2016-06-22 腾讯科技(深圳)有限公司 P2SP downloads monitoring and managing method and system
CN103152371A (en) * 2011-12-07 2013-06-12 腾讯科技(深圳)有限公司 Peer to server and peer (P2SP) download supervision method and P2SP download supervision system
CN102685108B (en) * 2012-03-31 2015-11-11 北京奇虎科技有限公司 The interpolation of encrypting web data, decryption method and device
CN102685108A (en) * 2012-03-31 2012-09-19 奇智软件(北京)有限公司 Method and device for adding and deciphering webpage enciphered data
CN105527875A (en) * 2015-12-09 2016-04-27 北京市计量检测科学研究院 System and method for remotely monitoring measurement information of energy metering instrument
CN105868239A (en) * 2015-12-10 2016-08-17 乐视网信息技术(北京)股份有限公司 File updating method, device and terminal
CN106295407A (en) * 2016-08-22 2017-01-04 杭州华三通信技术有限公司 A kind of detect the method and device whether file is tampered
CN106295407B (en) * 2016-08-22 2021-07-20 新华三技术有限公司 Method and device for detecting whether file is tampered
CN108573173A (en) * 2017-07-16 2018-09-25 高榕科技(深圳)有限公司 Using memory as the electronic information method for down loading and system of carrier
CN108965486A (en) * 2018-10-08 2018-12-07 深圳市创维软件有限公司 A kind of document down loading method, system, server and storage medium
CN110287733A (en) * 2019-06-05 2019-09-27 杭州迪普科技股份有限公司 A kind of file tamper resistant method and device
CN116915765A (en) * 2023-09-12 2023-10-20 福建慧政通信息科技有限公司 File downloading management method and system
CN116915765B (en) * 2023-09-12 2023-12-05 福建慧政通信息科技有限公司 File downloading management method and system

Also Published As

Publication number Publication date
WO2010012162A1 (en) 2010-02-04
CN101816198A (en) 2010-08-25

Similar Documents

Publication Publication Date Title
CN101330524A (en) Method and apparatus for processing download and dispatching file as well as transmission file system
JP6612358B2 (en) Method, network access device, application server, and non-volatile computer readable storage medium for causing a network access device to access a wireless network access point
CN102231746B (en) Method for validating identification information and terminal thereof
CN111327583B (en) Identity authentication method, intelligent equipment and authentication server
TWI608361B (en) Electrionic device, server, communication system and communication method
CA2879910C (en) Terminal identity verification and service authentication method, system and terminal
WO2008106848A1 (en) A wireless terminal security network and card locking method based on the ellipse curve public key cipher
CN102916948B (en) Data safety processing method and device, and terminal
CN107612889B (en) Method for preventing user information leakage
CN101416541A (en) Method and system for phone-number discovery and phone-number authentication for m0bile communications devices
CN101742508A (en) System and method for transmitting files between WAPI terminal and application server
CN115396121B (en) Security authentication method for security chip OTA data packet and security chip device
US8214644B2 (en) Method for installing rights object for content in memory card
CN104602238A (en) Wireless network connecting method, device and system
CN101621794A (en) Method for realizing safe authentication of wireless application service system
CN102685739B (en) Authentication method and system for Android enterprise applications
US7913096B2 (en) Method and system for the cipher key controlled exploitation of data resources, related network and computer program products
CN111639357A (en) Encryption network disk system and authentication method and device thereof
CN102624892B (en) A kind of method preventing plug-in client simulation HTTP request
CN113408011A (en) File checking method and system
CN108881153B (en) Authentication method for login
CN108512824B (en) Management method of home cloud files and mobile terminal
CN101483867B (en) User identity verification method, related device and system in WAP service
KR101329789B1 (en) Encryption Method of Database of Mobile Communication Device
WO2018119608A1 (en) Application processing method, network device and terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20081224