WO2017092458A1 - 一种移动终端浏览器文件传输方法及移动终端 - Google Patents

一种移动终端浏览器文件传输方法及移动终端 Download PDF

Info

Publication number
WO2017092458A1
WO2017092458A1 PCT/CN2016/097962 CN2016097962W WO2017092458A1 WO 2017092458 A1 WO2017092458 A1 WO 2017092458A1 CN 2016097962 W CN2016097962 W CN 2016097962W WO 2017092458 A1 WO2017092458 A1 WO 2017092458A1
Authority
WO
WIPO (PCT)
Prior art keywords
download
file
cloud
network
uploading
Prior art date
Application number
PCT/CN2016/097962
Other languages
English (en)
French (fr)
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 乐视控股(北京)有限公司
Publication of WO2017092458A1 publication Critical patent/WO2017092458A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Definitions

  • the present application relates to the technical field related to mobile devices, and in particular, to a mobile terminal browser file transmission method and a mobile terminal.
  • the application provides a mobile terminal browser file transmission method, including:
  • the step of the browser accessing the webpage includes: a download request in response to the browser including a web download link;
  • Download destination options display steps, including: display including download to cloud options and download to a browser prompt of the mobile terminal option, in response to the download to cloud option selected event, performing a cloud downloading step, in response to the downloading to the mobile terminal option being selected to be selected, performing a local downloading step;
  • the cloud downloading process includes: obtaining a download identifier, uploading the download identifier and the network download link to a cloud server, where the cloud server downloads a download file specified by the network download link, and downloads the download file
  • the download identifier is saved after the association is saved;
  • the local downloading step includes: downloading the download file specified by the network download link to the mobile terminal and ending.
  • the step of accessing the webpage by the browser and the step of displaying the download destination option further includes a step of downloading a file size detecting step
  • the download file size detecting step includes:
  • a download destination option display step is performed.
  • the preset threshold is a product of a free space of the mobile terminal and a preset percentage.
  • the browser accessing webpage step and the download destination option displaying step further include a cloud detecting step
  • the cloud detecting step includes:
  • download identifier and the network download link in the cloud server are not saved in association, performing a download destination option display step, otherwise displaying a browser prompt including downloading options from the cloud, and selecting to be selected in response to downloading from the cloud option
  • the event after obtaining a cloud download link for indicating the download file at the cloud server location from the cloud server, and updating the network download link to the cloud download link, performing a local downloading step.
  • the local downloading step specifically includes:
  • the downloaded content is acquired, and the download file specified by the network download link is continuously downloaded to the mobile terminal according to the download progress.
  • the method further includes an uploading file startup step, a cloud uploading step, and a local uploading step;
  • the uploading file startup step includes: generating a check code for the uploaded file as an upload file check code in response to an upload request including a network upload address and an upload file, and uploading the upload file check code to the a cloud server, if the cloud server stores a file whose check code is consistent with the check code of the uploaded file, uploading the file in the cloud server that is consistent with the check code of the uploaded file as a cloud uploading File, perform the cloud upload step, otherwise perform the local upload step;
  • the cloud uploading process includes: sending the network uploading address to the cloud server, where the network uploading address is used by the cloud server to send the cloud uploading file to the network uploading address;
  • the local uploading step includes: uploading the uploaded file to the network upload address and ending.
  • the local uploading step specifically includes:
  • the application provides a mobile terminal, including:
  • a browser access webpage module configured to: respond to a download request of a web download link in response to the browser;
  • a download destination option display module configured to: display a browser prompt including a download to cloud option and a download to mobile terminal option, and execute a cloud download module in response to the download to cloud option selected event, in response to the downloading to The mobile terminal option is selected to be selected, then Execute a local download module;
  • a cloud downloading module configured to: obtain a download identifier, upload the download identifier and the network download link to a cloud server, and the cloud server downloads a download file specified by the network download link, and downloads the download file The download identifier is saved after the association is saved;
  • the local downloading module is configured to: download the download file specified by the network download link to the mobile terminal and end.
  • the browser accessing the webpage module and the download destination option display module further includes a download file size detecting module
  • the download file size detecting module is configured to:
  • the download destination option display module is executed.
  • the preset threshold is a product of a free space of the mobile terminal and a preset percentage.
  • the browser accessing the webpage module and the download destination option display module further includes a cloud detection module
  • the cloud detection module is configured to:
  • the download identifier and the network download link in the cloud server are not saved in association, executing a download destination option display module, otherwise displaying a browser prompt including downloading options from the cloud, and selecting to be selected in response to downloading from the cloud option
  • the cloud download link for indicating the download file at the cloud server location is obtained from the cloud server, and after the network download link is updated to the cloud download link, the local download module is executed.
  • the local download module is specifically configured to:
  • the method further includes an upload file startup module, a cloud upload module, and a local upload module.
  • the uploading file startup module is configured to: in response to an upload request including a network upload address and an upload file, generate a check code for the uploaded file as an upload file check code, and upload the upload file check code to the If the cloud server stores a file whose check code is consistent with the check code of the uploaded file, the file in the cloud server that matches the check code of the upload file is used as a cloud. Upload the file and execute the cloud upload module. Otherwise, execute the local upload module.
  • a cloud uploading module configured to: send the network uploading address to the cloud server, where the network uploading address is used by the cloud server to send the cloud uploading file to the network uploading address;
  • the local uploading module is configured to: upload the upload file to the network upload address and end.
  • the local uploading module is specifically configured to:
  • an embodiment of the present application further provides a mobile terminal, where the mobile terminal includes:
  • the processor, the memory, and the communication interface complete communication with each other through the bus;
  • the communication interface is used for information transmission between the mobile terminal and a server;
  • the processor is configured to invoke logic instructions in the memory to perform the following method
  • the step of the browser accessing the webpage includes: a download request in response to the browser including a web download link;
  • Download destination options display steps, including: display including download to cloud options and download to a browser prompt of the mobile terminal option, in response to the download to cloud option selected event, performing a cloud downloading step, in response to the downloading to the mobile terminal option being selected to be selected, performing a local downloading step;
  • the cloud downloading process includes: obtaining a download identifier, uploading the download identifier and the network download link to a cloud server, where the cloud server downloads a download file specified by the network download link, and downloads the download file
  • the download identifier is saved after the association is saved;
  • the local downloading step includes: downloading the download file specified by the network download link to the mobile terminal and ending.
  • An embodiment of the present application also provides a computer program, including program code, for performing the following operations:
  • the step of the browser accessing the webpage includes: a download request in response to the browser including a web download link;
  • the download destination option display step includes: displaying a browser prompt including a download to cloud option and a download to mobile terminal option, in response to the download to cloud option selected event, performing a cloud downloading step in response to the downloading to the mobile When the terminal option is selected to be selected, the local download step is performed;
  • the cloud downloading process includes: obtaining a download identifier, uploading the download identifier and the network download link to a cloud server, where the cloud server downloads a download file specified by the network download link, and downloads the download file
  • the download identifier is saved after the association is saved;
  • the local downloading step includes: downloading the download file specified by the network download link to the mobile terminal and ending.
  • Embodiments of the present application also provide a storage medium for storing the above computer program.
  • the present application provides an option to download to the cloud option and download to the mobile terminal when the user downloads the file by using a browser, so that the user can select whether to download to the cloud or download to the mobile terminal when downloading the file in the mobile network environment, thereby avoiding The necessary flow and money costs.
  • FIG. 1 is a working flow chart of a method for transmitting a browser file of a mobile terminal according to the present application
  • 3 is a browser prompt in another embodiment of the present application.
  • FIG. 4 is a flow chart showing the operation of downloading a file according to a preferred embodiment of the present application.
  • Figure 5 is a flow chart showing the operation of uploading a file according to a preferred embodiment of the present application.
  • FIG. 6 is a structural block diagram of a mobile terminal according to the present application.
  • FIG. 7 is a structural block diagram of a mobile terminal of the present application.
  • FIG. 8 is a structural block diagram of a mobile terminal according to another embodiment of the present application.
  • FIG. 1 is a flowchart of a mobile terminal browser file transmission method according to the present application, including:
  • Step S101 comprising: in response to the browser including a download request of a network download link;
  • Step S102 comprising: displaying a browser prompt including a download to cloud option and a download to mobile terminal option, in response to the download to cloud option selected event, performing step S103, in response to the downloading to the mobile terminal option being selected If the event is selected, step S104 is performed;
  • Step S103 comprising: acquiring a download identifier, uploading the download identifier and the network download link to a cloud server, the cloud server downloading a download file specified by the network download link, and downloading the download file and the The download identifier is saved after the association is saved;
  • Step S104 comprising: downloading the download file specified by the network download link to the mobile terminal and ending.
  • the user accesses the webpage through the browser on the mobile terminal, such as a smart phone, and when the webpage is accessed, clicking the download file on the webpage to download the hyperlink, the step S101 is triggered, and the download file downloaded by the user clicks the hyperlink. Download the link for the web.
  • the user can also input the network download link directly in the address bar of the browser, or trigger step S101.
  • a browser prompt is displayed.
  • One of the browser prompts includes a save to cloud option 21 and a save to mobile phone option 22, and may also include a cancel option 23.
  • Another browser prompt is shown in Figure 3.
  • the prompt is: "Whether to download to the cloud”, and the confirmation option 31 and the cancel option 32 are given.
  • the option 31 and the save to cloud option 21 function of FIG. 2 are confirmed.
  • all download to the cloud option, cancel option 32 and Figure 2 save to phone option 22 have the same function, are download to mobile terminal option.
  • the user may choose to click the download to cloud option, and trigger the step S103 to download the downloaded file to the cloud server, where the download identifier may be a user identifier such as a user name, or may be a mobile terminal identifier such as a mobile phone.
  • the mobile device international identity code (IMEI) when the user is in the WIFI environment or downloads the small download file, can choose to click the download to mobile terminal option, and then triggers step S104 to download the downloaded file to the mobile terminal.
  • IMEI mobile device international identity code
  • Step S103 downloads the downloaded file to the cloud server, and the user can subsequently download the downloaded file from the cloud server.
  • the download identifier may be a user identifier such as a username, or may be a mobile terminal identifier such as an International Mobile Equipment Identity (IMEI).
  • IMEI International Mobile Equipment Identity
  • the present application provides an option to download to the cloud option and download to the mobile terminal when the user downloads the file by using a browser, so that the user can select whether to download to the cloud or download to the mobile terminal when downloading the file in the mobile network environment, thereby avoiding The necessary flow and money costs.
  • the step S101 and the step S102 further include a download file size detecting step
  • the download file size detecting step includes:
  • step S102 is performed.
  • the size of the downloaded file is obtained before downloading, and when the downloaded file exceeds a preset threshold. At the time, a browser prompt is displayed to let the user choose whether to download to the cloud. Prevent users from accidentally downloading large download files.
  • the preset threshold is a product of a free space of the mobile terminal and a preset percentage.
  • the space of the mobile terminal is limited.
  • the preset threshold is associated with the free space of the mobile terminal to prevent the user from downloading more than the mobile terminal.
  • the downloaded file of the free space of the terminal is sent to the mobile terminal.
  • the step S101 and the step S102 further include a cloud detecting step
  • the cloud detecting step includes:
  • step S102 If the download identifier and the network download link are not saved in the cloud server, step S102 is performed, otherwise the browser prompt including the option to download from the cloud is displayed, and in response to the event selected from the cloud download option, the slave The cloud server obtains a cloud download link for indicating the download file at the cloud server location, and after updating the network download link to the cloud download link, step S104 is performed.
  • the user can directly access the cloud server for downloading. However, sometimes the user may not remember that the downloaded file has been downloaded to the cloud server.
  • the embodiment first accesses before downloading.
  • the cloud server if the download file has been downloaded in the cloud server, can prompt the user to download from the cloud server, so that the user can get a faster download experience.
  • the step S104 specifically includes:
  • the downloaded content is acquired, and the download file specified by the network download link is continuously downloaded to the mobile terminal according to the download progress.
  • This embodiment provides a breakpoint retransmission function after the failure, so that when the user downloads the downloaded file to the mobile terminal through the browser, the user can resume downloading the last time after the download fails. download file.
  • the method further includes: uploading a file startup step, a cloud uploading step, and a local uploading step;
  • the uploading the file to the cloud a server if the cloud server stores a file whose check code is consistent with the check file check code, the file in the cloud server that is consistent with the check code of the uploaded file is used as a cloud upload file. , execute the cloud upload step, otherwise perform the local upload step;
  • the cloud uploading process includes: sending the network uploading address to the cloud server, where the network uploading address is used by the cloud server to send the cloud uploading file to the network uploading address;
  • the local uploading step includes: uploading the uploaded file to the network upload address and ending.
  • the check code may use an existing check code generation method, such as a CRC check or an MD5 check.
  • the check code is generated and uploaded to the cloud server, and the size of the check code is generally small, so the consumed traffic is very low. If there is a file with the same check code on the cloud server, it means that a consistent file has been saved on the cloud server. At this time, uploading from the cloud server to the network upload address can greatly reduce the traffic consumed, so that the user is even on the mobile network. Large files can also be uploaded with very little traffic in the environment.
  • the local uploading step specifically includes:
  • uploading files sometimes fails.
  • the function of uploading files by breakpoints is added.
  • the server indicated by the network uploading address is allowed to continue uploading, the file is uploaded by the breakpoint, otherwise the file is completely uploaded again, and the user is reduced. Waste unnecessary traffic.
  • FIG. 4 is a flowchart of a download file of a preferred embodiment of the present application.
  • the mobile terminal is a smart phone, and specifically includes:
  • Step S401 the user downloads a large file by using a mobile phone browser
  • Step S402 The browser prompts whether to save to the cloud or the internal memory of the mobile phone. If the user chooses to save to the cloud, step S403 is performed, and if the user chooses to save to the internal memory of the mobile phone, step S404 is performed;
  • Step S403 uploading a download link of the mobile phone IMEI code and the large file to the cloud server, and ending, the cloud server downloads the large file and saves it in association with the mobile phone IMEI code;
  • Step S404 Start downloading, and when the WIFI network or the wireless network causes the download to fail, keep the previous download content in the cache;
  • Step S405 When the user downloads the same large file again, the prompt message: "Whether to continue downloading the last file” and "Re-download this file”, the user chooses to continue downloading the last file, then activates the breakpoint download function, making the big The file can be successfully downloaded and finished.
  • FIG. 5 is a flowchart of a method for uploading a file according to a preferred embodiment of the present application.
  • the mobile terminal is a smart phone, and specifically includes:
  • Step S501 the user uploads a large file by using a mobile phone browser
  • Step S502 generating a check code for the large file, and uploading the check code as an upload file check code to the cloud server;
  • Step S503 if there is a file with the same check code on the cloud server, step S504 is performed, otherwise step S505 is performed;
  • Step S504 sending a network upload address to the cloud server, and requesting the cloud server to send the file matching the check code of the cloud server and the uploaded file check code to the network upload address, and then ending;
  • Step S505 Start uploading, and when the WIFI network or the wireless network causes the upload failure, the upload progress is retained;
  • Step S506 When the user uploads the same file again, the prompt: "Whether to continue uploading the last file” and “Re-upload this file”, the user chooses to continue uploading the last file, and then sends a request to continue uploading to the server, if the server Allow uploading, activate the breakpoint upload function, so that large files can be successfully uploaded and finished.
  • FIG. 6 is a structural block diagram of a mobile terminal according to the present application, including:
  • the browser access webpage module 601 is configured to: respond to the download request of the web download link by the browser;
  • the download destination option display module 602 is configured to: display a browser prompt including a download to cloud option and a download to mobile terminal option, in response to the download to cloud option selected event, execute a cloud download module 603, in response to the Download to mobile terminal option is selected to be selected event, then execute local download module 604;
  • the cloud downloading module 603 is configured to: obtain a download identifier, upload the download identifier and the network download link to a cloud server, and the cloud server downloads a download file specified by the network download link, and downloads the file Ending after being saved in association with the download identifier;
  • the local downloading module 604 is configured to: after downloading the download file specified by the network download link to the mobile terminal, ending.
  • the browser access webpage module and the download destination option display module further include a download file size detecting module
  • the download file size detecting module is configured to:
  • the download destination option display module is executed.
  • the preset threshold is a product of a free space of the mobile terminal and a preset percentage.
  • the browser accessing the webpage module and the download destination option display module further includes a cloud detection module
  • the cloud detection module is configured to:
  • the download identifier and the network download link in the cloud server are not saved in association, executing a download destination option display module, otherwise displaying a browser prompt including downloading options from the cloud, and selecting to be selected in response to downloading from the cloud option
  • the cloud download link for indicating the download file at the cloud server location is obtained from the cloud server, and after the network download link is updated to the cloud download link, the local download module is executed.
  • the local download module is specifically configured to:
  • the downloaded content is acquired, and the download file specified by the network download link is continuously downloaded to the mobile terminal according to the download progress.
  • the method further includes uploading a file module
  • the uploading file module is configured to: generate, according to an upload request including a network upload address and an uploaded file, a check code for the uploaded file as an upload file check code, and upload the upload file check code to the a cloud server, if the cloud server stores a file whose check code is consistent with the check code of the uploaded file, uploading the file in the cloud server that is consistent with the check code of the uploaded file as a cloud uploading File, execute the cloud upload module, otherwise execute the local upload module;
  • a cloud uploading module configured to: send the network uploading address to the cloud server, where the network uploading address is used by the cloud server to send the cloud uploading file to the network uploading address;
  • the local uploading module is configured to: upload the upload file to the network upload address and end.
  • the local uploading module is specifically configured to:
  • FIG. 7 is a structural block diagram of a mobile terminal of the present application, which mainly includes: a processor 701, a memory 702, a communication component 703, and the like.
  • the mobile terminal of the present application is preferably a smartphone or the like.
  • the specific code for storing the foregoing method in the memory 702 is specifically executed by the processor 701, and the communication component 703 communicates with the cloud server or the download server.
  • FIG. 8 is a structural block diagram of a mobile terminal according to another embodiment of the present application, where the mobile The terminal includes:
  • processor 801 a processor 801, a memory 802, a communication interface 803, and a bus 804;
  • the processor 801, the memory 802, and the communication interface 803 complete communication with each other through the bus 804;
  • the communication interface 803 is used for information transmission between the mobile terminal and a server;
  • the processor 801 is configured to invoke logic instructions in the memory 802 to perform the following methods;
  • the step of the browser accessing the webpage includes: a download request in response to the browser including a web download link;
  • the download destination option display step includes: displaying a browser prompt including a download to cloud option and a download to mobile terminal option, in response to the download to cloud option selected event, performing a cloud downloading step in response to the downloading to the mobile When the terminal option is selected to be selected, the local download step is performed;
  • the cloud downloading process includes: obtaining a download identifier, uploading the download identifier and the network download link to a cloud server, where the cloud server downloads a download file specified by the network download link, and downloads the download file
  • the download identifier is saved after the association is saved;
  • the local downloading step includes: downloading the download file specified by the network download link to the mobile terminal and ending.
  • An embodiment of the present application also provides a computer program, including program code, for performing the following operations:
  • the step of the browser accessing the webpage includes: a download request in response to the browser including a web download link;
  • the download destination option display step includes: displaying a browser prompt including a download to cloud option and a download to mobile terminal option, in response to the download to cloud option selected event, performing a cloud downloading step in response to the downloading to the mobile When the terminal option is selected to be selected, the local download step is performed;
  • the cloud downloading process includes: obtaining a download identifier, uploading the download identifier and the network download link to a cloud server, where the cloud server downloads a download file specified by the network download link, and downloads the download file
  • the download identifier is saved after the association is saved;
  • the local downloading step includes: downloading the download file specified by the network download link to the location The mobile terminal ends.
  • Embodiments of the present application also provide a storage medium for storing the above computer program.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the embodiments of the vehicle platform and the intelligent transportation system described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be Physical units can be located in one place or distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供了一种移动终端浏览器文件传输方法及移动终端,该方法包括:响应于浏览器包括网络下载链接的下载请求;显示包括下载至云端选项和下载至移动终端选项的浏览器提示,响应于所述下载至云端选项被选中事件,执行云端下载步骤,响应于所述下载至移动终端选项被选择被选中事件,则执行本地下载步骤。本申请在用户采用浏览器下载文件时,提供下载至云端选项和下载至移动终端选项的选项,使得用户在移动网络环境下下载文件时能够选择是否下载至云端还是下载至移动终端,从而避免不必要的流量及金钱花费。

Description

一种移动终端浏览器文件传输方法及移动终端
交叉引用
本申请引用于2015年12月4日提交的专利名称为“一种移动终端浏览器文件传输方法及移动终端”的第201510886413.9号中国专利申请,其通过引用被全部并入本申请。
技术领域
本申请涉及移动设备相关技术领域,特别是一种移动终端浏览器文件传输方法及移动终端。
背景技术
随着智能手机的普及,手机的许多功能已经可以替代个人电脑(Personal Computer,PC),尤其是在4G网络下,速率得到大幅提高,在Internet下载或者上传多媒体下载文件,分享不同的社交性的下载文件成了很流行的事情。
目前有一些智能手机都有内置的浏览器,然而,目前手机内置的浏览器都是以浏览网页作为主要优化,但是对于下载这个功能,并没有很好地优化,增强用户体验,尤其是用户下载大文件时候,在采用移动网络时,需要花费较高的流量及金钱。
发明内容
基于此,有必要针对现有技术采用浏览器在移动网络环境下下载大文件需要花费较高的流量的技术问题,提供一种移动终端浏览器文件传输方法及移动终端。
本申请提供一种移动终端浏览器文件传输方法,包括:
浏览器访问网页步骤,包括:响应于浏览器包括网络下载链接的下载请求;
下载目的地选项显示步骤,包括:显示包括下载至云端选项和下载至 移动终端选项的浏览器提示,响应于所述下载至云端选项被选中事件,执行云端下载步骤,响应于所述下载至移动终端选项被选择被选中事件,则执行本地下载步骤;
云端下载步骤,包括:获取下载标识,将所述下载标识与所述网络下载链接上传至云端服务器,所述云端服务器下载所述网络下载链接所指定的下载文件,并将所述下载文件与所述下载标识关联保存后结束;
本地下载步骤,包括:下载所述网络下载链接所指定的下载文件到所述移动终端后结束。
进一步的,所述浏览器访问网页步骤和所述下载目的地选项显示步骤之间,还包括下载文件大小检测步骤;
所述下载文件大小检测步骤,包括:
获取所述网络下载链接所指定的下载文件的大小;
如果所述下载文件的大小超过预设阈值,则执行下载目的地选项显示步骤。
更进一步的,所述预设阈值为所述移动终端的空闲空间与预设百分比的乘积。
进一步的:
所述浏览器访问网页步骤和所述下载目的地选项显示步骤之间,还包括云端检测步骤;
所述云端检测步骤,包括:
向云端服务器查询所述云端服务器中所述下载标识和所述网络下载链接所指定的下载文件是否关联保存;
如果所述云端服务器中所述下载标识和所述网络下载链接没有关联保存,则执行下载目的地选项显示步骤,否则显示包括从云端下载选项的浏览器提示,且响应于从云端下载选项被选中事件,从所述云端服务器获取用于指示所述下载文件在所述云端服务器位置的云端下载链接,将所述网络下载链接更新为所述云端下载链接后,执行本地下载步骤。
更进一步的,所述本地下载步骤,具体包括:
启动从所述网络下载链接所指定的下载文件的文件下载操作;
如果所述文件下载操作失败,则保留已经下载的内容,记录下载进度;
响应于再次从所述网络下载链接下载的继续下载请求,获取已经下载的内容,并根据所述下载进度继续下载所述网络下载链接所指定的下载文件到所述移动终端。
更进一步的,还包括上传文件启动步骤、云端上传步骤和本地上传步骤;
所述上传文件启动步骤,包括:响应于包括网络上传地址和上传文件的上传请求,为所述上传文件生成校验码作为上传文件校验码,将所述上传文件校验码上传至所述云端服务器,如果所述云端服务器中保存有校验码与所述上传文件校验码一致的文件,则将所述云端服务器中校验码与所述上传文件校验码一致的文件作为云端上传文件,执行云端上传步骤,否则执行本地上传步骤;
云端上传步骤,包括:将所述网络上传地址发送至所述云端服务器,所述网络上传地址用于所述云端服务器将所述云端上传文件发送至所述网络上传地址后结束;
本地上传步骤,包括:将所述上传文件上传至所述网络上传地址后结束。
更进一步的,所述本地上传步骤,具体包括:
启动将所述上传文件上传至所述网络上传地址的文件上传操作;
如果所述文件上传操作失败,则记录上传进度;
响应于再次向所述网络上传地址上传所述上传文件的继续上传请求,向所述网络上传地址发送继续上传请求,从所述网络上传地址获取继续上传请求响应,如果所述继续上传请求响应为允许继续上传,则根据所述上传进度继续上传所述上传文件到所述网络上传地址,否则重新上传所述上传文件到所述网络上传地址。
本申请提供一种移动终端,包括:
浏览器访问网页模块,用于:响应于浏览器包括网络下载链接的下载请求;
下载目的地选项显示模块,用于:显示包括下载至云端选项和下载至移动终端选项的浏览器提示,响应于所述下载至云端选项被选中事件,执行云端下载模块,响应于所述下载至移动终端选项被选择被选中事件,则 执行本地下载模块;
云端下载模块,用于:获取下载标识,将所述下载标识与所述网络下载链接上传至云端服务器,所述云端服务器下载所述网络下载链接所指定的下载文件,并将所述下载文件与所述下载标识关联保存后结束;
本地下载模块,用于:下载所述网络下载链接所指定的下载文件到所述移动终端后结束。
进一步的,所述浏览器访问网页模块和所述下载目的地选项显示模块之间,还包括下载文件大小检测模块;
所述下载文件大小检测模块,用于:
获取所述网络下载链接所指定的下载文件的大小;
如果所述下载文件的大小超过预设阈值,则执行下载目的地选项显示模块。
更进一步的,所述预设阈值为所述移动终端的空闲空间与预设百分比的乘积。
进一步的:
所述浏览器访问网页模块和所述下载目的地选项显示模块之间,还包括云端检测模块;
所述云端检测模块,用于:
向云端服务器查询所述云端服务器中所述下载标识和所述网络下载链接所指定的下载文件是否关联保存;
如果所述云端服务器中所述下载标识和所述网络下载链接没有关联保存,则执行下载目的地选项显示模块,否则显示包括从云端下载选项的浏览器提示,且响应于从云端下载选项被选中事件,从所述云端服务器获取用于指示所述下载文件在所述云端服务器位置的云端下载链接,将所述网络下载链接更新为所述云端下载链接后,执行本地下载模块。
更进一步的,所述本地下载模块,具体用于:
启动从所述网络下载链接所指定的下载文件的文件下载操作;
如果所述文件下载操作失败,则保留已经下载的内容,记录下载进度;
响应于再次从所述网络下载链接下载的继续下载请求,获取已经下载的内容,并根据所述下载进度继续下载所述网络下载链接所指定的下载文 件到所述移动终端。
更进一步的,还包括上传文件启动模块、云端上传模块和本地上传模块;
所述上传文件启动模块,用于:响应于包括网络上传地址和上传文件的上传请求,为所述上传文件生成校验码作为上传文件校验码,将所述上传文件校验码上传至所述云端服务器,如果所述云端服务器中保存有校验码与所述上传文件校验码一致的文件,则将所述云端服务器中校验码与所述上传文件校验码一致的文件作为云端上传文件,执行云端上传模块,否则执行本地上传模块;
云端上传模块,用于:将所述网络上传地址发送至所述云端服务器,所述网络上传地址用于所述云端服务器将所述云端上传文件发送至所述网络上传地址后结束;
本地上传模块,用于:将所述上传文件上传至所述网络上传地址后结束。
更进一步的,所述本地上传模块,具体用于:
启动将所述上传文件上传至所述网络上传地址的文件上传操作;
如果所述文件上传操作失败,则记录上传进度;
响应于再次向所述网络上传地址上传所述上传文件的继续上传请求,向所述网络上传地址发送继续上传请求,从所述网络上传地址获取继续上传请求响应,如果所述继续上传请求响应为允许继续上传,则根据所述上传进度继续上传所述上传文件到所述网络上传地址,否则重新上传所述上传文件到所述网络上传地址。
另一方面,本申请的实施例还提供了一种移动终端,该移动终端包括:
处理器、存储器、通信接口和总线;其中,
所述处理器、存储器、通信接口通过所述总线完成相互间的通信;
所述通信接口用于所述移动终端与服务器之间的信息传输;
所述处理器用于调用所述存储器中的逻辑指令,以执行如下方法;
浏览器访问网页步骤,包括:响应于浏览器包括网络下载链接的下载请求;
下载目的地选项显示步骤,包括:显示包括下载至云端选项和下载至 移动终端选项的浏览器提示,响应于所述下载至云端选项被选中事件,执行云端下载步骤,响应于所述下载至移动终端选项被选择被选中事件,则执行本地下载步骤;
云端下载步骤,包括:获取下载标识,将所述下载标识与所述网络下载链接上传至云端服务器,所述云端服务器下载所述网络下载链接所指定的下载文件,并将所述下载文件与所述下载标识关联保存后结束;
本地下载步骤,包括:下载所述网络下载链接所指定的下载文件到所述移动终端后结束。
本申请的实施例还提供了一种计算机程序,包括程序代码,所述程序代码用于执行如下操作:
浏览器访问网页步骤,包括:响应于浏览器包括网络下载链接的下载请求;
下载目的地选项显示步骤,包括:显示包括下载至云端选项和下载至移动终端选项的浏览器提示,响应于所述下载至云端选项被选中事件,执行云端下载步骤,响应于所述下载至移动终端选项被选择被选中事件,则执行本地下载步骤;
云端下载步骤,包括:获取下载标识,将所述下载标识与所述网络下载链接上传至云端服务器,所述云端服务器下载所述网络下载链接所指定的下载文件,并将所述下载文件与所述下载标识关联保存后结束;
本地下载步骤,包括:下载所述网络下载链接所指定的下载文件到所述移动终端后结束。
本申请的实施例还提供了一种存储介质,用于存储上述计算机程序。
本申请在用户采用浏览器下载文件时,提供下载至云端选项和下载至移动终端选项的选项,使得用户在移动网络环境下下载文件时能够选择是否下载至云端还是下载至移动终端,从而避免不必要的流量及金钱花费。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技 术人员来讲,还可以根据这些附图获得其他的附图。
图1为本申请一种移动终端浏览器文件传输方法的工作流程图;
图2为本申请其中一个实施例中的浏览器提示;
图3为本申请另一个实施例中的浏览器提示;
图4为本申请最佳实施例下载文件的工作流程图;
图5为本申请最佳实施例上传文件的工作流程图;
图6为本申请一种移动终端的结构模块图;
图7为本申请移动终端的结构框图;
图8为本申请另一实施例提供的移动终端的结构框图。
具体实施方式
为了使本领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都应当属于本申请保护的范围。
如图1所示为本申请一种移动终端浏览器文件传输方法的工作流程图,包括:
步骤S101,包括:响应于浏览器包括网络下载链接的下载请求;
步骤S102,包括:显示包括下载至云端选项和下载至移动终端选项的浏览器提示,响应于所述下载至云端选项被选中事件,执行步骤S103,响应于所述下载至移动终端选项被选择被选中事件,则执行步骤S104;
步骤S103,包括:获取下载标识,将所述下载标识与所述网络下载链接上传至云端服务器,所述云端服务器下载所述网络下载链接所指定的下载文件,并将所述下载文件与所述下载标识关联保存后结束;
步骤S104,包括:下载所述网络下载链接所指定的下载文件到所述移动终端后结束。
用户在移动终端,例如智能手机上,通过浏览器访问网页,在访问网页的时候,点击网页上的下载文件下载超链接,则会触发步骤S101,此时用户所点击的下载文件下载超链接即为网络下载链接。用户也可以直接在浏览器的地址栏中输入网络下载链接,也可以触发步骤S101。
然后,步骤S102则会显示浏览器提示,其中一种浏览器提示如图2所示,包括保存至云端选项21和保存至手机选项22,也可以包括取消选项23。另外一种浏览器提示提示如图3所示,该提示是:“是否下载至云端”,并给出确认选项31和取消选项32,此时确认选项31与图2的保存至云端选项21功能相同,均为下载至云端选项,取消选项32和图2的保存至手机选项22功能相同,均为下载至移动终端选项。
当用户在移动网络环境下下载大文件时,可以选择点击下载至云端选项,触发步骤S103将下载文件下载到云端服务器,其中下载标识可以是用户标识例如用户名,也可以是移动终端标识例如手机移动设备国际身份码(International Mobile Equipment Identity,IMEI),当用户在WIFI环境或者下载小下载文件时,可以选择点击下载至移动终端选项,则会触发步骤S104,将下载文件下载到移动终端。
步骤S103将下载文件下载到云端服务器,用户后续可以从云端服务器下载该下载文件。其中下载标识可以是用户标识例如用户名,也可以是移动终端标识例如手机移动设备国际身份码(International Mobile Equipment Identity,IMEI)。
本申请在用户采用浏览器下载文件时,提供下载至云端选项和下载至移动终端选项的选项,使得用户在移动网络环境下下载文件时能够选择是否下载至云端还是下载至移动终端,从而避免不必要的流量及金钱花费。
在其中一个实施例中,所述步骤S101和所述步骤S102之间,还包括下载文件大小检测步骤;
所述下载文件大小检测步骤,包括:
获取所述网络下载链接所指定的下载文件的大小;
如果所述下载文件的大小超过预设阈值,则执行步骤S102。
由于用户只是点击超链接下载文件,有时用户并不清楚该下载文件大小,或者用户也没有留意到下载文件大小,本实施例在下载之前先获取下载文件大小,当下载文件较大超过预设阈值时,则显示浏览器提示,让用户选择是否下载到云端。避免用户意外下载较大的下载文件。
在其中一个实施例中,所述预设阈值为所述移动终端的空闲空间与预设百分比的乘积。
移动终端的空间有限,当空闲空间较少时即使是较小的下载文件也可能因为空间不足导致下载失败,因此,本实施例将预设阈值与移动终端的空闲空间关联,避免用户下载超过移动终端的空闲空间的下载文件到移动终端。
在其中一个实施例中:
所述步骤S101和所述步骤S102之间,还包括云端检测步骤;
所述云端检测步骤,包括:
向云端服务器查询所述云端服务器中所述下载标识和所述网络下载链接所指定的下载文件是否关联保存;
如果所述云端服务器中所述下载标识和所述网络下载链接没有关联保存,则执行步骤S102,否则显示包括从云端下载选项的浏览器提示,且响应于从云端下载选项被选中事件,从所述云端服务器获取用于指示所述下载文件在所述云端服务器位置的云端下载链接,将所述网络下载链接更新为所述云端下载链接后,执行步骤S104。
对于已经下载到云端服务器的下载文件,用户可以直接访问云端服务器下载,然而,有时用户未必会记得该下载文件已经下载到云端服务器,为了避免用户重复下载,因此,本实施例在下载前先访问云端服务器,如果云端服务器中已经下载了该下载文件,则可以提醒用户从云端服务器下载,使得用户获得更快的下载感受。
在其中一个实施例中,所述步骤S104,具体包括:
启动从所述网络下载链接所指定的下载文件的文件下载操作;
如果所述文件下载操作失败,则保留已经下载的内容,记录下载进度;
响应于再次从所述网络下载链接下载的继续下载请求,获取已经下载的内容,并根据所述下载进度继续下载所述网络下载链接所指定的下载文件到所述移动终端。
当网络连接失败时,会导致下载失败,本实施例提供了失败后的断点续传功能,使得用户通过浏览器将下载文件下载到移动终端时,在下载失败后能够重新继续下载上次的下载文件。
在其中一个实施例中,还包括上传文件启动步骤、云端上传步骤和本地上传步骤;
所述上传文件步骤,包括:响应于包括网络上传地址和上传文件的上传请求,为所述上传文件生成校验码作为上传文件校验码,将所述上传文件校验码上传至所述云端服务器,如果所述云端服务器中保存有校验码与所述上传文件校验码一致的文件,则将所述云端服务器中校验码与所述上传文件校验码一致的文件作为云端上传文件,执行云端上传步骤,否则执行本地上传步骤;
云端上传步骤,包括:将所述网络上传地址发送至所述云端服务器,所述网络上传地址用于所述云端服务器将所述云端上传文件发送至所述网络上传地址后结束;
本地上传步骤,包括:将所述上传文件上传至所述网络上传地址后结束。
其中,校验码可以采用现有的校验码生成方法,例如CRC校验或者MD5校验。本实施例生成校验码并上传至云端服务器,校验码的大小一般较小,因此耗费的流量很低。如果云端服务器上面有校验码一致的文件,即表示云端服务器上已经保存有一致的文件,此时从云端服务器上传至网络上传地址,能大大的减少所要消耗的流量,使得用户即使在移动网络环境下也能用很少的流量上传大文件。
在其中一个实施例中,所述本地上传步骤,具体包括:
启动将所述上传文件上传至所述网络上传地址的文件上传操作;
如果所述文件上传操作失败,则记录上传进度;
响应于再次向所述网络上传地址上传所述上传文件的继续上传请求,向所述网络上传地址发送继续上传请求,从所述网络上传地址获取继续上传请求响应,如果所述继续上传请求响应为允许继续上传,则根据所述上传进度继续上传所述上传文件到所述网络上传地址,否则重新上传所述上传文件到所述网络上传地址。
由于网络环境的不稳定,上传文件有时会出现失败,本实施例增加了断点上传文件功能,当网络上传地址所指示服务器允许继续上传时,则进行断点上传,否则重新完整上传文件,减少用户浪费不必要的流量。
如图4所示为本申请最佳实施例下载文件的工作流程图,移动终端为智能手机,具体包括:
步骤S401,用户使用手机浏览器下载大文件;
步骤S402:浏览器提示,是保存到云端还是手机内部内存,如果用户选择保存到云端以后,则执行步骤S403,如果用户选择保存到手机内部内存,则执行步骤S404;
步骤S403,向云端服务器上传手机IMEI码及大文件的下载链接,结束,云端服务器下载大文件并与手机IMEI码关联保存;
步骤S404:开始下载,当WIFI网络或者无线网络导致下载失败以后,保留以前的下载内容在缓存;
步骤S405:用户再次下载同一大文件的时候,提示语:“是否继续下载上次的文件”和“重新下载此文件”,用户选择继续下载上次的文件,则激活断点下载功能,使得大文件能够顺利下载完成,结束。
如图5所示为本申请最佳实施例上传文件的工作流程图,移动终端为智能手机,具体包括:
步骤S501,用户使用手机浏览器上传大文件;
步骤S502,为大文件生成校验码,并将校验码作为上传文件校验码上传至云端服务器;
步骤S503,如果云端服务器上有相同校验码的文件,则执行步骤S504,否则执行步骤S505;
步骤S504,将网络上传地址发送至所述云端服务器,并请求云端服务器将云端服务器中校验码与上传文件校验码一致的文件发送至网络上传地址后,结束;
步骤S505:开始上传,当WIFI网络或者无线网络导致上传失败以后,保留上传进度;
步骤S506:用户再次上传同一文件的时候,提示语:“是否继续上传上次的文件”和“重新上传此文件”,用户选择继续上传上次的文件,则向服务器发送继续上传请求,如果服务器允许继续上传,则激活断点上传功能,使得大文件能够顺利上传完成,结束。
如图6所示为本申请一种移动终端的结构模块图,包括:
浏览器访问网页模块601,用于:响应于浏览器包括网络下载链接的下载请求;
下载目的地选项显示模块602,用于:显示包括下载至云端选项和下载至移动终端选项的浏览器提示,响应于所述下载至云端选项被选中事件,执行云端下载模块603,响应于所述下载至移动终端选项被选择被选中事件,则执行本地下载模块604;
云端下载模块603,用于:获取下载标识,将所述下载标识与所述网络下载链接上传至云端服务器,所述云端服务器下载所述网络下载链接所指定的下载文件,并将所述下载文件与所述下载标识关联保存后结束;
本地下载模块604,用于:下载所述网络下载链接所指定的下载文件到所述移动终端后结束。
在其中一个实施例中,所述浏览器访问网页模块和所述下载目的地选项显示模块之间,还包括下载文件大小检测模块;
所述下载文件大小检测模块,用于:
获取所述网络下载链接所指定的下载文件的大小;
如果所述下载文件的大小超过预设阈值,则执行下载目的地选项显示模块。
在其中一个实施例中,所述预设阈值为所述移动终端的空闲空间与预设百分比的乘积。
在其中一个实施例中:
所述浏览器访问网页模块和所述下载目的地选项显示模块之间,还包括云端检测模块;
所述云端检测模块,用于:
向云端服务器查询所述云端服务器中所述下载标识和所述网络下载链接所指定的下载文件是否关联保存;
如果所述云端服务器中所述下载标识和所述网络下载链接没有关联保存,则执行下载目的地选项显示模块,否则显示包括从云端下载选项的浏览器提示,且响应于从云端下载选项被选中事件,从所述云端服务器获取用于指示所述下载文件在所述云端服务器位置的云端下载链接,将所述网络下载链接更新为所述云端下载链接后,执行本地下载模块。
在其中一个实施例中,所述本地下载模块,具体用于:
启动从所述网络下载链接所指定的下载文件的文件下载操作;
如果所述文件下载操作失败,则保留已经下载的内容,记录下载进度;
响应于再次从所述网络下载链接下载的继续下载请求,获取已经下载的内容,并根据所述下载进度继续下载所述网络下载链接所指定的下载文件到所述移动终端。
在其中一个实施例中,还包括上传文件模块;
所述上传文件模块,用于:响应于包括网络上传地址和上传文件的上传请求,为所述上传文件生成校验码作为上传文件校验码,将所述上传文件校验码上传至所述云端服务器,如果所述云端服务器中保存有校验码与所述上传文件校验码一致的文件,则将所述云端服务器中校验码与所述上传文件校验码一致的文件作为云端上传文件,执行云端上传模块,否则执行本地上传模块;
云端上传模块,用于:将所述网络上传地址发送至所述云端服务器,所述网络上传地址用于所述云端服务器将所述云端上传文件发送至所述网络上传地址后结束;
本地上传模块,用于:将所述上传文件上传至所述网络上传地址后结束。
在其中一个实施例中,所述本地上传模块,具体用于:
启动将所述上传文件上传至所述网络上传地址的文件上传操作;
如果所述文件上传操作失败,则记录上传进度;
响应于再次向所述网络上传地址上传所述上传文件的继续上传请求,向所述网络上传地址发送继续上传请求,从所述网络上传地址获取继续上传请求响应,如果所述继续上传请求响应为允许继续上传,则根据所述上传进度继续上传所述上传文件到所述网络上传地址,否则重新上传所述上传文件到所述网络上传地址。
如图7所示为本申请移动终端的结构框图,其主要包括:处理器701、存储器702及通信组件703等。一般来说,本申请的移动终端优选为智能手机等。
其中存储器702中存储前述方法的具体代码,由处理器701具体执行,通信组件703与云端服务器或者下载服务器进行通信。
如图8所示为本申请另一实施例提供的移动终端的结构框图,该移动 终端包括:
处理器801、存储器802、通信接口803和总线804;其中,
所述处理器801、存储器802、通信接口803通过所述总线804完成相互间的通信;
所述通信接口803用于所述移动终端与服务器之间的信息传输;
所述处理器801用于调用所述存储器802中的逻辑指令,以执行如下方法;
浏览器访问网页步骤,包括:响应于浏览器包括网络下载链接的下载请求;
下载目的地选项显示步骤,包括:显示包括下载至云端选项和下载至移动终端选项的浏览器提示,响应于所述下载至云端选项被选中事件,执行云端下载步骤,响应于所述下载至移动终端选项被选择被选中事件,则执行本地下载步骤;
云端下载步骤,包括:获取下载标识,将所述下载标识与所述网络下载链接上传至云端服务器,所述云端服务器下载所述网络下载链接所指定的下载文件,并将所述下载文件与所述下载标识关联保存后结束;
本地下载步骤,包括:下载所述网络下载链接所指定的下载文件到所述移动终端后结束。
本申请的实施例还提供了一种计算机程序,包括程序代码,所述程序代码用于执行如下操作:
浏览器访问网页步骤,包括:响应于浏览器包括网络下载链接的下载请求;
下载目的地选项显示步骤,包括:显示包括下载至云端选项和下载至移动终端选项的浏览器提示,响应于所述下载至云端选项被选中事件,执行云端下载步骤,响应于所述下载至移动终端选项被选择被选中事件,则执行本地下载步骤;
云端下载步骤,包括:获取下载标识,将所述下载标识与所述网络下载链接上传至云端服务器,所述云端服务器下载所述网络下载链接所指定的下载文件,并将所述下载文件与所述下载标识关联保存后结束;
本地下载步骤,包括:下载所述网络下载链接所指定的下载文件到所 述移动终端后结束。
本申请的实施例还提供了一种存储介质,用于存储上述计算机程序。
本申请是参照根据本申请实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所描述的车载平台以及智能交通系统等实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用 以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本申请的实施例的技术方案,而非对其限制;尽管参照前述实施例对本申请的实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (15)

  1. 一种移动终端浏览器文件传输方法,其特征在于,包括:
    浏览器访问网页步骤,包括:响应于浏览器包括网络下载链接的下载请求;
    下载目的地选项显示步骤,包括:显示包括下载至云端选项和下载至移动终端选项的浏览器提示,响应于所述下载至云端选项被选中事件,执行云端下载步骤,响应于所述下载至移动终端选项被选择被选中事件,则执行本地下载步骤;
    云端下载步骤,包括:获取下载标识,将所述下载标识与所述网络下载链接上传至云端服务器,所述云端服务器下载所述网络下载链接所指定的下载文件,并将所述下载文件与所述下载标识关联保存后结束;
    本地下载步骤,包括:下载所述网络下载链接所指定的下载文件到所述移动终端后结束。
  2. 根据权利要求1所述的移动终端浏览器文件传输方法,其特征在于,所述浏览器访问网页步骤和所述下载目的地选项显示步骤之间,还包括下载文件大小检测步骤;
    所述下载文件大小检测步骤,包括:
    获取所述网络下载链接所指定的下载文件的大小;
    如果所述下载文件的大小超过预设阈值,则执行下载目的地选项显示步骤。
  3. 根据权利要求1所述的移动终端浏览器文件传输方法,其特征在于:
    所述浏览器访问网页步骤和所述下载目的地选项显示步骤之间,还包括云端检测步骤;
    所述云端检测步骤,包括:
    向云端服务器查询所述云端服务器中所述下载标识和所述网络下载链接所指定的下载文件是否关联保存;
    如果所述云端服务器中所述下载标识和所述网络下载链接没有关联保存,则执行下载目的地选项显示步骤,否则显示包括从云端下载选项的浏览器提示,且响应于从云端下载选项被选中事件,从所述云端服务器获取用于指示所述下载文件在所述云端服务器位置的云端下载链接,将所述网络下载 链接更新为所述云端下载链接后,执行本地下载步骤。
  4. 根据权利要求1-3任一项所述的移动终端浏览器文件传输方法,其特征在于,所述本地下载步骤,具体包括:
    启动从所述网络下载链接所指定的下载文件的文件下载操作;
    如果所述文件下载操作失败,则保留已经下载的内容,记录下载进度;
    响应于再次从所述网络下载链接下载的继续下载请求,获取已经下载的内容,并根据所述下载进度继续下载所述网络下载链接所指定的下载文件到所述移动终端。
  5. 根据权利要求1-3任一项所述的移动终端浏览器文件传输方法,其特征在于,还包括上传文件启动步骤、云端上传步骤和本地上传步骤;
    所述上传文件启动步骤,包括:响应于包括网络上传地址和上传文件的上传请求,为所述上传文件生成校验码作为上传文件校验码,将所述上传文件校验码上传至所述云端服务器,如果所述云端服务器中保存有校验码与所述上传文件校验码一致的文件,则将所述云端服务器中校验码与所述上传文件校验码一致的文件作为云端上传文件,执行云端上传步骤,否则执行本地上传步骤;
    云端上传步骤,包括:将所述网络上传地址发送至所述云端服务器,所述网络上传地址用于所述云端服务器将所述云端上传文件发送至所述网络上传地址后结束;
    本地上传步骤,包括:将所述上传文件上传至所述网络上传地址后结束。
  6. 根据权利要求5所述的移动终端浏览器文件传输方法,其特征在于,所述本地上传步骤,具体包括:
    启动将所述上传文件上传至所述网络上传地址的文件上传操作;
    如果所述文件上传操作失败,则记录上传进度;
    响应于再次向所述网络上传地址上传所述上传文件的继续上传请求,向所述网络上传地址发送继续上传请求,从所述网络上传地址获取继续上传请求响应,如果所述继续上传请求响应为允许继续上传,则根据所述上传进度继续上传所述上传文件到所述网络上传地址,否则重新上传所述上传文件到所述网络上传地址。
  7. 一种移动终端,其特征在于,包括:
    浏览器访问网页模块,用于:响应于浏览器包括网络下载链接的下载请求;
    下载目的地选项显示模块,用于:显示包括下载至云端选项和下载至移动终端选项的浏览器提示,响应于所述下载至云端选项被选中事件,执行云端下载模块,响应于所述下载至移动终端选项被选择被选中事件,则执行本地下载模块;
    云端下载模块,用于:获取下载标识,将所述下载标识与所述网络下载链接上传至云端服务器,所述云端服务器下载所述网络下载链接所指定的下载文件,并将所述下载文件与所述下载标识关联保存后结束;
    本地下载模块,用于:下载所述网络下载链接所指定的下载文件到所述移动终端后结束。
  8. 根据权利要求7所述的移动终端,其特征在于,所述浏览器访问网页模块和所述下载目的地选项显示模块之间,还包括下载文件大小检测模块;
    所述下载文件大小检测模块,用于:
    获取所述网络下载链接所指定的下载文件的大小;
    如果所述下载文件的大小超过预设阈值,则执行下载目的地选项显示模块。
  9. 根据权利要求7所述的移动终端,其特征在于:
    所述浏览器访问网页模块和所述下载目的地选项显示模块之间,还包括云端检测模块;
    所述云端检测模块,用于:
    向云端服务器查询所述云端服务器中所述下载标识和所述网络下载链接所指定的下载文件是否关联保存;
    如果所述云端服务器中所述下载标识和所述网络下载链接没有关联保存,则执行下载目的地选项显示模块,否则显示包括从云端下载选项的浏览器提示,且响应于从云端下载选项被选中事件,从所述云端服务器获取用于指示所述下载文件在所述云端服务器位置的云端下载链接,将所述网络下载链接更新为所述云端下载链接后,执行本地下载模块。
  10. 根据权利要求7-9任一项所述的移动终端,其特征在于,所述本地下载模块,具体用于:
    启动从所述网络下载链接所指定的下载文件的文件下载操作;
    如果所述文件下载操作失败,则保留已经下载的内容,记录下载进度;
    响应于再次从所述网络下载链接下载的继续下载请求,获取已经下载的内容,并根据所述下载进度继续下载所述网络下载链接所指定的下载文件到所述移动终端。
  11. 根据权利要求7-9任一项所述的移动终端,其特征在于,还包括上传文件启动模块、云端上传模块和本地上传模块;
    所述上传文件模块,用于:响应于包括网络上传地址和上传文件的上传请求,为所述上传文件生成校验码作为上传文件校验码,将所述上传文件校验码上传至所述云端服务器,如果所述云端服务器中保存有校验码与所述上传文件校验码一致的文件,则将所述云端服务器中校验码与所述上传文件校验码一致的文件作为云端上传文件,执行云端上传模块,否则执行本地上传模块;
    云端上传模块,用于:将所述网络上传地址发送至所述云端服务器,所述网络上传地址用于所述云端服务器将所述云端上传文件发送至所述网络上传地址后结束;
    本地上传模块,用于:将所述上传文件上传至所述网络上传地址后结束。
  12. 根据权利要求11所述的移动终端,其特征在于,所述本地上传模块,具体用于:
    启动将所述上传文件上传至所述网络上传地址的文件上传操作;
    如果所述文件上传操作失败,则记录上传进度;
    响应于再次向所述网络上传地址上传所述上传文件的继续上传请求,向所述网络上传地址发送继续上传请求,从所述网络上传地址获取继续上传请求响应,如果所述继续上传请求响应为允许继续上传,则根据所述上传进度继续上传所述上传文件到所述网络上传地址,否则重新上传所述上传文件到所述网络上传地址。
  13. 一种移动终端,其特征在于,包括:
    处理器、存储器、通信接口和总线;其中,
    所述处理器、存储器、通信接口通过所述总线完成相互间的通信;
    所述通信接口用于所述移动终端与服务器之间的信息传输;
    所述处理器用于调用所述存储器中的逻辑指令,以执行如下方法;
    浏览器访问网页步骤,包括:响应于浏览器包括网络下载链接的下载请求;
    下载目的地选项显示步骤,包括:显示包括下载至云端选项和下载至移动终端选项的浏览器提示,响应于所述下载至云端选项被选中事件,执行云端下载步骤,响应于所述下载至移动终端选项被选择被选中事件,则执行本地下载步骤;
    云端下载步骤,包括:获取下载标识,将所述下载标识与所述网络下载链接上传至云端服务器,所述云端服务器下载所述网络下载链接所指定的下载文件,并将所述下载文件与所述下载标识关联保存后结束;
    本地下载步骤,包括:下载所述网络下载链接所指定的下载文件到所述移动终端后结束。
  14. 一种计算机程序,其特征在于,包括程序代码,所述程序代码用于执行如下操作:
    浏览器访问网页步骤,包括:响应于浏览器包括网络下载链接的下载请求;
    下载目的地选项显示步骤,包括:显示包括下载至云端选项和下载至移动终端选项的浏览器提示,响应于所述下载至云端选项被选中事件,执行云端下载步骤,响应于所述下载至移动终端选项被选择被选中事件,则执行本地下载步骤;
    云端下载步骤,包括:获取下载标识,将所述下载标识与所述网络下载链接上传至云端服务器,所述云端服务器下载所述网络下载链接所指定的下载文件,并将所述下载文件与所述下载标识关联保存后结束;
    本地下载步骤,包括:下载所述网络下载链接所指定的下载文件到所述移动终端后结束。
  15. 一种存储介质,其特征在于,用于存储权利要求14所述的计算机程序。
PCT/CN2016/097962 2015-12-04 2016-09-02 一种移动终端浏览器文件传输方法及移动终端 WO2017092458A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510886413.9A CN105897835A (zh) 2015-12-04 2015-12-04 一种移动终端浏览器文件传输方法及移动终端
CN201510886413.9 2015-12-04

Publications (1)

Publication Number Publication Date
WO2017092458A1 true WO2017092458A1 (zh) 2017-06-08

Family

ID=57001985

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097962 WO2017092458A1 (zh) 2015-12-04 2016-09-02 一种移动终端浏览器文件传输方法及移动终端

Country Status (2)

Country Link
CN (1) CN105897835A (zh)
WO (1) WO2017092458A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107967366A (zh) * 2017-12-22 2018-04-27 深圳Tcl新技术有限公司 文件管理方法、u盘及计算机可读存储介质
CN110944034A (zh) * 2019-10-21 2020-03-31 量子云未来(北京)信息科技有限公司 一种网页端断点续传方法、装置、电子设备及存储介质
CN111488226A (zh) * 2020-04-13 2020-08-04 黎明职业大学 一种移动终端与计算机的数据处理方法
CN114554543A (zh) * 2022-04-27 2022-05-27 希诺麦田技术(深圳)有限公司 Mesh设备数据传输系统、方法及Mesh设备
CN117909607A (zh) * 2023-12-27 2024-04-19 北京海泰方圆科技股份有限公司 浏览器运行方法、装置、计算机设备和存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897835A (zh) * 2015-12-04 2016-08-24 乐视移动智能信息技术(北京)有限公司 一种移动终端浏览器文件传输方法及移动终端
CN106101291A (zh) * 2016-08-26 2016-11-09 苏州蓝海彤翔系统科技有限公司 一种传输文件的方法、系统、服务器及客户端
CN111125601B (zh) * 2019-12-24 2023-07-18 腾讯科技(深圳)有限公司 文件传输方法、装置、终端、服务器及存储介质
CN114449095B (zh) * 2022-01-11 2024-06-11 北京百度网讯科技有限公司 云手机截图方法、装置、电子设备和存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404403A (zh) * 2011-11-25 2012-04-04 宇龙计算机通信科技(深圳)有限公司 基于云端服务器的数据传输方法
CN102685223A (zh) * 2012-04-28 2012-09-19 广州市动景计算机科技有限公司 基于云端存储的文件处理方法及系统
CN103581269A (zh) * 2012-08-07 2014-02-12 百度在线网络技术(北京)有限公司 云端离线下载方法、系统及其装置
CN103631916A (zh) * 2013-11-29 2014-03-12 北京奇虎科技有限公司 一种进行可下载资源下载的方法和装置
US20140351635A1 (en) * 2013-05-24 2014-11-27 Connectloud, Inc. Method and Apparatus for Dynamically Objectifying Cloud Deployment State for Backup and Restore
CN104348919A (zh) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 进行文件下载的方法、装置和浏览器
CN105897835A (zh) * 2015-12-04 2016-08-24 乐视移动智能信息技术(北京)有限公司 一种移动终端浏览器文件传输方法及移动终端

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201021491A (en) * 2008-11-18 2010-06-01 Inventec Corp Download method under a server system and the system thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404403A (zh) * 2011-11-25 2012-04-04 宇龙计算机通信科技(深圳)有限公司 基于云端服务器的数据传输方法
CN102685223A (zh) * 2012-04-28 2012-09-19 广州市动景计算机科技有限公司 基于云端存储的文件处理方法及系统
CN103581269A (zh) * 2012-08-07 2014-02-12 百度在线网络技术(北京)有限公司 云端离线下载方法、系统及其装置
US20140351635A1 (en) * 2013-05-24 2014-11-27 Connectloud, Inc. Method and Apparatus for Dynamically Objectifying Cloud Deployment State for Backup and Restore
CN103631916A (zh) * 2013-11-29 2014-03-12 北京奇虎科技有限公司 一种进行可下载资源下载的方法和装置
CN104348919A (zh) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 进行文件下载的方法、装置和浏览器
CN105897835A (zh) * 2015-12-04 2016-08-24 乐视移动智能信息技术(北京)有限公司 一种移动终端浏览器文件传输方法及移动终端

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107967366A (zh) * 2017-12-22 2018-04-27 深圳Tcl新技术有限公司 文件管理方法、u盘及计算机可读存储介质
CN110944034A (zh) * 2019-10-21 2020-03-31 量子云未来(北京)信息科技有限公司 一种网页端断点续传方法、装置、电子设备及存储介质
CN111488226A (zh) * 2020-04-13 2020-08-04 黎明职业大学 一种移动终端与计算机的数据处理方法
CN114554543A (zh) * 2022-04-27 2022-05-27 希诺麦田技术(深圳)有限公司 Mesh设备数据传输系统、方法及Mesh设备
CN117909607A (zh) * 2023-12-27 2024-04-19 北京海泰方圆科技股份有限公司 浏览器运行方法、装置、计算机设备和存储介质

Also Published As

Publication number Publication date
CN105897835A (zh) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017092458A1 (zh) 一种移动终端浏览器文件传输方法及移动终端
CN106708557B (zh) 一种针对终端应用的更新处理方法及装置
TWI743405B (zh) 語音播報方法、智慧型播報裝置、編碼有電腦程式指令的一個或多個非暫時性電腦儲存媒體以及智慧型播報設備
US20200228590A1 (en) Application Sharing Method and Apparatus
US9558476B2 (en) Method and device for editing workspace data objects
KR102105636B1 (ko) 원격으로 애플리케이션들을 설치
US9282141B2 (en) Method and system for loading file in webgame
US9912747B2 (en) Browser and system for download and download method
CN106933871A (zh) 短链接处理方法、装置及短链接服务器
CN107181779B (zh) 访问请求的处理方法、装置和系统
WO2016070718A1 (zh) 进行文件下载的方法、装置和浏览器
CN106649446B (zh) 信息推送方法和装置
CN102981705B (zh) 服务器端浏览器实现方法及服务器
WO2016058133A1 (zh) 软件升级方法及设备
CN102917074A (zh) 一种实现服务器端浏览器的方法和服务器
CN111045893B (zh) 监控任务的执行方法、装置及系统、存储介质、电子装置
CN109918553B (zh) 移动终端爬取数据的方法、装置、移动终端和存储介质
CN104378428B (zh) 一种用于文件下载的方法和装置
CN104243429B (zh) 一种实现浏览器书签同步的方法、装置及系统
CN105094777A (zh) 实现应用截屏的方法及装置
WO2017088369A1 (zh) 数据跨域请求方法、设备及系统
CN109213955A (zh) 数据处理方法及相关设备
CN112422604A (zh) 文件上传方法、装置、系统及计算机设备
JP2019512984A (ja) 電話番号の変更をチェックする方法、装置、及びシステム
CN105610596B (zh) 一种资源目录管理方法和网络终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16869769

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16869769

Country of ref document: EP

Kind code of ref document: A1