WO2016078245A1 - File uploading method and device - Google Patents

File uploading method and device Download PDF

Info

Publication number
WO2016078245A1
WO2016078245A1 PCT/CN2015/073039 CN2015073039W WO2016078245A1 WO 2016078245 A1 WO2016078245 A1 WO 2016078245A1 CN 2015073039 W CN2015073039 W CN 2015073039W WO 2016078245 A1 WO2016078245 A1 WO 2016078245A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
specified
event
type
uploading
Prior art date
Application number
PCT/CN2015/073039
Other languages
French (fr)
Chinese (zh)
Inventor
左雄辉
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016078245A1 publication Critical patent/WO2016078245A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • FIG. 3 is a block diagram 1 of an optional structure of a file uploading apparatus according to an embodiment of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Provided are a file uploading method and device, the method comprising: detecting a triggering instruction for a specified control on an access page, the control being set to trigger uploading of a file; upon the trigger of the triggering instruction, acquiring a specified event bound to the specified control, the specified event being set to trigger uploading of a specified type of file, the specified type of file being a type of file other than an image or video file type; and converting a preset event into an event identifiable for a terminal, and upon triggering of the identifiable event, selecting the specified type of file to upload. The present invention addresses the problems of applications in an iOS system in the relevant art being limited to displaying and accessing local files, and only being able to upload images and videos, thus improving user experience.

Description

文件的上传方法及装置File uploading method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种文件的上传方法及装置。The present invention relates to the field of communications, and in particular to a file uploading method and apparatus.
背景技术Background technique
移动操作系统(iphone Operating System简称为iOS)是由苹果公司开发的移动操作系统。苹果公司最早于2007年1月9日的Macworld大会上公布这个系统,最初是设计给iPhone使用的,后来陆续套用到iPod touch、iPad以及Apple TV等产品上。iOS与苹果的Mac OS X操作系统一样,它也是以Darwin为基础的,因此同样属于类Unix的商业操作系统。据著名互联网流量监测机构Net Applications发布的最新数据显示,iOS在移动平台市场占有率达到44.19%。The mobile operating system (iphone Operating System for short) is a mobile operating system developed by Apple. Apple first announced the system at the Macworld conference on January 9, 2007, originally designed for the iPhone, and later applied to iPod touch, iPad and Apple TV. Like Apple's Mac OS X operating system, iOS is also based on Darwin, so it is also a Unix-like commercial operating system. According to the latest data released by the famous Internet traffic monitoring agency Net Applications, iOS has a market share of 44.19% in the mobile platform market.
iOS内置浏览器控件UIWebView,该控件是基于webkit内核,通过该控件可以实现网页浏览,访问邮箱,访问微博。但是在文件上传时,因为iOS限制应用程序访问本地文件,所以只能上传图片和视频,不能上传其他类型的文件,如word文档等。iOS built-in browser control UIWebView, the control is based on the webkit kernel, through which you can achieve web browsing, access to mailboxes, and access to Weibo. However, when the file is uploaded, because iOS restricts the application from accessing local files, only images and videos can be uploaded, and other types of files, such as word documents, cannot be uploaded.
针对相关技术中iOS系统中限制应用呈现访问本地文件,只能上传图片和视频的问题,目前尚未提出有效的解决方案。In view of the problem that the limited application in the related art presents access to local files and can only upload pictures and videos in the related art, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种文件的上传方法及装置,以至少解决相关技术中iOS限制应用呈现访问本地文件,只能上传图片和视频的问题。The embodiment of the invention provides a method and a device for uploading a file, so as to at least solve the problem that the iOS restriction application presents a local file access and can only upload a picture and a video in the related art.
根据本发明的一个实施例,提供了一种文件的上传方法,包括:检测对访问页面上指定控件的触发指令,该控件设置为触发进行文件上传;在所述触发指令的触发下,获取与所述指定控件绑定的指定事件,该指定事件设置为触发上传指定类型文件,所述指定类型文件为除图片和视频文件类型之外的其他类型文件;将所述指定事件转换成终端能够识别的事件,并在所述能够识别的事件的触发下,选择所述指定类型文件进行上传。According to an embodiment of the present invention, a file uploading method is provided, including: detecting a triggering instruction for a specified control on an access page, the control is configured to trigger a file upload; and triggering the triggering instruction to acquire and Specifying a specified event bound by the specified control, the specified event is set to trigger uploading of a specified type file, the specified type file is a file of a type other than a picture and a video file type; converting the specified event into a terminal capable of recognizing The event, and triggered by the identifiable event, selects the specified type file for uploading.
选择所述指定类型文件进行上传,包括:在所述能够识别的事件的触发下,向用户呈现设置为选择所述指定类型文件的文件选取界面;在所述文件选取界面上选择所述指定类型文件。 Selecting the specified type file for uploading, including: presenting, by the identifiable event, a file selection interface set to select the specified type file; and selecting the specified type on the file selection interface file.
在所述文件选取界面上选择所述指定类型文件包括:在所述文件选取界面上呈现与所述指定事件对应的文件列表;从所述文件列表中选择一个或多个所述指定类型文件。Selecting the specified type file on the file selection interface includes: presenting a file list corresponding to the specified event on the file selection interface; and selecting one or more of the specified type files from the file list.
所述文件类型包括至少以下之一:Txt、Word、PPT、Excel。The file type includes at least one of the following: Txt, Word, PPT, Excel.
选择所述指定类型文件进行上传之后,还包括:输出所述指定类型文件的上传结果,并显示该上传结果。After the file of the specified type is selected for uploading, the method further includes: outputting an upload result of the file of the specified type, and displaying the upload result.
所述文件的上传方法应用于移动操作系统iOS。The file upload method is applied to the mobile operating system iOS.
根据本发明的另一个实施例,提供了一种文件的上传装置,包括:检测模块,设置为检测对访问页面上指定控件的触发指令,该控件设置为触发进行文件上传;获取模块,设置为在所述触发指令的触发下,获取与所述指定控件绑定的指定事件,该指定事件设置为触发上传指定类型文件,所述指定类型文件为除图片和视频文件类型之外的其他类型文件;转换模块,设置为将所述指定事件转换成终端能够识别的事件,并在所述能够识别的事件的触发下,选择所述指定类型文件进行上传。According to another embodiment of the present invention, there is provided a file uploading apparatus, comprising: a detecting module configured to detect a triggering instruction for a specified control on an access page, the control being set to trigger a file upload; and an obtaining module configured to And triggering, by the triggering instruction, a specified event bound to the specified control, the specified event is set to trigger uploading a file of a specified type, and the specified type file is a file of a type other than a picture and a video file type. And a conversion module configured to convert the specified event into an event recognizable by the terminal, and, under the trigger of the identifiable event, select the specified type file for uploading.
所述转换模块包括:呈现单元,设置为在所述能够识别的事件的触发下,向用户呈现设置为选择所述指定类型文件的文件选取界面;选择单元,设置为在所述文件选取界面上选择所述指定类型文件。The conversion module includes: a presentation unit configured to present, to the user, a file selection interface set to select the specified type of file, triggered by the identifiable event; and a selection unit configured to be on the file selection interface Select the specified type file.
所述选择单元还设置为,在所述文件选取界面上呈现与所述指定事件对应的文件列表,并从所述文件列表中选择一个或多个所述指定类型文件。The selection unit is further configured to present a file list corresponding to the specified event on the file selection interface, and select one or more of the specified type files from the file list.
所述文件类型包括至少以下之一:Txt、Word、PPT、Excel。The file type includes at least one of the following: Txt, Word, PPT, Excel.
通过本发明实施例,在需要上传出图片和视频文件类型之外的其他类型的指定文件时,采用通过触发与该指定文件对应的指定事件,进而对该指定事件进行转化,转换成终端能够识别的事件,在转换成终端能够识别的事件之后,选择指定类型文件进行上传的方式,解决了相关技术中iOS系统中限制应用呈现访问本地文件,只能上传图片和视频的问题,提高了用户体验。According to the embodiment of the present invention, when a specified file other than the image and video file type needs to be uploaded, the specified event corresponding to the specified file is triggered, and then the specified event is converted, and the terminal can recognize The event, after being converted into an event that the terminal can recognize, selects a file of the specified type for uploading, and solves the problem that the iOS system restricts the application to access the local file in the related art, and can only upload the image and the video, thereby improving the user experience. .
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中: The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的文件的上传方法流程图;1 is a flowchart of a method for uploading a file according to an embodiment of the present invention;
图2是根据本发明实施例的文件的上传装置的结构框图;2 is a block diagram showing the structure of a file uploading apparatus according to an embodiment of the present invention;
图3是根据本发明实施例的文件的上传装置的可选结构框图一;3 is a block diagram 1 of an optional structure of a file uploading apparatus according to an embodiment of the present invention;
图4是根据本发明可选实施例的显示文件上传系统的内部模块结构框图;4 is a block diagram showing the internal module structure of a display file uploading system according to an alternative embodiment of the present invention;
图5是根据本发明可选实施例的文件上传方法的流程图。5 is a flow chart of a file uploading method in accordance with an alternate embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种文件的上传方法,图1是根据本发明实施例的文件的上传方法流程图,如图1所示,该流程包括如下步骤:A method for uploading a file is provided in this embodiment. FIG. 1 is a flowchart of a method for uploading a file according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102:检测对访问页面上指定控件的触发指令,该控件设置为触发进行文件上传;Step S102: detecting a trigger instruction for the specified control on the access page, the control is set to trigger file uploading;
步骤S104:在触发指令的触发下,获取与指定控件绑定的指定事件,该指定事件设置为触发上传指定类型文件,指定类型文件为除图片和视频文件类型之外的其他类型文件;Step S104: Acquire a specified event bound to the specified control, triggered by the triggering instruction, and the specified event is set to trigger uploading of the specified type file, and the specified type file is a file of a type other than the image and video file type;
步骤S106:将预设事件转换成终端能够识别的事件,并在能够识别的事件的触发下,选择指定类型文件进行上传。Step S106: Convert the preset event into an event that the terminal can recognize, and select a specified type file for uploading under the trigger of the identifiable event.
通过本实施例,在需要上传出图片和视频文件类型之外的其他类型的指定文件时,采用通过触发与该指定文件对应的指定事件,进而对该指定事件进行转化,转换成终端能够识别的事件,在转换成终端能够识别的事件之后,选择指定类型文件进行上传的方式,从而解决了相关技术中iOS系统中限制应用呈现访问本地文件,只能上传图片和视频的问题,提高了用户体验。In this embodiment, when a specified file other than the image and video file type needs to be uploaded, the specified event corresponding to the specified file is triggered, and then the specified event is converted and converted into a terminal that can be recognized by the terminal. The event, after being converted into an event that the terminal can recognize, selects a file of the specified type for uploading, thereby solving the problem that the related technology restricts the application from presenting access to the local file in the iOS system, and can only upload the image and the video, thereby improving the user experience. .
在本实施例中涉及到多种上传指定类型文件的方式,而在本实施例的一个可选实施方式中可以通过如下方式实现选择指定类型文件进行上传的操作,该操作包括如下几个步骤: In this embodiment, a plurality of methods for uploading a file of a specified type are involved. In an optional implementation manner of the embodiment, the operation of selecting a file of the specified type for uploading may be implemented by the following steps:
步骤S11:在能够识别的事件的触发下,向用户呈现设置为选择指定类型文件的文件选取界面;Step S11: present a file selection interface set to select a specified type file to the user under the trigger of the identifiable event;
步骤S12:在文件选取界面上选择指定类型文件。Step S12: Select a specified type file on the file selection interface.
而对于本实施例中涉及到的在文件选取界面上选择指定类型文件的方式,在本实施例中也是有多种,其中一种的方式包括如下步骤:For the manner in which the file of the specified type is selected on the file selection interface, there are also various methods in the embodiment, and one of the methods includes the following steps:
步骤S21:在文件选取界面上呈现与指定事件对应的文件列表;Step S21: present a file list corresponding to the specified event on the file selection interface;
步骤S22:从文件列表中选择一个或多个指定类型文件。Step S22: Select one or more specified types of files from the file list.
对于本实施例中涉及到的除了图片和视频之外的其他文件类型可以是如下这些文件:Txt、Word、PPT、Excel。当然这里仅仅是举例说明,其他没有列举出来的处理图片和视频的文件也是本发明的保护范围之内。Other file types other than pictures and videos involved in this embodiment may be the following files: Txt, Word, PPT, Excel. Of course, this is merely an example, and other files that are not listed for processing pictures and videos are also within the scope of the present invention.
在上传完用户所需的文件之后,为了能够更好的确定用户上传的结果,本实施例还可以包括:输出指定类型文件的上传结果,并显示该上传结果。After the file required by the user is uploaded, in order to better determine the result of the user upload, the embodiment may further include: outputting an upload result of the file of the specified type, and displaying the upload result.
文件的上传方法应用于移动操作系统IOS。该iOS系统内置浏览器控件UIWebView,该控件是基于webkit内核。The file upload method is applied to the mobile operating system IOS. The iOS system has a built-in browser control UIWebView, which is based on the webkit kernel.
在本实施例中还提供了一种文件的上传装置,该装置设置为实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”“单元”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a file uploading device is further provided, and the device is configured to implement the above-mentioned embodiments and preferred embodiments, and the description thereof has been omitted. As used below, the term "module" "unit" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的文件的上传装置的结构框图,如图2所示,该装置包括:检测模块22,设置为检测对访问页面上指定控件的触发指令,该控件设置为触发进行文件上传;获取模块24与检测模块22耦合连接,设置为在触发指令的触发下,获取与指定控件绑定的指定事件,该指定事件设置为触发上传指定类型文件,指定类型文件为除图片和视频文件类型之外的其他类型文件;转换模块26与获取模块24耦合连接,设置为将预设事件转换成终端能够识别的事件,并在能够识别的事件的触发下,选择指定类型文件进行上传。2 is a structural block diagram of a file uploading apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: a detecting module 22 configured to detect a triggering instruction for a specified control on an access page, the control being set to trigger The file uploading; the obtaining module 24 is coupled to the detecting module 22, and is configured to acquire a specified event bound to the specified control, triggered by the triggering instruction, and the specified event is set to trigger uploading of the specified type file, and the specified type file is in addition to the image and Other types of files other than the video file type; the conversion module 26 is coupled to the acquisition module 24, configured to convert the preset event into an event recognizable by the terminal, and select a specified type of file to upload under the trigger of the identifiable event. .
图3是根据本发明实施例的文件的上传装置的可选结构框图一,如图3所示,转换模块26包括:呈现单元32,设置为在能够识别的事件的触发下,向用户呈现设置 为选择指定类型文件的文件选取界面;选择单元34与呈现单元32耦合连接,设置为在文件选取界面上选择指定类型文件。3 is a block diagram of an optional structure of a file uploading apparatus according to an embodiment of the present invention. As shown in FIG. 3, the converting module 26 includes: a rendering unit 32 configured to present settings to a user under the trigger of an identifiable event. To select a file selection interface of the specified type file; the selection unit 34 is coupled to the presentation unit 32 and is configured to select a specified type file on the file selection interface.
可选地,选择单元34还设置为,在文件选取界面上呈现与指定事件对应的文件列表,并从文件列表中选择一个或多个指定类型文件。Optionally, the selecting unit 34 is further configured to present a file list corresponding to the specified event on the file selection interface, and select one or more specified type files from the file list.
可选地,文件类型包括至少以下之一:Txt、Word、PPT、Excel。Optionally, the file type includes at least one of the following: Txt, Word, PPT, Excel.
为了更好的对本发明进行说明,下面结合本发明的可选实施进行举例说明。In order to better illustrate the invention, the following description is exemplified in connection with alternative embodiments of the invention.
本可选实施例提供了一种基于webkit的文件上传方法,使得用户能够通过iOS设备上传除图片和视频之外的文件。The optional embodiment provides a webkit-based file uploading method, which enables a user to upload files other than pictures and videos through an iOS device.
本可选实施例采用了如下方式:This alternative embodiment takes the following approach:
步骤S31:用户启动iOS应用,通过用户交互模块(包含内置的浏览器控件UIWebView)访问页面Step S31: The user launches the iOS application, and accesses the page through the user interaction module (including the built-in browser control UIWebView)
步骤S32:用户点击页面中的文件上传控件;Step S32: the user clicks the file upload control in the page;
其中,在该上传控件中绑定特定的JS事件;并通过事件监听模块来获取用户触发的JS事件,转换后传递给本地的文件展示模块;进而本地的文件展示模块提供文件选取界面;The specific JS event is bound in the upload control; and the JS event triggered by the user is obtained through the event monitoring module, and then converted to the local file display module; and then the local file display module provides a file selection interface;
步骤S33:用户选择一个文件进行上传;Step S33: The user selects a file to upload;
其中文件上传的方式包括以下几种:The ways to upload files include the following:
方式一:用户可以一次选择多个文件,通过批量方式上传;Method 1: Users can select multiple files at a time and upload them in batch mode.
方式二:用户可以选择一个或者多个文件夹;Method 2: The user can select one or more folders;
方式三:用户可以选择多种文件类型,包括不限于txt、word、PPT、excel等;Method 3: Users can select multiple file types, including not limited to txt, word, PPT, excel, etc.
在用户选中文件或文件夹后,触发文件上传模块,在后台通过网络请求发送到服务端;After the user selects a file or a folder, the file uploading module is triggered, and is sent to the server through a network request in the background;
步骤S34:呈现上传成功界面。Step S34: Presenting an upload success interface.
需要说明的是,该功能也可以扩展到android平台; It should be noted that this function can also be extended to the android platform;
通过本可选实施例,能够为用户提供一种通过iOS设备上传除图片、视频之外文件的方法,从而降低用户操作的复杂度,提供可靠、安全、方便、简单的文件上传的方式。With the optional embodiment, the user can provide a method for uploading files other than pictures and videos through the iOS device, thereby reducing the complexity of the user operation and providing a reliable, secure, convenient, and simple file uploading method.
下面通过本发明的具体实施例及附图对本可选实施例进行举例说明The present exemplary embodiment is exemplified by the specific embodiments and the accompanying drawings of the present invention.
实施例一Embodiment 1
图4是根据本发明可选实施例的显示文件上传系统的内部模块结构框图;如图4所示,该系统包括:用户交互模块42,设置为提供与用户交互界面,其中包括文件上传控件,文件上传控件绑定一个JS事件;事件监听模块44,设置为获取用户点击文件上传控件的JS事件;并将JS事件转换后,通过内部接口传递本地的文件展示模块;文件展示模块46,设置为展示文件夹和文件列表,并通过点击文件夹,访问上下级文件夹,进而选择文件或者文件夹;文件上传模块48,设置为在接收点击上传按钮后,能够通过后台上传文件或者文件夹到服务端。4 is a block diagram showing the internal module structure of a display file uploading system according to an alternative embodiment of the present invention; as shown in FIG. 4, the system includes: a user interaction module 42 configured to provide a user interaction interface, including a file uploading control, The file uploading control is bound to a JS event; the event monitoring module 44 is configured to obtain a JS event that the user clicks on the file uploading control; and after converting the JS event, the local file display module is passed through the internal interface; the file display module 46 is set to Display the folder and file list, and click on the folder to access the upper and lower folders, and then select the file or folder; the file uploading module 48 is set to upload the file or folder to the service through the background after receiving the click upload button. end.
图5是根据本发明可选实施例的文件上传方法流程图,如图5所示,该方法包括:FIG. 5 is a flowchart of a file uploading method according to an alternative embodiment of the present invention. As shown in FIG. 5, the method includes:
步骤S502:启动应用,通过用户交互模块访问页面;Step S502: Start an application, and access the page through the user interaction module.
步骤S504:接收点击页面中文件上传控件的操作;Step S504: receiving an operation of clicking a file upload control in the page;
步骤S506:触发的文件上传事件传递文件展示模块,从而显示本地文件选择界面;Step S506: The triggered file upload event delivery file display module, thereby displaying a local file selection interface;
步骤S508:选择待上传的文件;Step S508: Select a file to be uploaded;
步骤S510:文件上传模块后台处理,将文件上传到服务端。Step S510: The file uploading module performs background processing, and uploads the file to the server.
步骤S512:呈现文件上传的结果。Step S512: Presenting the result of the file upload.
通过本可选实施例,能够为用户提供一种通过iOS或安桌设备上传除图片、视频之外文件的方法,从而降低用户操作的复杂度,提供可靠、安全、方便、简单的文件上传方式。With the optional embodiment, the user can provide a method for uploading files other than pictures and videos through the iOS or the desk device, thereby reducing the complexity of the user operation and providing a reliable, secure, convenient, and simple file uploading method. .
以上仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above is only an alternative embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种文件的上传方法及装置,具有以下有益效果:解决了相关技术中iOS系统中限制应用呈现访问本地文件,只能上传图片和视频的问题,提高了用户体验。 As described above, the file uploading method and apparatus provided by the embodiments of the present invention have the following beneficial effects: the problem that the iOS system restricts the application to access the local file and can only upload the image and the video is improved in the related art, and the problem is improved. user experience.

Claims (10)

  1. 一种文件的上传方法,包括:A method for uploading files, including:
    检测对访问页面上指定控件的触发指令,该控件设置为触发进行文件上传;Detecting a trigger instruction for a specified control on the access page, the control is set to trigger a file upload;
    在所述触发指令的触发下,获取与所述指定控件绑定的指定事件,该指定事件设置为触发上传指定类型文件,所述指定类型文件为除图片和视频文件类型之外的其他类型文件;And triggering, by the triggering instruction, a specified event bound to the specified control, the specified event is set to trigger uploading a file of a specified type, and the specified type file is a file of a type other than a picture and a video file type. ;
    将所述指定事件转换成终端能够识别的事件,并在所述能够识别的事件的触发下,选择所述指定类型文件进行上传。Converting the specified event into an event recognizable by the terminal, and selecting the specified type file for uploading under the trigger of the identifiable event.
  2. 根据权利要求1所述的方法,其中,选择所述指定类型文件进行上传,包括:The method of claim 1, wherein selecting the specified type of file for uploading comprises:
    在所述能够识别的事件的触发下,向用户呈现设置为选择所述指定类型文件的文件选取界面;And triggering, by the trigger of the identifiable event, a file selection interface set to select the file of the specified type;
    在所述文件选取界面上选择所述指定类型文件。Selecting the specified type file on the file selection interface.
  3. 根据权利要求1所述的方法,其中,在所述文件选取界面上选择所述指定类型文件包括:The method of claim 1, wherein selecting the specified type file on the file selection interface comprises:
    在所述文件选取界面上呈现与所述指定事件对应的文件列表;Presenting a file list corresponding to the specified event on the file selection interface;
    从所述文件列表中选择一个或多个所述指定类型文件。One or more of the specified types of files are selected from the list of files.
  4. 根据权利要求1所述的方法,其中,所述文件类型包括至少以下之一:Txt、Word、PPT、Excel。The method of claim 1, wherein the file type comprises at least one of: Txt, Word, PPT, Excel.
  5. 根据权利要求1所述的方法,其中,选择所述指定类型文件进行上传之后,还包括:The method according to claim 1, wherein after selecting the specified type file for uploading, the method further comprises:
    输出所述指定类型文件的上传结果,并显示该上传结果。The upload result of the specified type file is output, and the upload result is displayed.
  6. 根据权利要求1至5任一项所述的方法,其中,所述文件的上传方法应用于移动操作系统iOS。The method according to any one of claims 1 to 5, wherein the file uploading method is applied to a mobile operating system iOS.
  7. 一种文件的上传装置,包括:A file uploading device includes:
    检测模块,设置为检测对访问页面上指定控件的触发指令,该控件设置为触发进行文件上传; a detection module configured to detect a trigger instruction for a specified control on the access page, the control being set to trigger a file upload;
    获取模块,设置为在所述触发指令的触发下,获取与所述指定控件绑定的指定事件,该指定事件设置为触发上传指定类型文件,所述指定类型文件为除图片和视频文件类型之外的其他类型文件;An acquiring module, configured to acquire, according to the triggering instruction, a specified event bound to the specified control, where the specified event is set to trigger uploading of a specified type file, wherein the specified type file is in addition to a picture and a video file type Other types of files;
    转换模块,设置为将所述指定事件转换成终端能够识别的事件,并在所述能够识别的事件的触发下,选择所述指定类型文件进行上传。The conversion module is configured to convert the specified event into an event recognizable by the terminal, and select the specified type file to upload under the trigger of the identifiable event.
  8. 根据权利要求7所述的装置,其中,所述转换模块包括:The apparatus of claim 7, wherein the conversion module comprises:
    呈现单元,设置为在所述能够识别的事件的触发下,向用户呈现设置为选择所述指定类型文件的文件选取界面;a rendering unit, configured to present, to the user, a file selection interface set to select the specified type of file, triggered by the identifiable event;
    选择单元,设置为在所述文件选取界面上选择所述指定类型文件。The selecting unit is configured to select the specified type file on the file selection interface.
  9. 根据权利要求8所述的装置,其中,The device according to claim 8, wherein
    所述选择单元还设置为,在所述文件选取界面上呈现与所述指定事件对应的文件列表,并从所述文件列表中选择一个或多个所述指定类型文件。The selection unit is further configured to present a file list corresponding to the specified event on the file selection interface, and select one or more of the specified type files from the file list.
  10. 根据权利要求7所述的装置,其中,所述文件类型包括至少以下之一:Txt、Word、PPT、Excel。 The apparatus of claim 7, wherein the file type comprises at least one of: Txt, Word, PPT, Excel.
PCT/CN2015/073039 2014-11-19 2015-02-13 File uploading method and device WO2016078245A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410665616.0 2014-11-19
CN201410665616.0A CN105677666A (en) 2014-11-19 2014-11-19 File uploading method and device

Publications (1)

Publication Number Publication Date
WO2016078245A1 true WO2016078245A1 (en) 2016-05-26

Family

ID=56013154

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/073039 WO2016078245A1 (en) 2014-11-19 2015-02-13 File uploading method and device

Country Status (2)

Country Link
CN (1) CN105677666A (en)
WO (1) WO2016078245A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107666494B (en) * 2016-07-27 2020-10-16 阿里巴巴(中国)有限公司 Data uploading method and device and portable terminal equipment
CN107180107B (en) * 2017-06-08 2020-12-29 山大鲁能信息科技有限公司 Method and system for uploading selected files by mobile phone attachment under Ionic framework
CN109672710B (en) * 2017-10-17 2022-09-13 阿里巴巴集团控股有限公司 File uploading method, system and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525319A (en) * 2003-02-25 2004-09-01 北京北佳信息系统有限公司 Method and system for courseware upload and import
CN103685379A (en) * 2012-09-12 2014-03-26 腾讯科技(深圳)有限公司 Webkit core browser-based file uploading method and device
CN103944885A (en) * 2014-03-24 2014-07-23 汉柏科技有限公司 Web data uploading control method and gateway device
CN104035989A (en) * 2014-06-09 2014-09-10 小米科技有限责任公司 Method and device for uploading file

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130028597A (en) * 2011-09-09 2013-03-19 삼성전자주식회사 Apparatus and method for uploading image to a social network service thereof
CN103870490A (en) * 2012-12-12 2014-06-18 腾讯科技(武汉)有限公司 File uploading method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525319A (en) * 2003-02-25 2004-09-01 北京北佳信息系统有限公司 Method and system for courseware upload and import
CN103685379A (en) * 2012-09-12 2014-03-26 腾讯科技(深圳)有限公司 Webkit core browser-based file uploading method and device
CN103944885A (en) * 2014-03-24 2014-07-23 汉柏科技有限公司 Web data uploading control method and gateway device
CN104035989A (en) * 2014-06-09 2014-09-10 小米科技有限责任公司 Method and device for uploading file

Also Published As

Publication number Publication date
CN105677666A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN107659416B (en) Conference record sharing method and device, conference terminal and storage medium
JP6025991B2 (en) Information processing method, apparatus, terminal, and server
US10334003B2 (en) Mobile terminal and method for achieving cloud streaming medium file sharing based on DLNA
US9454540B2 (en) Systems and methods for sharing files among multiple terminals
US20140344707A1 (en) Information Distribution Method and Device
WO2017211020A1 (en) Television control method and apparatus
CN103888817B (en) It is a kind of that file is uploaded into intelligent television and the method and apparatus of played file
US20160147836A1 (en) Enhanced Network Data Sharing and Acquisition
JP6351737B2 (en) Upload form attachment
JP2011516941A5 (en)
JP6817649B2 (en) Communication support devices, methods, and computer programs
CN105324975B (en) Method, system and computer-readable medium for media content streaming equipment setting
US20130080560A1 (en) System and Method for Sharing Digital Data on a Presenter Device to a Plurality of Participant Devices
US20120203859A1 (en) System and method for interaction between e-mail/web browser and communication devices
US20140331114A1 (en) Methods and apparatuses for obtaining and sharing partial content of a webpage
WO2015003663A1 (en) Method, device, server, and client device for video processing
EP3651421A1 (en) Multimedia display method, apparatus, and device
WO2016000427A1 (en) File sharing method and device in video conferencing
WO2016161890A1 (en) Method of uploading data and device thereof
WO2016078245A1 (en) File uploading method and device
US10481792B2 (en) Secure authenticated connected keyboard
JP5704621B1 (en) Information processing apparatus, information processing method, and program
CN104378392B (en) Method, device, equipment and system for transmitting information
WO2013054097A1 (en) A method for streaming video
TWI525530B (en) Method, system and device of synchronously displaying operating information

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: 15860975

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: 15860975

Country of ref document: EP

Kind code of ref document: A1