WO2013060184A1 - 上传和下载文件的方法及装置 - Google Patents

上传和下载文件的方法及装置 Download PDF

Info

Publication number
WO2013060184A1
WO2013060184A1 PCT/CN2012/080212 CN2012080212W WO2013060184A1 WO 2013060184 A1 WO2013060184 A1 WO 2013060184A1 CN 2012080212 W CN2012080212 W CN 2012080212W WO 2013060184 A1 WO2013060184 A1 WO 2013060184A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
file
local
network
folder
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2012/080212
Other languages
English (en)
French (fr)
Inventor
李杨
王占伟
侯杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology (Shenzhen) Co Ltd
Original Assignee
Tencent Technology (Shenzhen) Co Ltd
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 Tencent Technology (Shenzhen) Co Ltd filed Critical Tencent Technology (Shenzhen) Co Ltd
Priority to JP2014513905A priority Critical patent/JP2014519128A/ja
Priority to AP2014007524A priority patent/AP2014007524A0/xx
Priority to EP12844271.2A priority patent/EP2772840A4/en
Priority to SG2013073614A priority patent/SG194038A1/en
Priority to US14/110,446 priority patent/US20140033066A1/en
Publication of WO2013060184A1 publication Critical patent/WO2013060184A1/zh
Priority to ZA2014/02019A priority patent/ZA201402019B/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486—Drag-and-drop

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method and apparatus for uploading and downloading files.
  • a tablet is a small, portable computer that generally has no mouse and keyboard, and basic input and operation through the touch screen. Tablet PCs provide the ability to browse the Internet, send and receive emails, watch e-books, play audio or video, view photos, and more. Common tablets have iPads and more.
  • uploading and downloading files from tablets such as iPads is one-way.
  • Photos from a web album via iPad you need to open the photos to be downloaded, long press the photos, pop up the "Download” button, click the "Download” button, select the local storage path, and save to the storage path to complete the download.
  • you need to upload a local photo on your iPad to a web album you need to click the "Upload” button on the web album, then find the local photo via the local photo storage path, select the local photo you want to upload, and upload it.
  • the tablet computer does not fully utilize the unique gesture interaction advantage of the tablet when uploading and downloading files, and the operation is not intuitive and needs There are many steps for the user to respond, and it takes a long time to complete the upload and download tasks.
  • Embodiments of the present invention provide a method and apparatus for uploading and downloading files, which reduces the time required to complete uploading and downloading tasks.
  • the technical solution is as follows:
  • a method for uploading a file includes: if yes, prompting the user to select whether to confirm uploading the local file to the network folder; If the confirmation upload information selected by the user according to the prompt is received, the local file is uploaded to the network folder. Before the domain, it also includes:
  • the step of determining whether the touch screen held by the user is raised is activated when the local file is dragged by the user by a drag gesture.
  • the method further includes:
  • the thumbnail of the local file is displayed in a floating animation.
  • the method further includes: or receiving the cancel upload information selected by the user according to the prompt, and restoring the local file to the original location.
  • an apparatus for uploading a file comprising: an activation area;
  • a prompting module configured to: when the first determining module determines that the local file that the user stops dragging enters an active area of the network folder, prompting the user to select whether to confirm uploading the local file to the network folder;
  • an uploading module configured to upload the local file to the network folder when receiving the confirmation uploading information selected by the user according to the prompt of the prompting module.
  • the device further includes:
  • a second determining module configured to determine, before the first determining module determines whether the local file that the user stops dragging enters the active area of the network folder, whether the local file is long pressed by the user through the touch screen;
  • a third determining module configured to: when the second determining module determines that the local file is long pressed by the user through a touch screen, when the local file is dragged by the user by a drag gesture, determining Whether the touch screen held by the user is raised, and if so, executing the first determining module.
  • the device further includes:
  • a display module configured to: when the third determining module determines that the touch screen held by the user is raised, display the thumbnail of the local file in a floating animation.
  • the device further includes:
  • a recovery module configured to: when the first determining module determines that the local file that the user stops dragging does not enter the activation area of the network folder, or receives the cancellation upload information selected by the user according to the prompt of the prompting module , restore the local file to its original location.
  • a method for downloading a file comprising: if yes, prompting the user to select whether to confirm downloading the network file into the local folder;
  • the network file is downloaded to the local folder. Before the domain, it also includes:
  • the step of determining whether the touch screen held by the user is raised is activated.
  • the method further includes:
  • the thumbnail of the network file is displayed in a floating animation.
  • the method further includes: or receiving the cancel download information selected by the user according to the prompt, and restoring the network file to the original location.
  • an apparatus for downloading a file comprising: Activation area;
  • a prompting module configured to: when the first determining module determines that the network file that the user stops dragging enters an active area of the local folder, prompting the user to select whether to confirm downloading the network file into the local folder;
  • a downloading module configured to download the network file into the local folder when receiving the confirmation download information selected by the user according to the prompt of the prompting module.
  • the device further includes:
  • a second determining module configured to determine, before the first determining module determines whether the network file that the user stops dragging enters the active area of the local folder, whether the network file is long pressed by the user through the touch screen;
  • a third determining module configured to: when the second determining module determines that the network file is long pressed by the user through a touch screen, when the network file is dragged by the user by a drag gesture, determining Whether the touch screen held by the user is raised, and if so, the first determination module is executed.
  • the device further includes:
  • a display module configured to: when the third determining module determines that the touch screen held by the user is raised, display the thumbnail of the network file with a floating animation.
  • the device further includes:
  • a recovery module configured to: when the first determining module determines that the network file that the user stops dragging does not enter the activation area of the local folder, or receives the cancellation download information selected by the user according to the prompt of the prompting module , restore the network file to its original location.
  • FIG. 1 is a flowchart of a method for uploading a file according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for uploading a file according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic diagram of dragging and dropping of an uploaded file according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for uploading a file according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic structural diagram of another apparatus for uploading a file according to Embodiment 3 of the present invention
  • FIG. 6 is a schematic structural diagram of another apparatus for uploading a file according to Embodiment 3 of the present invention
  • FIG. 8 is a flowchart of a method for downloading a file according to Embodiment 4 of the present invention
  • FIG. 9 is a flowchart of a method for downloading a file according to Embodiment 5 of the present invention.
  • FIG. 10 is a schematic diagram of dragging a download file provided in Embodiment 5 of the present invention.
  • FIG. 11 is a schematic structural diagram of an apparatus for downloading a file according to Embodiment 6 of the present invention.
  • FIG. 12 is a schematic structural diagram of another apparatus for downloading a file according to Embodiment 6 of the present invention
  • FIG. 13 is a schematic structural diagram of another apparatus for downloading a file according to Embodiment 6 of the present invention
  • the embodiment of the present invention provides a method for uploading a file, which is applicable to a portable multi-function device including a touch screen, such as a tablet computer, a touch screen mobile phone, and the like, such as an iPad, an iPhone, etc., and the method includes: a living area, if , then step 102 is performed, otherwise the process ends; Shows whether the user chooses to confirm uploading the local file to the network folder;
  • the method provided by the embodiment of the present invention causes the user to drag and drop the local file to be uploaded to the active area of the network folder by one drag and drop by using a commonly used "drag and drop" gesture on a tablet computer such as an iPad, and confirm the user.
  • the uploading task of uploading the local file to the network folder is completed, that is, the uploading task can be completed by one drag and drop.
  • the user needs less response steps and takes less time. , more efficient, and improved user experience.
  • the embodiment of the present invention provides a method for uploading a file, which is applicable to a portable multi-function device including a touch screen, such as a tablet computer, a touch screen mobile phone, and the like, such as an iPad, an iPhone, and the like. Specifically, it is not limited thereto.
  • the method process includes:
  • step 201 The tablet judges whether the local file is long pressed by the user through the touch screen, and if yes, executes step 202, otherwise, the process ends;
  • a long-term action by using an icon on the tablet's touch screen is a common gesture for using a tablet such as an iPad.
  • the local file can be displayed on the tablet in the form of a thumbnail.
  • the user can activate the local file by long-pressing the thumbnail of the local file.
  • local files can be local photos, local documents, local audio and local video.
  • the local file When the local file is long pressed by the user through the touch screen, the local file can be dragged by the user by a drag gesture;
  • the user can continue to hold the local file, and the local file is swiped by a drag gesture, so that the local file is arbitrarily moved on the touch screen.
  • step 204 is performed, otherwise, step 202 is performed;
  • a touch screen lifting event occurs, that is, whether the user's hand is lifted off the touch screen, and if the user releases the hand, the local file is released, and the local file stops moving.
  • the thumbnail of the local file enters a floating state.
  • step 205 Determine whether the local file that the user stops dragging enters an activation area of the network folder, and if yes, step 206 is performed; otherwise, step 209 is performed;
  • files and network folders in several local folders can be displayed simultaneously on the same interface of the tablet, so that users can simultaneously preview files and network folders in the local folder.
  • the activation area of the network folder may specifically be an area for displaying the network folder, and when the local file that the user stops dragging overlaps with the network folder, the local file may be considered to enter the network.
  • the active area of the folder which in turn triggers the subsequent upload process.
  • the local files being browsed and the network folders that are available are displayed simultaneously on the same interface of the tablet.
  • the user can drag and drop the local file to be uploaded into the corresponding network folder by using the "long press + drag" gesture.
  • the user wants to upload the local file 05 to the network folder 1, and the length is long. Press local file 05, drag it to the active area of network folder 1 and let go.
  • the tablet may pop up an upload prompt box to prompt the user to confirm uploading the local file to the network folder, and the user may select to confirm or cancel.
  • step 207 Receive the result of the user selection according to the prompt, determine whether the result is a confirmation upload information, and if yes, go to step 208, otherwise, go to step 209;
  • the user selects OK to confirm the upload, and the user selects Cancel to cancel the upload. See 208 and 209 for details.
  • the local file is automatically swept back to the original position, and the flow ends.
  • the local file in the embodiment of the present invention may be a local photo
  • the network folder may be a web album, but is not limited thereto.
  • the method provided by the embodiment of the present invention can simultaneously display files and network folders in a local folder by simultaneously displaying files and network folders in a local folder on the same interface of the tablet computer, thereby facilitating user positioning;
  • the user can drag and drop files across the local folder and the network folder, and then drag and drop the local files that you want to upload to The activation area of the network folder, after the user confirms the upload, the upload task of uploading the local file to the network folder is completed, that is, the uploading task can be completed by one drag and drop, compared with the file uploading in the prior art, the user There are fewer steps to respond, shorter time, more efficient, and improved user experience; "long press + drag” is a common gesture for tablets such as iPads, and users are easy to get started and easy to operate.
  • Embodiment 3 is a common gesture for tablets such as iPads, and users are easy to get started and easy to operate.
  • the embodiment of the invention provides an apparatus for uploading a file, which can implement the method shown in FIG.
  • the device can be applied to a portable multifunction device including a touch screen, such as a tablet computer or a touch screen mobile phone, such as an iPad, an iPhone, or the like.
  • a portable multifunction device including a touch screen, such as a tablet computer or a touch screen mobile phone, such as an iPad, an iPhone, or the like.
  • the device includes: an activation area of the clip;
  • the prompting module 402 is configured to: when the first determining module 401 determines that the local file that the user stops dragging enters the active area of the network folder, prompting the user to select whether to confirm uploading the local file to the network folder;
  • the uploading module 403 is configured to upload the local file to the network folder when receiving the confirmation uploading information selected by the user according to the prompt of the prompting module 402.
  • files and network folders in several local folders can be displayed simultaneously on the same interface of the tablet, so that users can simultaneously preview files and network folders in the local folder.
  • the device further includes:
  • the second determining module 404 is configured to determine, before the first determining module 401 determines whether the local file that the user stops dragging enters the active area of the network folder, whether the local file is long pressed by the user through the touch screen;
  • the third determining module 405 is configured to: when the second determining module 404 determines that the local file is long pressed by the user through the touch screen, when the local file is dragged by the user by using a drag gesture, determining the touch screen held by the user Whether to raise, if yes, execute the first judging module 401.
  • the device further includes:
  • the display module 406 is configured to display the thumbnail of the local file in a floating animation when the third determining module 405 determines that the touch screen held by the user is raised.
  • the device further includes:
  • the recovery module 407 is configured to: when the first determining module 401 determines that the local file that the user stops dragging does not enter the activation area of the network folder, or receives the cancellation upload information selected by the user according to the prompt of the prompting module 402, The local file is restored to its original location.
  • the device provided by the embodiment of the invention can simultaneously display files and network folders in the local folder by simultaneously displaying the files and network folders in the local folder on the same interface of the tablet computer, thereby facilitating user positioning;
  • the user can drag and drop files across the local folder and the network folder, and then drag and drop the local files that you want to upload to The activation area of the network folder, after the user confirms the upload, the upload task of uploading the local file to the network folder is completed, that is, the uploading task can be completed by one drag and drop, compared with the file uploading in the prior art, the user There are fewer steps to respond, shorter time, more efficient, and improved user experience; "long press + drag” is a common gesture for tablets such as iPads, and users are easy to get started and easy to operate.
  • Embodiment 4 is a common gesture for tablets such as iPads, and users are easy to get started and easy to operate.
  • the embodiment of the present invention provides a method for downloading a file, which is applicable to a portable multi-function device including a touch screen, such as a tablet computer, a touch screen mobile phone, etc., such as an iPad, an iPhone, etc., and the method includes: a living area, if , step 802 is performed, otherwise the process ends; indicating that the user selects whether to confirm downloading the network file to the local folder;
  • the method provided by the embodiment of the present invention by using a "drag and drop" gesture commonly used on a tablet computer such as an iPad, causes the user to drag and drop the network file to be downloaded to the active area of the local folder by one drag and drop, and confirm the user.
  • the download task of downloading the network file to the local folder is completed, that is, the download task can be completed by one drag and drop, and the user needs to respond less steps and use less time than the file download in the prior art. , more efficient, and improved user experience.
  • the embodiment of the present invention provides a method for downloading a file, which is applicable to a portable multi-function device including a touch screen, such as a tablet computer, a touch-screen mobile phone, and the like, such as an iPad, an iPhone, and the like.
  • a portable multi-function device including a touch screen, such as a tablet computer, a touch-screen mobile phone, and the like, such as an iPad, an iPhone, and the like.
  • step 901 The tablet judges whether the network file is long pressed by the user through the touch screen, and if yes, executes step 902; otherwise, the process ends;
  • a long-term action by using an icon on the tablet's touch screen is a common gesture for using a tablet such as an iPad.
  • the network file can be displayed on the tablet in the form of a thumbnail.
  • the network file can be activated by a long press event on the thumbnail of the network file.
  • the network file can be a web album photo, a document in the network hard disk, audio and video, and the like.
  • the network file when the network file is long pressed by the user through the touch screen, the network file can be dragged by the user by a drag gesture;
  • the user can continue to hold the network file, and drag the network file to slide through the drag gesture, so that the network file moves freely on the touch screen.
  • step 903 When the network file is dragged by the user by a drag gesture, it is determined whether the touch screen held by the user is raised, and if yes, step 904 is performed, otherwise, step 902 is performed;
  • a touch screen lifting event occurs, that is, whether the user's hand is lifted off the touch screen, and if the user releases the hand, the network file is released, and the network file stops moving.
  • step 905 Determine whether the network file that the user stops dragging enters the activation area of the local folder, and if yes, execute step 906, otherwise, perform step 909;
  • several network files and local folders can be simultaneously displayed on the same interface of the tablet, so that the user can preview several network files and local folders at the same time.
  • the activation area of the local folder may specifically be an area for displaying the local folder, and when the network file that the user stops dragging overlaps with the local folder, the network file may be considered to enter the local area.
  • the active area of the folder which in turn triggers the subsequent download process.
  • the network files being browsed and the local folders that can be used are displayed simultaneously on the same interface of the tablet.
  • the user can drag and drop the network file to be downloaded into the corresponding local folder by using the "long press + drag" gesture.
  • the user wants to download the network file 05 to the local folder 1, and the length is long. Press network file 05, drag and drop it to the active area of local folder 1, and then let go.
  • the tablet may pop up a download prompt box to prompt the user to confirm downloading the network file to the local folder, and the user may select to confirm or cancel.
  • step 907 Receive the result selected by the user according to the prompt, determine whether the result is confirmation download information, and if yes, go to step 908, otherwise, go to step 909;
  • the user selects OK to confirm the download, and the user selects Cancel to cancel the download. See 908 and 909 for details.
  • the local folder may specifically be a local album, but is not limited thereto.
  • the method provided by the embodiment of the present invention simultaneously displays the network by using the same interface on the tablet computer.
  • the document file and the local text file folder are clipped so that the user can pre-preview the network file and the local text file folder at the same time, which is convenient for use.
  • the user account enables the text file to span two or more area areas across the network file folder and the local text file.
  • the network network file that wants to be downloaded may be dragged and dropped to the active activation area of the local text file folder, and the user is in use.
  • the user After confirming the download, the user confirms that the download is completed and the downloaded network file is downloaded to the local local document folder, which is It is said that through the drag and drop once and for all, it can be completed and downloaded.
  • Tasks as opposed to downloading files in the existing technical and technical files, the steps required by the user to respond to the response should be less and less, and Shorter, more efficient and more efficient, and raised the user experience experience; "" long press ++ drag and drop”"is iiPPaadd and other flat-panel computer
  • the brain often uses hand gestures, and the user is very easy to enter the entry door, which is convenient for operation. .
  • the present invention provides a method for providing a device for downloading a document file, and can implement the method shown in FIG. 99.
  • the device can be used in a package, including a hand-held multi-function device, including a touch panel, such as a flat tablet computer, a touch screen.
  • Hand-held mobile phones and the like are equipped with equipment, such as iiPPaadd, iiPPhhoonnee, and the like.
  • the package includes:
  • the prompting module module 11110022 using the network network file for determining that the first first judgment judgment module module 11110011 judges that the user is stopped and stops dragging and dropping, enters into the book.
  • the local text file folder is activated, the user activates the live area field, and prompts whether the user user selects whether to confirm the download and downloads the network file to the The local text file folder is in the middle;
  • the network file of the network is downloaded and downloaded into the local file folder. .
  • the same network interface file and the local locality may be displayed at the same time.
  • the text file folder can be used to enable the user to pre-view at the same time to preview a number of network file files and the local text file folder. .
  • the second second judgment judging module module 11110044 is used for judging that the user is stopped and stopped by dragging and dropping in the first judgment judgment module block 11110011 Whether the document file is in front of the activation active area area of the local text file folder, it is judged whether the network file of the network is passed through the touch screen. The screen is pressed by the user to press;
  • the third third judgment judgment module module 11110055 is used for the second and second judgment judgment module module 11110044 to determine that the network file is passed through the touch screen.
  • the judgment is judged to be Whether the touch screen held by the user presses and holds is raised or not, if the result is YES, then the first judgment judgment module block 11110011 is executed. .
  • the display module 1106 is configured to display the thumbnail of the network file in a floating animation when the third determining module 1105 determines that the touch screen held by the user is raised.
  • the apparatus further includes:
  • the recovery module 1107 is configured to: when the first determining module 1101 determines that the network file that the user stops dragging does not enter the active area of the local folder, or receives the cancel download information selected by the user according to the prompt of the prompting module 1102, The network file is restored to its original location.
  • the device provided by the embodiment of the invention can display the network file and the local folder at the same time on the same interface of the tablet computer, so that the user can preview the network file and the local folder at the same time, which is convenient for the user to locate; and is commonly used on a tablet computer such as an iPad.
  • the "long press + drag" gesture allows the user to drag and drop files across the network folder and the local folder, and then drag and drop the network file you want to download to the active area of the local folder. After confirming the download, the user completes the download task of downloading the network file to the local folder, that is, the download task can be completed by one drag and drop, and the user needs to respond less steps than the file download in the prior art.
  • the device for uploading and downloading files provided by the foregoing embodiment is only illustrated by dividing the foregoing functional modules when uploading and downloading files. In actual applications, the foregoing functions may be assigned differently according to needs.
  • the function module is completed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the device for uploading and downloading a file provided by the foregoing embodiment is the same as the method for uploading and downloading a file. For details, refer to the method embodiment, and details are not described herein.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
  • the invention uses a "long press + drag” gesture commonly used on a tablet computer such as an iPad to enable a user to drag and drop files across two areas of a local folder and a network folder, thereby dragging and dropping local files that are desired to be uploaded. Go to the active area of the network folder, or drag and drop the network file you want to download to the active area of the local folder, and complete the upload or download task after the user confirms, that is, you can complete the upload or drag and drop.
  • "long press + drag and drop” is commonly used for tablets such as iPad. Gestures, users are easy to get started, easy to operate.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明公开了一种上传和下载文件的方法及装置,属于计算机技术领域。上传文件的方法包括:判断用户停止拖拽的本地文件是否进入网络文件夹的激活区域;如果是,则提示该用户选择是否确认上传该本地文件到该网络文件夹中;如果接收到该用户根据提示选择的确认上传信息,则上传该本地文件到该网络文件夹中。下载文件的方法包括:判断用户停止拖拽的网络文件是否进入本地文件夹的激活区域;如果是,则提示该用户选择是否确认下载该网络文件到该本地文件夹中;如果接收到该用户根据提示选择的确认下载信息,则下载该网络文件到该本地文件夹中。本发明使用户通过一次拖拽就可以完成上传或下载任务,用户需要响应的步骤更少,更加高效。

Description

上传和下载文件的方法及装置
技术领域
本发明涉及计算机技术领域, 特别涉及一种上传和下载文件的方法及装 置。
背景技术
平板电脑是一种小型的、 方便携带的个人电脑, 一般没有鼠标和键盘, 通过触摸屏进行基本的输入和操作。 平板电脑提供浏览互联网、 收发电子邮 件、观看电子书、播放音频或视频、浏览照片等功能。常见的平板电脑有 iPad 等。
目前, 用 iPad等平板电脑上传和下载文件都是单向的。 例如通过 iPad 从网络相册下载照片时, 需要打开要下载的照片, 长按照片, 弹出 "下载" 按钮, 点击 "下载" 按钮后选择本地存储路径, 并保存到该存储路径, 完成 下载。 当需要将 iPad上的本地照片上传到网络相册时, 需要点击网络相册 的 "上传" 按钮, 然后通过本地照片的存储路径找到本地照片, 选中要上传 的本地照片, 并上传。
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 现有技术中的平板电脑在上传和下载文件时, 没有充分利用平板电脑独 有的手势交互优势, 操作不直观, 需要用户响应的步骤比较多, 完成上传和 下载任务需要的时间长。
发明内容
本发明实施例提供了一种上传和下载文件的方法及装置,减少完成上传 和下载任务需要的时间。 所述技术方案如下:
一方面, 提供了一种上传文件的方法, 所述方法包括: 如果是, 则提示所述用户选择是否确认上传所述本地文件到所述网络文 件夹中; 如果接收到所述用户根据所述提示选择的确认上传信息, 则上传所述本 地文件到所述网络文件夹中。 域之前, 还包括:
判断所述本地文件是否通过触屏被所述用户长按;
如果是, 则在所述本地文件被所述用户通过拖拽手势拖动时, 判断被所 述用户按住的触屏是否抬起; 的激活区域的步骤。
可选地, 所述方法还包括:
如果判断出被所述用户按住的触屏抬起, 则将所述本地文件的缩略图用 悬浮动画显示。
可选地, 所述方法还包括: 或, 接收到所述用户根据所述提示选择的取消上传信息, 则将所述本地文件 恢复至原始位置。
另一方面, 提供了一种上传文件的装置, 所述装置包括: 的激活区域;
提示模块, 用于当所述第一判断模块判断用户停止拖拽的本地文件进入 网络文件夹的激活区域时, 提示所述用户选择是否确认上传所述本地文件到 所述网络文件夹中;
上传模块, 用于当接收到所述用户根据所述提示模块的提示选择的确认 上传信息时, 上传所述本地文件到所述网络文件夹中。
进一步地, 所述装置还包括:
第二判断模块, 用于在所述第一判断模块判断用户停止拖拽的本地文件 是否进入网络文件夹的激活区域之前, 判断所述本地文件是否通过触屏被所 述用户长按;
第三判断模块, 用于当所述第二判断模块判断所述本地文件通过触屏被 所述用户长按时, 在所述本地文件被所述用户通过拖拽手势拖动时, 判断被 所述用户按住的触屏是否抬起, 如果是, 则执行所述第一判断模块。
可选地, 所述装置还包括:
显示模块, 用于当所述第三判断模块判断被所述用户按住的触屏抬起 时, 将所述本地文件的缩略图用悬浮动画显示。
可选地, 所述装置还包括:
恢复模块, 用于当所述第一判断模块判断出用户停止拖拽的本地文件没 有进入网络文件夹的激活区域, 或, 接收到所述用户根据所述提示模块的提 示选择的取消上传信息时, 将所述本地文件恢复至原始位置。
一方面, 还提供了一种下载文件的方法, 所述方法包括: 如果是, 则提示所述用户选择是否确认下载所述网络文件到所述本地文 件夹中;
如果接收到所述用户根据所述提示选择的确认下载信息, 则下载所述网 络文件到所述本地文件夹中。 域之前, 还包括:
判断所述网络文件是否通过触屏被所述用户长按;
如果是, 则在所述网络文件被所述用户通过拖拽手势拖动时, 判断被所 述用户按住的触屏是否抬起; 的激活区域的步骤。
可选地, 所述方法还包括:
如果判断出被所述用户按住的触屏抬起, 则将所述网络文件的缩略图用 悬浮动画显示。
可选地, 所述方法还包括: 或, 接收到所述用户根据所述提示选择的取消下载信息, 则将所述网络文件 恢复至原始位置。
另一方面, 还提供了一种下载文件的装置, 所述装置包括: 的激活区域;
提示模块, 用于当所述第一判断模块判断用户停止拖拽的网络文件进入 本地文件夹的激活区域时, 提示所述用户选择是否确认下载所述网络文件到 所述本地文件夹中;
下载模块, 用于当接收到所述用户根据所述提示模块的提示选择的确认 下载信息时, 下载所述网络文件到所述本地文件夹中。
进一步地, 所述装置还包括:
第二判断模块, 用于在所述第一判断模块判断用户停止拖拽的网络文件 是否进入本地文件夹的激活区域之前, 判断所述网络文件是否通过触屏被所 述用户长按;
第三判断模块, 用于当所述第二判断模块判断所述网络文件通过触屏被 所述用户长按时, 在所述网络文件被所述用户通过拖拽手势拖动时, 判断被 所述用户按住的触屏是否抬起, 如果是, 则执行所述第一判断模块。
可选地, 所述装置还包括:
显示模块, 用于当所述第三判断模块判断被所述用户按住的触屏抬起 时, 将所述网络文件的缩略图用悬浮动画显示。
可选地, 所述装置还包括:
恢复模块, 用于当所述第一判断模块判断出用户停止拖拽的网络文件没 有进入本地文件夹的激活区域, 或, 接收到所述用户根据所述提示模块的提 示选择的取消下载信息时, 将所述网络文件恢复至原始位置。
本发明实施例提供的技术方案带来的有益效果是:
通过使用 iPad等平板电脑上常用的 "长按 +拖拽" 手势, 使用户能够拖 拽文件跨越本地文件夹和网络文件夹两个区域, 进而可以将想要上传的本地 文件拖拽到网络文件夹的激活区域, 或者, 将想要下载的网络文件拖拽到本 地文件夹的激活区域, 在用户确认后完成上传或下载的任务, 也就是说通过 一次拖拽就可以完成上传或下载的任务, 相对于现有技术中的文件上传和下 载, 用户需要响应的步骤更少, 用时更短, 更加高效,提升了用户体验; "长 按 +拖拽" 是 iPad等平板电脑的常用手势, 用户很容易入门, 便于操作。 附图概述 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中 所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例一提供的上传文件的方法流程图;
图 2是本发明实施例二提供的上传文件的方法流程图;
图 3是本发明实施例二提供的上传文件的拖拽示意图;
图 4是本发明实施例三提供的上传文件的装置结构示意图;
图 5是本发明实施例三提供的另一种上传文件的装置结构示意图; 图 6是本发明实施例三提供的另一种上传文件的装置结构示意图; 图 7是本发明实施例三提供的另一种上传文件的装置结构示意图; 图 8是本发明实施例四提供的下载文件的方法流程图;
图 9是本发明实施例五提供的下载文件的方法流程图;
图 10是本发明实施例五提供的下载文件的拖拽示意图;
图 11是本发明实施例六提供的下载文件的装置结构示意图;
图 12是本发明实施例六提供的另一种下载文件的装置结构示意图; 图 13是本发明实施例六提供的另一种下载文件的装置结构示意图; 图 14是本发明实施例六提供的另一种下载文件的装置结构示意图。 本发明的较佳实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发 明实施方式作进一步地详细描述。
实施例一
本发明实施例提供了一种上传文件的方法, 适用于包含有触摸屏的手提 多功能设备, 如平板电脑、 触屏手机等设备, 具体例如 iPad、 iPhone等, 方法流程包括: 活区域, 如果是, 则执行步骤 102 , 否则流程结束; 示该用户选择是否确认上传该本地文件到该网络文件夹中;
103 : 如果接收到该用户根据提示选择的确认上传信息, 则上传该本地 文件到该网络文件夹中。
本发明实施例提供的方法, 通过使用 iPad等平板电脑上常用的 "拖拽" 手势, 使用户通过一次拖拽, 将想要上传的本地文件拖拽到网络文件夹的激 活区域, 在用户确认上传后完成上传该本地文件到该网络文件夹的上传任 务, 也就是说通过一次拖拽就可以完成上传任务, 相对于现有技术中的文件 上传, 用户需要响应的步骤更少, 用时更短, 更加高效, 提升了用户体验。 实施例二
本发明实施例提供了一种上传文件的方法, 适用于包含有触摸屏的手提 多功能设备, 如平板电脑、 触屏手机等设备, 例如 iPad、 iPhone 等, 下面 本发明实施例以平板电脑为例进行具体说明, 但不限定于此。 参见图 2 , 方 法流程包括:
201 : 平板电脑判断本地文件是否通过触屏被用户长按, 如果是, 则执 行步骤 202 , 否则, 流程结束;
通过长按平板电脑触屏上的某图标来实现某种操作是使用 iPad等平板 电脑的常用手势。 本实施例中, 本地文件可以用缩略图的形式在平板电脑上 显示, 用户在浏览本地文件时, 可以通过对本地文件缩略图的长按事件, 激 活选中该本地文件。 其中, 本地文件可以为本地照片、 本地文档、 本地音频 和本地视频等。
202: 在本地文件通过触屏被用户长按时, 该本地文件可以被该用户通 过拖拽手势进行拖动;
具体地, 该本地文件通过长按被激活选中后, 用户可以继续按住该本地 文件,通过拖拽手势带动该本地文件滑动,使该本地文件在触屏上任意移动。
203: 在该本地文件被该用户通过拖拽手势进行拖动时, 判断被该用户 按住的触屏是否抬起, 如果是, 则执行步骤 204, 否则, 执行步骤 202;
具体地,判断是否发生了触屏抬起事件,即用户的手是否抬起离开触屏, 如果用户松手, 则说明释放了该本地文件, 该本地文件停止移动。
204: 如果被该用户按住的触屏抬起, 则将该本地文件的缩略图用悬浮 动画显示;
具体地, 用户松开该本地文件后, 该本地文件的缩略图进入悬浮状态。
205 : 判断该用户停止拖拽的该本地文件是否进入网络文件夹的激活区 域, 如果是, 则执行步骤 206 , 否则, 执行步骤 209;
具体地, 在平板电脑的同一界面上可以同时显示若干个本地文件夹中的 文件和网络文件夹, 使用户可以同时预览本地文件夹中的文件和网络文件 夹。
可选地, 网络文件夹的激活区域具体可以是用于显示该网络文件夹的区 域, 当用户停止拖拽的该本地文件与该网络文件夹发生重叠时, 就可以认为 该本地文件进入该网络文件夹的激活区域, 进而触发后续的上传流程。
例如, 如图 3所示, 在平板电脑的同一界面上同时显示正在浏览的本地 文件和可以使用的网络文件夹。 用户可以通过 "长按 +拖拽" 手势将想要上 传的本地文件拖拽到相应的网络文件夹中, 如图 3所示, 用户想要上传本地 文件 05到网络文件夹 1中, 就长按本地文件 05 , 并不松手的将其拖拽到网 络文件夹 1的激活区域, 然后松手。
206: 如果该用户停止拖拽的该本地文件进入了网络文件夹的激活区域, 则提示该用户选择是否确认上传该本地文件到该网络文件夹中;
具体地, 平板电脑可以弹出一个上传提示框, 提示用户是否确认上传该 本地文件到该网络文件夹中, 用户可以选择确定或者取消。
207: 接收该用户根据该提示选择的结果, 判断该结果是否为确认上传 信息, 如果是, 则执行步骤 208 , 否则, 执行步骤 209;
具体地,用户选择确定则确认上传,用户选择取消则取消上传,详见 208 和 209。
208: 如果接收到该用户根据该提示选择的确认上传信息, 则上传该本 地文件到该网络文件夹中, 流程结束;
开始上传该本地文件, 上传完毕后流程结束。 区域, 或, 接收到该用户根据该提示选择的取消上传信息, 则将该本地文件 恢复至原始位置, 流程结束。
具体地, 通过滑动动画, 自动滑动该本地文件回归原位, 流程结束。 需要说明的是, 本发明实施例中的本地文件具体可以为本地照片, 网络 文件夹具体可以为网络相册, 但不限定于此。
本发明实施例提供的方法, 通过在平板电脑的同一界面上同时显示本地 文件夹中的文件和网络文件夹, 使用户可以同时预览本地文件夹中的文件和 网络文件夹, 方便用户定位; 通过使用 iPad等平板电脑上常用的 "长按 +拖 拽" 手势, 使用户通过拖拽的方式使文件跨越本地文件夹和网络文件夹两个 区域, 进而可以将想要上传的本地文件拖拽到网络文件夹的激活区域, 在用 户确认上传后完成上传该本地文件到该网络文件夹的上传任务, 也就是说通 过一次拖拽就可以完成上传任务, 相对于现有技术中的文件上传, 用户需要 响应的步骤更少, 用时更短, 更加高效, 提升了用户体验; "长按 +拖拽" 是 iPad等平板电脑的常用手势, 用户很容易入门, 便于操作。 实施例三
本发明实施例提供了一种上传文件的装置, 能够实现图 2所示的方法。 该装置可以应用于包含有触摸屏的手提多功能设备, 如平板电脑、 触屏手机 等设备上, 具体例如 iPad、 iPhone等。 参见图 4, 该装置包括: 件夹的激活区域;
提示模块 402 , 用于当第一判断模块 401判断用户停止拖拽的本地文件 进入网络文件夹的激活区域时, 提示该用户选择是否确认上传该本地文件到 该网络文件夹中;
上传模块 403 , 用于当接收到该用户根据提示模块 402的提示选择的确 认上传信息时, 上传该本地文件到该网络文件夹中。
具体地, 在平板电脑的同一界面上可以同时显示若干个本地文件夹中的 文件和网络文件夹, 使用户可以同时预览本地文件夹中的文件和网络文件 夹。
进一步地, 参见图 5 , 该装置还包括:
第二判断模块 404, 用于在第一判断模块 401判断用户停止拖拽的本地 文件是否进入网络文件夹的激活区域之前, 判断该本地文件是否通过触屏被 用户长按; 第三判断模块 405, 用于当第二判断模块 404判断该本地文件通过触屏 被用户长按时, 在该本地文件被该用户通过拖拽手势拖动时, 判断被该用户 按住的触屏是否抬起, 如果是, 则执行第一判断模块 401。
可选地, 参见图 6, 该装置还包括:
显示模块 406, 用于当第三判断模块 405判断被该用户按住的触屏抬起 时, 将该本地文件的缩略图用悬浮动画显示。
可选地, 参见图 7, 该装置还包括:
恢复模块 407 , 用于当第一判断模块 401判断出用户停止拖拽的本地文 件没有进入网络文件夹的激活区域, 或, 接收到该用户根据提示模块 402的 提示选择的取消上传信息时, 将该本地文件恢复至原始位置。
本发明实施例提供的装置, 通过在平板电脑的同一界面上同时显示本地 文件夹中的文件和网络文件夹, 使用户可以同时预览本地文件夹中的文件和 网络文件夹, 方便用户定位; 通过使用 iPad等平板电脑上常用的 "长按 +拖 拽" 手势, 使用户通过拖拽的方式使文件跨越本地文件夹和网络文件夹两个 区域, 进而可以将想要上传的本地文件拖拽到网络文件夹的激活区域, 在用 户确认上传后完成上传该本地文件到该网络文件夹的上传任务, 也就是说通 过一次拖拽就可以完成上传任务, 相对于现有技术中的文件上传, 用户需要 响应的步骤更少, 用时更短, 更加高效, 提升了用户体验; "长按 +拖拽" 是 iPad等平板电脑的常用手势, 用户很容易入门, 便于操作。 实施例四
本发明实施例提供了一种下载文件的方法, 适用于包含有触摸屏的手提 多功能设备, 如平板电脑、 触屏手机等设备, 具体例如 iPad、 iPhone等, 方法流程包括: 活区域, 如果是, 则执行步骤 802 , 否则流程结束; 示该用户选择是否确认下载该网络文件到该本地文件夹中;
803: 如果接收到该用户根据提示选择的确认下载信息, 则下载该网络 文件到该本地文件夹中。
本发明实施例提供的方法, 通过使用 iPad等平板电脑上常用的 "拖拽" 手势, 使用户通过一次拖拽, 将想要下载的网络文件拖拽到本地文件夹的激 活区域, 在用户确认下载后完成下载该网络文件到该本地文件夹的下载任 务, 也就是说通过一次拖拽就可以完成下载任务, 相对于现有技术中的文件 下载, 用户需要响应的步骤更少, 用时更短, 更加高效, 提升了用户体验。 实施例五
本发明实施例提供了一种下载文件的方法, 适用于包含有触摸屏的手提 多功能设备, 如平板电脑、 触屏手机等设备, 具体例如 iPad、 iPhone 等, 方法流程包括:
901 : 平板电脑判断网络文件是否通过触屏被用户长按, 如果是, 则执 行步骤 902 , 否则, 流程结束;
通过长按平板电脑触屏上的某图标来实现某种操作是使用 iPad等平板 电脑的常用手势。 本实施例中, 网络文件可以用缩略图的形式在平板电脑上 显示, 用户在浏览网络文件时, 可以通过对网络文件缩略图的长按事件, 激 活选中该网络文件。 其中, 网络文件可以为网络相册照片、 网络硬盘中的文 档、 音频和视频等。
902: 在网络文件通过触屏被用户长按时, 该网络文件可以被该用户通 过拖拽手势进行拖动;
具体地, 该网络文件通过长按被激活选中后, 用户可以继续按住该网络 文件,通过拖拽手势带动该网络文件滑动,使该网络文件在触屏上任意移动。
903: 在该网络文件被该用户通过拖拽手势进行拖动时, 判断被该用户 按住的触屏是否抬起, 如果是, 则执行步骤 904, 否则, 执行步骤 902;
具体地,判断是否发生了触屏抬起事件,即用户的手是否抬起离开触屏, 如果用户松手, 则说明释放了该网络文件, 该网络文件停止移动。
904: 如果被该用户按住的触屏抬起, 则将该网络文件的缩略图用悬浮 动画显示;
具体地, 用户松开该网络文件后, 该网络文件的缩略图进入悬浮状态。 905: 判断该用户停止拖拽的该网络文件是否进入本地文件夹的激活区 域, 如果是, 则执行步骤 906 , 否则, 执行步骤 909;
具体地, 在平板电脑的同一界面上可以同时显示若干个网络文件和本地 文件夹, 使用户可以同时预览若干个网络文件和本地文件夹。
可选地, 本地文件夹的激活区域具体可以是用于显示该本地文件夹的区 域, 当用户停止拖拽的该网络文件与该本地文件夹发生重叠时, 就可以认为 该网络文件进入该本地文件夹的激活区域, 进而触发后续的下载流程。
例如, 如图 10所示, 在平板电脑的同一界面上同时显示正在浏览的网 络文件和可以使用的本地文件夹。 用户可以通过 "长按 +拖拽" 手势将想要 下载的网络文件拖拽到相应的本地文件夹中, 如图 10所示, 用户想要下载 网络文件 05到本地文件夹 1中, 就长按网络文件 05, 并不松手的将其拖拽 到本地文件夹 1的激活区域, 然后松手。
906: 如果该用户停止拖拽的该网络文件进入了本地文件夹的激活区域, 则提示该用户选择是否确认下载该网络文件到该本地文件夹中;
具体地, 平板电脑可以弹出一个下载提示框, 提示用户是否确认下载该 网络文件到该本地文件夹中, 用户可以选择确定或者取消。
907: 接收该用户根据该提示选择的结果, 判断该结果是否为确认下载 信息, 如果是, 则执行步骤 908, 否则, 执行步骤 909;
具体地,用户选择确定则确认下载,用户选择取消则取消下载,详见 908 和 909。
908: 如果接收到该用户根据该提示选择的确认下载信息, 则下载该网 络文件到该本地文件夹中, 流程结束;
开始下载该网络文件, 下载完毕后流程结束。 区域, 或, 接收到该用户根据该提示选择的取消下载信息, 则将该网络文件 恢复至原始位置, 流程结束。
具体地, 通过滑动动画, 自动滑动该网络文件回归原位, 流程结束。 本地文件夹具体可以为本地相册, 但不限定于此。
本发明实施例提供的方法, 通过在平板电脑的同一界面上同时显示网络 文文件件和和本本地地文文件件夹夹,, 使使用用户户可可以以同同时时预预览览网网络络文文件件和和本本地地文文件件夹夹,, 方方便便用用户户 定定位位;; 通通过过使使用用 iiPPaadd等等平平板板电电脑脑上上常常用用的的 ""长长按按 ++拖拖拽拽"" 手手势势,, 使使用用户户通通过过 拖拖拽拽的的方方式式使使文文件件跨跨越越网网络络文文件件夹夹和和本本地地文文件件夹夹两两个个区区域域,, 进进而而可可以以将将想想要要 下下载载的的网网络络文文件件拖拖拽拽到到本本地地文文件件夹夹的的激激活活区区域域,, 在在用用户户确确认认下下载载后后完完成成下下载载 55 该该网网络络文文件件到到该该本本地地文文件件夹夹的的下下载载任任务务,, 也也就就是是说说通通过过一一次次拖拖拽拽就就可可以以完完成成 下下载载任任务务,, 相相对对于于现现有有技技术术中中的的文文件件下下载载,, 用用户户需需要要响响应应的的步步骤骤更更少少,, 用用时时 更更短短,, 更更加加高高效效,, 提提升升了了用用户户体体验验;; ""长长按按 ++拖拖拽拽"" 是是 iiPPaadd等等平平板板电电脑脑的的常常 用用手手势势,, 用用户户很很容容易易入入门门,, 便便于于操操作作。。
1100 实实施施例例六六
本本发发明明实实施施例例提提供供了了一一种种下下载载文文件件的的装装置置,, 能能够够实实现现图图 99所所示示的的方方法法。。 该该装装置置可可以以应应用用于于包包含含有有触触摸摸屏屏的的手手提提多多功功能能设设备备,, 如如平平板板电电脑脑、、 触触屏屏手手机机 等等设设备备上上,, 具具体体例例如如 iiPPaadd、、 iiPPhhoonnee等等。。 参参见见图图 1111 ,, 该该装装置置包包括括::
1155 件件夹夹的的激激活活区区域域;;
提提示示模模块块 11110022 ,, 用用于于当当第第一一判判断断模模块块 11110011判判断断用用户户停停止止拖拖拽拽的的网网络络文文 件件进进入入本本地地文文件件夹夹的的激激活活区区域域时时,, 提提示示该该用用户户选选择择是是否否确确认认下下载载该该网网络络文文件件 到到该该本本地地文文件件夹夹中中;;
下下载载模模块块 11110033 ,, 用用于于当当接接收收到到该该用用户户根根据据提提示示模模块块 11110022的的提提示示选选择择的的 2200 确确认认下下载载信信息息时时,, 下下载载该该网网络络文文件件到到该该本本地地文文件件夹夹中中。。
具具体体地地,, 在在平平板板电电脑脑的的同同一一界界面面上上可可以以同同时时显显示示若若干干个个网网络络文文件件和和本本地地 文文件件夹夹,, 使使用用户户可可以以同同时时预预览览若若干干个个网网络络文文件件和和本本地地文文件件夹夹。。
进进一一步步地地,, 参参见见图图 1122 ,, 该该装装置置还还包包括括::
第第二二判判断断模模块块 11110044,, 用用于于在在第第一一判判断断模模块块 11110011判判断断用用户户停停止止拖拖拽拽的的网网 2255 络络文文件件是是否否进进入入本本地地文文件件夹夹的的激激活活区区域域之之前前,, 判判断断该该网网络络文文件件是是否否通通过过触触屏屏 被被用用户户长长按按;;
第第三三判判断断模模块块 11110055,, 用用于于当当第第二二判判断断模模块块 11110044判判断断该该网网络络文文件件通通过过触触 屏屏被被用用户户长长按按时时,, 在在该该网网络络文文件件被被该该用用户户通通过过拖拖拽拽手手势势拖拖动动时时,, 判判断断被被该该用用 户户按按住住的的触触屏屏是是否否抬抬起起,, 如如果果是是,, 则则执执行行第第一一判判断断模模块块 11110011。。
Figure imgf000014_0001
显示模块 1106, 用于当第三判断模块 1105判断被该用户按住的触屏抬 起时, 将该网络文件的缩略图用悬浮动画显示。
可选地, 参见图 14, 该装置还包括:
恢复模块 1107, 用于当第一判断模块 1101判断出用户停止拖拽的网络 文件没有进入本地文件夹的激活区域, 或,接收到该用户根据提示模块 1102 的提示选择的取消下载信息时, 将该网络文件恢复至原始位置。
本发明实施例提供的装置, 通过在平板电脑的同一界面上同时显示网络 文件和本地文件夹, 使用户可以同时预览网络文件和本地文件夹, 方便用户 定位; 通过使用 iPad等平板电脑上常用的 "长按 +拖拽" 手势, 使用户通过 拖拽的方式使文件跨越网络文件夹和本地文件夹两个区域, 进而可以将想要 下载的网络文件拖拽到本地文件夹的激活区域, 在用户确认下载后完成下载 该网络文件到该本地文件夹的下载任务, 也就是说通过一次拖拽就可以完成 下载任务, 相对于现有技术中的文件下载, 用户需要响应的步骤更少, 用时 更短, 更加高效, 提升了用户体验; "长按 +拖拽" 是 iPad等平板电脑的常 用手势, 用户很容易入门, 便于操作。 需要说明的是: 上述实施例提供的上传和下载文件的装置在上传和下载 文件时, 仅以上述各功能模块的划分进行举例说明, 实际应用中, 可以根据 需要而将上述功能分配由不同的功能模块完成, 即将装置的内部结构划分成 不同的功能模块, 以完成以上描述的全部或者部分功能。 另外, 上述实施例 提供的上传和下载文件的装置与上传和下载文件的方法实施例属于同一构 思, 其具体实现过程详见方法实施例, 这里不再赘述。
上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以 通过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以 存储于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储 器, 磁盘或光盘等。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明 的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发 明的保护范围之内。 工业实用性
本发明是通过使用 iPad等平板电脑上常用的 "长按 +拖拽" 手势, 使用 户能够拖拽文件跨越本地文件夹和网络文件夹两个区域, 进而可以将想要上 传的本地文件拖拽到网络文件夹的激活区域, 或者, 将想要下载的网络文件 拖拽到本地文件夹的激活区域, 在用户确认后完成上传或下载的任务, 也就 是说通过一次拖拽就可以完成上传或下载的任务, 相对于现有技术中的文件 上传和下载, 用户需要响应的步骤更少, 用时更短, 更加高效, 提升了用户 体验; "长按 +拖拽" 是 iPad等平板电脑的常用手势, 用户很容易入门, 便 于操作。

Claims

权 利 要 求 书
1、 一种上传文件的方法, 其特征在于, 所述方法应用于包含有触摸屏 的手提多功能设备上, 包括: 如果是, 则提示所述用户选择是否确认上传所述本地文件到所述网络文 件夹中;
如果接收到所述用户根据所述提示选择的确认上传信息, 则上传所述本 地文件到所述网络文件夹中。
2、 根据权利要求 1 所述的方法, 其特征在于, 判断用户停止拖拽的本 地文件是否进入网络文件夹的激活区域之前, 还包括:
判断所述本地文件是否通过触屏被所述用户长按;
如果是, 则在所述本地文件被所述用户通过拖拽手势拖动时, 判断被所 述用户按住的触屏是否抬起; 的激活区域的步骤。
3、 根据权利要求 2所述的方法, 其特征在于, 所述方法还包括: 如果判断出被所述用户按住的触屏抬起, 则将所述本地文件的缩略图用 悬浮动画显示。
4、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 或, 接收到所述用户根据所述提示选择的取消上传信息, 则将所述本地文件 恢复至原始位置。
5、 一种上传文件的装置, 其特征在于, 所述装置应用于包含有触摸屏 的手提多功能设备上, 包括: 的激活区域; 提示模块, 用于当所述第一判断模块判断用户停止拖拽的本地文件进入 网络文件夹的激活区域时, 提示所述用户选择是否确认上传所述本地文件到 所述网络文件夹中;
上传模块, 用于当接收到所述用户根据所述提示模块的提示选择的确认 上传信息时, 上传所述本地文件到所述网络文件夹中。
6、 根据权利要求 5所述的装置, 其特征在于, 所述装置还包括: 第二判断模块, 用于在所述第一判断模块判断用户停止拖拽的本地文件 是否进入网络文件夹的激活区域之前, 判断所述本地文件是否通过触屏被所 述用户长按;
第三判断模块, 用于当所述第二判断模块判断所述本地文件通过触屏被 所述用户长按时, 在所述本地文件被所述用户通过拖拽手势拖动时, 判断被 所述用户按住的触屏是否抬起, 如果是, 则执行所述第一判断模块。
7、 根据权利要求 6所述的装置, 其特征在于, 所述装置还包括: 显示模块, 用于当所述第三判断模块判断被所述用户按住的触屏抬起 时, 将所述本地文件的缩略图用悬浮动画显示。
8、 根据权利要求 5所述的装置, 其特征在于, 所述装置还包括: 恢复模块, 用于当所述第一判断模块判断出用户停止拖拽的本地文件没 有进入网络文件夹的激活区域, 或, 接收到所述用户根据所述提示模块的提 示选择的取消上传信息时, 将所述本地文件恢复至原始位置。
9、 一种下载文件的方法, 其特征在于, 所述方法应用于包含有触摸屏 的手提多功能设备上, 包括: 如果是, 则提示所述用户选择是否确认下载所述网络文件到所述本地文 件夹中;
如果接收到所述用户根据所述提示选择的确认下载信息, 则下载所述网 络文件到所述本地文件夹中。
10、 根据权利要求 9所述的方法, 其特征在于, 判断用户停止拖拽的网 络文件是否进入本地文件夹的激活区域之前, 还包括:
判断所述网络文件是否通过触屏被所述用户长按;
如果是, 则在所述网络文件被所述用户通过拖拽手势拖动时, 判断被所 述用户按住的触屏是否抬起; 的激活区域的步骤。
11、 根据权利要求 10所述的方法, 其特征在于, 所述方法还包括: 如果判断出被所述用户按住的触屏抬起, 则将所述网络文件的缩略图用 悬浮动画显示。
12、 根据权利要求 9所述的方法, 其特征在于, 所述方法还包括: 或, 接收到所述用户根据所述提示选择的取消下载信息, 则将所述网络文件 恢复至原始位置。
13、 一种下载文件的装置, 其特征在于, 所述装置应用于包含有触摸屏 的手提多功能设备上, 包括: 的激活区域;
提示模块, 用于当所述第一判断模块判断用户停止拖拽的网络文件进入 本地文件夹的激活区域时, 提示所述用户选择是否确认下载所述网络文件到 所述本地文件夹中;
下载模块, 用于当接收到所述用户根据所述提示模块的提示选择的确认 下载信息时, 下载所述网络文件到所述本地文件夹中。
14、 根据权利要求 13所述的装置, 其特征在于, 所述装置还包括: 第二判断模块, 用于在所述第一判断模块判断用户停止拖拽的网络文件 是否进入本地文件夹的激活区域之前, 判断所述网络文件是否通过触屏被所 述用户长按;
第三判断模块, 用于当所述第二判断模块判断所述网络文件通过触屏被 所述用户长按时, 在所述网络文件被所述用户通过拖拽手势拖动时, 判断被 所述用户按住的触屏是否抬起, 如果是, 则执行所述第一判断模块。
15、 根据权利要求 14所述的装置, 其特征在于, 所述装置还包括: 显示模块, 用于当所述第三判断模块判断被所述用户按住的触屏抬起 时, 将所述网络文件的缩略图用悬浮动画显示。
16、 根据权利要求 13所述的装置, 其特征在于, 所述装置还包括: 恢复模块, 用于当所述第一判断模块判断出用户停止拖拽的网络文件没 有进入本地文件夹的激活区域, 或, 接收到所述用户根据所述提示模块的提 示选择的取消下载信息时, 将所述网络文件恢复至原始位置。
PCT/CN2012/080212 2011-10-27 2012-08-16 上传和下载文件的方法及装置 Ceased WO2013060184A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2014513905A JP2014519128A (ja) 2011-10-27 2012-08-16 ファイルのアップロード及びダウンロードの方法並びに装置
AP2014007524A AP2014007524A0 (en) 2011-10-27 2012-08-16 Method and device for uploading and downloading file
EP12844271.2A EP2772840A4 (en) 2011-10-27 2012-08-16 METHOD AND DEVICE FOR UPLOADING AND DOWNLOADING FILES
SG2013073614A SG194038A1 (en) 2011-10-27 2012-08-16 Method and device for uploading and downloading file
US14/110,446 US20140033066A1 (en) 2011-10-27 2012-08-16 Method and device for uploading and downloading file
ZA2014/02019A ZA201402019B (en) 2011-10-27 2014-03-19 Method and device for uploading and downloading file

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011103313589A CN103092487A (zh) 2011-10-27 2011-10-27 上传和下载文件的方法及装置
CN201110331358.9 2011-10-27

Publications (1)

Publication Number Publication Date
WO2013060184A1 true WO2013060184A1 (zh) 2013-05-02

Family

ID=48167105

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/080212 Ceased WO2013060184A1 (zh) 2011-10-27 2012-08-16 上传和下载文件的方法及装置

Country Status (8)

Country Link
US (1) US20140033066A1 (zh)
EP (1) EP2772840A4 (zh)
JP (1) JP2014519128A (zh)
CN (1) CN103092487A (zh)
AP (1) AP2014007524A0 (zh)
SG (1) SG194038A1 (zh)
WO (1) WO2013060184A1 (zh)
ZA (1) ZA201402019B (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2813946A1 (en) * 2013-06-15 2014-12-17 Fortnox AB Performing data operations at a central station from a remote station
CN104216607B (zh) * 2013-09-05 2017-10-20 侯金涛 基于html5的虚拟操作系统的图标拖拽方法及系统
CN103677528B (zh) * 2013-12-27 2017-09-29 联想(北京)有限公司 一种信息处理方法和电子设备
CN105302572A (zh) * 2015-11-19 2016-02-03 天脉聚源(北京)教育科技有限公司 在软件中导入文件的方法及装置
US10447763B2 (en) * 2016-12-08 2019-10-15 Nanning Fugui Precision Industrial Co., Ltd. Distributed storage method and system
CN108803958B (zh) * 2017-04-26 2022-12-16 腾讯科技(深圳)有限公司 文件载入控制、云存储应用中实现上传的交互方法和装置
CN114185845B (zh) * 2020-09-14 2025-08-08 腾讯科技(深圳)有限公司 一种文件管理方法、装置、计算机设备及存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101223496A (zh) * 2005-07-13 2008-07-16 微软公司 丰富的拖放用户界面
CN101482797A (zh) * 2009-02-10 2009-07-15 苏州瀚瑞微电子有限公司 在触控感应设备上实现拖拽的方法

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6535230B1 (en) * 1995-08-07 2003-03-18 Apple Computer, Inc. Graphical user interface providing consistent behavior for the dragging and dropping of content objects
JP2001356878A (ja) * 2000-06-14 2001-12-26 Hitachi Ltd アイコン制御方法
US20030132967A1 (en) * 2002-01-15 2003-07-17 Ram Gangadharan System and method for a drag and drop interface for transfer of multiple files between a web enabled device and a web server
JP2004164273A (ja) * 2002-11-13 2004-06-10 Kyocera Mita Corp プリントシステム及びプリントサーバ
US7231609B2 (en) * 2003-02-03 2007-06-12 Microsoft Corporation System and method for accessing remote screen content
JP2005182760A (ja) * 2003-11-25 2005-07-07 Canon Inc 情報処理装置およびその制御方法
US7386808B2 (en) * 2004-05-25 2008-06-10 Applied Minds, Inc. Apparatus and method for selecting actions for visually associated files and applications
US20060129945A1 (en) * 2004-12-15 2006-06-15 International Business Machines Corporation Apparatus and method for pointer drag path operations
JP4792366B2 (ja) * 2006-09-29 2011-10-12 株式会社日立製作所 画面表示方法
US20080139896A1 (en) * 2006-10-13 2008-06-12 Siemens Medical Solutions Usa, Inc. System and Method for Graphical Annotation of Anatomical Images Using a Touch Screen Display
JP2008171099A (ja) * 2007-01-10 2008-07-24 Yokogawa Electric Corp タッチパネルを用いた表示装置
US8255824B2 (en) * 2007-01-30 2012-08-28 Oracle International Corporation Toolbar/sidebar browser extension
KR101524572B1 (ko) * 2007-02-15 2015-06-01 삼성전자주식회사 터치스크린을 구비한 휴대 단말기의 인터페이스 제공 방법
KR101425029B1 (ko) * 2007-06-29 2014-07-31 삼성전자주식회사 Ria를 이용하여 파일정보를 송수신하는 화상형성장치 및그 정보처리방법
US8619038B2 (en) * 2007-09-04 2013-12-31 Apple Inc. Editing interface
KR101012300B1 (ko) * 2008-03-07 2011-02-08 삼성전자주식회사 터치스크린을 구비한 휴대 단말기의 사용자 인터페이스장치 및 그 방법
KR101503835B1 (ko) * 2008-10-13 2015-03-18 삼성전자주식회사 멀티터치를 이용한 오브젝트 관리 방법 및 장치
KR101078929B1 (ko) * 2008-11-06 2011-11-01 엘지전자 주식회사 단말기 및 그 인터넷 이용 방법
CN101751286B (zh) * 2008-11-28 2015-05-13 汉达精密电子(昆山)有限公司 直觉化档案传输方法
KR20100109686A (ko) * 2009-04-01 2010-10-11 삼성전자주식회사 Gui 제공방법 및 이를 적용한 멀티미디어 기기
JP2011022851A (ja) * 2009-07-16 2011-02-03 Docomo Technology Inc ディスプレイ端末、画像処理システム、及び画像処理方法
JP5490508B2 (ja) * 2009-12-11 2014-05-14 京セラ株式会社 タッチセンサを有する装置、触感呈示方法及び触感呈示プログラム
CN101763341B (zh) * 2009-12-23 2014-10-22 宇龙计算机通信科技(深圳)有限公司 一种文本协同方法及系统
JP5523119B2 (ja) * 2010-01-14 2014-06-18 キヤノン株式会社 表示制御装置及び表示制御方法
US8621386B2 (en) * 2010-07-19 2013-12-31 Verizon Patent And Licensing Inc. File management and transfer using user interface icons associated with applications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101223496A (zh) * 2005-07-13 2008-07-16 微软公司 丰富的拖放用户界面
CN101482797A (zh) * 2009-02-10 2009-07-15 苏州瀚瑞微电子有限公司 在触控感应设备上实现拖拽的方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2772840A4 *

Also Published As

Publication number Publication date
ZA201402019B (en) 2015-03-25
AP2014007524A0 (en) 2014-03-31
CN103092487A (zh) 2013-05-08
EP2772840A4 (en) 2015-08-12
EP2772840A1 (en) 2014-09-03
JP2014519128A (ja) 2014-08-07
US20140033066A1 (en) 2014-01-30
SG194038A1 (en) 2013-11-29

Similar Documents

Publication Publication Date Title
US20230359349A1 (en) Portable multifunction device with interface reconfiguration mode
CN102239469B (zh) 在被锁定的设备上隔离所接收的信息
US9507495B2 (en) Electronic device and method of displaying information in response to a gesture
CN103631511B (zh) 用于在具有触摸屏的终端中构造主屏幕的方法和设备
CN101937310B (zh) 文件复制方法及终端
CN106775334B (zh) 移动终端上的文件调用方法、装置及移动终端
CN102779006B (zh) 基于触摸屏的对象转移方法及触摸屏智能设备
WO2014166226A1 (zh) 一种整理图标的方法、装置和设备
US20130227483A1 (en) Method and Apparatus for Providing a User Interface on a Device That Indicates Content Operators
US20140282214A1 (en) Electronic device and method of displaying information in response to a gesture
US20130227470A1 (en) Method and Apparatus for Adjusting a User Interface to Reduce Obscuration
US20130227482A1 (en) Method and apparatus for providing a user interface on a device enabling selection of operations to be performed in relation to content
CN103729135A (zh) 用于在便携式终端设备中显示信息的装置和方法
CN105122176A (zh) 用于管理在电子设备上显示的内容的系统和方法
KR20130093043A (ko) 터치 및 스와이프 내비게이션을 위한 사용자 인터페이스 방법 및 모바일 디바이스
CA2865193A1 (en) Method of accessing and performing quick actions on an item through a shortcut menu
EP2772840A1 (en) Method and device for uploading and downloading file
CA2848105C (en) Electronic device and method of displaying information in response to a gesture
CA2846419A1 (en) Electronic device and method of displaying information in response to a gesture
TW201025112A (en) Method for displaying tree structure data and hand-held electronic devece and computer program product thereof
HK1183351A (zh) 上传和下载文件的方法及装置
CN109697011B (zh) 一种文件夹浏览方法、终端及计算机存储介质
OA16871A (en) Method and device for uploading and downloading file.
TW201003482A (en) Frame scaling control system, its method and computer readable storage medium
HK1200947B (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: 12844271

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2012844271

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2012844271

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 14110446

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2014513905

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE