Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, provides a kind of mobile terminal access point download control method and system.It can realize mobile terminal access access point and download, be connected with access point after disconnecting and automatic the file download do not downloaded stored to access point, when again connecting, by the file automatic transmission downloaded to mobile terminal, improve the download efficiency of mobile terminal, provide users with the convenient.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A kind of mobile terminal access point download control method, wherein, comprising:
A, mobile terminal, by needing the file chaining that access point carries out downloading, the position of downloading this file, send to access point;
B, access point receive the file chaining that mobile terminal sends, the position of downloading this file; Then start to monitor mobile terminal;
C, when monitor mobile terminal and access point disconnect more than a scheduled time T1 then access point start to continue to download this file;
D, when mobile terminal is connected again with access point, access point by the file transfers downloaded to mobile terminal.
Described mobile terminal access point download control method, wherein, the position of downloading this file in described steps A is the percentage of this file downloaded at present.
Described mobile terminal access point download control method, wherein, monitoring carried out to mobile terminal comprise in described step B: the percentage that timing acquisition mobile terminal has been downloaded, and whether monitoring mobile terminal and access point disconnect.
Described mobile terminal access point download control method, wherein, described step C also comprises: the identification of access point to mobile terminal is identified by the physical address of mobile terminal.
Described mobile terminal access point download control method, wherein, described steps A also comprises: register in the access point: the link of download file, the physical address of mobile terminal, the percentage downloaded; Described registration is used for after mobile terminal and access point disconnect, transfer to access point to carry out downloading of task.
Described mobile terminal access point download control method, wherein, described step C specifically comprises:
C11, when monitoring mobile terminal and access point disconnects more than a scheduled time T1 then, first acquiring the physical address of the mobile terminal that downloading task is initiated, and acquiring the link of the download file that mobile terminal sends over;
C12, judge whether the mobile terminal that this and access point disconnect has registered downloading task, if had, then the percentage downloaded to acquisition for mobile terminal perform C13;
C13, detect in scheduled time T1, whether this mobile terminal is connected with access point again, if not, access point starts to carry out file download.
Described mobile terminal access point download control method, wherein, described step D specifically comprises:
D11, when access point has detected that mobile terminal accesses access point again, obtain the physical address of this mobile terminal, and checked whether the mobile terminal of current connection has been registered downloading task and do not completed, if had, performs D12;
The downloading task that D12, access point stop the physical address of this mobile terminal to register; And the file part this downloading task downloaded passes to this mobile terminal by document transmission module.
A kind of mobile terminal access point download control system, wherein, comprising:
Sending control module, for controlling mobile terminal by needing the file chaining that access point carries out downloading, the position of downloading this file, sending to access point;
Monitoring modular, receives the file chaining that mobile terminal sends, the position of downloading this file for controlling access point; Then start to monitor mobile terminal;
Access point downloading control module, for when monitor mobile terminal and access point disconnect more than a scheduled time T1 then access point start to continue to download this file;
File delivery module, for when mobile terminal is connected again with access point, controls access point by the file transfers downloaded to mobile terminal;
Registering modules, for registering in the access point: the link of download file, the physical address of mobile terminal, the percentage downloaded; Described registration is used for after mobile terminal and access point disconnect, transfer to access point to carry out downloading of task.
Described mobile terminal access point download control system, wherein, described access point downloading control module specifically comprises:
Acquiring unit, for when monitor mobile terminal and access point disconnects more than a scheduled time T1 then, first acquires the physical address of the mobile terminal of downloading task initiation, and acquires the link of the download file that mobile terminal sends over;
Judging unit, for judging whether the mobile terminal that this and access point disconnect has registered downloading task, if had, to the percentage that acquisition for mobile terminal has been downloaded;
Detecting unit, for detecting in scheduled time T1, whether this mobile terminal is connected with access point again, if not, access point starts to carry out file download.
Described mobile terminal access point download control system, wherein, described file delivery module specifically comprises:
Obtain and detecting unit, during for having detected that mobile terminal accesses access point again when access point, obtain the physical address of this mobile terminal, and check whether the mobile terminal of current connection has been registered downloading task and do not completed;
File transfer unit, for controlling the downloading task that access point stops the physical address of this mobile terminal to register; And the file part this downloading task downloaded passes to this mobile terminal by document transmission module.
Mobile terminal access point download control method provided by the present invention and system, owing to have employed when access point detects that mobile terminal connects AP(access point by wifi) carry out download file, and mobile terminal is connected when disconnecting with AP afterwards, and AP will download this file voluntarily; When mobile terminal connects this AP by wifi again, AP will the file transfer downloaded to mobile terminal; Mobile terminal is made to add New function: to have after disconnecting with AP access point in downloading process, access point continues to download, and after again connecting, the file of download is issued mobile terminal, thus greatly improve the efficiency of mobile terminal download file, provide users with the convenient.
Embodiment
For making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the flow chart of the preferred embodiment of a kind of mobile terminal access point of the present invention download control method.A kind of mobile terminal access point download control method shown in Fig. 1, comprises the following steps:
Step S100, mobile terminal, by needing the file chaining that access point carries out downloading, the position of downloading this file, send to access point;
In the embodiment of the present invention, if need to arrange when disconnecting suddenly in mobile terminal downloading process, and continue to download by contact point (AP).Then need first to be registered in the access point by described mobile terminal the percentage of the link of download file, the physical address of mobile terminal and downloaded file; What is called is registered in the access point mainly in order to transfer to access point to carry out downloading of task after mobile terminal and access point disconnect.
When mobile terminal access access point download file, mobile terminal, by needing the file chaining that access point carries out downloading, the position of downloading this file, sends to access point.Wherein, described position of having downloaded this file is the percentage of this file downloaded at present.Then step S200 is entered.
Step S200, access point receive the file chaining that mobile terminal sends, the position of downloading this file; Then start to monitor mobile terminal;
In the present embodiment, access point receives the file chaining that mobile terminal sends, the position (percentage of this file such as downloaded at present) of downloading this file; Then start to monitor mobile terminal.Wherein, describedly monitoring is carried out to mobile terminal comprise: the percentage that timing acquisition mobile terminal has been downloaded, and whether monitoring mobile terminal and access point disconnect.Then step S300 is proceeded to.
Step S300, when monitor mobile terminal and access point disconnect more than a scheduled time T1 then access point start to continue to download this file;
Such as, when monitoring mobile terminal and access point disconnects more than a scheduled time T1(such as 1 point of kind) then, first acquire the physical address of the mobile terminal that downloading task is initiated, and acquire the link of the download file that mobile terminal sends over; Judge whether the mobile terminal that this and access point disconnect has registered downloading task, if had, the percentage downloaded to acquisition for mobile terminal, then detect in scheduled time T1, whether this mobile terminal is connected with access point again, if not, access point starts to carry out file download.
Such as download a file to 50% when mobile terminal is connected to an access point AP, user will leave, like this, access point receives mobile terminal open command and registers, then access point can the 50% remaining downloaded stored do not downloaded to access point, sends mobile terminal to when again to connect next time for mobile terminal.
Step S400, when mobile terminal is connected again with access point, access point by the file transfers downloaded to mobile terminal.
Connect described when mobile terminal is connected again with access point, the file that access point detects this mobile terminal last downloaded also surplus 50% has not been downloaded, the file that other 50% file transfers downloaded has been formed to mobile terminal by access point.
Example is when access point has detected that mobile terminal accesses access point again, obtain the physical address of this mobile terminal, and check whether the mobile terminal of current connection has been registered downloading task and do not completed, if had, control the downloading task that access point stops the physical address of this mobile terminal to register; And the file part this downloading task downloaded passes to this mobile terminal by document transmission module.
Therefore, the invention provides a kind of mobile terminal access point download control method.It can realize mobile terminal access access point and download, be connected with access point after disconnecting and automatic the file download do not downloaded stored to access point, when again connecting, by the file automatic transmission downloaded to mobile terminal, improve the download efficiency of mobile terminal, provide users with the convenient.
Based on said method embodiment, present invention also offers a kind of mobile terminal access point download control system, as shown in Figure 2, described system comprises:
Sending control module 210, for controlling mobile terminal by needing the file chaining that access point carries out downloading, the position of downloading this file, sending to access point; As detailed above.
Monitoring modular 220, receives the file chaining that mobile terminal sends, the position of downloading this file for controlling access point; Then start to monitor mobile terminal; As detailed above.
Access point downloading control module 230, for when monitor mobile terminal and access point disconnect more than a scheduled time T1 then access point start to continue to download this file; As detailed above.
File delivery module 240, for when mobile terminal is connected again with access point, controls access point by the file transfers downloaded to mobile terminal; As detailed above.
Registering modules 250, for registering in the access point: the link of download file, the physical address of mobile terminal, the percentage downloaded; Described registration is used for after mobile terminal and access point disconnect, transfer to access point to carry out downloading of task; As detailed above.
Further, described mobile terminal access point download control system, wherein, described access point downloading control module specifically comprises:
Acquiring unit, for when monitor mobile terminal and access point disconnects more than a scheduled time T1 then, first acquires the physical address of the mobile terminal of downloading task initiation, and acquires the link of the download file that mobile terminal sends over; As detailed above.
Judging unit, for judging whether the mobile terminal that this and access point disconnect has registered downloading task, if had, to the percentage that acquisition for mobile terminal has been downloaded; As detailed above.
Detecting unit, for detecting in scheduled time T1, whether this mobile terminal is connected with access point again, if not, access point starts to carry out file download; As detailed above.
Further, described mobile terminal access point download control system, wherein, described file delivery module specifically comprises:
Obtain and detecting unit, during for having detected that mobile terminal accesses access point again when access point, obtain the physical address of this mobile terminal, and check whether the mobile terminal of current connection has been registered downloading task and do not completed; As detailed above.
File transfer unit, for controlling the downloading task that access point stops the physical address of this mobile terminal to register; And the file part this downloading task downloaded passes to this mobile terminal by document transmission module; As detailed above.
Below by way of a concrete Application Example, the present invention is described in further detail:
Access point in the present embodiment, comprising: identification module, disconnection detection module, access detection module, file download module, document transmission module, delay detection module, download Registering modules.
Access detection module, this module is for detecting mobile terminal access access point.
Identification module, this module is used for identifying mobile terminal according to the physical address of the mobile terminal of access.
Disconnection detection module, this module is for detecting the disconnection behavior of mobile terminal and access point.
Download Registering modules, this module needs after mobile terminal and access point disconnect, transfer to access point to carry out downloading of task for registering; Particularly, need to register in the access point: the link of download file, the physical address of mobile terminal, the percentage downloaded.
Postpone detection module, this module is after detecting that mobile terminal and access point disconnect, if in time T1, this mobile terminal is not connected with access point then trigger file download module yet.
File download module, this module is used for downloading according to downloading the downloading task registered in Registering modules.
Document transmission module, when this module is connected with access point again for the mobile terminal that have registered downloading task in Registering modules, the file transfer downloaded by access point is to mobile terminal.
In access point side, when receiving the downloading task log-on message that mobile terminal sends, perform following steps:
S111, to be obtained the physical address of the mobile terminal that downloading task is initiated by identification module, also need the link obtaining the download file that mobile terminal sends in addition;
In access point side, when disconnection detection module detects that the connection of mobile terminal and access point disconnects, perform following steps:
S121, judge that whether mobile terminal that this and access point disconnect registers downloading task downloading in Registering modules, if had, then the percentage downloaded to acquisition for mobile terminal perform S122;
S122, detected in time T1 by delay detection module, whether this mobile terminal is connected with access point again, if not, access point starts to carry out file download;
In access point side, when accessing detection module and mobile terminal access access point having been detected, perform following steps:
S131, obtain the physical address of this mobile terminal, in download Registering modules, check whether the registration of this mobile terminal has downloading task, if had, performs S132;
The physical address of this mobile terminal is stopped to download the downloading task registered in Registering modules in S132, access point; And the file part this downloading task downloaded passes to this mobile terminal by document transmission module, now for mobile terminal can be very fast download corresponding file from access point;
Mobile terminal in the present embodiment, comprising: link block, Download Info transport module, download module;
Link block, this module is connected and disconnection with access point for detecting mobile terminal;
Download Info transport module, this module is used for needing to access point transmission the percentage that carries out the link of the file downloaded by access point, the physical address of this mobile terminal, this file mobile terminal have been downloaded;
Download module, this module is used for download file.
In mobile terminal side, when mobile terminal needs the downloading task of a file to be transferred to access point, will following steps be performed:
S211, by the physical address of mobile terminal, file download link pass to access point by Download Info transport module; Then S212 is performed when link block detects mobile terminal and this access point disconnects;
S212, the percentage that this file has been downloaded is passed to mobile terminal;
In mobile terminal side, when mobile terminal is when transferring to the downloading task of access point to download, will following steps be performed:
S221, to access point transmission requirement delete before registration downloading task information, by access point, registered related download mission bit stream is deleted; And no longer perform S211 when mobile terminal and access point disconnect.
In sum, mobile terminal access point download control method provided by the present invention and system, owing to have employed when access point detects that mobile terminal connects AP(access point by wifi) carry out download file, and mobile terminal is connected when disconnecting with AP afterwards, and AP will download this file voluntarily; When mobile terminal connects this AP by wifi again, AP will the file transfer downloaded to mobile terminal; Mobile terminal is made to add New function: to have after disconnecting with AP access point in downloading process, access point continues to download, and after again connecting, the file of download is issued mobile terminal, thus greatly improve the efficiency of mobile terminal download file, provide users with the convenient.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.