A method and device for securely downloading files
A file and security technology, applied in the Internet field, can solve problems such as downloading viruses and affecting the normal operation of the terminal
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] figure 2 The implementation flow of the secure download method for files provided by the first embodiment of the present invention is shown, and the details are as follows:
[0039] In step S201, send a resolution request to the domain name resolution server, and receive the data server address returned by the resolution server.
[0040] Specifically, the embodiment of the present invention sends a resolution request to the domain name resolution server, generally a download request is sent through an HTTP channel.
[0041] The HTTP (full name in English is Hyper Text Transfer Protocol, full name in Chinese is Hypertext Transfer Protocol) channel is a transfer protocol used to transmit hypertext from a WWW server to a local browser. It can make browsers more efficient and reduce network transfers. It not only ensures that the computer transmits hypertext documents correctly and quickly, but also determines which part of the document to transmit, and which part of the...
Embodiment 2
[0063] figure 2 The implementation flow of the secure download method for files provided by the second embodiment of the present invention is shown, and the details are as follows:
[0064] In step S301, send a resolution request to the domain name resolution server, and receive the data server address returned by the resolution server.
[0065] In step S302, according to the address of the data server, a data download request is sent to the data server, and a data file sent by the data server is received.
[0066] Steps S301-302 are basically the same as steps S201-202 in Embodiment 1, and will not be repeated here.
[0067] In step S303, a verification calculation is performed on the data at the predetermined position and the predetermined size of the received data file, and a verification value of the data at the predetermined position and the predetermined size is obtained.
[0068] Specifically, in the embodiment of the present invention, by setting the data of the spe...
Embodiment 3
[0073] Figure 4 A schematic structural diagram of a device for securely downloading files provided by the third embodiment of the present invention is shown, and the details are as follows:
[0074] The safe download device of the file described in the embodiment of the present invention comprises:
[0075] A resolution request unit 401, configured to send a resolution request to the domain name resolution server, and receive the data server address returned by the resolution server;
[0076] A data receiving unit 402, configured to send a data download request to the data server according to the address of the data server, and receive a data file sent by the data server;
[0077] A data verification unit 403, configured to perform verification calculation on the data file to obtain a verification value of the data file;
[0078] The verification value comparison unit 404 is used to compare the calculated verification value with the preset data file verification value, and ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


