Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2018-01-16
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a method for securely downloading files to solve the problem that in the prior art, when domain name hijacking occurs, the user's request is resolved to the address of other servers, so that the user can access the data in other servers, and may make the user download files containing Virus files that affect the normal operation of the terminal

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for securely downloading files
  • A method and device for securely downloading files
  • A method and device for securely downloading files

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and a device for downloading files safely. The method includes sending a resolution request to a domain name resolution server, and receiving a data file sent by a data server; performing a verification calculation on the data file to acquire a verification value of the data file; comparing the calculated verification value with a preset verification value of the data file, and if the calculated verification value is different from the preset verification value, switching to an HTTPS (hypertext transfer protocol over secure socket layer) channel to re-download the data file. The method and the device have the advantages that the situation that normal operation of a terminal is affected by downloading of unsafe files can be avoided effectively, and accurate data files can be effectively downloaded through the HTTPS channel in case of abnormity timely.

Description

technical field [0001] The invention belongs to the field of the Internet, in particular to a method and device for safely downloading files. Background technique [0002] With the development of Internet technology, users can use terminals such as mobile phones, computers, or PADs to obtain required data, such as browsing web pages, downloading pictures, or applications, through wired or wireless networks. [0003] When a terminal browses the network or downloads an application program through the network, the terminal usually submits an access request. After receiving the access request, the domain name server analyzes the domain name address in the access request, and searches for To the address corresponding to the accessed domain name address, the domain name server sends the analysis result back to the terminal, and the terminal accesses the server according to the received address, so as to obtain the data sent by the server. [0004] When other illegal users interce...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06H04L29/08
CPCH04L63/12H04L67/02H04L67/06
Inventor 曾元清
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD