CN101816198A - Processing method and apparatus of downloading and down-sending file - Google Patents

Processing method and apparatus of downloading and down-sending file Download PDF

Info

Publication number
CN101816198A
CN101816198A CN200980000011.7A CN200980000011A CN101816198A CN 101816198 A CN101816198 A CN 101816198A CN 200980000011 A CN200980000011 A CN 200980000011A CN 101816198 A CN101816198 A CN 101816198A
Authority
CN
China
Prior art keywords
file
download
character
characteristic
downloading
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
CN200980000011.7A
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
Publication of CN101816198A publication Critical patent/CN101816198A/en
Pending legal-status Critical Current

Links

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 provides a processing method and an apparatus of downloading a file and a processing method and an apparatus of down-sending a file, which refer to communication field. The processing method of downloading a file comprises: when a file downloading terminal initiates a request to download a file, the terminal receives a feature character of the file; in which, the feature character of the file is generated by a file down-sending terminal according to the file indicated by a file download descriptor; downloads the file; generates a new feature character of the file according to the downloaded file; compares the generated new feature character of the file with the received feature character of the file; processes the downloaded file according to the result of the comparison. The embodiment of the invention is applicable to a processing flow in downloading a file, and improves the security of users.

Description

Processing method and apparatus of downloading and down-sending file
The treating method and apparatus download, issued the documents
This application claims Patent Office of the People's Republic of China, Application No. 200810135119.4, the priority of the Chinese patent application of entitled " processing method, device and the system for transmitting file download, issued the documents " is submitted on July 30th, 2008, entire contents are hereby incorporated by reference in the application.Technical field
The present invention relates to the communications field, more particularly to download processing method, device and the processing method issued the documents, the device of file.
Background technology
0MA (Open Mobi le Al l iance, Open Mobile Alliance) DL0TA (Download Over-The-Ai r, it is aerial to download)Be 0MA organize to set up it is a set of on mobile device how by way of 0TA from issue side obtain file specification.The purpose of the Specification Design is to define a set of download protocol with state notifying, so that issuing side can recognize that downloading end downloads the situation of file, this downloading mode is referred to as 0MA downloads.
The basic process of 0MA DL0TA agreements download is described below:
The search program in end equipment is downloaded, file interested is found, and obtains the directional information of correlation, directional information is generally DD, and (Download Descr iptor download description information)URL (the Uniform Resource Loca tor, resource locator of file), so as to start following download flow:The first step:Download end equipment and download file download description information from lower originator is downloaded;
Second step:Mobile downloading end starts download agent, handles file download description information;
Downloading end is received after DD files, and this document can be downloaded the download agent at end(Download Agent) parsing, and show content therein.Containing description to file in this DD file, including file size, file name, file type, corresponding the downloads URL addresses of file, URL addresses, version number and supplier's information for downloading URL addresses that completion report sends, using report transmission etc..
3rd step:Capability check;
Download agent(Download Agent) by the information in DD files, verify whether the download end equipment meets condition using this file. 4th step:User confirms(It is optional);
The download agent of end equipment is downloaded after DD files are parsed, description information will be downloaded and be shown to user, user is confirmed whether to download this document.
5th step:Download file;
Download agent is initiated to obtain the request of file according to the address of URL in DD files.Lower originator is downloaded to receive after acquisition file request by HTTP (Hyper text Transfer Protocol, HTTP)File is issued to downloading end by agreement.If obtaining file failure, download agent sends the state report of a carrying error code.
6th step:Send and download completion report(It is optional);
Download after the download that end equipment completes file, download agent issues end to download according to the result of download and sends download state report, download lower originator end and corresponding operating is carried out according to download state report.
7th step:Use file;
Download end equipment and use downloading the file finished.
8th step status report;
The result that download end equipment is used according to file issues end to download and sends use state report, and lower originator is reported according to use state carries out corresponding operating.
The content of the invention
The embodiment of the present invention provides a kind for the treatment of method and apparatus for downloading file, and the treating method and apparatus issued the documents, and improves user and uses the security for downloading file.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
A kind of processing method for downloading file, including:When request download file is initiated at file download end, the characteristic character of file is received;Wherein, the characteristic character of the file is the file generated started according to indicated by file download description information under file;
Download the file;
According to the file of the download, file new feature character is generated;
The file new feature character of generation and the file characteristic character of reception are compared; According to the result of the comparison, the file of the download is handled.
A kind of processing method issued the documents, including:
When file is downloaded in the request of file download end, the file that will be issued according to indicated by the download request of file download description information generates file characteristic character;
The file characteristic character is issued, in order to which downloading end is according to the download file generated file new feature character;The file new feature character of the generation and the file characteristic character of reception are compared;According to the result of the comparison, the file of the download is handled.
A kind of processing unit for downloading file, including:
When request download file is initiated at file download end,
Receiving unit, the characteristic character for receiving file;Wherein, the characteristic character of the file is the file generated started according to indicated by file download description information under file;
Download unit, for downloading the file;
Generation unit, for the file according to download, generates the new feature character of file;
Comparing unit, for the file new feature character of generation and the file characteristic character of reception to be compared;
Processing unit, for according to the result of the comparison, handling the file of the download.A kind of processing unit issued the documents, including:
Generation unit, for when file is downloaded in the request of file download end, the file that will be issued according to indicated by the download request of file download description information to generate file characteristic character;
Issuance unit, for issuing the file characteristic character, in order to which downloading end is according to the download file generated file new feature character;The file new feature character of the generation and the file characteristic character of reception are compared;According to the result of the comparison, the file of the download is handled.
Scheme described in the embodiment of the present invention, the file characteristic character for the file generated started under file according to indicated by file download description information, and issue the file characteristic character and give file download end, file download end is according to the file generated file new feature character of download of being started under file;The file new feature character of generation and the file characteristic character of reception are compared by file download end;According to comparative result, to downloading File handled.File new feature character is according to the file generated of download, file generated of the file characteristic character according to indicated by file download description information, the file download end is identical with the algorithm for the file generated file characteristic character according to indicated by file download description information of being started under file according to the algorithm of the file generated file new feature character of download, if file does not change during download, then file new feature character is consistent with file characteristic charactor comparison result, if file is changed during download, then file new feature character and file characteristic charactor comparison are inconsistent, add the mechanism for judging whether the file downloaded is tampered, improve the security for downloading user, avoid user's downloading end and use the download file being tampered, and the security to user threatens.
Brief description of the drawings
Fig. 1 downloads the first embodiment flow chart of the processing method of file for the present invention;
Fig. 2 downloads the second embodiment flow chart of the processing method of file for the present invention;
The first embodiment flow chart for the processing method that Fig. 3 issues the documents for the present invention;
The second embodiment flow chart for the processing method that Fig. 4 issues the documents for the present invention;
Fig. 5 is the structure chart for the system that the embodiment of the present invention transmits file;
Fig. 6 is the flow chart for the system application scenarios that the embodiment of the present invention transmits file;
Fig. 7 downloads the structure chart of the processing unit first embodiment of file for the present invention;
Fig. 8 downloads the structure chart of the processing unit second embodiment of file for the present invention;
The structure chart for the processing unit first embodiment that Fig. 9 issues the documents for the present invention;
The structure chart for the processing unit second embodiment that Figure 10 issues the documents for the present invention.
Embodiment is that the advantage for the technical scheme for making the embodiment of the present invention is clearer, and embodiments of the invention are described in further detail with specific embodiment below in conjunction with the accompanying drawings.
On the one hand, the embodiment of the present invention provides a kind of processing method for downloading file.
Embodiment 1
As shown in Fig. 1, the processing method that the embodiment of the present invention downloads file includes:When file download end hair When playing request download file,
5101, file download terminates the characteristic character of message in-coming part;Wherein, the characteristic character of the file is the file generated started according to indicated by file download description information under file;The step can be:
(a) file download description information is received, file characteristic character is carried in the file download description;(b) the file characteristic character is parsed from the file download description information.
5102, the file is downloaded at file download end;
5103, according to the file of the download, file download end generation file new feature character;That is, file generated file new feature character of the downloading end according to download;The method that it generates file new feature character is as follows, but is not limited to following method:
(1) content to file is made a summary;Information after summary is encoded;For example, using SHA (Secure Hash Algorithm, SHA)After algorithm is made a summary the content of file, and carry out just generating file new feature character after Base64 codings;
Or be that the content and one in downloading end character characteristic or key or combinations thereof to file are made a summary (2);Information after summary is encoded;The file new feature character security of this method generation is higher.This step can be following several:
(a) content and downloading end character characteristic to file are made a summary;Information after summary is encoded, file new feature character is generated;
(b) content and key to file are made a summary;Information after summary is encoded, file new feature character is generated;
(c) content and downloading end character characteristic and key to file are made a summary;Information after summary is encoded, file new feature character is generated;
(3) or it is that computing is encrypted in the content to file, generates file new feature character;
(4) or it is that computing is encrypted in the content and any one in downloading end character characteristic and key or combinations thereof to file, generates file new feature character;This step can be following several: (a) computing is encrypted in the content and downloading end character characteristic to file, and generation file new feature word is paid;
(b) computing is encrypted in the content and key to file, generates file new feature character;
(c) computing is encrypted in the content and downloading end character characteristic and key to file, generates file new feature character;
(5) or it is that the content and downloading end character characteristic for gathering file are used as file new feature character;
(6) or it is that the content of collection file is used as file new feature character;The file new feature char's algorithm of this method generation is fairly simple, to the less demanding of systematic function.Wherein, the content of the file can be the whole bytes or partial bytes of file.The downloading end character characteristic is any one in downloading end number, downloading end equipment serial number, downloading end model or any combination between them.Wherein, the key of downloading end is to use in advance, for example can use standard public/private keys mechanism ,-as downloading end before dispatching from the factory all can some prefabricated standards bodies public/private keys certificate, such as CA (Certificate Authority, authentication center) certificate.Wherein, AES can include:Symmetric encipherment algorithm, rivest, shamir, adelman and hashing algorithm.
(1) symmetric encipherment algorithm.Symmetrical keys encryption system is encryption and decrypted using same secret cryptographic key, and communicating pair must all obtain this key, and keeps the secret of key.Algorithms most in use has:
(a) DES (Data Encryption Standard, data encryption standards), this algorithm speed is very fast, it is adaptable to the larger occasion of encryption data amount.
(b) 3DES ( Triple DES):In DES, Tertiary infilling is carried out according to three different keys to a block number, Cipher Strength is higher.
(c) AES (Advanced Encryption Standard, senior power mouthful Data Encryption Standard), it is follow-on AES standard, speed is fast, and level of security is high; (d) XOR algorithm.
(2) rivest, shamir, adelman:The encryption key pair that asymmetric-key encryption system is used(Public key)And decryption key(Private key)It is different.Algorithms most in use has:
(a) RSA:It is the public key algorithm of a support variable length key, it is necessary to which the length of the blocks of files of encryption is also variable;
(b) DSA (Digital Signature Algorithm):Digital Signature Algorithm, is a kind of DSS (DSSs of standard);
(c) ECC (Elliptic Curves Cryptography, Tuo Round curve cryptography coding theories).
(3) hash(Hash) algorithm hash effect be can be by the information of random length(Original text)The summary info string of a fixed length is obtained after treatment, same original text is handled with same hashing algorithm, and the informative abstract string obtained every time is identical.Hash algorithm is unidirectional, once data are changed, just can not obtain its original value again in the method for determination.In most cases, the length of original text is above the length of summary info string, therefore, in Hash computation processes, and the information Bei Bu Fen Lost of original text lose, and this causes original text can not be from summary info weight
Conventional hashing algorithm includes:MD5 (Message-Digest Algorithm, message digest algorithm)With SHA (Secure Hash Algorithm, SHA).Wherein, the content of the file can be the whole bytes or partial bytes of file.The downloading end character characteristic is any one in downloading end number, downloading end equipment serial number, downloading end model or any combination between them.
The file new feature character of generation and the file characteristic character of reception are compared by S104, file download end;
In the step, if file does not change during download, file new feature character is consistent with file characteristic charactor comparison result, if file is changed during download, File new feature character and file characteristic charactor comparison are inconsistent.
S105, according to the result of the comparison, file download end is handled the file of the download.The processing method of download file described in the embodiment of the present invention, add the mechanism for judging whether the file downloaded is tampered, improve the security for downloading user, it is to avoid user's downloading end is using the download file being tampered, and the security to user threatens.
A kind of processing method for downloading file of embodiment 2, as shown in Fig. 2 including:
5201, downloading end receives file download description information from end is issued, and file characteristic character is carried in the file download description, represents whether lower originator is supported to download the field of the anti-tamper function of file and the URL of file;
5202, parsed respectively from the file download description information and represent whether lower originator supports to download field, the file characteristic character of the anti-tamper function of file, and file URL;
5203, according to representing whether lower originator is supported to download whether the field of the anti-tamper function of file, the lower originator of judgement are supported to download the anti-tamper function of file, so as to carry out different processing.If lower originator is supported to download the anti-tamper function of file, next step is carried out.
5204, the URL that just blunt evidence is parsed, download the file;
5205, according to the file of the download, generate file new feature character;Wherein, the method for generation file new feature character is identical with the method that new feature character is generated in embodiment 1, repeats no more here.
5206, the file new feature character of generation and the file characteristic character of reception are compared;
5207, according to the result of the comparison, the file of the download is handled.Wherein, when comparative result is consistent, the file of the download is used;The application software that can be downloaded using the file of download for installation, or to play multimedia file downloaded etc..When comparative result is inconsistent, the file using the download is abandoned, is abandoned using the file downloaded Can be file or be that uneasiness loads file of load etc. that deletion is downloaded.The processing method of download file described in the embodiment of the present invention, add the mechanism for judging whether the file downloaded is tampered, improve the security for downloading user, it is to avoid user's downloading end is using the download file being tampered, and the security to user threatens.
On the other hand, the embodiments of the invention provide a kind of processing method issued the documents.Embodiment 1
As shown in figure 3, a kind of processing method issued the documents of the embodiment of the present invention includes:
5301, when file is downloaded in the request of file download end, the file that will issue of the lower originator according to indicated by the download request of file download description information generates file characteristic character;Specifically, being exactly that lower originator finds corresponding download file according to the download request of the file download description information of acquisition, according to the file, file characteristic character is generated;Wherein, characteristic character is generated in the processing method issued the documents identical with the algorithm of generation file new feature character in the processing method for downloading file, therefore, it is possible to verify whether the file issued is tampered.
5302, lower originator issues the file characteristic character, in order to which downloading end is according to the download file generated file new feature character;The file new feature character of the generation and the file characteristic character of reception are compared;According to the result of the comparison, the file of the download is handled.The processing method that the embodiment of the present invention is issued the documents, the download request of the file download description information according to transmitted by file download end generates file characteristic character;In order to which downloading end is according to the download file generated file new feature character;The file new feature character of the generation and the file characteristic character of reception are compared;According to the result of the comparison, the file of the download is handled.Therefore add and judge to download the mechanism whether file is tampered, add the security at file download end.
Embodiment 2
As shown in figure 4, the embodiments of the invention provide a kind of processing method issued the documents, including:S401, issues the download request that end receives file download description information; 5402, lower originator locating file downloads the corresponding file that will be issued of description information;
5403, according to the corresponding file that will be issued of file download description information, lower originator generates the characteristic character of file;The step to implement process as follows:
Content to file is made a summary;Information after summary is encoded, the new feature character of file is generated;
Or, the content of file is made a summary with one in downloading end character characteristic and key or combinations thereof;Information after summary is encoded, the new feature character of file is generated;Or, computing is encrypted in the content to file, generates the new feature character of file;Or, computing is encrypted in content and any one in downloading end character characteristic and key or combinations thereof to file, generates the new feature character of file;Or, the content and downloading end character characteristic for gathering file are used as the new feature character of file;Or, the content for gathering file is used as the new feature character of file;Wherein, downloading end character characteristic is carried in the download request of the file download description information;It is described
The downloading end character characteristic is any one in downloading end number, downloading end equipment serial number, downloading end model or any combination between them.The hashing algorithm is:MD5 or SHA-1 or MAC algorithms or XOR algorithm.Wherein, it is corresponding that the algorithm of generation file new feature character in the processing method of characteristic character and download file is generated in the processing method issued the documents, while using identical algorithm, therefore, it is possible to verify whether the file issued is tampered.
Due to carrying File Universal Resource Locator URL in the file download description information before renewal, therefore, the file download description information after renewal carries the file characteristic character and File Universal Resource Locator URL of generation. 5405, lower originator issues the file download description information after updating.
5406, issue end and receive the request of issuing the documents for carrying the URL that issues the documents, issued the documents according to the URL.Concretely, exactly when described file download termination receives the file download description information after the renewal started and issued under file, file download end can carry out file download according to File Universal Resource Locator URL entrained in the file download description information after the renewal.The processing method issued the documents described in the embodiment of the present invention, receives the download request of file download description information;The characteristic character of file is generated according to the download request of file download description information;Issue the documents characteristic character so that the new file characteristic character that downloading end is from a locally generated by the file characteristic character of reception compares, and judge whether file is tampered during issuing, add the security that downloading end downloads file.On the other hand, as shown in figure 5, the embodiment of the present invention provides a kind of system for transmitting file, including:File download end 10, for receiving File Universal Resource Locator URL and file characteristic character;File is downloaded according to file URL sensing;According to the file generated file characteristic character of download;The file characteristic character of generation and the file characteristic character of reception are compared;According to comparative result, the file of download is handled;Started under file 20, the download request for receiving file download description information;File characteristic character is generated according to the download request of file download description information;Issue the documents characteristic character;Wherein, the file download end 10 is identical with the algorithm for the 20 file generated file characteristic character according to indicated by file download description information of being started under file according to the algorithm of the file generated file new feature character of download.Start 20 under file, be additionally operable to receive the request issued the documents, and issue the documents.File download end 10 can be mobile phone, PDA (personal digital assistants), computer etc., it 20 can be server etc. to be started under file.The file of the 10 pairs of downloads in file download end is handled specially:When comparative result is consistent, the file of the download is used;When comparative result is inconsistent, abandon Use the file of the download.The file download end 10 receives file characteristic character:File download description information is received, file characteristic character is carried in the file download description;The file characteristic character is parsed from the file download description information;Originator 20 issues the file characteristic character and is specially under the file:The file characteristic character is added in file download description information;Issue the file download description information added with file characteristic character.The system of the described transmission file of the embodiment of the present invention, file issues the download request that end receives file download description information;File characteristic character is generated according to the download request of file download description information;Issue the documents characteristic character.File download end receives File Universal Resource Locator URL and file characteristic character;File is downloaded according to file URL sensing;According to the file generated file characteristic character of download;The file characteristic character of generation and the file characteristic character of reception are compared;According to comparative result, the file of download is handled;The embodiment of the present invention adds the mechanism whether distorted of file for judging to download, improve the security for downloading user, it is to avoid user's downloading end is using the content being tampered, and the security to user threatens.The processing method of download file described in the embodiment of the present invention, can apply to the scene downloaded, i.e. applied to 0MA agreements.As shown in fig. 6, following so that 0MA agreements download file as an example, the download flow of the systematic difference scene of description transmission file of the embodiment of the present invention.Those skilled in the art will be seen that the embodiment of the present invention is not limited to 0MA agreements, is also not limited to wireless downloading and internet is downloaded, can apply in downloading process have the other download flows for downloading description information process.The embodiment of the present invention is not only applicable to downloading process for Cl ient/Server (client/servers)Pattern, is readily applicable to peer- to- peer (point-to-point)In pattern.The flow for transmitting file is as follows:
1st, by the various means such as the multimedia message between portal website or user website, EMAIL, downloading end finds that file is available for download, and obtains the corresponding URL of file download description information.
2nd, downloading end is according to the corresponding URL of file download description information of acquisition, originator request downwards will under The corresponding DD files of published article part, carry the character characteristic of downloading end in request.
3rd, issue end and receive the request that downloading end downloads the corresponding DD files of file, parse the downloading end character characteristic carried in request, and search the corresponding files that will be issued of DD, and computing is encrypted in the file and downloading end character characteristic to that will issue, the characteristic character of file is generated.Generate file
4th, lower originator updates DD files using the file characteristic character of generation, and the DD files after the renewal carry the file characteristic character of generation.
5th, the DD files after renewal are handed down to downloading end by lower originator.
6th, downloading end receives DD files, and the file characteristic character of reception, and the information in DD files are parsed from DD files, and whether verification downloading end has the ability to use the step of this document, inspection to be optional.
7th, the partial information of DD files is shown to user by downloading end, is confirmed to download by user, this step is optional.If client is confirmed after downloading, next step is carried out.
8th, the download address URL of the acquisition of information file of downloading end just in the blunt file according to DD, and just blunt ask for file according to URL downwardly directed originator.
9th, downloading end downloads the file issued of starting down.
10th, downloading end is after file has been downloaded, and the download of originator transmission downwards completion 4 is blunt to accuse.
11st, lower originator carries downwards end and returns to download completion report response.
12nd, downloading end generates file new feature character according to the file of download and the character characteristic of downloading end.Wherein, downloading end generation file new feature character is consistent with the algorithm that lower originator generates file characteristic character.
13rd, the file new feature character of generation is compared by downloading end with the file characteristic character in the DD files of reception, to verify whether the file of download is tampered.
14th, downloading end is handled the file of download according to comparative result.In the case where comparative result is consistent, downloading end is used file, the application software that can be downloaded using software for installation, or The media file that person downloads for broadcasting;If comparative result is inconsistent, abandon using the file downloaded.
15th, downloading end sends processing state report to lower originator;It is correct keying to be carried in the case where comparative result is consistent, in the state report that downloading end is sent and download file;The keying for downloading file for mistake is carried if comparative result is inconsistent, in the state report that downloading end is sent.
16th, lower originator is according to the blunt chargings for accusing completion to user of processing state ^.
17th, lower start returns to processing state report response to downloading end.
18th, downloading end is received after response, according to the correctness for downloading file, points out user.In the case where comparative result is consistent, the file that downloading end prompting user downloads is legal, can use;If comparative result is inconsistent, the file that downloading end prompting user downloads is illegal, it is impossible to use.The embodiment of the present invention is by extending OMA DL0TA agreements, after file is tampered in transmitting procedure, then hinders system and use file, it is ensured that download the security of end subscriber.
On the other hand, as shown in Fig. 7, the embodiment of the present invention provides a kind of processing unit for downloading file, including:When request download file is initiated at file download end,
Receiving unit 51, the characteristic character for receiving file;Wherein, the characteristic character of the file is the file generated started according to indicated by file download description information under file;
Download unit 52, for downloading the file;Generation unit 53, for the file according to download, generates the new feature character of file;Comparing unit 54, for the file new feature character of generation and the file characteristic character of reception to be compared;Processing unit 55, for according to the result of the comparison, handling the file of the download.Optionally, as shown in figure 8, the processing unit 55 includes:Using unit 551, when the result of the comparison is consistent, the file of the download is used;Unit 552 is abandoned, when the result of the comparison is inconsistent, the file using the download is abandoned. Wherein, generation unit 53 is used for the file according to download, and the new feature character of generation file is specially:Content to file is made a summary;Information after summary is encoded, the file characteristic character is generated;
Or be that the content of file is made a summary with one in downloading end character characteristic and key or combinations thereof;Information after summary is encoded, the file characteristic character is generated;Or be that computing is encrypted in the content to file, generates the file characteristic character;Or be that computing is encrypted in the content and any one in downloading end character characteristic and key or combinations thereof to file, generates the file characteristic character;Or be that the content and downloading end character characteristic for gathering file are used as file characteristic character;Or be that the content of collection file is used as file characteristic character;Wherein, the content of the file can be carrying downloading end character characteristic in the whole bytes or partial bytes of file, the download request of the file download description information.The downloading end character characteristic is any one in downloading end number, downloading end equipment serial number, downloading end model or any combination between them.
The receiving unit 51 includes:File download description information receiving unit 51 1, for receiving file download description information, file characteristic character is carried in the file download description;
Resolution unit 512, pays for parsing the file characteristic word from the file download description information.
The processing unit of download file described in the embodiment of the present invention, receiving unit receives the characteristic character of file;Download unit downloads the file;Generation unit generates the new feature character of file according to the file of download;The file new feature character of generation and the file characteristic character of reception are compared by comparing unit;Processing unit is handled the file of the download according to the result of the comparison, is compared by the file characteristic character and the file characteristic character of reception of generation, it can be determined that whether the file of download is usurped Change, according to comparative result, the file of download is handled, improve user to downloading the security that file is used.
On the other hand, as shown in Fig. 9, the embodiment of the present invention provides a kind of processing unit issued the documents, including:
Generation unit 71, when downloading file for the request of file download end, the file that will be issued according to indicated by the download request of file download description information generates file characteristic character;
Issuance unit 72, for issuing the file characteristic character, in order to which downloading end is according to the download file generated file new feature character;The file new feature character of the generation and the file characteristic character of reception are compared;According to the result of the comparison, the file of the download is handled.
Wherein, the file that by under issues of the generation unit 71 according to indicated by the download request of file download description information, generating file characteristic character is specially:
Content to file is made a summary;Information after summary is encoded, the file characteristic character is generated;
Or be that the content of file is made a summary with one in downloading end character characteristic and key or combinations thereof;Information after summary is encoded, the file characteristic character is generated;
Or be that computing is encrypted in the content to file, generates the file characteristic character;Or be that computing is encrypted in the content and any one in downloading end character characteristic and key or combinations thereof to file, generates the file characteristic character;Or be that the content and downloading end character characteristic for gathering file are used as file characteristic character;Or be that the content of collection file is used as file characteristic character;
Wherein, the content of the file can be the whole bytes or partial bytes of file,
Downloading end character characteristic is carried in the download request of the file download description information.
The downloading end character characteristic is any one in downloading end number, downloading end equipment serial number, downloading end model or any combination between them. Wherein, the algorithm of file characteristic character is generated in the processing unit issued the documents consistent with the algorithm of generation file new feature character in the processing unit for downloading file.Optionally, as shown in Figure 10, the processing unit issued the documents, in addition to:Receiving unit 73, the download request for receiving file download description information;Searching unit 74, the corresponding file that will be issued of description information is downloaded for locating file.Wherein, the issuance unit 72 includes:Adding device 721, for the file characteristic character to be added in file download description information;Transmitting element 722, for issuing the file download description information for being added with file characteristic character.The processing unit issued the documents described in the embodiment of the present invention, the file that will issue of the generation unit according to indicated by the download request of file download description information generates file characteristic character;Issuance unit issues the file characteristic character so that the file characteristic charactor comparison that downloading end is from a locally generated by the file characteristic character of reception, and judges whether file is tampered during issuing, and adds the security that downloading end downloads file.One of ordinary skill in the art will appreciate that, realize all or part of flow in above-described embodiment method, computer program is can be by instruct the hardware of correlation to complete, described program can be stored in a computer read/write memory medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic disc, CD, read-only memory(Read-Only Memory, ROM) or random access memory (Random Acces s Memory, RAM) etc..It is described above; only embodiment of the invention, but protection scope of the present invention is not limited thereto, any one skilled in the art the invention discloses technical scope in; change or replacement can be readily occurred in, should be all included within the scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (16)

  1. Claims
    1st, a kind of processing method for downloading file, it is characterised in that including:When request download file is initiated at file download end,
    Receive the characteristic character of file;Wherein, the characteristic character of the file is the file generated started according to indicated by file download description information under file;
    Download the file;
    According to the file of the download, file new feature character is generated;
    The file new feature character of generation and the file characteristic character of reception are compared;
    According to the result of the comparison, the file of the download is handled.
    2nd, the processing method according to claim 1 for downloading file, it is characterised in that be the step of the reception file characteristic character:
    File download description information is received, file characteristic character is carried in the file download description;The file characteristic character is parsed from the file download description information.
    3rd, the processing method according to claim 1 for downloading file, it is characterised in that described according to result of the comparison, includes the step of to the file process of download:
    When comparative result is consistent, the file of the download is used;
    When comparative result is inconsistent, the file using the download is abandoned.
    4th, it is according to claim 1 download file processing method, it is characterised in that the file according to download, generate file new feature character the step of be:
    Content to file is made a summary;Information after summary is encoded, the new feature word for generating file is paid;
    Or, the content of file is made a summary with one in downloading end character characteristic and key or combinations thereof;Information after summary is encoded, the new feature character of file is generated;Wherein, described downloading end character characteristic is sent to originator under file by downloading the download request of description information;
    Or, computing is encrypted in the content to file, generates the new feature character of file;
    Or, to content and any one in downloading end character characteristic and key or their group of file Computing is encrypted in conjunction, generates the new feature character of file;
    Or, file content and downloading end character characteristic are gathered as the new feature character of file;
    Or, file content is gathered as the new feature character of file;
    Wherein, the content of the file is the whole bytes or partial bytes of file.
    5th, the processing method according to claim 4 for downloading file, it is characterised in that the downloading end character characteristic is any one in downloading end number, downloading end equipment serial number, downloading end model or any combination between them.
    6th, a kind of processing method issued the documents, it is characterised in that including:
    When file is downloaded in the request of file download end, the file that will be issued according to indicated by the download request of file download description information generates file characteristic character;
    The file characteristic character is issued, in order to which downloading end is according to the download file generated file new feature character;The file new feature character of the generation and the file characteristic character of reception are compared;According to the result of the comparison, the file of the download is handled.
    7th, the processing method according to claim 6 issued the documents, it is characterised in that it is described issue the documents characteristic character the step of include:
    The file characteristic character is added in file download description information;
    Issue the file download description information for being added with file characteristic character.
    8th, the processing method according to claim 6 issued the documents, it is characterised in that also include:Receive the download request of file download description information;
    Locating file downloads the corresponding file that will be issued of description information.
    9th, the processing method according to claim 8 issued the documents, it is characterised in that the file that will be issued according to indicated by the download request of file download description information, generation file characteristic character the step of be:
    Content to file is made a summary;Information after summary is encoded, the file characteristic word is generated and pays;
    Or be, to content and one or the combinations thereof in downloading end character characteristic and key of file Made a summary;Information after summary is encoded, the file characteristic character is generated;Wherein, described downloading end character characteristic is sent under file by the download request of the file download description information and started;Or be that computing is encrypted in the content to file, generates the file characteristic character;
    Or be that computing is encrypted in the content and any one in downloading end character characteristic and key or combinations thereof to file, generates the file characteristic character;
    Or be that the content and downloading end character characteristic for gathering file are used as file characteristic character;
    Or be that the content of collection file is used as file characteristic character;
    Wherein, the content of the file can be the whole bytes or partial bytes of file,
    Downloading end character characteristic is carried in the download request of the file download description information.
    10th, the processing method issued the documents according to claim 9, it is characterised in that the downloading end character characteristic is any one in downloading end number, downloading end equipment serial number, downloading end model or any combination between them.
    11st, a kind of processing unit for downloading file, it is characterised in that including:When request download file is initiated at file download end,
    Receiving unit, the characteristic character for receiving file;Wherein, the characteristic character of the file is the file generated started according to indicated by file download description information under file;
    Download unit, for downloading the file;
    Generation unit, for the file according to download, generates the new feature character of file;
    Comparing unit, for the file new feature character of generation and the file characteristic character of reception to be compared;Processing unit, for according to the result of the comparison, handling the file of the download.
    12nd, the processing unit according to claim 11 for downloading file, it is characterised in that the processing unit also includes:
    Using unit, for when the result of the comparison is consistent, using the file of the download;Unit is abandoned, for when the result of the comparison is inconsistent, without using the file of the download.
    13rd, the processing unit according to claim 11 for downloading file, it is characterised in that
    The receiving unit includes: File download description information receiving unit, for receiving file download description information, file characteristic character is carried in the file download description;
    Resolution unit, for parsing the file characteristic character from the file download description information.
    14th, a kind of processing unit issued the documents, it is characterised in that including:
    Generation unit, when downloading file for the request of file download end, the file that will be issued according to indicated by the download request of file download description information generates file characteristic character;
    Issuance unit, for issuing the file characteristic character, in order to which downloading end is according to the download file generated file new feature character;The file new feature character of the generation and the file characteristic character of reception are compared;According to the result of the comparison, the file of the download is handled.
    15th, the processing unit according to claim 14 issued the documents, it is characterised in that also include:Receiving unit, the download request for receiving file download description information;
    Searching unit, the corresponding file that will be issued of description information is downloaded for locating file.
    16th, the processing unit according to claim 14 issued the documents, it is characterised in that the issuance unit includes:
    Adding device, for the file characteristic character to be added in file download description information;Transmitting element, for issuing the file download description information for being added with file characteristic character.
CN200980000011.7A 2008-07-30 2009-03-27 Processing method and apparatus of downloading and down-sending file Pending CN101816198A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200810135119.4 2008-07-30
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

Publications (1)

Publication Number Publication Date
CN101816198A true CN101816198A (en) 2010-08-25

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 Before (1)

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

Country Status (2)

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

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330524A (en) * 2008-07-30 2008-12-24 华为技术有限公司 Method and apparatus for processing download and dispatching file as well as transmission file system
US20110246778A1 (en) * 2010-03-31 2011-10-06 Emc Corporation 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
CN103152371B (en) * 2011-12-07 2016-06-22 腾讯科技(深圳)有限公司 P2SP downloads monitoring and managing method and system
CN102685108B (en) * 2012-03-31 2015-11-11 北京奇虎科技有限公司 The interpolation of encrypting web data, decryption method and device
CN104683303B (en) * 2013-11-28 2018-03-30 天津三星电子有限公司 APP management methods
US10569232B2 (en) 2014-10-31 2020-02-25 Basf Se Copolymers for making membranes
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
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
CN110287733B (en) * 2019-06-05 2021-07-23 杭州迪普科技股份有限公司 File tamper-proofing method and device
CN117527789A (en) * 2023-09-12 2024-02-06 福建慧政通信息科技有限公司 File download management method and system in distributed system

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

Also Published As

Publication number Publication date
WO2010012162A1 (en) 2010-02-04
CN101330524A (en) 2008-12-24

Similar Documents

Publication Publication Date Title
CN101816198A (en) Processing method and apparatus of downloading and down-sending file
JP4681010B2 (en) Authentication system and authentication method
KR100750001B1 (en) Apparatus authentication system
WO2008106848A1 (en) A wireless terminal security network and card locking method based on the ellipse curve public key cipher
EP2779524A1 (en) Secure data transmission method, device and system
CN100507934C (en) System and method for registering entities for code signing services
CN1701295A (en) Method and system for a single-sign-on access to a computer grid
WO2011076008A1 (en) System and method for transmitting files between wapi teminal and application sever
JP2012530996A (en) Authentication method and system
CN1953375A (en) Account management in a system and method for providing code signing services
JP2007133867A5 (en)
CN102223364A (en) Method and system for accessing e-book data
KR101297648B1 (en) Authentication method between server and device
CN115396121B (en) Security authentication method for security chip OTA data packet and security chip device
CN1921682B (en) Method for enhancing key negotiation in universal identifying framework
CN102118392A (en) Encryption/decryption method and system for data transmission
CN112989426B (en) Authorization authentication method and device, and resource access token acquisition method
CN110912920A (en) Data processing method, apparatus and medium
CN101621794A (en) Method for realizing safe authentication of wireless application service system
WO2017066995A1 (en) Method and device for preventing unauthorized access to server
CN111988149B (en) Data sharing method, device and system in industrial internet
CN111541716A (en) Data transmission method and related device
JP2007102785A (en) Security method and system, and computer-readable storage medium storing the method
CN104868998A (en) System, Device, And Method Of Provisioning Cryptographic Data To Electronic Devices
CN105281902A (en) Web system safety login method based on mobile terminal

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: 20100825