WO2017185652A1 - 实现分享文件的方法及电子设备 - Google Patents

实现分享文件的方法及电子设备 Download PDF

Info

Publication number
WO2017185652A1
WO2017185652A1 PCT/CN2016/101452 CN2016101452W WO2017185652A1 WO 2017185652 A1 WO2017185652 A1 WO 2017185652A1 CN 2016101452 W CN2016101452 W CN 2016101452W WO 2017185652 A1 WO2017185652 A1 WO 2017185652A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
file
target identifier
file icon
icon
Prior art date
Application number
PCT/CN2016/101452
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 WO2017185652A1 publication Critical patent/WO2017185652A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and an electronic device for implementing a shared file.
  • the enterprise cloud disk APP is a product that realizes the rapid sharing of files between colleagues within the enterprise. Users can share files to different colleagues or groups by selecting files, selecting colleagues, sharing, and so on.
  • the present invention provides a method and an electronic device for implementing a shared file, which are used to solve the technical problem that the sharing operation is inefficient due to the influence of the hierarchy when sharing files in the prior art.
  • An aspect of the present invention is to provide a method for implementing a shared file, comprising: monitoring an operation position of a user in a screen; and when the operation position is moved to a file icon, according to a user operation of the user on the file icon, Obtaining the file address corresponding to the file icon, displaying the push a recommended target identifier; the file address is shared to the target identifier according to a gesture operation in which the user drags the file icon to the target identifier.
  • the recommended target identifier includes: a target identifier selected by the user when sharing; and/or a target identifier selected according to a preset recommendation rule.
  • the user operation of the user on the file icon includes: a dwell time of the user operating on the file icon; and/or a pressing force of the user operating on the file icon.
  • the obtaining a file address corresponding to the file icon according to a user operation performed by the user on the file icon includes: if a user operation time on the file icon exceeds a preset long press time and/or a user If the pressing force on the file icon exceeds the preset pressing strength, the file address corresponding to the file icon is extracted from the server.
  • the sharing, by the user, the file address to the target identifier according to a gesture operation that the user drags the file icon to the target identifier comprises: dragging a file icon to the target according to a user
  • the identified gesture operation determines the target identifier selected by the user, and after the user cancels the gesture operation, shares the file address to the selected target identifier.
  • Another aspect of the present invention provides an apparatus for implementing a shared file, including: a listening module for monitoring an operation position of a user in a screen; and an extracting display module, when the operating position is moved to a file icon, Obtaining, according to a user operation of the user on the file icon, a file address corresponding to the file icon, displaying a recommended target identifier; and dragging a sharing module, configured to drag the file icon to the target identifier according to a user a gesture operation to share the file address to the target identifier.
  • the recommended target identifier includes: a target identifier selected by the user when sharing; and/or a target identifier selected according to a preset recommendation rule.
  • the user operation of the user on the file icon includes: a dwell time of the user operating on the file icon; and/or a pressing force of the user operating on the file icon.
  • the extracting display module includes: an extracting unit, configured to: if the user operates on the file icon, the dwell time exceeds a preset long press time and/or the user presses the pressing force on the file icon to exceed the preset pressing force , the file address corresponding to the file icon is extracted from the server.
  • the drag sharing module is specifically configured to determine, according to a gesture operation that the user drags the file icon to the target identifier, the target identifier selected by the user, and after the user cancels the gesture operation, The file address is shared to the selected target identifier.
  • an embodiment of the present invention provides an electronic device, including: at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory is stored
  • the at least one processor executes instructions that are executed by the at least one processor to cause the at least one processor to perform the methods described in the various aspects above.
  • an embodiment of the present application further provides a non-transitory computer readable storage medium storing computer executable instructions for performing the above aspects. method.
  • an embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions
  • the program instructions When the program instructions are executed by a computer, the computer is caused to perform the methods described in the various aspects above.
  • a method and an electronic device for implementing a shared file display a target identifier shared by a user recommended to a user on a file icon, and quickly drag the file to the file by gesture A way of identifying the target, the process of sharing the file is changed from a series of clicks to a drag, and the technical effect of improving the efficiency of the shared file operation process is realized.
  • FIG. 1 is a flowchart of a method for implementing a shared file according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another method for implementing a shared file according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an apparatus for implementing a shared file according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of hardware of an electronic device for performing a method for sharing a file according to an embodiment of the present invention.
  • the embodiment of the present invention provides a method for sharing a file, which is implemented by an electronic device.
  • the method is suitable for being deployed on an application or terminal that needs to use a shared file function, that is, the electronic device may be a terminal.
  • the method provided in this embodiment includes steps 101-103:
  • the file address corresponding to the file icon is obtained according to a user operation of the user on the file icon, and the recommended target identifier is displayed.
  • the user operation on the file icon by the user includes: a dwell time of the user operating on the file icon; and/or a pressing force of the user operating on the file icon.
  • the recommended target identifier includes: a target identifier selected by the user when sharing; and/or a target identifier selected according to a preset recommendation rule.
  • the selected target identifier may be implemented by recording the shared target identifier of the user to the shared record each time, and the target identifier in the shared record may be the X target identifiers in the latest N days in the shared record. N and X are integers greater than or equal to zero.
  • Each record in the shared record is a target identifier, which is the ID of a user that the user has shared.
  • the preset recommendation rule may be that all the user IDs are used as the target identifiers, or the IDs of the people who have been most frequently shared may be used as the target identifiers, or the commonly used user IDs may be used as the target identifiers.
  • the above process of displaying the target identifier and obtaining the file address may be performed simultaneously regardless of the order of execution.
  • the process of sharing the file is performed. From a series of levels of layer-by-layer clicks to a single drag, the technical effect of improving the efficiency of the shared file operation process is achieved.
  • the embodiment of the present invention in conjunction with the scenario in which the user uses the enterprise network disk application, continues to provide a method for sharing a file, as shown in FIG. 2, including steps 200-203:
  • the front end (such as the mobile phone with the enterprise network disk application installed) records the target identifier shared by the user each time.
  • the target identifier of the record includes the target identifier that is shared by the method provided by the embodiment of the present invention, and the target identifier that is shared by the user by using a layer-by-layer click filtering method in an existing manner.
  • the finger needs to detect the position of the finger moving on the screen during the dragging process.
  • the page takes the file address from the server, and displays the target identifiers of the three shared records in the last 7 days.
  • the shared target ID can also be recorded in the sharing record in 200.
  • the user drags the file icon to a target identifier to share the record, it is equivalent to selecting the target identifier, and the user extracts the corresponding file address and shares it to the target identifier selected when dragging.
  • the user only needs to drag the shared file to the displayed target identifier by means of a gesture, so that the file can be shared, the operation is simple, and the efficiency of sharing the file operation is improved.
  • the embodiment continues to provide a device for sharing a file.
  • the device includes: a monitoring module 31, an extraction display module 32, and a drag sharing module 33. among them,
  • the monitoring module 31 is configured to monitor an operation position of the user in the screen
  • the extraction display module 32 is configured to: when the operation position is moved to the file icon, obtain a file address corresponding to the file icon according to a user operation of the user on the file icon, and display a recommended target identifier;
  • Dragging the sharing module 33 for dragging the file icon to the user according to the user A gesture operation of the target identifier, sharing the file address to the target identifier.
  • the recommended target identifier includes: a target identifier selected by the user when sharing; and/or a target identifier selected according to a preset recommendation rule.
  • the user operation of the user on the file icon includes: a dwell time of the user operating on the file icon; and/or a pressing force of the user operating on the file icon.
  • the extracting display module 32 includes: an extracting unit, configured to: if the user operates on the file icon, the dwell time exceeds a preset long press time and/or the user presses the pressing force on the file icon exceeds a pre-pre If the pressing force is set, the file address corresponding to the file icon is extracted from the server.
  • the drag sharing module 33 is configured to determine, according to a gesture operation that the user drags the file icon to the target identifier, the target identifier selected by the user, and after the user cancels the gesture operation, The file address is shared to the selected target identifier.
  • the device provided by the embodiment of the invention has the function that the target identifier shared by the user recommended to the user is displayed on the file icon, and the file is dragged by the gesture to quickly share the file to one of the records, so that the file is shared.
  • the process changes from a series of clicks to a drag, achieving a technical effect of improving the efficiency of the shared file operation process.
  • the embodiment of the present application provides a non-transitory computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the processing method in any of the foregoing method embodiments.
  • FIG. 4 is a schematic diagram of a hardware structure of an electronic device for implementing a method for sharing a file according to an embodiment of the present application.
  • the device includes one or more processors 610 and a memory 620.
  • One processor 610 is taken as an example in FIG.
  • the device may also include an input device 630 and an output device 640.
  • the processor 610, the memory 620, the input device 630, and the output device 640 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 620 is a non-transitory computer readable storage medium for storing non-transitory software programs, non-transitory computer executable programs, and modules.
  • the processor 610 executes various functional applications and data processing of the electronic device by running non-transitory software programs, instructions, and modules stored in the memory 620, that is, the processing method of the above method embodiments.
  • the memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data or the like.
  • memory 620 can include high speed random access memory, and can also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
  • memory 620 can optionally include memory remotely located relative to processor 610, which can be connected to the processing device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 630 can receive input digital or character information and generate a signal input.
  • the output device 640 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform: monitoring an operation position of a user in a screen; when the operation position is moved to a file icon Obtaining, according to a user operation of the user on the file icon, a file address corresponding to the file icon, displaying a recommended target identifier; and performing a gesture operation according to the user dragging the file icon to the target identifier, The file address is shared to the target identifier.
  • the electronic device of the embodiment of the present application exists in various forms, including but not limited to:
  • Mobile communication equipment This type of equipment is characterized by mobile communication functions. And to provide voice, data communication as the main goal.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the method for sharing a file provided by the embodiment of the present application is to monitor the operation position of the user in the screen; when the operation position is moved to the file icon, the file is obtained according to the user operation of the user on the file icon.
  • the file address corresponding to the icon is displayed, and the recommended target identifier is displayed. According to the gesture operation of the user dragging the file icon to the target identifier, the file address is shared to the target identifier, and the beneficial effect is achieved.

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)

Abstract

一种实现分享文件的方法及电子设备,其中,该方法包括:监听用户在屏幕中的操作位置(101);当所述操作位置移动到文件图标上时,根据用户在所述文件图标上的用户操作,获取所述文件图标对应的文件地址,显示推荐的目标标识(102);根据用户将所述文件图标拖动到所述目标标识的手势操作,将所述文件地址分享到所述目标标识上(103)。通过该方法用户可以实现快速分享文件,提高分享操作过程的效果。

Description

实现分享文件的方法及电子设备
交叉引用
本申请要求在2016年4月25日提交中国专利局、申请号为201610262492.0、发明名称为“实现分享文件的方法及装置”的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信技术领域,尤其涉及一种实现分享文件的方法及电子设备。
背景技术
企业云盘APP是实现企业内部同事之间文件快速共享的一款产品,用户之间通过选择文件、选择同事、分享等一系列操作来将文件共享到不同的同事或群。
在现有技术中,因为公司层级较多,用户进行共享文件的操作时页面点击次数多,跳转页面数量多;以将文件分享给同事为例,用户需要对同事进行逐级的筛选,依次选择目标同事所在的部门层级,最后选定要分享的同事来完成分享任务,操作效率低下。
发明内容
本发明提供一种实现分享文件的方法及电子设备,用以解决现有技术中分享文件时由于受层级影响,分享操作效率低下的技术问题。
本发明的一方面是提供一种实现分享文件的方法,包括:监听用户在屏幕中的操作位置;当所述操作位置移动到文件图标上时,根据用户在所述文件图标上的用户操作,获取所述文件图标对应的文件地址,显示推 荐的目标标识;根据用户将所述文件图标拖动到所述目标标识的手势操作,将所述文件地址分享到所述目标标识上。
可选的,所述推荐的目标标识包括:用户分享时选中过的目标标识;和/或根据预设推荐规则推选出的目标标识。
可选的,所述用户在所述文件图标上的用户操作包括:用户操作在所述文件图标上的停留时间;和/或用户操作在所述文件图标上的按压力度。
可选的,所述根据用户在所述文件图标上的用户操作获取所述文件图标对应的文件地址,包括:若用户操作在所述文件图标上停留时间超过预设长按时间和/或用户操作在所述文件图标上的按压力度超过预设按压力度,则将所述文件图标对应的文件地址从服务器提取出来。
可选的,所述根据用户将所述文件图标拖动到所述目标标识的手势操作,将所述文件地址分享到所述目标标识上,包括:根据用户将文件图标拖动到所述目标标识的手势操作,确定用户选中的目标标识,并在用户取消所述手势操作后,将所述文件地址分享到所述选中的目标标识上。
本发明的另一方面是提供一种实现分享文件的装置,包括:监听模块,用于监听用户在屏幕中的操作位置;提取显示模块,用于当所述操作位置移动到文件图标上时,根据用户在所述文件图标上的用户操作,获取所述文件图标对应的文件地址,显示推荐的目标标识;拖动分享模块,用于根据用户将所述文件图标拖动到所述目标标识的手势操作,将所述文件地址分享到所述目标标识上。
可选的,所述推荐的目标标识包括:用户分享时选中过的目标标识;和/或根据预设推荐规则推选出的目标标识。
可选的,所述用户在所述文件图标上的用户操作包括:用户操作在所述文件图标上的停留时间;和/或用户操作在所述文件图标上的按压力度。
可选的,提取显示模块包括:提取单元,用于若用户操作在所述文件图标上停留时间超过预设长按时间和/或用户操作在所述文件图标上的按压力度超过预设按压力度,则将所述文件图标对应的文件地址从服务器提取出来。
可选的,所述拖动分享模块,具体用于根据用户将文件图标拖动到所述目标标识的手势操作,确定用户选中的目标标识,并在用户取消所述手势操作后,将所述文件地址分享到所述选中的目标标识上。
为实现上述发明目的,再一方面,本发明实施例提供了一种电子设备,包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行以上各个方面所述的方法。
为实现上述发明目的,再一方面,本申请实施例还提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行以上各个方面所述的方法。
为实现上述发明目的,再一方面,本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行以上各个方面所述的方法。
本发明实施例提供的一种实现分享文件的方法及电子设备,通过将推荐给用户的用户分享的目标标识在文件图标上显示出来,并通过手势拖动文件来快速的将文件分享给其中的一个目标标识的方式,使将分享文件的流程从一系列点击变为一次拖动,实现了提升共享文件操作过程的效率的技术效果。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1为本发明实施例提供的一种实现分享文件的方法的流程图;
图2为本发明实施例提供的另一种实现分享文件的方法的流程图;
图3为本发明实施例提供的一种实现分享文件的装置的结构示意图;
图4为本发明实施例提供的执行实现分享文件的方法的电子设备的硬件结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提一种实现分享文件的方法,由电子设备执行,该方法适合部署在需要使用分享文件功能的应用或终端上,即该电子设备具体可以为终端。如图1所示,本实施例提供的方法包括步骤101-103:
101,监听用户在屏幕中的操作位置。
102,当所述操作位置移动到文件图标上时,根据用户在所述文件图标上的用户操作,获取所述文件图标对应的文件地址,显示推荐的目标标识。
其中,用户在所述文件图标上的用户操作包括:用户操作在所述文件图标上的停留时间;和/或用户操作在所述文件图标上的按压力度。
其中,推荐的目标标识包括:用户分享时选中过的目标标识;和/或根据预设推荐规则推选出的目标标识。
选中过的目标标识可通过记录每次该用户的分享过的目标标识到分享记录中的方式实现,分享记录中的目标标识可以为显示分享记录中的最近N天内的X个目标标识,所述N、X为大于等于0的整数。其中,分享记录中的每条记录都是一个目标标识,该目标标识就是用户曾经分享过的某个用户的ID。
预设推荐规则可以是将全部的用户ID作为目标标识,也可以是将被分享过次数最多的人的ID作为目标标识,也可以是将常用的用户ID作为目标标识。
上述显示目标标识和获取文件地址的过程不分执行的先后顺序,也可以同时执行。
103,根据用户将所述文件图标拖动到所述目标标识的手势操作,将所述文件地址分享到所述目标标识上。
本实施例提供的方法,通过将推荐给用户的用户分享的目标标识在文件图标上显示出来,并由手势拖动文件来将文件分享给其中的一个目标标识的方式,使将分享文件的流程从一系列级别的逐层点击变为一次拖动,实现了提升共享文件操作过程的效率的技术效果。
本发明实施例结合用户使用企业网盘应用的场景为例,继续提供一种实现分享文件的方法,如图2所示,包括步骤200-203:
200,记录每次用户分享时选中的目标标识到分享记录中。
用户执行常规的分享操作后,前端(如安装有企业网盘应用的手机)记录下来用户每次分享的目标标识。该记录的目标标识包括通过本发明实施例提供的方法实现分享的目标标识,也包括用户通过现有方式逐层点击筛选方式实现分享的目标标识。
201,监听用户手指在屏幕中的位置。
即:手指在拖动的过程中需要前端检测到手指移动在屏幕中的位置。
202,当所述位置移动到文件图标上时,若用户手指在所述文件图片上停留时间超过预设长按时间,则将所述文件图标对应的文件地址从服务器提取出来,并显示分享记录中的最近7天内的3个目标标识。
例如:用户在文件页面长按一个文件内容时,页面将该文件地址从服务器取出,并且在页面中显示最近7天内3条分享纪录的目标标识。
203,根据用户将文件图标拖动到所述目标标识的手势操作,确定用户选中的目标标识,并在用户松开手指后,将所述提取的文件地址分享到所述选中的目标标识上。
同时,也可记录该次分享的目标标识到200中的分享记录中
例如:用户拖动文件图标到要分享记录的某个目标标识上,相当于选中该目标标识,用户松手后对应提取出的文件地址分享给拖动时选中的目标标识。
本实施例提供的方法中,用户仅需通过将分享文件通过手势拖动到显示出的目标标识的方式,便可实现文件的共享,操作简单,提高了分享文件操作的效率。
为了便于上述方法的实现,本实施例继续提供一种实现分享文件的装置,如图3所示,该装置包括:监听模块31,提取显示模块32,拖动分享模块33。其中,
监听模块31,用于监听用户在屏幕中的操作位置;
提取显示模块32,用于当所述操作位置移动到文件图标上时,根据用户在所述文件图标上的用户操作,获取所述文件图标对应的文件地址,显示推荐的目标标识;
拖动分享模块33,用于根据用户将所述文件图标拖动到所述 目标标识的手势操作,将所述文件地址分享到所述目标标识上。
可选的,所述推荐的目标标识包括:用户分享时选中过的目标标识;和/或根据预设推荐规则推选出的目标标识。
可选的,所述用户在所述文件图标上的用户操作包括:用户操作在所述文件图标上的停留时间;和/或用户操作在所述文件图标上的按压力度。
可选的,所述提取显示模块32包括:提取单元,用于若用户操作在所述文件图标上停留时间超过预设长按时间和/或用户操作在所述文件图标上的按压力度超过预设按压力度,则将所述文件图标对应的文件地址从服务器提取出来。
可选的,所述拖动分享模块33,具体用于根据用户将文件图标拖动到所述目标标识的手势操作,确定用户选中的目标标识,并在用户取消所述手势操作后,将所述文件地址分享到所述选中的目标标识上。
本发明实施例提供的装置,具有将推荐给用户的用户分享的目标标识在文件图标上显示出来,并通过手势拖动文件来快速的将文件分享给其中的一条记录的功能,使将分享文件的流程从一系列点击变为一次拖动,实现了提升共享文件操作过程的效率的技术效果。
实施例2
本申请实施例提供了一种非暂态计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的处理方法。
实施例3
图4是本申请实施例提供的实现分享文件的方法的电子设备的硬件结构示意图,如图4所示,该设备包括一个或多个处理器610以及存储器620。图4中以一个处理器610为例。该设备还可以包括:输入装置630和输出装置640。
处理器610、存储器620、输入装置630和输出装置640可以通过总线或者其他方式连接,图4中以通过总线连接为例。
存储器620作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块。处理器610通过运行存储在存储器620中的非暂态软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例的处理方法。
存储器620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储数据等。此外,存储器620可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施例中,存储器620可选包括相对于处理器610远程设置的存储器,这些远程存储器可以通过网络连接至处理装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置630可接收输入的数字或字符信息,以及产生信号输入。输出装置640可包括显示屏等显示设备。
所述一个或者多个模块存储在所述存储器620中,当被所述一个或者多个处理器610执行时,执行:监听用户在屏幕中的操作位置;当所述操作位置移动到文件图标上时,根据用户在所述文件图标上的用户操作,获取所述文件图标对应的文件地址,显示推荐的目标标识;根据用户将所述文件图标拖动到所述目标标识的手势操作,将所述文件地址分享到所述目标标识上。
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。
本申请实施例的电子设备以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能, 并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。
(5)其他具有数据交互功能的电子装置。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本申请的技术方案, 而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。
工业实用性
本申请实施例提供的实现分享文件的方法,通过监听用户在屏幕中的操作位置;当所述操作位置移动到文件图标上时,根据用户在所述文件图标上的用户操作,获取所述文件图标对应的文件地址,显示推荐的目标标识;根据用户将所述文件图标拖动到所述目标标识的手势操作,将所述文件地址分享到所述目标标识上,实现有益效果。

Claims (21)

  1. 一种实现分享文件的方法,其特征在于,由电子设备执行,包括:
    监听用户在屏幕中的操作位置;
    当所述操作位置移动到文件图标上时,根据用户在所述文件图标上的用户操作,获取所述文件图标对应的文件地址,显示推荐的目标标识;
    根据用户将所述文件图标拖动到所述目标标识的手势操作,将所述文件地址分享到所述目标标识上。
  2. 根据权利要求1所述的方法,其特征在于,所述推荐的目标标识包括:用户分享时选中过的目标标识;和/或根据预设推荐规则推选出的目标标识。
  3. 根据权利要求1或2所述的方法,其特征在于,所述用户在所述文件图标上的用户操作包括:用户操作在所述文件图标上的停留时间;和/或用户操作在所述文件图标上的按压力度。
  4. 根据权利要求3所述的方法,其特征在于,所述根据用户在所述文件图标上的用户操作,获取所述文件图标对应的文件地址,包括:
    若用户操作在所述文件图标上停留时间超过预设长按时间和/或用户操作在所述文件图标上的按压力度超过预设按压力度,则将所述文件图标对应的文件地址从服务器提取出来。
  5. 根据权利要求1或2所述的方法,其特征在于,所述根据用户将所述文件图标拖动到所述目标标识的手势操作,将所述文件地址分享到所述目标标识上,包括:
    根据用户将文件图标拖动到所述目标标识的手势操作,确定用户选中的目标标识,并在用户取消所述手势操作后,将所述文件地址分享到所述选中的目标标识上。
  6. 一种实现分享文件的装置,其特征在于,包括:
    监听模块,用于监听用户在屏幕中的操作位置;
    提取显示模块,用于当所述操作位置移动到文件图标上时,根据用户在所述文件图标上的用户操作,获取所述文件图标对应的文件地址,显示推荐的目标标识;
    拖动分享模块,用于根据用户将所述文件图标拖动到所述目标标识的手势操作,将所述文件地址分享到所述目标标识上。
  7. 根据权利要求6所述的装置,其特征在于,所述推荐的目标标识包括:用户分享时选中过的目标标识;和/或根据预设推荐规则推选出的目标标识。
  8. 根据权利要求6或7所述的装置,其特征在于,所述用户在所述文件图标上的用户操作包括:用户操作在所述文件图标上的停留时间;和/或用户操作在所述文件图标上的按压力度。
  9. 根据权利要求8所述的装置,其特征在于,提取显示模块包括:
    提取单元,用于若用户操作在所述文件图标上停留时间超过预设长按时间和/或用户操作在所述文件图标上的按压力度超过预设按压力度,则将所述文件图标对应的文件地址从服务器提取出来。
  10. 根据权利要求6或7所述的装置,其特征在于,所述拖动分享模块具体用于根据用户将文件图标拖动到所述目标标识的手势操作,确定用户选中的目标标识,并在用户取消所述手势操作后,将所述文件地址分享到所述选中的目标标识上。
  11. 一种电子设备,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
    监听用户在屏幕中的操作位置;
    当所述操作位置移动到文件图标上时,根据用户在所述文件图标上的用户操作,获取所述文件图标对应的文件地址,显示推荐的目标标识;
    根据用户将所述文件图标拖动到所述目标标识的手势操作,将所述文件地址分享到所述目标标识上。
  12. 根据权利要求11所述的电子设备,其特征在于,所述推荐的目标标识包括:用户分享时选中过的目标标识;和/或根据预设推荐规则推选出的目标标识。
  13. 根据权利要求11或12所述的电子设备,其特征在于,所述用户在所述文件图标上的用户操作包括:用户操作在所述文件图标上的停留时间;和/或用户操作在所述文件图标上的按压力度。
  14. 根据权利要求13所述的电子设备,其特征在于,所述根据用户在所述文件图标上的用户操作,获取所述文件图标对应的文件地址,包括:
    若用户操作在所述文件图标上停留时间超过预设长按时间和/或用户操作在所述文件图标上的按压力度超过预设按压力度,则将所述文件图标对应的文件地址从服务器提取出来。
  15. 根据权利要求11或12所述的电子设备,其特征在于,所述根据用户将所述文件图标拖动到所述目标标识的手势操作,将所述文件地址分享到所述目标标识上,包括:
    根据用户将文件图标拖动到所述目标标识的手势操作,确定用户选中的目标标识,并在用户取消所述手势操作后,将所述文件地址分享到所述选中的目标标识上。
  16. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于:
    监听用户在屏幕中的操作位置;
    当所述操作位置移动到文件图标上时,根据用户在所述文件图标上的用户操作,获取所述文件图标对应的文件地址,显示推荐的目标标识;
    根据用户将所述文件图标拖动到所述目标标识的手势操作,将所述文件地址分享到所述目标标识上。
  17. 根据权利要求16所述的非暂态计算机可读存储介质,其特征在于,所述推荐的目标标识包括:用户分享时选中过的目标标识;和/或根据预设推荐规则推选出的目标标识。
  18. 根据权利要求16或17所述的非暂态计算机可读存储介质,其特征在于,所述用户在所述文件图标上的用户操作包括:用户操作在所述文件图标上的停留时间;和/或用户操作在所述文件图标上的按压力度。
  19. 根据权利要求18所述的非暂态计算机可读存储介质,其特征在于, 所述根据用户在所述文件图标上的用户操作,获取所述文件图标对应的文件地址,包括:
    若用户操作在所述文件图标上停留时间超过预设长按时间和/或用户操作在所述文件图标上的按压力度超过预设按压力度,则将所述文件图标对应的文件地址从服务器提取出来。
  20. 根据权利要求16或17所述的非暂态计算机可读存储介质,其特征在于,所述根据用户将所述文件图标拖动到所述目标标识的手势操作,将所述文件地址分享到所述目标标识上,包括:
    根据用户将文件图标拖动到所述目标标识的手势操作,确定用户选中的目标标识,并在用户取消所述手势操作后,将所述文件地址分享到所述选中的目标标识上。
  21. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-5任一所述的方法。
PCT/CN2016/101452 2016-04-25 2016-10-08 实现分享文件的方法及电子设备 WO2017185652A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610262492.0A CN105955569A (zh) 2016-04-25 2016-04-25 实现分享文件的方法及装置
CN2016102624920 2016-04-25

Publications (1)

Publication Number Publication Date
WO2017185652A1 true WO2017185652A1 (zh) 2017-11-02

Family

ID=56915021

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/101452 WO2017185652A1 (zh) 2016-04-25 2016-10-08 实现分享文件的方法及电子设备

Country Status (2)

Country Link
CN (1) CN105955569A (zh)
WO (1) WO2017185652A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309204A (zh) * 2020-01-23 2020-06-19 维沃移动通信有限公司 一种图标显示方法和电子设备
WO2022247557A1 (zh) * 2021-05-27 2022-12-01 Oppo广东移动通信有限公司 内容分享方法、装置、终端及存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955569A (zh) * 2016-04-25 2016-09-21 乐视控股(北京)有限公司 实现分享文件的方法及装置
CN109117037B (zh) * 2018-07-12 2021-03-23 维沃移动通信有限公司 一种图像处理的方法及终端设备
CN110321044A (zh) * 2019-04-25 2019-10-11 维沃移动通信有限公司 文件分享方法及终端
CN111258476B (zh) * 2020-02-20 2021-07-27 维沃移动通信有限公司 一种消息处理方法及电子设备
CN113824878A (zh) * 2021-08-20 2021-12-21 荣耀终端有限公司 基于可折叠屏的拍摄控制方法及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685718A (zh) * 2012-09-14 2014-03-26 邻动网络科技有限公司 从第一移动电子设备传输文件到第二移动电子设备的方法
CN103905552A (zh) * 2014-04-04 2014-07-02 深圳市金立通信设备有限公司 一种文件共享方法、终端及服务器
CN104902309A (zh) * 2015-05-26 2015-09-09 努比亚技术有限公司 移动终端分享多媒体文件的方法和装置
CN105094596A (zh) * 2015-06-15 2015-11-25 努比亚技术有限公司 一种调整文件共享方式的方法、装置和移动终端
CN105955569A (zh) * 2016-04-25 2016-09-21 乐视控股(北京)有限公司 实现分享文件的方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999251B (zh) * 2012-10-31 2016-02-10 东莞宇龙通信科技有限公司 终端和设备连接管理方法
CN104216619B (zh) * 2014-09-12 2017-10-31 鲁启元 数据处理的方法、装置及电子设备
CN105160017A (zh) * 2015-09-25 2015-12-16 上海斐讯数据通信技术有限公司 一种整理与查看图片的系统及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685718A (zh) * 2012-09-14 2014-03-26 邻动网络科技有限公司 从第一移动电子设备传输文件到第二移动电子设备的方法
CN103905552A (zh) * 2014-04-04 2014-07-02 深圳市金立通信设备有限公司 一种文件共享方法、终端及服务器
CN104902309A (zh) * 2015-05-26 2015-09-09 努比亚技术有限公司 移动终端分享多媒体文件的方法和装置
CN105094596A (zh) * 2015-06-15 2015-11-25 努比亚技术有限公司 一种调整文件共享方式的方法、装置和移动终端
CN105955569A (zh) * 2016-04-25 2016-09-21 乐视控股(北京)有限公司 实现分享文件的方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309204A (zh) * 2020-01-23 2020-06-19 维沃移动通信有限公司 一种图标显示方法和电子设备
WO2022247557A1 (zh) * 2021-05-27 2022-12-01 Oppo广东移动通信有限公司 内容分享方法、装置、终端及存储介质

Also Published As

Publication number Publication date
CN105955569A (zh) 2016-09-21

Similar Documents

Publication Publication Date Title
WO2017185652A1 (zh) 实现分享文件的方法及电子设备
US11030311B1 (en) Detecting and protecting against computing breaches based on lateral movement of a computer file within an enterprise
US10148675B1 (en) Block-level forensics for distributed computing systems
US9213837B2 (en) System and method for detecting malware in documents
US20160085404A1 (en) Mobile Application Configuration
US20170324859A1 (en) Information processing method, terminal, and computer-readable storage medium
US20170163580A1 (en) Interactive method and device for playback of multimedia
JP2017134871A (ja) ファイル安全削除機能提供装置、その方法、その方法を実行するためのプログラムが記録されているコンピュータで読み取り可能な記録媒体及びアプリケーション配布システム
US11108787B1 (en) Securing a network device by forecasting an attack event using a recurrent neural network
CN108170342B (zh) 应用程序界面显示方法及装置、终端、可读存储介质
US20170171335A1 (en) Advertising push methods, devices, video servers and terminal equipment
US20170168771A1 (en) Song playing progress control method and electronic device
WO2017032312A1 (zh) 一种待清理数据展示方法、装置及电子设备
US9607088B2 (en) Method and apparatus for detecting multimedia content change, and resource propagation system
WO2017202020A1 (zh) 一种通讯录联系人管理方法、装置及移动终端
US20150143481A1 (en) Application security verification method, application server, application client and system
US20170277526A1 (en) Software categorization method and electronic device
US20180239839A1 (en) Method and Apparatus for Identifying To-Be-Cleaned Data, and Electronic Device
CN110427999B (zh) 一种账号相关性评估方法、装置、设备及介质
CN104796487A (zh) 一种社交互动方法及相关设备
JP6196740B2 (ja) ダウンロードに利用可能なアプリケーションについてユーザに知らせるためのシステム及び方法
WO2014012361A1 (zh) 一种创建外部设备控制界面的方法及装置
CN106789973B (zh) 页面的安全性检测方法及终端设备
Riadi et al. Comparative analysis of forensic software on android-based michat using acpo and dfrws framework
CN106651183B (zh) 工控系统的通信数据安全审计方法及装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16900160

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16900160

Country of ref document: EP

Kind code of ref document: A1