CN104123341A - Method and device for downloading file and route device - Google Patents

Method and device for downloading file and route device Download PDF

Info

Publication number
CN104123341A
CN104123341A CN201410301476.9A CN201410301476A CN104123341A CN 104123341 A CN104123341 A CN 104123341A CN 201410301476 A CN201410301476 A CN 201410301476A CN 104123341 A CN104123341 A CN 104123341A
Authority
CN
China
Prior art keywords
download
file
download file
link
relation
Prior art date
Application number
CN201410301476.9A
Other languages
Chinese (zh)
Inventor
程亮
刘铁俊
李政
陈现麟
Original Assignee
小米科技有限责任公司
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 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to CN201410301476.9A priority Critical patent/CN104123341A/en
Publication of CN104123341A publication Critical patent/CN104123341A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/06Network-specific arrangements or communication protocols supporting networked applications adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention discloses a method and device for downloading a file and a route device. The method includes the steps that a downloading request message carrying a downloading link and sent by a terminal device is received; when the downloading link exists in a corresponding relation between the downloading link and the downloading file, the downloading file corresponding to the downloading link is obtained according to the corresponding relation; the downloading file is sent to the terminal device. According to the scheme, due to the fact that the downloading file corresponding to the downloading link is already stored in the route device locally, the downloading file can be rapidly obtained and sent to the terminal device without influences from the network speed and the size of the file, time spent in the file downloading process is short, and user experience is good.

Description

Document down loading method, device and routing device

Technical field

The disclosure relates to networking technology area, relates in particular to a kind of document down loading method, device and routing device.

Background technology

Along with the develop rapidly of network technology, the file type providing is on the net more and more abundanter, for example video, audio frequency, picture, text etc., and user can download the file needing in real time from the Internet.

The current network architecture comprises terminal device, routing device and server, between terminal device and server, realizes information interaction by routing device.The detailed process of user based on this network architecture download file is: user sends the downloading request message of carrying download link to routing device by terminal device; Routing device receives after this downloading request message, is transmitted to server; Server receives after this downloading request message, sends file corresponding to this download link to routing device; Routing device receives after the file of server transmission, is transmitted to terminal device, downloads thereby realize file.In above-mentioned file download process, owing to affected by network speed and file size, file download process is consuming time longer, and user experiences poor.

Summary of the invention

For overcoming the problem existing in correlation technique, the disclosure provides a kind of document down loading method, device and routing device.

According to the first aspect of disclosure embodiment, a kind of document down loading method is provided, comprising:

The downloading request message of carrying download link that receiving terminal apparatus sends;

In the time thering is described download link in the corresponding relation of download link and download file, obtain download file corresponding to described download link according to described corresponding relation;

Described download file is sent to described terminal device.

In conjunction with first aspect, in the possible implementation of the first of first aspect, described method also comprises:

If do not there is described download link in described corresponding relation, described downloading request message sent to server;

Receive download file corresponding to described download link that described server returns;

Described download file is sent to described terminal device.

In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second of first aspect, after the step of download file corresponding to described download link that the described server of described reception returns, described method also comprises:

Preserve described download file;

Set up the corresponding relation of described download file and described download link.

In conjunction with first aspect, in the third possible implementation of first aspect, described method also comprises:

According to the download file of server recommendation, according to the pre-download file request of the web-based history operation note of described terminal device or the transmission of described terminal device, determine download link corresponding to download file in advance;

According to described download link, download and preserve download file;

Set up the corresponding relation of described download file and described download link.

In conjunction with first aspect, in the 4th kind of possible implementation of first aspect, the described step of obtaining download file corresponding to described download link according to described corresponding relation comprises:

Determine according to described corresponding relation the download file that described download link is corresponding;

Obtain the local memory address of described download file;

Obtain described download file from described local memory address.

According to the second aspect of disclosure embodiment, a kind of file downloading device is provided, comprising:

The first receiver module, the downloading request message of carrying download link sending for receiving terminal apparatus;

Acquisition module, in the time that the corresponding relation of download link and download file has described download link, obtains download file corresponding to described download link according to described corresponding relation;

The first sending module, for sending to described terminal device by described download file.

In conjunction with second aspect, in the possible implementation of the first of second aspect, described device also comprises:

The second sending module, in the time that described corresponding relation does not have described download link, sends to server by described downloading request message;

The second receiver module, download file corresponding to described download link returning for receiving described server;

The 3rd sending module, for sending to described terminal device by described download file.

In the possible implementation of the first of second aspect, in the possible implementation of the second of second aspect, described device also comprises:

Preserve module, for preserving described download file;

First sets up module, for setting up the corresponding relation of described download file and described download link.

In conjunction with second aspect, in the third possible implementation of second aspect, described device also comprises:

Determination module, for according to the download file of server recommendation, according to the pre-download file request of the web-based history operation note of described terminal device or the transmission of described terminal device, determines download link corresponding to download file in advance;

Download module, for according to described download link, downloads and preserves download file;

Second sets up module, for setting up the corresponding relation of described download file and described download link.

In conjunction with second aspect, in the 4th kind of possible implementation of second aspect, described acquisition module comprises:

Determining unit, for determining according to described corresponding relation the download file that described download link is corresponding;

Acquiring unit, for obtaining the local memory address of described download file; Obtain described download file from described local memory address.

According to the third aspect of disclosure embodiment, a kind of routing device is provided, comprising:

Processor;

For the storer of storage of processor executable instruction;

Wherein, described processor is configured to:

The downloading request message of carrying download link that receiving terminal apparatus sends;

In the time thering is described download link in the corresponding relation of download link and download file, obtain download file corresponding to described download link according to described corresponding relation;

Described download file is sent to described terminal device.

The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the downloading request message of carrying download link that routing device receiving terminal apparatus sends, first determine local download file corresponding to this download link of whether having stored, in the time thering is this download link in the corresponding relation of download link and download file, download file corresponding to routing device this download link of local storage is described, can directly obtain download file corresponding to this download link in this locality according to corresponding relation, finally download file is sent to terminal device, because this download file has been stored in routing device this locality, can quick obtaining to this download file and send to terminal device, affected by network speed and file size, file download process is consuming time shorter, better user experience.

Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limit the disclosure.

Brief description of the drawings

Accompanying drawing is herein merged in instructions and forms the part of this instructions, shows embodiment according to the invention, and is used from and explains principle of the present invention with instructions one.

Fig. 1 is according to the process flow diagram of a kind of document down loading method shown in an exemplary embodiment.

Fig. 2 is according to the process flow diagram of the another kind of document down loading method shown in an exemplary embodiment.

Fig. 3 is according to the process flow diagram of the method for building up of the corresponding relation of the download link shown in an exemplary embodiment and download file.

Fig. 4 is according to the process flow diagram of another document down loading method shown in an exemplary embodiment.

Fig. 5 is according to the block diagram of the first file downloading device shown in an exemplary embodiment.

Fig. 6 is according to the block diagram of the second file downloading device shown in an exemplary embodiment.

Fig. 7 is according to the block diagram of the third file downloading device shown in an exemplary embodiment.

Fig. 8 is according to the block diagram of the 4th kind of file downloading device shown in an exemplary embodiment.

Fig. 9 is according to the block diagram of the acquisition module shown in an exemplary embodiment.

Figure 10 is according to the block diagram of a kind of routing device shown in an exemplary embodiment.

Embodiment

Here will at length describe exemplary embodiment, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they are only and the example of apparatus and method as consistent in some aspects that described in detail in appended claims, of the present invention.

Fig. 1 is according to the process flow diagram of a kind of document down loading method shown in an exemplary embodiment, and as shown in Figure 1, document down loading method, for routing device, comprises the following steps.

In step S11, the downloading request message of carrying download link that receiving terminal apparatus sends.

User when browser document, if obtain certain file, can send downloading request message to server by terminal device on browser, carries the download link of this file in downloading request message.

Owing to being provided with routing device between terminal device and server, therefore, first this downloading request message can be received by routing device.

In step S12, in the time thering is download link in the corresponding relation of download link and download file, obtain download file corresponding to download link according to corresponding relation.

In the time thering is this download link in the corresponding relation of download link and download file, download file corresponding to routing device this download link of local storage is described, can first determine this download file according to this corresponding relation, then obtain the local memory address of this download file, obtain this download file from local memory address.

In step S13, download file is sent to terminal device.

In this scheme, the downloading request message of carrying download link that routing device receiving terminal apparatus sends, first determine local download file corresponding to this download link of whether having stored, in the time thering is this download link in the corresponding relation of download link and download file, download file corresponding to routing device this download link of local storage is described, can directly obtain download file corresponding to this download link in this locality according to corresponding relation, finally download file is sent to terminal device, because this download file has been stored in routing device this locality, can quick obtaining to this download file and send to terminal device, affected by network speed and file size, file download process is consuming time shorter, better user experience.

Fig. 2 is according to the process flow diagram of the another kind of document down loading method shown in an exemplary embodiment, and as shown in Figure 2, document down loading method, for routing device, comprises the following steps.

In step S21, the downloading request message of carrying download link that receiving terminal apparatus sends.

User when browser document, if obtain certain file, can send downloading request message to server by terminal device on browser, carries the download link of this file in downloading request message.

Owing to being provided with routing device between terminal device and server, therefore, first this downloading request message can be received by routing device.

In step S22, determine in the corresponding relation of download link and download file whether there is this download link.

Routing device is not directly this downloading request message to be transmitted to server, but first determine whether this locality stores, can set up in advance the corresponding relation of download link and download file, then by determining that whether having this download link in this corresponding relation determines whether this locality stores download file.

In the time thering is this download link in the corresponding relation of download link and download file, in step S23, obtain download file corresponding to this download link according to this corresponding relation.

In the time thering is this download link in the corresponding relation of download link and download file, download file corresponding to routing device this download link of local storage is described, can first determine this download file according to this corresponding relation, then obtain the local memory address of this download file, obtain this download file from local memory address.

In step S24, download file is sent to terminal device.

In the time not thering is this download link in the corresponding relation of download link and download file, in step S25, downloading request message is sent to server.

If do not store download file corresponding to this download link local, downloading request message can be sent to server, request server sends download file corresponding to this download link.

In step S26, download file corresponding to this download link that reception server returns.

In step S27, download file is sent to terminal device.

Optionally, can also preserve this download file, and set up the corresponding relation of download file and download link, receive the downloading request message of terminal device during so that follow-up, search download file, thereby save file download time.

In this scheme, the downloading request message of carrying download link that routing device receiving terminal apparatus sends, first determine local download file corresponding to this download link of whether having stored, in the time thering is this download link in the corresponding relation of download link and download file, download file corresponding to routing device this download link of local storage is described, can directly obtain file corresponding to this download link in this locality according to corresponding relation, finally download file is sent to terminal device, because this download file has been stored in routing device this locality, can quick obtaining to this download file and send to terminal device, affected by network speed and file size, file download process is consuming time shorter, better user experience.In the time not thering is this download link in the corresponding relation of download link and download file, illustrate that routing device this locality do not store download file corresponding to this download link, can obtain this download file from server, thereby guarantee that user can get this download file.

Fig. 3 is according to the process flow diagram of the corresponding relation method for building up of the download link shown in an exemplary embodiment and local memory address, and as shown in Figure 3, the method, for routing device, comprises the following steps.

In step S31, according to the download file of server recommendation, according to the pre-download file request of the web-based history operation note of terminal device or terminal device transmission, determine download link corresponding to download file in advance.

On server, can carry out rank to download file, for example, provide the application of rank front 5 or the application of rank front 10, these application that server can be provided are as download file in advance, then definite download link corresponding to these download files.

Can also record the web-based history operation note of terminal device, the download file that prediction terminal device needs, then obtain the download link that these download files are corresponding, for example terminal device is usually downloaded certain online game, and the AKU that just can predict this online game is the download file that terminal device needs.For example, user browses shopping website by terminal device, can predict that the application A PP installation kit that this shopping website is corresponding belongs to the download file that can download in advance.

The pre-download file request that all right receiving terminal apparatus sends is determined the download file that terminal device needs from pre-download file request, then obtains the download link that these download files are corresponding.For example, user wants to browse the video of world cup, just can send pre-download file request by terminal device, routing device receives after this pre-download file request, determine that terminal device need to, about the video of world cup, can obtain the download link corresponding about the video of world cup from server.

In step S32, according to download link, download and preserve download file.

When can choosing the Internet resources free time, download, can not affect like this other user's normal use, and can promote speed of download.

In step S33, set up the corresponding relation of download file and download link.

For the ease of inquiry download file, can set up the corresponding relation of each download file and download link, routing device, according to the download link of carrying in the downloading request message receiving, can be determined local download file corresponding to this download link of whether storing.

Fig. 4 is according to the process flow diagram of another document down loading method shown in an exemplary embodiment, as shown in Figure 4, document down loading method is for the system of terminal device, routing device and server composition, server and terminal device can be set to multiple, and a server and a terminal device are only shown in Fig. 4.This document down loading method comprises the following steps.

In step S40, the download file that routing device is recommended according to server, determines download link corresponding to download file in advance.For example, regularly obtain N file of download maximum for router provides the server of downloaded resources, the download file that sets it as recommendation is pushed to router and terminal device.Wherein, this terminal device can have access to server by corresponding application program, and browse can for download file.

In step S41, routing device sends the downloading request message of carrying download link to server.May select the download file of downloading by terminal device in order to download in advance user, experience to improve user.

In step S42, server receives after the downloading request message of routing device transmission, sends download file corresponding to download link to routing device.

When can choosing the Internet resources free time, send, can not affect like this other user's normal use, and can promote speed of download.

In step S43, routing device receives and preserves the download file that server sends, and sets up the corresponding relation of download file and download link.

In step S44, terminal device sends the downloading request message of carrying download link to router.

In step S45, routing device receives after downloading request message, determines in the corresponding relation of download link and download file whether have this download link.

Routing device is not directly this downloading request message to be transmitted to server, but first determines local file corresponding to download link of whether storing.

In the time thering is this download link in the corresponding relation of download link and download file, execution step S46; In the time not thering is this download link in the corresponding relation of download link and download file, execution step S47.

In step S46, routing device obtains download file corresponding to this download link according to corresponding relation, and this download file is sent to terminal device, and flow process finishes.

In step S47, downloading request message is sent to server by routing device.

If do not store download file corresponding to this download link local, downloading request message can be sent to server, request server sends this download file.

In step S48, server sends download file corresponding to this download link to routing device.

In step S49, download file is sent to terminal device by routing device.

In said process, the downloading request message of carrying download link that routing device receiving terminal apparatus sends, first determine local download file corresponding to this download link of whether having stored, owing to having set up in advance the corresponding relation of download link and download file, therefore can determine local download file corresponding to this download link of whether having stored, in the time thering is this download link in the corresponding relation of download link and download file, download file corresponding to routing device this download link of local storage is described, can directly obtain file corresponding to this download link in this locality according to corresponding relation, finally download file is sent to terminal device, because this download file has been stored in routing device this locality, can quick obtaining to this download file and send to terminal device, affected by network speed and file size, file download process is consuming time shorter, better user experience.In the time not thering is this download link in the corresponding relation of download link and download file, illustrate that routing device this locality do not store download file corresponding to this download link, can obtain this download file from server, thereby guarantee that user can get this download file.

Fig. 5 is according to the first file downloading device block diagram shown in an exemplary embodiment.With reference to Fig. 5, this device comprises the first receiver module 511, acquisition module 512 and the first sending module 513.

This first receiver module 511 is configured to, the downloading request message of carrying download link that receiving terminal apparatus sends.

This acquisition module 512 is configured to, and in the time having download link in the corresponding relation of download link and download file, obtains download file corresponding to download link according to corresponding relation.

This first sending module 513 is configured to, and download file is sent to terminal device.

Fig. 6 is according to the second file downloading device block diagram shown in an exemplary embodiment.With reference to Fig. 6, on the basis of file downloading device as shown in Figure 5, also comprise the second sending module 514, the second receiver modules 515 and the 3rd sending module 516.

This second sending module 514 is configured to, and in the time not having download link in corresponding relation, downloading request message is sent to server.

This second receiver module 515 is configured to, download file corresponding to download link that reception server returns.

The 3rd sending module 516 is configured to, and download file is sent to terminal device.

Fig. 7 is according to the third file downloading device block diagram shown in an exemplary embodiment.With reference to Fig. 7, on the basis of file downloading device as shown in Figure 6, also comprise that preserving module 517 and first sets up module 518.

This preservation module 517 is configured to, and preserves download file.

This first is set up module 518 and is configured to, and sets up the corresponding relation of download file and download link.

Fig. 8 is according to the 4th kind of file downloading device block diagram shown in an exemplary embodiment.With reference to Fig. 8, on the basis of file downloading device as shown in Figure 5, also comprise determination module 519, download module 520 and second is set up module 521.

This determination module 519 is configured to, and according to the download file of server recommendation, according to the pre-download file request of the web-based history operation note of terminal device or terminal device transmission, determines download link corresponding to download file in advance.

This download module 520 is configured to, and according to download link, downloads and preserve download file.

This second is set up module 521 and is configured to, and sets up the corresponding relation of download file and download link.

Fig. 9 is according to the block diagram of the acquisition module shown in an exemplary embodiment, and referring to Fig. 9, this acquisition module 512 comprises determining unit 5121 and acquiring unit 5122.

This determining unit 5121 is configured to, and determines according to corresponding relation the download file that download link is corresponding.

This acquiring unit 5122 is configured to, and obtains the local memory address of download file; Obtain download file from local memory address.

About the device in above-described embodiment, wherein the concrete mode of modules executable operations have been described in detail in the embodiment about the method, will not elaborate explanation herein.

Figure 10 is according to the block diagram of a kind of device 800 of downloading for file shown in an exemplary embodiment.For example, device 800 can be mobile phone, computing machine, digital broadcast terminal, information receiving and transmitting equipment, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.

With reference to Figure 10, device 800 can comprise following one or more assembly: processing components 802, storer 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor module 814, and communications component 816.

The integrated operation of processing components 802 common control device 800, such as with demonstration, call, data communication, the operation that camera operation and record operation are associated.Processing components 802 can comprise that one or more processors 820 carry out instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more modules, is convenient to mutual between processing components 802 and other assemblies.For example, processing components 802 can comprise multi-media module, to facilitate mutual between multimedia groupware 808 and processing components 802.

Storer 804 is configured to store various types of data to be supported in the operation of device 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.

Power supply module 806 provides electric power for installing 800 various assemblies.Power supply module 806 can comprise power-supply management system, one or more power supplys, and other and the assembly that generates, manages and distribute electric power to be associated for device 800.

Multimedia groupware 808 is included in the screen that an output interface is provided between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises that one or more touch sensors are with the gesture on sensing touch, slip and touch panel.Described touch sensor is the border of sensing touch or sliding action not only, but also detects duration and the pressure relevant to described touch or slide.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When device 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.

Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal receiving can be further stored in storer 804 or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loudspeaker, for output audio signal.

I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.

Sensor module 814 comprises one or more sensors, is used to device 800 that the state estimation of various aspects is provided.For example, sensor module 814 can detect the opening/closing state of device 800, the relative positioning of assembly, for example described assembly is display and the keypad of device 800, the position of all right pick-up unit 800 of sensor module 814 or 800 1 assemblies of device changes, user is with device 800 existence that contact or do not have the temperature variation of device 800 orientation or acceleration/deceleration and device 800.Sensor module 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.

Communications component 816 is configured to be convenient to the communication of wired or wireless mode between device 800 and other equipment.Device 800 wireless networks that can access based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, described communications component 816 also comprises near-field communication (NFC) module, to promote junction service.For example, can be based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.

In the exemplary embodiment, device 800 can be realized by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for carrying out said method.

In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium that comprises instruction, for example, comprised the storer 804 of instruction, above-mentioned instruction can have been carried out said method by the processor 820 of device 800.For example, described non-provisional computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage equipment etc.

A kind of non-provisional computer-readable recording medium, in the time that the instruction in described storage medium is carried out by the processor of routing device, makes routing device can carry out a kind of document down loading method, and described method comprises:

The downloading request message of carrying download link that receiving terminal apparatus sends;

In the time thering is described download link in the corresponding relation of download link and download file, obtain download file corresponding to described download link according to described corresponding relation;

Described download file is sent to described terminal device.

Optionally, described method also comprises:

In the time not thering is described download link in described corresponding relation, described downloading request message is sent to server;

Receive download file corresponding to described download link that described server returns;

Described download file is sent to described terminal device.

Optionally, after the step of download file corresponding to described download link that the described server of described reception returns, described method also comprises:

Preserve described download file;

Set up the corresponding relation of described download file and described download link.

Optionally, described method also comprises:

According to the download file of server recommendation, according to the pre-download file request of the web-based history operation note of described terminal device or the transmission of described terminal device, determine download link corresponding to download file in advance;

According to described download link, download and preserve download file;

Set up the corresponding relation of described download file and described download link.

Optionally, the described step of obtaining download file corresponding to described download link according to described corresponding relation comprises:

Determine according to described corresponding relation the download file that described download link is corresponding;

Obtain the local memory address of described download file;

Obtain described download file from described local memory address.

Those skilled in the art, considering instructions and putting into practice after invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised undocumented common practise or the conventional techniques means in the art of the disclosure.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.

Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendments and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (11)

1. a document down loading method, is characterized in that, comprising:
The downloading request message of carrying download link that receiving terminal apparatus sends;
In the time thering is described download link in the corresponding relation of download link and download file, obtain download file corresponding to described download link according to described corresponding relation;
Described download file is sent to described terminal device.
2. method according to claim 1, is characterized in that, described method also comprises:
In the time not thering is described download link in described corresponding relation, described downloading request message is sent to server;
Receive download file corresponding to described download link that described server returns;
Described download file is sent to described terminal device.
3. method according to claim 2, is characterized in that, after the step of download file corresponding to described download link that the described server of described reception returns, described method also comprises:
Preserve described download file;
Set up the corresponding relation of described download file and described download link.
4. method according to claim 1, is characterized in that, described method also comprises:
According to the download file of server recommendation, according to the pre-download file request of the web-based history operation note of described terminal device or the transmission of described terminal device, determine download link corresponding to download file in advance;
According to described download link, download and preserve download file;
Set up the corresponding relation of described download file and described download link.
5. method according to claim 1, is characterized in that, the described step of obtaining download file corresponding to described download link according to described corresponding relation comprises:
Determine according to described corresponding relation the download file that described download link is corresponding;
Obtain the local memory address of described download file;
Obtain described download file from described local memory address.
6. a file downloading device, is characterized in that, comprising:
The first receiver module, the downloading request message of carrying download link sending for receiving terminal apparatus;
Acquisition module, in the time that the corresponding relation of download link and download file has described download link, obtains download file corresponding to described download link according to described corresponding relation;
The first sending module, for sending to described terminal device by described download file.
7. device according to claim 6, is characterized in that, described device also comprises:
The second sending module, in the time that described corresponding relation does not have described download link, sends to server by described downloading request message;
The second receiver module, download file corresponding to described download link returning for receiving described server;
The 3rd sending module, for sending to described terminal device by described download file.
8. device according to claim 7, is characterized in that, described device also comprises:
Preserve module, for preserving described download file;
First sets up module, for setting up the corresponding relation of described download file and described download link.
9. device according to claim 6, is characterized in that, described device also comprises:
Determination module, for according to the download file of server recommendation, according to the pre-download file request of the web-based history operation note of described terminal device or the transmission of described terminal device, determines download link corresponding to download file in advance;
Download module, for according to described download link, downloads and preserves download file;
Second sets up module, for setting up the corresponding relation of described download file and described download link.
10. device according to claim 6, is characterized in that, described acquisition module comprises:
Determining unit, for determining according to described corresponding relation the download file that described download link is corresponding;
Acquiring unit, for obtaining the local memory address of described download file; Obtain described download file from described local memory address.
11. 1 kinds of routing devices, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The downloading request message of carrying download link that receiving terminal apparatus sends;
In the time thering is described download link in the corresponding relation of download link and download file, obtain download file corresponding to described download link according to described corresponding relation;
Described download file is sent to described terminal device.
CN201410301476.9A 2014-06-26 2014-06-26 Method and device for downloading file and route device CN104123341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410301476.9A CN104123341A (en) 2014-06-26 2014-06-26 Method and device for downloading file and route device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410301476.9A CN104123341A (en) 2014-06-26 2014-06-26 Method and device for downloading file and route device

Publications (1)

Publication Number Publication Date
CN104123341A true CN104123341A (en) 2014-10-29

Family

ID=51768752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410301476.9A CN104123341A (en) 2014-06-26 2014-06-26 Method and device for downloading file and route device

Country Status (1)

Country Link
CN (1) CN104123341A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468523A (en) * 2014-11-07 2015-03-25 小米科技有限责任公司 UI theme obtaining method, terminal and router
CN104579990A (en) * 2015-01-23 2015-04-29 小米科技有限责任公司 Router resource recommendation method and device
CN105068819A (en) * 2015-09-10 2015-11-18 北京金山安全软件有限公司 Method, device and terminal for calling application programs
CN105099758A (en) * 2015-06-12 2015-11-25 小米科技有限责任公司 Methods and devices for transmitting update data package
CN105117265A (en) * 2015-09-17 2015-12-02 北京金山安全软件有限公司 File upgrading method and device and terminal
CN105681370A (en) * 2014-11-17 2016-06-15 腾讯科技(成都)有限公司 File synchronizing method, server and client
CN105763601A (en) * 2016-01-29 2016-07-13 北京小米移动软件有限公司 File sharing method and device
CN105991729A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Installation package downloading method and server
CN106295410A (en) * 2015-06-05 2017-01-04 宇龙计算机通信科技(深圳)有限公司 Dual system downloads method and the device thereof of file
CN106408544A (en) * 2016-11-11 2017-02-15 暴风集团股份有限公司 Method and system for repairing damaged video
CN106559479A (en) * 2016-10-31 2017-04-05 北京小米移动软件有限公司 Multimedia file downloading method, designated equipment and terminal
WO2017071096A1 (en) * 2015-10-29 2017-05-04 小米科技有限责任公司 Method, apparatus and system for updating application program
CN106686112A (en) * 2017-01-18 2017-05-17 中国工商银行股份有限公司 Cloud file transmission system and method
WO2017092364A1 (en) * 2015-12-01 2017-06-08 乐视控股(北京)有限公司 Advertisement data processing method and router
CN106843870A (en) * 2017-01-16 2017-06-13 青岛海信宽带多媒体技术有限公司 The start resource loading method and device of multimedia terminal
CN106911747A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 File acquisition method, device and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079709A (en) * 2006-06-15 2007-11-28 腾讯科技(深圳)有限公司 Single-node-to-multi-node concurrent download system and method
WO2008029231A2 (en) * 2006-08-30 2008-03-13 Nokia Corp. Service availability update for a user having a prepaid account at a service provider capable of providing one or more services over a communications network
CN101197840A (en) * 2007-12-29 2008-06-11 深圳市迅雷网络技术有限公司 Method, system and device for downloading and storing files and method for generating identification
CN101216834A (en) * 2007-12-29 2008-07-09 腾讯科技(深圳)有限公司 File downloading method, system, device and server
CN101764848A (en) * 2010-01-12 2010-06-30 浪潮(北京)电子信息产业有限公司 Method and device for transmitting network files
CN103152273A (en) * 2013-02-08 2013-06-12 杭州华三通信技术有限公司 Data caching method and device
CN103457976A (en) * 2012-06-01 2013-12-18 腾讯科技(深圳)有限公司 Data downloading method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079709A (en) * 2006-06-15 2007-11-28 腾讯科技(深圳)有限公司 Single-node-to-multi-node concurrent download system and method
WO2008029231A2 (en) * 2006-08-30 2008-03-13 Nokia Corp. Service availability update for a user having a prepaid account at a service provider capable of providing one or more services over a communications network
CN101197840A (en) * 2007-12-29 2008-06-11 深圳市迅雷网络技术有限公司 Method, system and device for downloading and storing files and method for generating identification
CN101216834A (en) * 2007-12-29 2008-07-09 腾讯科技(深圳)有限公司 File downloading method, system, device and server
CN101764848A (en) * 2010-01-12 2010-06-30 浪潮(北京)电子信息产业有限公司 Method and device for transmitting network files
CN103457976A (en) * 2012-06-01 2013-12-18 腾讯科技(深圳)有限公司 Data downloading method and system
CN103152273A (en) * 2013-02-08 2013-06-12 杭州华三通信技术有限公司 Data caching method and device

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468523B (en) * 2014-11-07 2018-03-20 小米科技有限责任公司 UI themes acquisition methods, terminal and router
CN104468523A (en) * 2014-11-07 2015-03-25 小米科技有限责任公司 UI theme obtaining method, terminal and router
CN105681370B (en) * 2014-11-17 2019-11-15 腾讯科技(成都)有限公司 File synchronisation method, server and client
CN105681370A (en) * 2014-11-17 2016-06-15 腾讯科技(成都)有限公司 File synchronizing method, server and client
CN104579990A (en) * 2015-01-23 2015-04-29 小米科技有限责任公司 Router resource recommendation method and device
CN105991729A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Installation package downloading method and server
CN105991729B (en) * 2015-02-12 2019-12-31 Oppo广东移动通信有限公司 Installation package downloading method and server
CN106295410A (en) * 2015-06-05 2017-01-04 宇龙计算机通信科技(深圳)有限公司 Dual system downloads method and the device thereof of file
CN106295410B (en) * 2015-06-05 2019-04-12 宇龙计算机通信科技(深圳)有限公司 The method and device thereof of dual system downloading file
CN105099758A (en) * 2015-06-12 2015-11-25 小米科技有限责任公司 Methods and devices for transmitting update data package
CN105068819A (en) * 2015-09-10 2015-11-18 北京金山安全软件有限公司 Method, device and terminal for calling application programs
CN105117265B (en) * 2015-09-17 2019-02-15 珠海豹趣科技有限公司 A kind of method, apparatus and terminal of document upgrading
CN105117265A (en) * 2015-09-17 2015-12-02 北京金山安全软件有限公司 File upgrading method and device and terminal
WO2017071096A1 (en) * 2015-10-29 2017-05-04 小米科技有限责任公司 Method, apparatus and system for updating application program
WO2017092364A1 (en) * 2015-12-01 2017-06-08 乐视控股(北京)有限公司 Advertisement data processing method and router
CN106911747A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 File acquisition method, device and system
CN105763601A (en) * 2016-01-29 2016-07-13 北京小米移动软件有限公司 File sharing method and device
CN106559479A (en) * 2016-10-31 2017-04-05 北京小米移动软件有限公司 Multimedia file downloading method, designated equipment and terminal
CN106408544A (en) * 2016-11-11 2017-02-15 暴风集团股份有限公司 Method and system for repairing damaged video
CN106843870A (en) * 2017-01-16 2017-06-13 青岛海信宽带多媒体技术有限公司 The start resource loading method and device of multimedia terminal
CN106686112A (en) * 2017-01-18 2017-05-17 中国工商银行股份有限公司 Cloud file transmission system and method

Similar Documents

Publication Publication Date Title
CN104318741B (en) Bluetooth equipment control method and device
CN104780155B (en) Apparatus bound method and device
EP3174053A1 (en) Method, apparatus and system for playing multimedia data, computer program and recording medium
CN104219092B (en) The compatibility method of a kind of router administration application and router firmware and device
CN104460365A (en) Equipment control method and device
CN104159255A (en) Method of sharing network among terminals and device
CN104038263A (en) Method and device for establishing Bluetooth connection
CN104461725A (en) Application process starting control method and device
CN104660685A (en) Method and device for obtaining equipment information
CN104469741A (en) Terminal configuration method and device
CN103986969B (en) application management method, device and system
CN103888344A (en) Group creation method, group exiting method and device
CN104936304A (en) Intelligent equipment binding method, intelligent equipment, and server
CN104159275B (en) Method for connecting network and device
CN105162937A (en) Incoming call information processing method and device
CN104104514A (en) Method and device for identifying by using verification code
CN104168503A (en) Video information sharing method and device
CN104640234A (en) Method and device for accessing to wireless network
CN104703295A (en) Network access method and network access device
CN104967889A (en) Method used for controlling intelligent television to carry out video information processing and device
CN105069106A (en) Application group recommendation method and device
CN104156236A (en) Storage space saving method and device
CN104079473A (en) Information issuing method and device
CN104640166A (en) Communication method and device
CN105072178A (en) Mobile phone number binding information acquisition method and device

Legal Events

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

Application publication date: 20141029

RJ01 Rejection of invention patent application after publication