Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiment is only a part of the embodiment of the application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
Referring to Fig. 1, Fig. 1 is the flow diagram of method for down loading first embodiment provided by the present application, in the present embodiment
Method for down loading include:
S11: terminal sends downloading request to router;
Wherein, downloading request includes the web page interlinkage of target to be downloaded, and user can pass through terminal, such as mobile phone or computer
It sends the downloading request including the web page interlinkage manually according to downloading demand and is sent to router, user can also click in terminal
Download command, terminal obtain the web page interlinkage of target to be downloaded according to the download command, and by the downloading comprising the web page interlinkage
Request is sent to router.
In a specific embodiment, before step S11 further include: terminal obtains the playback progress of target to be downloaded to sentence
Whether target to be downloaded of breaking finishes, for example user, when watching film by terminal, terminal obtains the playback progress of film,
When terminal judges that target to be downloaded does not finish, terminal sends request to be downloaded to router, manual without user
Operation.
In another specific embodiment, before step S11 further include: terminal obtain the update progress of target to be downloaded with
Judge whether target to be downloaded publishes in instalments end, for example when user is when watching TV play by terminal, terminal obtains the TV play
Update progress, at the end of terminal judges that target to be downloaded is not published in instalments, terminal to router send downloading request, without
User's manual operation.
S12: router receives request to be downloaded;
Specifically, router receives the request to be downloaded that terminal is sent.
S13: router access webpage corresponding with web page interlinkage is to obtain the information to be downloaded of target to be downloaded;
Wherein, which includes the download address of target to be downloaded, title, can also include target to be downloaded
Playback progress, for example target to be downloaded is film, the as playback progress of film, can also include target to be downloaded update into
Degree, such as target to be downloaded are the TV play in the state of publishing in instalments.
Referring to Fig. 2, Fig. 2 is the idiographic flow schematic diagram of mono- embodiment of step S13 in Fig. 1, in an embodiment
In, step S13 is specifically included:
S13a: router downloads webpage corresponding with web page interlinkage;
Specifically, after router receives the web page interlinkage that terminal is sent, it is corresponding with web page interlinkage by the Internet download
Webpage.
S13b: router logs in the user name and password that webpage is obtained in record in history;
Wherein, which logs in that record can be the history Download History of router namely router is downloaded in history
The webpage is logged in the process and using user name and password when is recorded, be also possible to user in historical time and pass through terminal landing
The webpage and using username and password when is recorded, by obtaining the user name and password of webpage in historical record, do not need
User is manually entered, and improves convenience.
It should be understood that prompt then can be transmitted in router when not having the user name of the webpage and password in historical record
Information, to remind user to input user name and password.
S13c: router logon web page is to obtain information to be downloaded.
Specifically, logging in the webpage after router gets login user name and password, and webpage is independently divided
Analysis is to obtain information to be downloaded.
S14: router is downloaded target to be downloaded according to download address.
Optionally, in a specific embodiment, the content that router does not play target to be downloaded according to download address
Be downloaded so that the content that direct viewing does not play when user watches next time, without repeat to watch or adjust into
Item is spent, improves convenience for users, and the memory space of router can be saved.
It is the idiographic flow schematic diagram of another embodiment of step S14 in Fig. 1 refering to Fig. 3, Fig. 3, in another embodiment party
In formula, step S14 is specifically included:
S14a: router obtains the renewal time of target to be downloaded;
Specifically, router passes through webpage when terminal judges that target to be downloaded does not publish in instalments end and transmission downloading request
History renewal time obtain renewal time of target to be downloaded.
S14b: the target to be downloaded that router is updated in renewal time downloading.
Specifically, router in renewal time each time, refreshes webpage with updated according to download address downloading
Target to be downloaded, it is to be updated without manual refreshing webpage etc., improve convenience for users.
Referring to Fig. 4, Fig. 4 is the idiographic flow schematic diagram of the another embodiment of step S14 in Fig. 1, in the another implementation
In mode, step S14 is specifically included:
S141: the currently used speed in router monitoring broadband;
Optionally, the currently used speed in broadband is the broadband operating speed with the currently used equipment of broadband connection.
Optionally, router obtains making for time corresponding with current time according to current time in history usage record
With speed, using as currently used speed.
S142: router calculates the remaining operating speed in the broadband according to total speed in broadband and currently used speed;
For example the currently used speed in broadband is 3M, total speed in broadband is 10M, then remaining operating speed is 7M.
S143: router distribution is less than or equal to the speed of download of remaining operating speed, so that router is according to downloading
Speed is downloaded target to be downloaded.
Specifically, router, according to the remaining operating speed calculated in step S142, distribution does not influence currently making for broadband
With the speed of download of speed, so that not influencing width when router is downloaded target to be downloaded according to the speed of download
The normal use of the currently used equipment of band, for example, total speed in broadband is 10M, currently used speed is 3M, then can distribute and be less than
Or the speed of download equal to 7M is downloaded, when operating speed be 0, then can distribute at full speed download.
It is the idiographic flow schematic diagram of step S14 another embodiment in Fig. 1 refering to Fig. 5, Fig. 5, in the another embodiment,
Step S141a, S141c and S141d respectively in above-mentioned another embodiment step S141, S142 and S143 it is identical, herein not
It repeats again, the another embodiment further include:
S141b: router reduces the broadband operating speed of currently used equipment according to the operating status of currently used equipment.
It is the idiographic flow schematic diagram of mono- embodiment of step S141b in Fig. 5 refering to Fig. 6, Fig. 6, in an embodiment
In, step S141b is specifically included:
S1411: router judges whether currently used equipment is in standby;
Specifically, router judges whether currently used equipment is in standby, if being in standby, step is executed
Rapid S1412 thens follow the steps S1413 if being in non-standby state.
S1412: router disconnects the broadband connection of currently used equipment;
Specifically, router disconnects currently used equipment when router judges that currently used equipment is in standby
Broadband connection improve the remaining operating speed in broadband, and then improve to reduce the broadband operating speed of currently used equipment
The speed of download distributed in step S141d improves download efficiency.
S1413: router judges whether currently used equipment has running background program;
Specifically, when router judges that currently used equipment is in non-standby state, namely it is in state currently in use
When, router judges whether currently used equipment has running background program, if so, thening follow the steps S1414, if not having, ties
Beam.
S1414: the broadband connection of router disconnection running background program.
Specifically, terminal disconnects the width of running background program when router judges that current device has running background program
Band connection improves the remaining operating speed in broadband, and then improve step to reduce the broadband operating speed of currently used equipment
The speed of download distributed in S141d improves download efficiency.
Further, after the completion of downloading in step S14, router sends the prompt that downloading is completed, to remind under user
It carries and completes, which can be prompted by being sent to the prompt information of terminal, can also be prompted by router itself,
For example router makes a sound or light prompt.
Method for down loading in the present embodiment sends downloading request to router by terminal, and router receives downloading request;
For router access webpage corresponding with web page interlinkage to obtain the information to be downloaded of target to be downloaded, information to be downloaded includes under
Carry the download address of target;The method that router is downloaded target to be downloaded according to download address, so that user does not need
It logs in application program or downloading manually is linked according to address, improve download efficiency.
It is the flow diagram of method for down loading second embodiment provided by the present application refering to Fig. 7, Fig. 7, in the present embodiment
Step S21~S23 is identical as step S11~S13 in above-mentioned first embodiment, and details are not described herein, in the present embodiment under
Support method further include:
S24: router is downloaded target to be downloaded according to download address;
It is the idiographic flow schematic diagram of mono- embodiment of step S24 in Fig. 7 refering to Fig. 8, Fig. 8, in an embodiment,
Step S24 is specifically included:
S241: router according to can memory space calculate the download formats of target to be downloaded;
Specifically, router obtain router can memory space size, and calculate target to be downloaded under different
Carry under format, such as the file size under super clear format, high-definition format or SD format, thus selection can memory space can hold
The download formats received, when can memory space can accommodate multiple download formats when, can preferentially select higher format to be downloaded.
Optionally, when router can be downloaded target of the memory space inadequate to accommodate any download formats when,
Router deletes stored file in memory space, and deletion mode can be deleted according to the sequencing of history download time
It removes, more long file of preferential erasing time download time can also be deleted according to the size of file, preferentially be deleted biggish
File deletes file compatible with the size of target to be downloaded.
S242: router is downloaded target to be downloaded with download formats according to download address.
Optionally, target to be downloaded can also be downloaded with preset download formats in step s 24, set-up mode can
In such a way that user independently sets.
S25: the target to be downloaded after the completion of router storage downloading;
Specifically, the storage that the target to be downloaded after the completion of downloading is stored in router is empty after the completion of router downloading
Between in, and can according to the title of target to be downloaded formed file, the target to be downloaded after the completion of downloading is stored in this document
In folder.
S26: router generates file corresponding with the target to be downloaded after the completion of downloading and links.
Specifically, when router storage downloading after the completion of target to be downloaded after, generate with download after the completion of it is to be downloaded
The corresponding file link of target, and this document link is sent to the user terminal, so that user can be linked by this document
Target to be downloaded is directly played at the terminal, or passes through the mesh to be downloaded after the completion of this document link at the terminal inquiry downloading
Target store path, thus the target to be downloaded after the completion of copying the downloading.
Method for down loading in the present embodiment further passes through the target to be downloaded after the completion of router storage downloading, router
The method that file corresponding with the target to be downloaded after the completion of downloading links is generated, so that the target to be downloaded after the completion of downloading exists
While being not take up the memory space of terminal, user can also directly play the target to be downloaded after the completion of downloading by terminal.
It is the flow diagram of method for down loading 3rd embodiment provided by the present application refering to Fig. 9, Fig. 9, the step in this implementation
Rapid S31, S32, S34 and S35 are identical as step S11~S14 in above-mentioned first embodiment respectively, and details are not described herein, this reality
Apply the method for down loading in example further include:
S33: router judges whether identification information matches with default white list.
Specifically, the downloading request in step S31 further includes terminal identification information, when router receives in step S32
After downloading request, judge whether there is the identification information in default white list, if so, thening follow the steps S34, otherwise, terminates.
Wherein, the identification information for allowing the terminal downloaded can be stored in advance according to user's sets itself in default white list, when
It after router receives downloading request, can be matched, be prevented without permission and the case where download with default white list.
0, Figure 10 is the schematic block diagram of download system embodiment provided by the present application refering to fig. 1, the downloading in the present embodiment
System includes terminal 41 and router 42, and terminal 41 is connect with router 42.
Terminal 41 is used to send downloading request to router 42, and downloading request includes the web page interlinkage of target to be downloaded;
Router 42 is for receiving downloading request;
Router 42 is for accessing webpage corresponding with web page interlinkage to obtain the information to be downloaded of target to be downloaded, under
Information carrying breath includes the download address of target to be downloaded;
Router 42 is for being downloaded target to be downloaded according to download address.
1, Figure 11 is the schematic block diagram of computer readable storage medium embodiment provided by the present application, this implementation refering to fig. 1
Computer-readable recording medium storage in example has computer program 51, which can be executed by processor with reality
Method for down loading in existing any of the above-described embodiment.
Optionally, which can be USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The terminal devices such as the medium or computer of sequence code, server, mobile phone, plate.
Above is only an example of the present application, it is not intended to limit the scope of the patents of the application, it is all to utilize this Shen
Please equivalent structure or equivalent flow shift made by specification and accompanying drawing content, be applied directly or indirectly in other relevant skills
Art field similarly includes in the scope of patent protection of the application.